ChangeLog 1.9 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871
  1. Changes in version 0.4.7.16 - 2023-11-03
  2. We are releasing today a fix for a high security issue, TROVE-2023-004, that
  3. is affecting relays. Please upgrade as soon as posssible.
  4. o Major bugfixes (TROVE-2023-004, relay):
  5. - Mitigate an issue when Tor compiled with OpenSSL can crash during
  6. handshake with a remote relay. Fixes bug 40874; bugfix
  7. on 0.2.7.2-alpha.
  8. o Minor features (fallbackdir):
  9. - Regenerate fallback directories generated on November 03, 2023.
  10. o Minor features (geoip data):
  11. - Update the geoip files to match the IPFire Location Database, as
  12. retrieved on 2023/11/03.
  13. Changes in version 0.4.7.15 - 2023-09-18
  14. This version contains an important fix for onion service regarding congestion
  15. control and its reliability. Apart from that, very minor bugfixes. We
  16. strongly recommend all onion service operators to update immediately.
  17. o Major bugfixes (onion service):
  18. - Fix a reliability issue where services were expiring their
  19. introduction points every consensus update. This caused
  20. connectivity issues for clients caching the old descriptor and
  21. intro points. Bug reported and fixed by gitlab user
  22. @hyunsoo.kim676. Fixes bug 40858; bugfix on 0.4.7.5-alpha.
  23. o Minor features (fallbackdir):
  24. - Regenerate fallback directories generated on September 18, 2023.
  25. o Minor features (geoip data):
  26. - Update the geoip files to match the IPFire Location Database, as
  27. retrieved on 2023/09/18.
  28. o Minor features (testing):
  29. - Enable Doxygen and Stem tests for 0.4.8 and clean-up some logic
  30. for handling versions of Tor that are no longer supported. Closes
  31. ticket 40859.
  32. o Minor bugfixes (compression):
  33. - Right after compression/decompression work is done, check for
  34. errors. Before this, we would consider compression bomb before
  35. that and then looking for errors leading to false positive on that
  36. log warning. Fixes bug 40739; bugfix on 0.3.5.1-alpha. Patch
  37. by "cypherpunks".
  38. o Minor bugfixes (compression, zstd):
  39. - Use less frightening language and lower the log-level of our run-
  40. time ABI compatibility check message in our Zstd compression
  41. subsystem. Fixes bug 40815; bugfix on 0.4.3.1-alpha.
  42. Changes in version 0.4.7.14 - 2023-07-26
  43. This version contains several minor fixes and one major bugfix affecting
  44. vanguards (onion service). As usual, we recommend upgrading to this version
  45. as soon as possible.
  46. o Major bugfixes (vanguards):
  47. - Rotate to a new L2 vanguard whenever an existing one loses the
  48. Stable or Fast flag. Previously, we would leave these relays in
  49. the L2 vanguard list but never use them, and if all of our
  50. vanguards end up like this we wouldn't have any middle nodes left
  51. to choose from so we would fail to make onion-related circuits.
  52. Fixes bug 40805; bugfix on 0.4.7.1-alpha.
  53. o Minor feature (CI):
  54. - Update CI to use Debian Bullseye for runners.
  55. o Minor feature (lzma):
  56. - Fix compiler warnings for liblzma >= 5.3.1. Closes ticket 40741.
  57. o Minor features (directory authorities):
  58. - Directory authorities now include their AuthDirMaxServersPerAddr
  59. config option in the consensus parameter section of their vote.
  60. Now external tools can better predict how they will behave.
  61. Implements ticket 40753.
  62. o Minor features (fallbackdir):
  63. - Regenerate fallback directories generated on July 26, 2023.
  64. o Minor features (geoip data):
  65. - Update the geoip files to match the IPFire Location Database, as
  66. retrieved on 2023/07/26.
  67. o Minor bugfix (relay, logging):
  68. - The wrong max queue cell size was used in a protocol warning
  69. logging statement. Fixes bug 40745; bugfix on 0.4.7.1-alpha.
  70. o Minor bugfixes (compilation):
  71. - Fix all -Werror=enum-int-mismatch warnings. No behavior change.
  72. Fixes bug 40824; bugfix on 0.3.5.1-alpha.
  73. o Minor bugfixes (metrics):
  74. - Decrement hs_intro_established_count on introduction circuit
  75. close. Fixes bug 40751; bugfix on 0.4.7.12.
  76. o Minor bugfixes (sandbox):
  77. - Allow membarrier for the sandbox. And allow rt_sigprocmask when
  78. compiled with LTTng. Fixes bug 40799; bugfix on 0.3.5.1-alpha.
  79. Changes in version 0.4.7.13 - 2023-01-12
  80. This version contains three major bugfixes, two for relays and one for
  81. client being a security fix, TROVE-2022-002. We have added, for Linux, the
  82. support for IP_BIND_ADDRESS_NO_PORT for relays using OutboundBindAddress.
  83. We strongly recommend to upgrade to this version considering the important
  84. congestion control fix detailed below.
  85. o Major bugfixes (congestion control):
  86. - Avoid incrementing the congestion window when the window is not
  87. fully in use. Thia prevents overshoot in cases where long periods
  88. of low activity would allow our congestion window to grow, and
  89. then get followed by a burst, which would cause queue overload.
  90. Also improve the increment checks for RFC3742. Fixes bug 40732;
  91. bugfix on 0.4.7.5-alpha.
  92. o Major bugfixes (relay):
  93. - When opening a channel because of a circuit request that did not
  94. include an Ed25519 identity, record the Ed25519 identity that we
  95. actually received, so that we can use the channel for other
  96. circuit requests that _do_ list an Ed25519 identity. (Previously
  97. we had code to record this identity, but a logic bug caused it to
  98. be disabled.) Fixes bug 40563; bugfix on 0.3.0.1-alpha. Patch
  99. from "cypherpunks".
  100. o Major bugfixes (TROVE-2022-002, client):
  101. - The SafeSocks option had its logic inverted for SOCKS4 and
  102. SOCKS4a. It would let the unsafe SOCKS4 pass but not the safe
  103. SOCKS4a one. This is TROVE-2022-002 which was reported on
  104. Hackerone by "cojabo". Fixes bug 40730; bugfix on 0.3.5.1-alpha.
  105. o Minor feature (authority):
  106. - Reject 0.4.6.x series at the authority level. Closes ticket 40664.
  107. o Minor features (fallbackdir):
  108. - Regenerate fallback directories generated on January 12, 2023.
  109. o Minor features (geoip data):
  110. - Update the geoip files to match the IPFire Location Database, as
  111. retrieved on 2023/01/12.
  112. o Minor features (relays):
  113. - Set the Linux-specific IP_BIND_ADDRESS_NO_PORT option on outgoing
  114. sockets, allowing relays using OutboundBindAddress to make more
  115. outgoing connections than ephemeral ports, as long as they are to
  116. separate destinations. Related to issue 40597; patch by Alex
  117. Xu (Hello71).
  118. o Minor bugfixes (relay, metrics):
  119. - Fix typo in a congestion control label on the MetricsPort. Fixes
  120. bug 40727; bugfix on 0.4.7.12.
  121. o Minor bugfixes (sandbox, authority):
  122. - With the sandbox enabled, allow to write "my-consensus-
  123. {ns|microdesc}" and to rename them as well. Fixes bug 40729;
  124. bugfix on 0.3.5.1-alpha.
  125. o Code simplifications and refactoring:
  126. - Rely on actual error returned by the kernel when choosing what
  127. resource exhaustion to log. Fixes issue 40613; Fix
  128. on tor-0.4.6.1-alpha.
  129. Changes in version 0.4.7.12 - 2022-12-06
  130. This version contains a major change that is a new key for moria1. Also, new
  131. metrics are exported on the MetricsPort for the congestion control
  132. subsystem.
  133. o Directory authority changes (moria1):
  134. - Rotate the relay identity key and v3 identity key for moria1. They
  135. have been online for more than a decade and refreshing keys
  136. periodically is good practice. Advertise new ports too, to avoid
  137. confusion. Closes ticket 40722.
  138. o Minor feature (Congestion control metrics):
  139. - Add additional metricsport relay metrics for congestion control.
  140. Closes ticket 40724.
  141. o Minor features (fallbackdir):
  142. - Regenerate fallback directories generated on December 06, 2022.
  143. o Minor features (geoip data):
  144. - Update the geoip files to match the IPFire Location Database, as
  145. retrieved on 2022/12/06.
  146. o Minor bugfixes (cpuworker, relay):
  147. - Fix an off by one overload calculation on the number of CPUs being
  148. used by our thread pool. Fixes bug 40719; bugfix on 0.3.5.1-alpha.
  149. Changes in version 0.4.7.11 - 2022-11-10
  150. This version contains several major fixes aimed at helping defend against
  151. network denial of service. It is also extending drastically the MetricsPort
  152. for relays to help us gather more internal data to investigate performance
  153. and attacks.
  154. We strongly recommend to upgrade to this version especially for Exit relays
  155. in order to help the network defend against this ongoing DDoS.
  156. o Directory authority changes (dizum, Faravahar):
  157. - Change dizum IP address. Closes ticket 40687.
  158. - Remove Faravahar until its operator, Sina, set it back up online
  159. outside of Team Cymru network. Closes ticket 40688.
  160. o Major bugfixes (geoip data):
  161. - IPFire informed us on August 12th that databases generated after
  162. (including) August 10th did not have proper ARIN network
  163. allocations. We are updating the database to use the one generated
  164. on August 9th, 2022. Fixes bug 40658; bugfix on 0.4.5.13.
  165. o Major bugfixes (onion service):
  166. - Set a much higher circuit build timeout for opened client rendezvous
  167. circuit. Before this, tor would time them out very quickly leading to
  168. unnecessary retries meaning more load on the network. Fixes bug 40694;
  169. bugfix on 0.3.5.1-alpha.
  170. o Major bugfixes (OSX):
  171. - Fix coarse-time computation on Apple platforms (like Mac M1) where
  172. the Mach absolute time ticks do not correspond directly to
  173. nanoseconds. Previously, we computed our shift value wrong, which
  174. led us to give incorrect timing results. Fixes bug 40684; bugfix
  175. on 0.3.3.1-alpha.
  176. o Major bugfixes (relay):
  177. - Improve security of our DNS cache by randomly clipping the TTL
  178. value. TROVE-2021-009. Fixes bug 40674; bugfix on 0.3.5.1-alpha.
  179. o Minor feature (Mac and iOS build):
  180. - Change how combine_libs works on Darwin like platforms to make
  181. sure we don't include any `__.SYMDEF` and `__.SYMDEF SORTED`
  182. symbols on the archive before we repack and run ${RANLIB} on the
  183. archive. This fixes a build issue with recent Xcode versions on
  184. Mac Silicon and iOS. Closes ticket 40683.
  185. o Minor feature (metrics):
  186. - Add various congestion control counters to the MetricsPort. Closes
  187. ticket 40708.
  188. o Minor feature (performance):
  189. - Bump the maximum amount of CPU that can be used from 16 to 128. Note
  190. that NumCPUs torrc option overrides this hardcoded maximum. Fixes bug
  191. 40703; bugfix on 0.3.5.1-alpha.
  192. o Minor feature (relay):
  193. - Make an hardcoded value for the maximum of per CPU tasks into a
  194. consensus parameter.
  195. - Two new consensus parameters are added to control the wait time in
  196. queue of the onionskins. One of them is the torrc
  197. MaxOnionQueueDelay options which supersedes the consensus
  198. parameter. Closes ticket 40704.
  199. o Minor feature (relay, DoS):
  200. - Apply circuit creation anti-DoS defenses if the outbound circuit
  201. max cell queue size is reached too many times. This introduces two
  202. new consensus parameters to control the queue size limit and
  203. number of times allowed to go over that limit. Closes ticket 40680.
  204. o Minor feature (relay, metrics):
  205. - Add DoS defenses counter to MetricsPort.
  206. - Add congestion control RTT reset counter to MetricsPort.
  207. - Add counters to the MetricsPort how many connections, per type,
  208. are currently opened and how many were created.
  209. - Add relay flags from the consensus to the MetricsPort.
  210. - Add total number of opened circuits to MetricsPort.
  211. - Add total number of streams seen by an Exit to the MetricsPort.
  212. - Add traffic stats as in number of read/written bytes in total.
  213. - Related to ticket 40194.
  214. o Minor features (fallbackdir):
  215. - Regenerate fallback directories generated on November 10, 2022.
  216. o Minor features (geoip data):
  217. - Update the geoip files to match the IPFire Location Database, as
  218. retrieved on 2022/11/10.
  219. o Minor bugfixes (authorities, sandbox):
  220. - Allow to write file my-consensus-<flavor-name> to disk when
  221. sandbox is activated. Fixes bug 40663; bugfix on 0.3.5.1-alpha.
  222. o Minor bugfixes (dirauth):
  223. - Directory authorities stop voting a consensus "Measured" weight
  224. for relays with the Authority flag. Now these relays will be
  225. considered unmeasured, which should reserve their bandwidth for
  226. their dir auth role and minimize distractions from other roles. In
  227. place of the "Measured" weight, they now include a
  228. "MeasuredButAuthority" weight (not used by anything) so the
  229. bandwidth authority's opinion on this relay can be recorded for
  230. posterity. Lastly, remove the AuthDirDontVoteOnDirAuthBandwidth
  231. torrc option which never worked right. Fixes bugs 40698 and 40700;
  232. bugfix on 0.4.7.2-alpha.
  233. o Minor bugfixes (onion service client):
  234. - A collapsing onion service circuit should be seen as an
  235. "unreachable" error so it can be retried. Fixes bug 40692; bugfix
  236. on 0.3.5.1-alpha.
  237. o Minor bugfixes (onion service):
  238. - Make the service retry a rendezvous if the circuit is being
  239. repurposed for measurements. Fixes bug 40696; bugfix
  240. on 0.3.5.1-alpha.
  241. o Minor bugfixes (relay overload statistics):
  242. - Count total create cells vs dropped create cells properly, when
  243. assessing if our fraction of dropped cells is too high. We only
  244. count non-client circuits in the denominator, but we would include
  245. client circuits in the numerator, leading to surprising log lines
  246. claiming that we had dropped more than 100% of incoming create
  247. cells. Fixes bug 40673; bugfix on 0.4.7.1-alpha.
  248. o Code simplification and refactoring (bridges):
  249. - Remove unused code related to ExtPort connection ID. Fixes bug
  250. 40648; bugfix on 0.3.5.1-alpha.
  251. Changes in version 0.4.7.10 - 2022-08-12
  252. This version updates the geoip cache that we generate from IPFire location
  253. database to use the August 9th, 2022 one. Everyone MUST update to this
  254. latest release else circuit path selection and relay metrics are badly
  255. affected.
  256. o Major bugfixes (geoip data):
  257. - IPFire informed us on August 12th that databases generated after
  258. (including) August 10th did not have proper ARIN network allocations. We
  259. are updating the database to use the one generated on August 9th, 2022.
  260. Fixes bug 40658; bugfix on 0.4.7.9.
  261. Changes in version 0.4.7.9 - 2022-08-11
  262. This version contains several major fixes aimed at reducing memory pressure on
  263. relays and possible side-channel. It also contains a major bugfix related to
  264. congestion control also aimed at reducing memory pressure on relays.
  265. Finally, there is last one major bugfix related to Vanguard L2 layer node
  266. selection.
  267. We strongly recommend to upgrade to this version especially for Exit relays
  268. in order to help the network defend against this ongoing DDoS.
  269. o Major bugfixes (congestion control):
  270. - Implement RFC3742 Limited Slow Start. Congestion control was
  271. overshooting the congestion window during slow start, particularly
  272. for onion service activity. With this fix, we now update the
  273. congestion window more often during slow start, as well as dampen
  274. the exponential growth when the congestion window grows above a
  275. capping parameter. This should reduce the memory increases guard
  276. relays were seeing, as well as allow us to set lower queue limits
  277. to defend against ongoing DoS attacks. Fixes bug 40642; bugfix
  278. on 0.4.7.5-alpha.
  279. o Major bugfixes (relay):
  280. - Remove OR connections btrack subsystem entries when the connections
  281. close normally. Before this, we would only remove the entry on error and
  282. thus leaking memory for each normal OR connections. Fixes bug 40604;
  283. bugfix on 0.4.0.1-alpha.
  284. - Stop sending TRUNCATED cell and instead close the circuit from which we
  285. received a DESTROY cell. This makes every relay in the circuit path to
  286. stop queuing cells. Fixes bug 40623; bugfix on 0.1.0.2-rc.
  287. o Major bugfixes (vanguards):
  288. - We had omitted some checks for whether our vanguards (second layer
  289. guards from proposal 333) overlapped. Now make sure to pick each
  290. of them to be independent. Also, change the design to allow them
  291. to come from the same family. Fixes bug 40639; bugfix
  292. on 0.4.7.1-alpha.
  293. o Minor features (dirauth):
  294. - Add a torrc option to control the Guard flag bandwidth threshold
  295. percentile. Closes ticket 40652.
  296. - Add an AuthDirVoteGuard torrc option that can allow authorities to
  297. assign the Guard flag to the given fingerprints/country code/IPs.
  298. This is a needed feature mostly for defense purposes in case a DoS
  299. hits the network and relay start losing the Guard flags too fast.
  300. - Make UPTIME_TO_GUARANTEE_STABLE, MTBF_TO_GUARANTEE_STABLE,
  301. TIME_KNOWN_TO_GUARANTEE_FAMILIAR WFU_TO_GUARANTEE_GUARD tunable
  302. from torrc.
  303. o Minor features (fallbackdir):
  304. - Regenerate fallback directories generated on August 11, 2022.
  305. o Minor features (geoip data):
  306. - Update the geoip files to match the IPFire Location Database, as
  307. retrieved on 2022/08/11.
  308. o Minor bugfixes (congestion control):
  309. - Add a check for an integer underflow condition that might happen
  310. in cases where the system clock is stopped, the ORconn is blocked,
  311. and the endpoint sends more than a congestion window worth of non-
  312. data control cells at once. This would cause a large congestion
  313. window to be calculated instead of a small one. No security
  314. impact. Fixes bug 40644; bugfix on 0.4.7.5-alpha.
  315. o Minor bugfixes (defense in depth):
  316. - Change a test in the netflow padding code to make it more
  317. _obviously_ safe against remotely triggered crashes. (It was safe
  318. against these before, but not obviously so.) Fixes bug 40645;
  319. bugfix on 0.3.1.1-alpha.
  320. o Minor bugfixes (relay):
  321. - Do not propagate either forward or backward a DESTROY remote reason when
  322. closing a circuit in order to avoid a possible side channel. Fixes bug
  323. 40649; bugfix on 0.1.2.4-alpha.
  324. Changes in version 0.4.7.8 - 2022-06-17
  325. This version fixes several bugfixes including a High severity security issue
  326. categorized as a Denial of Service. Everyone running an earlier version
  327. should upgrade to this version.
  328. o Major bugfixes (congestion control, TROVE-2022-001):
  329. - Fix a scenario where RTT estimation can become wedged, seriously
  330. degrading congestion control performance on all circuits. This
  331. impacts clients, onion services, and relays, and can be triggered
  332. remotely by a malicious endpoint. Tracked as CVE-2022-33903. Fixes
  333. bug 40626; bugfix on 0.4.7.5-alpha.
  334. o Minor features (fallbackdir):
  335. - Regenerate fallback directories generated on June 17, 2022.
  336. o Minor features (geoip data):
  337. - Update the geoip files to match the IPFire Location Database, as
  338. retrieved on 2022/06/17.
  339. o Minor bugfixes (linux seccomp2 sandbox):
  340. - Allow the rseq system call in the sandbox. This solves a crash
  341. issue with glibc 2.35 on Linux. Patch from pmu-ipf. Fixes bug
  342. 40601; bugfix on 0.3.5.11.
  343. o Minor bugfixes (logging):
  344. - Demote a harmless warn log message about finding a second hop to
  345. from warn level to info level, if we do not have enough
  346. descriptors yet. Leave it at notice level for other cases. Fixes
  347. bug 40603; bugfix on 0.4.7.1-alpha.
  348. - Demote a notice log message about "Unexpected path length" to info
  349. level. These cases seem to happen arbitrarily, and we likely will
  350. never find all of them before the switch to arti. Fixes bug 40612;
  351. bugfix on 0.4.7.5-alpha.
  352. o Minor bugfixes (relay, logging):
  353. - Demote a harmless XOFF log message to from notice level to info
  354. level. Fixes bug 40620; bugfix on 0.4.7.5-alpha.
  355. Changes in version 0.4.7.7 - 2022-04-27
  356. This is the first stable version of the 0.4.7.x series. This series includes
  357. several major bugfixes from previous series and one massive new feature:
  358. congestion control.
  359. Congestion control should improve traffic speed and stability on the network
  360. once a majority of Exit upgrade. You can find more details about it in
  361. proposal 324 in the torspec.git repository.
  362. For a complete list of changes since 0.4.6.10, see the ReleaseNotes file.
  363. o Minor features (fallbackdir):
  364. - Regenerate fallback directories generated on April 27, 2022.
  365. o Minor features (geoip data):
  366. - Update the geoip files to match the IPFire Location Database, as
  367. retrieved on 2022/04/27.
  368. o Minor bugfixes (congestion control, client side logs):
  369. - Demote a warn about 1-hop circuits using congestion control down to
  370. info; Demote the 4-hop case to notice. Fixes bug 40598; bugfix on
  371. 0.4.5-alpha.
  372. Changes in version 0.4.7.6-rc - 2022-04-07
  373. This is the first release candidate of the 0.4.7.x series. Only one minor
  374. bugfix went in since the last alpha couple weeks ago. We strongly recommend
  375. anyone running an alpha version to upgrade to this version. Unless major
  376. problems are found, the next release will finally be the stable!
  377. o Minor features (fallbackdir):
  378. - Regenerate fallback directories generated on April 07, 2022.
  379. o Minor features (geoip data):
  380. - Update the geoip files to match the IPFire Location Database, as
  381. retrieved on 2022/04/07.
  382. o Minor features (linux seccomp2 sandbox):
  383. - Permit the clone3 syscall, which is apparently used in glibc-2.34
  384. and later. Closes ticket 40590.
  385. Changes in version 0.4.7.5-alpha - 2022-03-25
  386. This version contains, of what we hope, the final work for congestion
  387. control paving the way to the stable version. We expect this to be the last
  388. alpha version of the 0.4.7.x series. Mostly minor bugfixes except one major
  389. bugfix that changes how Tor behaves with DNS timeouts for Exit relays. As
  390. always with an alpha, we recommend all relay operators to upgrade from
  391. previous alpha to this one.
  392. o Major bugfixes (onion service, congestion control):
  393. - Fix the onion service upload case where the congestion control
  394. parameters were not added to the right object. Fixes bug 40586;
  395. bugfix on 0.4.7.4-alpha.
  396. o Major bugfixes (relay, DNS):
  397. - Lower the DNS timeout from 3 attempts at 5 seconds each to 2
  398. attempts at 1 seconds each. Two new consensus parameters were
  399. added to control these values. This change should improve observed
  400. performance under DNS load; see ticket for more details. Fixes bug
  401. 40312; bugfix on 0.3.5.1-alpha.
  402. o Minor features (control port):
  403. - Provide congestion control fields on CIRC_BW and STREAM control
  404. port events, for use by sbws. Closes ticket 40568.
  405. o Minor features (fallbackdir):
  406. - Regenerate fallback directories generated on March 25, 2022.
  407. o Minor features (geoip data):
  408. - Update the geoip files to match the IPFire Location Database, as
  409. retrieved on 2022/03/25.
  410. o Minor bugfixes (DNSPort, dormant mode):
  411. - A request on the DNSPort now wakes up a dormant tor. Fixes bug
  412. 40577; bugfix on 0.3.5.1-alpha.
  413. o Minor bugfixes (metrics port, onion service):
  414. - Fix the metrics with a port label to be unique. Before this, all
  415. ports of an onion service would be on the same line which violates
  416. the Prometheus rules of unique labels. Fixes bug 40581; bugfix
  417. on 0.4.5.1-alpha.
  418. o Minor bugfixes (onion service congestion control):
  419. - Avoid a non-fatal assertion failure in the case where we fail to
  420. set up congestion control on a rendezvous circuit. This could
  421. happen naturally if a cache entry expired at an unexpected time.
  422. Fixes bug 40576; bugfix on 0.4.7.4-alpha.
  423. o Minor bugfixes (onion service, client):
  424. - Fix a rare but fatal assertion failure due to a guard subsystem
  425. recursion triggered by the onion service client. Fixes bug 40579;
  426. bugfix on 0.3.5.1-alpha.
  427. o Minor bugfixes (relay, overload):
  428. - Decide whether to signal overload based on a fraction and
  429. assessment period of ntor handshake drops. Previously, a single
  430. drop could trigger an overload state, which caused many false
  431. positives. Fixes bug 40560; bugfix on 0.4.7.1-alpha.
  432. Changes in version 0.4.7.4-alpha - 2022-02-25
  433. This version contains the negotiation congestion control work which is the
  434. final part needed before going stable. There are also various bugfixes
  435. including two major ones detailed below. Last, the Exit notice page layout
  436. has been modernized but the text is unchanged. We recommend that all relay
  437. operators running any previous alpha upgrade to this one.
  438. o Major features (relay, client, onion services):
  439. - Implement RTT-based congestion control for exits and onion
  440. services, from Proposal 324. Disabled by default. Enabled by the
  441. 'cc_alg' consensus parameter. Closes ticket 40444.
  442. o Major bugfixes (client):
  443. - Stop caching TCP connect failures to relays/bridges when we
  444. initiated the connection as a client. Now we only cache connect
  445. failures as a relay or bridge when we initiated them because of an
  446. EXTEND request. Declining to re-attempt the client-based
  447. connections could cause problems when we lose connectivity and try
  448. to reconnect. Fixes bug 40499; bugfix on 0.3.3.4-alpha.
  449. o Major bugfixes (relay, overload):
  450. - Do not trigger a general overload on DNS timeout. Even after
  451. fixing 40527, some code remained that triggered the overload.
  452. Fixes bug 40564; bugfix on 0.4.7.1-alpha.
  453. o Minor feature (authority, relay):
  454. - Reject End-Of-Life relays running version 0.3.5.x. Closes
  455. ticket 40559.
  456. o Minor features (fallbackdir):
  457. - Regenerate fallback directories generated on February 25, 2022.
  458. o Minor features (geoip data):
  459. - Update the geoip files to match the IPFire Location Database, as
  460. retrieved on 2022/02/25.
  461. o Minor bugfix (logging):
  462. - Update a log notice dead URL to a working one. Fixes bug 40544;
  463. bugfix on 0.3.5.1-alpha.
  464. o Minor bugfix (relay):
  465. - Remove the HSDir and HSIntro onion service v2 protocol versions so
  466. relay stop advertising that they support them. Fixes bug 40509;
  467. bugfix on 0.3.5.17.
  468. o Minor bugfixes (cell scheduling):
  469. - Avoid writing empty payload with NSS write.
  470. - Don't attempt to write 0 bytes after a cell scheduling loop. No
  471. empty payload was put on the wire. Fixes bug 40548; bugfix
  472. on 0.3.5.1-alpha.
  473. o Minor bugfixes (compilation):
  474. - Resume being able to build on old / esoteric gcc versions. Fixes
  475. bug 40550; bugfix on 0.4.7.1-alpha.
  476. o Minor bugfixes (compiler warnings):
  477. - Fix couple compiler warnings on latest Ubuntu Jammy. Fixes bug
  478. 40516; bugfix on 0.3.5.1-alpha.
  479. o Documentation:
  480. - Provide an improved version of the tor-exit-notice.html file for
  481. exit relays to use as a landing page. The text is unchanged, but
  482. the page design and layout are significantly modernized, and
  483. several links are fixed. Patch from "n_user"; closes ticket 40529.
  484. Changes in version 0.4.6.10 - 2022-02-04
  485. This version contains minor bugfixes but one in particular is that relays
  486. don't advertise onion service v2 support at the protocol version level.
  487. o Minor features (fallbackdir):
  488. - Regenerate fallback directories generated on February 04, 2022.
  489. o Minor features (geoip data):
  490. - Update the geoip files to match the IPFire Location Database, as
  491. retrieved on 2022/02/04.
  492. o Minor bugfix (logging):
  493. - Update a log notice dead URL to a working one. Fixes bug 40544;
  494. bugfix on 0.3.5.1-alpha.
  495. o Minor bugfix (relay):
  496. - Remove the HSDir and HSIntro onion service v2 protocol versions so
  497. relay stop advertising that they support them. Fixes bug 40509;
  498. bugfix on 0.3.5.17.
  499. o Minor bugfixes (MetricsPort, Prometheus):
  500. - Add double quotes to the label values of the onion service
  501. metrics. Fixes bug 40552; bugfix on 0.4.5.1-alpha.
  502. Changes in version 0.4.5.12 - 2022-02-04
  503. This version contains mostly minor bugfixes for which you can find the
  504. details below. The previous release (0.4.5.11) was suppose to update the
  505. GeoIP and fallbackdir lists but a problem in our release pipeline prevented
  506. those files to be updated correctly. Thus, this release regenerates up to
  507. date lists. Furthermore, another fix to highlight is that relays don't
  508. advertise onion service v2 support at the protocol version level.
  509. o Minor feature (reproducible build):
  510. - The repository can now build reproducible tarballs which adds the
  511. build command "make dist-reprod" for that purpose. Closes
  512. ticket 26299.
  513. o Minor features (compilation):
  514. - Give an error message if trying to build with a version of
  515. LibreSSL known not to work with Tor. (There's an incompatibility
  516. with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
  517. their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
  518. ticket 40511.
  519. o Minor features (fallbackdir):
  520. - Regenerate fallback directories generated on February 04, 2022.
  521. o Minor features (geoip data):
  522. - Update the geoip files to match the IPFire Location Database, as
  523. retrieved on 2022/02/04.
  524. o Minor bugfix (logging):
  525. - Update a log notice dead URL to a working one. Fixes bug 40544;
  526. bugfix on 0.3.5.1-alpha.
  527. o Minor bugfix (relay):
  528. - Remove the HSDir and HSIntro onion service v2 protocol versions so
  529. relay stop advertising that they support them. Fixes bug 40509;
  530. bugfix on 0.3.5.17.
  531. o Minor bugfixes (compilation):
  532. - Fix a compilation error when trying to build Tor with a compiler
  533. that does not support expanding statically initialized const
  534. values in macro's. Fixes bug 40410; bugfix on 0.4.5.1-alpha
  535. - Fix our configuration logic to detect whether we had OpenSSL 3:
  536. previously, our logic was reversed. This has no other effect than
  537. to change whether we suppress deprecated API warnings. Fixes bug
  538. 40429; bugfix on 0.3.5.13.
  539. o Minor bugfixes (MetricsPort, Prometheus):
  540. - Add double quotes to the label values of the onion service
  541. metrics. Fixes bug 40552; bugfix on 0.4.5.1-alpha.
  542. o Minor bugfixes (relay):
  543. - Reject IPv6-only DirPorts. Our reachability self-test forces
  544. DirPorts to be IPv4, but our configuration parser allowed them to
  545. be IPv6-only, which led to an assertion failure. Fixes bug 40494;
  546. bugfix on 0.4.5.1-alpha.
  547. Changes in version 0.4.7.3-alpha - 2021-12-15
  548. This third alpha release of the 0.4.7.x series fixes several bugs including
  549. two major ones affecting Bridges and Relays (see below). If you are running
  550. an earlier 0.4.7.x version, you should upgrade to this version.
  551. o Major bugfixes (bridges):
  552. - Make Tor work reliably again when you have multiple bridges
  553. configured and one or more of them are unreachable. The problem
  554. came because we require that we have bridge descriptors for both
  555. of our first two bridges (else we refuse to try to connect), but
  556. in some cases we would wait three hours before trying to fetch
  557. these missing descriptors, and/or never recover when we do try to
  558. fetch them. Fixes bugs 40396 and 40495; bugfix on 0.3.0.5-rc
  559. and 0.3.2.1-alpha.
  560. o Major bugfixes (relay, overload):
  561. - Change the MetricsPort DNS "timeout" label to be "tor_timeout" in
  562. order to indicate that this was a DNS timeout from tor perspective
  563. and not the DNS server itself.
  564. - Deprecate overload_dns_timeout_period_secs and
  565. overload_dns_timeout_scale_percent consensus parameters as well.
  566. They were used to assess the overload state which is no more now.
  567. - Don't make Tor DNS timeout trigger an overload general state.
  568. These timeouts are different from DNS server timeout. They have to
  569. be seen as timeout related to UX and not because of a network
  570. problem. Fixes bug 40527; bugfix on 0.4.6.1-alpha.
  571. o Minor feature (reproducible build):
  572. - The repository can now build reproducible tarballs which adds the
  573. build command "make dist-reprod" for that purpose. Closes
  574. ticket 26299.
  575. o Minor features (compilation):
  576. - Give an error message if trying to build with a version of
  577. LibreSSL known not to work with Tor. (There's an incompatibility
  578. with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
  579. their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
  580. ticket 40511.
  581. o Minor features (fallbackdir):
  582. - Regenerate fallback directories generated on December 15, 2021.
  583. o Minor features (geoip data):
  584. - Update the geoip files to match the IPFire Location Database, as
  585. retrieved on 2021/12/15.
  586. o Minor features (portability):
  587. - Try to prevent a compiler warning about printf arguments that
  588. could sometimes occur on MSYS2 depending on the configuration.
  589. Closes ticket 40355.
  590. o Minor bugfix (pluggable transport):
  591. - Do not kill a managed proxy if one of its transport configurations
  592. emits a method error. Instead log a warning and continue processing
  593. method arguments. Fixes bug 7362; bugfix on 0.2.3.6-alpha.
  594. o Minor bugfixes (bridges):
  595. - When we don't yet have a descriptor for one of our bridges,
  596. disable the entry guard retry schedule on that bridge. The entry
  597. guard retry schedule and the bridge descriptor retry schedule can
  598. conflict, e.g. where we mark a bridge as "maybe up" yet we don't
  599. try to fetch its descriptor yet, leading Tor to wait (refusing to
  600. do anything) until it becomes time to fetch the descriptor. Fixes
  601. bug 40497; bugfix on 0.3.0.3-alpha.
  602. o Minor bugfixes (compilation):
  603. - Fix our configuration logic to detect whether we had OpenSSL 3:
  604. previously, our logic was reversed. This has no other effect than
  605. to change whether we suppress deprecated API warnings. Fixes bug
  606. 40429; bugfix on 0.3.5.13.
  607. o Minor bugfixes (controller, path bias):
  608. - When a circuit's path is specified, in full or in part, from the
  609. controller API, do not count that circuit towards our path-bias
  610. calculations. (Doing so was incorrect, since we cannot tell
  611. whether the controller is selecting relays randomly.) Resolves a
  612. "Bug" warning. Fixes bug 40515; bugfix on 0.2.4.10-alpha.
  613. o Minor bugfixes (logging):
  614. - When we no longer have enough directory information to use the
  615. network, we would log a notice-level message -- but we would not
  616. reliably log a message when we recovered and resumed using the
  617. network. Now make sure there is always a corresponding message
  618. about recovering. Fixes bug 40496; bugfix on 0.3.5.1-alpha.
  619. o Minor bugfixes (performance, DoS):
  620. - Fix one case of a not-especially viable denial-of-service attack
  621. found by OSS-Fuzz in our consensus-diff parsing code. This attack
  622. causes a lot small of memory allocations and then immediately
  623. frees them: this is only slow when running with all the sanitizers
  624. enabled. Fixes one case of bug 40472; bugfix on 0.3.1.1-alpha.
  625. o Minor bugfixes (relay):
  626. - Reject IPv6-only DirPorts. Our reachability self-test forces
  627. DirPorts to be IPv4, but our configuration parser allowed them to
  628. be IPv6-only, which led to an assertion failure. Fixes bug 40494;
  629. bugfix on 0.4.5.1-alpha.
  630. o Minor bugfixes (sandbox):
  631. - Fix the sandbox on i386 by modifying it to allow the
  632. "clock_gettime64" and "statx" system calls and to filter the
  633. "chown32" and "stat64" system calls in place of "chown" and
  634. "stat", respectively. Fixes bug 40505; bugfix on 0.2.5.4-alpha.
  635. o Documentation (man, relay):
  636. - Missing "OverloadStatistics" in tor.1 manpage. Fixes bug 40504;
  637. bugfix on 0.4.6.1-alpha.
  638. Changes in version 0.4.6.9 - 2021-12-15
  639. This version fixes several bugs from earlier versions of Tor. One important
  640. piece is the removal of DNS timeout metric from the overload general signal.
  641. See below for more details.
  642. o Major bugfixes (relay, overload):
  643. - Don't make Tor DNS timeout trigger an overload general state.
  644. These timeouts are different from DNS server timeout. They have to
  645. be seen as timeout related to UX and not because of a network
  646. problem. Fixes bug 40527; bugfix on 0.4.6.1-alpha.
  647. o Minor feature (reproducible build):
  648. - The repository can now build reproducible tarballs which adds the
  649. build command "make dist-reprod" for that purpose. Closes
  650. ticket 26299.
  651. o Minor features (compilation):
  652. - Give an error message if trying to build with a version of
  653. LibreSSL known not to work with Tor. (There's an incompatibility
  654. with LibreSSL versions 3.2.1 through 3.4.0 inclusive because of
  655. their incompatibility with OpenSSL 1.1.1's TLSv1.3 APIs.) Closes
  656. ticket 40511.
  657. o Minor features (fallbackdir):
  658. - Regenerate fallback directories generated on December 15, 2021.
  659. o Minor features (geoip data):
  660. - Update the geoip files to match the IPFire Location Database, as
  661. retrieved on 2021/12/15.
  662. o Minor bugfixes (compilation):
  663. - Fix our configuration logic to detect whether we had OpenSSL 3:
  664. previously, our logic was reversed. This has no other effect than
  665. to change whether we suppress deprecated API warnings. Fixes bug
  666. 40429; bugfix on 0.3.5.13.
  667. o Minor bugfixes (relay):
  668. - Reject IPv6-only DirPorts. Our reachability self-test forces
  669. DirPorts to be IPv4, but our configuration parser allowed them to
  670. be IPv6-only, which led to an assertion failure. Fixes bug 40494;
  671. bugfix on 0.4.5.1-alpha.
  672. o Documentation (man, relay):
  673. - Missing "OverloadStatistics" in tor.1 manpage. Fixes bug 40504;
  674. bugfix on 0.4.6.1-alpha.
  675. Changes in version 0.4.7.2-alpha - 2021-10-26
  676. This second alpha release of the 0.4.7.x series adds two major
  677. features: congestion control (prop324) for network performance, and
  678. the MiddleOnly flag (prop335) voted by the authorities to pin relays
  679. to the middle position for various network health reasons. This
  680. release also fixes numerous bugs.
  681. The congestion control feature, detailed in proposal 324, still needs
  682. more work before we can enable it by default. It is currently in its
  683. testing and tuning phase which means that you should expect more
  684. 0.4.7.x alphas as congestion control gets stabilized and tuned for
  685. optimal performance. And so, at this release, it can not be used
  686. without a custom patch.
  687. o Major features (congestion control):
  688. - Implement support for flow control over congestion controlled
  689. circuits. This work comes from proposal 324. Closes ticket 40450.
  690. o Major features (directory authority):
  691. - Add a new consensus method to handle MiddleOnly specially. When
  692. enough authorities are using this method, then any relay tagged
  693. with the MiddleOnly flag will have its Exit, Guard, HSDir, and
  694. V2Dir flags automatically cleared, and will have its BadExit flag
  695. automatically set. Implements part of proposal 335.
  696. - Authorities can now be configured to label relays as "MiddleOnly".
  697. When voting for this flag, authorities automatically vote against
  698. Exit, Guard, HSDir, and V2Dir; and in favor of BadExit. Implements
  699. part of proposal 335. Based on a patch from Neel Chauhan.
  700. o Major bugfix (relay, metrics):
  701. - On the MetricsPort, the DNS error statistics are not reported by
  702. record type ("record=...") anymore due to a libevent bug
  703. (https://github.com/libevent/libevent/issues/1219). Fixes bug
  704. 40490; bugfix on 0.4.7.1-alpha.
  705. o Major bugfixes (relay, overload state):
  706. - Relays report the general overload state for DNS timeout errors
  707. only if X% of all DNS queries over Y seconds are errors. Before
  708. that, it only took 1 timeout to report the overload state which
  709. was just too low of a threshold. The X and Y values are 1% and 10
  710. minutes respectively but they are also controlled by consensus
  711. parameters. Fixes bug 40491; bugfix on 0.4.6.1-alpha.
  712. o Minor feature (authority, relay):
  713. - Reject End-Of-Life relays running version 0.4.2.x, 0.4.3.x,
  714. 0.4.4.x and 0.4.5 alphas/rc. Closes ticket 40480.
  715. o Minor feature (onion service v2):
  716. - Onion service v2 addresses are now not recognized anymore by tor
  717. meaning a bad hostname is returned when attempting to pass it on a
  718. SOCKS connection. No more deprecation log is emitted client side.
  719. Closes ticket 40476.
  720. - See https://blog.torproject.org/v2-deprecation-timeline for
  721. details on how to transition from v2 to v3.
  722. o Minor features (fallbackdir):
  723. - Regenerate fallback directories for October 2021. Closes
  724. ticket 40493.
  725. o Minor features (logging, heartbeat):
  726. - When a relay receives a cell that isn't encrypted properly for it,
  727. but the relay is the last hop on the circuit, the relay now counts
  728. how many cells of this kind it receives, on how many circuits, and
  729. reports this information in the log. Previously, we'd log each
  730. cell at PROTOCOL_WARN level, which is far too verbose to be
  731. useful. Fixes part of ticket 40400.
  732. o Minor features (testing):
  733. - We now have separate fuzzers for the inner layers of v3 onion
  734. service descriptors, to prevent future bugs like 40392. Closes
  735. ticket 40488.
  736. o Minor bugfixes (compilation):
  737. - Fix compilation error when __NR_time is not defined. Fixes bug
  738. 40465; bugfix on 0.2.5.5-alpha. Patch by Daniel Pinto.
  739. o Minor bugfixes (dirauth, bandwidth scanner):
  740. - Add the AuthDirDontVoteOnDirAuthBandwidth dirauth config parameter
  741. to avoid voting on bandwidth scanner weights to v3 directory
  742. authorities. Fixes bug 40471; bugfix on 0.2.2.1-alpha. Patch by
  743. Neel Chauhan.
  744. o Minor bugfixes (fragile-hardening, sandbox):
  745. - When building with --enable-fragile-hardening, add or relax Linux
  746. seccomp rules to allow AddressSanitizer to execute normally if the
  747. process terminates with the sandbox active. This has the side
  748. effect of disabling the filtering of file- and directory-open
  749. requests on most systems and dilutes the effectiveness of the
  750. sandbox overall, as a wider range of system calls must be
  751. permitted. Fixes bug 11477; bugfix on 0.2.5.4-alpha.
  752. o Minor bugfixes (logging):
  753. - If a channel has never received or transmitted a cell, or seen a
  754. client, do not calculate time diffs against 1/1/1970 but log a
  755. better prettier message. Fixes bug 40182; bugfix on 0.2.4.4.
  756. o Minor bugfixes (onion service):
  757. - Fix a warning BUG that would occur often on heavily loaded onion
  758. service leading to filling the logs with useless warnings. Fixes
  759. bug 34083; bugfix on 0.3.2.1-alpha.
  760. o Minor bugfix (CI, onion service):
  761. - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
  762. bugfix on 0.3.2.1-alpha.
  763. o Minor bugfixes (onion service, config):
  764. - Fix a memory leak for a small config line string that could occur
  765. if the onion service failed to be configured from file properly.
  766. Fixes bug 40484; bugfix on 0.3.2.1-alpha.
  767. o Minor bugfixes (onion service, TROVE-2021-008):
  768. - Only log v2 access attempts once total, in order to not pollute
  769. the logs with warnings and to avoid recording the times on disk
  770. when v2 access was attempted. Note that the onion address was
  771. _never_ logged. This counts as a Low-severity security issue.
  772. Fixes bug 40474; bugfix on 0.4.5.8.
  773. - Note that due to #40476 which removes v2 support entirely, this
  774. log line is not emitted anymore. We still mention this in the
  775. changelog because it is a Low-severity TROVE.
  776. o Minor bugfixes (usability):
  777. - Do not log "RENDEZVOUS1 cell with unrecognized rendezvous cookie"
  778. at LOG_PROTOCOL_WARN; instead log it at DEBUG. This warning can
  779. happen naturally if a client gives up on a rendezvous circuit
  780. after sending INTRODUCE1. Fixes part of bug 40400; bugfix
  781. on 0.1.1.13-alpha.
  782. - Do not log "circuit_receive_relay_cell failed" at
  783. LOG_PROTOCOL_WARN; instead log it at DEBUG. In every case where we
  784. would want to log this as a protocol warning, we are already
  785. logging another warning from inside circuit_receive_relay_cell.
  786. Fixes part of bug 40400; bugfix on 0.1.1.9-alpha.
  787. o Code simplification and refactoring:
  788. - Lower the official maximum for "guard-extreme-restriction-percent"
  789. to 100. This has no effect on when the guard code will generate a
  790. warning, but it makes the intent of the option clearer. Fixes bug
  791. 40486; bugfix on 0.3.0.1-alpha.
  792. o Testing:
  793. - Add unit tests for the Linux seccomp sandbox. Resolves
  794. issue 16803.
  795. o Code simplification and refactoring (rust):
  796. - Remove Rust support and its associated code. It is unsupported and
  797. Rust focus should be shifted to arti. Closes ticket 40469.
  798. o Testing (CI, chutney):
  799. - Bump the data size that chutney transmits to 5MBytes in order to
  800. trigger the flow control and congestion window code. Closes
  801. ticket 40485.
  802. Changes in version 0.4.6.8 - 2021-10-26
  803. This version fixes several bugs from earlier versions of Tor. One
  804. highlight is a fix on how we track DNS timeouts to report general
  805. relay overload.
  806. o Major bugfixes (relay, overload state):
  807. - Relays report the general overload state for DNS timeout errors
  808. only if X% of all DNS queries over Y seconds are errors. Before
  809. that, it only took 1 timeout to report the overload state which
  810. was just too low of a threshold. The X and Y values are 1% and 10
  811. minutes respectively but they are also controlled by consensus
  812. parameters. Fixes bug 40491; bugfix on 0.4.6.1-alpha.
  813. o Minor features (fallbackdir):
  814. - Regenerate fallback directories for October 2021. Closes
  815. ticket 40493.
  816. o Minor features (testing):
  817. - On a testing network, relays can now use the
  818. TestingMinTimeToReportBandwidth option to change the smallest
  819. amount of time over which they're willing to report their observed
  820. maximum bandwidth. Previously, this was fixed at 1 day. For
  821. safety, values under 2 hours are only supported on testing
  822. networks. Part of a fix for ticket 40337.
  823. - Relays on testing networks no longer rate-limit how frequently
  824. they are willing to report new bandwidth measurements. Part of a
  825. fix for ticket 40337.
  826. - Relays on testing networks now report their observed bandwidths
  827. immediately from startup. Previously, they waited until they had
  828. been running for a full day. Closes ticket 40337.
  829. o Minor bugfix (onion service):
  830. - Do not flag an HSDir as non-running in case the descriptor upload
  831. or fetch fails. An onion service closes pending directory
  832. connections before uploading a new descriptor which can thus lead
  833. to wrongly flagging many relays and thus affecting circuit building
  834. path selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
  835. - Improve logging when a bad HS version is given. Fixes bug 40476;
  836. bugfix on 0.4.6.1-alpha.
  837. o Minor bugfix (CI, onion service):
  838. - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
  839. bugfix on 0.3.2.1-alpha.
  840. o Minor bugfixes (compatibility):
  841. - Fix compatibility with the most recent Libevent versions, which no
  842. longer have an evdns_set_random_bytes() function. Because this
  843. function has been a no-op since Libevent 2.0.4-alpha, it is safe
  844. for us to just stop calling it. Fixes bug 40371; bugfix
  845. on 0.2.1.7-alpha.
  846. o Minor bugfixes (onion service, TROVE-2021-008):
  847. - Only log v2 access attempts once total, in order to not pollute
  848. the logs with warnings and to avoid recording the times on disk
  849. when v2 access was attempted. Note that the onion address was
  850. _never_ logged. This counts as a Low-severity security issue.
  851. Fixes bug 40474; bugfix on 0.4.5.8.
  852. Changes in version 0.4.5.11 - 2021-10-26
  853. The major change in this version is that v2 onion services are now
  854. disabled at the client, service, and relay: any Tor nodes running this
  855. version and onward will stop supporting v2 onion services. This is the
  856. last step in the long deprecation process of v2 onion services.
  857. Everyone running an earlier version, whether as a client, a relay, or
  858. an onion service, should upgrade to Tor 0.3.5.17, 0.4.5.11,
  859. or 0.4.6.8.
  860. o Major feature (onion service v2):
  861. - See https://blog.torproject.org/v2-deprecation-timeline for
  862. details on how to transition from v2 to v3.
  863. - The control port commands HSFETCH and HSPOST no longer allow
  864. version 2, and it is no longer possible to create a v2 service
  865. with ADD_ONION.
  866. - Tor no longer allows creating v2 services, or connecting as a
  867. client to a v2 service. Relays will decline to be a v2 HSDir or
  868. introduction point. This effectively disables onion service
  869. version 2 Tor-wide. Closes ticket 40476.
  870. o Minor features (bridge, backport from 0.4.6.8):
  871. - We now announce the URL to Tor's new bridge status at
  872. https://bridges.torproject.org/ when Tor is configured to run as a
  873. bridge relay. Closes ticket 30477.
  874. o Minor features (fallbackdir):
  875. - Regenerate fallback directories for October 2021. Closes
  876. ticket 40493.
  877. o Minor features (logging, diagnostic, backport from 0.4.6.5):
  878. - Log decompression failures at a higher severity level, since they
  879. can help provide missing context for other warning messages. We
  880. rate-limit these messages, to avoid flooding the logs if they
  881. begin to occur frequently. Closes ticket 40175.
  882. o Minor features (testing, backport from 0.4.6.8):
  883. - On a testing network, relays can now use the
  884. TestingMinTimeToReportBandwidth option to change the smallest
  885. amount of time over which they're willing to report their observed
  886. maximum bandwidth. Previously, this was fixed at 1 day. For
  887. safety, values under 2 hours are only supported on testing
  888. networks. Part of a fix for ticket 40337.
  889. - Relays on testing networks no longer rate-limit how frequently
  890. they are willing to report new bandwidth measurements. Part of a
  891. fix for ticket 40337.
  892. - Relays on testing networks now report their observed bandwidths
  893. immediately from startup. Previously, they waited until they had
  894. been running for a full day. Closes ticket 40337.
  895. o Minor bugfix (CI, onion service):
  896. - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
  897. bugfix on 0.3.2.1-alpha.
  898. o Minor bugfix (onion service, backport from 0.4.6.8):
  899. - Do not flag an HSDir as non-running in case the descriptor upload
  900. or fetch fails. An onion service closes pending directory
  901. connections before uploading a new descriptor which can thus lead
  902. to wrongly flagging many relays and thus affecting circuit building
  903. path selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
  904. o Minor bugfixes (compatibility, backport from 0.4.6.8):
  905. - Fix compatibility with the most recent Libevent versions, which no
  906. longer have an evdns_set_random_bytes() function. Because this
  907. function has been a no-op since Libevent 2.0.4-alpha, it is safe
  908. for us to just stop calling it. Fixes bug 40371; bugfix
  909. on 0.2.1.7-alpha.
  910. o Minor bugfixes (consensus handling, backport from 0.4.6.4-rc):
  911. - Avoid a set of bugs that could be caused by inconsistently
  912. preferring an out-of-date consensus stored in a stale directory
  913. cache over a more recent one stored on disk as the latest
  914. consensus. Fixes bug 40375; bugfix on 0.3.1.1-alpha.
  915. o Minor bugfixes (onion service, TROVE-2021-008, backport from 0.4.6.8):
  916. - Only log v2 access attempts once total, in order to not pollute
  917. the logs with warnings and to avoid recording the times on disk
  918. when v2 access was attempted. Note that the onion address was
  919. _never_ logged. This counts as a Low-severity security issue.
  920. Fixes bug 40474; bugfix on 0.4.5.8.
  921. Changes in version 0.3.5.17 - 2021-10-26
  922. The major change in this version is that v2 onion services are now
  923. disabled at the client, service, and relay: any Tor nodes running this
  924. version and onward will stop supporting v2 onion services. This is the
  925. last step in the long deprecation process of v2 onion services.
  926. Everyone running an earlier version, whether as a client, a relay, or
  927. an onion service, should upgrade to Tor 0.3.5.17, 0.4.5.11,
  928. or 0.4.6.8.
  929. o Major feature (onion service v2, backport from 0.4.5.11):
  930. - See https://blog.torproject.org/v2-deprecation-timeline for
  931. details on how to transition from v2 to v3.
  932. - The control port commands HSFETCH and HSPOST no longer allow
  933. version 2, and it is no longer possible to create a v2 service
  934. with ADD_ONION.
  935. - Tor no longer allows creating v2 services, or connecting as a
  936. client to a v2 service. Relays will decline to be a v2 HSDir or
  937. introduction point. This effectively disables onion service
  938. version 2 Tor-wide. Closes ticket 40476.
  939. o Minor features (bridge, backport from 0.4.6.8):
  940. - We now announce the URL to Tor's new bridge status at
  941. https://bridges.torproject.org/ when Tor is configured to run as a
  942. bridge relay. Closes ticket 30477.
  943. o Minor features (fallbackdir):
  944. - Regenerate fallback directories for October 2021. Closes
  945. ticket 40493.
  946. o Minor bugfixes (compatibility, backport from 0.4.6.8):
  947. - Fix compatibility with the most recent Libevent versions, which no
  948. longer have an evdns_set_random_bytes() function. Because this
  949. function has been a no-op since Libevent 2.0.4-alpha, it is safe
  950. for us to just stop calling it. Fixes bug 40371; bugfix
  951. on 0.2.1.7-alpha.
  952. Changes in version 0.4.7.1-alpha - 2021-09-17
  953. This version is the first alpha release of the 0.4.7.x series. One
  954. major feature is Vanguards Lite, from proposal 333, to help mitigate
  955. guard discovery attacks against onion services. It also includes
  956. numerous bugfixes.
  957. o Major features (Proposal 332, onion services, guard selection algorithm):
  958. - Clients and onion services now choose four long-lived "layer 2"
  959. guard relays for use as the middle hop in all onion circuits.
  960. These relays are kept in place for a randomized duration averaging
  961. 1 week. This mitigates guard discovery attacks against clients and
  962. short-lived onion services such as OnionShare. Long-lived onion
  963. services that need high security should still use the Vanguards
  964. addon (https://github.com/mikeperry-tor/vanguards). Closes ticket
  965. 40363; implements proposal 333.
  966. o Minor features (bridge testing support):
  967. - Let external bridge reachability testing tools discard cached
  968. bridge descriptors when setting new bridges, so they can be sure
  969. to get a clean reachability test. Implements ticket 40209.
  970. o Minor features (fuzzing):
  971. - When building with --enable-libfuzzer, use a set of compiler flags
  972. that works with more recent versions of the library. Previously we
  973. were using a set of flags from 2017. Closes ticket 40407.
  974. o Minor features (testing configuration):
  975. - When TestingTorNetwork is enabled, skip the permissions check on
  976. hidden service directories. Closes ticket 40338.
  977. - On a testing network, relays can now use the
  978. TestingMinTimeToReportBandwidth option to change the smallest
  979. amount of time over which they're willing to report their observed
  980. maximum bandwidth. Previously, this was fixed at 1 day. For
  981. safety, values under 2 hours are only supported on testing
  982. networks. Part of a fix for ticket 40337.
  983. - Relays on testing networks no longer rate-limit how frequently
  984. they are willing to report new bandwidth measurements. Part of a
  985. fix for ticket 40337.
  986. - Relays on testing networks now report their observed bandwidths
  987. immediately from startup. Previously, they waited until they had
  988. been running for a full day. Closes ticket 40337.
  989. o Minor bugfixes (circuit padding):
  990. - Don't send STOP circuit padding cells when the other side has
  991. already shut down the corresponding padding machine. Fixes bug
  992. 40435; bugfix on 0.4.0.1-alpha.
  993. o Minor bugfixes (compatibility):
  994. - Fix compatibility with the most recent Libevent versions, which no
  995. longer have an evdns_set_random_bytes() function. Because this
  996. function has been a no-op since Libevent 2.0.4-alpha, it is safe
  997. for us to just stop calling it. Fixes bug 40371; bugfix
  998. on 0.2.1.7-alpha.
  999. o Minor bugfixes (control, sandbox):
  1000. - Allows the control command SAVECONF to succeed when the seccomp
  1001. sandbox is enabled. Makes SAVECONF keep only one backup file, to
  1002. simplify implementation. Fixes bug 40317; bugfix on 0.2.5.4-alpha.
  1003. Patch by Daniel Pinto.
  1004. o Minor bugfixes (heartbeat):
  1005. - Adjust the heartbeat log message about distinct clients to
  1006. consider the HeartbeatPeriod rather than a flat 6-hour delay.
  1007. Fixes bug 40330; bugfix on 0.2.6.3-alpha.
  1008. o Minor bugfixes (logging, relay):
  1009. - Add spaces between the "and" when logging the "Your server has not
  1010. managed to confirm reachability for its" on dual-stack relays.
  1011. Fixes bug 40453; bugfix on 0.4.5.1-alpha. Patch by Neel Chauhan.
  1012. o Minor bugfixes (onion service):
  1013. - Do not flag an HSDir as non-running in case the descriptor upload
  1014. or fetch fails. An onion service closes pending directory
  1015. connections before uploading a new descriptor which leads to
  1016. wrongly flagging many relays and thus affecting circuit path
  1017. selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
  1018. o Minor bugfixes (statistics):
  1019. - Fix a fencepost issue when we check stability_last_downrated where
  1020. we called rep_hist_downrate_old_runs() twice. Fixes bug 40394;
  1021. bugfix on 0.2.0.5-alpha. Patch by Neel Chauhan.
  1022. o Minor bugfixes (tests):
  1023. - Fix a bug that prevented some tests from running with the correct
  1024. names. Fixes bug 40365; bugfix on 0.4.3.1-alpha.
  1025. o Documentation:
  1026. - Add links to original tor design paper and anonbib to
  1027. docs/HACKING/README.1st.md. Closes ticket 33742. Patch from
  1028. Emily Bones.
  1029. - Describe the "fingerprint-ed25519" file in the tor.1 man page.
  1030. Fixes bug 40467; bugfix on 0.4.3.1-alpha. Patch by Neel Chauhan.
  1031. Changes in version 0.4.6.7 - 2021-08-16
  1032. This version fixes several bugs from earlier versions of Tor,
  1033. including one that could lead to a denial-of-service attack. Everyone
  1034. running an earlier version, whether as a client, a relay, or an onion
  1035. service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
  1036. o Major bugfixes (cryptography, security):
  1037. - Resolve an assertion failure caused by a behavior mismatch between
  1038. our batch-signature verification code and our single-signature
  1039. verification code. This assertion failure could be triggered
  1040. remotely, leading to a denial of service attack. We fix this issue
  1041. by disabling batch verification. Fixes bug 40078; bugfix on
  1042. 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
  1043. CVE-2021-38385. Found by Henry de Valence.
  1044. o Minor feature (fallbackdir):
  1045. - Regenerate fallback directories list. Close ticket 40447.
  1046. o Minor features (geoip data):
  1047. - Update the geoip files to match the IPFire Location Database, as
  1048. retrieved on 2021/08/12.
  1049. o Minor bugfix (crypto):
  1050. - Disable the unused batch verification feature of ed25519-donna.
  1051. Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
  1052. de Valence.
  1053. o Minor bugfixes (onion service):
  1054. - Send back the extended SOCKS error 0xF6 (Onion Service Invalid
  1055. Address) for a v2 onion address. Fixes bug 40421; bugfix
  1056. on 0.4.6.2-alpha.
  1057. o Minor bugfixes (relay):
  1058. - Reduce the compression level for data streaming from HIGH to LOW
  1059. in order to reduce CPU load on the directory relays. Fixes bug
  1060. 40301; bugfix on 0.3.5.1-alpha.
  1061. o Minor bugfixes (timekeeping):
  1062. - Calculate the time of day correctly on systems where the time_t
  1063. type includes leap seconds. (This is not the case on most
  1064. operating systems, but on those where it occurs, our tor_timegm
  1065. function did not correctly invert the system's gmtime function,
  1066. which could result in assertion failures when calculating voting
  1067. schedules.) Fixes bug 40383; bugfix on 0.2.0.3-alpha.
  1068. Changes in version 0.4.5.10 - 2021-08-16
  1069. This version fixes several bugs from earlier versions of Tor,
  1070. including one that could lead to a denial-of-service attack. Everyone
  1071. running an earlier version, whether as a client, a relay, or an onion
  1072. service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
  1073. o Major bugfixes (cryptography, security):
  1074. - Resolve an assertion failure caused by a behavior mismatch between
  1075. our batch-signature verification code and our single-signature
  1076. verification code. This assertion failure could be triggered
  1077. remotely, leading to a denial of service attack. We fix this issue
  1078. by disabling batch verification. Fixes bug 40078; bugfix on
  1079. 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
  1080. CVE-2021-38385. Found by Henry de Valence.
  1081. o Minor feature (fallbackdir):
  1082. - Regenerate fallback directories list. Close ticket 40447.
  1083. o Minor features (geoip data):
  1084. - Update the geoip files to match the IPFire Location Database, as
  1085. retrieved on 2021/08/12.
  1086. o Minor features (testing):
  1087. - Enable the deterministic RNG for unit tests that covers the
  1088. address set bloomfilter-based API's. Fixes bug 40419; bugfix
  1089. on 0.3.3.2-alpha.
  1090. o Minor bugfix (crypto, backport from 0.4.6.7):
  1091. - Disable the unused batch verification feature of ed25519-donna.
  1092. Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
  1093. de Valence.
  1094. o Minor bugfixes (relay, backport from 0.4.6.7):
  1095. - Reduce the compression level for data streaming from HIGH to LOW.
  1096. Fixes bug 40301; bugfix on 0.3.5.1-alpha.
  1097. o Minor bugfixes (timekeeping, backport from 0.4.6.7):
  1098. - Calculate the time of day correctly on systems where the time_t
  1099. type includes leap seconds. (This is not the case on most
  1100. operating systems, but on those where it occurs, our tor_timegm
  1101. function did not correctly invert the system's gmtime function,
  1102. which could result in assertion failures when calculating voting
  1103. schedules.) Fixes bug 40383; bugfix on 0.2.0.3-alpha.
  1104. o Minor bugfixes (warnings, portability, backport from 0.4.6.6):
  1105. - Suppress a strict-prototype warning when building with some
  1106. versions of NSS. Fixes bug 40409; bugfix on 0.3.5.1-alpha.
  1107. Changes in version 0.3.5.16 - 2021-08-16
  1108. This version fixes several bugs from earlier versions of Tor,
  1109. including one that could lead to a denial-of-service attack. Everyone
  1110. running an earlier version, whether as a client, a relay, or an onion
  1111. service, should upgrade to Tor 0.3.5.16, 0.4.5.10, or 0.4.6.7.
  1112. o Major bugfixes (cryptography, security):
  1113. - Resolve an assertion failure caused by a behavior mismatch between
  1114. our batch-signature verification code and our single-signature
  1115. verification code. This assertion failure could be triggered
  1116. remotely, leading to a denial of service attack. We fix this issue
  1117. by disabling batch verification. Fixes bug 40078; bugfix on
  1118. 0.2.6.1-alpha. This issue is also tracked as TROVE-2021-007 and
  1119. CVE-2021-38385. Found by Henry de Valence.
  1120. o Minor feature (fallbackdir):
  1121. - Regenerate fallback directories list. Close ticket 40447.
  1122. o Minor features (geoip data):
  1123. - Update the geoip files to match the IPFire Location Database, as
  1124. retrieved on 2021/08/12.
  1125. o Minor bugfix (crypto, backport from 0.4.6.7):
  1126. - Disable the unused batch verification feature of ed25519-donna.
  1127. Fixes bug 40078; bugfix on 0.2.6.1-alpha. Found by Henry
  1128. de Valence.
  1129. o Minor bugfixes (relay, backport from 0.4.6.7):
  1130. - Reduce the compression level for data streaming from HIGH to LOW.
  1131. Fixes bug 40301; bugfix on 0.3.5.1-alpha.
  1132. Changes in version 0.4.6.6 - 2021-06-30
  1133. Tor 0.4.6.6 makes several small fixes on 0.4.6.5, including one that
  1134. allows Tor to build correctly on older versions of GCC. You should
  1135. upgrade to this version if you were having trouble building Tor
  1136. 0.4.6.5; otherwise, there is probably no need.
  1137. o Minor bugfixes (compilation):
  1138. - Fix a compilation error when trying to build Tor with a compiler
  1139. that does not support const variables in static initializers.
  1140. Fixes bug 40410; bugfix on 0.4.6.5.
  1141. - Suppress a strict-prototype warning when building with some
  1142. versions of NSS. Fixes bug 40409; bugfix on 0.3.5.1-alpha.
  1143. o Minor bugfixes (testing):
  1144. - Enable the deterministic RNG for unit tests that covers the
  1145. address set bloomfilter-based API's. Fixes bug 40419; bugfix
  1146. on 0.3.3.2-alpha.
  1147. Changes in version 0.4.5.9 - 2021-06-14
  1148. Tor 0.4.5.9 fixes several security issues, including a
  1149. denial-of-service attack against onion service clients, and another
  1150. denial-of-service attack against relays. Everybody should upgrade to
  1151. one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
  1152. o Major bugfixes (security, backport from 0.4.6.5):
  1153. - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
  1154. half-closed streams. Previously, clients failed to validate which
  1155. hop sent these cells: this would allow a relay on a circuit to end
  1156. a stream that wasn't actually built with it. Fixes bug 40389;
  1157. bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
  1158. 003 and CVE-2021-34548.
  1159. o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
  1160. - Detect more failure conditions from the OpenSSL RNG code.
  1161. Previously, we would detect errors from a missing RNG
  1162. implementation, but not failures from the RNG code itself.
  1163. Fortunately, it appears those failures do not happen in practice
  1164. when Tor is using OpenSSL's default RNG implementation. Fixes bug
  1165. 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
  1166. TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
  1167. o Major bugfixes (security, denial of service, backport from 0.4.6.5):
  1168. - Resist a hashtable-based CPU denial-of-service attack against
  1169. relays. Previously we used a naive unkeyed hash function to look
  1170. up circuits in a circuitmux object. An attacker could exploit this
  1171. to construct circuits with chosen circuit IDs, to create
  1172. collisions and make the hash table inefficient. Now we use a
  1173. SipHash construction here instead. Fixes bug 40391; bugfix on
  1174. 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
  1175. CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
  1176. - Fix an out-of-bounds memory access in v3 onion service descriptor
  1177. parsing. An attacker could exploit this bug by crafting an onion
  1178. service descriptor that would crash any client that tried to visit
  1179. it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
  1180. tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
  1181. Glazunov from Google's Project Zero.
  1182. o Minor features (compatibility, backport from 0.4.6.4-rc):
  1183. - Remove an assertion function related to TLS renegotiation. It was
  1184. used nowhere outside the unit tests, and it was breaking
  1185. compilation with recent alpha releases of OpenSSL 3.0.0. Closes
  1186. ticket 40399.
  1187. o Minor features (geoip data):
  1188. - Update the geoip files to match the IPFire Location Database, as
  1189. retrieved on 2021/06/10.
  1190. o Minor bugfixes (control, sandbox, backport from 0.4.6.4-rc):
  1191. - Allow the control command SAVECONF to succeed when the seccomp
  1192. sandbox is enabled, and make SAVECONF keep only one backup file to
  1193. simplify implementation. Previously SAVECONF allowed a large
  1194. number of backup files, which made it incompatible with the
  1195. sandbox. Fixes bug 40317; bugfix on 0.2.5.4-alpha. Patch by
  1196. Daniel Pinto.
  1197. o Minor bugfixes (metrics port, backport from 0.4.6.4-rc):
  1198. - Fix a bug that made tor try to re-bind() on an already open
  1199. MetricsPort every 60 seconds. Fixes bug 40370; bugfix
  1200. on 0.4.5.1-alpha.
  1201. Changes in version 0.4.4.9 - 2021-06-14
  1202. Tor 0.4.4.9 fixes several security issues, including a
  1203. denial-of-service attack against onion service clients, and another
  1204. denial-of-service attack against relays. Everybody should upgrade to
  1205. one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
  1206. Note that the scheduled end-of-life date for the Tor 0.4.4.x series is
  1207. June 15. This is therefore the last release in its series. Everybody
  1208. still running 0.4.4.x should plan to upgrade to 0.4.5.x or later.
  1209. o Major bugfixes (security, backport from 0.4.6.5):
  1210. - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
  1211. half-closed streams. Previously, clients failed to validate which
  1212. hop sent these cells: this would allow a relay on a circuit to end
  1213. a stream that wasn't actually built with it. Fixes bug 40389;
  1214. bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
  1215. 003 and CVE-2021-34548.
  1216. o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
  1217. - Detect more failure conditions from the OpenSSL RNG code.
  1218. Previously, we would detect errors from a missing RNG
  1219. implementation, but not failures from the RNG code itself.
  1220. Fortunately, it appears those failures do not happen in practice
  1221. when Tor is using OpenSSL's default RNG implementation. Fixes bug
  1222. 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
  1223. TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
  1224. o Major bugfixes (security, denial of service, backport from 0.4.6.5):
  1225. - Resist a hashtable-based CPU denial-of-service attack against
  1226. relays. Previously we used a naive unkeyed hash function to look
  1227. up circuits in a circuitmux object. An attacker could exploit this
  1228. to construct circuits with chosen circuit IDs, to create
  1229. collisions and make the hash table inefficient. Now we use a
  1230. SipHash construction here instead. Fixes bug 40391; bugfix on
  1231. 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
  1232. CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
  1233. - Fix an out-of-bounds memory access in v3 onion service descriptor
  1234. parsing. An attacker could exploit this bug by crafting an onion
  1235. service descriptor that would crash any client that tried to visit
  1236. it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
  1237. tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
  1238. Glazunov from Google's Project Zero.
  1239. o Minor features (compatibility, backport from 0.4.6.4-rc):
  1240. - Remove an assertion function related to TLS renegotiation. It was
  1241. used nowhere outside the unit tests, and it was breaking
  1242. compilation with recent alpha releases of OpenSSL 3.0.0. Closes
  1243. ticket 40399.
  1244. o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
  1245. - Regenerate the list of fallback directories to contain a new set
  1246. of 200 relays. Closes ticket 40265.
  1247. o Minor features (geoip data):
  1248. - Update the geoip files to match the IPFire Location Database, as
  1249. retrieved on 2021/06/10.
  1250. o Minor bugfixes (channel, DoS, backport from 0.4.6.2-alpha):
  1251. - Fix a non-fatal BUG() message due to a too-early free of a string,
  1252. when listing a client connection from the DoS defenses subsystem.
  1253. Fixes bug 40345; bugfix on 0.4.3.4-rc.
  1254. o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
  1255. - Fix an indentation problem that led to a warning from GCC 11.1.1.
  1256. Fixes bug 40380; bugfix on 0.3.0.1-alpha.
  1257. Changes in version 0.3.5.15 - 2021-06-14
  1258. Tor 0.3.5.15 fixes several security issues, including a
  1259. denial-of-service attack against onion service clients, and another
  1260. denial-of-service attack against relays. Everybody should upgrade to
  1261. one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
  1262. o Major bugfixes (security, backport from 0.4.6.5):
  1263. - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
  1264. half-closed streams. Previously, clients failed to validate which
  1265. hop sent these cells: this would allow a relay on a circuit to end
  1266. a stream that wasn't actually built with it. Fixes bug 40389;
  1267. bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
  1268. 003 and CVE-2021-34548.
  1269. o Major bugfixes (security, defense-in-depth, backport from 0.4.6.5):
  1270. - Detect more failure conditions from the OpenSSL RNG code.
  1271. Previously, we would detect errors from a missing RNG
  1272. implementation, but not failures from the RNG code itself.
  1273. Fortunately, it appears those failures do not happen in practice
  1274. when Tor is using OpenSSL's default RNG implementation. Fixes bug
  1275. 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
  1276. TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
  1277. o Major bugfixes (security, denial of service, backport from 0.4.6.5):
  1278. - Resist a hashtable-based CPU denial-of-service attack against
  1279. relays. Previously we used a naive unkeyed hash function to look
  1280. up circuits in a circuitmux object. An attacker could exploit this
  1281. to construct circuits with chosen circuit IDs, to create
  1282. collisions and make the hash table inefficient. Now we use a
  1283. SipHash construction here instead. Fixes bug 40391; bugfix on
  1284. 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
  1285. CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
  1286. - Fix an out-of-bounds memory access in v3 onion service descriptor
  1287. parsing. An attacker could exploit this bug by crafting an onion
  1288. service descriptor that would crash any client that tried to visit
  1289. it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
  1290. tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
  1291. Glazunov from Google's Project Zero.
  1292. o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
  1293. - Fix an indentation problem that led to a warning from GCC 11.1.1.
  1294. Fixes bug 40380; bugfix on 0.3.0.1-alpha.
  1295. o Minor features (compatibility, backport from 0.4.6.4-rc):
  1296. - Remove an assertion function related to TLS renegotiation. It was
  1297. used nowhere outside the unit tests, and it was breaking
  1298. compilation with recent alpha releases of OpenSSL 3.0.0. Closes
  1299. ticket 40399.
  1300. o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
  1301. - Regenerate the list of fallback directories to contain a new set
  1302. of 200 relays. Closes ticket 40265.
  1303. o Minor features (geoip data):
  1304. - Update the geoip files to match the IPFire Location Database, as
  1305. retrieved on 2021/06/10.
  1306. Changes in version 0.4.6.5 - 2021-06-14
  1307. Tor 0.4.6.5 is the first stable release in its series. The 0.4.6.x
  1308. series includes numerous features and bugfixes, including a significant
  1309. improvement to our circuit timeout algorithm that should improve
  1310. observed client performance, and a way for relays to report when they are
  1311. overloaded.
  1312. This release also includes security fixes for several security issues,
  1313. including a denial-of-service attack against onion service clients,
  1314. and another denial-of-service attack against relays. Everybody should
  1315. upgrade to one of 0.3.5.15, 0.4.4.9, 0.4.5.9, or 0.4.6.5.
  1316. Below are the changes since 0.4.6.4-rc. For a complete list of changes
  1317. since 0.4.5.8, see the ReleaseNotes file.
  1318. o Major bugfixes (security):
  1319. - Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on
  1320. half-closed streams. Previously, clients failed to validate which
  1321. hop sent these cells: this would allow a relay on a circuit to end
  1322. a stream that wasn't actually built with it. Fixes bug 40389;
  1323. bugfix on 0.3.5.1-alpha. This issue is also tracked as TROVE-2021-
  1324. 003 and CVE-2021-34548.
  1325. o Major bugfixes (security, defense-in-depth):
  1326. - Detect more failure conditions from the OpenSSL RNG code.
  1327. Previously, we would detect errors from a missing RNG
  1328. implementation, but not failures from the RNG code itself.
  1329. Fortunately, it appears those failures do not happen in practice
  1330. when Tor is using OpenSSL's default RNG implementation. Fixes bug
  1331. 40390; bugfix on 0.2.8.1-alpha. This issue is also tracked as
  1332. TROVE-2021-004. Reported by Jann Horn at Google's Project Zero.
  1333. o Major bugfixes (security, denial of service):
  1334. - Resist a hashtable-based CPU denial-of-service attack against
  1335. relays. Previously we used a naive unkeyed hash function to look
  1336. up circuits in a circuitmux object. An attacker could exploit this
  1337. to construct circuits with chosen circuit IDs, to create
  1338. collisions and make the hash table inefficient. Now we use a
  1339. SipHash construction here instead. Fixes bug 40391; bugfix on
  1340. 0.2.4.4-alpha. This issue is also tracked as TROVE-2021-005 and
  1341. CVE-2021-34549. Reported by Jann Horn from Google's Project Zero.
  1342. - Fix an out-of-bounds memory access in v3 onion service descriptor
  1343. parsing. An attacker could exploit this bug by crafting an onion
  1344. service descriptor that would crash any client that tried to visit
  1345. it. Fixes bug 40392; bugfix on 0.3.0.1-alpha. This issue is also
  1346. tracked as TROVE-2021-006 and CVE-2021-34550. Reported by Sergei
  1347. Glazunov from Google's Project Zero.
  1348. o Minor features (geoip data):
  1349. - Update the geoip files to match the IPFire Location Database, as
  1350. retrieved on 2021/06/10.
  1351. o Minor features (logging, diagnostic):
  1352. - Log decompression failures at a higher severity level, since they
  1353. can help provide missing context for other warning messages. We
  1354. rate-limit these messages, to avoid flooding the logs if they
  1355. begin to occur frequently. Closes ticket 40175.
  1356. Changes in version 0.4.6.4-rc - 2021-05-28
  1357. Tor 0.4.6.4-rc fixes a few bugs from previous releases. This, we hope,
  1358. the final release candidate in its series: unless major new issues are
  1359. found, the next release will be stable.
  1360. o Minor features (compatibility):
  1361. - Remove an assertion function related to TLS renegotiation. It was
  1362. used nowhere outside the unit tests, and it was breaking
  1363. compilation with recent alpha releases of OpenSSL 3.0.0. Closes
  1364. ticket 40399.
  1365. o Minor bugfixes (consensus handling):
  1366. - Avoid a set of bugs that could be caused by inconsistently
  1367. preferring an out-of-date consensus stored in a stale directory
  1368. cache over a more recent one stored on disk as the latest
  1369. consensus. Fixes bug 40375; bugfix on 0.3.1.1-alpha.
  1370. o Minor bugfixes (control, sandbox):
  1371. - Allow the control command SAVECONF to succeed when the seccomp
  1372. sandbox is enabled, and make SAVECONF keep only one backup file to
  1373. simplify implementation. Previously SAVECONF allowed a large
  1374. number of backup files, which made it incompatible with the
  1375. sandbox. Fixes bug 40317; bugfix on 0.2.5.4-alpha. Patch by
  1376. Daniel Pinto.
  1377. o Minor bugfixes (metrics port):
  1378. - Fix a bug that made tor try to re-bind() on an already open
  1379. MetricsPort every 60 seconds. Fixes bug 40370; bugfix
  1380. on 0.4.5.1-alpha.
  1381. o Removed features:
  1382. - Remove unneeded code for parsing private keys in directory
  1383. documents. This code was only used for client authentication in v2
  1384. onion services, which are now unsupported. Closes ticket 40374.
  1385. Changes in version 0.4.5.8 - 2021-05-10
  1386. Tor 0.4.5.8 fixes several bugs in earlier version, backporting fixes
  1387. from the 0.4.6.x series.
  1388. o Minor features (compatibility, Linux seccomp sandbox, backport from 0.4.6.3-rc):
  1389. - Add a workaround to enable the Linux sandbox to work correctly
  1390. with Glibc 2.33. This version of Glibc has started using the
  1391. fstatat() system call, which previously our sandbox did not allow.
  1392. Closes ticket 40382; see the ticket for a discussion of trade-offs.
  1393. o Minor features (compilation, backport from 0.4.6.3-rc):
  1394. - Make the autoconf script build correctly with autoconf versions
  1395. 2.70 and later. Closes part of ticket 40335.
  1396. o Minor features (fallback directory list, backport from 0.4.6.2-alpha):
  1397. - Regenerate the list of fallback directories to contain a new set
  1398. of 200 relays. Closes ticket 40265.
  1399. o Minor features (geoip data):
  1400. - Update the geoip files to match the IPFire Location Database, as
  1401. retrieved on 2021/05/07.
  1402. o Minor features (onion services):
  1403. - Add warning message when connecting to now deprecated v2 onion
  1404. services. As announced, Tor 0.4.5.x is the last series that will
  1405. support v2 onions. Closes ticket 40373.
  1406. o Minor bugfixes (bridge, pluggable transport, backport from 0.4.6.2-alpha):
  1407. - Fix a regression that made it impossible start Tor using a bridge
  1408. line with a transport name and no fingerprint. Fixes bug 40360;
  1409. bugfix on 0.4.5.4-rc.
  1410. o Minor bugfixes (build, cross-compilation, backport from 0.4.6.3-rc):
  1411. - Allow a custom "ar" for cross-compilation. Our previous build
  1412. script had used the $AR environment variable in most places, but
  1413. it missed one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.
  1414. o Minor bugfixes (channel, DoS, backport from 0.4.6.2-alpha):
  1415. - Fix a non-fatal BUG() message due to a too-early free of a string,
  1416. when listing a client connection from the DoS defenses subsystem.
  1417. Fixes bug 40345; bugfix on 0.4.3.4-rc.
  1418. o Minor bugfixes (compiler warnings, backport from 0.4.6.3-rc):
  1419. - Fix an indentation problem that led to a warning from GCC 11.1.1.
  1420. Fixes bug 40380; bugfix on 0.3.0.1-alpha.
  1421. o Minor bugfixes (controller, backport from 0.4.6.1-alpha):
  1422. - Fix a "BUG" warning that would appear when a controller chooses
  1423. the first hop for a circuit, and that circuit completes. Fixes bug
  1424. 40285; bugfix on 0.3.2.1-alpha.
  1425. o Minor bugfixes (onion service, client, memory leak, backport from 0.4.6.3-rc):
  1426. - Fix a bug where an expired cached descriptor could get overwritten
  1427. with a new one without freeing it, leading to a memory leak. Fixes
  1428. bug 40356; bugfix on 0.3.5.1-alpha.
  1429. o Minor bugfixes (testing, BSD, backport from 0.4.6.2-alpha):
  1430. - Fix pattern-matching errors when patterns expand to invalid paths
  1431. on BSD systems. Fixes bug 40318; bugfix on 0.4.5.1-alpha. Patch by
  1432. Daniel Pinto.
  1433. Changes in version 0.4.6.3-rc - 2021-05-10
  1434. Tor 0.4.6.3-rc is the first release candidate in its series. It fixes
  1435. a few small bugs from previous versions, and adds a better error
  1436. message when trying to use (no longer supported) v2 onion services.
  1437. Though we anticipate that we'll be doing a bit more clean-up between
  1438. now and the stable release, we expect that our remaining changes will
  1439. be fairly simple. There will likely be at least one more release
  1440. candidate before 0.4.6.x is stable.
  1441. o Major bugfixes (onion service, control port):
  1442. - Make the ADD_ONION command properly configure client authorization.
  1443. Before this fix, the created onion failed to add the client(s).
  1444. Fixes bug 40378; bugfix on 0.4.6.1-alpha.
  1445. o Minor features (compatibility, Linux seccomp sandbox):
  1446. - Add a workaround to enable the Linux sandbox to work correctly
  1447. with Glibc 2.33. This version of Glibc has started using the
  1448. fstatat() system call, which previously our sandbox did not allow.
  1449. Closes ticket 40382; see the ticket for a discussion of trade-offs.
  1450. o Minor features (compilation):
  1451. - Make the autoconf script build correctly with autoconf versions
  1452. 2.70 and later. Closes part of ticket 40335.
  1453. o Minor features (geoip data):
  1454. - Update the geoip files to match the IPFire Location Database, as
  1455. retrieved on 2021/05/07.
  1456. o Minor features (onion services):
  1457. - Add a warning message when trying to connect to (no longer
  1458. supported) v2 onion services. Closes ticket 40373.
  1459. o Minor bugfixes (build, cross-compilation):
  1460. - Allow a custom "ar" for cross-compilation. Our previous build
  1461. script had used the $AR environment variable in most places, but
  1462. it missed one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.
  1463. o Minor bugfixes (compiler warnings):
  1464. - Fix an indentation problem that led to a warning from GCC 11.1.1.
  1465. Fixes bug 40380; bugfix on 0.3.0.1-alpha.
  1466. o Minor bugfixes (logging, relay):
  1467. - Emit a warning if an Address is found to be internal and tor can't
  1468. use it. Fixes bug 40290; bugfix on 0.4.5.1-alpha.
  1469. o Minor bugfixes (onion service, client, memory leak):
  1470. - Fix a bug where an expired cached descriptor could get overwritten
  1471. with a new one without freeing it, leading to a memory leak. Fixes
  1472. bug 40356; bugfix on 0.3.5.1-alpha.
  1473. Changes in version 0.4.6.2-alpha - 2021-04-15
  1474. Tor 0.4.6.2-alpha is the second alpha in its series. It fixes several
  1475. small bugs in previous releases, and solves other issues that had
  1476. enabled denial-of-service attacks and affected integration with
  1477. other tools.
  1478. o Minor features (client):
  1479. - Clients now check whether their streams are attempting to re-enter
  1480. the Tor network (i.e. to send Tor traffic over Tor), and close
  1481. them preemptively if they think exit relays will refuse them for
  1482. this reason. See ticket 2667 for details. Closes ticket 40271.
  1483. o Minor features (command line):
  1484. - Add long format name "--torrc-file" equivalent to the existing
  1485. command-line option "-f". Closes ticket 40324. Patch by
  1486. Daniel Pinto.
  1487. o Minor features (dormant mode):
  1488. - Add a new 'DormantTimeoutEnabled' option to allow coarse-grained
  1489. control over whether the client ever becomes dormant from
  1490. inactivity. Most people won't need this. Closes ticket 40228.
  1491. o Minor features (fallback directory list):
  1492. - Regenerate the list of fallback directories to contain a new set
  1493. of 200 relays. Closes ticket 40265.
  1494. o Minor features (geoip data):
  1495. - Update the geoip files to match the IPFire Location Database, as
  1496. retrieved on 2021/04/13.
  1497. o Minor features (logging):
  1498. - Edit heartbeat log messages so that more of them begin with the
  1499. string "Heartbeat: ". Closes ticket 40322; patch
  1500. from 'cypherpunks'.
  1501. o Minor bugfixes (bridge, pluggable transport):
  1502. - Fix a regression that made it impossible start Tor using a bridge
  1503. line with a transport name and no fingerprint. Fixes bug 40360;
  1504. bugfix on 0.4.5.4-rc.
  1505. o Minor bugfixes (channel, DoS):
  1506. - Fix a non-fatal BUG() message due to a too-early free of a string,
  1507. when listing a client connection from the DoS defenses subsystem.
  1508. Fixes bug 40345; bugfix on 0.4.3.4-rc.
  1509. o Minor bugfixes (compilation):
  1510. - Fix a compilation warning about unused functions when building
  1511. with a libc that lacks the GLOB_ALTDIRFUNC constant. Fixes bug
  1512. 40354; bugfix on 0.4.5.1-alpha. Patch by Daniel Pinto.
  1513. o Minor bugfixes (configuration):
  1514. - Fix pattern-matching for directories on all platforms when using
  1515. %include options in configuration files. This patch also fixes
  1516. compilation on musl libc based systems. Fixes bug 40141; bugfix
  1517. on 0.4.5.1-alpha.
  1518. o Minor bugfixes (relay):
  1519. - Move the "overload-general" line from extrainfo to the server
  1520. descriptor. Fixes bug 40364; bugfix on 0.4.6.1-alpha.
  1521. o Minor bugfixes (testing, BSD):
  1522. - Fix pattern-matching errors when patterns expand to invalid paths
  1523. on BSD systems. Fixes bug 40318; bugfix on 0.4.5.1-alpha. Patch by
  1524. Daniel Pinto.
  1525. o Documentation (manual):
  1526. - Move the ServerTransport* options to the "SERVER OPTIONS" section.
  1527. Closes issue 40331.
  1528. - Indicate that the HiddenServiceStatistics option also applies to
  1529. bridges. Closes ticket 40346.
  1530. - Move the description of BridgeRecordUsageByCountry to the section
  1531. "STATISTICS OPTIONS". Closes ticket 40323.
  1532. Changes in version 0.4.6.1-alpha - 2021-03-18
  1533. Tor 0.4.6.1-alpha is the first alpha release in the 0.4.6.x series. It
  1534. improves client circuit performance, adds missing features, and
  1535. improves some of our DoS handling and statistics reporting. It also
  1536. includes numerous smaller bugfixes.
  1537. Below are the changes since 0.4.5.7. (Note that this release DOES
  1538. include the fixes for the security bugs already fixed in 0.4.5.7.)
  1539. o Major features (control port, onion services):
  1540. - Add controller support for creating version 3 onion services with
  1541. client authorization. Previously, only v2 onion services could be
  1542. created with client authorization. Closes ticket 40084. Patch by
  1543. Neel Chauhan.
  1544. o Major features (directory authority):
  1545. - When voting on a relay with a Sybil-like appearance, add the Sybil
  1546. flag when clearing out the other flags. This lets a relay operator
  1547. know why their relay hasn't been included in the consensus. Closes
  1548. ticket 40255. Patch by Neel Chauhan.
  1549. o Major features (metrics):
  1550. - Relays now report how overloaded they are in their extrainfo
  1551. documents. This information is controlled with the
  1552. OverloadStatistics torrc option, and it will be used to improve
  1553. decisions about the network's load balancing. Implements proposal
  1554. 328; closes ticket 40222.
  1555. o Major features (relay, denial of service):
  1556. - Add a new DoS subsystem feature to control the rate of client
  1557. connections for relays. Closes ticket 40253.
  1558. o Major features (statistics):
  1559. - Relays now publish statistics about the number of v3 onion
  1560. services and volume of v3 onion service traffic, in the same
  1561. manner they already do for v2 onions. Closes ticket 23126.
  1562. o Major bugfixes (circuit build timeout):
  1563. - Improve the accuracy of our circuit build timeout calculation for
  1564. 60%, 70%, and 80% build rates for various guard choices. We now
  1565. use a maximum likelihood estimator for Pareto parameters of the
  1566. circuit build time distribution, instead of a "right-censored
  1567. estimator". This causes clients to ignore circuits that never
  1568. finish building in their timeout calculations. Previously, clients
  1569. were counting such unfinished circuits as having the highest
  1570. possible build time value, when in reality these circuits most
  1571. likely just contain relays that are offline. We also now wait a
  1572. bit longer to let circuits complete for measurement purposes,
  1573. lower the minimum possible effective timeout from 1.5 seconds to
  1574. 10ms, and increase the resolution of the circuit build time
  1575. histogram from 50ms bin widths to 10ms bin widths. Additionally,
  1576. we alter our estimate Xm by taking the maximum of the top 10 most
  1577. common build time values of the 10ms histogram, and compute Xm as
  1578. the average of these. Fixes bug 40168; bugfix on 0.2.2.14-alpha.
  1579. - Remove max_time calculation and associated warning from circuit
  1580. build timeout 'alpha' parameter estimation, as this is no longer
  1581. needed by our new estimator from 40168. Fixes bug 34088; bugfix
  1582. on 0.2.2.9-alpha.
  1583. o Major bugfixes (signing key):
  1584. - In the tor-gencert utility, give an informative error message if
  1585. the passphrase given in `--create-identity-key` is too short.
  1586. Fixes bug 40189; bugfix on 0.2.0.1-alpha. Patch by Neel Chauhan.
  1587. o Minor features (bridge):
  1588. - We now announce the URL to Tor's new bridge status at
  1589. https://bridges.torproject.org/ when Tor is configured to run as a
  1590. bridge relay. Closes ticket 30477.
  1591. o Minor features (build system):
  1592. - New "make lsp" command to auto generate the compile_commands.json
  1593. file used by the ccls server. The "bear" program is needed for
  1594. this. Closes ticket 40227.
  1595. o Minor features (command-line interface):
  1596. - Add build informations to `tor --version` in order to ease
  1597. reproducible builds. Closes ticket 32102.
  1598. - When parsing command-line flags that take an optional argument,
  1599. treat the argument as absent if it would start with a '-'
  1600. character. Arguments in that form are not intelligible for any of
  1601. our optional-argument flags. Closes ticket 40223.
  1602. - Allow a relay operator to list the ed25519 keys on the command
  1603. line by adding the `rsa` and `ed25519` arguments to the
  1604. --list-fingerprint flag to show the respective RSA and ed25519
  1605. relay fingerprint. Closes ticket 33632. Patch by Neel Chauhan.
  1606. o Minor features (control port, stream handling):
  1607. - Add the stream ID to the event line in the ADDRMAP control event.
  1608. Closes ticket 40249. Patch by Neel Chauhan.
  1609. o Minor features (dormant mode):
  1610. - Add a new 'DormantTimeoutEnabled' option for coarse-grained
  1611. control over whether the client can become dormant from
  1612. inactivity. Most people won't need this. Closes ticket 40228.
  1613. o Minor features (logging):
  1614. - Change the DoS subsystem heartbeat line format to be more clear on
  1615. what has been detected/rejected, and which option is disabled (if
  1616. any). Closes ticket 40308.
  1617. - In src/core/mainloop/mainloop.c and src/core/mainloop/connection.c,
  1618. put brackets around IPv6 addresses in log messages. Closes ticket
  1619. 40232. Patch by Neel Chauhan.
  1620. o Minor features (performance, windows):
  1621. - Use SRWLocks to implement locking on Windows. Replaces the
  1622. "critical section" locking implementation with the faster
  1623. SRWLocks, available since Windows Vista. Closes ticket 17927.
  1624. Patch by Daniel Pinto.
  1625. o Minor features (protocol, proxy support, defense in depth):
  1626. - Close HAProxy connections if they somehow manage to send us data
  1627. before we start reading. Closes another case of ticket 40017.
  1628. o Minor features (tests, portability):
  1629. - Port the hs_build_address.py test script to work with recent
  1630. versions of python. Closes ticket 40213. Patch from
  1631. Samanta Navarro.
  1632. o Minor features (vote document):
  1633. - Add a "stats" line to directory authority votes, to report various
  1634. statistics that authorities compute about the relays. This will
  1635. help us diagnose the network better. Closes ticket 40314.
  1636. o Minor bugfixes (build):
  1637. - The configure script now shows whether or not lzma and zstd have
  1638. been used, not just if the enable flag was passed in. Fixes bug
  1639. 40236; bugfix on 0.4.3.1-alpha.
  1640. o Minor bugfixes (compatibility):
  1641. - Fix a failure in the test cases when running on the "hppa"
  1642. architecture, along with a related test that might fail on other
  1643. architectures in the future. Fixes bug 40274; bugfix
  1644. on 0.2.5.1-alpha.
  1645. o Minor bugfixes (controller):
  1646. - Fix a "BUG" warning that would appear when a controller chooses
  1647. the first hop for a circuit, and that circuit completes. Fixes bug
  1648. 40285; bugfix on 0.3.2.1-alpha.
  1649. o Minor bugfixes (directory authorities, voting):
  1650. - Add a new consensus method (31) to support any future changes that
  1651. authorities decide to make to the value of bwweightscale or
  1652. maxunmeasuredbw. Previously, there was a bug that prevented the
  1653. authorities from parsing these consensus parameters correctly under
  1654. most circumstances. Fixes bug 19011; bugfix on 0.2.2.10-alpha.
  1655. o Minor bugfixes (ipv6):
  1656. - Allow non-SOCKSPorts to disable IPv4, IPv6, and PreferIPv4. Some
  1657. rare configurations might break, but in this case you can disable
  1658. NoIPv4Traffic and NoIPv6Traffic as needed. Fixes bug 33607; bugfix
  1659. on 0.4.1.1-alpha. Patch by Neel Chauhan.
  1660. o Minor bugfixes (key generation):
  1661. - Do not require a valid torrc when using the `--keygen` argument to
  1662. generate a signing key. This allows us to generate keys on systems
  1663. or users which may not run Tor. Fixes bug 40235; bugfix on
  1664. 0.2.7.2-alpha. Patch by Neel Chauhan.
  1665. o Minor bugfixes (onion services, logging):
  1666. - Downgrade the severity of a few rendezvous circuit-related
  1667. warnings from warning to info. Fixes bug 40207; bugfix on
  1668. 0.3.2.1-alpha. Patch by Neel Chauhan.
  1669. o Minor bugfixes (relay):
  1670. - Reduce the compression level for data streaming from HIGH to LOW.
  1671. This should reduce the CPU and memory burden for directory caches.
  1672. Fixes bug 40301; bugfix on 0.3.5.1-alpha.
  1673. o Code simplification and refactoring:
  1674. - Remove the orconn_ext_or_id_map structure and related functions.
  1675. (Nothing outside of unit tests used them.) Closes ticket 33383.
  1676. Patch by Neel Chauhan.
  1677. o Removed features:
  1678. - As of this release, Tor no longer supports the old v2 onion
  1679. services. They were deprecated last July for security, and support
  1680. will be removed entirely later this year. We strongly encourage
  1681. everybody to migrate to v3 onion services. For more information,
  1682. see https://blog.torproject.org/v2-deprecation-timeline . Closes
  1683. ticket 40266. (NOTE: We accidentally released an earlier version
  1684. of the 0.4.6.1-alpha changelog without this entry. Sorry for
  1685. the confusion!)
  1686. o Code simplification and refactoring (metrics, DoS):
  1687. - Move the DoS subsystem into the subsys manager, including its
  1688. configuration options. Closes ticket 40261.
  1689. o Removed features (relay):
  1690. - Because DirPorts are only used on authorities, relays no longer
  1691. advertise them. Similarly, self-testing for DirPorts has been
  1692. disabled, since an unreachable DirPort is no reason for a relay
  1693. not to advertise itself. (Configuring a DirPort will still work,
  1694. for now.) Closes ticket 40282.
  1695. Changes in version 0.3.5.14 - 2021-03-16
  1696. Tor 0.3.5.14 backports fixes for two important denial-of-service bugs
  1697. in earlier versions of Tor.
  1698. One of these vulnerabilities (TROVE-2021-001) would allow an attacker
  1699. who can send directory data to a Tor instance to force that Tor
  1700. instance to consume huge amounts of CPU. This is easiest to exploit
  1701. against authorities, since anybody can upload to them, but directory
  1702. caches could also exploit this vulnerability against relays or clients
  1703. when they download. The other vulnerability (TROVE-2021-002) only
  1704. affects directory authorities, and would allow an attacker to remotely
  1705. crash the authority with an assertion failure. Patches have already
  1706. been provided to the authority operators, to help ensure
  1707. network stability.
  1708. We recommend that everybody upgrade to one of the releases that fixes
  1709. these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
  1710. to you.
  1711. This release also updates our GeoIP data source, and fixes a
  1712. compatibility issue.
  1713. o Major bugfixes (security, denial of service, backport from 0.4.5.7):
  1714. - Disable the dump_desc() function that we used to dump unparseable
  1715. information to disk. It was called incorrectly in several places,
  1716. in a way that could lead to excessive CPU usage. Fixes bug 40286;
  1717. bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
  1718. 001 and CVE-2021-28089.
  1719. - Fix a bug in appending detached signatures to a pending consensus
  1720. document that could be used to crash a directory authority. Fixes
  1721. bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
  1722. and CVE-2021-28090.
  1723. o Minor features (geoip data, backport from 0.4.5.7):
  1724. - We have switched geoip data sources. Previously we shipped IP-to-
  1725. country mappings from Maxmind's GeoLite2, but in 2019 they changed
  1726. their licensing terms, so we were unable to update them after that
  1727. point. We now ship geoip files based on the IPFire Location
  1728. Database instead. (See https://location.ipfire.org/ for more
  1729. information). This release updates our geoip files to match the
  1730. IPFire Location Database as retrieved on 2021/03/12. Closes
  1731. ticket 40224.
  1732. o Removed features (mallinfo deprecated, backport from 0.4.5.7):
  1733. - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
  1734. Closes ticket 40309.
  1735. Changes in version 0.4.4.8 - 2021-03-16
  1736. Tor 0.4.4.8 backports fixes for two important denial-of-service bugs
  1737. in earlier versions of Tor.
  1738. One of these vulnerabilities (TROVE-2021-001) would allow an attacker
  1739. who can send directory data to a Tor instance to force that Tor
  1740. instance to consume huge amounts of CPU. This is easiest to exploit
  1741. against authorities, since anybody can upload to them, but directory
  1742. caches could also exploit this vulnerability against relays or clients
  1743. when they download. The other vulnerability (TROVE-2021-002) only
  1744. affects directory authorities, and would allow an attacker to remotely
  1745. crash the authority with an assertion failure. Patches have already
  1746. been provided to the authority operators, to help ensure
  1747. network stability.
  1748. We recommend that everybody upgrade to one of the releases that fixes
  1749. these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
  1750. to you.
  1751. This release also updates our GeoIP data source, and fixes a
  1752. compatibility issue.
  1753. o Major bugfixes (security, denial of service, backport from 0.4.5.7):
  1754. - Disable the dump_desc() function that we used to dump unparseable
  1755. information to disk. It was called incorrectly in several places,
  1756. in a way that could lead to excessive CPU usage. Fixes bug 40286;
  1757. bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
  1758. 001 and CVE-2021-28089.
  1759. - Fix a bug in appending detached signatures to a pending consensus
  1760. document that could be used to crash a directory authority. Fixes
  1761. bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
  1762. and CVE-2021-28090.
  1763. o Minor features (geoip data, backport from 0.4.5.7):
  1764. - We have switched geoip data sources. Previously we shipped IP-to-
  1765. country mappings from Maxmind's GeoLite2, but in 2019 they changed
  1766. their licensing terms, so we were unable to update them after that
  1767. point. We now ship geoip files based on the IPFire Location
  1768. Database instead. (See https://location.ipfire.org/ for more
  1769. information). This release updates our geoip files to match the
  1770. IPFire Location Database as retrieved on 2021/03/12. Closes
  1771. ticket 40224.
  1772. o Removed features (mallinfo deprecated, backport from 0.4.5.7):
  1773. - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
  1774. Closes ticket 40309.
  1775. Changes in version 0.4.5.7 - 2021-03-16
  1776. Tor 0.4.5.7 fixes two important denial-of-service bugs in earlier
  1777. versions of Tor.
  1778. One of these vulnerabilities (TROVE-2021-001) would allow an attacker
  1779. who can send directory data to a Tor instance to force that Tor
  1780. instance to consume huge amounts of CPU. This is easiest to exploit
  1781. against authorities, since anybody can upload to them, but directory
  1782. caches could also exploit this vulnerability against relays or clients
  1783. when they download. The other vulnerability (TROVE-2021-002) only
  1784. affects directory authorities, and would allow an attacker to remotely
  1785. crash the authority with an assertion failure. Patches have already
  1786. been provided to the authority operators, to help ensure
  1787. network stability.
  1788. We recommend that everybody upgrade to one of the releases that fixes
  1789. these issues (0.3.5.14, 0.4.4.8, or 0.4.5.7) as they become available
  1790. to you.
  1791. This release also updates our GeoIP data source, and fixes a few
  1792. smaller bugs in earlier releases.
  1793. o Major bugfixes (security, denial of service):
  1794. - Disable the dump_desc() function that we used to dump unparseable
  1795. information to disk. It was called incorrectly in several places,
  1796. in a way that could lead to excessive CPU usage. Fixes bug 40286;
  1797. bugfix on 0.2.2.1-alpha. This bug is also tracked as TROVE-2021-
  1798. 001 and CVE-2021-28089.
  1799. - Fix a bug in appending detached signatures to a pending consensus
  1800. document that could be used to crash a directory authority. Fixes
  1801. bug 40316; bugfix on 0.2.2.6-alpha. Tracked as TROVE-2021-002
  1802. and CVE-2021-28090.
  1803. o Minor features (geoip data):
  1804. - We have switched geoip data sources. Previously we shipped IP-to-
  1805. country mappings from Maxmind's GeoLite2, but in 2019 they changed
  1806. their licensing terms, so we were unable to update them after that
  1807. point. We now ship geoip files based on the IPFire Location
  1808. Database instead. (See https://location.ipfire.org/ for more
  1809. information). This release updates our geoip files to match the
  1810. IPFire Location Database as retrieved on 2021/03/12. Closes
  1811. ticket 40224.
  1812. o Minor bugfixes (directory authority):
  1813. - Now that exit relays don't allow exit connections to directory
  1814. authority DirPorts (to prevent network reentry), disable
  1815. authorities' reachability self test on the DirPort. Fixes bug
  1816. 40287; bugfix on 0.4.5.5-rc.
  1817. o Minor bugfixes (documentation):
  1818. - Fix a formatting error in the documentation for
  1819. VirtualAddrNetworkIPv6. Fixes bug 40256; bugfix on 0.2.9.4-alpha.
  1820. o Minor bugfixes (Linux, relay):
  1821. - Fix a bug in determining total available system memory that would
  1822. have been triggered if the format of Linux's /proc/meminfo file
  1823. had ever changed to include "MemTotal:" in the middle of a line.
  1824. Fixes bug 40315; bugfix on 0.2.5.4-alpha.
  1825. o Minor bugfixes (metrics port):
  1826. - Fix a BUG() warning on the MetricsPort for an internal missing
  1827. handler. Fixes bug 40295; bugfix on 0.4.5.1-alpha.
  1828. o Minor bugfixes (onion service):
  1829. - Remove a harmless BUG() warning when reloading tor configured with
  1830. onion services. Fixes bug 40334; bugfix on 0.4.5.1-alpha.
  1831. o Minor bugfixes (portability):
  1832. - Fix a non-portable usage of "==" with "test" in the configure
  1833. script. Fixes bug 40298; bugfix on 0.4.5.1-alpha.
  1834. o Minor bugfixes (relay):
  1835. - Remove a spammy log notice falsely claiming that the IPv4/v6
  1836. address was missing. Fixes bug 40300; bugfix on 0.4.5.1-alpha.
  1837. - Do not query the address cache early in the boot process when
  1838. deciding if a relay needs to fetch early directory information
  1839. from an authority. This bug resulted in a relay falsely believing
  1840. it didn't have an address and thus triggering an authority fetch
  1841. at each boot. Related to our fix for 40300.
  1842. o Removed features (mallinfo deprecated):
  1843. - Remove mallinfo() usage entirely. Libc 2.33+ now deprecates it.
  1844. Closes ticket 40309.
  1845. Changes in version 0.4.5.6 - 2021-02-15
  1846. The Tor 0.4.5.x release series is dedicated to the memory of Karsten
  1847. Loesing (1979-2020), Tor developer, cypherpunk, husband, and father.
  1848. Karsten is best known for creating the Tor metrics portal and leading
  1849. the metrics team, but he was involved in Tor from the early days. For
  1850. example, while he was still a student he invented and implemented the
  1851. v2 onion service directory design, and he also served as an ambassador
  1852. to the many German researchers working in the anonymity field. We
  1853. loved him and respected him for his patience, his consistency, and his
  1854. welcoming approach to growing our community.
  1855. This release series introduces significant improvements in relay IPv6
  1856. address discovery, a new "MetricsPort" mechanism for relay operators
  1857. to measure performance, LTTng support, build system improvements to
  1858. help when using Tor as a static library, and significant bugfixes
  1859. related to Windows relay performance. It also includes numerous
  1860. smaller features and bugfixes.
  1861. Below are the changes since 0.4.4.4-rc. For a complete list of changes
  1862. since 0.4.4.7, see the ReleaseNotes file.
  1863. o Major bugfixes (IPv6, relay):
  1864. - Fix a bug that prevented a relay from publishing its descriptor if
  1865. an auto-discovered IPv6 that was found unreachable. Fixes bug
  1866. 40279; bugfix on 0.4.5.1-alpha.
  1867. o Minor features (protocol versions):
  1868. - Stop claiming to support the "DirCache=1" subprotocol version.
  1869. Technically, we stopped supporting this subprotocol back in
  1870. 0.4.5.1-alpha, but we needed to wait for the authorities to stop
  1871. listing it as "required" before we could drop it from the list.
  1872. Closes ticket 40221.
  1873. o Minor bugfixes (logging):
  1874. - Avoid a spurious log message about missing subprotocol versions,
  1875. when the consensus that we're reading from is older than the
  1876. current release. Previously we had made this message nonfatal, but
  1877. in practice, it is never relevant when the consensus is older than
  1878. the current release. Fixes bug 40281; bugfix on 0.4.0.1-alpha.
  1879. o Minor bugfixes (metrics port):
  1880. - Fix a bug warning when a metrics port socket was unexpectedly
  1881. closed. Fixes bug 40257; bugfix on 0.4.5.1-alpha
  1882. o Minor bugfixes (relay):
  1883. - Allow relays to have a RFC1918 address if PublishServerDescriptor
  1884. is set to 0 and AssumeReachable is set to 1. This is to support
  1885. the use case of a bridge on a local network, exposed via a
  1886. pluggable transport. Fixes bug 40208; bugfix on 0.4.5.1-alpha.
  1887. o Minor bugfixes (relay, config):
  1888. - Fix a problem in the removal of duplicate ORPorts from the
  1889. internal port list when loading the config file. We were removing
  1890. the wrong ports, breaking valid torrc uses cases for multiple
  1891. ORPorts of the same address family. Fixes bug 40289; bugfix
  1892. on 0.4.5.1-alpha.
  1893. Changes in version 0.4.4.7 - 2021-02-03
  1894. Tor 0.4.4.7 backports numerous bugfixes from later releases,
  1895. including one that made v3 onion services more susceptible to
  1896. denial-of-service attacks, and a feature that makes some kinds of
  1897. DoS attacks harder to perform.
  1898. o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
  1899. - Stop requiring a live consensus for v3 clients and services, and
  1900. allow a "reasonably live" consensus instead. This allows v3 onion
  1901. services to work even if the authorities fail to generate a
  1902. consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
  1903. on 0.3.5.1-alpha.
  1904. o Major feature (exit, backport from 0.4.5.5-rc):
  1905. - Re-entry into the network is now denied at the Exit level to all
  1906. relays' ORPorts and authorities' ORPorts and DirPorts. This change
  1907. should help mitgate a set of denial-of-service attacks. Closes
  1908. ticket 2667.
  1909. o Minor feature (build system, backport from 0.4.5.4-rc):
  1910. - New "make lsp" command to generate the compile_commands.json file
  1911. used by the ccls language server. The "bear" program is needed for
  1912. this. Closes ticket 40227.
  1913. o Minor features (compilation, backport from 0.4.5.2-rc):
  1914. - Disable deprecation warnings when building with OpenSSL 3.0.0 or
  1915. later. There are a number of APIs newly deprecated in OpenSSL
  1916. 3.0.0 that Tor still requires. (A later version of Tor will try to
  1917. stop depending on these APIs.) Closes ticket 40165.
  1918. o Minor features (crypto, backport from 0.4.5.3-rc):
  1919. - Fix undefined behavior on our Keccak library. The bug only
  1920. appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
  1921. and would result in wrong digests. Fixes bug 40210; bugfix on
  1922. 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
  1923. weasel for diagnosing this.
  1924. o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
  1925. - Strip '\r' characters when reading text files on Unix platforms.
  1926. This should resolve an issue where a relay operator migrates a
  1927. relay from Windows to Unix, but does not change the line ending of
  1928. Tor's various state files to match the platform, and the CRLF line
  1929. endings from Windows end up leaking into other files such as the
  1930. extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
  1931. o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
  1932. - Fix a compilation warning about unreachable fallthrough
  1933. annotations when building with "--enable-all-bugs-are-fatal" on
  1934. some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
  1935. o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
  1936. - Handle partial SOCKS5 messages correctly. Previously, our code
  1937. would send an incorrect error message if it got a SOCKS5 request
  1938. that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
  1939. o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
  1940. - Fix the `config/parse_tcp_proxy_line` test so that it works
  1941. correctly on systems where the DNS provider hijacks invalid
  1942. queries. Fixes part of bug 40179; bugfix on 0.4.3.1-alpha.
  1943. - Fix our Python reference-implementation for the v3 onion service
  1944. handshake so that it works correctly with the version of hashlib
  1945. provided by Python 3.9. Fixes part of bug 40179; bugfix
  1946. on 0.3.1.6-rc.
  1947. - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
  1948. 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
  1949. Changes in version 0.4.3.8 - 2021-02-03
  1950. Tor 0.4.3.8 backports numerous bugfixes from later releases,
  1951. including one that made v3 onion services more susceptible to
  1952. denial-of-service attacks, and a feature that makes some kinds of
  1953. DoS attacks harder to perform.
  1954. Note that this is, in all likelihood, the last release of Tor 0.4.3.x,
  1955. which will reach end-of-life on 15 Feb 2021.
  1956. o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
  1957. - Stop requiring a live consensus for v3 clients and services, and
  1958. allow a "reasonably live" consensus instead. This allows v3 onion
  1959. services to work even if the authorities fail to generate a
  1960. consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
  1961. on 0.3.5.1-alpha.
  1962. o Major bugfixes (stats, onion services, backport from 0.4.4.5):
  1963. - Fix a bug where we were undercounting the Tor network's total
  1964. onion service traffic, by ignoring any traffic originating from
  1965. clients. Now we count traffic from both clients and services.
  1966. Fixes bug 40117; bugfix on 0.2.6.2-alpha.
  1967. o Major feature (exit, backport from 0.4.5.5-rc):
  1968. - Re-entry into the network is now denied at the Exit level to all
  1969. relays' ORPorts and authorities' ORPorts and DirPorts. This change
  1970. should help mitgate a set of denial-of-service attacks. Closes
  1971. ticket 2667.
  1972. o Minor feature (build system, backport from 0.4.5.4-rc):
  1973. - New "make lsp" command to generate the compile_commands.json file
  1974. used by the ccls language server. The "bear" program is needed for
  1975. this. Closes ticket 40227.
  1976. o Minor features (compilation, backport from 0.4.5.2-rc):
  1977. - Disable deprecation warnings when building with OpenSSL 3.0.0 or
  1978. later. There are a number of APIs newly deprecated in OpenSSL
  1979. 3.0.0 that Tor still requires. (A later version of Tor will try to
  1980. stop depending on these APIs.) Closes ticket 40165.
  1981. o Minor features (crypto, backport from 0.4.5.3-rc):
  1982. - Fix undefined behavior on our Keccak library. The bug only
  1983. appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
  1984. and would result in wrong digests. Fixes bug 40210; bugfix on
  1985. 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
  1986. weasel for diagnosing this.
  1987. o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
  1988. - Strip '\r' characters when reading text files on Unix platforms.
  1989. This should resolve an issue where a relay operator migrates a
  1990. relay from Windows to Unix, but does not change the line ending of
  1991. Tor's various state files to match the platform, and the CRLF line
  1992. endings from Windows end up leaking into other files such as the
  1993. extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
  1994. o Minor bugfixes (compilation, backport from 0.4.5.1-rc):
  1995. - Resolve a compilation warning that could occur in
  1996. test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
  1997. o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
  1998. - Fix a compilation warning about unreachable fallthrough
  1999. annotations when building with "--enable-all-bugs-are-fatal" on
  2000. some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
  2001. o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
  2002. - Handle partial SOCKS5 messages correctly. Previously, our code
  2003. would send an incorrect error message if it got a SOCKS5 request
  2004. that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
  2005. o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
  2006. - Fix the `config/parse_tcp_proxy_line` test so that it works
  2007. correctly on systems where the DNS provider hijacks invalid
  2008. queries. Fixes part of bug 40179; bugfix on 0.4.3.1-alpha.
  2009. - Fix our Python reference-implementation for the v3 onion service
  2010. handshake so that it works correctly with the version of hashlib
  2011. provided by Python 3.9. Fixes part of bug 40179; bugfix
  2012. on 0.3.1.6-rc.
  2013. - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
  2014. 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
  2015. Changes in version 0.3.5.13 - 2020-02-03
  2016. Tor 0.3.5.13 backports numerous bugfixes from later releases,
  2017. including one that made v3 onion services more susceptible to
  2018. denial-of-service attacks, and a feature that makes some kinds of
  2019. DoS attacks harder to perform.
  2020. o Major bugfixes (onion service v3, backport from 0.4.5.3-rc):
  2021. - Stop requiring a live consensus for v3 clients and services, and
  2022. allow a "reasonably live" consensus instead. This allows v3 onion
  2023. services to work even if the authorities fail to generate a
  2024. consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
  2025. on 0.3.5.1-alpha.
  2026. o Major bugfixes (stats, onion services, backport from 0.4.4.5):
  2027. - Fix a bug where we were undercounting the Tor network's total
  2028. onion service traffic, by ignoring any traffic originating from
  2029. clients. Now we count traffic from both clients and services.
  2030. Fixes bug 40117; bugfix on 0.2.6.2-alpha.
  2031. o Major feature (exit, backport from 0.4.5.5-rc):
  2032. - Re-entry into the network is now denied at the Exit level to all
  2033. relays' ORPorts and authorities' ORPorts and DirPorts. This change
  2034. should help mitigate a set of denial-of-service attacks. Closes
  2035. ticket 2667.
  2036. o Minor feature (build system, backport from 0.4.5.4-rc):
  2037. - New "make lsp" command to generate the compile_commands.json file
  2038. used by the ccls language server. The "bear" program is needed for
  2039. this. Closes ticket 40227.
  2040. o Minor features (compilation, backport from 0.4.5.2-rc):
  2041. - Disable deprecation warnings when building with OpenSSL 3.0.0 or
  2042. later. There are a number of APIs newly deprecated in OpenSSL
  2043. 3.0.0 that Tor still requires. (A later version of Tor will try to
  2044. stop depending on these APIs.) Closes ticket 40165.
  2045. o Minor features (crypto, backport from 0.4.5.3-rc):
  2046. - Fix undefined behavior on our Keccak library. The bug only
  2047. appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
  2048. and would result in wrong digests. Fixes bug 40210; bugfix on
  2049. 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
  2050. weasel for diagnosing this.
  2051. o Minor bugfixes (compatibility, backport from 0.4.5.1-rc):
  2052. - Strip '\r' characters when reading text files on Unix platforms.
  2053. This should resolve an issue where a relay operator migrates a
  2054. relay from Windows to Unix, but does not change the line ending of
  2055. Tor's various state files to match the platform, and the CRLF line
  2056. endings from Windows end up leaking into other files such as the
  2057. extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
  2058. o Minor bugfixes (compilation, backport from 0.4.5.1-rc):
  2059. - Resolve a compilation warning that could occur in
  2060. test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
  2061. o Minor bugfixes (compilation, backport from 0.4.5.3-rc):
  2062. - Fix a compilation warning about unreachable fallthrough
  2063. annotations when building with "--enable-all-bugs-are-fatal" on
  2064. some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
  2065. o Minor bugfixes (SOCKS5, backport from 0.4.5.3-rc):
  2066. - Handle partial SOCKS5 messages correctly. Previously, our code
  2067. would send an incorrect error message if it got a SOCKS5 request
  2068. that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
  2069. o Minor bugfixes (testing, backport from 0.4.5.2-alpha):
  2070. - Fix our Python reference-implementation for the v3 onion service
  2071. handshake so that it works correctly with the version of hashlib
  2072. provided by Python 3.9. Fixes part of bug 40179; bugfix
  2073. on 0.3.1.6-rc.
  2074. - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
  2075. 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
  2076. Changes in version 0.4.5.5-rc - 2021-02-01
  2077. Tor 0.4.5.5-rc is the third release candidate in its series. We're
  2078. coming closer and closer to a stable release series. This release
  2079. fixes an annoyance with address detection code, and somewhat mitigates
  2080. an ongoing denial-of-service attack.
  2081. We anticipate no more code changes between this and the stable
  2082. release, though of course that could change.
  2083. o Major feature (exit):
  2084. - Re-entry into the network is now denied at the Exit level to all
  2085. relays' ORPorts and authorities' ORPorts and DirPorts. This change
  2086. should help mitgate a set of denial-of-service attacks. Closes
  2087. ticket 2667.
  2088. o Minor bugfixes (relay, configuration):
  2089. - Don't attempt to discover our address (IPv4 or IPv6) if no ORPort
  2090. for it can be found in the configuration. Fixes bug 40254; bugfix
  2091. on 0.4.5.1-alpha.
  2092. Changes in version 0.4.5.4-rc - 2021-01-22
  2093. Tor 0.4.5.4-rc is the second release candidate in its series. It fixes
  2094. several bugs present in previous releases.
  2095. We expect that the stable release will be the same, or almost the
  2096. same, as this release candidate, unless serious bugs are found.
  2097. o Major bugfixes (authority, IPv6):
  2098. - Do not consider multiple relays in the same IPv6 /64 network to be
  2099. sybils. Fixes bug 40243; bugfix on 0.4.5.1-alpha.
  2100. o Major bugfixes (directory cache, performance, windows):
  2101. - Limit the number of items in the consensus diff cache to 64 on
  2102. Windows. We hope this will mitigate an issue where Windows relay
  2103. operators reported Tor using 100% CPU, while we investigate better
  2104. solutions. Fixes bug 24857; bugfix on 0.3.1.1-alpha.
  2105. o Minor feature (build system):
  2106. - New "make lsp" command to generate the compile_commands.json file
  2107. used by the ccls language server. The "bear" program is needed for
  2108. this. Closes ticket 40227.
  2109. o Minor features (authority, logging):
  2110. - Log more information for directory authority operators during the
  2111. consensus voting process, and while processing relay descriptors.
  2112. Closes ticket 40245.
  2113. - Reject obsolete router/extrainfo descriptors earlier and more
  2114. quietly, to avoid spamming the logs. Fixes bug 40238; bugfix
  2115. on 0.4.5.1-alpha.
  2116. o Minor bugfixes (compilation):
  2117. - Fix another warning about unreachable fallthrough annotations when
  2118. building with "--enable-all-bugs-are-fatal" on some compilers.
  2119. Fixes bug 40241; bugfix on 0.4.5.3-rc.
  2120. - Change the linker flag ordering in our library search code so that
  2121. it works for compilers that need the libraries to be listed in the
  2122. right order. Fixes bug 33624; bugfix on 0.1.1.0-alpha.
  2123. o Minor bugfixes (config, bridge):
  2124. - Don't initiate a connection to a bridge configured to use a
  2125. missing transport. This change reverts an earlier fix that would
  2126. try to avoid such situations during configuration chcecking, but
  2127. which doesn't work with DisableNetwork. Fixes bug 40106; bugfix
  2128. on 0.4.5.1-alpha.
  2129. o Minor bugfixes (onion services):
  2130. - Avoid a non-fatal assertion in certain edge-cases when
  2131. establishing a circuit to an onion service. Fixes bug 32666;
  2132. bugfix on 0.3.0.3-alpha.
  2133. o Minor bugfixes (relay):
  2134. - If we were unable to build our descriptor, don't mark it as having
  2135. been advertised. Also remove an harmless BUG(). Fixes bug 40231;
  2136. bugfix on 0.4.5.1-alpha.
  2137. Changes in version 0.4.5.3-rc - 2021-01-12
  2138. Tor 0.4.5.3-rc is the first release candidate in its series. It fixes
  2139. several bugs, including one that broke onion services on certain older
  2140. ARM CPUs, and another that made v3 onion services less reliable.
  2141. Though we anticipate that we'll be doing a bit more clean-up between
  2142. now and the stable release, we expect that our remaining changes will
  2143. be fairly simple. There will be at least one more release candidate
  2144. before 0.4.5.x is stable.
  2145. o Major bugfixes (onion service v3):
  2146. - Stop requiring a live consensus for v3 clients and services, and
  2147. allow a "reasonably live" consensus instead. This allows v3 onion
  2148. services to work even if the authorities fail to generate a
  2149. consensus for more than 2 hours in a row. Fixes bug 40237; bugfix
  2150. on 0.3.5.1-alpha.
  2151. o Minor features (crypto):
  2152. - Fix undefined behavior on our Keccak library. The bug only
  2153. appeared on platforms with 32-byte CPU cache lines (e.g. armv5tel)
  2154. and would result in wrong digests. Fixes bug 40210; bugfix on
  2155. 0.2.8.1-alpha. Thanks to Bernhard Übelacker, Arnd Bergmann and
  2156. weasel for diagnosing this.
  2157. o Minor features (documentation):
  2158. - Mention the "!badexit" directive that can appear in an authority's
  2159. approved-routers file, and update the description of the
  2160. "!invalid" directive. Closes ticket 40188.
  2161. o Minor bugfixes (compilation):
  2162. - Fix a compilation warning about unreachable fallthrough
  2163. annotations when building with "--enable-all-bugs-are-fatal" on
  2164. some compilers. Fixes bug 40241; bugfix on 0.3.5.4-alpha.
  2165. - Fix the "--enable-static-tor" switch to properly set the "-static"
  2166. compile option onto the tor binary only. Fixes bug 40111; bugfix
  2167. on 0.2.3.1-alpha.
  2168. o Minor bugfixes (config, bridge):
  2169. - Really fix the case where torrc has a missing ClientTransportPlugin
  2170. but is configured with a Bridge line and UseBridges. Previously,
  2171. we didn't look at the managed proxy list and thus would fail for
  2172. the "exec" case. Fixes bug 40106; bugfix on 0.4.5.1-alpha.
  2173. o Minor bugfixes (logging, relay):
  2174. - Log our address as reported by the directory authorities, if none
  2175. was configured or detected before. Fixes bug 40201; bugfix
  2176. on 0.4.5.1-alpha.
  2177. - When a launching bandwidth testing circuit, don't incorrectly call
  2178. it a reachability test, or trigger a "CHECKING_REACHABILITY"
  2179. control event. Fixes bug 40205; bugfix on 0.4.5.1-alpha.
  2180. o Minor bugfixes (relay, statistics):
  2181. - Report the correct connection statistics in our extrainfo
  2182. documents. Previously there was a problem in the file loading
  2183. function which would wrongly truncate a state file, causing the
  2184. wrong information to be reported. Fixes bug 40226; bugfix
  2185. on 0.4.5.1-alpha.
  2186. o Minor bugfixes (SOCKS5):
  2187. - Handle partial SOCKS5 messages correctly. Previously, our code
  2188. would send an incorrect error message if it got a SOCKS5 request
  2189. that wasn't complete. Fixes bug 40190; bugfix on 0.3.5.1-alpha.
  2190. Changes in version 0.4.5.2-alpha - 2020-11-23
  2191. Tor 0.4.5.2-alpha is the second alpha release in the 0.4.5.x series.
  2192. It fixes several bugs present in earlier releases, including one that
  2193. made it impractical to run relays on Windows. It also adds a few small
  2194. safety features to improve Tor's behavior in the presence of strange
  2195. compile-time options, misbehaving proxies, and future versions
  2196. of OpenSSL.
  2197. o Major bugfixes (relay, windows):
  2198. - Fix a bug in our implementation of condition variables on Windows.
  2199. Previously, a relay on Windows would use 100% CPU after running
  2200. for some time. Because of this change, Tor now require Windows
  2201. Vista or later to build and run. Fixes bug 30187; bugfix on
  2202. 0.2.6.3-alpha. (This bug became more serious in 0.3.1.1-alpha with
  2203. the introduction of consensus diffs.) Patch by Daniel Pinto.
  2204. o Minor features (compilation):
  2205. - Disable deprecation warnings when building with OpenSSL 3.0.0 or
  2206. later. There are a number of APIs newly deprecated in OpenSSL
  2207. 3.0.0 that Tor still requires. (A later version of Tor will try to
  2208. stop depending on these APIs.) Closes ticket 40165.
  2209. o Minor features (protocol, proxy support, defense in depth):
  2210. - Respond more deliberately to misbehaving proxies that leave
  2211. leftover data on their connections, so as to make Tor even less
  2212. likely to allow the proxies to pass their data off as having come
  2213. from a relay. Closes ticket 40017.
  2214. o Minor features (safety):
  2215. - Log a warning at startup if Tor is built with compile-time options
  2216. that are likely to make it less stable or reliable. Closes
  2217. ticket 18888.
  2218. o Minor bugfixes (circuit, handshake):
  2219. - In the v3 handshaking code, use connection_or_change_state() to
  2220. change the state. Previously, we changed the state directly, but
  2221. this did not pass the state change to the pubsub or channel
  2222. objects, potentially leading to bugs. Fixes bug 32880; bugfix on
  2223. 0.2.3.6-alpha. Patch by Neel Chauhan.
  2224. o Minor bugfixes (compilation):
  2225. - Use the correct 'ranlib' program when building libtor.a.
  2226. Previously we used the default ranlib, which broke some kinds of
  2227. cross-compilation. Fixes bug 40172; bugfix on 0.4.5.1-alpha.
  2228. - Remove a duplicate typedef in metrics_store.c. Fixes bug 40177;
  2229. bugfix on 0.4.5.1-alpha.
  2230. - When USDT tracing is enabled, and STAP_PROBEV() is missing, don't
  2231. attempt to build. Linux supports that macro but not the BSDs.
  2232. Fixes bug 40174; bugfix on 0.4.5.1-alpha.
  2233. o Minor bugfixes (configuration):
  2234. - Exit Tor on a misconfiguration when the Bridge line is configured
  2235. to use a transport but no corresponding ClientTransportPlugin can
  2236. be found. Prior to this fix, Tor would attempt to connect to the
  2237. bridge directly without using the transport, making it easier for
  2238. adversaries to notice the bridge. Fixes bug 25528; bugfix
  2239. on 0.2.6.1-alpha.
  2240. - Fix an issue where an ORPort was compared with other kinds of
  2241. ports, when it should have been only checked against other
  2242. ORPorts. This bug would lead to "DirPort auto" getting ignored.
  2243. Fixes bug 40195; bugfix on 0.4.5.1-alpha.
  2244. - Fix a bug where a second non-ORPort with a variant family (ex:
  2245. SocksPort [::1]:9050) would be ignored due to a configuration
  2246. parsing error. Fixes bug 40183; bugfix on 0.4.5.1-alpha.
  2247. o Minor bugfixes (crash, relay, signing key):
  2248. - Avoid assertion failures when we run Tor from the command line
  2249. with `--key-expiration sign`, but an ORPort is not set. Fixes bug
  2250. 40015; bugfix on 0.3.2.1-alpha. Patch by Neel Chauhan.
  2251. o Minor bugfixes (logging):
  2252. - Remove trailing whitespace from control event log messages. Fixes
  2253. bug 32178; bugfix on 0.1.1.1-alpha. Based on a patch by
  2254. Amadeusz Pawlik.
  2255. - Turn warning-level log message about SENDME failure into a debug-
  2256. level message. (This event can happen naturally, and is no reason
  2257. for concern). Fixes bug 40142; bugfix on 0.4.1.1-alpha.
  2258. o Minor bugfixes (relay, address discovery):
  2259. - Don't trigger an IP change when no new valid IP can be found.
  2260. Fixes bug 40071; bugfix on 0.4.5.1-alpha.
  2261. - When attempting to discover our IP, use a simple test circuit,
  2262. rather than a descriptor fetch: the same address information is
  2263. present in NETINFO cells, and is better authenticated there. Fixes
  2264. bug 40071; bugfix on 0.4.5.1-alpha.
  2265. o Minor bugfixes (testing):
  2266. - Fix the `config/parse_tcp_proxy_line` test so that it works
  2267. correctly on systems where the DNS provider hijacks invalid
  2268. queries. Fixes part of bug 40179; bugfix on 0.4.3.1-alpha.
  2269. - Fix unit tests that used newly generated list of routers so that
  2270. they check them with respect to the date when they were generated,
  2271. not with respect to the current time. Fixes bug 40187; bugfix
  2272. on 0.4.5.1-alpha.
  2273. - Fix our Python reference-implementation for the v3 onion service
  2274. handshake so that it works correctly with the version of hashlib
  2275. provided by Python 3.9. Fixes part of bug 40179; bugfix
  2276. on 0.3.1.6-rc.
  2277. - Fix the `tortls/openssl/log_one_error` test to work with OpenSSL
  2278. 3.0.0. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
  2279. o Removed features (controller):
  2280. - Remove the "GETINFO network-status" controller command. It has
  2281. been deprecated since 0.3.1.1-alpha. Closes ticket 22473.
  2282. Changes in version 0.4.4.6 - 2020-11-12
  2283. Tor 0.4.4.6 is the second stable release in the 0.4.4.x series. It
  2284. backports fixes from later releases, including a fix for TROVE-2020-
  2285. 005, a security issue that could be used, under certain cases, by an
  2286. adversary to observe traffic patterns on a limited number of circuits
  2287. intended for a different relay.
  2288. o Major bugfixes (security, backport from 0.4.5.1-alpha):
  2289. - When completing a channel, relays now check more thoroughly to
  2290. make sure that it matches any pending circuits before attaching
  2291. those circuits. Previously, address correctness and Ed25519
  2292. identities were not checked in this case, but only when extending
  2293. circuits on an existing channel. Fixes bug 40080; bugfix on
  2294. 0.2.7.2-alpha. Resolves TROVE-2020-005.
  2295. o Minor features (directory authorities, backport from 0.4.5.1-alpha):
  2296. - Authorities now list a different set of protocols as required and
  2297. recommended. These lists have been chosen so that only truly
  2298. recommended and/or required protocols are included, and so that
  2299. clients using 0.2.9 or later will continue to work (even though
  2300. they are not supported), whereas only relays running 0.3.5 or
  2301. later will meet the requirements. Closes ticket 40162.
  2302. - Make it possible to specify multiple ConsensusParams torrc lines.
  2303. Now directory authority operators can for example put the main
  2304. ConsensusParams config in one torrc file and then add to it from a
  2305. different torrc file. Closes ticket 40164.
  2306. o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
  2307. - Tor no longer allows subprotocol versions larger than 63.
  2308. Previously version numbers up to UINT32_MAX were allowed, which
  2309. significantly complicated our code. Implements proposal 318;
  2310. closes ticket 40133.
  2311. o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
  2312. - Fix a rendezvous cache unit test that was triggering an underflow
  2313. on the global rend cache allocation. Fixes bug 40125; bugfix
  2314. on 0.2.8.1-alpha.
  2315. - Fix another rendezvous cache unit test that was triggering an
  2316. underflow on the global rend cache allocation. Fixes bug 40126;
  2317. bugfix on 0.2.8.1-alpha.
  2318. o Minor bugfixes (compilation, backport from 0.4.5.1-alpha):
  2319. - Fix compiler warnings that would occur when building with
  2320. "--enable-all-bugs-are-fatal" and "--disable-module-relay" at the
  2321. same time. Fixes bug 40129; bugfix on 0.4.4.1-alpha.
  2322. - Resolve a compilation warning that could occur in
  2323. test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
  2324. o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
  2325. - Remove a debug logging statement that uselessly spammed the logs.
  2326. Fixes bug 40135; bugfix on 0.3.5.0-alpha.
  2327. o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
  2328. - Avoid a fatal assert() when failing to create a listener
  2329. connection for an address that was in use. Fixes bug 40073; bugfix
  2330. on 0.3.5.1-alpha.
  2331. o Minor bugfixes (v2 onion services, backport from 0.4.5.1-alpha):
  2332. - For HSFETCH commands on v2 onion services addresses, check the
  2333. length of bytes decoded, not the base32 length. Fixes bug 34400;
  2334. bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
  2335. Changes in version 0.4.3.7 - 2020-11-12
  2336. Tor 0.4.3.7 backports several bugfixes from later releases. It
  2337. includes a fix for TROVE-2020-005, a security issue that could be
  2338. used, under certain cases, by an adversary to observe traffic patterns
  2339. on a limited number of circuits intended for a different relay.
  2340. Please be aware that support for the 0.4.3.x series will end on 15
  2341. February 2021. Please upgrade to 0.4.4.x or 0.4.5.x before then, or
  2342. downgrade to 0.3.5.x, which will be supported until at least 1
  2343. February 2022.
  2344. o Major features (fallback directory list, backport form 0.4.4.3-alpha):
  2345. - Replace the 148 fallback directories originally included in Tor
  2346. 0.4.1.4-rc (of which around 105 are still functional) with a list
  2347. of 144 fallbacks generated in July 2020. Closes ticket 40061.
  2348. o Major bugfixes (security, backport from 0.4.5.1-alpha):
  2349. - When completing a channel, relays now check more thoroughly to
  2350. make sure that it matches any pending circuits before attaching
  2351. those circuits. Previously, address correctness and Ed25519
  2352. identities were not checked in this case, but only when extending
  2353. circuits on an existing channel. Fixes bug 40080; bugfix on
  2354. 0.2.7.2-alpha. Resolves TROVE-2020-005.
  2355. o Major bugfixes (NSS, backport from 0.4.4.3-alpha):
  2356. - When running with NSS enabled, make sure that NSS knows to expect
  2357. nonblocking sockets. Previously, we set our TCP sockets as
  2358. nonblocking, but did not tell NSS, which in turn could lead to
  2359. unexpected blocking behavior. Fixes bug 40035; bugfix
  2360. on 0.3.5.1-alpha.
  2361. o Minor features (security, backport from 0.4.4.4-rc):
  2362. - Channels using obsolete versions of the Tor link protocol are no
  2363. longer allowed to circumvent address-canonicity checks. (This is
  2364. only a minor issue, since such channels have no way to set ed25519
  2365. keys, and therefore should always be rejected for circuits that
  2366. specify ed25519 identities.) Closes ticket 40081.
  2367. o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
  2368. - Tor no longer allows subprotocol versions larger than 63.
  2369. Previously version numbers up to UINT32_MAX were allowed, which
  2370. significantly complicated our code. Implements proposal 318;
  2371. closes ticket 40133.
  2372. o Minor features (tests, backport from 0.4.4.5):
  2373. - Our "make check" target now runs the unit tests in 8 parallel
  2374. chunks. Doing this speeds up hardened CI builds by more than a
  2375. factor of two. Closes ticket 40098.
  2376. o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
  2377. - Fix a rendezvous cache unit test that was triggering an underflow
  2378. on the global rend cache allocation. Fixes bug 40125; bugfix
  2379. on 0.2.8.1-alpha.
  2380. - Fix another rendezvous cache unit test that was triggering an
  2381. underflow on the global rend cache allocation. Fixes bug 40126;
  2382. bugfix on 0.2.8.1-alpha.
  2383. o Minor bugfixes (correctness, buffers, backport from 0.4.4.4-rc):
  2384. - Fix a correctness bug that could cause an assertion failure if we
  2385. ever tried using the buf_move_all() function with an empty input
  2386. buffer. As far as we know, no released versions of Tor do this.
  2387. Fixes bug 40076; bugfix on 0.3.3.1-alpha.
  2388. o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
  2389. - Remove a debug logging statement that uselessly spammed the logs.
  2390. Fixes bug 40135; bugfix on 0.3.5.0-alpha.
  2391. o Minor bugfixes (rate limiting, bridges, pluggable transports, backport from 0.4.4.4-rc):
  2392. - On a bridge, treat all connections from an ExtORPort as remote by
  2393. default for the purposes of rate-limiting. Previously, bridges
  2394. would treat the connection as local unless they explicitly
  2395. received a "USERADDR" command. ExtORPort connections still count
  2396. as local if there is a USERADDR command with an explicit local
  2397. address. Fixes bug 33747; bugfix on 0.2.5.1-alpha.
  2398. o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
  2399. - Avoid a fatal assert() when failing to create a listener
  2400. connection for an address that was in use. Fixes bug 40073; bugfix
  2401. on 0.3.5.1-alpha.
  2402. o Minor bugfixes (relay, usability, backport from 0.4.4.3-alpha):
  2403. - Adjust the rules for when to warn about having too many
  2404. connections to other relays. Previously we'd tolerate up to 1.5
  2405. connections per relay on average. Now we tolerate more connections
  2406. for directory authorities, and raise the number of total
  2407. connections we need to see before we warn. Fixes bug 33880; bugfix
  2408. on 0.3.1.1-alpha.
  2409. o Minor bugfixes (tests, 0.4.4.5):
  2410. - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
  2411. on its own. Previously, it would exit with an error. Fixes bug
  2412. 40099; bugfix on 0.2.8.1-alpha.
  2413. o Minor bugfixes (v2 onion services, backport from 0.4.5.1-alpha):
  2414. - For HSFETCH commands on v2 onion services addresses, check the
  2415. length of bytes decoded, not the base32 length. Fixes bug 34400;
  2416. bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
  2417. o Minor bugfixes (windows, backport from 0.4.4.4-rc):
  2418. - Fix a bug that prevented Tor from starting if its log file grew
  2419. above 2GB. Fixes bug 31036; bugfix on 0.2.1.8-alpha.
  2420. o Deprecated features (onion service v2, backport form 0.4.4.2-alpha):
  2421. - Add a deprecation warning for version 2 onion services. Closes
  2422. ticket 40003.
  2423. o Removed features (backport from 0.4.4.3-alpha):
  2424. - Our "check-local" test target no longer tries to use the
  2425. Coccinelle semantic patching tool parse all the C files. While it
  2426. is a good idea to try to make sure Coccinelle works on our C
  2427. before we run a Coccinelle patch, doing so on every test run has
  2428. proven to be disruptive. You can still run this tool manually with
  2429. "make check-cocci". Closes ticket 40030. ticket 40030.
  2430. Changes in version 0.3.5.12 - 2020-11-12
  2431. Tor 0.4.3.7 backports several bugfixes from later releases. It
  2432. includes a fix for TROVE-2020-005, a security issue that could be
  2433. used, under certain cases, by an adversary to observe traffic patterns
  2434. on a limited number of circuits intended for a different relay.
  2435. o Major features (fallback directory list, backport form 0.4.4.3-alpha):
  2436. - Replace the 148 fallback directories originally included in Tor
  2437. 0.4.1.4-rc (of which around 105 are still functional) with a list
  2438. of 144 fallbacks generated in July 2020. Closes ticket 40061.
  2439. o Major bugfixes (security, backport from 0.4.5.1-alpha):
  2440. - When completing a channel, relays now check more thoroughly to
  2441. make sure that it matches any pending circuits before attaching
  2442. those circuits. Previously, address correctness and Ed25519
  2443. identities were not checked in this case, but only when extending
  2444. circuits on an existing channel. Fixes bug 40080; bugfix on
  2445. 0.2.7.2-alpha. Resolves TROVE-2020-005.
  2446. o Major bugfixes (NSS, backport from 0.4.4.3-alpha):
  2447. - When running with NSS enabled, make sure that NSS knows to expect
  2448. nonblocking sockets. Previously, we set our TCP sockets as
  2449. nonblocking, but did not tell NSS, which in turn could lead to
  2450. unexpected blocking behavior. Fixes bug 40035; bugfix
  2451. on 0.3.5.1-alpha.
  2452. o Minor features (security, backport from 0.4.4.4-rc):
  2453. - Channels using obsolete versions of the Tor link protocol are no
  2454. longer allowed to circumvent address-canonicity checks. (This is
  2455. only a minor issue, since such channels have no way to set ed25519
  2456. keys, and therefore should always be rejected for circuits that
  2457. specify ed25519 identities.) Closes ticket 40081.
  2458. o Minor features (debugging, directory system):
  2459. - Don't crash when we find a non-guard with a guard-fraction value
  2460. set. Instead, log a bug warning, in an attempt to figure out how
  2461. this happened. Diagnostic for ticket 32868.
  2462. o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
  2463. - Tor no longer allows subprotocol versions larger than 63.
  2464. Previously version numbers up to UINT32_MAX were allowed, which
  2465. significantly complicated our code. Implements proposal 318;
  2466. closes ticket 40133.
  2467. o Minor features (tests, backport from 0.4.4.5):
  2468. - Our "make check" target now runs the unit tests in 8 parallel
  2469. chunks. Doing this speeds up hardened CI builds by more than a
  2470. factor of two. Closes ticket 40098.
  2471. o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
  2472. - Fix a rendezvous cache unit test that was triggering an underflow
  2473. on the global rend cache allocation. Fixes bug 40125; bugfix
  2474. on 0.2.8.1-alpha.
  2475. - Fix another rendezvous cache unit test that was triggering an
  2476. underflow on the global rend cache allocation. Fixes bug 40126;
  2477. bugfix on 0.2.8.1-alpha.
  2478. o Minor bugfixes (correctness, buffers, backport from 0.4.4.4-rc):
  2479. - Fix a correctness bug that could cause an assertion failure if we
  2480. ever tried using the buf_move_all() function with an empty input
  2481. buffer. As far as we know, no released versions of Tor do this.
  2482. Fixes bug 40076; bugfix on 0.3.3.1-alpha.
  2483. o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
  2484. - Remove a debug logging statement that uselessly spammed the logs.
  2485. Fixes bug 40135; bugfix on 0.3.5.0-alpha.
  2486. o Minor bugfixes (rate limiting, bridges, pluggable transports, backport from 0.4.4.4-rc):
  2487. - On a bridge, treat all connections from an ExtORPort as remote by
  2488. default for the purposes of rate-limiting. Previously, bridges
  2489. would treat the connection as local unless they explicitly
  2490. received a "USERADDR" command. ExtORPort connections still count
  2491. as local if there is a USERADDR command with an explicit local
  2492. address. Fixes bug 33747; bugfix on 0.2.5.1-alpha.
  2493. o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
  2494. - Avoid a fatal assert() when failing to create a listener
  2495. connection for an address that was in use. Fixes bug 40073; bugfix
  2496. on 0.3.5.1-alpha.
  2497. o Minor bugfixes (relay, usability, backport from 0.4.4.3-alpha):
  2498. - Adjust the rules for when to warn about having too many
  2499. connections to other relays. Previously we'd tolerate up to 1.5
  2500. connections per relay on average. Now we tolerate more connections
  2501. for directory authorities, and raise the number of total
  2502. connections we need to see before we warn. Fixes bug 33880; bugfix
  2503. on 0.3.1.1-alpha.
  2504. o Minor bugfixes (relays, backport from 0.4.4.1-alpha):
  2505. - Stop advertising incorrect IPv6 ORPorts in relay and bridge
  2506. descriptors, when the IPv6 port was configured as "auto". Fixes
  2507. bug 32588; bugfix on 0.2.3.9-alpha.
  2508. o Minor bugfixes (tests, 0.4.4.5):
  2509. - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
  2510. on its own. Previously, it would exit with an error. Fixes bug
  2511. 40099; bugfix on 0.2.8.1-alpha.
  2512. o Minor bugfixes (windows, backport from 0.4.4.4-rc):
  2513. - Fix a bug that prevented Tor from starting if its log file grew
  2514. above 2GB. Fixes bug 31036; bugfix on 0.2.1.8-alpha.
  2515. o Deprecated features (onion service v2, backport form 0.4.4.2-alpha):
  2516. - Add a deprecation warning for version 2 onion services. Closes
  2517. ticket 40003.
  2518. Changes in version 0.4.5.1-alpha - 2020-11-01
  2519. Tor 0.4.5.1-alpha is the first alpha release in the 0.4.5.x series. It
  2520. improves support for IPv6, address discovery and self-testing, code
  2521. metrics and tracing.
  2522. This release also fixes TROVE-2020-005, a security issue that could be
  2523. used, under certain cases, by an adversary to observe traffic patterns
  2524. on a limited number of circuits intended for a different relay. To
  2525. mount this attack, the adversary would need to actively extend
  2526. circuits to an incorrect address, as well as compromise a relay's
  2527. legacy RSA-1024 key. We'll be backporting this fix to other release
  2528. series soon, after it has had some testing.
  2529. Here are the changes since 0.4.4.5.
  2530. o Major features (build):
  2531. - When building Tor, first link all object files into a single
  2532. static library. This may help with embedding Tor in other
  2533. programs. Note that most Tor functions do not constitute a part of
  2534. a stable or supported API: only those functions in tor_api.h
  2535. should be used if embedding Tor. Closes ticket 40127.
  2536. o Major features (metrics):
  2537. - Introduce a new MetricsPort which exposes, through an HTTP
  2538. interface, a series of metrics that tor collects at runtime. At
  2539. the moment, the only supported output format is Prometheus data
  2540. model. Closes ticket 40063. See the manual page for more
  2541. information and security considerations.
  2542. o Major features (relay, IPv6):
  2543. - The torrc option Address now supports IPv6. This unifies our
  2544. address discovery interface to support IPv4, IPv6, and hostnames.
  2545. Closes ticket 33233.
  2546. - Launch IPv4 and IPv6 ORPort self-test circuits on relays and
  2547. bridges. Closes ticket 33222.
  2548. - Relays now automatically bind on IPv6 for their ORPort, unless
  2549. specified otherwise with the IPv4Only flag. Closes ticket 33246.
  2550. - When a relay with IPv6 support is told to open a connection to
  2551. another relay, and the extend cell lists both IPv4 and IPv6
  2552. addresses, the first relay now picks randomly which address to
  2553. use. Closes ticket 33220.
  2554. - Relays now track their IPv6 ORPort reachability separately from
  2555. the reachability of their IPv4 ORPort. They will not publish a
  2556. descriptor unless _both_ ports appear to be externally reachable.
  2557. Closes ticket 34067.
  2558. o Major features (tracing):
  2559. - Add event-tracing library support for USDT and LTTng-UST, and a
  2560. few tracepoints in the circuit subsystem. More will come
  2561. incrementally. This feature is compiled out by default: it needs
  2562. to be enabled at configure time. See documentation in
  2563. doc/HACKING/Tracing.md. Closes ticket 32910.
  2564. o Major bugfixes (security):
  2565. - When completing a channel, relays now check more thoroughly to
  2566. make sure that it matches any pending circuits before attaching
  2567. those circuits. Previously, address correctness and Ed25519
  2568. identities were not checked in this case, but only when extending
  2569. circuits on an existing channel. Fixes bug 40080; bugfix on
  2570. 0.2.7.2-alpha. Resolves TROVE-2020-005.
  2571. o Major bugfixes (TLS, buffer):
  2572. - When attempting to read N bytes on a TLS connection, really try to
  2573. read all N bytes. Previously, Tor would stop reading after the
  2574. first TLS record, which can be smaller than the N bytes requested,
  2575. and not check for more data until the next mainloop event. Fixes
  2576. bug 40006; bugfix on 0.1.0.5-rc.
  2577. o Minor features (address discovery):
  2578. - If no Address statements are found, relays now prioritize guessing
  2579. their address by looking at the local interface instead of the
  2580. local hostname. If the interface address can't be found, the local
  2581. hostname is used. Closes ticket 33238.
  2582. o Minor features (admin tools):
  2583. - Add a new --format argument to -key-expiration option to allow
  2584. specifying the time format of the expiration date. Adds Unix
  2585. timestamp format support. Patch by Daniel Pinto. Closes
  2586. ticket 30045.
  2587. o Minor features (bootstrap reporting):
  2588. - When reporting bootstrapping status on a relay, do not consider
  2589. connections that have never been the target of an origin circuit.
  2590. Previously, all connection failures were treated as potential
  2591. bootstrapping failures, including connections that had been opened
  2592. because of client requests. Closes ticket 25061.
  2593. o Minor features (build):
  2594. - When running the configure script, try to detect version
  2595. mismatches between the OpenSSL headers and libraries, and suggest
  2596. that the user should try "--with-openssl-dir". Closes 40138.
  2597. - If the configure script has given any warnings, remind the user
  2598. about them at the end of the script. Related to 40138.
  2599. o Minor features (configuration):
  2600. - Allow using wildcards (* and ?) with the %include option on
  2601. configuration files. Closes ticket 25140. Patch by Daniel Pinto.
  2602. - Allow the configuration options EntryNodes, ExcludeNodes,
  2603. ExcludeExitNodes, ExitNodes, MiddleNodes, HSLayer2Nodes and
  2604. HSLayer3Nodes to be specified multiple times. Closes ticket 28361.
  2605. Patch by Daniel Pinto.
  2606. o Minor features (control port):
  2607. - Add a DROPTIMEOUTS command to drop circuit build timeout history
  2608. and reset the current timeout. Closes ticket 40002.
  2609. - When a stream enters the AP_CONN_STATE_CONTROLLER_WAIT status,
  2610. send a control port event. Closes ticket 32190. Patch by
  2611. Neel Chauhan.
  2612. - Introduce GETINFO "stats/ntor/{assigned/requested}" and
  2613. "stats/tap/{assigned/requested}" to get the NTor and TAP circuit
  2614. onion handshake counts respectively. Closes ticket 28279. Patch by
  2615. Neel Chauhan.
  2616. o Minor features (control port, IPv6):
  2617. - Tor relays now try to report to the controller when they are
  2618. launching an IPv6 self-test. Closes ticket 34068.
  2619. - Introduce "GETINFO address/v4" and "GETINFO address/v6" in the
  2620. control port to fetch the Tor host's respective IPv4 or IPv6
  2621. address. We keep "GETINFO address" for backwards-compatibility.
  2622. Closes ticket 40039. Patch by Neel Chauhan.
  2623. o Minor features (directory authorities):
  2624. - Authorities now list a different set of protocols as required and
  2625. recommended. These lists have been chosen so that only truly
  2626. recommended and/or required protocols are included, and so that
  2627. clients using 0.2.9 or later will continue to work (even though
  2628. they are not supported), whereas only relays running 0.3.5 or
  2629. later will meet the requirements. Closes ticket 40162.
  2630. - Add a new consensus method 30 that removes the unnecessary "="
  2631. padding from ntor-onion-key. Closes ticket 7869. Patch by
  2632. Daniel Pinto.
  2633. - Directory authorities now reject descriptors from relays running
  2634. Tor versions from the obsolete 0.4.1 series. Resolves ticket
  2635. 34357. Patch by Neel Chauhan.
  2636. - Make it possible to specify multiple ConsensusParams torrc lines.
  2637. Now directory authority operators can for example put the main
  2638. ConsensusParams config in one torrc file and then add to it from a
  2639. different torrc file. Closes ticket 40164.
  2640. - The AssumeReachable option no longer stops directory authorities
  2641. from checking whether other relays are running. A new
  2642. AuthDirTestReachability option can be used to disable these
  2643. checks. Closes ticket 34445.
  2644. - When looking for possible Sybil attacks, also consider IPv6
  2645. addresses. Two routers are considered to have "the same" address
  2646. by this metric if they are in the same /64 network. Patch from
  2647. Maurice Pibouin. Closes ticket 7193.
  2648. o Minor features (directory authorities, IPv6):
  2649. - Make authorities add their IPv6 ORPort (if any) to the trusted
  2650. servers list. Authorities previously added only their IPv4
  2651. addresses. Closes ticket 32822.
  2652. o Minor features (ed25519, relay):
  2653. - Save a relay's base64-encoded ed25519 identity key to the data
  2654. directory in a file named fingerprint-ed25519. Closes ticket
  2655. 30642. Patch by Neel Chauhan.
  2656. o Minor features (heartbeat):
  2657. - Include the total number of inbound and outbound IPv4 and IPv6
  2658. connections in the heartbeat message. Closes ticket 29113.
  2659. o Minor features (IPv6, ExcludeNodes):
  2660. - Handle IPv6 addresses in ExcludeNodes; previously they were
  2661. ignored. Closes ticket 34065. Patch by Neel Chauhan.
  2662. o Minor features (logging):
  2663. - Add the running glibc version to the log, and the compiled glibc
  2664. version to the library list returned when using --library-versions.
  2665. Patch from Daniel Pinto. Closes ticket 40047.
  2666. - Consider an HTTP 301 response to be an error (like a 404) when
  2667. processing a directory response. Closes ticket 40053.
  2668. - Log directory fetch statistics as a single line. Closes
  2669. ticket 40159.
  2670. - Provide more complete descriptions of our connections when logging
  2671. about them. Closes ticket 40041.
  2672. - When describing a relay in the logs, we now include its ed25519
  2673. identity. Closes ticket 22668.
  2674. o Minor features (onion services):
  2675. - Only overwrite an onion service's existing hostname file if its
  2676. contents are wrong. This enables read-only onion-service
  2677. directories. Resolves ticket 40062. Patch by Neel Chauhan.
  2678. o Minor features (pluggable transports):
  2679. - Add an OutboundBindAddressPT option to allow users to specify
  2680. which IPv4 and IPv6 address pluggable transports should use for
  2681. outgoing IP packets. Tor does not have a way to enforce that the
  2682. pluggable transport honors this option, so each pluggable transport
  2683. needs to implement support on its own. Closes ticket 5304.
  2684. o Minor features (relay address tracking):
  2685. - We now store relay addresses for OR connections in a more logical
  2686. way. Previously we would sometimes overwrite the actual address of
  2687. a connection with a "canonical address", and then store the "real
  2688. address" elsewhere to remember it. We now track the "canonical
  2689. address" elsewhere for the cases where we need it, and leave the
  2690. connection's address alone. Closes ticket 33898.
  2691. o Minor features (relay):
  2692. - If a relay is unable to discover its address, attempt to learn it
  2693. from the NETINFO cell. Closes ticket 40022.
  2694. - Log immediately when launching a relay self-check. Previously we
  2695. would try to log before launching checks, or approximately when we
  2696. intended to launch checks, but this tended to be error-prone.
  2697. Closes ticket 34137.
  2698. o Minor features (relay, address discovery):
  2699. - If Address option is not found in torrc, attempt to learn our
  2700. address with the configured ORPort address if any. Closes
  2701. ticket 33236.
  2702. o Minor features (relay, IPv6):
  2703. - Add an AssumeReachableIPv6 option to disable self-checking IPv6
  2704. reachability. Closes part of ticket 33224.
  2705. - Add new "assume-reachable" and "assume-reachable-ipv6" consensus
  2706. parameters to be used in an emergency to tell relays that they
  2707. should publish even if they cannot complete their ORPort self-
  2708. checks. Closes ticket 34064 and part of 33224.
  2709. - Allow relays to send IPv6-only extend cells. Closes ticket 33222.
  2710. - Declare support for the Relay=3 subprotocol version. Closes
  2711. ticket 33226.
  2712. - When launching IPv6 ORPort self-test circuits, make sure that the
  2713. second-last hop can initiate an IPv6 extend. Closes ticket 33222.
  2714. o Minor features (specification update):
  2715. - Several fields in microdescriptors, router descriptors, and
  2716. consensus documents that were formerly optional are now required.
  2717. Implements proposal 315; closes ticket 40132.
  2718. o Minor features (state management):
  2719. - When loading the state file, remove entries from the statefile
  2720. that have been obsolete for a long time. Ordinarily Tor preserves
  2721. unrecognized entries in order to keep forward-compatibility, but
  2722. these entries have not actually been used in any release since
  2723. before 0.3.5.x. Closes ticket 40137.
  2724. o Minor features (statistics, ipv6):
  2725. - Relays now publish IPv6-specific counts of single-direction versus
  2726. bidirectional relay connections. Closes ticket 33264.
  2727. - Relays now publish their IPv6 read and write statistics over time,
  2728. if statistics are enabled. Closes ticket 33263.
  2729. o Minor features (subprotocol versions):
  2730. - Tor no longer allows subprotocol versions larger than 63.
  2731. Previously version numbers up to UINT32_MAX were allowed, which
  2732. significantly complicated our code. Implements proposal 318;
  2733. closes ticket 40133.
  2734. - Use the new limitations on subprotocol versions due to proposal
  2735. 318 to simplify our implementation. Part of ticket 40133.
  2736. o Minor features (testing configuration):
  2737. - The TestingTorNetwork option no longer implicitly sets
  2738. AssumeReachable to 1. This change allows us to test relays' self-
  2739. testing mechanisms, and to test authorities' relay-testing
  2740. functionality. Closes ticket 34446.
  2741. o Minor features (testing):
  2742. - Added unit tests for channel_matches_target_addr_for_extend().
  2743. Closes Ticket 33919. Patch by MrSquanchee.
  2744. o Minor features (tests, v2 onion services):
  2745. - Fix a rendezvous cache unit test that was triggering an underflow
  2746. on the global rend cache allocation. Fixes bug 40125; bugfix
  2747. on 0.2.8.1-alpha.
  2748. - Fix another rendezvous cache unit test that was triggering an
  2749. underflow on the global rend cache allocation. Fixes bug 40126;
  2750. bugfix on 0.2.8.1-alpha.
  2751. o Minor bugfixes (circuit padding):
  2752. - When circpad_send_padding_cell_for_callback is called,
  2753. `is_padding_timer_scheduled` flag was not reset. Now it is set to
  2754. 0 at the top of that function. Fixes bug 32671; bugfix
  2755. on 0.4.0.1-alpha.
  2756. - Add a per-circuit padding machine instance counter, so we can
  2757. differentiate between shutdown requests for old machines on a
  2758. circuit. Fixes bug 30992; bugfix on 0.4.1.1-alpha.
  2759. - Add the ability to keep circuit padding machines if they match a
  2760. set of circuit states or purposes. This allows us to have machines
  2761. that start up under some conditions but don't shut down under
  2762. others. We now use this mask to avoid starting up introduction
  2763. circuit padding again after the machines have already completed.
  2764. Fixes bug 32040; bugfix on 0.4.1.1-alpha.
  2765. o Minor bugfixes (compatibility):
  2766. - Strip '\r' characters when reading text files on Unix platforms.
  2767. This should resolve an issue where a relay operator migrates a
  2768. relay from Windows to Unix, but does not change the line ending of
  2769. Tor's various state files to match the platform, and the CRLF line
  2770. endings from Windows end up leaking into other files such as the
  2771. extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
  2772. o Minor bugfixes (compilation):
  2773. - Fix compiler warnings that would occur when building with
  2774. "--enable-all-bugs-are-fatal" and "--disable-module-relay" at the
  2775. same time. Fixes bug 40129; bugfix on 0.4.4.1-alpha.
  2776. - Resolve a compilation warning that could occur in
  2777. test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
  2778. o Minor bugfixes (configuration):
  2779. - Fix bug where %including a pattern ending with */ would include
  2780. files and folders (instead of folders only) in versions of glibc <
  2781. 2.19. Fixes bug 40141; bugfix on 0.4.5.0-alpha-dev. Patch by
  2782. Daniel Pinto.
  2783. o Minor bugfixes (control port):
  2784. - Make sure we send the SOCKS request address in relay begin cells
  2785. when a stream is attached with the purpose
  2786. CIRCUIT_PURPOSE_CONTROLLER. Fixes bug 33124; bugfix on 0.0.5.
  2787. Patch by Neel Chauhan.
  2788. o Minor bugfixes (logging):
  2789. - Remove a debug logging statement that uselessly spammed the logs.
  2790. Fixes bug 40135; bugfix on 0.3.5.0-alpha.
  2791. - When logging a rate-limited message about how many messages have
  2792. been suppressed in the last N seconds, give an accurate value for
  2793. N, rounded up to the nearest minute. Previously we would report
  2794. the size of the rate-limiting interval, regardless of when the
  2795. messages started to occur. Fixes bug 19431; bugfix
  2796. on 0.2.2.16-alpha.
  2797. o Minor bugfixes (relay configuration, crash):
  2798. - Avoid a fatal assert() when failing to create a listener
  2799. connection for an address that was in use. Fixes bug 40073; bugfix
  2800. on 0.3.5.1-alpha.
  2801. o Minor bugfixes (rust, protocol versions):
  2802. - Declare support for the onion service introduction point denial of
  2803. service extensions when building with Rust. Fixes bug 34248;
  2804. bugfix on 0.4.2.1-alpha.
  2805. - Make Rust protocol version support checks consistent with the
  2806. undocumented error behavior of the corresponding C code. Fixes bug
  2807. 34251; bugfix on 0.3.3.5-rc.
  2808. o Minor bugfixes (self-testing):
  2809. - When receiving an incoming circuit, only accept it as evidence
  2810. that we are reachable if the declared address of its channel is
  2811. the same address we think that we have. Otherwise, it could be
  2812. evidence that we're reachable on some other address. Fixes bug
  2813. 20165; bugfix on 0.1.0.1-rc.
  2814. o Minor bugfixes (spec conformance):
  2815. - Use the correct key type when generating signing->link
  2816. certificates. Fixes bug 40124; bugfix on 0.2.7.2-alpha.
  2817. o Minor bugfixes (subprotocol versions):
  2818. - Consistently reject extra commas, instead of only rejecting
  2819. leading commas. Fixes bug 27194; bugfix on 0.2.9.4-alpha.
  2820. - In summarize_protover_flags(), treat empty strings the same as
  2821. NULL. This prevents protocols_known from being set. Previously, we
  2822. treated empty strings as normal strings, which led to
  2823. protocols_known being set. Fixes bug 34232; bugfix on
  2824. 0.3.3.2-alpha. Patch by Neel Chauhan.
  2825. o Minor bugfixes (v2 onion services):
  2826. - For HSFETCH commands on v2 onion services addresses, check the
  2827. length of bytes decoded, not the base32 length. Fixes bug 34400;
  2828. bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
  2829. o Code simplification and refactoring:
  2830. - Add and use a set of functions to perform down-casts on constant
  2831. connection and channel pointers. Closes ticket 40046.
  2832. - Refactor our code that logs descriptions of connections, channels,
  2833. and the peers on them, to use a single call path. This change
  2834. enables us to refactor the data types that they use, and eliminates
  2835. many confusing usages of those types. Closes ticket 40041.
  2836. - Refactor some common node selection code into a single function.
  2837. Closes ticket 34200.
  2838. - Remove the now-redundant 'outbuf_flushlen' field from our
  2839. connection type. It was previously used for an older version of
  2840. our rate-limiting logic. Closes ticket 33097.
  2841. - Rename "fascist_firewall_*" identifiers to "reachable_addr_*"
  2842. instead, for consistency with other code. Closes ticket 18106.
  2843. - Rename functions about "advertised" ports which are not in fact
  2844. guaranteed to return the ports that have been advertised. Closes
  2845. ticket 40055.
  2846. - Split implementation of several command line options from
  2847. options_init_from_torrc into smaller isolated functions. Patch by
  2848. Daniel Pinto. Closes ticket 40102.
  2849. - When an extend cell is missing an IPv4 or IPv6 address, fill in
  2850. the address from the extend info. This is similar to what was done
  2851. in ticket 33633 for ed25519 keys. Closes ticket 33816. Patch by
  2852. Neel Chauhan.
  2853. o Deprecated features:
  2854. - The "non-builtin" argument to the "--dump-config" command is now
  2855. deprecated. When it works, it behaves the same as "short", which
  2856. you should use instead. Closes ticket 33398.
  2857. o Documentation:
  2858. - Replace URLs from our old bugtracker so that they refer to the new
  2859. bugtracker and wiki. Closes ticket 40101.
  2860. o Removed features:
  2861. - We no longer ship or build a "tor.service" file for use with
  2862. systemd. No distribution included this script unmodified, and we
  2863. don't have the expertise ourselves to maintain this in a way that
  2864. all the various systemd-based distributions can use. Closes
  2865. ticket 30797.
  2866. - We no longer ship support for the Android logging API. Modern
  2867. versions of Android can use the syslog API instead. Closes
  2868. ticket 32181.
  2869. - The "optimistic data" feature is now always on; there is no longer
  2870. an option to disable it from the torrc file or from the consensus
  2871. directory. Closes part of 40139.
  2872. - The "usecreatefast" network parameter is now removed; there is no
  2873. longer an option for authorities to turn it off. Closes part
  2874. of 40139.
  2875. o Testing:
  2876. - Add unit tests for bandwidth statistics manipulation functions.
  2877. Closes ticket 33812. Patch by MrSquanchee.
  2878. o Code simplification and refactoring (autoconf):
  2879. - Remove autoconf checks for unused funcs and headers. Closes ticket
  2880. 31699; Patch by @bduszel
  2881. o Code simplification and refactoring (maintainer scripts):
  2882. - Disable by default the pre-commit hook. Use the environment
  2883. variable TOR_EXTRA_PRE_COMMIT_CHECKS in order to run it.
  2884. Furthermore, stop running practracker in the pre-commit hook and
  2885. make check-local. Closes ticket 40019.
  2886. o Code simplification and refactoring (relay address):
  2887. - Most of IPv4 representation was using "uint32_t". It has now been
  2888. moved to use the internal "tor_addr_t" interface instead. This is
  2889. so we can properly integrate IPv6 along IPv4 with common
  2890. interfaces. Closes ticket 40043.
  2891. o Documentation (manual page):
  2892. - Move them from doc/ to doc/man/. Closes ticket 40044.
  2893. - Describe the status of the "Sandbox" option more accurately. It is
  2894. no longer "experimental", but it _is_ dependent on kernel and libc
  2895. versions. Closes ticket 23378.
  2896. o Documentation (tracing):
  2897. - Document in depth the circuit subsystem trace events in the new
  2898. doc/tracing/EventsCircuit.md. Closes ticket 40036.
  2899. Changes in version 0.4.4.5 - 2020-09-15
  2900. Tor 0.4.4.5 is the first stable release in the 0.4.4.x series. This
  2901. series improves our guard selection algorithms, adds v3 onion balance
  2902. support, improves the amount of code that can be disabled when running
  2903. without relay support, and includes numerous small bugfixes and
  2904. enhancements. It also lays the ground for some IPv6 features that
  2905. we'll be developing more in the next (0.4.5) series.
  2906. Per our support policy, we support each stable release series for nine
  2907. months after its first stable release, or three months after the first
  2908. stable release of the next series: whichever is longer. This means
  2909. that 0.4.4.x will be supported until around June 2021--or later, if
  2910. 0.4.5.x is later than anticipated.
  2911. Note also that support for 0.4.2.x has just ended; support for 0.4.3
  2912. will continue until Feb 15, 2021. We still plan to continue supporting
  2913. 0.3.5.x, our long-term stable series, until Feb 2022.
  2914. Below are the changes since 0.4.4.4-rc. For a complete list of changes
  2915. since 0.4.3.6, see the ReleaseNotes file.
  2916. o Major bugfixes (onion services, DoS):
  2917. - Correct handling of parameters for the onion service DoS defense.
  2918. Previously, the consensus parameters for the onion service DoS
  2919. defenses were overwriting the parameters set by the service
  2920. operator using HiddenServiceEnableIntroDoSDefense. Fixes bug
  2921. 40109; bugfix on 0.4.2.1-alpha.
  2922. o Major bugfixes (stats, onion services):
  2923. - Fix a bug where we were undercounting the Tor network's total
  2924. onion service traffic, by ignoring any traffic originating from
  2925. clients. Now we count traffic from both clients and services.
  2926. Fixes bug 40117; bugfix on 0.2.6.2-alpha.
  2927. o Minor features (control port):
  2928. - If a ClientName was specified in ONION_CLIENT_AUTH_ADD for an
  2929. onion service, display it when we use ONION_CLIENT_AUTH_VIEW.
  2930. Closes ticket 40089. Patch by Neel Chauhan.
  2931. o Minor features (denial-of-service memory limiter):
  2932. - Allow the user to configure even lower values for the
  2933. MaxMemInQueues parameter. Relays now enforce a minimum of 64 MB,
  2934. when previously the minimum was 256 MB. On clients, there is no
  2935. minimum. Relays and clients will both warn if the value is set so
  2936. low that Tor is likely to stop working. Closes ticket 24308.
  2937. o Minor features (tests):
  2938. - Our "make check" target now runs the unit tests in 8 parallel
  2939. chunks. Doing this speeds up hardened CI builds by more than a
  2940. factor of two. Closes ticket 40098.
  2941. o Minor bugfixes (guard selection algorithm):
  2942. - Avoid needless guard-related warning when upgrading from 0.4.3 to
  2943. 0.4.4. Fixes bug 40105; bugfix on 0.4.4.1-alpha.
  2944. o Minor bugfixes (tests):
  2945. - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
  2946. on its own. Previously, it would exit with an error. Fixes bug
  2947. 40099; bugfix on 0.2.8.1-alpha.
  2948. Changes in version 0.4.4.3-alpha - 2020-07-27
  2949. Tor 0.4.4.3-alpha fixes several annoyances in previous versions,
  2950. including one affecting NSS users, and several affecting the Linux
  2951. seccomp2 sandbox.
  2952. o Major features (fallback directory list):
  2953. - Replace the 148 fallback directories originally included in Tor
  2954. 0.4.1.4-rc (of which around 105 are still functional) with a list
  2955. of 144 fallbacks generated in July 2020. Closes ticket 40061.
  2956. o Major bugfixes (NSS):
  2957. - When running with NSS enabled, make sure that NSS knows to expect
  2958. nonblocking sockets. Previously, we set our TCP sockets as
  2959. nonblocking, but did not tell NSS, which in turn could lead to
  2960. unexpected blocking behavior. Fixes bug 40035; bugfix
  2961. on 0.3.5.1-alpha.
  2962. o Minor bugfixes (linux seccomp2 sandbox):
  2963. - Fix a regression on sandboxing rules for the openat() syscall. The
  2964. fix for bug 25440 fixed the problem on systems with glibc >= 2.27
  2965. but broke with versions of glibc. We now choose a rule based on
  2966. the glibc version. Patch from Daniel Pinto. Fixes bug 27315;
  2967. bugfix on 0.3.5.11.
  2968. - Makes the seccomp sandbox allow the correct syscall for opendir
  2969. according to the running glibc version. This fixes crashes when
  2970. reloading torrc with sandbox enabled when running on glibc 2.15 to
  2971. 2.21 and 2.26. Patch from Daniel Pinto. Fixes bug 40020; bugfix
  2972. on 0.3.5.11.
  2973. o Minor bugfixes (relay, usability):
  2974. - Adjust the rules for when to warn about having too many
  2975. connections to other relays. Previously we'd tolerate up to 1.5
  2976. connections per relay on average. Now we tolerate more connections
  2977. for directory authorities, and raise the number of total
  2978. connections we need to see before we warn. Fixes bug 33880; bugfix
  2979. on 0.3.1.1-alpha.
  2980. o Documentation:
  2981. - Replace most http:// URLs in our code and documentation with
  2982. https:// URLs. (We have left unchanged the code in src/ext/, and
  2983. the text in LICENSE.) Closes ticket 31812. Patch from Jeremy Rand.
  2984. o Removed features:
  2985. - Our "check-local" test target no longer tries to use the
  2986. Coccinelle semantic patching tool parse all the C files. While it
  2987. is a good idea to try to make sure Coccinelle works on our C
  2988. before we run a Coccinelle patch, doing so on every test run has
  2989. proven to be disruptive. You can still run this tool manually with
  2990. "make check-cocci". Closes ticket 40030.
  2991. Changes in version 0.3.5.11 - 2020-07-09
  2992. Tor 0.3.5.11 backports fixes from later tor releases, including several
  2993. usability, portability, and reliability fixes.
  2994. This release also fixes TROVE-2020-001, a medium-severity denial of
  2995. service vulnerability affecting all versions of Tor when compiled with
  2996. the NSS encryption library. (This is not the default configuration.)
  2997. Using this vulnerability, an attacker could cause an affected Tor
  2998. instance to crash remotely. This issue is also tracked as CVE-2020-
  2999. 15572. Anybody running a version of Tor built with the NSS library
  3000. should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
  3001. or later.
  3002. o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
  3003. - Fix a crash due to an out-of-bound memory access when Tor is
  3004. compiled with NSS support. Fixes bug 33119; bugfix on
  3005. 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
  3006. and CVE-2020-15572.
  3007. o Major bugfixes (DoS defenses, bridges, pluggable transport, backport from 0.4.3.4-rc):
  3008. - Fix a bug that was preventing DoS defenses from running on bridges
  3009. with a pluggable transport. Previously, the DoS subsystem was not
  3010. given the transport name of the client connection, thus failed to
  3011. find the GeoIP cache entry for that client address. Fixes bug
  3012. 33491; bugfix on 0.3.3.2-alpha.
  3013. o Minor features (testing, backport from 0.4.3.4-rc):
  3014. - The unit tests now support a "TOR_SKIP_TESTCASES" environment
  3015. variable to specify a list of space-separated test cases that
  3016. should not be executed. We will use this to disable certain tests
  3017. that are failing on Appveyor because of mismatched OpenSSL
  3018. libraries. Part of ticket 33643.
  3019. o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
  3020. - Use the correct 64-bit printf format when compiling with MINGW on
  3021. Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
  3022. o Minor bugfix (relay, configuration, backport from 0.4.3.3-alpha):
  3023. - Warn if the ContactInfo field is not set, and tell the relay
  3024. operator that not having a ContactInfo field set might cause their
  3025. relay to get rejected in the future. Fixes bug 33361; bugfix
  3026. on 0.1.1.10-alpha.
  3027. o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
  3028. - Resume use of preemptively-built circuits when UseEntryGuards is set
  3029. to 0. We accidentally disabled this feature with that config
  3030. setting, leading to slower load times. Fixes bug 34303; bugfix
  3031. on 0.3.3.2-alpha.
  3032. o Minor bugfixes (compiler compatibility, backport from 0.4.3.5):
  3033. - Avoid compiler warnings from Clang 10 related to the use of GCC-
  3034. style "/* falls through */" comments. Both Clang and GCC allow
  3035. __attribute__((fallthrough)) instead, so that's what we're using
  3036. now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
  3037. o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
  3038. - Fix a compiler warning on platforms with 32-bit time_t values.
  3039. Fixes bug 40028; bugfix on 0.3.2.8-rc.
  3040. o Minor bugfixes (embedded Tor, backport from 0.4.3.1-alpha):
  3041. - When starting Tor any time after the first time in a process,
  3042. register the thread in which it is running as the main thread.
  3043. Previously, we only did this on Windows, which could lead to bugs
  3044. like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
  3045. on 0.3.3.1-alpha.
  3046. o Minor bugfixes (key portability, backport from 0.4.3.4-rc):
  3047. - When reading PEM-encoded key data, tolerate CRLF line-endings even
  3048. if we are not running on Windows. Previously, non-Windows hosts
  3049. would reject these line-endings in certain positions, making
  3050. certain key files hard to move from one host to another. Fixes bug
  3051. 33032; bugfix on 0.3.5.1-alpha.
  3052. o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
  3053. - Downgrade a noisy log message that could occur naturally when
  3054. receiving an extrainfo document that we no longer want. Fixes bug
  3055. 16016; bugfix on 0.2.6.3-alpha.
  3056. o Minor bugfixes (onion service v3, client, backport from 0.4.3.3-alpha):
  3057. - Remove a BUG() warning that would cause a stack trace if an onion
  3058. service descriptor was freed while we were waiting for a
  3059. rendezvous circuit to complete. Fixes bug 28992; bugfix
  3060. on 0.3.2.1-alpha.
  3061. o Testing (CI, backport from 0.4.3.4-rc):
  3062. - In our Appveyor Windows CI, copy required DLLs to test and app
  3063. directories, before running tor's tests. This ensures that tor.exe
  3064. and test*.exe use the correct version of each DLL. This fix is not
  3065. required, but we hope it will avoid DLL search issues in future.
  3066. Fixes bug 33673; bugfix on 0.3.4.2-alpha.
  3067. - On Appveyor, skip the crypto/openssl_version test, which is
  3068. failing because of a mismatched library installation. Fix
  3069. for 33643.
  3070. Changes in version 0.4.2.8 - 2020-07-09
  3071. Tor 0.4.2.8 backports various fixes from later releases, including
  3072. several that affect usability and portability.
  3073. This release also fixes TROVE-2020-001, a medium-severity denial of
  3074. service vulnerability affecting all versions of Tor when compiled with
  3075. the NSS encryption library. (This is not the default configuration.)
  3076. Using this vulnerability, an attacker could cause an affected Tor
  3077. instance to crash remotely. This issue is also tracked as CVE-2020-
  3078. 15572. Anybody running a version of Tor built with the NSS library
  3079. should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
  3080. or later.
  3081. o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
  3082. - Fix a crash due to an out-of-bound memory access when Tor is
  3083. compiled with NSS support. Fixes bug 33119; bugfix on
  3084. 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
  3085. and CVE-2020-15572.
  3086. o Major bugfixes (DoS defenses, bridges, pluggable transport, backport from 0.4.3.4-rc):
  3087. - Fix a bug that was preventing DoS defenses from running on bridges
  3088. with a pluggable transport. Previously, the DoS subsystem was not
  3089. given the transport name of the client connection, thus failed to
  3090. find the GeoIP cache entry for that client address. Fixes bug
  3091. 33491; bugfix on 0.3.3.2-alpha.
  3092. o Minor feature (sendme, flow control, backport form 0.4.3.4-rc):
  3093. - Default to sending SENDME version 1 cells. (Clients are already
  3094. sending these, because of a consensus parameter telling them to do
  3095. so: this change only affects what clients would do if the
  3096. consensus didn't contain a recommendation.) Closes ticket 33623.
  3097. o Minor features (diagnostic, backport from 0.4.3.3-alpha):
  3098. - Improve assertions and add some memory-poisoning code to try to
  3099. track down possible causes of a rare crash (32564) in the EWMA
  3100. code. Closes ticket 33290.
  3101. o Minor features (testing, backport from 0.4.3.4-rc):
  3102. - The unit tests now support a "TOR_SKIP_TESTCASES" environment
  3103. variable to specify a list of space-separated test cases that
  3104. should not be executed. We will use this to disable certain tests
  3105. that are failing on Appveyor because of mismatched OpenSSL
  3106. libraries. Part of ticket 33643.
  3107. o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
  3108. - Use the correct 64-bit printf format when compiling with MINGW on
  3109. Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
  3110. o Minor bugfix (relay, configuration, backport from 0.4.3.3-alpha):
  3111. - Warn if the ContactInfo field is not set, and tell the relay
  3112. operator that not having a ContactInfo field set might cause their
  3113. relay to get rejected in the future. Fixes bug 33361; bugfix
  3114. on 0.1.1.10-alpha.
  3115. o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
  3116. - Resume use of preemptively-built circuits when UseEntryGuards is set
  3117. to 0. We accidentally disabled this feature with that config
  3118. setting, leading to slower load times. Fixes bug 34303; bugfix
  3119. on 0.3.3.2-alpha.
  3120. o Minor bugfixes (compiler compatibility, backport from 0.4.3.5):
  3121. - Avoid compiler warnings from Clang 10 related to the use of GCC-
  3122. style "/* falls through */" comments. Both Clang and GCC allow
  3123. __attribute__((fallthrough)) instead, so that's what we're using
  3124. now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
  3125. - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix
  3126. on 0.4.0.3-alpha.
  3127. o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
  3128. - Fix a compiler warning on platforms with 32-bit time_t values.
  3129. Fixes bug 40028; bugfix on 0.3.2.8-rc.
  3130. o Minor bugfixes (controller protocol, backport from 0.4.3.2-alpha):
  3131. - When receiving "ACTIVE" or "DORMANT" signals on the control port,
  3132. report them as SIGNAL events. Previously we would log a bug
  3133. warning. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
  3134. o Minor bugfixes (embedded Tor, backport from 0.4.3.1-alpha):
  3135. - When starting Tor any time after the first time in a process,
  3136. register the thread in which it is running as the main thread.
  3137. Previously, we only did this on Windows, which could lead to bugs
  3138. like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
  3139. on 0.3.3.1-alpha.
  3140. o Minor bugfixes (key portability, backport from 0.4.3.4-rc):
  3141. - When reading PEM-encoded key data, tolerate CRLF line-endings even
  3142. if we are not running on Windows. Previously, non-Windows hosts
  3143. would reject these line-endings in certain positions, making
  3144. certain key files hard to move from one host to another. Fixes bug
  3145. 33032; bugfix on 0.3.5.1-alpha.
  3146. o Minor bugfixes (logging, backport from 0.4.3.2-rc):
  3147. - When logging a bug, do not say "Future instances of this warning
  3148. will be silenced" unless we are actually going to silence them.
  3149. Previously we would say this whenever a BUG() check failed in the
  3150. code. Fixes bug 33095; bugfix on 0.4.1.1-alpha.
  3151. o Minor bugfixes (logging, backport from 0.4.3.4-rc):
  3152. - Flush stderr, stdout, and file logs during shutdown, if supported
  3153. by the OS. This change helps make sure that any final logs are
  3154. recorded. Fixes bug 33087; bugfix on 0.4.1.6.
  3155. o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
  3156. - Downgrade a noisy log message that could occur naturally when
  3157. receiving an extrainfo document that we no longer want. Fixes bug
  3158. 16016; bugfix on 0.2.6.3-alpha.
  3159. o Minor bugfixes (onion service v3, client, backport from 0.4.3.3-alpha):
  3160. - Remove a BUG() warning that would cause a stack trace if an onion
  3161. service descriptor was freed while we were waiting for a
  3162. rendezvous circuit to complete. Fixes bug 28992; bugfix
  3163. on 0.3.2.1-alpha.
  3164. o Testing (CI, backport from 0.4.3.4-rc):
  3165. - In our Appveyor Windows CI, copy required DLLs to test and app
  3166. directories, before running tor's tests. This ensures that tor.exe
  3167. and test*.exe use the correct version of each DLL. This fix is not
  3168. required, but we hope it will avoid DLL search issues in future.
  3169. Fixes bug 33673; bugfix on 0.3.4.2-alpha.
  3170. - On Appveyor, skip the crypto/openssl_version test, which is
  3171. failing because of a mismatched library installation. Fix
  3172. for 33643.
  3173. Changes in version 0.4.3.6 - 2020-07-09
  3174. Tor 0.4.3.6 backports several bugfixes from later releases, including
  3175. some affecting usability.
  3176. This release also fixes TROVE-2020-001, a medium-severity denial of
  3177. service vulnerability affecting all versions of Tor when compiled with
  3178. the NSS encryption library. (This is not the default configuration.)
  3179. Using this vulnerability, an attacker could cause an affected Tor
  3180. instance to crash remotely. This issue is also tracked as CVE-2020-
  3181. 15572. Anybody running a version of Tor built with the NSS library
  3182. should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
  3183. or later.
  3184. o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
  3185. - Fix a crash due to an out-of-bound memory access when Tor is
  3186. compiled with NSS support. Fixes bug 33119; bugfix on
  3187. 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
  3188. and CVE-2020-15572.
  3189. o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
  3190. - Use the correct 64-bit printf format when compiling with MINGW on
  3191. Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
  3192. o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
  3193. - Resume use of preemptively-built circuits when UseEntryGuards is set
  3194. to 0. We accidentally disabled this feature with that config
  3195. setting, leading to slower load times. Fixes bug 34303; bugfix
  3196. on 0.3.3.2-alpha.
  3197. o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
  3198. - Fix a compiler warning on platforms with 32-bit time_t values.
  3199. Fixes bug 40028; bugfix on 0.3.2.8-rc.
  3200. o Minor bugfixes (linux seccomp sandbox, nss, backport from 0.4.4.1-alpha):
  3201. - Fix a startup crash when tor is compiled with --enable-nss and
  3202. sandbox support is enabled. Fixes bug 34130; bugfix on
  3203. 0.3.5.1-alpha. Patch by Daniel Pinto.
  3204. o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
  3205. - Downgrade a noisy log message that could occur naturally when
  3206. receiving an extrainfo document that we no longer want. Fixes bug
  3207. 16016; bugfix on 0.2.6.3-alpha.
  3208. o Minor bugfixes (manual page, backport from 0.4.4.1-alpha):
  3209. - Update the man page to reflect that MinUptimeHidServDirectoryV2
  3210. defaults to 96 hours. Fixes bug 34299; bugfix on 0.2.6.3-alpha.
  3211. o Minor bugfixes (onion service v3, backport from 0.4.4.1-alpha):
  3212. - Prevent an assert() that would occur when cleaning the client
  3213. descriptor cache, and attempting to close circuits for a non-
  3214. decrypted descriptor (lacking client authorization). Fixes bug
  3215. 33458; bugfix on 0.4.2.1-alpha.
  3216. o Minor bugfixes (portability, backport from 0.4.4.1-alpha):
  3217. - Fix a portability error in the configure script, where we were
  3218. using "==" instead of "=". Fixes bug 34233; bugfix on 0.4.3.5.
  3219. o Minor bugfixes (relays, backport from 0.4.4.1-alpha):
  3220. - Stop advertising incorrect IPv6 ORPorts in relay and bridge
  3221. descriptors, when the IPv6 port was configured as "auto". Fixes
  3222. bug 32588; bugfix on 0.2.3.9-alpha.
  3223. o Documentation (backport from 0.4.4.1-alpha):
  3224. - Fix several doxygen warnings related to imbalanced groups. Closes
  3225. ticket 34255.
  3226. Changes in version 0.4.4.2-alpha - 2020-07-09
  3227. This is the second alpha release in the 0.4.4.x series. It fixes a few
  3228. bugs in the previous release, and solves a few usability,
  3229. compatibility, and portability issues.
  3230. This release also fixes TROVE-2020-001, a medium-severity denial of
  3231. service vulnerability affecting all versions of Tor when compiled with
  3232. the NSS encryption library. (This is not the default configuration.)
  3233. Using this vulnerability, an attacker could cause an affected Tor
  3234. instance to crash remotely. This issue is also tracked as CVE-2020-
  3235. 15572. Anybody running a version of Tor built with the NSS library
  3236. should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
  3237. or later.
  3238. o Major bugfixes (NSS, security):
  3239. - Fix a crash due to an out-of-bound memory access when Tor is
  3240. compiled with NSS support. Fixes bug 33119; bugfix on
  3241. 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
  3242. and CVE-2020-15572.
  3243. o Minor features (bootstrap reporting):
  3244. - Report more detailed reasons for bootstrap failure when the
  3245. failure happens due to a TLS error. Previously we would just call
  3246. these errors "MISC" when they happened during read, and "DONE"
  3247. when they happened during any other TLS operation. Closes
  3248. ticket 32622.
  3249. o Minor features (directory authority):
  3250. - Authorities now recommend the protocol versions that are supported
  3251. by Tor 0.3.5 and later. (Earlier versions of Tor have been
  3252. deprecated since January of this year.) This recommendation will
  3253. cause older clients and relays to give a warning on startup, or
  3254. when they download a consensus directory. Closes ticket 32696.
  3255. o Minor features (entry guards):
  3256. - Reinstate support for GUARD NEW/UP/DOWN control port events.
  3257. Closes ticket 40001.
  3258. o Minor features (linux seccomp2 sandbox, portability):
  3259. - Allow Tor to build on platforms where it doesn't know how to
  3260. report which syscall caused the linux seccomp2 sandbox to fail.
  3261. This change should make the sandbox code more portable to less
  3262. common Linux architectures. Closes ticket 34382.
  3263. - Permit the unlinkat() syscall, which some Libc implementations use
  3264. to implement unlink(). Closes ticket 33346.
  3265. o Minor bugfix (CI, Windows):
  3266. - Use the correct 64-bit printf format when compiling with MINGW on
  3267. Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
  3268. o Minor bugfix (onion service v3 client):
  3269. - Remove a BUG() warning that could occur naturally. Fixes bug
  3270. 34087; bugfix on 0.3.2.1-alpha.
  3271. o Minor bugfix (SOCKS, onion service client):
  3272. - Detect v3 onion service addresses of the wrong length when
  3273. returning the F6 ExtendedErrors code. Fixes bug 33873; bugfix
  3274. on 0.4.3.1-alpha.
  3275. o Minor bugfixes (compiler warnings):
  3276. - Fix a compiler warning on platforms with 32-bit time_t values.
  3277. Fixes bug 40028; bugfix on 0.3.2.8-rc.
  3278. o Minor bugfixes (control port, onion service):
  3279. - Consistently use 'address' in "Invalid v3 address" response to
  3280. ONION_CLIENT_AUTH commands. Previously, we would sometimes say
  3281. 'addr'. Fixes bug 40005; bugfix on 0.4.3.1-alpha.
  3282. o Minor bugfixes (logging):
  3283. - Downgrade a noisy log message that could occur naturally when
  3284. receiving an extrainfo document that we no longer want. Fixes bug
  3285. 16016; bugfix on 0.2.6.3-alpha.
  3286. o Minor bugfixes (onion services v3):
  3287. - Avoid a non-fatal assertion failure in certain edge-cases when
  3288. opening an intro circuit as a client. Fixes bug 34084; bugfix
  3289. on 0.3.2.1-alpha.
  3290. o Deprecated features (onion service v2):
  3291. - Add a deprecation warning for version 2 onion services. Closes
  3292. ticket 40003.
  3293. o Removed features (IPv6, revert):
  3294. - Revert the change in the default value of ClientPreferIPv6OrPort:
  3295. it breaks the torsocks use case. The SOCKS resolve command has no
  3296. mechanism to ask for a specific address family (v4 or v6), and so
  3297. prioritizing IPv6 when an IPv4 address is requested on the SOCKS
  3298. interface resulted in a failure. Tor Browser explicitly sets
  3299. PreferIPv6, so this should not affect the majority of our users.
  3300. Closes ticket 33796; bugfix on 0.4.4.1-alpha.
  3301. Changes in version 0.4.4.1-alpha - 2020-06-16
  3302. This is the first alpha release in the 0.4.4.x series. It improves
  3303. our guard selection algorithms, improves the amount of code that
  3304. can be disabled when running without relay support, and includes numerous
  3305. small bugfixes and enhancements. It also lays the ground for some IPv6
  3306. features that we'll be developing more in the next (0.4.5) series.
  3307. Here are the changes since 0.4.3.5.
  3308. o Major features (Proposal 310, performance + security):
  3309. - Implements Proposal 310, "Bandaid on guard selection". Proposal
  3310. 310 solves load-balancing issues with older versions of the guard
  3311. selection algorithm, and improves its security. Under this new
  3312. algorithm, a newly selected guard never becomes Primary unless all
  3313. previously sampled guards are unreachable. Implements
  3314. recommendation from 32088. (Proposal 310 is linked to the CLAPS
  3315. project researching optimal client location-aware path selections.
  3316. This project is a collaboration between the UCLouvain Crypto Group,
  3317. the U.S. Naval Research Laboratory, and Princeton University.)
  3318. o Major features (IPv6, relay):
  3319. - Consider IPv6-only EXTEND2 cells valid on relays. Log a protocol
  3320. warning if the IPv4 or IPv6 address is an internal address, and
  3321. internal addresses are not allowed. But continue to use the other
  3322. address, if it is valid. Closes ticket 33817.
  3323. - If a relay can extend over IPv4 and IPv6, and both addresses are
  3324. provided, it chooses between them uniformly at random. Closes
  3325. ticket 33817.
  3326. - Re-use existing IPv6 connections for circuit extends. Closes
  3327. ticket 33817.
  3328. - Relays may extend circuits over IPv6, if the relay has an IPv6
  3329. ORPort, and the client supplies the other relay's IPv6 ORPort in
  3330. the EXTEND2 cell. IPv6 extends will be used by the relay IPv6
  3331. ORPort self-tests in 33222. Closes ticket 33817.
  3332. o Major features (v3 onion services):
  3333. - Allow v3 onion services to act as OnionBalance backend instances,
  3334. by using the HiddenServiceOnionBalanceInstance torrc option.
  3335. Closes ticket 32709.
  3336. o Minor feature (developer tools):
  3337. - Add a script to help check the alphabetical ordering of option
  3338. names in the manual page. Closes ticket 33339.
  3339. o Minor feature (onion service client, SOCKS5):
  3340. - Add 3 new SocksPort ExtendedErrors (F2, F3, F7) that reports back
  3341. new type of onion service connection failures. The semantics of
  3342. these error codes are documented in proposal 309. Closes
  3343. ticket 32542.
  3344. o Minor feature (onion service v3):
  3345. - If a service cannot upload its descriptor(s), log why at INFO
  3346. level. Closes ticket 33400; bugfix on 0.3.2.1-alpha.
  3347. o Minor feature (python scripts):
  3348. - Stop assuming that /usr/bin/python exists. Instead of using a
  3349. hardcoded path in scripts that still use Python 2, use
  3350. /usr/bin/env, similarly to the scripts that use Python 3. Fixes
  3351. bug 33192; bugfix on 0.4.2.
  3352. o Minor features (client-only compilation):
  3353. - Disable more code related to the ext_orport protocol when
  3354. compiling without support for relay mode. Closes ticket 33368.
  3355. - Disable more of our self-testing code when support for relay mode
  3356. is disabled. Closes ticket 33370.
  3357. o Minor features (code safety):
  3358. - Check for failures of tor_inet_ntop() and tor_inet_ntoa()
  3359. functions in DNS and IP address processing code, and adjust
  3360. codepaths to make them less likely to crash entire Tor instances.
  3361. Resolves issue 33788.
  3362. o Minor features (compilation size):
  3363. - Most server-side DNS code is now disabled when building without
  3364. support for relay mode. Closes ticket 33366.
  3365. o Minor features (continuous integration):
  3366. - Run unit-test and integration test (Stem, Chutney) jobs with
  3367. ALL_BUGS_ARE_FATAL macro being enabled on Travis and Appveyor.
  3368. Resolves ticket 32143.
  3369. o Minor features (control port):
  3370. - Return a descriptive error message from the 'GETINFO status/fresh-
  3371. relay-descs' command on the control port. Previously, we returned
  3372. a generic error of "Error generating descriptor". Closes ticket
  3373. 32873. Patch by Neel Chauhan.
  3374. o Minor features (developer tooling):
  3375. - Refrain from listing all .a files that are generated by the Tor
  3376. build in .gitignore. Add a single wildcard *.a entry that covers
  3377. all of them for present and future. Closes ticket 33642.
  3378. - Add a script ("git-install-tools.sh") to install git hooks and
  3379. helper scripts. Closes ticket 33451.
  3380. o Minor features (directory authority, shared random):
  3381. - Refactor more authority-only parts of the shared-random scheduling
  3382. code to reside in the dirauth module, and to be disabled when
  3383. compiling with --disable-module-dirauth. Closes ticket 33436.
  3384. o Minor features (directory):
  3385. - Remember the number of bytes we have downloaded for each directory
  3386. purpose while bootstrapping, and while fully bootstrapped. Log
  3387. this information as part of the heartbeat message. Closes
  3388. ticket 32720.
  3389. o Minor features (IPv6 support):
  3390. - Adds IPv6 support to tor_addr_is_valid(). Adds tests for the above
  3391. changes and tor_addr_is_null(). Closes ticket 33679. Patch
  3392. by MrSquanchee.
  3393. - Allow clients and relays to send dual-stack and IPv6-only EXTEND2
  3394. cells. Parse dual-stack and IPv6-only EXTEND2 cells on relays.
  3395. Closes ticket 33901.
  3396. o Minor features (logging):
  3397. - When trying to find our own address, add debug-level logging to
  3398. report the sources of candidate addresses. Closes ticket 32888.
  3399. o Minor features (testing, architecture):
  3400. - Our test scripts now double-check that subsystem initialization
  3401. order is consistent with the inter-module dependencies established
  3402. by our .may_include files. Implements ticket 31634.
  3403. - Initialize all subsystems at the beginning of our unit test
  3404. harness, to avoid crashes due to uninitialized subsystems. Follow-
  3405. up from ticket 33316.
  3406. o Minor features (v3 onion services):
  3407. - Add v3 onion service status to the dumpstats() call which is
  3408. triggered by a SIGUSR1 signal. Previously, we only did v2 onion
  3409. services. Closes ticket 24844. Patch by Neel Chauhan.
  3410. o Minor features (windows):
  3411. - Add support for console control signals like Ctrl+C in Windows.
  3412. Closes ticket 34211. Patch from Damon Harris (TheDcoder).
  3413. o Minor bugfix (onion service v3):
  3414. - Prevent an assert() that would occur when cleaning the client
  3415. descriptor cache, and attempting to close circuits for a non-
  3416. decrypted descriptor (lacking client authorization). Fixes bug
  3417. 33458; bugfix on 0.4.2.1-alpha.
  3418. o Minor bugfix (refactoring):
  3419. - Lift circuit_build_times_disabled() out of the
  3420. circuit_expire_building() loop, to save CPU time when there are
  3421. many circuits open. Fixes bug 33977; bugfix on 0.3.5.9.
  3422. o Minor bugfixes (client performance):
  3423. - Resume use of preemptively-built circuits when UseEntryGuards is set
  3424. to 0. We accidentally disabled this feature with that config
  3425. setting, leading to slower load times. Fixes bug 34303; bugfix
  3426. on 0.3.3.2-alpha.
  3427. o Minor bugfixes (directory authorities):
  3428. - Directory authorities now reject votes that arrive too late. In
  3429. particular, once an authority has started fetching missing votes,
  3430. it no longer accepts new votes posted by other authorities. This
  3431. change helps prevent a consensus split, where only some authorities
  3432. have the late vote. Fixes bug 4631; bugfix on 0.2.0.5-alpha.
  3433. o Minor bugfixes (git scripts):
  3434. - Stop executing the checked-out pre-commit hook from the pre-push
  3435. hook. Instead, execute the copy in the user's git directory. Fixes
  3436. bug 33284; bugfix on 0.4.1.1-alpha.
  3437. o Minor bugfixes (initialization):
  3438. - Initialize the subsystems in our code in an order more closely
  3439. corresponding to their dependencies, so that every system is
  3440. initialized before the ones that (theoretically) depend on it.
  3441. Fixes bug 33316; bugfix on 0.4.0.1-alpha.
  3442. o Minor bugfixes (IPv4, relay):
  3443. - Check for invalid zero IPv4 addresses and ports when sending and
  3444. receiving extend cells. Fixes bug 33900; bugfix on 0.2.4.8-alpha.
  3445. o Minor bugfixes (IPv6, relay):
  3446. - Consider IPv6 addresses when checking if a connection is
  3447. canonical. In 17604, relays assumed that a remote relay could
  3448. consider an IPv6 connection canonical, but did not set the
  3449. canonical flag on their side of the connection. Fixes bug 33899;
  3450. bugfix on 0.3.1.1-alpha.
  3451. - Log IPv6 addresses on connections where this relay is the
  3452. responder. Previously, responding relays would replace the remote
  3453. IPv6 address with the IPv4 address from the consensus. Fixes bug
  3454. 33899; bugfix on 0.3.1.1-alpha.
  3455. o Minor bugfixes (linux seccomp sandbox nss):
  3456. - Fix a startup crash when tor is compiled with --enable-nss and
  3457. sandbox support is enabled. Fixes bug 34130; bugfix on
  3458. 0.3.5.1-alpha. Patch by Daniel Pinto.
  3459. o Minor bugfixes (logging, testing):
  3460. - Make all of tor's assertion macros support the ALL_BUGS_ARE_FATAL
  3461. and DISABLE_ASSERTS_IN_UNIT_TESTS debugging modes. (IF_BUG_ONCE()
  3462. used to log a non-fatal warning, regardless of the debugging
  3463. mode.) Fixes bug 33917; bugfix on 0.2.9.1-alpha.
  3464. o Minor bugfixes (logs):
  3465. - Remove surprising empty line in the INFO-level log about circuit
  3466. build timeout. Fixes bug 33531; bugfix on 0.3.3.1-alpha.
  3467. o Minor bugfixes (mainloop):
  3468. - Better guard against growing a buffer past its maximum 2GB in
  3469. size. Fixes bug 33131; bugfix on 0.3.0.4-rc.
  3470. o Minor bugfixes (manual page):
  3471. - Update the man page to reflect that MinUptimeHidServDirectoryV2
  3472. defaults to 96 hours. Fixes bug 34299; bugfix on 0.2.6.3-alpha.
  3473. o Minor bugfixes (onion service v3, client):
  3474. - Remove a BUG() that was causing a stacktrace when a descriptor
  3475. changed at an unexpected time. Fixes bug 28992; bugfix
  3476. on 0.3.2.1-alpha.
  3477. o Minor bugfixes (onion service, logging):
  3478. - Fix a typo in a log message PublishHidServDescriptors is set to 0.
  3479. Fixes bug 33779; bugfix on 0.3.2.1-alpha.
  3480. o Minor bugfixes (portability):
  3481. - Fix a portability error in the configure script, where we were
  3482. using "==" instead of "=". Fixes bug 34233; bugfix on 0.4.3.5.
  3483. o Minor bugfixes (protocol versions):
  3484. - Sort tor's supported protocol version lists, as recommended by the
  3485. tor directory specification. Fixes bug 33285; bugfix
  3486. on 0.4.0.1-alpha.
  3487. o Minor bugfixes (relays):
  3488. - Stop advertising incorrect IPv6 ORPorts in relay and bridge
  3489. descriptors, when the IPv6 port was configured as "auto". Fixes
  3490. bug 32588; bugfix on 0.2.3.9-alpha.
  3491. o Code simplification and refactoring:
  3492. - Define and use a new constant TOR_ADDRPORT_BUF_LEN which is like
  3493. TOR_ADDR_BUF_LEN but includes enough space for an IP address,
  3494. brackets, separating colon, and port number. Closes ticket 33956.
  3495. Patch by Neel Chauhan.
  3496. - Merge the orconn and ocirc events into the "core" subsystem, which
  3497. manages or connections and origin circuits. Previously they were
  3498. isolated in subsystems of their own.
  3499. - Move LOG_PROTOCOL_WARN to app/config. Resolves a dependency
  3500. inversion. Closes ticket 33633.
  3501. - Move the circuit extend code to the relay module. Split the
  3502. circuit extend function into smaller functions. Closes
  3503. ticket 33633.
  3504. - Rewrite port_parse_config() to use the default port flags from
  3505. port_cfg_new(). Closes ticket 32994. Patch by MrSquanchee.
  3506. - Updated comments in 'scheduler.c' to reflect old code changes, and
  3507. simplified the scheduler channel state change code. Closes
  3508. ticket 33349.
  3509. o Documentation:
  3510. - Document the limitations of using %include on config files with
  3511. seccomp sandbox enabled. Fixes documentation bug 34133; bugfix on
  3512. 0.3.1.1-alpha. Patch by Daniel Pinto.
  3513. - Fix several doxygen warnings related to imbalanced groups. Closes
  3514. ticket 34255.
  3515. o Removed features:
  3516. - Remove the ClientAutoIPv6ORPort option. This option attempted to
  3517. randomly choose between IPv4 and IPv6 for client connections, and
  3518. wasn't a true implementation of Happy Eyeballs. Often, this option
  3519. failed on IPv4-only or IPv6-only connections. Closes ticket 32905.
  3520. Patch by Neel Chauhan.
  3521. - Stop shipping contrib/dist/rc.subr file, as it is not being used
  3522. on FreeBSD anymore. Closes issue 31576.
  3523. o Testing:
  3524. - Add a basic IPv6 test to "make test-network". This test only runs
  3525. when the local machine has an IPv6 stack. Closes ticket 33300.
  3526. - Add test-network-ipv4 and test-network-ipv6 jobs to the Makefile.
  3527. These jobs run the IPv4-only and dual-stack chutney flavours from
  3528. test-network-all. Closes ticket 33280.
  3529. - Remove a redundant distcheck job. Closes ticket 33194.
  3530. - Run the test-network-ipv6 Makefile target in the Travis CI IPv6
  3531. chutney job. This job runs on macOS, so it's a bit slow. Closes
  3532. ticket 33303.
  3533. - Sort the Travis jobs in order of speed. Putting the slowest jobs
  3534. first takes full advantage of Travis job concurrency. Closes
  3535. ticket 33194.
  3536. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  3537. previously configured to fast_finish (which requires
  3538. allow_failure), to speed up the build. Closes ticket 33195.
  3539. - Test v3 onion services to tor's mixed IPv4 chutney network. And
  3540. add a mixed IPv6 chutney network. These networks are used in the
  3541. test-network-all, test-network-ipv4, and test-network-ipv6 make
  3542. targets. Closes ticket 33334.
  3543. - Use the "bridges+hs-v23" chutney network flavour in "make test-
  3544. network". This test requires a recent version of chutney (mid-
  3545. February 2020). Closes ticket 28208.
  3546. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  3547. tool to produce detailed diagnostic output. Closes ticket 32792.
  3548. o Code simplification and refactoring (onion service):
  3549. - Refactor configuration parsing to use the new config subsystem
  3550. code. Closes ticket 33014.
  3551. o Code simplification and refactoring (relay address):
  3552. - Move a series of functions related to address resolving into their
  3553. own files. Closes ticket 33789.
  3554. o Documentation (manual page):
  3555. - Add cross reference links and a table of contents to the HTML tor
  3556. manual page. Closes ticket 33369. Work by Swati Thacker as part of
  3557. Google Season of Docs.
  3558. - Alphabetize the Denial of Service Mitigation Options, Directory
  3559. Authority Server Options, Hidden Service Options, and Testing
  3560. Network Options sections of the tor(1) manual page. Closes ticket
  3561. 33275. Work by Swati Thacker as part of Google Season of Docs.
  3562. - Refrain from mentioning nicknames in manpage section for MyFamily
  3563. torrc option. Resolves issue 33417.
  3564. - Updated the options set by TestingTorNetwork in the manual page.
  3565. Closes ticket 33778.
  3566. Changes in version 0.4.3.5 - 2020-05-15
  3567. Tor 0.4.3.5 is the first stable release in the 0.4.3.x series. This
  3568. series adds support for building without relay code enabled, and
  3569. implements functionality needed for OnionBalance with v3 onion
  3570. services. It includes significant refactoring of our configuration and
  3571. controller functionality, and fixes numerous smaller bugs and
  3572. performance issues.
  3573. Per our support policy, we support each stable release series for nine
  3574. months after its first stable release, or three months after the first
  3575. stable release of the next series: whichever is longer. This means
  3576. that 0.4.3.x will be supported until around February 2021--later, if
  3577. 0.4.4.x is later than anticipated.
  3578. Note also that support for 0.4.1.x is about to end on May 20 of this
  3579. year; 0.4.2.x will be supported until September 15. We still plan to
  3580. continue supporting 0.3.5.x, our long-term stable series, until
  3581. Feb 2022.
  3582. Below are the changes since 0.4.3.4-rc. For a complete list of changes
  3583. since 0.4.2.6, see the ReleaseNotes file.
  3584. o Minor bugfixes (compiler compatibility):
  3585. - Avoid compiler warnings from Clang 10 related to the use of GCC-
  3586. style "/* falls through */" comments. Both Clang and GCC allow
  3587. __attribute__((fallthrough)) instead, so that's what we're using
  3588. now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
  3589. - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix
  3590. on 0.4.0.3-alpha.
  3591. o Minor bugfixes (logging):
  3592. - Stop truncating IPv6 addresses and ports in channel and connection
  3593. logs. Fixes bug 33918; bugfix on 0.2.4.4-alpha.
  3594. - Fix a logic error in a log message about whether an address was
  3595. invalid. Previously, the code would never report that onion
  3596. addresses were onion addresses. Fixes bug 34131; bugfix
  3597. on 0.4.3.1-alpha.
  3598. Changes in version 0.4.3.4-rc - 2020-04-13
  3599. Tor 0.4.3.4-rc is the first release candidate in its series. It fixes
  3600. several bugs from earlier versions, including one affecting DoS
  3601. defenses on bridges using pluggable transports.
  3602. o Major bugfixes (DoS defenses, bridges, pluggable transport):
  3603. - Fix a bug that was preventing DoS defenses from running on bridges
  3604. with a pluggable transport. Previously, the DoS subsystem was not
  3605. given the transport name of the client connection, thus failed to
  3606. find the GeoIP cache entry for that client address. Fixes bug
  3607. 33491; bugfix on 0.3.3.2-alpha.
  3608. o Minor feature (sendme, flow control):
  3609. - Default to sending SENDME version 1 cells. (Clients are already
  3610. sending these, because of a consensus parameter telling them to do
  3611. so: this change only affects what clients would do if the
  3612. consensus didn't contain a recommendation.) Closes ticket 33623.
  3613. o Minor features (testing):
  3614. - The unit tests now support a "TOR_SKIP_TESTCASES" environment
  3615. variable to specify a list of space-separated test cases that
  3616. should not be executed. We will use this to disable certain tests
  3617. that are failing on Appveyor because of mismatched OpenSSL
  3618. libraries. Part of ticket 33643.
  3619. o Minor bugfixes (--disable-module-relay):
  3620. - Fix an assertion failure when Tor is built without the relay
  3621. module, and then invoked with the "User" option. Fixes bug 33668;
  3622. bugfix on 0.4.3.1-alpha.
  3623. o Minor bugfixes (--disable-module-relay,--disable-module-dirauth):
  3624. - Set some output arguments in the relay and dirauth module stubs,
  3625. to guard against future stub argument handling bugs like 33668.
  3626. Fixes bug 33674; bugfix on 0.4.3.1-alpha.
  3627. o Minor bugfixes (build system):
  3628. - Correctly output the enabled module in the configure summary.
  3629. Before that, the list shown was just plain wrong. Fixes bug 33646;
  3630. bugfix on 0.4.3.2-alpha.
  3631. o Minor bugfixes (client, IPv6):
  3632. - Stop forcing all non-SocksPorts to prefer IPv6 exit connections.
  3633. Instead, prefer IPv6 connections by default, but allow users to
  3634. change their configs using the "NoPreferIPv6" port flag. Fixes bug
  3635. 33608; bugfix on 0.4.3.1-alpha.
  3636. - Revert PreferIPv6 set by default on the SocksPort because it broke
  3637. the torsocks use case. Tor doesn't have a way for an application
  3638. to request the hostname to be resolved for a specific IP version,
  3639. but torsocks requires that. Up until now, IPv4 was used by default
  3640. so torsocks is expecting that, and can't handle a possible IPv6
  3641. being returned. Fixes bug 33804; bugfix on 0.4.3.1-alpha.
  3642. o Minor bugfixes (key portability):
  3643. - When reading PEM-encoded key data, tolerate CRLF line-endings even
  3644. if we are not running on Windows. Previously, non-Windows hosts
  3645. would reject these line-endings in certain positions, making
  3646. certain key files hard to move from one host to another. Fixes bug
  3647. 33032; bugfix on 0.3.5.1-alpha.
  3648. o Minor bugfixes (logging):
  3649. - Flush stderr, stdout, and file logs during shutdown, if supported
  3650. by the OS. This change helps make sure that any final logs are
  3651. recorded. Fixes bug 33087; bugfix on 0.4.1.6.
  3652. - Stop closing stderr and stdout during shutdown. Closing these file
  3653. descriptors can hide sanitiser logs. Fixes bug 33087; bugfix
  3654. on 0.4.1.6.
  3655. o Minor bugfixes (onion services v3):
  3656. - Relax severity of a log message that can appear naturally when
  3657. decoding onion service descriptors as a relay. Also add some
  3658. diagnostics to debug any future bugs in that area. Fixes bug
  3659. 31669; bugfix on 0.3.0.1-alpha.
  3660. - Block a client-side assertion by disallowing the registration of
  3661. an x25519 client auth key that's all zeroes. Fixes bug 33545;
  3662. bugfix on 0.4.3.1-alpha. Based on patch from "cypherpunks".
  3663. o Code simplification and refactoring:
  3664. - Disable our coding standards best practices tracker in our git
  3665. hooks. (0.4.3 branches only.) Closes ticket 33678.
  3666. o Testing:
  3667. - Avoid conflicts between the fake sockets in tor's unit tests, and
  3668. real file descriptors. Resolves issues running unit tests with
  3669. GitHub Actions, where the process that embeds or launches the
  3670. tests has already opened a large number of file descriptors. Fixes
  3671. bug 33782; bugfix on 0.2.8.1-alpha. Found and fixed by
  3672. Putta Khunchalee.
  3673. o Testing (CI):
  3674. - In our Appveyor Windows CI, copy required DLLs to test and app
  3675. directories, before running tor's tests. This ensures that tor.exe
  3676. and test*.exe use the correct version of each DLL. This fix is not
  3677. required, but we hope it will avoid DLL search issues in future.
  3678. Fixes bug 33673; bugfix on 0.3.4.2-alpha.
  3679. - On Appveyor, skip the crypto/openssl_version test, which is
  3680. failing because of a mismatched library installation. Fix
  3681. for 33643.
  3682. Changes in version 0.4.3.3-alpha - 2020-03-18
  3683. Tor 0.4.3.3-alpha fixes several bugs in previous releases, including
  3684. TROVE-2020-002, a major denial-of-service vulnerability that affected
  3685. all released Tor instances since 0.2.1.5-alpha. Using this
  3686. vulnerability, an attacker could cause Tor instances to consume a huge
  3687. amount of CPU, disrupting their operations for several seconds or
  3688. minutes. This attack could be launched by anybody against a relay, or
  3689. by a directory cache against any client that had connected to it. The
  3690. attacker could launch this attack as much as they wanted, thereby
  3691. disrupting service or creating patterns that could aid in traffic
  3692. analysis. This issue was found by OSS-Fuzz, and is also tracked
  3693. as CVE-2020-10592.
  3694. We do not have reason to believe that this attack is currently being
  3695. exploited in the wild, but nonetheless we advise everyone to upgrade
  3696. as soon as packages are available.
  3697. o Major bugfixes (security, denial-of-service):
  3698. - Fix a denial-of-service bug that could be used by anyone to
  3699. consume a bunch of CPU on any Tor relay or authority, or by
  3700. directories to consume a bunch of CPU on clients or hidden
  3701. services. Because of the potential for CPU consumption to
  3702. introduce observable timing patterns, we are treating this as a
  3703. high-severity security issue. Fixes bug 33119; bugfix on
  3704. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  3705. as TROVE-2020-002 and CVE-2020-10592.
  3706. o Major bugfixes (circuit padding, memory leak):
  3707. - Avoid a remotely triggered memory leak in the case that a circuit
  3708. padding machine is somehow negotiated twice on the same circuit.
  3709. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
  3710. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
  3711. o Major bugfixes (directory authority):
  3712. - Directory authorities will now send a 503 (not enough bandwidth)
  3713. code to clients when under bandwidth pressure. Known relays and
  3714. other authorities will always be answered regardless of the
  3715. bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
  3716. o Minor features (diagnostic):
  3717. - Improve assertions and add some memory-poisoning code to try to
  3718. track down possible causes of a rare crash (32564) in the EWMA
  3719. code. Closes ticket 33290.
  3720. o Minor features (directory authorities):
  3721. - Directory authorities now reject descriptors from relays running
  3722. Tor versions from the 0.2.9 and 0.4.0 series. The 0.3.5 series is
  3723. still allowed. Resolves ticket 32672. Patch by Neel Chauhan.
  3724. o Minor features (usability):
  3725. - Include more information when failing to parse a configuration
  3726. value. This should make it easier to tell what's going wrong when
  3727. a configuration file doesn't parse. Closes ticket 33460.
  3728. o Minor bugfix (relay, configuration):
  3729. - Warn if the ContactInfo field is not set, and tell the relay
  3730. operator that not having a ContactInfo field set might cause their
  3731. relay to get rejected in the future. Fixes bug 33361; bugfix
  3732. on 0.1.1.10-alpha.
  3733. o Minor bugfixes (coding best practices checks):
  3734. - Allow the "practracker" script to read unicode files when using
  3735. Python 2. We made the script use unicode literals in 0.4.3.1-alpha,
  3736. but didn't change the codec for opening files. Fixes bug 33374;
  3737. bugfix on 0.4.3.1-alpha.
  3738. o Minor bugfixes (continuous integration):
  3739. - Remove the buggy and unused mirroring job. Fixes bug 33213; bugfix
  3740. on 0.3.2.2-alpha.
  3741. o Minor bugfixes (onion service v3, client):
  3742. - Remove a BUG() warning that would cause a stack trace if an onion
  3743. service descriptor was freed while we were waiting for a
  3744. rendezvous circuit to complete. Fixes bug 28992; bugfix
  3745. on 0.3.2.1-alpha.
  3746. o Minor bugfixes (onion services v3):
  3747. - Fix an assertion failure that could result from a corrupted
  3748. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  3749. bugfix on 0.3.3.1-alpha. This issue is also tracked
  3750. as TROVE-2020-003.
  3751. o Documentation (manpage):
  3752. - Alphabetize the Server and Directory server sections of the tor
  3753. manpage. Also split Statistics options into their own section of
  3754. the manpage. Closes ticket 33188. Work by Swati Thacker as part of
  3755. Google Season of Docs.
  3756. - Document the __OwningControllerProcess torrc option and specify
  3757. its polling interval. Resolves issue 32971.
  3758. o Testing (Travis CI):
  3759. - Remove a redundant distcheck job. Closes ticket 33194.
  3760. - Sort the Travis jobs in order of speed: putting the slowest jobs
  3761. first takes full advantage of Travis job concurrency. Closes
  3762. ticket 33194.
  3763. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  3764. previously configured to fast_finish (which requires
  3765. allow_failure), to speed up the build. Closes ticket 33195.
  3766. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  3767. tool to produce detailed diagnostic output. Closes ticket 32792.
  3768. Changes in version 0.4.2.7 - 2020-03-18
  3769. This is the third stable release in the 0.4.2.x series. It backports
  3770. numerous fixes from later releases, including a fix for TROVE-2020-
  3771. 002, a major denial-of-service vulnerability that affected all
  3772. released Tor instances since 0.2.1.5-alpha. Using this vulnerability,
  3773. an attacker could cause Tor instances to consume a huge amount of CPU,
  3774. disrupting their operations for several seconds or minutes. This
  3775. attack could be launched by anybody against a relay, or by a directory
  3776. cache against any client that had connected to it. The attacker could
  3777. launch this attack as much as they wanted, thereby disrupting service
  3778. or creating patterns that could aid in traffic analysis. This issue
  3779. was found by OSS-Fuzz, and is also tracked as CVE-2020-10592.
  3780. We do not have reason to believe that this attack is currently being
  3781. exploited in the wild, but nonetheless we advise everyone to upgrade
  3782. as soon as packages are available.
  3783. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  3784. - Fix a denial-of-service bug that could be used by anyone to
  3785. consume a bunch of CPU on any Tor relay or authority, or by
  3786. directories to consume a bunch of CPU on clients or hidden
  3787. services. Because of the potential for CPU consumption to
  3788. introduce observable timing patterns, we are treating this as a
  3789. high-severity security issue. Fixes bug 33119; bugfix on
  3790. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  3791. as TROVE-2020-002 and CVE-2020-10592.
  3792. o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
  3793. - Avoid a remotely triggered memory leak in the case that a circuit
  3794. padding machine is somehow negotiated twice on the same circuit.
  3795. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
  3796. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
  3797. o Major bugfixes (directory authority, backport from 0.4.3.3-alpha):
  3798. - Directory authorities will now send a 503 (not enough bandwidth)
  3799. code to clients when under bandwidth pressure. Known relays and
  3800. other authorities will always be answered regardless of the
  3801. bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
  3802. o Minor features (continuous integration, backport from 0.4.3.2-alpha):
  3803. - Stop allowing failures on the Travis CI stem tests job. It looks
  3804. like all the stem hangs we were seeing before are now fixed.
  3805. Closes ticket 33075.
  3806. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  3807. - Lowercase the configured value of BridgeDistribution before adding
  3808. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  3809. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  3810. - If we encounter a bug when flushing a buffer to a TLS connection,
  3811. only log the bug once per invocation of the Tor process.
  3812. Previously we would log with every occurrence, which could cause
  3813. us to run out of disk space. Fixes bug 33093; bugfix
  3814. on 0.3.2.2-alpha.
  3815. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  3816. - Fix an assertion failure that could result from a corrupted
  3817. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  3818. bugfix on 0.3.3.1-alpha. This issue is also tracked
  3819. as TROVE-2020-003.
  3820. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  3821. - Fix a syntax warning given by newer versions of Rust that was
  3822. creating problems for our continuous integration. Fixes bug 33212;
  3823. bugfix on 0.3.5.1-alpha.
  3824. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  3825. - Remove a redundant distcheck job. Closes ticket 33194.
  3826. - Sort the Travis jobs in order of speed: putting the slowest jobs
  3827. first takes full advantage of Travis job concurrency. Closes
  3828. ticket 33194.
  3829. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  3830. previously configured to fast_finish (which requires
  3831. allow_failure), to speed up the build. Closes ticket 33195.
  3832. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  3833. tool to produce detailed diagnostic output. Closes ticket 32792.
  3834. Changes in version 0.4.1.9 - 2020-03-18
  3835. Tor 0.4.1.9 backports important fixes from later Tor releases,
  3836. including a fix for TROVE-2020-002, a major denial-of-service
  3837. vulnerability that affected all released Tor instances since
  3838. 0.2.1.5-alpha. Using this vulnerability, an attacker could cause Tor
  3839. instances to consume a huge amount of CPU, disrupting their operations
  3840. for several seconds or minutes. This attack could be launched by
  3841. anybody against a relay, or by a directory cache against any client
  3842. that had connected to it. The attacker could launch this attack as
  3843. much as they wanted, thereby disrupting service or creating patterns
  3844. that could aid in traffic analysis. This issue was found by OSS-Fuzz,
  3845. and is also tracked as CVE-2020-10592.
  3846. We do not have reason to believe that this attack is currently being
  3847. exploited in the wild, but nonetheless we advise everyone to upgrade
  3848. as soon as packages are available.
  3849. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  3850. - Fix a denial-of-service bug that could be used by anyone to
  3851. consume a bunch of CPU on any Tor relay or authority, or by
  3852. directories to consume a bunch of CPU on clients or hidden
  3853. services. Because of the potential for CPU consumption to
  3854. introduce observable timing patterns, we are treating this as a
  3855. high-severity security issue. Fixes bug 33119; bugfix on
  3856. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  3857. as TROVE-2020-002 and CVE-2020-10592.
  3858. o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
  3859. - Avoid a remotely triggered memory leak in the case that a circuit
  3860. padding machine is somehow negotiated twice on the same circuit.
  3861. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
  3862. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
  3863. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  3864. - Lowercase the configured value of BridgeDistribution before adding
  3865. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  3866. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  3867. - If we encounter a bug when flushing a buffer to a TLS connection,
  3868. only log the bug once per invocation of the Tor process.
  3869. Previously we would log with every occurrence, which could cause
  3870. us to run out of disk space. Fixes bug 33093; bugfix
  3871. on 0.3.2.2-alpha.
  3872. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  3873. - Fix an assertion failure that could result from a corrupted
  3874. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  3875. bugfix on 0.3.3.1-alpha. This issue is also tracked
  3876. as TROVE-2020-003.
  3877. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  3878. - Fix a syntax warning given by newer versions of Rust that was
  3879. creating problems for our continuous integration. Fixes bug 33212;
  3880. bugfix on 0.3.5.1-alpha.
  3881. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  3882. - Remove a redundant distcheck job. Closes ticket 33194.
  3883. - Sort the Travis jobs in order of speed: putting the slowest jobs
  3884. first takes full advantage of Travis job concurrency. Closes
  3885. ticket 33194.
  3886. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  3887. previously configured to fast_finish (which requires
  3888. allow_failure), to speed up the build. Closes ticket 33195.
  3889. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  3890. tool to produce detailed diagnostic output. Closes ticket 32792.
  3891. Changes in version 0.3.5.10 - 2020-03-18
  3892. Tor 0.3.5.10 backports many fixes from later Tor releases, including a
  3893. fix for TROVE-2020-002, a major denial-of-service vulnerability that
  3894. affected all released Tor instances since 0.2.1.5-alpha. Using this
  3895. vulnerability, an attacker could cause Tor instances to consume a huge
  3896. amount of CPU, disrupting their operations for several seconds or
  3897. minutes. This attack could be launched by anybody against a relay, or
  3898. by a directory cache against any client that had connected to it. The
  3899. attacker could launch this attack as much as they wanted, thereby
  3900. disrupting service or creating patterns that could aid in traffic
  3901. analysis. This issue was found by OSS-Fuzz, and is also tracked
  3902. as CVE-2020-10592.
  3903. We do not have reason to believe that this attack is currently being
  3904. exploited in the wild, but nonetheless we advise everyone to upgrade
  3905. as soon as packages are available.
  3906. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  3907. - Fix a denial-of-service bug that could be used by anyone to
  3908. consume a bunch of CPU on any Tor relay or authority, or by
  3909. directories to consume a bunch of CPU on clients or hidden
  3910. services. Because of the potential for CPU consumption to
  3911. introduce observable timing patterns, we are treating this as a
  3912. high-severity security issue. Fixes bug 33119; bugfix on
  3913. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  3914. as TROVE-2020-002 and CVE-2020-10592.
  3915. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  3916. - Correct how we use libseccomp. Particularly, stop assuming that
  3917. rules are applied in a particular order or that more rules are
  3918. processed after the first match. Neither is the case! In
  3919. libseccomp <2.4.0 this lead to some rules having no effect.
  3920. libseccomp 2.4.0 changed how rules are generated, leading to a
  3921. different ordering, which in turn led to a fatal crash during
  3922. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  3923. Peter Gerber.
  3924. o Minor features (continuous integration, backport from 0.4.3.2-alpha):
  3925. - Stop allowing failures on the Travis CI stem tests job. It looks
  3926. like all the stem hangs we were seeing before are now fixed.
  3927. Closes ticket 33075.
  3928. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  3929. - Lowercase the configured value of BridgeDistribution before adding
  3930. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  3931. o Minor bugfixes (crash, backport from 0.4.2.4-rc):
  3932. - When running Tor with an option like --verify-config or
  3933. --dump-config that does not start the event loop, avoid crashing
  3934. if we try to exit early because of an error. Fixes bug 32407;
  3935. bugfix on 0.3.3.1-alpha.
  3936. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  3937. - If we encounter a bug when flushing a buffer to a TLS connection,
  3938. only log the bug once per invocation of the Tor process.
  3939. Previously we would log with every occurrence, which could cause
  3940. us to run out of disk space. Fixes bug 33093; bugfix
  3941. on 0.3.2.2-alpha.
  3942. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  3943. - Fix an assertion failure that could result from a corrupted
  3944. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  3945. bugfix on 0.3.3.1-alpha. This issue is also tracked
  3946. as TROVE-2020-003.
  3947. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  3948. - Fix a syntax warning given by newer versions of Rust that was
  3949. creating problems for our continuous integration. Fixes bug 33212;
  3950. bugfix on 0.3.5.1-alpha.
  3951. o Testing (backport from 0.4.3.1-alpha):
  3952. - Re-enable the Travis CI macOS Chutney build, but don't let it
  3953. prevent the Travis job from finishing. (The Travis macOS jobs are
  3954. slow, so we don't want to have it delay the whole CI process.)
  3955. Closes ticket 32629.
  3956. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  3957. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  3958. fix the sandbox errors in 32722. Closes ticket 32240.
  3959. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  3960. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  3961. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  3962. - Remove a redundant distcheck job. Closes ticket 33194.
  3963. - Sort the Travis jobs in order of speed: putting the slowest jobs
  3964. first takes full advantage of Travis job concurrency. Closes
  3965. ticket 33194.
  3966. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  3967. previously configured to fast_finish (which requires
  3968. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  3969. tool to produce detailed diagnostic output. Closes ticket 32792.
  3970. Changes in version 0.4.3.2-alpha - 2020-02-10
  3971. This is the second stable alpha release in the Tor 0.4.3.x series. It
  3972. fixes several bugs present in the previous alpha release. Anybody
  3973. running the previous alpha should upgrade, and look for bugs in this
  3974. one instead.
  3975. o Major bugfixes (onion service client, authorization):
  3976. - On a NEWNYM signal, purge entries from the ephemeral client
  3977. authorization cache. The permanent ones are kept. Fixes bug 33139;
  3978. bugfix on 0.4.3.1-alpha.
  3979. o Minor features (best practices tracker):
  3980. - Practracker now supports a --regen-overbroad option to regenerate
  3981. the exceptions file, but only to revise exceptions to be _less_
  3982. tolerant of best-practices violations. Closes ticket 32372.
  3983. o Minor features (continuous integration):
  3984. - Run Doxygen Makefile target on Travis, so we can learn about
  3985. regressions in our internal documentation. Closes ticket 32455.
  3986. - Stop allowing failures on the Travis CI stem tests job. It looks
  3987. like all the stem hangs we were seeing before are now fixed.
  3988. Closes ticket 33075.
  3989. o Minor bugfixes (build system):
  3990. - Revise configure options that were either missing or incorrect in
  3991. the configure summary. Fixes bug 32230; bugfix on 0.4.3.1-alpha.
  3992. o Minor bugfixes (controller protocol):
  3993. - Fix a memory leak introduced by refactoring of control reply
  3994. formatting code. Fixes bug 33039; bugfix on 0.4.3.1-alpha.
  3995. - Fix a memory leak in GETINFO responses. Fixes bug 33103; bugfix
  3996. on 0.4.3.1-alpha.
  3997. - When receiving "ACTIVE" or "DORMANT" signals on the control port,
  3998. report them as SIGNAL events. Previously we would log a bug
  3999. warning. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
  4000. o Minor bugfixes (logging):
  4001. - If we encounter a bug when flushing a buffer to a TLS connection,
  4002. only log the bug once per invocation of the Tor process.
  4003. Previously we would log with every occurrence, which could cause
  4004. us to run out of disk space. Fixes bug 33093; bugfix
  4005. on 0.3.2.2-alpha.
  4006. - When logging a bug, do not say "Future instances of this warning
  4007. will be silenced" unless we are actually going to silence them.
  4008. Previously we would say this whenever a BUG() check failed in the
  4009. code. Fixes bug 33095; bugfix on 0.4.1.1-alpha.
  4010. o Minor bugfixes (onion service v2):
  4011. - Move a series of v2 onion service warnings to protocol-warning
  4012. level because they can all be triggered remotely by a malformed
  4013. request. Fixes bug 32706; bugfix on 0.1.1.14-alpha.
  4014. o Minor bugfixes (onion service v3, client authorization):
  4015. - When removing client authorization credentials using the control
  4016. port, also remove the associated descriptor, so the onion service
  4017. can no longer be contacted. Fixes bug 33148; bugfix
  4018. on 0.4.3.1-alpha.
  4019. o Minor bugfixes (pluggable transports):
  4020. - When receiving a message on standard error from a pluggable
  4021. transport, log it at info level, rather than as a warning. Fixes
  4022. bug 33005; bugfix on 0.4.0.1-alpha.
  4023. o Minor bugfixes (rust, build):
  4024. - Fix a syntax warning given by newer versions of Rust that was
  4025. creating problems for our continuous integration. Fixes bug 33212;
  4026. bugfix on 0.3.5.1-alpha.
  4027. o Minor bugfixes (TLS bug handling):
  4028. - When encountering a bug in buf_read_from_tls(), return a "MISC"
  4029. error code rather than "WANTWRITE". This change might help avoid
  4030. some CPU-wasting loops if the bug is ever triggered. Bug reported
  4031. by opara. Fixes bug 32673; bugfix on 0.3.0.4-alpha.
  4032. o Code simplification and refactoring (mainloop):
  4033. - Simplify the ip_address_changed() function by removing redundant
  4034. checks. Closes ticket 33091.
  4035. o Documentation (manpage):
  4036. - Split "Circuit Timeout" options and "Node Selection" options into
  4037. their own sections of the tor manpage. Closes tickets 32928 and
  4038. 32929. Work by Swati Thacker as part of Google Season of Docs.
  4039. Changes in version 0.4.2.6 - 2020-01-30
  4040. This is the second stable release in the 0.4.2.x series. It backports
  4041. several bugfixes from 0.4.3.1-alpha, including some that had affected
  4042. the Linux seccomp2 sandbox or Windows services. If you're running with
  4043. one of those configurations, you'll probably want to upgrade;
  4044. otherwise, you should be fine with 0.4.2.5.
  4045. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  4046. - Correct how we use libseccomp. Particularly, stop assuming that
  4047. rules are applied in a particular order or that more rules are
  4048. processed after the first match. Neither is the case! In
  4049. libseccomp <2.4.0 this led to some rules having no effect.
  4050. libseccomp 2.4.0 changed how rules are generated, leading to a
  4051. different ordering, which in turn led to a fatal crash during
  4052. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  4053. Peter Gerber.
  4054. - Fix crash when reloading logging configuration while the
  4055. experimental sandbox is enabled. Fixes bug 32841; bugfix on
  4056. 0.4.1.7. Patch by Peter Gerber.
  4057. o Minor bugfixes (correctness checks, backport from 0.4.3.1-alpha):
  4058. - Use GCC/Clang's printf-checking feature to make sure that
  4059. tor_assertf() arguments are correctly typed. Fixes bug 32765;
  4060. bugfix on 0.4.1.1-alpha.
  4061. o Minor bugfixes (logging, crash, backport from 0.4.3.1-alpha):
  4062. - Avoid a possible crash when trying to log a (fatal) assertion
  4063. failure about mismatched magic numbers in configuration objects.
  4064. Fixes bug 32771; bugfix on 0.4.2.1-alpha.
  4065. o Minor bugfixes (testing, backport from 0.4.3.1-alpha):
  4066. - When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
  4067. test_practracker.sh script. Doing so caused a test failure. Fixes
  4068. bug 32705; bugfix on 0.4.2.1-alpha.
  4069. - When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr when
  4070. skipping practracker checks. Fixes bug 32705; bugfix
  4071. on 0.4.2.1-alpha.
  4072. o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
  4073. - Initialize the publish/subscribe system when running as a windows
  4074. service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
  4075. o Testing (backport from 0.4.3.1-alpha):
  4076. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  4077. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  4078. fix the sandbox errors in 32722. Closes ticket 32240.
  4079. - Re-enable the Travis CI macOS Chutney build, but don't let it
  4080. prevent the Travis job from finishing. (The Travis macOS jobs are
  4081. slow, so we don't want to have it delay the whole CI process.)
  4082. Closes ticket 32629.
  4083. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  4084. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  4085. Changes in version 0.4.1.8 - 2020-01-30
  4086. This release backports several bugfixes from later release series,
  4087. including some that had affected the Linux seccomp2 sandbox or Windows
  4088. services. If you're running with one of those configurations, you'll
  4089. probably want to upgrade; otherwise, you should be fine with your
  4090. current version of 0.4.1.x.
  4091. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  4092. - Correct how we use libseccomp. Particularly, stop assuming that
  4093. rules are applied in a particular order or that more rules are
  4094. processed after the first match. Neither is the case! In
  4095. libseccomp <2.4.0 this led to some rules having no effect.
  4096. libseccomp 2.4.0 changed how rules are generated, leading to a
  4097. different ordering, which in turn led to a fatal crash during
  4098. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  4099. Peter Gerber.
  4100. - Fix crash when reloading logging configuration while the
  4101. experimental sandbox is enabled. Fixes bug 32841; bugfix on
  4102. 0.4.1.7. Patch by Peter Gerber.
  4103. o Minor bugfixes (crash, backport form 0.4.2.4-rc):
  4104. - When running Tor with an option like --verify-config or
  4105. --dump-config that does not start the event loop, avoid crashing
  4106. if we try to exit early because of an error. Fixes bug 32407;
  4107. bugfix on 0.3.3.1-alpha.
  4108. o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
  4109. - Initialize the publish/subscribe system when running as a windows
  4110. service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
  4111. o Testing (backport from 0.4.3.1-alpha):
  4112. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  4113. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  4114. fix the sandbox errors in 32722. Closes ticket 32240.
  4115. - Re-enable the Travis CI macOS Chutney build, but don't let it
  4116. prevent the Travis job from finishing. (The Travis macOS jobs are
  4117. slow, so we don't want to have it delay the whole CI process.)
  4118. Closes ticket 32629.
  4119. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  4120. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  4121. Changes in version 0.4.3.1-alpha - 2020-01-22
  4122. This is the first alpha release in the 0.4.3.x series. It includes
  4123. improved support for application integration of onion services, support
  4124. for building in a client-only mode, and newly improved internal
  4125. documentation (online at https://src-ref.docs.torproject.org/tor/). It
  4126. also has numerous other small bugfixes and features, as well as
  4127. improvements to our code's internal organization that should help us
  4128. write better code in the future.
  4129. o New system requirements:
  4130. - When building Tor, you now need to have Python 3 in order to run
  4131. the integration tests. (Python 2 is officially unsupported
  4132. upstream, as of 1 Jan 2020.) Closes ticket 32608.
  4133. o Major features (build system):
  4134. - The relay code can now be disabled using the --disable-module-relay
  4135. configure option. When this option is set, we also disable the
  4136. dirauth module. Closes ticket 32123.
  4137. - When Tor is compiled --disable-module-relay, we also omit the code
  4138. used to act as a directory cache. Closes ticket 32487.
  4139. o Major features (directory authority, ed25519):
  4140. - Add support for banning a relay's ed25519 keys in the approved-
  4141. routers file. This will help us migrate away from RSA keys in the
  4142. future. Previously, only RSA keys could be banned in approved-
  4143. routers. Resolves ticket 22029. Patch by Neel Chauhan.
  4144. o Major features (onion service, controller):
  4145. - New control port commands to manage client-side onion service
  4146. authorization credentials. The ONION_CLIENT_AUTH_ADD command adds
  4147. a credential, ONION_CLIENT_AUTH_REMOVE deletes a credential, and
  4148. ONION_CLIENT_AUTH_VIEW lists the credentials. Closes ticket 30381.
  4149. o Major features (onion service, SOCKS5):
  4150. - Introduce a new SocksPort flag, ExtendedErrors, to support more
  4151. detailed error codes in information for applications that support
  4152. them. Closes ticket 30382; implements proposal 304.
  4153. o Major features (proxy):
  4154. - In addition to its current supported proxy types (HTTP CONNECT,
  4155. SOCKS4, and SOCKS5), Tor can now make its OR connections through a
  4156. HAProxy server. A new torrc option was added to specify the
  4157. address/port of the server: TCPProxy <protocol> <host>:<port>.
  4158. Currently the only supported protocol for the option is haproxy.
  4159. Closes ticket 31518. Patch done by Suphanat Chunhapanya (haxxpop).
  4160. o Major bugfixes (linux seccomp sandbox):
  4161. - Correct how we use libseccomp. Particularly, stop assuming that
  4162. rules are applied in a particular order or that more rules are
  4163. processed after the first match. Neither is the case! In
  4164. libseccomp <2.4.0 this led to some rules having no effect.
  4165. libseccomp 2.4.0 changed how rules are generated, leading to a
  4166. different ordering, which in turn led to a fatal crash during
  4167. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  4168. Peter Gerber.
  4169. - Fix crash when reloading logging configuration while the
  4170. experimental sandbox is enabled. Fixes bug 32841; bugfix on
  4171. 0.4.1.7. Patch by Peter Gerber.
  4172. o Major bugfixes (networking):
  4173. - Correctly handle IPv6 addresses in SOCKS5 RESOLVE_PTR requests,
  4174. and accept strings as well as binary addresses. Fixes bug 32315;
  4175. bugfix on 0.3.5.1-alpha.
  4176. o Major bugfixes (onion service):
  4177. - Report HS circuit failure back into the HS subsystem so we take
  4178. appropriate action with regards to the client introduction point
  4179. failure cache. This improves reachability of onion services, since
  4180. now clients notice failing introduction circuits properly. Fixes
  4181. bug 32020; bugfix on 0.3.2.1-alpha.
  4182. o Minor feature (configure, build system):
  4183. - Output a list of enabled/disabled features at the end of the
  4184. configure process in a pleasing way. Closes ticket 31373.
  4185. o Minor feature (heartbeat, onion service):
  4186. - Add the DoS INTRODUCE2 defenses counter to the heartbeat DoS
  4187. message. Closes ticket 31371.
  4188. o Minor features (configuration validation):
  4189. - Configuration validation can now be done by per-module callbacks,
  4190. rather than a global validation function. This will let us reduce
  4191. the size of config.c and some of its more cumbersome functions.
  4192. Closes ticket 31241.
  4193. o Minor features (configuration):
  4194. - If a configured hardware crypto accelerator in AccelName is
  4195. prefixed with "!", Tor now exits when it cannot be found. Closes
  4196. ticket 32406.
  4197. - We now use flag-driven logic to warn about obsolete configuration
  4198. fields, so that we can include their names. In 0.4.2, we used a
  4199. special type, which prevented us from generating good warnings.
  4200. Implements ticket 32404.
  4201. o Minor features (controller):
  4202. - Add stream isolation data to STREAM event. Closes ticket 19859.
  4203. - Implement a new GETINFO command to fetch microdescriptor
  4204. consensus. Closes ticket 31684.
  4205. o Minor features (debugging, directory system):
  4206. - Don't crash when we find a non-guard with a guard-fraction value
  4207. set. Instead, log a bug warning, in an attempt to figure out how
  4208. this happened. Diagnostic for ticket 32868.
  4209. o Minor features (defense in depth):
  4210. - Add additional checks around tor_vasprintf() usage, in case the
  4211. function returns an error. Patch by Tobias Stoeckmann. Fixes
  4212. ticket 31147.
  4213. o Minor features (developer tooling):
  4214. - Remove the 0.2.9.x series branches from git scripts (git-merge-
  4215. forward.sh, git-pull-all.sh, git-push-all.sh, git-setup-dirs.sh).
  4216. Closes ticket 32772.
  4217. o Minor features (developer tools):
  4218. - Add a check_cocci_parse.sh script that checks that new code is
  4219. parseable by Coccinelle. Add an exceptions file for unparseable
  4220. files, and run the script from travis CI. Closes ticket 31919.
  4221. - Call the check_cocci_parse.sh script from a 'check-cocci' Makefile
  4222. target. Closes ticket 31919.
  4223. - Add a rename_c_identifiers.py tool to rename a bunch of C
  4224. identifiers at once, and generate a well-formed commit message
  4225. describing the change. This should help with refactoring. Closes
  4226. ticket 32237.
  4227. - Add some scripts in "scripts/coccinelle" to invoke the Coccinelle
  4228. semantic patching tool with the correct flags. These flags are
  4229. fairly easy to forget, and these scripts should help us use
  4230. Coccinelle more effectively in the future. Closes ticket 31705.
  4231. o Minor features (Doxygen):
  4232. - Update Doxygen configuration file to a more recent template (from
  4233. 1.8.15). Closes ticket 32110.
  4234. - "make doxygen" now works with out-of-tree builds. Closes
  4235. ticket 32113.
  4236. - Make sure that doxygen outputs documentation for all of our C
  4237. files. Previously, some were missing @file declarations, causing
  4238. them to be ignored. Closes ticket 32307.
  4239. - Our "make doxygen" target now respects --enable-fatal-warnings by
  4240. default, and does not warn about items that are missing
  4241. documentation. To warn about missing documentation, run configure
  4242. with the "--enable-missing-doc-warnings" flag: doing so suspends
  4243. fatal warnings for doxygen. Closes ticket 32385.
  4244. o Minor features (git scripts):
  4245. - Add TOR_EXTRA_CLONE_ARGS to git-setup-dirs.sh for git clone
  4246. customisation. Closes ticket 32347.
  4247. - Add git-setup-dirs.sh, which sets up an upstream git repository
  4248. and worktrees for tor maintainers. Closes ticket 29603.
  4249. - Add TOR_EXTRA_REMOTE_* to git-setup-dirs.sh for a custom extra
  4250. remote. Closes ticket 32347.
  4251. - Call the check_cocci_parse.sh script from the git commit and push
  4252. hooks. Closes ticket 31919.
  4253. - Make git-push-all.sh skip unchanged branches when pushing to
  4254. upstream. The script already skipped unchanged test branches.
  4255. Closes ticket 32216.
  4256. - Make git-setup-dirs.sh create a master symlink in the worktree
  4257. directory. Closes ticket 32347.
  4258. - Skip unmodified source files when doing some existing git hook
  4259. checks. Related to ticket 31919.
  4260. o Minor features (IPv6, client):
  4261. - Make Tor clients tell dual-stack exits that they prefer IPv6
  4262. connections. This change is equivalent to setting the PreferIPv6
  4263. flag on SOCKSPorts (and most other listener ports). Tor Browser
  4264. has been setting this flag for some time, and we want to remove a
  4265. client distinguisher at exits. Closes ticket 32637.
  4266. o Minor features (portability, android):
  4267. - When building for Android, disable some tests that depend on $HOME
  4268. and/or pwdb, which Android doesn't have. Closes ticket 32825.
  4269. Patch from Hans-Christoph Steiner.
  4270. o Minor features (relay modularity):
  4271. - Split the relay and server pluggable transport config code into
  4272. separate files in the relay module. Disable this code when the
  4273. relay module is disabled. Closes part of ticket 32213.
  4274. - When the relay module is disabled, reject attempts to set the
  4275. ORPort, DirPort, DirCache, BridgeRelay, ExtORPort, or
  4276. ServerTransport* options, rather than ignoring the values of these
  4277. options. Closes part of ticket 32213.
  4278. o Minor features (relay):
  4279. - When the relay module is disabled, change the default config so
  4280. that DirCache is 0, and ClientOnly is 1. Closes ticket 32410.
  4281. o Minor features (release tools):
  4282. - Port our ChangeLog formatting and sorting tools to Python 3.
  4283. Closes ticket 32704.
  4284. o Minor features (testing):
  4285. - Detect some common failure cases for test_parseconf.sh in
  4286. src/test/conf_failures. Closes ticket 32451.
  4287. - Allow test_parseconf.sh to test expected log outputs for successful
  4288. configs, as well as failed configs. Closes ticket 32451.
  4289. - The test_parseconf.sh script now supports result variants for any
  4290. combination of the optional libraries lzma, nss, and zstd. Closes
  4291. ticket 32397.
  4292. o Minor features (tests, Android):
  4293. - When running the unit tests on Android, create temporary files in
  4294. a subdirectory of /data/local/tmp. Closes ticket 32172. Based on a
  4295. patch from Hans-Christoph Steiner.
  4296. o Minor bugfixes (bridges):
  4297. - Lowercase the configured value of BridgeDistribution before adding
  4298. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  4299. o Minor bugfixes (build system):
  4300. - Fix "make autostyle" for out-of-tree builds. Fixes bug 32370;
  4301. bugfix on 0.4.1.2-alpha.
  4302. o Minor bugfixes (configuration handling):
  4303. - Make control_event_conf_changed() take in a config_line_t instead
  4304. of a smartlist of alternating key/value entries. Fixes bug 31531;
  4305. bugfix on 0.2.3.3-alpha. Patch by Neel Chauhan.
  4306. o Minor bugfixes (configuration):
  4307. - Check for multiplication overflow when parsing memory units inside
  4308. configuration. Fixes bug 30920; bugfix on 0.0.9rc1.
  4309. - When dumping the configuration, stop adding a trailing space after
  4310. the option name when there is no option value. This issue only
  4311. affects options that accept an empty value or list. (Most options
  4312. reject empty values, or delete the entire line from the dumped
  4313. options.) Fixes bug 32352; bugfix on 0.0.9pre6.
  4314. - Avoid changing the user's value of HardwareAccel as stored by
  4315. SAVECONF, when AccelName is set but HardwareAccel is not. Fixes
  4316. bug 32382; bugfix on 0.2.2.1-alpha.
  4317. - When creating a KeyDirectory with the same location as the
  4318. DataDirectory (not recommended), respect the DataDirectory's
  4319. group-readable setting if one has not been set for the
  4320. KeyDirectory. Fixes bug 27992; bugfix on 0.3.3.1-alpha.
  4321. o Minor bugfixes (controller):
  4322. - In routerstatus_has_changed(), check all the fields that are
  4323. output over the control port. Fixes bug 20218; bugfix
  4324. on 0.1.1.11-alpha
  4325. o Minor bugfixes (correctness checks):
  4326. - Use GCC/Clang's printf-checking feature to make sure that
  4327. tor_assertf() arguments are correctly typed. Fixes bug 32765;
  4328. bugfix on 0.4.1.1-alpha.
  4329. o Minor bugfixes (developer tools):
  4330. - Allow paths starting with ./ in scripts/add_c_file.py. Fixes bug
  4331. 31336; bugfix on 0.4.1.2-alpha.
  4332. o Minor bugfixes (dirauth module):
  4333. - Split the dirauth config code into a separate file in the dirauth
  4334. module. Disable this code when the dirauth module is disabled.
  4335. Closes ticket 32213.
  4336. - When the dirauth module is disabled, reject attempts to set the
  4337. AuthoritativeDir option, rather than ignoring the value of the
  4338. option. Fixes bug 32213; bugfix on 0.3.4.1-alpha.
  4339. o Minor bugfixes (embedded Tor):
  4340. - When starting Tor any time after the first time in a process,
  4341. register the thread in which it is running as the main thread.
  4342. Previously, we only did this on Windows, which could lead to bugs
  4343. like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
  4344. on 0.3.3.1-alpha.
  4345. o Minor bugfixes (git scripts):
  4346. - Avoid sleeping before the last push in git-push-all.sh. Closes
  4347. ticket 32216.
  4348. - Forward all unrecognised arguments in git-push-all.sh to git push.
  4349. Closes ticket 32216.
  4350. o Minor bugfixes (hidden service v3):
  4351. - Do not rely on a "circuit established" flag for intro circuits but
  4352. instead always query the HS circuit map. This is to avoid sync
  4353. issue with that flag and the map. Fixes bug 32094; bugfix
  4354. on 0.3.2.1-alpha.
  4355. o Minor bugfixes (logging, crash):
  4356. - Avoid a possible crash when trying to log a (fatal) assertion
  4357. failure about mismatched magic numbers in configuration objects.
  4358. Fixes bug 32771; bugfix on 0.4.2.1-alpha.
  4359. o Minor bugfixes (onion service v2):
  4360. - When sending the INTRO cell for a v2 Onion Service, look at the
  4361. failure cache alongside timeout values to check if the intro point
  4362. is marked as failed. Previously, we only looked at the relay
  4363. timeout values. Fixes bug 25568; bugfix on 0.2.7.3-rc. Patch by
  4364. Neel Chauhan.
  4365. o Minor bugfixes (onion services v3, client):
  4366. - Properly handle the client rendezvous circuit timeout. Previously
  4367. Tor would sometimes timeout a rendezvous circuit awaiting the
  4368. introduction ACK, and find itself unable to re-establish all
  4369. circuits because the rendezvous circuit timed out too early. Fixes
  4370. bug 32021; bugfix on 0.3.2.1-alpha.
  4371. o Minor bugfixes (onion services):
  4372. - In cancel_descriptor_fetches(), use
  4373. connection_list_by_type_purpose() instead of
  4374. connection_list_by_type_state(). Fixes bug 32639; bugfix on
  4375. 0.3.2.1-alpha. Patch by Neel Chauhan.
  4376. o Minor bugfixes (scripts):
  4377. - Fix update_versions.py for out-of-tree builds. Fixes bug 32371;
  4378. bugfix on 0.4.0.1-alpha.
  4379. o Minor bugfixes (test):
  4380. - Use the same code to find the tor binary in all of our test
  4381. scripts. This change makes sure we are always using the coverage
  4382. binary when coverage is enabled. Fixes bug 32368; bugfix
  4383. on 0.2.7.3-rc.
  4384. o Minor bugfixes (testing):
  4385. - Stop ignoring "tor --dump-config" errors in test_parseconf.sh.
  4386. Fixes bug 32468; bugfix on 0.4.2.1-alpha.
  4387. - When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
  4388. test_practracker.sh script. Doing so caused a test failure. Fixes
  4389. bug 32705; bugfix on 0.4.2.1-alpha.
  4390. - When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr when
  4391. skipping practracker checks. Fixes bug 32705; bugfix
  4392. on 0.4.2.1-alpha.
  4393. o Minor bugfixes (tests):
  4394. - Our option-validation tests no longer depend on specially
  4395. configured non-default, non-passing sets of options. Previously,
  4396. the tests had been written to assume that options would _not_ be
  4397. set to their defaults, which led to needless complexity and
  4398. verbosity. Fixes bug 32175; bugfix on 0.2.8.1-alpha.
  4399. o Minor bugfixes (windows service):
  4400. - Initialize the publish/subscribe system when running as a windows
  4401. service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
  4402. o Deprecated features:
  4403. - Deprecate the ClientAutoIPv6ORPort option. This option was not
  4404. true "Happy Eyeballs", and often failed on connections that
  4405. weren't reliably dual-stack. Closes ticket 32942. Patch by
  4406. Neel Chauhan.
  4407. o Documentation:
  4408. - Provide a quickstart guide for a Circuit Padding Framework, and
  4409. documentation for researchers to implement and study circuit
  4410. padding machines. Closes ticket 28804.
  4411. - Add documentation in 'HelpfulTools.md' to describe how to build a
  4412. tag file. Closes ticket 32779.
  4413. - Create a high-level description of the long-term software
  4414. architecture goals. Closes ticket 32206.
  4415. - Describe the --dump-config command in the manual page. Closes
  4416. ticket 32467.
  4417. - Unite coding advice from this_not_that.md in torguts repo into our
  4418. coding standards document. Resolves ticket 31853.
  4419. o Removed features:
  4420. - Our Doxygen configuration no longer generates LaTeX output. The
  4421. reference manual produced by doing this was over 4000 pages long,
  4422. and generally unusable. Closes ticket 32099.
  4423. - The option "TestingEstimatedDescriptorPropagationTime" is now
  4424. marked as obsolete. It has had no effect since 0.3.0.7, when
  4425. clients stopped rejecting consensuses "from the future". Closes
  4426. ticket 32807.
  4427. - We no longer support consensus methods before method 28; these
  4428. methods were only used by authorities running versions of Tor that
  4429. are now at end-of-life. In effect, this means that clients,
  4430. relays, and authorities now assume that authorities will be
  4431. running version 0.3.5.x or later. Closes ticket 32695.
  4432. o Testing:
  4433. - Add more test cases for tor's UTF-8 validation function. Also,
  4434. check the arguments passed to the function for consistency. Closes
  4435. ticket 32845.
  4436. - Improve test coverage for relay and dirauth config code, focusing
  4437. on option validation and normalization. Closes ticket 32213.
  4438. - Improve the consistency of test_parseconf.sh output, and run all
  4439. the tests, even if one fails. Closes ticket 32213.
  4440. - Re-enable the Travis CI macOS Chutney build, but don't let it
  4441. prevent the Travis job from finishing. (The Travis macOS jobs are
  4442. slow, so we don't want to have it delay the whole CI process.)
  4443. Closes ticket 32629.
  4444. - Run the practracker unit tests in the pre-commit git hook. Closes
  4445. ticket 32609.
  4446. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  4447. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  4448. fix the sandbox errors in 32722. Closes ticket 32240.
  4449. o Code simplification and refactoring (channel):
  4450. - Channel layer had a variable length cell handler that was not used
  4451. and thus removed. Closes ticket 32892.
  4452. o Code simplification and refactoring (configuration):
  4453. - Immutability is now implemented as a flag on individual
  4454. configuration options rather than as part of the option-transition
  4455. checking code. Closes ticket 32344.
  4456. - Instead of keeping a list of configuration options to check for
  4457. relative paths, check all the options whose type is "FILENAME".
  4458. Solves part of ticket 32339.
  4459. - Our default log (which ordinarily sends NOTICE-level messages to
  4460. standard output) is now handled in a more logical manner.
  4461. Previously, we replaced the configured log options if they were
  4462. empty. Now, we interpret an empty set of log options as meaning
  4463. "use the default log". Closes ticket 31999.
  4464. - Remove some unused arguments from the options_validate() function,
  4465. to simplify our code and tests. Closes ticket 32187.
  4466. - Simplify the options_validate() code so that it looks at the
  4467. default options directly, rather than taking default options as an
  4468. argument. This change lets us simplify its interface. Closes
  4469. ticket 32185.
  4470. - Use our new configuration architecture to move most authority-
  4471. related options to the directory authority module. Closes
  4472. ticket 32806.
  4473. - When parsing the command line, handle options that determine our
  4474. "quiet level" and our mode of operation (e.g., --dump-config and
  4475. so on) all in one table. Closes ticket 32003.
  4476. o Code simplification and refactoring (controller):
  4477. - Create a new abstraction for formatting control protocol reply
  4478. lines based on key-value pairs. Refactor some existing control
  4479. protocol code to take advantage of this. Closes ticket 30984.
  4480. - Create a helper function that can fetch network status or
  4481. microdesc consensuses. Closes ticket 31684.
  4482. o Code simplification and refactoring (dirauth modularization):
  4483. - Remove the last remaining HAVE_MODULE_DIRAUTH inside a function.
  4484. Closes ticket 32163.
  4485. - Replace some confusing identifiers in process_descs.c. Closes
  4486. ticket 29826.
  4487. - Simplify some relay and dirauth config code. Closes ticket 32213.
  4488. o Code simplification and refactoring (misc):
  4489. - Make all the structs we declare follow the same naming convention
  4490. of ending with "_t". Closes ticket 32415.
  4491. - Move and rename some configuration-related code for clarity.
  4492. Closes ticket 32304.
  4493. - Our include.am files are now broken up by subdirectory.
  4494. Previously, src/core/include.am covered all of the subdirectories
  4495. in "core", "feature", and "app". Closes ticket 32137.
  4496. - Remove underused NS*() macros from test code: they make our tests
  4497. more confusing, especially for code-formatting tools. Closes
  4498. ticket 32887.
  4499. o Code simplification and refactoring (relay modularization):
  4500. - Disable relay_periodic when the relay module is disabled. Closes
  4501. ticket 32244.
  4502. - Disable relay_sys when the relay module is disabled. Closes
  4503. ticket 32245.
  4504. o Code simplification and refactoring (tool support):
  4505. - Add numerous missing dependencies to our include files, so that
  4506. they can be included in different reasonable orders and still
  4507. compile. Addresses part of ticket 32764.
  4508. - Fix some parts of our code that were difficult for Coccinelle to
  4509. parse. Related to ticket 31705.
  4510. - Fix some small issues in our code that prevented automatic
  4511. formatting tools from working. Addresses part of ticket 32764.
  4512. o Documentation (manpage):
  4513. - Alphabetize the Client Options section of the tor manpage. Closes
  4514. ticket 32846.
  4515. - Alphabetize the General Options section of the tor manpage. Closes
  4516. ticket 32708.
  4517. - In the tor(1) manpage, reword and improve formatting of the
  4518. COMMAND-LINE OPTIONS and DESCRIPTION sections. Closes ticket
  4519. 32277. Based on work by Swati Thacker as part of Google Season
  4520. of Docs.
  4521. - In the tor(1) manpage, reword and improve formatting of the FILES,
  4522. SEE ALSO, and BUGS sections. Closes ticket 32176. Based on work by
  4523. Swati Thacker as part of Google Season of Docs.
  4524. o Testing (circuit, EWMA):
  4525. - Add unit tests for circuitmux and EWMA subsystems. Closes
  4526. ticket 32196.
  4527. o Testing (continuous integration):
  4528. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  4529. Changes in version 0.4.2.5 - 2019-12-09
  4530. This is the first stable release in the 0.4.2.x series. This series
  4531. improves reliability and stability, and includes several stability and
  4532. correctness improvements for onion services. It also fixes many smaller
  4533. bugs present in previous series.
  4534. Per our support policy, we will support the 0.4.2.x series for nine
  4535. months, or until three months after the release of a stable 0.4.3.x:
  4536. whichever is longer. If you need longer-term support, please stick
  4537. with 0.3.5.x, which will we plan to support until Feb 2022.
  4538. Per our support policy, we will support the 0.4.2.x series for nine
  4539. months, or until three months after the release of a stable 0.4.3.x:
  4540. whichever is longer. If you need longer-term support, please stick
  4541. with 0.3.5.x, which will we plan to support until Feb 2022.
  4542. Below are the changes since 0.4.1.4-rc. For a complete list of changes
  4543. since 0.4.1.5, see the ReleaseNotes file.
  4544. o Minor features (geoip):
  4545. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  4546. Country database. Closes ticket 32685.
  4547. o Testing:
  4548. - Require C99 standards-conforming code in Travis CI, but allow GNU
  4549. gcc extensions. Also activates clang's -Wtypedef-redefinition
  4550. warnings. Build some jobs with -std=gnu99, and some jobs without.
  4551. Closes ticket 32500.
  4552. Changes in version 0.4.1.7 - 2019-12-09
  4553. This release backports several bugfixes to improve stability and
  4554. correctness. Anyone experiencing build problems or crashes with 0.4.1.6,
  4555. including all relays relying on AccountingMax, should upgrade.
  4556. o Major features (directory authorities, backport from 0.4.2.2-alpha):
  4557. - Directory authorities now reject relays running all currently
  4558. deprecated release series. The currently supported release series
  4559. are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
  4560. o Major bugfixes (embedded Tor, backport from 0.4.2.2-alpha):
  4561. - Avoid a possible crash when restarting Tor in embedded mode and
  4562. enabling a different set of publish/subscribe messages. Fixes bug
  4563. 31898; bugfix on 0.4.1.1-alpha.
  4564. o Major bugfixes (relay, backport from 0.4.2.3-alpha):
  4565. - Relays now respect their AccountingMax bandwidth again. When
  4566. relays entered "soft" hibernation (which typically starts when
  4567. we've hit 90% of our AccountingMax), we had stopped checking
  4568. whether we should enter hard hibernation. Soft hibernation refuses
  4569. new connections and new circuits, but the existing circuits can
  4570. continue, meaning that relays could have exceeded their configured
  4571. AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
  4572. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  4573. - Stop ignoring torrc options after an %include directive, when the
  4574. included directory ends with a file that does not contain any
  4575. config options (but does contain comments or whitespace). Fixes
  4576. bug 31408; bugfix on 0.3.1.1-alpha.
  4577. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  4578. - Onion services now always use the exact number of intro points
  4579. configured with the HiddenServiceNumIntroductionPoints option (or
  4580. fewer if nodes are excluded). Before, a service could sometimes
  4581. pick more intro points than configured. Fixes bug 31548; bugfix
  4582. on 0.3.2.1-alpha.
  4583. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  4584. - When building on Appveyor and Travis, pass the "-k" flag to make,
  4585. so that we are informed of all compilation failures, not just the
  4586. first one or two. Closes ticket 31372.
  4587. o Minor features (geoip, backport from 0.4.2.5):
  4588. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  4589. Country database. Closes ticket 32685.
  4590. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  4591. - Avoid spurious errors when Appveyor CI fails before the install step.
  4592. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  4593. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  4594. - Fix a BUG() assertion that occurs within a very small race window
  4595. between when a client intro circuit opens and when its descriptor
  4596. gets cleaned up from the cache. The circuit is now closed early,
  4597. which will trigger a re-fetch of the descriptor and continue the
  4598. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  4599. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  4600. - Avoid trying to read data from closed connections, which can cause
  4601. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  4602. 30344; bugfix on 0.1.1.1-alpha.
  4603. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  4604. - On abort, try harder to flush the output buffers of log messages.
  4605. On some platforms (macOS), log messages could be discarded when
  4606. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  4607. - Report the tor version whenever an assertion fails. Previously, we
  4608. only reported the Tor version on some crashes, and some non-fatal
  4609. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  4610. - When tor aborts due to an error, close log file descriptors before
  4611. aborting. Closing the logs makes some OSes flush log file buffers,
  4612. rather than deleting buffered log lines. Fixes bug 31594; bugfix
  4613. on 0.2.5.2-alpha.
  4614. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  4615. - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
  4616. uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
  4617. - Disable backtrace signal handlers when shutting down tor. Fixes
  4618. bug 31614; bugfix on 0.2.5.2-alpha.
  4619. - Rate-limit the logging message about the obsolete .exit
  4620. notation. Previously, there was no limit on this warning, which
  4621. could potentially be triggered many times by a hostile website.
  4622. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  4623. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  4624. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  4625. cell on a connection using the obsolete v1 link protocol. Log a
  4626. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  4627. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  4628. - Reset the periodic events' "enabled" flag when Tor is shut down
  4629. cleanly. Previously, this flag was left on, which caused periodic
  4630. events not to be re-enabled when Tor was relaunched in-process
  4631. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  4632. on 0.3.3.1-alpha.
  4633. o Minor bugfixes (multithreading, backport from 0.4.2.2-alpha):
  4634. - Avoid some undefined behaviour when freeing mutexes. Fixes bug
  4635. 31736; bugfix on 0.0.7.
  4636. o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
  4637. - Remove overly strict assertions that triggered when a pluggable
  4638. transport failed to launch. Fixes bug 31091; bugfix
  4639. on 0.4.0.1-alpha.
  4640. - Remove an assertion in the Unix process backend. This assertion
  4641. would trigger when we failed to find the executable for a child
  4642. process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
  4643. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  4644. - Avoid crashing when starting with a corrupt keys directory where
  4645. the old ntor key and the new ntor key are identical. Fixes bug
  4646. 30916; bugfix on 0.2.4.8-alpha.
  4647. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  4648. - When testing port rebinding, don't busy-wait for tor to log.
  4649. Instead, actually sleep for a short time before polling again.
  4650. Also improve the formatting of control commands and log messages.
  4651. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  4652. o Minor bugfixes (tests, SunOS, backport from 0.4.2.2-alpha):
  4653. - Avoid a map_anon_nofork test failure due to a signed/unsigned
  4654. integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
  4655. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  4656. - Log bugs about the TLS read buffer's length only once, rather than
  4657. filling the logs with similar warnings. Fixes bug 31939; bugfix
  4658. on 0.3.0.4-rc.
  4659. o Documentation (backport from 0.4.2.2-alpha):
  4660. - Explain why we can't destroy the backtrace buffer mutex. Explain
  4661. why we don't need to destroy the log mutex. Closes ticket 31736.
  4662. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  4663. - Disable all but one Travis CI macOS build, to mitigate slow
  4664. scheduling of Travis macOS jobs. Closes ticket 32177.
  4665. - Run the chutney IPv6 networks as part of Travis CI. Closes
  4666. ticket 30860.
  4667. - Simplify the Travis CI build matrix, and optimise for build time.
  4668. Closes ticket 31859.
  4669. - Use Windows Server 2019 instead of Windows Server 2016 in our
  4670. Appveyor builds. Closes ticket 32086.
  4671. o Testing (continuous integration, backport from 0.4.2.4-rc):
  4672. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  4673. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  4674. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  4675. until we can fix some Bionic permissions issues (see ticket
  4676. 32240). Related to ticket 31919.
  4677. - Install the mingw OpenSSL package in Appveyor. This makes sure
  4678. that the OpenSSL headers and libraries match in Tor's Appveyor
  4679. builds. (This bug was triggered by an Appveyor image update.)
  4680. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  4681. o Testing (continuous integration, backport from 0.4.2.5):
  4682. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  4683. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  4684. Build some jobs with -std=gnu99, and some jobs without.
  4685. Closes ticket 32500.
  4686. Changes in version 0.4.0.6 - 2019-12-09
  4687. This is the second stable release in the 0.4.0.x series. This release
  4688. backports several bugfixes to improve stability and correctness. Anyone
  4689. experiencing build problems or crashes with 0.4.0.5, including all relays
  4690. relying on AccountingMax, should upgrade.
  4691. Note that, per our support policy, support for the 0.4.0.x series will end
  4692. on 2 Feb 2020. Anyone still running 0.4.0.x should plan to upgrade to the
  4693. latest stable release, or downgrade to 0.3.5.x, which will get long-term
  4694. support until 1 Feb 2022.
  4695. o Directory authority changes (backport from 0.4.1.5):
  4696. - The directory authority "dizum" has a new IP address. Closes
  4697. ticket 31406.
  4698. o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
  4699. - Consider our directory information to have changed when our list
  4700. of bridges changes. Previously, Tor would not re-compute the
  4701. status of its directory information when bridges changed, and
  4702. therefore would not realize that it was no longer able to build
  4703. circuits. Fixes part of bug 29875.
  4704. - Do not count previously configured working bridges towards our
  4705. total of working bridges. Previously, when Tor's list of bridges
  4706. changed, it would think that the old bridges were still usable,
  4707. and delay fetching router descriptors for the new ones. Fixes part
  4708. of bug 29875; bugfix on 0.3.0.1-alpha.
  4709. o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
  4710. - When considering upgrading circuits from "waiting for guard" to
  4711. "open", always ignore circuits that are marked for close. Otherwise,
  4712. we can end up in the situation where a subsystem is notified that
  4713. a closing circuit has just opened, leading to undesirable
  4714. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  4715. o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
  4716. - Properly clean up the introduction point map when circuits change
  4717. purpose from onion service circuits to pathbias, measurement, or
  4718. other circuit types. This should fix some service-side instances
  4719. of introduction point failure. Fixes bug 29034; bugfix
  4720. on 0.3.2.1-alpha.
  4721. o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
  4722. - Fix an unreachable bug in which an introduction point could try to
  4723. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  4724. to encode, leading the relay to assert(). We've consolidated the
  4725. ABI values into Trunnel now. Fixes bug 30454; bugfix
  4726. on 0.3.0.1-alpha.
  4727. - Clients can now handle unknown status codes from INTRODUCE_ACK
  4728. cells. (The NACK behavior will stay the same.) This will allow us
  4729. to extend status codes in the future without breaking the normal
  4730. client behavior. Fixes another part of bug 30454; bugfix
  4731. on 0.3.0.1-alpha.
  4732. o Major bugfixes (relay, backport from 0.4.2.3-alpha):
  4733. - Relays now respect their AccountingMax bandwidth again. When
  4734. relays entered "soft" hibernation (which typically starts when
  4735. we've hit 90% of our AccountingMax), we had stopped checking
  4736. whether we should enter hard hibernation. Soft hibernation refuses
  4737. new connections and new circuits, but the existing circuits can
  4738. continue, meaning that relays could have exceeded their configured
  4739. AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
  4740. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  4741. - Stop ignoring torrc options after an %include directive, when the
  4742. included directory ends with a file that does not contain any
  4743. config options (but does contain comments or whitespace). Fixes
  4744. bug 31408; bugfix on 0.3.1.1-alpha.
  4745. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  4746. - Onion services now always use the exact number of intro points
  4747. configured with the HiddenServiceNumIntroductionPoints option (or
  4748. fewer if nodes are excluded). Before, a service could sometimes
  4749. pick more intro points than configured. Fixes bug 31548; bugfix
  4750. on 0.3.2.1-alpha.
  4751. o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
  4752. - Add a "--list-modules" command to print a list of which compile-
  4753. time modules are enabled. Closes ticket 30452.
  4754. o Minor features (continuous integration, backport from 0.4.1.1-alpha):
  4755. - Remove sudo configuration lines from .travis.yml as they are no
  4756. longer needed with current Travis build environment. Resolves
  4757. issue 30213.
  4758. o Minor features (continuous integration, backport from 0.4.1.4-rc):
  4759. - Our Travis configuration now uses Chutney to run some network
  4760. integration tests automatically. Closes ticket 29280.
  4761. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  4762. - When building on Appveyor and Travis, pass the "-k" flag to make,
  4763. so that we are informed of all compilation failures, not just the
  4764. first one or two. Closes ticket 31372.
  4765. o Minor features (fallback directory list, backport from 0.4.1.4-rc):
  4766. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  4767. in December 2018 (of which ~122 were still functional), with a
  4768. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  4769. in June 2019. Closes ticket 28795.
  4770. o Minor features (geoip, backport from 0.4.2.5):
  4771. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  4772. Country database. Closes ticket 32685.
  4773. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  4774. - Change "make test-stem" so it only runs the stem tests that use
  4775. tor. This change makes test-stem faster and more reliable. Closes
  4776. ticket 31554.
  4777. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  4778. - Avoid spurious errors when Appveyor CI fails before the install step.
  4779. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  4780. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  4781. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  4782. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  4783. o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
  4784. - Fix a logic error that prevented the SessionGroup sub-option from
  4785. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  4786. o Minor bugfixes (circuit padding, backport from 0.4.1.4-rc):
  4787. - On relays, properly check that a padding machine is absent before
  4788. logging a warning about it being absent. Fixes bug 30649; bugfix
  4789. on 0.4.0.1-alpha.
  4790. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  4791. - Fix a BUG() assertion that occurs within a very small race window
  4792. between when a client intro circuit opens and when its descriptor
  4793. gets cleaned up from the cache. The circuit is now closed early,
  4794. which will trigger a re-fetch of the descriptor and continue the
  4795. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  4796. o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
  4797. - Don't believe clock skew results from NETINFO cells that appear to
  4798. arrive before we sent the VERSIONS cells they are responding to.
  4799. Previously, we would accept them up to 3 minutes "in the past".
  4800. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  4801. o Minor bugfixes (compilation warning, backport from 0.4.1.5):
  4802. - Fix a compilation warning on Windows about casting a function
  4803. pointer for GetTickCount64(). Fixes bug 31374; bugfix
  4804. on 0.2.9.1-alpha.
  4805. o Minor bugfixes (compilation, backport from 0.4.1.5):
  4806. - Avoid using labs() on time_t, which can cause compilation warnings
  4807. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  4808. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  4809. - Suppress spurious float-conversion warnings from GCC when calling
  4810. floating-point classifier functions on FreeBSD. Fixes part of bug
  4811. 31687; bugfix on 0.3.1.5-alpha.
  4812. o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
  4813. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  4814. due to missing declarations of abort(), and prevent other such
  4815. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  4816. o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
  4817. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  4818. want authentication along with configured (but unused!)
  4819. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  4820. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  4821. - Avoid trying to read data from closed connections, which can cause
  4822. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  4823. 30344; bugfix on 0.1.1.1-alpha.
  4824. o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
  4825. - Allow the test-stem job to fail in Travis, because it sometimes
  4826. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  4827. - Skip test_rebind on macOS in Travis, because it is unreliable on
  4828. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  4829. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  4830. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  4831. o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
  4832. - Avoid a set of possible code paths that could try to use freed
  4833. memory in routerlist_free() while Tor was exiting. Fixes bug
  4834. 31003; bugfix on 0.1.2.2-alpha.
  4835. o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
  4836. - Stop crashing after parsing an unknown descriptor purpose
  4837. annotation. We think this bug can only be triggered by modifying a
  4838. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  4839. o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
  4840. - Move the "bandwidth-file-headers" line in directory authority
  4841. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  4842. on 0.3.5.1-alpha.
  4843. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  4844. - On abort, try harder to flush the output buffers of log messages.
  4845. On some platforms (macOS), log messages could be discarded when
  4846. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  4847. - Report the tor version whenever an assertion fails. Previously, we
  4848. only reported the Tor version on some crashes, and some non-fatal
  4849. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  4850. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  4851. - When extracting an IPv6 address from a PF-based proxy, verify that
  4852. we are actually configured to receive an IPv6 address, and log an
  4853. internal error if not. Fixes part of bug 31687; bugfix
  4854. on 0.2.3.4-alpha.
  4855. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  4856. - When tor is missing descriptors for some primary entry guards,
  4857. make the log message less alarming. It's normal for descriptors to
  4858. expire, as long as tor fetches new ones soon after. Fixes bug
  4859. 31657; bugfix on 0.3.3.1-alpha.
  4860. o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
  4861. - Do not log a warning when running with an OpenSSL version other
  4862. than the one Tor was compiled with, if the two versions should be
  4863. compatible. Previously, we would warn whenever the version was
  4864. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  4865. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  4866. - Change log level of message "Hash of session info was not as
  4867. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  4868. on 0.1.1.10-alpha.
  4869. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  4870. - Rate-limit the logging message about the obsolete .exit
  4871. notation. Previously, there was no limit on this warning, which
  4872. could potentially be triggered many times by a hostile website.
  4873. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  4874. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  4875. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  4876. cell on a connection using the obsolete v1 link protocol. Log a
  4877. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  4878. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  4879. - Reset the periodic events' "enabled" flag when Tor is shut down
  4880. cleanly. Previously, this flag was left on, which caused periodic
  4881. events not to be re-enabled when Tor was relaunched in-process
  4882. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  4883. on 0.3.3.1-alpha.
  4884. o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
  4885. - Avoid a minor memory leak that could occur on relays when failing
  4886. to create a "keys" directory. Fixes bug 30148; bugfix
  4887. on 0.3.3.1-alpha.
  4888. o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
  4889. - Fix a trivial memory leak when parsing an invalid value
  4890. from a download schedule in the configuration. Fixes bug
  4891. 30894; bugfix on 0.3.4.1-alpha.
  4892. o Minor bugfixes (NetBSD, backport from 0.4.1.2-alpha):
  4893. - Fix usage of minherit() on NetBSD and other platforms that define
  4894. MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
  4895. 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
  4896. o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
  4897. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  4898. implementation) when failing to load an onion service client
  4899. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  4900. o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
  4901. - When purging the DNS cache because of an out-of-memory condition,
  4902. try purging just the older entries at first. Previously, we would
  4903. always purge the whole thing. Fixes bug 29617; bugfix
  4904. on 0.3.5.1-alpha.
  4905. o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
  4906. - Avoid crashing in our tor_vasprintf() implementation on systems
  4907. that define neither vasprintf() nor _vscprintf(). (This bug has
  4908. been here long enough that we question whether people are running
  4909. Tor on such systems, but we're applying the fix out of caution.)
  4910. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  4911. Tobias Stoeckmann.
  4912. o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
  4913. - Remove overly strict assertions that triggered when a pluggable
  4914. transport failed to launch. Fixes bug 31091; bugfix
  4915. on 0.4.0.1-alpha.
  4916. - Remove an assertion in the Unix process backend. This assertion
  4917. would trigger when we failed to find the executable for a child
  4918. process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
  4919. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  4920. - Avoid crashing when starting with a corrupt keys directory where
  4921. the old ntor key and the new ntor key are identical. Fixes bug
  4922. 30916; bugfix on 0.2.4.8-alpha.
  4923. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  4924. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  4925. 31463; bugfix on 0.3.5.4-alpha.
  4926. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  4927. - When testing port rebinding, don't busy-wait for tor to log.
  4928. Instead, actually sleep for a short time before polling again.
  4929. Also improve the formatting of control commands and log messages.
  4930. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  4931. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  4932. - Log bugs about the TLS read buffer's length only once, rather than
  4933. filling the logs with similar warnings. Fixes bug 31939; bugfix
  4934. on 0.3.0.4-rc.
  4935. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  4936. - Always retry v2 single onion service intro and rend circuits with
  4937. a 3-hop path. Previously, v2 single onion services used a 3-hop
  4938. path when rendezvous circuits were retried after a remote or
  4939. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  4940. 23818; bugfix on 0.2.9.3-alpha.
  4941. - Make v3 single onion services fall back to a 3-hop intro, when all
  4942. intro points are unreachable via a 1-hop path. Previously, v3
  4943. single onion services failed when all intro nodes were unreachable
  4944. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  4945. o Documentation (backport from 0.4.2.1-alpha):
  4946. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  4947. notice.html so that operators no longer have to host it
  4948. themselves. Closes ticket 31089.
  4949. o Testing (backport from 0.4.1.2-alpha):
  4950. - Specify torrc paths (with empty files) when launching tor in
  4951. integration tests; refrain from reading user and system torrcs.
  4952. Resolves issue 29702.
  4953. o Testing (continuous integration, backport from 0.4.1.1-alpha):
  4954. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  4955. o Testing (continuous integration, backport from 0.4.1.5):
  4956. - In Travis, make stem log a controller trace to the console, and
  4957. tail stem's tor log after failure. Closes ticket 30591.
  4958. - In Travis, only run the stem tests that use a tor binary. Closes
  4959. ticket 30694.
  4960. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  4961. - Disable all but one Travis CI macOS build, to mitigate slow
  4962. scheduling of Travis macOS jobs. Closes ticket 32177.
  4963. - Run the chutney IPv6 networks as part of Travis CI. Closes
  4964. ticket 30860.
  4965. - Simplify the Travis CI build matrix, and optimise for build time.
  4966. Closes ticket 31859.
  4967. - Use Windows Server 2019 instead of Windows Server 2016 in our
  4968. Appveyor builds. Closes ticket 32086.
  4969. o Testing (continuous integration, backport from 0.4.2.4-rc):
  4970. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  4971. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  4972. until we can fix some Bionic permissions issues (see ticket
  4973. 32240). Related to ticket 31919.
  4974. - Install the mingw OpenSSL package in Appveyor. This makes sure
  4975. that the OpenSSL headers and libraries match in Tor's Appveyor
  4976. builds. (This bug was triggered by an Appveyor image update.)
  4977. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  4978. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  4979. o Testing (continuous integration, backport from 0.4.2.5):
  4980. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  4981. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  4982. Build some jobs with -std=gnu99, and some jobs without.
  4983. Closes ticket 32500.
  4984. Changes in version 0.3.5.9 - 2019-12-09
  4985. Tor 0.3.5.9 backports serveral fixes from later releases, including
  4986. several that affect bridge users, relay stability, onion services,
  4987. and much more.
  4988. o Directory authority changes (backport from 0.4.1.5):
  4989. - The directory authority "dizum" has a new IP address. Closes
  4990. ticket 31406.
  4991. o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
  4992. - Consider our directory information to have changed when our list
  4993. of bridges changes. Previously, Tor would not re-compute the
  4994. status of its directory information when bridges changed, and
  4995. therefore would not realize that it was no longer able to build
  4996. circuits. Fixes part of bug 29875.
  4997. - Do not count previously configured working bridges towards our
  4998. total of working bridges. Previously, when Tor's list of bridges
  4999. changed, it would think that the old bridges were still usable,
  5000. and delay fetching router descriptors for the new ones. Fixes part
  5001. of bug 29875; bugfix on 0.3.0.1-alpha.
  5002. o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
  5003. - When considering upgrading circuits from "waiting for guard" to
  5004. "open", always ignore circuits that are marked for close. Otherwise,
  5005. we can end up in the situation where a subsystem is notified that
  5006. a closing circuit has just opened, leading to undesirable
  5007. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  5008. o Major bugfixes (NSS, relay, backport from 0.4.0.4-rc):
  5009. - When running with NSS, disable TLS 1.2 ciphersuites that use
  5010. SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
  5011. these ciphersuites don't work -- which caused relays to fail to
  5012. handshake with one another when these ciphersuites were enabled.
  5013. Fixes bug 29241; bugfix on 0.3.5.1-alpha.
  5014. o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
  5015. - Properly clean up the introduction point map when circuits change
  5016. purpose from onion service circuits to pathbias, measurement, or
  5017. other circuit types. This should fix some service-side instances
  5018. of introduction point failure. Fixes bug 29034; bugfix
  5019. on 0.3.2.1-alpha.
  5020. o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
  5021. - Fix an unreachable bug in which an introduction point could try to
  5022. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  5023. to encode, leading the relay to assert(). We've consolidated the
  5024. ABI values into Trunnel now. Fixes bug 30454; bugfix
  5025. on 0.3.0.1-alpha.
  5026. - Clients can now handle unknown status codes from INTRODUCE_ACK
  5027. cells. (The NACK behavior will stay the same.) This will allow us
  5028. to extend status codes in the future without breaking the normal
  5029. client behavior. Fixes another part of bug 30454; bugfix
  5030. on 0.3.0.1-alpha.
  5031. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  5032. - Stop ignoring torrc options after an %include directive, when the
  5033. included directory ends with a file that does not contain any
  5034. config options (but does contain comments or whitespace). Fixes
  5035. bug 31408; bugfix on 0.3.1.1-alpha.
  5036. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  5037. - Onion services now always use the exact number of intro points
  5038. configured with the HiddenServiceNumIntroductionPoints option (or
  5039. fewer if nodes are excluded). Before, a service could sometimes
  5040. pick more intro points than configured. Fixes bug 31548; bugfix
  5041. on 0.3.2.1-alpha.
  5042. o Minor features (address selection, backport from 0.4.0.3-alpha):
  5043. - Treat the subnet 100.64.0.0/10 as public for some purposes;
  5044. private for others. This subnet is the RFC 6598 (Carrier Grade
  5045. NAT) IP range, and is deployed by many ISPs as an alternative to
  5046. RFC 1918 that does not break existing internal networks. Tor now
  5047. blocks SOCKS and control ports on these addresses and warns users
  5048. if client ports or ExtORPorts are listening on a RFC 6598 address.
  5049. Closes ticket 28525. Patch by Neel Chauhan.
  5050. o Minor features (bandwidth authority, backport from 0.4.0.4-rc):
  5051. - Make bandwidth authorities ignore relays that are reported in the
  5052. bandwidth file with the flag "vote=0". This change allows us to
  5053. report unmeasured relays for diagnostic reasons without including
  5054. their bandwidth in the bandwidth authorities' vote. Closes
  5055. ticket 29806.
  5056. o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
  5057. - Add a "--list-modules" command to print a list of which compile-
  5058. time modules are enabled. Closes ticket 30452.
  5059. o Minor features (continuous integration, backport from 0.4.0.4-rc):
  5060. - On Travis Rust builds, cleanup Rust registry and refrain from
  5061. caching the "target/" directory to speed up builds. Resolves
  5062. issue 29962.
  5063. o Minor features (continuous integration, backport from 0.4.0.5):
  5064. - In Travis, tell timelimit to use stem's backtrace signals, and
  5065. launch python directly from timelimit, so python receives the
  5066. signals from timelimit, rather than make. Closes ticket 30117.
  5067. o Minor features (continuous integration, backport from 0.4.1.1-alpha):
  5068. - Remove sudo configuration lines from .travis.yml as they are no
  5069. longer needed with current Travis build environment. Resolves
  5070. issue 30213.
  5071. o Minor features (continuous integration, backport from 0.4.1.4-rc):
  5072. - Our Travis configuration now uses Chutney to run some network
  5073. integration tests automatically. Closes ticket 29280.
  5074. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  5075. - When building on Appveyor and Travis, pass the "-k" flag to make,
  5076. so that we are informed of all compilation failures, not just the
  5077. first one or two. Closes ticket 31372.
  5078. o Minor features (fallback directory list, backport from 0.4.1.4-rc):
  5079. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  5080. in December 2018 (of which ~122 were still functional), with a
  5081. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  5082. in June 2019. Closes ticket 28795.
  5083. o Minor features (geoip, backport from 0.4.2.5):
  5084. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  5085. Country database. Closes ticket 32685.
  5086. o Minor features (NSS, diagnostic, backport from 0.4.0.4-rc):
  5087. - Try to log an error from NSS (if there is any) and a more useful
  5088. description of our situation if we are using NSS and a call to
  5089. SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
  5090. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  5091. - Change "make test-stem" so it only runs the stem tests that use
  5092. tor. This change makes test-stem faster and more reliable. Closes
  5093. ticket 31554.
  5094. o Minor bugfixes (security, backport from 0.4.0.4-rc):
  5095. - Verify in more places that we are not about to create a buffer
  5096. with more than INT_MAX bytes, to avoid possible OOB access in the
  5097. event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
  5098. fixed by Tobias Stoeckmann.
  5099. - Fix a potential double free bug when reading huge bandwidth files.
  5100. The issue is not exploitable in the current Tor network because
  5101. the vulnerable code is only reached when directory authorities
  5102. read bandwidth files, but bandwidth files come from a trusted
  5103. source (usually the authorities themselves). Furthermore, the
  5104. issue is only exploitable in rare (non-POSIX) 32-bit architectures,
  5105. which are not used by any of the current authorities. Fixes bug
  5106. 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
  5107. Tobias Stoeckmann.
  5108. o Minor bugfix (continuous integration, backport from 0.4.0.4-rc):
  5109. - Reset coverage state on disk after Travis CI has finished. This
  5110. should prevent future coverage merge errors from causing the test
  5111. suite for the "process" subsystem to fail. The process subsystem
  5112. was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
  5113. on 0.2.9.15.
  5114. - Terminate test-stem if it takes more than 9.5 minutes to run.
  5115. (Travis terminates the job after 10 minutes of no output.)
  5116. Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
  5117. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  5118. - Avoid spurious errors when Appveyor CI fails before the install step.
  5119. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  5120. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  5121. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  5122. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  5123. o Minor bugfixes (C correctness, backport from 0.4.0.4-rc):
  5124. - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
  5125. 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
  5126. CID 1444119.
  5127. o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
  5128. - Fix a logic error that prevented the SessionGroup sub-option from
  5129. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  5130. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  5131. - Fix a BUG() assertion that occurs within a very small race window
  5132. between when a client intro circuit opens and when its descriptor
  5133. gets cleaned up from the cache. The circuit is now closed early,
  5134. which will trigger a re-fetch of the descriptor and continue the
  5135. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  5136. o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
  5137. - Don't believe clock skew results from NETINFO cells that appear to
  5138. arrive before we sent the VERSIONS cells they are responding to.
  5139. Previously, we would accept them up to 3 minutes "in the past".
  5140. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  5141. o Minor bugfixes (compilation warning, backport from 0.4.1.5):
  5142. - Fix a compilation warning on Windows about casting a function
  5143. pointer for GetTickCount64(). Fixes bug 31374; bugfix
  5144. on 0.2.9.1-alpha.
  5145. o Minor bugfixes (compilation, backport from 0.4.0.2-alpha):
  5146. - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
  5147. 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
  5148. o Minor bugfixes (compilation, backport from 0.4.1.5):
  5149. - Avoid using labs() on time_t, which can cause compilation warnings
  5150. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  5151. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  5152. - Suppress spurious float-conversion warnings from GCC when calling
  5153. floating-point classifier functions on FreeBSD. Fixes part of bug
  5154. 31687; bugfix on 0.3.1.5-alpha.
  5155. o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
  5156. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  5157. due to missing declarations of abort(), and prevent other such
  5158. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  5159. o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
  5160. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  5161. want authentication along with configured (but unused!)
  5162. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  5163. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  5164. - Avoid trying to read data from closed connections, which can cause
  5165. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  5166. 30344; bugfix on 0.1.1.1-alpha.
  5167. o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
  5168. - Allow the test-stem job to fail in Travis, because it sometimes
  5169. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  5170. - Skip test_rebind on macOS in Travis, because it is unreliable on
  5171. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  5172. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  5173. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  5174. o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
  5175. - Avoid a set of possible code paths that could try to use freed
  5176. memory in routerlist_free() while Tor was exiting. Fixes bug
  5177. 31003; bugfix on 0.1.2.2-alpha.
  5178. o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
  5179. - Stop crashing after parsing an unknown descriptor purpose
  5180. annotation. We think this bug can only be triggered by modifying a
  5181. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  5182. o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
  5183. - Move the "bandwidth-file-headers" line in directory authority
  5184. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  5185. on 0.3.5.1-alpha.
  5186. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  5187. - On abort, try harder to flush the output buffers of log messages.
  5188. On some platforms (macOS), log messages could be discarded when
  5189. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  5190. - Report the tor version whenever an assertion fails. Previously, we
  5191. only reported the Tor version on some crashes, and some non-fatal
  5192. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  5193. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  5194. - When extracting an IPv6 address from a PF-based proxy, verify that
  5195. we are actually configured to receive an IPv6 address, and log an
  5196. internal error if not. Fixes part of bug 31687; bugfix
  5197. on 0.2.3.4-alpha.
  5198. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  5199. - When tor is missing descriptors for some primary entry guards,
  5200. make the log message less alarming. It's normal for descriptors to
  5201. expire, as long as tor fetches new ones soon after. Fixes bug
  5202. 31657; bugfix on 0.3.3.1-alpha.
  5203. o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
  5204. - Avoid logging that we are relaxing a circuit timeout when that
  5205. timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
  5206. o Minor bugfixes (logging, backport from 0.4.0.3-alpha):
  5207. - Correct a misleading error message when IPv4Only or IPv6Only is
  5208. used but the resolved address can not be interpreted as an address
  5209. of the specified IP version. Fixes bug 13221; bugfix on
  5210. 0.2.3.9-alpha. Patch from Kris Katterjohn.
  5211. - Log the correct port number for listening sockets when "auto" is
  5212. used to let Tor pick the port number. Previously, port 0 was
  5213. logged instead of the actual port number. Fixes bug 29144; bugfix
  5214. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  5215. - Stop logging a BUG() warning when Tor is waiting for exit
  5216. descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
  5217. o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
  5218. - Do not log a warning when running with an OpenSSL version other
  5219. than the one Tor was compiled with, if the two versions should be
  5220. compatible. Previously, we would warn whenever the version was
  5221. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  5222. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  5223. - Change log level of message "Hash of session info was not as
  5224. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  5225. on 0.1.1.10-alpha.
  5226. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  5227. - Rate-limit the logging message about the obsolete .exit
  5228. notation. Previously, there was no limit on this warning, which
  5229. could potentially be triggered many times by a hostile website.
  5230. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  5231. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  5232. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  5233. cell on a connection using the obsolete v1 link protocol. Log a
  5234. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  5235. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  5236. - Reset the periodic events' "enabled" flag when Tor is shut down
  5237. cleanly. Previously, this flag was left on, which caused periodic
  5238. events not to be re-enabled when Tor was relaunched in-process
  5239. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  5240. on 0.3.3.1-alpha.
  5241. o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
  5242. - Avoid a minor memory leak that could occur on relays when failing
  5243. to create a "keys" directory. Fixes bug 30148; bugfix
  5244. on 0.3.3.1-alpha.
  5245. o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
  5246. - Fix a trivial memory leak when parsing an invalid value
  5247. from a download schedule in the configuration. Fixes bug
  5248. 30894; bugfix on 0.3.4.1-alpha.
  5249. o Minor bugfixes (memory management, backport from 0.4.0.3-alpha):
  5250. - Refactor the shared random state's memory management so that it
  5251. actually takes ownership of the shared random value pointers.
  5252. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
  5253. o Minor bugfixes (memory management, testing, backport from 0.4.0.3-alpha):
  5254. - Stop leaking parts of the shared random state in the shared-random
  5255. unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
  5256. o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
  5257. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  5258. implementation) when failing to load an onion service client
  5259. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  5260. o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
  5261. - When purging the DNS cache because of an out-of-memory condition,
  5262. try purging just the older entries at first. Previously, we would
  5263. always purge the whole thing. Fixes bug 29617; bugfix
  5264. on 0.3.5.1-alpha.
  5265. o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
  5266. - Avoid crashing in our tor_vasprintf() implementation on systems
  5267. that define neither vasprintf() nor _vscprintf(). (This bug has
  5268. been here long enough that we question whether people are running
  5269. Tor on such systems, but we're applying the fix out of caution.)
  5270. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  5271. Tobias Stoeckmann.
  5272. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  5273. - Avoid crashing when starting with a corrupt keys directory where
  5274. the old ntor key and the new ntor key are identical. Fixes bug
  5275. 30916; bugfix on 0.2.4.8-alpha.
  5276. o Minor bugfixes (rust, backport from 0.4.0.5):
  5277. - Abort on panic in all build profiles, instead of potentially
  5278. unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
  5279. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  5280. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  5281. 31463; bugfix on 0.3.5.4-alpha.
  5282. o Minor bugfixes (single onion services, backport from 0.4.0.3-alpha):
  5283. - Allow connections to single onion services to remain idle without
  5284. being disconnected. Previously, relays acting as rendezvous points
  5285. for single onion services were mistakenly closing idle rendezvous
  5286. circuits after 60 seconds, thinking that they were unused
  5287. directory-fetching circuits that had served their purpose. Fixes
  5288. bug 29665; bugfix on 0.2.1.26.
  5289. o Minor bugfixes (stats, backport from 0.4.0.3-alpha):
  5290. - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
  5291. relay and bridge extra-info documents. Fixes bug 29017; bugfix
  5292. on 0.3.1.1-alpha.
  5293. o Minor bugfixes (testing, backport from 0.4.0.3-alpha):
  5294. - Downgrade some LOG_ERR messages in the address/* tests to
  5295. warnings. The LOG_ERR messages were occurring when we had no
  5296. configured network. We were failing the unit tests, because we
  5297. backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
  5298. 29530; bugfix on 0.3.5.8.
  5299. - Fix our gcov wrapper script to look for object files at the
  5300. correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
  5301. o Minor bugfixes (testing, backport from 0.4.0.4-rc):
  5302. - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
  5303. recent test-network.sh to use new chutney features in CI. Fixes
  5304. bug 29703; bugfix on 0.2.9.1-alpha.
  5305. - Fix a test failure on Windows caused by an unexpected "BUG"
  5306. warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
  5307. on 0.2.9.3-alpha.
  5308. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  5309. - When testing port rebinding, don't busy-wait for tor to log.
  5310. Instead, actually sleep for a short time before polling again.
  5311. Also improve the formatting of control commands and log messages.
  5312. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  5313. o Minor bugfixes (TLS protocol, backport form 0.4.0.4-rc):
  5314. - When classifying a client's selection of TLS ciphers, if the
  5315. client ciphers are not yet available, do not cache the result.
  5316. Previously, we had cached the unavailability of the cipher list
  5317. and never looked again, which in turn led us to assume that the
  5318. client only supported the ancient V1 link protocol. This, in turn,
  5319. was causing Stem integration tests to stall in some cases. Fixes
  5320. bug 30021; bugfix on 0.2.4.8-alpha.
  5321. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  5322. - Log bugs about the TLS read buffer's length only once, rather than
  5323. filling the logs with similar warnings. Fixes bug 31939; bugfix
  5324. on 0.3.0.4-rc.
  5325. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  5326. - Always retry v2 single onion service intro and rend circuits with
  5327. a 3-hop path. Previously, v2 single onion services used a 3-hop
  5328. path when rendezvous circuits were retried after a remote or
  5329. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  5330. 23818; bugfix on 0.2.9.3-alpha.
  5331. - Make v3 single onion services fall back to a 3-hop intro, when all
  5332. intro points are unreachable via a 1-hop path. Previously, v3
  5333. single onion services failed when all intro nodes were unreachable
  5334. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  5335. o Minor bugfixes (Windows, CI, backport from 0.4.0.3-alpha):
  5336. - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
  5337. Windows Server 2012 R2 job. The remaining 2 jobs still provide
  5338. coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
  5339. fast_finish, so failed jobs terminate the build immediately. Fixes
  5340. bug 29601; bugfix on 0.3.5.4-alpha.
  5341. o Documentation (backport from 0.4.2.1-alpha):
  5342. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  5343. notice.html so that operators no longer have to host it
  5344. themselves. Closes ticket 31089.
  5345. o Testing (backport from 0.4.1.2-alpha):
  5346. - Specify torrc paths (with empty files) when launching tor in
  5347. integration tests; refrain from reading user and system torrcs.
  5348. Resolves issue 29702.
  5349. o Testing (continuous integration, backport from 0.4.1.1-alpha):
  5350. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  5351. o Testing (continuous integration, backport from 0.4.1.5):
  5352. - In Travis, make stem log a controller trace to the console, and
  5353. tail stem's tor log after failure. Closes ticket 30591.
  5354. - In Travis, only run the stem tests that use a tor binary. Closes
  5355. ticket 30694.
  5356. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  5357. - Disable all but one Travis CI macOS build, to mitigate slow
  5358. scheduling of Travis macOS jobs. Closes ticket 32177.
  5359. - Run the chutney IPv6 networks as part of Travis CI. Closes
  5360. ticket 30860.
  5361. - Simplify the Travis CI build matrix, and optimise for build time.
  5362. Closes ticket 31859.
  5363. - Use Windows Server 2019 instead of Windows Server 2016 in our
  5364. Appveyor builds. Closes ticket 32086.
  5365. o Testing (continuous integration, backport from 0.4.2.4-rc):
  5366. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  5367. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  5368. until we can fix some Bionic permissions issues (see ticket
  5369. 32240). Related to ticket 31919.
  5370. - Install the mingw OpenSSL package in Appveyor. This makes sure
  5371. that the OpenSSL headers and libraries match in Tor's Appveyor
  5372. builds. (This bug was triggered by an Appveyor image update.)
  5373. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  5374. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  5375. o Testing (continuous integration, backport from 0.4.2.5):
  5376. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  5377. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  5378. Build some jobs with -std=gnu99, and some jobs without.
  5379. Closes ticket 32500.
  5380. Changes in version 0.4.2.4-rc - 2019-11-15
  5381. Tor 0.4.2.4-rc is the first release candidate in its series. It fixes
  5382. several bugs from earlier versions, including a few that would result in
  5383. stack traces or incorrect behavior.
  5384. o Minor features (build system):
  5385. - Make pkg-config use --prefix when cross-compiling, if
  5386. PKG_CONFIG_PATH is not set. Closes ticket 32191.
  5387. o Minor features (geoip):
  5388. - Update geoip and geoip6 to the November 6 2019 Maxmind GeoLite2
  5389. Country database. Closes ticket 32440.
  5390. o Minor bugfixes (client, onion service v3):
  5391. - Fix a BUG() assertion that occurs within a very small race window
  5392. between when a client intro circuit opens and when its descriptor
  5393. gets cleaned up from the cache. The circuit is now closed early,
  5394. which will trigger a re-fetch of the descriptor and continue the
  5395. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  5396. o Minor bugfixes (code quality):
  5397. - Fix "make check-includes" so it runs correctly on out-of-tree
  5398. builds. Fixes bug 31335; bugfix on 0.3.5.1-alpha.
  5399. o Minor bugfixes (configuration):
  5400. - Log the option name when skipping an obsolete option. Fixes bug
  5401. 32295; bugfix on 0.4.2.1-alpha.
  5402. o Minor bugfixes (crash):
  5403. - When running Tor with an option like --verify-config or
  5404. --dump-config that does not start the event loop, avoid crashing
  5405. if we try to exit early because of an error. Fixes bug 32407;
  5406. bugfix on 0.3.3.1-alpha.
  5407. o Minor bugfixes (directory):
  5408. - When checking if a directory connection is anonymous, test if the
  5409. circuit was marked for close before looking at its channel. This
  5410. avoids a BUG() stacktrace if the circuit was previously closed.
  5411. Fixes bug 31958; bugfix on 0.4.2.1-alpha.
  5412. o Minor bugfixes (shellcheck):
  5413. - Fix minor shellcheck errors in the git-*.sh scripts. Fixes bug
  5414. 32402; bugfix on 0.4.2.1-alpha.
  5415. - Start checking most scripts for shellcheck errors again. Fixes bug
  5416. 32402; bugfix on 0.4.2.1-alpha.
  5417. o Testing (continuous integration):
  5418. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  5419. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  5420. until we can fix some Bionic permissions issues (see ticket
  5421. 32240). Related to ticket 31919.
  5422. - Install the mingw OpenSSL package in Appveyor. This makes sure
  5423. that the OpenSSL headers and libraries match in Tor's Appveyor
  5424. builds. (This bug was triggered by an Appveyor image update.)
  5425. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  5426. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  5427. Changes in version 0.4.2.3-alpha - 2019-10-24
  5428. This release fixes several bugs from the previous alpha release, and
  5429. from earlier versions of Tor.
  5430. o Major bugfixes (relay):
  5431. - Relays now respect their AccountingMax bandwidth again. When
  5432. relays entered "soft" hibernation (which typically starts when
  5433. we've hit 90% of our AccountingMax), we had stopped checking
  5434. whether we should enter hard hibernation. Soft hibernation refuses
  5435. new connections and new circuits, but the existing circuits can
  5436. continue, meaning that relays could have exceeded their configured
  5437. AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
  5438. o Major bugfixes (v3 onion services):
  5439. - Onion services now always use the exact number of intro points
  5440. configured with the HiddenServiceNumIntroductionPoints option (or
  5441. fewer if nodes are excluded). Before, a service could sometimes
  5442. pick more intro points than configured. Fixes bug 31548; bugfix
  5443. on 0.3.2.1-alpha.
  5444. o Minor feature (onion services, control port):
  5445. - The ADD_ONION command's keyword "BEST" now defaults to ED25519-V3
  5446. (v3) onion services. Previously it defaulted to RSA1024 (v2).
  5447. Closes ticket 29669.
  5448. o Minor features (testing):
  5449. - When running tests that attempt to look up hostnames, replace the
  5450. libc name lookup functions with ones that do not actually touch
  5451. the network. This way, the tests complete more quickly in the
  5452. presence of a slow or missing DNS resolver. Closes ticket 31841.
  5453. o Minor features (testing, continuous integration):
  5454. - Disable all but one Travis CI macOS build, to mitigate slow
  5455. scheduling of Travis macOS jobs. Closes ticket 32177.
  5456. - Run the chutney IPv6 networks as part of Travis CI. Closes
  5457. ticket 30860.
  5458. - Simplify the Travis CI build matrix, and optimise for build time.
  5459. Closes ticket 31859.
  5460. - Use Windows Server 2019 instead of Windows Server 2016 in our
  5461. Appveyor builds. Closes ticket 32086.
  5462. o Minor bugfixes (build system):
  5463. - Interpret "--disable-module-dirauth=no" correctly. Fixes bug
  5464. 32124; bugfix on 0.3.4.1-alpha.
  5465. - Interpret "--with-tcmalloc=no" correctly. Fixes bug 32124; bugfix
  5466. on 0.2.0.20-rc.
  5467. - Stop failing when jemalloc is requested, but tcmalloc is not
  5468. found. Fixes bug 32124; bugfix on 0.3.5.1-alpha.
  5469. - When pkg-config is not installed, or a library that depends on
  5470. pkg-config is not found, tell the user what to do to fix the
  5471. problem. Fixes bug 31922; bugfix on 0.3.1.1-alpha.
  5472. o Minor bugfixes (connections):
  5473. - Avoid trying to read data from closed connections, which can cause
  5474. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  5475. 30344; bugfix on 0.1.1.1-alpha.
  5476. o Minor bugfixes (error handling):
  5477. - Always lock the backtrace buffer before it is used. Fixes bug
  5478. 31734; bugfix on 0.2.5.3-alpha.
  5479. o Minor bugfixes (mainloop, periodic events, in-process API):
  5480. - Reset the periodic events' "enabled" flag when Tor is shut down
  5481. cleanly. Previously, this flag was left on, which caused periodic
  5482. events not to be re-enabled when Tor was relaunched in-process
  5483. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  5484. on 0.3.3.1-alpha.
  5485. o Minor bugfixes (process management):
  5486. - Remove overly strict assertions that triggered when a pluggable
  5487. transport failed to launch. Fixes bug 31091; bugfix
  5488. on 0.4.0.1-alpha.
  5489. - Remove an assertion in the Unix process backend. This assertion
  5490. would trigger when we failed to find the executable for a child
  5491. process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
  5492. o Minor bugfixes (testing):
  5493. - Avoid intermittent test failures due to a test that had relied on
  5494. inconsistent timing sources. Fixes bug 31995; bugfix
  5495. on 0.3.1.3-alpha.
  5496. - When testing port rebinding, don't busy-wait for tor to log.
  5497. Instead, actually sleep for a short time before polling again.
  5498. Also improve the formatting of control commands and log messages.
  5499. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  5500. o Minor bugfixes (tls, logging):
  5501. - Log bugs about the TLS read buffer's length only once, rather than
  5502. filling the logs with similar warnings. Fixes bug 31939; bugfix
  5503. on 0.3.0.4-rc.
  5504. o Minor bugfixes (v3 onion services):
  5505. - Fix an implicit conversion from ssize_t to size_t discovered by
  5506. Coverity. Fixes bug 31682; bugfix on 0.4.2.1-alpha.
  5507. - Fix a memory leak in an unlikely error code path when encoding HS
  5508. DoS establish intro extension cell. Fixes bug 32063; bugfix
  5509. on 0.4.2.1-alpha.
  5510. - When cleaning up intro circuits for a v3 onion service, don't
  5511. remove circuits that have an established or pending circuit, even
  5512. if they ran out of retries. This way, we don't remove a circuit on
  5513. its last retry. Fixes bug 31652; bugfix on 0.3.2.1-alpha.
  5514. o Documentation:
  5515. - Correct the description of "GuardLifetime". Fixes bug 31189;
  5516. bugfix on 0.3.0.1-alpha.
  5517. - Make clear in the man page, in both the bandwidth section and the
  5518. AccountingMax section, that Tor counts in powers of two, not
  5519. powers of ten: 1 GByte is 1024*1024*1024 bytes, not one billion
  5520. bytes. Resolves ticket 32106.
  5521. Changes in version 0.4.2.2-alpha - 2019-10-07
  5522. This release fixes several bugs from the previous alpha release, and
  5523. from earlier versions. It also includes a change in authorities, so
  5524. that they begin to reject the currently unsupported release series.
  5525. o Major features (directory authorities):
  5526. - Directory authorities now reject relays running all currently
  5527. deprecated release series. The currently supported release series
  5528. are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
  5529. o Major bugfixes (embedded Tor):
  5530. - Avoid a possible crash when restarting Tor in embedded mode and
  5531. enabling a different set of publish/subscribe messages. Fixes bug
  5532. 31898; bugfix on 0.4.1.1-alpha.
  5533. o Major bugfixes (torrc parsing):
  5534. - Stop ignoring torrc options after an %include directive, when the
  5535. included directory ends with a file that does not contain any
  5536. config options (but does contain comments or whitespace). Fixes
  5537. bug 31408; bugfix on 0.3.1.1-alpha.
  5538. o Minor features (auto-formatting scripts):
  5539. - When annotating C macros, never generate a line that our check-
  5540. spaces script would reject. Closes ticket 31759.
  5541. - When annotating C macros, try to remove cases of double-negation.
  5542. Closes ticket 31779.
  5543. o Minor features (continuous integration):
  5544. - When building on Appveyor and Travis, pass the "-k" flag to make,
  5545. so that we are informed of all compilation failures, not just the
  5546. first one or two. Closes ticket 31372.
  5547. o Minor features (geoip):
  5548. - Update geoip and geoip6 to the October 1 2019 Maxmind GeoLite2
  5549. Country database. Closes ticket 31931.
  5550. o Minor features (maintenance scripts):
  5551. - Add a Coccinelle script to detect bugs caused by incrementing or
  5552. decrementing a variable inside a call to log_debug(). Since
  5553. log_debug() is a macro whose arguments are conditionally
  5554. evaluated, it is usually an error to do this. One such bug was
  5555. 30628, in which SENDME cells were miscounted by a decrement
  5556. operator inside a log_debug() call. Closes ticket 30743.
  5557. o Minor features (onion services v3):
  5558. - Assist users who try to setup v2 client authorization in v3 onion
  5559. services by pointing them to the right documentation. Closes
  5560. ticket 28966.
  5561. o Minor bugfixes (Appveyor continuous integration):
  5562. - Avoid spurious errors when Appveyor CI fails before the install
  5563. step. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  5564. o Minor bugfixes (best practices tracker):
  5565. - When listing overbroad exceptions, do not also list problems, and
  5566. do not list insufficiently broad exceptions. Fixes bug 31338;
  5567. bugfix on 0.4.2.1-alpha.
  5568. o Minor bugfixes (controller protocol):
  5569. - Fix the MAPADDRESS controller command to accept one or more
  5570. arguments. Previously, it required two or more arguments, and
  5571. ignored the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
  5572. o Minor bugfixes (logging):
  5573. - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
  5574. uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
  5575. - Disable backtrace signal handlers when shutting down tor. Fixes
  5576. bug 31614; bugfix on 0.2.5.2-alpha.
  5577. - Rate-limit the logging message about the obsolete .exit
  5578. notation. Previously, there was no limit on this warning, which
  5579. could potentially be triggered many times by a hostile website.
  5580. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  5581. - When initialising log domain masks, only set known log domains.
  5582. Fixes bug 31854; bugfix on 0.2.1.1-alpha.
  5583. o Minor bugfixes (logging, protocol violations):
  5584. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  5585. cell on a connection using the obsolete v1 link protocol. Log a
  5586. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  5587. o Minor bugfixes (modules):
  5588. - Explain what the optional Directory Authority module is, and what
  5589. happens when it is disabled. Fixes bug 31825; bugfix
  5590. on 0.3.4.1-alpha.
  5591. o Minor bugfixes (multithreading):
  5592. - Avoid some undefined behaviour when freeing mutexes. Fixes bug
  5593. 31736; bugfix on 0.0.7.
  5594. o Minor bugfixes (relay):
  5595. - Avoid crashing when starting with a corrupt keys directory where
  5596. the old ntor key and the new ntor key are identical. Fixes bug
  5597. 30916; bugfix on 0.2.4.8-alpha.
  5598. o Minor bugfixes (tests, SunOS):
  5599. - Avoid a map_anon_nofork test failure due to a signed/unsigned
  5600. integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
  5601. o Code simplification and refactoring:
  5602. - Refactor connection_control_process_inbuf() to reduce the size of
  5603. a practracker exception. Closes ticket 31840.
  5604. - Refactor the microdescs_parse_from_string() function into smaller
  5605. pieces, for better comprehensibility. Closes ticket 31675.
  5606. - Use SEVERITY_MASK_IDX() to find the LOG_* mask indexes in the unit
  5607. tests and fuzzers, rather than using hard-coded values. Closes
  5608. ticket 31334.
  5609. - Interface for function `decrypt_desc_layer` cleaned up. Closes
  5610. ticket 31589.
  5611. o Documentation:
  5612. - Document the signal-safe logging behaviour in the tor man page.
  5613. Also add some comments to the relevant functions. Closes
  5614. ticket 31839.
  5615. - Explain why we can't destroy the backtrace buffer mutex. Explain
  5616. why we don't need to destroy the log mutex. Closes ticket 31736.
  5617. - The Tor source code repository now includes a (somewhat dated)
  5618. description of Tor's modular architecture, in doc/HACKING/design.
  5619. This is based on the old "tor-guts.git" repository, which we are
  5620. adopting and superseding. Closes ticket 31849.
  5621. Changes in version 0.4.1.6 - 2019-09-19
  5622. This release backports several bugfixes to improve stability and
  5623. correctness. Anyone experiencing build problems or crashes with 0.4.1.5,
  5624. or experiencing reliability issues with single onion services, should
  5625. upgrade.
  5626. o Major bugfixes (crash, Linux, Android, backport from 0.4.2.1-alpha):
  5627. - Tolerate systems (including some Android installations) where
  5628. madvise and MADV_DONTDUMP are available at build-time, but not at
  5629. run time. Previously, these systems would notice a failed syscall
  5630. and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
  5631. - Tolerate systems (including some Linux installations) where
  5632. madvise and/or MADV_DONTFORK are available at build-time, but not
  5633. at run time. Previously, these systems would notice a failed
  5634. syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
  5635. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  5636. - Change "make test-stem" so it only runs the stem tests that use
  5637. tor. This change makes test-stem faster and more reliable. Closes
  5638. ticket 31554.
  5639. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  5640. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  5641. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  5642. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  5643. - Add more stub functions to fix compilation on Android with link-
  5644. time optimization when --disable-module-dirauth is used.
  5645. Previously, these compilation settings would make the compiler
  5646. look for functions that didn't exist. Fixes bug 31552; bugfix
  5647. on 0.4.1.1-alpha.
  5648. - Suppress spurious float-conversion warnings from GCC when calling
  5649. floating-point classifier functions on FreeBSD. Fixes part of bug
  5650. 31687; bugfix on 0.3.1.5-alpha.
  5651. o Minor bugfixes (controller protocol):
  5652. - Fix the MAPADDRESS controller command to accept one or more
  5653. arguments. Previously, it required two or more arguments, and ignored
  5654. the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
  5655. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  5656. - When extracting an IPv6 address from a PF-based proxy, verify that
  5657. we are actually configured to receive an IPv6 address, and log an
  5658. internal error if not. Fixes part of bug 31687; bugfix
  5659. on 0.2.3.4-alpha.
  5660. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  5661. - When tor is missing descriptors for some primary entry guards,
  5662. make the log message less alarming. It's normal for descriptors to
  5663. expire, as long as tor fetches new ones soon after. Fixes bug
  5664. 31657; bugfix on 0.3.3.1-alpha.
  5665. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  5666. - Change log level of message "Hash of session info was not as
  5667. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  5668. on 0.1.1.10-alpha.
  5669. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  5670. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  5671. 31463; bugfix on 0.3.5.4-alpha.
  5672. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  5673. - Always retry v2 single onion service intro and rend circuits with
  5674. a 3-hop path. Previously, v2 single onion services used a 3-hop
  5675. path when rendezvous circuits were retried after a remote or
  5676. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  5677. 23818; bugfix on 0.2.9.3-alpha.
  5678. o Minor bugfixes (v3 single onion services, backport from 0.4.2.1-alpha):
  5679. - Always retry v3 single onion service intro and rend circuits with
  5680. a 3-hop path. Previously, v3 single onion services used a 3-hop
  5681. path when rend circuits were retried after a remote or delayed
  5682. failure, but a 1-hop path for immediate retries. Fixes bug 23818;
  5683. bugfix on 0.3.2.1-alpha.
  5684. - Make v3 single onion services fall back to a 3-hop intro, when all
  5685. intro points are unreachable via a 1-hop path. Previously, v3
  5686. single onion services failed when all intro nodes were unreachable
  5687. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  5688. o Documentation (backport from 0.4.2.1-alpha):
  5689. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  5690. notice.html so that operators no longer have to host it
  5691. themselves. Closes ticket 31089.
  5692. Changes in version 0.4.2.1-alpha - 2019-09-17
  5693. This is the first alpha release in the 0.4.2.x series. It adds new
  5694. defenses for denial-of-service attacks against onion services. It also
  5695. includes numerous kinds of bugfixes and refactoring to help improve
  5696. Tor's stability and ease of development.
  5697. o Major features (onion service v3, denial of service):
  5698. - Add onion service introduction denial of service defenses. Intro
  5699. points can now rate-limit client introduction requests, using
  5700. parameters that can be sent by the service within the
  5701. ESTABLISH_INTRO cell. If the cell extension for this is not used,
  5702. the intro point will honor the consensus parameters. Closes
  5703. ticket 30924.
  5704. o Major bugfixes (circuit build, guard):
  5705. - When considering upgrading circuits from "waiting for guard" to
  5706. "open", always ignore circuits that are marked for close.
  5707. Previously we could end up in the situation where a subsystem is
  5708. notified of a circuit opening, but the circuit is still marked for
  5709. close, leading to undesirable behavior. Fixes bug 30871; bugfix
  5710. on 0.3.0.1-alpha.
  5711. o Major bugfixes (crash, Linux, Android):
  5712. - Tolerate systems (including some Android installations) where
  5713. madvise and MADV_DONTDUMP are available at build-time, but not at
  5714. run time. Previously, these systems would notice a failed syscall
  5715. and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
  5716. - Tolerate systems (including some Linux installations) where
  5717. madvise and/or MADV_DONTFORK are available at build-time, but not
  5718. at run time. Previously, these systems would notice a failed
  5719. syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
  5720. o Minor features (best practices tracker):
  5721. - Our best-practices tracker now integrates with our include-checker
  5722. tool to keep track of how many layering violations we have not yet
  5723. fixed. We hope to reduce this number over time to improve Tor's
  5724. modularity. Closes ticket 31176.
  5725. - Add a TOR_PRACTRACKER_OPTIONS variable for passing arguments to
  5726. practracker from the environment. We may want this for continuous
  5727. integration. Closes ticket 31309.
  5728. - Give a warning rather than an error when a practracker exception
  5729. is violated by a small amount, add a --list-overbroad option to
  5730. practracker that lists exceptions that are stricter than they need
  5731. to be, and provide an environment variable for disabling
  5732. practracker. Closes ticket 30752.
  5733. - Our best-practices tracker now looks at headers as well as C
  5734. files. Closes ticket 31175.
  5735. o Minor features (build system):
  5736. - Add --disable-manpage and --disable-html-manual options to
  5737. configure script. This will enable shortening build times by not
  5738. building documentation. Resolves issue 19381.
  5739. o Minor features (compilation):
  5740. - Log a more useful error message when we are compiling and one of
  5741. the compile-time hardening options we have selected can be linked
  5742. but not executed. Closes ticket 27530.
  5743. o Minor features (configuration):
  5744. - The configuration code has been extended to allow splitting
  5745. configuration data across multiple objects. Previously, all
  5746. configuration data needed to be kept in a single object, which
  5747. tended to become bloated. Closes ticket 31240.
  5748. o Minor features (continuous integration):
  5749. - When running CI builds on Travis, put some random data in
  5750. ~/.torrc, to make sure no tests are reading the Tor configuration
  5751. file from its default location. Resolves issue 30102.
  5752. o Minor features (debugging):
  5753. - Log a nonfatal assertion failure if we encounter a configuration
  5754. line whose command is "CLEAR" but which has a nonempty value. This
  5755. should be impossible, according to the rules of our configuration
  5756. line parsing. Closes ticket 31529.
  5757. o Minor features (git hooks):
  5758. - Our pre-commit git hook now checks for a special file before
  5759. running practracker, so that practracker only runs on branches
  5760. that are based on master. Since the pre-push hook calls the pre-
  5761. commit hook, practracker will also only run before pushes of
  5762. branches based on master. Closes ticket 30979.
  5763. o Minor features (git scripts):
  5764. - Add a "--" command-line argument, to separate git-push-all.sh
  5765. script arguments from arguments that are passed through to git
  5766. push. Closes ticket 31314.
  5767. - Add a -r <remote-name> argument to git-push-all.sh, so the script
  5768. can push test branches to a personal remote. Closes ticket 31314.
  5769. - Add a -t <test-branch-prefix> argument to git-merge-forward.sh and
  5770. git-push-all.sh, which makes these scripts create, merge forward,
  5771. and push test branches. Closes ticket 31314.
  5772. - Add a -u argument to git-merge-forward.sh, so that the script can
  5773. re-use existing test branches after a merge failure and fix.
  5774. Closes ticket 31314.
  5775. - Add a TOR_GIT_PUSH env var, which sets the default git push
  5776. command and arguments for git-push-all.sh. Closes ticket 31314.
  5777. - Add a TOR_PUSH_DELAY variable to git-push-all.sh, which makes the
  5778. script push master and maint branches with a delay between each
  5779. branch. These delays trigger the CI jobs in a set order, which
  5780. should show the most likely failures first. Also make pushes
  5781. atomic by default, and make the script pass any command-line
  5782. arguments to git push. Closes ticket 29879.
  5783. - Call the shellcheck script from the pre-commit hook. Closes
  5784. ticket 30967.
  5785. - Skip pushing test branches that are the same as a remote
  5786. maint/release/master branch in git-push-all.sh by default. Add a
  5787. -s argument, so git-push-all.sh can push all test branches. Closes
  5788. ticket 31314.
  5789. o Minor features (IPv6, logging):
  5790. - Log IPv6 addresses as well as IPv4 addresses when describing
  5791. routerinfos, routerstatuses, and nodes. Closes ticket 21003.
  5792. o Minor features (onion service v3):
  5793. - Do not allow single hop clients to fetch or post an HS descriptor
  5794. from an HSDir. Closes ticket 24964.
  5795. o Minor features (onion service):
  5796. - Disallow single-hop clients at the introduction point. We've
  5797. removed Tor2web support a while back and single-hop rendezvous
  5798. attempts are blocked at the relays. This change should remove load
  5799. off the network from spammy clients. Close ticket 24963.
  5800. o Minor features (stem tests):
  5801. - Change "make test-stem" so it only runs the stem tests that use
  5802. tor. This change makes test-stem faster and more reliable. Closes
  5803. ticket 31554.
  5804. o Minor features (testing):
  5805. - Add a script to invoke "tor --dump-config" and "tor
  5806. --verify-config" with various configuration options, and see
  5807. whether tor's resulting configuration or error messages are what
  5808. we expect. Use it for integration testing of our +Option and
  5809. /Option flags. Closes ticket 31637.
  5810. - Improve test coverage for our existing configuration parsing and
  5811. management API. Closes ticket 30893.
  5812. - Add integration tests to make sure that practracker gives the
  5813. outputs we expect. Closes ticket 31477.
  5814. - The practracker self-tests are now run as part of the Tor test
  5815. suite. Closes ticket 31304.
  5816. o Minor features (token bucket):
  5817. - Implement a generic token bucket that uses a single counter, for
  5818. use in anti-DoS onion service work. Closes ticket 30687.
  5819. o Minor bugfixes (best practices tracker):
  5820. - Fix a few issues in the best-practices script, including tests,
  5821. tab tolerance, error reporting, and directory-exclusion logic.
  5822. Fixes bug 29746; bugfix on 0.4.1.1-alpha.
  5823. - When running check-best-practices, only consider files in the src
  5824. subdirectory. Previously we had recursively considered all
  5825. subdirectories, which made us get confused by the temporary
  5826. directories made by "make distcheck". Fixes bug 31578; bugfix
  5827. on 0.4.1.1-alpha.
  5828. o Minor bugfixes (build system):
  5829. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  5830. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  5831. o Minor bugfixes (chutney, makefiles, documentation):
  5832. - "make test-network-all" now shows the warnings from each test-
  5833. network.sh run on the console, so developers see new warnings
  5834. early. We've also improved the documentation for this feature, and
  5835. renamed a Makefile variable so the code is self-documenting. Fixes
  5836. bug 30455; bugfix on 0.3.0.4-rc.
  5837. o Minor bugfixes (compilation):
  5838. - Add more stub functions to fix compilation on Android with link-
  5839. time optimization when --disable-module-dirauth is used.
  5840. Previously, these compilation settings would make the compiler
  5841. look for functions that didn't exist. Fixes bug 31552; bugfix
  5842. on 0.4.1.1-alpha.
  5843. - Suppress spurious float-conversion warnings from GCC when calling
  5844. floating-point classifier functions on FreeBSD. Fixes part of bug
  5845. 31687; bugfix on 0.3.1.5-alpha.
  5846. o Minor bugfixes (configuration):
  5847. - Invalid floating-point values in the configuration file are now
  5848. treated as errors in the configuration. Previously, they were
  5849. ignored and treated as zero. Fixes bug 31475; bugfix on 0.0.1.
  5850. o Minor bugfixes (coverity):
  5851. - Add an assertion when parsing a BEGIN cell so that coverity can be
  5852. sure that we are not about to dereference a NULL address. Fixes
  5853. bug 31026; bugfix on 0.2.4.7-alpha. This is CID 1447296.
  5854. - In our siphash implementation, when building for coverity, use
  5855. memcpy in place of a switch statement, so that coverity can tell
  5856. we are not accessing out-of-bounds memory. Fixes bug 31025; bugfix
  5857. on 0.2.8.1-alpha. This is tracked as CID 1447293 and 1447295.
  5858. - Fix several coverity warnings from our unit tests. Fixes bug
  5859. 31030; bugfix on 0.2.4.1-alpha, 0.3.2.1-alpha, and 0.4.0.1-alpha.
  5860. o Minor bugfixes (developer tooling):
  5861. - Only log git script changes in the post-merge script when the
  5862. merge was to the master branch. Fixes bug 31040; bugfix
  5863. on 0.4.1.1-alpha.
  5864. o Minor bugfixes (directory authorities):
  5865. - Return a distinct status when formatting annotations fails. Fixes
  5866. bug 30780; bugfix on 0.2.0.8-alpha.
  5867. o Minor bugfixes (error handling):
  5868. - On abort, try harder to flush the output buffers of log messages.
  5869. On some platforms (macOS), log messages could be discarded when
  5870. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  5871. - Report the tor version whenever an assertion fails. Previously, we
  5872. only reported the Tor version on some crashes, and some non-fatal
  5873. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  5874. - When tor aborts due to an error, close log file descriptors before
  5875. aborting. Closing the logs makes some OSes flush log file buffers,
  5876. rather than deleting buffered log lines. Fixes bug 31594; bugfix
  5877. on 0.2.5.2-alpha.
  5878. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6):
  5879. - When extracting an IPv6 address from a PF-based proxy, verify that
  5880. we are actually configured to receive an IPv6 address, and log an
  5881. internal error if not. Fixes part of bug 31687; bugfix
  5882. on 0.2.3.4-alpha.
  5883. o Minor bugfixes (git hooks):
  5884. - Remove a duplicate call to practracker from the pre-push hook. The
  5885. pre-push hook already calls the pre-commit hook, which calls
  5886. practracker. Fixes bug 31462; bugfix on 0.4.1.1-alpha.
  5887. o Minor bugfixes (git scripts):
  5888. - Stop hard-coding the bash path in the git scripts. Some OSes don't
  5889. have bash in /usr/bin, others have an ancient bash at this path.
  5890. Fixes bug 30840; bugfix on 0.4.0.1-alpha.
  5891. - Stop hard-coding the tor master branch name and worktree path in
  5892. the git scripts. Fixes bug 30841; bugfix on 0.4.0.1-alpha.
  5893. - Allow git-push-all.sh to be run from any directory. Previously,
  5894. the script only worked if run from an upstream worktree directory.
  5895. Closes ticket 31678.
  5896. o Minor bugfixes (guards):
  5897. - When tor is missing descriptors for some primary entry guards,
  5898. make the log message less alarming. It's normal for descriptors to
  5899. expire, as long as tor fetches new ones soon after. Fixes bug
  5900. 31657; bugfix on 0.3.3.1-alpha.
  5901. o Minor bugfixes (ipv6):
  5902. - Check for private IPv6 addresses alongside their IPv4 equivalents
  5903. when authorities check descriptors. Previously, we only checked
  5904. for private IPv4 addresses. Fixes bug 31088; bugfix on
  5905. 0.2.3.21-rc. Patch by Neel Chauhan.
  5906. - When parsing microdescriptors, we should check the IPv6 exit
  5907. policy alongside IPv4. Previously, we checked both exit policies
  5908. for only router info structures, while microdescriptors were
  5909. IPv4-only. Fixes bug 27284; bugfix on 0.2.3.1-alpha. Patch by
  5910. Neel Chauhan.
  5911. o Minor bugfixes (logging):
  5912. - Change log level of message "Hash of session info was not as
  5913. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  5914. on 0.1.1.10-alpha.
  5915. - Fix a code issue that would have broken our parsing of log domains
  5916. as soon as we had 33 of them. Fortunately, we still only have 29.
  5917. Fixes bug 31451; bugfix on 0.4.1.4-rc.
  5918. o Minor bugfixes (memory management):
  5919. - Stop leaking a small amount of memory in nt_service_install(), in
  5920. unreachable code. Fixes bug 30799; bugfix on 0.2.0.7-alpha. Patch
  5921. by Xiaoyin Liu.
  5922. o Minor bugfixes (networking, IP addresses):
  5923. - When parsing addresses via Tor's internal DNS lookup API, reject
  5924. IPv4 addresses in square brackets, and accept IPv6 addresses in
  5925. square brackets. This change completes the work started in 23082,
  5926. making address parsing consistent between tor's internal DNS
  5927. lookup and address parsing APIs. Fixes bug 30721; bugfix
  5928. on 0.2.1.5-alpha.
  5929. - When parsing addresses via Tor's internal address:port parsing and
  5930. DNS lookup APIs, require IPv6 addresses with ports to have square
  5931. brackets. But allow IPv6 addresses without ports, whether or not
  5932. they have square brackets. Fixes bug 30721; bugfix
  5933. on 0.2.1.5-alpha.
  5934. o Minor bugfixes (onion service v3):
  5935. - When purging the client descriptor cache, close any introduction
  5936. point circuits associated with purged cache entries. This avoids
  5937. picking those circuits later when connecting to the same
  5938. introduction points. Fixes bug 30921; bugfix on 0.3.2.1-alpha.
  5939. o Minor bugfixes (onion services):
  5940. - In the hs_ident_circuit_t data structure, remove the unused field
  5941. circuit_type and the respective argument in hs_ident_circuit_new().
  5942. This field was set by clients (for introduction) and services (for
  5943. introduction and rendezvous) but was never used afterwards. Fixes
  5944. bug 31490; bugfix on 0.3.2.1-alpha. Patch by Neel Chauhan.
  5945. o Minor bugfixes (operator tools):
  5946. - Make tor-print-ed-signing-cert(1) print certificate expiration
  5947. date in RFC 1123 and UNIX timestamp formats, to make output
  5948. machine readable. Fixes bug 31012; bugfix on 0.3.5.1-alpha.
  5949. o Minor bugfixes (rust):
  5950. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  5951. 31463; bugfix on 0.3.5.4-alpha.
  5952. - Raise the minimum rustc version to 1.31.0, as checked by configure
  5953. and CI. Fixes bug 31442; bugfix on 0.3.5.4-alpha.
  5954. o Minor bugfixes (sendme, code structure):
  5955. - Rename the trunnel SENDME file definition from sendme.trunnel to
  5956. sendme_cell.trunnel to avoid having twice sendme.{c|h} in the
  5957. repository. Fixes bug 30769; bugfix on 0.4.1.1-alpha.
  5958. o Minor bugfixes (statistics):
  5959. - Stop removing the ed25519 signature if the extra info file is too
  5960. big. If the signature data was removed, but the keyword was kept,
  5961. this could result in an unparseable extra info file. Fixes bug
  5962. 30958; bugfix on 0.2.7.2-alpha.
  5963. o Minor bugfixes (subsystems):
  5964. - Make the subsystem init order match the subsystem module
  5965. dependencies. Call windows process security APIs as early as
  5966. possible. Initialize logging before network and time, so that
  5967. network and time can use logging. Fixes bug 31615; bugfix
  5968. on 0.4.0.1-alpha.
  5969. o Minor bugfixes (testing):
  5970. - Teach the util/socketpair_ersatz test to work correctly when we
  5971. have no network stack configured. Fixes bug 30804; bugfix
  5972. on 0.2.5.1-alpha.
  5973. o Minor bugfixes (v2 single onion services):
  5974. - Always retry v2 single onion service intro and rend circuits with
  5975. a 3-hop path. Previously, v2 single onion services used a 3-hop
  5976. path when rendezvous circuits were retried after a remote or
  5977. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  5978. 23818; bugfix on 0.2.9.3-alpha.
  5979. o Minor bugfixes (v3 single onion services):
  5980. - Always retry v3 single onion service intro and rend circuits with
  5981. a 3-hop path. Previously, v3 single onion services used a 3-hop
  5982. path when rend circuits were retried after a remote or delayed
  5983. failure, but a 1-hop path for immediate retries. Fixes bug 23818;
  5984. bugfix on 0.3.2.1-alpha.
  5985. - Make v3 single onion services fall back to a 3-hop intro, when all
  5986. intro points are unreachable via a 1-hop path. Previously, v3
  5987. single onion services failed when all intro nodes were unreachable
  5988. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  5989. o Documentation:
  5990. - Improve documentation in circuit padding subsystem. Patch by
  5991. Tobias Pulls. Closes ticket 31113.
  5992. - Include an example usage for IPv6 ORPort in our sample torrc.
  5993. Closes ticket 31320; patch from Ali Raheem.
  5994. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  5995. notice.html so that operators no longer have to host it
  5996. themselves. Closes ticket 31089.
  5997. o Removed features:
  5998. - No longer include recommended package digests in votes as detailed
  5999. in proposal 301. The RecommendedPackages torrc option is
  6000. deprecated and will no longer have any effect. "package" lines
  6001. will still be considered when computing consensuses for consensus
  6002. methods that include them. (This change has no effect on the list
  6003. of recommended Tor versions, which is still in use.) Closes
  6004. ticket 29738.
  6005. - Remove torctl.in from contrib/dist directory. Resolves
  6006. ticket 30550.
  6007. o Testing:
  6008. - Run shellcheck for all non-third-party shell scripts that are
  6009. shipped with Tor. Closes ticket 29533.
  6010. - When checking shell scripts, ignore any user-created directories.
  6011. Closes ticket 30967.
  6012. o Code simplification and refactoring (config handling):
  6013. - Extract our variable manipulation code from confparse.c to a new
  6014. lower-level typedvar.h module. Closes ticket 30864.
  6015. - Lower another layer of object management from confparse.c to a
  6016. more general tool. Now typed structure members are accessible via
  6017. an abstract type. Implements ticket 30914.
  6018. - Move our backend logic for working with configuration and state
  6019. files into a lower-level library, since it no longer depends on
  6020. any tor-specific functionality. Closes ticket 31626.
  6021. - Numerous simplifications in configuration-handling logic: remove
  6022. duplicated macro definitions, replace magical names with flags,
  6023. and refactor "TestingTorNetwork" to use the same default-option
  6024. logic as the rest of Tor. Closes ticket 30935.
  6025. - Replace our ad-hoc set of flags for configuration variables and
  6026. configuration variable types with fine-grained orthogonal flags
  6027. corresponding to the actual behavior we want. Closes ticket 31625.
  6028. o Code simplification and refactoring (misc):
  6029. - Eliminate some uses of lower-level control reply abstractions,
  6030. primarily in the onion_helper functions. Closes ticket 30889.
  6031. - Rework bootstrap tracking to use the new publish-subscribe
  6032. subsystem. Closes ticket 29976.
  6033. - Rewrite format_node_description() and router_get_verbose_nickname()
  6034. to use strlcpy() and strlcat(). The previous implementation used
  6035. memcpy() and pointer arithmetic, which was error-prone. Closes
  6036. ticket 31545. This is CID 1452819.
  6037. - Split extrainfo_dump_to_string() into smaller functions. Closes
  6038. ticket 30956.
  6039. - Use the ptrdiff_t type consistently for expressing variable
  6040. offsets and pointer differences. Previously we incorrectly (but
  6041. harmlessly) used int and sometimes off_t for these cases. Closes
  6042. ticket 31532.
  6043. - Use the subsystems mechanism to manage the main event loop code.
  6044. Closes ticket 30806.
  6045. - Various simplifications and minor improvements to the circuit
  6046. padding machines. Patch by Tobias Pulls. Closes tickets 31112
  6047. and 31098.
  6048. o Documentation (hard-coded directories):
  6049. - Improve the documentation for the DirAuthority and FallbackDir
  6050. torrc options. Closes ticket 30955.
  6051. o Documentation (tor.1 man page):
  6052. - Fix typo in tor.1 man page: the option is "--help", not "-help".
  6053. Fixes bug 31008; bugfix on 0.2.2.9-alpha.
  6054. Changes in version 0.4.1.5 - 2019-08-20
  6055. This is the first stable release in the 0.4.1.x series. This series
  6056. adds experimental circuit-level padding, authenticated SENDME cells to
  6057. defend against certain attacks, and several performance improvements
  6058. to save on CPU consumption. It fixes bugs in bootstrapping and v3
  6059. onion services. It also includes numerous smaller features and
  6060. bugfixes on earlier versions.
  6061. Per our support policy, we will support the 0.4.1.x series for nine
  6062. months, or until three months after the release of a stable 0.4.2.x:
  6063. whichever is longer. If you need longer-term support, please stick
  6064. with 0.3.5.x, which will we plan to support until Feb 2022.
  6065. Below are the changes since 0.4.1.4-rc. For a complete list of changes
  6066. since 0.4.0.5, see the ReleaseNotes file.
  6067. o Directory authority changes:
  6068. - The directory authority "dizum" has a new IP address. Closes
  6069. ticket 31406.
  6070. o Minor features (circuit padding logging):
  6071. - Demote noisy client-side warn logs about circuit padding to
  6072. protocol warnings. Add additional log messages and circuit ID
  6073. fields to help with bug 30992 and any other future issues.
  6074. o Minor bugfixes (circuit padding negotiation):
  6075. - Bump the circuit padding protocol version to explicitly signify
  6076. that the HS setup machine support is finalized in 0.4.1.x-stable.
  6077. This also means that 0.4.1.x-alpha clients will not negotiate
  6078. padding with 0.4.1.x-stable relays, and 0.4.1.x-stable clients
  6079. will not negotiate padding with 0.4.1.x-alpha relays (or 0.4.0.x
  6080. relays). Fixes bug 31356; bugfix on 0.4.1.1-alpha.
  6081. o Minor bugfixes (circuit padding):
  6082. - Ignore non-padding cells on padding circuits. This addresses
  6083. various warning messages from subsystems that were not expecting
  6084. padding circuits. Fixes bug 30942; bugfix on 0.4.1.1-alpha.
  6085. o Minor bugfixes (clock skew detection):
  6086. - Don't believe clock skew results from NETINFO cells that appear to
  6087. arrive before we sent the VERSIONS cells they are responding to.
  6088. Previously, we would accept them up to 3 minutes "in the past".
  6089. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  6090. o Minor bugfixes (compatibility, standards compliance):
  6091. - Fix a bug that would invoke undefined behavior on certain
  6092. operating systems when trying to asprintf() a string exactly
  6093. INT_MAX bytes long. We don't believe this is exploitable, but it's
  6094. better to fix it anyway. Fixes bug 31001; bugfix on 0.2.2.11-alpha.
  6095. Found and fixed by Tobias Stoeckmann.
  6096. o Minor bugfixes (compilation warning):
  6097. - Fix a compilation warning on Windows about casting a function
  6098. pointer for GetTickCount64(). Fixes bug 31374; bugfix
  6099. on 0.2.9.1-alpha.
  6100. o Minor bugfixes (compilation):
  6101. - Avoid using labs() on time_t, which can cause compilation warnings
  6102. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  6103. o Minor bugfixes (distribution):
  6104. - Do not ship any temporary files found in the
  6105. scripts/maint/practracker directory. Fixes bug 31311; bugfix
  6106. on 0.4.1.1-alpha.
  6107. o Testing (continuous integration):
  6108. - In Travis, make stem log a controller trace to the console, and
  6109. tail stem's tor log after failure. Closes ticket 30591.
  6110. - In Travis, only run the stem tests that use a tor binary. Closes
  6111. ticket 30694.
  6112. Changes in version 0.4.1.4-rc - 2019-07-25
  6113. Tor 0.4.1.4-rc fixes a few bugs from previous versions of Tor, and
  6114. updates to a new list of fallback directories. If no new bugs are
  6115. found, the next release in the 0.4.1.x serious should be stable.
  6116. o Major bugfixes (circuit build, guard):
  6117. - When considering upgrading circuits from "waiting for guard" to
  6118. "open", always ignore circuits that are marked for close. Otherwise,
  6119. we can end up in the situation where a subsystem is notified that
  6120. a closing circuit has just opened, leading to undesirable
  6121. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  6122. o Minor features (continuous integration):
  6123. - Our Travis configuration now uses Chutney to run some network
  6124. integration tests automatically. Closes ticket 29280.
  6125. o Minor features (fallback directory list):
  6126. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  6127. in December 2018 (of which ~122 were still functional), with a
  6128. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  6129. in June 2019. Closes ticket 28795.
  6130. o Minor bugfixes (circuit padding):
  6131. - On relays, properly check that a padding machine is absent before
  6132. logging a warning about it being absent. Fixes bug 30649; bugfix
  6133. on 0.4.0.1-alpha.
  6134. - Add two NULL checks in unreachable places to silence Coverity (CID
  6135. 144729 and 1447291) and better future-proof ourselves. Fixes bug
  6136. 31024; bugfix on 0.4.1.1-alpha.
  6137. o Minor bugfixes (crash on exit):
  6138. - Avoid a set of possible code paths that could try to use freed
  6139. memory in routerlist_free() while Tor was exiting. Fixes bug
  6140. 31003; bugfix on 0.1.2.2-alpha.
  6141. o Minor bugfixes (logging):
  6142. - Fix a conflict between the flag used for messaging-domain log
  6143. messages, and the LD_NO_MOCK testing flag. Fixes bug 31080; bugfix
  6144. on 0.4.1.1-alpha.
  6145. o Minor bugfixes (memory leaks):
  6146. - Fix a trivial memory leak when parsing an invalid value from a
  6147. download schedule in the configuration. Fixes bug 30894; bugfix
  6148. on 0.3.4.1-alpha.
  6149. o Code simplification and refactoring:
  6150. - Remove some dead code from circpad_machine_remove_token() to fix
  6151. some Coverity warnings (CID 1447298). Fixes bug 31027; bugfix
  6152. on 0.4.1.1-alpha.
  6153. Changes in version 0.4.1.3-alpha - 2019-06-25
  6154. Tor 0.4.1.3-alpha resolves numerous bugs left over from the previous
  6155. alpha, most of them from earlier release series.
  6156. o Major bugfixes (Onion service reachability):
  6157. - Properly clean up the introduction point map when circuits change
  6158. purpose from onion service circuits to pathbias, measurement, or
  6159. other circuit types. This should fix some service-side instances
  6160. of introduction point failure. Fixes bug 29034; bugfix
  6161. on 0.3.2.1-alpha.
  6162. o Minor features (geoip):
  6163. - Update geoip and geoip6 to the June 10 2019 Maxmind GeoLite2
  6164. Country database. Closes ticket 30852.
  6165. o Minor features (logging):
  6166. - Give a more useful assertion failure message if we think we have
  6167. minherit() but we fail to make a region non-inheritable. Give a
  6168. compile-time warning if our support for minherit() is incomplete.
  6169. Closes ticket 30686.
  6170. o Minor bugfixes (circuit isolation):
  6171. - Fix a logic error that prevented the SessionGroup sub-option from
  6172. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  6173. o Minor bugfixes (continuous integration):
  6174. - Allow the test-stem job to fail in Travis, because it sometimes
  6175. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  6176. - Skip test_rebind on macOS in Travis, because it is unreliable on
  6177. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  6178. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  6179. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  6180. o Minor bugfixes (directory authorities):
  6181. - Stop crashing after parsing an unknown descriptor purpose
  6182. annotation. We think this bug can only be triggered by modifying a
  6183. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  6184. o Minor bugfixes (pluggable transports):
  6185. - When running as a bridge with pluggable transports, always publish
  6186. pluggable transport information in our extrainfo descriptor, even
  6187. if ExtraInfoStatistics is 0. This information is needed by
  6188. BridgeDB. Fixes bug 30956; bugfix on 0.4.1.1-alpha.
  6189. o Documentation:
  6190. - Mention URLs for Travis/Appveyor/Jenkins in ReleasingTor.md.
  6191. Closes ticket 30630.
  6192. Changes in version 0.4.1.2-alpha - 2019-06-06
  6193. Tor 0.4.1.2-alpha resolves numerous bugs--some of them from the
  6194. previous alpha, and some much older. It also contains minor testing
  6195. improvements, and an improvement to the security of our authenticated
  6196. SENDME implementation.
  6197. o Major bugfixes (bridges):
  6198. - Consider our directory information to have changed when our list
  6199. of bridges changes. Previously, Tor would not re-compute the
  6200. status of its directory information when bridges changed, and
  6201. therefore would not realize that it was no longer able to build
  6202. circuits. Fixes part of bug 29875.
  6203. - Do not count previously configured working bridges towards our
  6204. total of working bridges. Previously, when Tor's list of bridges
  6205. changed, it would think that the old bridges were still usable,
  6206. and delay fetching router descriptors for the new ones. Fixes part
  6207. of bug 29875; bugfix on 0.3.0.1-alpha.
  6208. o Major bugfixes (flow control, SENDME):
  6209. - Decrement the stream-level package window after packaging a cell.
  6210. Previously, it was done inside a log_debug() call, meaning that if
  6211. debug logs were not enabled, the decrement would never happen, and
  6212. thus the window would be out of sync with the other end point.
  6213. Fixes bug 30628; bugfix on 0.4.1.1-alpha.
  6214. o Major bugfixes (onion service reachability):
  6215. - Properly clean up the introduction point map and associated state
  6216. when circuits change purpose from onion service circuits to
  6217. pathbias, measurement, or other circuit types. This may fix some
  6218. instances of introduction point failure. Fixes bug 29034; bugfix
  6219. on 0.3.2.1-alpha.
  6220. o Minor features (authenticated SENDME):
  6221. - Ensure that there is enough randomness on every circuit to prevent
  6222. an attacker from successfully predicting the hashes they will need
  6223. to include in authenticated SENDME cells. At a random interval, if
  6224. we have not sent randomness already, we now leave some extra space
  6225. at the end of a cell that we can fill with random bytes. Closes
  6226. ticket 26846.
  6227. o Minor features (continuous integration):
  6228. - When running coverage builds on Travis, we now set
  6229. TOR_TEST_RNG_SEED, to avoid RNG-based coverage differences. Part
  6230. of ticket 28878.
  6231. o Minor features (maintenance):
  6232. - Add a new "make autostyle" target that developers can use to apply
  6233. all automatic Tor style and consistency conversions to the
  6234. codebase. Closes ticket 30539.
  6235. o Minor features (testing):
  6236. - The circuitpadding tests now use a reproducible RNG implementation,
  6237. so that if a test fails, we can learn why. Part of ticket 28878.
  6238. - Tor's tests now support an environment variable, TOR_TEST_RNG_SEED,
  6239. to set the RNG seed for tests that use a reproducible RNG. Part of
  6240. ticket 28878.
  6241. - When running tests in coverage mode, take additional care to make
  6242. our coverage deterministic, so that we can accurately track
  6243. changes in code coverage. Closes ticket 30519.
  6244. o Minor bugfixes (configuration, proxies):
  6245. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  6246. want authentication along with configured (but unused!)
  6247. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  6248. o Minor bugfixes (controller):
  6249. - POSTDESCRIPTOR requests should work again. Previously, they were
  6250. broken if a "purpose=" flag was specified. Fixes bug 30580; bugfix
  6251. on 0.4.1.1-alpha.
  6252. - Repair the HSFETCH command so that it works again. Previously, it
  6253. expected a body when it shouldn't have. Fixes bug 30646; bugfix
  6254. on 0.4.1.1-alpha.
  6255. o Minor bugfixes (developer tooling):
  6256. - Fix pre-push hook to allow fixup and squash commits when pushing
  6257. to non-upstream git remote. Fixes bug 30286; bugfix
  6258. on 0.4.0.1-alpha.
  6259. o Minor bugfixes (directory authority):
  6260. - Move the "bandwidth-file-headers" line in directory authority
  6261. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  6262. on 0.3.5.1-alpha.
  6263. o Minor bugfixes (NetBSD):
  6264. - Fix usage of minherit() on NetBSD and other platforms that define
  6265. MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
  6266. 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
  6267. o Minor bugfixes (out-of-memory handler):
  6268. - When purging the DNS cache because of an out-of-memory condition,
  6269. try purging just the older entries at first. Previously, we would
  6270. always purge the whole thing. Fixes bug 29617; bugfix
  6271. on 0.3.5.1-alpha.
  6272. o Minor bugfixes (portability):
  6273. - Avoid crashing in our tor_vasprintf() implementation on systems
  6274. that define neither vasprintf() nor _vscprintf(). (This bug has
  6275. been here long enough that we question whether people are running
  6276. Tor on such systems, but we're applying the fix out of caution.)
  6277. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  6278. Tobias Stoeckmann.
  6279. o Minor bugfixes (shutdown, libevent, memory safety):
  6280. - Avoid use-after-free bugs when shutting down, by making sure that
  6281. we shut down libevent only after shutting down all of its users.
  6282. We believe these are harmless in practice, since they only occur
  6283. on the shutdown path, and do not involve any attacker-controlled
  6284. data. Fixes bug 30629; bugfix on 0.4.1.1-alpha.
  6285. o Minor bugfixes (static analysis):
  6286. - Fix several spurious Coverity warnings about the unit tests, to
  6287. lower our chances of missing real warnings in the future. Fixes
  6288. bug 30150; bugfix on 0.3.5.1-alpha and various other Tor versions.
  6289. o Testing:
  6290. - Specify torrc paths (with empty files) when launching tor in
  6291. integration tests; refrain from reading user and system torrcs.
  6292. Resolves issue 29702.
  6293. Changes in version 0.4.1.1-alpha - 2019-05-22
  6294. This is the first alpha in the 0.4.1.x series. It introduces
  6295. lightweight circuit padding to make some onion-service circuits harder
  6296. to distinguish, includes a new "authenticated SENDME" feature to make
  6297. certain denial-of-service attacks more difficult, and improves
  6298. performance in several areas.
  6299. o Major features (circuit padding):
  6300. - Onion service clients now add padding cells at the start of their
  6301. INTRODUCE and RENDEZVOUS circuits, to make those circuits' traffic
  6302. look more like general purpose Exit traffic. The overhead for this
  6303. is 2 extra cells in each direction for RENDEZVOUS circuits, and 1
  6304. extra upstream cell and 10 downstream cells for INTRODUCE
  6305. circuits. This feature is only enabled when also supported by the
  6306. circuit's middle node. (Clients may specify fixed middle nodes
  6307. with the MiddleNodes option, and may force-disable this feature
  6308. with the CircuitPadding option.) Closes ticket 28634.
  6309. o Major features (code organization):
  6310. - Tor now includes a generic publish-subscribe message-passing
  6311. subsystem that we can use to organize intermodule dependencies. We
  6312. hope to use this to reduce dependencies between modules that don't
  6313. need to be related, and to generally simplify our codebase. Closes
  6314. ticket 28226.
  6315. o Major features (controller protocol):
  6316. - Controller commands are now parsed using a generalized parsing
  6317. subsystem. Previously, each controller command was responsible for
  6318. parsing its own input, which led to strange inconsistencies.
  6319. Closes ticket 30091.
  6320. o Major features (flow control):
  6321. - Implement authenticated SENDMEs as detailed in proposal 289. A
  6322. SENDME cell now includes the digest of the traffic that it
  6323. acknowledges, so that once an end point receives the SENDME, it
  6324. can confirm the other side's knowledge of the previous cells that
  6325. were sent, and prevent certain types of denial-of-service attacks.
  6326. This behavior is controlled by two new consensus parameters: see
  6327. the proposal for more details. Fixes ticket 26288.
  6328. o Major features (performance):
  6329. - Our node selection algorithm now excludes nodes in linear time.
  6330. Previously, the algorithm was quadratic, which could slow down
  6331. heavily used onion services. Closes ticket 30307.
  6332. o Major features (performance, RNG):
  6333. - Tor now constructs a fast secure pseudorandom number generator for
  6334. each thread, to use when performance is critical. This PRNG is
  6335. based on AES-CTR, using a buffering construction similar to
  6336. libottery and the (newer) OpenBSD arc4random() code. It
  6337. outperforms OpenSSL 1.1.1a's CSPRNG by roughly a factor of 100 for
  6338. small outputs. Although we believe it to be cryptographically
  6339. strong, we are only using it when necessary for performance.
  6340. Implements tickets 29023 and 29536.
  6341. o Major bugfixes (onion service v3):
  6342. - Fix an unreachable bug in which an introduction point could try to
  6343. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  6344. to encode, leading the relay to assert(). We've consolidated the
  6345. ABI values into Trunnel now. Fixes bug 30454; bugfix
  6346. on 0.3.0.1-alpha.
  6347. - Clients can now handle unknown status codes from INTRODUCE_ACK
  6348. cells. (The NACK behavior will stay the same.) This will allow us
  6349. to extend status codes in the future without breaking the normal
  6350. client behavior. Fixes another part of bug 30454; bugfix
  6351. on 0.3.0.1-alpha.
  6352. o Minor features (circuit padding):
  6353. - We now use a fast PRNG when scheduling circuit padding. Part of
  6354. ticket 28636.
  6355. - Allow the padding machine designer to pick the edges of their
  6356. histogram instead of trying to compute them automatically using an
  6357. exponential formula. Resolves some undefined behavior in the case
  6358. of small histograms and allows greater flexibility on machine
  6359. design. Closes ticket 29298; bugfix on 0.4.0.1-alpha.
  6360. - Allow circuit padding machines to hold a circuit open until they
  6361. are done padding it. Closes ticket 28780.
  6362. o Minor features (compile-time modules):
  6363. - Add a "--list-modules" command to print a list of which compile-
  6364. time modules are enabled. Closes ticket 30452.
  6365. o Minor features (continuous integration):
  6366. - Remove sudo configuration lines from .travis.yml as they are no
  6367. longer needed with current Travis build environment. Resolves
  6368. issue 30213.
  6369. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  6370. o Minor features (controller):
  6371. - Add onion service version 3 support to the HSFETCH command.
  6372. Previously, only version 2 onion services were supported. Closes
  6373. ticket 25417. Patch by Neel Chauhan.
  6374. o Minor features (debugging):
  6375. - Introduce tor_assertf() and tor_assertf_nonfatal() to enable
  6376. logging of additional information during assert failure. Now we
  6377. can use format strings to include information for trouble
  6378. shooting. Resolves ticket 29662.
  6379. o Minor features (defense in depth):
  6380. - In smartlist_remove_keeporder(), set unused pointers to NULL, in
  6381. case a bug causes them to be used later. Closes ticket 30176.
  6382. Patch from Tobias Stoeckmann.
  6383. - Tor now uses a cryptographically strong PRNG even for decisions
  6384. that we do not believe are security-sensitive. Previously, for
  6385. performance reasons, we had used a trivially predictable linear
  6386. congruential generator algorithm for certain load-balancing and
  6387. statistical sampling decisions. Now we use our fast RNG in those
  6388. cases. Closes ticket 29542.
  6389. o Minor features (developer tools):
  6390. - Tor's "practracker" test script now checks for files and functions
  6391. that seem too long and complicated. Existing overlong functions
  6392. and files are accepted for now, but should eventually be
  6393. refactored. Closes ticket 29221.
  6394. - Add some scripts used for git maintenance to scripts/git. Closes
  6395. ticket 29391.
  6396. - Call practracker from pre-push and pre-commit git hooks to let
  6397. developers know if they made any code style violations. Closes
  6398. ticket 30051.
  6399. - Add a script to check that each header has a well-formed and
  6400. unique guard macro. Closes ticket 29756.
  6401. o Minor features (geoip):
  6402. - Update geoip and geoip6 to the May 13 2019 Maxmind GeoLite2
  6403. Country database. Closes ticket 30522.
  6404. o Minor features (HTTP tunnel):
  6405. - Return an informative web page when the HTTPTunnelPort is used as
  6406. an HTTP proxy. Closes ticket 27821, patch by "eighthave".
  6407. o Minor features (IPv6, v3 onion services):
  6408. - Make v3 onion services put IPv6 addresses in service descriptors.
  6409. Before this change, service descriptors only contained IPv4
  6410. addresses. Implements 26992.
  6411. o Minor features (modularity):
  6412. - The "--disable-module-dirauth" compile-time option now disables
  6413. even more dirauth-only code. Closes ticket 30345.
  6414. o Minor features (performance):
  6415. - Use OpenSSL's implementations of SHA3 when available (in OpenSSL
  6416. 1.1.1 and later), since they tend to be faster than tiny-keccak.
  6417. Closes ticket 28837.
  6418. o Minor features (testing):
  6419. - Tor's unit test code now contains helper functions to replace the
  6420. PRNG with a deterministic or reproducible version for testing.
  6421. Previously, various tests implemented this in various ways.
  6422. Implements ticket 29732.
  6423. - We now have a script, cov-test-determinism.sh, to identify places
  6424. where our unit test coverage has become nondeterministic. Closes
  6425. ticket 29436.
  6426. - Check that representative subsets of values of `int` and `unsigned
  6427. int` can be represented by `void *`. Resolves issue 29537.
  6428. o Minor bugfixes (bridge authority):
  6429. - Bridge authorities now set bridges as running or non-running when
  6430. about to dump their status to a file. Previously, they set bridges
  6431. as running in response to a GETINFO command, but those shouldn't
  6432. modify data structures. Fixes bug 24490; bugfix on 0.2.0.13-alpha.
  6433. Patch by Neel Chauhan.
  6434. o Minor bugfixes (channel padding statistics):
  6435. - Channel padding write totals and padding-enabled totals are now
  6436. counted properly in relay extrainfo descriptors. Fixes bug 29231;
  6437. bugfix on 0.3.1.1-alpha.
  6438. o Minor bugfixes (circuit padding):
  6439. - Add a "CircuitPadding" torrc option to disable circuit padding.
  6440. Fixes bug 28693; bugfix on 0.4.0.1-alpha.
  6441. - Allow circuit padding machines to specify that they do not
  6442. contribute much overhead, and provide consensus flags and torrc
  6443. options to force clients to only use these low overhead machines.
  6444. Fixes bug 29203; bugfix on 0.4.0.1-alpha.
  6445. - Provide a consensus parameter to fully disable circuit padding, to
  6446. be used in emergency network overload situations. Fixes bug 30173;
  6447. bugfix on 0.4.0.1-alpha.
  6448. - The circuit padding subsystem will no longer schedule padding if
  6449. dormant mode is enabled. Fixes bug 28636; bugfix on 0.4.0.1-alpha.
  6450. - Inspect a circuit-level cell queue before sending padding, to
  6451. avoid sending padding while too much data is already queued. Fixes
  6452. bug 29204; bugfix on 0.4.0.1-alpha.
  6453. - Avoid calling monotime_absolute_usec() in circuit padding machines
  6454. that do not use token removal or circuit RTT estimation. Fixes bug
  6455. 29085; bugfix on 0.4.0.1-alpha.
  6456. o Minor bugfixes (compilation, unusual configurations):
  6457. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  6458. due to missing declarations of abort(), and prevent other such
  6459. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  6460. o Minor bugfixes (controller protocol):
  6461. - Teach the controller parser to distinguish an object preceded by
  6462. an argument list from one without. Previously, it couldn't
  6463. distinguish an argument list from the first line of a multiline
  6464. object. Fixes bug 29984; bugfix on 0.2.3.8-alpha.
  6465. o Minor bugfixes (directory authority, ipv6):
  6466. - Directory authorities with IPv6 support now always mark themselves
  6467. as reachable via IPv6. Fixes bug 24338; bugfix on 0.2.4.1-alpha.
  6468. Patch by Neel Chauhan.
  6469. o Minor bugfixes (documentation):
  6470. - Improve the documentation for using MapAddress with ".exit". Fixes
  6471. bug 30109; bugfix on 0.1.0.1-rc.
  6472. - Improve the monotonic time module and function documentation to
  6473. explain what "monotonic" actually means, and document some results
  6474. that have surprised people. Fixes bug 29640; bugfix
  6475. on 0.2.9.1-alpha.
  6476. - Use proper formatting when providing an example on quoting options
  6477. that contain whitespace. Fixes bug 29635; bugfix on 0.2.3.18-rc.
  6478. o Minor bugfixes (logging):
  6479. - Do not log a warning when running with an OpenSSL version other
  6480. than the one Tor was compiled with, if the two versions should be
  6481. compatible. Previously, we would warn whenever the version was
  6482. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  6483. - Warn operators when the MyFamily option is set but ContactInfo is
  6484. missing, as the latter should be set too. Fixes bug 25110; bugfix
  6485. on 0.3.3.1-alpha.
  6486. o Minor bugfixes (memory leak):
  6487. - Avoid a minor memory leak that could occur on relays when failing
  6488. to create a "keys" directory. Fixes bug 30148; bugfix
  6489. on 0.3.3.1-alpha.
  6490. o Minor bugfixes (onion services):
  6491. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  6492. implementation) when failing to load an onion service client
  6493. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  6494. - When refusing to launch a controller's HSFETCH request because of
  6495. rate-limiting, respond to the controller with a new response,
  6496. "QUERY_RATE_LIMITED". Previously, we would log QUERY_NO_HSDIR for
  6497. this case. Fixes bug 28269; bugfix on 0.3.1.1-alpha. Patch by
  6498. Neel Chauhan.
  6499. - When relaunching a circuit to a rendezvous service, mark the
  6500. circuit as needing high-uptime routers as appropriate. Fixes bug
  6501. 17357; bugfix on 0.1.0.1-rc. Patch by Neel Chauhan.
  6502. - Stop ignoring IPv6 link specifiers sent to v3 onion services.
  6503. (IPv6 support for v3 onion services is still incomplete: see
  6504. ticket 23493 for details.) Fixes bug 23588; bugfix on
  6505. 0.3.2.1-alpha. Patch by Neel Chauhan.
  6506. o Minor bugfixes (onion services, performance):
  6507. - When building circuits to onion services, call tor_addr_parse()
  6508. less often. Previously, we called tor_addr_parse() in
  6509. circuit_is_acceptable() even if its output wasn't used. This
  6510. change should improve performance when building circuits. Fixes
  6511. bug 22210; bugfix on 0.2.8.12. Patch by Neel Chauhan.
  6512. o Minor bugfixes (performance):
  6513. - When checking whether a node is a bridge, use a fast check to make
  6514. sure that its identity is set. Previously, we used a constant-time
  6515. check, which is not necessary in this case. Fixes bug 30308;
  6516. bugfix on 0.3.5.1-alpha.
  6517. o Minor bugfixes (pluggable transports):
  6518. - Tor now sets TOR_PT_EXIT_ON_STDIN_CLOSE=1 for client transports as
  6519. well as servers. Fixes bug 25614; bugfix on 0.2.7.1-alpha.
  6520. o Minor bugfixes (probability distributions):
  6521. - Refactor and improve parts of the probability distribution code
  6522. that made Coverity complain. Fixes bug 29805; bugfix
  6523. on 0.4.0.1-alpha.
  6524. o Minor bugfixes (python):
  6525. - Stop assuming that /usr/bin/python3 exists. For scripts that work
  6526. with python2, use /usr/bin/python. Otherwise, use /usr/bin/env
  6527. python3. Fixes bug 29913; bugfix on 0.2.5.3-alpha.
  6528. o Minor bugfixes (relay):
  6529. - When running as a relay, if IPv6Exit is set to 1 while ExitRelay
  6530. is auto, act as if ExitRelay is 1. Previously, we would ignore
  6531. IPv6Exit if ExitRelay was 0 or auto. Fixes bug 29613; bugfix on
  6532. 0.3.5.1-alpha. Patch by Neel Chauhan.
  6533. o Minor bugfixes (stats):
  6534. - When ExtraInfoStatistics is 0, stop including bandwidth usage
  6535. statistics, GeoIPFile hashes, ServerTransportPlugin lines, and
  6536. bridge statistics by country in extra-info documents. Fixes bug
  6537. 29018; bugfix on 0.2.4.1-alpha.
  6538. o Minor bugfixes (testing):
  6539. - Call setrlimit() to disable core dumps in test_bt_cl.c. Previously
  6540. we used `ulimit -c` in test_bt.sh, which violates POSIX shell
  6541. compatibility. Fixes bug 29061; bugfix on 0.3.5.1-alpha.
  6542. - Fix some incorrect code in the v3 onion service unit tests. Fixes
  6543. bug 29243; bugfix on 0.3.2.1-alpha.
  6544. - In the "routerkeys/*" tests, check the return values of mkdir()
  6545. for possible failures. Fixes bug 29939; bugfix on 0.2.7.2-alpha.
  6546. Found by Coverity as CID 1444254.
  6547. - Split test_utils_general() into several smaller test functions.
  6548. This makes it easier to perform resource deallocation on assert
  6549. failure, and fixes Coverity warnings CID 1444117 and CID 1444118.
  6550. Fixes bug 29823; bugfix on 0.2.9.1-alpha.
  6551. o Minor bugfixes (tor-resolve):
  6552. - Fix a memory leak in tor-resolve that could happen if Tor gave it
  6553. a malformed SOCKS response. (Memory leaks in tor-resolve don't
  6554. actually matter, but it's good to fix them anyway.) Fixes bug
  6555. 30151; bugfix on 0.4.0.1-alpha.
  6556. o Code simplification and refactoring:
  6557. - Abstract out the low-level formatting of replies on the control
  6558. port. Implements ticket 30007.
  6559. - Add several assertions in an attempt to fix some Coverity
  6560. warnings. Closes ticket 30149.
  6561. - Introduce a connection_dir_buf_add() helper function that checks
  6562. for compress_state of dir_connection_t and automatically writes a
  6563. string to directory connection with or without compression.
  6564. Resolves issue 28816.
  6565. - Make the base32_decode() API return the number of bytes written,
  6566. for consistency with base64_decode(). Closes ticket 28913.
  6567. - Move most relay-only periodic events out of mainloop.c into the
  6568. relay subsystem. Closes ticket 30414.
  6569. - Refactor and encapsulate parts of the codebase that manipulate
  6570. crypt_path_t objects. Resolves issue 30236.
  6571. - Refactor several places in our code that Coverity incorrectly
  6572. believed might have memory leaks. Closes ticket 30147.
  6573. - Remove redundant return values in crypto_format, and the
  6574. associated return value checks elsewhere in the code. Make the
  6575. implementations in crypto_format consistent, and remove redundant
  6576. code. Resolves ticket 29660.
  6577. - Rename tor_mem_is_zero() to fast_mem_is_zero(), to emphasize that
  6578. it is not a constant-time function. Closes ticket 30309.
  6579. - Replace hs_desc_link_specifier_t with link_specifier_t, and remove
  6580. all hs_desc_link_specifier_t-specific code. Fixes bug 22781;
  6581. bugfix on 0.3.2.1-alpha.
  6582. - Simplify v3 onion service link specifier handling code. Fixes bug
  6583. 23576; bugfix on 0.3.2.1-alpha.
  6584. - Split crypto_digest.c into NSS code, OpenSSL code, and shared
  6585. code. Resolves ticket 29108.
  6586. - Split control.c into several submodules, in preparation for
  6587. distributing its current responsibilities throughout the codebase.
  6588. Closes ticket 29894.
  6589. - Start to move responsibility for knowing about periodic events to
  6590. the appropriate subsystems, so that the mainloop doesn't need to
  6591. know all the periodic events in the rest of the codebase.
  6592. Implements tickets 30293 and 30294.
  6593. o Documentation:
  6594. - Document how to find git commits and tags for bug fixes in
  6595. CodingStandards.md. Update some file documentation. Closes
  6596. ticket 30261.
  6597. o Removed features:
  6598. - Remove the linux-tor-prio.sh script from contrib/operator-tools
  6599. directory. Resolves issue 29434.
  6600. - Remove the obsolete OpenSUSE initscript. Resolves issue 30076.
  6601. - Remove the obsolete script at contrib/dist/tor.sh.in. Resolves
  6602. issue 30075.
  6603. o Code simplification and refactoring (shell scripts):
  6604. - Clean up many of our shell scripts to fix shellcheck warnings.
  6605. These include autogen.sh (ticket 26069), test_keygen.sh (ticket
  6606. 29062), test_switch_id.sh (ticket 29065), test_rebind.sh (ticket
  6607. 29063), src/test/fuzz/minimize.sh (ticket 30079), test_rust.sh
  6608. (ticket 29064), torify (ticket 29070), asciidoc-helper.sh (29926),
  6609. fuzz_multi.sh (30077), fuzz_static_testcases.sh (ticket 29059),
  6610. nagios-check-tor-authority-cert (ticket 29071),
  6611. src/test/fuzz/fixup_filenames.sh (ticket 30078), test-network.sh
  6612. (ticket 29060), test_key_expiration.sh (ticket 30002),
  6613. zero_length_keys.sh (ticket 29068), and test_workqueue_*.sh
  6614. (ticket 29067).
  6615. o Testing (chutney):
  6616. - In "make test-network-all", test IPv6-only v3 single onion
  6617. services, using the chutney network single-onion-v23-ipv6-md.
  6618. Closes ticket 27251.
  6619. Changes in version 0.4.0.5 - 2019-05-02
  6620. This is the first stable release in the 0.4.0.x series. It contains
  6621. improvements for power management and bootstrap reporting, as well as
  6622. preliminary backend support for circuit padding to prevent some kinds
  6623. of traffic analysis. It also continues our work in refactoring Tor for
  6624. long-term maintainability.
  6625. Per our support policy, we will support the 0.4.0.x series for nine
  6626. months, or until three months after the release of a stable 0.4.1.x:
  6627. whichever is longer. If you need longer-term support, please stick
  6628. with 0.3.5.x, which will we plan to support until Feb 2022.
  6629. Below are the changes since 0.4.0.4-rc. For a complete list of changes
  6630. since 0.3.5.7, see the ReleaseNotes file.
  6631. o Minor features (continuous integration):
  6632. - In Travis, tell timelimit to use stem's backtrace signals, and
  6633. launch python directly from timelimit, so python receives the
  6634. signals from timelimit, rather than make. Closes ticket 30117.
  6635. o Minor features (diagnostic):
  6636. - Add more diagnostic log messages in an attempt to solve the issue
  6637. of NUL bytes appearing in a microdescriptor cache. Related to
  6638. ticket 28223.
  6639. o Minor features (testing):
  6640. - Use the approx_time() function when setting the "Expires" header
  6641. in directory replies, to make them more testable. Needed for
  6642. ticket 30001.
  6643. o Minor bugfixes (rust):
  6644. - Abort on panic in all build profiles, instead of potentially
  6645. unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
  6646. o Minor bugfixes (shellcheck):
  6647. - Look for scripts in their correct locations during "make
  6648. shellcheck". Previously we had looked in the wrong place during
  6649. out-of-tree builds. Fixes bug 30263; bugfix on 0.4.0.1-alpha.
  6650. o Minor bugfixes (testing):
  6651. - Check the time in the "Expires" header using approx_time(). Fixes
  6652. bug 30001; bugfix on 0.4.0.4-rc.
  6653. o Minor bugfixes (UI):
  6654. - Lower log level of unlink() errors during bootstrap. Fixes bug
  6655. 29930; bugfix on 0.4.0.1-alpha.
  6656. Changes in version 0.4.0.4-rc - 2019-04-11
  6657. Tor 0.4.0.4-rc is the first release candidate in its series; it fixes
  6658. several bugs from earlier versions, including some that had affected
  6659. stability, and one that prevented relays from working with NSS.
  6660. o Major bugfixes (NSS, relay):
  6661. - When running with NSS, disable TLS 1.2 ciphersuites that use
  6662. SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
  6663. these ciphersuites don't work -- which caused relays to fail to
  6664. handshake with one another when these ciphersuites were enabled.
  6665. Fixes bug 29241; bugfix on 0.3.5.1-alpha.
  6666. o Minor features (bandwidth authority):
  6667. - Make bandwidth authorities ignore relays that are reported in the
  6668. bandwidth file with the flag "vote=0". This change allows us to
  6669. report unmeasured relays for diagnostic reasons without including
  6670. their bandwidth in the bandwidth authorities' vote. Closes
  6671. ticket 29806.
  6672. - When a directory authority is using a bandwidth file to obtain the
  6673. bandwidth values that will be included in the next vote, serve
  6674. this bandwidth file at /tor/status-vote/next/bandwidth. Closes
  6675. ticket 21377.
  6676. o Minor features (circuit padding):
  6677. - Stop warning about undefined behavior in the probability
  6678. distribution tests. Float division by zero may technically be
  6679. undefined behavior in C, but it's well defined in IEEE 754.
  6680. Partial backport of 29298. Closes ticket 29527; bugfix
  6681. on 0.4.0.1-alpha.
  6682. o Minor features (continuous integration):
  6683. - On Travis Rust builds, cleanup Rust registry and refrain from
  6684. caching the "target/" directory to speed up builds. Resolves
  6685. issue 29962.
  6686. o Minor features (dormant mode):
  6687. - Add a DormantCanceledByStartup option to tell Tor that it should
  6688. treat a startup event as cancelling any previous dormant state.
  6689. Integrators should use this option with caution: it should only be
  6690. used if Tor is being started because of something that the user
  6691. did, and not if Tor is being automatically started in the
  6692. background. Closes ticket 29357.
  6693. o Minor features (geoip):
  6694. - Update geoip and geoip6 to the April 2 2019 Maxmind GeoLite2
  6695. Country database. Closes ticket 29992.
  6696. o Minor features (NSS, diagnostic):
  6697. - Try to log an error from NSS (if there is any) and a more useful
  6698. description of our situation if we are using NSS and a call to
  6699. SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
  6700. o Minor bugfixes (security):
  6701. - Fix a potential double free bug when reading huge bandwidth files.
  6702. The issue is not exploitable in the current Tor network because
  6703. the vulnerable code is only reached when directory authorities
  6704. read bandwidth files, but bandwidth files come from a trusted
  6705. source (usually the authorities themselves). Furthermore, the
  6706. issue is only exploitable in rare (non-POSIX) 32-bit architectures,
  6707. which are not used by any of the current authorities. Fixes bug
  6708. 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
  6709. Tobias Stoeckmann.
  6710. - Verify in more places that we are not about to create a buffer
  6711. with more than INT_MAX bytes, to avoid possible OOB access in the
  6712. event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
  6713. fixed by Tobias Stoeckmann.
  6714. o Minor bugfix (continuous integration):
  6715. - Reset coverage state on disk after Travis CI has finished. This
  6716. should prevent future coverage merge errors from causing the test
  6717. suite for the "process" subsystem to fail. The process subsystem
  6718. was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
  6719. on 0.2.9.15.
  6720. - Terminate test-stem if it takes more than 9.5 minutes to run.
  6721. (Travis terminates the job after 10 minutes of no output.)
  6722. Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
  6723. o Minor bugfixes (bootstrap reporting):
  6724. - During bootstrap reporting, correctly distinguish pluggable
  6725. transports from plain proxies. Fixes bug 28925; bugfix
  6726. on 0.4.0.1-alpha.
  6727. o Minor bugfixes (C correctness):
  6728. - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
  6729. 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
  6730. CID 1444119.
  6731. o Minor bugfixes (circuitpadding testing):
  6732. - Minor tweaks to avoid rare test failures related to timers and
  6733. monotonic time. Fixes bug 29500; bugfix on 0.4.0.1-alpha.
  6734. o Minor bugfixes (directory authorities):
  6735. - Actually include the bandwidth-file-digest line in directory
  6736. authority votes. Fixes bug 29959; bugfix on 0.4.0.2-alpha.
  6737. o Minor bugfixes (logging):
  6738. - On Windows, when errors cause us to reload a consensus from disk,
  6739. tell the user that we are retrying at log level "notice".
  6740. Previously we only logged this information at "info", which was
  6741. confusing because the errors themselves were logged at "warning".
  6742. Improves previous fix for 28614. Fixes bug 30004; bugfix
  6743. on 0.4.0.2-alpha.
  6744. o Minor bugfixes (pluggable transports):
  6745. - Restore old behavior when it comes to discovering the path of a
  6746. given Pluggable Transport executable file. A change in
  6747. 0.4.0.1-alpha had broken this behavior on paths containing a
  6748. space. Fixes bug 29874; bugfix on 0.4.0.1-alpha.
  6749. o Minor bugfixes (testing):
  6750. - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
  6751. recent test-network.sh to use new chutney features in CI. Fixes
  6752. bug 29703; bugfix on 0.2.9.1-alpha.
  6753. - Fix a test failure on Windows caused by an unexpected "BUG"
  6754. warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
  6755. on 0.2.9.3-alpha.
  6756. o Minor bugfixes (TLS protocol):
  6757. - When classifying a client's selection of TLS ciphers, if the
  6758. client ciphers are not yet available, do not cache the result.
  6759. Previously, we had cached the unavailability of the cipher list
  6760. and never looked again, which in turn led us to assume that the
  6761. client only supported the ancient V1 link protocol. This, in turn,
  6762. was causing Stem integration tests to stall in some cases. Fixes
  6763. bug 30021; bugfix on 0.2.4.8-alpha.
  6764. o Code simplification and refactoring:
  6765. - Introduce a connection_dir_buf_add() helper function that detects
  6766. whether compression is in use, and adds a string accordingly.
  6767. Resolves issue 28816.
  6768. - Refactor handle_get_next_bandwidth() to use
  6769. connection_dir_buf_add(). Implements ticket 29897.
  6770. o Documentation:
  6771. - Clarify that Tor performs stream isolation among *Port listeners
  6772. by default. Resolves issue 29121.
  6773. Changes in version 0.4.0.3-alpha - 2019-03-22
  6774. Tor 0.4.0.3-alpha is the third in its series; it fixes several small
  6775. bugs from earlier versions.
  6776. o Minor features (address selection):
  6777. - Treat the subnet 100.64.0.0/10 as public for some purposes;
  6778. private for others. This subnet is the RFC 6598 (Carrier Grade
  6779. NAT) IP range, and is deployed by many ISPs as an alternative to
  6780. RFC 1918 that does not break existing internal networks. Tor now
  6781. blocks SOCKS and control ports on these addresses and warns users
  6782. if client ports or ExtORPorts are listening on a RFC 6598 address.
  6783. Closes ticket 28525. Patch by Neel Chauhan.
  6784. o Minor features (geoip):
  6785. - Update geoip and geoip6 to the March 4 2019 Maxmind GeoLite2
  6786. Country database. Closes ticket 29666.
  6787. o Minor bugfixes (circuitpadding):
  6788. - Inspect the circuit-level cell queue before sending padding, to
  6789. avoid sending padding when too much data is queued. Fixes bug
  6790. 29204; bugfix on 0.4.0.1-alpha.
  6791. o Minor bugfixes (logging):
  6792. - Correct a misleading error message when IPv4Only or IPv6Only is
  6793. used but the resolved address can not be interpreted as an address
  6794. of the specified IP version. Fixes bug 13221; bugfix on
  6795. 0.2.3.9-alpha. Patch from Kris Katterjohn.
  6796. - Log the correct port number for listening sockets when "auto" is
  6797. used to let Tor pick the port number. Previously, port 0 was
  6798. logged instead of the actual port number. Fixes bug 29144; bugfix
  6799. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  6800. - Stop logging a BUG() warning when Tor is waiting for exit
  6801. descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
  6802. o Minor bugfixes (memory management):
  6803. - Refactor the shared random state's memory management so that it
  6804. actually takes ownership of the shared random value pointers.
  6805. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
  6806. o Minor bugfixes (memory management, testing):
  6807. - Stop leaking parts of the shared random state in the shared-random
  6808. unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
  6809. o Minor bugfixes (pluggable transports):
  6810. - Fix an assertion failure crash bug when a pluggable transport is
  6811. terminated during the bootstrap phase. Fixes bug 29562; bugfix
  6812. on 0.4.0.1-alpha.
  6813. o Minor bugfixes (Rust, protover):
  6814. - Add a missing "Padding" value to the Rust implementation of
  6815. protover. Fixes bug 29631; bugfix on 0.4.0.1-alpha.
  6816. o Minor bugfixes (single onion services):
  6817. - Allow connections to single onion services to remain idle without
  6818. being disconnected. Previously, relays acting as rendezvous points
  6819. for single onion services were mistakenly closing idle rendezvous
  6820. circuits after 60 seconds, thinking that they were unused
  6821. directory-fetching circuits that had served their purpose. Fixes
  6822. bug 29665; bugfix on 0.2.1.26.
  6823. o Minor bugfixes (stats):
  6824. - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
  6825. relay and bridge extra-info documents. Fixes bug 29017; bugfix
  6826. on 0.3.1.1-alpha.
  6827. o Minor bugfixes (testing):
  6828. - Downgrade some LOG_ERR messages in the address/* tests to
  6829. warnings. The LOG_ERR messages were occurring when we had no
  6830. configured network. We were failing the unit tests, because we
  6831. backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
  6832. 29530; bugfix on 0.3.5.8.
  6833. - Fix our gcov wrapper script to look for object files at the
  6834. correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
  6835. - Decrease the false positive rate of stochastic probability
  6836. distribution tests. Fixes bug 29693; bugfix on 0.4.0.1-alpha.
  6837. o Minor bugfixes (Windows, CI):
  6838. - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
  6839. Windows Server 2012 R2 job. The remaining 2 jobs still provide
  6840. coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
  6841. fast_finish, so failed jobs terminate the build immediately. Fixes
  6842. bug 29601; bugfix on 0.3.5.4-alpha.
  6843. Changes in version 0.3.5.8 - 2019-02-21
  6844. Tor 0.3.5.8 backports several fixes from later releases, including fixes
  6845. for an annoying SOCKS-parsing bug that affected users in earlier 0.3.5.x
  6846. releases.
  6847. It also includes a fix for a medium-severity security bug affecting Tor
  6848. 0.3.2.1-alpha and later. All Tor instances running an affected release
  6849. should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  6850. o Major bugfixes (cell scheduler, KIST, security):
  6851. - Make KIST consider the outbuf length when computing what it can
  6852. put in the outbuf. Previously, KIST acted as though the outbuf
  6853. were empty, which could lead to the outbuf becoming too full. It
  6854. is possible that an attacker could exploit this bug to cause a Tor
  6855. client or relay to run out of memory and crash. Fixes bug 29168;
  6856. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  6857. TROVE-2019-001 and CVE-2019-8955.
  6858. o Major bugfixes (networking, backport from 0.4.0.2-alpha):
  6859. - Gracefully handle empty username/password fields in SOCKS5
  6860. username/password auth message and allow SOCKS5 handshake to
  6861. continue. Previously, we had rejected these handshakes, breaking
  6862. certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
  6863. o Minor features (compilation, backport from 0.4.0.2-alpha):
  6864. - Compile correctly when OpenSSL is built with engine support
  6865. disabled, or with deprecated APIs disabled. Closes ticket 29026.
  6866. Patches from "Mangix".
  6867. o Minor features (geoip):
  6868. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  6869. Country database. Closes ticket 29478.
  6870. o Minor features (testing, backport from 0.4.0.2-alpha):
  6871. - Treat all unexpected ERR and BUG messages as test failures. Closes
  6872. ticket 28668.
  6873. o Minor bugfixes (onion service v3, client, backport from 0.4.0.1-alpha):
  6874. - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
  6875. connection waiting for a descriptor that we actually have in the
  6876. cache. It turns out that this can actually happen, though it is
  6877. rare. Now, tor will recover and retry the descriptor. Fixes bug
  6878. 28669; bugfix on 0.3.2.4-alpha.
  6879. o Minor bugfixes (IPv6, backport from 0.4.0.1-alpha):
  6880. - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
  6881. IPv6 socket was bound using an address family of AF_INET instead
  6882. of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
  6883. Kris Katterjohn.
  6884. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  6885. - Update Cargo.lock file to match the version made by the latest
  6886. version of Rust, so that "make distcheck" will pass again. Fixes
  6887. bug 29244; bugfix on 0.3.3.4-alpha.
  6888. o Minor bugfixes (client, clock skew, backport from 0.4.0.1-alpha):
  6889. - Select guards even if the consensus has expired, as long as the
  6890. consensus is still reasonably live. Fixes bug 24661; bugfix
  6891. on 0.3.0.1-alpha.
  6892. o Minor bugfixes (compilation, backport from 0.4.0.1-alpha):
  6893. - Compile correctly on OpenBSD; previously, we were missing some
  6894. headers required in order to detect it properly. Fixes bug 28938;
  6895. bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  6896. o Minor bugfixes (documentation, backport from 0.4.0.2-alpha):
  6897. - Describe the contents of the v3 onion service client authorization
  6898. files correctly: They hold public keys, not private keys. Fixes
  6899. bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
  6900. o Minor bugfixes (logging, backport from 0.4.0.1-alpha):
  6901. - Rework rep_hist_log_link_protocol_counts() to iterate through all
  6902. link protocol versions when logging incoming/outgoing connection
  6903. counts. Tor no longer skips version 5, and we won't have to
  6904. remember to update this function when new link protocol version is
  6905. developed. Fixes bug 28920; bugfix on 0.2.6.10.
  6906. o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
  6907. - Log more information at "warning" level when unable to read a
  6908. private key; log more information at "info" level when unable to
  6909. read a public key. We had warnings here before, but they were lost
  6910. during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
  6911. o Minor bugfixes (misc, backport from 0.4.0.2-alpha):
  6912. - The amount of total available physical memory is now determined
  6913. using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
  6914. when it is defined and a 64-bit variant is not available. Fixes
  6915. bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
  6916. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  6917. - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
  6918. than one private key for a hidden service. Fixes bug 29040; bugfix
  6919. on 0.3.5.1-alpha.
  6920. - In hs_cache_store_as_client() log an HSDesc we failed to parse at
  6921. "debug" level. Tor used to log it as a warning, which caused very
  6922. long log lines to appear for some users. Fixes bug 29135; bugfix
  6923. on 0.3.2.1-alpha.
  6924. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  6925. as a warning. Instead, log it as a protocol warning, because there
  6926. is nothing that relay operators can do to fix it. Fixes bug 29029;
  6927. bugfix on 0.2.5.7-rc.
  6928. o Minor bugfixes (tests, directory clients, backport from 0.4.0.1-alpha):
  6929. - Mark outdated dirservers when Tor only has a reasonably live
  6930. consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
  6931. o Minor bugfixes (tests, backport from 0.4.0.2-alpha):
  6932. - Detect and suppress "bug" warnings from the util/time test on
  6933. Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
  6934. - Do not log an error-level message if we fail to find an IPv6
  6935. network interface from the unit tests. Fixes bug 29160; bugfix
  6936. on 0.2.7.3-rc.
  6937. o Minor bugfixes (usability, backport from 0.4.0.1-alpha):
  6938. - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
  6939. Some users took this phrasing to mean that the mentioned guard was
  6940. under their control or responsibility, which it is not. Fixes bug
  6941. 28895; bugfix on Tor 0.3.0.1-alpha.
  6942. Changes in version 0.3.4.11 - 2019-02-21
  6943. Tor 0.3.4.11 is the third stable release in its series. It includes
  6944. a fix for a medium-severity security bug affecting Tor 0.3.2.1-alpha and
  6945. later. All Tor instances running an affected release should upgrade to
  6946. 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  6947. o Major bugfixes (cell scheduler, KIST, security):
  6948. - Make KIST consider the outbuf length when computing what it can
  6949. put in the outbuf. Previously, KIST acted as though the outbuf
  6950. were empty, which could lead to the outbuf becoming too full. It
  6951. is possible that an attacker could exploit this bug to cause a Tor
  6952. client or relay to run out of memory and crash. Fixes bug 29168;
  6953. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  6954. TROVE-2019-001 and CVE-2019-8955.
  6955. o Minor features (geoip):
  6956. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  6957. Country database. Closes ticket 29478.
  6958. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  6959. - Update Cargo.lock file to match the version made by the latest
  6960. version of Rust, so that "make distcheck" will pass again. Fixes
  6961. bug 29244; bugfix on 0.3.3.4-alpha.
  6962. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  6963. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  6964. as a warning. Instead, log it as a protocol warning, because there
  6965. is nothing that relay operators can do to fix it. Fixes bug 29029;
  6966. bugfix on 0.2.5.7-rc.
  6967. Changes in version 0.3.3.12 - 2019-02-21
  6968. Tor 0.3.3.12 fixes a medium-severity security bug affecting Tor
  6969. 0.3.2.1-alpha and later. All Tor instances running an affected release
  6970. should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  6971. This release marks the end of support for the Tor 0.3.3.x series. We
  6972. recommend that users switch to either the Tor 0.3.4 series (supported
  6973. until at least 10 June 2019), or the Tor 0.3.5 series, which will
  6974. receive long-term support until at least 1 Feb 2022.
  6975. o Major bugfixes (cell scheduler, KIST, security):
  6976. - Make KIST consider the outbuf length when computing what it can
  6977. put in the outbuf. Previously, KIST acted as though the outbuf
  6978. were empty, which could lead to the outbuf becoming too full. It
  6979. is possible that an attacker could exploit this bug to cause a Tor
  6980. client or relay to run out of memory and crash. Fixes bug 29168;
  6981. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  6982. TROVE-2019-001 and CVE-2019-8955.
  6983. o Minor features (geoip):
  6984. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  6985. Country database. Closes ticket 29478.
  6986. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  6987. - Update Cargo.lock file to match the version made by the latest
  6988. version of Rust, so that "make distcheck" will pass again. Fixes
  6989. bug 29244; bugfix on 0.3.3.4-alpha.
  6990. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  6991. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  6992. as a warning. Instead, log it as a protocol warning, because there
  6993. is nothing that relay operators can do to fix it. Fixes bug 29029;
  6994. bugfix on 0.2.5.7-rc.
  6995. Changes in version 0.4.0.2-alpha - 2019-02-21
  6996. Tor 0.4.0.2-alpha is the second alpha in its series; it fixes several
  6997. bugs from earlier versions, including several that had broken
  6998. backward compatibility.
  6999. It also includes a fix for a medium-severity security bug affecting Tor
  7000. 0.3.2.1-alpha and later. All Tor instances running an affected release
  7001. should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  7002. o Major bugfixes (cell scheduler, KIST, security):
  7003. - Make KIST consider the outbuf length when computing what it can
  7004. put in the outbuf. Previously, KIST acted as though the outbuf
  7005. were empty, which could lead to the outbuf becoming too full. It
  7006. is possible that an attacker could exploit this bug to cause a Tor
  7007. client or relay to run out of memory and crash. Fixes bug 29168;
  7008. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  7009. TROVE-2019-001 and CVE-2019-8955.
  7010. o Major bugfixes (networking):
  7011. - Gracefully handle empty username/password fields in SOCKS5
  7012. username/password auth messsage and allow SOCKS5 handshake to
  7013. continue. Previously, we had rejected these handshakes, breaking
  7014. certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
  7015. o Major bugfixes (windows, startup):
  7016. - When reading a consensus file from disk, detect whether it was
  7017. written in text mode, and re-read it in text mode if so. Always
  7018. write consensus files in binary mode so that we can map them into
  7019. memory later. Previously, we had written in text mode, which
  7020. confused us when we tried to map the file on windows. Fixes bug
  7021. 28614; bugfix on 0.4.0.1-alpha.
  7022. o Minor features (compilation):
  7023. - Compile correctly when OpenSSL is built with engine support
  7024. disabled, or with deprecated APIs disabled. Closes ticket 29026.
  7025. Patches from "Mangix".
  7026. o Minor features (developer tooling):
  7027. - Check that bugfix versions in changes files look like Tor versions
  7028. from the versions spec. Warn when bugfixes claim to be on a future
  7029. release. Closes ticket 27761.
  7030. - Provide a git pre-commit hook that disallows committing if we have
  7031. any failures in our code and changelog formatting checks. It is
  7032. now available in scripts/maint/pre-commit.git-hook. Implements
  7033. feature 28976.
  7034. o Minor features (directory authority):
  7035. - When a directory authority is using a bandwidth file to obtain
  7036. bandwidth values, include the digest of that file in the vote.
  7037. Closes ticket 26698.
  7038. o Minor features (geoip):
  7039. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  7040. Country database. Closes ticket 29478.
  7041. o Minor features (testing):
  7042. - Treat all unexpected ERR and BUG messages as test failures. Closes
  7043. ticket 28668.
  7044. o Minor bugfixes (build, compatibility, rust):
  7045. - Update Cargo.lock file to match the version made by the latest
  7046. version of Rust, so that "make distcheck" will pass again. Fixes
  7047. bug 29244; bugfix on 0.3.3.4-alpha.
  7048. o Minor bugfixes (compilation):
  7049. - Fix compilation warnings in test_circuitpadding.c. Fixes bug
  7050. 29169; bugfix on 0.4.0.1-alpha.
  7051. - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
  7052. 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
  7053. o Minor bugfixes (documentation):
  7054. - Describe the contents of the v3 onion service client authorization
  7055. files correctly: They hold public keys, not private keys. Fixes
  7056. bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
  7057. o Minor bugfixes (linux seccomp sandbox):
  7058. - Fix startup crash when experimental sandbox support is enabled.
  7059. Fixes bug 29150; bugfix on 0.4.0.1-alpha. Patch by Peter Gerber.
  7060. o Minor bugfixes (logging):
  7061. - Avoid logging that we are relaxing a circuit timeout when that
  7062. timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
  7063. - Log more information at "warning" level when unable to read a
  7064. private key; log more information at "info" level when unable to
  7065. read a public key. We had warnings here before, but they were lost
  7066. during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
  7067. o Minor bugfixes (misc):
  7068. - The amount of total available physical memory is now determined
  7069. using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
  7070. when it is defined and a 64-bit variant is not available. Fixes
  7071. bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
  7072. o Minor bugfixes (onion services):
  7073. - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
  7074. than one private key for a hidden service. Fixes bug 29040; bugfix
  7075. on 0.3.5.1-alpha.
  7076. - In hs_cache_store_as_client() log an HSDesc we failed to parse at
  7077. "debug" level. Tor used to log it as a warning, which caused very
  7078. long log lines to appear for some users. Fixes bug 29135; bugfix
  7079. on 0.3.2.1-alpha.
  7080. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  7081. as a warning. Instead, log it as a protocol warning, because there
  7082. is nothing that relay operators can do to fix it. Fixes bug 29029;
  7083. bugfix on 0.2.5.7-rc.
  7084. o Minor bugfixes (scheduler):
  7085. - When re-adding channels to the pending list, check the correct
  7086. channel's sched_heap_idx. This issue has had no effect in mainline
  7087. Tor, but could have led to bugs down the road in improved versions
  7088. of our circuit scheduling code. Fixes bug 29508; bugfix
  7089. on 0.3.2.10.
  7090. o Minor bugfixes (tests):
  7091. - Fix intermittent failures on an adaptive padding test. Fixes one
  7092. case of bug 29122; bugfix on 0.4.0.1-alpha.
  7093. - Disable an unstable circuit-padding test that was failing
  7094. intermittently because of an ill-defined small histogram. Such
  7095. histograms will be allowed again after 29298 is implemented. Fixes
  7096. a second case of bug 29122; bugfix on 0.4.0.1-alpha.
  7097. - Detect and suppress "bug" warnings from the util/time test on
  7098. Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
  7099. - Do not log an error-level message if we fail to find an IPv6
  7100. network interface from the unit tests. Fixes bug 29160; bugfix
  7101. on 0.2.7.3-rc.
  7102. o Documentation:
  7103. - In the manpage entry describing MapAddress torrc setting, use
  7104. example IP addresses from ranges specified for use in documentation
  7105. by RFC 5737. Resolves issue 28623.
  7106. o Removed features:
  7107. - Remove the old check-tor script. Resolves issue 29072.
  7108. Changes in version 0.4.0.1-alpha - 2019-01-18
  7109. Tor 0.4.0.1-alpha is the first release in the new 0.4.0.x series. It
  7110. introduces improved features for power and bandwidth conservation,
  7111. more accurate reporting of bootstrap progress for user interfaces, and
  7112. an experimental backend for an exciting new adaptive padding feature.
  7113. There is also the usual assortment of bugfixes and minor features, all
  7114. described below.
  7115. o Major features (battery management, client, dormant mode):
  7116. - When Tor is running as a client, and it is unused for a long time,
  7117. it can now enter a "dormant" state. When Tor is dormant, it avoids
  7118. network and CPU activity until it is reawoken either by a user
  7119. request or by a controller command. For more information, see the
  7120. configuration options starting with "Dormant". Implements tickets
  7121. 2149 and 28335.
  7122. - The client's memory of whether it is "dormant", and how long it
  7123. has spent idle, persists across invocations. Implements
  7124. ticket 28624.
  7125. - There is a DormantOnFirstStartup option that integrators can use
  7126. if they expect that in many cases, Tor will be installed but
  7127. not used.
  7128. o Major features (bootstrap reporting):
  7129. - When reporting bootstrap progress, report the first connection
  7130. uniformly, regardless of whether it's a connection for building
  7131. application circuits. This allows finer-grained reporting of early
  7132. progress than previously possible, with the improvements of ticket
  7133. 27169. Closes tickets 27167 and 27103. Addresses ticket 27308.
  7134. - When reporting bootstrap progress, treat connecting to a proxy or
  7135. pluggable transport as separate from having successfully used that
  7136. proxy or pluggable transport to connect to a relay. Closes tickets
  7137. 27100 and 28884.
  7138. o Major features (circuit padding):
  7139. - Implement preliminary support for the circuit padding portion of
  7140. Proposal 254. The implementation supports Adaptive Padding (aka
  7141. WTF-PAD) state machines for use between experimental clients and
  7142. relays. Support is also provided for APE-style state machines that
  7143. use probability distributions instead of histograms to specify
  7144. inter-packet delay. At the moment, Tor does not provide any
  7145. padding state machines that are used in normal operation: for now,
  7146. this feature exists solely for experimentation. Closes
  7147. ticket 28142.
  7148. o Major features (refactoring):
  7149. - Tor now uses an explicit list of its own subsystems when
  7150. initializing and shutting down. Previously, these systems were
  7151. managed implicitly in various places throughout the codebase.
  7152. (There may still be some subsystems using the old system.) Closes
  7153. ticket 28330.
  7154. o Minor features (bootstrap reporting):
  7155. - When reporting bootstrap progress, stop distinguishing between
  7156. situations where only internal paths are available and situations
  7157. where external paths are available. Previously, Tor would often
  7158. erroneously report that it had only internal paths. Closes
  7159. ticket 27402.
  7160. o Minor features (continuous integration):
  7161. - Log Python version during each Travis CI job. Resolves
  7162. issue 28551.
  7163. o Minor features (controller):
  7164. - Add a DROPOWNERSHIP command to undo the effects of TAKEOWNERSHIP.
  7165. Implements ticket 28843.
  7166. o Minor features (developer tooling):
  7167. - Provide a git hook script to prevent "fixup!" and "squash!"
  7168. commits from ending up in the master branch, as scripts/main/pre-
  7169. push.git-hook. Closes ticket 27993.
  7170. o Minor features (directory authority):
  7171. - Directory authorities support a new consensus algorithm, under
  7172. which the family lines in microdescriptors are encoded in a
  7173. canonical form. This change makes family lines more compressible
  7174. in transit, and on the client. Closes ticket 28266; implements
  7175. proposal 298.
  7176. o Minor features (directory authority, relay):
  7177. - Authorities now vote on a "StaleDesc" flag to indicate that a
  7178. relay's descriptor is so old that the relay should upload again
  7179. soon. Relays treat this flag as a signal to upload a new
  7180. descriptor. This flag will eventually let us remove the
  7181. 'published' date from routerstatus entries, and make our consensus
  7182. diffs much smaller. Closes ticket 26770; implements proposal 293.
  7183. o Minor features (fallback directory mirrors):
  7184. - Update the fallback whitelist based on operator opt-ins and opt-
  7185. outs. Closes ticket 24805, patch by Phoul.
  7186. o Minor features (FreeBSD):
  7187. - On FreeBSD-based systems, warn relay operators if the
  7188. "net.inet.ip.random_id" sysctl (IP ID randomization) is disabled.
  7189. Closes ticket 28518.
  7190. o Minor features (HTTP standards compliance):
  7191. - Stop sending the header "Content-type: application/octet-stream"
  7192. along with transparently compressed documents: this confused
  7193. browsers. Closes ticket 28100.
  7194. o Minor features (IPv6):
  7195. - We add an option ClientAutoIPv6ORPort, to make clients randomly
  7196. prefer a node's IPv4 or IPv6 ORPort. The random preference is set
  7197. every time a node is loaded from a new consensus or bridge config.
  7198. We expect that this option will enable clients to bootstrap more
  7199. quickly without having to determine whether they support IPv4,
  7200. IPv6, or both. Closes ticket 27490. Patch by Neel Chauhan.
  7201. - When using addrs_in_same_network_family(), avoid choosing circuit
  7202. paths that pass through the same IPv6 subnet more than once.
  7203. Previously, we only checked IPv4 subnets. Closes ticket 24393.
  7204. Patch by Neel Chauhan.
  7205. o Minor features (log messages):
  7206. - Improve log message in v3 onion services that could print out
  7207. negative revision counters. Closes ticket 27707. Patch
  7208. by "ffmancera".
  7209. o Minor features (memory usage):
  7210. - Save memory by storing microdescriptor family lists with a more
  7211. compact representation. Closes ticket 27359.
  7212. - Tor clients now use mmap() to read consensus files from disk, so
  7213. that they no longer need keep the full text of a consensus in
  7214. memory when parsing it or applying a diff. Closes ticket 27244.
  7215. o Minor features (parsing):
  7216. - Directory authorities now validate that router descriptors and
  7217. ExtraInfo documents are in a valid subset of UTF-8, and reject
  7218. them if they are not. Closes ticket 27367.
  7219. o Minor features (performance):
  7220. - Cache the results of summarize_protocol_flags(), so that we don't
  7221. have to parse the same protocol-versions string over and over.
  7222. This should save us a huge number of malloc calls on startup, and
  7223. may reduce memory fragmentation with some allocators. Closes
  7224. ticket 27225.
  7225. - Remove a needless memset() call from get_token_arguments, thereby
  7226. speeding up the tokenization of directory objects by about 20%.
  7227. Closes ticket 28852.
  7228. - Replace parse_short_policy() with a faster implementation, to
  7229. improve microdescriptor parsing time. Closes ticket 28853.
  7230. - Speed up directory parsing a little by avoiding use of the non-
  7231. inlined strcmp_len() function. Closes ticket 28856.
  7232. - Speed up microdescriptor parsing by about 30%, to help improve
  7233. startup time. Closes ticket 28839.
  7234. o Minor features (pluggable transports):
  7235. - Add support for emitting STATUS updates to Tor's control port from
  7236. a pluggable transport process. Closes ticket 28846.
  7237. - Add support for logging to Tor's logging subsystem from a
  7238. pluggable transport process. Closes ticket 28180.
  7239. o Minor features (process management):
  7240. - Add a new process API for handling child processes. This new API
  7241. allows Tor to have bi-directional communication with child
  7242. processes on both Unix and Windows. Closes ticket 28179.
  7243. - Use the subsystem manager to initialize and shut down the process
  7244. module. Closes ticket 28847.
  7245. o Minor features (relay):
  7246. - When listing relay families, list them in canonical form including
  7247. the relay's own identity, and try to give a more useful set of
  7248. warnings. Part of ticket 28266 and proposal 298.
  7249. o Minor features (required protocols):
  7250. - Before exiting because of a missing required protocol, Tor will
  7251. now check the publication time of the consensus, and not exit
  7252. unless the consensus is newer than the Tor program's own release
  7253. date. Previously, Tor would not check the consensus publication
  7254. time, and so might exit because of a missing protocol that might
  7255. no longer be required in a current consensus. Implements proposal
  7256. 297; closes ticket 27735.
  7257. o Minor features (testing):
  7258. - Allow a HeartbeatPeriod of less than 30 minutes in testing Tor
  7259. networks. Closes ticket 28840. Patch by Rob Jansen.
  7260. o Minor bugfixes (client, clock skew):
  7261. - Bootstrap successfully even when Tor's clock is behind the clocks
  7262. on the authorities. Fixes bug 28591; bugfix on 0.2.0.9-alpha.
  7263. - Select guards even if the consensus has expired, as long as the
  7264. consensus is still reasonably live. Fixes bug 24661; bugfix
  7265. on 0.3.0.1-alpha.
  7266. o Minor bugfixes (compilation):
  7267. - Compile correctly on OpenBSD; previously, we were missing some
  7268. headers required in order to detect it properly. Fixes bug 28938;
  7269. bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  7270. o Minor bugfixes (directory clients):
  7271. - Mark outdated dirservers when Tor only has a reasonably live
  7272. consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
  7273. o Minor bugfixes (directory mirrors):
  7274. - Even when a directory mirror's clock is behind the clocks on the
  7275. authorities, we now allow the mirror to serve "future"
  7276. consensuses. Fixes bug 28654; bugfix on 0.3.0.1-alpha.
  7277. o Minor bugfixes (DNS):
  7278. - Gracefully handle an empty or absent resolve.conf file by falling
  7279. back to using "localhost" as a DNS server (and hoping it works).
  7280. Previously, we would just stop running as an exit. Fixes bug
  7281. 21900; bugfix on 0.2.1.10-alpha.
  7282. o Minor bugfixes (guards):
  7283. - In count_acceptable_nodes(), the minimum number is now one bridge
  7284. or guard node, and two non-guard nodes for a circuit. Previously,
  7285. we had added up the sum of all nodes with a descriptor, but that
  7286. could cause us to build failing circuits when we had either too
  7287. many bridges or not enough guard nodes. Fixes bug 25885; bugfix on
  7288. 0.2.3.1-alpha. Patch by Neel Chauhan.
  7289. o Minor bugfixes (IPv6):
  7290. - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
  7291. IPv6 socket was bound using an address family of AF_INET instead
  7292. of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
  7293. Kris Katterjohn.
  7294. o Minor bugfixes (logging):
  7295. - Rework rep_hist_log_link_protocol_counts() to iterate through all
  7296. link protocol versions when logging incoming/outgoing connection
  7297. counts. Tor no longer skips version 5, and we won't have to
  7298. remember to update this function when new link protocol version is
  7299. developed. Fixes bug 28920; bugfix on 0.2.6.10.
  7300. o Minor bugfixes (networking):
  7301. - Introduce additional checks into tor_addr_parse() to reject
  7302. certain incorrect inputs that previously were not detected. Fixes
  7303. bug 23082; bugfix on 0.2.0.10-alpha.
  7304. o Minor bugfixes (onion service v3, client):
  7305. - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
  7306. connection waiting for a descriptor that we actually have in the
  7307. cache. It turns out that this can actually happen, though it is
  7308. rare. Now, tor will recover and retry the descriptor. Fixes bug
  7309. 28669; bugfix on 0.3.2.4-alpha.
  7310. o Minor bugfixes (periodic events):
  7311. - Refrain from calling routerlist_remove_old_routers() from
  7312. check_descriptor_callback(). Instead, create a new hourly periodic
  7313. event. Fixes bug 27929; bugfix on 0.2.8.1-alpha.
  7314. o Minor bugfixes (pluggable transports):
  7315. - Make sure that data is continously read from standard output and
  7316. standard error pipes of a pluggable transport child-process, to
  7317. avoid deadlocking when a pipe's buffer is full. Fixes bug 26360;
  7318. bugfix on 0.2.3.6-alpha.
  7319. o Minor bugfixes (unit tests):
  7320. - Instead of relying on hs_free_all() to clean up all onion service
  7321. objects in test_build_descriptors(), we now deallocate them one by
  7322. one. This lets Coverity know that we are not leaking memory there
  7323. and fixes CID 1442277. Fixes bug 28989; bugfix on 0.3.5.1-alpha.
  7324. o Minor bugfixes (usability):
  7325. - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
  7326. Some users took this phrasing to mean that the mentioned guard was
  7327. under their control or responsibility, which it is not. Fixes bug
  7328. 28895; bugfix on Tor 0.3.0.1-alpha.
  7329. o Code simplification and refactoring:
  7330. - Reimplement NETINFO cell parsing and generation to rely on
  7331. trunnel-generated wire format handling code. Closes ticket 27325.
  7332. - Remove unnecessary unsafe code from the Rust macro "cstr!". Closes
  7333. ticket 28077.
  7334. - Rework SOCKS wire format handling to rely on trunnel-generated
  7335. parsing/generation code. Resolves ticket 27620.
  7336. - Split out bootstrap progress reporting from control.c into a
  7337. separate file. Part of ticket 27402.
  7338. - The .may_include files that we use to describe our directory-by-
  7339. directory dependency structure now describe a noncircular
  7340. dependency graph over the directories that they cover. Our
  7341. checkIncludes.py tool now enforces this noncircularity. Closes
  7342. ticket 28362.
  7343. o Documentation:
  7344. - Mention that you cannot add a new onion service if Tor is already
  7345. running with Sandbox enabled. Closes ticket 28560.
  7346. - Improve ControlPort documentation. Mention that it accepts
  7347. address:port pairs, and can be used multiple times. Closes
  7348. ticket 28805.
  7349. - Document the exact output of "tor --version". Closes ticket 28889.
  7350. o Removed features:
  7351. - Stop responding to the 'GETINFO status/version/num-concurring' and
  7352. 'GETINFO status/version/num-versioning' control port commands, as
  7353. those were deprecated back in 0.2.0.30. Also stop listing them in
  7354. output of 'GETINFO info/names'. Resolves ticket 28757.
  7355. - The scripts used to generate and maintain the list of fallback
  7356. directories have been extracted into a new "fallback-scripts"
  7357. repository. Closes ticket 27914.
  7358. o Testing:
  7359. - Run shellcheck for scripts in the in scripts/ directory. Closes
  7360. ticket 28058.
  7361. - Add unit tests for tokenize_string() and get_next_token()
  7362. functions. Resolves ticket 27625.
  7363. o Code simplification and refactoring (onion service v3):
  7364. - Consolidate the authorized client descriptor cookie computation
  7365. code from client and service into one function. Closes
  7366. ticket 27549.
  7367. o Code simplification and refactoring (shell scripts):
  7368. - Cleanup scan-build.sh to silence shellcheck warnings. Closes
  7369. ticket 28007.
  7370. - Fix issues that shellcheck found in chutney-git-bisect.sh.
  7371. Resolves ticket 28006.
  7372. - Fix issues that shellcheck found in updateRustDependencies.sh.
  7373. Resolves ticket 28012.
  7374. - Fix shellcheck warnings in cov-diff script. Resolves issue 28009.
  7375. - Fix shellcheck warnings in run_calltool.sh. Resolves ticket 28011.
  7376. - Fix shellcheck warnings in run_trunnel.sh. Resolves issue 28010.
  7377. - Fix shellcheck warnings in scripts/test/coverage. Resolves
  7378. issue 28008.
  7379. Changes in version 0.3.3.11 - 2019-01-07
  7380. Tor 0.3.3.11 backports numerous fixes from later versions of Tor.
  7381. numerous fixes, including an important fix for anyone using OpenSSL
  7382. 1.1.1. Anyone running an earlier version of Tor 0.3.3 should upgrade
  7383. to this version, or to a later series.
  7384. As a reminder, support the Tor 0.3.3 series will end on 22 Feb 2019.
  7385. We anticipate that this will be the last release of Tor 0.3.3, unless
  7386. some major bug is before then. Some time between now and then, users
  7387. should switch to either the Tor 0.3.4 series (supported until at least
  7388. 10 June 2019), or the Tor 0.3.5 series, which will receive long-term
  7389. support until at least 1 Feb 2022.
  7390. o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
  7391. - Fix our usage of named groups when running as a TLS 1.3 client in
  7392. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  7393. running as a relay, which caused clients to fail to negotiate TLS
  7394. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  7395. support was added).
  7396. o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
  7397. - Fix a use-after-free error that could be caused by passing Tor an
  7398. impossible set of options that would fail during options_act().
  7399. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  7400. o Minor features (continuous integration, backport from 0.3.5.1-alpha):
  7401. - Only run one online rust build in Travis, to reduce network
  7402. errors. Skip offline rust builds on Travis for Linux gcc, because
  7403. they're redundant. Implements ticket 27252.
  7404. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  7405. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  7406. Linux with default settings, because all the non-default builds
  7407. use gcc on Linux. Implements ticket 27252.
  7408. o Minor features (continuous integration, backport from 0.3.5.3-alpha):
  7409. - Use the Travis Homebrew addon to install packages on macOS during
  7410. Travis CI. The package list is the same, but the Homebrew addon
  7411. does not do a `brew update` by default. Implements ticket 27738.
  7412. o Minor features (fallback directory list, backport from 0.3.5.6-rc):
  7413. - Replace the 150 fallbacks originally introduced in Tor
  7414. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  7415. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  7416. removed) generated in December 2018. Closes ticket 24803.
  7417. o Minor features (geoip):
  7418. - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
  7419. Country database. Closes ticket 29012.
  7420. o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
  7421. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  7422. key export function from handling long labels. When this bug is
  7423. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  7424. version of OpenSSL without this bug when it becomes available.
  7425. Closes ticket 28973.
  7426. o Minor bugfixes (relay statistics, backport from 0.3.5.7):
  7427. - Update relay descriptor on bandwidth changes only when the uptime
  7428. is smaller than 24h, in order to reduce the efficiency of guard
  7429. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  7430. o Minor bugfixes (C correctness, backport from 0.3.5.4-alpha):
  7431. - Avoid undefined behavior in an end-of-string check when parsing
  7432. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  7433. on 0.2.0.3-alpha.
  7434. o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
  7435. - Rewrite our assertion macros so that they no longer suppress the
  7436. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  7437. o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
  7438. - Initialize a variable unconditionally in aes_new_cipher(), since
  7439. some compilers cannot tell that we always initialize it before
  7440. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  7441. o Minor bugfixes (directory authority, backport from 0.3.5.4-alpha):
  7442. - Log additional info when we get a relay that shares an ed25519 ID
  7443. with a different relay, instead making a BUG() warning. Fixes bug
  7444. 27800; bugfix on 0.3.2.1-alpha.
  7445. o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
  7446. - When a user requests a group-readable DataDirectory, give it to
  7447. them. Previously, when the DataDirectory and the CacheDirectory
  7448. were the same, the default setting (0) for
  7449. CacheDirectoryGroupReadable would override the setting for
  7450. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  7451. on 0.3.3.1-alpha.
  7452. o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
  7453. - When the onion service directory can't be created or has the wrong
  7454. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  7455. on 0.3.2.1-alpha.
  7456. o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
  7457. - Close all SOCKS request (for the same .onion) if the newly fetched
  7458. descriptor is unusable. Before that, we would close only the first
  7459. one leaving the other hanging and let to time out by themselves.
  7460. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  7461. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  7462. - Don't warn so loudly when Tor is unable to decode an onion
  7463. descriptor. This can now happen as a normal use case if a client
  7464. gets a descriptor with client authorization but the client is not
  7465. authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
  7466. o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
  7467. - When deleting an ephemeral onion service (DEL_ONION), do not close
  7468. any rendezvous circuits in order to let the existing client
  7469. connections finish by themselves or closed by the application. The
  7470. HS v2 is doing that already so now we have the same behavior for
  7471. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  7472. o Minor bugfixes (HTTP tunnel):
  7473. - Fix a bug warning when closing an HTTP tunnel connection due to
  7474. an HTTP request we couldn't handle. Fixes bug 26470; bugfix on
  7475. 0.3.2.1-alpha.
  7476. o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
  7477. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  7478. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  7479. o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
  7480. - Ensure circuitmux queues are empty before scheduling or sending
  7481. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  7482. o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
  7483. - Reject protocol names containing bytes other than alphanumeric
  7484. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  7485. on 0.2.9.4-alpha.
  7486. o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
  7487. - Compute protover votes correctly in the rust version of the
  7488. protover code. Previously, the protover rewrite in 24031 allowed
  7489. repeated votes from the same voter for the same protocol version
  7490. to be counted multiple times in protover_compute_vote(). Fixes bug
  7491. 27649; bugfix on 0.3.3.5-rc.
  7492. - Reject protover names that contain invalid characters. Fixes bug
  7493. 27687; bugfix on 0.3.3.1-alpha.
  7494. o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
  7495. - protover_all_supported() would attempt to allocate up to 16GB on
  7496. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  7497. bugfix on 0.3.3.5-rc.
  7498. o Minor bugfixes (rust, backport from 0.3.5.4-alpha):
  7499. - Fix a potential null dereference in protover_all_supported(). Add
  7500. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  7501. - Return a string that can be safely freed by C code, not one
  7502. created by the rust allocator, in protover_all_supported(). Fixes
  7503. bug 27740; bugfix on 0.3.3.1-alpha.
  7504. - Fix an API mismatch in the rust implementation of
  7505. protover_compute_vote(). This bug could have caused crashes on any
  7506. directory authorities running Tor with Rust (which we do not yet
  7507. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  7508. o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
  7509. - If a unit test running in a subprocess exits abnormally or with a
  7510. nonzero status code, treat the test as having failed, even if the
  7511. test reported success. Without this fix, memory leaks don't cause
  7512. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  7513. bugfix on 0.2.2.4-alpha.
  7514. o Minor bugfixes (testing, backport from 0.3.5.4-alpha):
  7515. - Treat backtrace test failures as expected on BSD-derived systems
  7516. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  7517. (FreeBSD failures have been treated as expected since 18204 in
  7518. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  7519. o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
  7520. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  7521. bugfix on 0.3.0.1-alpha.
  7522. Changes in version 0.3.4.10 - 2019-01-07
  7523. Tor 0.3.4.9 is the second stable release in its series; it backports
  7524. numerous fixes, including an important fix for relays, and for anyone
  7525. using OpenSSL 1.1.1. Anyone running an earlier version of Tor 0.3.4
  7526. should upgrade.
  7527. As a reminder, the Tor 0.3.4 series will be supported until 10 June
  7528. 2019. Some time between now and then, users should switch to the Tor
  7529. 0.3.5 series, which will receive long-term support until at least 1
  7530. Feb 2022.
  7531. o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
  7532. - Fix our usage of named groups when running as a TLS 1.3 client in
  7533. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  7534. running as a relay, which caused clients to fail to negotiate TLS
  7535. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  7536. support was added).
  7537. o Major bugfixes (relay, directory, backport from 0.3.5.7):
  7538. - Always reactivate linked connections in the main loop so long as
  7539. any linked connection has been active. Previously, connections
  7540. serving directory information wouldn't get reactivated after the
  7541. first chunk of data was sent (usually 32KB), which would prevent
  7542. clients from bootstrapping. Fixes bug 28912; bugfix on
  7543. 0.3.4.1-alpha. Patch by "cypherpunks3".
  7544. o Minor features (continuous integration, Windows, backport from 0.3.5.6-rc):
  7545. - Always show the configure and test logs, and upload them as build
  7546. artifacts, when building for Windows using Appveyor CI.
  7547. Implements 28459.
  7548. o Minor features (controller, backport from 0.3.5.1-alpha):
  7549. - For purposes of CIRC_BW-based dropped cell detection, track half-
  7550. closed stream ids, and allow their ENDs, SENDMEs, DATA and path
  7551. bias check cells to arrive without counting it as dropped until
  7552. either the END arrives, or the windows are empty. Closes
  7553. ticket 25573.
  7554. o Minor features (fallback directory list, backport from 0.3.5.6-rc):
  7555. - Replace the 150 fallbacks originally introduced in Tor
  7556. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  7557. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  7558. removed) generated in December 2018. Closes ticket 24803.
  7559. o Minor features (geoip):
  7560. - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
  7561. Country database. Closes ticket 28395.
  7562. o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
  7563. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  7564. key export function from handling long labels. When this bug is
  7565. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  7566. version of OpenSSL without this bug when it becomes available.
  7567. Closes ticket 28973.
  7568. o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
  7569. - Initialize a variable unconditionally in aes_new_cipher(), since
  7570. some compilers cannot tell that we always initialize it before
  7571. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  7572. o Minor bugfixes (connection, relay, backport from 0.3.5.5-alpha):
  7573. - Avoid a logging a BUG() stacktrace when closing connection held
  7574. open because the write side is rate limited but not the read side.
  7575. Now, the connection read side is simply shut down until Tor is
  7576. able to flush the connection and close it. Fixes bug 27750; bugfix
  7577. on 0.3.4.1-alpha.
  7578. o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.5-alpha):
  7579. - Manually configure the zstd compiler options, when building using
  7580. mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
  7581. not come with a pkg-config file. Fixes bug 28454; bugfix
  7582. on 0.3.4.1-alpha.
  7583. - Stop using an external OpenSSL install, and stop installing MSYS2
  7584. packages, when building using mingw on Appveyor Windows CI. Fixes
  7585. bug 28399; bugfix on 0.3.4.1-alpha.
  7586. o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.6-rc):
  7587. - Explicitly specify the path to the OpenSSL library and do not
  7588. download OpenSSL from Pacman, but instead use the library that is
  7589. already provided by AppVeyor. Fixes bug 28574; bugfix on master.
  7590. o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
  7591. - When a user requests a group-readable DataDirectory, give it to
  7592. them. Previously, when the DataDirectory and the CacheDirectory
  7593. were the same, the default setting (0) for
  7594. CacheDirectoryGroupReadable would override the setting for
  7595. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  7596. on 0.3.3.1-alpha.
  7597. o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
  7598. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  7599. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  7600. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  7601. - Don't warn so loudly when Tor is unable to decode an onion
  7602. descriptor. This can now happen as a normal use case if a client
  7603. gets a descriptor with client authorization but the client is not
  7604. authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
  7605. o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
  7606. - When deleting an ephemeral onion service (DEL_ONION), do not close
  7607. any rendezvous circuits in order to let the existing client
  7608. connections finish by themselves or closed by the application. The
  7609. HS v2 is doing that already so now we have the same behavior for
  7610. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  7611. o Minor bugfixes (relay statistics, backport from 0.3.5.7):
  7612. - Update relay descriptor on bandwidth changes only when the uptime
  7613. is smaller than 24h, in order to reduce the efficiency of guard
  7614. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  7615. o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
  7616. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  7617. bugfix on 0.3.0.1-alpha.
  7618. Changes in version 0.3.5.7 - 2019-01-07
  7619. Tor 0.3.5.7 is the first stable release in its series; it includes
  7620. compilation and portability fixes, and a fix for a severe problem
  7621. affecting directory caches.
  7622. The Tor 0.3.5 series includes several new features and performance
  7623. improvements, including client authorization for v3 onion services,
  7624. cleanups to bootstrap reporting, support for improved bandwidth-
  7625. measurement tools, experimental support for NSS in place of OpenSSL,
  7626. and much more. It also begins a full reorganization of Tor's code
  7627. layout, for improved modularity and maintainability in the future.
  7628. Finally, there is the usual set of performance improvements and
  7629. bugfixes that we try to do in every release series.
  7630. There are a couple of changes in the 0.3.5 that may affect
  7631. compatibility. First, the default version for newly created onion
  7632. services is now v3. Use the HiddenServiceVersion option if you want to
  7633. override this. Second, some log messages related to bootstrapping have
  7634. changed; if you use stem, you may need to update to the latest version
  7635. so it will recognize them.
  7636. We have designated 0.3.5 as a "long-term support" (LTS) series: we
  7637. will continue to patch major bugs in typical configurations of 0.3.5
  7638. until at least 1 Feb 2022. (We do not plan to provide long-term
  7639. support for embedding, Rust support, NSS support, running a directory
  7640. authority, or unsupported platforms. For these, you will need to stick
  7641. with the latest stable release.)
  7642. Below are the changes since 0.3.5.6-rc. For a complete list of changes
  7643. since 0.3.4.9, see the ReleaseNotes file.
  7644. o Major bugfixes (relay, directory):
  7645. - Always reactivate linked connections in the main loop so long as
  7646. any linked connection has been active. Previously, connections
  7647. serving directory information wouldn't get reactivated after the
  7648. first chunk of data was sent (usually 32KB), which would prevent
  7649. clients from bootstrapping. Fixes bug 28912; bugfix on
  7650. 0.3.4.1-alpha. Patch by "cypherpunks3".
  7651. o Minor features (compilation):
  7652. - When possible, place our warning flags in a separate file, to
  7653. avoid flooding verbose build logs. Closes ticket 28924.
  7654. o Minor features (geoip):
  7655. - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
  7656. Country database. Closes ticket 29012.
  7657. o Minor features (OpenSSL bug workaround):
  7658. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  7659. key export function from handling long labels. When this bug is
  7660. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  7661. version of OpenSSL without this bug when it becomes available.
  7662. Closes ticket 28973.
  7663. o Minor features (performance):
  7664. - Remove about 96% of the work from the function that we run at
  7665. startup to test our curve25519_basepoint implementation. Since
  7666. this function has yet to find an actual failure, we now only run
  7667. it for 8 iterations instead of 200. Based on our profile
  7668. information, this change should save around 8% of our startup time
  7669. on typical desktops, and may have a similar effect on other
  7670. platforms. Closes ticket 28838.
  7671. - Stop re-validating our hardcoded Diffie-Hellman parameters on
  7672. every startup. Doing this wasted time and cycles, especially on
  7673. low-powered devices. Closes ticket 28851.
  7674. o Minor bugfixes (compilation):
  7675. - Fix compilation for Android by adding a missing header to
  7676. freespace.c. Fixes bug 28974; bugfix on 0.3.5.1-alpha.
  7677. o Minor bugfixes (correctness):
  7678. - Fix an unreached code path where we checked the value of
  7679. "hostname" inside send_resolved_hostname_cell(). Previously, we
  7680. used it before checking it; now we check it first. Fixes bug
  7681. 28879; bugfix on 0.1.2.7-alpha.
  7682. o Minor bugfixes (testing):
  7683. - Make sure that test_rebind.py actually obeys its timeout, even
  7684. when it receives a large number of log messages. Fixes bug 28883;
  7685. bugfix on 0.3.5.4-alpha.
  7686. - Stop running stem's unit tests as part of "make test-stem", but
  7687. continue to run stem's unit and online tests during "make test-
  7688. stem-full". Fixes bug 28568; bugfix on 0.2.6.3-alpha.
  7689. o Minor bugfixes (windows services):
  7690. - Make Tor start correctly as an NT service again: previously it was
  7691. broken by refactoring. Fixes bug 28612; bugfix on 0.3.5.3-alpha.
  7692. o Code simplification and refactoring:
  7693. - When parsing a port configuration, make it more obvious to static
  7694. analyzer tools that we always initialize the address. Closes
  7695. ticket 28881.
  7696. Changes in version 0.3.5.6-rc - 2018-12-18
  7697. Tor 0.3.5.6-rc fixes numerous small bugs in earlier versions of Tor.
  7698. It is the first release candidate in the 0.3.5.x series; if no further
  7699. huge bugs are found, our next release may be the stable 0.3.5.x.
  7700. o Minor features (continuous integration, Windows):
  7701. - Always show the configure and test logs, and upload them as build
  7702. artifacts, when building for Windows using Appveyor CI.
  7703. Implements 28459.
  7704. o Minor features (fallback directory list):
  7705. - Replace the 150 fallbacks originally introduced in Tor
  7706. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  7707. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  7708. removed) generated in December 2018. Closes ticket 24803.
  7709. o Minor features (geoip):
  7710. - Update geoip and geoip6 to the December 5 2018 Maxmind GeoLite2
  7711. Country database. Closes ticket 28744.
  7712. o Minor bugfixes (compilation):
  7713. - Add missing dependency on libgdi32.dll for tor-print-ed-signing-
  7714. cert.exe on Windows. Fixes bug 28485; bugfix on 0.3.5.1-alpha.
  7715. o Minor bugfixes (continuous integration, Windows):
  7716. - Explicitly specify the path to the OpenSSL library and do not
  7717. download OpenSSL from Pacman, but instead use the library that is
  7718. already provided by AppVeyor. Fixes bug 28574; bugfix on master.
  7719. o Minor bugfixes (onion service v3):
  7720. - When deleting an ephemeral onion service (DEL_ONION), do not close
  7721. any rendezvous circuits in order to let the existing client
  7722. connections finish by themselves or closed by the application. The
  7723. HS v2 is doing that already so now we have the same behavior for
  7724. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  7725. o Minor bugfixes (restart-in-process, boostrap):
  7726. - Add missing resets of bootstrap tracking state when shutting down
  7727. (regression caused by ticket 27169). Fixes bug 28524; bugfix
  7728. on 0.3.5.1-alpha.
  7729. o Minor bugfixes (testing):
  7730. - Use a separate DataDirectory for the test_rebind script.
  7731. Previously, this script would run using the default DataDirectory,
  7732. and sometimes fail. Fixes bug 28562; bugfix on 0.3.5.1-alpha.
  7733. Patch from Taylor R Campbell.
  7734. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  7735. bugfix on 0.3.0.1-alpha.
  7736. o Minor bugfixes (Windows):
  7737. - Correctly identify Windows 8.1, Windows 10, and Windows Server
  7738. 2008 and later from their NT versions. Fixes bug 28096; bugfix on
  7739. 0.2.2.34; reported by Keifer Bly.
  7740. - On recent Windows versions, the GetVersionEx() function may report
  7741. an earlier Windows version than the running OS. To avoid user
  7742. confusion, add "[or later]" to Tor's version string on affected
  7743. versions of Windows. Fixes bug 28096; bugfix on 0.2.2.34; reported
  7744. by Keifer Bly.
  7745. - Remove Windows versions that were never supported by the
  7746. GetVersionEx() function. Stop duplicating the latest Windows
  7747. version in get_uname(). Fixes bug 28096; bugfix on 0.2.2.34;
  7748. reported by Keifer Bly.
  7749. o Testing:
  7750. - Increase logging and tag all log entries with timestamps in
  7751. test_rebind.py. Provides diagnostics for issue 28229.
  7752. o Code simplification and refactoring (shared random, dirauth):
  7753. - Change many tor_assert() to use BUG() instead. The idea is to not
  7754. crash a dirauth but rather scream loudly with a stacktrace and let
  7755. it continue run. The shared random subsystem is very resilient and
  7756. if anything wrong happens with it, at worst a non coherent value
  7757. will be put in the vote and discarded by the other authorities.
  7758. Closes ticket 19566.
  7759. o Documentation (onion services):
  7760. - Document in the man page that changing ClientOnionAuthDir value or
  7761. adding a new file in the directory will not work at runtime upon
  7762. sending a HUP if Sandbox 1. Closes ticket 28128.
  7763. - Note in the man page that the only real way to fully revoke an
  7764. onion service v3 client authorization is by restarting the tor
  7765. process. Closes ticket 28275.
  7766. Changes in version 0.3.5.5-alpha - 2018-11-16
  7767. Tor 0.3.5.5-alpha includes numerous bugfixes on earlier releases,
  7768. including several that we hope to backport to older release series in
  7769. the future.
  7770. o Major bugfixes (OpenSSL, portability):
  7771. - Fix our usage of named groups when running as a TLS 1.3 client in
  7772. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  7773. running as a relay, which caused clients to fail to negotiate TLS
  7774. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  7775. support was added).
  7776. o Minor features (geoip):
  7777. - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
  7778. Country database. Closes ticket 28395.
  7779. o Minor bugfixes (compilation):
  7780. - Initialize a variable unconditionally in aes_new_cipher(), since
  7781. some compilers cannot tell that we always initialize it before
  7782. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  7783. o Minor bugfixes (connection, relay):
  7784. - Avoid a logging a BUG() stacktrace when closing connection held
  7785. open because the write side is rate limited but not the read side.
  7786. Now, the connection read side is simply shut down until Tor is
  7787. able to flush the connection and close it. Fixes bug 27750; bugfix
  7788. on 0.3.4.1-alpha.
  7789. o Minor bugfixes (continuous integration, Windows):
  7790. - Manually configure the zstd compiler options, when building using
  7791. mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
  7792. not come with a pkg-config file. Fixes bug 28454; bugfix
  7793. on 0.3.4.1-alpha.
  7794. - Stop using an external OpenSSL install, and stop installing MSYS2
  7795. packages, when building using mingw on Appveyor Windows CI. Fixes
  7796. bug 28399; bugfix on 0.3.4.1-alpha.
  7797. o Minor bugfixes (documentation):
  7798. - Make Doxygen work again after the code movement in the 0.3.5
  7799. source tree. Fixes bug 28435; bugfix on 0.3.5.1-alpha.
  7800. o Minor bugfixes (Linux seccomp2 sandbox):
  7801. - Permit the "shutdown()" system call, which is apparently used by
  7802. OpenSSL under some circumstances. Fixes bug 28183; bugfix
  7803. on 0.2.5.1-alpha.
  7804. o Minor bugfixes (logging):
  7805. - Stop talking about the Named flag in log messages. Clients have
  7806. ignored the Named flag since 0.3.2. Fixes bug 28441; bugfix
  7807. on 0.3.2.1-alpha.
  7808. o Minor bugfixes (memory leaks):
  7809. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  7810. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  7811. o Minor bugfixes (onion services):
  7812. - On an intro point for a version 3 onion service, stop closing
  7813. introduction circuits on an NACK. This lets the client decide
  7814. whether to reuse the circuit or discard it. Previously, we closed
  7815. intro circuits when sending NACKs. Fixes bug 27841; bugfix on
  7816. 0.3.2.1-alpha. Patch by Neel Chaunan.
  7817. - When replacing a descriptor in the client cache, make sure to
  7818. close all client introduction circuits for the old descriptor, so
  7819. we don't end up with unusable leftover circuits. Fixes bug 27471;
  7820. bugfix on 0.3.2.1-alpha.
  7821. Changes in version 0.3.5.4-alpha - 2018-11-08
  7822. Tor 0.3.5.4-alpha includes numerous bugfixes on earlier versions and
  7823. improves our continuous integration support. It continues our attempts
  7824. to stabilize this alpha branch and build it into a foundation for an
  7825. acceptable long-term-support release.
  7826. o Major bugfixes (compilation, rust):
  7827. - Rust tests can now build and run successfully with the
  7828. --enable-fragile-hardening option enabled. Doing this currently
  7829. requires the rust beta channel; it will be possible with stable
  7830. rust once Rust version 1.31 is released. Patch from Alex Crichton.
  7831. Fixes bugs 27272, 27273, and 27274. Bugfix on 0.3.1.1-alpha.
  7832. o Major bugfixes (embedding, main loop):
  7833. - When DisableNetwork becomes set, actually disable periodic events
  7834. that are already enabled. (Previously, we would refrain from
  7835. enabling new ones, but we would leave the old ones turned on.)
  7836. Fixes bug 28348; bugfix on 0.3.4.1-alpha.
  7837. o Minor features (continuous integration):
  7838. - Add a Travis CI build for --enable-nss on Linux gcc. Closes
  7839. ticket 27751.
  7840. - Add new CI job to Travis configuration to run stem-based
  7841. integration tests. Closes ticket 27913.
  7842. o Minor features (Windows, continuous integration):
  7843. - Build tor on Windows Server 2012 R2 and Windows Server 2016 using
  7844. Appveyor's CI. Closes ticket 28318.
  7845. o Minor bugfixes (C correctness, also in 0.3.4.9):
  7846. - Avoid undefined behavior in an end-of-string check when parsing
  7847. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  7848. on 0.2.0.3-alpha.
  7849. o Minor bugfixes (compilation):
  7850. - Fix a pair of missing headers on OpenBSD. Fixes bug 28303; bugfix
  7851. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  7852. o Minor bugfixes (compilation, OpenSolaris):
  7853. - Fix compilation on OpenSolaris and its descendants by adding a
  7854. missing include to compat_pthreads.c. Fixes bug 27963; bugfix
  7855. on 0.3.5.1-alpha.
  7856. o Minor bugfixes (configuration):
  7857. - Refuse to start with relative file paths and RunAsDaemon set
  7858. (regression from the fix for bug 22731). Fixes bug 28298; bugfix
  7859. on 0.3.3.1-alpha.
  7860. o Minor bugfixes (directory authority, also in 0.3.4.9):
  7861. - Log additional info when we get a relay that shares an ed25519 ID
  7862. with a different relay, instead of a BUG() warning with a
  7863. backtrace. Fixes bug 27800; bugfix on 0.3.2.1-alpha.
  7864. o Minor bugfixes (onion service v3):
  7865. - Build the service descriptor's signing key certificate before
  7866. uploading, so we always have a fresh one: leaving no chances for
  7867. it to expire service side. Fixes bug 27838; bugfix
  7868. on 0.3.2.1-alpha.
  7869. o Minor bugfixes (onion service v3, client authorization):
  7870. - Fix an assert() when adding a client authorization for the first
  7871. time and then sending a HUP signal to the service. Before that,
  7872. Tor would stop abruptly. Fixes bug 27995; bugfix on 0.3.5.1-alpha.
  7873. o Minor bugfixes (onion services):
  7874. - Unless we have explicitly set HiddenServiceVersion, detect the
  7875. onion service version and then look for invalid options.
  7876. Previously, we did the reverse, but that broke existing configs
  7877. which were pointed to a v2 service and had options like
  7878. HiddenServiceAuthorizeClient set. Fixes bug 28127; bugfix on
  7879. 0.3.5.1-alpha. Patch by Neel Chauhan.
  7880. o Minor bugfixes (portability):
  7881. - Make the OPE code (which is used for v3 onion services) run
  7882. correctly on big-endian platforms. Fixes bug 28115; bugfix
  7883. on 0.3.5.1-alpha.
  7884. o Minor bugfixes (protover, rust):
  7885. - Reject extra commas in version strings. Fixes bug 27197; bugfix
  7886. on 0.3.3.3-alpha.
  7887. o Minor bugfixes (relay shutdown, systemd):
  7888. - Notify systemd of ShutdownWaitLength so it can be set to longer
  7889. than systemd's TimeoutStopSec. In Tor's systemd service file, set
  7890. TimeoutSec to 60 seconds to allow Tor some time to shut down.
  7891. Fixes bug 28113; bugfix on 0.2.6.2-alpha.
  7892. o Minor bugfixes (rust, also in 0.3.4.9):
  7893. - Fix a potential null dereference in protover_all_supported(). Add
  7894. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  7895. - Return a string that can be safely freed by C code, not one
  7896. created by the rust allocator, in protover_all_supported(). Fixes
  7897. bug 27740; bugfix on 0.3.3.1-alpha.
  7898. o Minor bugfixes (rust, directory authority, also in 0.3.4.9):
  7899. - Fix an API mismatch in the rust implementation of
  7900. protover_compute_vote(). This bug could have caused crashes on any
  7901. directory authorities running Tor with Rust (which we do not yet
  7902. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  7903. o Minor bugfixes (testing):
  7904. - Avoid hangs and race conditions in test_rebind.py. Fixes bug
  7905. 27968; bugfix on 0.3.5.1-alpha.
  7906. o Minor bugfixes (testing, also in 0.3.4.9):
  7907. - Treat backtrace test failures as expected on BSD-derived systems
  7908. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  7909. (FreeBSD failures have been treated as expected since 18204 in
  7910. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  7911. o Documentation (onion service manpage):
  7912. - Improve HSv3 client authorization by making some options more
  7913. explicit and detailed. Closes ticket 28026. Patch by Mike Tigas.
  7914. Changes in version 0.3.4.9 - 2018-11-02
  7915. Tor 0.3.4.9 is the second stable release in its series; it backports
  7916. numerous fixes, including a fix for a bandwidth management bug that
  7917. was causing memory exhaustion on relays. Anyone running an earlier
  7918. version of Tor 0.3.4.9 should upgrade.
  7919. o Major bugfixes (compilation, backport from 0.3.5.3-alpha):
  7920. - Fix compilation on ARM (and other less-used CPUs) when compiling
  7921. with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
  7922. o Major bugfixes (mainloop, bootstrap, backport from 0.3.5.3-alpha):
  7923. - Make sure Tor bootstraps and works properly if only the
  7924. ControlPort is set. Prior to this fix, Tor would only bootstrap
  7925. when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
  7926. port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
  7927. o Major bugfixes (relay, backport from 0.3.5.3-alpha):
  7928. - When our write bandwidth limit is exhausted, stop writing on the
  7929. connection. Previously, we had a typo in the code that would make
  7930. us stop reading instead, leading to relay connections being stuck
  7931. indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
  7932. on 0.3.4.1-alpha.
  7933. o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
  7934. - Fix a use-after-free error that could be caused by passing Tor an
  7935. impossible set of options that would fail during options_act().
  7936. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  7937. o Minor features (continuous integration, backport from 0.3.5.1-alpha):
  7938. - Don't do a distcheck with --disable-module-dirauth in Travis.
  7939. Implements ticket 27252.
  7940. - Only run one online rust build in Travis, to reduce network
  7941. errors. Skip offline rust builds on Travis for Linux gcc, because
  7942. they're redundant. Implements ticket 27252.
  7943. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  7944. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  7945. Linux with default settings, because all the non-default builds
  7946. use gcc on Linux. Implements ticket 27252.
  7947. o Minor features (continuous integration, backport from 0.3.5.3-alpha):
  7948. - Use the Travis Homebrew addon to install packages on macOS during
  7949. Travis CI. The package list is the same, but the Homebrew addon
  7950. does not do a `brew update` by default. Implements ticket 27738.
  7951. o Minor features (geoip):
  7952. - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
  7953. Country database. Closes ticket 27991.
  7954. o Minor bugfixes (32-bit OSX and iOS, timing, backport from 0.3.5.2-alpha):
  7955. - Fix an integer overflow bug in our optimized 32-bit millisecond-
  7956. difference algorithm for 32-bit Apple platforms. Previously, it
  7957. would overflow when calculating the difference between two times
  7958. more than 47 days apart. Fixes part of bug 27139; bugfix
  7959. on 0.3.4.1-alpha.
  7960. - Improve the precision of our 32-bit millisecond difference
  7961. algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
  7962. bugfix on 0.3.4.1-alpha.
  7963. - Relax the tolerance on the mainloop/update_time_jumps test when
  7964. running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
  7965. on 0.3.4.1-alpha.
  7966. o Minor bugfixes (C correctness, to appear in 0.3.5.4-alpha):
  7967. - Avoid undefined behavior in an end-of-string check when parsing
  7968. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  7969. on 0.2.0.3-alpha.
  7970. o Minor bugfixes (CI, appveyor, to appear in 0.3.5.4-alpha):
  7971. - Only install the necessary mingw packages during our appveyor
  7972. builds. This change makes the build a little faster, and prevents
  7973. a conflict with a preinstalled mingw openssl that appveyor now
  7974. ships. Fixes bugs 27943 and 27765; bugfix on 0.3.4.2-alpha.
  7975. o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
  7976. - Rewrite our assertion macros so that they no longer suppress the
  7977. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  7978. o Minor bugfixes (continuous integration, backport from 0.3.5.1-alpha):
  7979. - Stop reinstalling identical packages in our Windows CI. Fixes bug
  7980. 27464; bugfix on 0.3.4.1-alpha.
  7981. o Minor bugfixes (directory authority, to appear in 0.3.5.4-alpha):
  7982. - Log additional info when we get a relay that shares an ed25519 ID
  7983. with a different relay, instead making a BUG() warning. Fixes bug
  7984. 27800; bugfix on 0.3.2.1-alpha.
  7985. o Minor bugfixes (directory connection shutdown, backport from 0.3.5.1-alpha):
  7986. - Avoid a double-close when shutting down a stalled directory
  7987. connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
  7988. o Minor bugfixes (HTTP tunnel, backport from 0.3.5.1-alpha):
  7989. - Fix a bug warning when closing an HTTP tunnel connection due to an
  7990. HTTP request we couldn't handle. Fixes bug 26470; bugfix
  7991. on 0.3.2.1-alpha.
  7992. o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
  7993. - Ensure circuitmux queues are empty before scheduling or sending
  7994. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  7995. o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
  7996. - When the onion service directory can't be created or has the wrong
  7997. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  7998. on 0.3.2.1-alpha.
  7999. o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
  8000. - Close all SOCKS request (for the same .onion) if the newly fetched
  8001. descriptor is unusable. Before that, we would close only the first
  8002. one leaving the other hanging and let to time out by themselves.
  8003. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  8004. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  8005. - When selecting a v3 rendezvous point, don't only look at the
  8006. protover, but also check whether the curve25519 onion key is
  8007. present. This way we avoid picking a relay that supports the v3
  8008. rendezvous but for which we don't have the microdescriptor. Fixes
  8009. bug 27797; bugfix on 0.3.2.1-alpha.
  8010. o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
  8011. - Reject protocol names containing bytes other than alphanumeric
  8012. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  8013. on 0.2.9.4-alpha.
  8014. o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
  8015. - Compute protover votes correctly in the rust version of the
  8016. protover code. Previously, the protover rewrite in 24031 allowed
  8017. repeated votes from the same voter for the same protocol version
  8018. to be counted multiple times in protover_compute_vote(). Fixes bug
  8019. 27649; bugfix on 0.3.3.5-rc.
  8020. - Reject protover names that contain invalid characters. Fixes bug
  8021. 27687; bugfix on 0.3.3.1-alpha.
  8022. o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
  8023. - protover_all_supported() would attempt to allocate up to 16GB on
  8024. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  8025. bugfix on 0.3.3.5-rc.
  8026. o Minor bugfixes (rust, directory authority, to appear in 0.3.5.4-alpha):
  8027. - Fix an API mismatch in the rust implementation of
  8028. protover_compute_vote(). This bug could have caused crashes on any
  8029. directory authorities running Tor with Rust (which we do not yet
  8030. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  8031. o Minor bugfixes (rust, to appear in 0.3.5.4-alpha):
  8032. - Fix a potential null dereference in protover_all_supported(). Add
  8033. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  8034. - Return a string that can be safely freed by C code, not one
  8035. created by the rust allocator, in protover_all_supported(). Fixes
  8036. bug 27740; bugfix on 0.3.3.1-alpha.
  8037. o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
  8038. - If a unit test running in a subprocess exits abnormally or with a
  8039. nonzero status code, treat the test as having failed, even if the
  8040. test reported success. Without this fix, memory leaks don't cause
  8041. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  8042. bugfix on 0.2.2.4-alpha.
  8043. o Minor bugfixes (testing, backport from 0.3.5.3-alpha):
  8044. - Make the hs_service tests use the same time source when creating
  8045. the introduction point and when testing it. Now tests work better
  8046. on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
  8047. on 0.3.2.1-alpha.
  8048. o Minor bugfixes (testing, to appear in 0.3.5.4-alpha):
  8049. - Treat backtrace test failures as expected on BSD-derived systems
  8050. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  8051. (FreeBSD failures have been treated as expected since 18204 in
  8052. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  8053. Changes in version 0.3.5.3-alpha - 2018-10-17
  8054. Tor 0.3.5.3-alpha fixes several bugs, mostly from previous 0.3.5.x
  8055. versions. One important fix for relays addresses a problem with rate-
  8056. limiting code from back in 0.3.4.x: If the fix works out, we'll be
  8057. backporting it soon. This release is still an alpha, but we hope it's
  8058. getting closer and closer to stability.
  8059. o Major features (onion services):
  8060. - Version 3 onion services can now use the per-service
  8061. HiddenServiceExportCircuitID option to differentiate client
  8062. circuits. It communicates with the service by using the HAProxy
  8063. protocol to assign virtual IP addresses to inbound client
  8064. circuits. Closes ticket 4700. Patch by Mahrud Sayrafi.
  8065. o Major bugfixes (compilation):
  8066. - Fix compilation on ARM (and other less-used CPUs) when compiling
  8067. with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
  8068. o Major bugfixes (initialization, crash):
  8069. - Fix an assertion crash that would stop Tor from starting up if it
  8070. tried to activate a periodic event too early. Fixes bug 27861;
  8071. bugfix on 0.3.5.1-alpha.
  8072. o Major bugfixes (mainloop, bootstrap):
  8073. - Make sure Tor bootstraps and works properly if only the
  8074. ControlPort is set. Prior to this fix, Tor would only bootstrap
  8075. when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
  8076. port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
  8077. o Major bugfixes (relay):
  8078. - When our write bandwidth limit is exhausted, stop writing on the
  8079. connection. Previously, we had a typo in the code that would make
  8080. us stop reading instead, leading to relay connections being stuck
  8081. indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
  8082. on 0.3.4.1-alpha.
  8083. o Minor features (continuous integration):
  8084. - Use the Travis Homebrew addon to install packages on macOS during
  8085. Travis CI. The package list is the same, but the Homebrew addon
  8086. does not do a `brew update` by default. Implements ticket 27738.
  8087. - Report what program produced the mysterious core file that we
  8088. occasionally see on Travis CI during make distcheck. Closes
  8089. ticket 28024.
  8090. o Minor features (geoip):
  8091. - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
  8092. Country database. Closes ticket 27991.
  8093. o Minor bugfixes (code safety):
  8094. - Rewrite our assertion macros so that they no longer suppress the
  8095. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  8096. on 0.0.6.
  8097. o Minor bugfixes (compilation):
  8098. - Compile the ed25519-donna code with a correct declaration of
  8099. crypto_strongest_rand(). Previously, we built it with one type,
  8100. but linked it against another in the unit tests, which caused
  8101. compilation failures with LTO enabled. This could have caused
  8102. other undefined behavior in the tests. Fixes bug 27728; bugfix
  8103. on 0.3.5.1-alpha.
  8104. o Minor bugfixes (compilation, netbsd):
  8105. - Add a missing include back into procmon.c. Fixes bug 27990; bugfix
  8106. on 0.3.5.1-alpha.
  8107. o Minor bugfixes (continuous integration, appveyor):
  8108. - Install only the necessary mingw packages during our appveyor
  8109. builds. This change makes the build a little faster, and prevents
  8110. a conflict with a preinstalled mingw openssl that appveyor now
  8111. ships. Fixes bugs 27765 and 27943; bugfix on 0.3.4.2-alpha.
  8112. o Minor bugfixes (directory permissions):
  8113. - When a user requests a group-readable DataDirectory, give it to
  8114. them. Previously, when the DataDirectory and the CacheDirectory
  8115. were the same, the default setting (0) for
  8116. CacheDirectoryGroupReadable would override the setting for
  8117. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  8118. on 0.3.3.1-alpha.
  8119. o Minor bugfixes (memory leaks):
  8120. - Fix a small memory leak when calling Tor with --dump-config. Fixes
  8121. bug 27893; bugfix on 0.3.2.1-alpha.
  8122. o Minor bugfixes (networking):
  8123. - In retry_listeners_ports(), make sure that we're removing a member
  8124. of old_conns smartlist at most once. Fixes bug 27808; bugfix
  8125. on 0.3.5.1-alpha.
  8126. - Refrain from attempting socket rebinding when old and new
  8127. listeners are in different address families. Fixes bug 27928;
  8128. bugfix on 0.3.5.1-alpha.
  8129. o Minor bugfixes (onion service v3):
  8130. - Stop dumping a stack trace when trying to connect to an intro
  8131. point without having a descriptor for it. Fixes bug 27774; bugfix
  8132. on 0.3.2.1-alpha.
  8133. - Don't warn so loudly when Tor is unable to decode an onion
  8134. descriptor. This can now happen as a normal use case if a client
  8135. gets a descriptor with client authorization but the client is not
  8136. authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
  8137. - When selecting a v3 rendezvous point, don't only look at the
  8138. protover, but also check whether the curve25519 onion key is
  8139. present. This way we avoid picking a relay that supports the v3
  8140. rendezvous but for which we don't have the microdescriptor. Fixes
  8141. bug 27797; bugfix on 0.3.2.1-alpha.
  8142. o Minor bugfixes (protover):
  8143. - Reject protocol names containing bytes other than alphanumeric
  8144. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  8145. on 0.2.9.4-alpha.
  8146. o Minor bugfixes (testing):
  8147. - Make the hs_service tests use the same time source when creating
  8148. the introduction point and when testing it. Now tests work better
  8149. on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
  8150. on 0.3.2.1-alpha.
  8151. - In test_rebind.py, check if the Python version is in the supported
  8152. range. Fixes bug 27675; bugfix on 0.3.5.1-alpha.
  8153. o Code simplification and refactoring:
  8154. - Divide more large Tor source files -- especially ones that span
  8155. multiple areas of functionality -- into smaller parts, including
  8156. onion.c and main.c. Closes ticket 26747.
  8157. - Divide the "routerparse.c" module into separate modules for each
  8158. group of parsed objects. Closes ticket 27924.
  8159. - Move protover_rust.c to the same place protover.c was moved to.
  8160. Closes ticket 27814.
  8161. - Split directory.c into separate pieces for client, server, and
  8162. common functionality. Closes ticket 26744.
  8163. - Split the non-statistics-related parts from the rephist.c and
  8164. geoip.c modules. Closes ticket 27892.
  8165. - Split the router.c file into relay-only and shared components, to
  8166. help with future modularization. Closes ticket 27864.
  8167. o Documentation:
  8168. - In the tor-resolve(1) manpage, fix the reference to socks-
  8169. extensions.txt by adding a web URL. Resolves ticket 27853.
  8170. - Mention that we require Python to be 2.7 or newer for some
  8171. integration tests that we ship with Tor. Resolves ticket 27677.
  8172. Changes in version 0.3.5.2-alpha - 2018-09-21
  8173. Tor 0.3.5.2-alpha fixes several bugs in 0.3.5.1-alpha, including one
  8174. that made Tor think it had run out of sockets. Anybody running a relay
  8175. or an onion service on 0.3.5.1-alpha should upgrade.
  8176. o Major bugfixes (relay bandwidth statistics):
  8177. - When we close relayed circuits, report the data in the circuit
  8178. queues as being written in our relay bandwidth stats. This
  8179. mitigates guard discovery and other attacks that close circuits
  8180. for the explicit purpose of noticing this discrepancy in
  8181. statistics. Fixes bug 23512; bugfix on 0.0.8pre3.
  8182. o Major bugfixes (socket accounting):
  8183. - In our socket accounting code, count a socket as closed even when
  8184. it is closed indirectly by the TLS layer. Previously, we would
  8185. count these sockets as still in use, and incorrectly believe that
  8186. we had run out of sockets. Fixes bug 27795; bugfix
  8187. on 0.3.5.1-alpha.
  8188. o Minor bugfixes (32-bit OSX and iOS, timing):
  8189. - Fix an integer overflow bug in our optimized 32-bit millisecond-
  8190. difference algorithm for 32-bit Apple platforms. Previously, it
  8191. would overflow when calculating the difference between two times
  8192. more than 47 days apart. Fixes part of bug 27139; bugfix
  8193. on 0.3.4.1-alpha.
  8194. - Improve the precision of our 32-bit millisecond difference
  8195. algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
  8196. bugfix on 0.3.4.1-alpha.
  8197. - Relax the tolerance on the mainloop/update_time_jumps test when
  8198. running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
  8199. on 0.3.4.1-alpha.
  8200. o Minor bugfixes (onion service v3):
  8201. - Close all SOCKS request (for the same .onion) if the newly fetched
  8202. descriptor is unusable. Before that, we would close only the first
  8203. one leaving the other hanging and let to time out by themselves.
  8204. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  8205. o Minor bugfixes (memory leak):
  8206. - Fix an unlikely memory leak when trying to read a private key from
  8207. a ridiculously large file. Fixes bug 27764; bugfix on
  8208. 0.3.5.1-alpha. This is CID 1439488.
  8209. o Minor bugfixes (NSS):
  8210. - Correctly detect failure to open a dummy TCP socket when stealing
  8211. ownership of an fd from the NSS layer. Fixes bug 27782; bugfix
  8212. on 0.3.5.1-alpha.
  8213. o Minor bugfixes (rust):
  8214. - protover_all_supported() would attempt to allocate up to 16GB on
  8215. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  8216. bugfix on 0.3.3.5-rc.
  8217. o Minor bugfixes (testing):
  8218. - Revise the "conditionvar_timeout" test so that it succeeds even on
  8219. heavily loaded systems where the test threads are not scheduled
  8220. within 200 msec. Fixes bug 27073; bugfix on 0.2.6.3-alpha.
  8221. o Code simplification and refactoring:
  8222. - Divide the routerlist.c and dirserv.c modules into smaller parts.
  8223. Closes ticket 27799.
  8224. Changes in version 0.3.5.1-alpha - 2018-09-18
  8225. Tor 0.3.5.1-alpha is the first release of the 0.3.5.x series. It adds
  8226. client authorization for modern (v3) onion services, improves
  8227. bootstrap reporting, begins reorganizing Tor's codebase, adds optional
  8228. support for NSS in place of OpenSSL, and much more.
  8229. o Major features (onion services, UI change):
  8230. - For a newly created onion service, the default version is now 3.
  8231. Tor still supports existing version 2 services, but the operator
  8232. now needs to set "HiddenServiceVersion 2" in order to create a new
  8233. version 2 service. For existing services, Tor now learns the
  8234. version by reading the key file. Closes ticket 27215.
  8235. o Major features (relay, UI change):
  8236. - Relays no longer run as exits by default. If the "ExitRelay"
  8237. option is auto (or unset), and no exit policy is specified with
  8238. ExitPolicy or ReducedExitPolicy, we now treat ExitRelay as 0.
  8239. Previously in this case, we allowed exit traffic and logged a
  8240. warning message. Closes ticket 21530. Patch by Neel Chauhan.
  8241. - Tor now validates that the ContactInfo config option is valid UTF-
  8242. 8 when parsing torrc. Closes ticket 27428.
  8243. o Major features (bootstrap):
  8244. - Don't report directory progress until after a connection to a
  8245. relay or bridge has succeeded. Previously, we'd report 80%
  8246. progress based on cached directory information when we couldn't
  8247. even connect to the network. Closes ticket 27169.
  8248. o Major features (new code layout):
  8249. - Nearly all of Tor's source code has been moved around into more
  8250. logical places. The "common" directory is now divided into a set
  8251. of libraries in "lib", and files in the "or" directory have been
  8252. split into "core" (logic absolutely needed for onion routing),
  8253. "feature" (independent modules in Tor), and "app" (to configure
  8254. and invoke the rest of Tor). See doc/HACKING/CodeStructure.md for
  8255. more information. Closes ticket 26481.
  8256. This refactoring is not complete: although the libraries have been
  8257. refactored to be acyclic, the main body of Tor is still too
  8258. interconnected. We will attempt to improve this in the future.
  8259. o Major features (onion services v3):
  8260. - Implement onion service client authorization at the descriptor
  8261. level: only authorized clients can decrypt a service's descriptor
  8262. to find out how to contact it. A new torrc option was added to
  8263. control this client side: ClientOnionAuthDir <path>. On the
  8264. service side, if the "authorized_clients/" directory exists in the
  8265. onion service directory path, client configurations are read from
  8266. the files within. See the manpage for more details. Closes ticket
  8267. 27547. Patch done by Suphanat Chunhapanya (haxxpop).
  8268. - Improve revision counter generation in next-gen onion services.
  8269. Onion services can now scale by hosting multiple instances on
  8270. different hosts without synchronization between them, which was
  8271. previously impossible because descriptors would get rejected by
  8272. HSDirs. Addresses ticket 25552.
  8273. o Major features (portability, cryptography, experimental, TLS):
  8274. - Tor now has the option to compile with the NSS library instead of
  8275. OpenSSL. This feature is experimental, and we expect that bugs may
  8276. remain. It is mainly intended for environments where Tor's
  8277. performance is not CPU-bound, and where NSS is already known to be
  8278. installed. To try it out, configure Tor with the --enable-nss
  8279. flag. Closes tickets 26631, 26815, and 26816.
  8280. If you are experimenting with this option and using an old cached
  8281. consensus, Tor may fail to start. To solve this, delete your
  8282. "cached-consensus" and "cached-microdesc-consensus" files,
  8283. (if present), and restart Tor.
  8284. o Major bugfixes (directory authority):
  8285. - Actually check that the address we get from DirAuthority
  8286. configuration line is valid IPv4. Explicitly disallow DirAuthority
  8287. address to be a DNS hostname. Fixes bug 26488; bugfix
  8288. on 0.1.2.10-rc.
  8289. o Major bugfixes (restart-in-process):
  8290. - Fix a use-after-free error that could be caused by passing Tor an
  8291. impossible set of options that would fail during options_act().
  8292. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  8293. o Minor features (admin tools):
  8294. - Add a new --key-expiration option to print the expiration date of
  8295. the signing cert in an ed25519_signing_cert file. Resolves
  8296. issue 19506.
  8297. o Minor features (build):
  8298. - If you pass the "--enable-pic" option to configure, Tor will try
  8299. to tell the compiler to build position-independent code suitable
  8300. to link into a dynamic library. (The default remains -fPIE, for
  8301. code suitable for a relocatable executable.) Closes ticket 23846.
  8302. o Minor features (code correctness, testing):
  8303. - Tor's build process now includes a "check-includes" make target to
  8304. verify that no module of Tor relies on any headers from a higher-
  8305. level module. We hope to use this feature over time to help
  8306. refactor our codebase. Closes ticket 26447.
  8307. o Minor features (code layout):
  8308. - We have a new "lowest-level" error-handling API for use by code
  8309. invoked from within the logging module. With this interface, the
  8310. logging code is no longer at risk of calling into itself if a
  8311. failure occurs while it is trying to log something. Closes
  8312. ticket 26427.
  8313. o Minor features (compilation):
  8314. - Tor's configure script now supports a --with-malloc= option to
  8315. select your malloc implementation. Supported options are
  8316. "tcmalloc", "jemalloc", "openbsd" (deprecated), and "system" (the
  8317. default). Addresses part of ticket 20424. Based on a patch from
  8318. Alex Xu.
  8319. o Minor features (config):
  8320. - The "auto" keyword in torrc is now case-insensitive. Closes
  8321. ticket 26663.
  8322. o Minor features (continuous integration):
  8323. - Don't do a distcheck with --disable-module-dirauth in Travis.
  8324. Implements ticket 27252.
  8325. - Install libcap-dev and libseccomp2-dev so these optional
  8326. dependencies get tested on Travis CI. Closes ticket 26560.
  8327. - Only run one online rust build in Travis, to reduce network
  8328. errors. Skip offline rust builds on Travis for Linux gcc, because
  8329. they're redundant. Implements ticket 27252.
  8330. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  8331. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  8332. Linux with default settings, because all the non-default builds
  8333. use gcc on Linux. Implements ticket 27252.
  8334. o Minor features (controller):
  8335. - Emit CIRC_BW events as soon as we detect that we processed an
  8336. invalid or otherwise dropped cell on a circuit. This allows
  8337. vanguards and other controllers to react more quickly to dropped
  8338. cells. Closes ticket 27678.
  8339. - For purposes of CIRC_BW-based dropped cell detection, track half-
  8340. closed stream ids, and allow their ENDs, SENDMEs, DATA and path
  8341. bias check cells to arrive without counting it as dropped until
  8342. either the END arrives, or the windows are empty. Closes
  8343. ticket 25573.
  8344. - Implement a 'GETINFO md/all' controller command to enable getting
  8345. all known microdescriptors. Closes ticket 8323.
  8346. - The GETINFO command now support an "uptime" argument, to return
  8347. Tor's uptime in seconds. Closes ticket 25132.
  8348. o Minor features (denial-of-service avoidance):
  8349. - Make our OOM handler aware of the DNS cache so that it doesn't
  8350. fill up the memory. This check is important for our DoS mitigation
  8351. subsystem. Closes ticket 18642. Patch by Neel Chauhan.
  8352. o Minor features (development):
  8353. - Tor's makefile now supports running the "clippy" Rust style tool
  8354. on our Rust code. Closes ticket 22156.
  8355. o Minor features (directory authority):
  8356. - There is no longer an artificial upper limit on the length of
  8357. bandwidth lines. Closes ticket 26223.
  8358. - When a bandwidth file is used to obtain the bandwidth measurements,
  8359. include this bandwidth file headers in the votes. Closes
  8360. ticket 3723.
  8361. - Improved support for networks with only a single authority or a
  8362. single fallback directory. Patch from Gabriel Somlo. Closes
  8363. ticket 25928.
  8364. o Minor features (embedding API):
  8365. - The Tor controller API now supports a function to launch Tor with
  8366. a preconstructed owning controller FD, so that embedding
  8367. applications don't need to manage controller ports and
  8368. authentication. Closes ticket 24204.
  8369. - The Tor controller API now has a function that returns the name
  8370. and version of the backend implementing the API. Closes
  8371. ticket 26947.
  8372. o Minor features (geoip):
  8373. - Update geoip and geoip6 to the September 6 2018 Maxmind GeoLite2
  8374. Country database. Closes ticket 27631.
  8375. o Minor features (memory management):
  8376. - Get Libevent to use the same memory allocator as Tor, by calling
  8377. event_set_mem_functions() during initialization. Resolves
  8378. ticket 8415.
  8379. o Minor features (memory usage):
  8380. - When not using them, store legacy TAP public onion keys in DER-
  8381. encoded format, rather than as expanded public keys. This should
  8382. save several megabytes on typical clients. Closes ticket 27246.
  8383. o Minor features (OpenSSL):
  8384. - When possible, use RFC5869 HKDF implementation from OpenSSL rather
  8385. than our own. Resolves ticket 19979.
  8386. o Minor features (Rust, code quality):
  8387. - Improve rust code quality in the rust protover implementation by
  8388. making it more idiomatic. Includes changing an internal API to
  8389. take &str instead of &String. Closes ticket 26492.
  8390. o Minor features (testing):
  8391. - Add scripts/test/chutney-git-bisect.sh, for bisecting using
  8392. chutney. Implements ticket 27211.
  8393. o Minor features (tor-resolve):
  8394. - The tor-resolve utility can now be used with IPv6 SOCKS proxies.
  8395. Side-effect of the refactoring for ticket 26526.
  8396. o Minor features (UI):
  8397. - Log each included configuration file or directory as we read it,
  8398. to provide more visibility about where Tor is reading from. Patch
  8399. from Unto Sten; closes ticket 27186.
  8400. - Lower log level of "Scheduler type KIST has been enabled" to INFO.
  8401. Closes ticket 26703.
  8402. o Minor bugfixes (bootstrap):
  8403. - Try harder to get descriptors in non-exit test networks, by using
  8404. the mid weight for the third hop when there are no exits. Fixes
  8405. bug 27237; bugfix on 0.2.6.2-alpha.
  8406. o Minor bugfixes (C correctness):
  8407. - Avoid casting smartlist index to int implicitly, as it may trigger
  8408. a warning (-Wshorten-64-to-32). Fixes bug 26282; bugfix on
  8409. 0.2.3.13-alpha, 0.2.7.1-alpha and 0.2.1.1-alpha.
  8410. - Use time_t for all values in
  8411. predicted_ports_prediction_time_remaining(). Rework the code that
  8412. computes difference between durations/timestamps. Fixes bug 27165;
  8413. bugfix on 0.3.1.1-alpha.
  8414. o Minor bugfixes (client, memory usage):
  8415. - When not running as a directory cache, there is no need to store
  8416. the text of the current consensus networkstatus in RAM.
  8417. Previously, however, clients would store it anyway, at a cost of
  8418. over 5 MB. Now, they do not. Fixes bug 27247; bugfix
  8419. on 0.3.0.1-alpha.
  8420. o Minor bugfixes (client, reachableaddresses):
  8421. - Instead of adding a "reject *:*" line to ReachableAddresses when
  8422. loading the configuration, add one to the policy after parsing it
  8423. in parse_reachable_addresses(). This prevents extra "reject *.*"
  8424. lines from accumulating on reloads. Fixes bug 20874; bugfix on
  8425. 0.1.1.5-alpha. Patch by Neel Chauhan.
  8426. o Minor bugfixes (code quality):
  8427. - Rename sandbox_getaddrinfo() and other functions to no longer
  8428. misleadingly suggest that they are sandbox-only. Fixes bug 26525;
  8429. bugfix on 0.2.7.1-alpha.
  8430. o Minor bugfixes (configuration, Onion Services):
  8431. - In rend_service_parse_port_config(), disallow any input to remain
  8432. after address-port pair was parsed. This will catch address and
  8433. port being whitespace-separated by mistake of the user. Fixes bug
  8434. 27044; bugfix on 0.2.9.10.
  8435. o Minor bugfixes (continuous integration):
  8436. - Stop reinstalling identical packages in our Windows CI. Fixes bug
  8437. 27464; bugfix on 0.3.4.1-alpha.
  8438. o Minor bugfixes (controller):
  8439. - Consider all routerinfo errors other than "not a server" to be
  8440. transient for the purpose of "GETINFO exit-policy/*" controller
  8441. request. Print stacktrace in the unlikely case of failing to
  8442. recompute routerinfo digest. Fixes bug 27034; bugfix
  8443. on 0.3.4.1-alpha.
  8444. o Minor bugfixes (directory connection shutdown):
  8445. - Avoid a double-close when shutting down a stalled directory
  8446. connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
  8447. o Minor bugfixes (HTTP tunnel):
  8448. - Fix a bug warning when closing an HTTP tunnel connection due to an
  8449. HTTP request we couldn't handle. Fixes bug 26470; bugfix
  8450. on 0.3.2.1-alpha.
  8451. o Minor bugfixes (ipv6):
  8452. - In addrs_in_same_network_family(), we choose the subnet size based
  8453. on the IP version (IPv4 or IPv6). Previously, we chose a fixed
  8454. subnet size of /16 for both IPv4 and IPv6 addresses. Fixes bug
  8455. 15518; bugfix on 0.2.3.1-alpha. Patch by Neel Chauhan.
  8456. o Minor bugfixes (logging):
  8457. - As a precaution, do an early return from log_addr_has_changed() if
  8458. Tor is running as client. Also, log a stack trace for debugging as
  8459. this function should only be called when Tor runs as server. Fixes
  8460. bug 26892; bugfix on 0.1.1.9-alpha.
  8461. - Refrain from mentioning bug 21018 in the logs, as it is already
  8462. fixed. Fixes bug 25477; bugfix on 0.2.9.8.
  8463. o Minor bugfixes (logging, documentation):
  8464. - When SafeLogging is enabled, scrub IP address in
  8465. channel_tls_process_netinfo_cell(). Also, add a note to manpage
  8466. that scrubbing is not guaranteed on loglevels below Notice. Fixes
  8467. bug 26882; bugfix on 0.2.4.10-alpha.
  8468. o Minor bugfixes (netflow padding):
  8469. - Ensure circuitmux queues are empty before scheduling or sending
  8470. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  8471. o Minor bugfixes (onion service v2):
  8472. - Log at level "info", not "warning", in the case that we do not
  8473. have a consensus when a .onion request comes in. This can happen
  8474. normally while bootstrapping. Fixes bug 27040; bugfix
  8475. on 0.2.8.2-alpha.
  8476. o Minor bugfixes (onion service v3):
  8477. - When the onion service directory can't be created or has the wrong
  8478. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  8479. on 0.3.2.1-alpha.
  8480. o Minor bugfixes (OS compatibility):
  8481. - Properly handle configuration changes that move a listener to/from
  8482. wildcard IP address. If the first attempt to bind a socket fails,
  8483. close the old listener and try binding the socket again. Fixes bug
  8484. 17873; bugfix on 0.0.8pre-1.
  8485. o Minor bugfixes (performance)::
  8486. - Rework node_is_a_configured_bridge() to no longer call
  8487. node_get_all_orports(), which was performing too many memory
  8488. allocations. Fixes bug 27224; bugfix on 0.2.3.9.
  8489. o Minor bugfixes (relay statistics):
  8490. - Update relay descriptor on bandwidth changes only when the uptime
  8491. is smaller than 24h, in order to reduce the efficiency of guard
  8492. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  8493. o Minor bugfixes (relays):
  8494. - Consider the fact that we'll be making direct connections to our
  8495. entry and guard nodes when computing the fraction of nodes that
  8496. have their descriptors. Also, if we are using bridges and there is
  8497. at least one bridge with a full descriptor, treat the fraction of
  8498. guards available as 100%. Fixes bug 25886; bugfix on 0.2.4.10-alpha.
  8499. Patch by Neel Chauhan.
  8500. - Update the message logged on relays when DirCache is disabled.
  8501. Since 0.3.3.5-rc, authorities require DirCache (V2Dir) for the
  8502. Guard flag. Fixes bug 24312; bugfix on 0.3.3.5-rc.
  8503. o Minor bugfixes (rust, protover):
  8504. - Compute protover votes correctly in the rust version of the
  8505. protover code. Previously, the protover rewrite in 24031 allowed
  8506. repeated votes from the same voter for the same protocol version
  8507. to be counted multiple times in protover_compute_vote(). Fixes bug
  8508. 27649; bugfix on 0.3.3.5-rc.
  8509. - Reject protover names that contain invalid characters. Fixes bug
  8510. 27687; bugfix on 0.3.3.1-alpha.
  8511. o Minor bugfixes (testing):
  8512. - Fix two unit tests to work when HOME environment variable is not
  8513. set. Fixes bug 27096; bugfix on 0.2.8.1-alpha.
  8514. - If a unit test running in a subprocess exits abnormally or with a
  8515. nonzero status code, treat the test as having failed, even if the
  8516. test reported success. Without this fix, memory leaks don't cause
  8517. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  8518. bugfix on 0.2.2.4-alpha.
  8519. - When logging a version mismatch in our openssl_version tests,
  8520. report the actual offending version strings. Fixes bug 26152;
  8521. bugfix on 0.2.9.1-alpha.
  8522. - Fix forking tests on Windows when there is a space somewhere in
  8523. the path. Fixes bug 26437; bugfix on 0.2.2.4-alpha.
  8524. o Code simplification and refactoring:
  8525. - 'updateFallbackDirs.py' now ignores the blacklist file, as it's not
  8526. longer needed. Closes ticket 26502.
  8527. - Include paths to header files within Tor are now qualified by
  8528. directory within the top-level src directory.
  8529. - Many structures have been removed from the centralized "or.h"
  8530. header, and moved into their own headers. This will allow us to
  8531. reduce the number of places in the code that rely on each
  8532. structure's contents and layout. Closes ticket 26383.
  8533. - Remove ATTR_NONNULL macro from codebase. Resolves ticket 26527.
  8534. - Remove GetAdaptersAddresses_fn_t. The code that used it was
  8535. removed as part of the 26481 refactor. Closes ticket 27467.
  8536. - Rework Tor SOCKS server code to use Trunnel and benefit from
  8537. autogenerated functions for parsing and generating SOCKS wire
  8538. format. New implementation is cleaner, more maintainable and
  8539. should be less prone to heartbleed-style vulnerabilities.
  8540. Implements a significant fraction of ticket 3569.
  8541. - Split sampled_guards_update_from_consensus() and
  8542. select_entry_guard_for_circuit() into subfunctions. In
  8543. entry_guards_update_primary() unite three smartlist enumerations
  8544. into one and move smartlist comparison code out of the function.
  8545. Closes ticket 21349.
  8546. - Tor now assumes that you have standards-conformant stdint.h and
  8547. inttypes.h headers when compiling. Closes ticket 26626.
  8548. - Unify our bloom filter logic. Previously we had two copies of this
  8549. code: one for routerlist filtering, and one for address set
  8550. calculations. Closes ticket 26510.
  8551. - Use the simpler strcmpstart() helper in
  8552. rend_parse_v2_service_descriptor instead of strncmp(). Closes
  8553. ticket 27630.
  8554. - Utility functions that can perform a DNS lookup are now wholly
  8555. separated from those that can't, in separate headers and C
  8556. modules. Closes ticket 26526.
  8557. o Documentation:
  8558. - Copy paragraph and URL to Tor's code of conduct document from
  8559. CONTRIBUTING to new CODE_OF_CONDUCT file. Resolves ticket 26638.
  8560. - Remove old instructions from INSTALL document. Closes ticket 26588.
  8561. - Warn users that they should not include MyFamily line(s) in their
  8562. torrc when running Tor bridge. Closes ticket 26908.
  8563. o Removed features:
  8564. - Tor no longer supports building with the dmalloc library. For
  8565. debugging memory issues, we suggest using gperftools or msan
  8566. instead. Closes ticket 26426.
  8567. - Tor no longer attempts to run on Windows environments without the
  8568. GetAdaptersAddresses() function. This function has existed since
  8569. Windows XP, which is itself already older than we support.
  8570. - Remove Tor2web functionality for version 2 onion services. The
  8571. Tor2webMode and Tor2webRendezvousPoints options are now obsolete.
  8572. (This feature was never shipped in vanilla Tor and it was only
  8573. possible to use this feature by building the support at compile
  8574. time. Tor2webMode is not implemented for version 3 onion services.)
  8575. Closes ticket 26367.
  8576. Changes in version 0.2.9.17 - 2018-09-10
  8577. Tor 0.2.9.17 backports numerous bugfixes from later versions of Tor.
  8578. o Minor features (compatibility, backport from 0.3.4.8):
  8579. - Tell OpenSSL to maintain backward compatibility with previous
  8580. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  8581. ciphers are disabled by default. Closes ticket 27344.
  8582. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  8583. - Enable macOS builds in our Travis CI configuration. Closes
  8584. ticket 24629.
  8585. - Install libcap-dev and libseccomp2-dev so these optional
  8586. dependencies get tested on Travis CI. Closes ticket 26560.
  8587. - Run asciidoc during Travis CI. Implements ticket 27087.
  8588. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  8589. o Minor features (geoip):
  8590. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  8591. Country database. Closes ticket 27089.
  8592. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  8593. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  8594. tell the compiler not to include the system malloc implementation.
  8595. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  8596. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  8597. - Silence a spurious compiler warning on the GetAdaptersAddresses
  8598. function pointer cast. This issue is already fixed by 26481 in
  8599. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  8600. bugfix on 0.2.3.11-alpha.
  8601. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  8602. supported, and always fails. Some compilers warn about the
  8603. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  8604. on 0.2.2.23-alpha.
  8605. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  8606. - Don't link or search for pthreads when building for Windows, even
  8607. if we are using build environment (like mingw) that provides a
  8608. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  8609. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  8610. - Skip a pair of unreliable key generation tests on Windows, until
  8611. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  8612. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  8613. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  8614. - Pass the module flags to distcheck configure, and log the flags
  8615. before running configure. (Backported to 0.2.9 and later as a
  8616. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  8617. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  8618. - When a Travis build fails, and showing a log fails, keep trying to
  8619. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  8620. - When we use echo in Travis, don't pass a --flag as the first
  8621. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  8622. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  8623. - When voting for recommended versions, make sure that all of the
  8624. versions are well-formed and parsable. Fixes bug 26485; bugfix
  8625. on 0.1.1.6-alpha.
  8626. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  8627. - Fix a bug in out sandboxing rules for the openat() syscall.
  8628. Previously, no openat() call would be permitted, which would break
  8629. filesystem operations on recent glibc versions. Fixes bug 25440;
  8630. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  8631. o Minor bugfixes (onion services, backport from 0.3.4.8):
  8632. - Silence a spurious compiler warning in
  8633. rend_client_send_introduction(). Fixes bug 27463; bugfix
  8634. on 0.1.1.2-alpha.
  8635. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  8636. - Log a protocol warning when single onion services or Tor2web clients
  8637. fail to authenticate direct connections to relays.
  8638. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  8639. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  8640. - Disable core dumps in test_bt.sh, to avoid failures in "make
  8641. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  8642. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  8643. - Before running make test-network-all, delete old logs and test
  8644. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  8645. on 0.2.7.3-rc.
  8646. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  8647. - Our "tortls/cert_matches_key" unit test no longer relies on
  8648. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  8649. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  8650. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  8651. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  8652. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  8653. 27185; bugfix on 0.2.2.2-alpha.
  8654. Changes in version 0.3.2.12 - 2018-09-10
  8655. Tor 0.3.2.12 backport numerous fixes from later versions of Tor.
  8656. o Minor features (compatibility, backport from 0.3.4.8):
  8657. - Tell OpenSSL to maintain backward compatibility with previous
  8658. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  8659. ciphers are disabled by default. Closes ticket 27344.
  8660. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  8661. - Enable macOS builds in our Travis CI configuration. Closes
  8662. ticket 24629.
  8663. - Install libcap-dev and libseccomp2-dev so these optional
  8664. dependencies get tested on Travis CI. Closes ticket 26560.
  8665. - Run asciidoc during Travis CI. Implements ticket 27087.
  8666. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  8667. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  8668. - Use cargo cache in our Travis CI configuration. Closes
  8669. ticket 26952.
  8670. o Minor features (controller, backport from 0.3.4.6-rc):
  8671. - The control port now exposes the list of HTTPTunnelPorts and
  8672. ExtOrPorts via GETINFO net/listeners/httptunnel and
  8673. net/listeners/extor respectively. Closes ticket 26647.
  8674. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  8675. - Authorities no longer vote to make the subprotocol version
  8676. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  8677. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  8678. o Minor features (geoip):
  8679. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  8680. Country database. Closes ticket 27089.
  8681. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  8682. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  8683. tell the compiler not to include the system malloc implementation.
  8684. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  8685. - Don't try to use a pragma to temporarily disable the
  8686. -Wunused-const-variable warning if the compiler doesn't support
  8687. it. Fixes bug 26785; bugfix on 0.3.2.11.
  8688. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  8689. - Silence a spurious compiler warning on the GetAdaptersAddresses
  8690. function pointer cast. This issue is already fixed by 26481 in
  8691. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  8692. bugfix on 0.2.3.11-alpha.
  8693. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  8694. supported, and always fails. Some compilers warn about the
  8695. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  8696. on 0.2.2.23-alpha.
  8697. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  8698. - Don't link or search for pthreads when building for Windows, even
  8699. if we are using build environment (like mingw) that provides a
  8700. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  8701. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  8702. - Skip a pair of unreliable key generation tests on Windows, until
  8703. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  8704. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  8705. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  8706. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  8707. - Pass the module flags to distcheck configure, and log the flags
  8708. before running configure. (Backported to 0.2.9 and later as a
  8709. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  8710. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  8711. - When a Travis build fails, and showing a log fails, keep trying to
  8712. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  8713. - When we use echo in Travis, don't pass a --flag as the first
  8714. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  8715. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  8716. - When voting for recommended versions, make sure that all of the
  8717. versions are well-formed and parsable. Fixes bug 26485; bugfix
  8718. on 0.1.1.6-alpha.
  8719. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  8720. - Fix a bug in out sandboxing rules for the openat() syscall.
  8721. Previously, no openat() call would be permitted, which would break
  8722. filesystem operations on recent glibc versions. Fixes bug 25440;
  8723. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  8724. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  8725. - Improve the log message when connection initiators fail to
  8726. authenticate direct connections to relays. Fixes bug 26927; bugfix
  8727. on 0.3.0.1-alpha.
  8728. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  8729. - Fix bug that causes services to not ever rotate their descriptors
  8730. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  8731. on 0.3.2.1-alpha.
  8732. o Minor bugfixes (onion services, backport from 0.3.4.8):
  8733. - Silence a spurious compiler warning in
  8734. rend_client_send_introduction(). Fixes bug 27463; bugfix
  8735. on 0.1.1.2-alpha.
  8736. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  8737. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  8738. on 0.3.1.5-alpha.
  8739. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  8740. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  8741. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  8742. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  8743. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  8744. - Log a protocol warning when single onion services or Tor2web clients
  8745. fail to authenticate direct connections to relays.
  8746. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  8747. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  8748. - Disable core dumps in test_bt.sh, to avoid failures in "make
  8749. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  8750. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  8751. - When running make test-network-all, use the mixed+hs-v2 network.
  8752. (A previous fix to chutney removed v3 onion services from the
  8753. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  8754. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  8755. - Before running make test-network-all, delete old logs and test
  8756. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  8757. on 0.2.7.3-rc.
  8758. o Minor bugfixes (testing, openssl compatibility):
  8759. - Our "tortls/cert_matches_key" unit test no longer relies on OpenSSL
  8760. internals. Previously, it relied on unsupported OpenSSL behavior in
  8761. a way that caused it to crash with OpenSSL 1.0.2p. Fixes bug 27226;
  8762. bugfix on 0.2.5.1-alpha.
  8763. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  8764. - Our "tortls/cert_matches_key" unit test no longer relies on
  8765. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  8766. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  8767. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  8768. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  8769. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  8770. 27185; bugfix on 0.2.2.2-alpha.
  8771. Changes in version 0.3.3.10 - 2018-09-10
  8772. Tor 0.3.3.10 backports numerous fixes from later versions of Tor.
  8773. o Minor features (bug workaround, backport from 0.3.4.7-rc):
  8774. - Compile correctly on systems that provide the C11 stdatomic.h
  8775. header, but where C11 atomic functions don't actually compile.
  8776. Closes ticket 26779; workaround for Debian issue 903709.
  8777. o Minor features (compatibility, backport from 0.3.4.8):
  8778. - Tell OpenSSL to maintain backward compatibility with previous
  8779. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  8780. ciphers are disabled by default. Closes ticket 27344.
  8781. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  8782. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  8783. - Enable macOS builds in our Travis CI configuration. Closes
  8784. ticket 24629.
  8785. - Install libcap-dev and libseccomp2-dev so these optional
  8786. dependencies get tested on Travis CI. Closes ticket 26560.
  8787. - Run asciidoc during Travis CI. Implements ticket 27087.
  8788. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  8789. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  8790. - Use cargo cache in our Travis CI configuration. Closes
  8791. ticket 26952.
  8792. o Minor features (controller, backport from 0.3.4.6-rc):
  8793. - The control port now exposes the list of HTTPTunnelPorts and
  8794. ExtOrPorts via GETINFO net/listeners/httptunnel and
  8795. net/listeners/extor respectively. Closes ticket 26647.
  8796. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  8797. - Authorities no longer vote to make the subprotocol version
  8798. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  8799. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  8800. o Minor features (geoip):
  8801. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  8802. Country database. Closes ticket 27089.
  8803. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  8804. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  8805. tell the compiler not to include the system malloc implementation.
  8806. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  8807. - Don't try to use a pragma to temporarily disable the
  8808. -Wunused-const-variable warning if the compiler doesn't support
  8809. it. Fixes bug 26785; bugfix on 0.3.2.11.
  8810. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  8811. - Silence a spurious compiler warning on the GetAdaptersAddresses
  8812. function pointer cast. This issue is already fixed by 26481 in
  8813. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  8814. bugfix on 0.2.3.11-alpha.
  8815. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  8816. supported, and always fails. Some compilers warn about the
  8817. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  8818. on 0.2.2.23-alpha.
  8819. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  8820. - Don't link or search for pthreads when building for Windows, even
  8821. if we are using build environment (like mingw) that provides a
  8822. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  8823. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  8824. - Skip a pair of unreliable key generation tests on Windows, until
  8825. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  8826. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  8827. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  8828. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  8829. - Pass the module flags to distcheck configure, and log the flags
  8830. before running configure. (Backported to 0.2.9 and later as a
  8831. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  8832. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  8833. - When a Travis build fails, and showing a log fails, keep trying to
  8834. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  8835. - When we use echo in Travis, don't pass a --flag as the first
  8836. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  8837. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  8838. - When voting for recommended versions, make sure that all of the
  8839. versions are well-formed and parsable. Fixes bug 26485; bugfix
  8840. on 0.1.1.6-alpha.
  8841. o Minor bugfixes (in-process restart, backport from 0.3.4.7-rc):
  8842. - Always call tor_free_all() when leaving tor_run_main(). When we
  8843. did not, restarting tor in-process would cause an assertion
  8844. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  8845. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  8846. - Fix a bug in our sandboxing rules for the openat() syscall.
  8847. Previously, no openat() call would be permitted, which would break
  8848. filesystem operations on recent glibc versions. Fixes bug 25440;
  8849. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  8850. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  8851. - Improve the log message when connection initiators fail to
  8852. authenticate direct connections to relays. Fixes bug 26927; bugfix
  8853. on 0.3.0.1-alpha.
  8854. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  8855. - Fix bug that causes services to not ever rotate their descriptors
  8856. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  8857. on 0.3.2.1-alpha.
  8858. o Minor bugfixes (onion services, backport from 0.3.4.8):
  8859. - Silence a spurious compiler warning in
  8860. rend_client_send_introduction(). Fixes bug 27463; bugfix
  8861. on 0.1.1.2-alpha.
  8862. o Minor bugfixes (portability, backport from 0.3.4.6-rc):
  8863. - Work around two different bugs in the OS X 10.10 and later SDKs
  8864. that would prevent us from successfully targeting earlier versions
  8865. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  8866. o Minor bugfixes (portability, backport from 0.3.4.7-rc):
  8867. - Fix compilation of the unit tests on GNU/Hurd, which does not
  8868. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  8869. from "paulusASol".
  8870. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  8871. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  8872. on 0.3.1.5-alpha.
  8873. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  8874. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  8875. - Protover parsing was accepting the presence of whitespace in
  8876. version strings, which the C implementation would choke on, e.g.
  8877. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  8878. - Protover parsing was ignoring a 2nd hyphen and everything after
  8879. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  8880. on 0.3.3.1-alpha.
  8881. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  8882. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  8883. - cd to ${abs_top_builddir}/src/rust before running cargo in
  8884. src/test/test_rust.sh. This makes the working directory consistent
  8885. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  8886. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  8887. - Log a protocol warning when single onion services or Tor2web clients
  8888. fail to authenticate direct connections to relays.
  8889. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  8890. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  8891. - Disable core dumps in test_bt.sh, to avoid failures in "make
  8892. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  8893. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  8894. - When running make test-network-all, use the mixed+hs-v2 network.
  8895. (A previous fix to chutney removed v3 onion services from the
  8896. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  8897. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  8898. - Before running make test-network-all, delete old logs and test
  8899. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  8900. on 0.2.7.3-rc.
  8901. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  8902. - Our "tortls/cert_matches_key" unit test no longer relies on
  8903. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  8904. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  8905. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  8906. o Minor bugfixes (v3 onion services, backport from 0.3.4.6-rc):
  8907. - Stop sending ed25519 link specifiers in v3 onion service introduce
  8908. cells and descriptors, when the rendezvous or introduction point
  8909. doesn't support ed25519 link authentication. Fixes bug 26627;
  8910. bugfix on 0.3.2.4-alpha.
  8911. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  8912. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  8913. 27185; bugfix on 0.2.2.2-alpha.
  8914. Changes in version 0.3.4.8 - 2018-09-10
  8915. Tor 0.3.4.8 is the first stable release in its series; it includes
  8916. compilation and portability fixes.
  8917. The Tor 0.3.4 series includes improvements for running Tor in
  8918. low-power and embedded environments, which should help performance in
  8919. general. We've begun work on better modularity, and included preliminary
  8920. changes on the directory authority side to accommodate a new bandwidth
  8921. measurement system. We've also integrated more continuous-integration
  8922. systems into our development process, and made corresponding changes to
  8923. Tor's testing infrastructure. Finally, we've continued to refine
  8924. our anti-denial-of-service code.
  8925. Below are the changes since 0.3.4.7-rc. For a complete list of changes
  8926. since 0.3.3.9, see the ReleaseNotes file.
  8927. o Minor features (compatibility):
  8928. - Tell OpenSSL to maintain backward compatibility with previous
  8929. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  8930. ciphers are disabled by default. Closes ticket 27344.
  8931. o Minor features (continuous integration):
  8932. - Log the compiler path and version during Appveyor builds.
  8933. Implements ticket 27449.
  8934. - Show config.log and test-suite.log after failed Appveyor builds.
  8935. Also upload the zipped full logs as a build artifact. Implements
  8936. ticket 27430.
  8937. o Minor bugfixes (compilation):
  8938. - Silence a spurious compiler warning on the GetAdaptersAddresses
  8939. function pointer cast. This issue is already fixed by 26481 in
  8940. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  8941. bugfix on 0.2.3.11-alpha.
  8942. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  8943. supported, and always fails. Some compilers warn about the
  8944. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  8945. on 0.2.2.23-alpha.
  8946. o Minor bugfixes (continuous integration):
  8947. - Disable gcc hardening in Appveyor Windows 64-bit builds. As of
  8948. August 29 2018, Appveyor images come with gcc 8.2.0 by default.
  8949. Executables compiled for 64-bit Windows with this version of gcc
  8950. crash when Tor's --enable-gcc-hardening flag is set. Fixes bug
  8951. 27460; bugfix on 0.3.4.1-alpha.
  8952. - When a Travis build fails, and showing a log fails, keep trying to
  8953. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  8954. - When we use echo in Travis, don't pass a --flag as the first
  8955. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  8956. o Minor bugfixes (onion services):
  8957. - Silence a spurious compiler warning in
  8958. rend_client_send_introduction(). Fixes bug 27463; bugfix
  8959. on 0.1.1.2-alpha.
  8960. o Minor bugfixes (testing, chutney):
  8961. - When running make test-network-all, use the mixed+hs-v2 network.
  8962. (A previous fix to chutney removed v3 onion services from the
  8963. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  8964. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  8965. - Before running make test-network-all, delete old logs and test
  8966. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  8967. on 0.2.7.3-rc.
  8968. Changes in version 0.3.4.7-rc - 2018-08-24
  8969. Tor 0.3.4.7-rc fixes several small compilation, portability, and
  8970. correctness issues in previous versions of Tor. This version is a
  8971. release candidate: if no serious bugs are found, we expect that the
  8972. stable 0.3.4 release will be (almost) the same as this release.
  8973. o Minor features (bug workaround):
  8974. - Compile correctly on systems that provide the C11 stdatomic.h
  8975. header, but where C11 atomic functions don't actually compile.
  8976. Closes ticket 26779; workaround for Debian issue 903709.
  8977. o Minor features (continuous integration):
  8978. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  8979. - Enable macOS builds in our Travis CI configuration. Closes
  8980. ticket 24629.
  8981. - Install libcap-dev and libseccomp2-dev so these optional
  8982. dependencies get tested on Travis CI. Closes ticket 26560.
  8983. - Only post Appveyor IRC notifications when the build fails.
  8984. Implements ticket 27275.
  8985. - Run asciidoc during Travis CI. Implements ticket 27087.
  8986. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  8987. o Minor features (continuous integration, rust):
  8988. - Use cargo cache in our Travis CI configuration. Closes
  8989. ticket 26952.
  8990. o Minor features (directory authorities):
  8991. - Authorities no longer vote to make the subprotocol version
  8992. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  8993. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  8994. o Minor features (geoip):
  8995. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  8996. Country database. Closes ticket 27089.
  8997. o Minor bugfixes (compilation, windows):
  8998. - Don't link or search for pthreads when building for Windows, even
  8999. if we are using build environment (like mingw) that provides a
  9000. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  9001. o Minor bugfixes (continuous integration):
  9002. - Improve Appveyor CI IRC logging. Generate correct branches and
  9003. URLs for pull requests and tags. Use unambiguous short commits.
  9004. Fixes bug 26979; bugfix on master.
  9005. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  9006. - Pass the module flags to distcheck configure, and log the flags
  9007. before running configure. (Backported to 0.2.9 and later as a
  9008. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  9009. o Minor bugfixes (in-process restart):
  9010. - Always call tor_free_all() when leaving tor_run_main(). When we
  9011. did not, restarting tor in-process would cause an assertion
  9012. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  9013. o Minor bugfixes (linux seccomp2 sandbox):
  9014. - Fix a bug in out sandboxing rules for the openat() syscall.
  9015. Previously, no openat() call would be permitted, which would break
  9016. filesystem operations on recent glibc versions. Fixes bug 25440;
  9017. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  9018. o Minor bugfixes (onion services):
  9019. - Fix bug that causes services to not ever rotate their descriptors
  9020. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  9021. on 0.3.2.1-alpha.
  9022. o Minor bugfixes (portability):
  9023. - Fix compilation of the unit tests on GNU/Hurd, which does not
  9024. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  9025. from "paulusASol".
  9026. o Minor bugfixes (rust):
  9027. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  9028. on 0.3.1.5-alpha.
  9029. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  9030. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  9031. - Protover parsing was accepting the presence of whitespace in
  9032. version strings, which the C implementation would choke on, e.g.
  9033. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  9034. - Protover parsing was ignoring a 2nd hyphen and everything after
  9035. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  9036. on 0.3.3.1-alpha.
  9037. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  9038. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  9039. - cd to ${abs_top_builddir}/src/rust before running cargo in
  9040. src/test/test_rust.sh. This makes the working directory consistent
  9041. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  9042. o Minor bugfixes (testing, bootstrap):
  9043. - When calculating bootstrap progress, check exit policies and the
  9044. exit flag. Previously, Tor would only check the exit flag, which
  9045. caused race conditions in small and fast networks like chutney.
  9046. Fixes bug 27236; bugfix on 0.2.6.3-alpha.
  9047. o Minor bugfixes (testing, openssl compatibility):
  9048. - Our "tortls/cert_matches_key" unit test no longer relies on
  9049. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  9050. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  9051. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  9052. o Minor bugfixes (Windows, compilation):
  9053. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  9054. 27185; bugfix on 0.2.2.2-alpha.
  9055. Changes in version 0.3.4.6-rc - 2018-08-06
  9056. Tor 0.3.4.6-rc fixes several small compilation, portability, and
  9057. correctness issues in previous versions of Tor. This version is a
  9058. release candidate: if no serious bugs are found, we expect that the
  9059. stable 0.3.4 release will be (almost) the same as this release.
  9060. o Major bugfixes (event scheduler):
  9061. - When we enable a periodic event, schedule it in the event loop
  9062. rather than running it immediately. Previously, we would re-run
  9063. periodic events immediately in the middle of (for example)
  9064. changing our options, with unpredictable effects. Fixes bug 27003;
  9065. bugfix on 0.3.4.1-alpha.
  9066. o Minor features (compilation):
  9067. - When building Tor, prefer to use Python 3 over Python 2, and more
  9068. recent (contemplated) versions over older ones. Closes
  9069. ticket 26372.
  9070. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  9071. tell the compiler not to include the system malloc implementation.
  9072. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  9073. - Don't try to use a pragma to temporarily disable the
  9074. -Wunused-const-variable warning if the compiler doesn't support
  9075. it. Fixes bug 26785; bugfix on 0.3.2.11.
  9076. o Minor bugfixes (continuous integration):
  9077. - Skip a pair of unreliable key generation tests on Windows, until
  9078. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  9079. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  9080. o Minor features (controller):
  9081. - The control port now exposes the list of HTTPTunnelPorts and
  9082. ExtOrPorts via GETINFO net/listeners/httptunnel and
  9083. net/listeners/extor respectively. Closes ticket 26647.
  9084. o Minor bugfixes (directory authority):
  9085. - When voting for recommended versions, make sure that all of the
  9086. versions are well-formed and parsable. Fixes bug 26485; bugfix
  9087. on 0.1.1.6-alpha.
  9088. o Minor features (geoip):
  9089. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  9090. Country database. Closes ticket 26674.
  9091. o Minor features (Rust, portability):
  9092. - Rust cross-compilation is now supported. Closes ticket 25895.
  9093. o Minor bugfixes (compilation):
  9094. - Update build system so that tor builds again with --disable-unittests
  9095. after recent refactoring. Fixes bug 26789; bugfix on 0.3.4.3-alpha.
  9096. - Fix a compilation warning on some versions of GCC when building
  9097. code that calls routerinfo_get_my_routerinfo() twice, assuming
  9098. that the second call will succeed if the first one did. Fixes bug
  9099. 26269; bugfix on 0.2.8.2-alpha.
  9100. o Minor bugfixes (controller):
  9101. - Report the port correctly when a port is configured to bind to
  9102. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  9103. - Parse the "HSADDRESS=" parameter in HSPOST commands properly.
  9104. Previously, it was misparsed and ignored. Fixes bug 26523; bugfix
  9105. on 0.3.3.1-alpha. Patch by "akwizgran".
  9106. o Minor bugfixes (correctness, flow control):
  9107. - Upon receiving a stream-level SENDME cell, verify that our window
  9108. has not grown too large. Fixes bug 26214; bugfix on svn
  9109. r54 (pre-0.0.1).
  9110. o Minor bugfixes (memory, correctness):
  9111. - Fix a number of small memory leaks identified by coverity. Fixes
  9112. bug 26467; bugfix on numerous Tor versions.
  9113. o Minor bugfixes (logging):
  9114. - Improve the log message when connection initiators fail to
  9115. authenticate direct connections to relays. Fixes bug 26927; bugfix
  9116. on 0.3.0.1-alpha.
  9117. o Minor bugfixes (portability):
  9118. - Avoid a compilation error in test_bwmgt.c on Solaris 10. Fixes bug
  9119. 26994; bugfix on 0.3.4.1-alpha.
  9120. - Work around two different bugs in the OS X 10.10 and later SDKs
  9121. that would prevent us from successfully targeting earlier versions
  9122. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  9123. o Minor bugfixes (single onion services, Tor2web):
  9124. - Log a protocol warning when single onion services or Tor2web
  9125. clients fail to authenticate direct connections to relays. Fixes
  9126. bug 26924; bugfix on 0.2.9.1-alpha.
  9127. o Minor bugfixes (testing):
  9128. - Disable core dumps in test_bt.sh, to avoid failures in "make
  9129. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  9130. o Minor bugfixes (testing, compatibility):
  9131. - When running the ntor_ref.py and hs_ntor_ref.py tests, make sure
  9132. only to pass strings (rather than "bytes" objects) to the Python
  9133. subprocess module. Python 3 on Windows seems to require this.
  9134. Fixes bug 26535; bugfix on 0.2.5.5-alpha (for ntor_ref.py) and
  9135. 0.3.1.1-alpha (for hs_ntor_ref.py).
  9136. o Minor bugfixes (v3 onion services):
  9137. - Stop sending ed25519 link specifiers in v3 onion service introduce
  9138. cells and descriptors, when the rendezvous or introduction point
  9139. doesn't support ed25519 link authentication. Fixes bug 26627;
  9140. bugfix on 0.3.2.4-alpha.
  9141. Changes in version 0.3.4.5-rc - 2018-07-13
  9142. Tor 0.3.4.5-rc moves to a new bridge authority, meaning people running
  9143. bridge relays should upgrade.
  9144. o Directory authority changes:
  9145. - The "Bifroest" bridge authority has been retired; the new bridge
  9146. authority is "Serge", and it is operated by George from the
  9147. TorBSD project. Closes ticket 26771.
  9148. Changes in version 0.3.3.9 - 2018-07-13
  9149. Tor 0.3.3.9 moves to a new bridge authority, meaning people running
  9150. bridge relays should upgrade.
  9151. o Directory authority changes:
  9152. - The "Bifroest" bridge authority has been retired; the new bridge
  9153. authority is "Serge", and it is operated by George from the
  9154. TorBSD project. Closes ticket 26771.
  9155. Changes in version 0.3.2.11 - 2018-07-13
  9156. Tor 0.3.2.11 moves to a new bridge authority, meaning people running
  9157. bridge relays should upgrade. We also take this opportunity to backport
  9158. other minor fixes.
  9159. o Directory authority changes:
  9160. - The "Bifroest" bridge authority has been retired; the new bridge
  9161. authority is "Serge", and it is operated by George from the
  9162. TorBSD project. Closes ticket 26771.
  9163. o Directory authority changes (backport from 0.3.3.7):
  9164. - Add an IPv6 address for the "dannenberg" directory authority.
  9165. Closes ticket 26343.
  9166. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  9167. - When directory authorities read a zero-byte bandwidth file, they
  9168. would previously log a warning with the contents of an
  9169. uninitialised buffer. They now log a warning about the empty file
  9170. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  9171. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  9172. - Correctly detect when onion services get disabled after HUP. Fixes
  9173. bug 25761; bugfix on 0.3.2.1.
  9174. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  9175. - Explicitly permit the poll() system call when the Linux
  9176. seccomp2-based sandbox is enabled: apparently, some versions of
  9177. libc use poll() when calling getpwnam(). Closes ticket 25313.
  9178. o Minor feature (continuous integration, backport from 0.3.3.5-rc):
  9179. - Update the Travis CI configuration to use the stable Rust channel,
  9180. now that we have decided to require that. Closes ticket 25714.
  9181. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  9182. - Our .travis.yml configuration now includes support for testing the
  9183. results of "make distcheck". (It's not uncommon for "make check"
  9184. to pass but "make distcheck" to fail.) Closes ticket 25814.
  9185. - Our Travis CI configuration now integrates with the Coveralls
  9186. coverage analysis tool. Closes ticket 25818.
  9187. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  9188. - Add several checks to detect whether Tor relays are uploading
  9189. their descriptors without specifying why they regenerated them.
  9190. Diagnostic for ticket 25686.
  9191. o Minor features (compilation, backport from 0.3.4.4-rc):
  9192. - When building Tor, prefer to use Python 3 over Python 2, and more
  9193. recent (contemplated) versions over older ones. Closes
  9194. ticket 26372.
  9195. o Minor features (geoip):
  9196. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  9197. Country database. Closes ticket 26674.
  9198. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  9199. - Upon receiving a malformed connected cell, stop processing the
  9200. cell immediately. Previously we would mark the connection for
  9201. close, but continue processing the cell as if the connection were
  9202. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  9203. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  9204. - Allow the nanosleep() system call, which glibc uses to implement
  9205. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  9206. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  9207. - When running the hs_ntor_ref.py test, make sure only to pass
  9208. strings (rather than "bytes" objects) to the Python subprocess
  9209. module. Python 3 on Windows seems to require this. Fixes bug
  9210. 26535; bugfix on 0.3.1.1-alpha.
  9211. - When running the ntor_ref.py test, make sure only to pass strings
  9212. (rather than "bytes" objects) to the Python subprocess module.
  9213. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  9214. on 0.2.5.5-alpha.
  9215. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  9216. - Work around a change in OpenSSL 1.1.1 where return values that
  9217. would previously indicate "no password" now indicate an empty
  9218. password. Without this workaround, Tor instances running with
  9219. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  9220. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  9221. o Minor bugfixes (documentation, backport from 0.3.3.5-rc):
  9222. - Document that the PerConnBW{Rate,Burst} options will fall back to
  9223. their corresponding consensus parameters only if those parameters
  9224. are set. Previously we had claimed that these values would always
  9225. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  9226. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  9227. - Fix a compilation warning on some versions of GCC when building
  9228. code that calls routerinfo_get_my_routerinfo() twice, assuming
  9229. that the second call will succeed if the first one did. Fixes bug
  9230. 26269; bugfix on 0.2.8.2-alpha.
  9231. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  9232. - Don't consider Tor running as a client if the ControlPort is open,
  9233. but no actual client ports are open. Fixes bug 26062; bugfix
  9234. on 0.2.9.4-alpha.
  9235. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  9236. - Prevent a possible out-of-bounds smartlist read in
  9237. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  9238. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  9239. - Fix a very unlikely (impossible, we believe) null pointer
  9240. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  9241. Coverity; this is CID 1430932.
  9242. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  9243. - Fix a memory leak when a v3 onion service is configured and gets a
  9244. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  9245. - When parsing the descriptor signature, look for the token plus an
  9246. extra white-space at the end. This is more correct but also will
  9247. allow us to support new fields that might start with "signature".
  9248. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  9249. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  9250. - Relays now correctly block attempts to re-extend to the previous
  9251. relay by Ed25519 identity. Previously they would warn in this
  9252. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  9253. on 0.3.0.1-alpha.
  9254. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  9255. - Avoid a crash when running with DirPort set but ORPort turned off.
  9256. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  9257. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  9258. - Silence unused-const-variable warnings in zstd.h with some GCC
  9259. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  9260. o Minor bugfixes (testing, backport from 0.3.3.4-alpha):
  9261. - Avoid intermittent test failures due to a test that had relied on
  9262. onion service introduction point creation finishing within 5
  9263. seconds of real clock time. Fixes bug 25450; bugfix
  9264. on 0.3.1.3-alpha.
  9265. o Minor bugfixes (compilation, backport from 0.3.3.4-alpha):
  9266. - Fix a C99 compliance issue in our configuration script that caused
  9267. compilation issues when compiling Tor with certain versions of
  9268. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  9269. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  9270. - Fix a number of small memory leaks identified by coverity. Fixes
  9271. bug 26467; bugfix on numerous Tor versions.
  9272. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  9273. - Move the list of default directory authorities to its own file.
  9274. Closes ticket 24854. Patch by "beastr0".
  9275. Changes in version 0.2.9.16 - 2018-07-13
  9276. Tor 0.2.9.16 moves to a new bridge authority, meaning people running
  9277. bridge relays should upgrade. We also take this opportunity to backport
  9278. other minor fixes.
  9279. o Directory authority changes:
  9280. - The "Bifroest" bridge authority has been retired; the new bridge
  9281. authority is "Serge", and it is operated by George from the
  9282. TorBSD project. Closes ticket 26771.
  9283. o Directory authority changes (backport from 0.3.3.7):
  9284. - Add an IPv6 address for the "dannenberg" directory authority.
  9285. Closes ticket 26343.
  9286. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  9287. - When directory authorities read a zero-byte bandwidth file, they
  9288. would previously log a warning with the contents of an
  9289. uninitialised buffer. They now log a warning about the empty file
  9290. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  9291. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  9292. - Explicitly permit the poll() system call when the Linux
  9293. seccomp2-based sandbox is enabled: apparently, some versions of
  9294. libc use poll() when calling getpwnam(). Closes ticket 25313.
  9295. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  9296. - Our .travis.yml configuration now includes support for testing the
  9297. results of "make distcheck". (It's not uncommon for "make check"
  9298. to pass but "make distcheck" to fail.) Closes ticket 25814.
  9299. - Our Travis CI configuration now integrates with the Coveralls
  9300. coverage analysis tool. Closes ticket 25818.
  9301. o Minor features (compilation, backport from 0.3.4.4-rc):
  9302. - When building Tor, prefer to use Python 3 over Python 2, and more
  9303. recent (contemplated) versions over older ones. Closes
  9304. ticket 26372.
  9305. o Minor features (geoip):
  9306. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  9307. Country database. Closes ticket 26674.
  9308. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  9309. - Upon receiving a malformed connected cell, stop processing the
  9310. cell immediately. Previously we would mark the connection for
  9311. close, but continue processing the cell as if the connection were
  9312. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  9313. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  9314. - Allow the nanosleep() system call, which glibc uses to implement
  9315. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  9316. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  9317. - When running the ntor_ref.py test, make sure only to pass strings
  9318. (rather than "bytes" objects) to the Python subprocess module.
  9319. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  9320. on 0.2.5.5-alpha.
  9321. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  9322. - Work around a change in OpenSSL 1.1.1 where return values that
  9323. would previously indicate "no password" now indicate an empty
  9324. password. Without this workaround, Tor instances running with
  9325. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  9326. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  9327. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  9328. - Fix a compilation warning on some versions of GCC when building
  9329. code that calls routerinfo_get_my_routerinfo() twice, assuming
  9330. that the second call will succeed if the first one did. Fixes bug
  9331. 26269; bugfix on 0.2.8.2-alpha.
  9332. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  9333. - Don't consider Tor running as a client if the ControlPort is open,
  9334. but no actual client ports are open. Fixes bug 26062; bugfix
  9335. on 0.2.9.4-alpha.
  9336. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  9337. - Prevent a possible out-of-bounds smartlist read in
  9338. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  9339. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  9340. - Fix a very unlikely (impossible, we believe) null pointer
  9341. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  9342. Coverity; this is CID 1430932.
  9343. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  9344. - Fix a number of small memory leaks identified by coverity. Fixes
  9345. bug 26467; bugfix on numerous Tor versions.
  9346. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  9347. - Move the list of default directory authorities to its own file.
  9348. Closes ticket 24854. Patch by "beastr0".
  9349. Changes in version 0.3.4.4-rc - 2018-07-09
  9350. Tor 0.3.4.4-rc fixes several small compilation, portability, and
  9351. correctness issues in previous versions of Tor. This version is a
  9352. release candidate: if no serious bugs are found, we expect that the
  9353. stable 0.3.4 release will be (almost) the same as this release.
  9354. o Minor features (compilation):
  9355. - When building Tor, prefer to use Python 3 over Python 2, and more
  9356. recent (contemplated) versions over older ones. Closes
  9357. ticket 26372.
  9358. o Minor features (geoip):
  9359. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  9360. Country database. Closes ticket 26674.
  9361. o Minor features (Rust, portability):
  9362. - Rust cross-compilation is now supported. Closes ticket 25895.
  9363. o Minor bugfixes (compilation):
  9364. - Fix a compilation warning on some versions of GCC when building
  9365. code that calls routerinfo_get_my_routerinfo() twice, assuming
  9366. that the second call will succeed if the first one did. Fixes bug
  9367. 26269; bugfix on 0.2.8.2-alpha.
  9368. o Minor bugfixes (control port):
  9369. - Report the port correctly when a port is configured to bind to
  9370. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  9371. - Handle the HSADDRESS= argument to the HSPOST command properly.
  9372. (Previously, this argument was misparsed and thus ignored.) Fixes
  9373. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  9374. o Minor bugfixes (correctness, flow control):
  9375. - Upon receiving a stream-level SENDME cell, verify that our window
  9376. has not grown too large. Fixes bug 26214; bugfix on svn
  9377. r54 (pre-0.0.1).
  9378. o Minor bugfixes (memory, correctness):
  9379. - Fix a number of small memory leaks identified by coverity. Fixes
  9380. bug 26467; bugfix on numerous Tor versions.
  9381. o Minor bugfixes (testing, compatibility):
  9382. - When running the hs_ntor_ref.py test, make sure only to pass
  9383. strings (rather than "bytes" objects) to the Python subprocess
  9384. module. Python 3 on Windows seems to require this. Fixes bug
  9385. 26535; bugfix on 0.3.1.1-alpha.
  9386. - When running the ntor_ref.py test, make sure only to pass strings
  9387. (rather than "bytes" objects) to the Python subprocess module.
  9388. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  9389. on 0.2.5.5-alpha.
  9390. Changes in version 0.3.3.8 - 2018-07-09
  9391. Tor 0.3.3.8 backports several changes from the 0.3.4.x series, including
  9392. fixes for a memory leak affecting directory authorities.
  9393. o Major bugfixes (directory authority, backport from 0.3.4.3-alpha):
  9394. - Stop leaking memory on directory authorities when planning to
  9395. vote. This bug was crashing authorities by exhausting their
  9396. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  9397. o Major bugfixes (rust, testing, backport from 0.3.4.3-alpha):
  9398. - Make sure that failing tests in Rust will actually cause the build
  9399. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  9400. on 0.3.3.4-alpha.
  9401. o Minor features (compilation, backport from 0.3.4.4-rc):
  9402. - When building Tor, prefer to use Python 3 over Python 2, and more
  9403. recent (contemplated) versions over older ones. Closes
  9404. ticket 26372.
  9405. o Minor features (geoip):
  9406. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  9407. Country database. Closes ticket 26674.
  9408. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  9409. - Add several checks to detect whether Tor relays are uploading
  9410. their descriptors without specifying why they regenerated them.
  9411. Diagnostic for ticket 25686.
  9412. o Minor bugfixes (circuit path selection, backport from 0.3.4.1-alpha):
  9413. - Don't count path selection failures as circuit build failures.
  9414. This change should eliminate cases where Tor blames its guard or
  9415. the network for situations like insufficient microdescriptors
  9416. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  9417. on 0.3.3.1-alpha.
  9418. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  9419. - Fix a compilation warning on some versions of GCC when building
  9420. code that calls routerinfo_get_my_routerinfo() twice, assuming
  9421. that the second call will succeed if the first one did. Fixes bug
  9422. 26269; bugfix on 0.2.8.2-alpha.
  9423. o Minor bugfixes (control port, backport from 0.3.4.4-rc):
  9424. - Handle the HSADDRESS= argument to the HSPOST command properly.
  9425. (Previously, this argument was misparsed and thus ignored.) Fixes
  9426. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  9427. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  9428. - Fix a number of small memory leaks identified by coverity. Fixes
  9429. bug 26467; bugfix on numerous Tor versions.
  9430. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  9431. - Relays now correctly block attempts to re-extend to the previous
  9432. relay by Ed25519 identity. Previously they would warn in this
  9433. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  9434. on 0.3.0.1-alpha.
  9435. o Minor bugfixes (restart-in-process, backport from 0.3.4.1-alpha):
  9436. - When shutting down, Tor now clears all the flags in the control.c
  9437. module. This should prevent a bug where authentication cookies are
  9438. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  9439. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  9440. - When running the hs_ntor_ref.py test, make sure only to pass
  9441. strings (rather than "bytes" objects) to the Python subprocess
  9442. module. Python 3 on Windows seems to require this. Fixes bug
  9443. 26535; bugfix on 0.3.1.1-alpha.
  9444. - When running the ntor_ref.py test, make sure only to pass strings
  9445. (rather than "bytes" objects) to the Python subprocess module.
  9446. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  9447. on 0.2.5.5-alpha.
  9448. Changes in version 0.3.4.3-alpha - 2018-06-26
  9449. Tor 0.3.4.3-alpha fixes several bugs in earlier versions, including
  9450. one that was causing stability issues on directory authorities.
  9451. o Major bugfixes (directory authority):
  9452. - Stop leaking memory on directory authorities when planning to
  9453. vote. This bug was crashing authorities by exhausting their
  9454. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  9455. o Major bugfixes (rust, testing):
  9456. - Make sure that failing tests in Rust will actually cause the build
  9457. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  9458. on 0.3.3.4-alpha.
  9459. o Minor feature (directory authorities):
  9460. - Stop warning about incomplete bw lines before the first complete
  9461. bw line has been found, so that additional header lines can be
  9462. ignored. Fixes bug 25960; bugfix on 0.2.2.1-alpha
  9463. o Minor features (relay, diagnostic):
  9464. - Add several checks to detect whether Tor relays are uploading
  9465. their descriptors without specifying why they regenerated them.
  9466. Diagnostic for ticket 25686.
  9467. o Minor features (unit tests):
  9468. - Test complete bandwidth measurements files, and test that
  9469. incomplete bandwidth lines only give warnings when the end of the
  9470. header has not been detected. Fixes bug 25947; bugfix
  9471. on 0.2.2.1-alpha
  9472. o Minor bugfixes (compilation):
  9473. - Refrain from compiling unit testing related object files when
  9474. --disable-unittests is set to configure script. Fixes bug 24891;
  9475. bugfix on 0.2.5.1-alpha.
  9476. - When linking the libtor_testing.a library, only include the
  9477. dirauth object files once. Previously, they were getting added
  9478. twice. Fixes bug 26402; bugfix on 0.3.4.1-alpha.
  9479. - The --enable-fatal-warnings flag now affects Rust code as well.
  9480. Closes ticket 26245.
  9481. o Minor bugfixes (onion services):
  9482. - Recompute some consensus information after detecting a clock jump,
  9483. or after transitioning from a non-live consensus to a live
  9484. consensus. We do this to avoid having an outdated state, and
  9485. miscalculating the index for next-generation onion services. Fixes
  9486. bug 24977; bugfix on 0.3.2.1-alpha.
  9487. o Minor bugfixes (relay):
  9488. - Relays now correctly block attempts to re-extend to the previous
  9489. relay by Ed25519 identity. Previously they would warn in this
  9490. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  9491. on 0.3.0.1-alpha.
  9492. o Minor bugfixes (testing):
  9493. - Fix compilation of the doctests in the Rust crypto crate. Fixes
  9494. bug 26415; bugfix on 0.3.4.1-alpha.
  9495. - Instead of trying to read the geoip configuration files from
  9496. within the unit tests, instead create our own ersatz files with
  9497. just enough geoip data in the format we expect. Trying to read
  9498. from the source directory created problems on Windows with mingw,
  9499. where the build system's paths are not the same as the platform's
  9500. paths. Fixes bug 25787; bugfix on 0.3.4.1-alpha.
  9501. - Refrain from trying to get an item from an empty smartlist in
  9502. test_bridges_clear_bridge_list. Set DEBUG_SMARTLIST in unit tests
  9503. to catch improper smartlist usage. Furthermore, enable
  9504. DEBUG_SMARTLIST globally when build is configured with fragile
  9505. hardening. Fixes bug 26196; bugfix on 0.3.4.1-alpha.
  9506. Changes in version 0.3.3.7 - 2018-06-12
  9507. Tor 0.3.3.7 backports several changes from the 0.3.4.x series, including
  9508. fixes for bugs affecting compatibility and stability.
  9509. o Directory authority changes:
  9510. - Add an IPv6 address for the "dannenberg" directory authority.
  9511. Closes ticket 26343.
  9512. o Minor features (geoip):
  9513. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  9514. Country database. Closes ticket 26351.
  9515. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  9516. - Work around a change in OpenSSL 1.1.1 where return values that
  9517. would previously indicate "no password" now indicate an empty
  9518. password. Without this workaround, Tor instances running with
  9519. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  9520. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  9521. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  9522. - Silence unused-const-variable warnings in zstd.h with some GCC
  9523. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  9524. o Minor bugfixes (controller, backport from 0.3.4.2-alpha):
  9525. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  9526. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  9527. miscounting the total number of circuits for these field values.)
  9528. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  9529. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  9530. - Prevent a possible out-of-bounds smartlist read in
  9531. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  9532. o Minor bugfixes (path selection, backport from 0.3.4.1-alpha):
  9533. - Only select relays when they have the descriptors we prefer to use
  9534. for them. This change fixes a bug where we could select a relay
  9535. because it had _some_ descriptor, but reject it later with a
  9536. nonfatal assertion error because it didn't have the exact one we
  9537. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  9538. Changes in version 0.3.4.2-alpha - 2018-06-12
  9539. Tor 0.3.4.2-alpha fixes several minor bugs in the previous alpha
  9540. release, and forward-ports an authority-only security fix from 0.3.3.6.
  9541. o Directory authority changes:
  9542. - Add an IPv6 address for the "dannenberg" directory authority.
  9543. Closes ticket 26343.
  9544. o Major bugfixes (security, directory authority, denial-of-service, also in 0.3.3.6):
  9545. - Fix a bug that could have allowed an attacker to force a directory
  9546. authority to use up all its RAM by passing it a maliciously
  9547. crafted protocol versions string. Fixes bug 25517; bugfix on
  9548. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  9549. o Minor features (continuous integration):
  9550. - Add the necessary configuration files for continuous integration
  9551. testing on Windows, via the Appveyor platform. Closes ticket
  9552. 25549. Patches from Marcin Cieślak and Isis Lovecruft.
  9553. o Minor features (geoip):
  9554. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  9555. Country database. Closes ticket 26351.
  9556. o Minor bugfixes (compatibility, openssl):
  9557. - Work around a change in OpenSSL 1.1.1 where return values that
  9558. would previously indicate "no password" now indicate an empty
  9559. password. Without this workaround, Tor instances running with
  9560. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  9561. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  9562. o Minor bugfixes (compilation):
  9563. - Silence unused-const-variable warnings in zstd.h with some GCC
  9564. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  9565. - Fix compilation when using OpenSSL 1.1.0 with the "no-deprecated"
  9566. flag enabled. Fixes bug 26156; bugfix on 0.3.4.1-alpha.
  9567. - Avoid a compiler warning when casting the return value of
  9568. smartlist_len() to double with DEBUG_SMARTLIST enabled. Fixes bug
  9569. 26283; bugfix on 0.2.4.10-alpha.
  9570. o Minor bugfixes (control port):
  9571. - Do not count 0-length RELAY_COMMAND_DATA cells as valid data in
  9572. CIRC_BW events. Previously, such cells were counted entirely in
  9573. the OVERHEAD field. Now they are not. Fixes bug 26259; bugfix
  9574. on 0.3.4.1-alpha.
  9575. o Minor bugfixes (controller):
  9576. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  9577. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  9578. miscounting the total number of circuits for these field values.)
  9579. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  9580. o Minor bugfixes (hardening):
  9581. - Prevent a possible out-of-bounds smartlist read in
  9582. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  9583. o Minor bugfixes (onion services):
  9584. - Fix a bug that blocked the creation of ephemeral v3 onion
  9585. services. Fixes bug 25939; bugfix on 0.3.4.1-alpha.
  9586. o Minor bugfixes (test coverage tools):
  9587. - Update our "cov-diff" script to handle output from the latest
  9588. version of gcov, and to remove extraneous timestamp information
  9589. from its output. Fixes bugs 26101 and 26102; bugfix
  9590. on 0.2.5.1-alpha.
  9591. Changes in version 0.3.3.6 - 2018-05-22
  9592. Tor 0.3.3.6 is the first stable release in the 0.3.3 series. It
  9593. backports several important fixes from the 0.3.4.1-alpha.
  9594. The Tor 0.3.3 series includes controller support and other
  9595. improvements for v3 onion services, official support for embedding Tor
  9596. within other applications, and our first non-trivial module written in
  9597. the Rust programming language. (Rust is still not enabled by default
  9598. when building Tor.) And as usual, there are numerous other smaller
  9599. bugfixes, features, and improvements.
  9600. Below are the changes since 0.3.3.5-rc. For a list of all changes
  9601. since 0.3.2.10, see the ReleaseNotes file.
  9602. o Major bugfixes (directory authorities, security, backport from 0.3.4.1-alpha):
  9603. - When directory authorities read a zero-byte bandwidth file, they
  9604. would previously log a warning with the contents of an
  9605. uninitialised buffer. They now log a warning about the empty file
  9606. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  9607. o Major bugfixes (security, directory authority, denial-of-service):
  9608. - Fix a bug that could have allowed an attacker to force a directory
  9609. authority to use up all its RAM by passing it a maliciously
  9610. crafted protocol versions string. Fixes bug 25517; bugfix on
  9611. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  9612. o Major bugfixes (crash, backport from 0.3.4.1-alpha):
  9613. - Avoid a rare assertion failure in the circuit build timeout code
  9614. if we fail to allow any circuits to actually complete. Fixes bug
  9615. 25733; bugfix on 0.2.2.2-alpha.
  9616. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  9617. - Avoid a crash when testing router reachability on a router that
  9618. could have an ed25519 ID, but which does not. Fixes bug 25415;
  9619. bugfix on 0.3.3.2-alpha.
  9620. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  9621. - Correctly detect when onion services get disabled after HUP. Fixes
  9622. bug 25761; bugfix on 0.3.2.1.
  9623. o Major bugfixes (relay, denial of service, backport from 0.3.4.1-alpha):
  9624. - Impose a limit on circuit cell queue size. The limit can be
  9625. controlled by a consensus parameter. Fixes bug 25226; bugfix
  9626. on 0.2.4.14-alpha.
  9627. o Minor features (compatibility, backport from 0.3.4.1-alpha):
  9628. - Avoid some compilation warnings with recent versions of LibreSSL.
  9629. Closes ticket 26006.
  9630. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  9631. - Our .travis.yml configuration now includes support for testing the
  9632. results of "make distcheck". (It's not uncommon for "make check"
  9633. to pass but "make distcheck" to fail.) Closes ticket 25814.
  9634. - Our Travis CI configuration now integrates with the Coveralls
  9635. coverage analysis tool. Closes ticket 25818.
  9636. o Minor features (geoip):
  9637. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  9638. database. Closes ticket 26104.
  9639. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  9640. - Don't consider Tor running as a client if the ControlPort is open,
  9641. but no actual client ports are open. Fixes bug 26062; bugfix
  9642. on 0.2.9.4-alpha.
  9643. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  9644. - Upon receiving a malformed connected cell, stop processing the
  9645. cell immediately. Previously we would mark the connection for
  9646. close, but continue processing the cell as if the connection were
  9647. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  9648. o Minor bugfixes (documentation, backport from 0.3.4.1-alpha):
  9649. - Stop saying in the manual that clients cache ipv4 dns answers from
  9650. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  9651. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  9652. we forgot to say so in the man page. Fixes bug 26052; bugfix
  9653. on 0.3.2.6-alpha.
  9654. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  9655. - Allow the nanosleep() system call, which glibc uses to implement
  9656. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  9657. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  9658. - Fix a memory leak when a v3 onion service is configured and gets a
  9659. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  9660. - When parsing the descriptor signature, look for the token plus an
  9661. extra white-space at the end. This is more correct but also will
  9662. allow us to support new fields that might start with "signature".
  9663. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  9664. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  9665. - Avoid a crash when running with DirPort set but ORPort turned off.
  9666. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  9667. o Documentation (backport from 0.3.4.1-alpha):
  9668. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  9669. ticket 25857. Patch from "CTassisF".
  9670. Changes in version 0.3.4.1-alpha - 2018-05-17
  9671. Tor 0.3.4.1-alpha is the first release in the 0.3.4.x series. It
  9672. includes refactoring to begin reducing Tor's binary size and idle CPU
  9673. usage on mobile, along with prep work for new bandwidth scanners,
  9674. improvements to the experimental "vanguards" feature, and numerous
  9675. other small features and bugfixes.
  9676. o New system requirements:
  9677. - Tor no longer tries to support old operating systems without
  9678. mmap() or some local equivalent. Apparently, compilation on such
  9679. systems has been broken for some time, without anybody noticing or
  9680. complaining. Closes ticket 25398.
  9681. o Major feature (directory authority, modularization):
  9682. - The directory authority subsystem has been modularized. The code
  9683. is now located in src/or/dirauth/, and is compiled in by default.
  9684. To disable the module, the configure option
  9685. --disable-module-dirauth has been added. This module may be
  9686. disabled by default in some future release. Closes ticket 25610.
  9687. o Major features (main loop, CPU usage):
  9688. - When Tor is disabled (via DisableNetwork or via hibernation), it
  9689. no longer needs to run any per-second events. This change should
  9690. make it easier for mobile applications to disable Tor while the
  9691. device is sleeping, or Tor is not running. Closes ticket 26063.
  9692. - Tor no longer enables all of its periodic events by default.
  9693. Previously, Tor would enable all possible main loop events,
  9694. regardless of whether it needed them. Furthermore, many of these
  9695. events are now disabled with Tor is hibernating or DisableNetwork
  9696. is set. This is a big step towards reducing client CPU usage by
  9697. reducing the amount of wake-ups the daemon does. Closes ticket
  9698. 25376 and 25762.
  9699. - The bandwidth-limitation logic has been refactored so that
  9700. bandwidth calculations are performed on-demand, rather than every
  9701. TokenBucketRefillInterval milliseconds. This change should improve
  9702. the granularity of our bandwidth calculations, and limit the
  9703. number of times that the Tor process needs to wake up when it is
  9704. idle. Closes ticket 25373.
  9705. - Move responsibility for many operations from a once-per-second
  9706. callback to a callback that is only scheduled as needed. Moving
  9707. this functionality has allowed us to disable the callback when
  9708. Tor's network is disabled. Once enough items are removed from our
  9709. once-per-second callback, we can eliminate it entirely to conserve
  9710. CPU when idle. The functionality removed includes: closing
  9711. connections, circuits, and channels (ticket 25932); consensus
  9712. voting (25937); flushing log callbacks (25951); honoring delayed
  9713. SIGNEWNYM requests (25949); rescanning the consensus cache
  9714. (25931); saving the state file to disk (25948); warning relay
  9715. operators about unreachable ports (25952); and keeping track of
  9716. Tor's uptime (26009).
  9717. o Major bugfixes (directory authorities, security):
  9718. - When directory authorities read a zero-byte bandwidth file, they
  9719. would previously log a warning with the contents of an
  9720. uninitialised buffer. They now log a warning about the empty file
  9721. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  9722. o Major bugfixes (crash):
  9723. - Avoid a rare assertion failure in the circuit build timeout code
  9724. if we fail to allow any circuits to actually complete. Fixes bug
  9725. 25733; bugfix on 0.2.2.2-alpha.
  9726. o Major bugfixes (directory authority):
  9727. - Avoid a crash when testing router reachability on a router that
  9728. could have an ed25519 ID, but which does not. Fixes bug 25415;
  9729. bugfix on 0.3.3.2-alpha.
  9730. o Major bugfixes (onion service):
  9731. - Correctly detect when onion services get disabled after HUP. Fixes
  9732. bug 25761; bugfix on 0.3.2.1.
  9733. o Major bugfixes (protover, voting):
  9734. - Revise Rust implementation of protover to use a more memory-
  9735. efficient voting algorithm and corresponding data structures, thus
  9736. avoiding a potential (but small impact) DoS attack where specially
  9737. crafted protocol strings would expand to several potential
  9738. megabytes in memory. In the process, several portions of code were
  9739. revised to be methods on new, custom types, rather than functions
  9740. taking interchangeable types, thus increasing type safety of the
  9741. module. Custom error types and handling were added as well, in
  9742. order to facilitate better error dismissal/handling in outside
  9743. crates and avoid mistakenly passing an internal error string to C
  9744. over the FFI boundary. Many tests were added, and some previous
  9745. differences between the C and Rust implementations have been
  9746. remedied. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  9747. o Major bugfixes (relay, denial of service):
  9748. - Impose a limit on circuit cell queue size. The limit can be
  9749. controlled by a consensus parameter. Fixes bug 25226; bugfix
  9750. on 0.2.4.14-alpha.
  9751. o Minor features (accounting):
  9752. - When Tor becomes dormant, it now uses a scheduled event to wake up
  9753. at the right time. Previously, we would use the per-second timer
  9754. to check whether to wake up, but we no longer have any per-second
  9755. timers enabled when the network is disabled. Closes ticket 26064.
  9756. o Minor features (code quality):
  9757. - Add optional spell-checking for the Tor codebase, using the
  9758. "misspell" program. To use this feature, run "make check-typos".
  9759. Closes ticket 25024.
  9760. o Minor features (compatibility):
  9761. - Tor now detects versions of OpenSSL 1.1.0 and later compiled with
  9762. the no-deprecated option, and builds correctly with them. Closes
  9763. tickets 19429, 19981, and 25353.
  9764. - Avoid some compilation warnings with recent versions of LibreSSL.
  9765. Closes ticket 26006.
  9766. o Minor features (compression, zstd):
  9767. - When running with zstd, Tor now considers using advanced functions
  9768. that the zstd maintainers have labeled as potentially unstable. To
  9769. prevent breakage, Tor will only use this functionality when the
  9770. runtime version of the zstd library matches the version with which
  9771. Tor was compiled. Closes ticket 25162.
  9772. o Minor features (configuration):
  9773. - The "DownloadSchedule" options have been renamed to end with
  9774. "DownloadInitialDelay". The old names are still allowed, but will
  9775. produce a warning. Comma-separated lists are still permitted for
  9776. these options, but all values after the first are ignored (as they
  9777. have been since 0.2.9). Closes ticket 23354.
  9778. o Minor features (continuous integration):
  9779. - Our .travis.yml configuration now includes support for testing the
  9780. results of "make distcheck". (It's not uncommon for "make check"
  9781. to pass but "make distcheck" to fail.) Closes ticket 25814.
  9782. - Our Travis CI configuration now integrates with the Coveralls
  9783. coverage analysis tool. Closes ticket 25818.
  9784. o Minor features (control port):
  9785. - Introduce GETINFO "current-time/{local,utc}" to return the local
  9786. and UTC times respectively in ISO format. This helps a controller
  9787. like Tor Browser detect a time-related error. Closes ticket 25511.
  9788. Patch by Neel Chauhan.
  9789. - Introduce new fields to the CIRC_BW event. There are two new
  9790. fields in each of the read and written directions. The DELIVERED
  9791. fields report the total valid data on the circuit, as measured by
  9792. the payload sizes of verified and error-checked relay command
  9793. cells. The OVERHEAD fields report the total unused bytes in each
  9794. of these cells. Closes ticket 25903.
  9795. o Minor features (directory authority):
  9796. - Directory authorities now open their key-pinning files as O_SYNC,
  9797. to limit their chances of accidentally writing partial lines.
  9798. Closes ticket 23909.
  9799. o Minor features (directory authority, forward compatibility):
  9800. - Make the lines of the measured bandwidth file able to contain
  9801. their entries in any order. Previously, the node_id entry needed
  9802. to come first. Closes ticket 26004.
  9803. o Minor features (entry guards):
  9804. - Introduce a new torrc option NumPrimaryGuards for controlling the
  9805. number of primary guards. Closes ticket 25843.
  9806. o Minor features (geoip):
  9807. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  9808. database. Closes ticket 26104.
  9809. o Minor features (performance):
  9810. - Avoid a needless call to malloc() when processing an incoming
  9811. relay cell. Closes ticket 24914.
  9812. - Make our timing-wheel code run a tiny bit faster on 32-bit
  9813. platforms, by preferring 32-bit math to 64-bit. Closes
  9814. ticket 24688.
  9815. - Avoid a needless malloc()/free() pair every time we handle an ntor
  9816. handshake. Closes ticket 25150.
  9817. o Minor features (testing):
  9818. - Add a unit test for voting_schedule_get_start_of_next_interval().
  9819. Closes ticket 26014, and helps make unit test coverage
  9820. more deterministic.
  9821. - A new unittests module specifically for testing the functions in
  9822. the (new-ish) bridges.c module has been created with new
  9823. unittests, raising the code coverage percentages. Closes 25425.
  9824. - We now have improved testing for addressmap_get_virtual_address()
  9825. function. This should improve our test coverage, and make our test
  9826. coverage more deterministic. Closes ticket 25993.
  9827. o Minor features (timekeeping, circuit scheduling):
  9828. - When keeping track of how busy each circuit have been recently on
  9829. a given connection, use coarse-grained monotonic timers rather
  9830. than gettimeofday(). This change should marginally increase
  9831. accuracy and performance. Implements part of ticket 25927.
  9832. o Minor bugfixes (bandwidth management):
  9833. - Consider ourselves "low on write bandwidth" if we have exhausted
  9834. our write bandwidth some time in the last second. This was the
  9835. documented behavior before, but the actual behavior was to change
  9836. this value every TokenBucketRefillInterval. Fixes bug 25828;
  9837. bugfix on 0.2.3.5-alpha.
  9838. o Minor bugfixes (C correctness):
  9839. - Add a missing lock acquisition in the shutdown code of the control
  9840. subsystem. Fixes bug 25675; bugfix on 0.2.7.3-rc. Found by
  9841. Coverity; this is CID 1433643.
  9842. o Minor bugfixes (circuit path selection):
  9843. - Don't count path selection failures as circuit build failures.
  9844. This change should eliminate cases where Tor blames its guard or
  9845. the network for situations like insufficient microdescriptors
  9846. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  9847. on 0.3.3.1-alpha.
  9848. o Minor bugfixes (client):
  9849. - Don't consider Tor running as a client if the ControlPort is open,
  9850. but no actual client ports are open. Fixes bug 26062; bugfix
  9851. on 0.2.9.4-alpha.
  9852. o Minor bugfixes (code style):
  9853. - Fixed multiple includes of transports.h in src/or/connection.c
  9854. Fixes bug 25261; bugfix on 0.2.5.1-alpha.
  9855. - Remove the unused variable n_possible from the function
  9856. channel_get_for_extend(). Fixes bug 25645; bugfix on 0.2.4.4-alpha
  9857. o Minor bugfixes (control interface):
  9858. - Respond with more human-readable error messages to GETINFO exit-
  9859. policy/* requests. Also, let controller know if an error is
  9860. transient (response code 551) or not (response code 552). Fixes
  9861. bug 25852; bugfix on 0.2.8.1-alpha.
  9862. o Minor bugfixes (controller):
  9863. - Make CIRC_BW event reflect the total of all data sent on a
  9864. circuit, including padding and dropped cells. Also fix a mis-
  9865. counting bug when STREAM_BW events were enabled. Fixes bug 25400;
  9866. bugfix on 0.2.5.2-alpha.
  9867. o Minor bugfixes (correctness, client):
  9868. - Upon receiving a malformed connected cell, stop processing the cell
  9869. immediately. Previously we would mark the connection for close, but
  9870. continue processing the cell as if the connection were open. Fixes bug
  9871. 26072; bugfix on 0.2.4.7-alpha.
  9872. o Minor bugfixes (directory client):
  9873. - When unverified-consensus is verified, rename it to cached-
  9874. consenus. Fixes bug 4187; bugfix on 0.2.0.3-alpha.
  9875. - Fixed launching a certificate fetch always during the scheduled
  9876. periodic consensus fetch by fetching only in those cases when
  9877. consensus are waiting for certs. Fixes bug 24740; bugfix
  9878. on 0.2.9.1-alpha.
  9879. o Minor bugfixes (documentation):
  9880. - Stop saying in the manual that clients cache ipv4 dns answers from
  9881. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  9882. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  9883. we forgot to say so in the man page. Fixes bug 26052; bugfix
  9884. on 0.3.2.6-alpha.
  9885. o Minor bugfixes (error reporting):
  9886. - Improve tolerance for directory authorities with skewed clocks.
  9887. Previously, an authority with a clock more than 60 seconds ahead
  9888. could cause a client with a correct clock to warn that the
  9889. client's clock was behind. Now the clocks of a majority of
  9890. directory authorities have to be ahead of the client before this
  9891. warning will occur. Fixes bug 25756; bugfix on 0.2.2.25-alpha.
  9892. o Minor bugfixes (Linux seccomp2 sandbox):
  9893. - Allow the nanosleep() system call, which glibc uses to implement
  9894. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  9895. o Minor bugfixes (onion service):
  9896. - Fix a memory leak when a v3 onion service is configured and gets a
  9897. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  9898. - When parsing the descriptor signature, look for the token plus an
  9899. extra white-space at the end. This is more correct but also will
  9900. allow us to support new fields that might start with "signature".
  9901. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  9902. o Minor bugfixes (path selection):
  9903. - Only select relays when they have the descriptors we prefer to use
  9904. for them. This change fixes a bug where we could select a relay
  9905. because it had _some_ descriptor, but reject it later with a
  9906. nonfatal assertion error because it didn't have the exact one we
  9907. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  9908. o Minor bugfixes (portability):
  9909. - Do not align mmap length, as it is not required by POSIX, and the
  9910. getpagesize function is deprecated. Fixes bug 25399; bugfix
  9911. on 0.1.1.23.
  9912. o Minor bugfixes (portability, FreeBSD):
  9913. - In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB
  9914. does not stringify on FreeBSD, so we switch to tor_asprintf().
  9915. Fixes bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan.
  9916. o Minor bugfixes (relay statistics):
  9917. - When a relay is collecting internal statistics about how many
  9918. create cell requests it has seen of each type, accurately count
  9919. the requests from relays that temporarily fall out of the
  9920. consensus. (To be extra conservative, we were already ignoring
  9921. requests from clients in our counts, and we continue ignoring them
  9922. here.) Fixes bug 24910; bugfix on 0.2.4.17-rc.
  9923. o Minor bugfixes (relay, crash):
  9924. - Avoid a crash when running with DirPort set but ORPort turned off.
  9925. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  9926. o Minor bugfixes (restart-in-process):
  9927. - When shutting down, Tor now clears all the flags in the control.c
  9928. module. This should prevent a bug where authentication cookies are
  9929. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  9930. o Minor bugfixes (testing):
  9931. - When testing workqueue event-cancellation, make sure that we
  9932. actually cancel an event, and that cancel each event with equal
  9933. probability. (It was previously possible, though extremely
  9934. unlikely, for our event-canceling test not to cancel any events.)
  9935. Fixes bug 26008; bugfix on 0.2.6.3-alpha.
  9936. - Repeat part of the test in test_client_pick_intro() a number of
  9937. times, to give it consistent coverage. Fixes bug 25996; bugfix
  9938. on 0.3.2.1-alpha.
  9939. - Remove randomness from the hs_common/responsible_hsdirs test, so
  9940. that it always takes the same path through the function it tests.
  9941. Fixes bug 25997; bugfix on 0.3.2.1-alpha.
  9942. - Change the behavior of the "channel/outbound" test so that it
  9943. never causes a 10-second rollover for the EWMA circuitmux code.
  9944. Previously, this behavior would happen randomly, and result in
  9945. fluctuating test coverage. Fixes bug 25994; bugfix
  9946. on 0.3.3.1-alpha.
  9947. - Use X509_new() to allocate certificates that will be freed later
  9948. with X509_free(). Previously, some parts of the unit tests had
  9949. used tor_malloc_zero(), which is incorrect, and which caused test
  9950. failures on Windows when they were built with extra hardening.
  9951. Fixes bugs 25943 and 25944; bugfix on 0.2.8.1-alpha. Patch by
  9952. Marcin Cieślak.
  9953. - While running the circuit_timeout test, fix the PRNG to a
  9954. deterministic AES stream, so that the test coverage from this test
  9955. will itself be deterministic. Fixes bug 25995; bugfix
  9956. on 0.2.2.2-alpha.
  9957. o Minor bugfixes (vanguards):
  9958. - Allow the last hop in a vanguard circuit to be the same as our
  9959. first, to prevent the adversary from influencing guard node choice
  9960. by choice of last hop. Also prevent the creation of A - B - A
  9961. paths, or A - A paths, which are forbidden by relays. Fixes bug
  9962. 25870; bugfix on 0.3.3.1-alpha.
  9963. o Code simplification and refactoring:
  9964. - Remove duplicate code in parse_{c,s}method_line and bootstrap
  9965. their functionalities into a single function. Fixes bug 6236;
  9966. bugfix on 0.2.3.6-alpha.
  9967. - We remove the PortForwarding and PortForwardingHelper options,
  9968. related functions, and the port_forwarding tests. These options
  9969. were used by the now-deprecated Vidalia to help ordinary users
  9970. become Tor relays or bridges. Closes ticket 25409. Patch by
  9971. Neel Chauhan.
  9972. - In order to make the OR and dir checking function in router.c less
  9973. confusing we renamed some functions and
  9974. consider_testing_reachability() has been split into
  9975. router_should_check_reachability() and
  9976. router_do_reachability_checks(). Also we improved the documentation
  9977. in some functions. Closes ticket 18918.
  9978. - Initial work to isolate Libevent usage to a handful of modules in
  9979. our codebase, to simplify our call structure, and so that we can
  9980. more easily change event loops in the future if needed. Closes
  9981. ticket 23750.
  9982. - Introduce a function to call getsockname() and return tor_addr_t,
  9983. to save a little complexity throughout the codebase. Closes
  9984. ticket 18105.
  9985. - Make hsdir_index in node_t a hsdir_index_t rather than a pointer
  9986. as hsdir_index is always present. Also, we move hsdir_index_t into
  9987. or.h. Closes ticket 23094. Patch by Neel Chauhan.
  9988. - Merge functions used for describing nodes and suppress the
  9989. functions that do not allocate memory for the output buffer
  9990. string. NODE_DESC_BUF_LEN constant and format_node_description()
  9991. function cannot be used externally from router.c module anymore.
  9992. Closes ticket 25432. Patch by valentecaio.
  9993. - Our main loop has been simplified so that all important operations
  9994. happen inside events. Previously, some operations had to happen
  9995. outside the event loop, to prevent infinite sequences of event
  9996. activations. Closes ticket 25374.
  9997. - Put a SHA1 public key digest in hs_service_intro_point_t, and use
  9998. it in register_intro_circ() and service_intro_point_new(). This
  9999. prevents the digest from being re-calculated each time. Closes
  10000. ticket 23107. Patch by Neel Chauhan.
  10001. - Refactor token-bucket implementations to use a common backend.
  10002. Closes ticket 25766.
  10003. - Remove extern declaration of stats_n_seconds_working variable from
  10004. main, protecting its accesses with get_uptime() and reset_uptime()
  10005. functions. Closes ticket 25081, patch by “valentecaio”.
  10006. - Remove our previous logic for "cached gettimeofday()" -- our
  10007. coarse monotonic timers are fast enough for this purpose, and far
  10008. less error-prone. Implements part of ticket 25927.
  10009. - Remove the return value for fascist_firewall_choose_address_base(),
  10010. and sister functions such as fascist_firewall_choose_address_node()
  10011. and fascist_firewall_choose_address_rs(). Also, while we're here,
  10012. initialize the ap argument as leaving it uninitialized can pose a
  10013. security hazard. Closes ticket 24734. Patch by Neel Chauhan.
  10014. - Rename two fields of connection_t struct. timestamp_lastwritten is
  10015. renamed to timestamp_last_write_allowed and timestamp_lastread is
  10016. renamed to timestamp_last_read_allowed. Closes ticket 24714, patch
  10017. by "valentecaio".
  10018. - Since Tor requires C99, remove our old workaround code for libc
  10019. implementations where free(NULL) doesn't work. Closes ticket 24484.
  10020. - Use our standard rate-limiting code to deal with excessive
  10021. libevent failures, rather than the hand-rolled logic we had
  10022. before. Closes ticket 26016.
  10023. - We remove the return value of node_get_prim_orport() and
  10024. node_get_prim_dirport(), and introduce node_get_prim_orport() in
  10025. node_ipv6_or_preferred() and node_ipv6_dir_preferred() in order to
  10026. check for a null address. Closes ticket 23873. Patch by
  10027. Neel Chauhan.
  10028. - We switch to should_record_bridge_info() in
  10029. geoip_note_client_seen() and options_need_geoip_info() instead of
  10030. accessing the configuration values directly. Fixes bug 25290;
  10031. bugfix on 0.2.1.6-alpha. Patch by Neel Chauhan.
  10032. o Deprecated features:
  10033. - As we are not recommending 0.2.5 anymore, we require relays that
  10034. once had an ed25519 key associated with their RSA key to always
  10035. have that key, instead of allowing them to drop back to a version
  10036. that didn't support ed25519. This means they need to use a new RSA
  10037. key if they want to downgrade to an older version of tor without
  10038. ed25519. Closes ticket 20522.
  10039. o Documentation:
  10040. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  10041. ticket 25857. Patch from "CTassisF".
  10042. o Removed features:
  10043. - Directory authorities will no longer support voting according to
  10044. any consensus method before consensus method 25. This keeps
  10045. authorities compatible with all authorities running 0.2.9.8 and
  10046. later, and does not break any clients or relays. Implements ticket
  10047. 24378 and proposal 290.
  10048. - The PortForwarding and PortForwardingHelper features have been
  10049. removed. The reasoning is, given that implementations of NAT
  10050. traversal protocols within common consumer grade routers are
  10051. frequently buggy, and that the target audience for a NAT punching
  10052. feature is a perhaps less-technically-inclined relay operator,
  10053. when the helper fails to setup traversal the problems are usually
  10054. deep, ugly, and very router specific, making them horrendously
  10055. impossible for technical support to reliable assist with, and thus
  10056. resulting in frustration all around. Unfortunately, relay
  10057. operators who would like to run relays behind NATs will need to
  10058. become more familiar with the port forwarding configurations on
  10059. their local router. Closes 25409.
  10060. - The TestingEnableTbEmptyEvent option has been removed. It was used
  10061. in testing simulations to measure how often connection buckets
  10062. were emptied, in order to improve our scheduling, but it has not
  10063. been actively used in years. Closes ticket 25760.
  10064. - The old "round-robin" circuit multiplexer (circuitmux)
  10065. implementation has been removed, along with a fairly large set of
  10066. code that existed to support it. It has not been the default
  10067. circuitmux since we introduced the "EWMA" circuitmux in 0.2.4.x,
  10068. but it still required an unreasonable amount of memory and CPU.
  10069. Closes ticket 25268.
  10070. Changes in version 0.3.3.5-rc - 2018-04-15
  10071. Tor 0.3.3.5-rc fixes various bugs in earlier versions of Tor,
  10072. including some that could affect reliability or correctness.
  10073. This is the first release candidate in the 0.3.3 series. If we find no
  10074. new bugs or regression here, then the first stable 0.3.3 release will
  10075. be nearly identical to this one.
  10076. o Major bugfixes (security, protover, voting):
  10077. - Revise Rust implementation of protover to use a more memory-
  10078. efficient voting algorithm and corresponding data structures, thus
  10079. avoiding a potential memory-based DoS attack where specially
  10080. crafted protocol strings would expand to fill available memory.
  10081. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  10082. o Major bugfixes (performance, load balancing):
  10083. - Directory authorities no longer vote in favor of the Guard flag
  10084. for relays without directory support. Starting in Tor
  10085. 0.3.0.1-alpha, clients have been avoiding using such relays in the
  10086. Guard position, leading to increasingly broken load balancing for
  10087. the 5%-or-so of Guards that don't advertise directory support.
  10088. Fixes bug 22310; bugfix on 0.3.0.6.
  10089. o Minor feature (continuous integration):
  10090. - Update the Travis CI configuration to use the stable Rust channel,
  10091. now that we have decided to require that. Closes ticket 25714.
  10092. o Minor features (config options):
  10093. - Change the way the default value for MaxMemInQueues is calculated.
  10094. We now use 40% of the hardware RAM if the system has 8 GB RAM or
  10095. more. Otherwise we use the former value of 75%. Closes
  10096. ticket 24782.
  10097. o Minor features (geoip):
  10098. - Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2
  10099. Country database. Closes ticket 25718.
  10100. o Minor bugfixes (client):
  10101. - When using a listed relay as a bridge, and also using
  10102. microdescriptors, and considering that relay as a non-bridge in a
  10103. circuit, treat its microdescriptor as a valid source of
  10104. information about that relay. This change should prevent a non-
  10105. fatal assertion error. Fixes bug 25691; bugfix on 0.3.3.4-alpha.
  10106. o Minor bugfixes (controller):
  10107. - Restore the correct operation of the RESOLVE command, which had
  10108. been broken since we added the ability to enable/disable DNS on
  10109. specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha.
  10110. o Minor bugfixes (distribution, compilation, rust):
  10111. - Build correctly when the rust dependencies submodule is loaded,
  10112. but the TOR_RUST_DEPENDENCIES environment variable is not set.
  10113. Fixes bug 25679; bugfix on 0.3.3.1-alpha.
  10114. - Actually include all of our Rust source in our source
  10115. distributions. (Previously, a few of the files were accidentally
  10116. omitted.) Fixes bug 25732; bugfix on 0.3.3.2-alpha.
  10117. o Minor bugfixes (documentation):
  10118. - Document that the PerConnBW{Rate,Burst} options will fall back to
  10119. their corresponding consensus parameters only if those parameters
  10120. are set. Previously we had claimed that these values would always
  10121. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  10122. - Revert a misformatting issue in the ExitPolicy documentation.
  10123. Fixes bug 25582; bugfix on 0.3.3.1-alpha.
  10124. o Minor bugfixes (exit relay DNS retries):
  10125. - Re-attempt timed-out DNS queries 3 times before failure, since our
  10126. timeout is 5 seconds for them, but clients wait 10-15. Also allow
  10127. slightly more timeouts per resolver when an exit has multiple
  10128. resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
  10129. o Minor bugfixes (onion services):
  10130. - Re-instate counting the client HSDir fetch circuits against the
  10131. MaxClientCircuitsPending rate limit. Fixes bug 24989; bugfix
  10132. on 0.3.3.1-alpha.
  10133. - Remove underscores from the _HSLayer{2,3}Nodes options. This
  10134. expert-user configuration can now be enabled as HSLayer{2,3}Nodes.
  10135. Fixes bug 25581; bugfix on 0.3.3.1-alpha
  10136. o Code simplification and refactoring:
  10137. - Move the list of default directory authorities to its own file.
  10138. Closes ticket 24854. Patch by "beastr0".
  10139. o Documentation (manpage, denial of service):
  10140. - Provide more detail about the denial-of-service options, by
  10141. listing each mitigation and explaining how they relate. Closes
  10142. ticket 25248.
  10143. Changes in version 0.3.3.4-alpha - 2018-03-29
  10144. Tor 0.3.3.4-alpha includes various bugfixes for issues found during
  10145. the alpha testing of earlier releases in its series. We are
  10146. approaching a stable 0.3.3.4-alpha release: more testing is welcome!
  10147. o New system requirements:
  10148. - When built with Rust, Tor now depends on version 0.2.39 of the
  10149. libc crate. Closes tickets 25310 and 25664.
  10150. o Major bugfixes (relay, connection):
  10151. - If we have failed to connect to a relay and received a connection
  10152. refused, timeout, or similar error (at the TCP level), do not try
  10153. that same address/port again for 60 seconds after the failure has
  10154. occurred. Fixes bug 24767; bugfix on 0.0.6.
  10155. o Minor features (geoip):
  10156. - Update geoip and geoip6 to the March 8 2018 Maxmind GeoLite2
  10157. Country database. Closes ticket 25469.
  10158. o Minor features (log messages):
  10159. - Improve log message in the out-of-memory handler to include
  10160. information about memory usage from the different compression
  10161. backends. Closes ticket 25372.
  10162. o Minor features (sandbox):
  10163. - Explicitly permit the poll() system call when the Linux
  10164. seccomp2-based sandbox is enabled: apparently, some versions of
  10165. libc use poll() when calling getpwnam(). Closes ticket 25313.
  10166. o Minor bugfixes (C correctness):
  10167. - Fix a very unlikely (impossible, we believe) null pointer
  10168. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  10169. Coverity; this is CID 1430932.
  10170. o Minor bugfixes (channel, client):
  10171. - Better identify client connection when reporting to the geoip
  10172. client cache. Fixes bug 24904; bugfix on 0.3.1.7.
  10173. o Minor bugfixes (compilation):
  10174. - Fix a C99 compliance issue in our configuration script that caused
  10175. compilation issues when compiling Tor with certain versions of
  10176. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  10177. o Minor bugfixes (controller, reliability):
  10178. - Avoid a (nonfatal) assertion failure when extending a one-hop
  10179. circuit from the controller to become a multihop circuit. Fixes
  10180. bug 24903; bugfix on 0.2.5.2-alpha.
  10181. o Major bugfixes (networking):
  10182. - Tor will no longer reject IPv6 address strings from Tor Browser
  10183. when they are passed as hostnames in SOCKS5 requests. Fixes bug
  10184. 25036, bugfix on Tor 0.3.1.2.
  10185. o Minor bugfixes (networking):
  10186. - string_is_valid_hostname() will not consider IP strings to be
  10187. valid hostnames. Fixes bug 25055; bugfix on Tor 0.2.5.5.
  10188. o Minor bugfixes (onion service v3):
  10189. - Avoid an assertion failure when the next onion service
  10190. descriptor rotation type is out of sync with the consensus's
  10191. valid-after time. Instead, log a warning message with extra
  10192. information, so we can better hunt down the cause of this
  10193. assertion. Fixes bug 25306; bugfix on 0.3.2.1-alpha.
  10194. o Minor bugfixes (testing):
  10195. - Avoid intermittent test failures due to a test that had relied on
  10196. onion service introduction point creation finishing within 5
  10197. seconds of real clock time. Fixes bug 25450; bugfix
  10198. on 0.3.1.3-alpha.
  10199. - Rust crates are now automatically detected and tested. Previously,
  10200. some crates were not tested by `make test-rust` due to a static
  10201. string in the `src/test/test_rust.sh` script specifying which
  10202. crates to test. Fixes bug 25560; bugfix on 0.3.3.3-alpha.
  10203. o Minor bugfixes (testing, benchmarks):
  10204. - Fix a crash when running benchmark tests on win32 systems. The
  10205. crash was due to a mutex that wasn't initialized before logging
  10206. and options were initialized. Fixes bug 25479; bugfix
  10207. on 0.3.3.3-alpha.
  10208. o Minor bugfixes (warnings, ipv6):
  10209. - Avoid a bug warning that could occur when trying to connect to a
  10210. relay over IPv6. This warning would occur on a Tor instance that
  10211. downloads router descriptors, but prefers to use microdescriptors.
  10212. Fixes bug 25213; bugfix on 0.3.3.1-alpha.
  10213. o Code simplification and refactoring:
  10214. - Remove the old (deterministic) directory retry logic entirely:
  10215. We've used exponential backoff exclusively for some time. Closes
  10216. ticket 23814.
  10217. o Documentation:
  10218. - Improved the documentation of AccountingStart parameter. Closes
  10219. ticket 23635.
  10220. - Update the documentation for "Log" to include the current list of
  10221. logging domains. Closes ticket 25378.
  10222. Changes in version 0.3.1.10 - 2018-03-03
  10223. Tor 0.3.1.10 backports a number of bugfixes, including important fixes for
  10224. security issues.
  10225. It includes an important security fix for a remote crash attack
  10226. against directory authorities, tracked as TROVE-2018-001.
  10227. This release also backports our new system for improved resistance to
  10228. denial-of-service attacks against relays.
  10229. This release also fixes several minor bugs and annoyances from
  10230. earlier releases.
  10231. All directory authorities should upgrade to one of the versions
  10232. released today. Relays running 0.3.1.x may wish to update to one of
  10233. the versions released today, for the DoS mitigations.
  10234. Please note: according to our release calendar, Tor 0.3.1 will no
  10235. longer be supported after 1 July 2018. If you will be running Tor
  10236. after that date, you should make sure to plan to upgrade to the latest
  10237. stable version, or downgrade to 0.2.9 (which will receive long-term
  10238. support).
  10239. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  10240. - Fix a protocol-list handling bug that could be used to remotely crash
  10241. directory authorities with a null-pointer exception. Fixes bug 25074;
  10242. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  10243. CVE-2018-0490.
  10244. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  10245. - Give relays some defenses against the recent network overload. We
  10246. start with three defenses (default parameters in parentheses).
  10247. First: if a single client address makes too many concurrent
  10248. connections (>100), hang up on further connections. Second: if a
  10249. single client address makes circuits too quickly (more than 3 per
  10250. second, with an allowed burst of 90) while also having too many
  10251. connections open (3), refuse new create cells for the next while
  10252. (1-2 hours). Third: if a client asks to establish a rendezvous
  10253. point to you directly, ignore the request. These defenses can be
  10254. manually controlled by new torrc options, but relays will also
  10255. take guidance from consensus parameters, so there's no need to
  10256. configure anything manually. Implements ticket 24902.
  10257. o Minor features (linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  10258. - Update the sandbox rules so that they should now work correctly
  10259. with Glibc 2.26. Closes ticket 24315.
  10260. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  10261. - Fix an "off by 2" error in counting rendezvous failures on the
  10262. onion service side. While we thought we would stop the rendezvous
  10263. attempt after one failed circuit, we were actually making three
  10264. circuit attempts before giving up. Now switch to a default of 2,
  10265. and allow the consensus parameter "hs_service_max_rdv_failures" to
  10266. override. Fixes bug 24895; bugfix on 0.0.6.
  10267. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  10268. - Add Link protocol version 5 to the supported protocols list. Fixes
  10269. bug 25070; bugfix on 0.3.1.1-alpha.
  10270. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  10271. - Fix a set of false positives where relays would consider
  10272. connections to other relays as being client-only connections (and
  10273. thus e.g. deserving different link padding schemes) if those
  10274. relays fell out of the consensus briefly. Now we look only at the
  10275. initial handshake and whether the connection authenticated as a
  10276. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  10277. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  10278. - Make our OOM handler aware of the geoip client history cache so it
  10279. doesn't fill up the memory. This check is important for IPv6 and
  10280. our DoS mitigation subsystem. Closes ticket 25122.
  10281. o Minor feature (relay statistics, backport from 0.3.2.6-alpha):
  10282. - Change relay bandwidth reporting stats interval from 4 hours to 24
  10283. hours in order to reduce the efficiency of guard discovery
  10284. attacks. Fixes ticket 23856.
  10285. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  10286. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  10287. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  10288. since they neither disabled TLS 1.3 nor enabled any of the
  10289. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  10290. Closes ticket 24978.
  10291. o Minor features (fallback directory mirrors, backport from 0.3.2.9):
  10292. - The fallback directory list has been re-generated based on the
  10293. current status of the network. Tor uses fallback directories to
  10294. bootstrap when it doesn't yet have up-to-date directory
  10295. information. Closes ticket 24801.
  10296. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  10297. prefer to bootstrap from fallback directory mirrors. This is a
  10298. follow-up to 24679, which removed weights from the default
  10299. fallbacks. Implements ticket 24681.
  10300. o Minor features (geoip):
  10301. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  10302. Country database.
  10303. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  10304. - Use the actual observed address of an incoming relay connection,
  10305. not the canonical address of the relay from its descriptor, when
  10306. making decisions about how to handle the incoming connection.
  10307. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  10308. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  10309. - Directory authorities, when refusing a descriptor from a rejected
  10310. relay, now explicitly tell the relay (in its logs) to set a valid
  10311. ContactInfo address and contact the bad-relays@ mailing list.
  10312. Fixes bug 25170; bugfix on 0.2.9.1.
  10313. o Minor bugfixes (address selection, backport from 0.3.2.9):
  10314. - When the fascist_firewall_choose_address_ functions don't find a
  10315. reachable address, set the returned address to the null address
  10316. and port. This is a precautionary measure, because some callers do
  10317. not check the return value. Fixes bug 24736; bugfix
  10318. on 0.2.8.2-alpha.
  10319. o Major bugfixes (bootstrapping, backport from 0.3.2.5-alpha):
  10320. - Fetch descriptors aggressively whenever we lack enough to build
  10321. circuits, regardless of how many descriptors we are missing.
  10322. Previously, we would delay launching the fetch when we had fewer
  10323. than 15 missing descriptors, even if some of those descriptors
  10324. were blocking circuits from building. Fixes bug 23985; bugfix on
  10325. 0.1.1.11-alpha. The effects of this bug became worse in
  10326. 0.3.0.3-alpha, when we began treating missing descriptors from our
  10327. primary guards as a reason to delay circuits.
  10328. - Don't try fetching microdescriptors from relays that have failed
  10329. to deliver them in the past. Fixes bug 23817; bugfix
  10330. on 0.3.0.1-alpha.
  10331. o Minor bugfixes (compilation, backport from 0.3.2.7-rc):
  10332. - Fix a signed/unsigned comparison warning introduced by our fix to
  10333. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  10334. o Minor bugfixes (control port, linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  10335. - Avoid a crash when attempting to use the seccomp2 sandbox together
  10336. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  10337. on 0.2.5.1-alpha.
  10338. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  10339. - Fix a possible crash on malformed consensus. If a consensus had
  10340. contained an unparseable protocol line, it could have made clients
  10341. and relays crash with a null-pointer exception. To exploit this
  10342. issue, however, an attacker would need to be able to subvert the
  10343. directory authority system. Fixes bug 25251; bugfix on
  10344. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  10345. o Minor bugfixes (directory cache, backport from 0.3.2.5-alpha):
  10346. - Recover better from empty or corrupt files in the consensus cache
  10347. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  10348. - When a consensus diff calculation is only partially successful,
  10349. only record the successful parts as having succeeded. Partial
  10350. success can happen if (for example) one compression method fails
  10351. but the others succeed. Previously we misrecorded all the
  10352. calculations as having succeeded, which would later cause a
  10353. nonfatal assertion failure. Fixes bug 24086; bugfix
  10354. on 0.3.1.1-alpha.
  10355. o Minor bugfixes (entry guards, backport from 0.3.2.3-alpha):
  10356. - Tor now updates its guard state when it reads a consensus
  10357. regardless of whether it's missing descriptors. That makes tor use
  10358. its primary guards to fetch descriptors in some edge cases where
  10359. it would previously have used fallback directories. Fixes bug
  10360. 23862; bugfix on 0.3.0.1-alpha.
  10361. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  10362. - Don't treat inability to store a cached consensus object as a bug:
  10363. it can happen normally when we are out of disk space. Fixes bug
  10364. 24859; bugfix on 0.3.1.1-alpha.
  10365. o Minor bugfixes (memory usage, backport from 0.3.2.8-rc):
  10366. - When queuing DESTROY cells on a channel, only queue the circuit-id
  10367. and reason fields: not the entire 514-byte cell. This fix should
  10368. help mitigate any bugs or attacks that fill up these queues, and
  10369. free more RAM for other uses. Fixes bug 24666; bugfix
  10370. on 0.2.5.1-alpha.
  10371. o Minor bugfixes (network layer, backport from 0.3.2.5-alpha):
  10372. - When closing a connection via close_connection_immediately(), we
  10373. mark it as "not blocked on bandwidth", to prevent later calls from
  10374. trying to unblock it, and give it permission to read. This fixes a
  10375. backtrace warning that can happen on relays under various
  10376. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  10377. o Minor bugfixes (path selection, backport from 0.3.2.4-alpha):
  10378. - When selecting relays by bandwidth, avoid a rounding error that
  10379. could sometimes cause load to be imbalanced incorrectly.
  10380. Previously, we would always round upwards; now, we round towards
  10381. the nearest integer. This had the biggest effect when a relay's
  10382. weight adjustments should have given it weight 0, but it got
  10383. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  10384. - When calculating the fraction of nodes that have descriptors, and
  10385. all nodes in the network have zero bandwidths, count the number of
  10386. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  10387. - Actually log the total bandwidth in compute_weighted_bandwidths().
  10388. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  10389. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  10390. - Improve the performance of our consensus-diff application code
  10391. when Tor is built with the --enable-fragile-hardening option set.
  10392. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  10393. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  10394. - Don't exit the Tor process if setrlimit() fails to change the file
  10395. limit (which can happen sometimes on some versions of OSX). Fixes
  10396. bug 21074; bugfix on 0.0.9pre5.
  10397. o Minor bugfixes (portability, msvc, backport from 0.3.2.9):
  10398. - Fix a bug in the bit-counting parts of our timing-wheel code on
  10399. MSVC. (Note that MSVC is still not a supported build platform, due
  10400. to cyptographic timing channel risks.) Fixes bug 24633; bugfix
  10401. on 0.2.9.1-alpha.
  10402. o Minor bugfixes (relay, partial backport):
  10403. - Make the internal channel_is_client() function look at what sort
  10404. of connection handshake the other side used, rather than whether
  10405. the other side ever sent a create_fast cell to us. Backports part
  10406. of the fixes from bugs 22805 and 24898.
  10407. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  10408. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  10409. 0.2.9.4-alpha.
  10410. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  10411. bugfix on 0.2.9.4-alpha.
  10412. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  10413. - Update the "rust dependencies" submodule to be a project-level
  10414. repository, rather than a user repository. Closes ticket 25323.
  10415. Changes in version 0.2.9.15 - 2018-03-03
  10416. Tor 0.2.9.15 backports important security and stability bugfixes from
  10417. later Tor releases.
  10418. It includes an important security fix for a remote crash attack
  10419. against directory authorities, tracked as TROVE-2018-001.
  10420. This release also backports our new system for improved resistance to
  10421. denial-of-service attacks against relays.
  10422. This release also fixes several minor bugs and annoyances from
  10423. earlier releases.
  10424. All directory authorities should upgrade to one of the versions
  10425. released today. Relays running 0.2.9.x may wish to update to one of
  10426. the versions released today, for the DoS mitigations.
  10427. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  10428. - Fix a protocol-list handling bug that could be used to remotely crash
  10429. directory authorities with a null-pointer exception. Fixes bug 25074;
  10430. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  10431. CVE-2018-0490.
  10432. o Major features (denial-of-service mitigation):
  10433. - Give relays some defenses against the recent network overload. We
  10434. start with three defenses (default parameters in parentheses).
  10435. First: if a single client address makes too many concurrent
  10436. connections (>100), hang up on further connections. Second: if a
  10437. single client address makes circuits too quickly (more than 3 per
  10438. second, with an allowed burst of 90) while also having too many
  10439. connections open (3), refuse new create cells for the next while
  10440. (1-2 hours). Third: if a client asks to establish a rendezvous
  10441. point to you directly, ignore the request. These defenses can be
  10442. manually controlled by new torrc options, but relays will also
  10443. take guidance from consensus parameters, so there's no need to
  10444. configure anything manually. Implements ticket 24902.
  10445. o Major bugfixes (bootstrapping):
  10446. - Fetch descriptors aggressively whenever we lack enough to build
  10447. circuits, regardless of how many descriptors we are missing.
  10448. Previously, we would delay launching the fetch when we had fewer
  10449. than 15 missing descriptors, even if some of those descriptors
  10450. were blocking circuits from building. Fixes bug 23985; bugfix on
  10451. 0.1.1.11-alpha. The effects of this bug became worse in
  10452. 0.3.0.3-alpha, when we began treating missing descriptors from our
  10453. primary guards as a reason to delay circuits.
  10454. o Major bugfixes (onion services, retry behavior):
  10455. - Fix an "off by 2" error in counting rendezvous failures on the
  10456. onion service side. While we thought we would stop the rendezvous
  10457. attempt after one failed circuit, we were actually making three
  10458. circuit attempts before giving up. Now switch to a default of 2,
  10459. and allow the consensus parameter "hs_service_max_rdv_failures" to
  10460. override. Fixes bug 24895; bugfix on 0.0.6.
  10461. o Minor feature (relay statistics):
  10462. - Change relay bandwidth reporting stats interval from 4 hours to 24
  10463. hours in order to reduce the efficiency of guard discovery
  10464. attacks. Fixes ticket 23856.
  10465. o Minor features (compatibility, OpenSSL):
  10466. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  10467. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  10468. since they neither disabled TLS 1.3 nor enabled any of the
  10469. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  10470. Closes ticket 24978.
  10471. o Minor features (denial-of-service avoidance):
  10472. - Make our OOM handler aware of the geoip client history cache so it
  10473. doesn't fill up the memory. This check is important for IPv6 and
  10474. our DoS mitigation subsystem. Closes ticket 25122.
  10475. o Minor features (fallback directory mirrors):
  10476. - The fallback directory list has been re-generated based on the
  10477. current status of the network. Tor uses fallback directories to
  10478. bootstrap when it doesn't yet have up-to-date directory
  10479. information. Closes ticket 24801.
  10480. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  10481. prefer to bootstrap from fallback directory mirrors. This is a
  10482. follow-up to 24679, which removed weights from the default
  10483. fallbacks. Implements ticket 24681.
  10484. o Minor features (geoip):
  10485. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  10486. Country database.
  10487. o Minor features (linux seccomp2 sandbox):
  10488. - Update the sandbox rules so that they should now work correctly
  10489. with Glibc 2.26. Closes ticket 24315.
  10490. o Minor bugfix (channel connection):
  10491. - Use the actual observed address of an incoming relay connection,
  10492. not the canonical address of the relay from its descriptor, when
  10493. making decisions about how to handle the incoming connection.
  10494. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  10495. o Minor bugfix (directory authority):
  10496. - Directory authorities, when refusing a descriptor from a rejected
  10497. relay, now explicitly tell the relay (in its logs) to set a valid
  10498. ContactInfo address and contact the bad-relays@ mailing list.
  10499. Fixes bug 25170; bugfix on 0.2.9.1.
  10500. o Minor bugfixes (address selection):
  10501. - When the fascist_firewall_choose_address_ functions don't find a
  10502. reachable address, set the returned address to the null address
  10503. and port. This is a precautionary measure, because some callers do
  10504. not check the return value. Fixes bug 24736; bugfix
  10505. on 0.2.8.2-alpha.
  10506. o Minor bugfixes (compilation):
  10507. - Fix a signed/unsigned comparison warning introduced by our fix to
  10508. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  10509. o Minor bugfixes (control port, linux seccomp2 sandbox):
  10510. - Avoid a crash when attempting to use the seccomp2 sandbox together
  10511. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  10512. on 0.2.5.1-alpha.
  10513. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  10514. - Fix a possible crash on malformed consensus. If a consensus had
  10515. contained an unparseable protocol line, it could have made clients
  10516. and relays crash with a null-pointer exception. To exploit this
  10517. issue, however, an attacker would need to be able to subvert the
  10518. directory authority system. Fixes bug 25251; bugfix on
  10519. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  10520. o Minor bugfixes (memory usage):
  10521. - When queuing DESTROY cells on a channel, only queue the circuit-id
  10522. and reason fields: not the entire 514-byte cell. This fix should
  10523. help mitigate any bugs or attacks that fill up these queues, and
  10524. free more RAM for other uses. Fixes bug 24666; bugfix
  10525. on 0.2.5.1-alpha.
  10526. o Minor bugfixes (network layer):
  10527. - When closing a connection via close_connection_immediately(), we
  10528. mark it as "not blocked on bandwidth", to prevent later calls from
  10529. trying to unblock it, and give it permission to read. This fixes a
  10530. backtrace warning that can happen on relays under various
  10531. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  10532. o Minor bugfixes (OSX):
  10533. - Don't exit the Tor process if setrlimit() fails to change the file
  10534. limit (which can happen sometimes on some versions of OSX). Fixes
  10535. bug 21074; bugfix on 0.0.9pre5.
  10536. o Minor bugfixes (path selection):
  10537. - When selecting relays by bandwidth, avoid a rounding error that
  10538. could sometimes cause load to be imbalanced incorrectly.
  10539. Previously, we would always round upwards; now, we round towards
  10540. the nearest integer. This had the biggest effect when a relay's
  10541. weight adjustments should have given it weight 0, but it got
  10542. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  10543. - When calculating the fraction of nodes that have descriptors, and
  10544. all nodes in the network have zero bandwidths, count the number of
  10545. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  10546. - Actually log the total bandwidth in compute_weighted_bandwidths().
  10547. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  10548. o Minor bugfixes (portability, msvc):
  10549. - Fix a bug in the bit-counting parts of our timing-wheel code on
  10550. MSVC. (Note that MSVC is still not a supported build platform, due
  10551. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  10552. on 0.2.9.1-alpha.
  10553. o Minor bugfixes (relay):
  10554. - Make the internal channel_is_client() function look at what sort
  10555. of connection handshake the other side used, rather than whether
  10556. the other side ever sent a create_fast cell to us. Backports part
  10557. of the fixes from bugs 22805 and 24898.
  10558. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  10559. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  10560. 0.2.9.4-alpha.
  10561. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  10562. bugfix on 0.2.9.4-alpha.
  10563. Changes in version 0.3.2.10 - 2018-03-03
  10564. Tor 0.3.2.10 is the second stable release in the 0.3.2 series. It
  10565. backports a number of bugfixes, including important fixes for security
  10566. issues.
  10567. It includes an important security fix for a remote crash attack
  10568. against directory authorities, tracked as TROVE-2018-001.
  10569. Additionally, it backports a fix for a bug whose severity we have
  10570. upgraded: Bug 24700, which was fixed in 0.3.3.2-alpha, can be remotely
  10571. triggered in order to crash relays with a use-after-free pattern. As
  10572. such, we are now tracking that bug as TROVE-2018-002 and
  10573. CVE-2018-0491, and backporting it to earlier releases. This bug
  10574. affected versions 0.3.2.1-alpha through 0.3.2.9, as well as version
  10575. 0.3.3.1-alpha.
  10576. This release also backports our new system for improved resistance to
  10577. denial-of-service attacks against relays.
  10578. This release also fixes several minor bugs and annoyances from
  10579. earlier releases.
  10580. Relays running 0.3.2.x SHOULD upgrade to one of the versions released
  10581. today, for the fix to TROVE-2018-002. Directory authorities should
  10582. also upgrade. (Relays on earlier versions might want to update too for
  10583. the DoS mitigations.)
  10584. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  10585. - Fix a protocol-list handling bug that could be used to remotely crash
  10586. directory authorities with a null-pointer exception. Fixes bug 25074;
  10587. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  10588. CVE-2018-0490.
  10589. o Major bugfixes (scheduler, KIST, denial-of-service, backport from 0.3.3.2-alpha):
  10590. - Avoid adding the same channel twice in the KIST scheduler pending
  10591. list, which could lead to remote denial-of-service use-after-free
  10592. attacks against relays. Fixes bug 24700; bugfix on 0.3.2.1-alpha.
  10593. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  10594. - Give relays some defenses against the recent network overload. We
  10595. start with three defenses (default parameters in parentheses).
  10596. First: if a single client address makes too many concurrent
  10597. connections (>100), hang up on further connections. Second: if a
  10598. single client address makes circuits too quickly (more than 3 per
  10599. second, with an allowed burst of 90) while also having too many
  10600. connections open (3), refuse new create cells for the next while
  10601. (1-2 hours). Third: if a client asks to establish a rendezvous
  10602. point to you directly, ignore the request. These defenses can be
  10603. manually controlled by new torrc options, but relays will also
  10604. take guidance from consensus parameters, so there's no need to
  10605. configure anything manually. Implements ticket 24902.
  10606. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  10607. - Fix an "off by 2" error in counting rendezvous failures on the
  10608. onion service side. While we thought we would stop the rendezvous
  10609. attempt after one failed circuit, we were actually making three
  10610. circuit attempts before giving up. Now switch to a default of 2,
  10611. and allow the consensus parameter "hs_service_max_rdv_failures" to
  10612. override. Fixes bug 24895; bugfix on 0.0.6.
  10613. - New-style (v3) onion services now obey the "max rendezvous circuit
  10614. attempts" logic. Previously they would make as many rendezvous
  10615. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  10616. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  10617. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  10618. - Add Link protocol version 5 to the supported protocols list. Fixes
  10619. bug 25070; bugfix on 0.3.1.1-alpha.
  10620. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  10621. - Fix a set of false positives where relays would consider
  10622. connections to other relays as being client-only connections (and
  10623. thus e.g. deserving different link padding schemes) if those
  10624. relays fell out of the consensus briefly. Now we look only at the
  10625. initial handshake and whether the connection authenticated as a
  10626. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  10627. o Major bugfixes (scheduler, consensus, backport from 0.3.3.2-alpha):
  10628. - The scheduler subsystem was failing to promptly notice changes in
  10629. consensus parameters, making it harder to switch schedulers
  10630. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  10631. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  10632. - Make our OOM handler aware of the geoip client history cache so it
  10633. doesn't fill up the memory. This check is important for IPv6 and
  10634. our DoS mitigation subsystem. Closes ticket 25122.
  10635. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  10636. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  10637. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  10638. since they neither disabled TLS 1.3 nor enabled any of the
  10639. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  10640. Closes ticket 24978.
  10641. o Minor features (geoip):
  10642. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  10643. Country database.
  10644. o Minor features (logging, diagnostic, backport from 0.3.3.2-alpha):
  10645. - When logging a failure to create an onion service's descriptor,
  10646. also log what the problem with the descriptor was. Diagnostic
  10647. for ticket 24972.
  10648. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  10649. - Use the actual observed address of an incoming relay connection,
  10650. not the canonical address of the relay from its descriptor, when
  10651. making decisions about how to handle the incoming connection.
  10652. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  10653. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  10654. - Fix a possible crash on malformed consensus. If a consensus had
  10655. contained an unparseable protocol line, it could have made clients
  10656. and relays crash with a null-pointer exception. To exploit this
  10657. issue, however, an attacker would need to be able to subvert the
  10658. directory authority system. Fixes bug 25251; bugfix on
  10659. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  10660. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  10661. - Directory authorities, when refusing a descriptor from a rejected
  10662. relay, now explicitly tell the relay (in its logs) to set a valid
  10663. ContactInfo address and contact the bad-relays@ mailing list.
  10664. Fixes bug 25170; bugfix on 0.2.9.1.
  10665. o Minor bugfixes (build, rust, backport from 0.3.3.1-alpha):
  10666. - When building with Rust on OSX, link against libresolv, to work
  10667. around the issue at https://github.com/rust-lang/rust/issues/46797.
  10668. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  10669. o Minor bugfixes (onion services, backport from 0.3.3.2-alpha):
  10670. - Remove a BUG() statement when a client fetches an onion descriptor
  10671. that has a lower revision counter than the one in its cache. This
  10672. can happen in normal circumstances due to HSDir desync. Fixes bug
  10673. 24976; bugfix on 0.3.2.1-alpha.
  10674. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  10675. - Don't treat inability to store a cached consensus object as a bug:
  10676. it can happen normally when we are out of disk space. Fixes bug
  10677. 24859; bugfix on 0.3.1.1-alpha.
  10678. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  10679. - Improve the performance of our consensus-diff application code
  10680. when Tor is built with the --enable-fragile-hardening option set.
  10681. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  10682. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  10683. - Don't exit the Tor process if setrlimit() fails to change the file
  10684. limit (which can happen sometimes on some versions of OSX). Fixes
  10685. bug 21074; bugfix on 0.0.9pre5.
  10686. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  10687. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  10688. 0.2.9.4-alpha.
  10689. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  10690. bugfix on 0.2.9.4-alpha.
  10691. o Minor bugfixes (testing, backport from 0.3.3.1-alpha):
  10692. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  10693. 25005; bugfix on 0.3.2.7-rc.
  10694. o Minor bugfixes (v3 onion services, backport from 0.3.3.2-alpha):
  10695. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  10696. version, when deciding whether a consensus entry can support the
  10697. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  10698. bugfix on 0.3.2.1-alpha.
  10699. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  10700. - Update the "rust dependencies" submodule to be a project-level
  10701. repository, rather than a user repository. Closes ticket 25323.
  10702. o Documentation (backport from 0.3.3.1-alpha)
  10703. - Document that operators who run more than one relay or bridge are
  10704. expected to set MyFamily and ContactInfo correctly. Closes
  10705. ticket 24526.
  10706. Changes in version 0.3.3.3-alpha - 2018-03-03
  10707. Tor 0.3.3.3-alpha is the third alpha release for the 0.3.3.x series.
  10708. It includes an important security fix for a remote crash attack
  10709. against directory authorities tracked as TROVE-2018-001.
  10710. Additionally, with this release, we are upgrading the severity of a
  10711. bug fixed in 0.3.3.2-alpha. Bug 24700, which was fixed in
  10712. 0.3.3.2-alpha, can be remotely triggered in order to crash relays with
  10713. a use-after-free pattern. As such, we are now tracking that bug as
  10714. TROVE-2018-002 and CVE-2018-0491. This bug affected versions
  10715. 0.3.2.1-alpha through 0.3.2.9, as well as 0.3.3.1-alpha.
  10716. This release also fixes several minor bugs and annoyances from
  10717. earlier releases.
  10718. Relays running 0.3.2.x should upgrade to one of the versions released
  10719. today, for the fix to TROVE-2018-002. Directory authorities should
  10720. also upgrade. (Relays on earlier versions might want to update too for
  10721. the DoS mitigations.)
  10722. o Major bugfixes (denial-of-service, directory authority):
  10723. - Fix a protocol-list handling bug that could be used to remotely crash
  10724. directory authorities with a null-pointer exception. Fixes bug 25074;
  10725. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  10726. CVE-2018-0490.
  10727. o Minor features (compatibility, OpenSSL):
  10728. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  10729. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  10730. since they neither disabled TLS 1.3 nor enabled any of the
  10731. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  10732. Closes ticket 24978.
  10733. o Minor features (logging):
  10734. - Clarify the log messages produced when getrandom() or a related
  10735. entropy-generation mechanism gives an error. Closes ticket 25120.
  10736. o Minor features (testing):
  10737. - Add a "make test-rust" target to run the rust tests only. Closes
  10738. ticket 25071.
  10739. o Minor bugfixes (denial-of-service):
  10740. - Fix a possible crash on malformed consensus. If a consensus had
  10741. contained an unparseable protocol line, it could have made clients
  10742. and relays crash with a null-pointer exception. To exploit this
  10743. issue, however, an attacker would need to be able to subvert the
  10744. directory authority system. Fixes bug 25251; bugfix on
  10745. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  10746. o Minor bugfixes (DoS mitigation):
  10747. - Add extra safety checks when refilling the circuit creation bucket
  10748. to ensure we never set a value above the allowed maximum burst.
  10749. Fixes bug 25202; bugfix on 0.3.3.2-alpha.
  10750. - When a new consensus arrives, don't update our DoS-mitigation
  10751. parameters if we aren't a public relay. Fixes bug 25223; bugfix
  10752. on 0.3.3.2-alpha.
  10753. o Minor bugfixes (man page, SocksPort):
  10754. - Remove dead code from the old "SocksSocket" option, and rename
  10755. SocksSocketsGroupWritable to UnixSocksGroupWritable. The old option
  10756. still works, but is deprecated. Fixes bug 24343; bugfix on 0.2.6.3.
  10757. o Minor bugfixes (performance):
  10758. - Reduce the number of circuits that will be opened at once during
  10759. the circuit build timeout phase. This is done by increasing the
  10760. idle timeout to 3 minutes, and lowering the maximum number of
  10761. concurrent learning circuits to 10. Fixes bug 24769; bugfix
  10762. on 0.3.1.1-alpha.
  10763. o Minor bugfixes (spec conformance):
  10764. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  10765. 0.2.9.4-alpha.
  10766. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  10767. bugfix on 0.2.9.4-alpha.
  10768. o Minor bugfixes (spec conformance, rust):
  10769. - Resolve a denial-of-service issue caused by an infinite loop in
  10770. the rust protover code. Fixes bug 25250, bugfix on 0.3.3.1-alpha.
  10771. Also tracked as TROVE-2018-003.
  10772. o Code simplification and refactoring:
  10773. - Update the "rust dependencies" submodule to be a project-level
  10774. repository, rather than a user repository. Closes ticket 25323.
  10775. Changes in version 0.3.3.2-alpha - 2018-02-10
  10776. Tor 0.3.3.2-alpha is the second alpha in the 0.3.3.x series. It
  10777. introduces a mechanism to handle the high loads that many relay
  10778. operators have been reporting recently. It also fixes several bugs in
  10779. older releases. If this new code proves reliable, we plan to backport
  10780. it to older supported release series.
  10781. o Major features (denial-of-service mitigation):
  10782. - Give relays some defenses against the recent network overload. We
  10783. start with three defenses (default parameters in parentheses).
  10784. First: if a single client address makes too many concurrent
  10785. connections (>100), hang up on further connections. Second: if a
  10786. single client address makes circuits too quickly (more than 3 per
  10787. second, with an allowed burst of 90) while also having too many
  10788. connections open (3), refuse new create cells for the next while
  10789. (1-2 hours). Third: if a client asks to establish a rendezvous
  10790. point to you directly, ignore the request. These defenses can be
  10791. manually controlled by new torrc options, but relays will also
  10792. take guidance from consensus parameters, so there's no need to
  10793. configure anything manually. Implements ticket 24902.
  10794. o Major bugfixes (netflow padding):
  10795. - Stop adding unneeded channel padding right after we finish
  10796. flushing to a connection that has been trying to flush for many
  10797. seconds. Instead, treat all partial or complete flushes as
  10798. activity on the channel, which will defer the time until we need
  10799. to add padding. This fix should resolve confusing and scary log
  10800. messages like "Channel padding timeout scheduled 221453ms in the
  10801. past." Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  10802. o Major bugfixes (protocol versions):
  10803. - Add Link protocol version 5 to the supported protocols list. Fixes
  10804. bug 25070; bugfix on 0.3.1.1-alpha.
  10805. o Major bugfixes (scheduler, consensus):
  10806. - The scheduler subsystem was failing to promptly notice changes in
  10807. consensus parameters, making it harder to switch schedulers
  10808. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  10809. o Minor features (denial-of-service avoidance):
  10810. - Make our OOM handler aware of the geoip client history cache so it
  10811. doesn't fill up the memory. This check is important for IPv6 and
  10812. our DoS mitigation subsystem. Closes ticket 25122.
  10813. o Minor features (directory authority):
  10814. - When directory authorities are unable to add signatures to a
  10815. pending consensus, log the reason why. Closes ticket 24849.
  10816. o Minor features (geoip):
  10817. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  10818. Country database.
  10819. o Minor features (logging, diagnostic):
  10820. - When logging a failure to create an onion service's descriptor,
  10821. also log what the problem with the descriptor was. Diagnostic for
  10822. ticket 24972.
  10823. o Minor bugfix (channel connection):
  10824. - Use the actual observed address of an incoming relay connection,
  10825. not the canonical address of the relay from its descriptor, when
  10826. making decisions about how to handle the incoming connection.
  10827. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  10828. o Minor bugfix (directory authority):
  10829. - Directory authorities, when refusing a descriptor from a rejected
  10830. relay, now explicitly tell the relay (in its logs) to set a valid
  10831. ContactInfo address and contact the bad-relays@ mailing list.
  10832. Fixes bug 25170; bugfix on 0.2.9.1.
  10833. o Minor bugfixes (all versions of Tor):
  10834. - Use the "misspell" tool to detect and fix typos throughout the
  10835. source code. Fixes bug 23650; bugfix on various versions of Tor.
  10836. Patch from Deepesh Pathak.
  10837. o Minor bugfixes (circuit, cannibalization):
  10838. - Don't cannibalize preemptively-built circuits if we no longer
  10839. recognize their first hop. This situation can happen if our Guard
  10840. relay went off the consensus after the circuit was created. Fixes
  10841. bug 24469; bugfix on 0.0.6.
  10842. o Minor bugfixes (correctness):
  10843. - Remove a nonworking, unnecessary check to see whether a circuit
  10844. hop's identity digest was set when the circuit failed. Fixes bug
  10845. 24927; bugfix on 0.2.4.4-alpha.
  10846. o Minor bugfixes (logging):
  10847. - Don't treat inability to store a cached consensus object as a bug:
  10848. it can happen normally when we are out of disk space. Fixes bug
  10849. 24859; bugfix on 0.3.1.1-alpha.
  10850. - Fix a (mostly harmless) race condition when invoking
  10851. LOG_PROTOCOL_WARN message from a subthread while the torrc options
  10852. are changing. Fixes bug 23954; bugfix on 0.1.1.9-alpha.
  10853. o Minor bugfixes (onion services):
  10854. - Remove a BUG() statement when a client fetches an onion descriptor
  10855. that has a lower revision counter than the one in its cache. This
  10856. can happen in normal circumstances due to HSDir desync. Fixes bug
  10857. 24976; bugfix on 0.3.2.1-alpha.
  10858. - If we are configured to offer a single onion service, don't log
  10859. long-term established one hop rendezvous points in the heartbeat.
  10860. Fixes bug 25116; bugfix on 0.2.9.6-rc.
  10861. o Minor bugfixes (performance):
  10862. - Avoid calling protocol_list_supports_protocol() from inside tight
  10863. loops when running with cached routerinfo_t objects. Instead,
  10864. summarize the relevant protocols as flags in the routerinfo_t, as
  10865. we do for routerstatus_t objects. This change simplifies our code
  10866. a little, and saves a large amount of short-term memory allocation
  10867. operations. Fixes bug 25008; bugfix on 0.2.9.4-alpha.
  10868. o Minor bugfixes (Rust FFI):
  10869. - Fix a minor memory leak which would happen whenever the C code
  10870. would call the Rust implementation of
  10871. protover_get_supported_protocols(). This was due to the C version
  10872. returning a static string, whereas the Rust version newly allocated
  10873. a CString to pass across the FFI boundary. Consequently, the C
  10874. code was not expecting to need to free() what it was given. Fixes
  10875. bug 25127; bugfix on 0.3.2.1-alpha.
  10876. o Minor bugfixes (scheduler, KIST):
  10877. - Avoid adding the same channel twice in the KIST scheduler pending
  10878. list, which would waste CPU cycles. Fixes bug 24700; bugfix
  10879. on 0.3.2.1-alpha.
  10880. o Minor bugfixes (unit test, monotonic time):
  10881. - Increase a constant (1msec to 10msec) in the monotonic time test
  10882. that makes sure the nsec/usec/msec times read are synchronized.
  10883. This change was needed to accommodate slow systems like armel or
  10884. when the clock_gettime() is not a VDSO on the running kernel.
  10885. Fixes bug 25113; bugfix on 0.2.9.1.
  10886. o Minor bugfixes (v3 onion services):
  10887. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  10888. version, when deciding whether a consensus entry can support the
  10889. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  10890. bugfix on 0.3.2.1-alpha.
  10891. o Code simplification and refactoring:
  10892. - Remove the unused nodelist_recompute_all_hsdir_indices(). Closes
  10893. ticket 25108.
  10894. - Remove a series of counters used to track circuit extend attempts
  10895. and connection status but that in reality we aren't using for
  10896. anything other than stats logged by a SIGUSR1 signal. Closes
  10897. ticket 25163.
  10898. o Documentation (man page):
  10899. - The HiddenServiceVersion torrc option accepts only one number:
  10900. either version 2 or 3. Closes ticket 25026; bugfix
  10901. on 0.3.2.2-alpha.
  10902. Changes in version 0.3.3.1-alpha - 2018-01-25
  10903. Tor 0.3.3.1-alpha is the first release in the 0.3.3.x series. It adds
  10904. several new features to Tor, including several improvements to
  10905. bootstrapping, and support for an experimental "vanguards" feature to
  10906. resist guard discovery attacks. This series also includes better
  10907. support for applications that need to embed Tor or manage v3
  10908. onion services.
  10909. o Major features (embedding):
  10910. - There is now a documented stable API for programs that need to
  10911. embed Tor. See tor_api.h for full documentation and known bugs.
  10912. Closes ticket 23684.
  10913. - Tor now has support for restarting in the same process.
  10914. Controllers that run Tor using the "tor_api.h" interface can now
  10915. restart Tor after Tor has exited. This support is incomplete,
  10916. however: we fixed crash bugs that prevented it from working at
  10917. all, but many bugs probably remain, including a possibility of
  10918. security issues. Implements ticket 24581.
  10919. o Major features (IPv6, directory documents):
  10920. - Add consensus method 27, which adds IPv6 ORPorts to the microdesc
  10921. consensus. This information makes it easier for IPv6 clients to
  10922. bootstrap and choose reachable entry guards. Implements ticket 23826.
  10923. - Add consensus method 28, which removes IPv6 ORPorts from
  10924. microdescriptors. Now that the consensus contains IPv6 ORPorts, they
  10925. are redundant in microdescs. This change will be used by Tor clients
  10926. on 0.2.8.x and later. (That is to say, with all Tor clients that
  10927. have IPv6 bootstrap and guard support.) Implements ticket 23828.
  10928. - Expand the documentation for AuthDirHasIPv6Connectivity when it is
  10929. set by different numbers of authorities. Fixes 23870
  10930. on 0.2.4.1-alpha.
  10931. o Major features (onion service v3, control port):
  10932. - The control port now supports commands and events for v3 onion
  10933. services. It is now possible to create ephemeral v3 services using
  10934. ADD_ONION. Additionally, several events (HS_DESC, HS_DESC_CONTENT,
  10935. CIRC and CIRC_MINOR) and commands (GETINFO, HSPOST, ADD_ONION and
  10936. DEL_ONION) have been extended to support v3 onion services. Closes
  10937. ticket 20699; implements proposal 284.
  10938. o Major features (onion services):
  10939. - Provide torrc options to pin the second and third hops of onion
  10940. service circuits to a list of nodes. The option HSLayer2Guards
  10941. pins the second hop, and the option HSLayer3Guards pins the third
  10942. hop. These options are for use in conjunction with experiments
  10943. with "vanguards" for preventing guard enumeration attacks. Closes
  10944. ticket 13837.
  10945. o Major features (rust, portability, experimental):
  10946. - Tor now ships with an optional implementation of one of its
  10947. smaller modules (protover.c) in the Rust programming language. To
  10948. try it out, install a Rust build environment, and configure Tor
  10949. with "--enable-rust --enable-cargo-online-mode". This should not
  10950. cause any user-visible changes, but should help us gain more
  10951. experience with Rust, and plan future Rust integration work.
  10952. Implementation by Chelsea Komlo. Closes ticket 22840.
  10953. o Minor features (storage, configuration):
  10954. - Users can store cached directory documents somewhere other than
  10955. the DataDirectory by using the CacheDirectory option. Similarly,
  10956. the storage location for relay's keys can be overridden with the
  10957. KeyDirectory option. Closes ticket 22703.
  10958. o Major features (v3 onion services, ipv6):
  10959. - When v3 onion service clients send introduce cells, they now
  10960. include the IPv6 address of the rendezvous point, if it has one.
  10961. Current v3 onion services running 0.3.2 ignore IPv6 addresses, but
  10962. in future Tor versions, IPv6-only v3 single onion services will be
  10963. able to use IPv6 addresses to connect directly to the rendezvous
  10964. point. Closes ticket 23577. Patch by Neel Chauhan.
  10965. o Major bugfixes (onion services, retry behavior):
  10966. - Fix an "off by 2" error in counting rendezvous failures on the
  10967. onion service side. While we thought we would stop the rendezvous
  10968. attempt after one failed circuit, we were actually making three
  10969. circuit attempts before giving up. Now switch to a default of 2,
  10970. and allow the consensus parameter "hs_service_max_rdv_failures" to
  10971. override. Fixes bug 24895; bugfix on 0.0.6.
  10972. - New-style (v3) onion services now obey the "max rendezvous circuit
  10973. attempts" logic. Previously they would make as many rendezvous
  10974. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  10975. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  10976. o Major bugfixes (relays):
  10977. - Fix a set of false positives where relays would consider
  10978. connections to other relays as being client-only connections (and
  10979. thus e.g. deserving different link padding schemes) if those
  10980. relays fell out of the consensus briefly. Now we look only at the
  10981. initial handshake and whether the connection authenticated as a
  10982. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  10983. o Minor feature (IPv6):
  10984. - Make IPv6-only clients wait for microdescs for relays, even if we
  10985. were previously using descriptors (or were using them as a bridge)
  10986. and have a cached descriptor for them. Implements ticket 23827.
  10987. - When a consensus has IPv6 ORPorts, make IPv6-only clients use
  10988. them, rather than waiting to download microdescriptors.
  10989. Implements ticket 23827.
  10990. o Minor features (cleanup):
  10991. - Tor now deletes the CookieAuthFile and ExtORPortCookieAuthFile
  10992. when it stops. Closes ticket 23271.
  10993. o Minor features (defensive programming):
  10994. - Most of the functions in Tor that free objects have been replaced
  10995. with macros that free the objects and set the corresponding
  10996. pointers to NULL. This change should help prevent a large class of
  10997. dangling pointer bugs. Closes ticket 24337.
  10998. - Where possible, the tor_free() macro now only evaluates its input
  10999. once. Part of ticket 24337.
  11000. - Check that microdesc ed25519 ids are non-zero in
  11001. node_get_ed25519_id() before returning them. Implements ticket
  11002. 24001, patch by "aruna1234".
  11003. o Minor features (embedding):
  11004. - Tor can now start with a preauthenticated control connection
  11005. created by the process that launched it. This feature is meant for
  11006. use by programs that want to launch and manage a Tor process
  11007. without allowing other programs to manage it as well. For more
  11008. information, see the __OwningControllerFD option documented in
  11009. control-spec.txt. Closes ticket 23900.
  11010. - On most errors that would cause Tor to exit, it now tries to
  11011. return from the tor_main() function, rather than calling the
  11012. system exit() function. Most users won't notice a difference here,
  11013. but it should be significant for programs that run Tor inside
  11014. a separate thread: they should now be able to survive Tor's exit
  11015. conditions rather than having Tor shut down the entire process.
  11016. Closes ticket 23848.
  11017. - Applications that want to embed Tor can now tell Tor not to
  11018. register any of its own POSIX signal handlers, using the
  11019. __DisableSignalHandlers option. Closes ticket 24588.
  11020. o Minor features (fallback directory list):
  11021. - Avoid selecting fallbacks that change their IP addresses too
  11022. often. Select more fallbacks by ignoring the Guard flag, and
  11023. allowing lower cutoffs for the Running and V2Dir flags. Also allow
  11024. a lower bandwidth, and a higher number of fallbacks per operator
  11025. (5% of the list). Implements ticket 24785.
  11026. - Update the fallback whitelist and blacklist based on opt-ins and
  11027. relay changes. Closes tickets 22321, 24678, 22527, 24135,
  11028. and 24695.
  11029. o Minor features (fallback directory mirror configuration):
  11030. - Add a nickname to each fallback in a C comment. This makes it
  11031. easier for operators to find their relays, and allows stem to use
  11032. nicknames to identify fallbacks. Implements ticket 24600.
  11033. - Add a type and version header to the fallback directory mirror
  11034. file. Also add a delimiter to the end of each fallback entry. This
  11035. helps external parsers like stem and Relay Search. Implements
  11036. ticket 24725.
  11037. - Add an extrainfo cache flag for each fallback in a C comment. This
  11038. allows stem to use fallbacks to fetch extra-info documents, rather
  11039. than using authorities. Implements ticket 22759.
  11040. - Add the generateFallbackDirLine.py script for automatically
  11041. generating fallback directory mirror lines from relay fingerprints.
  11042. No more typos! Add the lookupFallbackDirContact.py script for
  11043. automatically looking up operator contact info from relay
  11044. fingerprints. Implements ticket 24706, patch by teor and atagar.
  11045. - Reject any fallback directory mirror that serves an expired
  11046. consensus. Implements ticket 20942, patch by "minik".
  11047. - Remove commas and equals signs from external string inputs to the
  11048. fallback list. This avoids format confusion attacks. Implements
  11049. ticket 24726.
  11050. - Remove the "weight=10" line from fallback directory mirror
  11051. entries. Ticket 24681 will maintain the current fallback weights
  11052. by changing Tor's default fallback weight to 10. Implements
  11053. ticket 24679.
  11054. - Stop logging excessive information about fallback netblocks.
  11055. Implements ticket 24791.
  11056. o Minor features (forward-compatibility):
  11057. - If a relay supports some link authentication protocol that we do
  11058. not recognize, then include that relay's ed25519 key when telling
  11059. other relays to extend to it. Previously, we treated future
  11060. versions as if they were too old to support ed25519 link
  11061. authentication. Closes ticket 20895.
  11062. o Minor features (heartbeat):
  11063. - Add onion service information to our heartbeat logs, displaying
  11064. stats about the activity of configured onion services. Closes
  11065. ticket 24896.
  11066. o Minor features (instrumentation, development):
  11067. - Add the MainloopStats option to allow developers to get
  11068. instrumentation information from the main event loop via the
  11069. heartbeat messages. We hope to use this to improve Tor's behavior
  11070. when it's trying to sleep. Closes ticket 24605.
  11071. o Minor features (log messages):
  11072. - Improve a warning message that happens when we fail to re-parse an
  11073. old router because of an expired certificate. Closes ticket 20020.
  11074. - Make the log more quantitative when we hit MaxMemInQueues
  11075. threshold exposing some values. Closes ticket 24501.
  11076. o Minor features (logging, android):
  11077. - Added support for the Android logging subsystem. Closes
  11078. ticket 24362.
  11079. o Minor features (performance):
  11080. - Support predictive circuit building for onion service circuits
  11081. with multiple layers of guards. Closes ticket 23101.
  11082. - Use stdatomic.h where available, rather than mutexes, to implement
  11083. atomic_counter_t. Closes ticket 23953.
  11084. o Minor features (performance, 32-bit):
  11085. - Improve performance on 32-bit systems by avoiding 64-bit division
  11086. when calculating the timestamp in milliseconds for channel padding
  11087. computations. Implements ticket 24613.
  11088. - Improve performance on 32-bit systems by avoiding 64-bit division
  11089. when timestamping cells and buffer chunks for OOM calculations.
  11090. Implements ticket 24374.
  11091. o Minor features (performance, OSX, iOS):
  11092. - Use the mach_approximate_time() function (when available) to
  11093. implement coarse monotonic time. Having a coarse time function
  11094. should avoid a large number of system calls, and improve
  11095. performance slightly, especially under load. Closes ticket 24427.
  11096. o Minor features (performance, windows):
  11097. - Improve performance on Windows Vista and Windows 7 by adjusting
  11098. TCP send window size according to the recommendation from
  11099. SIO_IDEAL_SEND_BACKLOG_QUERY. Closes ticket 22798. Patch
  11100. from Vort.
  11101. o Major features (relay):
  11102. - Implement an option, ReducedExitPolicy, to allow an Tor exit relay
  11103. operator to use a more reasonable ("reduced") exit policy, rather
  11104. than the default one. If you want to run an exit node without
  11105. thinking too hard about which ports to allow, this one is for you.
  11106. Closes ticket 13605. Patch from Neel Chauhan.
  11107. o Minor features (testing, debugging, embedding):
  11108. - For development purposes, Tor now has a mode in which it runs for
  11109. a few seconds, then stops, and starts again without exiting the
  11110. process. This mode is meant to help us debug various issues with
  11111. ticket 23847. To use this feature, compile with
  11112. --enable-restart-debugging, and set the TOR_DEBUG_RESTART
  11113. environment variable. This is expected to crash a lot, and is
  11114. really meant for developers only. It will likely be removed in a
  11115. future release. Implements ticket 24583.
  11116. o Minor bugfix (network IPv6 test):
  11117. - Tor's test scripts now check if "ping -6 ::1" works when the user
  11118. runs "make test-network-all". Fixes bug 24677; bugfix on
  11119. 0.2.9.3-alpha. Patch by "ffmancera".
  11120. o Minor bugfixes (build, rust):
  11121. - Fix output of autoconf checks to display success messages for Rust
  11122. dependencies and a suitable rustc compiler version. Fixes bug
  11123. 24612; bugfix on 0.3.1.3-alpha.
  11124. - When building with Rust on OSX, link against libresolv, to work
  11125. around the issue at https://github.com/rust-lang/rust/issues/46797.
  11126. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  11127. - Don't pass the --quiet option to cargo: it seems to suppress some
  11128. errors, which is not what we want to do when building. Fixes bug
  11129. 24518; bugfix on 0.3.1.7.
  11130. - Build correctly when building from outside Tor's source tree with
  11131. the TOR_RUST_DEPENDENCIES option set. Fixes bug 22768; bugfix
  11132. on 0.3.1.7.
  11133. o Minor bugfixes (directory authorities, IPv6):
  11134. - When creating a routerstatus (vote) from a routerinfo (descriptor),
  11135. set the IPv6 address to the unspecified IPv6 address, and
  11136. explicitly initialize the port to zero. Fixes bug 24488; bugfix
  11137. on 0.2.4.1-alpha.
  11138. o Minor bugfixes (fallback directory mirrors):
  11139. - Make updateFallbackDirs.py search harder for python. (Some OSs
  11140. don't put it in /usr/bin.) Fixes bug 24708; bugfix
  11141. on 0.2.8.1-alpha.
  11142. o Minor bugfixes (hibernation, bandwidth accounting, shutdown):
  11143. - When hibernating, close connections normally and allow them to
  11144. flush. Fixes bug 23571; bugfix on 0.2.4.7-alpha. Also fixes
  11145. bug 7267.
  11146. - Do not attempt to launch self-reachability tests when entering
  11147. hibernation. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  11148. - Resolve several bugs related to descriptor fetching on bridge
  11149. clients with bandwidth accounting enabled. (This combination is
  11150. not recommended!) Fixes a case of bug 12062; bugfix
  11151. on 0.2.0.3-alpha.
  11152. - When hibernating, do not attempt to launch DNS checks. Fixes a
  11153. case of bug 12062; bugfix on 0.1.2.2-alpha.
  11154. - When hibernating, do not try to upload or download descriptors.
  11155. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  11156. o Minor bugfixes (IPv6, bridges):
  11157. - Tor now always sets IPv6 preferences for bridges. Fixes bug 24573;
  11158. bugfix on 0.2.8.2-alpha.
  11159. - Tor now sets IPv6 address in the routerstatus as well as in the
  11160. router descriptors when updating addresses for a bridge. Closes
  11161. ticket 24572; bugfix on 0.2.4.5-alpha. Patch by "ffmancera".
  11162. o Minor bugfixes (linux seccomp2 sandbox):
  11163. - When running with the sandbox enabled, reload configuration files
  11164. correctly even when %include was used. Previously we would crash.
  11165. Fixes bug 22605; bugfix on 0.3.1. Patch from Daniel Pinto.
  11166. o Minor bugfixes (memory leaks):
  11167. - Avoid possible at-exit memory leaks related to use of Libevent's
  11168. event_base_once() function. (This function tends to leak memory if
  11169. the event_base is closed before the event fires.) Fixes bug 24584;
  11170. bugfix on 0.2.8.1-alpha.
  11171. - Fix a harmless memory leak in tor-resolve. Fixes bug 24582; bugfix
  11172. on 0.2.1.1-alpha.
  11173. o Minor bugfixes (OSX):
  11174. - Don't exit the Tor process if setrlimit() fails to change the file
  11175. limit (which can happen sometimes on some versions of OSX). Fixes
  11176. bug 21074; bugfix on 0.0.9pre5.
  11177. o Minor bugfixes (performance, fragile-hardening):
  11178. - Improve the performance of our consensus-diff application code
  11179. when Tor is built with the --enable-fragile-hardening option set.
  11180. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  11181. o Minor bugfixes (performance, timeouts):
  11182. - Consider circuits for timeout as soon as they complete a hop. This
  11183. is more accurate than applying the timeout in
  11184. circuit_expire_building() because that function is only called
  11185. once per second, which is now too slow for typical timeouts on the
  11186. current network. Fixes bug 23114; bugfix on 0.2.2.2-alpha.
  11187. - Use onion service circuits (and other circuits longer than 3 hops)
  11188. to calculate a circuit build timeout. Previously, Tor only
  11189. calculated its build timeout based on circuits that planned to be
  11190. exactly 3 hops long. With this change, we include measurements
  11191. from all circuits at the point where they complete their third
  11192. hop. Fixes bug 23100; bugfix on 0.2.2.2-alpha.
  11193. o Minor bugfixes (testing):
  11194. - Give out Exit flags in bootstrapping networks. Fixes bug 24137;
  11195. bugfix on 0.2.3.1-alpha.
  11196. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  11197. 25005; bugfix on 0.3.2.7-rc.
  11198. o Code simplification and refactoring:
  11199. - Remove /usr/athena from search path in configure.ac. Closes
  11200. ticket 24363.
  11201. - Remove duplicate code in node_has_curve25519_onion_key() and
  11202. node_get_curve25519_onion_key(), and add a check for a zero
  11203. microdesc curve25519 onion key. Closes ticket 23966, patch by
  11204. "aruna1234" and teor.
  11205. - Rewrite channel_rsa_id_group_set_badness to reduce temporary
  11206. memory allocations with large numbers of OR connections (e.g.
  11207. relays). Closes ticket 24119.
  11208. - Separate the function that deletes ephemeral files when Tor
  11209. stops gracefully.
  11210. - Small changes to Tor's buf_t API to make it suitable for use as a
  11211. general-purpose safe string constructor. Closes ticket 22342.
  11212. - Switch -Wnormalized=id to -Wnormalized=nfkc in configure.ac to
  11213. avoid source code identifier confusion. Closes ticket 24467.
  11214. - The tor_git_revision[] constant no longer needs to be redeclared
  11215. by everything that links against the rest of Tor. Done as part of
  11216. ticket 23845, to simplify our external API.
  11217. - We make extend_info_from_node() use node_get_curve25519_onion_key()
  11218. introduced in ticket 23577 to access the curve25519 public keys
  11219. rather than accessing it directly. Closes ticket 23760. Patch by
  11220. Neel Chauhan.
  11221. - Add a function to log channels' scheduler state changes to aid
  11222. debugging efforts. Closes ticket 24531.
  11223. o Documentation:
  11224. - Add documentation on how to build tor with Rust dependencies
  11225. without having to be online. Closes ticket 22907; bugfix
  11226. on 0.3.0.3-alpha.
  11227. - Clarify the behavior of RelayBandwidth{Rate,Burst} with client
  11228. traffic. Closes ticket 24318.
  11229. - Document that OutboundBindAddress doesn't apply to DNS requests.
  11230. Closes ticket 22145. Patch from Aruna Maurya.
  11231. - Document that operators who run more than one relay or bridge are
  11232. expected to set MyFamily and ContactInfo correctly. Closes
  11233. ticket 24526.
  11234. o Code simplification and refactoring (channels):
  11235. - Remove the incoming and outgoing channel queues. These were never
  11236. used, but still took up a step in our fast path.
  11237. - The majority of the channel unit tests have been rewritten and the
  11238. code coverage has now been raised to 83.6% for channel.c. Closes
  11239. ticket 23709.
  11240. - Remove other dead code from the channel subsystem: All together,
  11241. this cleanup has removed more than 1500 lines of code overall and
  11242. adding very little except for unit test.
  11243. o Code simplification and refactoring (circuit rendezvous):
  11244. - Split the client-side rendezvous circuit lookup into two
  11245. functions: one that returns only established circuits and another
  11246. that returns all kinds of circuits. Closes ticket 23459.
  11247. o Code simplification and refactoring (controller):
  11248. - Make most of the variables in networkstatus_getinfo_by_purpose()
  11249. const. Implements ticket 24489.
  11250. Changes in version 0.3.2.9 - 2018-01-09
  11251. Tor 0.3.2.9 is the first stable release in the 0.3.2 series.
  11252. The 0.3.2 series includes our long-anticipated new onion service
  11253. design, with numerous security features. (For more information, see
  11254. our blog post at https://blog.torproject.org/fall-harvest.) We also
  11255. have a new circuit scheduler algorithm for improved performance on
  11256. relays everywhere (see https://blog.torproject.org/kist-and-tell),
  11257. along with many smaller features and bugfixes.
  11258. Per our stable release policy, we plan to support each stable release
  11259. series for at least the next nine months, or for three months after
  11260. the first stable release of the next series: whichever is longer. If
  11261. you need a release with long-term support, we recommend that you stay
  11262. with the 0.2.9 series.
  11263. Below is a list of the changes since 0.3.2.8-rc. For a list of all
  11264. changes since 0.3.1, see the ReleaseNotes file.
  11265. o Minor features (fallback directory mirrors):
  11266. - The fallback directory list has been re-generated based on the
  11267. current status of the network. Tor uses fallback directories to
  11268. bootstrap when it doesn't yet have up-to-date directory
  11269. information. Closes ticket 24801.
  11270. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  11271. prefer to bootstrap from fallback directory mirrors. This is a
  11272. follow-up to 24679, which removed weights from the default
  11273. fallbacks. Implements ticket 24681.
  11274. o Minor features (geoip):
  11275. - Update geoip and geoip6 to the January 5 2018 Maxmind GeoLite2
  11276. Country database.
  11277. o Minor bugfixes (address selection):
  11278. - When the fascist_firewall_choose_address_ functions don't find a
  11279. reachable address, set the returned address to the null address
  11280. and port. This is a precautionary measure, because some callers do
  11281. not check the return value. Fixes bug 24736; bugfix
  11282. on 0.2.8.2-alpha.
  11283. o Minor bugfixes (compilation):
  11284. - Resolve a few shadowed-variable warnings in the onion service
  11285. code. Fixes bug 24634; bugfix on 0.3.2.1-alpha.
  11286. o Minor bugfixes (portability, msvc):
  11287. - Fix a bug in the bit-counting parts of our timing-wheel code on
  11288. MSVC. (Note that MSVC is still not a supported build platform, due
  11289. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  11290. on 0.2.9.1-alpha.
  11291. Changes in version 0.3.2.8-rc - 2017-12-21
  11292. Tor 0.3.2.8-rc fixes a pair of bugs in the KIST and KISTLite
  11293. schedulers that had led servers under heavy load to overload their
  11294. outgoing connections. All relay operators running earlier 0.3.2.x
  11295. versions should upgrade. This version also includes a mitigation for
  11296. over-full DESTROY queues leading to out-of-memory conditions: if it
  11297. works, we will soon backport it to earlier release series.
  11298. This is the second release candidate in the 0.3.2 series. If we find
  11299. no new bugs or regression here, then the first stable 0.3.2 release
  11300. will be nearly identical to this.
  11301. o Major bugfixes (KIST, scheduler):
  11302. - The KIST scheduler did not correctly account for data already
  11303. enqueued in each connection's send socket buffer, particularly in
  11304. cases when the TCP/IP congestion window was reduced between
  11305. scheduler calls. This situation lead to excessive per-connection
  11306. buffering in the kernel, and a potential memory DoS. Fixes bug
  11307. 24665; bugfix on 0.3.2.1-alpha.
  11308. o Minor features (geoip):
  11309. - Update geoip and geoip6 to the December 6 2017 Maxmind GeoLite2
  11310. Country database.
  11311. o Minor bugfixes (hidden service v3):
  11312. - Bump hsdir_spread_store parameter from 3 to 4 in order to increase
  11313. the probability of reaching a service for a client missing
  11314. microdescriptors. Fixes bug 24425; bugfix on 0.3.2.1-alpha.
  11315. o Minor bugfixes (memory usage):
  11316. - When queuing DESTROY cells on a channel, only queue the circuit-id
  11317. and reason fields: not the entire 514-byte cell. This fix should
  11318. help mitigate any bugs or attacks that fill up these queues, and
  11319. free more RAM for other uses. Fixes bug 24666; bugfix
  11320. on 0.2.5.1-alpha.
  11321. o Minor bugfixes (scheduler, KIST):
  11322. - Use a sane write limit for KISTLite when writing onto a connection
  11323. buffer instead of using INT_MAX and shoving as much as it can.
  11324. Because the OOM handler cleans up circuit queues, we are better
  11325. off at keeping them in that queue instead of the connection's
  11326. buffer. Fixes bug 24671; bugfix on 0.3.2.1-alpha.
  11327. Changes in version 0.3.2.7-rc - 2017-12-14
  11328. Tor 0.3.2.7-rc fixes various bugs in earlier versions of Tor,
  11329. including some that could affect reliability or correctness.
  11330. This is the first release candidate in the 0.3.2 series. If we find no
  11331. new bugs or regression here, then the first stable 0.3.2. release will
  11332. be nearly identical to this.
  11333. o Major bugfixes (circuit prediction):
  11334. - Fix circuit prediction logic so that a client doesn't treat a port
  11335. as being "handled" by a circuit if that circuit already has
  11336. isolation settings on it. This change should make Tor clients more
  11337. responsive by improving their chances of having a pre-created
  11338. circuit ready for use when a request arrives. Fixes bug 18859;
  11339. bugfix on 0.2.3.3-alpha.
  11340. o Minor features (logging):
  11341. - Provide better warnings when the getrandom() syscall fails. Closes
  11342. ticket 24500.
  11343. o Minor features (portability):
  11344. - Tor now compiles correctly on arm64 with libseccomp-dev installed.
  11345. (It doesn't yet work with the sandbox enabled.) Closes
  11346. ticket 24424.
  11347. o Minor bugfixes (bridge clients, bootstrap):
  11348. - Retry directory downloads when we get our first bridge descriptor
  11349. during bootstrap or while reconnecting to the network. Keep
  11350. retrying every time we get a bridge descriptor, until we have a
  11351. reachable bridge. Fixes part of bug 24367; bugfix on 0.2.0.3-alpha.
  11352. - Stop delaying bridge descriptor fetches when we have cached bridge
  11353. descriptors. Instead, only delay bridge descriptor fetches when we
  11354. have at least one reachable bridge. Fixes part of bug 24367;
  11355. bugfix on 0.2.0.3-alpha.
  11356. - Stop delaying directory fetches when we have cached bridge
  11357. descriptors. Instead, only delay bridge descriptor fetches when
  11358. all our bridges are definitely unreachable. Fixes part of bug
  11359. 24367; bugfix on 0.2.0.3-alpha.
  11360. o Minor bugfixes (compilation):
  11361. - Fix a signed/unsigned comparison warning introduced by our fix to
  11362. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  11363. o Minor bugfixes (correctness):
  11364. - Fix several places in our codebase where a C compiler would be
  11365. likely to eliminate a check, based on assuming that undefined
  11366. behavior had not happened elsewhere in the code. These cases are
  11367. usually a sign of redundant checking or dubious arithmetic. Found
  11368. by Georg Koppen using the "STACK" tool from Wang, Zeldovich,
  11369. Kaashoek, and Solar-Lezama. Fixes bug 24423; bugfix on various
  11370. Tor versions.
  11371. o Minor bugfixes (onion service v3):
  11372. - Fix a race where an onion service would launch a new intro circuit
  11373. after closing an old one, but fail to register it before freeing
  11374. the previously closed circuit. This bug was making the service
  11375. unable to find the established intro circuit and thus not upload
  11376. its descriptor, thus making a service unavailable for up to 24
  11377. hours. Fixes bug 23603; bugfix on 0.3.2.1-alpha.
  11378. o Minor bugfixes (scheduler, KIST):
  11379. - Properly set the scheduler state of an unopened channel in the
  11380. KIST scheduler main loop. This prevents a harmless but annoying
  11381. log warning. Fixes bug 24502; bugfix on 0.3.2.4-alpha.
  11382. - Avoid a possible integer overflow when computing the available
  11383. space on the TCP buffer of a channel. This had no security
  11384. implications; but could make KIST allow too many cells on a
  11385. saturated connection. Fixes bug 24590; bugfix on 0.3.2.1-alpha.
  11386. - Downgrade to "info" a harmless warning about the monotonic time
  11387. moving backwards: This can happen on platform not supporting
  11388. monotonic time. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  11389. Changes in version 0.3.2.6-alpha - 2017-12-01
  11390. This version of Tor is the latest in the 0.3.2 alpha series. It
  11391. includes fixes for several important security issues. All Tor users
  11392. should upgrade to this release, or to one of the other releases coming
  11393. out today.
  11394. o Major bugfixes (security):
  11395. - Fix a denial of service bug where an attacker could use a
  11396. malformed directory object to cause a Tor instance to pause while
  11397. OpenSSL would try to read a passphrase from the terminal. (Tor
  11398. instances run without a terminal, which is the case for most Tor
  11399. packages, are not impacted.) Fixes bug 24246; bugfix on every
  11400. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  11401. Found by OSS-Fuzz as testcase 6360145429790720.
  11402. - Fix a denial of service issue where an attacker could crash a
  11403. directory authority using a malformed router descriptor. Fixes bug
  11404. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  11405. and CVE-2017-8820.
  11406. - When checking for replays in the INTRODUCE1 cell data for a
  11407. (legacy) onion service, correctly detect replays in the RSA-
  11408. encrypted part of the cell. We were previously checking for
  11409. replays on the entire cell, but those can be circumvented due to
  11410. the malleability of Tor's legacy hybrid encryption. This fix helps
  11411. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  11412. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  11413. and CVE-2017-8819.
  11414. o Major bugfixes (security, onion service v2):
  11415. - Fix a use-after-free error that could crash v2 Tor onion services
  11416. when they failed to open circuits while expiring introduction
  11417. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  11418. also tracked as TROVE-2017-013 and CVE-2017-8823.
  11419. o Major bugfixes (security, relay):
  11420. - When running as a relay, make sure that we never build a path
  11421. through ourselves, even in the case where we have somehow lost the
  11422. version of our descriptor appearing in the consensus. Fixes part
  11423. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  11424. as TROVE-2017-012 and CVE-2017-8822.
  11425. - When running as a relay, make sure that we never choose ourselves
  11426. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  11427. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  11428. o Minor feature (relay statistics):
  11429. - Change relay bandwidth reporting stats interval from 4 hours to 24
  11430. hours in order to reduce the efficiency of guard discovery
  11431. attacks. Fixes ticket 23856.
  11432. o Minor features (directory authority):
  11433. - Add an IPv6 address for the "bastet" directory authority. Closes
  11434. ticket 24394.
  11435. o Minor bugfixes (client):
  11436. - By default, do not enable storage of client-side DNS values. These
  11437. values were unused by default previously, but they should not have
  11438. been cached at all. Fixes bug 24050; bugfix on 0.2.6.3-alpha.
  11439. Changes in version 0.3.1.9 - 2017-12-01:
  11440. Tor 0.3.1.9 backports important security and stability fixes from the
  11441. 0.3.2 development series. All Tor users should upgrade to this
  11442. release, or to another of the releases coming out today.
  11443. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  11444. - Fix a denial of service bug where an attacker could use a
  11445. malformed directory object to cause a Tor instance to pause while
  11446. OpenSSL would try to read a passphrase from the terminal. (Tor
  11447. instances run without a terminal, which is the case for most Tor
  11448. packages, are not impacted.) Fixes bug 24246; bugfix on every
  11449. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  11450. Found by OSS-Fuzz as testcase 6360145429790720.
  11451. - Fix a denial of service issue where an attacker could crash a
  11452. directory authority using a malformed router descriptor. Fixes bug
  11453. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  11454. and CVE-2017-8820.
  11455. - When checking for replays in the INTRODUCE1 cell data for a
  11456. (legacy) onion service, correctly detect replays in the RSA-
  11457. encrypted part of the cell. We were previously checking for
  11458. replays on the entire cell, but those can be circumvented due to
  11459. the malleability of Tor's legacy hybrid encryption. This fix helps
  11460. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  11461. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  11462. and CVE-2017-8819.
  11463. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  11464. - Fix a use-after-free error that could crash v2 Tor onion services
  11465. when they failed to open circuits while expiring introduction
  11466. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  11467. also tracked as TROVE-2017-013 and CVE-2017-8823.
  11468. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  11469. - When running as a relay, make sure that we never build a path
  11470. through ourselves, even in the case where we have somehow lost the
  11471. version of our descriptor appearing in the consensus. Fixes part
  11472. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  11473. as TROVE-2017-012 and CVE-2017-8822.
  11474. - When running as a relay, make sure that we never choose ourselves
  11475. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  11476. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  11477. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  11478. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  11479. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  11480. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  11481. identifying and finding a workaround to this bug and to Moritz,
  11482. Arthur Edelstein, and Roger for helping to track it down and
  11483. analyze it.
  11484. o Minor features (bridge):
  11485. - Bridges now include notice in their descriptors that they are
  11486. bridges, and notice of their distribution status, based on their
  11487. publication settings. Implements ticket 18329. For more fine-
  11488. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  11489. or later.
  11490. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  11491. - Add an IPv6 address for the "bastet" directory authority. Closes
  11492. ticket 24394.
  11493. o Minor features (geoip):
  11494. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  11495. Country database.
  11496. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  11497. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  11498. relays, to prevent spurious address resolutions and descriptor
  11499. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  11500. bugfix on in 0.2.8.1-alpha.
  11501. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  11502. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  11503. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  11504. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  11505. - When a circuit is marked for close, do not attempt to package any
  11506. cells for channels on that circuit. Previously, we would detect
  11507. this condition lower in the call stack, when we noticed that the
  11508. circuit had no attached channel, and log an annoying message.
  11509. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  11510. o Minor bugfixes (onion service, backport from 0.3.2.5-alpha):
  11511. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  11512. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  11513. on 0.3.1.1-alpha.
  11514. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  11515. - Avoid a crash when transitioning from client mode to bridge mode.
  11516. Previously, we would launch the worker threads whenever our
  11517. "public server" mode changed, but not when our "server" mode
  11518. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  11519. Changes in version 0.3.0.13 - 2017-12-01
  11520. Tor 0.3.0.13 backports important security and stability bugfixes from
  11521. later Tor releases. All Tor users should upgrade to this release, or
  11522. to another of the releases coming out today.
  11523. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  11524. 2018. If you need a release with long-term support, please stick with
  11525. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  11526. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  11527. - Fix a denial of service bug where an attacker could use a
  11528. malformed directory object to cause a Tor instance to pause while
  11529. OpenSSL would try to read a passphrase from the terminal. (Tor
  11530. instances run without a terminal, which is the case for most Tor
  11531. packages, are not impacted.) Fixes bug 24246; bugfix on every
  11532. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  11533. Found by OSS-Fuzz as testcase 6360145429790720.
  11534. - Fix a denial of service issue where an attacker could crash a
  11535. directory authority using a malformed router descriptor. Fixes bug
  11536. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  11537. and CVE-2017-8820.
  11538. - When checking for replays in the INTRODUCE1 cell data for a
  11539. (legacy) onion service, correctly detect replays in the RSA-
  11540. encrypted part of the cell. We were previously checking for
  11541. replays on the entire cell, but those can be circumvented due to
  11542. the malleability of Tor's legacy hybrid encryption. This fix helps
  11543. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  11544. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  11545. and CVE-2017-8819.
  11546. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  11547. - Fix a use-after-free error that could crash v2 Tor onion services
  11548. when they failed to open circuits while expiring introduction
  11549. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  11550. also tracked as TROVE-2017-013 and CVE-2017-8823.
  11551. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  11552. - When running as a relay, make sure that we never build a path
  11553. through ourselves, even in the case where we have somehow lost the
  11554. version of our descriptor appearing in the consensus. Fixes part
  11555. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  11556. as TROVE-2017-012 and CVE-2017-8822.
  11557. - When running as a relay, make sure that we never choose ourselves
  11558. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  11559. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  11560. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  11561. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  11562. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  11563. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  11564. identifying and finding a workaround to this bug and to Moritz,
  11565. Arthur Edelstein, and Roger for helping to track it down and
  11566. analyze it.
  11567. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  11568. - Enable a couple of pieces of Windows hardening: one
  11569. (HeapEnableTerminationOnCorruption) that has been on-by-default
  11570. since Windows 8, and unavailable before Windows 7; and one
  11571. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  11572. affect us, but shouldn't do any harm. Closes ticket 21953.
  11573. o Minor features (bridge, backport from 0.3.1.9):
  11574. - Bridges now include notice in their descriptors that they are
  11575. bridges, and notice of their distribution status, based on their
  11576. publication settings. Implements ticket 18329. For more fine-
  11577. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  11578. or later.
  11579. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  11580. - Add an IPv6 address for the "bastet" directory authority. Closes
  11581. ticket 24394.
  11582. o Minor features (geoip):
  11583. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  11584. Country database.
  11585. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  11586. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  11587. relays, to prevent spurious address resolutions and descriptor
  11588. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  11589. bugfix on in 0.2.8.1-alpha.
  11590. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  11591. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  11592. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  11593. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  11594. - When a circuit is marked for close, do not attempt to package any
  11595. cells for channels on that circuit. Previously, we would detect
  11596. this condition lower in the call stack, when we noticed that the
  11597. circuit had no attached channel, and log an annoying message.
  11598. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  11599. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  11600. - Avoid a crash when transitioning from client mode to bridge mode.
  11601. Previously, we would launch the worker threads whenever our
  11602. "public server" mode changed, but not when our "server" mode
  11603. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  11604. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  11605. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  11606. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  11607. Changes in version 0.2.9.14 - 2017-12-01
  11608. Tor 0.3.0.13 backports important security and stability bugfixes from
  11609. later Tor releases. All Tor users should upgrade to this release, or
  11610. to another of the releases coming out today.
  11611. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  11612. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  11613. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  11614. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  11615. identifying and finding a workaround to this bug and to Moritz,
  11616. Arthur Edelstein, and Roger for helping to track it down and
  11617. analyze it.
  11618. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  11619. - Fix a denial of service bug where an attacker could use a
  11620. malformed directory object to cause a Tor instance to pause while
  11621. OpenSSL would try to read a passphrase from the terminal. (Tor
  11622. instances run without a terminal, which is the case for most Tor
  11623. packages, are not impacted.) Fixes bug 24246; bugfix on every
  11624. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  11625. Found by OSS-Fuzz as testcase 6360145429790720.
  11626. - Fix a denial of service issue where an attacker could crash a
  11627. directory authority using a malformed router descriptor. Fixes bug
  11628. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  11629. and CVE-2017-8820.
  11630. - When checking for replays in the INTRODUCE1 cell data for a
  11631. (legacy) onion service, correctly detect replays in the RSA-
  11632. encrypted part of the cell. We were previously checking for
  11633. replays on the entire cell, but those can be circumvented due to
  11634. the malleability of Tor's legacy hybrid encryption. This fix helps
  11635. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  11636. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  11637. and CVE-2017-8819.
  11638. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  11639. - Fix a use-after-free error that could crash v2 Tor onion services
  11640. when they failed to open circuits while expiring introduction
  11641. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  11642. also tracked as TROVE-2017-013 and CVE-2017-8823.
  11643. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  11644. - When running as a relay, make sure that we never build a path
  11645. through ourselves, even in the case where we have somehow lost the
  11646. version of our descriptor appearing in the consensus. Fixes part
  11647. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  11648. as TROVE-2017-012 and CVE-2017-8822.
  11649. o Minor features (bridge, backport from 0.3.1.9):
  11650. - Bridges now include notice in their descriptors that they are
  11651. bridges, and notice of their distribution status, based on their
  11652. publication settings. Implements ticket 18329. For more fine-
  11653. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  11654. or later.
  11655. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  11656. - Add an IPv6 address for the "bastet" directory authority. Closes
  11657. ticket 24394.
  11658. o Minor features (geoip):
  11659. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  11660. Country database.
  11661. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  11662. - Enable a couple of pieces of Windows hardening: one
  11663. (HeapEnableTerminationOnCorruption) that has been on-by-default
  11664. since Windows 8, and unavailable before Windows 7; and one
  11665. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  11666. affect us, but shouldn't do any harm. Closes ticket 21953.
  11667. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  11668. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  11669. relays, to prevent spurious address resolutions and descriptor
  11670. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  11671. bugfix on in 0.2.8.1-alpha.
  11672. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  11673. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  11674. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  11675. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  11676. - When a circuit is marked for close, do not attempt to package any
  11677. cells for channels on that circuit. Previously, we would detect
  11678. this condition lower in the call stack, when we noticed that the
  11679. circuit had no attached channel, and log an annoying message.
  11680. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  11681. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  11682. - Avoid a crash when transitioning from client mode to bridge mode.
  11683. Previously, we would launch the worker threads whenever our
  11684. "public server" mode changed, but not when our "server" mode
  11685. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  11686. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  11687. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  11688. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  11689. Changes in version 0.2.8.17 - 2017-12-01
  11690. Tor 0.2.8.17 backports important security and stability bugfixes from
  11691. later Tor releases. All Tor users should upgrade to this release, or
  11692. to another of the releases coming out today.
  11693. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  11694. 2018. If you need a release with long-term support, please upgrade with
  11695. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  11696. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  11697. - Fix a denial of service bug where an attacker could use a
  11698. malformed directory object to cause a Tor instance to pause while
  11699. OpenSSL would try to read a passphrase from the terminal. (Tor
  11700. instances run without a terminal, which is the case for most Tor
  11701. packages, are not impacted.) Fixes bug 24246; bugfix on every
  11702. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  11703. Found by OSS-Fuzz as testcase 6360145429790720.
  11704. - When checking for replays in the INTRODUCE1 cell data for a
  11705. (legacy) onion service, correctly detect replays in the RSA-
  11706. encrypted part of the cell. We were previously checking for
  11707. replays on the entire cell, but those can be circumvented due to
  11708. the malleability of Tor's legacy hybrid encryption. This fix helps
  11709. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  11710. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  11711. and CVE-2017-8819.
  11712. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  11713. - Fix a use-after-free error that could crash v2 Tor onion services
  11714. when they failed to open circuits while expiring introduction
  11715. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  11716. also tracked as TROVE-2017-013 and CVE-2017-8823.
  11717. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  11718. - When running as a relay, make sure that we never build a path through
  11719. ourselves, even in the case where we have somehow lost the version of
  11720. our descriptor appearing in the consensus. Fixes part of bug 21534;
  11721. bugfix on 0.2.0.1-alpha. This issue is also tracked as TROVE-2017-012
  11722. and CVE-2017-8822.
  11723. o Minor features (bridge, backport from 0.3.1.9):
  11724. - Bridges now include notice in their descriptors that they are
  11725. bridges, and notice of their distribution status, based on their
  11726. publication settings. Implements ticket 18329. For more fine-
  11727. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  11728. or later.
  11729. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  11730. - Add an IPv6 address for the "bastet" directory authority. Closes
  11731. ticket 24394.
  11732. o Minor features (geoip):
  11733. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  11734. Country database.
  11735. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  11736. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  11737. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  11738. Changes in version 0.2.5.16 - 2017-12-01
  11739. Tor 0.2.5.13 backports important security and stability bugfixes from
  11740. later Tor releases. All Tor users should upgrade to this release, or
  11741. to another of the releases coming out today.
  11742. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  11743. 2018. If you need a release with long-term support, please upgrade to
  11744. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  11745. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  11746. - Fix a denial of service bug where an attacker could use a
  11747. malformed directory object to cause a Tor instance to pause while
  11748. OpenSSL would try to read a passphrase from the terminal. (Tor
  11749. instances run without a terminal, which is the case for most Tor
  11750. packages, are not impacted.) Fixes bug 24246; bugfix on every
  11751. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  11752. Found by OSS-Fuzz as testcase 6360145429790720.
  11753. - When checking for replays in the INTRODUCE1 cell data for a
  11754. (legacy) onion service, correctly detect replays in the RSA-
  11755. encrypted part of the cell. We were previously checking for
  11756. replays on the entire cell, but those can be circumvented due to
  11757. the malleability of Tor's legacy hybrid encryption. This fix helps
  11758. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  11759. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  11760. and CVE-2017-8819.
  11761. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  11762. - When running as a relay, make sure that we never build a path
  11763. through ourselves, even in the case where we have somehow lost the
  11764. version of our descriptor appearing in the consensus. Fixes part
  11765. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  11766. as TROVE-2017-012 and CVE-2017-8822.
  11767. o Minor features (bridge, backport from 0.3.1.9):
  11768. - Bridges now include notice in their descriptors that they are
  11769. bridges, and notice of their distribution status, based on their
  11770. publication settings. Implements ticket 18329. For more fine-
  11771. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  11772. or later.
  11773. o Minor features (geoip):
  11774. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  11775. Country database.
  11776. Changes in version 0.3.2.5-alpha - 2017-11-22
  11777. Tor 0.3.2.5-alpha is the fifth alpha release in the 0.3.2.x series. It
  11778. fixes several stability and reliability bugs, including a fix for
  11779. intermittent bootstrapping failures that some people have been seeing
  11780. since the 0.3.0.x series.
  11781. Please test this alpha out -- many of these fixes will soon be
  11782. backported to stable Tor versions if no additional bugs are found
  11783. in them.
  11784. o Major bugfixes (bootstrapping):
  11785. - Fetch descriptors aggressively whenever we lack enough to build
  11786. circuits, regardless of how many descriptors we are missing.
  11787. Previously, we would delay launching the fetch when we had fewer
  11788. than 15 missing descriptors, even if some of those descriptors
  11789. were blocking circuits from building. Fixes bug 23985; bugfix on
  11790. 0.1.1.11-alpha. The effects of this bug became worse in
  11791. 0.3.0.3-alpha, when we began treating missing descriptors from our
  11792. primary guards as a reason to delay circuits.
  11793. - Don't try fetching microdescriptors from relays that have failed
  11794. to deliver them in the past. Fixes bug 23817; bugfix
  11795. on 0.3.0.1-alpha.
  11796. o Minor features (directory authority):
  11797. - Make the "Exit" flag assignment only depend on whether the exit
  11798. policy allows connections to ports 80 and 443. Previously relays
  11799. would get the Exit flag if they allowed connections to one of
  11800. these ports and also port 6667. Resolves ticket 23637.
  11801. o Minor features (geoip):
  11802. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  11803. Country database.
  11804. o Minor features (linux seccomp2 sandbox):
  11805. - Update the sandbox rules so that they should now work correctly
  11806. with Glibc 2.26. Closes ticket 24315.
  11807. o Minor features (logging):
  11808. - Downgrade a pair of log messages that could occur when an exit's
  11809. resolver gave us an unusual (but not forbidden) response. Closes
  11810. ticket 24097.
  11811. - Improve the message we log when re-enabling circuit build timeouts
  11812. after having received a consensus. Closes ticket 20963.
  11813. o Minor bugfixes (compilation):
  11814. - Fix a memory leak warning in one of the libevent-related
  11815. configuration tests that could occur when manually specifying
  11816. -fsanitize=address. Fixes bug 24279; bugfix on 0.3.0.2-alpha.
  11817. Found and patched by Alex Xu.
  11818. - When detecting OpenSSL on Windows from our configure script, make
  11819. sure to try linking with the ws2_32 library. Fixes bug 23783;
  11820. bugfix on 0.3.2.2-alpha.
  11821. o Minor bugfixes (control port, linux seccomp2 sandbox):
  11822. - Avoid a crash when attempting to use the seccomp2 sandbox together
  11823. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  11824. on 0.2.5.1-alpha.
  11825. o Minor bugfixes (control port, onion services):
  11826. - Report "FAILED" instead of "UPLOAD_FAILED" "FAILED" for the
  11827. HS_DESC event when a service is not able to upload a descriptor.
  11828. Fixes bug 24230; bugfix on 0.2.7.1-alpha.
  11829. o Minor bugfixes (directory cache):
  11830. - Recover better from empty or corrupt files in the consensus cache
  11831. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  11832. - When a consensus diff calculation is only partially successful,
  11833. only record the successful parts as having succeeded. Partial
  11834. success can happen if (for example) one compression method fails
  11835. but the others succeed. Previously we misrecorded all the
  11836. calculations as having succeeded, which would later cause a
  11837. nonfatal assertion failure. Fixes bug 24086; bugfix
  11838. on 0.3.1.1-alpha.
  11839. o Minor bugfixes (logging):
  11840. - Only log once if we notice that KIST support is gone. Fixes bug
  11841. 24158; bugfix on 0.3.2.1-alpha.
  11842. - Suppress a log notice when relay descriptors arrive. We already
  11843. have a bootstrap progress for this so no need to log notice
  11844. everytime tor receives relay descriptors. Microdescriptors behave
  11845. the same. Fixes bug 23861; bugfix on 0.2.8.2-alpha.
  11846. o Minor bugfixes (network layer):
  11847. - When closing a connection via close_connection_immediately(), we
  11848. mark it as "not blocked on bandwidth", to prevent later calls from
  11849. trying to unblock it, and give it permission to read. This fixes a
  11850. backtrace warning that can happen on relays under various
  11851. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  11852. o Minor bugfixes (onion services):
  11853. - The introduction circuit was being timed out too quickly while
  11854. waiting for the rendezvous circuit to complete. Keep the intro
  11855. circuit around longer instead of timing out and reopening new ones
  11856. constantly. Fixes bug 23681; bugfix on 0.2.4.8-alpha.
  11857. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  11858. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  11859. on 0.3.1.1-alpha.
  11860. - Silence a warning about failed v3 onion descriptor uploads that
  11861. can happen naturally under certain edge cases. Fixes part of bug
  11862. 23662; bugfix on 0.3.2.1-alpha.
  11863. o Minor bugfixes (tests):
  11864. - Fix a memory leak in one of the bridge-distribution test cases.
  11865. Fixes bug 24345; bugfix on 0.3.2.3-alpha.
  11866. - Fix a bug in our fuzzing mock replacement for crypto_pk_checksig(),
  11867. to correctly handle cases where a caller gives it an RSA key of
  11868. under 160 bits. (This is not actually a bug in Tor itself, but
  11869. rather in our fuzzing code.) Fixes bug 24247; bugfix on
  11870. 0.3.0.3-alpha. Found by OSS-Fuzz as issue 4177.
  11871. o Documentation:
  11872. - Add notes in man page regarding OS support for the various
  11873. scheduler types. Attempt to use less jargon in the scheduler
  11874. section. Closes ticket 24254.
  11875. Changes in version 0.3.2.4-alpha - 2017-11-08
  11876. Tor 0.3.2.4-alpha is the fourth alpha release in the 0.3.2.x series.
  11877. It fixes several stability and reliability bugs, especially including
  11878. a major reliability issue that has been plaguing fast exit relays in
  11879. recent months.
  11880. o Major bugfixes (exit relays, DNS):
  11881. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  11882. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  11883. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  11884. identifying and finding a workaround to this bug and to Moritz,
  11885. Arthur Edelstein, and Roger for helping to track it down and
  11886. analyze it.
  11887. o Major bugfixes (scheduler, channel):
  11888. - Stop processing scheduled channels if they closed while flushing
  11889. cells. This can happen if the write on the connection fails
  11890. leading to the channel being closed while in the scheduler loop.
  11891. Fixes bug 23751; bugfix on 0.3.2.1-alpha.
  11892. o Minor features (logging, scheduler):
  11893. - Introduce a SCHED_BUG() function to log extra information about
  11894. the scheduler state if we ever catch a bug in the scheduler.
  11895. Closes ticket 23753.
  11896. o Minor features (removed deprecations):
  11897. - The ClientDNSRejectInternalAddresses flag can once again be set in
  11898. non-testing Tor networks, so long as they do not use the default
  11899. directory authorities. This change also removes the deprecation of
  11900. this flag from 0.2.9.2-alpha. Closes ticket 21031.
  11901. o Minor features (testing):
  11902. - Our fuzzing tests now test the encrypted portions of v3 onion
  11903. service descriptors. Implements more of 21509.
  11904. o Minor bugfixes (directory client):
  11905. - On failure to download directory information, delay retry attempts
  11906. by a random amount based on the "decorrelated jitter" algorithm.
  11907. Our previous delay algorithm tended to produce extra-long delays
  11908. too easily. Fixes bug 23816; bugfix on 0.2.9.1-alpha.
  11909. o Minor bugfixes (IPv6, v3 single onion services):
  11910. - Remove buggy code for IPv6-only v3 single onion services, and
  11911. reject attempts to configure them. This release supports IPv4,
  11912. dual-stack, and IPv6-only v3 onion services; and IPv4 and dual-
  11913. stack v3 single onion services. Fixes bug 23820; bugfix
  11914. on 0.3.2.1-alpha.
  11915. o Minor bugfixes (logging, relay):
  11916. - Give only a protocol warning when the ed25519 key is not
  11917. consistent between the descriptor and microdescriptor of a relay.
  11918. This can happen, for instance, if the relay has been flagged
  11919. NoEdConsensus. Fixes bug 24025; bugfix on 0.3.2.1-alpha.
  11920. o Minor bugfixes (manpage, onion service):
  11921. - Document that the HiddenServiceNumIntroductionPoints option is
  11922. 0-10 for v2 services and 0-20 for v3 services. Fixes bug 24115;
  11923. bugfix on 0.3.2.1-alpha.
  11924. o Minor bugfixes (memory leaks):
  11925. - Fix a minor memory leak at exit in the KIST scheduler. This bug
  11926. should have no user-visible impact. Fixes bug 23774; bugfix
  11927. on 0.3.2.1-alpha.
  11928. - Fix a memory leak when decrypting a badly formatted v3 onion
  11929. service descriptor. Fixes bug 24150; bugfix on 0.3.2.1-alpha.
  11930. Found by OSS-Fuzz; this is OSS-Fuzz issue 3994.
  11931. o Minor bugfixes (onion services):
  11932. - Cache some needed onion service client information instead of
  11933. constantly computing it over and over again. Fixes bug 23623;
  11934. bugfix on 0.3.2.1-alpha.
  11935. - Properly retry HSv3 descriptor fetches when missing required
  11936. directory information. Fixes bug 23762; bugfix on 0.3.2.1-alpha.
  11937. o Minor bugfixes (path selection):
  11938. - When selecting relays by bandwidth, avoid a rounding error that
  11939. could sometimes cause load to be imbalanced incorrectly.
  11940. Previously, we would always round upwards; now, we round towards
  11941. the nearest integer. This had the biggest effect when a relay's
  11942. weight adjustments should have given it weight 0, but it got
  11943. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  11944. - When calculating the fraction of nodes that have descriptors, and
  11945. all nodes in the network have zero bandwidths, count the number of
  11946. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  11947. - Actually log the total bandwidth in compute_weighted_bandwidths().
  11948. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  11949. o Minor bugfixes (relay, crash):
  11950. - Avoid a crash when transitioning from client mode to bridge mode.
  11951. Previously, we would launch the worker threads whenever our
  11952. "public server" mode changed, but not when our "server" mode
  11953. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  11954. o Minor bugfixes (testing):
  11955. - Fix a spurious fuzzing-only use of an uninitialized value. Found
  11956. by Brian Carpenter. Fixes bug 24082; bugfix on 0.3.0.3-alpha.
  11957. - Test that IPv6-only clients can use microdescriptors when running
  11958. "make test-network-all". Requires chutney master 61c28b9 or later.
  11959. Closes ticket 24109.
  11960. Changes in version 0.3.2.3-alpha - 2017-10-27
  11961. Tor 0.3.2.3-alpha is the third release in the 0.3.2 series. It fixes
  11962. numerous small bugs in earlier versions of 0.3.2.x, and adds a new
  11963. directory authority, Bastet.
  11964. o Directory authority changes:
  11965. - Add "Bastet" as a ninth directory authority to the default list.
  11966. Closes ticket 23910.
  11967. - The directory authority "Longclaw" has changed its IP address.
  11968. Closes ticket 23592.
  11969. o Minor features (bridge):
  11970. - Bridge relays can now set the BridgeDistribution config option to
  11971. add a "bridge-distribution-request" line to their bridge
  11972. descriptor, which tells BridgeDB how they'd like their bridge
  11973. address to be given out. (Note that as of Oct 2017, BridgeDB does
  11974. not yet implement this feature.) As a side benefit, this feature
  11975. provides a way to distinguish bridge descriptors from non-bridge
  11976. descriptors. Implements tickets 18329.
  11977. o Minor features (client, entry guards):
  11978. - Improve log messages when missing descriptors for primary guards.
  11979. Resolves ticket 23670.
  11980. o Minor features (geoip):
  11981. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  11982. Country database.
  11983. o Minor bugfixes (bridge):
  11984. - Overwrite the bridge address earlier in the process of retrieving
  11985. its descriptor, to make sure we reach it on the configured
  11986. address. Fixes bug 20532; bugfix on 0.2.0.10-alpha.
  11987. o Minor bugfixes (documentation):
  11988. - Document better how to read gcov, and what our gcov postprocessing
  11989. scripts do. Fixes bug 23739; bugfix on 0.2.9.1-alpha.
  11990. o Minor bugfixes (entry guards):
  11991. - Tor now updates its guard state when it reads a consensus
  11992. regardless of whether it's missing descriptors. That makes tor use
  11993. its primary guards to fetch descriptors in some edge cases where
  11994. it would previously have used fallback directories. Fixes bug
  11995. 23862; bugfix on 0.3.0.1-alpha.
  11996. o Minor bugfixes (hidden service client):
  11997. - When handling multiple SOCKS request for the same .onion address,
  11998. only fetch the service descriptor once.
  11999. - When a descriptor fetch fails with a non-recoverable error, close
  12000. all pending SOCKS requests for that .onion. Fixes bug 23653;
  12001. bugfix on 0.3.2.1-alpha.
  12002. o Minor bugfixes (hidden service):
  12003. - Always regenerate missing hidden service public key files. Prior
  12004. to this, if the public key was deleted from disk, it wouldn't get
  12005. recreated. Fixes bug 23748; bugfix on 0.3.2.2-alpha. Patch
  12006. from "cathugger".
  12007. - Make sure that we have a usable ed25519 key when the intro point
  12008. relay supports ed25519 link authentication. Fixes bug 24002;
  12009. bugfix on 0.3.2.1-alpha.
  12010. o Minor bugfixes (hidden service, v2):
  12011. - When reloading configured hidden services, copy all information
  12012. from the old service object. Previously, some data was omitted,
  12013. causing delays in descriptor upload, and other bugs. Fixes bug
  12014. 23790; bugfix on 0.2.1.9-alpha.
  12015. o Minor bugfixes (memory safety, defensive programming):
  12016. - Clear the target address when node_get_prim_orport() returns
  12017. early. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  12018. o Minor bugfixes (relay):
  12019. - Avoid a BUG warning when receiving a dubious CREATE cell while an
  12020. option transition is in progress. Fixes bug 23952; bugfix
  12021. on 0.3.2.1-alpha.
  12022. o Minor bugfixes (testing):
  12023. - Adjust the GitLab CI configuration to more closely match that of
  12024. Travis CI. Fixes bug 23757; bugfix on 0.3.2.2-alpha.
  12025. - Prevent scripts/test/coverage from attempting to move gcov output
  12026. to the root directory. Fixes bug 23741; bugfix on 0.2.5.1-alpha.
  12027. - When running unit tests as root, skip a test that would fail
  12028. because it expects a permissions error. This affects some
  12029. continuous integration setups. Fixes bug 23758; bugfix
  12030. on 0.3.2.2-alpha.
  12031. - Stop unconditionally mirroring the tor repository in GitLab CI.
  12032. This prevented developers from enabling GitLab CI on master. Fixes
  12033. bug 23755; bugfix on 0.3.2.2-alpha.
  12034. - Fix the hidden service v3 descriptor decoding fuzzing to use the
  12035. latest decoding API correctly. Fixes bug 21509; bugfix
  12036. on 0.3.2.1-alpha.
  12037. o Minor bugfixes (warnings):
  12038. - When we get an HTTP request on a SOCKS port, tell the user about
  12039. the new HTTPTunnelPort option. Previously, we would give a "Tor is
  12040. not an HTTP Proxy" message, which stopped being true when
  12041. HTTPTunnelPort was introduced. Fixes bug 23678; bugfix
  12042. on 0.3.2.1-alpha.
  12043. Changes in version 0.2.5.15 - 2017-10-25
  12044. Tor 0.2.5.15 backports a collection of bugfixes from later Tor release
  12045. series. It also adds a new directory authority, Bastet.
  12046. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  12047. 2018. If you need a release with long-term support, please upgrade to
  12048. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  12049. o Directory authority changes:
  12050. - Add "Bastet" as a ninth directory authority to the default list.
  12051. Closes ticket 23910.
  12052. - The directory authority "Longclaw" has changed its IP address.
  12053. Closes ticket 23592.
  12054. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  12055. - Avoid an assertion failure bug affecting our implementation of
  12056. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  12057. handling of "0xx" differs from what we had expected. Fixes bug
  12058. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  12059. o Minor features (geoip):
  12060. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  12061. Country database.
  12062. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  12063. - Fix a memset() off the end of an array when packing cells. This
  12064. bug should be harmless in practice, since the corrupted bytes are
  12065. still in the same structure, and are always padding bytes,
  12066. ignored, or immediately overwritten, depending on compiler
  12067. behavior. Nevertheless, because the memset()'s purpose is to make
  12068. sure that any other cell-handling bugs can't expose bytes to the
  12069. network, we need to fix it. Fixes bug 22737; bugfix on
  12070. 0.2.4.11-alpha. Fixes CID 1401591.
  12071. o Build features (backport from 0.3.1.5-alpha):
  12072. - Tor's repository now includes a Travis Continuous Integration (CI)
  12073. configuration file (.travis.yml). This is meant to help new
  12074. developers and contributors who fork Tor to a Github repository be
  12075. better able to test their changes, and understand what we expect
  12076. to pass. To use this new build feature, you must fork Tor to your
  12077. Github account, then go into the "Integrations" menu in the
  12078. repository settings for your fork and enable Travis, then push
  12079. your changes. Closes ticket 22636.
  12080. Changes in version 0.2.8.16 - 2017-10-25
  12081. Tor 0.2.8.16 backports a collection of bugfixes from later Tor release
  12082. series, including a bugfix for a crash issue that had affected relays
  12083. under memory pressure. It also adds a new directory authority, Bastet.
  12084. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  12085. 2018. If you need a release with long-term support, please stick with
  12086. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  12087. o Directory authority changes:
  12088. - Add "Bastet" as a ninth directory authority to the default list.
  12089. Closes ticket 23910.
  12090. - The directory authority "Longclaw" has changed its IP address.
  12091. Closes ticket 23592.
  12092. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  12093. - Fix a timing-based assertion failure that could occur when the
  12094. circuit out-of-memory handler freed a connection's output buffer.
  12095. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  12096. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  12097. - Remove longclaw's IPv6 address, as it will soon change. Authority
  12098. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  12099. 3/8 directory authorities with IPv6 addresses, but there are also
  12100. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  12101. o Minor features (geoip):
  12102. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  12103. Country database.
  12104. Changes in version 0.2.9.13 - 2017-10-25
  12105. Tor 0.2.9.13 backports a collection of bugfixes from later Tor release
  12106. series, including a bugfix for a crash issue that had affected relays
  12107. under memory pressure. It also adds a new directory authority, Bastet.
  12108. o Directory authority changes:
  12109. - Add "Bastet" as a ninth directory authority to the default list.
  12110. Closes ticket 23910.
  12111. - The directory authority "Longclaw" has changed its IP address.
  12112. Closes ticket 23592.
  12113. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  12114. - Fix a timing-based assertion failure that could occur when the
  12115. circuit out-of-memory handler freed a connection's output buffer.
  12116. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  12117. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  12118. - Remove longclaw's IPv6 address, as it will soon change. Authority
  12119. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  12120. 3/8 directory authorities with IPv6 addresses, but there are also
  12121. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  12122. o Minor features (geoip):
  12123. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  12124. Country database.
  12125. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  12126. - When a directory authority rejects a descriptor or extrainfo with
  12127. a given digest, mark that digest as undownloadable, so that we do
  12128. not attempt to download it again over and over. We previously
  12129. tried to avoid downloading such descriptors by other means, but we
  12130. didn't notice if we accidentally downloaded one anyway. This
  12131. behavior became problematic in 0.2.7.2-alpha, when authorities
  12132. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  12133. on 0.2.1.19-alpha.
  12134. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  12135. - Clear the address when node_get_prim_orport() returns early.
  12136. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  12137. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  12138. - When running as a Windows service, set the ID of the main thread
  12139. correctly. Failure to do so made us fail to send log messages to
  12140. the controller in 0.2.1.16-rc, slowed down controller event
  12141. delivery in 0.2.7.3-rc and later, and crash with an assertion
  12142. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  12143. Patch and diagnosis from "Vort".
  12144. Changes in version 0.3.0.12 - 2017-10-25
  12145. Tor 0.3.0.12 backports a collection of bugfixes from later Tor release
  12146. series, including a bugfix for a crash issue that had affected relays
  12147. under memory pressure. It also adds a new directory authority, Bastet.
  12148. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  12149. 2018. If you need a release with long-term support, please stick with
  12150. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  12151. o Directory authority changes:
  12152. - Add "Bastet" as a ninth directory authority to the default list.
  12153. Closes ticket 23910.
  12154. - The directory authority "Longclaw" has changed its IP address.
  12155. Closes ticket 23592.
  12156. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  12157. - Fix a timing-based assertion failure that could occur when the
  12158. circuit out-of-memory handler freed a connection's output buffer.
  12159. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  12160. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  12161. - Remove longclaw's IPv6 address, as it will soon change. Authority
  12162. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  12163. 3/8 directory authorities with IPv6 addresses, but there are also
  12164. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  12165. o Minor features (geoip):
  12166. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  12167. Country database.
  12168. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  12169. - When a directory authority rejects a descriptor or extrainfo with
  12170. a given digest, mark that digest as undownloadable, so that we do
  12171. not attempt to download it again over and over. We previously
  12172. tried to avoid downloading such descriptors by other means, but we
  12173. didn't notice if we accidentally downloaded one anyway. This
  12174. behavior became problematic in 0.2.7.2-alpha, when authorities
  12175. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  12176. on 0.2.1.19-alpha.
  12177. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  12178. - Avoid a possible double close of a circuit by the intro point on
  12179. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  12180. bugfix on 0.3.0.1-alpha.
  12181. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  12182. - Clear the address when node_get_prim_orport() returns early.
  12183. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  12184. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  12185. - When running as a Windows service, set the ID of the main thread
  12186. correctly. Failure to do so made us fail to send log messages to
  12187. the controller in 0.2.1.16-rc, slowed down controller event
  12188. delivery in 0.2.7.3-rc and later, and crash with an assertion
  12189. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  12190. Patch and diagnosis from "Vort".
  12191. Changes in version 0.3.1.8 - 2017-10-25
  12192. Tor 0.3.1.8 is the second stable release in the 0.3.1 series.
  12193. It includes several bugfixes, including a bugfix for a crash issue
  12194. that had affected relays under memory pressure. It also adds
  12195. a new directory authority, Bastet.
  12196. o Directory authority changes:
  12197. - Add "Bastet" as a ninth directory authority to the default list.
  12198. Closes ticket 23910.
  12199. - The directory authority "Longclaw" has changed its IP address.
  12200. Closes ticket 23592.
  12201. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  12202. - Fix a timing-based assertion failure that could occur when the
  12203. circuit out-of-memory handler freed a connection's output buffer.
  12204. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  12205. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  12206. - Remove longclaw's IPv6 address, as it will soon change. Authority
  12207. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  12208. 3/8 directory authorities with IPv6 addresses, but there are also
  12209. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  12210. o Minor features (geoip):
  12211. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  12212. Country database.
  12213. o Minor bugfixes (compilation, backport from 0.3.2.2-alpha):
  12214. - Fix a compilation warning when building with zstd support on
  12215. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  12216. and fixed by Andreas Stieger.
  12217. o Minor bugfixes (compression, backport from 0.3.2.2-alpha):
  12218. - Handle a pathological case when decompressing Zstandard data when
  12219. the output buffer size is zero. Fixes bug 23551; bugfix
  12220. on 0.3.1.1-alpha.
  12221. o Minor bugfixes (directory authority, backport from 0.3.2.1-alpha):
  12222. - Remove the length limit on HTTP status lines that authorities can
  12223. send in their replies. Fixes bug 23499; bugfix on 0.3.1.6-rc.
  12224. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  12225. - Avoid a possible double close of a circuit by the intro point on
  12226. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  12227. bugfix on 0.3.0.1-alpha.
  12228. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  12229. - Clear the address when node_get_prim_orport() returns early.
  12230. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  12231. o Minor bugfixes (unit tests, backport from 0.3.2.2-alpha):
  12232. - Fix additional channelpadding unit test failures by using mocked
  12233. time instead of actual time for all tests. Fixes bug 23608; bugfix
  12234. on 0.3.1.1-alpha.
  12235. Changes in version 0.3.2.2-alpha - 2017-09-29
  12236. Tor 0.3.2.2-alpha is the second release in the 0.3.2 series. This
  12237. release fixes several minor bugs in the new scheduler and next-
  12238. generation onion services; both features were newly added in the 0.3.2
  12239. series. Other fixes in this alpha include several fixes for non-fatal
  12240. tracebacks which would appear in logs.
  12241. With the aim to stabilise the 0.3.2 series by 15 December 2017, this
  12242. alpha does not contain any substantial new features. Minor features
  12243. include better testing and logging.
  12244. The following comprises the complete list of changes included
  12245. in 0.3.2.2-alpha:
  12246. o Major bugfixes (relay, crash, assertion failure):
  12247. - Fix a timing-based assertion failure that could occur when the
  12248. circuit out-of-memory handler freed a connection's output buffer.
  12249. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  12250. o Major bugfixes (scheduler):
  12251. - If a channel is put into the scheduler's pending list, then it
  12252. starts closing, and then if the scheduler runs before it finishes
  12253. closing, the scheduler will get stuck trying to flush its cells
  12254. while the lower layers refuse to cooperate. Fix that race
  12255. condition by giving the scheduler an escape method. Fixes bug
  12256. 23676; bugfix on 0.3.2.1-alpha.
  12257. o Minor features (build, compilation):
  12258. - The "check-changes" feature is now part of the "make check" tests;
  12259. we'll use it to try to prevent misformed changes files from
  12260. accumulating. Closes ticket 23564.
  12261. - Tor builds should now fail if there are any mismatches between the
  12262. C type representing a configuration variable and the C type the
  12263. data-driven parser uses to store a value there. Previously, we
  12264. needed to check these by hand, which sometimes led to mistakes.
  12265. Closes ticket 23643.
  12266. o Minor features (directory authorities):
  12267. - Remove longclaw's IPv6 address, as it will soon change. Authority
  12268. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  12269. 3/8 directory authorities with IPv6 addresses, but there are also
  12270. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  12271. o Minor features (hidden service, circuit, logging):
  12272. - Improve logging of many callsite in the circuit subsystem to print
  12273. the circuit identifier(s).
  12274. - Log when we cleanup an intro point from a service so we know when
  12275. and for what reason it happened. Closes ticket 23604.
  12276. o Minor features (logging):
  12277. - Log more circuit information whenever we are about to try to
  12278. package a relay cell on a circuit with a nonexistent n_chan.
  12279. Attempt to diagnose ticket 8185.
  12280. - Improve info-level log identification of particular circuits, to
  12281. help with debugging. Closes ticket 23645.
  12282. o Minor features (relay):
  12283. - When choosing which circuits can be expired as unused, consider
  12284. circuits from clients even if those clients used regular CREATE
  12285. cells to make them; and do not consider circuits from relays even
  12286. if they were made with CREATE_FAST. Part of ticket 22805.
  12287. o Minor features (robustness):
  12288. - Change several fatal assertions when flushing buffers into non-
  12289. fatal assertions, to prevent any recurrence of 23690.
  12290. o Minor features (spec conformance, bridge, diagnostic):
  12291. - When handling the USERADDR command on an ExtOrPort, warn when the
  12292. transports provides a USERADDR with no port. In a future version,
  12293. USERADDR commands of this format may be rejected. Detects problems
  12294. related to ticket 23080.
  12295. o Minor features (testing):
  12296. - Add a unit test to make sure that our own generated platform
  12297. string will be accepted by directory authorities. Closes
  12298. ticket 22109.
  12299. o Minor bugfixes (bootstrapping):
  12300. - When warning about state file clock skew, report the correct
  12301. direction for the detected skew. Fixes bug 23606; bugfix
  12302. on 0.2.8.1-alpha.
  12303. - Avoid an assertion failure when logging a state file clock skew
  12304. very early in bootstrapping. Fixes bug 23607; bugfix
  12305. on 0.3.2.1-alpha.
  12306. o Minor bugfixes (build, compilation):
  12307. - Fix a compilation warning when building with zstd support on
  12308. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  12309. and fixed by Andreas Stieger.
  12310. - When searching for OpenSSL, don't accept any OpenSSL library that
  12311. lacks TLSv1_1_method(): Tor doesn't build with those versions.
  12312. Additionally, look in /usr/local/opt/openssl, if it's present.
  12313. These changes together repair the default build on OSX systems
  12314. with Homebrew installed. Fixes bug 23602; bugfix on 0.2.7.2-alpha.
  12315. o Minor bugfixes (compression):
  12316. - Handle a pathological case when decompressing Zstandard data when
  12317. the output buffer size is zero. Fixes bug 23551; bugfix
  12318. on 0.3.1.1-alpha.
  12319. o Minor bugfixes (documentation):
  12320. - Fix manpage to not refer to the obsolete (and misspelled)
  12321. UseEntryGuardsAsDirectoryGuards parameter in the description of
  12322. NumDirectoryGuards. Fixes bug 23611; bugfix on 0.2.4.8-alpha.
  12323. o Minor bugfixes (hidden service v3):
  12324. - Don't log an assertion failure when we can't find the right
  12325. information to extend to an introduction point. In rare cases,
  12326. this could happen, causing a warning, even though tor would
  12327. recover gracefully. Fixes bug 23159; bugfix on 0.3.2.1-alpha.
  12328. - Pad RENDEZVOUS cell up to the size of the legacy cell which is
  12329. much bigger so the rendezvous point can't distinguish which hidden
  12330. service protocol is being used. Fixes bug 23420; bugfix
  12331. on 0.3.2.1-alpha.
  12332. o Minor bugfixes (hidden service, relay):
  12333. - Avoid a possible double close of a circuit by the intro point on
  12334. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  12335. bugfix on 0.3.0.1-alpha.
  12336. o Minor bugfixes (logging, relay shutdown, annoyance):
  12337. - When a circuit is marked for close, do not attempt to package any
  12338. cells for channels on that circuit. Previously, we would detect
  12339. this condition lower in the call stack, when we noticed that the
  12340. circuit had no attached channel, and log an annoying message.
  12341. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  12342. o Minor bugfixes (scheduler):
  12343. - When switching schedulers due to a consensus change, we didn't
  12344. give the new scheduler a chance to react to the consensus. Fix
  12345. that. Fixes bug 23537; bugfix on 0.3.2.1-alpha.
  12346. - Make the KISTSchedRunInterval option a non negative value. With
  12347. this, the way to disable KIST through the consensus is to set it
  12348. to 0. Fixes bug 23539; bugfix on 0.3.2.1-alpha.
  12349. - Only notice log the selected scheduler when we switch scheduler
  12350. types. Fixes bug 23552; bugfix on 0.3.2.1-alpha.
  12351. - Avoid a compilation warning on macOS in scheduler_ev_add() caused
  12352. by a different tv_usec data type. Fixes bug 23575; bugfix
  12353. on 0.3.2.1-alpha.
  12354. - Make a hard exit if tor is unable to pick a scheduler which can
  12355. happen if the user specifies a scheduler type that is not
  12356. supported and not other types in Schedulers. Fixes bug 23581;
  12357. bugfix on 0.3.2.1-alpha.
  12358. - Properly initialize the scheduler last run time counter so it is
  12359. not 0 at the first tick. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  12360. o Minor bugfixes (testing):
  12361. - Capture and detect several "Result does not fit" warnings in unit
  12362. tests on platforms with 32-bit time_t. Fixes bug 21800; bugfix
  12363. on 0.2.9.3-alpha.
  12364. - Fix additional channelpadding unit test failures by using mocked
  12365. time instead of actual time for all tests. Fixes bug 23608; bugfix
  12366. on 0.3.1.1-alpha.
  12367. - The removal of some old scheduler options caused some tests to
  12368. fail on BSD systems. Assume current behavior is correct and make
  12369. the tests pass again. Fixes bug 23566; bugfix on 0.3.2.1-alpha.
  12370. o Code simplification and refactoring:
  12371. - Remove various ways of testing circuits and connections for
  12372. "clientness"; instead, favor channel_is_client(). Part of
  12373. ticket 22805.
  12374. o Deprecated features:
  12375. - The ReachableDirAddresses and ClientPreferIPv6DirPort options are
  12376. now deprecated; they do not apply to relays, and they have had no
  12377. effect on clients since 0.2.8.x. Closes ticket 19704.
  12378. o Documentation:
  12379. - HiddenServiceVersion man page entry wasn't mentioning the now
  12380. supported version 3. Fixes ticket 23580; bugfix on 0.3.2.1-alpha.
  12381. - Clarify that the Address option is entirely about setting an
  12382. advertised IPv4 address. Closes ticket 18891.
  12383. - Clarify the manpage's use of the term "address" to clarify what
  12384. kind of address is intended. Closes ticket 21405.
  12385. - Document that onion service subdomains are allowed, and ignored.
  12386. Closes ticket 18736.
  12387. Changes in version 0.3.2.1-alpha - 2017-09-18
  12388. Tor 0.3.2.1-alpha is the first release in the 0.3.2.x series. It
  12389. includes support for our next-generation ("v3") onion service
  12390. protocol, and adds a new circuit scheduler for more responsive
  12391. forwarding decisions from relays. There are also numerous other small
  12392. features and bugfixes here.
  12393. Below are the changes since Tor 0.3.1.7.
  12394. o Major feature (scheduler, channel):
  12395. - Tor now uses new schedulers to decide which circuits should
  12396. deliver cells first, in order to improve congestion at relays. The
  12397. first type is called "KIST" ("Kernel Informed Socket Transport"),
  12398. and is only available on Linux-like systems: it uses feedback from
  12399. the kernel to prevent the kernel's TCP buffers from growing too
  12400. full. The second new scheduler type is called "KISTLite": it
  12401. behaves the same as KIST, but runs on systems without kernel
  12402. support for inspecting TCP implementation details. The old
  12403. scheduler is still available, under the name "Vanilla". To change
  12404. the default scheduler preference order, use the new "Schedulers"
  12405. option. (The default preference order is "KIST,KISTLite,Vanilla".)
  12406. Matt Traudt implemented KIST, based on research by Rob Jansen,
  12407. John Geddes, Christ Wacek, Micah Sherr, and Paul Syverson. For
  12408. more information, see the design paper at
  12409. http://www.robgjansen.com/publications/kist-sec2014.pdf and the
  12410. followup implementation paper at https://arxiv.org/abs/1709.01044.
  12411. Closes ticket 12541.
  12412. o Major features (next-generation onion services):
  12413. - Tor now supports the next-generation onion services protocol for
  12414. clients and services! As part of this release, the core of
  12415. proposal 224 has been implemented and is available for
  12416. experimentation and testing by our users. This newer version of
  12417. onion services ("v3") features many improvements over the legacy
  12418. system, including:
  12419. a) Better crypto (replaced SHA1/DH/RSA1024
  12420. with SHA3/ed25519/curve25519)
  12421. b) Improved directory protocol, leaking much less information to
  12422. directory servers.
  12423. c) Improved directory protocol, with smaller surface for
  12424. targeted attacks.
  12425. d) Better onion address security against impersonation.
  12426. e) More extensible introduction/rendezvous protocol.
  12427. f) A cleaner and more modular codebase.
  12428. You can identify a next-generation onion address by its length:
  12429. they are 56 characters long, as in
  12430. "4acth47i6kxnvkewtm6q7ib2s3ufpo5sqbsnzjpbi7utijcltosqemad.onion".
  12431. In the future, we will release more options and features for v3
  12432. onion services, but we first need a testing period, so that the
  12433. current codebase matures and becomes more robust. Planned features
  12434. include: offline keys, advanced client authorization, improved
  12435. guard algorithms, and statistics. For full details, see
  12436. proposal 224.
  12437. Legacy ("v2") onion services will still work for the foreseeable
  12438. future, and will remain the default until this new codebase gets
  12439. tested and hardened. Service operators who want to experiment with
  12440. the new system can use the 'HiddenServiceVersion 3' torrc
  12441. directive along with the regular onion service configuration
  12442. options. We will publish a blog post about this new feature
  12443. soon! Enjoy!
  12444. o Major bugfixes (usability, control port):
  12445. - Report trusted clock skew indications as bootstrap errors, so
  12446. controllers can more easily alert users when their clocks are
  12447. wrong. Fixes bug 23506; bugfix on 0.1.2.6-alpha.
  12448. o Minor features (bug detection):
  12449. - Log a warning message with a stack trace for any attempt to call
  12450. get_options() during option validation. This pattern has caused
  12451. subtle bugs in the past. Closes ticket 22281.
  12452. o Minor features (client):
  12453. - You can now use Tor as a tunneled HTTP proxy: use the new
  12454. HTTPTunnelPort option to open a port that accepts HTTP CONNECT
  12455. requests. Closes ticket 22407.
  12456. - Add an extra check to make sure that we always use the newer guard
  12457. selection code for picking our guards. Closes ticket 22779.
  12458. - When downloading (micro)descriptors, don't split the list into
  12459. multiple requests unless we want at least 32 descriptors.
  12460. Previously, we split at 4, not 32, which led to significant
  12461. overhead in HTTP request size and degradation in compression
  12462. performance. Closes ticket 23220.
  12463. o Minor features (command line):
  12464. - Add a new commandline option, --key-expiration, which prints when
  12465. the current signing key is going to expire. Implements ticket
  12466. 17639; patch by Isis Lovecruft.
  12467. o Minor features (control port):
  12468. - If an application tries to use the control port as an HTTP proxy,
  12469. respond with a meaningful "This is the Tor control port" message,
  12470. and log the event. Closes ticket 1667. Patch from Ravi
  12471. Chandra Padmala.
  12472. - Provide better error message for GETINFO desc/(id|name) when not
  12473. fetching router descriptors. Closes ticket 5847. Patch by
  12474. Kevin Butler.
  12475. - Add GETINFO "{desc,md}/download-enabled", to inform the controller
  12476. whether Tor will try to download router descriptors and
  12477. microdescriptors respectively. Closes ticket 22684.
  12478. - Added new GETINFO targets "ip-to-country/{ipv4,ipv6}-available",
  12479. so controllers can tell whether the geoip databases are loaded.
  12480. Closes ticket 23237.
  12481. - Adds a timestamp field to the CIRC_BW and STREAM_BW bandwidth
  12482. events. Closes ticket 19254. Patch by "DonnchaC".
  12483. o Minor features (development support):
  12484. - Developers can now generate a call-graph for Tor using the
  12485. "calltool" python program, which post-processes object dumps. It
  12486. should work okay on many Linux and OSX platforms, and might work
  12487. elsewhere too. To run it, install calltool from
  12488. https://gitweb.torproject.org/user/nickm/calltool.git and run
  12489. "make callgraph". Closes ticket 19307.
  12490. o Minor features (ed25519):
  12491. - Add validation function to checks for torsion components in
  12492. ed25519 public keys, used by prop224 client-side code. Closes
  12493. ticket 22006. Math help by Ian Goldberg.
  12494. o Minor features (exit relay, DNS):
  12495. - Improve the clarity and safety of the log message from evdns when
  12496. receiving an apparently spoofed DNS reply. Closes ticket 3056.
  12497. o Minor features (integration, hardening):
  12498. - Add a new NoExec option to prevent Tor from running other
  12499. programs. When this option is set to 1, Tor will never try to run
  12500. another program, regardless of the settings of
  12501. PortForwardingHelper, ClientTransportPlugin, or
  12502. ServerTransportPlugin. Once NoExec is set, it cannot be disabled
  12503. without restarting Tor. Closes ticket 22976.
  12504. o Minor features (logging):
  12505. - Improve the warning message for specifying a relay by nickname.
  12506. The previous message implied that nickname registration was still
  12507. part of the Tor network design, which it isn't. Closes
  12508. ticket 20488.
  12509. - If the sandbox filter fails to load, suggest to the user that
  12510. their kernel might not support seccomp2. Closes ticket 23090.
  12511. o Minor features (portability):
  12512. - Check at configure time whether uint8_t is the same type as
  12513. unsigned char. Lots of existing code already makes this
  12514. assumption, and there could be strict aliasing issues if the
  12515. assumption is violated. Closes ticket 22410.
  12516. o Minor features (relay, configuration):
  12517. - Reject attempts to use relative file paths when RunAsDaemon is
  12518. set. Previously, Tor would accept these, but the directory-
  12519. changing step of RunAsDaemon would give strange and/or confusing
  12520. results. Closes ticket 22731.
  12521. o Minor features (startup, safety):
  12522. - When configured to write a PID file, Tor now exits if it is unable
  12523. to do so. Previously, it would warn and continue. Closes
  12524. ticket 20119.
  12525. o Minor features (static analysis):
  12526. - The BUG() macro has been changed slightly so that Coverity no
  12527. longer complains about dead code if the bug is impossible. Closes
  12528. ticket 23054.
  12529. o Minor features (testing):
  12530. - The default chutney network tests now include tests for the v3
  12531. hidden service design. Make sure you have the latest version of
  12532. chutney if you want to run these. Closes ticket 22437.
  12533. - Add a unit test to verify that we can parse a hardcoded v2 hidden
  12534. service descriptor. Closes ticket 15554.
  12535. o Minor bugfixes (certificate handling):
  12536. - Fix a time handling bug in Tor certificates set to expire after
  12537. the year 2106. Fixes bug 23055; bugfix on 0.3.0.1-alpha. Found by
  12538. Coverity as CID 1415728.
  12539. o Minor bugfixes (client, usability):
  12540. - Refrain from needlessly rejecting SOCKS5-with-hostnames and
  12541. SOCKS4a requests that contain IP address strings, even when
  12542. SafeSocks in enabled, as this prevents user from connecting to
  12543. known IP addresses without relying on DNS for resolving. SafeSocks
  12544. still rejects SOCKS connections that connect to IP addresses when
  12545. those addresses are _not_ encoded as hostnames. Fixes bug 22461;
  12546. bugfix on Tor 0.2.6.2-alpha.
  12547. o Minor bugfixes (code correctness):
  12548. - Call htons() in extend_cell_format() for encoding a 16-bit value.
  12549. Previously we used ntohs(), which happens to behave the same on
  12550. all the platforms we support, but which isn't really correct.
  12551. Fixes bug 23106; bugfix on 0.2.4.8-alpha.
  12552. - For defense-in-depth, make the controller's write_escaped_data()
  12553. function robust to extremely long inputs. Fixes bug 19281; bugfix
  12554. on 0.1.1.1-alpha. Reported by Guido Vranken.
  12555. o Minor bugfixes (compilation):
  12556. - Fix unused-variable warnings in donna's Curve25519 SSE2 code.
  12557. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  12558. o Minor bugfixes (consensus expiry):
  12559. - Check for adequate directory information correctly. Previously, Tor
  12560. would reconsider whether it had sufficient directory information
  12561. every 2 minutes. Fixes bug 23091; bugfix on 0.2.0.19-alpha.
  12562. o Minor bugfixes (directory protocol):
  12563. - Directory servers now include a "Date:" http header for response
  12564. codes other than 200. Clients starting with a skewed clock and a
  12565. recent consensus were getting "304 Not modified" responses from
  12566. directory authorities, so without the Date header, the client
  12567. would never hear about a wrong clock. Fixes bug 23499; bugfix
  12568. on 0.0.8rc1.
  12569. - Make clients wait for 6 seconds before trying to download a
  12570. consensus from an authority. Fixes bug 17750; bugfix
  12571. on 0.2.8.1-alpha.
  12572. o Minor bugfixes (DoS-resistance):
  12573. - If future code asks if there are any running bridges, without
  12574. checking if bridges are enabled, log a BUG warning rather than
  12575. crashing. Fixes bug 23524; bugfix on 0.3.0.1-alpha.
  12576. o Minor bugfixes (format strictness):
  12577. - Restrict several data formats to decimal. Previously, the
  12578. BuildTimeHistogram entries in the state file, the "bw=" entries in
  12579. the bandwidth authority file, and the process IDs passed to the
  12580. __OwningControllerProcess option could all be specified in hex or
  12581. octal as well as in decimal. This was not an intentional feature.
  12582. Fixes bug 22802; bugfixes on 0.2.2.1-alpha, 0.2.2.2-alpha,
  12583. and 0.2.2.28-beta.
  12584. o Minor bugfixes (heartbeat):
  12585. - If we fail to write a heartbeat message, schedule a retry for the
  12586. minimum heartbeat interval number of seconds in the future. Fixes
  12587. bug 19476; bugfix on 0.2.3.1-alpha.
  12588. o Minor bugfixes (linux seccomp2 sandbox, logging):
  12589. - Fix some messages on unexpected errors from the seccomp2 library.
  12590. Fixes bug 22750; bugfix on 0.2.5.1-alpha. Patch from "cypherpunks".
  12591. o Minor bugfixes (logging):
  12592. - Remove duplicate log messages regarding opening non-local
  12593. SocksPorts upon parsing config and opening listeners at startup.
  12594. Fixes bug 4019; bugfix on 0.2.3.3-alpha.
  12595. - Use a more comprehensible log message when telling the user
  12596. they've excluded every running exit node. Fixes bug 7890; bugfix
  12597. on 0.2.2.25-alpha.
  12598. - When logging the number of descriptors we intend to download per
  12599. directory request, do not log a number higher than then the number
  12600. of descriptors we're fetching in total. Fixes bug 19648; bugfix
  12601. on 0.1.1.8-alpha.
  12602. - When warning about a directory owned by the wrong user, log the
  12603. actual name of the user owning the directory. Previously, we'd log
  12604. the name of the process owner twice. Fixes bug 23487; bugfix
  12605. on 0.2.9.1-alpha.
  12606. - The tor specification says hop counts are 1-based, so fix two log
  12607. messages that mistakenly logged 0-based hop counts. Fixes bug
  12608. 18982; bugfix on 0.2.6.2-alpha and 0.2.4.5-alpha. Patch by teor.
  12609. Credit to Xiaofan Li for reporting this issue.
  12610. o Minor bugfixes (portability):
  12611. - Stop using the PATH_MAX variable, which is not defined on GNU
  12612. Hurd. Fixes bug 23098; bugfix on 0.3.1.1-alpha.
  12613. o Minor bugfixes (relay):
  12614. - When uploading our descriptor for the first time after startup,
  12615. report the reason for uploading as "Tor just started" rather than
  12616. leaving it blank. Fixes bug 22885; bugfix on 0.2.3.4-alpha.
  12617. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  12618. relays, to prevent spurious address resolutions and descriptor
  12619. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  12620. bugfix on in 0.2.8.1-alpha.
  12621. o Minor bugfixes (tests):
  12622. - Fix a broken unit test for the OutboundAddress option: the parsing
  12623. function was never returning an error on failure. Fixes bug 23366;
  12624. bugfix on 0.3.0.3-alpha.
  12625. - Fix a signed-integer overflow in the unit tests for
  12626. dir/download_status_random_backoff, which was untriggered until we
  12627. fixed bug 17750. Fixes bug 22924; bugfix on 0.2.9.1-alpha.
  12628. o Minor bugfixes (usability, control port):
  12629. - Stop making an unnecessary routerlist check in NETINFO clock skew
  12630. detection; this was preventing clients from reporting NETINFO clock
  12631. skew to controllers. Fixes bug 23532; bugfix on 0.2.4.4-alpha.
  12632. o Code simplification and refactoring:
  12633. - Extract the code for handling newly-open channels into a separate
  12634. function from the general code to handle channel state
  12635. transitions. This change simplifies our callgraph, reducing the
  12636. size of the largest strongly connected component by roughly a
  12637. factor of two. Closes ticket 22608.
  12638. - Remove dead code for largely unused statistics on the number of
  12639. times we've attempted various public key operations. Fixes bug
  12640. 19871; bugfix on 0.1.2.4-alpha. Fix by Isis Lovecruft.
  12641. - Remove several now-obsolete functions for asking about old
  12642. variants directory authority status. Closes ticket 22311; patch
  12643. from "huyvq".
  12644. - Remove some of the code that once supported "Named" and "Unnamed"
  12645. routers. Authorities no longer vote for these flags. Closes
  12646. ticket 22215.
  12647. - Rename the obsolete malleable hybrid_encrypt functions used in TAP
  12648. and old hidden services, to indicate that they aren't suitable for
  12649. new protocols or formats. Closes ticket 23026.
  12650. - Replace our STRUCT_OFFSET() macro with offsetof(). Closes ticket
  12651. 22521. Patch from Neel Chauhan.
  12652. - Split the enormous circuit_send_next_onion_skin() function into
  12653. multiple subfunctions. Closes ticket 22804.
  12654. - Split the portions of the buffer.c module that handle particular
  12655. protocols into separate modules. Part of ticket 23149.
  12656. - Use our test macros more consistently, to produce more useful
  12657. error messages when our unit tests fail. Add coccinelle patches to
  12658. allow us to re-check for test macro uses. Closes ticket 22497.
  12659. o Deprecated features:
  12660. - Deprecate HTTPProxy/HTTPProxyAuthenticator config options. They
  12661. only applies to direct unencrypted HTTP connections to your
  12662. directory server, which your Tor probably isn't using. Closes
  12663. ticket 20575.
  12664. o Documentation:
  12665. - Clarify in the manual that "Sandbox 1" is only supported on Linux
  12666. kernels. Closes ticket 22677.
  12667. - Document all values of PublishServerDescriptor in the manpage.
  12668. Closes ticket 15645.
  12669. - Improve the documentation for the directory port part of the
  12670. DirAuthority line. Closes ticket 20152.
  12671. - Restore documentation for the authorities' "approved-routers"
  12672. file. Closes ticket 21148.
  12673. o Removed features:
  12674. - The AllowDotExit option has been removed as unsafe. It has been
  12675. deprecated since 0.2.9.2-alpha. Closes ticket 23426.
  12676. - The ClientDNSRejectInternalAddresses flag can no longer be set on
  12677. non-testing networks. It has been deprecated since 0.2.9.2-alpha.
  12678. Closes ticket 21031.
  12679. - The controller API no longer includes an AUTHDIR_NEWDESCS event:
  12680. nobody was using it any longer. Closes ticket 22377.
  12681. Changes in version 0.2.8.15 - 2017-09-18
  12682. Tor 0.2.8.15 backports a collection of bugfixes from later
  12683. Tor series.
  12684. Most significantly, it includes a fix for TROVE-2017-008, a
  12685. security bug that affects hidden services running with the
  12686. SafeLogging option disabled. For more information, see
  12687. https://trac.torproject.org/projects/tor/ticket/23490
  12688. Note that Tor 0.2.8.x will no longer be supported after 1 Jan
  12689. 2018. We suggest that you upgrade to the latest stable release if
  12690. possible. If you can't, we recommend that you upgrade at least to
  12691. 0.2.9, which will be supported until 2020.
  12692. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  12693. - Avoid an assertion failure bug affecting our implementation of
  12694. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  12695. handling of "0xx" differs from what we had expected. Fixes bug
  12696. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  12697. o Minor features:
  12698. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  12699. Country database.
  12700. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  12701. - Backport a fix for an "unused variable" warning that appeared
  12702. in some versions of mingw. Fixes bug 22838; bugfix on
  12703. 0.2.8.1-alpha.
  12704. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  12705. - Fix a memset() off the end of an array when packing cells. This
  12706. bug should be harmless in practice, since the corrupted bytes are
  12707. still in the same structure, and are always padding bytes,
  12708. ignored, or immediately overwritten, depending on compiler
  12709. behavior. Nevertheless, because the memset()'s purpose is to make
  12710. sure that any other cell-handling bugs can't expose bytes to the
  12711. network, we need to fix it. Fixes bug 22737; bugfix on
  12712. 0.2.4.11-alpha. Fixes CID 1401591.
  12713. o Build features (backport from 0.3.1.5-alpha):
  12714. - Tor's repository now includes a Travis Continuous Integration (CI)
  12715. configuration file (.travis.yml). This is meant to help new
  12716. developers and contributors who fork Tor to a Github repository be
  12717. better able to test their changes, and understand what we expect
  12718. to pass. To use this new build feature, you must fork Tor to your
  12719. Github account, then go into the "Integrations" menu in the
  12720. repository settings for your fork and enable Travis, then push
  12721. your changes. Closes ticket 22636.
  12722. Changes in version 0.2.9.12 - 2017-09-18
  12723. Tor 0.2.9.12 backports a collection of bugfixes from later
  12724. Tor series.
  12725. Most significantly, it includes a fix for TROVE-2017-008, a
  12726. security bug that affects hidden services running with the
  12727. SafeLogging option disabled. For more information, see
  12728. https://trac.torproject.org/projects/tor/ticket/23490
  12729. o Major features (security, backport from 0.3.0.2-alpha):
  12730. - Change the algorithm used to decide DNS TTLs on client and server
  12731. side, to better resist DNS-based correlation attacks like the
  12732. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  12733. Feamster. Now relays only return one of two possible DNS TTL
  12734. values, and clients are willing to believe DNS TTL values up to 3
  12735. hours long. Closes ticket 19769.
  12736. o Major bugfixes (crash, directory connections, backport from 0.3.0.5-rc):
  12737. - Fix a rare crash when sending a begin cell on a circuit whose
  12738. linked directory connection had already been closed. Fixes bug
  12739. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  12740. o Major bugfixes (DNS, backport from 0.3.0.2-alpha):
  12741. - Fix a bug that prevented exit nodes from caching DNS records for
  12742. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  12743. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  12744. - Fix a typo that had prevented TPROXY-based transparent proxying
  12745. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  12746. Patch from "d4fq0fQAgoJ".
  12747. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  12748. - Avoid an assertion failure bug affecting our implementation of
  12749. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  12750. handling of "0xx" differs from what we had expected. Fixes bug
  12751. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  12752. o Minor features (code style, backport from 0.3.1.3-alpha):
  12753. - Add "Falls through" comments to our codebase, in order to silence
  12754. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  12755. Stieger. Closes ticket 22446.
  12756. o Minor features (geoip):
  12757. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  12758. Country database.
  12759. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.1-alpha):
  12760. - Roll over monthly accounting at the configured hour and minute,
  12761. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  12762. Found by Andrey Karpov with PVS-Studio.
  12763. o Minor bugfixes (compilation, backport from 0.3.1.5-alpha):
  12764. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  12765. bugfix on 0.2.8.1-alpha.
  12766. - Fix warnings when building with libscrypt and openssl scrypt support
  12767. on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  12768. - When building with certain versions the mingw C header files, avoid
  12769. float-conversion warnings when calling the C functions isfinite(),
  12770. isnan(), and signbit(). Fixes bug 22801; bugfix on 0.2.8.1-alpha.
  12771. o Minor bugfixes (compilation, backport from 0.3.1.7):
  12772. - Avoid compiler warnings in the unit tests for running tor_sscanf()
  12773. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  12774. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  12775. - Backport a fix for an "unused variable" warning that appeared
  12776. in some versions of mingw. Fixes bug 22838; bugfix on
  12777. 0.2.8.1-alpha.
  12778. o Minor bugfixes (controller, backport from 0.3.1.7):
  12779. - Do not crash when receiving a HSPOST command with an empty body.
  12780. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  12781. - Do not crash when receiving a POSTDESCRIPTOR command with an
  12782. empty body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  12783. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  12784. - Avoid Coverity build warnings related to our BUG() macro. By
  12785. default, Coverity treats BUG() as the Linux kernel does: an
  12786. instant abort(). We need to override that so our BUG() macro
  12787. doesn't prevent Coverity from analyzing functions that use it.
  12788. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  12789. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  12790. - Fix a memset() off the end of an array when packing cells. This
  12791. bug should be harmless in practice, since the corrupted bytes are
  12792. still in the same structure, and are always padding bytes,
  12793. ignored, or immediately overwritten, depending on compiler
  12794. behavior. Nevertheless, because the memset()'s purpose is to make
  12795. sure that any other cell-handling bugs can't expose bytes to the
  12796. network, we need to fix it. Fixes bug 22737; bugfix on
  12797. 0.2.4.11-alpha. Fixes CID 1401591.
  12798. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  12799. - When setting the maximum number of connections allowed by the OS,
  12800. always allow some extra file descriptors for other files. Fixes
  12801. bug 22797; bugfix on 0.2.0.10-alpha.
  12802. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  12803. - Avoid a sandbox failure when trying to re-bind to a socket and
  12804. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  12805. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  12806. - Permit the fchmod system call, to avoid crashing on startup when
  12807. starting with the seccomp2 sandbox and an unexpected set of
  12808. permissions on the data directory or its contents. Fixes bug
  12809. 22516; bugfix on 0.2.5.4-alpha.
  12810. o Minor bugfixes (relay, backport from 0.3.0.5-rc):
  12811. - Avoid a double-marked-circuit warning that could happen when we
  12812. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  12813. on 0.1.0.1-rc.
  12814. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  12815. - Reject version numbers with non-numeric prefixes (such as +, -, or
  12816. whitespace). Disallowing whitespace prevents differential version
  12817. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  12818. and part of 21508; bugfix on 0.0.8pre1.
  12819. o Build features (backport from 0.3.1.5-alpha):
  12820. - Tor's repository now includes a Travis Continuous Integration (CI)
  12821. configuration file (.travis.yml). This is meant to help new
  12822. developers and contributors who fork Tor to a Github repository be
  12823. better able to test their changes, and understand what we expect
  12824. to pass. To use this new build feature, you must fork Tor to your
  12825. Github account, then go into the "Integrations" menu in the
  12826. repository settings for your fork and enable Travis, then push
  12827. your changes. Closes ticket 22636.
  12828. Changes in version 0.3.0.11 - 2017-09-18
  12829. Tor 0.3.0.11 backports a collection of bugfixes from Tor the 0.3.1
  12830. series.
  12831. Most significantly, it includes a fix for TROVE-2017-008, a
  12832. security bug that affects hidden services running with the
  12833. SafeLogging option disabled. For more information, see
  12834. https://trac.torproject.org/projects/tor/ticket/23490
  12835. o Minor features (code style, backport from 0.3.1.7):
  12836. - Add "Falls through" comments to our codebase, in order to silence
  12837. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  12838. Stieger. Closes ticket 22446.
  12839. o Minor features:
  12840. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  12841. Country database.
  12842. o Minor bugfixes (compilation, backport from 0.3.1.7):
  12843. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  12844. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  12845. o Minor bugfixes (controller, backport from 0.3.1.7):
  12846. - Do not crash when receiving a HSPOST command with an empty body.
  12847. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  12848. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  12849. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  12850. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  12851. - When setting the maximum number of connections allowed by the OS,
  12852. always allow some extra file descriptors for other files. Fixes
  12853. bug 22797; bugfix on 0.2.0.10-alpha.
  12854. o Minor bugfixes (logging, relay, backport from 0.3.1.6-rc):
  12855. - Remove a forgotten debugging message when an introduction point
  12856. successfully establishes a hidden service prop224 circuit with
  12857. a client.
  12858. - Change three other log_warn() for an introduction point to
  12859. protocol warnings, because they can be failure from the network
  12860. and are not relevant to the operator. Fixes bug 23078; bugfix on
  12861. 0.3.0.1-alpha and 0.3.0.2-alpha.
  12862. Changes in version 0.3.1.7 - 2017-09-18
  12863. Tor 0.3.1.7 is the first stable release in the 0.3.1 series.
  12864. With the 0.3.1 series, Tor now serves and downloads directory
  12865. information in more compact formats, to save on bandwidth overhead. It
  12866. also contains a new padding system to resist netflow-based traffic
  12867. analysis, and experimental support for building parts of Tor in Rust
  12868. (though no parts of Tor are in Rust yet). There are also numerous
  12869. small features, bugfixes on earlier release series, and groundwork for
  12870. the hidden services revamp of 0.3.2.
  12871. This release also includes a fix for TROVE-2017-008, a security bug
  12872. that affects hidden services running with the SafeLogging option
  12873. disabled. For more information, see
  12874. https://trac.torproject.org/projects/tor/ticket/23490
  12875. Per our stable release policy, we plan to support each stable release
  12876. series for at least the next nine months, or for three months after
  12877. the first stable release of the next series: whichever is longer. If
  12878. you need a release with long-term support, we recommend that you stay
  12879. with the 0.2.9 series.
  12880. Below is a list of the changes since 0.3.1.6-rc. For a list of all
  12881. changes since 0.3.0, see the ReleaseNotes file.
  12882. o Major bugfixes (security, hidden services, loggging):
  12883. - Fix a bug where we could log uninitialized stack when a certain
  12884. hidden service error occurred while SafeLogging was disabled.
  12885. Fixes bug #23490; bugfix on 0.2.7.2-alpha. This is also tracked as
  12886. TROVE-2017-008 and CVE-2017-0380.
  12887. o Minor features (defensive programming):
  12888. - Create a pair of consensus parameters, nf_pad_tor2web and
  12889. nf_pad_single_onion, to disable netflow padding in the consensus
  12890. for non-anonymous connections in case the overhead is high. Closes
  12891. ticket 17857.
  12892. o Minor features (diagnostic):
  12893. - Add a stack trace to the bug warnings that can be logged when
  12894. trying to send an outgoing relay cell with n_chan == 0. Diagnostic
  12895. attempt for bug 23105.
  12896. o Minor features (geoip):
  12897. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  12898. Country database.
  12899. o Minor bugfixes (compilation):
  12900. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  12901. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  12902. o Minor bugfixes (controller):
  12903. - Do not crash when receiving a HSPOST command with an empty body.
  12904. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  12905. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  12906. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  12907. o Minor bugfixes (relay):
  12908. - Inform the geoip and rephist modules about all requests, even on
  12909. relays that are only fetching microdescriptors. Fixes a bug
  12910. related to 21585; bugfix on 0.3.0.1-alpha.
  12911. o Minor bugfixes (unit tests):
  12912. - Fix a channelpadding unit test failure on slow systems by using
  12913. mocked time instead of actual time. Fixes bug 23077; bugfix
  12914. on 0.3.1.1-alpha.
  12915. Changes in version 0.3.1.6-rc - 2017-09-05
  12916. Tor 0.3.1.6-rc fixes a few small bugs and annoyances in the 0.3.1
  12917. release series, including a bug that produced weird behavior on
  12918. Windows directory caches.
  12919. This is the first release candidate in the Tor 0.3.1 series. If we
  12920. find no new bugs or regressions here, the first stable 0.3.1 release
  12921. will be nearly identical to it.
  12922. o Major bugfixes (windows, directory cache):
  12923. - On Windows, do not try to delete cached consensus documents and
  12924. diffs before they are unmapped from memory--Windows won't allow
  12925. that. Instead, allow the consensus cache directory to grow larger,
  12926. to hold files that might need to stay around longer. Fixes bug
  12927. 22752; bugfix on 0.3.1.1-alpha.
  12928. o Minor features (directory authority):
  12929. - Improve the message that authorities report to relays that present
  12930. RSA/Ed25519 keypairs that conflict with previously pinned keys.
  12931. Closes ticket 22348.
  12932. o Minor features (geoip):
  12933. - Update geoip and geoip6 to the August 3 2017 Maxmind GeoLite2
  12934. Country database.
  12935. o Minor features (testing):
  12936. - Add more tests for compression backend initialization. Closes
  12937. ticket 22286.
  12938. o Minor bugfixes (directory cache):
  12939. - Fix a memory leak when recovering space in the consensus cache.
  12940. Fixes bug 23139; bugfix on 0.3.1.1-alpha.
  12941. o Minor bugfixes (hidden service):
  12942. - Increase the number of circuits that a service is allowed to
  12943. open over a specific period of time. The value was lower than it
  12944. should be (8 vs 12) in the normal case of 3 introduction points.
  12945. Fixes bug 22159; bugfix on 0.3.0.5-rc.
  12946. - Fix a BUG warning during HSv3 descriptor decoding that could be
  12947. cause by a specially crafted descriptor. Fixes bug 23233; bugfix
  12948. on 0.3.0.1-alpha. Bug found by "haxxpop".
  12949. - Rate-limit the log messages if we exceed the maximum number of
  12950. allowed intro circuits. Fixes bug 22159; bugfix on 0.3.1.1-alpha.
  12951. o Minor bugfixes (logging, relay):
  12952. - Remove a forgotten debugging message when an introduction point
  12953. successfully establishes a hidden service prop224 circuit with
  12954. a client.
  12955. - Change three other log_warn() for an introduction point to
  12956. protocol warnings, because they can be failure from the network
  12957. and are not relevant to the operator. Fixes bug 23078; bugfix on
  12958. 0.3.0.1-alpha and 0.3.0.2-alpha.
  12959. o Minor bugfixes (relay):
  12960. - When a relay is not running as a directory cache, it will no
  12961. longer generate compressed consensuses and consensus diff
  12962. information. Previously, this was a waste of disk and CPU. Fixes
  12963. bug 23275; bugfix on 0.3.1.1-alpha.
  12964. o Minor bugfixes (robustness, error handling):
  12965. - Improve our handling of the cases where OpenSSL encounters a
  12966. memory error while encoding keys and certificates. We haven't
  12967. observed these errors in the wild, but if they do happen, we now
  12968. detect and respond better. Fixes bug 19418; bugfix on all versions
  12969. of Tor. Reported by Guido Vranken.
  12970. o Minor bugfixes (stability):
  12971. - Avoid crashing on a double-free when unable to load or process an
  12972. included file. Fixes bug 23155; bugfix on 0.3.1.1-alpha. Found
  12973. with the clang static analyzer.
  12974. o Minor bugfixes (testing):
  12975. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  12976. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  12977. - Port the hs_ntor handshake test to work correctly with recent
  12978. versions of the pysha3 module. Fixes bug 23071; bugfix
  12979. on 0.3.1.1-alpha.
  12980. o Minor bugfixes (Windows service):
  12981. - When running as a Windows service, set the ID of the main thread
  12982. correctly. Failure to do so made us fail to send log messages to
  12983. the controller in 0.2.1.16-rc, slowed down controller event
  12984. delivery in 0.2.7.3-rc and later, and crash with an assertion
  12985. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  12986. Patch and diagnosis from "Vort".
  12987. Changes in version 0.3.0.10 - 2017-08-02
  12988. Tor 0.3.0.10 backports a collection of small-to-medium bugfixes
  12989. from the current Tor alpha series. OpenBSD users and TPROXY users
  12990. should upgrade; others are probably okay sticking with 0.3.0.9.
  12991. o Major features (build system, continuous integration, backport from 0.3.1.5-alpha):
  12992. - Tor's repository now includes a Travis Continuous Integration (CI)
  12993. configuration file (.travis.yml). This is meant to help new
  12994. developers and contributors who fork Tor to a Github repository be
  12995. better able to test their changes, and understand what we expect
  12996. to pass. To use this new build feature, you must fork Tor to your
  12997. Github account, then go into the "Integrations" menu in the
  12998. repository settings for your fork and enable Travis, then push
  12999. your changes. Closes ticket 22636.
  13000. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  13001. - Fix a typo that had prevented TPROXY-based transparent proxying
  13002. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  13003. Patch from "d4fq0fQAgoJ".
  13004. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  13005. - Avoid an assertion failure bug affecting our implementation of
  13006. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  13007. handling of "0xbar" differs from what we had expected. Fixes bug
  13008. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  13009. o Minor features (backport from 0.3.1.5-alpha):
  13010. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  13011. Country database.
  13012. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.2-alpha):
  13013. - Roll over monthly accounting at the configured hour and minute,
  13014. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  13015. Found by Andrey Karpov with PVS-Studio.
  13016. o Minor bugfixes (compilation warnings, backport from 0.3.1.5-alpha):
  13017. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  13018. bugfix on 0.2.8.1-alpha.
  13019. - Fix warnings when building with libscrypt and openssl scrypt
  13020. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  13021. - When building with certain versions of the mingw C header files,
  13022. avoid float-conversion warnings when calling the C functions
  13023. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  13024. on 0.2.8.1-alpha.
  13025. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  13026. - Backport a fix for an "unused variable" warning that appeared
  13027. in some versions of mingw. Fixes bug 22838; bugfix on
  13028. 0.2.8.1-alpha.
  13029. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  13030. - Avoid Coverity build warnings related to our BUG() macro. By
  13031. default, Coverity treats BUG() as the Linux kernel does: an
  13032. instant abort(). We need to override that so our BUG() macro
  13033. doesn't prevent Coverity from analyzing functions that use it.
  13034. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  13035. o Minor bugfixes (directory authority, backport from 0.3.1.1-alpha):
  13036. - When rejecting a router descriptor for running an obsolete version
  13037. of Tor without ntor support, warn about the obsolete tor version,
  13038. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  13039. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  13040. - Avoid a sandbox failure when trying to re-bind to a socket and
  13041. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  13042. o Minor bugfixes (unit tests, backport from 0.3.1.5-alpha)
  13043. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  13044. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  13045. Changes in version 0.3.1.5-alpha - 2017-08-01
  13046. Tor 0.3.1.5-alpha improves the performance of consensus diff
  13047. calculation, fixes a crash bug on older versions of OpenBSD, and fixes
  13048. several other bugs. If no serious bugs are found in this version, the
  13049. next version will be a release candidate.
  13050. This release also marks the end of support for the Tor 0.2.4.x,
  13051. 0.2.6.x, and 0.2.7.x release series. Those releases will receive no
  13052. further bug or security fixes. Anyone still running or distributing
  13053. one of those versions should upgrade.
  13054. o Major features (build system, continuous integration):
  13055. - Tor's repository now includes a Travis Continuous Integration (CI)
  13056. configuration file (.travis.yml). This is meant to help new
  13057. developers and contributors who fork Tor to a Github repository be
  13058. better able to test their changes, and understand what we expect
  13059. to pass. To use this new build feature, you must fork Tor to your
  13060. Github account, then go into the "Integrations" menu in the
  13061. repository settings for your fork and enable Travis, then push
  13062. your changes. Closes ticket 22636.
  13063. o Major bugfixes (openbsd, denial-of-service):
  13064. - Avoid an assertion failure bug affecting our implementation of
  13065. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  13066. handling of "0xbar" differs from what we had expected. Fixes bug
  13067. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  13068. o Major bugfixes (relay, performance):
  13069. - Perform circuit handshake operations at a higher priority than we
  13070. use for consensus diff creation and compression. This should
  13071. prevent circuits from starving when a relay or bridge receives a
  13072. new consensus, especially on lower-powered machines. Fixes bug
  13073. 22883; bugfix on 0.3.1.1-alpha.
  13074. o Minor features (bridge authority):
  13075. - Add "fingerprint" lines to the networkstatus-bridges file produced
  13076. by bridge authorities. Closes ticket 22207.
  13077. o Minor features (directory cache, consensus diff):
  13078. - Add a new MaxConsensusAgeForDiffs option to allow directory cache
  13079. operators with low-resource environments to adjust the number of
  13080. consensuses they'll store and generate diffs from. Most cache
  13081. operators should leave it unchanged. Helps to work around
  13082. bug 22883.
  13083. o Minor features (geoip):
  13084. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  13085. Country database.
  13086. o Minor features (relay, performance):
  13087. - Always start relays with at least two worker threads, to prevent
  13088. priority inversion on slow tasks. Part of the fix for bug 22883.
  13089. - Allow background work to be queued with different priorities, so
  13090. that a big pile of slow low-priority jobs will not starve out
  13091. higher priority jobs. This lays the groundwork for a fix for
  13092. bug 22883.
  13093. o Minor bugfixes (build system, rust):
  13094. - Fix a problem where Rust toolchains were not being found when
  13095. building without --enable-cargo-online-mode, due to setting the
  13096. $HOME environment variable instead of $CARGO_HOME. Fixes bug
  13097. 22830; bugfix on 0.3.1.1-alpha. Fix by Chelsea Komlo.
  13098. o Minor bugfixes (compatibility, zstd):
  13099. - Write zstd epilogues correctly when the epilogue requires
  13100. reallocation of the output buffer, even with zstd 1.3.0.
  13101. (Previously, we worked on 1.2.0 and failed with 1.3.0). Fixes bug
  13102. 22927; bugfix on 0.3.1.1-alpha.
  13103. o Minor bugfixes (compilation warnings):
  13104. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug
  13105. 22915; bugfix on 0.2.8.1-alpha.
  13106. - Fix warnings when building with libscrypt and openssl scrypt
  13107. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  13108. - Compile correctly when both openssl 1.1.0 and libscrypt are
  13109. detected. Previously this would cause an error. Fixes bug 22892;
  13110. bugfix on 0.3.1.1-alpha.
  13111. - When building with certain versions of the mingw C header files,
  13112. avoid float-conversion warnings when calling the C functions
  13113. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  13114. on 0.2.8.1-alpha.
  13115. o Minor bugfixes (coverity build support):
  13116. - Avoid Coverity build warnings related to our BUG() macro. By
  13117. default, Coverity treats BUG() as the Linux kernel does: an
  13118. instant abort(). We need to override that so our BUG() macro
  13119. doesn't prevent Coverity from analyzing functions that use it.
  13120. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  13121. o Minor bugfixes (directory authority):
  13122. - When a directory authority rejects a descriptor or extrainfo with
  13123. a given digest, mark that digest as undownloadable, so that we do
  13124. not attempt to download it again over and over. We previously
  13125. tried to avoid downloading such descriptors by other means, but we
  13126. didn't notice if we accidentally downloaded one anyway. This
  13127. behavior became problematic in 0.2.7.2-alpha, when authorities
  13128. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  13129. on 0.2.1.19-alpha.
  13130. o Minor bugfixes (error reporting, windows):
  13131. - When formatting Windows error messages, use the English format to
  13132. avoid codepage issues. Fixes bug 22520; bugfix on 0.1.2.8-alpha.
  13133. Patch from "Vort".
  13134. o Minor bugfixes (file limits, osx):
  13135. - When setting the maximum number of connections allowed by the OS,
  13136. always allow some extra file descriptors for other files. Fixes
  13137. bug 22797; bugfix on 0.2.0.10-alpha.
  13138. o Minor bugfixes (linux seccomp2 sandbox):
  13139. - Avoid a sandbox failure when trying to re-bind to a socket and
  13140. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  13141. o Minor bugfixes (memory leaks):
  13142. - Fix a small memory leak when validating a configuration that uses
  13143. two or more AF_UNIX sockets for the same port type. Fixes bug
  13144. 23053; bugfix on 0.2.6.3-alpha. This is CID 1415725.
  13145. o Minor bugfixes (unit tests):
  13146. - test_consdiff_base64cmp would fail on OS X because while OS X
  13147. follows the standard of (less than zero/zero/greater than zero),
  13148. it doesn't follow the convention of (-1/0/+1). Make the test
  13149. comply with the standard. Fixes bug 22870; bugfix on 0.3.1.1-alpha.
  13150. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  13151. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  13152. Changes in version 0.3.1.4-alpha - 2017-06-29
  13153. Tor 0.3.1.4-alpha fixes a path selection bug that would allow a client
  13154. to use a guard that was in the same network family as a chosen exit
  13155. relay. This is a security regression; all clients running earlier
  13156. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9
  13157. or 0.3.1.4-alpha.
  13158. This release also fixes several other bugs introduced in 0.3.0.x
  13159. and 0.3.1.x, including others that can affect bandwidth usage
  13160. and correctness.
  13161. o New dependencies:
  13162. - To build with zstd and lzma support, Tor now requires the
  13163. pkg-config tool at build time. (This requirement was new in
  13164. 0.3.1.1-alpha, but was not noted at the time. Noting it here to
  13165. close ticket 22623.)
  13166. o Major bugfixes (path selection, security):
  13167. - When choosing which guard to use for a circuit, avoid the exit's
  13168. family along with the exit itself. Previously, the new guard
  13169. selection logic avoided the exit, but did not consider its family.
  13170. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  13171. 006 and CVE-2017-0377.
  13172. o Major bugfixes (compression, zstd):
  13173. - Correctly detect a full buffer when decompressing a large zstd-
  13174. compressed input. Previously, we would sometimes treat a full
  13175. buffer as an error. Fixes bug 22628; bugfix on 0.3.1.1-alpha.
  13176. o Major bugfixes (directory protocol):
  13177. - Ensure that we send "304 Not modified" as HTTP status code when a
  13178. client is attempting to fetch a consensus or consensus diff, and
  13179. the best one we can send them is one they already have. Fixes bug
  13180. 22702; bugfix on 0.3.1.1-alpha.
  13181. o Major bugfixes (entry guards):
  13182. - When starting with an old consensus, do not add new entry guards
  13183. unless the consensus is "reasonably live" (under 1 day old). Fixes
  13184. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  13185. o Minor features (bug mitigation, diagnostics, logging):
  13186. - Avoid an assertion failure, and log a better error message, when
  13187. unable to remove a file from the consensus cache on Windows.
  13188. Attempts to mitigate and diagnose bug 22752.
  13189. o Minor features (geoip):
  13190. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  13191. Country database.
  13192. o Minor bugfixes (compression):
  13193. - When compressing or decompressing a buffer, check for a failure to
  13194. create a compression object. Fixes bug 22626; bugfix
  13195. on 0.3.1.1-alpha.
  13196. - When decompressing a buffer, check for extra data after the end of
  13197. the compressed data. Fixes bug 22629; bugfix on 0.3.1.1-alpha.
  13198. - When decompressing an object received over an anonymous directory
  13199. connection, if we have already decompressed it using an acceptable
  13200. compression method, do not reject it for looking like an
  13201. unacceptable compression method. Fixes part of bug 22670; bugfix
  13202. on 0.3.1.1-alpha.
  13203. - When serving directory votes compressed with zlib, do not claim to
  13204. have compressed them with zstd. Fixes bug 22669; bugfix
  13205. on 0.3.1.1-alpha.
  13206. - When spooling compressed data to an output buffer, don't try to
  13207. spool more data when there is no more data to spool and we are not
  13208. trying to flush the input. Previously, we would sometimes launch
  13209. compression requests with nothing to do, which interferes with our
  13210. 22672 checks. Fixes bug 22719; bugfix on 0.2.0.16-alpha.
  13211. o Minor bugfixes (defensive programming):
  13212. - Detect and break out of infinite loops in our compression code. We
  13213. don't think that any such loops exist now, but it's best to be
  13214. safe. Closes ticket 22672.
  13215. - Fix a memset() off the end of an array when packing cells. This
  13216. bug should be harmless in practice, since the corrupted bytes are
  13217. still in the same structure, and are always padding bytes,
  13218. ignored, or immediately overwritten, depending on compiler
  13219. behavior. Nevertheless, because the memset()'s purpose is to make
  13220. sure that any other cell-handling bugs can't expose bytes to the
  13221. network, we need to fix it. Fixes bug 22737; bugfix on
  13222. 0.2.4.11-alpha. Fixes CID 1401591.
  13223. o Minor bugfixes (linux seccomp2 sandbox):
  13224. - Permit the fchmod system call, to avoid crashing on startup when
  13225. starting with the seccomp2 sandbox and an unexpected set of
  13226. permissions on the data directory or its contents. Fixes bug
  13227. 22516; bugfix on 0.2.5.4-alpha.
  13228. - Fix a crash in the LZMA module, when the sandbox was enabled, and
  13229. liblzma would allocate more than 16 MB of memory. We solve this by
  13230. bumping the mprotect() limit in the sandbox module from 16 MB to
  13231. 20 MB. Fixes bug 22751; bugfix on 0.3.1.1-alpha.
  13232. o Minor bugfixes (logging):
  13233. - When decompressing, do not warn if we fail to decompress using a
  13234. compression method that we merely guessed. Fixes part of bug
  13235. 22670; bugfix on 0.1.1.14-alpha.
  13236. - When decompressing, treat mismatch between content-encoding and
  13237. actual compression type as a protocol warning. Fixes part of bug
  13238. 22670; bugfix on 0.1.1.9-alpha.
  13239. - Downgrade "assigned_to_cpuworker failed" message to info-level
  13240. severity. In every case that can reach it, either a better warning
  13241. has already been logged, or no warning is warranted. Fixes bug
  13242. 22356; bugfix on 0.2.6.3-alpha.
  13243. - Demote a warn that was caused by libevent delays to info if
  13244. netflow padding is less than 4.5 seconds late, or to notice
  13245. if it is more (4.5 seconds is the amount of time that a netflow
  13246. record might be emitted after, if we chose the maximum timeout).
  13247. Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  13248. o Minor bugfixes (process behavior):
  13249. - When exiting because of an error, always exit with a nonzero exit
  13250. status. Previously, we would fail to report an error in our exit
  13251. status in cases related to __OwningControllerProcess failure,
  13252. lockfile contention, and Ed25519 key initialization. Fixes bug
  13253. 22720; bugfix on versions 0.2.1.6-alpha, 0.2.2.28-beta, and
  13254. 0.2.7.2-alpha respectively. Reported by "f55jwk4f"; patch
  13255. from "huyvq".
  13256. o Documentation:
  13257. - Add a manpage description for the key-pinning-journal file. Closes
  13258. ticket 22347.
  13259. - Correctly note that bandwidth accounting values are stored in the
  13260. state file, and the bw_accounting file is now obsolete. Closes
  13261. ticket 16082.
  13262. - Document more of the files in the Tor data directory, including
  13263. cached-extrainfo, secret_onion_key{,_ntor}.old, hidserv-stats,
  13264. approved-routers, sr-random, and diff-cache. Found while fixing
  13265. ticket 22347.
  13266. Changes in version 0.3.0.9 - 2017-06-29
  13267. Tor 0.3.0.9 fixes a path selection bug that would allow a client
  13268. to use a guard that was in the same network family as a chosen exit
  13269. relay. This is a security regression; all clients running earlier
  13270. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9 or
  13271. 0.3.1.4-alpha.
  13272. This release also backports several other bugfixes from the 0.3.1.x
  13273. series.
  13274. o Major bugfixes (path selection, security, backport from 0.3.1.4-alpha):
  13275. - When choosing which guard to use for a circuit, avoid the exit's
  13276. family along with the exit itself. Previously, the new guard
  13277. selection logic avoided the exit, but did not consider its family.
  13278. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  13279. 006 and CVE-2017-0377.
  13280. o Major bugfixes (entry guards, backport from 0.3.1.1-alpha):
  13281. - Don't block bootstrapping when a primary bridge is offline and we
  13282. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  13283. 21969; bugfix on 0.3.0.3-alpha.
  13284. o Major bugfixes (entry guards, backport from 0.3.1.4-alpha):
  13285. - When starting with an old consensus, do not add new entry guards
  13286. unless the consensus is "reasonably live" (under 1 day old). Fixes
  13287. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  13288. o Minor features (geoip):
  13289. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  13290. Country database.
  13291. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  13292. - Reject version numbers with non-numeric prefixes (such as +, -, or
  13293. whitespace). Disallowing whitespace prevents differential version
  13294. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  13295. and part of 21508; bugfix on 0.0.8pre1.
  13296. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  13297. - Permit the fchmod system call, to avoid crashing on startup when
  13298. starting with the seccomp2 sandbox and an unexpected set of
  13299. permissions on the data directory or its contents. Fixes bug
  13300. 22516; bugfix on 0.2.5.4-alpha.
  13301. o Minor bugfixes (defensive programming, backport from 0.3.1.4-alpha):
  13302. - Fix a memset() off the end of an array when packing cells. This
  13303. bug should be harmless in practice, since the corrupted bytes are
  13304. still in the same structure, and are always padding bytes,
  13305. ignored, or immediately overwritten, depending on compiler
  13306. behavior. Nevertheless, because the memset()'s purpose is to make
  13307. sure that any other cell-handling bugs can't expose bytes to the
  13308. network, we need to fix it. Fixes bug 22737; bugfix on
  13309. 0.2.4.11-alpha. Fixes CID 1401591.
  13310. Changes in version 0.3.1.3-alpha - 2017-06-08
  13311. Tor 0.3.1.3-alpha fixes a pair of bugs that would allow an attacker to
  13312. remotely crash a hidden service with an assertion failure. Anyone
  13313. running a hidden service should upgrade to this version, or to some
  13314. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  13315. Tor 0.3.1.3-alpha also includes fixes for several key management bugs
  13316. that sometimes made relays unreliable, as well as several other
  13317. bugfixes described below.
  13318. o Major bugfixes (hidden service, relay, security):
  13319. - Fix a remotely triggerable assertion failure when a hidden service
  13320. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  13321. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  13322. - Fix a remotely triggerable assertion failure caused by receiving a
  13323. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  13324. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  13325. on 0.2.2.1-alpha.
  13326. o Major bugfixes (relay, link handshake):
  13327. - When performing the v3 link handshake on a TLS connection, report
  13328. that we have the x509 certificate that we actually used on that
  13329. connection, even if we have changed certificates since that
  13330. connection was first opened. Previously, we would claim to have
  13331. used our most recent x509 link certificate, which would sometimes
  13332. make the link handshake fail. Fixes one case of bug 22460; bugfix
  13333. on 0.2.3.6-alpha.
  13334. o Major bugfixes (relays, key management):
  13335. - Regenerate link and authentication certificates whenever the key
  13336. that signs them changes; also, regenerate link certificates
  13337. whenever the signed key changes. Previously, these processes were
  13338. only weakly coupled, and we relays could (for minutes to hours)
  13339. wind up with an inconsistent set of keys and certificates, which
  13340. other relays would not accept. Fixes two cases of bug 22460;
  13341. bugfix on 0.3.0.1-alpha.
  13342. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  13343. send the certificate that matches the x509 certificate that we
  13344. used on the TLS connection. Previously, there was a race condition
  13345. if the TLS context rotated after we began the TLS handshake but
  13346. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  13347. on 0.3.0.1-alpha.
  13348. o Major bugfixes (torrc, crash):
  13349. - Fix a crash bug when using %include in torrc. Fixes bug 22417;
  13350. bugfix on 0.3.1.1-alpha. Patch by Daniel Pinto.
  13351. o Minor features (code style):
  13352. - Add "Falls through" comments to our codebase, in order to silence
  13353. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  13354. Stieger. Closes ticket 22446.
  13355. o Minor features (diagnostic):
  13356. - Add logging messages to try to diagnose a rare bug that seems to
  13357. generate RSA->Ed25519 cross-certificates dated in the 1970s. We
  13358. think this is happening because of incorrect system clocks, but
  13359. we'd like to know for certain. Diagnostic for bug 22466.
  13360. o Minor bugfixes (correctness):
  13361. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  13362. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  13363. o Minor bugfixes (directory protocol):
  13364. - Check for libzstd >= 1.1, because older versions lack the
  13365. necessary streaming API. Fixes bug 22413; bugfix on 0.3.1.1-alpha.
  13366. o Minor bugfixes (link handshake):
  13367. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  13368. months, and regenerate it when it is within one month of expiring.
  13369. Previously, we had generated this certificate at startup with a
  13370. ten-year lifetime, but that could lead to weird behavior when Tor
  13371. was started with a grossly inaccurate clock. Mitigates bug 22466;
  13372. mitigation on 0.3.0.1-alpha.
  13373. o Minor bugfixes (storage directories):
  13374. - Always check for underflows in the cached storage directory usage.
  13375. If the usage does underflow, re-calculate it. Also, avoid a
  13376. separate underflow when the usage is not known. Fixes bug 22424;
  13377. bugfix on 0.3.1.1-alpha.
  13378. o Minor bugfixes (unit tests):
  13379. - The unit tests now pass on systems where localhost is misconfigured
  13380. to some IPv4 address other than 127.0.0.1. Fixes bug 6298; bugfix
  13381. on 0.0.9pre2.
  13382. o Documentation:
  13383. - Clarify the manpage for the (deprecated) torify script. Closes
  13384. ticket 6892.
  13385. Changes in version 0.3.0.8 - 2017-06-08
  13386. Tor 0.3.0.8 fixes a pair of bugs that would allow an attacker to
  13387. remotely crash a hidden service with an assertion failure. Anyone
  13388. running a hidden service should upgrade to this version, or to some
  13389. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  13390. Tor 0.3.0.8 also includes fixes for several key management bugs
  13391. that sometimes made relays unreliable, as well as several other
  13392. bugfixes described below.
  13393. o Major bugfixes (hidden service, relay, security, backport
  13394. from 0.3.1.3-alpha):
  13395. - Fix a remotely triggerable assertion failure when a hidden service
  13396. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  13397. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  13398. - Fix a remotely triggerable assertion failure caused by receiving a
  13399. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  13400. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  13401. on 0.2.2.1-alpha.
  13402. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  13403. - When performing the v3 link handshake on a TLS connection, report
  13404. that we have the x509 certificate that we actually used on that
  13405. connection, even if we have changed certificates since that
  13406. connection was first opened. Previously, we would claim to have
  13407. used our most recent x509 link certificate, which would sometimes
  13408. make the link handshake fail. Fixes one case of bug 22460; bugfix
  13409. on 0.2.3.6-alpha.
  13410. o Major bugfixes (relays, key management, backport from 0.3.1.3-alpha):
  13411. - Regenerate link and authentication certificates whenever the key
  13412. that signs them changes; also, regenerate link certificates
  13413. whenever the signed key changes. Previously, these processes were
  13414. only weakly coupled, and we relays could (for minutes to hours)
  13415. wind up with an inconsistent set of keys and certificates, which
  13416. other relays would not accept. Fixes two cases of bug 22460;
  13417. bugfix on 0.3.0.1-alpha.
  13418. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  13419. send the certificate that matches the x509 certificate that we
  13420. used on the TLS connection. Previously, there was a race condition
  13421. if the TLS context rotated after we began the TLS handshake but
  13422. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  13423. on 0.3.0.1-alpha.
  13424. o Major bugfixes (hidden service v3, backport from 0.3.1.1-alpha):
  13425. - Stop rejecting v3 hidden service descriptors because their size
  13426. did not match an old padding rule. Fixes bug 22447; bugfix on
  13427. 0.3.0.1-alpha.
  13428. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  13429. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  13430. December 2016 (of which ~126 were still functional) with a list of
  13431. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  13432. 2017. Resolves ticket 21564.
  13433. o Minor bugfixes (configuration, backport from 0.3.1.1-alpha):
  13434. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  13435. bug 22252; bugfix on 0.2.9.3-alpha.
  13436. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  13437. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  13438. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  13439. o Minor bugfixes (link handshake, backport from 0.3.1.3-alpha):
  13440. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  13441. months, and regenerate it when it is within one month of expiring.
  13442. Previously, we had generated this certificate at startup with a
  13443. ten-year lifetime, but that could lead to weird behavior when Tor
  13444. was started with a grossly inaccurate clock. Mitigates bug 22466;
  13445. mitigation on 0.3.0.1-alpha.
  13446. o Minor bugfixes (memory leak, directory authority, backport from
  13447. 0.3.1.2-alpha):
  13448. - When directory authorities reject a router descriptor due to
  13449. keypinning, free the router descriptor rather than leaking the
  13450. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  13451. Changes in version 0.2.9.11 - 2017-06-08
  13452. Tor 0.2.9.11 backports a fix for a bug that would allow an attacker to
  13453. remotely crash a hidden service with an assertion failure. Anyone
  13454. running a hidden service should upgrade to this version, or to some
  13455. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  13456. are not affected by TROVE-2017-004.)
  13457. Tor 0.2.9.11 also backports fixes for several key management bugs
  13458. that sometimes made relays unreliable, as well as several other
  13459. bugfixes described below.
  13460. o Major bugfixes (hidden service, relay, security, backport
  13461. from 0.3.1.3-alpha):
  13462. - Fix a remotely triggerable assertion failure caused by receiving a
  13463. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  13464. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  13465. on 0.2.2.1-alpha.
  13466. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  13467. - When performing the v3 link handshake on a TLS connection, report
  13468. that we have the x509 certificate that we actually used on that
  13469. connection, even if we have changed certificates since that
  13470. connection was first opened. Previously, we would claim to have
  13471. used our most recent x509 link certificate, which would sometimes
  13472. make the link handshake fail. Fixes one case of bug 22460; bugfix
  13473. on 0.2.3.6-alpha.
  13474. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  13475. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  13476. December 2016 (of which ~126 were still functional) with a list of
  13477. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  13478. 2017. Resolves ticket 21564.
  13479. o Minor features (future-proofing, backport from 0.3.0.7):
  13480. - Tor no longer refuses to download microdescriptors or descriptors if
  13481. they are listed as "published in the future". This change will
  13482. eventually allow us to stop listing meaningful "published" dates
  13483. in microdescriptor consensuses, and thereby allow us to reduce the
  13484. resources required to download consensus diffs by over 50%.
  13485. Implements part of ticket 21642; implements part of proposal 275.
  13486. o Minor features (directory authorities, backport from 0.3.0.4-rc)
  13487. - Directory authorities now reject relays running versions
  13488. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  13489. suffer from bug 20499 and don't keep their consensus cache
  13490. up-to-date. Resolves ticket 20509.
  13491. o Minor features (geoip):
  13492. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  13493. Country database.
  13494. o Minor bugfixes (control port, backport from 0.3.0.6):
  13495. - The GETINFO extra-info/digest/<digest> command was broken because
  13496. of a wrong base16 decode return value check, introduced when
  13497. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  13498. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  13499. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  13500. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  13501. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.0.7):
  13502. - The getpid() system call is now permitted under the Linux seccomp2
  13503. sandbox, to avoid crashing with versions of OpenSSL (and other
  13504. libraries) that attempt to learn the process's PID by using the
  13505. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  13506. on 0.2.5.1-alpha.
  13507. o Minor bugfixes (memory leak, directory authority, backport
  13508. from 0.3.1.2-alpha):
  13509. - When directory authorities reject a router descriptor due to
  13510. keypinning, free the router descriptor rather than leaking the
  13511. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  13512. Changes in version 0.2.8.14 - 2017-06-08
  13513. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  13514. remotely crash a hidden service with an assertion failure. Anyone
  13515. running a hidden service should upgrade to this version, or to some
  13516. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  13517. are not affected by TROVE-2017-004.)
  13518. o Major bugfixes (hidden service, relay, security):
  13519. - Fix a remotely triggerable assertion failure caused by receiving a
  13520. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  13521. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  13522. on 0.2.2.1-alpha.
  13523. o Minor features (geoip):
  13524. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  13525. Country database.
  13526. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  13527. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  13528. December 2016 (of which ~126 were still functional) with a list of
  13529. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  13530. 2017. Resolves ticket 21564.
  13531. o Minor bugfixes (correctness):
  13532. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  13533. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  13534. Changes in version 0.2.7.8 - 2017-06-08
  13535. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  13536. remotely crash a hidden service with an assertion failure. Anyone
  13537. running a hidden service should upgrade to this version, or to some
  13538. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  13539. are not affected by TROVE-2017-004.)
  13540. o Major bugfixes (hidden service, relay, security):
  13541. - Fix a remotely triggerable assertion failure caused by receiving a
  13542. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  13543. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  13544. on 0.2.2.1-alpha.
  13545. o Minor features (geoip):
  13546. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  13547. Country database.
  13548. o Minor bugfixes (correctness):
  13549. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  13550. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  13551. Changes in version 0.2.6.12 - 2017-06-08
  13552. Tor 0.2.6.12 backports a fix for a bug that would allow an attacker to
  13553. remotely crash a hidden service with an assertion failure. Anyone
  13554. running a hidden service should upgrade to this version, or to some
  13555. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  13556. are not affected by TROVE-2017-004.)
  13557. o Major bugfixes (hidden service, relay, security):
  13558. - Fix a remotely triggerable assertion failure caused by receiving a
  13559. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  13560. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  13561. on 0.2.2.1-alpha.
  13562. o Minor features (geoip):
  13563. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  13564. Country database.
  13565. o Minor bugfixes (correctness):
  13566. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  13567. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  13568. Changes in version 0.2.5.14 - 2017-06-08
  13569. Tor 0.2.5.14 backports a fix for a bug that would allow an attacker to
  13570. remotely crash a hidden service with an assertion failure. Anyone
  13571. running a hidden service should upgrade to this version, or to some
  13572. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  13573. are not affected by TROVE-2017-004.)
  13574. o Major bugfixes (hidden service, relay, security):
  13575. - Fix a remotely triggerable assertion failure caused by receiving a
  13576. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  13577. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  13578. on 0.2.2.1-alpha.
  13579. o Minor features (geoip):
  13580. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  13581. Country database.
  13582. o Minor bugfixes (correctness):
  13583. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  13584. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  13585. Changes in version 0.2.4.29 - 2017-06-08
  13586. Tor 0.2.4.29 backports a fix for a bug that would allow an attacker to
  13587. remotely crash a hidden service with an assertion failure. Anyone
  13588. running a hidden service should upgrade to this version, or to some
  13589. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  13590. are not affected by TROVE-2017-004.)
  13591. o Major bugfixes (hidden service, relay, security):
  13592. - Fix a remotely triggerable assertion failure caused by receiving a
  13593. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  13594. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  13595. on 0.2.2.1-alpha.
  13596. o Minor features (geoip):
  13597. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  13598. Country database.
  13599. o Minor bugfixes (correctness):
  13600. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  13601. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  13602. Changes in version 0.3.1.2-alpha - 2017-05-26
  13603. Tor 0.3.1.2-alpha is the second release in the 0.3.1.x series. It
  13604. fixes a few bugs found while testing 0.3.1.1-alpha, including a
  13605. memory corruption bug that affected relay stability.
  13606. o Major bugfixes (crash, relay):
  13607. - Fix a memory-corruption bug in relays that set MyFamily.
  13608. Previously, they would double-free MyFamily elements when making
  13609. the next descriptor or when changing their configuration. Fixes
  13610. bug 22368; bugfix on 0.3.1.1-alpha.
  13611. o Minor bugfixes (logging):
  13612. - Log a better message when a directory authority replies to an
  13613. upload with an unexpected status code. Fixes bug 11121; bugfix
  13614. on 0.1.0.1-rc.
  13615. o Minor bugfixes (memory leak, directory authority):
  13616. - When directory authorities reject a router descriptor due to
  13617. keypinning, free the router descriptor rather than leaking the
  13618. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  13619. Changes in version 0.3.1.1-alpha - 2017-05-22
  13620. Tor 0.3.1.1-alpha is the first release in the 0.3.1.x series. It
  13621. reduces the bandwidth usage for Tor's directory protocol, adds some
  13622. basic padding to resist netflow-based traffic analysis and to serve as
  13623. the basis of other padding in the future, and adds rust support to the
  13624. build system.
  13625. It also contains numerous other small features and improvements to
  13626. security, correctness, and performance.
  13627. Below are the changes since 0.3.0.7.
  13628. o Major features (directory protocol):
  13629. - Tor relays and authorities can now serve clients an abbreviated
  13630. version of the consensus document, containing only the changes
  13631. since an older consensus document that the client holds. Clients
  13632. now request these documents when available. When both client and
  13633. server use this new protocol, they will use far less bandwidth (up
  13634. to 94% less) to keep the client's consensus up-to-date. Implements
  13635. proposal 140; closes ticket 13339. Based on work by Daniel Martí.
  13636. - Tor can now compress directory traffic with lzma or with zstd
  13637. compression algorithms, which can deliver better bandwidth
  13638. performance. Because lzma is computationally expensive, it's only
  13639. used for documents that can be compressed once and served many
  13640. times. Support for these algorithms requires that tor is built
  13641. with the libzstd and/or liblzma libraries available. Implements
  13642. proposal 278; closes ticket 21662.
  13643. - Relays now perform the more expensive compression operations, and
  13644. consensus diff generation, in worker threads. This separation
  13645. avoids delaying the main thread when a new consensus arrives.
  13646. o Major features (experimental):
  13647. - Tor can now build modules written in Rust. To turn this on, pass
  13648. the "--enable-rust" flag to the configure script. It's not time to
  13649. get excited yet: currently, there is no actual Rust functionality
  13650. beyond some simple glue code, and a notice at startup to tell you
  13651. that Rust is running. Still, we hope that programmers and
  13652. packagers will try building Tor with Rust support, so that we can
  13653. find issues and solve portability problems. Closes ticket 22106.
  13654. o Major features (traffic analysis resistance):
  13655. - Connections between clients and relays now send a padding cell in
  13656. each direction every 1.5 to 9.5 seconds (tunable via consensus
  13657. parameters). This padding will not resist specialized
  13658. eavesdroppers, but it should be enough to make many ISPs' routine
  13659. network flow logging less useful in traffic analysis against
  13660. Tor users.
  13661. Padding is negotiated using Tor's link protocol, so both relays
  13662. and clients must upgrade for this to take effect. Clients may
  13663. still send padding despite the relay's version by setting
  13664. ConnectionPadding 1 in torrc, and may disable padding by setting
  13665. ConnectionPadding 0 in torrc. Padding may be minimized for mobile
  13666. users with the torrc option ReducedConnectionPadding. Implements
  13667. Proposal 251 and Section 2 of Proposal 254; closes ticket 16861.
  13668. - Relays will publish 24 hour totals of padding and non-padding cell
  13669. counts to their extra-info descriptors, unless PaddingStatistics 0
  13670. is set in torrc. These 24 hour totals are also rounded to
  13671. multiples of 10000.
  13672. o Major bugfixes (connection usage):
  13673. - We use NETINFO cells to try to determine if both relays involved
  13674. in a connection will agree on the canonical status of that
  13675. connection. We prefer the connections where this is the case for
  13676. extend cells, and try to close connections where relays disagree
  13677. on their canonical status early. Also, we now prefer the oldest
  13678. valid connection for extend cells. These two changes should reduce
  13679. the number of long-term connections that are kept open between
  13680. relays. Fixes bug 17604; bugfix on 0.2.5.5-alpha.
  13681. - Relays now log hourly statistics (look for
  13682. "channel_check_for_duplicates" lines) on the total number of
  13683. connections to other relays. If the number of connections per
  13684. relay is unexpectedly large, this log message is at notice level.
  13685. Otherwise it is at info.
  13686. o Major bugfixes (entry guards):
  13687. - Don't block bootstrapping when a primary bridge is offline and we
  13688. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  13689. 21969; bugfix on 0.3.0.3-alpha.
  13690. o Major bugfixes (linux TPROXY support):
  13691. - Fix a typo that had prevented TPROXY-based transparent proxying
  13692. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  13693. Patch from "d4fq0fQAgoJ".
  13694. o Minor features (security, windows):
  13695. - Enable a couple of pieces of Windows hardening: one
  13696. (HeapEnableTerminationOnCorruption) that has been on-by-default
  13697. since Windows 8, and unavailable before Windows 7; and one
  13698. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  13699. affect us, but shouldn't do any harm. Closes ticket 21953.
  13700. o Minor features (config options):
  13701. - Allow "%include" directives in torrc configuration files. These
  13702. directives import the settings from other files, or from all the
  13703. files in a directory. Closes ticket 1922. Code by Daniel Pinto.
  13704. - Make SAVECONF return an error when overwriting a torrc that has
  13705. includes. Using SAVECONF with the FORCE option will allow it to
  13706. overwrite torrc even if includes are used. Related to ticket 1922.
  13707. - Add "GETINFO config-can-saveconf" to tell controllers if SAVECONF
  13708. will work without the FORCE option. Related to ticket 1922.
  13709. o Minor features (controller):
  13710. - Warn the first time that a controller requests data in the long-
  13711. deprecated 'GETINFO network-status' format. Closes ticket 21703.
  13712. o Minor features (defaults):
  13713. - The default value for UseCreateFast is now 0: clients which
  13714. haven't yet received a consensus document will now use a proper
  13715. ntor handshake to talk to their directory servers whenever they
  13716. can. Closes ticket 21407.
  13717. - Onion key rotation and expiry intervals are now defined as a
  13718. network consensus parameter, per proposal 274. The default
  13719. lifetime of an onion key is increased from 7 to 28 days. Old onion
  13720. keys will expire after 7 days by default. This change will make
  13721. consensus diffs much smaller, and save significant bandwidth.
  13722. Closes ticket 21641.
  13723. o Minor features (fallback directory list):
  13724. - Update the fallback directory mirror whitelist and blacklist based
  13725. on operator emails. Closes task 21121.
  13726. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  13727. December 2016 (of which ~126 were still functional) with a list of
  13728. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  13729. 2017. Resolves ticket 21564.
  13730. o Minor features (hidden services, logging):
  13731. - Log a message when a hidden service descriptor has fewer
  13732. introduction points than specified in
  13733. HiddenServiceNumIntroductionPoints. Closes tickets 21598.
  13734. - Log a message when a hidden service reaches its introduction point
  13735. circuit limit, and when that limit is reset. Follow up to ticket
  13736. 21594; closes ticket 21622.
  13737. - Warn user if multiple entries in EntryNodes and at least one
  13738. HiddenService are used together. Pinning EntryNodes along with a
  13739. hidden service can be possibly harmful; for instance see ticket
  13740. 14917 or 21155. Closes ticket 21155.
  13741. o Minor features (linux seccomp2 sandbox):
  13742. - We now have a document storage backend compatible with the Linux
  13743. seccomp2 sandbox. This backend is used for consensus documents and
  13744. diffs between them; in the long term, we'd like to use it for
  13745. unparseable directory material too. Closes ticket 21645
  13746. - Increase the maximum allowed size passed to mprotect(PROT_WRITE)
  13747. from 1MB to 16MB. This was necessary with the glibc allocator in
  13748. order to allow worker threads to allocate more memory -- which in
  13749. turn is necessary because of our new use of worker threads for
  13750. compression. Closes ticket 22096.
  13751. o Minor features (logging):
  13752. - Log files are no longer created world-readable by default.
  13753. (Previously, most distributors would store the logs in a non-
  13754. world-readable location to prevent inappropriate access. This
  13755. change is an extra precaution.) Closes ticket 21729; patch
  13756. from toralf.
  13757. o Minor features (performance):
  13758. - Our Keccak (SHA-3) implementation now accesses memory more
  13759. efficiently, especially on little-endian systems. Closes
  13760. ticket 21737.
  13761. - Add an O(1) implementation of channel_find_by_global_id(), to
  13762. speed some controller functions.
  13763. o Minor features (relay, configuration):
  13764. - The MyFamily option may now be repeated as many times as desired,
  13765. for relays that want to configure large families. Closes ticket
  13766. 4998; patch by Daniel Pinto.
  13767. o Minor features (safety):
  13768. - Add an explicit check to extrainfo_parse_entry_from_string() for
  13769. NULL inputs. We don't believe this can actually happen, but it may
  13770. help silence a warning from the Clang analyzer. Closes
  13771. ticket 21496.
  13772. o Minor features (testing):
  13773. - Add a "--disable-memory-sentinels" feature to help with fuzzing.
  13774. When Tor is compiled with this option, we disable a number of
  13775. redundant memory-safety failsafes that are intended to stop bugs
  13776. from becoming security issues. This makes it easier to hunt for
  13777. bugs that would be security issues without the failsafes turned
  13778. on. Closes ticket 21439.
  13779. - Add a general event-tracing instrumentation support to Tor. This
  13780. subsystem will enable developers and researchers to add fine-
  13781. grained instrumentation to their Tor instances, for use when
  13782. examining Tor network performance issues. There are no trace
  13783. events yet, and event-tracing is off by default unless enabled at
  13784. compile time. Implements ticket 13802.
  13785. - Improve our version parsing tests: add tests for typical version
  13786. components, add tests for invalid versions, including numeric
  13787. range and non-numeric prefixes. Unit tests 21278, 21450, and
  13788. 21507. Partially implements 21470.
  13789. o Minor bugfixes (bandwidth accounting):
  13790. - Roll over monthly accounting at the configured hour and minute,
  13791. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  13792. Found by Andrey Karpov with PVS-Studio.
  13793. o Minor bugfixes (code correctness):
  13794. - Accurately identify client connections by their lack of peer
  13795. authentication. This means that we bail out earlier if asked to
  13796. extend to a client. Follow-up to 21407. Fixes bug 21406; bugfix
  13797. on 0.2.4.23.
  13798. o Minor bugfixes (configuration):
  13799. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  13800. bug 22252; bugfix on 0.2.9.3-alpha.
  13801. o Minor bugfixes (connection lifespan):
  13802. - Allow more control over how long TLS connections are kept open:
  13803. unify CircuitIdleTimeout and PredictedPortsRelevanceTime into a
  13804. single option called CircuitsAvailableTimeout. Also, allow the
  13805. consensus to control the default values for both this preference
  13806. and the lifespan of relay-to-relay connections. Fixes bug 17592;
  13807. bugfix on 0.2.5.5-alpha.
  13808. - Increase the initial circuit build timeout testing frequency, to
  13809. help ensure that ReducedConnectionPadding clients finish learning
  13810. a timeout before their orconn would expire. The initial testing
  13811. rate was set back in the days of TAP and before the Tor Browser
  13812. updater, when we had to be much more careful about new clients
  13813. making lots of circuits. With this change, a circuit build timeout
  13814. is learned in about 15-20 minutes, instead of 100-120 minutes.
  13815. o Minor bugfixes (controller):
  13816. - GETINFO onions/current and onions/detached no longer respond with
  13817. 551 on empty lists. Fixes bug 21329; bugfix on 0.2.7.1-alpha.
  13818. - Trigger HS descriptor events on the control port when the client
  13819. fails to pick a hidden service directory for a hidden service.
  13820. This can happen if all the hidden service directories are in
  13821. ExcludeNodes, or they have all been queried within the last 15
  13822. minutes. Fixes bug 22042; bugfix on 0.2.5.2-alpha.
  13823. o Minor bugfixes (directory authority):
  13824. - When rejecting a router descriptor for running an obsolete version
  13825. of Tor without ntor support, warn about the obsolete tor version,
  13826. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  13827. - Prevent the shared randomness subsystem from asserting when
  13828. initialized by a bridge authority with an incomplete configuration
  13829. file. Fixes bug 21586; bugfix on 0.2.9.8.
  13830. o Minor bugfixes (exit-side DNS):
  13831. - Fix an untriggerable assertion that checked the output of a
  13832. libevent DNS error, so that the assertion actually behaves as
  13833. expected. Fixes bug 22244; bugfix on 0.2.0.20-rc. Found by Andrey
  13834. Karpov using PVS-Studio.
  13835. o Minor bugfixes (fallback directories):
  13836. - Make the usage example in updateFallbackDirs.py actually work, and
  13837. explain what it does. Fixes bug 22270; bugfix on 0.3.0.3-alpha.
  13838. - Decrease the guard flag average required to be a fallback. This
  13839. allows us to keep relays that have their guard flag removed when
  13840. they restart. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  13841. - Decrease the minimum number of fallbacks to 100. Fixes bug 20913;
  13842. bugfix on 0.2.8.1-alpha.
  13843. - Make sure fallback directory mirrors have the same address, port,
  13844. and relay identity key for at least 30 days before they are
  13845. selected. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  13846. o Minor bugfixes (hidden services):
  13847. - Stop printing a cryptic warning when a hidden service gets a
  13848. request to connect to a virtual port that it hasn't configured.
  13849. Fixes bug 16706; bugfix on 0.2.6.3-alpha.
  13850. - Simplify hidden service descriptor creation by using an existing
  13851. flag to check if an introduction point is established. Fixes bug
  13852. 21599; bugfix on 0.2.7.2-alpha.
  13853. o Minor bugfixes (memory leak):
  13854. - Fix a small memory leak at exit from the backtrace handler code.
  13855. Fixes bug 21788; bugfix on 0.2.5.2-alpha. Patch from Daniel Pinto.
  13856. o Minor bugfixes (protocol, logging):
  13857. - Downgrade a log statement about unexpected relay cells from "bug"
  13858. to "protocol warning", because there is at least one use case
  13859. where it can be triggered by a buggy tor implementation. Fixes bug
  13860. 21293; bugfix on 0.1.1.14-alpha.
  13861. o Minor bugfixes (testing):
  13862. - Use unbuffered I/O for utility functions around the
  13863. process_handle_t type. This fixes unit test failures reported on
  13864. OpenBSD and FreeBSD. Fixes bug 21654; bugfix on 0.2.3.1-alpha.
  13865. - Make display of captured unit test log messages consistent. Fixes
  13866. bug 21510; bugfix on 0.2.9.3-alpha.
  13867. - Make test-network.sh always call chutney's test-network.sh.
  13868. Previously, this only worked on systems which had bash installed,
  13869. due to some bash-specific code in the script. Fixes bug 19699;
  13870. bugfix on 0.3.0.4-rc. Follow-up to ticket 21581.
  13871. o Minor bugfixes (voting consistency):
  13872. - Reject version numbers with non-numeric prefixes (such as +, -, or
  13873. whitespace). Disallowing whitespace prevents differential version
  13874. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  13875. and part of 21508; bugfix on 0.0.8pre1.
  13876. o Minor bugfixes (windows, relay):
  13877. - Resolve "Failure from drain_fd: No error" warnings on Windows
  13878. relays. Fixes bug 21540; bugfix on 0.2.6.3-alpha.
  13879. o Code simplification and refactoring:
  13880. - Break up the 630-line function connection_dir_client_reached_eof()
  13881. into a dozen smaller functions. This change should help
  13882. maintainability and readability of the client directory code.
  13883. - Isolate our use of the openssl headers so that they are only
  13884. included from our crypto wrapper modules, and from tests that
  13885. examine those modules' internals. Closes ticket 21841.
  13886. - Simplify our API to launch directory requests, making it more
  13887. extensible and less error-prone. Now it's easier to add extra
  13888. headers to directory requests. Closes ticket 21646.
  13889. - Our base64 decoding functions no longer overestimate the output
  13890. space that they need when parsing unpadded inputs. Closes
  13891. ticket 17868.
  13892. - Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value.
  13893. Resolves ticket 22213.
  13894. - The logic that directory caches use to spool request to clients,
  13895. serving them one part at a time so as not to allocate too much
  13896. memory, has been refactored for consistency. Previously there was
  13897. a separate spooling implementation per type of spoolable data. Now
  13898. there is one common spooling implementation, with extensible data
  13899. types. Closes ticket 21651.
  13900. - Tor's compression module now supports multiple backends. Part of
  13901. the implementation for proposal 278; closes ticket 21663.
  13902. o Documentation:
  13903. - Clarify the behavior of the KeepAliveIsolateSOCKSAuth sub-option.
  13904. Closes ticket 21873.
  13905. - Correct documentation about the default DataDirectory value.
  13906. Closes ticket 21151.
  13907. - Document the default behavior of NumEntryGuards and
  13908. NumDirectoryGuards correctly. Fixes bug 21715; bugfix
  13909. on 0.3.0.1-alpha.
  13910. - Document key=value pluggable transport arguments for Bridge lines
  13911. in torrc. Fixes bug 20341; bugfix on 0.2.5.1-alpha.
  13912. - Note that bandwidth-limiting options don't affect TCP headers or
  13913. DNS. Closes ticket 17170.
  13914. o Removed features (configuration options, all in ticket 22060):
  13915. - These configuration options are now marked Obsolete, and no longer
  13916. have any effect: AllowInvalidNodes, AllowSingleHopCircuits,
  13917. AllowSingleHopExits, ExcludeSingleHopRelays, FastFirstHopPK,
  13918. TLSECGroup, WarnUnsafeSocks. They were first marked as deprecated
  13919. in 0.2.9.2-alpha and have now been removed. The previous default
  13920. behavior is now always chosen; the previous (less secure) non-
  13921. default behavior is now unavailable.
  13922. - CloseHSClientCircuitsImmediatelyOnTimeout and
  13923. CloseHSServiceRendCircuitsImmediatelyOnTimeout were deprecated in
  13924. 0.2.9.2-alpha and now have been removed. HS circuits never close
  13925. on circuit build timeout; they have a longer timeout period.
  13926. - {Control,DNS,Dir,Socks,Trans,NATD,OR}ListenAddress were deprecated
  13927. in 0.2.9.2-alpha and now have been removed. Use the ORPort option
  13928. (and others) to configure listen-only and advertise-only addresses.
  13929. o Removed features (tools):
  13930. - We've removed the tor-checkkey tool from src/tools. Long ago, we
  13931. used it to help people detect RSA keys that were generated by
  13932. versions of Debian affected by CVE-2008-0166. But those keys have
  13933. been out of circulation for ages, and this tool is no longer
  13934. required. Closes ticket 21842.
  13935. Changes in version 0.3.0.7 - 2017-05-15
  13936. Tor 0.3.0.7 fixes a medium-severity security bug in earlier versions
  13937. of Tor 0.3.0.x, where an attacker could cause a Tor relay process
  13938. to exit. Relays running earlier versions of Tor 0.3.0.x should upgrade;
  13939. clients are not affected.
  13940. o Major bugfixes (hidden service directory, security):
  13941. - Fix an assertion failure in the hidden service directory code, which
  13942. could be used by an attacker to remotely cause a Tor relay process to
  13943. exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
  13944. should upgrade. This security issue is tracked as TROVE-2017-002.
  13945. Fixes bug 22246; bugfix on 0.3.0.1-alpha.
  13946. o Minor features:
  13947. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  13948. Country database.
  13949. o Minor features (future-proofing):
  13950. - Tor no longer refuses to download microdescriptors or descriptors
  13951. if they are listed as "published in the future". This change will
  13952. eventually allow us to stop listing meaningful "published" dates
  13953. in microdescriptor consensuses, and thereby allow us to reduce the
  13954. resources required to download consensus diffs by over 50%.
  13955. Implements part of ticket 21642; implements part of proposal 275.
  13956. o Minor bugfixes (Linux seccomp2 sandbox):
  13957. - The getpid() system call is now permitted under the Linux seccomp2
  13958. sandbox, to avoid crashing with versions of OpenSSL (and other
  13959. libraries) that attempt to learn the process's PID by using the
  13960. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  13961. on 0.2.5.1-alpha.
  13962. Changes in version 0.3.0.6 - 2017-04-26
  13963. Tor 0.3.0.6 is the first stable release of the Tor 0.3.0 series.
  13964. With the 0.3.0 series, clients and relays now use Ed25519 keys to
  13965. authenticate their link connections to relays, rather than the old
  13966. RSA1024 keys that they used before. (Circuit crypto has been
  13967. Curve25519-authenticated since 0.2.4.8-alpha.) We have also replaced
  13968. the guard selection and replacement algorithm to behave more robustly
  13969. in the presence of unreliable networks, and to resist guard-
  13970. capture attacks.
  13971. This series also includes numerous other small features and bugfixes,
  13972. along with more groundwork for the upcoming hidden-services revamp.
  13973. Per our stable release policy, we plan to support the Tor 0.3.0
  13974. release series for at least the next nine months, or for three months
  13975. after the first stable release of the 0.3.1 series: whichever is
  13976. longer. If you need a release with long-term support, we recommend
  13977. that you stay with the 0.2.9 series.
  13978. Below are the changes since 0.3.0.5-rc. For a list of all changes
  13979. since 0.2.9, see the ReleaseNotes file.
  13980. o Minor features (geoip):
  13981. - Update geoip and geoip6 to the April 4 2017 Maxmind GeoLite2
  13982. Country database.
  13983. o Minor bugfixes (control port):
  13984. - The GETINFO extra-info/digest/<digest> command was broken because
  13985. of a wrong base16 decode return value check, introduced when
  13986. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  13987. o Minor bugfixes (crash prevention):
  13988. - Fix a (currently untriggerable, but potentially dangerous) crash
  13989. bug when base32-encoding inputs whose sizes are not a multiple of
  13990. 5. Fixes bug 21894; bugfix on 0.2.9.1-alpha.
  13991. Changes in version 0.3.0.5-rc - 2017-04-05
  13992. Tor 0.3.0.5-rc fixes a few remaining bugs, large and small, in the
  13993. 0.3.0 release series.
  13994. This is the second release candidate in the Tor 0.3.0 series, and has
  13995. much fewer changes than the first. If we find no new bugs or
  13996. regressions here, the first stable 0.3.0 release will be nearly
  13997. identical to it.
  13998. o Major bugfixes (crash, directory connections):
  13999. - Fix a rare crash when sending a begin cell on a circuit whose
  14000. linked directory connection had already been closed. Fixes bug
  14001. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  14002. o Major bugfixes (guard selection):
  14003. - Fix a guard selection bug where Tor would refuse to bootstrap in
  14004. some cases if the user swapped a bridge for another bridge in
  14005. their configuration file. Fixes bug 21771; bugfix on 0.3.0.1-alpha.
  14006. Reported by "torvlnt33r".
  14007. o Minor features (geoip):
  14008. - Update geoip and geoip6 to the March 7 2017 Maxmind GeoLite2
  14009. Country database.
  14010. o Minor bugfix (compilation):
  14011. - Fix a warning when compiling hs_service.c. Previously, it had no
  14012. exported symbols when compiled for libor.a, resulting in a
  14013. compilation warning from clang. Fixes bug 21825; bugfix
  14014. on 0.3.0.1-alpha.
  14015. o Minor bugfixes (hidden services):
  14016. - Make hidden services check for failed intro point connections,
  14017. even when they have exceeded their intro point creation limit.
  14018. Fixes bug 21596; bugfix on 0.2.7.2-alpha. Reported by Alec Muffett.
  14019. - Make hidden services with 8 to 10 introduction points check for
  14020. failed circuits immediately after startup. Previously, they would
  14021. wait for 5 minutes before performing their first checks. Fixes bug
  14022. 21594; bugfix on 0.2.3.9-alpha. Reported by Alec Muffett.
  14023. o Minor bugfixes (memory leaks):
  14024. - Fix a memory leak when using GETCONF on a port option. Fixes bug
  14025. 21682; bugfix on 0.3.0.3-alpha.
  14026. o Minor bugfixes (relay):
  14027. - Avoid a double-marked-circuit warning that could happen when we
  14028. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  14029. on 0.1.0.1-rc.
  14030. o Minor bugfixes (tests):
  14031. - Run the entry_guard_parse_from_state_full() test with the time set
  14032. to a specific date. (The guard state that this test was parsing
  14033. contained guards that had expired since the test was first
  14034. written.) Fixes bug 21799; bugfix on 0.3.0.1-alpha.
  14035. o Documentation:
  14036. - Update the description of the directory server options in the
  14037. manual page, to clarify that a relay no longer needs to set
  14038. DirPort in order to be a directory cache. Closes ticket 21720.
  14039. Changes in version 0.2.8.13 - 2017-03-03
  14040. Tor 0.2.8.13 backports a security fix from later Tor
  14041. releases. Anybody running Tor 0.2.8.12 or earlier should upgrade to this
  14042. this release, if for some reason they cannot upgrade to a later
  14043. release series, and if they build Tor with the --enable-expensive-hardening
  14044. option.
  14045. Note that support for Tor 0.2.8.x is ending next year: we will not issue
  14046. any fixes for the Tor 0.2.8.x series after 1 Jan 2018. If you need
  14047. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  14048. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  14049. - Fix an integer underflow bug when comparing malformed Tor
  14050. versions. This bug could crash Tor when built with
  14051. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  14052. 0.2.9.8, which were built with -ftrapv by default. In other cases
  14053. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  14054. on 0.0.8pre1. Found by OSS-Fuzz.
  14055. o Minor features (geoip):
  14056. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  14057. Country database.
  14058. Changes in version 0.2.7.7 - 2017-03-03
  14059. Tor 0.2.7.7 backports a number of security fixes from later Tor
  14060. releases. Anybody running Tor 0.2.7.6 or earlier should upgrade to
  14061. this release, if for some reason they cannot upgrade to a later
  14062. release series.
  14063. Note that support for Tor 0.2.7.x is ending this year: we will not issue
  14064. any fixes for the Tor 0.2.7.x series after 1 August 2017. If you need
  14065. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  14066. o Directory authority changes (backport from 0.2.8.5-rc):
  14067. - Urras is no longer a directory authority. Closes ticket 19271.
  14068. o Directory authority changes (backport from 0.2.9.2-alpha):
  14069. - The "Tonga" bridge authority has been retired; the new bridge
  14070. authority is "Bifroest". Closes tickets 19728 and 19690.
  14071. o Directory authority key updates (backport from 0.2.8.1-alpha):
  14072. - Update the V3 identity key for the dannenberg directory authority:
  14073. it was changed on 18 November 2015. Closes task 17906. Patch
  14074. by "teor".
  14075. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  14076. - Fix a bug in parsing that could cause clients to read a single
  14077. byte past the end of an allocated region. This bug could be used
  14078. to cause hardened clients (built with --enable-expensive-hardening)
  14079. to crash if they tried to visit a hostile hidden service. Non-
  14080. hardened clients are only affected depending on the details of
  14081. their platform's memory allocator. Fixes bug 21018; bugfix on
  14082. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  14083. 2016-12-002 and as CVE-2016-1254.
  14084. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  14085. - Stop a crash that could occur when a client running with DNSPort
  14086. received a query with multiple address types, and the first
  14087. address type was not supported. Found and fixed by Scott Dial.
  14088. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  14089. - Prevent a class of security bugs caused by treating the contents
  14090. of a buffer chunk as if they were a NUL-terminated string. At
  14091. least one such bug seems to be present in all currently used
  14092. versions of Tor, and would allow an attacker to remotely crash
  14093. most Tor instances, especially those compiled with extra compiler
  14094. hardening. With this defense in place, such bugs can't crash Tor,
  14095. though we should still fix them as they occur. Closes ticket
  14096. 20384 (TROVE-2016-10-001).
  14097. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  14098. - Avoid a difficult-to-trigger heap corruption attack when extending
  14099. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  14100. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  14101. Reported by Guido Vranken.
  14102. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  14103. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  14104. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  14105. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  14106. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  14107. pointer to the previous (uninitialized) key value. The impact here
  14108. should be limited to a difficult-to-trigger crash, if OpenSSL is
  14109. running an engine that makes key generation failures possible, or
  14110. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  14111. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  14112. Baishakhi Ray.
  14113. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  14114. - Fix an integer underflow bug when comparing malformed Tor
  14115. versions. This bug could crash Tor when built with
  14116. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  14117. 0.2.9.8, which were built with -ftrapv by default. In other cases
  14118. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  14119. on 0.0.8pre1. Found by OSS-Fuzz.
  14120. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  14121. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  14122. zero size. Check size argument to memwipe() for underflow. Fixes
  14123. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  14124. patch by "teor".
  14125. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  14126. - Make Tor survive errors involving connections without a
  14127. corresponding event object. Previously we'd fail with an
  14128. assertion; now we produce a log message. Related to bug 16248.
  14129. o Minor features (geoip):
  14130. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  14131. Country database.
  14132. Changes in version 0.2.6.11 - 2017-03-03
  14133. Tor 0.2.6.11 backports a number of security fixes from later Tor
  14134. releases. Anybody running Tor 0.2.6.10 or earlier should upgrade to
  14135. this release, if for some reason they cannot upgrade to a later
  14136. release series.
  14137. Note that support for Tor 0.2.6.x is ending this year: we will not issue
  14138. any fixes for the Tor 0.2.6.x series after 1 August 2017. If you need
  14139. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  14140. o Directory authority changes (backport from 0.2.8.5-rc):
  14141. - Urras is no longer a directory authority. Closes ticket 19271.
  14142. o Directory authority changes (backport from 0.2.9.2-alpha):
  14143. - The "Tonga" bridge authority has been retired; the new bridge
  14144. authority is "Bifroest". Closes tickets 19728 and 19690.
  14145. o Directory authority key updates (backport from 0.2.8.1-alpha):
  14146. - Update the V3 identity key for the dannenberg directory authority:
  14147. it was changed on 18 November 2015. Closes task 17906. Patch
  14148. by "teor".
  14149. o Major features (security fixes, backport from 0.2.9.4-alpha):
  14150. - Prevent a class of security bugs caused by treating the contents
  14151. of a buffer chunk as if they were a NUL-terminated string. At
  14152. least one such bug seems to be present in all currently used
  14153. versions of Tor, and would allow an attacker to remotely crash
  14154. most Tor instances, especially those compiled with extra compiler
  14155. hardening. With this defense in place, such bugs can't crash Tor,
  14156. though we should still fix them as they occur. Closes ticket
  14157. 20384 (TROVE-2016-10-001).
  14158. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  14159. - Fix a bug in parsing that could cause clients to read a single
  14160. byte past the end of an allocated region. This bug could be used
  14161. to cause hardened clients (built with --enable-expensive-hardening)
  14162. to crash if they tried to visit a hostile hidden service. Non-
  14163. hardened clients are only affected depending on the details of
  14164. their platform's memory allocator. Fixes bug 21018; bugfix on
  14165. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  14166. 2016-12-002 and as CVE-2016-1254.
  14167. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  14168. - Stop a crash that could occur when a client running with DNSPort
  14169. received a query with multiple address types, and the first
  14170. address type was not supported. Found and fixed by Scott Dial.
  14171. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  14172. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  14173. - Fix an error that could cause us to read 4 bytes before the
  14174. beginning of an openssl string. This bug could be used to cause
  14175. Tor to crash on systems with unusual malloc implementations, or
  14176. systems with unusual hardening installed. Fixes bug 17404; bugfix
  14177. on 0.2.3.6-alpha.
  14178. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  14179. - Avoid a difficult-to-trigger heap corruption attack when extending
  14180. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  14181. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  14182. Reported by Guido Vranken.
  14183. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  14184. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  14185. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  14186. o Major bugfixes (guard selection, backport from 0.2.7.6):
  14187. - Actually look at the Guard flag when selecting a new directory
  14188. guard. When we implemented the directory guard design, we
  14189. accidentally started treating all relays as if they have the Guard
  14190. flag during guard selection, leading to weaker anonymity and worse
  14191. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  14192. by Mohsen Imani.
  14193. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  14194. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  14195. pointer to the previous (uninitialized) key value. The impact here
  14196. should be limited to a difficult-to-trigger crash, if OpenSSL is
  14197. running an engine that makes key generation failures possible, or
  14198. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  14199. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  14200. Baishakhi Ray.
  14201. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  14202. - Fix an integer underflow bug when comparing malformed Tor
  14203. versions. This bug could crash Tor when built with
  14204. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  14205. 0.2.9.8, which were built with -ftrapv by default. In other cases
  14206. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  14207. on 0.0.8pre1. Found by OSS-Fuzz.
  14208. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  14209. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  14210. zero size. Check size argument to memwipe() for underflow. Fixes
  14211. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  14212. patch by "teor".
  14213. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  14214. - Make Tor survive errors involving connections without a
  14215. corresponding event object. Previously we'd fail with an
  14216. assertion; now we produce a log message. Related to bug 16248.
  14217. o Minor features (geoip):
  14218. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  14219. Country database.
  14220. o Minor bugfixes (compilation, backport from 0.2.7.6):
  14221. - Fix a compilation warning with Clang 3.6: Do not check the
  14222. presence of an address which can never be NULL. Fixes bug 17781.
  14223. Changes in version 0.2.5.13 - 2017-03-03
  14224. Tor 0.2.5.13 backports a number of security fixes from later Tor
  14225. releases. Anybody running Tor 0.2.5.13 or earlier should upgrade to
  14226. this release, if for some reason they cannot upgrade to a later
  14227. release series.
  14228. Note that support for Tor 0.2.5.x is ending next year: we will not issue
  14229. any fixes for the Tor 0.2.5.x series after 1 May 2018. If you need
  14230. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  14231. o Directory authority changes (backport from 0.2.8.5-rc):
  14232. - Urras is no longer a directory authority. Closes ticket 19271.
  14233. o Directory authority changes (backport from 0.2.9.2-alpha):
  14234. - The "Tonga" bridge authority has been retired; the new bridge
  14235. authority is "Bifroest". Closes tickets 19728 and 19690.
  14236. o Directory authority key updates (backport from 0.2.8.1-alpha):
  14237. - Update the V3 identity key for the dannenberg directory authority:
  14238. it was changed on 18 November 2015. Closes task 17906. Patch
  14239. by "teor".
  14240. o Major features (security fixes, backport from 0.2.9.4-alpha):
  14241. - Prevent a class of security bugs caused by treating the contents
  14242. of a buffer chunk as if they were a NUL-terminated string. At
  14243. least one such bug seems to be present in all currently used
  14244. versions of Tor, and would allow an attacker to remotely crash
  14245. most Tor instances, especially those compiled with extra compiler
  14246. hardening. With this defense in place, such bugs can't crash Tor,
  14247. though we should still fix them as they occur. Closes ticket
  14248. 20384 (TROVE-2016-10-001).
  14249. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  14250. - Fix a bug in parsing that could cause clients to read a single
  14251. byte past the end of an allocated region. This bug could be used
  14252. to cause hardened clients (built with --enable-expensive-hardening)
  14253. to crash if they tried to visit a hostile hidden service. Non-
  14254. hardened clients are only affected depending on the details of
  14255. their platform's memory allocator. Fixes bug 21018; bugfix on
  14256. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  14257. 2016-12-002 and as CVE-2016-1254.
  14258. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  14259. - Stop a crash that could occur when a client running with DNSPort
  14260. received a query with multiple address types, and the first
  14261. address type was not supported. Found and fixed by Scott Dial.
  14262. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  14263. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  14264. - Fix an error that could cause us to read 4 bytes before the
  14265. beginning of an openssl string. This bug could be used to cause
  14266. Tor to crash on systems with unusual malloc implementations, or
  14267. systems with unusual hardening installed. Fixes bug 17404; bugfix
  14268. on 0.2.3.6-alpha.
  14269. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  14270. - Avoid a difficult-to-trigger heap corruption attack when extending
  14271. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  14272. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  14273. Reported by Guido Vranken.
  14274. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  14275. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  14276. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  14277. o Major bugfixes (guard selection, backport from 0.2.7.6):
  14278. - Actually look at the Guard flag when selecting a new directory
  14279. guard. When we implemented the directory guard design, we
  14280. accidentally started treating all relays as if they have the Guard
  14281. flag during guard selection, leading to weaker anonymity and worse
  14282. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  14283. by Mohsen Imani.
  14284. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  14285. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  14286. pointer to the previous (uninitialized) key value. The impact here
  14287. should be limited to a difficult-to-trigger crash, if OpenSSL is
  14288. running an engine that makes key generation failures possible, or
  14289. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  14290. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  14291. Baishakhi Ray.
  14292. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  14293. - Fix an integer underflow bug when comparing malformed Tor
  14294. versions. This bug could crash Tor when built with
  14295. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  14296. 0.2.9.8, which were built with -ftrapv by default. In other cases
  14297. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  14298. on 0.0.8pre1. Found by OSS-Fuzz.
  14299. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  14300. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  14301. zero size. Check size argument to memwipe() for underflow. Fixes
  14302. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  14303. patch by "teor".
  14304. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  14305. - Make Tor survive errors involving connections without a
  14306. corresponding event object. Previously we'd fail with an
  14307. assertion; now we produce a log message. Related to bug 16248.
  14308. o Minor features (geoip):
  14309. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  14310. Country database.
  14311. o Minor bugfixes (compilation, backport from 0.2.7.6):
  14312. - Fix a compilation warning with Clang 3.6: Do not check the
  14313. presence of an address which can never be NULL. Fixes bug 17781.
  14314. o Minor bugfixes (crypto error-handling, backport from 0.2.7.2-alpha):
  14315. - Check for failures from crypto_early_init, and refuse to continue.
  14316. A previous typo meant that we could keep going with an
  14317. uninitialized crypto library, and would have OpenSSL initialize
  14318. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  14319. when implementing ticket 4900. Patch by "teor".
  14320. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  14321. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  14322. a client authorized hidden service. Fixes bug 15823; bugfix
  14323. on 0.2.1.6-alpha.
  14324. Changes in version 0.2.4.28 - 2017-03-03
  14325. Tor 0.2.4.28 backports a number of security fixes from later Tor
  14326. releases. Anybody running Tor 0.2.4.27 or earlier should upgrade to
  14327. this release, if for some reason they cannot upgrade to a later
  14328. release series.
  14329. Note that support for Tor 0.2.4.x is ending soon: we will not issue
  14330. any fixes for the Tor 0.2.4.x series after 1 August 2017. If you need
  14331. a Tor release series with long-term support, we recommend Tor 0.2.9.x.
  14332. o Directory authority changes (backport from 0.2.8.5-rc):
  14333. - Urras is no longer a directory authority. Closes ticket 19271.
  14334. o Directory authority changes (backport from 0.2.9.2-alpha):
  14335. - The "Tonga" bridge authority has been retired; the new bridge
  14336. authority is "Bifroest". Closes tickets 19728 and 19690.
  14337. o Directory authority key updates (backport from 0.2.8.1-alpha):
  14338. - Update the V3 identity key for the dannenberg directory authority:
  14339. it was changed on 18 November 2015. Closes task 17906. Patch
  14340. by "teor".
  14341. o Major features (security fixes, backport from 0.2.9.4-alpha):
  14342. - Prevent a class of security bugs caused by treating the contents
  14343. of a buffer chunk as if they were a NUL-terminated string. At
  14344. least one such bug seems to be present in all currently used
  14345. versions of Tor, and would allow an attacker to remotely crash
  14346. most Tor instances, especially those compiled with extra compiler
  14347. hardening. With this defense in place, such bugs can't crash Tor,
  14348. though we should still fix them as they occur. Closes ticket
  14349. 20384 (TROVE-2016-10-001).
  14350. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  14351. - Fix a bug in parsing that could cause clients to read a single
  14352. byte past the end of an allocated region. This bug could be used
  14353. to cause hardened clients (built with --enable-expensive-hardening)
  14354. to crash if they tried to visit a hostile hidden service. Non-
  14355. hardened clients are only affected depending on the details of
  14356. their platform's memory allocator. Fixes bug 21018; bugfix on
  14357. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  14358. 2016-12-002 and as CVE-2016-1254.
  14359. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  14360. - Fix an error that could cause us to read 4 bytes before the
  14361. beginning of an openssl string. This bug could be used to cause
  14362. Tor to crash on systems with unusual malloc implementations, or
  14363. systems with unusual hardening installed. Fixes bug 17404; bugfix
  14364. on 0.2.3.6-alpha.
  14365. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  14366. - Avoid a difficult-to-trigger heap corruption attack when extending
  14367. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  14368. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  14369. Reported by Guido Vranken.
  14370. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  14371. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  14372. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  14373. o Major bugfixes (guard selection, backport from 0.2.7.6):
  14374. - Actually look at the Guard flag when selecting a new directory
  14375. guard. When we implemented the directory guard design, we
  14376. accidentally started treating all relays as if they have the Guard
  14377. flag during guard selection, leading to weaker anonymity and worse
  14378. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  14379. by Mohsen Imani.
  14380. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  14381. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  14382. pointer to the previous (uninitialized) key value. The impact here
  14383. should be limited to a difficult-to-trigger crash, if OpenSSL is
  14384. running an engine that makes key generation failures possible, or
  14385. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  14386. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  14387. Baishakhi Ray.
  14388. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  14389. - Fix an integer underflow bug when comparing malformed Tor
  14390. versions. This bug could crash Tor when built with
  14391. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  14392. 0.2.9.8, which were built with -ftrapv by default. In other cases
  14393. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  14394. on 0.0.8pre1. Found by OSS-Fuzz.
  14395. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  14396. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  14397. zero size. Check size argument to memwipe() for underflow. Fixes
  14398. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  14399. patch by "teor".
  14400. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  14401. - Make Tor survive errors involving connections without a
  14402. corresponding event object. Previously we'd fail with an
  14403. assertion; now we produce a log message. Related to bug 16248.
  14404. o Minor features (DoS-resistance, backport from 0.2.7.1-alpha):
  14405. - Make it harder for attackers to overload hidden services with
  14406. introductions, by blocking multiple introduction requests on the
  14407. same circuit. Resolves ticket 15515.
  14408. o Minor features (geoip):
  14409. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  14410. Country database.
  14411. o Minor bugfixes (compilation, backport from 0.2.7.6):
  14412. - Fix a compilation warning with Clang 3.6: Do not check the
  14413. presence of an address which can never be NULL. Fixes bug 17781.
  14414. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  14415. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  14416. a client authorized hidden service. Fixes bug 15823; bugfix
  14417. on 0.2.1.6-alpha.
  14418. Changes in version 0.3.0.4-rc - 2017-03-01
  14419. Tor 0.3.0.4-rc fixes some remaining bugs, large and small, in the
  14420. 0.3.0 release series, and introduces a few reliability features to
  14421. keep them from coming back.
  14422. This is the first release candidate in the Tor 0.3.0 series. If we
  14423. find no new bugs or regressions here, the first stable 0.3.0 release
  14424. will be nearly identical to it.
  14425. o Major bugfixes (bridges):
  14426. - When the same bridge is configured multiple times with the same
  14427. identity, but at different address:port combinations, treat those
  14428. bridge instances as separate guards. This fix restores the ability
  14429. of clients to configure the same bridge with multiple pluggable
  14430. transports. Fixes bug 21027; bugfix on 0.3.0.1-alpha.
  14431. o Major bugfixes (hidden service directory v3):
  14432. - Stop crashing on a failed v3 hidden service descriptor lookup
  14433. failure. Fixes bug 21471; bugfixes on 0.3.0.1-alpha.
  14434. o Major bugfixes (parsing):
  14435. - When parsing a malformed content-length field from an HTTP
  14436. message, do not read off the end of the buffer. This bug was a
  14437. potential remote denial-of-service attack against Tor clients and
  14438. relays. A workaround was released in October 2016, to prevent this
  14439. bug from crashing Tor. This is a fix for the underlying issue,
  14440. which should no longer matter (if you applied the earlier patch).
  14441. Fixes bug 20894; bugfix on 0.2.0.16-alpha. Bug found by fuzzing
  14442. using AFL (http://lcamtuf.coredump.cx/afl/).
  14443. - Fix an integer underflow bug when comparing malformed Tor
  14444. versions. This bug could crash Tor when built with
  14445. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  14446. 0.2.9.8, which were built with -ftrapv by default. In other cases
  14447. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  14448. on 0.0.8pre1. Found by OSS-Fuzz.
  14449. o Minor feature (protocol versioning):
  14450. - Add new protocol version for proposal 224. HSIntro now advertises
  14451. version "3-4" and HSDir version "1-2". Fixes ticket 20656.
  14452. o Minor features (directory authorities):
  14453. - Directory authorities now reject descriptors that claim to be
  14454. malformed versions of Tor. Helps prevent exploitation of
  14455. bug 21278.
  14456. - Reject version numbers with components that exceed INT32_MAX.
  14457. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  14458. Fixes bug 21450; bugfix on 0.0.8pre1.
  14459. - Directory authorities now reject relays running versions
  14460. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  14461. suffer from bug 20499 and don't keep their consensus cache
  14462. up-to-date. Resolves ticket 20509.
  14463. o Minor features (geoip):
  14464. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  14465. Country database.
  14466. o Minor features (reliability, crash):
  14467. - Try better to detect problems in buffers where they might grow (or
  14468. think they have grown) over 2 GB in size. Diagnostic for
  14469. bug 21369.
  14470. o Minor features (testing):
  14471. - During 'make test-network-all', if tor logs any warnings, ask
  14472. chutney to output them. Requires a recent version of chutney with
  14473. the 21572 patch. Implements 21570.
  14474. o Minor bugfixes (certificate expiration time):
  14475. - Avoid using link certificates that don't become valid till some
  14476. time in the future. Fixes bug 21420; bugfix on 0.2.4.11-alpha
  14477. o Minor bugfixes (code correctness):
  14478. - Repair a couple of (unreachable or harmless) cases of the risky
  14479. comparison-by-subtraction pattern that caused bug 21278.
  14480. - Remove a redundant check for the UseEntryGuards option from the
  14481. options_transition_affects_guards() function. Fixes bug 21492;
  14482. bugfix on 0.3.0.1-alpha.
  14483. o Minor bugfixes (directory mirrors):
  14484. - Allow relays to use directory mirrors without a DirPort: these
  14485. relays need to be contacted over their ORPorts using a begindir
  14486. connection. Fixes one case of bug 20711; bugfix on 0.2.8.2-alpha.
  14487. - Clarify the message logged when a remote relay is unexpectedly
  14488. missing an ORPort or DirPort: users were confusing this with a
  14489. local port. Fixes another case of bug 20711; bugfix
  14490. on 0.2.8.2-alpha.
  14491. o Minor bugfixes (guards):
  14492. - Don't warn about a missing guard state on timeout-measurement
  14493. circuits: they aren't supposed to be using guards. Fixes an
  14494. instance of bug 21007; bugfix on 0.3.0.1-alpha.
  14495. - Silence a BUG() warning when attempting to use a guard whose
  14496. descriptor we don't know, and make this scenario less likely to
  14497. happen. Fixes bug 21415; bugfix on 0.3.0.1-alpha.
  14498. o Minor bugfixes (hidden service):
  14499. - Pass correct buffer length when encoding legacy ESTABLISH_INTRO
  14500. cells. Previously, we were using sizeof() on a pointer, instead of
  14501. the real destination buffer. Fortunately, that value was only used
  14502. to double-check that there was enough room--which was already
  14503. enforced elsewhere. Fixes bug 21553; bugfix on 0.3.0.1-alpha.
  14504. o Minor bugfixes (testing):
  14505. - Fix Raspbian build issues related to missing socket errno in
  14506. test_util.c. Fixes bug 21116; bugfix on 0.2.8.2. Patch
  14507. by "hein".
  14508. - Rename "make fuzz" to "make test-fuzz-corpora", since it doesn't
  14509. actually fuzz anything. Fixes bug 21447; bugfix on 0.3.0.3-alpha.
  14510. - Use bash in src/test/test-network.sh. This ensures we reliably
  14511. call chutney's newer tools/test-network.sh when available. Fixes
  14512. bug 21562; bugfix on 0.2.9.1-alpha.
  14513. o Documentation:
  14514. - Small fixes to the fuzzing documentation. Closes ticket 21472.
  14515. Changes in version 0.2.9.10 - 2017-03-01
  14516. Tor 0.2.9.10 backports a security fix from later Tor release. It also
  14517. includes fixes for some major issues affecting directory authorities,
  14518. LibreSSL compatibility, and IPv6 correctness.
  14519. The Tor 0.2.9.x release series is now marked as a long-term-support
  14520. series. We intend to backport security fixes to 0.2.9.x until at
  14521. least January of 2020.
  14522. o Major bugfixes (directory authority, 0.3.0.3-alpha):
  14523. - During voting, when marking a relay as a probable sybil, do not
  14524. clear its BadExit flag: sybils can still be bad in other ways
  14525. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  14526. on 0.2.0.13-alpha.
  14527. o Major bugfixes (IPv6 Exits, backport from 0.3.0.3-alpha):
  14528. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  14529. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  14530. exit policy rejects that port on more than an IPv6 /16 of
  14531. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  14532. which rejected a relay's own IPv6 address by default. Fixes bug
  14533. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  14534. o Major bugfixes (parsing, also in 0.3.0.4-rc):
  14535. - Fix an integer underflow bug when comparing malformed Tor
  14536. versions. This bug could crash Tor when built with
  14537. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  14538. 0.2.9.8, which were built with -ftrapv by default. In other cases
  14539. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  14540. on 0.0.8pre1. Found by OSS-Fuzz.
  14541. o Minor features (directory authorities, also in 0.3.0.4-rc):
  14542. - Directory authorities now reject descriptors that claim to be
  14543. malformed versions of Tor. Helps prevent exploitation of
  14544. bug 21278.
  14545. - Reject version numbers with components that exceed INT32_MAX.
  14546. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  14547. Fixes bug 21450; bugfix on 0.0.8pre1.
  14548. o Minor features (geoip):
  14549. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  14550. Country database.
  14551. o Minor features (portability, compilation, backport from 0.3.0.3-alpha):
  14552. - Autoconf now checks to determine if OpenSSL structures are opaque,
  14553. instead of explicitly checking for OpenSSL version numbers. Part
  14554. of ticket 21359.
  14555. - Support building with recent LibreSSL code that uses opaque
  14556. structures. Closes ticket 21359.
  14557. o Minor bugfixes (code correctness, also in 0.3.0.4-rc):
  14558. - Repair a couple of (unreachable or harmless) cases of the risky
  14559. comparison-by-subtraction pattern that caused bug 21278.
  14560. o Minor bugfixes (tor-resolve, backport from 0.3.0.3-alpha):
  14561. - The tor-resolve command line tool now rejects hostnames over 255
  14562. characters in length. Previously, it would silently truncate them,
  14563. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  14564. Patch by "junglefowl".
  14565. Changes in version 0.3.0.3-alpha - 2017-02-03
  14566. Tor 0.3.0.3-alpha fixes a few significant bugs introduced over the
  14567. 0.3.0.x development series, including some that could cause
  14568. authorities to behave badly. There is also a fix for a longstanding
  14569. bug that could prevent IPv6 exits from working. Tor 0.3.0.3-alpha also
  14570. includes some smaller features and bugfixes.
  14571. The Tor 0.3.0.x release series is now in patch-freeze: no additional
  14572. features will be considered for inclusion in 0.3.0.x. We suspect that
  14573. some bugs will probably remain, however, and we encourage people to
  14574. test this release.
  14575. o Major bugfixes (directory authority):
  14576. - During voting, when marking a relay as a probable sybil, do not
  14577. clear its BadExit flag: sybils can still be bad in other ways
  14578. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  14579. on 0.2.0.13-alpha.
  14580. - When deciding whether we have just found a router to be reachable,
  14581. do not penalize it for not having performed an Ed25519 link
  14582. handshake if it does not claim to support an Ed25519 handshake.
  14583. Previously, we would treat such relays as non-running. Fixes bug
  14584. 21107; bugfix on 0.3.0.1-alpha.
  14585. o Major bugfixes (entry guards):
  14586. - Stop trying to build circuits through entry guards for which we
  14587. have no descriptor. Also, stop crashing in the case that we *do*
  14588. accidentally try to build a circuit in such a state. Fixes bug
  14589. 21242; bugfix on 0.3.0.1-alpha.
  14590. o Major bugfixes (IPv6 Exits):
  14591. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  14592. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  14593. exit policy rejects that port on more than an IPv6 /16 of
  14594. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  14595. which rejected a relay's own IPv6 address by default. Fixes bug
  14596. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  14597. o Minor feature (client):
  14598. - Enable IPv6 traffic on the SocksPort by default. To disable this,
  14599. a user will have to specify "NoIPv6Traffic". Closes ticket 21269.
  14600. o Minor feature (fallback scripts):
  14601. - Add a check_existing mode to updateFallbackDirs.py, which checks
  14602. if fallbacks in the hard-coded list are working. Closes ticket
  14603. 20174. Patch by haxxpop.
  14604. o Minor features (ciphersuite selection):
  14605. - Clients now advertise a list of ciphersuites closer to the ones
  14606. preferred by Firefox. Closes part of ticket 15426.
  14607. - Allow relays to accept a wider range of ciphersuites, including
  14608. chacha20-poly1305 and AES-CCM. Closes the other part of 15426.
  14609. o Minor features (controller, configuration):
  14610. - Each of the *Port options, such as SocksPort, ORPort, ControlPort,
  14611. and so on, now comes with a __*Port variant that will not be saved
  14612. to the torrc file by the controller's SAVECONF command. This
  14613. change allows TorBrowser to set up a single-use domain socket for
  14614. each time it launches Tor. Closes ticket 20956.
  14615. - The GETCONF command can now query options that may only be
  14616. meaningful in context-sensitive lists. This allows the controller
  14617. to query the mixed SocksPort/__SocksPort style options introduced
  14618. in feature 20956. Implements ticket 21300.
  14619. o Minor features (portability, compilation):
  14620. - Autoconf now checks to determine if OpenSSL structures are opaque,
  14621. instead of explicitly checking for OpenSSL version numbers. Part
  14622. of ticket 21359.
  14623. - Support building with recent LibreSSL code that uses opaque
  14624. structures. Closes ticket 21359.
  14625. o Minor features (relay):
  14626. - We now allow separation of exit and relay traffic to different
  14627. source IP addresses, using the OutboundBindAddressExit and
  14628. OutboundBindAddressOR options respectively. Closes ticket 17975.
  14629. Written by Michael Sonntag.
  14630. o Minor bugfix (logging):
  14631. - Don't recommend the use of Tor2web in non-anonymous mode.
  14632. Recommending Tor2web is a bad idea because the client loses all
  14633. anonymity. Tor2web should only be used in specific cases by users
  14634. who *know* and understand the issues. Fixes bug 21294; bugfix
  14635. on 0.2.9.3-alpha.
  14636. o Minor bugfixes (client):
  14637. - Always recover from failures in extend_info_from_node(), in an
  14638. attempt to prevent any recurrence of bug 21242. Fixes bug 21372;
  14639. bugfix on 0.2.3.1-alpha.
  14640. o Minor bugfixes (client, entry guards):
  14641. - Fix a bug warning (with backtrace) when we fail a channel that
  14642. circuits to fallback directories on it. Fixes bug 21128; bugfix
  14643. on 0.3.0.1-alpha.
  14644. - Fix a spurious bug warning (with backtrace) when removing an
  14645. expired entry guard. Fixes bug 21129; bugfix on 0.3.0.1-alpha.
  14646. - Fix a bug of the new guard algorithm where tor could stall for up
  14647. to 10 minutes before retrying a guard after a long period of no
  14648. network. Fixes bug 21052; bugfix on 0.3.0.1-alpha.
  14649. - Do not try to build circuits until we have descriptors for our
  14650. primary entry guards. Related to fix for bug 21242.
  14651. o Minor bugfixes (configure, autoconf):
  14652. - Rename the configure option --enable-expensive-hardening to
  14653. --enable-fragile-hardening. Expensive hardening makes the tor
  14654. daemon abort when some kinds of issues are detected. Thus, it
  14655. makes tor more at risk of remote crashes but safer against RCE or
  14656. heartbleed bug category. We now try to explain this issue in a
  14657. message from the configure script. Fixes bug 21290; bugfix
  14658. on 0.2.5.4-alpha.
  14659. o Minor bugfixes (controller):
  14660. - Restore the (deprecated) DROPGUARDS controller command. Fixes bug
  14661. 20824; bugfix on 0.3.0.1-alpha.
  14662. o Minor bugfixes (hidden service):
  14663. - Clean up the code for expiring intro points with no associated
  14664. circuits. It was causing, rarely, a service with some expiring
  14665. introduction points to not open enough additional introduction
  14666. points. Fixes part of bug 21302; bugfix on 0.2.7.2-alpha.
  14667. - Stop setting the torrc option HiddenServiceStatistics to "0" just
  14668. because we're not a bridge or relay. Instead, we preserve whatever
  14669. value the user set (or didn't set). Fixes bug 21150; bugfix
  14670. on 0.2.6.2-alpha.
  14671. - Resolve two possible underflows which could lead to creating and
  14672. closing a lot of introduction point circuits in a non-stop loop.
  14673. Fixes bug 21302; bugfix on 0.2.7.2-alpha.
  14674. o Minor bugfixes (portability):
  14675. - Use "OpenBSD" compiler macro instead of "OPENBSD" or "__OpenBSD__".
  14676. It is supported by OpenBSD itself, and also by most OpenBSD
  14677. variants (such as Bitrig). Fixes bug 20980; bugfix
  14678. on 0.1.2.1-alpha.
  14679. - When mapping a file of length greater than SIZE_MAX, do not
  14680. silently truncate its contents. This issue could occur on 32 bit
  14681. systems with large file support and files which are larger than 4
  14682. GB. Fixes bug 21134; bugfix on 0.3.0.1-alpha.
  14683. o Minor bugfixes (tor-resolve):
  14684. - The tor-resolve command line tool now rejects hostnames over 255
  14685. characters in length. Previously, it would silently truncate them,
  14686. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  14687. Patch by "junglefowl".
  14688. o Minor bugfixes (Windows services):
  14689. - Be sure to initialize the monotonic time subsystem before using
  14690. it, even when running as an NT service. Fixes bug 21356; bugfix
  14691. on 0.2.9.1-alpha.
  14692. Changes in version 0.3.0.2-alpha - 2017-01-23
  14693. Tor 0.3.0.2-alpha fixes a denial-of-service bug where an attacker could
  14694. cause relays and clients to crash, even if they were not built with
  14695. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  14696. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  14697. version should upgrade.
  14698. Tor 0.3.0.2-alpha also improves how exit relays and clients handle DNS
  14699. time-to-live values, makes directory authorities enforce the 1-to-1
  14700. mapping of relay RSA identity keys to ED25519 identity keys, fixes a
  14701. client-side onion service reachability bug, does better at selecting
  14702. the set of fallback directories, and more.
  14703. o Major bugfixes (security, also in 0.2.9.9):
  14704. - Downgrade the "-ftrapv" option from "always on" to "only on when
  14705. --enable-expensive-hardening is provided." This hardening option, like
  14706. others, can turn survivable bugs into crashes--and having it on by
  14707. default made a (relatively harmless) integer overflow bug into a
  14708. denial-of-service bug. Fixes bug 21278 (TROVE-2017-001); bugfix on
  14709. 0.2.9.1-alpha.
  14710. o Major features (security):
  14711. - Change the algorithm used to decide DNS TTLs on client and server
  14712. side, to better resist DNS-based correlation attacks like the
  14713. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  14714. Feamster. Now relays only return one of two possible DNS TTL
  14715. values, and clients are willing to believe DNS TTL values up to 3
  14716. hours long. Closes ticket 19769.
  14717. o Major features (directory authority, security):
  14718. - The default for AuthDirPinKeys is now 1: directory authorities
  14719. will reject relays where the RSA identity key matches a previously
  14720. seen value, but the Ed25519 key has changed. Closes ticket 18319.
  14721. o Major bugfixes (client, guard, crash):
  14722. - In circuit_get_global_origin_list(), return the actual list of
  14723. origin circuits. The previous version of this code returned the
  14724. list of all the circuits, and could have caused strange bugs,
  14725. including possible crashes. Fixes bug 21118; bugfix
  14726. on 0.3.0.1-alpha.
  14727. o Major bugfixes (client, onion service, also in 0.2.9.9):
  14728. - Fix a client-side onion service reachability bug, where multiple
  14729. socks requests to an onion service (or a single slow request)
  14730. could cause us to mistakenly mark some of the service's
  14731. introduction points as failed, and we cache that failure so
  14732. eventually we run out and can't reach the service. Also resolves a
  14733. mysterious "Remote server sent bogus reason code 65021" log
  14734. warning. The bug was introduced in ticket 17218, where we tried to
  14735. remember the circuit end reason as a uint16_t, which mangled
  14736. negative values. Partially fixes bug 21056 and fixes bug 20307;
  14737. bugfix on 0.2.8.1-alpha.
  14738. o Major bugfixes (DNS):
  14739. - Fix a bug that prevented exit nodes from caching DNS records for
  14740. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  14741. o Minor features (controller):
  14742. - Add "GETINFO sr/current" and "GETINFO sr/previous" keys, to expose
  14743. shared-random values to the controller. Closes ticket 19925.
  14744. o Minor features (entry guards):
  14745. - Add UseEntryGuards to TEST_OPTIONS_DEFAULT_VALUES in order to not
  14746. break regression tests.
  14747. - Require UseEntryGuards when UseBridges is set, in order to make
  14748. sure bridges aren't bypassed. Resolves ticket 20502.
  14749. o Minor features (fallback directories):
  14750. - Select 200 fallback directories for each release. Closes
  14751. ticket 20881.
  14752. - Allow 3 fallback relays per operator, which is safe now that we
  14753. are choosing 200 fallback relays. Closes ticket 20912.
  14754. - Exclude relays affected by bug 20499 from the fallback list.
  14755. Exclude relays from the fallback list if they are running versions
  14756. known to be affected by bug 20499, or if in our tests they deliver
  14757. a stale consensus (i.e. one that expired more than 24 hours ago).
  14758. Closes ticket 20539.
  14759. - Reduce the minimum fallback bandwidth to 1 MByte/s. Part of
  14760. ticket 18828.
  14761. - Require fallback directories to have the same address and port for
  14762. 7 days (now that we have enough relays with this stability).
  14763. Relays whose OnionOO stability timer is reset on restart by bug
  14764. 18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for
  14765. this issue. Closes ticket 20880; maintains short-term fix
  14766. in 0.2.8.2-alpha.
  14767. - Require fallbacks to have flags for 90% of the time (weighted
  14768. decaying average), rather than 95%. This allows at least 73% of
  14769. clients to bootstrap in the first 5 seconds without contacting an
  14770. authority. Part of ticket 18828.
  14771. - Annotate updateFallbackDirs.py with the bandwidth and consensus
  14772. weight for each candidate fallback. Closes ticket 20878.
  14773. - Make it easier to change the output sort order of fallbacks.
  14774. Closes ticket 20822.
  14775. - Display the relay fingerprint when downloading consensuses from
  14776. fallbacks. Closes ticket 20908.
  14777. o Minor features (geoip, also in 0.2.9.9):
  14778. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  14779. Country database.
  14780. o Minor features (next-gen onion service directories):
  14781. - Remove the "EnableOnionServicesV3" consensus parameter that we
  14782. introduced in 0.3.0.1-alpha: relays are now always willing to act
  14783. as v3 onion service directories. Resolves ticket 19899.
  14784. o Minor features (linting):
  14785. - Enhance the changes file linter to warn on Tor versions that are
  14786. prefixed with "tor-". Closes ticket 21096.
  14787. o Minor features (logging):
  14788. - In several places, describe unset ed25519 keys as "<unset>",
  14789. rather than the scary "AAAAAAAA...AAA". Closes ticket 21037.
  14790. o Minor bugfix (control protocol):
  14791. - The reply to a "GETINFO config/names" request via the control
  14792. protocol now spells the type "Dependent" correctly. This is a
  14793. breaking change in the control protocol. (The field seems to be
  14794. ignored by the most common known controllers.) Fixes bug 18146;
  14795. bugfix on 0.1.1.4-alpha.
  14796. o Minor bugfixes (bug resilience):
  14797. - Fix an unreachable size_t overflow in base64_decode(). Fixes bug
  14798. 19222; bugfix on 0.2.0.9-alpha. Found by Guido Vranken; fixed by
  14799. Hans Jerry Illikainen.
  14800. o Minor bugfixes (build):
  14801. - Replace obsolete Autoconf macros with their modern equivalent and
  14802. prevent similar issues in the future. Fixes bug 20990; bugfix
  14803. on 0.1.0.1-rc.
  14804. o Minor bugfixes (client, guards):
  14805. - Fix bug where Tor would think that there are circuits waiting for
  14806. better guards even though those circuits have been freed. Fixes
  14807. bug 21142; bugfix on 0.3.0.1-alpha.
  14808. o Minor bugfixes (config):
  14809. - Don't assert on startup when trying to get the options list and
  14810. LearnCircuitBuildTimeout is set to 0: we are currently parsing the
  14811. options so of course they aren't ready yet. Fixes bug 21062;
  14812. bugfix on 0.2.9.3-alpha.
  14813. o Minor bugfixes (controller):
  14814. - Make the GETINFO interface for inquiring about entry guards
  14815. support the new guards backend. Fixes bug 20823; bugfix
  14816. on 0.3.0.1-alpha.
  14817. o Minor bugfixes (dead code):
  14818. - Remove a redundant check for PidFile changes at runtime in
  14819. options_transition_allowed(): this check is already performed
  14820. regardless of whether the sandbox is active. Fixes bug 21123;
  14821. bugfix on 0.2.5.4-alpha.
  14822. o Minor bugfixes (documentation):
  14823. - Update the tor manual page to document every option that can not
  14824. be changed while tor is running. Fixes bug 21122.
  14825. o Minor bugfixes (fallback directories):
  14826. - Stop failing when a relay has no uptime data in
  14827. updateFallbackDirs.py. Fixes bug 20945; bugfix on 0.2.8.1-alpha.
  14828. - Avoid checking fallback candidates' DirPorts if they are down in
  14829. OnionOO. When a relay operator has multiple relays, this
  14830. prioritizes relays that are up over relays that are down. Fixes
  14831. bug 20926; bugfix on 0.2.8.3-alpha.
  14832. - Stop failing when OUTPUT_COMMENTS is True in updateFallbackDirs.py.
  14833. Fixes bug 20877; bugfix on 0.2.8.3-alpha.
  14834. o Minor bugfixes (guards, bootstrapping):
  14835. - When connecting to a directory guard during bootstrap, do not mark
  14836. the guard as successful until we receive a good-looking directory
  14837. response from it. Fixes bug 20974; bugfix on 0.3.0.1-alpha.
  14838. o Minor bugfixes (onion services):
  14839. - Fix the config reload pruning of old vs new services so it
  14840. actually works when both ephemeral and non-ephemeral services are
  14841. configured. Fixes bug 21054; bugfix on 0.3.0.1-alpha.
  14842. - Allow the number of introduction points to be as low as 0, rather
  14843. than as low as 3. Fixes bug 21033; bugfix on 0.2.7.2-alpha.
  14844. o Minor bugfixes (IPv6):
  14845. - Make IPv6-using clients try harder to find an IPv6 directory
  14846. server. Fixes bug 20999; bugfix on 0.2.8.2-alpha.
  14847. - When IPv6 addresses have not been downloaded yet (microdesc
  14848. consensus documents don't list relay IPv6 addresses), use hard-
  14849. coded addresses for authorities, fallbacks, and configured
  14850. bridges. Now IPv6-only clients can use microdescriptors. Fixes bug
  14851. 20996; bugfix on b167e82 from 19608 in 0.2.8.5-alpha.
  14852. o Minor bugfixes (memory leaks):
  14853. - Fix a memory leak when configuring hidden services. Fixes bug
  14854. 20987; bugfix on 0.3.0.1-alpha.
  14855. o Minor bugfixes (portability, also in 0.2.9.9):
  14856. - Avoid crashing when Tor is built using headers that contain
  14857. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  14858. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  14859. on 0.2.9.1-alpha.
  14860. - Fix Libevent detection on platforms without Libevent 1 headers
  14861. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  14862. o Minor bugfixes (relay):
  14863. - Honor DataDirectoryGroupReadable when tor is a relay. Previously,
  14864. initializing the keys would reset the DataDirectory to 0700
  14865. instead of 0750 even if DataDirectoryGroupReadable was set to 1.
  14866. Fixes bug 19953; bugfix on 0.0.2pre16. Patch by "redfish".
  14867. o Minor bugfixes (testing):
  14868. - Remove undefined behavior from the backtrace generator by removing
  14869. its signal handler. Fixes bug 21026; bugfix on 0.2.5.2-alpha.
  14870. o Minor bugfixes (unit tests):
  14871. - Allow the unit tests to pass even when DNS lookups of bogus
  14872. addresses do not fail as expected. Fixes bug 20862 and 20863;
  14873. bugfix on unit tests introduced in 0.2.8.1-alpha
  14874. through 0.2.9.4-alpha.
  14875. o Code simplification and refactoring:
  14876. - Refactor code to manipulate global_origin_circuit_list into
  14877. separate functions. Closes ticket 20921.
  14878. o Documentation (formatting):
  14879. - Clean up formatting of tor.1 man page and HTML doc, where <pre>
  14880. blocks were incorrectly appearing. Closes ticket 20885.
  14881. o Documentation (man page):
  14882. - Clarify many options in tor.1 and add some min/max values for
  14883. HiddenService options. Closes ticket 21058.
  14884. Changes in version 0.2.9.9 - 2017-01-23
  14885. Tor 0.2.9.9 fixes a denial-of-service bug where an attacker could
  14886. cause relays and clients to crash, even if they were not built with
  14887. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  14888. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  14889. version should upgrade.
  14890. This release also resolves a client-side onion service reachability
  14891. bug, and resolves a pair of small portability issues.
  14892. o Major bugfixes (security):
  14893. - Downgrade the "-ftrapv" option from "always on" to "only on when
  14894. --enable-expensive-hardening is provided." This hardening option,
  14895. like others, can turn survivable bugs into crashes -- and having
  14896. it on by default made a (relatively harmless) integer overflow bug
  14897. into a denial-of-service bug. Fixes bug 21278 (TROVE-2017-001);
  14898. bugfix on 0.2.9.1-alpha.
  14899. o Major bugfixes (client, onion service):
  14900. - Fix a client-side onion service reachability bug, where multiple
  14901. socks requests to an onion service (or a single slow request)
  14902. could cause us to mistakenly mark some of the service's
  14903. introduction points as failed, and we cache that failure so
  14904. eventually we run out and can't reach the service. Also resolves a
  14905. mysterious "Remote server sent bogus reason code 65021" log
  14906. warning. The bug was introduced in ticket 17218, where we tried to
  14907. remember the circuit end reason as a uint16_t, which mangled
  14908. negative values. Partially fixes bug 21056 and fixes bug 20307;
  14909. bugfix on 0.2.8.1-alpha.
  14910. o Minor features (geoip):
  14911. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  14912. Country database.
  14913. o Minor bugfixes (portability):
  14914. - Avoid crashing when Tor is built using headers that contain
  14915. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  14916. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  14917. on 0.2.9.1-alpha.
  14918. - Fix Libevent detection on platforms without Libevent 1 headers
  14919. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  14920. Changes in version 0.3.0.1-alpha - 2016-12-19
  14921. Tor 0.3.0.1-alpha is the first alpha release in the 0.3.0 development
  14922. series. It strengthens Tor's link and circuit handshakes by
  14923. identifying relays by their Ed25519 keys, improves the algorithm that
  14924. clients use to choose and maintain their list of guards, and includes
  14925. additional backend support for the next-generation hidden service
  14926. design. It also contains numerous other small features and
  14927. improvements to security, correctness, and performance.
  14928. Below are the changes since 0.2.9.8.
  14929. o Major features (guard selection algorithm):
  14930. - Tor's guard selection algorithm has been redesigned from the
  14931. ground up, to better support unreliable networks and restrictive
  14932. sets of entry nodes, and to better resist guard-capture attacks by
  14933. hostile local networks. Implements proposal 271; closes
  14934. ticket 19877.
  14935. o Major features (next-generation hidden services):
  14936. - Relays can now handle v3 ESTABLISH_INTRO cells as specified by
  14937. prop224 aka "Next Generation Hidden Services". Service and clients
  14938. don't use this functionality yet. Closes ticket 19043. Based on
  14939. initial code by Alec Heifetz.
  14940. - Relays now support the HSDir version 3 protocol, so that they can
  14941. can store and serve v3 descriptors. This is part of the next-
  14942. generation onion service work detailed in proposal 224. Closes
  14943. ticket 17238.
  14944. o Major features (protocol, ed25519 identity keys):
  14945. - Relays now use Ed25519 to prove their Ed25519 identities and to
  14946. one another, and to clients. This algorithm is faster and more
  14947. secure than the RSA-based handshake we've been doing until now.
  14948. Implements the second big part of proposal 220; Closes
  14949. ticket 15055.
  14950. - Clients now support including Ed25519 identity keys in the EXTEND2
  14951. cells they generate. By default, this is controlled by a consensus
  14952. parameter, currently disabled. You can turn this feature on for
  14953. testing by setting ExtendByEd25519ID in your configuration. This
  14954. might make your traffic appear different than the traffic
  14955. generated by other users, however. Implements part of ticket
  14956. 15056; part of proposal 220.
  14957. - Relays now understand requests to extend to other relays by their
  14958. Ed25519 identity keys. When an Ed25519 identity key is included in
  14959. an EXTEND2 cell, the relay will only extend the circuit if the
  14960. other relay can prove ownership of that identity. Implements part
  14961. of ticket 15056; part of proposal 220.
  14962. o Major bugfixes (scheduler):
  14963. - Actually compare circuit policies in ewma_cmp_cmux(). This bug
  14964. caused the channel scheduler to behave more or less randomly,
  14965. rather than preferring channels with higher-priority circuits.
  14966. Fixes bug 20459; bugfix on 0.2.6.2-alpha.
  14967. o Minor features (controller):
  14968. - When HSFETCH arguments cannot be parsed, say "Invalid argument"
  14969. rather than "unrecognized." Closes ticket 20389; patch from
  14970. Ivan Markin.
  14971. o Minor features (diagnostic, directory client):
  14972. - Warn when we find an unexpected inconsistency in directory
  14973. download status objects. Prevents some negative consequences of
  14974. bug 20593.
  14975. o Minor features (directory authority):
  14976. - Add a new authority-only AuthDirTestEd25519LinkKeys option (on by
  14977. default) to control whether authorities should try to probe relays
  14978. by their Ed25519 link keys. This option will go away in a few
  14979. releases--unless we encounter major trouble in our ed25519 link
  14980. protocol rollout, in which case it will serve as a safety option.
  14981. o Minor features (directory cache):
  14982. - Relays and bridges will now refuse to serve the consensus they
  14983. have if they know it is too old for a client to use. Closes
  14984. ticket 20511.
  14985. o Minor features (ed25519 link handshake):
  14986. - Advertise support for the ed25519 link handshake using the
  14987. subprotocol-versions mechanism, so that clients can tell which
  14988. relays can identity themselves by Ed25519 ID. Closes ticket 20552.
  14989. o Minor features (fingerprinting resistance, authentication):
  14990. - Extend the length of RSA keys used for TLS link authentication to
  14991. 2048 bits. (These weren't used for forward secrecy; for forward
  14992. secrecy, we used P256.) Closes ticket 13752.
  14993. o Minor features (infrastructure):
  14994. - Implement smartlist_add_strdup() function. Replaces the use of
  14995. smartlist_add(sl, tor_strdup(str)). Closes ticket 20048.
  14996. o Minor bugfixes (client):
  14997. - When clients that use bridges start up with a cached consensus on
  14998. disk, they were ignoring it and downloading a new one. Now they
  14999. use the cached one. Fixes bug 20269; bugfix on 0.2.3.12-alpha.
  15000. o Minor bugfixes (configuration):
  15001. - Accept non-space whitespace characters after the severity level in
  15002. the `Log` option. Fixes bug 19965; bugfix on 0.2.1.1-alpha.
  15003. - Support "TByte" and "TBytes" units in options given in bytes.
  15004. "TB", "terabyte(s)", "TBit(s)" and "terabit(s)" were already
  15005. supported. Fixes bug 20622; bugfix on 0.2.0.14-alpha.
  15006. o Minor bugfixes (consensus weight):
  15007. - Add new consensus method that initializes bw weights to 1 instead
  15008. of 0. This prevents a zero weight from making it all the way to
  15009. the end (happens in small testing networks) and causing an error.
  15010. Fixes bug 14881; bugfix on 0.2.2.17-alpha.
  15011. o Minor bugfixes (descriptors):
  15012. - Correctly recognise downloaded full descriptors as valid, even
  15013. when using microdescriptors as circuits. This affects clients with
  15014. FetchUselessDescriptors set, and may affect directory authorities.
  15015. Fixes bug 20839; bugfix on 0.2.3.2-alpha.
  15016. o Minor bugfixes (directory system):
  15017. - Download all consensus flavors, descriptors, and authority
  15018. certificates when FetchUselessDescriptors is set, regardless of
  15019. whether tor is a directory cache or not. Fixes bug 20667; bugfix
  15020. on all recent tor versions.
  15021. - Bridges and relays now use microdescriptors (like clients do)
  15022. rather than old-style router descriptors. Now bridges will blend
  15023. in with clients in terms of the circuits they build. Fixes bug
  15024. 6769; bugfix on 0.2.3.2-alpha.
  15025. o Minor bugfixes (ed25519 certificates):
  15026. - Correctly interpret ed25519 certificates that would expire some
  15027. time after 19 Jan 2038. Fixes bug 20027; bugfix on 0.2.7.2-alpha.
  15028. o Minor bugfixes (hidden services):
  15029. - Stop ignoring misconfigured hidden services. Instead, refuse to
  15030. start tor until the misconfigurations have been corrected. Fixes
  15031. bug 20559; bugfix on multiple commits in 0.2.7.1-alpha
  15032. and earlier.
  15033. o Minor bugfixes (memory leak at exit):
  15034. - Fix a small harmless memory leak at exit of the previously unused
  15035. RSA->Ed identity cross-certificate. Fixes bug 17779; bugfix
  15036. on 0.2.7.2-alpha.
  15037. o Minor bugfixes (util):
  15038. - When finishing writing a file to disk, if we were about to replace
  15039. the file with the temporary file created before and we fail to
  15040. replace it, remove the temporary file so it doesn't stay on disk.
  15041. Fixes bug 20646; bugfix on 0.2.0.7-alpha. Patch by fk.
  15042. o Minor bugfixes (Windows):
  15043. - Check for getpagesize before using it to mmap files. This fixes
  15044. compilation in some MinGW environments. Fixes bug 20530; bugfix on
  15045. 0.1.2.1-alpha. Reported by "ice".
  15046. o Code simplification and refactoring:
  15047. - Abolish all global guard context in entrynodes.c; replace with new
  15048. guard_selection_t structure as preparation for proposal 271.
  15049. Closes ticket 19858.
  15050. - Introduce rend_service_is_ephemeral() that tells if given onion
  15051. service is ephemeral. Replace unclear NULL-checkings for service
  15052. directory with this function. Closes ticket 20526.
  15053. - Extract magic numbers in circuituse.c into defined variables.
  15054. - Refactor circuit_is_available_for_use to remove unnecessary check.
  15055. - Refactor circuit_predict_and_launch_new for readability and
  15056. testability. Closes ticket 18873.
  15057. - Refactor large if statement in purpose_needs_anonymity to use
  15058. switch statement instead. Closes part of ticket 20077.
  15059. - Refactor the hashing API to return negative values for errors, as
  15060. is done as throughout the codebase. Closes ticket 20717.
  15061. - Remove data structures that were used to index or_connection
  15062. objects by their RSA identity digests. These structures are fully
  15063. redundant with the similar structures used in the
  15064. channel abstraction.
  15065. - Remove duplicate code in the channel_write_*cell() functions.
  15066. Closes ticket 13827; patch from Pingl.
  15067. - Remove redundant behavior of is_sensitive_dir_purpose, refactor to
  15068. use only purpose_needs_anonymity. Closes part of ticket 20077.
  15069. - The code to generate and parse EXTEND and EXTEND2 cells has been
  15070. replaced with code automatically generated by the
  15071. "trunnel" utility.
  15072. o Documentation:
  15073. - Include the "TBits" unit in Tor's man page. Fixes part of bug
  15074. 20622; bugfix on 0.2.5.1-alpha.
  15075. - Change '1' to 'weight_scale' in consensus bw weights calculation
  15076. comments, as that is reality. Closes ticket 20273. Patch
  15077. from pastly.
  15078. - Correct the value for AuthDirGuardBWGuarantee in the manpage, from
  15079. 250 KBytes to 2 MBytes. Fixes bug 20435; bugfix
  15080. on 0.2.5.6-alpha.
  15081. - Stop the man page from incorrectly stating that HiddenServiceDir
  15082. must already exist. Fixes 20486.
  15083. - Clarify that when ClientRejectInternalAddresses is enabled (which
  15084. is the default), multicast DNS hostnames for machines on the local
  15085. network (of the form *.local) are also rejected. Closes
  15086. ticket 17070.
  15087. o Removed features:
  15088. - The AuthDirMaxServersPerAuthAddr option no longer exists: The same
  15089. limit for relays running on a single IP applies to authority IP
  15090. addresses as well as to non-authority IP addresses. Closes
  15091. ticket 20960.
  15092. - The UseDirectoryGuards torrc option no longer exists: all users
  15093. that use entry guards will also use directory guards. Related to
  15094. proposal 271; implements part of ticket 20831.
  15095. o Testing:
  15096. - New unit tests for tor_htonll(). Closes ticket 19563. Patch
  15097. from "overcaffeinated".
  15098. - Perform the coding style checks when running the tests and fail
  15099. when coding style violations are found. Closes ticket 5500.
  15100. - Add tests for networkstatus_compute_bw_weights_v10.
  15101. - Add unit tests circuit_predict_and_launch_new.
  15102. - Extract dummy_origin_circuit_new so it can be used by other
  15103. test functions.
  15104. Changes in version 0.2.8.12 - 2016-12-19
  15105. Tor 0.2.8.12 backports a fix for a medium-severity issue (bug 21018
  15106. below) where Tor clients could crash when attempting to visit a
  15107. hostile hidden service. Clients are recommended to upgrade as packages
  15108. become available for their systems.
  15109. It also includes an updated list of fallback directories, backported
  15110. from 0.2.9.
  15111. Now that the Tor 0.2.9 series is stable, only major bugfixes will be
  15112. backported to 0.2.8 in the future.
  15113. o Major bugfixes (parsing, security, backported from 0.2.9.8):
  15114. - Fix a bug in parsing that could cause clients to read a single
  15115. byte past the end of an allocated region. This bug could be used
  15116. to cause hardened clients (built with --enable-expensive-hardening)
  15117. to crash if they tried to visit a hostile hidden service. Non-
  15118. hardened clients are only affected depending on the details of
  15119. their platform's memory allocator. Fixes bug 21018; bugfix on
  15120. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  15121. 2016-12-002 and as CVE-2016-1254.
  15122. o Minor features (fallback directory list, backported from 0.2.9.8):
  15123. - Replace the 81 remaining fallbacks of the 100 originally
  15124. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  15125. fallbacks (123 new, 54 existing, 27 removed) generated in December
  15126. 2016. Resolves ticket 20170.
  15127. o Minor features (geoip, backported from 0.2.9.7-rc):
  15128. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  15129. Country database.
  15130. Changes in version 0.2.9.8 - 2016-12-19
  15131. Tor 0.2.9.8 is the first stable release of the Tor 0.2.9 series.
  15132. The Tor 0.2.9 series makes mandatory a number of security features
  15133. that were formerly optional. It includes support for a new shared-
  15134. randomness protocol that will form the basis for next generation
  15135. hidden services, includes a single-hop hidden service mode for
  15136. optimizing .onion services that don't actually want to be hidden,
  15137. tries harder not to overload the directory authorities with excessive
  15138. downloads, and supports a better protocol versioning scheme for
  15139. improved compatibility with other implementations of the Tor protocol.
  15140. And of course, there are numerous other bugfixes and improvements.
  15141. This release also includes a fix for a medium-severity issue (bug
  15142. 21018 below) where Tor clients could crash when attempting to visit a
  15143. hostile hidden service. Clients are recommended to upgrade as packages
  15144. become available for their systems.
  15145. Below are the changes since 0.2.9.7-rc. For a list of all changes
  15146. since 0.2.8, see the ReleaseNotes file.
  15147. o Major bugfixes (parsing, security):
  15148. - Fix a bug in parsing that could cause clients to read a single
  15149. byte past the end of an allocated region. This bug could be used
  15150. to cause hardened clients (built with --enable-expensive-hardening)
  15151. to crash if they tried to visit a hostile hidden service. Non-
  15152. hardened clients are only affected depending on the details of
  15153. their platform's memory allocator. Fixes bug 21018; bugfix on
  15154. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  15155. 2016-12-002 and as CVE-2016-1254.
  15156. o Minor features (fallback directory list):
  15157. - Replace the 81 remaining fallbacks of the 100 originally
  15158. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  15159. fallbacks (123 new, 54 existing, 27 removed) generated in December
  15160. 2016. Resolves ticket 20170.
  15161. Changes in version 0.2.9.7-rc - 2016-12-12
  15162. Tor 0.2.9.7-rc fixes a few small bugs remaining in Tor 0.2.9.6-rc,
  15163. including a few that had prevented tests from passing on
  15164. some platforms.
  15165. o Minor features (geoip):
  15166. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  15167. Country database.
  15168. o Minor bugfix (build):
  15169. - The current Git revision when building from a local repository is
  15170. now detected correctly when using git worktrees. Fixes bug 20492;
  15171. bugfix on 0.2.3.9-alpha.
  15172. o Minor bugfixes (directory authority):
  15173. - When computing old Tor protocol line version in protover, we were
  15174. looking at 0.2.7.5 twice instead of a specific case for
  15175. 0.2.9.1-alpha. Fixes bug 20810; bugfix on 0.2.9.4-alpha.
  15176. o Minor bugfixes (download scheduling):
  15177. - Resolve a "bug" warning when considering a download schedule whose
  15178. delay had approached INT_MAX. Fixes 20875; bugfix on 0.2.9.5-alpha.
  15179. o Minor bugfixes (logging):
  15180. - Downgrade a harmless log message about the
  15181. pending_entry_connections list from "warn" to "info". Mitigates
  15182. bug 19926.
  15183. o Minor bugfixes (memory leak):
  15184. - Fix a small memory leak when receiving AF_UNIX connections on a
  15185. SocksPort. Fixes bug 20716; bugfix on 0.2.6.3-alpha.
  15186. - When moving a signed descriptor object from a source to an
  15187. existing destination, free the allocated memory inside that
  15188. destination object. Fixes bug 20715; bugfix on 0.2.8.3-alpha.
  15189. o Minor bugfixes (memory leak, use-after-free, linux seccomp2 sandbox):
  15190. - Fix a memory leak and use-after-free error when removing entries
  15191. from the sandbox's getaddrinfo() cache. Fixes bug 20710; bugfix on
  15192. 0.2.5.5-alpha. Patch from "cypherpunks".
  15193. o Minor bugfixes (portability):
  15194. - Use the correct spelling of MAC_OS_X_VERSION_10_12 on configure.ac
  15195. Fixes bug 20935; bugfix on 0.2.9.6-rc.
  15196. o Minor bugfixes (unit tests):
  15197. - Stop expecting NetBSD unit tests to report success for ipfw. Part
  15198. of a fix for bug 19960; bugfix on 0.2.9.5-alpha.
  15199. - Fix tolerances in unit tests for monotonic time comparisons
  15200. between nanoseconds and microseconds. Previously, we accepted a 10
  15201. us difference only, which is not realistic on every platform's
  15202. clock_gettime(). Fixes bug 19974; bugfix on 0.2.9.1-alpha.
  15203. - Remove a double-free in the single onion service unit test. Stop
  15204. ignoring a return value. Make future changes less error-prone.
  15205. Fixes bug 20864; bugfix on 0.2.9.6-rc.
  15206. Changes in version 0.2.8.11 - 2016-12-08
  15207. Tor 0.2.8.11 backports fixes for additional portability issues that
  15208. could prevent Tor from building correctly on OSX Sierra, or with
  15209. OpenSSL 1.1. Affected users should upgrade; others can safely stay
  15210. with 0.2.8.10.
  15211. o Minor bugfixes (portability):
  15212. - Avoid compilation errors when building on OSX Sierra. Sierra began
  15213. to support the getentropy() and clock_gettime() APIs, but created
  15214. a few problems in doing so. Tor 0.2.9 has a more thorough set of
  15215. workarounds; in 0.2.8, we are just using the /dev/urandom and mach
  15216. monotonic time interfaces. Fixes bug 20865. Bugfix
  15217. on 0.2.8.1-alpha.
  15218. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  15219. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  15220. architectures. Closes ticket 20588.
  15221. Changes in version 0.2.8.10 - 2016-12-02
  15222. Tor 0.2.8.10 backports a fix for a bug that would sometimes make clients
  15223. unusable after they left standby mode. It also backports fixes for
  15224. a few portability issues and a small but problematic memory leak.
  15225. o Major bugfixes (client reliability, backport from 0.2.9.5-alpha):
  15226. - When Tor leaves standby because of a new application request, open
  15227. circuits as needed to serve that request. Previously, we would
  15228. potentially wait a very long time. Fixes part of bug 19969; bugfix
  15229. on 0.2.8.1-alpha.
  15230. o Major bugfixes (client performance, backport from 0.2.9.5-alpha):
  15231. - Clients now respond to new application stream requests immediately
  15232. when they arrive, rather than waiting up to one second before
  15233. starting to handle them. Fixes part of bug 19969; bugfix
  15234. on 0.2.8.1-alpha.
  15235. o Minor bugfixes (portability, backport from 0.2.9.6-rc):
  15236. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  15237. successfully targeting earlier versions of OSX. Resolves
  15238. ticket 20235.
  15239. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  15240. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  15241. 20551; bugfix on 0.2.1.1-alpha.
  15242. o Minor bugfixes (relay, backport from 0.2.9.5-alpha):
  15243. - Work around a memory leak in OpenSSL 1.1 when encoding public
  15244. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  15245. o Minor features (geoip):
  15246. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  15247. Country database.
  15248. Changes in version 0.2.9.6-rc - 2016-12-02
  15249. Tor 0.2.9.6-rc fixes a few remaining bugs found in the previous alpha
  15250. version. We hope that it will be ready to become stable soon, and we
  15251. encourage everyone to test this release. If no showstopper bugs are
  15252. found here, the next 0.2.9 release will be stable.
  15253. o Major bugfixes (relay, resolver, logging):
  15254. - For relays that don't know their own address, avoid attempting a
  15255. local hostname resolve for each descriptor we download. This
  15256. will cut down on the number of "Success: chose address 'x.x.x.x'"
  15257. log lines, and also avoid confusing clock jumps if the resolver
  15258. is slow. Fixes bugs 20423 and 20610; bugfix on 0.2.8.1-alpha.
  15259. o Minor bugfixes (client, fascistfirewall):
  15260. - Avoid spurious warnings when ReachableAddresses or FascistFirewall
  15261. is set. Fixes bug 20306; bugfix on 0.2.8.2-alpha.
  15262. o Minor bugfixes (hidden services):
  15263. - Stop ignoring the anonymity status of saved keys for hidden
  15264. services and single onion services when first starting tor.
  15265. Instead, refuse to start tor if any hidden service key has been
  15266. used in a different hidden service anonymity mode. Fixes bug
  15267. 20638; bugfix on 17178 in 0.2.9.3-alpha; reported by ahf.
  15268. o Minor bugfixes (portability):
  15269. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  15270. successfully targeting earlier versions of OSX. Resolves
  15271. ticket 20235.
  15272. - Run correctly when built on Windows build environments that
  15273. require _vcsprintf(). Fixes bug 20560; bugfix on 0.2.2.11-alpha.
  15274. o Minor bugfixes (single onion services, Tor2web):
  15275. - Stop complaining about long-term one-hop circuits deliberately
  15276. created by single onion services and Tor2web. These log messages
  15277. are intended to diagnose issue 8387, which relates to circuits
  15278. hanging around forever for no reason. Fixes bug 20613; bugfix on
  15279. 0.2.9.1-alpha. Reported by "pastly".
  15280. o Minor bugfixes (unit tests):
  15281. - Stop spurious failures in the local interface address discovery
  15282. unit tests. Fixes bug 20634; bugfix on 0.2.8.1-alpha; patch by
  15283. Neel Chauhan.
  15284. o Documentation:
  15285. - Correct the minimum bandwidth value in torrc.sample, and queue a
  15286. corresponding change for torrc.minimal. Closes ticket 20085.
  15287. Changes in version 0.2.9.5-alpha - 2016-11-08
  15288. Tor 0.2.9.5-alpha fixes numerous bugs discovered in the previous alpha
  15289. version. We believe one or two probably remain, and we encourage
  15290. everyone to test this release.
  15291. o Major bugfixes (client performance):
  15292. - Clients now respond to new application stream requests immediately
  15293. when they arrive, rather than waiting up to one second before
  15294. starting to handle them. Fixes part of bug 19969; bugfix
  15295. on 0.2.8.1-alpha.
  15296. o Major bugfixes (client reliability):
  15297. - When Tor leaves standby because of a new application request, open
  15298. circuits as needed to serve that request. Previously, we would
  15299. potentially wait a very long time. Fixes part of bug 19969; bugfix
  15300. on 0.2.8.1-alpha.
  15301. o Major bugfixes (download scheduling):
  15302. - When using an exponential backoff schedule, do not give up on
  15303. downloading just because we have failed a bunch of times. Since
  15304. each delay is longer than the last, retrying indefinitely won't
  15305. hurt. Fixes bug 20536; bugfix on 0.2.9.1-alpha.
  15306. - If a consensus expires while we are waiting for certificates to
  15307. download, stop waiting for certificates.
  15308. - If we stop waiting for certificates less than a minute after we
  15309. started downloading them, do not consider the certificate download
  15310. failure a separate failure. Fixes bug 20533; bugfix
  15311. on 0.2.0.9-alpha.
  15312. - Remove the maximum delay on exponential-backoff scheduling. Since
  15313. we now allow an infinite number of failures (see ticket 20536), we
  15314. must now allow the time to grow longer on each failure. Fixes part
  15315. of bug 20534; bugfix on 0.2.9.1-alpha.
  15316. - Make our initial download delays closer to those from 0.2.8. Fixes
  15317. another part of bug 20534; bugfix on 0.2.9.1-alpha.
  15318. - When determining when to download a directory object, handle times
  15319. after 2038 if the operating system supports them. (Someday this
  15320. will be important!) Fixes bug 20587; bugfix on 0.2.8.1-alpha.
  15321. - When using exponential backoff in test networks, use a lower
  15322. exponent, so the delays do not vary as much. This helps test
  15323. networks bootstrap consistently. Fixes bug 20597; bugfix on 20499.
  15324. o Minor features (geoip):
  15325. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  15326. Country database.
  15327. o Minor bugfixes (client directory scheduling):
  15328. - Treat "relay too busy to answer request" as a failed request and a
  15329. reason to back off on our retry frequency. This is safe now that
  15330. exponential backoffs retry indefinitely, and avoids a bug where we
  15331. would reset our download schedule erroneously. Fixes bug 20593;
  15332. bugfix on 0.2.9.1-alpha.
  15333. o Minor bugfixes (client, logging):
  15334. - Remove a BUG warning in circuit_pick_extend_handshake(). Instead,
  15335. assume all nodes support EXTEND2. Use ntor whenever a key is
  15336. available. Fixes bug 20472; bugfix on 0.2.9.3-alpha.
  15337. - On DNSPort, stop logging a BUG warning on a failed hostname
  15338. lookup. Fixes bug 19869; bugfix on 0.2.9.1-alpha.
  15339. o Minor bugfixes (hidden services):
  15340. - When configuring hidden services, check every hidden service
  15341. directory's permissions. Previously, we only checked the last
  15342. hidden service. Fixes bug 20529; bugfix the work to fix 13942
  15343. in 0.2.6.2-alpha.
  15344. o Minor bugfixes (portability):
  15345. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  15346. architectures. Closes ticket 20588.
  15347. - Use ECDHE ciphers instead of ECDH in tortls tests. LibreSSL has
  15348. removed the ECDH ciphers which caused the tests to fail on
  15349. platforms which use it. Fixes bug 20460; bugfix on 0.2.8.1-alpha.
  15350. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  15351. 20551; bugfix on 0.2.1.1-alpha.
  15352. o Minor bugfixes (relay bootstrap):
  15353. - Ensure relays don't make multiple connections during bootstrap.
  15354. Fixes bug 20591; bugfix on 0.2.8.1-alpha.
  15355. o Minor bugfixes (relay):
  15356. - Work around a memory leak in OpenSSL 1.1 when encoding public
  15357. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  15358. - Avoid a small memory leak when informing worker threads about
  15359. rotated onion keys. Fixes bug 20401; bugfix on 0.2.6.3-alpha.
  15360. - Do not try to parallelize workers more than 16x without the user
  15361. explicitly configuring us to do so, even if we do detect more than
  15362. 16 CPU cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  15363. o Minor bugfixes (single onion services):
  15364. - Start correctly when creating a single onion service in a
  15365. directory that did not previously exist. Fixes bug 20484; bugfix
  15366. on 0.2.9.3-alpha.
  15367. o Minor bugfixes (testing):
  15368. - Avoid a unit test failure on systems with over 16 detectable CPU
  15369. cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  15370. o Documentation:
  15371. - Clarify that setting HiddenServiceNonAnonymousMode requires you to
  15372. also set "SOCKSPort 0". Fixes bug 20487; bugfix on 0.2.9.3-alpha.
  15373. - Module-level documentation for several more modules. Closes
  15374. tickets 19287 and 19290.
  15375. Changes in version 0.2.8.9 - 2016-10-17
  15376. Tor 0.2.8.9 backports a fix for a security hole in previous versions
  15377. of Tor that would allow a remote attacker to crash a Tor client,
  15378. hidden service, relay, or authority. All Tor users should upgrade to
  15379. this version, or to 0.2.9.4-alpha. Patches will be released for older
  15380. versions of Tor.
  15381. o Major features (security fixes, also in 0.2.9.4-alpha):
  15382. - Prevent a class of security bugs caused by treating the contents
  15383. of a buffer chunk as if they were a NUL-terminated string. At
  15384. least one such bug seems to be present in all currently used
  15385. versions of Tor, and would allow an attacker to remotely crash
  15386. most Tor instances, especially those compiled with extra compiler
  15387. hardening. With this defense in place, such bugs can't crash Tor,
  15388. though we should still fix them as they occur. Closes ticket
  15389. 20384 (TROVE-2016-10-001).
  15390. o Minor features (geoip):
  15391. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  15392. Country database.
  15393. Changes in version 0.2.9.4-alpha - 2016-10-17
  15394. Tor 0.2.9.4-alpha fixes a security hole in previous versions of Tor
  15395. that would allow a remote attacker to crash a Tor client, hidden
  15396. service, relay, or authority. All Tor users should upgrade to this
  15397. version, or to 0.2.8.9. Patches will be released for older versions
  15398. of Tor.
  15399. Tor 0.2.9.4-alpha also adds numerous small features and fix-ups to
  15400. previous versions of Tor, including the implementation of a feature to
  15401. future- proof the Tor ecosystem against protocol changes, some bug
  15402. fixes necessary for Tor Browser to use unix domain sockets correctly,
  15403. and several portability improvements. We anticipate that this will be
  15404. the last alpha in the Tor 0.2.9 series, and that the next release will
  15405. be a release candidate.
  15406. o Major features (security fixes):
  15407. - Prevent a class of security bugs caused by treating the contents
  15408. of a buffer chunk as if they were a NUL-terminated string. At
  15409. least one such bug seems to be present in all currently used
  15410. versions of Tor, and would allow an attacker to remotely crash
  15411. most Tor instances, especially those compiled with extra compiler
  15412. hardening. With this defense in place, such bugs can't crash Tor,
  15413. though we should still fix them as they occur. Closes ticket
  15414. 20384 (TROVE-2016-10-001).
  15415. o Major features (subprotocol versions):
  15416. - Tor directory authorities now vote on a set of recommended
  15417. subprotocol versions, and on a set of required subprotocol
  15418. versions. Clients and relays that lack support for a _required_
  15419. subprotocol version will not start; those that lack support for a
  15420. _recommended_ subprotocol version will warn the user to upgrade.
  15421. Closes ticket 19958; implements part of proposal 264.
  15422. - Tor now uses "subprotocol versions" to indicate compatibility.
  15423. Previously, versions of Tor looked at the declared Tor version of
  15424. a relay to tell whether they could use a given feature. Now, they
  15425. should be able to rely on its declared subprotocol versions. This
  15426. change allows compatible implementations of the Tor protocol(s) to
  15427. exist without pretending to be 100% bug-compatible with particular
  15428. releases of Tor itself. Closes ticket 19958; implements part of
  15429. proposal 264.
  15430. o Minor feature (fallback directories):
  15431. - Remove broken fallbacks from the hard-coded fallback directory
  15432. list. Closes ticket 20190; patch by teor.
  15433. o Minor features (client, directory):
  15434. - Since authorities now omit all routers that lack the Running and
  15435. Valid flags, we assume that any relay listed in the consensus must
  15436. have those flags. Closes ticket 20001; implements part of
  15437. proposal 272.
  15438. o Minor features (compilation, portability):
  15439. - Compile correctly on MacOS 10.12 (aka "Sierra"). Closes
  15440. ticket 20241.
  15441. o Minor features (development tools, etags):
  15442. - Teach the "make tags" Makefile target how to correctly find
  15443. "MOCK_IMPL" function definitions. Patch from nherring; closes
  15444. ticket 16869.
  15445. o Minor features (geoip):
  15446. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  15447. Country database.
  15448. o Minor features (unix domain sockets):
  15449. - When configuring a unix domain socket for a SocksPort,
  15450. ControlPort, or Hidden service, you can now wrap the address in
  15451. quotes, using C-style escapes inside the quotes. This allows unix
  15452. domain socket paths to contain spaces.
  15453. o Minor features (virtual addresses):
  15454. - Increase the maximum number of bits for the IPv6 virtual network
  15455. prefix from 16 to 104. In this way, the condition for address
  15456. allocation is less restrictive. Closes ticket 20151; feature
  15457. on 0.2.4.7-alpha.
  15458. o Minor bugfixes (address discovery):
  15459. - Stop reordering IP addresses returned by the OS. This makes it
  15460. more likely that Tor will guess the same relay IP address every
  15461. time. Fixes issue 20163; bugfix on 0.2.7.1-alpha, ticket 17027.
  15462. Reported by René Mayrhofer, patch by "cypherpunks".
  15463. o Minor bugfixes (client, unix domain sockets):
  15464. - Disable IsolateClientAddr when using AF_UNIX backed SocksPorts as
  15465. the client address is meaningless. Fixes bug 20261; bugfix
  15466. on 0.2.6.3-alpha.
  15467. o Minor bugfixes (compilation, OpenBSD):
  15468. - Detect Libevent2 functions correctly on systems that provide
  15469. libevent2, but where libevent1 is linked with -levent. Fixes bug
  15470. 19904; bugfix on 0.2.2.24-alpha. Patch from Rubiate.
  15471. o Minor bugfixes (configuration):
  15472. - When parsing quoted configuration values from the torrc file,
  15473. handle windows line endings correctly. Fixes bug 19167; bugfix on
  15474. 0.2.0.16-alpha. Patch from "Pingl".
  15475. o Minor bugfixes (getpass):
  15476. - Defensively fix a non-triggerable heap corruption at do_getpass()
  15477. to protect ourselves from mistakes in the future. Fixes bug
  15478. 19223; bugfix on 0.2.7.3-rc. Bug found by Guido Vranken, patch
  15479. by nherring.
  15480. o Minor bugfixes (hidden service):
  15481. - Allow hidden services to run on IPv6 addresses even when the
  15482. IPv6Exit option is not set. Fixes bug 18357; bugfix
  15483. on 0.2.4.7-alpha.
  15484. o Documentation:
  15485. - Add module-level internal documentation for 36 C files that
  15486. previously didn't have a high-level overview. Closes ticket #20385.
  15487. o Required libraries:
  15488. - When building with OpenSSL, Tor now requires version 1.0.1 or
  15489. later. OpenSSL 1.0.0 and earlier are no longer supported by the
  15490. OpenSSL team, and should not be used. Closes ticket 20303.
  15491. Changes in version 0.2.9.3-alpha - 2016-09-23
  15492. Tor 0.2.9.3-alpha adds improved support for entities that want to make
  15493. high-performance services available through the Tor .onion mechanism
  15494. without themselves receiving anonymity as they host those services. It
  15495. also tries harder to ensure that all steps on a circuit are using the
  15496. strongest crypto possible, strengthens some TLS properties, and
  15497. resolves several bugs -- including a pair of crash bugs from the 0.2.8
  15498. series. Anybody running an earlier version of 0.2.9.x should upgrade.
  15499. o Major bugfixes (crash, also in 0.2.8.8):
  15500. - Fix a complicated crash bug that could affect Tor clients
  15501. configured to use bridges when replacing a networkstatus consensus
  15502. in which one of their bridges was mentioned. OpenBSD users saw
  15503. more crashes here, but all platforms were potentially affected.
  15504. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  15505. o Major bugfixes (relay, OOM handler, also in 0.2.8.8):
  15506. - Fix a timing-dependent assertion failure that could occur when we
  15507. tried to flush from a circuit after having freed its cells because
  15508. of an out-of-memory condition. Fixes bug 20203; bugfix on
  15509. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  15510. this one.
  15511. o Major features (circuit building, security):
  15512. - Authorities, relays and clients now require ntor keys in all
  15513. descriptors, for all hops (except for rare hidden service protocol
  15514. cases), for all circuits, and for all other roles. Part of
  15515. ticket 19163.
  15516. - Tor authorities, relays, and clients only use ntor, except for
  15517. rare cases in the hidden service protocol. Part of ticket 19163.
  15518. o Major features (single-hop "hidden" services):
  15519. - Add experimental HiddenServiceSingleHopMode and
  15520. HiddenServiceNonAnonymousMode options. When both are set to 1,
  15521. every hidden service on a Tor instance becomes a non-anonymous
  15522. Single Onion Service. Single Onions make one-hop (direct)
  15523. connections to their introduction and rendezvous points. One-hop
  15524. circuits make Single Onion servers easily locatable, but clients
  15525. remain location-anonymous. This is compatible with the existing
  15526. hidden service implementation, and works on the current tor
  15527. network without any changes to older relays or clients. Implements
  15528. proposal 260, completes ticket 17178. Patch by teor and asn.
  15529. o Major features (resource management):
  15530. - Tor can now notice it is about to run out of sockets, and
  15531. preemptively close connections of lower priority. (This feature is
  15532. off by default for now, since the current prioritizing method is
  15533. yet not mature enough. You can enable it by setting
  15534. "DisableOOSCheck 0", but watch out: it might close some sockets
  15535. you would rather have it keep.) Closes ticket 18640.
  15536. o Major bugfixes (circuit building):
  15537. - Hidden service client-to-intro-point and service-to-rendezvous-
  15538. point circuits use the TAP key supplied by the protocol, to avoid
  15539. epistemic attacks. Fixes bug 19163; bugfix on 0.2.4.18-rc.
  15540. o Major bugfixes (compilation, OpenBSD):
  15541. - Fix a Libevent-detection bug in our autoconf script that would
  15542. prevent Tor from linking successfully on OpenBSD. Patch from
  15543. rubiate. Fixes bug 19902; bugfix on 0.2.9.1-alpha.
  15544. o Major bugfixes (hidden services):
  15545. - Clients now require hidden services to include the TAP keys for
  15546. their intro points in the hidden service descriptor. This prevents
  15547. an inadvertent upgrade to ntor, which a malicious hidden service
  15548. could use to distinguish clients by consensus version. Fixes bug
  15549. 20012; bugfix on 0.2.4.8-alpha. Patch by teor.
  15550. o Minor features (security, TLS):
  15551. - Servers no longer support clients that without AES ciphersuites.
  15552. (3DES is no longer considered an acceptable cipher.) We believe
  15553. that no such Tor clients currently exist, since Tor has required
  15554. OpenSSL 0.9.7 or later since 2009. Closes ticket 19998.
  15555. o Minor feature (fallback directories):
  15556. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  15557. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  15558. 2016. Closes ticket 20190; patch by teor.
  15559. o Minor features (geoip, also in 0.2.8.8):
  15560. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  15561. Country database.
  15562. o Minor feature (port flags):
  15563. - Add new flags to the *Port options to finer control over which
  15564. requests are allowed. The flags are NoDNSRequest, NoOnionTraffic,
  15565. and the synthetic flag OnionTrafficOnly, which is equivalent to
  15566. NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic. Closes enhancement
  15567. 18693; patch by "teor".
  15568. o Minor features (directory authority):
  15569. - After voting, if the authorities decide that a relay is not
  15570. "Valid", they no longer include it in the consensus at all. Closes
  15571. ticket 20002; implements part of proposal 272.
  15572. o Minor features (testing):
  15573. - Disable memory protections on OpenBSD when performing our unit
  15574. tests for memwipe(). The test deliberately invokes undefined
  15575. behavior, and the OpenBSD protections interfere with this. Patch
  15576. from "rubiate". Closes ticket 20066.
  15577. o Minor features (testing, ipv6):
  15578. - Add the single-onion and single-onion-ipv6 chutney targets to
  15579. "make test-network-all". This requires a recent chutney version
  15580. with the single onion network flavours (git c72a652 or later).
  15581. Closes ticket 20072; patch by teor.
  15582. - Add the hs-ipv6 chutney target to make test-network-all's IPv6
  15583. tests. Remove bridges+hs, as it's somewhat redundant. This
  15584. requires a recent chutney version that supports IPv6 clients,
  15585. relays, and authorities. Closes ticket 20069; patch by teor.
  15586. o Minor features (Tor2web):
  15587. - Make Tor2web clients respect ReachableAddresses. This feature was
  15588. inadvertently enabled in 0.2.8.6, then removed by bugfix 19973 on
  15589. 0.2.8.7. Implements feature 20034. Patch by teor.
  15590. o Minor features (unit tests):
  15591. - We've done significant work to make the unit tests run faster.
  15592. - Our link-handshake unit tests now check that when invalid
  15593. handshakes fail, they fail with the error messages we expected.
  15594. - Our unit testing code that captures log messages no longer
  15595. prevents them from being written out if the user asked for them
  15596. (by passing --debug or --info or or --notice --warn to the "test"
  15597. binary). This change prevents us from missing unexpected log
  15598. messages simply because we were looking for others. Related to
  15599. ticket 19999.
  15600. - The unit tests now log all warning messages with the "BUG" flag.
  15601. Previously, they only logged errors by default. This change will
  15602. help us make our testing code more correct, and make sure that we
  15603. only hit this code when we mean to. In the meantime, however,
  15604. there will be more warnings in the unit test logs than before.
  15605. This is preparatory work for ticket 19999.
  15606. - The unit tests now treat any failure of a "tor_assert_nonfatal()"
  15607. assertion as a test failure.
  15608. o Minor bug fixes (circuits):
  15609. - Use the CircuitBuildTimeout option whenever
  15610. LearnCircuitBuildTimeout is disabled. Previously, we would respect
  15611. the option when a user disabled it, but not when it was disabled
  15612. because some other option was set. Fixes bug 20073; bugfix on
  15613. 0.2.4.12-alpha. Patch by teor.
  15614. o Minor bugfixes (allocation):
  15615. - Change how we allocate memory for large chunks on buffers, to
  15616. avoid a (currently impossible) integer overflow, and to waste less
  15617. space when allocating unusually large chunks. Fixes bug 20081;
  15618. bugfix on 0.2.0.16-alpha. Issue identified by Guido Vranken.
  15619. - Always include orconfig.h before including any other C headers.
  15620. Sometimes, it includes macros that affect the behavior of the
  15621. standard headers. Fixes bug 19767; bugfix on 0.2.9.1-alpha (the
  15622. first version to use AC_USE_SYSTEM_EXTENSIONS).
  15623. - Fix a syntax error in the IF_BUG_ONCE__() macro in non-GCC-
  15624. compatible compilers. Fixes bug 20141; bugfix on 0.2.9.1-alpha.
  15625. Patch from Gisle Vanem.
  15626. - Stop trying to build with Clang 4.0's -Wthread-safety warnings.
  15627. They apparently require a set of annotations that we aren't
  15628. currently using, and they create false positives in our pthreads
  15629. wrappers. Fixes bug 20110; bugfix on 0.2.9.1-alpha.
  15630. o Minor bugfixes (directory authority):
  15631. - Die with a more useful error when the operator forgets to place
  15632. the authority_signing_key file into the keys directory. This
  15633. avoids an uninformative assert & traceback about having an invalid
  15634. key. Fixes bug 20065; bugfix on 0.2.0.1-alpha.
  15635. - When allowing private addresses, mark Exits that only exit to
  15636. private locations as such. Fixes bug 20064; bugfix
  15637. on 0.2.2.9-alpha.
  15638. o Minor bugfixes (documentation):
  15639. - Document the default PathsNeededToBuildCircuits value that's used
  15640. by clients when the directory authorities don't set
  15641. min_paths_for_circs_pct. Fixes bug 20117; bugfix on 02c320916e02
  15642. in 0.2.4.10-alpha. Patch by teor, reported by Jesse V.
  15643. - Fix manual for the User option: it takes a username, not a UID.
  15644. Fixes bug 19122; bugfix on 0.0.2pre16 (the first version to have
  15645. a manpage!).
  15646. o Minor bugfixes (hidden services):
  15647. - Stop logging intro point details to the client log on certain
  15648. error conditions. Fixed as part of bug 20012; bugfix on
  15649. 0.2.4.8-alpha. Patch by teor.
  15650. o Minor bugfixes (IPv6, testing):
  15651. - Check for IPv6 correctly on Linux when running test networks.
  15652. Fixes bug 19905; bugfix on 0.2.7.3-rc; patch by teor.
  15653. o Minor bugfixes (Linux seccomp2 sandbox):
  15654. - Add permission to run the sched_yield() and sigaltstack() system
  15655. calls, in order to support versions of Tor compiled with asan or
  15656. ubsan code that use these calls. Now "sandbox 1" and
  15657. "--enable-expensive-hardening" should be compatible on more
  15658. systems. Fixes bug 20063; bugfix on 0.2.5.1-alpha.
  15659. o Minor bugfixes (logging):
  15660. - When logging a message from the BUG() macro, be explicit about
  15661. what we were asserting. Previously we were confusing what we were
  15662. asserting with what the bug was. Fixes bug 20093; bugfix
  15663. on 0.2.9.1-alpha.
  15664. - When we are unable to remove the bw_accounting file, do not warn
  15665. if the reason we couldn't remove it was that it didn't exist.
  15666. Fixes bug 19964; bugfix on 0.2.5.4-alpha. Patch from 'pastly'.
  15667. o Minor bugfixes (option parsing):
  15668. - Count unix sockets when counting client listeners (SOCKS, Trans,
  15669. NATD, and DNS). This has no user-visible behaviour changes: these
  15670. options are set once, and never read. Required for correct
  15671. behaviour in ticket 17178. Fixes bug 19677; bugfix on
  15672. 0.2.6.3-alpha. Patch by teor.
  15673. o Minor bugfixes (options):
  15674. - Check the consistency of UseEntryGuards and EntryNodes more
  15675. reliably. Fixes bug 20074; bugfix on 0.2.4.12-alpha. Patch
  15676. by teor.
  15677. - Stop changing the configured value of UseEntryGuards on
  15678. authorities and Tor2web clients. Fixes bug 20074; bugfix on
  15679. commits 51fc6799 in 0.1.1.16-rc and acda1735 in 0.2.4.3-alpha.
  15680. Patch by teor.
  15681. o Minor bugfixes (Tor2web):
  15682. - Prevent Tor2web clients running hidden services, these services
  15683. are not anonymous due to the one-hop client paths. Fixes bug
  15684. 19678. Patch by teor.
  15685. o Minor bugfixes (unit tests):
  15686. - Fix a shared-random unit test that was failing on big endian
  15687. architectures due to internal representation of a integer copied
  15688. to a buffer. The test is changed to take a full 32 bytes of data
  15689. and use the output of a python script that make the COMMIT and
  15690. REVEAL calculation according to the spec. Fixes bug 19977; bugfix
  15691. on 0.2.9.1-alpha.
  15692. - The tor_tls_server_info_callback unit test no longer crashes when
  15693. debug-level logging is turned on. Fixes bug 20041; bugfix
  15694. on 0.2.8.1-alpha.
  15695. Changes in version 0.2.8.8 - 2016-09-23
  15696. Tor 0.2.8.8 fixes two crash bugs present in previous versions of the
  15697. 0.2.8.x series. Relays running 0.2.8.x should upgrade, as should users
  15698. who select public relays as their bridges.
  15699. o Major bugfixes (crash):
  15700. - Fix a complicated crash bug that could affect Tor clients
  15701. configured to use bridges when replacing a networkstatus consensus
  15702. in which one of their bridges was mentioned. OpenBSD users saw
  15703. more crashes here, but all platforms were potentially affected.
  15704. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  15705. o Major bugfixes (relay, OOM handler):
  15706. - Fix a timing-dependent assertion failure that could occur when we
  15707. tried to flush from a circuit after having freed its cells because
  15708. of an out-of-memory condition. Fixes bug 20203; bugfix on
  15709. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  15710. this one.
  15711. o Minor feature (fallback directories):
  15712. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  15713. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  15714. 2016. Closes ticket 20190; patch by teor.
  15715. o Minor features (geoip):
  15716. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  15717. Country database.
  15718. Changes in version 0.2.9.2-alpha - 2016-08-24
  15719. Tor 0.2.9.2-alpha continues development of the 0.2.9 series with
  15720. several new features and bugfixes. It also includes an important
  15721. authority update and an important bugfix from 0.2.8.7. Everyone who
  15722. sets the ReachableAddresses option, and all bridges, are strongly
  15723. encouraged to upgrade to 0.2.8.7, or to 0.2.9.2-alpha.
  15724. o Directory authority changes (also in 0.2.8.7):
  15725. - The "Tonga" bridge authority has been retired; the new bridge
  15726. authority is "Bifroest". Closes tickets 19728 and 19690.
  15727. o Major bugfixes (client, security, also in 0.2.8.7):
  15728. - Only use the ReachableAddresses option to restrict the first hop
  15729. in a path. In earlier versions of 0.2.8.x, it would apply to
  15730. every hop in the path, with a possible degradation in anonymity
  15731. for anyone using an uncommon ReachableAddress setting. Fixes bug
  15732. 19973; bugfix on 0.2.8.2-alpha.
  15733. o Major features (user interface):
  15734. - Tor now supports the ability to declare options deprecated, so
  15735. that we can recommend that people stop using them. Previously,
  15736. this was done in an ad-hoc way. Closes ticket 19820.
  15737. o Major bugfixes (directory downloads):
  15738. - Avoid resetting download status for consensuses hourly, since we
  15739. already have another, smarter retry mechanism. Fixes bug 8625;
  15740. bugfix on 0.2.0.9-alpha.
  15741. o Minor features (config):
  15742. - Warn users when descriptor and port addresses are inconsistent.
  15743. Mitigates bug 13953; patch by teor.
  15744. o Minor features (geoip):
  15745. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  15746. Country database.
  15747. o Minor features (user interface):
  15748. - There is a new --list-deprecated-options command-line option to
  15749. list all of the deprecated options. Implemented as part of
  15750. ticket 19820.
  15751. o Minor bugfixes (code style):
  15752. - Fix an integer signedness conversion issue in the case conversion
  15753. tables. Fixes bug 19168; bugfix on 0.2.1.11-alpha.
  15754. o Minor bugfixes (compilation):
  15755. - Build correctly on versions of libevent2 without support for
  15756. evutil_secure_rng_add_bytes(). Fixes bug 19904; bugfix
  15757. on 0.2.5.4-alpha.
  15758. - Fix a compilation warning on GCC versions before 4.6. Our
  15759. ENABLE_GCC_WARNING macro used the word "warning" as an argument,
  15760. when it is also required as an argument to the compiler pragma.
  15761. Fixes bug 19901; bugfix on 0.2.9.1-alpha.
  15762. o Minor bugfixes (compilation, also in 0.2.8.7):
  15763. - Remove an inappropriate "inline" in tortls.c that was causing
  15764. warnings on older versions of GCC. Fixes bug 19903; bugfix
  15765. on 0.2.8.1-alpha.
  15766. o Minor bugfixes (fallback directories, also in 0.2.8.7):
  15767. - Avoid logging a NULL string pointer when loading fallback
  15768. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  15769. and 0.2.8.1-alpha. Report and patch by "rubiate".
  15770. o Minor bugfixes (logging):
  15771. - Log a more accurate message when we fail to dump a microdescriptor.
  15772. Fixes bug 17758; bugfix on 0.2.2.8-alpha. Patch from Daniel Pinto.
  15773. o Minor bugfixes (memory leak):
  15774. - Fix a series of slow memory leaks related to parsing torrc files
  15775. and options. Fixes bug 19466; bugfix on 0.2.1.6-alpha.
  15776. o Deprecated features:
  15777. - A number of DNS-cache-related sub-options for client ports are now
  15778. deprecated for security reasons, and may be removed in a future
  15779. version of Tor. (We believe that client-side DNS caching is a bad
  15780. idea for anonymity, and you should not turn it on.) The options
  15781. are: CacheDNS, CacheIPv4DNS, CacheIPv6DNS, UseDNSCache,
  15782. UseIPv4Cache, and UseIPv6Cache.
  15783. - A number of options are deprecated for security reasons, and may
  15784. be removed in a future version of Tor. The options are:
  15785. AllowDotExit, AllowInvalidNodes, AllowSingleHopCircuits,
  15786. AllowSingleHopExits, ClientDNSRejectInternalAddresses,
  15787. CloseHSClientCircuitsImmediatelyOnTimeout,
  15788. CloseHSServiceRendCircuitsImmediatelyOnTimeout,
  15789. ExcludeSingleHopRelays, FastFirstHopPK, TLSECGroup,
  15790. UseNTorHandshake, and WarnUnsafeSocks.
  15791. - The *ListenAddress options are now deprecated as unnecessary: the
  15792. corresponding *Port options should be used instead. These options
  15793. may someday be removed. The affected options are:
  15794. ControlListenAddress, DNSListenAddress, DirListenAddress,
  15795. NATDListenAddress, ORListenAddress, SocksListenAddress,
  15796. and TransListenAddress.
  15797. o Documentation:
  15798. - Correct the IPv6 syntax in our documentation for the
  15799. VirtualAddrNetworkIPv6 torrc option. Closes ticket 19743.
  15800. o Removed code:
  15801. - We no longer include the (dead, deprecated) bufferevent code in
  15802. Tor. Closes ticket 19450. Based on a patch from U+039b.
  15803. Changes in version 0.2.8.7 - 2016-08-24
  15804. Tor 0.2.8.7 fixes an important bug related to the ReachableAddresses
  15805. option in 0.2.8.6, and replaces a retiring bridge authority. Everyone
  15806. who sets the ReachableAddresses option, and all bridges, are strongly
  15807. encouraged to upgrade.
  15808. o Directory authority changes:
  15809. - The "Tonga" bridge authority has been retired; the new bridge
  15810. authority is "Bifroest". Closes tickets 19728 and 19690.
  15811. o Major bugfixes (client, security):
  15812. - Only use the ReachableAddresses option to restrict the first hop
  15813. in a path. In earlier versions of 0.2.8.x, it would apply to
  15814. every hop in the path, with a possible degradation in anonymity
  15815. for anyone using an uncommon ReachableAddress setting. Fixes bug
  15816. 19973; bugfix on 0.2.8.2-alpha.
  15817. o Minor features (geoip):
  15818. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  15819. Country database.
  15820. o Minor bugfixes (compilation):
  15821. - Remove an inappropriate "inline" in tortls.c that was causing
  15822. warnings on older versions of GCC. Fixes bug 19903; bugfix
  15823. on 0.2.8.1-alpha.
  15824. o Minor bugfixes (fallback directories):
  15825. - Avoid logging a NULL string pointer when loading fallback
  15826. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  15827. and 0.2.8.1-alpha. Report and patch by "rubiate".
  15828. Changes in version 0.2.9.1-alpha - 2016-08-08
  15829. Tor 0.2.9.1-alpha is the first alpha release in the 0.2.9 development
  15830. series. It improves our support for hardened builds and compiler
  15831. warnings, deploys some critical infrastructure for improvements to
  15832. hidden services, includes a new timing backend that we hope to use for
  15833. better support for traffic padding, makes it easier for programmers to
  15834. log unexpected events, and contains other small improvements to
  15835. security, correctness, and performance.
  15836. Below are the changes since 0.2.8.6.
  15837. o New system requirements:
  15838. - Tor now requires Libevent version 2.0.10-stable or later. Older
  15839. versions of Libevent have less efficient backends for several
  15840. platforms, and lack the DNS code that we use for our server-side
  15841. DNS support. This implements ticket 19554.
  15842. - Tor now requires zlib version 1.2 or later, for security,
  15843. efficiency, and (eventually) gzip support. (Back when we started,
  15844. zlib 1.1 and zlib 1.0 were still found in the wild. 1.2 was
  15845. released in 2003. We recommend the latest version.)
  15846. o Major features (build, hardening):
  15847. - Tor now builds with -ftrapv by default on compilers that support
  15848. it. This option detects signed integer overflow (which C forbids),
  15849. and turns it into a hard-failure. We do not apply this option to
  15850. code that needs to run in constant time to avoid side-channels;
  15851. instead, we use -fwrapv in that code. Closes ticket 17983.
  15852. - When --enable-expensive-hardening is selected, stop applying the
  15853. clang/gcc sanitizers to code that needs to run in constant time.
  15854. Although we are aware of no introduced side-channels, we are not
  15855. able to prove that there are none. Related to ticket 17983.
  15856. o Major features (compilation):
  15857. - Our big list of extra GCC warnings is now enabled by default when
  15858. building with GCC (or with anything like Clang that claims to be
  15859. GCC-compatible). To make all warnings into fatal compilation
  15860. errors, pass --enable-fatal-warnings to configure. Closes
  15861. ticket 19044.
  15862. - Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS to automatically
  15863. turn on C and POSIX extensions. (Previously, we attempted to do
  15864. this on an ad hoc basis.) Closes ticket 19139.
  15865. o Major features (directory authorities, hidden services):
  15866. - Directory authorities can now perform the shared randomness
  15867. protocol specified by proposal 250. Using this protocol, directory
  15868. authorities generate a global fresh random value every day. In the
  15869. future, this value will be used by hidden services to select
  15870. HSDirs. This release implements the directory authority feature;
  15871. the hidden service side will be implemented in the future as part
  15872. of proposal 224. Resolves ticket 16943; implements proposal 250.
  15873. o Major features (downloading, random exponential backoff):
  15874. - When we fail to download an object from a directory service, wait
  15875. for an (exponentially increasing) randomized amount of time before
  15876. retrying, rather than a fixed interval as we did before. This
  15877. prevents a group of Tor instances from becoming too synchronized,
  15878. or a single Tor instance from becoming too predictable, in its
  15879. download schedule. Closes ticket 15942.
  15880. o Major bugfixes (exit policies):
  15881. - Avoid disclosing exit outbound bind addresses, configured port
  15882. bind addresses, and local interface addresses in relay descriptors
  15883. by default under ExitPolicyRejectPrivate. Instead, only reject
  15884. these (otherwise unlisted) addresses if
  15885. ExitPolicyRejectLocalInterfaces is set. Fixes bug 18456; bugfix on
  15886. 0.2.7.2-alpha. Patch by teor.
  15887. o Major bugfixes (hidden service client):
  15888. - Allow Tor clients with appropriate controllers to work with
  15889. FetchHidServDescriptors set to 0. Previously, this option also
  15890. disabled descriptor cache lookup, thus breaking hidden services
  15891. entirely. Fixes bug 18704; bugfix on 0.2.0.20-rc. Patch by "twim".
  15892. o Minor features (build, hardening):
  15893. - Detect and work around a libclang_rt problem that would prevent
  15894. clang from finding __mulodi4() on some 32-bit platforms, and thus
  15895. keep -ftrapv from linking on those systems. Closes ticket 19079.
  15896. - When building on a system without runtime support for the runtime
  15897. hardening options, try to log a useful warning at configuration
  15898. time, rather than an incomprehensible warning at link time. If
  15899. expensive hardening was requested, this warning becomes an error.
  15900. Closes ticket 18895.
  15901. o Minor features (code safety):
  15902. - In our integer-parsing functions, ensure that maxiumum value we
  15903. give is no smaller than the minimum value. Closes ticket 19063;
  15904. patch from U+039b.
  15905. o Minor features (controller):
  15906. - Implement new GETINFO queries for all downloads that use
  15907. download_status_t to schedule retries. This allows controllers to
  15908. examine the schedule for pending downloads. Closes ticket 19323.
  15909. - Allow controllers to configure basic client authorization on
  15910. hidden services when they create them with the ADD_ONION control
  15911. command. Implements ticket 15588. Patch by "special".
  15912. - Fire a STATUS_SERVER controller event whenever the hibernation
  15913. status changes between "awake"/"soft"/"hard". Closes ticket 18685.
  15914. o Minor features (directory authority):
  15915. - Directory authorities now only give the Guard flag to a relay if
  15916. they are also giving it the Stable flag. This change allows us to
  15917. simplify path selection for clients. It should have minimal effect
  15918. in practice, since >99% of Guards already have the Stable flag.
  15919. Implements ticket 18624.
  15920. - Directory authorities now write their v3-status-votes file out to
  15921. disk earlier in the consensus process, so we have a record of the
  15922. votes even if we abort the consensus process. Resolves
  15923. ticket 19036.
  15924. o Minor features (hidden service):
  15925. - Stop being so strict about the payload length of "rendezvous1"
  15926. cells. We used to be locked in to the "TAP" handshake length, and
  15927. now we can handle better handshakes like "ntor". Resolves
  15928. ticket 18998.
  15929. o Minor features (infrastructure, time):
  15930. - Tor now uses the operating system's monotonic timers (where
  15931. available) for internal fine-grained timing. Previously we would
  15932. look at the system clock, and then attempt to compensate for the
  15933. clock running backwards. Closes ticket 18908.
  15934. - Tor now includes an improved timer backend, so that we can
  15935. efficiently support tens or hundreds of thousands of concurrent
  15936. timers, as will be needed for some of our planned anti-traffic-
  15937. analysis work. This code is based on William Ahern's "timeout.c"
  15938. project, which implements a "tickless hierarchical timing wheel".
  15939. Closes ticket 18365.
  15940. o Minor features (logging):
  15941. - Provide a more useful warning message when configured with an
  15942. invalid Nickname. Closes ticket 18300; patch from "icanhasaccount".
  15943. - When dumping unparseable router descriptors, optionally store them
  15944. in separate files, named by digest, up to a configurable size
  15945. limit. You can change the size limit by setting the
  15946. MaxUnparseableDescSizeToLog option, and disable this feature by
  15947. setting that option to 0. Closes ticket 18322.
  15948. - Add a set of macros to check nonfatal assertions, for internal
  15949. use. Migrating more of our checks to these should help us avoid
  15950. needless crash bugs. Closes ticket 18613.
  15951. o Minor features (performance):
  15952. - Change the "optimistic data" extension from "off by default" to
  15953. "on by default". The default was ordinarily overridden by a
  15954. consensus option, but when clients were bootstrapping for the
  15955. first time, they would not have a consensus to get the option
  15956. from. Changing this default saves a round-trip during startup.
  15957. Closes ticket 18815.
  15958. o Minor features (relay, usability):
  15959. - When the directory authorities refuse a bad relay's descriptor,
  15960. encourage the relay operator to contact us. Many relay operators
  15961. won't notice this line in their logs, but it's a win if even a few
  15962. learn why we don't like what their relay was doing. Resolves
  15963. ticket 18760.
  15964. o Minor features (testing):
  15965. - Let backtrace tests work correctly under AddressSanitizer. Fixes
  15966. part of bug 18934; bugfix on 0.2.5.2-alpha.
  15967. - Move the test-network.sh script to chutney, and modify tor's test-
  15968. network.sh to call the (newer) chutney version when available.
  15969. Resolves ticket 19116. Patch by teor.
  15970. - Use the lcov convention for marking lines as unreachable, so that
  15971. we don't count them when we're generating test coverage data.
  15972. Update our coverage tools to understand this convention. Closes
  15973. ticket 16792.
  15974. o Minor bugfixes (bootstrap):
  15975. - Remember the directory we fetched the consensus or previous
  15976. certificates from, and use it to fetch future authority
  15977. certificates. This change improves bootstrapping performance.
  15978. Fixes bug 18963; bugfix on 0.2.8.1-alpha.
  15979. o Minor bugfixes (build):
  15980. - The test-stem and test-network makefile targets now depend only on
  15981. the tor binary that they are testing. Previously, they depended on
  15982. "make all". Fixes bug 18240; bugfix on 0.2.8.2-alpha. Based on a
  15983. patch from "cypherpunks".
  15984. o Minor bugfixes (circuits):
  15985. - Make sure extend_info_from_router() is only called on servers.
  15986. Fixes bug 19639; bugfix on 0.2.8.1-alpha.
  15987. o Minor bugfixes (compilation):
  15988. - When building with Clang, use a full set of GCC warnings.
  15989. (Previously, we included only a subset, because of the way we
  15990. detected them.) Fixes bug 19216; bugfix on 0.2.0.1-alpha.
  15991. o Minor bugfixes (directory authority):
  15992. - Authorities now sort the "package" lines in their votes, for ease
  15993. of debugging. (They are already sorted in consensus documents.)
  15994. Fixes bug 18840; bugfix on 0.2.6.3-alpha.
  15995. - When parsing a detached signature, make sure we use the length of
  15996. the digest algorithm instead of an hardcoded DIGEST256_LEN in
  15997. order to avoid comparing bytes out-of-bounds with a smaller digest
  15998. length such as SHA1. Fixes bug 19066; bugfix on 0.2.2.6-alpha.
  15999. o Minor bugfixes (documentation):
  16000. - Document the --passphrase-fd option in the tor manpage. Fixes bug
  16001. 19504; bugfix on 0.2.7.3-rc.
  16002. - Fix the description of the --passphrase-fd option in the
  16003. tor-gencert manpage. The option is used to pass the number of a
  16004. file descriptor to read the passphrase from, not to read the file
  16005. descriptor from. Fixes bug 19505; bugfix on 0.2.0.20-alpha.
  16006. o Minor bugfixes (ephemeral hidden service):
  16007. - When deleting an ephemeral hidden service, close its intro points
  16008. even if they are not completely open. Fixes bug 18604; bugfix
  16009. on 0.2.7.1-alpha.
  16010. o Minor bugfixes (guard selection):
  16011. - Use a single entry guard even if the NumEntryGuards consensus
  16012. parameter is not provided. Fixes bug 17688; bugfix
  16013. on 0.2.5.6-alpha.
  16014. - Don't mark guards as unreachable if connection_connect() fails.
  16015. That function fails for local reasons, so it shouldn't reveal
  16016. anything about the status of the guard. Fixes bug 14334; bugfix
  16017. on 0.2.3.10-alpha.
  16018. o Minor bugfixes (hidden service client):
  16019. - Increase the minimum number of internal circuits we preemptively
  16020. build from 2 to 3, so a circuit is available when a client
  16021. connects to another onion service. Fixes bug 13239; bugfix
  16022. on 0.1.0.1-rc.
  16023. o Minor bugfixes (logging):
  16024. - When logging a directory ownership mismatch, log the owning
  16025. username correctly. Fixes bug 19578; bugfix on 0.2.2.29-beta.
  16026. o Minor bugfixes (memory leaks):
  16027. - Fix a small, uncommon memory leak that could occur when reading a
  16028. truncated ed25519 key file. Fixes bug 18956; bugfix
  16029. on 0.2.6.1-alpha.
  16030. o Minor bugfixes (testing):
  16031. - Allow clients to retry HSDirs much faster in test networks. Fixes
  16032. bug 19702; bugfix on 0.2.7.1-alpha. Patch by teor.
  16033. - Disable ASAN's detection of segmentation faults while running
  16034. test_bt.sh, so that we can make sure that our own backtrace
  16035. generation code works. Fixes another aspect of bug 18934; bugfix
  16036. on 0.2.5.2-alpha. Patch from "cypherpunks".
  16037. - Fix the test-network-all target on out-of-tree builds by using the
  16038. correct path to the test driver script. Fixes bug 19421; bugfix
  16039. on 0.2.7.3-rc.
  16040. o Minor bugfixes (time):
  16041. - Improve overflow checks in tv_udiff and tv_mdiff. Fixes bug 19483;
  16042. bugfix on all released tor versions.
  16043. - When computing the difference between two times in milliseconds,
  16044. we now round to the nearest millisecond correctly. Previously, we
  16045. could sometimes round in the wrong direction. Fixes bug 19428;
  16046. bugfix on 0.2.2.2-alpha.
  16047. o Minor bugfixes (user interface):
  16048. - Display a more accurate number of suppressed messages in the log
  16049. rate-limiter. Previously, there was a potential integer overflow
  16050. in the counter. Now, if the number of messages hits a maximum, the
  16051. rate-limiter doesn't count any further. Fixes bug 19435; bugfix
  16052. on 0.2.4.11-alpha.
  16053. - Fix a typo in the passphrase prompt for the ed25519 identity key.
  16054. Fixes bug 19503; bugfix on 0.2.7.2-alpha.
  16055. o Code simplification and refactoring:
  16056. - Remove redundant declarations of the MIN macro. Closes
  16057. ticket 18889.
  16058. - Rename tor_dup_addr() to tor_addr_to_str_dup() to avoid confusion.
  16059. Closes ticket 18462; patch from "icanhasaccount".
  16060. - Split the 600-line directory_handle_command_get function into
  16061. separate functions for different URL types. Closes ticket 16698.
  16062. o Documentation:
  16063. - Fix spelling of "--enable-tor2web-mode" in the manpage. Closes
  16064. ticket 19153. Patch from "U+039b".
  16065. o Removed features:
  16066. - Remove support for "GET /tor/bytes.txt" DirPort request, and
  16067. "GETINFO dir-usage" controller request, which were only available
  16068. via a compile-time option in Tor anyway. Feature was added in
  16069. 0.2.2.1-alpha. Resolves ticket 19035.
  16070. - There is no longer a compile-time option to disable support for
  16071. TransPort. (If you don't want TransPort; just don't use it.) Patch
  16072. from "U+039b". Closes ticket 19449.
  16073. o Testing:
  16074. - Run more workqueue tests as part of "make check". These had
  16075. previously been implemented, but you needed to know special
  16076. command-line options to enable them.
  16077. - We now have unit tests for our code to reject zlib "compression
  16078. bombs". (Fortunately, the code works fine.)
  16079. Changes in version 0.2.8.6 - 2016-08-02
  16080. Tor 0.2.8.6 is the first stable version of the Tor 0.2.8 series.
  16081. The Tor 0.2.8 series improves client bootstrapping performance,
  16082. completes the authority-side implementation of improved identity
  16083. keys for relays, and includes numerous bugfixes and performance
  16084. improvements throughout the program. This release continues to
  16085. improve the coverage of Tor's test suite. For a full list of
  16086. changes since Tor 0.2.7, see the ReleaseNotes file.
  16087. Changes since 0.2.8.5-rc:
  16088. o Minor features (geoip):
  16089. - Update geoip and geoip6 to the July 6 2016 Maxmind GeoLite2
  16090. Country database.
  16091. o Minor bugfixes (compilation):
  16092. - Fix a compilation warning in the unit tests on systems where char
  16093. is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha.
  16094. o Minor bugfixes (fallback directories):
  16095. - Remove 1 fallback that was on the hardcoded list, then opted-out,
  16096. leaving 89 of the 100 fallbacks originally introduced in Tor
  16097. 0.2.8.2-alpha in March 2016. Closes ticket 19782; patch by teor.
  16098. o Minor bugfixes (Linux seccomp2 sandbox):
  16099. - Allow more syscalls when running with "Sandbox 1" enabled:
  16100. sysinfo, getsockopt(SO_SNDBUF), and setsockopt(SO_SNDBUFFORCE). On
  16101. some systems, these are required for Tor to start. Fixes bug
  16102. 18397; bugfix on 0.2.5.1-alpha. Patch from Daniel Pinto.
  16103. - Allow IPPROTO_UDP datagram sockets when running with "Sandbox 1",
  16104. so that get_interface_address6_via_udp_socket_hack() can work.
  16105. Fixes bug 19660; bugfix on 0.2.5.1-alpha.
  16106. Changes in version 0.2.8.5-rc - 2016-07-07
  16107. Tor 0.2.8.5-rc is the second release candidate in the Tor 0.2.8
  16108. series. If we find no new bugs or regressions here, the first stable
  16109. 0.2.8 release will be identical to it. It has a few small bugfixes
  16110. against previous versions.
  16111. o Directory authority changes:
  16112. - Urras is no longer a directory authority. Closes ticket 19271.
  16113. o Major bugfixes (heartbeat):
  16114. - Fix a regression that would crash Tor when the periodic
  16115. "heartbeat" log messages were disabled. Fixes bug 19454; bugfix on
  16116. 0.2.8.1-alpha. Reported by "kubaku".
  16117. o Minor features (build):
  16118. - Tor now again builds with the recent OpenSSL 1.1 development
  16119. branch (tested against 1.1.0-pre6-dev). Closes ticket 19499.
  16120. - When building manual pages, set the timezone to "UTC", so that the
  16121. output is reproducible. Fixes bug 19558; bugfix on 0.2.2.9-alpha.
  16122. Patch from intrigeri.
  16123. o Minor bugfixes (fallback directory selection):
  16124. - Avoid errors during fallback selection if there are no eligible
  16125. fallbacks. Fixes bug 19480; bugfix on 0.2.8.3-alpha. Patch
  16126. by teor.
  16127. o Minor bugfixes (IPv6, microdescriptors):
  16128. - Don't check node addresses when we only have a routerstatus. This
  16129. allows IPv6-only clients to bootstrap by fetching microdescriptors
  16130. from fallback directory mirrors. (The microdescriptor consensus
  16131. has no IPv6 addresses in it.) Fixes bug 19608; bugfix
  16132. on 0.2.8.2-alpha.
  16133. o Minor bugfixes (logging):
  16134. - Reduce pointlessly verbose log messages when directory servers
  16135. can't be found. Fixes bug 18849; bugfix on 0.2.8.3-alpha and
  16136. 0.2.8.1-alpha. Patch by teor.
  16137. - When a fallback directory changes its fingerprint from the hard-
  16138. coded fingerprint, log a less severe, more explanatory log
  16139. message. Fixes bug 18812; bugfix on 0.2.8.1-alpha. Patch by teor.
  16140. o Minor bugfixes (Linux seccomp2 sandboxing):
  16141. - Allow statistics to be written to disk when "Sandbox 1" is
  16142. enabled. Fixes bugs 19556 and 19957; bugfix on 0.2.5.1-alpha and
  16143. 0.2.6.1-alpha respectively.
  16144. o Minor bugfixes (user interface):
  16145. - Remove a warning message "Service [scrubbed] not found after
  16146. descriptor upload". This message appears when one uses HSPOST
  16147. control command to upload a service descriptor. Since there is
  16148. only a descriptor and no service, showing this message is
  16149. pointless and confusing. Fixes bug 19464; bugfix on 0.2.7.2-alpha.
  16150. o Fallback directory list:
  16151. - Add a comment to the generated fallback directory list that
  16152. explains how to comment out unsuitable fallbacks in a way that's
  16153. compatible with the stem fallback parser.
  16154. - Update fallback whitelist and blacklist based on relay operator
  16155. emails. Blacklist unsuitable (non-working, over-volatile)
  16156. fallbacks. Resolves ticket 19071. Patch by teor.
  16157. - Remove 10 unsuitable fallbacks, leaving 90 of the 100 fallbacks
  16158. originally introduced in Tor 0.2.8.2-alpha in March 2016. Closes
  16159. ticket 19071; patch by teor.
  16160. Changes in version 0.2.8.4-rc - 2016-06-15
  16161. Tor 0.2.8.4-rc is the first release candidate in the Tor 0.2.8 series.
  16162. If we find no new bugs or regressions here, the first stable 0.2.8
  16163. release will be identical to it. It has a few small bugfixes against
  16164. previous versions.
  16165. o Major bugfixes (user interface):
  16166. - Correctly give a warning in the cases where a relay is specified
  16167. by nickname, and one such relay is found, but it is not officially
  16168. Named. Fixes bug 19203; bugfix on 0.2.3.1-alpha.
  16169. o Minor features (build):
  16170. - Tor now builds once again with the recent OpenSSL 1.1 development
  16171. branch (tested against 1.1.0-pre5 and 1.1.0-pre6-dev).
  16172. o Minor features (geoip):
  16173. - Update geoip and geoip6 to the June 7 2016 Maxmind GeoLite2
  16174. Country database.
  16175. o Minor bugfixes (compilation):
  16176. - Cause the unit tests to compile correctly on mingw64 versions that
  16177. lack sscanf. Fixes bug 19213; bugfix on 0.2.7.1-alpha.
  16178. o Minor bugfixes (downloading):
  16179. - Predict more correctly whether we'll be downloading over HTTP when
  16180. we determine the maximum length of a URL. This should avoid a
  16181. "BUG" warning about the Squid HTTP proxy and its URL limits. Fixes
  16182. bug 19191.
  16183. Changes in version 0.2.8.3-alpha - 2016-05-26
  16184. Tor 0.2.8.3-alpha resolves several bugs, most of them introduced over
  16185. the course of the 0.2.8 development cycle. It improves the behavior of
  16186. directory clients, fixes several crash bugs, fixes a gap in compiler
  16187. hardening, and allows the full integration test suite to run on
  16188. more platforms.
  16189. o Major bugfixes (security, client, DNS proxy):
  16190. - Stop a crash that could occur when a client running with DNSPort
  16191. received a query with multiple address types, and the first
  16192. address type was not supported. Found and fixed by Scott Dial.
  16193. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  16194. o Major bugfixes (security, compilation):
  16195. - Correctly detect compiler flags on systems where _FORTIFY_SOURCE
  16196. is predefined. Previously, our use of -D_FORTIFY_SOURCE would
  16197. cause a compiler warning, thereby making other checks fail, and
  16198. needlessly disabling compiler-hardening support. Fixes one case of
  16199. bug 18841; bugfix on 0.2.3.17-beta. Patch from "trudokal".
  16200. o Major bugfixes (security, directory authorities):
  16201. - Fix a crash and out-of-bounds write during authority voting, when
  16202. the list of relays includes duplicate ed25519 identity keys. Fixes
  16203. bug 19032; bugfix on 0.2.8.2-alpha.
  16204. o Major bugfixes (client, bootstrapping):
  16205. - Check if bootstrap consensus downloads are still needed when the
  16206. linked connection attaches. This prevents tor making unnecessary
  16207. begindir-style connections, which are the only directory
  16208. connections tor clients make since the fix for 18483 was merged.
  16209. - Fix some edge cases where consensus download connections may not
  16210. have been closed, even though they were not needed. Related to fix
  16211. for 18809.
  16212. - Make relays retry consensus downloads the correct number of times,
  16213. rather than the more aggressive client retry count. Fixes part of
  16214. ticket 18809.
  16215. - Stop downloading consensuses when we have a consensus, even if we
  16216. don't have all the certificates for it yet. Fixes bug 18809;
  16217. bugfix on 0.2.8.1-alpha. Patches by arma and teor.
  16218. o Major bugfixes (directory mirrors):
  16219. - Decide whether to advertise begindir support in the the same way
  16220. we decide whether to advertise our DirPort. Allowing these
  16221. decisions to become out-of-sync led to surprising behavior like
  16222. advertising begindir support when hibernation made us not
  16223. advertise a DirPort. Resolves bug 18616; bugfix on 0.2.8.1-alpha.
  16224. Patch by teor.
  16225. o Major bugfixes (IPv6 bridges, client):
  16226. - Actually use IPv6 addresses when selecting directory addresses for
  16227. IPv6 bridges. Fixes bug 18921; bugfix on 0.2.8.1-alpha. Patch
  16228. by "teor".
  16229. o Major bugfixes (key management):
  16230. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  16231. pointer to the previous (uninitialized) key value. The impact here
  16232. should be limited to a difficult-to-trigger crash, if OpenSSL is
  16233. running an engine that makes key generation failures possible, or
  16234. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  16235. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  16236. Baishakhi Ray.
  16237. o Major bugfixes (testing):
  16238. - Fix a bug that would block 'make test-network-all' on systems where
  16239. IPv6 packets were lost. Fixes bug 19008; bugfix on 0.2.7.3-rc.
  16240. - Avoid "WSANOTINITIALISED" warnings in the unit tests. Fixes bug 18668;
  16241. bugfix on 0.2.8.1-alpha.
  16242. o Minor features (clients):
  16243. - Make clients, onion services, and bridge relays always use an
  16244. encrypted begindir connection for directory requests. Resolves
  16245. ticket 18483. Patch by "teor".
  16246. o Minor features (fallback directory mirrors):
  16247. - Give each fallback the same weight for client selection; restrict
  16248. fallbacks to one per operator; report fallback directory detail
  16249. changes when rebuilding list; add new fallback directory mirrors
  16250. to the whitelist; and many other minor simplifications and fixes.
  16251. Closes tasks 17905, 18749, bug 18689, and fixes part of bug 18812 on
  16252. 0.2.8.1-alpha; patch by "teor".
  16253. - Replace the 21 fallbacks generated in January 2016 and included in
  16254. Tor 0.2.8.1-alpha, with a list of 100 fallbacks generated in March
  16255. 2016. Closes task 17158; patch by "teor".
  16256. o Minor features (geoip):
  16257. - Update geoip and geoip6 to the May 4 2016 Maxmind GeoLite2
  16258. Country database.
  16259. o Minor bugfixes (assert, portability):
  16260. - Fix an assertion failure in memarea.c on systems where "long" is
  16261. shorter than the size of a pointer. Fixes bug 18716; bugfix
  16262. on 0.2.1.1-alpha.
  16263. o Minor bugfixes (bootstrap):
  16264. - Consistently use the consensus download schedule for authority
  16265. certificates. Fixes bug 18816; bugfix on 0.2.4.13-alpha.
  16266. o Minor bugfixes (build):
  16267. - Remove a pair of redundant AM_CONDITIONAL declarations from
  16268. configure.ac. Fixes one final case of bug 17744; bugfix
  16269. on 0.2.8.2-alpha.
  16270. - Resolve warnings when building on systems that are concerned with
  16271. signed char. Fixes bug 18728; bugfix on 0.2.7.2-alpha
  16272. and 0.2.6.1-alpha.
  16273. - When libscrypt.h is found, but no libscrypt library can be linked,
  16274. treat libscrypt as absent. Fixes bug 19161; bugfix
  16275. on 0.2.6.1-alpha.
  16276. o Minor bugfixes (client):
  16277. - Turn all TestingClientBootstrap* into non-testing torrc options.
  16278. This changes simply renames them by removing "Testing" in front of
  16279. them and they do not require TestingTorNetwork to be enabled
  16280. anymore. Fixes bug 18481; bugfix on 0.2.8.1-alpha.
  16281. - Make directory node selection more reliable, mainly for IPv6-only
  16282. clients and clients with few reachable addresses. Fixes bug 18929;
  16283. bugfix on 0.2.8.1-alpha. Patch by "teor".
  16284. o Minor bugfixes (controller, microdescriptors):
  16285. - Make GETINFO dir/status-vote/current/consensus conform to the
  16286. control specification by returning "551 Could not open cached
  16287. consensus..." when not caching consensuses. Fixes bug 18920;
  16288. bugfix on 0.2.2.6-alpha.
  16289. o Minor bugfixes (crypto, portability):
  16290. - The SHA3 and SHAKE routines now produce the correct output on Big
  16291. Endian systems. No code calls either algorithm yet, so this is
  16292. primarily a build fix. Fixes bug 18943; bugfix on 0.2.8.1-alpha.
  16293. - Tor now builds again with the recent OpenSSL 1.1 development
  16294. branch (tested against 1.1.0-pre4 and 1.1.0-pre5-dev). Closes
  16295. ticket 18286.
  16296. o Minor bugfixes (directories):
  16297. - When fetching extrainfo documents, compare their SHA256 digests
  16298. and Ed25519 signing key certificates with the routerinfo that led
  16299. us to fetch them, rather than with the most recent routerinfo.
  16300. Otherwise we generate many spurious warnings about mismatches.
  16301. Fixes bug 17150; bugfix on 0.2.7.2-alpha.
  16302. o Minor bugfixes (logging):
  16303. - When we can't generate a signing key because OfflineMasterKey is
  16304. set, do not imply that we should have been able to load it. Fixes
  16305. bug 18133; bugfix on 0.2.7.2-alpha.
  16306. - Stop periodic_event_dispatch() from blasting twelve lines per
  16307. second at loglevel debug. Fixes bug 18729; fix on 0.2.8.1-alpha.
  16308. - When rejecting a misformed INTRODUCE2 cell, only log at
  16309. PROTOCOL_WARN severity. Fixes bug 18761; bugfix on 0.2.8.2-alpha.
  16310. o Minor bugfixes (pluggable transports):
  16311. - Avoid reporting a spurious error when we decide that we don't need
  16312. to terminate a pluggable transport because it has already exited.
  16313. Fixes bug 18686; bugfix on 0.2.5.5-alpha.
  16314. o Minor bugfixes (pointer arithmetic):
  16315. - Fix a bug in memarea_alloc() that could have resulted in remote
  16316. heap write access, if Tor had ever passed an unchecked size to
  16317. memarea_alloc(). Fortunately, all the sizes we pass to
  16318. memarea_alloc() are pre-checked to be less than 128 kilobytes.
  16319. Fixes bug 19150; bugfix on 0.2.1.1-alpha. Bug found by
  16320. Guido Vranken.
  16321. o Minor bugfixes (relays):
  16322. - Consider more config options when relays decide whether to
  16323. regenerate their descriptor. Fixes more of bug 12538; bugfix
  16324. on 0.2.8.1-alpha.
  16325. - Resolve some edge cases where we might launch an ORPort
  16326. reachability check even when DisableNetwork is set. Noticed while
  16327. fixing bug 18616; bugfix on 0.2.3.9-alpha.
  16328. o Minor bugfixes (statistics):
  16329. - We now include consensus downloads via IPv6 in our directory-
  16330. request statistics. Fixes bug 18460; bugfix on 0.2.3.14-alpha.
  16331. o Minor bugfixes (testing):
  16332. - Allow directories in small networks to bootstrap by skipping
  16333. DirPort checks when the consensus has no exits. Fixes bug 19003;
  16334. bugfix on 0.2.8.1-alpha. Patch by teor.
  16335. - Fix a small memory leak that would occur when the
  16336. TestingEnableCellStatsEvent option was turned on. Fixes bug 18673;
  16337. bugfix on 0.2.5.2-alpha.
  16338. o Minor bugfixes (time handling):
  16339. - When correcting a corrupt 'struct tm' value, fill in the tm_wday
  16340. field. Otherwise, our unit tests crash on Windows. Fixes bug
  16341. 18977; bugfix on 0.2.2.25-alpha.
  16342. o Documentation:
  16343. - Document the contents of the 'datadir/keys' subdirectory in the
  16344. manual page. Closes ticket 17621.
  16345. - Stop recommending use of nicknames to identify relays in our
  16346. MapAddress documentation. Closes ticket 18312.
  16347. Changes in version 0.2.8.2-alpha - 2016-03-28
  16348. Tor 0.2.8.2-alpha is the second alpha in its series. It fixes numerous
  16349. bugs in earlier versions of Tor, including some that prevented
  16350. authorities using Tor 0.2.7.x from running correctly. IPv6 and
  16351. directory support should also be much improved.
  16352. o New system requirements:
  16353. - Tor no longer supports versions of OpenSSL with a broken
  16354. implementation of counter mode. (This bug was present in OpenSSL
  16355. 1.0.0, and was fixed in OpenSSL 1.0.0a.) Tor still detects, but no
  16356. longer runs with, these versions.
  16357. - Tor no longer attempts to support platforms where the "time_t"
  16358. type is unsigned. (To the best of our knowledge, only OpenVMS does
  16359. this, and Tor has never actually built on OpenVMS.) Closes
  16360. ticket 18184.
  16361. - Tor now uses Autoconf version 2.63 or later, and Automake 1.11 or
  16362. later (released in 2008 and 2009 respectively). If you are
  16363. building Tor from the git repository instead of from the source
  16364. distribution, and your tools are older than this, you will need to
  16365. upgrade. Closes ticket 17732.
  16366. o Major bugfixes (security, pointers):
  16367. - Avoid a difficult-to-trigger heap corruption attack when extending
  16368. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  16369. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  16370. Reported by Guido Vranken.
  16371. o Major bugfixes (bridges, pluggable transports):
  16372. - Modify the check for OR connections to private addresses. Allow
  16373. bridges on private addresses, including pluggable transports that
  16374. ignore the (potentially private) address in the bridge line. Fixes
  16375. bug 18517; bugfix on 0.2.8.1-alpha. Reported by gk, patch by teor.
  16376. o Major bugfixes (compilation):
  16377. - Repair hardened builds under the clang compiler. Previously, our
  16378. use of _FORTIFY_SOURCE would conflict with clang's address
  16379. sanitizer. Fixes bug 14821; bugfix on 0.2.5.4-alpha.
  16380. o Major bugfixes (crash on shutdown):
  16381. - Correctly handle detaching circuits from muxes when shutting down.
  16382. Fixes bug 18116; bugfix on 0.2.8.1-alpha.
  16383. - Fix an assert-on-exit bug related to counting memory usage in
  16384. rephist.c. Fixes bug 18651; bugfix on 0.2.8.1-alpha.
  16385. o Major bugfixes (crash on startup):
  16386. - Fix a segfault during startup: If a Unix domain socket was
  16387. configured as listener (such as a ControlSocket or a SocksPort
  16388. "unix:" socket), and tor was started as root but not configured to
  16389. switch to another user, tor would segfault while trying to string
  16390. compare a NULL value. Fixes bug 18261; bugfix on 0.2.8.1-alpha.
  16391. Patch by weasel.
  16392. o Major bugfixes (dns proxy mode, crash):
  16393. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  16394. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  16395. o Major bugfixes (relays, bridge clients):
  16396. - Ensure relays always allow IPv4 OR and Dir connections. Ensure
  16397. bridge clients use the address configured in the bridge line.
  16398. Fixes bug 18348; bugfix on 0.2.8.1-alpha. Reported by sysrqb,
  16399. patch by teor.
  16400. o Major bugfixes (voting):
  16401. - Actually enable support for authorities to match routers by their
  16402. Ed25519 identities. Previously, the code had been written, but
  16403. some debugging code that had accidentally been left in the
  16404. codebase made it stay turned off. Fixes bug 17702; bugfix
  16405. on 0.2.7.2-alpha.
  16406. - When collating votes by Ed25519 identities, authorities now
  16407. include a "NoEdConsensus" flag if the ed25519 value (or lack
  16408. thereof) for a server does not reflect the majority consensus.
  16409. Related to bug 17668; bugfix on 0.2.7.2-alpha.
  16410. - When generating a vote with keypinning disabled, never include two
  16411. entries for the same ed25519 identity. This bug was causing
  16412. authorities to generate votes that they could not parse when a
  16413. router violated key pinning by changing its RSA identity but
  16414. keeping its Ed25519 identity. Fixes bug 17668; fixes part of bug
  16415. 18318. Bugfix on 0.2.7.2-alpha.
  16416. o Minor features (security, win32):
  16417. - Set SO_EXCLUSIVEADDRUSE on Win32 to avoid a local port-stealing
  16418. attack. Fixes bug 18123; bugfix on all tor versions. Patch
  16419. by teor.
  16420. o Minor features (bug-resistance):
  16421. - Make Tor survive errors involving connections without a
  16422. corresponding event object. Previously we'd fail with an
  16423. assertion; now we produce a log message. Related to bug 16248.
  16424. o Minor features (build):
  16425. - Detect systems with FreeBSD-derived kernels (such as GNU/kFreeBSD)
  16426. as having possible IPFW support. Closes ticket 18448. Patch from
  16427. Steven Chamberlain.
  16428. o Minor features (code hardening):
  16429. - Use tor_snprintf() and tor_vsnprintf() even in external and low-
  16430. level code, to harden against accidental failures to NUL-
  16431. terminate. Part of ticket 17852. Patch from jsturgix. Found
  16432. with Flawfinder.
  16433. o Minor features (crypto):
  16434. - Validate the hard-coded Diffie-Hellman parameters and ensure that
  16435. p is a safe prime, and g is a suitable generator. Closes
  16436. ticket 18221.
  16437. o Minor features (geoip):
  16438. - Update geoip and geoip6 to the March 3 2016 Maxmind GeoLite2
  16439. Country database.
  16440. o Minor features (hidden service directory):
  16441. - Streamline relay-side hsdir handling: when relays consider whether
  16442. to accept an uploaded hidden service descriptor, they no longer
  16443. check whether they are one of the relays in the network that is
  16444. "supposed" to handle that descriptor. Implements ticket 18332.
  16445. o Minor features (IPv6):
  16446. - Add ClientPreferIPv6DirPort, which is set to 0 by default. If set
  16447. to 1, tor prefers IPv6 directory addresses.
  16448. - Add ClientUseIPv4, which is set to 1 by default. If set to 0, tor
  16449. avoids using IPv4 for client OR and directory connections.
  16450. - Try harder to obey the IP version restrictions "ClientUseIPv4 0",
  16451. "ClientUseIPv6 0", "ClientPreferIPv6ORPort", and
  16452. "ClientPreferIPv6DirPort". Closes ticket 17840; patch by teor.
  16453. o Minor features (linux seccomp2 sandbox):
  16454. - Reject attempts to change our Address with "Sandbox 1" enabled.
  16455. Changing Address with Sandbox turned on would never actually work,
  16456. but previously it would fail in strange and confusing ways. Found
  16457. while fixing 18548.
  16458. o Minor features (robustness):
  16459. - Exit immediately with an error message if the code attempts to use
  16460. Libevent without having initialized it. This should resolve some
  16461. frequently-made mistakes in our unit tests. Closes ticket 18241.
  16462. o Minor features (unix domain sockets):
  16463. - Add a new per-socket option, RelaxDirModeCheck, to allow creating
  16464. Unix domain sockets without checking the permissions on the parent
  16465. directory. (Tor checks permissions by default because some
  16466. operating systems only check permissions on the parent directory.
  16467. However, some operating systems do look at permissions on the
  16468. socket, and tor's default check is unneeded.) Closes ticket 18458.
  16469. Patch by weasel.
  16470. o Minor bugfixes (exit policies, security):
  16471. - Refresh an exit relay's exit policy when interface addresses
  16472. change. Previously, tor only refreshed the exit policy when the
  16473. configured external address changed. Fixes bug 18208; bugfix on
  16474. 0.2.7.3-rc. Patch by teor.
  16475. o Minor bugfixes (security, hidden services):
  16476. - Prevent hidden services connecting to client-supplied rendezvous
  16477. addresses that are reserved as internal or multicast. Fixes bug
  16478. 8976; bugfix on 0.2.3.21-rc. Patch by dgoulet and teor.
  16479. o Minor bugfixes (build):
  16480. - Do not link the unit tests against both the testing and non-
  16481. testing versions of the static libraries. Fixes bug 18490; bugfix
  16482. on 0.2.7.1-alpha.
  16483. - Avoid spurious failures from configure files related to calling
  16484. exit(0) in TOR_SEARCH_LIBRARY. Fixes bug 18626; bugfix on
  16485. 0.2.0.1-alpha. Patch from "cypherpunks".
  16486. - Silence spurious clang-scan warnings in the ed25519_donna code by
  16487. explicitly initializing some objects. Fixes bug 18384; bugfix on
  16488. 0.2.7.2-alpha. Patch by teor.
  16489. o Minor bugfixes (client, bootstrap):
  16490. - Count receipt of new microdescriptors as progress towards
  16491. bootstrapping. Previously, with EntryNodes set, Tor might not
  16492. successfully repopulate the guard set on bootstrapping. Fixes bug
  16493. 16825; bugfix on 0.2.3.1-alpha.
  16494. o Minor bugfixes (code correctness):
  16495. - Update to the latest version of Trunnel, which tries harder to
  16496. avoid generating code that can invoke memcpy(p,NULL,0). Bug found
  16497. by clang address sanitizer. Fixes bug 18373; bugfix
  16498. on 0.2.7.2-alpha.
  16499. o Minor bugfixes (configuration):
  16500. - Fix a tiny memory leak when parsing a port configuration ending in
  16501. ":auto". Fixes bug 18374; bugfix on 0.2.3.3-alpha.
  16502. o Minor bugfixes (containers):
  16503. - If we somehow attempt to construct a heap with more than
  16504. 1073741822 elements, avoid an integer overflow when maintaining
  16505. the heap property. Fixes bug 18296; bugfix on 0.1.2.1-alpha.
  16506. o Minor bugfixes (correctness):
  16507. - Fix a bad memory handling bug that would occur if we had queued a
  16508. cell on a channel's incoming queue. Fortunately, we can't actually
  16509. queue a cell like that as our code is constructed today, but it's
  16510. best to avoid this kind of error, even if there isn't any code
  16511. that triggers it today. Fixes bug 18570; bugfix on 0.2.4.4-alpha.
  16512. o Minor bugfixes (directory):
  16513. - When generating a URL for a directory server on an IPv6 address,
  16514. wrap the IPv6 address in square brackets. Fixes bug 18051; bugfix
  16515. on 0.2.3.9-alpha. Patch from Malek.
  16516. o Minor bugfixes (fallback directory mirrors):
  16517. - When requesting extrainfo descriptors from a trusted directory
  16518. server, check whether it is an authority or a fallback directory
  16519. which supports extrainfo descriptors. Fixes bug 18489; bugfix on
  16520. 0.2.4.7-alpha. Reported by atagar, patch by teor.
  16521. o Minor bugfixes (hidden service, client):
  16522. - Handle the case where the user makes several fast consecutive
  16523. requests to the same .onion address. Previously, the first six
  16524. requests would each trigger a descriptor fetch, each picking a
  16525. directory (there are 6 overall) and the seventh one would fail
  16526. because no directories were left, thereby triggering a close on
  16527. all current directory connections asking for the hidden service.
  16528. The solution here is to not close the connections if we have
  16529. pending directory fetches. Fixes bug 15937; bugfix
  16530. on 0.2.7.1-alpha.
  16531. o Minor bugfixes (hidden service, control port):
  16532. - Add the onion address to the HS_DESC event for the UPLOADED action
  16533. both on success or failure. It was previously hardcoded with
  16534. UNKNOWN. Fixes bug 16023; bugfix on 0.2.7.2-alpha.
  16535. o Minor bugfixes (hidden service, directory):
  16536. - Bridges now refuse "rendezvous2" (hidden service descriptor)
  16537. publish attempts. Suggested by ticket 18332.
  16538. o Minor bugfixes (linux seccomp2 sandbox):
  16539. - Allow the setrlimit syscall, and the prlimit and prlimit64
  16540. syscalls, which some libc implementations use under the hood.
  16541. Fixes bug 15221; bugfix on 0.2.5.1-alpha.
  16542. - Avoid a 10-second delay when starting as a client with "Sandbox 1"
  16543. enabled and no DNS resolvers configured. This should help TAILS
  16544. start up faster. Fixes bug 18548; bugfix on 0.2.5.1-alpha.
  16545. - Fix the sandbox's interoperability with unix domain sockets under
  16546. setuid. Fixes bug 18253; bugfix on 0.2.8.1-alpha.
  16547. o Minor bugfixes (logging):
  16548. - When logging information about an unparsable networkstatus vote or
  16549. consensus, do not say "vote" when we mean consensus. Fixes bug
  16550. 18368; bugfix on 0.2.0.8-alpha.
  16551. - Scrub service name in "unrecognized service ID" log messages.
  16552. Fixes bug 18600; bugfix on 0.2.4.11-alpha.
  16553. - Downgrade logs and backtraces about IP versions to info-level.
  16554. Only log backtraces once each time tor runs. Assists in diagnosing
  16555. bug 18351; bugfix on 0.2.8.1-alpha. Reported by sysrqb and
  16556. Christian, patch by teor.
  16557. o Minor bugfixes (memory safety):
  16558. - Avoid freeing an uninitialized pointer when opening a socket fails
  16559. in get_interface_addresses_ioctl(). Fixes bug 18454; bugfix on
  16560. 0.2.3.11-alpha. Reported by toralf and "cypherpunks", patch
  16561. by teor.
  16562. - Correctly duplicate addresses in get_interface_address6_list().
  16563. Fixes bug 18454; bugfix on 0.2.8.1-alpha. Reported by toralf,
  16564. patch by "cypherpunks".
  16565. - Fix a memory leak in tor-gencert. Fixes part of bug 18672; bugfix
  16566. on 0.2.0.1-alpha.
  16567. - Fix a memory leak in "tor --list-fingerprint". Fixes part of bug
  16568. 18672; bugfix on 0.2.5.1-alpha.
  16569. o Minor bugfixes (private directory):
  16570. - Prevent a race condition when creating private directories. Fixes
  16571. part of bug 17852; bugfix on 0.0.2pre13. Part of ticket 17852.
  16572. Patch from jsturgix. Found with Flawfinder.
  16573. o Minor bugfixes (test networks, IPv6):
  16574. - Allow internal IPv6 addresses in descriptors in test networks.
  16575. Fixes bug 17153; bugfix on 0.2.3.16-alpha. Patch by teor, reported
  16576. by karsten.
  16577. o Minor bugfixes (testing):
  16578. - We no longer disable assertions in the unit tests when coverage is
  16579. enabled. Instead, we require you to say --disable-asserts-in-tests
  16580. to the configure script if you need assertions disabled in the
  16581. unit tests (for example, if you want to perform branch coverage).
  16582. Fixes bug 18242; bugfix on 0.2.7.1-alpha.
  16583. o Minor bugfixes (time parsing):
  16584. - Avoid overflow in tor_timegm when parsing dates in and after 2038
  16585. on platforms with 32-bit time_t. Fixes bug 18479; bugfix on
  16586. 0.0.2pre14. Patch by teor.
  16587. o Minor bugfixes (tor-gencert):
  16588. - Correctly handle the case where an authority operator enters a
  16589. passphrase but sends an EOF before sending a newline. Fixes bug
  16590. 17443; bugfix on 0.2.0.20-rc. Found by junglefowl.
  16591. o Code simplification and refactoring:
  16592. - Quote all the string interpolations in configure.ac -- even those
  16593. which we are pretty sure can't contain spaces. Closes ticket
  16594. 17744. Patch from zerosion.
  16595. - Remove specialized code for non-inplace AES_CTR. 99% of our AES is
  16596. inplace, so there's no need to have a separate implementation for
  16597. the non-inplace code. Closes ticket 18258. Patch from Malek.
  16598. - Simplify return types for some crypto functions that can't
  16599. actually fail. Patch from Hassan Alsibyani. Closes ticket 18259.
  16600. o Documentation:
  16601. - Change build messages to refer to "Fedora" instead of "Fedora
  16602. Core", and "dnf" instead of "yum". Closes tickets 18459 and 18426.
  16603. Patches from "icanhasaccount" and "cypherpunks".
  16604. o Removed features:
  16605. - We no longer maintain an internal freelist in memarea.c.
  16606. Allocators should be good enough to make this code unnecessary,
  16607. and it's doubtful that it ever had any performance benefit.
  16608. o Testing:
  16609. - Fix several warnings from clang's address sanitizer produced in
  16610. the unit tests.
  16611. - Treat backtrace test failures as expected on FreeBSD until we
  16612. solve bug 17808. Closes ticket 18204.
  16613. Changes in version 0.2.8.1-alpha - 2016-02-04
  16614. Tor 0.2.8.1-alpha is the first alpha release in its series. It
  16615. includes numerous small features and bugfixes against previous Tor
  16616. versions, and numerous small infrastructure improvements. The most
  16617. notable features are a set of improvements to the directory subsystem.
  16618. o Major features (security, Linux):
  16619. - When Tor starts as root on Linux and is told to switch user ID, it
  16620. can now retain the capability to bind to low ports. By default,
  16621. Tor will do this only when it's switching user ID and some low
  16622. ports have been configured. You can change this behavior with the
  16623. new option KeepBindCapabilities. Closes ticket 8195.
  16624. o Major features (directory system):
  16625. - When bootstrapping multiple consensus downloads at a time, use the
  16626. first one that starts downloading, and close the rest. This
  16627. reduces failures when authorities or fallback directories are slow
  16628. or down. Together with the code for feature 15775, this feature
  16629. should reduces failures due to fallback churn. Implements ticket
  16630. 4483. Patch by "teor". Implements IPv4 portions of proposal 210 by
  16631. "mikeperry" and "teor".
  16632. - Include a trial list of 21 default fallback directories, generated
  16633. in January 2016, based on an opt-in survey of suitable relays.
  16634. Doing this should make clients bootstrap more quickly and reliably,
  16635. and reduce the load on the directory authorities. Closes ticket
  16636. 15775. Patch by "teor".
  16637. Candidates identified using an OnionOO script by "weasel", "teor",
  16638. "gsathya", and "karsten".
  16639. - Previously only relays that explicitly opened a directory port
  16640. (DirPort) accepted directory requests from clients. Now all
  16641. relays, with and without a DirPort, accept and serve tunneled
  16642. directory requests that they receive through their ORPort. You can
  16643. disable this behavior using the new DirCache option. Closes
  16644. ticket 12538.
  16645. o Major key updates:
  16646. - Update the V3 identity key for the dannenberg directory authority:
  16647. it was changed on 18 November 2015. Closes task 17906. Patch
  16648. by "teor".
  16649. o Minor features (security, clock):
  16650. - Warn when the system clock appears to move back in time (when the
  16651. state file was last written in the future). Tor doesn't know that
  16652. consensuses have expired if the clock is in the past. Patch by
  16653. "teor". Implements ticket 17188.
  16654. o Minor features (security, exit policies):
  16655. - ExitPolicyRejectPrivate now rejects more private addresses by
  16656. default. Specifically, it now rejects the relay's outbound bind
  16657. addresses (if configured), and the relay's configured port
  16658. addresses (such as ORPort and DirPort). Fixes bug 17027; bugfix on
  16659. 0.2.0.11-alpha. Patch by "teor".
  16660. o Minor features (security, memory erasure):
  16661. - Set the unused entries in a smartlist to NULL. This helped catch
  16662. a (harmless) bug, and shouldn't affect performance too much.
  16663. Implements ticket 17026.
  16664. - Use SecureMemoryWipe() function to securely clean memory on
  16665. Windows. Previously we'd use OpenSSL's OPENSSL_cleanse() function.
  16666. Implements feature 17986.
  16667. - Use explicit_bzero or memset_s when present. Previously, we'd use
  16668. OpenSSL's OPENSSL_cleanse() function. Closes ticket 7419; patches
  16669. from <logan@hackers.mu> and <selven@hackers.mu>.
  16670. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  16671. zero size. Check size argument to memwipe() for underflow. Fixes
  16672. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  16673. patch by "teor".
  16674. o Minor features (security, RNG):
  16675. - Adjust Tor's use of OpenSSL's RNG APIs so that they absolutely,
  16676. positively are not allowed to fail. Previously we depended on
  16677. internal details of OpenSSL's behavior. Closes ticket 17686.
  16678. - Never use the system entropy output directly for anything besides
  16679. seeding the PRNG. When we want to generate important keys, instead
  16680. of using system entropy directly, we now hash it with the PRNG
  16681. stream. This may help resist certain attacks based on broken OS
  16682. entropy implementations. Closes part of ticket 17694.
  16683. - Use modern system calls (like getentropy() or getrandom()) to
  16684. generate strong entropy on platforms that have them. Closes
  16685. ticket 13696.
  16686. o Minor features (accounting):
  16687. - Added two modes to the AccountingRule option: One for limiting
  16688. only the number of bytes sent ("AccountingRule out"), and one for
  16689. limiting only the number of bytes received ("AccountingRule in").
  16690. Closes ticket 15989; patch from "unixninja92".
  16691. o Minor features (build):
  16692. - Since our build process now uses "make distcheck", we no longer
  16693. force "make dist" to depend on "make check". Closes ticket 17893;
  16694. patch from "cypherpunks."
  16695. - Tor now builds successfully with the recent OpenSSL 1.1
  16696. development branch, and with the latest LibreSSL. Closes tickets
  16697. 17549, 17921, and 17984.
  16698. o Minor features (controller):
  16699. - Adds the FallbackDir entries to 'GETINFO config/defaults'. Closes
  16700. tickets 16774 and 17817. Patch by George Tankersley.
  16701. - New 'GETINFO hs/service/desc/id/' command to retrieve a hidden
  16702. service descriptor from a service's local hidden service
  16703. descriptor cache. Closes ticket 14846.
  16704. - Add 'GETINFO exit-policy/reject-private/[default,relay]', so
  16705. controllers can examine the the reject rules added by
  16706. ExitPolicyRejectPrivate. This makes it easier for stem to display
  16707. exit policies.
  16708. o Minor features (crypto):
  16709. - Add SHA512 support to crypto.c. Closes ticket 17663; patch from
  16710. George Tankersley.
  16711. - Add SHA3 and SHAKE support to crypto.c. Closes ticket 17783.
  16712. - When allocating a digest state object, allocate no more space than
  16713. we actually need. Previously, we would allocate as much space as
  16714. the state for the largest algorithm would need. This change saves
  16715. up to 672 bytes per circuit. Closes ticket 17796.
  16716. - Improve performance when hashing non-multiple of 8 sized buffers,
  16717. based on Andrew Moon's public domain SipHash-2-4 implementation.
  16718. Fixes bug 17544; bugfix on 0.2.5.3-alpha.
  16719. o Minor features (directory downloads):
  16720. - Wait for busy authorities and fallback directories to become non-
  16721. busy when bootstrapping. (A similar change was made in 6c443e987d
  16722. for directory caches chosen from the consensus.) Closes ticket
  16723. 17864; patch by "teor".
  16724. - Add UseDefaultFallbackDirs, which enables any hard-coded fallback
  16725. directory mirrors. The default is 1; set it to 0 to disable
  16726. fallbacks. Implements ticket 17576. Patch by "teor".
  16727. o Minor features (geoip):
  16728. - Update geoip and geoip6 to the January 5 2016 Maxmind GeoLite2
  16729. Country database.
  16730. o Minor features (IPv6):
  16731. - Add an argument 'ipv6=address:orport' to the DirAuthority and
  16732. FallbackDir torrc options, to specify an IPv6 address for an
  16733. authority or fallback directory. Add hard-coded ipv6 addresses for
  16734. directory authorities that have them. Closes ticket 17327; patch
  16735. from Nick Mathewson and "teor".
  16736. - Add address policy assume_action support for IPv6 addresses.
  16737. - Limit IPv6 mask bits to 128.
  16738. - Warn when comparing against an AF_UNSPEC address in a policy, it's
  16739. almost always a bug. Closes ticket 17863; patch by "teor".
  16740. - Allow users to configure directory authorities and fallback
  16741. directory servers with IPv6 addresses and ORPorts. Resolves
  16742. ticket 6027.
  16743. - routerset_parse now accepts IPv6 literal addresses. Fixes bug
  16744. 17060; bugfix on 0.2.1.3-alpha. Patch by "teor".
  16745. - Make tor_ersatz_socketpair work on IPv6-only systems. Fixes bug
  16746. 17638; bugfix on 0.0.2pre8. Patch by "teor".
  16747. o Minor features (logging):
  16748. - When logging to syslog, allow a tag to be added to the syslog
  16749. identity (the string prepended to every log message). The tag can
  16750. be configured with SyslogIdentityTag and defaults to none. Setting
  16751. it to "foo" will cause logs to be tagged as "Tor-foo". Closes
  16752. ticket 17194.
  16753. o Minor features (portability):
  16754. - Use timingsafe_memcmp() where available. Closes ticket 17944;
  16755. patch from <logan@hackers.mu>.
  16756. o Minor features (relay, address discovery):
  16757. - Add a family argument to get_interface_addresses_raw() and
  16758. subfunctions to make network interface address interogation more
  16759. efficient. Now Tor can specifically ask for IPv4, IPv6 or both
  16760. types of interfaces from the operating system. Resolves
  16761. ticket 17950.
  16762. - When get_interface_address6_list(.,AF_UNSPEC,.) is called and
  16763. fails to enumerate interface addresses using the platform-specific
  16764. API, have it rely on the UDP socket fallback technique to try and
  16765. find out what IP addresses (both IPv4 and IPv6) our machine has.
  16766. Resolves ticket 17951.
  16767. o Minor features (replay cache):
  16768. - The replay cache now uses SHA256 instead of SHA1. Implements
  16769. feature 8961. Patch by "teor", issue reported by "rransom".
  16770. o Minor features (unix file permissions):
  16771. - Defer creation of Unix sockets until after setuid. This avoids
  16772. needing CAP_CHOWN and CAP_FOWNER when using systemd's
  16773. CapabilityBoundingSet, or chown and fowner when using SELinux.
  16774. Implements part of ticket 17562. Patch from Jamie Nguyen.
  16775. - If any directory created by Tor is marked as group readable, the
  16776. filesystem group is allowed to be either the default GID or the
  16777. root user. Allowing root to read the DataDirectory prevents the
  16778. need for CAP_READ_SEARCH when using systemd's
  16779. CapabilityBoundingSet, or dac_read_search when using SELinux.
  16780. Implements part of ticket 17562. Patch from Jamie Nguyen.
  16781. - Introduce a new DataDirectoryGroupReadable option. If it is set to
  16782. 1, the DataDirectory will be made readable by the default GID.
  16783. Implements part of ticket 17562. Patch from Jamie Nguyen.
  16784. o Minor bugfixes (accounting):
  16785. - The max bandwidth when using 'AccountRule sum' is now correctly
  16786. logged. Fixes bug 18024; bugfix on 0.2.6.1-alpha. Patch
  16787. from "unixninja92".
  16788. o Minor bugfixes (code correctness):
  16789. - When closing an entry connection, generate a warning if we should
  16790. have sent an end cell for it but we haven't. Fixes bug 17876;
  16791. bugfix on 0.2.3.2-alpha.
  16792. - Assert that allocated memory held by the reputation code is freed
  16793. according to its internal counters. Fixes bug 17753; bugfix
  16794. on 0.1.1.1-alpha.
  16795. - Assert when the TLS contexts fail to initialize. Fixes bug 17683;
  16796. bugfix on 0.0.6.
  16797. o Minor bugfixes (compilation):
  16798. - Mark all object files that include micro-revision.i as depending
  16799. on it, so as to make parallel builds more reliable. Fixes bug
  16800. 17826; bugfix on 0.2.5.1-alpha.
  16801. - Don't try to use the pthread_condattr_setclock() function unless
  16802. it actually exists. Fixes compilation on NetBSD-6.x. Fixes bug
  16803. 17819; bugfix on 0.2.6.3-alpha.
  16804. - Fix backtrace compilation on FreeBSD. Fixes bug 17827; bugfix
  16805. on 0.2.5.2-alpha.
  16806. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  16807. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  16808. - Fix search for libevent libraries on OpenBSD (and other systems
  16809. that install libevent 1 and libevent 2 in parallel). Fixes bug
  16810. 16651; bugfix on 0.1.0.7-rc. Patch from "rubiate".
  16811. - Isolate environment variables meant for tests from the rest of the
  16812. build system. Fixes bug 17818; bugfix on 0.2.7.3-rc.
  16813. - Replace usage of 'INLINE' with 'inline'. Fixes bug 17804; bugfix
  16814. on 0.0.2pre8.
  16815. - Remove config.log only from make distclean, not from make clean.
  16816. Fixes bug 17924; bugfix on 0.2.4.1-alpha.
  16817. o Minor bugfixes (crypto):
  16818. - Check the return value of HMAC() and assert on failure. Fixes bug
  16819. 17658; bugfix on 0.2.3.6-alpha. Patch by "teor".
  16820. o Minor bugfixes (fallback directories):
  16821. - Mark fallbacks as "too busy" when they return a 503 response,
  16822. rather than just marking authorities. Fixes bug 17572; bugfix on
  16823. 0.2.4.7-alpha. Patch by "teor".
  16824. o Minor bugfixes (IPv6):
  16825. - Update the limits in max_dl_per_request for IPv6 address length.
  16826. Fixes bug 17573; bugfix on 0.2.1.5-alpha.
  16827. o Minor bugfixes (linux seccomp2 sandbox):
  16828. - Fix a crash when using offline master ed25519 keys with the Linux
  16829. seccomp2 sandbox enabled. Fixes bug 17675; bugfix on 0.2.7.3-rc.
  16830. o Minor bugfixes (logging):
  16831. - In log messages that include a function name, use __FUNCTION__
  16832. instead of __PRETTY_FUNCTION__. In GCC, these are synonymous, but
  16833. with clang __PRETTY_FUNCTION__ has extra information we don't
  16834. need. Fixes bug 16563; bugfix on 0.0.2pre8. Fix by Tom van
  16835. der Woerdt.
  16836. - Remove needless quotes from a log message about unparseable
  16837. addresses. Fixes bug 17843; bugfix on 0.2.3.3-alpha.
  16838. o Minor bugfixes (portability):
  16839. - Remove an #endif from configure.ac so that we correctly detect the
  16840. presence of in6_addr.s6_addr32. Fixes bug 17923; bugfix
  16841. on 0.2.0.13-alpha.
  16842. o Minor bugfixes (relays):
  16843. - Check that both the ORPort and DirPort (if present) are reachable
  16844. before publishing a relay descriptor. Otherwise, relays publish a
  16845. descriptor with DirPort 0 when the DirPort reachability test takes
  16846. longer than the ORPort reachability test. Fixes bug 18050; bugfix
  16847. on 0.1.0.1-rc. Reported by "starlight", patch by "teor".
  16848. o Minor bugfixes (relays, hidden services):
  16849. - Refuse connection requests to private OR addresses unless
  16850. ExtendAllowPrivateAddresses is set. Previously, tor would connect,
  16851. then refuse to send any cells to a private address. Fixes bugs
  16852. 17674 and 8976; bugfix on 0.2.3.21-rc. Patch by "teor".
  16853. o Minor bugfixes (safe logging):
  16854. - When logging a malformed hostname received through socks4, scrub
  16855. it if SafeLogging says we should. Fixes bug 17419; bugfix
  16856. on 0.1.1.16-rc.
  16857. o Minor bugfixes (statistics code):
  16858. - Consistently check for overflow in round_*_to_next_multiple_of
  16859. functions, and add unit tests with additional and maximal values.
  16860. Fixes part of bug 13192; bugfix on 0.2.2.1-alpha.
  16861. - Handle edge cases in the laplace functions: avoid division by
  16862. zero, avoid taking the log of zero, and silence clang type
  16863. conversion warnings using round and trunc. Add unit tests for edge
  16864. cases with maximal values. Fixes part of bug 13192; bugfix
  16865. on 0.2.6.2-alpha.
  16866. o Minor bugfixes (testing):
  16867. - The test for log_heartbeat was incorrectly failing in timezones
  16868. with non-integer offsets. Instead of comparing the end of the time
  16869. string against a constant, compare it to the output of
  16870. format_local_iso_time when given the correct input. Fixes bug
  16871. 18039; bugfix on 0.2.5.4-alpha.
  16872. - Make unit tests pass on IPv6-only systems, and systems without
  16873. localhost addresses (like some FreeBSD jails). Fixes bug 17632;
  16874. bugfix on 0.2.7.3-rc. Patch by "teor".
  16875. - Fix a memory leak in the ntor test. Fixes bug 17778; bugfix
  16876. on 0.2.4.8-alpha.
  16877. - Check the full results of SHA256 and SHA512 digests in the unit
  16878. tests. Bugfix on 0.2.2.4-alpha. Patch by "teor".
  16879. o Code simplification and refactoring:
  16880. - Move logging of redundant policy entries in
  16881. policies_parse_exit_policy_internal into its own function. Closes
  16882. ticket 17608; patch from "juce".
  16883. - Extract the more complicated parts of circuit_mark_for_close()
  16884. into a new function that we run periodically before circuits are
  16885. freed. This change removes more than half of the functions
  16886. currently in the "blob". Closes ticket 17218.
  16887. - Clean up a little duplicated code in
  16888. crypto_expand_key_material_TAP(). Closes ticket 17587; patch
  16889. from "pfrankw".
  16890. - Decouple the list of streams waiting to be attached to circuits
  16891. from the overall connection list. This change makes it possible to
  16892. attach streams quickly while simplifying Tor's callgraph and
  16893. avoiding O(N) scans of the entire connection list. Closes
  16894. ticket 17590.
  16895. - When a direct directory request fails immediately on launch,
  16896. instead of relaunching that request from inside the code that
  16897. launches it, instead mark the connection for teardown. This change
  16898. simplifies Tor's callback and prevents the directory-request
  16899. launching code from invoking itself recursively. Closes
  16900. ticket 17589
  16901. - Remove code for configuring OpenSSL dynamic locks; OpenSSL doesn't
  16902. use them. Closes ticket 17926.
  16903. o Documentation:
  16904. - Add a description of the correct use of the '--keygen' command-
  16905. line option. Closes ticket 17583; based on text by 's7r'.
  16906. - Document the minimum HeartbeatPeriod value. Closes ticket 15638.
  16907. - Explain actual minima for BandwidthRate. Closes ticket 16382.
  16908. - Fix a minor formatting typo in the manpage. Closes ticket 17791.
  16909. - Mention torspec URL in the manpage and point the reader to it
  16910. whenever we mention a document that belongs in torspce. Fixes
  16911. issue 17392.
  16912. o Removed features:
  16913. - Remove client-side support for connecting to Tor relays running
  16914. versions of Tor before 0.2.3.6-alpha. These relays didn't support
  16915. the v3 TLS handshake protocol, and are no longer allowed on the
  16916. Tor network. Implements the client side of ticket 11150. Based on
  16917. patches by Tom van der Woerdt.
  16918. o Testing:
  16919. - Add unit tests to check for common RNG failure modes, such as
  16920. returning all zeroes, identical values, or incrementing values
  16921. (OpenSSL's rand_predictable feature). Patch by "teor".
  16922. - Log more information when the backtrace tests fail. Closes ticket
  16923. 17892. Patch from "cypherpunks."
  16924. - Always test both ed25519 backends, so that we can be sure that our
  16925. batch-open replacement code works. Part of ticket 16794.
  16926. - Cover dns_resolve_impl() in dns.c with unit tests. Implements a
  16927. portion of ticket 16831.
  16928. - More unit tests for compat_libevent.c, procmon.c, tortls.c,
  16929. util_format.c, directory.c, and options_validate.c. Closes tickets
  16930. 17075, 17082, 17084, 17003, and 17076 respectively. Patches from
  16931. Ola Bini.
  16932. - Unit tests for directory_handle_command_get. Closes ticket 17004.
  16933. Patch from Reinaldo de Souza Jr.
  16934. Changes in version 0.2.7.6 - 2015-12-10
  16935. Tor version 0.2.7.6 fixes a major bug in entry guard selection, as
  16936. well as a minor bug in hidden service reliability.
  16937. o Major bugfixes (guard selection):
  16938. - Actually look at the Guard flag when selecting a new directory
  16939. guard. When we implemented the directory guard design, we
  16940. accidentally started treating all relays as if they have the Guard
  16941. flag during guard selection, leading to weaker anonymity and worse
  16942. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  16943. by Mohsen Imani.
  16944. o Minor features (geoip):
  16945. - Update geoip and geoip6 to the December 1 2015 Maxmind GeoLite2
  16946. Country database.
  16947. o Minor bugfixes (compilation):
  16948. - When checking for net/pfvar.h, include netinet/in.h if possible.
  16949. This fixes transparent proxy detection on OpenBSD. Fixes bug
  16950. 17551; bugfix on 0.1.2.1-alpha. Patch from "rubiate".
  16951. - Fix a compilation warning with Clang 3.6: Do not check the
  16952. presence of an address which can never be NULL. Fixes bug 17781.
  16953. o Minor bugfixes (correctness):
  16954. - When displaying an IPv6 exit policy, include the mask bits
  16955. correctly even when the number is greater than 31. Fixes bug
  16956. 16056; bugfix on 0.2.4.7-alpha. Patch from "gturner".
  16957. - The wrong list was used when looking up expired intro points in a
  16958. rend service object, causing what we think could be reachability
  16959. issues for hidden services, and triggering a BUG log. Fixes bug
  16960. 16702; bugfix on 0.2.7.2-alpha.
  16961. - Fix undefined behavior in the tor_cert_checksig function. Fixes
  16962. bug 17722; bugfix on 0.2.7.2-alpha.
  16963. Changes in version 0.2.7.5 - 2015-11-20
  16964. The Tor 0.2.7 release series is dedicated to the memory of Tor user
  16965. and privacy advocate Caspar Bowden (1961-2015). Caspar worked
  16966. tirelessly to advocate human rights regardless of national borders,
  16967. and oppose the encroachments of mass surveillance. He opposed national
  16968. exceptionalism, he brought clarity to legal and policy debates, he
  16969. understood and predicted the impact of mass surveillance on the world,
  16970. and he laid the groundwork for resisting it. While serving on the Tor
  16971. Project's board of directors, he brought us his uncompromising focus
  16972. on technical excellence in the service of humankind. Caspar was an
  16973. inimitable force for good and a wonderful friend. He was kind,
  16974. humorous, generous, gallant, and believed we should protect one
  16975. another without exception. We honor him here for his ideals, his
  16976. efforts, and his accomplishments. Please honor his memory with works
  16977. that would make him proud.
  16978. Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series.
  16979. The 0.2.7 series adds a more secure identity key type for relays,
  16980. improves cryptography performance, resolves several longstanding
  16981. hidden-service performance issues, improves controller support for
  16982. hidden services, and includes small bugfixes and performance
  16983. improvements throughout the program. This release series also includes
  16984. more tests than before, and significant simplifications to which parts
  16985. of Tor invoke which others.
  16986. (This release contains no code changes since 0.2.7.4-rc.)
  16987. Changes in version 0.2.7.4-rc - 2015-10-21
  16988. Tor 0.2.7.4-rc is the second release candidate in the 0.2.7 series. It
  16989. fixes some important memory leaks, and a scary-looking (but mostly
  16990. harmless in practice) invalid-read bug. It also has a few small
  16991. bugfixes, notably fixes for compilation and portability on different
  16992. platforms. If no further significant bounds are found, the next
  16993. release will the the official stable release.
  16994. o Major bugfixes (security, correctness):
  16995. - Fix an error that could cause us to read 4 bytes before the
  16996. beginning of an openssl string. This bug could be used to cause
  16997. Tor to crash on systems with unusual malloc implementations, or
  16998. systems with unusual hardening installed. Fixes bug 17404; bugfix
  16999. on 0.2.3.6-alpha.
  17000. o Major bugfixes (correctness):
  17001. - Fix a use-after-free bug in validate_intro_point_failure(). Fixes
  17002. bug 17401; bugfix on 0.2.7.3-rc.
  17003. o Major bugfixes (memory leaks):
  17004. - Fix a memory leak in ed25519 batch signature checking. Fixes bug
  17005. 17398; bugfix on 0.2.6.1-alpha.
  17006. - Fix a memory leak in rend_cache_failure_entry_free(). Fixes bug
  17007. 17402; bugfix on 0.2.7.3-rc.
  17008. - Fix a memory leak when reading an expired signing key from disk.
  17009. Fixes bug 17403; bugfix on 0.2.7.2-rc.
  17010. o Minor features (geoIP):
  17011. - Update geoip and geoip6 to the October 9 2015 Maxmind GeoLite2
  17012. Country database.
  17013. o Minor bugfixes (compilation):
  17014. - Repair compilation with the most recent (unreleased, alpha)
  17015. vesions of OpenSSL 1.1. Fixes part of ticket 17237.
  17016. - Fix an integer overflow warning in test_crypto_slow.c. Fixes bug
  17017. 17251; bugfix on 0.2.7.2-alpha.
  17018. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  17019. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  17020. o Minor bugfixes (portability):
  17021. - Use libexecinfo on FreeBSD to enable backtrace support. Fixes
  17022. part of bug 17151; bugfix on 0.2.5.2-alpha. Patch from
  17023. Marcin Cieślak.
  17024. o Minor bugfixes (sandbox):
  17025. - Add the "hidserv-stats" filename to our sandbox filter for the
  17026. HiddenServiceStatistics option to work properly. Fixes bug 17354;
  17027. bugfix on 0.2.6.2-alpha. Patch from David Goulet.
  17028. o Minor bugfixes (testing):
  17029. - Add unit tests for get_interface_address* failure cases. Fixes bug
  17030. 17173; bugfix on 0.2.7.3-rc. Patch by fk/teor.
  17031. - Fix breakage when running 'make check' with BSD make. Fixes bug
  17032. 17154; bugfix on 0.2.7.3-rc. Patch by Marcin Cieślak.
  17033. - Make the get_ifaddrs_* unit tests more tolerant of different
  17034. network configurations. (Don't assume every test box has an IPv4
  17035. address, and don't assume every test box has a non-localhost
  17036. address.) Fixes bug 17255; bugfix on 0.2.7.3-rc. Patch by "teor".
  17037. - Skip backtrace tests when backtrace support is not compiled in.
  17038. Fixes part of bug 17151; bugfix on 0.2.7.1-alpha. Patch from
  17039. Marcin Cieślak.
  17040. o Documentation:
  17041. - Fix capitalization of SOCKS in sample torrc. Closes ticket 15609.
  17042. - Note that HiddenServicePorts can take a unix domain socket. Closes
  17043. ticket 17364.
  17044. Changes in version 0.2.7.3-rc - 2015-09-25
  17045. Tor 0.2.7.3-rc is the first release candidate in the 0.2.7 series. It
  17046. contains numerous usability fixes for Ed25519 keys, safeguards against
  17047. several misconfiguration problems, significant simplifications to
  17048. Tor's callgraph, and numerous bugfixes and small features.
  17049. This is the most tested release of Tor to date. The unit tests cover
  17050. 39.40% of the code, and the integration tests (accessible with "make
  17051. test-full-online", requiring stem and chutney and a network
  17052. connection) raise the coverage to 64.49%.
  17053. o Major features (security, hidden services):
  17054. - Hidden services, if using the EntryNodes option, are required to
  17055. use more than one EntryNode, in order to avoid a guard discovery
  17056. attack. (This would only affect people who had configured hidden
  17057. services and manually specified the EntryNodes option with a
  17058. single entry-node. The impact was that it would be easy to
  17059. remotely identify the guard node used by such a hidden service.
  17060. See ticket for more information.) Fixes ticket 14917.
  17061. o Major features (Ed25519 keys, keypinning):
  17062. - The key-pinning option on directory authorities is now advisory-
  17063. only by default. In a future version, or when the AuthDirPinKeys
  17064. option is set, pins are enforced again. Disabling key-pinning
  17065. seemed like a good idea so that we can survive the fallout of any
  17066. usability problems associated with Ed25519 keys. Closes
  17067. ticket 17135.
  17068. o Major features (Ed25519 performance):
  17069. - Improve the speed of Ed25519 operations and Curve25519 keypair
  17070. generation when built targeting 32 bit x86 platforms with SSE2
  17071. available. Implements ticket 16535.
  17072. - Improve the runtime speed of Ed25519 signature verification by
  17073. using Ed25519-donna's batch verification support. Implements
  17074. ticket 16533.
  17075. o Major features (performance testing):
  17076. - The test-network.sh script now supports performance testing.
  17077. Requires corresponding chutney performance testing changes. Patch
  17078. by "teor". Closes ticket 14175.
  17079. o Major features (relay, Ed25519):
  17080. - Significant usability improvements for Ed25519 key management. Log
  17081. messages are better, and the code can recover from far more
  17082. failure conditions. Thanks to "s7r" for reporting and diagnosing
  17083. so many of these!
  17084. - Add a new OfflineMasterKey option to tell Tor never to try loading
  17085. or generating a secret Ed25519 identity key. You can use this in
  17086. combination with tor --keygen to manage offline and/or encrypted
  17087. Ed25519 keys. Implements ticket 16944.
  17088. - Add a --newpass option to allow changing or removing the
  17089. passphrase of an encrypted key with tor --keygen. Implements part
  17090. of ticket 16769.
  17091. - On receiving a HUP signal, check to see whether the Ed25519
  17092. signing key has changed, and reload it if so. Closes ticket 16790.
  17093. o Major bugfixes (relay, Ed25519):
  17094. - Avoid crashing on 'tor --keygen'. Fixes bug 16679; bugfix on
  17095. 0.2.7.2-alpha. Reported by "s7r".
  17096. - Improve handling of expired signing keys with offline master keys.
  17097. Fixes bug 16685; bugfix on 0.2.7.2-alpha. Reported by "s7r".
  17098. o Minor features (client-side privacy):
  17099. - New KeepAliveIsolateSOCKSAuth option to indefinitely extend circuit
  17100. lifespan when IsolateSOCKSAuth and streams with SOCKS
  17101. authentication are attached to the circuit. This allows
  17102. applications like TorBrowser to manage circuit lifetime on their
  17103. own. Implements feature 15482.
  17104. - When logging malformed hostnames from SOCKS5 requests, respect
  17105. SafeLogging configuration. Fixes bug 16891; bugfix on 0.1.1.16-rc.
  17106. o Minor features (compilation):
  17107. - Give a warning as early as possible when trying to build with an
  17108. unsupported OpenSSL version. Closes ticket 16901.
  17109. - Fail during configure if we're trying to build against an OpenSSL
  17110. built without ECC support. Fixes bug 17109, bugfix on 0.2.7.1-alpha
  17111. which started requiring ECC.
  17112. o Minor features (geoip):
  17113. - Update geoip and geoip6 to the September 3 2015 Maxmind GeoLite2
  17114. Country database.
  17115. o Minor features (hidden services):
  17116. - Relays need to have the Fast flag to get the HSDir flag. As this
  17117. is being written, we'll go from 2745 HSDirs down to 2342, a ~14%
  17118. drop. This change should make some attacks against the hidden
  17119. service directory system harder. Fixes ticket 15963.
  17120. - Turn on hidden service statistics collection by setting the torrc
  17121. option HiddenServiceStatistics to "1" by default. (This keeps
  17122. track only of the fraction of traffic used by hidden services, and
  17123. the total number of hidden services in existence.) Closes
  17124. ticket 15254.
  17125. - Client now uses an introduction point failure cache to know when
  17126. to fetch or keep a descriptor in their cache. Previously, failures
  17127. were recorded implicitly, but not explicitly remembered. Closes
  17128. ticket 16389.
  17129. o Minor features (testing, authorities, documentation):
  17130. - New TestingDirAuthVote{Exit,Guard,HSDir}IsStrict flags to
  17131. explicitly manage consensus flags in testing networks. Patch by
  17132. "robgjansen", modified by "teor". Implements part of ticket 14882.
  17133. o Minor bugfixes (security, exit policies):
  17134. - ExitPolicyRejectPrivate now also rejects the relay's published
  17135. IPv6 address (if any), and any publicly routable IPv4 or IPv6
  17136. addresses on any local interfaces. ticket 17027. Patch by "teor".
  17137. Fixes bug 17027; bugfix on 0.2.0.11-alpha.
  17138. o Minor bug fixes (torrc exit policies):
  17139. - In torrc, "accept6 *" and "reject6 *" ExitPolicy lines now only
  17140. produce IPv6 wildcard addresses. Previously they would produce
  17141. both IPv4 and IPv6 wildcard addresses. Patch by "teor". Fixes part
  17142. of bug 16069; bugfix on 0.2.4.7-alpha.
  17143. - When parsing torrc ExitPolicies, we now warn for a number of cases
  17144. where the user's intent is likely to differ from Tor's actual
  17145. behavior. These include: using an IPv4 address with an accept6 or
  17146. reject6 line; using "private" on an accept6 or reject6 line; and
  17147. including any ExitPolicy lines after accept *:* or reject *:*.
  17148. Related to ticket 16069.
  17149. - When parsing torrc ExitPolicies, we now issue an info-level
  17150. message when expanding an "accept/reject *" line to include both
  17151. IPv4 and IPv6 wildcard addresses. Related to ticket 16069.
  17152. - In each instance above, usage advice is provided to avoid the
  17153. message. Resolves ticket 16069. Patch by "teor". Fixes part of bug
  17154. 16069; bugfix on 0.2.4.7-alpha.
  17155. o Minor bugfixes (authority):
  17156. - Don't assign "HSDir" to a router if it isn't Valid and Running.
  17157. Fixes bug 16524; bugfix on 0.2.7.2-alpha.
  17158. - Downgrade log messages about Ed25519 key issues if they are in old
  17159. cached router descriptors. Fixes part of bug 16286; bugfix
  17160. on 0.2.7.2-alpha.
  17161. - When we find an Ed25519 key issue in a cached descriptor, stop
  17162. saying the descriptor was just "uploaded". Fixes another part of
  17163. bug 16286; bugfix on 0.2.7.2-alpha.
  17164. o Minor bugfixes (control port):
  17165. - Repair a warning and a spurious result when getting the maximum
  17166. number of file descriptors from the controller. Fixes bug 16697;
  17167. bugfix on 0.2.7.2-alpha.
  17168. o Minor bugfixes (correctness):
  17169. - When calling channel_free_list(), avoid calling smartlist_remove()
  17170. while inside a FOREACH loop. This partially reverts commit
  17171. 17356fe7fd96af where the correct SMARTLIST_DEL_CURRENT was
  17172. incorrectly removed. Fixes bug 16924; bugfix on 0.2.4.4-alpha.
  17173. o Minor bugfixes (documentation):
  17174. - Advise users on how to configure separate IPv4 and IPv6 exit
  17175. policies in the manpage and sample torrcs. Related to ticket 16069.
  17176. - Fix the usage message of tor-resolve(1) so that it no longer lists
  17177. the removed -F option. Fixes bug 16913; bugfix on 0.2.2.28-beta.
  17178. - Fix an error in the manual page and comments for
  17179. TestingDirAuthVoteHSDir[IsStrict], which suggested that a HSDir
  17180. required "ORPort connectivity". While this is true, it is in no
  17181. way unique to the HSDir flag. Of all the flags, only HSDirs need a
  17182. DirPort configured in order for the authorities to assign that
  17183. particular flag. Patch by "teor". Fixed as part of 14882; bugfix
  17184. on 0.2.6.3-alpha.
  17185. o Minor bugfixes (Ed25519):
  17186. - Fix a memory leak when reading router descriptors with expired
  17187. Ed25519 certificates. Fixes bug 16539; bugfix on 0.2.7.2-alpha.
  17188. o Minor bugfixes (linux seccomp2 sandbox):
  17189. - Allow bridge authorities to run correctly under the seccomp2
  17190. sandbox. Fixes bug 16964; bugfix on 0.2.5.1-alpha.
  17191. - Allow routers with ed25519 keys to run correctly under the
  17192. seccomp2 sandbox. Fixes bug 16965; bugfix on 0.2.7.2-alpha.
  17193. o Minor bugfixes (open file limit):
  17194. - Fix set_max_file_descriptors() to set by default the max open file
  17195. limit to the current limit when setrlimit() fails. Fixes bug
  17196. 16274; bugfix on 0.2.0.10-alpha. Patch by dgoulet.
  17197. o Minor bugfixes (portability):
  17198. - Try harder to normalize the exit status of the Tor process to the
  17199. standard-provided range. Fixes bug 16975; bugfix on every version
  17200. of Tor ever.
  17201. - Check correctly for Windows socket errors in the workqueue
  17202. backend. Fixes bug 16741; bugfix on 0.2.6.3-alpha.
  17203. - Fix the behavior of crypto_rand_time_range() when told to consider
  17204. times before 1970. (These times were possible when running in a
  17205. simulated network environment where time()'s output starts at
  17206. zero.) Fixes bug 16980; bugfix on 0.2.7.1-alpha.
  17207. - Restore correct operation of TLS client-cipher detection on
  17208. OpenSSL 1.1. Fixes bug 14047; bugfix on 0.2.7.2-alpha.
  17209. o Minor bugfixes (relay):
  17210. - Ensure that worker threads actually exit when a fatal error or
  17211. shutdown is indicated. This fix doesn't currently affect the
  17212. behavior of Tor, because Tor workers never indicates fatal error
  17213. or shutdown except in the unit tests. Fixes bug 16868; bugfix
  17214. on 0.2.6.3-alpha.
  17215. - Unblock threads before releasing the work queue mutex to ensure
  17216. predictable scheduling behavior. Fixes bug 16644; bugfix
  17217. on 0.2.6.3-alpha.
  17218. o Code simplification and refactoring:
  17219. - Change the function that's called when we need to retry all
  17220. downloads so that it only reschedules the downloads to happen
  17221. immediately, rather than launching them all at once itself. This
  17222. further simplifies Tor's callgraph.
  17223. - Move some format-parsing functions out of crypto.c and
  17224. crypto_curve25519.c into crypto_format.c and/or util_format.c.
  17225. - Move the client-only parts of init_keys() into a separate
  17226. function. Closes ticket 16763.
  17227. - Simplify the microdesc_free() implementation so that it no longer
  17228. appears (to code analysis tools) to potentially invoke a huge
  17229. suite of other microdesc functions.
  17230. - Simply the control graph further by deferring the inner body of
  17231. directory_all_unreachable() into a callback. Closes ticket 16762.
  17232. - Treat the loss of an owning controller as equivalent to a SIGTERM
  17233. signal. This removes a tiny amount of duplicated code, and
  17234. simplifies our callgraph. Closes ticket 16788.
  17235. - When generating an event to send to the controller, we no longer
  17236. put the event over the network immediately. Instead, we queue
  17237. these events, and use a Libevent callback to deliver them. This
  17238. change simplifies Tor's callgraph by reducing the number of
  17239. functions from which all other Tor functions are reachable. Closes
  17240. ticket 16695.
  17241. - Wrap Windows-only C files inside '#ifdef _WIN32' so that tools
  17242. that try to scan or compile every file on Unix won't decide that
  17243. they are broken.
  17244. - Remove the unused "nulterminate" argument from buf_pullup().
  17245. o Documentation:
  17246. - Recommend a 40 GB example AccountingMax in torrc.sample rather
  17247. than a 4 GB max. Closes ticket 16742.
  17248. - Include the TUNING document in our source tarball. It is referred
  17249. to in the ChangeLog and an error message. Fixes bug 16929; bugfix
  17250. on 0.2.6.1-alpha.
  17251. o Removed code:
  17252. - The internal pure-C tor-fw-helper tool is now removed from the Tor
  17253. distribution, in favor of the pure-Go clone available from
  17254. https://gitweb.torproject.org/tor-fw-helper.git/ . The libraries
  17255. used by the C tor-fw-helper are not, in our opinion, very
  17256. confidence- inspiring in their secure-programming techniques.
  17257. Closes ticket 13338.
  17258. - Remove the code that would try to aggressively flush controller
  17259. connections while writing to them. This code was introduced in
  17260. 0.1.2.7-alpha, in order to keep output buffers from exceeding
  17261. their limits. But there is no longer a maximum output buffer size,
  17262. and flushing data in this way caused some undesirable recursions
  17263. in our call graph. Closes ticket 16480.
  17264. o Testing:
  17265. - Make "bridges+hs" the default test network. This tests almost all
  17266. tor functionality during make test-network, while allowing tests
  17267. to succeed on non-IPv6 systems. Requires chutney commit 396da92 in
  17268. test-network-bridges-hs. Closes tickets 16945 (tor) and 16946
  17269. (chutney). Patches by "teor".
  17270. - Autodetect CHUTNEY_PATH if the chutney and Tor sources are side-
  17271. by-side in the same parent directory. Closes ticket 16903. Patch
  17272. by "teor".
  17273. - Use environment variables rather than autoconf substitutions to
  17274. send variables from the build system to the test scripts. This
  17275. change should be easier to maintain, and cause 'make distcheck' to
  17276. work better than before. Fixes bug 17148.
  17277. - Add a new set of callgraph analysis scripts that use clang to
  17278. produce a list of which Tor functions are reachable from which
  17279. other Tor functions. We're planning to use these to help simplify
  17280. our code structure by identifying illogical dependencies.
  17281. - Add new 'test-full' and 'test-full-online' targets to run all
  17282. tests, including integration tests with stem and chutney.
  17283. - Make the test-workqueue test work on Windows by initializing the
  17284. network before we begin.
  17285. - New make target (make test-network-all) to run multiple applicable
  17286. chutney test cases. Patch from Teor; closes 16953.
  17287. - Unit test dns_resolve(), dns_clip_ttl() and dns_get_expiry_ttl()
  17288. functions in dns.c. Implements a portion of ticket 16831.
  17289. - When building Tor with testing coverage enabled, run Chutney tests
  17290. (if any) using the 'tor-cov' coverage binary.
  17291. - When running test-network or test-stem, check for the absence of
  17292. stem/chutney before doing any build operations.
  17293. Changes in version 0.2.7.2-alpha - 2015-07-27
  17294. This, the second alpha in the Tor 0.2.7 series, has a number of new
  17295. features, including a way to manually pick the number of introduction
  17296. points for hidden services, and the much stronger Ed25519 signing key
  17297. algorithm for regular Tor relays (including support for encrypted
  17298. offline identity keys in the new algorithm).
  17299. Support for Ed25519 on relays is currently limited to signing router
  17300. descriptors; later alphas in this series will extend Ed25519 key
  17301. support to more parts of the Tor protocol.
  17302. o Major features (Ed25519 identity keys, Proposal 220):
  17303. - All relays now maintain a stronger identity key, using the Ed25519
  17304. elliptic curve signature format. This master key is designed so
  17305. that it can be kept offline. Relays also generate an online
  17306. signing key, and a set of other Ed25519 keys and certificates.
  17307. These are all automatically regenerated and rotated as needed.
  17308. Implements part of ticket 12498.
  17309. - Directory authorities now vote on Ed25519 identity keys along with
  17310. RSA1024 keys. Implements part of ticket 12498.
  17311. - Directory authorities track which Ed25519 identity keys have been
  17312. used with which RSA1024 identity keys, and do not allow them to
  17313. vary freely. Implements part of ticket 12498.
  17314. - Microdescriptors now include Ed25519 identity keys. Implements
  17315. part of ticket 12498.
  17316. - Add support for offline encrypted Ed25519 master keys. To use this
  17317. feature on your tor relay, run "tor --keygen" to make a new master
  17318. key (or to make a new signing key if you already have a master
  17319. key). Closes ticket 13642.
  17320. o Major features (Hidden services):
  17321. - Add the torrc option HiddenServiceNumIntroductionPoints, to
  17322. specify a fixed number of introduction points. Its maximum value
  17323. is 10 and default is 3. Using this option can increase a hidden
  17324. service's reliability under load, at the cost of making it more
  17325. visible that the hidden service is facing extra load. Closes
  17326. ticket 4862.
  17327. - Remove the adaptive algorithm for choosing the number of
  17328. introduction points, which used to change the number of
  17329. introduction points (poorly) depending on the number of
  17330. connections the HS sees. Closes ticket 4862.
  17331. o Major features (onion key cross-certification):
  17332. - Relay descriptors now include signatures of their own identity
  17333. keys, made using the TAP and ntor onion keys. These signatures
  17334. allow relays to prove ownership of their own onion keys. Because
  17335. of this change, microdescriptors will no longer need to include
  17336. RSA identity keys. Implements proposal 228; closes ticket 12499.
  17337. o Major features (performance):
  17338. - Improve the runtime speed of Ed25519 operations by using the
  17339. public-domain Ed25519-donna by Andrew M. ("floodyberry").
  17340. Implements ticket 16467.
  17341. - Improve the runtime speed of the ntor handshake by using an
  17342. optimized curve25519 basepoint scalarmult implementation from the
  17343. public-domain Ed25519-donna by Andrew M. ("floodyberry"), based on
  17344. ideas by Adam Langley. Implements ticket 9663.
  17345. o Major bugfixes (client-side privacy, also in 0.2.6.9):
  17346. - Properly separate out each SOCKSPort when applying stream
  17347. isolation. The error occurred because each port's session group
  17348. was being overwritten by a default value when the listener
  17349. connection was initialized. Fixes bug 16247; bugfix on
  17350. 0.2.6.3-alpha. Patch by "jojelino".
  17351. o Major bugfixes (hidden service clients, stability, also in 0.2.6.10):
  17352. - Stop refusing to store updated hidden service descriptors on a
  17353. client. This reverts commit 9407040c59218 (which indeed fixed bug
  17354. 14219, but introduced a major hidden service reachability
  17355. regression detailed in bug 16381). This is a temporary fix since
  17356. we can live with the minor issue in bug 14219 (it just results in
  17357. some load on the network) but the regression of 16381 is too much
  17358. of a setback. First-round fix for bug 16381; bugfix
  17359. on 0.2.6.3-alpha.
  17360. o Major bugfixes (hidden services):
  17361. - When cannibalizing a circuit for an introduction point, always
  17362. extend to the chosen exit node (creating a 4 hop circuit).
  17363. Previously Tor would use the current circuit exit node, which
  17364. changed the original choice of introduction point, and could cause
  17365. the hidden service to skip excluded introduction points or
  17366. reconnect to a skipped introduction point. Fixes bug 16260; bugfix
  17367. on 0.1.0.1-rc.
  17368. o Major bugfixes (open file limit):
  17369. - The open file limit wasn't checked before calling
  17370. tor_accept_socket_nonblocking(), which would make Tor exceed the
  17371. limit. Now, before opening a new socket, Tor validates the open
  17372. file limit just before, and if the max has been reached, return an
  17373. error. Fixes bug 16288; bugfix on 0.1.1.1-alpha.
  17374. o Major bugfixes (stability, also in 0.2.6.10):
  17375. - Stop crashing with an assertion failure when parsing certain kinds
  17376. of malformed or truncated microdescriptors. Fixes bug 16400;
  17377. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  17378. by "cypherpunks_backup".
  17379. - Stop random client-side assertion failures that could occur when
  17380. connecting to a busy hidden service, or connecting to a hidden
  17381. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  17382. on 0.1.0.1-rc.
  17383. o Minor features (directory authorities, security, also in 0.2.6.9):
  17384. - The HSDir flag given by authorities now requires the Stable flag.
  17385. For the current network, this results in going from 2887 to 2806
  17386. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  17387. attack by raising the effort for a relay to become Stable to
  17388. require at the very least 7 days, while maintaining the 96 hours
  17389. uptime requirement for HSDir. Implements ticket 8243.
  17390. o Minor features (client):
  17391. - Relax the validation of hostnames in SOCKS5 requests, allowing the
  17392. character '_' to appear, in order to cope with domains observed in
  17393. the wild that are serving non-RFC compliant records. Resolves
  17394. ticket 16430.
  17395. - Relax the validation done to hostnames in SOCKS5 requests, and
  17396. allow a single trailing '.' to cope with clients that pass FQDNs
  17397. using that syntax to explicitly indicate that the domain name is
  17398. fully-qualified. Fixes bug 16674; bugfix on 0.2.6.2-alpha.
  17399. - Add GroupWritable and WorldWritable options to unix-socket based
  17400. SocksPort and ControlPort options. These options apply to a single
  17401. socket, and override {Control,Socks}SocketsGroupWritable. Closes
  17402. ticket 15220.
  17403. o Minor features (control protocol):
  17404. - Support network-liveness GETINFO key and NETWORK_LIVENESS event in
  17405. the control protocol. Resolves ticket 15358.
  17406. o Minor features (directory authorities):
  17407. - Directory authorities no longer vote against the "Fast", "Stable",
  17408. and "HSDir" flags just because they were going to vote against
  17409. "Running": if the consensus turns out to be that the router was
  17410. running, then the authority's vote should count. Patch from Peter
  17411. Retzlaff; closes issue 8712.
  17412. o Minor features (geoip, also in 0.2.6.10):
  17413. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  17414. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  17415. o Minor features (hidden services):
  17416. - Add the new options "HiddenServiceMaxStreams" and
  17417. "HiddenServiceMaxStreamsCloseCircuit" to allow hidden services to
  17418. limit the maximum number of simultaneous streams per circuit, and
  17419. optionally tear down the circuit when the limit is exceeded. Part
  17420. of ticket 16052.
  17421. o Minor features (portability):
  17422. - Use C99 variadic macros when the compiler is not GCC. This avoids
  17423. failing compilations on MSVC, and fixes a log-file-based race
  17424. condition in our old workarounds. Original patch from Gisle Vanem.
  17425. o Minor bugfixes (compilation, also in 0.2.6.9):
  17426. - Build with --enable-systemd correctly when libsystemd is
  17427. installed, but systemd is not. Fixes bug 16164; bugfix on
  17428. 0.2.6.3-alpha. Patch from Peter Palfrader.
  17429. o Minor bugfixes (controller):
  17430. - Add the descriptor ID in each HS_DESC control event. It was
  17431. missing, but specified in control-spec.txt. Fixes bug 15881;
  17432. bugfix on 0.2.5.2-alpha.
  17433. o Minor bugfixes (crypto error-handling, also in 0.2.6.10):
  17434. - Check for failures from crypto_early_init, and refuse to continue.
  17435. A previous typo meant that we could keep going with an
  17436. uninitialized crypto library, and would have OpenSSL initialize
  17437. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  17438. when implementing ticket 4900. Patch by "teor".
  17439. o Minor bugfixes (hidden services):
  17440. - Fix a crash when reloading configuration while at least one
  17441. configured and one ephemeral hidden service exists. Fixes bug
  17442. 16060; bugfix on 0.2.7.1-alpha.
  17443. - Avoid crashing with a double-free bug when we create an ephemeral
  17444. hidden service but adding it fails for some reason. Fixes bug
  17445. 16228; bugfix on 0.2.7.1-alpha.
  17446. o Minor bugfixes (Linux seccomp2 sandbox):
  17447. - Use the sandbox in tor_open_cloexec whether or not O_CLOEXEC is
  17448. defined. Patch by "teor". Fixes bug 16515; bugfix on 0.2.3.1-alpha.
  17449. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.10):
  17450. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  17451. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  17452. on 0.2.6.3-alpha. Patch from "teor".
  17453. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.9):
  17454. - Fix sandboxing to work when running as a relay, by allowing the
  17455. renaming of secret_id_key, and allowing the eventfd2 and futex
  17456. syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha. Patch by
  17457. Peter Palfrader.
  17458. - Allow systemd connections to work with the Linux seccomp2 sandbox
  17459. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  17460. Peter Palfrader.
  17461. o Minor bugfixes (relay):
  17462. - Fix a rarely-encountered memory leak when failing to initialize
  17463. the thread pool. Fixes bug 16631; bugfix on 0.2.6.3-alpha. Patch
  17464. from "cypherpunks".
  17465. o Minor bugfixes (systemd):
  17466. - Fix an accidental formatting error that broke the systemd
  17467. configuration file. Fixes bug 16152; bugfix on 0.2.7.1-alpha.
  17468. - Tor's systemd unit file no longer contains extraneous spaces.
  17469. These spaces would sometimes confuse tools like deb-systemd-
  17470. helper. Fixes bug 16162; bugfix on 0.2.5.5-alpha.
  17471. o Minor bugfixes (tests):
  17472. - Use the configured Python executable when running test-stem-full.
  17473. Fixes bug 16470; bugfix on 0.2.7.1-alpha.
  17474. o Minor bugfixes (tests, also in 0.2.6.9):
  17475. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  17476. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  17477. o Minor bugfixes (threads, comments):
  17478. - Always initialize return value in compute_desc_id in rendcommon.c
  17479. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  17480. - Check for NULL values in getinfo_helper_onions(). Patch by "teor".
  17481. Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  17482. - Remove undefined directive-in-macro in test_util_writepid clang
  17483. 3.7 complains that using a preprocessor directive inside a macro
  17484. invocation in test_util_writepid in test_util.c is undefined.
  17485. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  17486. o Code simplification and refactoring:
  17487. - Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
  17488. to ensure they remain consistent and visible everywhere.
  17489. - Remove some vestigial workarounds for the MSVC6 compiler. We
  17490. haven't supported that in ages.
  17491. - The link authentication code has been refactored for better
  17492. testability and reliability. It now uses code generated with the
  17493. "trunnel" binary encoding generator, to reduce the risk of bugs
  17494. due to programmer error. Done as part of ticket 12498.
  17495. o Documentation:
  17496. - Include a specific and (hopefully) accurate documentation of the
  17497. torrc file's meta-format in doc/torrc_format.txt. This is mainly
  17498. of interest to people writing programs to parse or generate torrc
  17499. files. This document is not a commitment to long-term
  17500. compatibility; some aspects of the current format are a bit
  17501. ridiculous. Closes ticket 2325.
  17502. o Removed features:
  17503. - Tor no longer supports copies of OpenSSL that are missing support
  17504. for Elliptic Curve Cryptography. (We began using ECC when
  17505. available in 0.2.4.8-alpha, for more safe and efficient key
  17506. negotiation.) In particular, support for at least one of P256 or
  17507. P224 is now required, with manual configuration needed if only
  17508. P224 is available. Resolves ticket 16140.
  17509. - Tor no longer supports versions of OpenSSL before 1.0. (If you are
  17510. on an operating system that has not upgraded to OpenSSL 1.0 or
  17511. later, and you compile Tor from source, you will need to install a
  17512. more recent OpenSSL to link Tor against.) These versions of
  17513. OpenSSL are still supported by the OpenSSL, but the numerous
  17514. cryptographic improvements in later OpenSSL releases makes them a
  17515. clear choice. Resolves ticket 16034.
  17516. - Remove the HidServDirectoryV2 option. Now all relays offer to
  17517. store hidden service descriptors. Related to 16543.
  17518. - Remove the VoteOnHidServDirectoriesV2 option, since all
  17519. authorities have long set it to 1. Closes ticket 16543.
  17520. o Testing:
  17521. - Document use of coverity, clang static analyzer, and clang dynamic
  17522. undefined behavior and address sanitizers in doc/HACKING. Include
  17523. detailed usage instructions in the blacklist. Patch by "teor".
  17524. Closes ticket 15817.
  17525. - The link authentication protocol code now has extensive tests.
  17526. - The relay descriptor signature testing code now has
  17527. extensive tests.
  17528. - The test_workqueue program now runs faster, and is enabled by
  17529. default as a part of "make check".
  17530. - Now that OpenSSL has its own scrypt implementation, add an unit
  17531. test that checks for interoperability between libscrypt_scrypt()
  17532. and OpenSSL's EVP_PBE_scrypt() so that we could not use libscrypt
  17533. and rely on EVP_PBE_scrypt() whenever possible. Resolves
  17534. ticket 16189.
  17535. Changes in version 0.2.6.10 - 2015-07-12
  17536. Tor version 0.2.6.10 fixes some significant stability and hidden
  17537. service client bugs, bulletproofs the cryptography init process, and
  17538. fixes a bug when using the sandbox code with some older versions of
  17539. Linux. Everyone running an older version, especially an older version
  17540. of 0.2.6, should upgrade.
  17541. o Major bugfixes (hidden service clients, stability):
  17542. - Stop refusing to store updated hidden service descriptors on a
  17543. client. This reverts commit 9407040c59218 (which indeed fixed bug
  17544. 14219, but introduced a major hidden service reachability
  17545. regression detailed in bug 16381). This is a temporary fix since
  17546. we can live with the minor issue in bug 14219 (it just results in
  17547. some load on the network) but the regression of 16381 is too much
  17548. of a setback. First-round fix for bug 16381; bugfix
  17549. on 0.2.6.3-alpha.
  17550. o Major bugfixes (stability):
  17551. - Stop crashing with an assertion failure when parsing certain kinds
  17552. of malformed or truncated microdescriptors. Fixes bug 16400;
  17553. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  17554. by "cypherpunks_backup".
  17555. - Stop random client-side assertion failures that could occur when
  17556. connecting to a busy hidden service, or connecting to a hidden
  17557. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  17558. on 0.1.0.1-rc.
  17559. o Minor features (geoip):
  17560. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  17561. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  17562. o Minor bugfixes (crypto error-handling):
  17563. - Check for failures from crypto_early_init, and refuse to continue.
  17564. A previous typo meant that we could keep going with an
  17565. uninitialized crypto library, and would have OpenSSL initialize
  17566. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  17567. when implementing ticket 4900. Patch by "teor".
  17568. o Minor bugfixes (Linux seccomp2 sandbox):
  17569. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  17570. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  17571. on 0.2.6.3-alpha. Patch from "teor".
  17572. Changes in version 0.2.6.9 - 2015-06-11
  17573. Tor 0.2.6.9 fixes a regression in the circuit isolation code, increases the
  17574. requirements for receiving an HSDir flag, and addresses some other small
  17575. bugs in the systemd and sandbox code. Clients using circuit isolation
  17576. should upgrade; all directory authorities should upgrade.
  17577. o Major bugfixes (client-side privacy):
  17578. - Properly separate out each SOCKSPort when applying stream
  17579. isolation. The error occurred because each port's session group was
  17580. being overwritten by a default value when the listener connection
  17581. was initialized. Fixes bug 16247; bugfix on 0.2.6.3-alpha. Patch
  17582. by "jojelino".
  17583. o Minor feature (directory authorities, security):
  17584. - The HSDir flag given by authorities now requires the Stable flag.
  17585. For the current network, this results in going from 2887 to 2806
  17586. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  17587. attack by raising the effort for a relay to become Stable which
  17588. takes at the very least 7 days to do so and by keeping the 96
  17589. hours uptime requirement for HSDir. Implements ticket 8243.
  17590. o Minor bugfixes (compilation):
  17591. - Build with --enable-systemd correctly when libsystemd is
  17592. installed, but systemd is not. Fixes bug 16164; bugfix on
  17593. 0.2.6.3-alpha. Patch from Peter Palfrader.
  17594. o Minor bugfixes (Linux seccomp2 sandbox):
  17595. - Fix sandboxing to work when running as a relaymby renaming of
  17596. secret_id_key, and allowing the eventfd2 and futex syscalls. Fixes
  17597. bug 16244; bugfix on 0.2.6.1-alpha. Patch by Peter Palfrader.
  17598. - Allow systemd connections to work with the Linux seccomp2 sandbox
  17599. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  17600. Peter Palfrader.
  17601. o Minor bugfixes (tests):
  17602. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  17603. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  17604. Changes in version 0.2.6.8 - 2015-05-21
  17605. Tor 0.2.6.8 fixes a bit of dodgy code in parsing INTRODUCE2 cells, and
  17606. fixes an authority-side bug in assigning the HSDir flag. All directory
  17607. authorities should upgrade.
  17608. o Major bugfixes (hidden services, backport from 0.2.7.1-alpha):
  17609. - Revert commit that made directory authorities assign the HSDir
  17610. flag to relays without a DirPort; this was bad because such relays
  17611. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  17612. on 0.2.6.3-alpha.
  17613. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  17614. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  17615. a client authorized hidden service. Fixes bug 15823; bugfix
  17616. on 0.2.1.6-alpha.
  17617. o Minor features (geoip):
  17618. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  17619. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  17620. Country database.
  17621. Changes in version 0.2.7.1-alpha - 2015-05-12
  17622. Tor 0.2.7.1-alpha is the first alpha release in its series. It
  17623. includes numerous small features and bugfixes against previous Tor
  17624. versions, and numerous small infrastructure improvements. The most
  17625. notable features are several new ways for controllers to interact with
  17626. the hidden services subsystem.
  17627. o New system requirements:
  17628. - Tor no longer includes workarounds to support Libevent versions
  17629. before 1.3e. Libevent 2.0 or later is recommended. Closes
  17630. ticket 15248.
  17631. o Major features (controller):
  17632. - Add the ADD_ONION and DEL_ONION commands that allow the creation
  17633. and management of hidden services via the controller. Closes
  17634. ticket 6411.
  17635. - New "GETINFO onions/current" and "GETINFO onions/detached"
  17636. commands to get information about hidden services created via the
  17637. controller. Part of ticket 6411.
  17638. - New HSFETCH command to launch a request for a hidden service
  17639. descriptor. Closes ticket 14847.
  17640. - New HSPOST command to upload a hidden service descriptor. Closes
  17641. ticket 3523. Patch by "DonnchaC".
  17642. o Major bugfixes (hidden services):
  17643. - Revert commit that made directory authorities assign the HSDir
  17644. flag to relays without a DirPort; this was bad because such relays
  17645. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  17646. on 0.2.6.3-alpha.
  17647. o Minor features (clock-jump tolerance):
  17648. - Recover better when our clock jumps back many hours, like might
  17649. happen for Tails or Whonix users who start with a very wrong
  17650. hardware clock, use Tor to discover a more accurate time, and then
  17651. fix their clock. Resolves part of ticket 8766.
  17652. o Minor features (command-line interface):
  17653. - Make --hash-password imply --hush to prevent unnecessary noise.
  17654. Closes ticket 15542. Patch from "cypherpunks".
  17655. - Print a warning whenever we find a relative file path being used
  17656. as torrc option. Resolves issue 14018.
  17657. o Minor features (controller):
  17658. - Add DirAuthority lines for default directory authorities to the
  17659. output of the "GETINFO config/defaults" command if not already
  17660. present. Implements ticket 14840.
  17661. - Controllers can now use "GETINFO hs/client/desc/id/..." to
  17662. retrieve items from the client's hidden service descriptor cache.
  17663. Closes ticket 14845.
  17664. - Implement a new controller command "GETINFO status/fresh-relay-
  17665. descs" to fetch a descriptor/extrainfo pair that was generated on
  17666. demand just for the controller's use. Implements ticket 14784.
  17667. o Minor features (DoS-resistance):
  17668. - Make it harder for attackers to overload hidden services with
  17669. introductions, by blocking multiple introduction requests on the
  17670. same circuit. Resolves ticket 15515.
  17671. o Minor features (geoip):
  17672. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  17673. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  17674. Country database.
  17675. o Minor features (HS popularity countermeasure):
  17676. - To avoid leaking HS popularity, don't cycle the introduction point
  17677. when we've handled a fixed number of INTRODUCE2 cells but instead
  17678. cycle it when a random number of introductions is reached, thus
  17679. making it more difficult for an attacker to find out the amount of
  17680. clients that have used the introduction point for a specific HS.
  17681. Closes ticket 15745.
  17682. o Minor features (logging):
  17683. - Include the Tor version in all LD_BUG log messages, since people
  17684. tend to cut and paste those into the bugtracker. Implements
  17685. ticket 15026.
  17686. o Minor features (pluggable transports):
  17687. - When launching managed pluggable transports on Linux systems,
  17688. attempt to have the kernel deliver a SIGTERM on tor exit if the
  17689. pluggable transport process is still running. Resolves
  17690. ticket 15471.
  17691. - When launching managed pluggable transports, setup a valid open
  17692. stdin in the child process that can be used to detect if tor has
  17693. terminated. The "TOR_PT_EXIT_ON_STDIN_CLOSE" environment variable
  17694. can be used by implementations to detect this new behavior.
  17695. Resolves ticket 15435.
  17696. o Minor features (testing):
  17697. - Add a test to verify that the compiler does not eliminate our
  17698. memwipe() implementation. Closes ticket 15377.
  17699. - Add make rule `check-changes` to verify the format of changes
  17700. files. Closes ticket 15180.
  17701. - Add unit tests for control_event_is_interesting(). Add a compile-
  17702. time check that the number of events doesn't exceed the capacity
  17703. of control_event_t.event_mask. Closes ticket 15431, checks for
  17704. bugs similar to 13085. Patch by "teor".
  17705. - Command-line argument tests moved to Stem. Resolves ticket 14806.
  17706. - Integrate the ntor, backtrace, and zero-length keys tests into the
  17707. automake test suite. Closes ticket 15344.
  17708. - Remove assertions during builds to determine Tor's test coverage.
  17709. We don't want to trigger these even in assertions, so including
  17710. them artificially makes our branch coverage look worse than it is.
  17711. This patch provides the new test-stem-full and coverage-html-full
  17712. configure options. Implements ticket 15400.
  17713. o Minor bugfixes (build):
  17714. - Improve out-of-tree builds by making non-standard rules work and
  17715. clean up additional files and directories. Fixes bug 15053; bugfix
  17716. on 0.2.7.0-alpha.
  17717. o Minor bugfixes (command-line interface):
  17718. - When "--quiet" is provided along with "--validate-config", do not
  17719. write anything to stdout on success. Fixes bug 14994; bugfix
  17720. on 0.2.3.3-alpha.
  17721. - When complaining about bad arguments to "--dump-config", use
  17722. stderr, not stdout.
  17723. o Minor bugfixes (configuration, unit tests):
  17724. - Only add the default fallback directories when the DirAuthorities,
  17725. AlternateDirAuthority, and FallbackDir directory config options
  17726. are set to their defaults. The default fallback directory list is
  17727. currently empty, this fix will only change tor's behavior when it
  17728. has default fallback directories. Includes unit tests for
  17729. consider_adding_dir_servers(). Fixes bug 15642; bugfix on
  17730. 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor".
  17731. o Minor bugfixes (correctness):
  17732. - For correctness, avoid modifying a constant string in
  17733. handle_control_postdescriptor. Fixes bug 15546; bugfix
  17734. on 0.1.1.16-rc.
  17735. - Remove side-effects from tor_assert() calls. This was harmless,
  17736. because we never disable assertions, but it is bad style and
  17737. unnecessary. Fixes bug 15211; bugfix on 0.2.5.5, 0.2.2.36,
  17738. and 0.2.0.10.
  17739. o Minor bugfixes (hidden service):
  17740. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  17741. a client authorized hidden service. Fixes bug 15823; bugfix
  17742. on 0.2.1.6-alpha.
  17743. - Remove an extraneous newline character from the end of hidden
  17744. service descriptors. Fixes bug 15296; bugfix on 0.2.0.10-alpha.
  17745. o Minor bugfixes (interface):
  17746. - Print usage information for --dump-config when it is used without
  17747. an argument. Also, fix the error message to use different wording
  17748. and add newline at the end. Fixes bug 15541; bugfix
  17749. on 0.2.5.1-alpha.
  17750. o Minor bugfixes (logs):
  17751. - When building Tor under Clang, do not include an extra set of
  17752. parentheses in log messages that include function names. Fixes bug
  17753. 15269; bugfix on every released version of Tor when compiled with
  17754. recent enough Clang.
  17755. o Minor bugfixes (network):
  17756. - When attempting to use fallback technique for network interface
  17757. lookup, disregard loopback and multicast addresses since they are
  17758. unsuitable for public communications.
  17759. o Minor bugfixes (statistics):
  17760. - Disregard the ConnDirectionStatistics torrc options when Tor is
  17761. not a relay since in that mode of operation no sensible data is
  17762. being collected and because Tor might run into measurement hiccups
  17763. when running as a client for some time, then becoming a relay.
  17764. Fixes bug 15604; bugfix on 0.2.2.35.
  17765. o Minor bugfixes (test networks):
  17766. - When self-testing reachability, use ExtendAllowPrivateAddresses to
  17767. determine if local/private addresses imply reachability. The
  17768. previous fix used TestingTorNetwork, which implies
  17769. ExtendAllowPrivateAddresses, but this excluded rare configurations
  17770. where ExtendAllowPrivateAddresses is set but TestingTorNetwork is
  17771. not. Fixes bug 15771; bugfix on 0.2.6.1-alpha. Patch by "teor",
  17772. issue discovered by CJ Ess.
  17773. o Minor bugfixes (testing):
  17774. - Check for matching value in server response in ntor_ref.py. Fixes
  17775. bug 15591; bugfix on 0.2.4.8-alpha. Reported and fixed
  17776. by "joelanders".
  17777. - Set the severity correctly when testing
  17778. get_interface_addresses_ifaddrs() and
  17779. get_interface_addresses_win32(), so that the tests fail gracefully
  17780. instead of triggering an assertion. Fixes bug 15759; bugfix on
  17781. 0.2.6.3-alpha. Reported by Nicolas Derive.
  17782. o Code simplification and refactoring:
  17783. - Move the hacky fallback code out of get_interface_address6() into
  17784. separate function and get it covered with unit-tests. Resolves
  17785. ticket 14710.
  17786. - Refactor hidden service client-side cache lookup to intelligently
  17787. report its various failure cases, and disentangle failure cases
  17788. involving a lack of introduction points. Closes ticket 14391.
  17789. - Use our own Base64 encoder instead of OpenSSL's, to allow more
  17790. control over the output. Part of ticket 15652.
  17791. o Documentation:
  17792. - Improve the descriptions of statistics-related torrc options in
  17793. the manpage to describe rationale and possible uses cases. Fixes
  17794. issue 15550.
  17795. - Improve the layout and formatting of ./configure --help messages.
  17796. Closes ticket 15024. Patch from "cypherpunks".
  17797. - Standardize on the term "server descriptor" in the manual page.
  17798. Previously, we had used "router descriptor", "server descriptor",
  17799. and "relay descriptor" interchangeably. Part of ticket 14987.
  17800. o Removed code:
  17801. - Remove `USE_OPENSSL_BASE64` and the corresponding fallback code
  17802. and always use the internal Base64 decoder. The internal decoder
  17803. has been part of tor since 0.2.0.10-alpha, and no one should
  17804. be using the OpenSSL one. Part of ticket 15652.
  17805. - Remove the 'tor_strclear()' function; use memwipe() instead.
  17806. Closes ticket 14922.
  17807. o Removed features:
  17808. - Remove the (seldom-used) DynamicDHGroups feature. For anti-
  17809. fingerprinting we now recommend pluggable transports; for forward-
  17810. secrecy in TLS, we now use the P-256 group. Closes ticket 13736.
  17811. - Remove the undocumented "--digests" command-line option. It
  17812. complicated our build process, caused subtle build issues on
  17813. multiple platforms, and is now redundant since we started
  17814. including git version identifiers. Closes ticket 14742.
  17815. - Tor no longer contains checks for ancient directory cache versions
  17816. that didn't know about microdescriptors.
  17817. - Tor no longer contains workarounds for stat files generated by
  17818. super-old versions of Tor that didn't choose guards sensibly.
  17819. Changes in version 0.2.4.27 - 2015-04-06
  17820. Tor 0.2.4.27 backports two fixes from 0.2.6.7 for security issues that
  17821. could be used by an attacker to crash hidden services, or crash clients
  17822. visiting hidden services. Hidden services should upgrade as soon as
  17823. possible; clients should upgrade whenever packages become available.
  17824. This release also backports a simple improvement to make hidden
  17825. services a bit less vulnerable to denial-of-service attacks.
  17826. o Major bugfixes (security, hidden service):
  17827. - Fix an issue that would allow a malicious client to trigger an
  17828. assertion failure and halt a hidden service. Fixes bug 15600;
  17829. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  17830. - Fix a bug that could cause a client to crash with an assertion
  17831. failure when parsing a malformed hidden service descriptor. Fixes
  17832. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  17833. o Minor features (DoS-resistance, hidden service):
  17834. - Introduction points no longer allow multiple INTRODUCE1 cells to
  17835. arrive on the same circuit. This should make it more expensive for
  17836. attackers to overwhelm hidden services with introductions.
  17837. Resolves ticket 15515.
  17838. Changes in version 0.2.5.12 - 2015-04-06
  17839. Tor 0.2.5.12 backports two fixes from 0.2.6.7 for security issues that
  17840. could be used by an attacker to crash hidden services, or crash clients
  17841. visiting hidden services. Hidden services should upgrade as soon as
  17842. possible; clients should upgrade whenever packages become available.
  17843. This release also backports a simple improvement to make hidden
  17844. services a bit less vulnerable to denial-of-service attacks.
  17845. o Major bugfixes (security, hidden service):
  17846. - Fix an issue that would allow a malicious client to trigger an
  17847. assertion failure and halt a hidden service. Fixes bug 15600;
  17848. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  17849. - Fix a bug that could cause a client to crash with an assertion
  17850. failure when parsing a malformed hidden service descriptor. Fixes
  17851. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  17852. o Minor features (DoS-resistance, hidden service):
  17853. - Introduction points no longer allow multiple INTRODUCE1 cells to
  17854. arrive on the same circuit. This should make it more expensive for
  17855. attackers to overwhelm hidden services with introductions.
  17856. Resolves ticket 15515.
  17857. Changes in version 0.2.6.7 - 2015-04-06
  17858. Tor 0.2.6.7 fixes two security issues that could be used by an
  17859. attacker to crash hidden services, or crash clients visiting hidden
  17860. services. Hidden services should upgrade as soon as possible; clients
  17861. should upgrade whenever packages become available.
  17862. This release also contains two simple improvements to make hidden
  17863. services a bit less vulnerable to denial-of-service attacks.
  17864. o Major bugfixes (security, hidden service):
  17865. - Fix an issue that would allow a malicious client to trigger an
  17866. assertion failure and halt a hidden service. Fixes bug 15600;
  17867. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  17868. - Fix a bug that could cause a client to crash with an assertion
  17869. failure when parsing a malformed hidden service descriptor. Fixes
  17870. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  17871. o Minor features (DoS-resistance, hidden service):
  17872. - Introduction points no longer allow multiple INTRODUCE1 cells to
  17873. arrive on the same circuit. This should make it more expensive for
  17874. attackers to overwhelm hidden services with introductions.
  17875. Resolves ticket 15515.
  17876. - Decrease the amount of reattempts that a hidden service performs
  17877. when its rendezvous circuits fail. This reduces the computational
  17878. cost for running a hidden service under heavy load. Resolves
  17879. ticket 11447.
  17880. Changes in version 0.2.6.6 - 2015-03-24
  17881. Tor 0.2.6.6 is the first stable release in the 0.2.6 series.
  17882. It adds numerous safety, security, correctness, and performance
  17883. improvements. Client programs can be configured to use more kinds of
  17884. sockets, AutomapHosts works better, the multithreading backend is
  17885. improved, cell transmission is refactored, test coverage is much
  17886. higher, more denial-of-service attacks are handled, guard selection is
  17887. improved to handle long-term guards better, pluggable transports
  17888. should work a bit better, and some annoying hidden service performance
  17889. bugs should be addressed.
  17890. o Minor bugfixes (portability):
  17891. - Use the correct datatype in the SipHash-2-4 function to prevent
  17892. compilers from assuming any sort of alignment. Fixes bug 15436;
  17893. bugfix on 0.2.5.3-alpha.
  17894. Changes in version 0.2.6.5-rc - 2015-03-18
  17895. Tor 0.2.6.5-rc is the second and (hopefully) last release candidate in
  17896. the 0.2.6. It fixes a small number of bugs found in 0.2.6.4-rc.
  17897. o Major bugfixes (client):
  17898. - Avoid crashing when making certain configuration option changes on
  17899. clients. Fixes bug 15245; bugfix on 0.2.6.3-alpha. Reported
  17900. by "anonym".
  17901. o Major bugfixes (pluggable transports):
  17902. - Initialize the extended OR Port authentication cookie before
  17903. launching pluggable transports. This prevents a race condition
  17904. that occurred when server-side pluggable transports would cache the
  17905. authentication cookie before it has been (re)generated. Fixes bug
  17906. 15240; bugfix on 0.2.5.1-alpha.
  17907. o Major bugfixes (portability):
  17908. - Do not crash on startup when running on Solaris. Fixes a bug
  17909. related to our fix for 9495; bugfix on 0.2.6.1-alpha. Reported
  17910. by "ruebezahl".
  17911. o Minor features (heartbeat):
  17912. - On relays, report how many connections we negotiated using each
  17913. version of the Tor link protocols. This information will let us
  17914. know if removing support for very old versions of the Tor
  17915. protocols is harming the network. Closes ticket 15212.
  17916. o Code simplification and refactoring:
  17917. - Refactor main loop to extract the 'loop' part. This makes it
  17918. easier to run Tor under Shadow. Closes ticket 15176.
  17919. Changes in version 0.2.5.11 - 2015-03-17
  17920. Tor 0.2.5.11 is the second stable release in the 0.2.5 series.
  17921. It backports several bugfixes from the 0.2.6 branch, including a
  17922. couple of medium-level security fixes for relays and exit nodes.
  17923. It also updates the list of directory authorities.
  17924. o Directory authority changes:
  17925. - Remove turtles as a directory authority.
  17926. - Add longclaw as a new (v3) directory authority. This implements
  17927. ticket 13296. This keeps the directory authority count at 9.
  17928. - The directory authority Faravahar has a new IP address. This
  17929. closes ticket 14487.
  17930. o Major bugfixes (crash, OSX, security):
  17931. - Fix a remote denial-of-service opportunity caused by a bug in
  17932. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  17933. in OSX 10.9.
  17934. o Major bugfixes (relay, stability, possible security):
  17935. - Fix a bug that could lead to a relay crashing with an assertion
  17936. failure if a buffer of exactly the wrong layout was passed to
  17937. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  17938. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  17939. - Do not assert if the 'data' pointer on a buffer is advanced to the
  17940. very end of the buffer; log a BUG message instead. Only assert if
  17941. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  17942. o Major bugfixes (exit node stability):
  17943. - Fix an assertion failure that could occur under high DNS load.
  17944. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  17945. diagnosed and fixed by "cypherpunks".
  17946. o Major bugfixes (Linux seccomp2 sandbox):
  17947. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  17948. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  17949. 0.2.5.1-alpha. Patch from "sanic".
  17950. o Minor features (controller):
  17951. - New "GETINFO bw-event-cache" to get information about recent
  17952. bandwidth events. Closes ticket 14128. Useful for controllers to
  17953. get recent bandwidth history after the fix for ticket 13988.
  17954. o Minor features (geoip):
  17955. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  17956. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  17957. Country database.
  17958. o Minor bugfixes (client, automapping):
  17959. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  17960. no value follows the option. Fixes bug 14142; bugfix on
  17961. 0.2.4.7-alpha. Patch by "teor".
  17962. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  17963. 14195; bugfix on 0.1.0.1-rc.
  17964. o Minor bugfixes (compilation):
  17965. - Build without warnings with the stock OpenSSL srtp.h header, which
  17966. has a duplicate declaration of SSL_get_selected_srtp_profile().
  17967. Fixes bug 14220; this is OpenSSL's bug, not ours.
  17968. o Minor bugfixes (directory authority):
  17969. - Allow directory authorities to fetch more data from one another if
  17970. they find themselves missing lots of votes. Previously, they had
  17971. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  17972. bugfix on 0.1.2.5-alpha.
  17973. - Enlarge the buffer to read bwauth generated files to avoid an
  17974. issue when parsing the file in dirserv_read_measured_bandwidths().
  17975. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  17976. o Minor bugfixes (statistics):
  17977. - Increase period over which bandwidth observations are aggregated
  17978. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  17979. o Minor bugfixes (preventative security, C safety):
  17980. - When reading a hexadecimal, base-32, or base-64 encoded value from
  17981. a string, always overwrite the whole output buffer. This prevents
  17982. some bugs where we would look at (but fortunately, not reveal)
  17983. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  17984. versions of Tor.
  17985. Changes in version 0.2.4.26 - 2015-03-17
  17986. Tor 0.2.4.26 includes an updated list of directory authorities. It
  17987. also backports a couple of stability and security bugfixes from 0.2.5
  17988. and beyond.
  17989. o Directory authority changes:
  17990. - Remove turtles as a directory authority.
  17991. - Add longclaw as a new (v3) directory authority. This implements
  17992. ticket 13296. This keeps the directory authority count at 9.
  17993. - The directory authority Faravahar has a new IP address. This
  17994. closes ticket 14487.
  17995. o Major bugfixes (exit node stability, also in 0.2.6.3-alpha):
  17996. - Fix an assertion failure that could occur under high DNS load.
  17997. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  17998. diagnosed and fixed by "cypherpunks".
  17999. o Major bugfixes (relay, stability, possible security, also in 0.2.6.4-rc):
  18000. - Fix a bug that could lead to a relay crashing with an assertion
  18001. failure if a buffer of exactly the wrong layout was passed to
  18002. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  18003. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  18004. - Do not assert if the 'data' pointer on a buffer is advanced to the
  18005. very end of the buffer; log a BUG message instead. Only assert if
  18006. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  18007. o Minor features (geoip):
  18008. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  18009. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  18010. Country database.
  18011. Changes in version 0.2.6.4-rc - 2015-03-09
  18012. Tor 0.2.6.4-alpha fixes an issue in the directory code that an
  18013. attacker might be able to use in order to crash certain Tor
  18014. directories. It also resolves some minor issues left over from, or
  18015. introduced in, Tor 0.2.6.3-alpha or earlier.
  18016. o Major bugfixes (crash, OSX, security):
  18017. - Fix a remote denial-of-service opportunity caused by a bug in
  18018. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  18019. in OSX 10.9.
  18020. o Major bugfixes (relay, stability, possible security):
  18021. - Fix a bug that could lead to a relay crashing with an assertion
  18022. failure if a buffer of exactly the wrong layout is passed to
  18023. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  18024. 0.2.0.10-alpha. Patch from "cypherpunks".
  18025. - Do not assert if the 'data' pointer on a buffer is advanced to the
  18026. very end of the buffer; log a BUG message instead. Only assert if
  18027. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  18028. o Major bugfixes (FreeBSD IPFW transparent proxy):
  18029. - Fix address detection with FreeBSD transparent proxies, when
  18030. "TransProxyType ipfw" is in use. Fixes bug 15064; bugfix
  18031. on 0.2.5.4-alpha.
  18032. o Major bugfixes (Linux seccomp2 sandbox):
  18033. - Pass IPPROTO_TCP rather than 0 to socket(), so that the Linux
  18034. seccomp2 sandbox doesn't fail. Fixes bug 14989; bugfix
  18035. on 0.2.6.3-alpha.
  18036. - Allow AF_UNIX hidden services to be used with the seccomp2
  18037. sandbox. Fixes bug 15003; bugfix on 0.2.6.3-alpha.
  18038. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  18039. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  18040. 0.2.5.1-alpha. Patch from "sanic".
  18041. o Minor features (controller):
  18042. - Messages about problems in the bootstrap process now include
  18043. information about the server we were trying to connect to when we
  18044. noticed the problem. Closes ticket 15006.
  18045. o Minor features (geoip):
  18046. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  18047. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  18048. Country database.
  18049. o Minor features (logs):
  18050. - Quiet some log messages in the heartbeat and at startup. Closes
  18051. ticket 14950.
  18052. o Minor bugfixes (certificate handling):
  18053. - If an authority operator accidentally makes a signing certificate
  18054. with a future publication time, do not discard its real signing
  18055. certificates. Fixes bug 11457; bugfix on 0.2.0.3-alpha.
  18056. - Remove any old authority certificates that have been superseded
  18057. for at least two days. Previously, we would keep superseded
  18058. certificates until they expired, if they were published close in
  18059. time to the certificate that superseded them. Fixes bug 11454;
  18060. bugfix on 0.2.1.8-alpha.
  18061. o Minor bugfixes (compilation):
  18062. - Fix a compilation warning on s390. Fixes bug 14988; bugfix
  18063. on 0.2.5.2-alpha.
  18064. - Fix a compilation warning on FreeBSD. Fixes bug 15151; bugfix
  18065. on 0.2.6.2-alpha.
  18066. o Minor bugfixes (testing):
  18067. - Fix endianness issues in unit test for resolve_my_address() to
  18068. have it pass on big endian systems. Fixes bug 14980; bugfix on
  18069. Tor 0.2.6.3-alpha.
  18070. - Avoid a side-effect in a tor_assert() in the unit tests. Fixes bug
  18071. 15188; bugfix on 0.1.2.3-alpha. Patch from Tom van der Woerdt.
  18072. - When running the new 'make test-stem' target, use the configured
  18073. python binary. Fixes bug 15037; bugfix on 0.2.6.3-alpha. Patch
  18074. from "cypherpunks".
  18075. - When running the zero-length-keys tests, do not use the default
  18076. torrc file. Fixes bug 15033; bugfix on 0.2.6.3-alpha. Reported
  18077. by "reezer".
  18078. o Directory authority IP change:
  18079. - The directory authority Faravahar has a new IP address. This
  18080. closes ticket 14487.
  18081. o Removed code:
  18082. - Remove some lingering dead code that once supported mempools.
  18083. Mempools were disabled by default in 0.2.5, and removed entirely
  18084. in 0.2.6.3-alpha. Closes more of ticket 14848; patch
  18085. by "cypherpunks".
  18086. Changes in version 0.2.6.3-alpha - 2015-02-19
  18087. Tor 0.2.6.3-alpha is the third (and hopefully final) alpha release in
  18088. the 0.2.6.x series. It introduces support for more kinds of sockets,
  18089. makes it harder to accidentally run an exit, improves our
  18090. multithreading backend, incorporates several fixes for the
  18091. AutomapHostsOnResolve option, and fixes numerous other bugs besides.
  18092. If no major regressions or security holes are found in this version,
  18093. the next version will be a release candidate.
  18094. o Deprecated versions:
  18095. - Tor relays older than 0.2.4.18-rc are no longer allowed to
  18096. advertise themselves on the network. Closes ticket 13555.
  18097. o Major features (security, unix domain sockets):
  18098. - Allow SocksPort to be an AF_UNIX Unix Domain Socket. Now high risk
  18099. applications can reach Tor without having to create AF_INET or
  18100. AF_INET6 sockets, meaning they can completely disable their
  18101. ability to make non-Tor network connections. To create a socket of
  18102. this type, use "SocksPort unix:/path/to/socket". Implements
  18103. ticket 12585.
  18104. - Support mapping hidden service virtual ports to AF_UNIX sockets.
  18105. The syntax is "HiddenServicePort 80 unix:/path/to/socket".
  18106. Implements ticket 11485.
  18107. o Major features (changed defaults):
  18108. - Prevent relay operators from unintentionally running exits: When a
  18109. relay is configured as an exit node, we now warn the user unless
  18110. the "ExitRelay" option is set to 1. We warn even more loudly if
  18111. the relay is configured with the default exit policy, since this
  18112. can indicate accidental misconfiguration. Setting "ExitRelay 0"
  18113. stops Tor from running as an exit relay. Closes ticket 10067.
  18114. o Major features (directory system):
  18115. - When downloading server- or microdescriptors from a directory
  18116. server, we no longer launch multiple simultaneous requests to the
  18117. same server. This reduces load on the directory servers,
  18118. especially when directory guards are in use. Closes ticket 9969.
  18119. - When downloading server- or microdescriptors over a tunneled
  18120. connection, do not limit the length of our requests to what the
  18121. Squid proxy is willing to handle. Part of ticket 9969.
  18122. - Authorities can now vote on the correct digests and latest
  18123. versions for different software packages. This allows packages
  18124. that include Tor to use the Tor authority system as a way to get
  18125. notified of updates and their correct digests. Implements proposal
  18126. 227. Closes ticket 10395.
  18127. o Major features (guards):
  18128. - Introduce the Guardfraction feature to improves load balancing on
  18129. guard nodes. Specifically, it aims to reduce the traffic gap that
  18130. guard nodes experience when they first get the Guard flag. This is
  18131. a required step if we want to increase the guard lifetime to 9
  18132. months or greater. Closes ticket 9321.
  18133. o Major features (performance):
  18134. - Make the CPU worker implementation more efficient by avoiding the
  18135. kernel and lengthening pipelines. The original implementation used
  18136. sockets to transfer data from the main thread to the workers, and
  18137. didn't allow any thread to be assigned more than a single piece of
  18138. work at once. The new implementation avoids communications
  18139. overhead by making requests in shared memory, avoiding kernel IO
  18140. where possible, and keeping more requests in flight at once.
  18141. Implements ticket 9682.
  18142. o Major features (relay):
  18143. - Raise the minimum acceptable configured bandwidth rate for bridges
  18144. to 50 KiB/sec and for relays to 75 KiB/sec. (The old values were
  18145. 20 KiB/sec.) Closes ticket 13822.
  18146. o Major bugfixes (exit node stability):
  18147. - Fix an assertion failure that could occur under high DNS load.
  18148. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  18149. diagnosed and fixed by "cypherpunks".
  18150. o Major bugfixes (mixed relay-client operation):
  18151. - When running as a relay and client at the same time (not
  18152. recommended), if we decide not to use a new guard because we want
  18153. to retry older guards, only close the locally-originating circuits
  18154. passing through that guard. Previously we would close all the
  18155. circuits through that guard. Fixes bug 9819; bugfix on
  18156. 0.2.1.1-alpha. Reported by "skruffy".
  18157. o Minor features (build):
  18158. - New --disable-system-torrc compile-time option to prevent Tor from
  18159. looking for the system-wide torrc or torrc-defaults files.
  18160. Resolves ticket 13037.
  18161. o Minor features (controller):
  18162. - Include SOCKS_USERNAME and SOCKS_PASSWORD values in controller
  18163. events so controllers can observe circuit isolation inputs. Closes
  18164. ticket 8405.
  18165. - ControlPort now supports the unix:/path/to/socket syntax as an
  18166. alternative to the ControlSocket option, for consistency with
  18167. SocksPort and HiddenServicePort. Closes ticket 14451.
  18168. - New "GETINFO bw-event-cache" to get information about recent
  18169. bandwidth events. Closes ticket 14128. Useful for controllers to
  18170. get recent bandwidth history after the fix for ticket 13988.
  18171. o Minor features (Denial of service resistance):
  18172. - Count the total number of bytes used storing hidden service
  18173. descriptors against the value of MaxMemInQueues. If we're low on
  18174. memory, and more than 20% of our memory is used holding hidden
  18175. service descriptors, free them until no more than 10% of our
  18176. memory holds hidden service descriptors. Free the least recently
  18177. fetched descriptors first. Resolves ticket 13806.
  18178. - When we have recently been under memory pressure (over 3/4 of
  18179. MaxMemInQueues is allocated), then allocate smaller zlib objects
  18180. for small requests. Closes ticket 11791.
  18181. o Minor features (geoip):
  18182. - Update geoip and geoip6 files to the January 7 2015 Maxmind
  18183. GeoLite2 Country database.
  18184. o Minor features (guard nodes):
  18185. - Reduce the time delay before saving guard status to disk from 10
  18186. minutes to 30 seconds (or from one hour to 10 minutes if
  18187. AvoidDiskWrites is set). Closes ticket 12485.
  18188. o Minor features (hidden service):
  18189. - Make Sybil attacks against hidden services harder by changing the
  18190. minimum time required to get the HSDir flag from 25 hours up to 96
  18191. hours. Addresses ticket 14149.
  18192. - New option "HiddenServiceAllowUnknownPorts" to allow hidden
  18193. services to disable the anti-scanning feature introduced in
  18194. 0.2.6.2-alpha. With this option not set, a connection to an
  18195. unlisted port closes the circuit. With this option set, only a
  18196. RELAY_DONE cell is sent. Closes ticket 14084.
  18197. o Minor features (interface):
  18198. - Implement "-f -" command-line option to read torrc configuration
  18199. from standard input, if you don't want to store the torrc file in
  18200. the file system. Implements feature 13865.
  18201. o Minor features (logging):
  18202. - Add a count of unique clients to the bridge heartbeat message.
  18203. Resolves ticket 6852.
  18204. - Suppress "router info incompatible with extra info" message when
  18205. reading extrainfo documents from cache. (This message got loud
  18206. around when we closed bug 9812 in 0.2.6.2-alpha.) Closes
  18207. ticket 13762.
  18208. - Elevate hidden service authorized-client message from DEBUG to
  18209. INFO. Closes ticket 14015.
  18210. o Minor features (stability):
  18211. - Add assertions in our hash-table iteration code to check for
  18212. corrupted values that could cause infinite loops. Closes
  18213. ticket 11737.
  18214. o Minor features (systemd):
  18215. - Various improvements and modernizations in systemd hardening
  18216. support. Closes ticket 13805. Patch from Craig Andrews.
  18217. o Minor features (testing networks):
  18218. - Drop the minimum RendPostPeriod on a testing network to 5 seconds,
  18219. and the default on a testing network to 2 minutes. Drop the
  18220. MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but
  18221. keep the default on a testing network at 30 seconds. This reduces
  18222. HS bootstrap time to around 25 seconds. Also, change the default
  18223. time in test-network.sh to match. Closes ticket 13401. Patch
  18224. by "teor".
  18225. - Create TestingDirAuthVoteHSDir to correspond to
  18226. TestingDirAuthVoteExit/Guard. Ensures that authorities vote the
  18227. HSDir flag for the listed relays regardless of uptime or ORPort
  18228. connectivity. Respects the value of VoteOnHidServDirectoriesV2.
  18229. Partial implementation for ticket 14067. Patch by "teor".
  18230. o Minor features (tor2web mode):
  18231. - Introduce the config option Tor2webRendezvousPoints, which allows
  18232. clients in Tor2webMode to select a specific Rendezvous Point to be
  18233. used in HS circuits. This might allow better performance for
  18234. Tor2Web nodes. Implements ticket 12844.
  18235. o Minor bugfixes (client DNS):
  18236. - Report the correct cached DNS expiration times on SOCKS port or in
  18237. DNS replies. Previously, we would report everything as "never
  18238. expires." Fixes bug 14193; bugfix on 0.2.3.17-beta.
  18239. - Avoid a small memory leak when we find a cached answer for a
  18240. reverse DNS lookup in a client-side DNS cache. (Remember, client-
  18241. side DNS caching is off by default, and is not recommended.) Fixes
  18242. bug 14259; bugfix on 0.2.0.1-alpha.
  18243. o Minor bugfixes (client, automapping):
  18244. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  18245. no value follows the option. Fixes bug 14142; bugfix on
  18246. 0.2.4.7-alpha. Patch by "teor".
  18247. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  18248. 14195; bugfix on 0.1.0.1-rc.
  18249. - Prevent changes to other options from removing the wildcard value
  18250. "." from "AutomapHostsSuffixes". Fixes bug 12509; bugfix
  18251. on 0.2.0.1-alpha.
  18252. - Allow MapAddress and AutomapHostsOnResolve to work together when
  18253. an address is mapped into another address type (like .onion) that
  18254. must be automapped at resolve time. Fixes bug 7555; bugfix
  18255. on 0.2.0.1-alpha.
  18256. o Minor bugfixes (client, bridges):
  18257. - When we are using bridges and we had a network connectivity
  18258. problem, only retry connecting to our currently configured
  18259. bridges, not all bridges we know about and remember using. Fixes
  18260. bug 14216; bugfix on 0.2.2.17-alpha.
  18261. o Minor bugfixes (client, IPv6):
  18262. - Reject socks requests to literal IPv6 addresses when IPv6Traffic
  18263. flag is not set; and not because the NoIPv4Traffic flag was set.
  18264. Previously we'd looked at the NoIPv4Traffic flag for both types of
  18265. literal addresses. Fixes bug 14280; bugfix on 0.2.4.7-alpha.
  18266. o Minor bugfixes (compilation):
  18267. - The address of an array in the middle of a structure will always
  18268. be non-NULL. clang recognises this and complains. Disable the
  18269. tautologous and redundant check to silence this warning. Fixes bug
  18270. 14001; bugfix on 0.2.1.2-alpha.
  18271. - Avoid warnings when building with systemd 209 or later. Fixes bug
  18272. 14072; bugfix on 0.2.6.2-alpha. Patch from "h.venev".
  18273. - Compile correctly with (unreleased) OpenSSL 1.1.0 headers.
  18274. Addresses ticket 14188.
  18275. - Build without warnings with the stock OpenSSL srtp.h header, which
  18276. has a duplicate declaration of SSL_get_selected_srtp_profile().
  18277. Fixes bug 14220; this is OpenSSL's bug, not ours.
  18278. - Do not compile any code related to Tor2Web mode when Tor2Web mode
  18279. is not enabled at compile time. Previously, this code was included
  18280. in a disabled state. See discussion on ticket 12844.
  18281. - Remove the --disable-threads configure option again. It was
  18282. accidentally partially reintroduced in 29ac883606d6d. Fixes bug
  18283. 14819; bugfix on 0.2.6.2-alpha.
  18284. o Minor bugfixes (controller):
  18285. - Report "down" in response to the "GETINFO entry-guards" command
  18286. when relays are down with an unreachable_since value. Previously,
  18287. we would report "up". Fixes bug 14184; bugfix on 0.1.2.2-alpha.
  18288. - Avoid crashing on a malformed EXTENDCIRCUIT command. Fixes bug
  18289. 14116; bugfix on 0.2.2.9-alpha.
  18290. - Add a code for the END_CIRC_REASON_IP_NOW_REDUNDANT circuit close
  18291. reason. Fixes bug 14207; bugfix on 0.2.6.2-alpha.
  18292. o Minor bugfixes (directory authority):
  18293. - Allow directory authorities to fetch more data from one another if
  18294. they find themselves missing lots of votes. Previously, they had
  18295. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  18296. bugfix on 0.1.2.5-alpha.
  18297. - Do not attempt to download extrainfo documents which we will be
  18298. unable to validate with a matching server descriptor. Fixes bug
  18299. 13762; bugfix on 0.2.0.1-alpha.
  18300. - Fix a bug that was truncating AUTHDIR_NEWDESC events sent to the
  18301. control port. Fixes bug 14953; bugfix on 0.2.0.1-alpha.
  18302. - Enlarge the buffer to read bwauth generated files to avoid an
  18303. issue when parsing the file in dirserv_read_measured_bandwidths().
  18304. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  18305. o Minor bugfixes (file handling):
  18306. - Stop failing when key files are zero-length. Instead, generate new
  18307. keys, and overwrite the empty key files. Fixes bug 13111; bugfix
  18308. on all versions of Tor. Patch by "teor".
  18309. - Stop generating a fresh .old RSA onion key file when the .old file
  18310. is missing. Fixes part of 13111; bugfix on 0.0.6rc1.
  18311. - Avoid overwriting .old key files with empty key files.
  18312. - Skip loading zero-length extrainfo store, router store, stats,
  18313. state, and key files.
  18314. - Avoid crashing when trying to reload a torrc specified as a
  18315. relative path with RunAsDaemon turned on. Fixes bug 13397; bugfix
  18316. on 0.2.3.11-alpha.
  18317. o Minor bugfixes (hidden services):
  18318. - Close the introduction circuit when we have no more usable intro
  18319. points, instead of waiting for it to time out. This also ensures
  18320. that no follow-up HS descriptor fetch is triggered when the
  18321. circuit eventually times out. Fixes bug 14224; bugfix on 0.0.6.
  18322. - When fetching a hidden service descriptor for a down service that
  18323. was recently up, do not keep refetching until we try the same
  18324. replica twice in a row. Fixes bug 14219; bugfix on 0.2.0.10-alpha.
  18325. - Successfully launch Tor with a nonexistent hidden service
  18326. directory. Our fix for bug 13942 didn't catch this case. Fixes bug
  18327. 14106; bugfix on 0.2.6.2-alpha.
  18328. o Minor bugfixes (logging):
  18329. - Avoid crashing when there are more log domains than entries in
  18330. domain_list. Bugfix on 0.2.3.1-alpha.
  18331. - Add a string representation for LD_SCHED. Fixes bug 14740; bugfix
  18332. on 0.2.6.1-alpha.
  18333. - Don't log messages to stdout twice when starting up. Fixes bug
  18334. 13993; bugfix on 0.2.6.1-alpha.
  18335. o Minor bugfixes (parsing):
  18336. - Stop accepting milliseconds (or other junk) at the end of
  18337. descriptor publication times. Fixes bug 9286; bugfix on 0.0.2pre25.
  18338. - Support two-number and three-number version numbers correctly, in
  18339. case we change the Tor versioning system in the future. Fixes bug
  18340. 13661; bugfix on 0.0.8pre1.
  18341. o Minor bugfixes (path counting):
  18342. - When deciding whether the consensus lists any exit nodes, count
  18343. the number listed in the consensus, not the number we have
  18344. descriptors for. Fixes part of bug 14918; bugfix on 0.2.6.2-alpha.
  18345. - When deciding whether we have any exit nodes, only examine
  18346. ExitNodes when the ExitNodes option is actually set. Fixes part of
  18347. bug 14918; bugfix on 0.2.6.2-alpha.
  18348. - Get rid of redundant and possibly scary warnings that we are
  18349. missing directory information while we bootstrap. Fixes part of
  18350. bug 14918; bugfix on 0.2.6.2-alpha.
  18351. o Minor bugfixes (portability):
  18352. - Fix the ioctl()-based network interface lookup code so that it
  18353. will work on systems that have variable-length struct ifreq, for
  18354. example Mac OS X.
  18355. - Fix scheduler compilation on targets where char is unsigned. Fixes
  18356. bug 14764; bugfix on 0.2.6.2-alpha. Reported by Christian Kujau.
  18357. o Minor bugfixes (sandbox):
  18358. - Allow glibc fatal errors to be sent to stderr before Tor exits.
  18359. Previously, glibc would try to write them to /dev/tty, and the
  18360. sandbox would trap the call and make Tor exit prematurely. Fixes
  18361. bug 14759; bugfix on 0.2.5.1-alpha.
  18362. o Minor bugfixes (shutdown):
  18363. - When shutting down, always call event_del() on lingering read or
  18364. write events before freeing them. Otherwise, we risk double-frees
  18365. or read-after-frees in event_base_free(). Fixes bug 12985; bugfix
  18366. on 0.1.0.2-rc.
  18367. o Minor bugfixes (small memory leaks):
  18368. - Avoid leaking memory when using IPv6 virtual address mappings.
  18369. Fixes bug 14123; bugfix on 0.2.4.7-alpha. Patch by Tom van
  18370. der Woerdt.
  18371. o Minor bugfixes (statistics):
  18372. - Increase period over which bandwidth observations are aggregated
  18373. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  18374. o Minor bugfixes (systemd support):
  18375. - Fix detection and operation of systemd watchdog. Fixes part of bug
  18376. 14141; bugfix on 0.2.6.2-alpha. Patch from Tomasz Torcz.
  18377. - Run correctly under systemd with the RunAsDaemon option set. Fixes
  18378. part of bug 14141; bugfix on 0.2.5.7-rc. Patch from Tomasz Torcz.
  18379. - Inform the systemd supervisor about more changes in the Tor
  18380. process status. Implements part of ticket 14141. Patch from
  18381. Tomasz Torcz.
  18382. - Cause the "--disable-systemd" option to actually disable systemd
  18383. support. Fixes bug 14350; bugfix on 0.2.6.2-alpha. Patch
  18384. from "blueness".
  18385. o Minor bugfixes (TLS):
  18386. - Check more thoroughly throughout the TLS code for possible
  18387. unlogged TLS errors. Possible diagnostic or fix for bug 13319.
  18388. o Minor bugfixes (transparent proxy):
  18389. - Use getsockname, not getsockopt, to retrieve the address for a
  18390. TPROXY-redirected connection. Fixes bug 13796; bugfix
  18391. on 0.2.5.2-alpha.
  18392. o Code simplification and refactoring:
  18393. - Move fields related to isolating and configuring client ports into
  18394. a shared structure. Previously, they were duplicated across
  18395. port_cfg_t, listener_connection_t, and edge_connection_t. Failure
  18396. to copy them correctly had been the cause of at least one bug in
  18397. the past. Closes ticket 8546.
  18398. - Refactor the get_interface_addresses_raw() doom-function into
  18399. multiple smaller and simpler subfunctions. Cover the resulting
  18400. subfunctions with unit-tests. Fixes a significant portion of
  18401. issue 12376.
  18402. - Remove workaround in dirserv_thinks_router_is_hs_dir() that was
  18403. only for version <= 0.2.2.24 which is now deprecated. Closes
  18404. ticket 14202.
  18405. - Remove a test for a long-defunct broken version-one
  18406. directory server.
  18407. o Documentation:
  18408. - Adding section on OpenBSD to our TUNING document. Thanks to mmcc
  18409. for writing the OpenBSD-specific tips. Resolves ticket 13702.
  18410. - Make the tor-resolve documentation match its help string and its
  18411. options. Resolves part of ticket 14325.
  18412. - Log a more useful error message from tor-resolve when failing to
  18413. look up a hidden service address. Resolves part of ticket 14325.
  18414. o Downgraded warnings:
  18415. - Don't warn when we've attempted to contact a relay using the wrong
  18416. ntor onion key. Closes ticket 9635.
  18417. o Removed features:
  18418. - To avoid confusion with the "ExitRelay" option, "ExitNode" is no
  18419. longer silently accepted as an alias for "ExitNodes".
  18420. - The --enable-mempool and --enable-buf-freelists options, which
  18421. were originally created to work around bad malloc implementations,
  18422. no longer exist. They were off-by-default in 0.2.5. Closes
  18423. ticket 14848.
  18424. o Testing:
  18425. - Make the checkdir/perms test complete successfully even if the
  18426. global umask is not 022. Fixes bug 14215; bugfix on 0.2.6.2-alpha.
  18427. - Test that tor does not fail when key files are zero-length. Check
  18428. that tor generates new keys, and overwrites the empty key files.
  18429. - Test that tor generates new keys when keys are missing
  18430. (existing behavior).
  18431. - Test that tor does not overwrite key files that already contain
  18432. data (existing behavior). Tests bug 13111. Patch by "teor".
  18433. - New "make test-stem" target to run stem integration tests.
  18434. Requires that the "STEM_SOURCE_DIR" environment variable be set.
  18435. Closes ticket 14107.
  18436. - Make the test_cmdline_args.py script work correctly on Windows.
  18437. Patch from Gisle Vanem.
  18438. - Move the slower unit tests into a new "./src/test/test-slow"
  18439. binary that can be run independently of the other tests. Closes
  18440. ticket 13243.
  18441. - Avoid undefined behavior when sampling huge values from the
  18442. Laplace distribution. This made unittests fail on Raspberry Pi.
  18443. Bug found by Device. Fixes bug 14090; bugfix on 0.2.6.2-alpha.
  18444. Changes in version 0.2.6.2-alpha - 2014-12-31
  18445. Tor 0.2.6.2-alpha is the second alpha release in the 0.2.6.x series.
  18446. It introduces a major new backend for deciding when to send cells on
  18447. channels, which should lead down the road to big performance
  18448. increases. It contains security and statistics features for better
  18449. work on hidden services, and numerous bugfixes.
  18450. This release contains many new unit tests, along with major
  18451. performance improvements for running testing networks using Chutney.
  18452. Thanks to a series of patches contributed by "teor", testing networks
  18453. should now bootstrap in seconds, rather than minutes.
  18454. o Major features (relay, infrastructure):
  18455. - Complete revision of the code that relays use to decide which cell
  18456. to send next. Formerly, we selected the best circuit to write on
  18457. each channel, but we didn't select among channels in any
  18458. sophisticated way. Now, we choose the best circuits globally from
  18459. among those whose channels are ready to deliver traffic.
  18460. This patch implements a new inter-cmux comparison API, a global
  18461. high/low watermark mechanism and a global scheduler loop for
  18462. transmission prioritization across all channels as well as among
  18463. circuits on one channel. This schedule is currently tuned to
  18464. (tolerantly) avoid making changes in network performance, but it
  18465. should form the basis for major circuit performance increases in
  18466. the future. Code by Andrea; tuning by Rob Jansen; implements
  18467. ticket 9262.
  18468. o Major features (hidden services):
  18469. - Make HS port scanning more difficult by immediately closing the
  18470. circuit when a user attempts to connect to a nonexistent port.
  18471. Closes ticket 13667.
  18472. - Add a HiddenServiceStatistics option that allows Tor relays to
  18473. gather and publish statistics about the overall size and volume of
  18474. hidden service usage. Specifically, when this option is turned on,
  18475. an HSDir will publish an approximate number of hidden services
  18476. that have published descriptors to it the past 24 hours. Also, if
  18477. a relay has acted as a hidden service rendezvous point, it will
  18478. publish the approximate amount of rendezvous cells it has relayed
  18479. the past 24 hours. The statistics themselves are obfuscated so
  18480. that the exact values cannot be derived. For more details see
  18481. proposal 238, "Better hidden service stats from Tor relays". This
  18482. feature is currently disabled by default. Implements feature 13192.
  18483. o Major bugfixes (client, automap):
  18484. - Repair automapping with IPv6 addresses. This automapping should
  18485. have worked previously, but one piece of debugging code that we
  18486. inserted to detect a regression actually caused the regression to
  18487. manifest itself again. Fixes bug 13811 and bug 12831; bugfix on
  18488. 0.2.4.7-alpha. Diagnosed and fixed by Francisco Blas
  18489. Izquierdo Riera.
  18490. o Major bugfixes (hidden services):
  18491. - When closing an introduction circuit that was opened in parallel
  18492. with others, don't mark the introduction point as unreachable.
  18493. Previously, the first successful connection to an introduction
  18494. point would make the other introduction points get marked as
  18495. having timed out. Fixes bug 13698; bugfix on 0.0.6rc2.
  18496. o Directory authority changes:
  18497. - Remove turtles as a directory authority.
  18498. - Add longclaw as a new (v3) directory authority. This implements
  18499. ticket 13296. This keeps the directory authority count at 9.
  18500. o Major removed features:
  18501. - Tor clients no longer support connecting to hidden services
  18502. running on Tor 0.2.2.x and earlier; the Support022HiddenServices
  18503. option has been removed. (There shouldn't be any hidden services
  18504. running these versions on the network.) Closes ticket 7803.
  18505. o Minor features (client):
  18506. - Validate hostnames in SOCKS5 requests more strictly. If SafeSocks
  18507. is enabled, reject requests with IP addresses as hostnames.
  18508. Resolves ticket 13315.
  18509. o Minor features (controller):
  18510. - Add a "SIGNAL HEARTBEAT" controller command that tells Tor to
  18511. write an unscheduled heartbeat message to the log. Implements
  18512. feature 9503.
  18513. o Minor features (geoip):
  18514. - Update geoip and geoip6 to the November 15 2014 Maxmind GeoLite2
  18515. Country database.
  18516. o Minor features (hidden services):
  18517. - When re-enabling the network, don't try to build introduction
  18518. circuits until we have successfully built a circuit. This makes
  18519. hidden services come up faster when the network is re-enabled.
  18520. Patch from "akwizgran". Closes ticket 13447.
  18521. - When we fail to retrieve a hidden service descriptor, send the
  18522. controller an "HS_DESC FAILED" controller event. Implements
  18523. feature 13212.
  18524. - New HiddenServiceDirGroupReadable option to cause hidden service
  18525. directories and hostname files to be created group-readable. Patch
  18526. from "anon", David Stainton, and "meejah". Closes ticket 11291.
  18527. o Minor features (systemd):
  18528. - Where supported, when running with systemd, report successful
  18529. startup to systemd. Part of ticket 11016. Patch by Michael Scherer.
  18530. - When running with systemd, support systemd watchdog messages. Part
  18531. of ticket 11016. Patch by Michael Scherer.
  18532. o Minor features (transparent proxy):
  18533. - Update the transparent proxy option checks to allow for both ipfw
  18534. and pf on OS X. Closes ticket 14002.
  18535. - Use the correct option when using IPv6 with transparent proxy
  18536. support on Linux. Resolves 13808. Patch by Francisco Blas
  18537. Izquierdo Riera.
  18538. o Minor bugfixes (preventative security, C safety):
  18539. - When reading a hexadecimal, base-32, or base-64 encoded value from
  18540. a string, always overwrite the whole output buffer. This prevents
  18541. some bugs where we would look at (but fortunately, not reveal)
  18542. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  18543. versions of Tor.
  18544. - Clear all memory targeted by tor_addr_{to,from}_sockaddr(), not
  18545. just the part that's used. This makes it harder for data leak bugs
  18546. to occur in the event of other programming failures. Resolves
  18547. ticket 14041.
  18548. o Minor bugfixes (client, microdescriptors):
  18549. - Use a full 256 bits of the SHA256 digest of a microdescriptor when
  18550. computing which microdescriptors to download. This keeps us from
  18551. erroneous download behavior if two microdescriptor digests ever
  18552. have the same first 160 bits. Fixes part of bug 13399; bugfix
  18553. on 0.2.3.1-alpha.
  18554. - Reset a router's status if its microdescriptor digest changes,
  18555. even if the first 160 bits remain the same. Fixes part of bug
  18556. 13399; bugfix on 0.2.3.1-alpha.
  18557. o Minor bugfixes (compilation):
  18558. - Silence clang warnings under --enable-expensive-hardening,
  18559. including implicit truncation of 64 bit values to 32 bit, const
  18560. char assignment to self, tautological compare, and additional
  18561. parentheses around equality tests. Fixes bug 13577; bugfix
  18562. on 0.2.5.4-alpha.
  18563. - Fix a clang warning about checking whether an address in the
  18564. middle of a structure is NULL. Fixes bug 14001; bugfix
  18565. on 0.2.1.2-alpha.
  18566. o Minor bugfixes (hidden services):
  18567. - Correctly send a controller event when we find that a rendezvous
  18568. circuit has finished. Fixes bug 13936; bugfix on 0.1.1.5-alpha.
  18569. - Pre-check directory permissions for new hidden-services to avoid
  18570. at least one case of "Bug: Acting on config options left us in a
  18571. broken state. Dying." Fixes bug 13942; bugfix on 0.0.6pre1.
  18572. - When adding a new hidden service (for example, via SETCONF), Tor
  18573. no longer congratulates the user for running a relay. Fixes bug
  18574. 13941; bugfix on 0.2.6.1-alpha.
  18575. - When fetching hidden service descriptors, we now check not only
  18576. for whether we got the hidden service we had in mind, but also
  18577. whether we got the particular descriptors we wanted. This prevents
  18578. a class of inefficient but annoying DoS attacks by hidden service
  18579. directories. Fixes bug 13214; bugfix on 0.2.1.6-alpha. Reported
  18580. by "special".
  18581. o Minor bugfixes (Linux seccomp2 sandbox):
  18582. - Make transparent proxy support work along with the seccomp2
  18583. sandbox. Fixes part of bug 13808; bugfix on 0.2.5.1-alpha. Patch
  18584. by Francisco Blas Izquierdo Riera.
  18585. - Fix a memory leak in tor-resolve when running with the sandbox
  18586. enabled. Fixes bug 14050; bugfix on 0.2.5.9-rc.
  18587. o Minor bugfixes (logging):
  18588. - Downgrade warnings about RSA signature failures to info log level.
  18589. Emit a warning when an extra info document is found incompatible
  18590. with a corresponding router descriptor. Fixes bug 9812; bugfix
  18591. on 0.0.6rc3.
  18592. - Make connection_ap_handshake_attach_circuit() log the circuit ID
  18593. correctly. Fixes bug 13701; bugfix on 0.0.6.
  18594. o Minor bugfixes (misc):
  18595. - Stop allowing invalid address patterns like "*/24" that contain
  18596. both a wildcard address and a bit prefix length. This affects all
  18597. our address-range parsing code. Fixes bug 7484; bugfix
  18598. on 0.0.2pre14.
  18599. o Minor bugfixes (testing networks, fast startup):
  18600. - Allow Tor to build circuits using a consensus with no exits. If
  18601. the consensus has no exits (typical of a bootstrapping test
  18602. network), allow Tor to build circuits once enough descriptors have
  18603. been downloaded. This assists in bootstrapping a testing Tor
  18604. network. Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch
  18605. by "teor".
  18606. - When V3AuthVotingInterval is low, give a lower If-Modified-Since
  18607. header to directory servers. This allows us to obtain consensuses
  18608. promptly when the consensus interval is very short. This assists
  18609. in bootstrapping a testing Tor network. Fixes parts of bugs 13718
  18610. and 13963; bugfix on 0.2.0.3-alpha. Patch by "teor".
  18611. - Stop assuming that private addresses are local when checking
  18612. reachability in a TestingTorNetwork. Instead, when testing, assume
  18613. all OR connections are remote. (This is necessary due to many test
  18614. scenarios running all relays on localhost.) This assists in
  18615. bootstrapping a testing Tor network. Fixes bug 13924; bugfix on
  18616. 0.1.0.1-rc. Patch by "teor".
  18617. - Avoid building exit circuits from a consensus with no exits. Now
  18618. thanks to our fix for 13718, we accept a no-exit network as not
  18619. wholly lost, but we need to remember not to try to build exit
  18620. circuits on it. Closes ticket 13814; patch by "teor".
  18621. - Stop requiring exits to have non-zero bandwithcapacity in a
  18622. TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
  18623. ignore exit bandwidthcapacity. This assists in bootstrapping a
  18624. testing Tor network. Fixes parts of bugs 13718 and 13839; bugfix
  18625. on 0.2.0.3-alpha. Patch by "teor".
  18626. - Add "internal" to some bootstrap statuses when no exits are
  18627. available. If the consensus does not contain Exits, Tor will only
  18628. build internal circuits. In this case, relevant statuses will
  18629. contain the word "internal" as indicated in the Tor control-
  18630. spec.txt. When bootstrap completes, Tor will be ready to build
  18631. internal circuits. If a future consensus contains Exits, exit
  18632. circuits may become available. Fixes part of bug 13718; bugfix on
  18633. 0.2.4.10-alpha. Patch by "teor".
  18634. - Decrease minimum consensus interval to 10 seconds when
  18635. TestingTorNetwork is set, or 5 seconds for the first consensus.
  18636. Fix assumptions throughout the code that assume larger intervals.
  18637. Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha. Patch
  18638. by "teor".
  18639. - Avoid excluding guards from path building in minimal test
  18640. networks, when we're in a test network and excluding guards would
  18641. exclude all relays. This typically occurs in incredibly small tor
  18642. networks, and those using "TestingAuthVoteGuard *". Fixes part of
  18643. bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
  18644. o Code simplification and refactoring:
  18645. - Stop using can_complete_circuits as a global variable; access it
  18646. with a function instead.
  18647. - Avoid using operators directly as macro arguments: this lets us
  18648. apply coccinelle transformations to our codebase more directly.
  18649. Closes ticket 13172.
  18650. - Combine the functions used to parse ClientTransportPlugin and
  18651. ServerTransportPlugin into a single function. Closes ticket 6456.
  18652. - Add inline functions and convenience macros for inspecting channel
  18653. state. Refactor the code to use convenience macros instead of
  18654. checking channel state directly. Fixes issue 7356.
  18655. - Document all members of was_router_added_t and rename
  18656. ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN to make it less
  18657. confusable with ROUTER_WAS_TOO_OLD. Fixes issue 13644.
  18658. - In connection_exit_begin_conn(), use END_CIRC_REASON_TORPROTOCOL
  18659. constant instead of hardcoded value. Fixes issue 13840.
  18660. - Refactor our generic strmap and digestmap types into a single
  18661. implementation, so that we can add a new digest256map
  18662. type trivially.
  18663. o Documentation:
  18664. - Document the bridge-authority-only 'networkstatus-bridges' file.
  18665. Closes ticket 13713; patch from "tom".
  18666. - Fix typo in PredictedPortsRelevanceTime option description in
  18667. manpage. Resolves issue 13707.
  18668. - Stop suggesting that users specify relays by nickname: it isn't a
  18669. good idea. Also, properly cross-reference how to specify relays in
  18670. all parts of manual documenting options that take a list of
  18671. relays. Closes ticket 13381.
  18672. - Clarify the HiddenServiceDir option description in manpage to make
  18673. it clear that relative paths are taken with respect to the current
  18674. working directory. Also clarify that this behavior is not
  18675. guaranteed to remain indefinitely. Fixes issue 13913.
  18676. o Testing:
  18677. - New tests for many parts of channel, relay, and circuitmux
  18678. functionality. Code by Andrea; part of 9262.
  18679. - New tests for parse_transport_line(). Part of ticket 6456.
  18680. - In the unit tests, use chgrp() to change the group of the unit
  18681. test temporary directory to the current user, so that the sticky
  18682. bit doesn't interfere with tests that check directory groups.
  18683. Closes 13678.
  18684. - Add unit tests for resolve_my_addr(). Part of ticket 12376; patch
  18685. by 'rl1987'.
  18686. Changes in version 0.2.6.1-alpha - 2014-10-30
  18687. Tor 0.2.6.1-alpha is the first release in the Tor 0.2.6.x series. It
  18688. includes numerous code cleanups and new tests, and fixes a large
  18689. number of annoying bugs. Out-of-memory conditions are handled better
  18690. than in 0.2.5, pluggable transports have improved proxy support, and
  18691. clients now use optimistic data for contacting hidden services. Also,
  18692. we are now more robust to changes in what we consider a parseable
  18693. directory object, so that tightening restrictions does not have a risk
  18694. of introducing infinite download loops.
  18695. This is the first alpha release in a new series, so expect there to be
  18696. bugs. Users who would rather test out a more stable branch should stay
  18697. with 0.2.5.x for now.
  18698. o New compiler and system requirements:
  18699. - Tor 0.2.6.x requires that your compiler support more of the C99
  18700. language standard than before. The 'configure' script now detects
  18701. whether your compiler supports C99 mid-block declarations and
  18702. designated initializers. If it does not, Tor will not compile.
  18703. We may revisit this requirement if it turns out that a significant
  18704. number of people need to build Tor with compilers that don't
  18705. bother implementing a 15-year-old standard. Closes ticket 13233.
  18706. - Tor no longer supports systems without threading support. When we
  18707. began working on Tor, there were several systems that didn't have
  18708. threads, or where the thread support wasn't able to run the
  18709. threads of a single process on multiple CPUs. That no longer
  18710. holds: every system where Tor needs to run well now has threading
  18711. support. Resolves ticket 12439.
  18712. o Removed platform support:
  18713. - We no longer include special code to build on Windows CE; as far
  18714. as we know, nobody has used Tor on Windows CE in a very long time.
  18715. Closes ticket 11446.
  18716. o Major features (bridges):
  18717. - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
  18718. transports if they are configured via the "TOR_PT_PROXY"
  18719. environment variable. Implements proposal 232. Resolves
  18720. ticket 8402.
  18721. o Major features (client performance, hidden services):
  18722. - Allow clients to use optimistic data when connecting to a hidden
  18723. service, which should remove a round-trip from hidden service
  18724. initialization. See proposal 181 for details. Implements
  18725. ticket 13211.
  18726. o Major features (directory system):
  18727. - Upon receiving an unparseable directory object, if its digest
  18728. matches what we expected, then don't try to download it again.
  18729. Previously, when we got a descriptor we didn't like, we would keep
  18730. trying to download it over and over. Closes ticket 11243.
  18731. o Major features (sample torrc):
  18732. - Add a new, infrequently-changed "torrc.minimal". This file is
  18733. similar to torrc.sample, but it will change as infrequently as
  18734. possible, for the benefit of users whose systems prompt them for
  18735. intervention whenever a default configuration file is changed.
  18736. Making this change allows us to update torrc.sample to be a more
  18737. generally useful "sample torrc".
  18738. o Major bugfixes (directory authorities):
  18739. - Do not assign the HSDir flag to relays if they are not Valid, or
  18740. currently hibernating. Fixes 12573; bugfix on 0.2.0.10-alpha.
  18741. o Major bugfixes (directory bandwidth performance):
  18742. - Don't flush the zlib buffer aggressively when compressing
  18743. directory information for clients. This should save about 7% of
  18744. the bandwidth currently used for compressed descriptors and
  18745. microdescriptors. Fixes bug 11787; bugfix on 0.1.1.23.
  18746. o Minor features (security, memory wiping):
  18747. - Ensure we securely wipe keys from memory after
  18748. crypto_digest_get_digest and init_curve25519_keypair_from_file
  18749. have finished using them. Resolves ticket 13477.
  18750. o Minor features (security, out-of-memory handling):
  18751. - When handling an out-of-memory condition, allocate less memory for
  18752. temporary data structures. Fixes issue 10115.
  18753. - When handling an out-of-memory condition, consider more types of
  18754. buffers, including those on directory connections, and zlib
  18755. buffers. Resolves ticket 11792.
  18756. o Minor features:
  18757. - When identity keypair is generated for first time, log a
  18758. congratulatory message that links to the new relay lifecycle
  18759. document. Implements feature 10427.
  18760. o Minor features (client):
  18761. - Clients are now willing to send optimistic data (before they
  18762. receive a 'connected' cell) to relays of any version. (Relays
  18763. without support for optimistic data are no longer supported on the
  18764. Tor network.) Resolves ticket 13153.
  18765. o Minor features (directory authorities):
  18766. - Don't list relays with a bandwidth estimate of 0 in the consensus.
  18767. Implements a feature proposed during discussion of bug 13000.
  18768. - In tor-gencert, report an error if the user provides the same
  18769. argument more than once.
  18770. - If a directory authority can't find a best consensus method in the
  18771. votes that it holds, it now falls back to its favorite consensus
  18772. method. Previously, it fell back to method 1. Neither of these is
  18773. likely to get enough signatures, but "fall back to favorite"
  18774. doesn't require us to maintain support an obsolete consensus
  18775. method. Implements part of proposal 215.
  18776. o Minor features (logging):
  18777. - On Unix-like systems, you can now use named pipes as the target of
  18778. the Log option, and other options that try to append to files.
  18779. Closes ticket 12061. Patch from "carlo von lynX".
  18780. - When opening a log file at startup, send it every log message that
  18781. we generated between startup and opening it. Previously, log
  18782. messages that were generated before opening the log file were only
  18783. logged to stdout. Closes ticket 6938.
  18784. - Add a TruncateLogFile option to overwrite logs instead of
  18785. appending to them. Closes ticket 5583.
  18786. o Minor features (portability, Solaris):
  18787. - Threads are no longer disabled by default on Solaris; we believe
  18788. that the versions of Solaris with broken threading support are all
  18789. obsolete by now. Resolves ticket 9495.
  18790. o Minor features (relay):
  18791. - Re-check our address after we detect a changed IP address from
  18792. getsockname(). This ensures that the controller command "GETINFO
  18793. address" will report the correct value. Resolves ticket 11582.
  18794. Patch from "ra".
  18795. - A new AccountingRule option lets Relays set whether they'd like
  18796. AccountingMax to be applied separately to inbound and outbound
  18797. traffic, or applied to the sum of inbound and outbound traffic.
  18798. Resolves ticket 961. Patch by "chobe".
  18799. o Minor features (testing networks):
  18800. - Add the TestingDirAuthVoteExit option, which lists nodes to assign
  18801. the "Exit" flag regardless of their uptime, bandwidth, or exit
  18802. policy. TestingTorNetwork must be set for this option to have any
  18803. effect. Previously, authorities would take up to 35 minutes to
  18804. give nodes the Exit flag in a test network. Partially implements
  18805. ticket 13161.
  18806. o Minor features (validation):
  18807. - Check all date/time values passed to tor_timegm and
  18808. parse_rfc1123_time for validity, taking leap years into account.
  18809. Improves HTTP header validation. Implemented with bug 13476.
  18810. - In correct_tm(), limit the range of values returned by system
  18811. localtime(_r) and gmtime(_r) to be between the years 1 and 8099.
  18812. This means we don't have to deal with negative or too large dates,
  18813. even if a clock is wrong. Otherwise we might fail to read a file
  18814. written by us which includes such a date. Fixes bug 13476.
  18815. o Minor bugfixes (bridge clients):
  18816. - When configured to use a bridge without an identity digest (not
  18817. recommended), avoid launching an extra channel to it when
  18818. bootstrapping. Fixes bug 7733; bugfix on 0.2.4.4-alpha.
  18819. o Minor bugfixes (bridges):
  18820. - When DisableNetwork is set, do not launch pluggable transport
  18821. plugins, and if any are running, terminate them. Fixes bug 13213;
  18822. bugfix on 0.2.3.6-alpha.
  18823. o Minor bugfixes (C correctness):
  18824. - Fix several instances of possible integer overflow/underflow/NaN.
  18825. Fixes bug 13104; bugfix on 0.2.3.1-alpha and later. Patches
  18826. from "teor".
  18827. - In circuit_build_times_calculate_timeout() in circuitstats.c,
  18828. avoid dividing by zero in the pareto calculations. This traps
  18829. under clang's "undefined-trap" sanitizer. Fixes bug 13290; bugfix
  18830. on 0.2.2.2-alpha.
  18831. - Fix an integer overflow in format_time_interval(). Fixes bug
  18832. 13393; bugfix on 0.2.0.10-alpha.
  18833. - Set the correct day of year value when the system's localtime(_r)
  18834. or gmtime(_r) functions fail to set struct tm. Not externally
  18835. visible. Fixes bug 13476; bugfix on 0.0.2pre14.
  18836. - Avoid unlikely signed integer overflow in tor_timegm on systems
  18837. with 32-bit time_t. Fixes bug 13476; bugfix on 0.0.2pre14.
  18838. o Minor bugfixes (client):
  18839. - Fix smartlist_choose_node_by_bandwidth() so that relays with the
  18840. BadExit flag are not considered worthy candidates. Fixes bug
  18841. 13066; bugfix on 0.1.2.3-alpha.
  18842. - Use the consensus schedule for downloading consensuses, and not
  18843. the generic schedule. Fixes bug 11679; bugfix on 0.2.2.6-alpha.
  18844. - Handle unsupported or malformed SOCKS5 requests properly by
  18845. responding with the appropriate error message before closing the
  18846. connection. Fixes bugs 12971 and 13314; bugfix on 0.0.2pre13.
  18847. o Minor bugfixes (client, torrc):
  18848. - Stop modifying the value of our DirReqStatistics torrc option just
  18849. because we're not a bridge or relay. This bug was causing Tor
  18850. Browser users to write "DirReqStatistics 0" in their torrc files
  18851. as if they had chosen to change the config. Fixes bug 4244; bugfix
  18852. on 0.2.3.1-alpha.
  18853. - When GeoIPExcludeUnknown is enabled, do not incorrectly decide
  18854. that our options have changed every time we SIGHUP. Fixes bug
  18855. 9801; bugfix on 0.2.4.10-alpha. Patch from "qwerty1".
  18856. o Minor bugfixes (controller):
  18857. - Return an error when the second or later arguments of the
  18858. "setevents" controller command are invalid events. Previously we
  18859. would return success while silently skipping invalid events. Fixes
  18860. bug 13205; bugfix on 0.2.3.2-alpha. Reported by "fpxnns".
  18861. o Minor bugfixes (directory system):
  18862. - Always believe that v3 directory authorities serve extra-info
  18863. documents, whether they advertise "caches-extra-info" or not.
  18864. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  18865. - When running as a v3 directory authority, advertise that you serve
  18866. extra-info documents so that clients who want them can find them
  18867. from you too. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  18868. - Check the BRIDGE_DIRINFO flag bitwise rather than using equality.
  18869. Previously, directories offering BRIDGE_DIRINFO and some other
  18870. flag (i.e. microdescriptors or extrainfo) would be ignored when
  18871. looking for bridges. Partially fixes bug 13163; bugfix
  18872. on 0.2.0.7-alpha.
  18873. o Minor bugfixes (networking):
  18874. - Check for orconns and use connection_or_close_for_error() rather
  18875. than connection_mark_for_close() directly in the getsockopt()
  18876. failure case of connection_handle_write_impl(). Fixes bug 11302;
  18877. bugfix on 0.2.4.4-alpha.
  18878. o Minor bugfixes (relay):
  18879. - When generating our family list, remove spaces from around the
  18880. entries. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
  18881. - If our previous bandwidth estimate was 0 bytes, allow publishing a
  18882. new relay descriptor immediately. Fixes bug 13000; bugfix
  18883. on 0.1.1.6-alpha.
  18884. o Minor bugfixes (testing networks):
  18885. - Fix TestingDirAuthVoteGuard to properly give out Guard flags in a
  18886. testing network. Fixes bug 13064; bugfix on 0.2.5.2-alpha.
  18887. - Stop using the default authorities in networks which provide both
  18888. AlternateDirAuthority and AlternateBridgeAuthority. Partially
  18889. fixes bug 13163; bugfix on 0.2.0.13-alpha.
  18890. o Minor bugfixes (testing):
  18891. - Stop spawn test failures due to a race condition between the
  18892. SIGCHLD handler updating the process status, and the test reading
  18893. it. Fixes bug 13291; bugfix on 0.2.3.3-alpha.
  18894. o Minor bugfixes (testing, Windows):
  18895. - Avoid passing an extra backslash when creating a temporary
  18896. directory for running the unit tests on Windows. Fixes bug 12392;
  18897. bugfix on 0.2.2.25-alpha. Patch from Gisle Vanem.
  18898. o Minor bugfixes (windows):
  18899. - Remove code to special-case handling of NTE_BAD_KEYSET when
  18900. acquiring windows CryptoAPI context. This error can't actually
  18901. occur for the parameters we're providing. Fixes bug 10816; bugfix
  18902. on 0.0.2pre26.
  18903. o Minor bugfixes (zlib):
  18904. - Avoid truncating a zlib stream when trying to finalize it with an
  18905. empty output buffer. Fixes bug 11824; bugfix on 0.1.1.23.
  18906. o Build fixes:
  18907. - Allow our configure script to build correctly with autoconf 2.62
  18908. again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
  18909. - Improve the error message from ./configure to make it clear that
  18910. when asciidoc has not been found, the user will have to either add
  18911. --disable-asciidoc argument or install asciidoc. Resolves
  18912. ticket 13228.
  18913. o Code simplification and refactoring:
  18914. - Change the entry_is_live() function to take named bitfield
  18915. elements instead of an unnamed list of booleans. Closes
  18916. ticket 12202.
  18917. - Refactor and unit-test entry_is_time_to_retry() in entrynodes.c.
  18918. Resolves ticket 12205.
  18919. - Use calloc and reallocarray functions instead of multiply-
  18920. then-malloc. This makes it less likely for us to fall victim to an
  18921. integer overflow attack when allocating. Resolves ticket 12855.
  18922. - Use the standard macro name SIZE_MAX, instead of our
  18923. own SIZE_T_MAX.
  18924. - Document usage of the NO_DIRINFO and ALL_DIRINFO flags clearly in
  18925. functions which take them as arguments. Replace 0 with NO_DIRINFO
  18926. in a function call for clarity. Seeks to prevent future issues
  18927. like 13163.
  18928. - Avoid 4 null pointer errors under clang static analysis by using
  18929. tor_assert() to prove that the pointers aren't null. Fixes
  18930. bug 13284.
  18931. - Rework the API of policies_parse_exit_policy() to use a bitmask to
  18932. represent parsing options, instead of a confusing mess of
  18933. booleans. Resolves ticket 8197.
  18934. - Introduce a helper function to parse ExitPolicy in
  18935. or_options_t structure.
  18936. o Documentation:
  18937. - Add a doc/TUNING document with tips for handling large numbers of
  18938. TCP connections when running busy Tor relay. Update the warning
  18939. message to point to this file when running out of sockets
  18940. operating system is allowing to use simultaneously. Resolves
  18941. ticket 9708.
  18942. o Removed features:
  18943. - We no longer remind the user about configuration options that have
  18944. been obsolete since 0.2.3.x or earlier. Patch by Adrien Bak.
  18945. - Remove our old, non-weighted bandwidth-based node selection code.
  18946. Previously, we used it as a fallback when we couldn't perform
  18947. weighted bandwidth-based node selection. But that would only
  18948. happen in the cases where we had no consensus, or when we had a
  18949. consensus generated by buggy or ancient directory authorities. In
  18950. either case, it's better to use the more modern, better maintained
  18951. algorithm, with reasonable defaults for the weights. Closes
  18952. ticket 13126.
  18953. - Remove the --disable-curve25519 configure option. Relays and
  18954. clients now are required to support curve25519 and the
  18955. ntor handshake.
  18956. - The old "StrictEntryNodes" and "StrictExitNodes" options, which
  18957. used to be deprecated synonyms for "StrictNodes", are now marked
  18958. obsolete. Resolves ticket 12226.
  18959. - Clients don't understand the BadDirectory flag in the consensus
  18960. anymore, and ignore it.
  18961. o Testing:
  18962. - Refactor the function that chooses guard nodes so that it can more
  18963. easily be tested; write some tests for it.
  18964. - Fix and re-enable the fgets_eagain unit test. Fixes bug 12503;
  18965. bugfix on 0.2.3.1-alpha. Patch from "cypherpunks."
  18966. - Create unit tests for format_time_interval(). With bug 13393.
  18967. - Add unit tests for tor_timegm signed overflow, tor_timegm and
  18968. parse_rfc1123_time validity checks, correct_tm year clamping. Unit
  18969. tests (visible) fixes in bug 13476.
  18970. - Add a "coverage-html" make target to generate HTML-visualized
  18971. coverage results when building with --enable-coverage. (Requires
  18972. lcov.) Patch from Kevin Murray.
  18973. - Enable the backtrace handler (where supported) when running the
  18974. unit tests.
  18975. - Revise all unit tests that used the legacy test_* macros to
  18976. instead use the recommended tt_* macros. This patch was generated
  18977. with coccinelle, to avoid manual errors. Closes ticket 13119.
  18978. o Distribution (systemd):
  18979. - systemd unit file: only allow tor to write to /var/lib/tor and
  18980. /var/log/tor. The rest of the filesystem is accessible for reading
  18981. only. Patch by intrigeri; resolves ticket 12751.
  18982. - systemd unit file: ensure that the process and all its children
  18983. can never gain new privileges. Patch by intrigeri; resolves
  18984. ticket 12939.
  18985. - systemd unit file: set up /var/run/tor as writable for the Tor
  18986. service. Patch by intrigeri; resolves ticket 13196.
  18987. o Removed features (directory authorities):
  18988. - Remove code that prevented authorities from listing Tor relays
  18989. affected by CVE-2011-2769 as guards. These relays are already
  18990. rejected altogether due to the minimum version requirement of
  18991. 0.2.3.16-alpha. Closes ticket 13152.
  18992. - The "AuthDirRejectUnlisted" option no longer has any effect, as
  18993. the fingerprints file (approved-routers) has been deprecated.
  18994. - Directory authorities do not support being Naming dirauths anymore.
  18995. The "NamingAuthoritativeDir" config option is now obsolete.
  18996. - Directory authorities do not support giving out the BadDirectory
  18997. flag anymore.
  18998. - Directory authorities no longer advertise or support consensus
  18999. methods 1 through 12 inclusive. These consensus methods were
  19000. obsolete and/or insecure: maintaining the ability to support them
  19001. served no good purpose. Implements part of proposal 215; closes
  19002. ticket 10163.
  19003. o Testing (test-network.sh):
  19004. - Stop using "echo -n", as some shells' built-in echo doesn't
  19005. support "-n". Instead, use "/bin/echo -n". Partially fixes
  19006. bug 13161.
  19007. - Stop an apparent test-network hang when used with make -j2. Fixes
  19008. bug 13331.
  19009. - Add a --delay option to test-network.sh, which configures the
  19010. delay before the chutney network tests for data transmission.
  19011. Partially implements ticket 13161.
  19012. Changes in version 0.2.5.10 - 2014-10-24
  19013. Tor 0.2.5.10 is the first stable release in the 0.2.5 series.
  19014. It adds several new security features, including improved
  19015. denial-of-service resistance for relays, new compiler hardening
  19016. options, and a system-call sandbox for hardened installations on Linux
  19017. (requires seccomp2). The controller protocol has several new features,
  19018. resolving IPv6 addresses should work better than before, and relays
  19019. should be a little more CPU-efficient. We've added support for more
  19020. OpenBSD and FreeBSD transparent proxy types. We've improved the build
  19021. system and testing infrastructure to allow unit testing of more parts
  19022. of the Tor codebase. Finally, we've addressed several nagging pluggable
  19023. transport usability issues, and included numerous other small bugfixes
  19024. and features mentioned below.
  19025. This release marks end-of-life for Tor 0.2.3.x; those Tor versions
  19026. have accumulated many known flaws; everyone should upgrade.
  19027. o Deprecated versions:
  19028. - Tor 0.2.3.x has reached end-of-life; it has received no patches or
  19029. attention for some while.
  19030. Changes in version 0.2.5.9-rc - 2014-10-20
  19031. Tor 0.2.5.9-rc is the third release candidate for the Tor 0.2.5.x
  19032. series. It disables SSL3 in response to the recent "POODLE" attack
  19033. (even though POODLE does not affect Tor). It also works around a crash
  19034. bug caused by some operating systems' response to the "POODLE" attack
  19035. (which does affect Tor). It also contains a few miscellaneous fixes.
  19036. o Major security fixes:
  19037. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  19038. today support TLS 1.0 or later, so we can safely turn off support
  19039. for this old (and insecure) protocol. Fixes bug 13426.
  19040. o Major bugfixes (openssl bug workaround):
  19041. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  19042. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  19043. 13471. This is a workaround for an OpenSSL bug.
  19044. o Minor bugfixes:
  19045. - Disable the sandbox name resolver cache when running tor-resolve:
  19046. tor-resolve doesn't use the sandbox code, and turning it on was
  19047. breaking attempts to do tor-resolve on a non-default server on
  19048. Linux. Fixes bug 13295; bugfix on 0.2.5.3-alpha.
  19049. o Compilation fixes:
  19050. - Build and run correctly on systems like OpenBSD-current that have
  19051. patched OpenSSL to remove get_cipher_by_char and/or its
  19052. implementations. Fixes issue 13325.
  19053. o Downgraded warnings:
  19054. - Downgrade the severity of the 'unexpected sendme cell from client'
  19055. from 'warn' to 'protocol warning'. Closes ticket 8093.
  19056. Changes in version 0.2.4.25 - 2014-10-20
  19057. Tor 0.2.4.25 disables SSL3 in response to the recent "POODLE" attack
  19058. (even though POODLE does not affect Tor). It also works around a crash
  19059. bug caused by some operating systems' response to the "POODLE" attack
  19060. (which does affect Tor).
  19061. o Major security fixes (also in 0.2.5.9-rc):
  19062. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  19063. today support TLS 1.0 or later, so we can safely turn off support
  19064. for this old (and insecure) protocol. Fixes bug 13426.
  19065. o Major bugfixes (openssl bug workaround, also in 0.2.5.9-rc):
  19066. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  19067. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  19068. 13471. This is a workaround for an OpenSSL bug.
  19069. Changes in version 0.2.5.8-rc - 2014-09-22
  19070. Tor 0.2.5.8-rc is the second release candidate for the Tor 0.2.5.x
  19071. series. It fixes a bug that affects consistency and speed when
  19072. connecting to hidden services, and it updates the location of one of
  19073. the directory authorities.
  19074. o Major bugfixes:
  19075. - Clients now send the correct address for their chosen rendezvous
  19076. point when trying to access a hidden service. They used to send
  19077. the wrong address, which would still work some of the time because
  19078. they also sent the identity digest of the rendezvous point, and if
  19079. the hidden service happened to try connecting to the rendezvous
  19080. point from a relay that already had a connection open to it,
  19081. the relay would reuse that connection. Now connections to hidden
  19082. services should be more robust and faster. Also, this bug meant
  19083. that clients were leaking to the hidden service whether they were
  19084. on a little-endian (common) or big-endian (rare) system, which for
  19085. some users might have reduced their anonymity. Fixes bug 13151;
  19086. bugfix on 0.2.1.5-alpha.
  19087. o Directory authority changes:
  19088. - Change IP address for gabelmoo (v3 directory authority).
  19089. Changes in version 0.2.4.24 - 2014-09-22
  19090. Tor 0.2.4.24 fixes a bug that affects consistency and speed when
  19091. connecting to hidden services, and it updates the location of one of
  19092. the directory authorities.
  19093. o Major bugfixes:
  19094. - Clients now send the correct address for their chosen rendezvous
  19095. point when trying to access a hidden service. They used to send
  19096. the wrong address, which would still work some of the time because
  19097. they also sent the identity digest of the rendezvous point, and if
  19098. the hidden service happened to try connecting to the rendezvous
  19099. point from a relay that already had a connection open to it,
  19100. the relay would reuse that connection. Now connections to hidden
  19101. services should be more robust and faster. Also, this bug meant
  19102. that clients were leaking to the hidden service whether they were
  19103. on a little-endian (common) or big-endian (rare) system, which for
  19104. some users might have reduced their anonymity. Fixes bug 13151;
  19105. bugfix on 0.2.1.5-alpha.
  19106. o Directory authority changes:
  19107. - Change IP address for gabelmoo (v3 directory authority).
  19108. o Minor features (geoip):
  19109. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  19110. Country database.
  19111. Changes in version 0.2.5.7-rc - 2014-09-11
  19112. Tor 0.2.5.7-rc fixes several regressions from earlier in the 0.2.5.x
  19113. release series, and some long-standing bugs related to ORPort reachability
  19114. testing and failure to send CREATE cells. It is the first release
  19115. candidate for the Tor 0.2.5.x series.
  19116. o Major bugfixes (client, startup):
  19117. - Start making circuits as soon as DisabledNetwork is turned off.
  19118. When Tor started with DisabledNetwork set, it would correctly
  19119. conclude that it shouldn't build circuits, but it would mistakenly
  19120. cache this conclusion, and continue believing it even when
  19121. DisableNetwork is set to 0. Fixes the bug introduced by the fix
  19122. for bug 11200; bugfix on 0.2.5.4-alpha.
  19123. - Resume expanding abbreviations for command-line options. The fix
  19124. for bug 4647 accidentally removed our hack from bug 586 that
  19125. rewrote HashedControlPassword to __HashedControlSessionPassword
  19126. when it appears on the commandline (which allowed the user to set
  19127. her own HashedControlPassword in the torrc file while the
  19128. controller generates a fresh session password for each run). Fixes
  19129. bug 12948; bugfix on 0.2.5.1-alpha.
  19130. - Warn about attempts to run hidden services and relays in the same
  19131. process: that's probably not a good idea. Closes ticket 12908.
  19132. o Major bugfixes (relay):
  19133. - Avoid queuing or sending destroy cells for circuit ID zero when we
  19134. fail to send a CREATE cell. Fixes bug 12848; bugfix on 0.0.8pre1.
  19135. Found and fixed by "cypherpunks".
  19136. - Fix ORPort reachability detection on relays running behind a
  19137. proxy, by correctly updating the "local" mark on the controlling
  19138. channel when changing the address of an or_connection_t after the
  19139. handshake. Fixes bug 12160; bugfix on 0.2.4.4-alpha.
  19140. o Minor features (bridge):
  19141. - Add an ExtORPortCookieAuthFileGroupReadable option to make the
  19142. cookie file for the ExtORPort g+r by default.
  19143. o Minor features (geoip):
  19144. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  19145. Country database.
  19146. o Minor bugfixes (logging):
  19147. - Reduce the log severity of the "Pluggable transport proxy does not
  19148. provide any needed transports and will not be launched." message,
  19149. since Tor Browser includes several ClientTransportPlugin lines in
  19150. its torrc-defaults file, leading every Tor Browser user who looks
  19151. at her logs to see these notices and wonder if they're dangerous.
  19152. Resolves bug 13124; bugfix on 0.2.5.3-alpha.
  19153. - Downgrade "Unexpected onionskin length after decryption" warning
  19154. to a protocol-warn, since there's nothing relay operators can do
  19155. about a client that sends them a malformed create cell. Resolves
  19156. bug 12996; bugfix on 0.0.6rc1.
  19157. - Log more specific warnings when we get an ESTABLISH_RENDEZVOUS
  19158. cell on a cannibalized or non-OR circuit. Resolves ticket 12997.
  19159. - When logging information about an EXTEND2 or EXTENDED2 cell, log
  19160. their names correctly. Fixes part of bug 12700; bugfix
  19161. on 0.2.4.8-alpha.
  19162. - When logging information about a relay cell whose command we don't
  19163. recognize, log its command as an integer. Fixes part of bug 12700;
  19164. bugfix on 0.2.1.10-alpha.
  19165. - Escape all strings from the directory connection before logging
  19166. them. Fixes bug 13071; bugfix on 0.1.1.15. Patch from "teor".
  19167. o Minor bugfixes (controller):
  19168. - Restore the functionality of CookieAuthFileGroupReadable. Fixes
  19169. bug 12864; bugfix on 0.2.5.1-alpha.
  19170. - Actually send TRANSPORT_LAUNCHED and HS_DESC events to
  19171. controllers. Fixes bug 13085; bugfix on 0.2.5.1-alpha. Patch
  19172. by "teor".
  19173. o Minor bugfixes (compilation):
  19174. - Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
  19175. bugfix on 0.2.5.5-alpha.
  19176. - Make the nmake make files work again. Fixes bug 13081. Bugfix on
  19177. 0.2.5.1-alpha. Patch from "NewEraCracker".
  19178. - In routerlist_assert_ok(), don't take the address of a
  19179. routerinfo's cache_info member unless that routerinfo is non-NULL.
  19180. Fixes bug 13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
  19181. - Fix a large number of false positive warnings from the clang
  19182. analyzer static analysis tool. This should make real warnings
  19183. easier for clang analyzer to find. Patch from "teor". Closes
  19184. ticket 13036.
  19185. o Distribution (systemd):
  19186. - Verify configuration file via ExecStartPre in the systemd unit
  19187. file. Patch from intrigeri; resolves ticket 12730.
  19188. - Explicitly disable RunAsDaemon in the systemd unit file. Our
  19189. current systemd unit uses "Type = simple", so systemd does not
  19190. expect tor to fork. If the user has "RunAsDaemon 1" in their
  19191. torrc, then things won't work as expected. This is e.g. the case
  19192. on Debian (and derivatives), since there we pass "--defaults-torrc
  19193. /usr/share/tor/tor-service-defaults-torrc" (that contains
  19194. "RunAsDaemon 1") by default. Patch by intrigeri; resolves
  19195. ticket 12731.
  19196. o Documentation:
  19197. - Adjust the URLs in the README to refer to the new locations of
  19198. several documents on the website. Fixes bug 12830. Patch from
  19199. Matt Pagan.
  19200. - Document 'reject6' and 'accept6' ExitPolicy entries. Resolves
  19201. ticket 12878.
  19202. Changes in version 0.2.5.6-alpha - 2014-07-28
  19203. Tor 0.2.5.6-alpha brings us a big step closer to slowing down the
  19204. risk from guard rotation, and fixes a variety of other issues to get
  19205. us closer to a release candidate.
  19206. o Major features (also in 0.2.4.23):
  19207. - Make the number of entry guards configurable via a new
  19208. NumEntryGuards consensus parameter, and the number of directory
  19209. guards configurable via a new NumDirectoryGuards consensus
  19210. parameter. Implements ticket 12688.
  19211. o Major bugfixes (also in 0.2.4.23):
  19212. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  19213. implementation that caused incorrect results on 32-bit
  19214. implementations when certain malformed inputs were used along with
  19215. a small class of private ntor keys. This bug does not currently
  19216. appear to allow an attacker to learn private keys or impersonate a
  19217. Tor server, but it could provide a means to distinguish 32-bit Tor
  19218. implementations from 64-bit Tor implementations. Fixes bug 12694;
  19219. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  19220. Adam Langley.
  19221. o Major bugfixes:
  19222. - Perform circuit cleanup operations even when circuit
  19223. construction operations are disabled (because the network is
  19224. disabled, or because there isn't enough directory information).
  19225. Previously, when we were not building predictive circuits, we
  19226. were not closing expired circuits either. Fixes bug 8387; bugfix on
  19227. 0.1.1.11-alpha. This bug became visible in 0.2.4.10-alpha when we
  19228. became more strict about when we have "enough directory information
  19229. to build circuits".
  19230. o Minor features:
  19231. - Authorities now assign the Guard flag to the fastest 25% of the
  19232. network (it used to be the fastest 50%). Also raise the consensus
  19233. weight that guarantees the Guard flag from 250 to 2000. For the
  19234. current network, this results in about 1100 guards, down from 2500.
  19235. This step paves the way for moving the number of entry guards
  19236. down to 1 (proposal 236) while still providing reasonable expected
  19237. performance for most users. Implements ticket 12690.
  19238. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  19239. Country database.
  19240. - Slightly enhance the diagnostic message for bug 12184.
  19241. o Minor bugfixes (also in 0.2.4.23):
  19242. - Warn and drop the circuit if we receive an inbound 'relay early'
  19243. cell. Those used to be normal to receive on hidden service circuits
  19244. due to bug 1038, but the buggy Tor versions are long gone from
  19245. the network so we can afford to resume watching for them. Resolves
  19246. the rest of bug 1038; bugfix on 0.2.1.19.
  19247. - Correct a confusing error message when trying to extend a circuit
  19248. via the control protocol but we don't know a descriptor or
  19249. microdescriptor for one of the specified relays. Fixes bug 12718;
  19250. bugfix on 0.2.3.1-alpha.
  19251. o Minor bugfixes:
  19252. - Fix compilation when building with bufferevents enabled. (This
  19253. configuration is still not expected to work, however.)
  19254. Fixes bugs 12438, 12474, 11578; bugfixes on 0.2.5.1-alpha and
  19255. 0.2.5.3-alpha. Patches from Anthony G. Basile and Sathyanarayanan
  19256. Gunasekaran.
  19257. - Compile correctly with builds and forks of OpenSSL (such as
  19258. LibreSSL) that disable compression. Fixes bug 12602; bugfix on
  19259. 0.2.1.1-alpha. Patch from "dhill".
  19260. Changes in version 0.2.4.23 - 2014-07-28
  19261. Tor 0.2.4.23 brings us a big step closer to slowing down the risk from
  19262. guard rotation, and also backports several important fixes from the
  19263. Tor 0.2.5 alpha release series.
  19264. o Major features:
  19265. - Clients now look at the "usecreatefast" consensus parameter to
  19266. decide whether to use CREATE_FAST or CREATE cells for the first hop
  19267. of their circuit. This approach can improve security on connections
  19268. where Tor's circuit handshake is stronger than the available TLS
  19269. connection security levels, but the tradeoff is more computational
  19270. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  19271. - Make the number of entry guards configurable via a new
  19272. NumEntryGuards consensus parameter, and the number of directory
  19273. guards configurable via a new NumDirectoryGuards consensus
  19274. parameter. Implements ticket 12688.
  19275. o Major bugfixes:
  19276. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  19277. implementation that caused incorrect results on 32-bit
  19278. implementations when certain malformed inputs were used along with
  19279. a small class of private ntor keys. This bug does not currently
  19280. appear to allow an attacker to learn private keys or impersonate a
  19281. Tor server, but it could provide a means to distinguish 32-bit Tor
  19282. implementations from 64-bit Tor implementations. Fixes bug 12694;
  19283. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  19284. Adam Langley.
  19285. o Minor bugfixes:
  19286. - Warn and drop the circuit if we receive an inbound 'relay early'
  19287. cell. Those used to be normal to receive on hidden service circuits
  19288. due to bug 1038, but the buggy Tor versions are long gone from
  19289. the network so we can afford to resume watching for them. Resolves
  19290. the rest of bug 1038; bugfix on 0.2.1.19.
  19291. - Correct a confusing error message when trying to extend a circuit
  19292. via the control protocol but we don't know a descriptor or
  19293. microdescriptor for one of the specified relays. Fixes bug 12718;
  19294. bugfix on 0.2.3.1-alpha.
  19295. - Avoid an illegal read from stack when initializing the TLS
  19296. module using a version of OpenSSL without all of the ciphers
  19297. used by the v2 link handshake. Fixes bug 12227; bugfix on
  19298. 0.2.4.8-alpha. Found by "starlight".
  19299. o Minor features:
  19300. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  19301. Country database.
  19302. Changes in version 0.2.5.5-alpha - 2014-06-18
  19303. Tor 0.2.5.5-alpha fixes a wide variety of remaining issues in the Tor
  19304. 0.2.5.x release series, including a couple of DoS issues, some
  19305. performance regressions, a large number of bugs affecting the Linux
  19306. seccomp2 sandbox code, and various other bugfixes. It also adds
  19307. diagnostic bugfixes for a few tricky issues that we're trying to
  19308. track down.
  19309. o Major features (security, traffic analysis resistance):
  19310. - Several major improvements to the algorithm used to decide when to
  19311. close TLS connections. Previous versions of Tor closed connections
  19312. at a fixed interval after the last time a non-padding cell was
  19313. sent over the connection, regardless of the target of the
  19314. connection. Now, we randomize the intervals by adding up to 50% of
  19315. their base value, we measure the length of time since connection
  19316. last had at least one circuit, and we allow connections to known
  19317. ORs to remain open a little longer (15 minutes instead of 3
  19318. minutes minimum). These changes should improve Tor's resistance
  19319. against some kinds of traffic analysis, and lower some overhead
  19320. from needlessly closed connections. Fixes ticket 6799.
  19321. Incidentally fixes ticket 12023; bugfix on 0.2.5.1-alpha.
  19322. o Major bugfixes (security, OOM, new since 0.2.5.4-alpha, also in 0.2.4.22):
  19323. - Fix a memory leak that could occur if a microdescriptor parse
  19324. fails during the tokenizing step. This bug could enable a memory
  19325. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  19326. on 0.2.2.6-alpha.
  19327. o Major bugfixes (security, directory authorities):
  19328. - Directory authorities now include a digest of each relay's
  19329. identity key as a part of its microdescriptor.
  19330. This is a workaround for bug 11743 (reported by "cypherpunks"),
  19331. where Tor clients do not support receiving multiple
  19332. microdescriptors with the same SHA256 digest in the same
  19333. consensus. When clients receive a consensus like this, they only
  19334. use one of the relays. Without this fix, a hostile relay could
  19335. selectively disable some client use of target relays by
  19336. constructing a router descriptor with a different identity and the
  19337. same microdescriptor parameters and getting the authorities to
  19338. list it in a microdescriptor consensus. This fix prevents an
  19339. attacker from causing a microdescriptor collision, because the
  19340. router's identity is not forgeable.
  19341. o Major bugfixes (relay):
  19342. - Use a direct dirport connection when uploading non-anonymous
  19343. descriptors to the directory authorities. Previously, relays would
  19344. incorrectly use tunnel connections under a fairly wide variety of
  19345. circumstances. Fixes bug 11469; bugfix on 0.2.4.3-alpha.
  19346. - When a circuit accidentally has the same circuit ID for its
  19347. forward and reverse direction, correctly detect the direction of
  19348. cells using that circuit. Previously, this bug made roughly one
  19349. circuit in a million non-functional. Fixes bug 12195; this is a
  19350. bugfix on every version of Tor.
  19351. o Major bugfixes (client, pluggable transports):
  19352. - When managing pluggable transports, use OS notification facilities
  19353. to learn if they have crashed, and don't attempt to kill any
  19354. process that has already exited. Fixes bug 8746; bugfix
  19355. on 0.2.3.6-alpha.
  19356. o Minor features (diagnostic):
  19357. - When logging a warning because of bug 7164, additionally check the
  19358. hash table for consistency (as proposed on ticket 11737). This may
  19359. help diagnose bug 7164.
  19360. - When we log a heartbeat, log how many one-hop circuits we have
  19361. that are at least 30 minutes old, and log status information about
  19362. a few of them. This is an attempt to track down bug 8387.
  19363. - When encountering an unexpected CR while writing text to a file on
  19364. Windows, log the name of the file. Should help diagnosing
  19365. bug 11233.
  19366. - Give more specific warnings when a client notices that an onion
  19367. handshake has failed. Fixes ticket 9635.
  19368. - Add significant new logging code to attempt to diagnose bug 12184,
  19369. where relays seem to run out of available circuit IDs.
  19370. - Improve the diagnostic log message for bug 8387 even further to
  19371. try to improve our odds of figuring out why one-hop directory
  19372. circuits sometimes do not get closed.
  19373. o Minor features (security, memory management):
  19374. - Memory allocation tricks (mempools and buffer freelists) are now
  19375. disabled by default. You can turn them back on with
  19376. --enable-mempools and --enable-buf-freelists respectively. We're
  19377. disabling these features because malloc performance is good enough
  19378. on most platforms, and a similar feature in OpenSSL exacerbated
  19379. exploitation of the Heartbleed attack. Resolves ticket 11476.
  19380. o Minor features (security):
  19381. - Apply the secure SipHash-2-4 function to the hash table mapping
  19382. circuit IDs and channels to circuits. We missed this one when we
  19383. were converting all the other hash functions to use SipHash back
  19384. in 0.2.5.3-alpha. Resolves ticket 11750.
  19385. o Minor features (build):
  19386. - The configure script has a --disable-seccomp option to turn off
  19387. support for libseccomp on systems that have it, in case it (or
  19388. Tor's use of it) is broken. Resolves ticket 11628.
  19389. o Minor features (other):
  19390. - Update geoip and geoip6 to the June 4 2014 Maxmind GeoLite2
  19391. Country database.
  19392. o Minor bugfixes (security, new since 0.2.5.4-alpha, also in 0.2.4.22):
  19393. - When running a hidden service, do not allow TunneledDirConns 0;
  19394. this will keep the hidden service from running, and also
  19395. make it publish its descriptors directly over HTTP. Fixes bug 10849;
  19396. bugfix on 0.2.1.1-alpha.
  19397. o Minor bugfixes (performance):
  19398. - Avoid a bug where every successful connection made us recompute
  19399. the flag telling us whether we have sufficient information to
  19400. build circuits. Previously, we would forget our cached value
  19401. whenever we successfully opened a channel (or marked a router as
  19402. running or not running for any other reason), regardless of
  19403. whether we had previously believed the router to be running. This
  19404. forced us to run an expensive update operation far too often.
  19405. Fixes bug 12170; bugfix on 0.1.2.1-alpha.
  19406. - Avoid using tor_memeq() for checking relay cell integrity. This
  19407. removes a possible performance bottleneck. Fixes part of bug
  19408. 12169; bugfix on 0.2.1.31.
  19409. o Minor bugfixes (compilation):
  19410. - Fix compilation of test_status.c when building with MVSC. Bugfix
  19411. on 0.2.5.4-alpha. Patch from Gisle Vanem.
  19412. - Resolve GCC complaints on OpenBSD about discarding constness in
  19413. TO_{ORIGIN,OR}_CIRCUIT functions. Fixes part of bug 11633; bugfix
  19414. on 0.1.1.23. Patch from Dana Koch.
  19415. - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to
  19416. treatment of long and time_t as comparable types. Fixes part of
  19417. bug 11633. Patch from Dana Koch.
  19418. - Make Tor compile correctly with --disable-buf-freelists. Fixes bug
  19419. 11623; bugfix on 0.2.5.3-alpha.
  19420. - When deciding whether to build the 64-bit curve25519
  19421. implementation, detect platforms where we can compile 128-bit
  19422. arithmetic but cannot link it. Fixes bug 11729; bugfix on
  19423. 0.2.4.8-alpha. Patch from "conradev".
  19424. - Fix compilation when DNS_CACHE_DEBUG is enabled. Fixes bug 11761;
  19425. bugfix on 0.2.3.13-alpha. Found by "cypherpunks".
  19426. - Fix compilation with dmalloc. Fixes bug 11605; bugfix
  19427. on 0.2.4.10-alpha.
  19428. o Minor bugfixes (Directory server):
  19429. - When sending a compressed set of descriptors or microdescriptors,
  19430. make sure to finalize the zlib stream. Previously, we would write
  19431. all the compressed data, but if the last descriptor we wanted to
  19432. send was missing or too old, we would not mark the stream as
  19433. finished. This caused problems for decompression tools. Fixes bug
  19434. 11648; bugfix on 0.1.1.23.
  19435. o Minor bugfixes (Linux seccomp sandbox):
  19436. - Make the seccomp sandbox code compile under ARM Linux. Fixes bug
  19437. 11622; bugfix on 0.2.5.1-alpha.
  19438. - Avoid crashing when re-opening listener ports with the seccomp
  19439. sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.
  19440. - Avoid crashing with the seccomp sandbox enabled along with
  19441. ConstrainedSockets. Fixes bug 12139; bugfix on 0.2.5.1-alpha.
  19442. - When we receive a SIGHUP with the sandbox enabled, correctly
  19443. support rotating our log files. Fixes bug 12032; bugfix
  19444. on 0.2.5.1-alpha.
  19445. - Avoid crash when running with sandboxing enabled and
  19446. DirReqStatistics not disabled. Fixes bug 12035; bugfix
  19447. on 0.2.5.1-alpha.
  19448. - Fix a "BUG" warning when trying to write bridge-stats files with
  19449. the Linux syscall sandbox filter enabled. Fixes bug 12041; bugfix
  19450. on 0.2.5.1-alpha.
  19451. - Prevent the sandbox from crashing on startup when run with the
  19452. --enable-expensive-hardening configuration option. Fixes bug
  19453. 11477; bugfix on 0.2.5.4-alpha.
  19454. - When running with DirPortFrontPage and sandboxing both enabled,
  19455. reload the DirPortFrontPage correctly when restarting. Fixes bug
  19456. 12028; bugfix on 0.2.5.1-alpha.
  19457. - Don't try to enable the sandbox when using the Tor binary to check
  19458. its configuration, hash a passphrase, or so on. Doing so was
  19459. crashing on startup for some users. Fixes bug 11609; bugfix
  19460. on 0.2.5.1-alpha.
  19461. - Avoid warnings when running with sandboxing and node statistics
  19462. enabled at the same time. Fixes part of 12064; bugfix on
  19463. 0.2.5.1-alpha. Patch from Michael Wolf.
  19464. - Avoid warnings when running with sandboxing enabled at the same
  19465. time as cookie authentication, hidden services, or directory
  19466. authority voting. Fixes part of 12064; bugfix on 0.2.5.1-alpha.
  19467. - Do not allow options that require calls to exec to be enabled
  19468. alongside the seccomp2 sandbox: they will inevitably crash. Fixes
  19469. bug 12043; bugfix on 0.2.5.1-alpha.
  19470. - Handle failures in getpwnam()/getpwuid() when running with the
  19471. User option set and the Linux syscall sandbox enabled. Fixes bug
  19472. 11946; bugfix on 0.2.5.1-alpha.
  19473. - Refactor the getaddrinfo workaround that the seccomp sandbox uses
  19474. to avoid calling getaddrinfo() after installing the sandbox
  19475. filters. Previously, it preloaded a cache with the IPv4 address
  19476. for our hostname, and nothing else. Now, it loads the cache with
  19477. every address that it used to initialize the Tor process. Fixes
  19478. bug 11970; bugfix on 0.2.5.1-alpha.
  19479. o Minor bugfixes (pluggable transports):
  19480. - Enable the ExtORPortCookieAuthFile option, to allow changing the
  19481. default location of the authentication token for the extended OR
  19482. Port as used by sever-side pluggable transports. We had
  19483. implemented this option before, but the code to make it settable
  19484. had been omitted. Fixes bug 11635; bugfix on 0.2.5.1-alpha.
  19485. - Avoid another 60-second delay when starting Tor in a pluggable-
  19486. transport-using configuration when we already have cached
  19487. descriptors for our bridges. Fixes bug 11965; bugfix
  19488. on 0.2.3.6-alpha.
  19489. o Minor bugfixes (client):
  19490. - Avoid "Tried to open a socket with DisableNetwork set" warnings
  19491. when starting a client with bridges configured and DisableNetwork
  19492. set. (Tor launcher starts Tor with DisableNetwork set the first
  19493. time it runs.) Fixes bug 10405; bugfix on 0.2.3.9-alpha.
  19494. o Minor bugfixes (testing):
  19495. - The Python parts of the test scripts now work on Python 3 as well
  19496. as Python 2, so systems where '/usr/bin/python' is Python 3 will
  19497. no longer have the tests break. Fixes bug 11608; bugfix
  19498. on 0.2.5.2-alpha.
  19499. - When looking for versions of python that we could run the tests
  19500. with, check for "python2.7" and "python3.3"; previously we were
  19501. only looking for "python", "python2", and "python3". Patch from
  19502. Dana Koch. Fixes bug 11632; bugfix on 0.2.5.2-alpha.
  19503. - Fix all valgrind warnings produced by the unit tests. There were
  19504. over a thousand memory leak warnings previously, mostly produced
  19505. by forgetting to free things in the unit test code. Fixes bug
  19506. 11618, bugfixes on many versions of Tor.
  19507. o Minor bugfixes (tor-fw-helper):
  19508. - Give a correct log message when tor-fw-helper fails to launch.
  19509. (Previously, we would say something like "tor-fw-helper sent us a
  19510. string we could not parse".) Fixes bug 9781; bugfix
  19511. on 0.2.4.2-alpha.
  19512. o Minor bugfixes (relay, threading):
  19513. - Check return code on spawn_func() in cpuworker code, so that we
  19514. don't think we've spawned a nonworking cpuworker and write junk to
  19515. it forever. Fix related to bug 4345; bugfix on all released Tor
  19516. versions. Found by "skruffy".
  19517. - Use a pthread_attr to make sure that spawn_func() cannot return an
  19518. error while at the same time launching a thread. Fix related to
  19519. bug 4345; bugfix on all released Tor versions. Reported
  19520. by "cypherpunks".
  19521. o Minor bugfixes (relay, oom prevention):
  19522. - Correctly detect the total available system memory. We tried to do
  19523. this in 0.2.5.4-alpha, but the code was set up to always return an
  19524. error value, even on success. Fixes bug 11805; bugfix
  19525. on 0.2.5.4-alpha.
  19526. o Minor bugfixes (relay, other):
  19527. - We now drop CREATE cells for already-existent circuit IDs and for
  19528. zero-valued circuit IDs, regardless of other factors that might
  19529. otherwise have called for DESTROY cells. Fixes bug 12191; bugfix
  19530. on 0.0.8pre1.
  19531. - Avoid an illegal read from stack when initializing the TLS module
  19532. using a version of OpenSSL without all of the ciphers used by the
  19533. v2 link handshake. Fixes bug 12227; bugfix on 0.2.4.8-alpha. Found
  19534. by "starlight".
  19535. - When rejecting DATA cells for stream_id zero, still count them
  19536. against the circuit's deliver window so that we don't fail to send
  19537. a SENDME. Fixes bug 11246; bugfix on 0.2.4.10-alpha.
  19538. o Minor bugfixes (logging):
  19539. - Fix a misformatted log message about delayed directory fetches.
  19540. Fixes bug 11654; bugfix on 0.2.5.3-alpha.
  19541. - Squelch a spurious LD_BUG message "No origin circuit for
  19542. successful SOCKS stream" in certain hidden service failure cases;
  19543. fixes bug 10616.
  19544. o Distribution:
  19545. - Include a tor.service file in contrib/dist for use with systemd.
  19546. Some distributions will be able to use this file unmodified;
  19547. others will need to tweak it, or write their own. Patch from Jamie
  19548. Nguyen; resolves ticket 8368.
  19549. o Documentation:
  19550. - Clean up several option names in the manpage to match their real
  19551. names, add the missing documentation for a couple of testing and
  19552. directory authority options, remove the documentation for a
  19553. V2-directory fetching option that no longer exists. Resolves
  19554. ticket 11634.
  19555. - Correct the documentation so that it lists the correct directory
  19556. for the stats files. (They are in a subdirectory called "stats",
  19557. not "status".)
  19558. - In the manpage, move more authority-only options into the
  19559. directory authority section so that operators of regular directory
  19560. caches don't get confused.
  19561. o Package cleanup:
  19562. - The contrib directory has been sorted and tidied. Before, it was
  19563. an unsorted dumping ground for useful and not-so-useful things.
  19564. Now, it is divided based on functionality, and the items which
  19565. seemed to be nonfunctional or useless have been removed. Resolves
  19566. ticket 8966; based on patches from "rl1987".
  19567. o Removed code:
  19568. - Remove /tor/dbg-stability.txt URL that was meant to help debug WFU
  19569. and MTBF calculations, but that nobody was using. Fixes ticket 11742.
  19570. - The TunnelDirConns and PreferTunnelledDirConns options no longer
  19571. exist; tunneled directory connections have been available since
  19572. 0.1.2.5-alpha, and turning them off is not a good idea. This is a
  19573. brute-force fix for 10849, where "TunnelDirConns 0" would break
  19574. hidden services.
  19575. Changes in version 0.2.4.22 - 2014-05-16
  19576. Tor 0.2.4.22 backports numerous high-priority fixes from the Tor 0.2.5
  19577. alpha release series. These include blocking all authority signing
  19578. keys that may have been affected by the OpenSSL "heartbleed" bug,
  19579. choosing a far more secure set of TLS ciphersuites by default, closing
  19580. a couple of memory leaks that could be used to run a target relay out
  19581. of RAM, and several others.
  19582. o Major features (security, backport from 0.2.5.4-alpha):
  19583. - Block authority signing keys that were used on authorities
  19584. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  19585. don't have any evidence that these keys _were_ compromised; we're
  19586. doing this to be prudent.) Resolves ticket 11464.
  19587. o Major bugfixes (security, OOM):
  19588. - Fix a memory leak that could occur if a microdescriptor parse
  19589. fails during the tokenizing step. This bug could enable a memory
  19590. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  19591. on 0.2.2.6-alpha.
  19592. o Major bugfixes (TLS cipher selection, backport from 0.2.5.4-alpha):
  19593. - The relay ciphersuite list is now generated automatically based on
  19594. uniform criteria, and includes all OpenSSL ciphersuites with
  19595. acceptable strength and forward secrecy. Previously, we had left
  19596. some perfectly fine ciphersuites unsupported due to omission or
  19597. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  19598. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  19599. - Relays now trust themselves to have a better view than clients of
  19600. which TLS ciphersuites are better than others. (Thanks to bug
  19601. 11513, the relay list is now well-considered, whereas the client
  19602. list has been chosen mainly for anti-fingerprinting purposes.)
  19603. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  19604. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  19605. AES128. Resolves ticket 11528.
  19606. - Clients now try to advertise the same list of ciphersuites as
  19607. Firefox 28. This change enables selection of (fast) GCM
  19608. ciphersuites, disables some strange old ciphers, and stops
  19609. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  19610. Resolves ticket 11438.
  19611. o Minor bugfixes (configuration, security):
  19612. - When running a hidden service, do not allow TunneledDirConns 0:
  19613. trying to set that option together with a hidden service would
  19614. otherwise prevent the hidden service from running, and also make
  19615. it publish its descriptors directly over HTTP. Fixes bug 10849;
  19616. bugfix on 0.2.1.1-alpha.
  19617. o Minor bugfixes (controller, backport from 0.2.5.4-alpha):
  19618. - Avoid sending a garbage value to the controller when a circuit is
  19619. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  19620. o Minor bugfixes (exit relay, backport from 0.2.5.4-alpha):
  19621. - Stop leaking memory when we successfully resolve a PTR record.
  19622. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  19623. o Minor bugfixes (bridge client, backport from 0.2.5.4-alpha):
  19624. - Avoid 60-second delays in the bootstrapping process when Tor is
  19625. launching for a second time while using bridges. Fixes bug 9229;
  19626. bugfix on 0.2.0.3-alpha.
  19627. o Minor bugfixes (relays and bridges, backport from 0.2.5.4-alpha):
  19628. - Give the correct URL in the warning message when trying to run a
  19629. relay on an ancient version of Windows. Fixes bug 9393.
  19630. o Minor bugfixes (compilation):
  19631. - Fix a compilation error when compiling with --disable-curve25519.
  19632. Fixes bug 9700; bugfix on 0.2.4.17-rc.
  19633. o Minor bugfixes:
  19634. - Downgrade the warning severity for the the "md was still
  19635. referenced 1 node(s)" warning. Tor 0.2.5.4-alpha has better code
  19636. for trying to diagnose this bug, and the current warning in
  19637. earlier versions of tor achieves nothing useful. Addresses warning
  19638. from bug 7164.
  19639. o Minor features (log verbosity, backport from 0.2.5.4-alpha):
  19640. - When we run out of usable circuit IDs on a channel, log only one
  19641. warning for the whole channel, and describe how many circuits
  19642. there were on the channel. Fixes part of ticket 11553.
  19643. o Minor features (security, backport from 0.2.5.4-alpha):
  19644. - Decrease the lower limit of MaxMemInCellQueues to 256 MBytes (but
  19645. leave the default at 8GBytes), to better support Raspberry Pi
  19646. users. Fixes bug 9686; bugfix on 0.2.4.14-alpha.
  19647. o Documentation (backport from 0.2.5.4-alpha):
  19648. - Correctly document that we search for a system torrc file before
  19649. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  19650. 0.2.3.18-rc.
  19651. Changes in version 0.2.5.4-alpha - 2014-04-25
  19652. Tor 0.2.5.4-alpha includes several security and performance
  19653. improvements for clients and relays, including blacklisting authority
  19654. signing keys that were used while susceptible to the OpenSSL
  19655. "heartbleed" bug, fixing two expensive functions on busy relays,
  19656. improved TLS ciphersuite preference lists, support for run-time
  19657. hardening on compilers that support AddressSanitizer, and more work on
  19658. the Linux sandbox code.
  19659. There are also several usability fixes for clients (especially clients
  19660. that use bridges), two new TransPort protocols supported (one on
  19661. OpenBSD, one on FreeBSD), and various other bugfixes.
  19662. This release marks end-of-life for Tor 0.2.2.x; those Tor versions
  19663. have accumulated many known flaws; everyone should upgrade.
  19664. o Major features (security):
  19665. - If you don't specify MaxMemInQueues yourself, Tor now tries to
  19666. pick a good value based on your total system memory. Previously,
  19667. the default was always 8 GB. You can still override the default by
  19668. setting MaxMemInQueues yourself. Resolves ticket 11396.
  19669. - Block authority signing keys that were used on authorities
  19670. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  19671. don't have any evidence that these keys _were_ compromised; we're
  19672. doing this to be prudent.) Resolves ticket 11464.
  19673. o Major features (relay performance):
  19674. - Speed up server-side lookups of rendezvous and introduction point
  19675. circuits by using hashtables instead of linear searches. These
  19676. functions previously accounted between 3 and 7% of CPU usage on
  19677. some busy relays. Resolves ticket 9841.
  19678. - Avoid wasting CPU when extending a circuit over a channel that is
  19679. nearly out of circuit IDs. Previously, we would do a linear scan
  19680. over possible circuit IDs before finding one or deciding that we
  19681. had exhausted our possibilities. Now, we try at most 64 random
  19682. circuit IDs before deciding that we probably won't succeed. Fixes
  19683. a possible root cause of ticket 11553.
  19684. o Major features (seccomp2 sandbox, Linux only):
  19685. - The seccomp2 sandbox can now run a test network for multiple hours
  19686. without crashing. The sandbox is still experimental, and more bugs
  19687. will probably turn up. To try it, enable "Sandbox 1" on a Linux
  19688. host. Resolves ticket 11351.
  19689. - Strengthen sandbox code: the sandbox can now test the arguments
  19690. for rename(), and blocks _sysctl() entirely. Resolves another part
  19691. of ticket 11351.
  19692. - When the sandbox blocks a system call, it now tries to log a stack
  19693. trace before exiting. Resolves ticket 11465.
  19694. o Major bugfixes (TLS cipher selection):
  19695. - The relay ciphersuite list is now generated automatically based on
  19696. uniform criteria, and includes all OpenSSL ciphersuites with
  19697. acceptable strength and forward secrecy. Previously, we had left
  19698. some perfectly fine ciphersuites unsupported due to omission or
  19699. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  19700. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  19701. - Relays now trust themselves to have a better view than clients of
  19702. which TLS ciphersuites are better than others. (Thanks to bug
  19703. 11513, the relay list is now well-considered, whereas the client
  19704. list has been chosen mainly for anti-fingerprinting purposes.)
  19705. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  19706. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  19707. AES128. Resolves ticket 11528.
  19708. - Clients now try to advertise the same list of ciphersuites as
  19709. Firefox 28. This change enables selection of (fast) GCM
  19710. ciphersuites, disables some strange old ciphers, and stops
  19711. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  19712. Resolves ticket 11438.
  19713. o Major bugfixes (bridge client):
  19714. - Avoid 60-second delays in the bootstrapping process when Tor is
  19715. launching for a second time while using bridges. Fixes bug 9229;
  19716. bugfix on 0.2.0.3-alpha.
  19717. o Minor features (transparent proxy, *BSD):
  19718. - Support FreeBSD's ipfw firewall interface for TransPort ports on
  19719. FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket
  19720. 10267; patch from "yurivict".
  19721. - Support OpenBSD's divert-to rules with the pf firewall for
  19722. transparent proxy ports. To enable it, set "TransProxyType
  19723. pf-divert". This allows Tor to run a TransPort transparent proxy
  19724. port on OpenBSD 4.4 or later without root privileges. See the
  19725. pf.conf(5) manual page for information on configuring pf to use
  19726. divert-to rules. Closes ticket 10896; patch from Dana Koch.
  19727. o Minor features (security):
  19728. - New --enable-expensive-hardening option to enable security
  19729. hardening options that consume nontrivial amounts of CPU and
  19730. memory. Right now, this includes AddressSanitizer and UbSan, which
  19731. are supported in newer versions of GCC and Clang. Closes ticket
  19732. 11477.
  19733. o Minor features (log verbosity):
  19734. - Demote the message that we give when a flushing connection times
  19735. out for too long from NOTICE to INFO. It was usually meaningless.
  19736. Resolves ticket 5286.
  19737. - Don't log so many notice-level bootstrapping messages at startup
  19738. about downloading descriptors. Previously, we'd log a notice
  19739. whenever we learned about more routers. Now, we only log a notice
  19740. at every 5% of progress. Fixes bug 9963.
  19741. - Warn less verbosely when receiving a malformed
  19742. ESTABLISH_RENDEZVOUS cell. Fixes ticket 11279.
  19743. - When we run out of usable circuit IDs on a channel, log only one
  19744. warning for the whole channel, and describe how many circuits
  19745. there were on the channel. Fixes part of ticket 11553.
  19746. o Minor features (relay):
  19747. - If a circuit timed out for at least 3 minutes, check if we have a
  19748. new external IP address, and publish a new descriptor with the new
  19749. IP address if it changed. Resolves ticket 2454.
  19750. o Minor features (controller):
  19751. - Make the entire exit policy available from the control port via
  19752. GETINFO exit-policy/*. Implements enhancement 7952. Patch from
  19753. "rl1987".
  19754. - Because of the fix for ticket 11396, the real limit for memory
  19755. usage may no longer match the configured MaxMemInQueues value. The
  19756. real limit is now exposed via GETINFO limits/max-mem-in-queues.
  19757. o Minor features (bridge client):
  19758. - Report a more useful failure message when we can't connect to a
  19759. bridge because we don't have the right pluggable transport
  19760. configured. Resolves ticket 9665. Patch from Fábio J. Bertinatto.
  19761. o Minor features (diagnostic):
  19762. - Add more log messages to diagnose bug 7164, which causes
  19763. intermittent "microdesc_free() called but md was still referenced"
  19764. warnings. We now include more information, to figure out why we
  19765. might be cleaning a microdescriptor for being too old if it's
  19766. still referenced by a live node_t object.
  19767. o Minor bugfixes (client, DNSPort):
  19768. - When using DNSPort, try to respond to AAAA requests with AAAA
  19769. answers. Previously, we hadn't looked at the request type when
  19770. deciding which answer type to prefer. Fixes bug 10468; bugfix on
  19771. 0.2.4.7-alpha.
  19772. - When receiving a DNS query for an unsupported record type, reply
  19773. with no answer rather than with a NOTIMPL error. This behavior
  19774. isn't correct either, but it will break fewer client programs, we
  19775. hope. Fixes bug 10268; bugfix on 0.2.0.1-alpha. Original patch
  19776. from "epoch".
  19777. o Minor bugfixes (exit relay):
  19778. - Stop leaking memory when we successfully resolve a PTR record.
  19779. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  19780. o Minor bugfixes (bridge client):
  19781. - Stop accepting bridge lines containing hostnames. Doing so would
  19782. cause clients to perform DNS requests on the hostnames, which was
  19783. not sensible behavior. Fixes bug 10801; bugfix on 0.2.0.1-alpha.
  19784. - Avoid a 60-second delay in the bootstrapping process when a Tor
  19785. client with pluggable transports re-reads its configuration at
  19786. just the wrong time. Re-fixes bug 11156; bugfix on 0.2.5.3-alpha.
  19787. o Minor bugfixes (client, logging during bootstrap):
  19788. - Warn only once if we start logging in an unsafe way. Previously,
  19789. we complain as many times as we had problems. Fixes bug 9870;
  19790. bugfix on 0.2.5.1-alpha.
  19791. - Only report the first fatal bootstrap error on a given OR
  19792. connection. This stops us from telling the controller bogus error
  19793. messages like "DONE". Fixes bug 10431; bugfix on 0.2.1.1-alpha.
  19794. - Be more helpful when trying to run sandboxed on Linux without
  19795. libseccomp. Instead of saying "Sandbox is not implemented on this
  19796. platform", we now explain that we need to be built with
  19797. libseccomp. Fixes bug 11543; bugfix on 0.2.5.1-alpha.
  19798. - Avoid generating spurious warnings when starting with
  19799. DisableNetwork enabled. Fixes bug 11200 and bug 10405; bugfix on
  19800. 0.2.3.9-alpha.
  19801. o Minor bugfixes (closing OR connections):
  19802. - If write_to_buf() in connection_write_to_buf_impl_() ever fails,
  19803. check if it's an or_connection_t and correctly call
  19804. connection_or_close_for_error() rather than
  19805. connection_mark_for_close() directly. Fixes bug 11304; bugfix on
  19806. 0.2.4.4-alpha.
  19807. - When closing all connections on setting DisableNetwork to 1, use
  19808. connection_or_close_normally() rather than closing OR connections
  19809. out from under the channel layer. Fixes bug 11306; bugfix on
  19810. 0.2.4.4-alpha.
  19811. o Minor bugfixes (controller):
  19812. - Avoid sending a garbage value to the controller when a circuit is
  19813. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  19814. o Minor bugfixes (tor-fw-helper):
  19815. - Allow tor-fw-helper to build again by adding src/ext to its
  19816. CPPFLAGS. Fixes bug 11296; bugfix on 0.2.5.3-alpha.
  19817. o Minor bugfixes (bridges):
  19818. - Avoid potential crashes or bad behavior when launching a
  19819. server-side managed proxy with ORPort or ExtORPort temporarily
  19820. disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha.
  19821. o Minor bugfixes (platform-specific):
  19822. - Fix compilation on Solaris, which does not have <endian.h>. Fixes
  19823. bug 11426; bugfix on 0.2.5.3-alpha.
  19824. - When dumping a malformed directory object to disk, save it in
  19825. binary mode on Windows, not text mode. Fixes bug 11342; bugfix on
  19826. 0.2.2.1-alpha.
  19827. - Don't report failures from make_socket_reuseable() on incoming
  19828. sockets on OSX: this can happen when incoming connections close
  19829. early. Fixes bug 10081.
  19830. o Minor bugfixes (trivial memory leaks):
  19831. - Fix a small memory leak when signing a directory object. Fixes bug
  19832. 11275; bugfix on 0.2.4.13-alpha.
  19833. - Free placeholder entries in our circuit table at exit; fixes a
  19834. harmless memory leak. Fixes bug 11278; bugfix on 0.2.5.1-alpha.
  19835. - Don't re-initialize a second set of OpenSSL mutexes when starting
  19836. up. Previously, we'd make one set of mutexes, and then immediately
  19837. replace them with another. Fixes bug 11726; bugfix on
  19838. 0.2.5.3-alpha.
  19839. - Resolve some memory leaks found by coverity in the unit tests, on
  19840. exit in tor-gencert, and on a failure to compute digests for our
  19841. own keys when generating a v3 networkstatus vote. These leaks
  19842. should never have affected anyone in practice.
  19843. o Minor bugfixes (hidden service):
  19844. - Only retry attempts to connect to a chosen rendezvous point 8
  19845. times, not 30. Fixes bug 4241; bugfix on 0.1.0.1-rc.
  19846. o Minor bugfixes (misc code correctness):
  19847. - Fix various instances of undefined behavior in channeltls.c,
  19848. tor_memmem(), and eventdns.c that would cause us to construct
  19849. pointers to memory outside an allocated object. (These invalid
  19850. pointers were not accessed, but C does not even allow them to
  19851. exist.) Fixes bug 10363; bugfixes on 0.1.1.1-alpha, 0.1.2.1-alpha,
  19852. 0.2.0.10-alpha, and 0.2.3.6-alpha. Reported by "bobnomnom".
  19853. - Use the AddressSanitizer and Ubsan sanitizers (in clang-3.4) to
  19854. fix some miscellaneous errors in our tests and codebase. Fixes bug
  19855. 11232. Bugfixes on versions back as far as 0.2.1.11-alpha.
  19856. - Always check return values for unlink, munmap, UnmapViewOfFile;
  19857. check strftime return values more often. In some cases all we can
  19858. do is report a warning, but this may help prevent deeper bugs from
  19859. going unnoticed. Closes ticket 8787; bugfixes on many, many tor
  19860. versions.
  19861. - Fix numerous warnings from the clang "scan-build" static analyzer.
  19862. Some of these are programming style issues; some of them are false
  19863. positives that indicated awkward code; some are undefined behavior
  19864. cases related to constructing (but not using) invalid pointers;
  19865. some are assumptions about API behavior; some are (harmlessly)
  19866. logging sizeof(ptr) bytes from a token when sizeof(*ptr) would be
  19867. correct; and one or two are genuine bugs that weren't reachable
  19868. from the rest of the program. Fixes bug 8793; bugfixes on many,
  19869. many tor versions.
  19870. o Documentation:
  19871. - Build the torify.1 manpage again. Previously, we were only trying
  19872. to build it when also building tor-fw-helper. That's why we didn't
  19873. notice that we'd broken the ability to build it. Fixes bug 11321;
  19874. bugfix on 0.2.5.1-alpha.
  19875. - Fix the layout of the SOCKSPort flags in the manpage. Fixes bug
  19876. 11061; bugfix on 0.2.4.7-alpha.
  19877. - Correctly document that we search for a system torrc file before
  19878. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  19879. 0.2.3.18-rc.
  19880. - Resolve warnings from Doxygen.
  19881. o Code simplifications and refactoring:
  19882. - Remove is_internal_IP() function. Resolves ticket 4645.
  19883. - Remove unused function circuit_dump_by_chan from circuitlist.c.
  19884. Closes issue 9107; patch from "marek".
  19885. - Change our use of the ENUM_BF macro to avoid declarations that
  19886. confuse Doxygen.
  19887. o Deprecated versions:
  19888. - Tor 0.2.2.x has reached end-of-life; it has received no patches or
  19889. attention for some while. Directory authorities no longer accept
  19890. descriptors from relays running any version of Tor prior to Tor
  19891. 0.2.3.16-alpha. Resolves ticket 11149.
  19892. o Testing:
  19893. - New macros in test.h to simplify writing mock-functions for unit
  19894. tests. Part of ticket 11507. Patch from Dana Koch.
  19895. - Complete tests for the status.c module. Resolves ticket 11507.
  19896. Patch from Dana Koch.
  19897. o Removed code:
  19898. - Remove all code for the long unused v1 directory protocol.
  19899. Resolves ticket 11070.
  19900. Changes in version 0.2.5.3-alpha - 2014-03-22
  19901. Tor 0.2.5.3-alpha includes all the fixes from 0.2.4.21. It contains
  19902. two new anti-DoS features for Tor relays, resolves a bug that kept
  19903. SOCKS5 support for IPv6 from working, fixes several annoying usability
  19904. issues for bridge users, and removes more old code for unused
  19905. directory formats.
  19906. The Tor 0.2.5.x release series is now in patch-freeze: no feature
  19907. patches not already written will be considered for inclusion in 0.2.5.x.
  19908. o Major features (relay security, DoS-resistance):
  19909. - When deciding whether we have run out of memory and we need to
  19910. close circuits, also consider memory allocated in buffers for
  19911. streams attached to each circuit.
  19912. This change, which extends an anti-DoS feature introduced in
  19913. 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
  19914. better resist more memory-based DoS attacks than before. Since the
  19915. MaxMemInCellQueues option now applies to all queues, it is renamed
  19916. to MaxMemInQueues. This feature fixes bug 10169.
  19917. - Avoid hash-flooding denial-of-service attacks by using the secure
  19918. SipHash-2-4 hash function for our hashtables. Without this
  19919. feature, an attacker could degrade performance of a targeted
  19920. client or server by flooding their data structures with a large
  19921. number of entries to be stored at the same hash table position,
  19922. thereby slowing down the Tor instance. With this feature, hash
  19923. table positions are derived from a randomized cryptographic key,
  19924. and an attacker cannot predict which entries will collide. Closes
  19925. ticket 4900.
  19926. - Decrease the lower limit of MaxMemInQueues to 256 MBytes (but leave
  19927. the default at 8GBytes), to better support Raspberry Pi users. Fixes
  19928. bug 9686; bugfix on 0.2.4.14-alpha.
  19929. o Minor features (bridges, pluggable transports):
  19930. - Bridges now write the SHA1 digest of their identity key
  19931. fingerprint (that is, a hash of a hash of their public key) to
  19932. notice-level logs, and to a new hashed-fingerprint file. This
  19933. information will help bridge operators look up their bridge in
  19934. Globe and similar tools. Resolves ticket 10884.
  19935. - Improve the message that Tor displays when running as a bridge
  19936. using pluggable transports without an Extended ORPort listener.
  19937. Also, log the message in the log file too. Resolves ticket 11043.
  19938. o Minor features (other):
  19939. - Add a new option, PredictedPortsRelevanceTime, to control how long
  19940. after having received a request to connect to a given port Tor
  19941. will try to keep circuits ready in anticipation of future requests
  19942. for that port. Patch from "unixninja92"; implements ticket 9176.
  19943. - Generate a warning if any ports are listed in the SocksPolicy,
  19944. DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
  19945. AuthDirBadExit options. (These options only support address
  19946. ranges.) Fixes part of ticket 11108.
  19947. - Update geoip and geoip6 to the February 7 2014 Maxmind GeoLite2
  19948. Country database.
  19949. o Minor bugfixes (new since 0.2.5.2-alpha, also in 0.2.4.21):
  19950. - Build without warnings under clang 3.4. (We have some macros that
  19951. define static functions only some of which will get used later in
  19952. the module. Starting with clang 3.4, these give a warning unless the
  19953. unused attribute is set on them.) Resolves ticket 10904.
  19954. - Fix build warnings about missing "a2x" comment when building the
  19955. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  19956. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  19957. o Minor bugfixes (client):
  19958. - Improve the log message when we can't connect to a hidden service
  19959. because all of the hidden service directory nodes hosting its
  19960. descriptor are excluded. Improves on our fix for bug 10722, which
  19961. was a bugfix on 0.2.0.10-alpha.
  19962. - Raise a control port warning when we fail to connect to all of
  19963. our bridges. Previously, we didn't inform the controller, and
  19964. the bootstrap process would stall. Fixes bug 11069; bugfix on
  19965. 0.2.1.2-alpha.
  19966. - Exit immediately when a process-owning controller exits.
  19967. Previously, tor relays would wait for a little while after their
  19968. controller exited, as if they had gotten an INT signal -- but this
  19969. was problematic, since there was no feedback for the user. To do a
  19970. clean shutdown, controllers should send an INT signal and give Tor
  19971. a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
  19972. - Stop attempting to connect to bridges before our pluggable
  19973. transports are configured (harmless but resulted in some erroneous
  19974. log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
  19975. - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
  19976. generating incorrect SOCKS5 responses, and confusing client
  19977. applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
  19978. o Minor bugfixes (relays and bridges):
  19979. - Avoid crashing on a malformed resolv.conf file when running a
  19980. relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
  19981. - Non-exit relays no longer launch mock DNS requests to check for
  19982. DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
  19983. non-exit relays stopped servicing DNS requests. Fixes bug 965;
  19984. bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
  19985. - Bridges now report complete directory request statistics. Related
  19986. to bug 5824; bugfix on 0.2.2.1-alpha.
  19987. - Bridges now never collect statistics that were designed for
  19988. relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
  19989. - Stop giving annoying warning messages when we decide not to launch
  19990. a pluggable transport proxy that we don't need (because there are
  19991. no bridges configured to use it). Resolves ticket 5018; bugfix
  19992. on 0.2.5.2-alpha.
  19993. - Give the correct URL in the warning message when trying to run a
  19994. relay on an ancient version of Windows. Fixes bug 9393.
  19995. o Minor bugfixes (backtrace support):
  19996. - Support automatic backtraces on more platforms by using the
  19997. "-fasynchronous-unwind-tables" compiler option. This option is
  19998. needed for platforms like 32-bit Intel where "-fomit-frame-pointer"
  19999. is on by default and table generation is not. This doesn't yet
  20000. add Windows support; only Linux, OSX, and some BSDs are affected.
  20001. Reported by 'cypherpunks'; fixes bug 11047; bugfix on 0.2.5.2-alpha.
  20002. - Avoid strange behavior if two threads hit failed assertions at the
  20003. same time and both try to log backtraces at once. (Previously, if
  20004. this had happened, both threads would have stored their intermediate
  20005. results in the same buffer, and generated junk outputs.) Reported by
  20006. "cypherpunks". Fixes bug 11048; bugfix on 0.2.5.2-alpha.
  20007. - Fix a compiler warning in format_number_sigsafe(). Bugfix on
  20008. 0.2.5.2-alpha; patch from Nick Hopper.
  20009. o Minor bugfixes (unit tests):
  20010. - Fix a small bug in the unit tests that might have made the tests
  20011. call 'chmod' with an uninitialized bitmask. Fixes bug 10928;
  20012. bugfix on 0.2.5.1-alpha. Patch from Dana Koch.
  20013. o Removed code:
  20014. - Remove all remaining code related to version-0 hidden service
  20015. descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
  20016. the rest of bug 10841.
  20017. o Documentation:
  20018. - Document in the manpage that "KBytes" may also be written as
  20019. "kilobytes" or "KB", that "Kbits" may also be written as
  20020. "kilobits", and so forth. Closes ticket 9222.
  20021. - Document that the ClientOnly config option overrides ORPort.
  20022. Our old explanation made ClientOnly sound as though it did
  20023. nothing at all. Resolves bug 9059.
  20024. - Explain that SocksPolicy, DirPolicy, and similar options don't
  20025. take port arguments. Fixes the other part of ticket 11108.
  20026. - Fix a comment about the rend_server_descriptor_t.protocols field
  20027. to more accurately describe its range. Also, make that field
  20028. unsigned, to more accurately reflect its usage. Fixes bug 9099;
  20029. bugfix on 0.2.1.5-alpha.
  20030. - Fix the manpage's description of HiddenServiceAuthorizeClient:
  20031. the maximum client name length is 16, not 19. Fixes bug 11118;
  20032. bugfix on 0.2.1.6-alpha.
  20033. o Code simplifications and refactoring:
  20034. - Get rid of router->address, since in all cases it was just the
  20035. string representation of router->addr. Resolves ticket 5528.
  20036. o Test infrastructure:
  20037. - Update to the latest version of tinytest.
  20038. - Improve the tinytest implementation of string operation tests so
  20039. that comparisons with NULL strings no longer crash the tests; they
  20040. now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
  20041. Changes in version 0.2.4.21 - 2014-02-28
  20042. Tor 0.2.4.21 further improves security against potential adversaries who
  20043. find breaking 1024-bit crypto doable, and backports several stability
  20044. and robustness patches from the 0.2.5 branch.
  20045. o Major features (client security):
  20046. - When we choose a path for a 3-hop circuit, make sure it contains
  20047. at least one relay that supports the NTor circuit extension
  20048. handshake. Otherwise, there is a chance that we're building
  20049. a circuit that's worth attacking by an adversary who finds
  20050. breaking 1024-bit crypto doable, and that chance changes the game
  20051. theory. Implements ticket 9777.
  20052. o Major bugfixes:
  20053. - Do not treat streams that fail with reason
  20054. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  20055. since it could also indicate an ENETUNREACH connection error. Fixes
  20056. part of bug 10777; bugfix on 0.2.4.8-alpha.
  20057. o Code simplification and refactoring:
  20058. - Remove data structures which were introduced to implement the
  20059. CellStatistics option: they are now redundant with the new timestamp
  20060. field in the regular packed_cell_t data structure, which we did
  20061. in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
  20062. o Minor features:
  20063. - Always clear OpenSSL bignums before freeing them -- even bignums
  20064. that don't contain secrets. Resolves ticket 10793. Patch by
  20065. Florent Daigniere.
  20066. - Build without warnings under clang 3.4. (We have some macros that
  20067. define static functions only some of which will get used later in
  20068. the module. Starting with clang 3.4, these give a warning unless the
  20069. unused attribute is set on them.) Resolves ticket 10904.
  20070. - Update geoip and geoip6 files to the February 7 2014 Maxmind
  20071. GeoLite2 Country database.
  20072. o Minor bugfixes:
  20073. - Set the listen() backlog limit to the largest actually supported
  20074. on the system, not to the value in a header file. Fixes bug 9716;
  20075. bugfix on every released Tor.
  20076. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  20077. exit node as a NOROUTE error, not an INTERNAL error, since they
  20078. can apparently happen when trying to connect to the wrong sort
  20079. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  20080. - Fix build warnings about missing "a2x" comment when building the
  20081. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  20082. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  20083. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  20084. not entirely remove it from the connection lists. Fixes bug 9602;
  20085. bugfix on 0.2.4.4-alpha.
  20086. - Fix a segmentation fault in our benchmark code when running with
  20087. Fedora's OpenSSL package, or any other OpenSSL that provides
  20088. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  20089. - Turn "circuit handshake stats since last time" log messages into a
  20090. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  20091. o Documentation fixes:
  20092. - Document that all but one DirPort entry must have the NoAdvertise
  20093. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  20094. Changes in version 0.2.5.2-alpha - 2014-02-13
  20095. Tor 0.2.5.2-alpha includes all the fixes from 0.2.4.18-rc and 0.2.4.20,
  20096. like the "poor random number generation" fix and the "building too many
  20097. circuits" fix. It also further improves security against potential
  20098. adversaries who find breaking 1024-bit crypto doable, and launches
  20099. pluggable transports on demand (which gets us closer to integrating
  20100. pluggable transport support by default -- not to be confused with Tor
  20101. bundles enabling pluggable transports and bridges by default).
  20102. o Major features (client security):
  20103. - When we choose a path for a 3-hop circuit, make sure it contains
  20104. at least one relay that supports the NTor circuit extension
  20105. handshake. Otherwise, there is a chance that we're building
  20106. a circuit that's worth attacking by an adversary who finds
  20107. breaking 1024-bit crypto doable, and that chance changes the game
  20108. theory. Implements ticket 9777.
  20109. - Clients now look at the "usecreatefast" consensus parameter to
  20110. decide whether to use CREATE_FAST or CREATE cells for the first hop
  20111. of their circuit. This approach can improve security on connections
  20112. where Tor's circuit handshake is stronger than the available TLS
  20113. connection security levels, but the tradeoff is more computational
  20114. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  20115. o Major features (bridges):
  20116. - Don't launch pluggable transport proxies if we don't have any
  20117. bridges configured that would use them. Now we can list many
  20118. pluggable transports, and Tor will dynamically start one when it
  20119. hears a bridge address that needs it. Resolves ticket 5018.
  20120. - The bridge directory authority now assigns status flags (Stable,
  20121. Guard, etc) to bridges based on thresholds calculated over all
  20122. Running bridges. Now bridgedb can finally make use of its features
  20123. to e.g. include at least one Stable bridge in its answers. Fixes
  20124. bug 9859.
  20125. o Major features (other):
  20126. - Extend ORCONN controller event to include an "ID" parameter,
  20127. and add four new controller event types CONN_BW, CIRC_BW,
  20128. CELL_STATS, and TB_EMPTY that show connection and circuit usage.
  20129. The new events are emitted in private Tor networks only, with the
  20130. goal of being able to better track performance and load during
  20131. full-network simulations. Implements proposal 218 and ticket 7359.
  20132. - On some platforms (currently: recent OSX versions, glibc-based
  20133. platforms that support the ELF format, and a few other
  20134. Unix-like operating systems), Tor can now dump stack traces
  20135. when a crash occurs or an assertion fails. By default, traces
  20136. are dumped to stderr (if possible) and to any logs that are
  20137. reporting errors. Implements ticket 9299.
  20138. o Major bugfixes:
  20139. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  20140. not entirely remove it from the connection lists. Fixes bug 9602;
  20141. bugfix on 0.2.4.4-alpha.
  20142. - Do not treat streams that fail with reason
  20143. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  20144. since it could also indicate an ENETUNREACH connection error. Fixes
  20145. part of bug 10777; bugfix on 0.2.4.8-alpha.
  20146. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  20147. - Do not allow OpenSSL engines to replace the PRNG, even when
  20148. HardwareAccel is set. The only default builtin PRNG engine uses
  20149. the Intel RDRAND instruction to replace the entire PRNG, and
  20150. ignores all attempts to seed it with more entropy. That's
  20151. cryptographically stupid: the right response to a new alleged
  20152. entropy source is never to discard all previously used entropy
  20153. sources. Fixes bug 10402; works around behavior introduced in
  20154. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  20155. and "rl1987".
  20156. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  20157. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  20158. - Avoid launching spurious extra circuits when a stream is pending.
  20159. This fixes a bug where any circuit that _wasn't_ unusable for new
  20160. streams would be treated as if it were, causing extra circuits to
  20161. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  20162. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  20163. - No longer stop reading or writing on cpuworker connections when
  20164. our rate limiting buckets go empty. Now we should handle circuit
  20165. handshake requests more promptly. Resolves bug 9731.
  20166. - Stop trying to bootstrap all our directory information from
  20167. only our first guard. Discovered while fixing bug 9946; bugfix
  20168. on 0.2.4.8-alpha.
  20169. o Minor features (bridges, pluggable transports):
  20170. - Add threshold cutoffs to the networkstatus document created by
  20171. the Bridge Authority. Fixes bug 1117.
  20172. - On Windows, spawn background processes using the CREATE_NO_WINDOW
  20173. flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
  20174. doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
  20175. Vidalia set this option for us.) Implements ticket 10297.
  20176. o Minor features (security):
  20177. - Always clear OpenSSL bignums before freeing them -- even bignums
  20178. that don't contain secrets. Resolves ticket 10793. Patch by
  20179. Florent Daignière.
  20180. o Minor features (config options and command line):
  20181. - Add an --allow-missing-torrc commandline option that tells Tor to
  20182. run even if the configuration file specified by -f is not available.
  20183. Implements ticket 10060.
  20184. - Add support for the TPROXY transparent proxying facility on Linux.
  20185. See documentation for the new TransProxyType option for more
  20186. details. Implementation by "thomo". Closes ticket 10582.
  20187. o Minor features (controller):
  20188. - Add a new "HS_DESC" controller event that reports activities
  20189. related to hidden service descriptors. Resolves ticket 8510.
  20190. - New "DROPGUARDS" controller command to forget all current entry
  20191. guards. Not recommended for ordinary use, since replacing guards
  20192. too frequently makes several attacks easier. Resolves ticket 9934;
  20193. patch from "ra".
  20194. o Minor features (build):
  20195. - Assume that a user using ./configure --host wants to cross-compile,
  20196. and give an error if we cannot find a properly named
  20197. tool-chain. Add a --disable-tool-name-check option to proceed
  20198. nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
  20199. - If we run ./configure and the compiler recognizes -fstack-protector
  20200. but the linker rejects it, warn the user about a potentially missing
  20201. libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
  20202. o Minor features (testing):
  20203. - If Python is installed, "make check" now runs extra tests beyond
  20204. the unit test scripts.
  20205. - When bootstrapping a test network, sometimes very few relays get
  20206. the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
  20207. specify a set of relays which should be voted Guard regardless of
  20208. their uptime or bandwidth. Addresses ticket 9206.
  20209. o Minor features (log messages):
  20210. - When ServerTransportPlugin is set on a bridge, Tor can write more
  20211. useful statistics about bridge use in its extrainfo descriptors,
  20212. but only if the Extended ORPort ("ExtORPort") is set too. Add a
  20213. log message to inform the user in this case. Resolves ticket 9651.
  20214. - When receiving a new controller connection, log the origin address.
  20215. Resolves ticket 9698; patch from "sigpipe".
  20216. - When logging OpenSSL engine status at startup, log the status of
  20217. more engines. Fixes ticket 10043; patch from Joshua Datko.
  20218. - Turn "circuit handshake stats since last time" log messages into a
  20219. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  20220. o Minor features (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  20221. - Improve the circuit queue out-of-memory handler. Previously, when
  20222. we ran low on memory, we'd close whichever circuits had the most
  20223. queued cells. Now, we close those that have the *oldest* queued
  20224. cells, on the theory that those are most responsible for us
  20225. running low on memory. Based on analysis from a forthcoming paper
  20226. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  20227. - Generate bootstrapping status update events correctly when fetching
  20228. microdescriptors. Fixes bug 9927.
  20229. - Update to the October 2 2013 Maxmind GeoLite Country database.
  20230. o Minor bugfixes (clients):
  20231. - When closing a channel that has already been open, do not close
  20232. pending circuits that were waiting to connect to the same relay.
  20233. Fixes bug 9880; bugfix on 0.2.5.1-alpha. Thanks to skruffy for
  20234. finding this bug.
  20235. o Minor bugfixes (relays):
  20236. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  20237. exit node as a NOROUTE error, not an INTERNAL error, since they
  20238. can apparently happen when trying to connect to the wrong sort
  20239. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  20240. o Minor bugfixes (bridges):
  20241. - Fix a bug where the first connection works to a bridge that uses a
  20242. pluggable transport with client-side parameters, but we don't send
  20243. the client-side parameters on subsequent connections. (We don't
  20244. use any pluggable transports with client-side parameters yet,
  20245. but ScrambleSuit will soon become the first one.) Fixes bug 9162;
  20246. bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
  20247. o Minor bugfixes (node selection):
  20248. - If ExcludeNodes is set, consider non-excluded hidden service
  20249. directory servers before excluded ones. Do not consider excluded
  20250. hidden service directory servers at all if StrictNodes is
  20251. set. (Previously, we would sometimes decide to connect to those
  20252. servers, and then realize before we initiated a connection that
  20253. we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
  20254. Reported by "mr-4".
  20255. - If we set the ExitNodes option but it doesn't include any nodes
  20256. that have the Exit flag, we would choose not to bootstrap. Now we
  20257. bootstrap so long as ExitNodes includes nodes which can exit to
  20258. some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
  20259. o Minor bugfixes (controller and command-line):
  20260. - If changing a config option via "setconf" fails in a recoverable
  20261. way, we used to nonetheless write our new control ports to the
  20262. file described by the "ControlPortWriteToFile" option. Now we only
  20263. write out that file if we successfully switch to the new config
  20264. option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
  20265. - When a command-line option such as --version or --help that
  20266. ordinarily implies --hush appears on the command line along with
  20267. --quiet, then actually obey --quiet. Previously, we obeyed --quiet
  20268. only if it appeared later on the command line. Fixes bug 9578;
  20269. bugfix on 0.2.5.1-alpha.
  20270. o Minor bugfixes (code correctness):
  20271. - Previously we used two temporary files when writing descriptors to
  20272. disk; now we only use one. Fixes bug 1376.
  20273. - Remove an erroneous (but impossible and thus harmless) pointer
  20274. comparison that would have allowed compilers to skip a bounds
  20275. check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
  20276. 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
  20277. - Fix an always-true assertion in pluggable transports code so it
  20278. actually checks what it was trying to check. Fixes bug 10046;
  20279. bugfix on 0.2.3.9-alpha. Found by "dcb".
  20280. o Minor bugfixes (protocol correctness):
  20281. - When receiving a VERSIONS cell with an odd number of bytes, close
  20282. the connection immediately since the cell is malformed. Fixes bug
  20283. 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
  20284. "rl1987".
  20285. o Minor bugfixes (build):
  20286. - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
  20287. turned off (that is, without support for v2 link handshakes). Fixes
  20288. bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
  20289. - Fix compilation warnings and startup issues when running with
  20290. "Sandbox 1" and libseccomp-2.1.0. Fixes bug 10563; bugfix on
  20291. 0.2.5.1-alpha.
  20292. - Fix compilation on Solaris 9, which didn't like us having an
  20293. identifier named "sun". Fixes bug 10565; bugfix in 0.2.5.1-alpha.
  20294. o Minor bugfixes (testing):
  20295. - Fix a segmentation fault in our benchmark code when running with
  20296. Fedora's OpenSSL package, or any other OpenSSL that provides
  20297. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  20298. o Minor bugfixes (log messages):
  20299. - Fix a bug where clients using bridges would report themselves
  20300. as 50% bootstrapped even without a live consensus document.
  20301. Fixes bug 9922; bugfix on 0.2.1.1-alpha.
  20302. - Suppress a warning where, if there's only one directory authority
  20303. in the network, we would complain that votes and signatures cannot
  20304. be uploaded to other directory authorities. Fixes bug 10842;
  20305. bugfix on 0.2.2.26-beta.
  20306. - Report bootstrapping progress correctly when we're downloading
  20307. microdescriptors. We had updated our "do we have enough microdescs
  20308. to begin building circuits?" logic most recently in 0.2.4.10-alpha
  20309. (see bug 5956), but we left the bootstrap status event logic at
  20310. "how far through getting 1/4 of them are we?" Fixes bug 9958;
  20311. bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
  20312. o Minor bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  20313. - Avoid a crash bug when starting with a corrupted microdescriptor
  20314. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  20315. - If we fail to dump a previously cached microdescriptor to disk, avoid
  20316. freeing duplicate data later on. Fixes bug 10423; bugfix on
  20317. 0.2.4.13-alpha. Spotted by "bobnomnom".
  20318. o Minor bugfixes on 0.2.4.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  20319. - Correctly log long IPv6 exit policies, instead of truncating them
  20320. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  20321. - Our default TLS ecdhe groups were backwards: we meant to be using
  20322. P224 for relays (for performance win) and P256 for bridges (since
  20323. it is more common in the wild). Instead we had it backwards. After
  20324. reconsideration, we decided that the default should be P256 on all
  20325. hosts, since its security is probably better, and since P224 is
  20326. reportedly used quite little in the wild. Found by "skruffy" on
  20327. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  20328. - Free directory authority certificate download statuses on exit
  20329. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  20330. o Minor bugfixes on 0.2.3.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  20331. - If the guard we choose first doesn't answer, we would try the
  20332. second guard, but once we connected to the second guard we would
  20333. abandon it and retry the first one, slowing down bootstrapping.
  20334. The fix is to treat all our initially chosen guards as acceptable
  20335. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  20336. - Fix an assertion failure that would occur when disabling the
  20337. ORPort setting on a running Tor process while accounting was
  20338. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  20339. - When examining the list of network interfaces to find our address,
  20340. do not consider non-running or disabled network interfaces. Fixes
  20341. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  20342. - Avoid an off-by-one error when checking buffer boundaries when
  20343. formatting the exit status of a pluggable transport helper.
  20344. This is probably not an exploitable bug, but better safe than
  20345. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  20346. Pedro Ribeiro.
  20347. o Removed code and features:
  20348. - Clients now reject any directory authority certificates lacking
  20349. a dir-key-crosscert element. These have been included since
  20350. 0.2.1.9-alpha, so there's no real reason for them to be optional
  20351. any longer. Completes proposal 157. Resolves ticket 10162.
  20352. - Remove all code that existed to support the v2 directory system,
  20353. since there are no longer any v2 directory authorities. Resolves
  20354. ticket 10758.
  20355. - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
  20356. options, which were used for designating authorities as "Hidden
  20357. service authorities". There has been no use of hidden service
  20358. authorities since 0.2.2.1-alpha, when we stopped uploading or
  20359. downloading v0 hidden service descriptors. Fixes bug 10881; also
  20360. part of a fix for bug 10841.
  20361. o Code simplification and refactoring:
  20362. - Remove some old fallback code designed to keep Tor clients working
  20363. in a network with only two working relays. Elsewhere in the code we
  20364. have long since stopped supporting such networks, so there wasn't
  20365. much point in keeping it around. Addresses ticket 9926.
  20366. - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
  20367. bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
  20368. - Remove data structures which were introduced to implement the
  20369. CellStatistics option: they are now redundant with the addition
  20370. of a timestamp to the regular packed_cell_t data structure, which
  20371. we did in 0.2.4.18-rc in order to resolve ticket 9093. Implements
  20372. ticket 10870.
  20373. o Documentation (man page) fixes:
  20374. - Update manpage to describe some of the files you can expect to
  20375. find in Tor's DataDirectory. Addresses ticket 9839.
  20376. - Document that all but one DirPort entry must have the NoAdvertise
  20377. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  20378. o Documentation fixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  20379. - Clarify the usage and risks of setting the ContactInfo torrc line
  20380. for your relay or bridge. Resolves ticket 9854.
  20381. - Add anchors to the manpage so we can link to the html version of
  20382. the documentation for specific options. Resolves ticket 9866.
  20383. - Replace remaining references to DirServer in man page and
  20384. log entries. Resolves ticket 10124.
  20385. o Tool changes:
  20386. - Make the "tor-gencert" tool used by directory authority operators
  20387. create 2048-bit signing keys by default (rather than 1024-bit, since
  20388. 1024-bit is uncomfortably small these days). Addresses ticket 10324.
  20389. Changes in version 0.2.4.20 - 2013-12-22
  20390. Tor 0.2.4.20 fixes potentially poor random number generation for users
  20391. who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
  20392. torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
  20393. and 4) have no state file in their DataDirectory (as would happen on
  20394. first start). Users who generated relay or hidden service identity
  20395. keys in such a situation should discard them and generate new ones.
  20396. This release also fixes a logic error that caused Tor clients to build
  20397. many more preemptive circuits than they actually need.
  20398. o Major bugfixes:
  20399. - Do not allow OpenSSL engines to replace the PRNG, even when
  20400. HardwareAccel is set. The only default builtin PRNG engine uses
  20401. the Intel RDRAND instruction to replace the entire PRNG, and
  20402. ignores all attempts to seed it with more entropy. That's
  20403. cryptographically stupid: the right response to a new alleged
  20404. entropy source is never to discard all previously used entropy
  20405. sources. Fixes bug 10402; works around behavior introduced in
  20406. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  20407. and "rl1987".
  20408. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  20409. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  20410. - Avoid launching spurious extra circuits when a stream is pending.
  20411. This fixes a bug where any circuit that _wasn't_ unusable for new
  20412. streams would be treated as if it were, causing extra circuits to
  20413. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  20414. o Minor bugfixes:
  20415. - Avoid a crash bug when starting with a corrupted microdescriptor
  20416. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  20417. - If we fail to dump a previously cached microdescriptor to disk, avoid
  20418. freeing duplicate data later on. Fixes bug 10423; bugfix on
  20419. 0.2.4.13-alpha. Spotted by "bobnomnom".
  20420. Changes in version 0.2.4.19 - 2013-12-11
  20421. The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
  20422. (1986-2013). Aaron worked on diverse projects including helping to guide
  20423. Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
  20424. transparency to the U.S government's PACER documents, and contributing
  20425. design and development for Tor and Tor2Web. Aaron was one of the latest
  20426. martyrs in our collective fight for civil liberties and human rights,
  20427. and his death is all the more painful because he was one of us.
  20428. Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
  20429. a new circuit handshake and link encryption that use ECC to provide
  20430. better security and efficiency; makes relays better manage circuit
  20431. creation requests; uses "directory guards" to reduce client enumeration
  20432. risks; makes bridges collect and report statistics about the pluggable
  20433. transports they support; cleans up and improves our geoip database;
  20434. gets much closer to IPv6 support for clients, bridges, and relays; makes
  20435. directory authorities use measured bandwidths rather than advertised
  20436. ones when computing flags and thresholds; disables client-side DNS
  20437. caching to reduce tracking risks; and fixes a big bug in bridge
  20438. reachability testing. This release introduces two new design
  20439. abstractions in the code: a new "channel" abstraction between circuits
  20440. and or_connections to allow for implementing alternate relay-to-relay
  20441. transports, and a new "circuitmux" abstraction storing the queue of
  20442. circuits for a channel. The release also includes many stability,
  20443. security, and privacy fixes.
  20444. Changes in version 0.2.4.18-rc - 2013-11-16
  20445. Tor 0.2.4.18-rc is the fourth release candidate for the Tor 0.2.4.x
  20446. series. It takes a variety of fixes from the 0.2.5.x branch to improve
  20447. stability, performance, and better handling of edge cases.
  20448. o Major features:
  20449. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  20450. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  20451. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  20452. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  20453. them to solve bug 6033.)
  20454. o Major bugfixes:
  20455. - No longer stop reading or writing on cpuworker connections when
  20456. our rate limiting buckets go empty. Now we should handle circuit
  20457. handshake requests more promptly. Resolves bug 9731.
  20458. - If we are unable to save a microdescriptor to the journal, do not
  20459. drop it from memory and then reattempt downloading it. Fixes bug
  20460. 9645; bugfix on 0.2.2.6-alpha.
  20461. - Stop trying to bootstrap all our directory information from
  20462. only our first guard. Discovered while fixing bug 9946; bugfix
  20463. on 0.2.4.8-alpha.
  20464. - The new channel code sometimes lost track of in-progress circuits,
  20465. causing long-running clients to stop building new circuits. The
  20466. fix is to always call circuit_n_chan_done(chan, 0) from
  20467. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  20468. o Minor bugfixes (on 0.2.4.x):
  20469. - Correctly log long IPv6 exit policies, instead of truncating them
  20470. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  20471. - Our default TLS ecdhe groups were backwards: we meant to be using
  20472. P224 for relays (for performance win) and P256 for bridges (since
  20473. it is more common in the wild). Instead we had it backwards. After
  20474. reconsideration, we decided that the default should be P256 on all
  20475. hosts, since its security is probably better, and since P224 is
  20476. reportedly used quite little in the wild. Found by "skruffy" on
  20477. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  20478. - Free directory authority certificate download statuses on exit
  20479. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  20480. o Minor bugfixes (on 0.2.3.x and earlier):
  20481. - If the guard we choose first doesn't answer, we would try the
  20482. second guard, but once we connected to the second guard we would
  20483. abandon it and retry the first one, slowing down bootstrapping.
  20484. The fix is to treat all our initially chosen guards as acceptable
  20485. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  20486. - Fix an assertion failure that would occur when disabling the
  20487. ORPort setting on a running Tor process while accounting was
  20488. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  20489. - When examining the list of network interfaces to find our address,
  20490. do not consider non-running or disabled network interfaces. Fixes
  20491. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  20492. - Avoid an off-by-one error when checking buffer boundaries when
  20493. formatting the exit status of a pluggable transport helper.
  20494. This is probably not an exploitable bug, but better safe than
  20495. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  20496. Pedro Ribeiro.
  20497. o Minor features (protecting client timestamps):
  20498. - Clients no longer send timestamps in their NETINFO cells. These were
  20499. not used for anything, and they provided one small way for clients
  20500. to be distinguished from each other as they moved from network to
  20501. network or behind NAT. Implements part of proposal 222.
  20502. - Clients now round timestamps in INTRODUCE cells down to the nearest
  20503. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  20504. if it's set to "auto" and the feature is disabled in the consensus,
  20505. the timestamp is sent as 0 instead. Implements part of proposal 222.
  20506. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  20507. a big deal from a security point of view, but it achieves no actual
  20508. good purpose, and isn't needed. Implements part of proposal 222.
  20509. - Reduce down accuracy of timestamps in hidden service descriptors.
  20510. Implements part of proposal 222.
  20511. o Minor features (other):
  20512. - Improve the circuit queue out-of-memory handler. Previously, when
  20513. we ran low on memory, we'd close whichever circuits had the most
  20514. queued cells. Now, we close those that have the *oldest* queued
  20515. cells, on the theory that those are most responsible for us
  20516. running low on memory. Based on analysis from a forthcoming paper
  20517. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  20518. - Generate bootstrapping status update events correctly when fetching
  20519. microdescriptors. Fixes bug 9927.
  20520. - Update to the October 2 2013 Maxmind GeoLite Country database.
  20521. o Documentation fixes:
  20522. - Clarify the usage and risks of setting the ContactInfo torrc line
  20523. for your relay or bridge. Resolves ticket 9854.
  20524. - Add anchors to the manpage so we can link to the html version of
  20525. the documentation for specific options. Resolves ticket 9866.
  20526. - Replace remaining references to DirServer in man page and
  20527. log entries. Resolves ticket 10124.
  20528. Changes in version 0.2.5.1-alpha - 2013-10-02
  20529. Tor 0.2.5.1-alpha introduces experimental support for syscall sandboxing
  20530. on Linux, allows bridges that offer pluggable transports to report usage
  20531. statistics, fixes many issues to make testing easier, and provides
  20532. a pile of minor features and bugfixes that have been waiting for a
  20533. release of the new branch.
  20534. This is the first alpha release in a new series, so expect there to
  20535. be bugs. Users who would rather test out a more stable branch should
  20536. stay with 0.2.4.x for now.
  20537. o Major features (security):
  20538. - Use the seccomp2 syscall filtering facility on Linux to limit
  20539. which system calls Tor can invoke. This is an experimental,
  20540. Linux-only feature to provide defense-in-depth against unknown
  20541. attacks. To try turning it on, set "Sandbox 1" in your torrc
  20542. file. Please be ready to report bugs. We hope to add support
  20543. for better sandboxing in the future, including more fine-grained
  20544. filters, better division of responsibility, and support for more
  20545. platforms. This work has been done by Cristian-Matei Toader for
  20546. Google Summer of Code.
  20547. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  20548. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  20549. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  20550. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  20551. them to solve bug 6033.)
  20552. o Major features (other):
  20553. - Add support for passing arguments to managed pluggable transport
  20554. proxies. Implements ticket 3594.
  20555. - Bridges now track GeoIP information and the number of their users
  20556. even when pluggable transports are in use, and report usage
  20557. statistics in their extra-info descriptors. Resolves tickets 4773
  20558. and 5040.
  20559. - Make testing Tor networks bootstrap better: lower directory fetch
  20560. retry schedules and maximum interval without directory requests,
  20561. and raise maximum download tries. Implements ticket 6752.
  20562. - Add make target 'test-network' to run tests on a Chutney network.
  20563. Implements ticket 8530.
  20564. - The ntor handshake is now on-by-default, no matter what the
  20565. directory authorities recommend. Implements ticket 8561.
  20566. o Major bugfixes:
  20567. - Instead of writing destroy cells directly to outgoing connection
  20568. buffers, queue them and intersperse them with other outgoing cells.
  20569. This can prevent a set of resource starvation conditions where too
  20570. many pending destroy cells prevent data cells from actually getting
  20571. delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
  20572. bugfix on 0.2.0.1-alpha.
  20573. - If we are unable to save a microdescriptor to the journal, do not
  20574. drop it from memory and then reattempt downloading it. Fixes bug
  20575. 9645; bugfix on 0.2.2.6-alpha.
  20576. - The new channel code sometimes lost track of in-progress circuits,
  20577. causing long-running clients to stop building new circuits. The
  20578. fix is to always call circuit_n_chan_done(chan, 0) from
  20579. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  20580. o Build features:
  20581. - Tor now builds each source file in two modes: a mode that avoids
  20582. exposing identifiers needlessly, and another mode that exposes
  20583. more identifiers for testing. This lets the compiler do better at
  20584. optimizing the production code, while enabling us to take more
  20585. radical measures to let the unit tests test things.
  20586. - The production builds no longer include functions used only in
  20587. the unit tests; all functions exposed from a module only for
  20588. unit-testing are now static in production builds.
  20589. - Add an --enable-coverage configuration option to make the unit
  20590. tests (and a new src/or/tor-cov target) to build with gcov test
  20591. coverage support.
  20592. o Testing:
  20593. - We now have rudimentary function mocking support that our unit
  20594. tests can use to test functions in isolation. Function mocking
  20595. lets the tests temporarily replace a function's dependencies with
  20596. stub functions, so that the tests can check the function without
  20597. invoking the other functions it calls.
  20598. - Add more unit tests for the <circid,channel>->circuit map, and
  20599. the destroy-cell-tracking code to fix bug 7912.
  20600. - Unit tests for failing cases of the TAP onion handshake.
  20601. - More unit tests for address-manipulation functions.
  20602. o Minor features (protecting client timestamps):
  20603. - Clients no longer send timestamps in their NETINFO cells. These were
  20604. not used for anything, and they provided one small way for clients
  20605. to be distinguished from each other as they moved from network to
  20606. network or behind NAT. Implements part of proposal 222.
  20607. - Clients now round timestamps in INTRODUCE cells down to the nearest
  20608. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  20609. if it's set to "auto" and the feature is disabled in the consensus,
  20610. the timestamp is sent as 0 instead. Implements part of proposal 222.
  20611. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  20612. a big deal from a security point of view, but it achieves no actual
  20613. good purpose, and isn't needed. Implements part of proposal 222.
  20614. - Reduce down accuracy of timestamps in hidden service descriptors.
  20615. Implements part of proposal 222.
  20616. o Minor features (config options):
  20617. - Config (torrc) lines now handle fingerprints which are missing
  20618. their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
  20619. - Support a --dump-config option to print some or all of the
  20620. configured options. Mainly useful for debugging the command-line
  20621. option parsing code. Helps resolve ticket 4647.
  20622. - Raise awareness of safer logging: notify user of potentially
  20623. unsafe config options, like logging more verbosely than severity
  20624. "notice" or setting SafeLogging to 0. Resolves ticket 5584.
  20625. - Add a new configuration option TestingV3AuthVotingStartOffset
  20626. that bootstraps a network faster by changing the timing for
  20627. consensus votes. Addresses ticket 8532.
  20628. - Add a new torrc option "ServerTransportOptions" that allows
  20629. bridge operators to pass configuration parameters to their
  20630. pluggable transports. Resolves ticket 8929.
  20631. - The config (torrc) file now accepts bandwidth and space limits in
  20632. bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
  20633. you can now say "16 kilobits", and so on.) Resolves ticket 9214.
  20634. Patch by CharlieB.
  20635. o Minor features (build):
  20636. - Add support for `--library-versions` flag. Implements ticket 6384.
  20637. - Return the "unexpected sendme" warnings to a warn severity, but make
  20638. them rate limited, to help diagnose ticket 8093.
  20639. - Detect a missing asciidoc, and warn the user about it, during
  20640. configure rather than at build time. Fixes issue 6506. Patch from
  20641. Arlo Breault.
  20642. o Minor features (other):
  20643. - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
  20644. sockets in a single system call. Implements ticket 5129.
  20645. - Log current accounting state (bytes sent and received + remaining
  20646. time for the current accounting period) in the relay's heartbeat
  20647. message. Implements ticket 5526; patch from Peter Retzlaff.
  20648. - Implement the TRANSPORT_LAUNCHED control port event that
  20649. notifies controllers about new launched pluggable
  20650. transports. Resolves ticket 5609.
  20651. - If we're using the pure-C 32-bit curve25519_donna implementation
  20652. of curve25519, build it with the -fomit-frame-pointer option to
  20653. make it go faster on register-starved hosts. This improves our
  20654. handshake performance by about 6% on i386 hosts without nacl.
  20655. Closes ticket 8109.
  20656. - Update to the September 4 2013 Maxmind GeoLite Country database.
  20657. o Minor bugfixes:
  20658. - Set the listen() backlog limit to the largest actually supported
  20659. on the system, not to the value in a header file. Fixes bug 9716;
  20660. bugfix on every released Tor.
  20661. - No longer accept malformed http headers when parsing urls from
  20662. headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
  20663. bugfix on 0.0.6pre1.
  20664. - In munge_extrainfo_into_routerinfo(), check the return value of
  20665. memchr(). This would have been a serious issue if we ever passed
  20666. it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
  20667. from Arlo Breault.
  20668. - On the chance that somebody manages to build Tor on a
  20669. platform where time_t is unsigned, correct the way that
  20670. microdesc_add_to_cache() handles negative time arguments.
  20671. Fixes bug 8042; bugfix on 0.2.3.1-alpha.
  20672. - Reject relative control socket paths and emit a warning. Previously,
  20673. single-component control socket paths would be rejected, but Tor
  20674. would not log why it could not validate the config. Fixes bug 9258;
  20675. bugfix on 0.2.3.16-alpha.
  20676. o Minor bugfixes (command line):
  20677. - Use a single command-line parser for parsing torrc options on the
  20678. command line and for finding special command-line options to avoid
  20679. inconsistent behavior for torrc option arguments that have the same
  20680. names as command-line options. Fixes bugs 4647 and 9578; bugfix on
  20681. 0.0.9pre5.
  20682. - No longer allow 'tor --hash-password' with no arguments. Fixes bug
  20683. 9573; bugfix on 0.0.9pre5.
  20684. o Minor fixes (build, auxiliary programs):
  20685. - Stop preprocessing the "torify" script with autoconf, since
  20686. it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
  20687. from Guilhem.
  20688. - The tor-fw-helper program now follows the standard convention and
  20689. exits with status code "0" on success. Fixes bug 9030; bugfix on
  20690. 0.2.3.1-alpha. Patch by Arlo Breault.
  20691. - Corrected ./configure advice for what openssl dev package you should
  20692. install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
  20693. o Minor code improvements:
  20694. - Remove constants and tests for PKCS1 padding; it's insecure and
  20695. shouldn't be used for anything new. Fixes bug 8792; patch
  20696. from Arlo Breault.
  20697. - Remove instances of strcpy() from the unit tests. They weren't
  20698. hurting anything, since they were only in the unit tests, but it's
  20699. embarrassing to have strcpy() in the code at all, and some analysis
  20700. tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
  20701. 0.2.3.8-alpha. Patch from Arlo Breault.
  20702. o Removed features:
  20703. - Remove migration code from when we renamed the "cached-routers"
  20704. file to "cached-descriptors" back in 0.2.0.8-alpha. This
  20705. incidentally resolves ticket 6502 by cleaning up the related code
  20706. a bit. Patch from Akshay Hebbar.
  20707. o Code simplification and refactoring:
  20708. - Extract the common duplicated code for creating a subdirectory
  20709. of the data directory and writing to a file in it. Fixes ticket
  20710. 4282; patch from Peter Retzlaff.
  20711. - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
  20712. buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
  20713. i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
  20714. - Add a set of accessor functions for the circuit timeout data
  20715. structure. Fixes ticket 6153; patch from "piet".
  20716. - Clean up exit paths from connection_listener_new(). Closes ticket
  20717. 8789. Patch from Arlo Breault.
  20718. - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
  20719. and drop our own custom pkey_eq() implementation. Fixes bug 9043.
  20720. - Use a doubly-linked list to implement the global circuit list.
  20721. Resolves ticket 9108. Patch from Marek Majkowski.
  20722. - Remove contrib/id_to_fp.c since it wasn't used anywhere.
  20723. Changes in version 0.2.4.17-rc - 2013-09-05
  20724. Tor 0.2.4.17-rc is the third release candidate for the Tor 0.2.4.x
  20725. series. It adds an emergency step to help us tolerate the massive
  20726. influx of users: 0.2.4 clients using the new (faster and safer) "NTor"
  20727. circuit-level handshakes now effectively jump the queue compared to
  20728. the 0.2.3 clients using "TAP" handshakes. This release also fixes a
  20729. big bug hindering bridge reachability tests.
  20730. o Major features:
  20731. - Relays now process the new "NTor" circuit-level handshake requests
  20732. with higher priority than the old "TAP" circuit-level handshake
  20733. requests. We still process some TAP requests to not totally starve
  20734. 0.2.3 clients when NTor becomes popular. A new consensus parameter
  20735. "NumNTorsPerTAP" lets us tune the balance later if we need to.
  20736. Implements ticket 9574.
  20737. o Major bugfixes:
  20738. - If the circuit build timeout logic is disabled (via the consensus,
  20739. or because we are an authority), then don't build testing circuits.
  20740. Fixes bug 9657; bugfix on 0.2.2.14-alpha.
  20741. - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
  20742. previously they did not, which prevented them from receiving
  20743. successful connections from relays for self-test or bandwidth
  20744. testing. Also, when a relay is extending a circuit to a bridge,
  20745. it needs to send a NETINFO cell, even when the bridge hasn't sent
  20746. an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
  20747. - If the time to download the next old-style networkstatus is in
  20748. the future, do not decline to consider whether to download the
  20749. next microdescriptor networkstatus. Fixes bug 9564; bugfix on
  20750. 0.2.3.14-alpha.
  20751. o Minor bugfixes:
  20752. - Avoid double-closing the listener socket in our socketpair()
  20753. replacement (used on Windows) in the case where the addresses on
  20754. our opened sockets don't match what we expected. Fixes bug 9400;
  20755. bugfix on 0.0.2pre7. Found by Coverity.
  20756. o Minor fixes (config options):
  20757. - Avoid overflows when the user sets MaxCircuitDirtiness to a
  20758. ridiculously high value, by imposing a (ridiculously high) 30-day
  20759. maximum on MaxCircuitDirtiness.
  20760. - Fix the documentation of HeartbeatPeriod to say that the heartbeat
  20761. message is logged at notice, not at info.
  20762. - Warn and fail if a server is configured not to advertise any
  20763. ORPorts at all. (We need *something* to put in our descriptor,
  20764. or we just won't work.)
  20765. o Minor features:
  20766. - Track how many "TAP" and "NTor" circuit handshake requests we get,
  20767. and how many we complete, and log it every hour to help relay
  20768. operators follow trends in network load. Addresses ticket 9658.
  20769. - Update to the August 7 2013 Maxmind GeoLite Country database.
  20770. Changes in version 0.2.4.16-rc - 2013-08-10
  20771. Tor 0.2.4.16-rc is the second release candidate for the Tor 0.2.4.x
  20772. series. It fixes several crash bugs in the 0.2.4 branch.
  20773. o Major bugfixes:
  20774. - Fix a bug in the voting algorithm that could yield incorrect results
  20775. when a non-naming authority declared too many flags. Fixes bug 9200;
  20776. bugfix on 0.2.0.3-alpha.
  20777. - Fix an uninitialized read that could in some cases lead to a remote
  20778. crash while parsing INTRODUCE2 cells. Bugfix on 0.2.4.1-alpha.
  20779. Anybody running a hidden service on the experimental 0.2.4.x
  20780. branch should upgrade. (This is, so far as we know, unrelated to
  20781. the recent news.)
  20782. - Avoid an assertion failure when processing DNS replies without the
  20783. answer types we expected. Fixes bug 9337; bugfix on 0.2.4.7-alpha.
  20784. - Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
  20785. 0.2.4.15-rc. Found by stem integration tests.
  20786. o Minor bugfixes:
  20787. - Fix an invalid memory read that occurred when a pluggable
  20788. transport proxy failed its configuration protocol.
  20789. Fixes bug 9288; bugfix on 0.2.4.1-alpha.
  20790. - When evaluating whether to use a connection that we haven't
  20791. decided is canonical using a recent link protocol version,
  20792. decide that it's canonical only if it used address _does_
  20793. match the desired address. Fixes bug 9309; bugfix on
  20794. 0.2.4.4-alpha. Reported by skruffy.
  20795. - Make the default behavior of NumDirectoryGuards be to track
  20796. NumEntryGuards. Now a user who changes only NumEntryGuards will get
  20797. the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
  20798. - Fix a spurious compilation warning with some older versions of
  20799. GCC on FreeBSD. Fixes bug 9254; bugfix on 0.2.4.14-alpha.
  20800. o Minor features:
  20801. - Update to the July 3 2013 Maxmind GeoLite Country database.
  20802. Changes in version 0.2.4.15-rc - 2013-07-01
  20803. Tor 0.2.4.15-rc is the first release candidate for the Tor 0.2.4.x
  20804. series. It fixes a few smaller bugs, but generally appears stable.
  20805. Please test it and let us know whether it is!
  20806. o Major bugfixes:
  20807. - When receiving a new configuration file via the control port's
  20808. LOADCONF command, do not treat the defaults file as absent.
  20809. Fixes bug 9122; bugfix on 0.2.3.9-alpha.
  20810. o Minor features:
  20811. - Issue a warning when running with the bufferevents backend enabled.
  20812. It's still not stable, and people should know that they're likely
  20813. to hit unexpected problems. Closes ticket 9147.
  20814. Changes in version 0.2.4.14-alpha - 2013-06-18
  20815. Tor 0.2.4.14-alpha fixes a pair of client guard enumeration problems
  20816. present in 0.2.4.13-alpha.
  20817. o Major bugfixes:
  20818. - When we have too much memory queued in circuits (according to a new
  20819. MaxMemInCellQueues option), close the circuits consuming the most
  20820. memory. This prevents us from running out of memory as a relay if
  20821. circuits fill up faster than they can be drained. Fixes bug 9063;
  20822. bugfix on the 54th commit of Tor. This bug is a further fix beyond
  20823. bug 6252, whose fix was merged into 0.2.3.21-rc.
  20824. This change also fixes an earlier approach taken in 0.2.4.13-alpha,
  20825. where we tried to solve this issue simply by imposing an upper limit
  20826. on the number of queued cells for a single circuit. That approach
  20827. proved to be problematic, since there are ways to provoke clients to
  20828. send a number of cells in excess of any such reasonable limit. Fixes
  20829. bug 9072; bugfix on 0.2.4.13-alpha.
  20830. - Limit hidden service descriptors to at most ten introduction
  20831. points, to slow one kind of guard enumeration. Fixes bug 9002;
  20832. bugfix on 0.1.1.11-alpha.
  20833. Changes in version 0.2.4.13-alpha - 2013-06-14
  20834. Tor 0.2.4.13-alpha fixes a variety of potential remote crash
  20835. vulnerabilities, makes socks5 username/password circuit isolation
  20836. actually actually work (this time for sure!), and cleans up a bunch
  20837. of other issues in preparation for a release candidate.
  20838. o Major bugfixes (robustness):
  20839. - Close any circuit that has too many cells queued on it. Fixes
  20840. bug 9063; bugfix on the 54th commit of Tor. This bug is a further
  20841. fix beyond bug 6252, whose fix was merged into 0.2.3.21-rc.
  20842. - Prevent the get_freelists() function from running off the end of
  20843. the list of freelists if it somehow gets an unrecognized
  20844. allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
  20845. eugenis.
  20846. - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
  20847. when an exit connection with optimistic data succeeds immediately
  20848. rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
  20849. 0.2.3.1-alpha.
  20850. - Fix a directory authority crash bug when building a consensus
  20851. using an older consensus as its basis. Fixes bug 8833. Bugfix
  20852. on 0.2.4.12-alpha.
  20853. o Major bugfixes:
  20854. - Avoid a memory leak where we would leak a consensus body when we
  20855. find that a consensus which we couldn't previously verify due to
  20856. missing certificates is now verifiable. Fixes bug 8719; bugfix
  20857. on 0.2.0.10-alpha.
  20858. - We used to always request authority certificates by identity digest,
  20859. meaning we'd get the newest one even when we wanted one with a
  20860. different signing key. Then we would complain about being given
  20861. a certificate we already had, and never get the one we really
  20862. wanted. Now we use the "fp-sk/" resource as well as the "fp/"
  20863. resource to request the one we want. Fixes bug 5595; bugfix on
  20864. 0.2.0.8-alpha.
  20865. - Follow the socks5 protocol when offering username/password
  20866. authentication. The fix for bug 8117 exposed this bug, and it
  20867. turns out real-world applications like Pidgin do care. Bugfix on
  20868. 0.2.3.2-alpha; fixes bug 8879.
  20869. - Prevent failures on Windows Vista and later when rebuilding the
  20870. microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
  20871. bugfix on 0.2.4.12-alpha.
  20872. o Minor bugfixes:
  20873. - Fix an impossible buffer overrun in the AES unit tests. Fixes
  20874. bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
  20875. - If for some reason we fail to write a microdescriptor while
  20876. rebuilding the cache, do not let the annotations from that
  20877. microdescriptor linger in the cache file, and do not let the
  20878. microdescriptor stay recorded as present in its old location.
  20879. Fixes bug 9047; bugfix on 0.2.2.6-alpha.
  20880. - Fix a memory leak that would occur whenever a configuration
  20881. option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
  20882. - Paste the description for PathBias parameters from the man
  20883. page into or.h, so the code documents them too. Fixes bug 7982;
  20884. bugfix on 0.2.3.17-beta and 0.2.4.8-alpha.
  20885. - Relays now treat a changed IPv6 ORPort as sufficient reason to
  20886. publish an updated descriptor. Fixes bug 6026; bugfix on
  20887. 0.2.4.1-alpha.
  20888. - When launching a resolve request on behalf of an AF_UNIX control
  20889. socket, omit the address field of the new entry connection, used in
  20890. subsequent controller events, rather than letting tor_dup_addr()
  20891. set it to "<unknown address type>". Fixes bug 8639; bugfix on
  20892. 0.2.4.12-alpha.
  20893. o Minor bugfixes (log messages):
  20894. - Fix a scaling issue in the path bias accounting code that
  20895. resulted in "Bug:" log messages from either
  20896. pathbias_scale_close_rates() or pathbias_count_build_success().
  20897. This represents a bugfix on a previous bugfix: the original fix
  20898. attempted in 0.2.4.10-alpha was incomplete. Fixes bug 8235; bugfix
  20899. on 0.2.4.1-alpha.
  20900. - Give a less useless error message when the user asks for an IPv4
  20901. address on an IPv6-only port, or vice versa. Fixes bug 8846; bugfix
  20902. on 0.2.4.7-alpha.
  20903. o Minor features:
  20904. - Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4.x,
  20905. to tolerate bug 8093 for now.
  20906. - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
  20907. in directory authority votes to describe whether they have enough
  20908. measured bandwidths to ignore advertised (relay descriptor)
  20909. bandwidth claims. Resolves ticket 8711.
  20910. - Update to the June 5 2013 Maxmind GeoLite Country database.
  20911. o Removed documentation:
  20912. - Remove some of the older contents of doc/ as obsolete; move others
  20913. to torspec.git. Fixes bug 8965.
  20914. o Code simplification and refactoring:
  20915. - Avoid using character buffers when constructing most directory
  20916. objects: this approach was unwieldy and error-prone. Instead,
  20917. build smartlists of strings, and concatenate them when done.
  20918. Changes in version 0.2.4.12-alpha - 2013-04-18
  20919. Tor 0.2.4.12-alpha moves Tor forward on several fronts: it starts the
  20920. process for lengthening the guard rotation period, makes directory
  20921. authority opinions in the consensus a bit less gameable, makes socks5
  20922. username/password circuit isolation actually work, and fixes a wide
  20923. variety of other issues.
  20924. o Major features:
  20925. - Raise the default time that a client keeps an entry guard from
  20926. "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
  20927. 2012 paper. (We would make it even longer, but we need better client
  20928. load balancing first.) Also, make the guard lifetime controllable
  20929. via a new GuardLifetime torrc option and a GuardLifetime consensus
  20930. parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
  20931. - Directory authorities now prefer using measured bandwidths to
  20932. advertised ones when computing flags and thresholds. Resolves
  20933. ticket 8273.
  20934. - Directory authorities that have more than a threshold number
  20935. of relays with measured bandwidths now treat relays with unmeasured
  20936. bandwidths as having bandwidth 0. Resolves ticket 8435.
  20937. o Major bugfixes (assert / resource use):
  20938. - Avoid a bug where our response to TLS renegotiation under certain
  20939. network conditions could lead to a busy-loop, with 100% CPU
  20940. consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
  20941. - Avoid an assertion when we discover that we'd like to write a cell
  20942. onto a closing connection: just discard the cell. Fixes another
  20943. case of bug 7350; bugfix on 0.2.4.4-alpha.
  20944. o Major bugfixes (client-side privacy):
  20945. - When we mark a circuit as unusable for new circuits, have it
  20946. continue to be unusable for new circuits even if MaxCircuitDirtiness
  20947. is increased too much at the wrong time, or the system clock jumps
  20948. backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
  20949. - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
  20950. which have resolved to internal addresses") is set, apply that
  20951. rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
  20952. - When an exit relay rejects a stream with reason "exit policy", but
  20953. we only know an exit policy summary (e.g. from the microdesc
  20954. consensus) for it, do not mark the relay as useless for all exiting.
  20955. Instead, mark just the circuit as unsuitable for that particular
  20956. address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
  20957. - Allow applications to get proper stream isolation with
  20958. IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
  20959. username/password authentication also offer "no authentication". Tor
  20960. had previously preferred "no authentication", so the applications
  20961. never actually sent Tor their auth details. Now Tor selects
  20962. username/password authentication if it's offered. You can disable
  20963. this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
  20964. bug 8117; bugfix on 0.2.3.3-alpha.
  20965. o Major bugfixes (other):
  20966. - When unable to find any working directory nodes to use as a
  20967. directory guard, give up rather than adding the same non-working
  20968. nodes to the directory guard list over and over. Fixes bug 8231;
  20969. bugfix on 0.2.4.8-alpha.
  20970. o Minor features:
  20971. - Reject as invalid most directory objects containing a NUL.
  20972. Belt-and-suspender fix for bug 8037.
  20973. - In our testsuite, create temporary directories with a bit more
  20974. entropy in their name to make name collisions less likely. Fixes
  20975. bug 8638.
  20976. - Add CACHED keyword to ADDRMAP events in the control protocol
  20977. to indicate whether a DNS result will be cached or not. Resolves
  20978. ticket 8596.
  20979. - Update to the April 3 2013 Maxmind GeoLite Country database.
  20980. o Minor features (build):
  20981. - Detect and reject attempts to build Tor with threading support
  20982. when OpenSSL has been compiled without threading support.
  20983. Fixes bug 6673.
  20984. - Clarify that when autoconf is checking for nacl, it is checking
  20985. specifically for nacl with a fast curve25519 implementation.
  20986. Fixes bug 8014.
  20987. - Warn if building on a platform with an unsigned time_t: there
  20988. are too many places where Tor currently assumes that time_t can
  20989. hold negative values. We'd like to fix them all, but probably
  20990. some will remain.
  20991. o Minor bugfixes (build):
  20992. - Fix some bugs in tor-fw-helper-natpmp when trying to build and
  20993. run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
  20994. Fixes bug 7280; bugfix on 0.2.3.1-alpha.
  20995. - Add the old src/or/micro-revision.i filename to CLEANFILES.
  20996. On the off chance that somebody has one, it will go away as soon
  20997. as they run "make clean". Fix for bug 7143; bugfix on 0.2.4.1-alpha.
  20998. - Build Tor correctly on 32-bit platforms where the compiler can build
  20999. but not run code using the "uint128_t" construction. Fixes bug 8587;
  21000. bugfix on 0.2.4.8-alpha.
  21001. - Fix compilation warning with some versions of clang that would
  21002. prefer the -Wswitch-enum compiler flag to warn about switch
  21003. statements with missing enum values, even if those switch
  21004. statements have a "default:" statement. Fixes bug 8598; bugfix
  21005. on 0.2.4.10-alpha.
  21006. o Minor bugfixes (protocol):
  21007. - Fix the handling of a TRUNCATE cell when it arrives while the
  21008. circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
  21009. - Fix a misframing issue when reading the version numbers in a
  21010. VERSIONS cell. Previously we would recognize [00 01 00 02] as
  21011. 'version 1, version 2, and version 0x100', when it should have
  21012. only included versions 1 and 2. Fixes bug 8059; bugfix on
  21013. 0.2.0.10-alpha. Reported pseudonymously.
  21014. - Make the format and order of STREAM events for DNS lookups
  21015. consistent among the various ways to launch DNS lookups. Fixes
  21016. bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy".
  21017. - Correct our check for which versions of Tor support the EXTEND2
  21018. cell. We had been willing to send it to Tor 0.2.4.7-alpha and
  21019. later, when support was really added in version 0.2.4.8-alpha.
  21020. Fixes bug 8464; bugfix on 0.2.4.8-alpha.
  21021. o Minor bugfixes (other):
  21022. - Correctly store microdescriptors and extrainfo descriptors with
  21023. an internal NUL byte. Fixes bug 8037; bugfix on 0.2.0.1-alpha.
  21024. Bug reported by "cypherpunks".
  21025. - Increase the width of the field used to remember a connection's
  21026. link protocol version to two bytes. Harmless for now, since the
  21027. only currently recognized versions are one byte long. Reported
  21028. pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
  21029. - If the state file's path bias counts are invalid (presumably from a
  21030. buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
  21031. additional checks and log messages to the scaling of Path Bias
  21032. counts, in case there still are remaining issues with scaling.
  21033. Should help resolve bug 8235.
  21034. - Eliminate several instances where we use "Nickname=ID" to refer to
  21035. nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
  21036. "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
  21037. on 0.2.3.21-rc, 0.2.4.5-alpha, 0.2.4.8-alpha, and 0.2.4.10-alpha.
  21038. o Minor bugfixes (syscalls):
  21039. - Always check the return values of functions fcntl() and
  21040. setsockopt(). We don't believe these are ever actually failing in
  21041. practice, but better safe than sorry. Also, checking these return
  21042. values should please analysis tools like Coverity. Patch from
  21043. 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
  21044. - Use direct writes rather than stdio when building microdescriptor
  21045. caches, in an attempt to mitigate bug 8031, or at least make it
  21046. less common.
  21047. o Minor bugfixes (config):
  21048. - When rejecting a configuration because we were unable to parse a
  21049. quoted string, log an actual error message. Fixes bug 7950; bugfix
  21050. on 0.2.0.16-alpha.
  21051. - Behave correctly when the user disables LearnCircuitBuildTimeout
  21052. but doesn't tell us what they would like the timeout to be. Fixes
  21053. bug 6304; bugfix on 0.2.2.14-alpha.
  21054. - When autodetecting the number of CPUs, use the number of available
  21055. CPUs in preference to the number of configured CPUs. Inform the
  21056. user if this reduces the number of available CPUs. Fixes bug 8002;
  21057. bugfix on 0.2.3.1-alpha.
  21058. - Make it an error when you set EntryNodes but disable UseGuardNodes,
  21059. since it will (surprisingly to some users) ignore EntryNodes. Fixes
  21060. bug 8180; bugfix on 0.2.3.11-alpha.
  21061. - Allow TestingTorNetworks to override the 4096-byte minimum for
  21062. the Fast threshold. Otherwise they can't bootstrap until they've
  21063. observed more traffic. Fixes bug 8508; bugfix on 0.2.4.10-alpha.
  21064. - Fix some logic errors when the user manually overrides the
  21065. PathsNeededToBuildCircuits option in torrc. Fixes bug 8599; bugfix
  21066. on 0.2.4.10-alpha.
  21067. o Minor bugfixes (log messages to help diagnose bugs):
  21068. - If we fail to free a microdescriptor because of bug 7164, log
  21069. the filename and line number from which we tried to free it.
  21070. - Add another diagnostic to the heartbeat message: track and log
  21071. overhead that TLS is adding to the data we write. If this is
  21072. high, we are sending too little data to SSL_write at a time.
  21073. Diagnostic for bug 7707.
  21074. - Add more detail to a log message about relaxed timeouts, to help
  21075. track bug 7799.
  21076. - Warn more aggressively when flushing microdescriptors to a
  21077. microdescriptor cache fails, in an attempt to mitigate bug 8031,
  21078. or at least make it more diagnosable.
  21079. - Improve debugging output to help track down bug 8185 ("Bug:
  21080. outgoing relay cell has n_chan==NULL. Dropping.")
  21081. - Log the purpose of a path-bias testing circuit correctly.
  21082. Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.
  21083. o Minor bugfixes (0.2.4.x log messages that were too noisy):
  21084. - Don't attempt to relax the timeout of already opened 1-hop circuits.
  21085. They might never timeout. This should eliminate some/all cases of
  21086. the relaxed timeout log message.
  21087. - Use circuit creation time for network liveness evaluation. This
  21088. should eliminate warning log messages about liveness caused
  21089. by changes in timeout evaluation. Fixes bug 6572; bugfix on
  21090. 0.2.4.8-alpha.
  21091. - Reduce a path bias length check from notice to info. The message
  21092. is triggered when creating controller circuits. Fixes bug 8196;
  21093. bugfix on 0.2.4.8-alpha.
  21094. - Fix a path state issue that triggered a notice during relay startup.
  21095. Fixes bug 8320; bugfix on 0.2.4.10-alpha.
  21096. - Reduce occurrences of warns about circuit purpose in
  21097. connection_ap_expire_building(). Fixes bug 8477; bugfix on
  21098. 0.2.4.11-alpha.
  21099. o Minor bugfixes (pre-0.2.4.x log messages that were too noisy):
  21100. - If we encounter a write failure on a SOCKS connection before we
  21101. finish our SOCKS handshake, don't warn that we closed the
  21102. connection before we could send a SOCKS reply. Fixes bug 8427;
  21103. bugfix on 0.1.0.1-rc.
  21104. - Correctly recognize that [::1] is a loopback address. Fixes
  21105. bug 8377; bugfix on 0.2.1.3-alpha.
  21106. - Fix a directory authority warn caused when we have a large amount
  21107. of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
  21108. - Don't log inappropriate heartbeat messages when hibernating: a
  21109. hibernating node is _expected_ to drop out of the consensus,
  21110. decide it isn't bootstrapped, and so forth. Fixes bug 7302;
  21111. bugfix on 0.2.3.1-alpha.
  21112. - Don't complain about bootstrapping problems while hibernating.
  21113. These complaints reflect a general code problem, but not one
  21114. with any problematic effects (no connections are actually
  21115. opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
  21116. o Documentation fixes:
  21117. - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
  21118. names match. Fixes bug 7768.
  21119. - Make the torify manpage no longer refer to tsocks; torify hasn't
  21120. supported tsocks since 0.2.3.14-alpha.
  21121. - Make the tor manpage no longer reference tsocks.
  21122. - Fix the GeoIPExcludeUnknown documentation to refer to
  21123. ExcludeExitNodes rather than the currently nonexistent
  21124. ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
  21125. o Removed files:
  21126. - The tor-tsocks.conf is no longer distributed or installed. We
  21127. recommend that tsocks users use torsocks instead. Resolves
  21128. ticket 8290.
  21129. Changes in version 0.2.4.11-alpha - 2013-03-11
  21130. Tor 0.2.4.11-alpha makes relay measurement by directory authorities
  21131. more robust, makes hidden service authentication work again, and
  21132. resolves a DPI fingerprint for Tor's SSL transport.
  21133. o Major features (directory authorities):
  21134. - Directory authorities now support a new consensus method (17)
  21135. where they cap the published bandwidth of servers for which
  21136. insufficient bandwidth measurements exist. Fixes part of bug 2286.
  21137. - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
  21138. serve any v2 directory information. Now we can test disabling the
  21139. old deprecated v2 directory format, and see whether doing so has
  21140. any effect on network load. Begins to fix bug 6783.
  21141. - Directory authorities now include inside each vote a statement of
  21142. the performance thresholds they used when assigning flags.
  21143. Implements ticket 8151.
  21144. o Major bugfixes (directory authorities):
  21145. - Stop marking every relay as having been down for one hour every
  21146. time we restart a directory authority. These artificial downtimes
  21147. were messing with our Stable and Guard flag calculations. Fixes
  21148. bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
  21149. o Major bugfixes (hidden services):
  21150. - Allow hidden service authentication to succeed again. When we
  21151. refactored the hidden service introduction code back
  21152. in 0.2.4.1-alpha, we didn't update the code that checks
  21153. whether authentication information is present, causing all
  21154. authentication checks to return "false". Fix for bug 8207; bugfix
  21155. on 0.2.4.1-alpha. Found by Coverity; this is CID 718615.
  21156. o Minor features (relays, bridges):
  21157. - Make bridge relays check once a minute for whether their IP
  21158. address has changed, rather than only every 15 minutes. Resolves
  21159. bugs 1913 and 1992.
  21160. - Refactor resolve_my_address() so it returns the method by which we
  21161. decided our public IP address (explicitly configured, resolved from
  21162. explicit hostname, guessed from interfaces, learned by gethostname).
  21163. Now we can provide more helpful log messages when a relay guesses
  21164. its IP address incorrectly (e.g. due to unexpected lines in
  21165. /etc/hosts). Resolves ticket 2267.
  21166. - Teach bridge-using clients to avoid 0.2.2 bridges when making
  21167. microdescriptor-related dir requests, and only fall back to normal
  21168. descriptors if none of their bridges can handle microdescriptors
  21169. (as opposed to the fix in ticket 4013, which caused them to fall
  21170. back to normal descriptors if *any* of their bridges preferred
  21171. them). Resolves ticket 4994.
  21172. - Randomize the lifetime of our SSL link certificate, so censors can't
  21173. use the static value for filtering Tor flows. Resolves ticket 8443;
  21174. related to ticket 4014 which was included in 0.2.2.33.
  21175. - Support a new version of the link protocol that allows 4-byte circuit
  21176. IDs. Previously, circuit IDs were limited to 2 bytes, which presented
  21177. a possible resource exhaustion issue. Closes ticket 7351; implements
  21178. proposal 214.
  21179. o Minor features (portability):
  21180. - Tweak the curve25519-donna*.c implementations to tolerate systems
  21181. that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
  21182. - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
  21183. the signs of types during autoconf. This is better than our old
  21184. approach, which didn't work when cross-compiling.
  21185. - Detect the sign of enum values, rather than assuming that MSC is the
  21186. only compiler where enum types are all signed. Fixes bug 7727;
  21187. bugfix on 0.2.4.10-alpha.
  21188. o Minor features (other):
  21189. - Say "KBytes" rather than "KB" in the man page (for various values
  21190. of K), to further reduce confusion about whether Tor counts in
  21191. units of memory or fractions of units of memory. Resolves ticket 7054.
  21192. - Clear the high bit on curve25519 public keys before passing them to
  21193. our backend, in case we ever wind up using a backend that doesn't do
  21194. so itself. If we used such a backend, and *didn't* clear the high bit,
  21195. we could wind up in a situation where users with such backends would
  21196. be distinguishable from users without. Fixes bug 8121; bugfix on
  21197. 0.2.4.8-alpha.
  21198. - Update to the March 6 2013 Maxmind GeoLite Country database.
  21199. o Minor bugfixes (clients):
  21200. - When we receive a RELAY_END cell with the reason DONE, or with no
  21201. reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
  21202. status as "connection refused". Previously we reported these cases
  21203. as success but then immediately closed the connection. Fixes bug
  21204. 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
  21205. - Downgrade an assertion in connection_ap_expire_beginning to an
  21206. LD_BUG message. The fix for bug 8024 should prevent this message
  21207. from displaying, but just in case, a warn that we can diagnose
  21208. is better than more assert crashes. Fixes bug 8065; bugfix on
  21209. 0.2.4.8-alpha.
  21210. - Lower path use bias thresholds to .80 for notice and .60 for warn.
  21211. Also make the rate limiting flags for the path use bias log messages
  21212. independent from the original path bias flags. Fixes bug 8161;
  21213. bugfix on 0.2.4.10-alpha.
  21214. o Minor bugfixes (relays):
  21215. - Stop trying to resolve our hostname so often (e.g. every time we
  21216. think about doing a directory fetch). Now we reuse the cached
  21217. answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
  21218. and 2410 (bugfix on 0.1.2.2-alpha).
  21219. - Stop sending a stray "(null)" in some cases for the server status
  21220. "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
  21221. on 0.1.2.6-alpha.
  21222. - When choosing which stream on a formerly stalled circuit to wake
  21223. first, make better use of the platform's weak RNG. Previously,
  21224. we had been using the % ("modulo") operator to try to generate a
  21225. 1/N chance of picking each stream, but this behaves badly with
  21226. many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
  21227. 0.2.2.20-alpha.
  21228. - Use our own weak RNG when we need a weak RNG. Windows's rand() and
  21229. Irix's random() only return 15 bits; Solaris's random() returns more
  21230. bits but its RAND_MAX says it only returns 15, and so on. Motivated
  21231. by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
  21232. o Minor bugfixes (directory authorities):
  21233. - Directory authorities now use less space when formatting identical
  21234. microdescriptor lines in directory votes. Fixes bug 8158; bugfix
  21235. on 0.2.4.1-alpha.
  21236. o Minor bugfixes (memory leaks spotted by Coverity -- bug 7816):
  21237. - Avoid leaking memory if we fail to compute a consensus signature
  21238. or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
  21239. - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
  21240. on 0.2.1.1-alpha.
  21241. - Fix a memory leak during safe-cookie controller authentication.
  21242. Bugfix on 0.2.3.13-alpha.
  21243. - Avoid memory leak of IPv6 policy content if we fail to format it into
  21244. a router descriptor. Bugfix on 0.2.4.7-alpha.
  21245. o Minor bugfixes (other code correctness issues):
  21246. - Avoid a crash if we fail to generate an extrainfo descriptor.
  21247. Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
  21248. this is CID 718634.
  21249. - When detecting the largest possible file descriptor (in order to
  21250. close all file descriptors when launching a new program), actually
  21251. use _SC_OPEN_MAX. The old code for doing this was very, very broken.
  21252. Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
  21253. is CID 743383.
  21254. - Fix a copy-and-paste error when adding a missing A1 to a routerset
  21255. because of GeoIPExcludeUnknown. Fix for Coverity CID 980650.
  21256. Bugfix on 0.2.4.10-alpha.
  21257. - Fix an impossible-to-trigger integer overflow when estimating how
  21258. long our onionskin queue would take. (This overflow would require us
  21259. to accept 4 million onionskins before processing 100 of them.) Fixes
  21260. bug 8210; bugfix on 0.2.4.10-alpha.
  21261. o Code simplification and refactoring:
  21262. - Add a wrapper function for the common "log a message with a
  21263. rate-limit" case.
  21264. Changes in version 0.2.4.10-alpha - 2013-02-04
  21265. Tor 0.2.4.10-alpha adds defenses at the directory authority level from
  21266. certain attacks that flood the network with relays; changes the queue
  21267. for circuit create requests from a sized-based limit to a time-based
  21268. limit; resumes building with MSVC on Windows; and fixes a wide variety
  21269. of other issues.
  21270. o Major bugfixes (directory authority):
  21271. - When computing directory thresholds, ignore any rejected-as-sybil
  21272. nodes during the computation so that they can't influence Fast,
  21273. Guard, etc. (We should have done this for proposal 109.) Fixes
  21274. bug 8146.
  21275. - When marking a node as a likely sybil, reset its uptime metrics
  21276. to zero, so that it cannot time towards getting marked as Guard,
  21277. Stable, or HSDir. (We should have done this for proposal 109.) Fixes
  21278. bug 8147.
  21279. o Major bugfixes:
  21280. - When a TLS write is partially successful but incomplete, remember
  21281. that the flushed part has been flushed, and notice that bytes were
  21282. actually written. Reported and fixed pseudonymously. Fixes bug
  21283. 7708; bugfix on Tor 0.1.0.5-rc.
  21284. - Reject bogus create and relay cells with 0 circuit ID or 0 stream
  21285. ID: these could be used to create unexpected streams and circuits
  21286. which would count as "present" to some parts of Tor but "absent"
  21287. to others, leading to zombie circuits and streams or to a bandwidth
  21288. denial-of-service. Fixes bug 7889; bugfix on every released version
  21289. of Tor. Reported by "oftc_must_be_destroyed".
  21290. - Rename all macros in our local copy of queue.h to begin with "TOR_".
  21291. This change seems the only good way to permanently prevent conflicts
  21292. with queue.h on various operating systems. Fixes bug 8107; bugfix
  21293. on 0.2.4.6-alpha.
  21294. o Major features (relay):
  21295. - Instead of limiting the number of queued onionskins (aka circuit
  21296. create requests) to a fixed, hard-to-configure number, we limit
  21297. the size of the queue based on how many we expect to be able to
  21298. process in a given amount of time. We estimate the time it will
  21299. take to process an onionskin based on average processing time
  21300. of previous onionskins. Closes ticket 7291. You'll never have to
  21301. configure MaxOnionsPending again.
  21302. o Major features (portability):
  21303. - Resume building correctly with MSVC and Makefile.nmake. This patch
  21304. resolves numerous bugs and fixes reported by ultramage, including
  21305. 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
  21306. - Make the ntor and curve25519 code build correctly with MSVC.
  21307. Fix on 0.2.4.8-alpha.
  21308. o Minor features:
  21309. - When directory authorities are computing thresholds for flags,
  21310. never let the threshold for the Fast flag fall below 4096
  21311. bytes. Also, do not consider nodes with extremely low bandwidths
  21312. when deciding thresholds for various directory flags. This change
  21313. should raise our threshold for Fast relays, possibly in turn
  21314. improving overall network performance; see ticket 1854. Resolves
  21315. ticket 8145.
  21316. - The Tor client now ignores sub-domain components of a .onion
  21317. address. This change makes HTTP "virtual" hosting
  21318. possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
  21319. http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
  21320. hosted on the same hidden service. Implements proposal 204.
  21321. - We compute the overhead from passing onionskins back and forth to
  21322. cpuworkers, and report it when dumping statistics in response to
  21323. SIGUSR1. Supports ticket 7291.
  21324. o Minor features (path selection):
  21325. - When deciding whether we have enough descriptors to build circuits,
  21326. instead of looking at raw relay counts, look at which fraction
  21327. of (bandwidth-weighted) paths we're able to build. This approach
  21328. keeps clients from building circuits if their paths are likely to
  21329. stand out statistically. The default fraction of paths needed is
  21330. taken from the consensus directory; you can override it with the
  21331. new PathsNeededToBuildCircuits option. Fixes ticket 5956.
  21332. - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
  21333. and we have GeoIP information, also exclude all nodes with unknown
  21334. countries "??" and "A1". This behavior is controlled by the
  21335. new GeoIPExcludeUnknown option: you can make such nodes always
  21336. excluded with "GeoIPExcludeUnknown 1", and disable the feature
  21337. with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
  21338. gets you the default behavior. Implements feature 7706.
  21339. - Path Use Bias: Perform separate accounting for successful circuit
  21340. use. Keep separate statistics on stream attempt rates versus stream
  21341. success rates for each guard. Provide configurable thresholds to
  21342. determine when to emit log messages or disable use of guards that
  21343. fail too many stream attempts. Resolves ticket 7802.
  21344. o Minor features (log messages):
  21345. - When learning a fingerprint for a bridge, log its corresponding
  21346. transport type. Implements ticket 7896.
  21347. - Improve the log message when "Bug/attack: unexpected sendme cell
  21348. from client" occurs, to help us track bug 8093.
  21349. o Minor bugfixes:
  21350. - Remove a couple of extraneous semicolons that were upsetting the
  21351. cparser library. Patch by Christian Grothoff. Fixes bug 7115;
  21352. bugfix on 0.2.2.1-alpha.
  21353. - Remove a source of rounding error during path bias count scaling;
  21354. don't count cannibalized circuits as used for path bias until we
  21355. actually try to use them; and fix a circuit_package_relay_cell()
  21356. warning message about n_chan==NULL. Fixes bug 7802.
  21357. - Detect nacl when its headers are in a nacl/ subdirectory. Also,
  21358. actually link against nacl when we're configured to use it. Fixes
  21359. bug 7972; bugfix on 0.2.4.8-alpha.
  21360. - Compile correctly with the --disable-curve25519 option. Fixes
  21361. bug 8153; bugfix on 0.2.4.8-alpha.
  21362. o Build improvements:
  21363. - Do not report status verbosely from autogen.sh unless the -v flag
  21364. is specified. Fixes issue 4664. Patch from Onizuka.
  21365. - Replace all calls to snprintf() outside of src/ext with
  21366. tor_snprintf(). Also remove the #define to replace snprintf with
  21367. _snprintf on Windows; they have different semantics, and all of
  21368. our callers should be using tor_snprintf() anyway. Fixes bug 7304.
  21369. - Try to detect if we are ever building on a platform where
  21370. memset(...,0,...) does not set the value of a double to 0.0. Such
  21371. platforms are permitted by the C standard, though in practice
  21372. they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
  21373. currently support them, but it's better to detect them and fail
  21374. than to perform erroneously.
  21375. o Removed features:
  21376. - Stop exporting estimates of v2 and v3 directory traffic shares
  21377. in extrainfo documents. They were unneeded and sometimes inaccurate.
  21378. Also stop exporting any v2 directory request statistics. Resolves
  21379. ticket 5823.
  21380. - Drop support for detecting and warning about versions of Libevent
  21381. before 1.3e. Nothing reasonable ships with them any longer;
  21382. warning the user about them shouldn't be needed. Resolves ticket
  21383. 6826.
  21384. o Code simplifications and refactoring:
  21385. - Rename "isin" functions to "contains", for grammar. Resolves
  21386. ticket 5285.
  21387. - Rename Tor's logging function log() to tor_log(), to avoid conflicts
  21388. with the natural logarithm function from the system libm. Resolves
  21389. ticket 7599.
  21390. Changes in version 0.2.4.9-alpha - 2013-01-15
  21391. Tor 0.2.4.9-alpha provides a quick fix to make the new ntor handshake
  21392. work more robustly.
  21393. o Major bugfixes:
  21394. - Fix backward compatibility logic when receiving an embedded ntor
  21395. handshake tunneled in a CREATE cell. This clears up the "Bug:
  21396. couldn't format CREATED cell" warning. Fixes bug 7959; bugfix
  21397. on 0.2.4.8-alpha.
  21398. Changes in version 0.2.4.8-alpha - 2013-01-14
  21399. Tor 0.2.4.8-alpha introduces directory guards to reduce user enumeration
  21400. risks, adds a new stronger and faster circuit handshake, and offers
  21401. stronger and faster link encryption when both sides support it.
  21402. o Major features:
  21403. - Preliminary support for directory guards (proposal 207): when
  21404. possible, clients now use their entry guards for non-anonymous
  21405. directory requests. This can help prevent client enumeration. Note
  21406. that this behavior only works when we have a usable consensus
  21407. directory, and when options about what to download are more or less
  21408. standard. In the future we should re-bootstrap from our guards,
  21409. rather than re-bootstrapping from the preconfigured list of
  21410. directory sources that ships with Tor. Resolves ticket 6526.
  21411. - Tor relays and clients now support a better CREATE/EXTEND cell
  21412. format, allowing the sender to specify multiple address, identity,
  21413. and handshake types. Implements Robert Ransom's proposal 200;
  21414. closes ticket 7199.
  21415. o Major features (new circuit handshake):
  21416. - Tor now supports a new circuit extension handshake designed by Ian
  21417. Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
  21418. circuit extension handshake, later called "TAP", was a bit slow
  21419. (especially on the relay side), had a fragile security proof, and
  21420. used weaker keys than we'd now prefer. The new circuit handshake
  21421. uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
  21422. function, making it significantly more secure than the older
  21423. handshake, and significantly faster. Tor can use one of two built-in
  21424. pure-C curve25519-donna implementations by Adam Langley, or it
  21425. can link against the "nacl" library for a tuned version if present.
  21426. The built-in version is very fast for 64-bit systems when building
  21427. with GCC. The built-in 32-bit version is still faster than the
  21428. old TAP protocol, but using libnacl is better on most such hosts.
  21429. Clients don't currently use this protocol by default, since
  21430. comparatively few clients support it so far. To try it, set
  21431. UseNTorHandshake to 1.
  21432. Implements proposal 216; closes ticket 7202.
  21433. o Major features (better link encryption):
  21434. - Relays can now enable the ECDHE TLS ciphersuites when available
  21435. and appropriate. These ciphersuites let us negotiate forward-secure
  21436. TLS secret keys more safely and more efficiently than with our
  21437. previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
  21438. public relays prefer the (faster) P224 group, and bridges prefer
  21439. the (more common) P256 group; you can override this with the
  21440. TLSECGroup option.
  21441. Enabling these ciphers was a little tricky, since for a long time,
  21442. clients had been claiming to support them without actually doing
  21443. so, in order to foil fingerprinting. But with the client-side
  21444. implementation of proposal 198 in 0.2.3.17-beta, clients can now
  21445. match the ciphers from recent Firefox versions *and* list the
  21446. ciphers they actually mean, so relays can believe such clients
  21447. when they advertise ECDHE support in their TLS ClientHello messages.
  21448. This feature requires clients running 0.2.3.17-beta or later,
  21449. and requires both sides to be running OpenSSL 1.0.0 or later
  21450. with ECC support. OpenSSL 1.0.1, with the compile-time option
  21451. "enable-ec_nistp_64_gcc_128", is highly recommended.
  21452. Implements the relay side of proposal 198; closes ticket 7200.
  21453. o Major bugfixes:
  21454. - Avoid crashing when, as a relay without IPv6-exit support, a
  21455. client insists on getting an IPv6 address or nothing. Fixes bug
  21456. 7814; bugfix on 0.2.4.7-alpha.
  21457. o Minor features:
  21458. - Improve circuit build timeout handling for hidden services.
  21459. In particular: adjust build timeouts more accurately depending
  21460. upon the number of hop-RTTs that a particular circuit type
  21461. undergoes. Additionally, launch intro circuits in parallel
  21462. if they timeout, and take the first one to reply as valid.
  21463. - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
  21464. separate error codes; or at least, don't break for that reason.
  21465. Fixes bug 7935. Reported by "oftc_must_be_destroyed".
  21466. - Update to the January 2 2013 Maxmind GeoLite Country database.
  21467. o Minor features (testing):
  21468. - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
  21469. (P-256) Diffie-Hellman handshakes to src/or/bench.
  21470. - Add benchmark functions to test onion handshake performance.
  21471. o Minor features (path bias detection):
  21472. - Alter the Path Bias log messages to be more descriptive in terms
  21473. of reporting timeouts and other statistics.
  21474. - Create three levels of Path Bias log messages, as opposed to just
  21475. two. These are configurable via consensus as well as via the torrc
  21476. options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
  21477. The default values are 0.70, 0.50, and 0.30 respectively.
  21478. - Separate the log message levels from the decision to drop guards,
  21479. which also is available via torrc option PathBiasDropGuards.
  21480. PathBiasDropGuards still defaults to 0 (off).
  21481. - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
  21482. in combination with PathBiasExtremeRate.
  21483. - Increase the default values for PathBiasScaleThreshold and
  21484. PathBiasCircThreshold from (200, 20) to (300, 150).
  21485. - Add in circuit usage accounting to path bias. If we try to use a
  21486. built circuit but fail for any reason, it counts as path bias.
  21487. Certain classes of circuits where the adversary gets to pick your
  21488. destination node are exempt from this accounting. Usage accounting
  21489. can be specifically disabled via consensus parameter or torrc.
  21490. - Convert all internal path bias state to double-precision floating
  21491. point, to avoid roundoff error and other issues.
  21492. - Only record path bias information for circuits that have completed
  21493. *two* hops. Assuming end-to-end tagging is the attack vector, this
  21494. makes us more resilient to ambient circuit failure without any
  21495. detection capability loss.
  21496. o Minor bugfixes (log messages):
  21497. - Rate-limit the "No circuits are opened. Relaxed timeout for a
  21498. circuit with channel state open..." message to once per hour to
  21499. keep it from filling the notice logs. Mitigates bug 7799 but does
  21500. not fix the underlying cause. Bugfix on 0.2.4.7-alpha.
  21501. - Avoid spurious warnings when configuring multiple client ports of
  21502. which only some are nonlocal. Previously, we had claimed that some
  21503. were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
  21504. 0.2.3.3-alpha.
  21505. o Code simplifications and refactoring:
  21506. - Get rid of a couple of harmless clang warnings, where we compared
  21507. enums to ints. These warnings are newly introduced in clang 3.2.
  21508. - Split the onion.c file into separate modules for the onion queue
  21509. and the different handshakes it supports.
  21510. - Remove the marshalling/unmarshalling code for sending requests to
  21511. cpuworkers over a socket, and instead just send structs. The
  21512. recipient will always be the same Tor binary as the sender, so
  21513. any encoding is overkill.
  21514. Changes in version 0.2.4.7-alpha - 2012-12-24
  21515. Tor 0.2.4.7-alpha introduces a new approach to providing fallback
  21516. directory mirrors for more robust bootstrapping; fixes more issues where
  21517. clients with changing network conditions refuse to make any circuits;
  21518. adds initial support for exiting to IPv6 addresses; resumes being able
  21519. to update our GeoIP database, and includes the geoip6 file this time;
  21520. turns off the client-side DNS cache by default due to privacy risks;
  21521. and fixes a variety of other issues.
  21522. o Major features (client resilience):
  21523. - Add a new "FallbackDir" torrc option to use when we can't use
  21524. a directory mirror from the consensus (either because we lack a
  21525. consensus, or because they're all down). Currently, all authorities
  21526. are fallbacks by default, and there are no other default fallbacks,
  21527. but that will change. This option will allow us to give clients a
  21528. longer list of servers to try to get a consensus from when first
  21529. connecting to the Tor network, and thereby reduce load on the
  21530. directory authorities. Implements proposal 206, "Preconfigured
  21531. directory sources for bootstrapping". We also removed the old
  21532. "FallbackNetworkstatus" option, since we never got it working well
  21533. enough to use it. Closes bug 572.
  21534. - If we have no circuits open, use a relaxed timeout (the
  21535. 95-percentile cutoff) until a circuit succeeds. This heuristic
  21536. should allow Tor to succeed at building circuits even when the
  21537. network connection drastically changes. Should help with bug 3443.
  21538. o Major features (IPv6):
  21539. - Relays can now exit to IPv6 addresses: make sure that you have IPv6
  21540. connectivity, then set the IPv6Exit flag to 1. Also make sure your
  21541. exit policy reads as you would like: the address * applies to all
  21542. address families, whereas *4 is IPv4 address only, and *6 is IPv6
  21543. addresses only. On the client side, you'll need to wait until the
  21544. authorities have upgraded, wait for enough exits to support IPv6,
  21545. apply the "IPv6Traffic" flag to a SocksPort, and use Socks5. Closes
  21546. ticket 5547, implements proposal 117 as revised in proposal 208.
  21547. We DO NOT recommend that clients with actual anonymity needs start
  21548. using IPv6 over Tor yet, since not enough exits support it yet.
  21549. o Major features (geoip database):
  21550. - Maxmind began labelling Tor relays as being in country "A1",
  21551. which breaks by-country node selection inside Tor. Now we use a
  21552. script to replace "A1" ("Anonymous Proxy") entries in our geoip
  21553. file with real country codes. This script fixes about 90% of "A1"
  21554. entries automatically and uses manual country code assignments to
  21555. fix the remaining 10%. See src/config/README.geoip for details.
  21556. Fixes bug 6266. Also update to the December 5 2012 Maxmind GeoLite
  21557. Country database, as modified above.
  21558. o Major bugfixes (client-side DNS):
  21559. - Turn off the client-side DNS cache by default. Updating and using
  21560. the DNS cache is now configurable on a per-client-port
  21561. level. SOCKSPort, DNSPort, etc lines may now contain
  21562. {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
  21563. cache these types of DNS answers when we receive them from an
  21564. exit node in response to an application request on this port, and
  21565. {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
  21566. cached DNS answers of these types, we shouldn't use them. It's
  21567. potentially risky to use cached DNS answers at the client, since
  21568. doing so can indicate to one exit what answers we've gotten
  21569. for DNS lookups in the past. With IPv6, this becomes especially
  21570. problematic. Using cached DNS answers for requests on the same
  21571. circuit would present less linkability risk, since all traffic
  21572. on a circuit is already linkable, but it would also provide
  21573. little performance benefit: the exit node caches DNS replies
  21574. too. Implements a simplified version of Proposal 205. Implements
  21575. ticket 7570.
  21576. o Major bugfixes (other):
  21577. - Alter circuit build timeout measurement to start at the point
  21578. where we begin the CREATE/CREATE_FAST step (as opposed to circuit
  21579. initialization). This should make our timeout measurements more
  21580. uniform. Previously, we were sometimes including ORconn setup time
  21581. in our circuit build time measurements. Should resolve bug 3443.
  21582. - Fix an assertion that could trigger in hibernate_go_dormant() when
  21583. closing an or_connection_t: call channel_mark_for_close() rather
  21584. than connection_mark_for_close(). Fixes bug 7267. Bugfix on
  21585. 0.2.4.4-alpha.
  21586. - Include the geoip6 IPv6 GeoIP database in the tarball. Fixes bug
  21587. 7655; bugfix on 0.2.4.6-alpha.
  21588. o Minor features:
  21589. - Add a new torrc option "ServerTransportListenAddr" to let bridge
  21590. operators select the address where their pluggable transports will
  21591. listen for connections. Resolves ticket 7013.
  21592. - Allow an optional $ before the node identity digest in the
  21593. controller command GETINFO ns/id/<identity>, for consistency with
  21594. md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
  21595. - Log packaged cell fullness as part of the heartbeat message.
  21596. Diagnosis to try to determine the extent of bug 7743.
  21597. o Minor features (IPv6):
  21598. - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
  21599. prefer to hand out virtual IPv6 addresses, since there are more of
  21600. them and we can't run out. To override this behavior and make IPv4
  21601. addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
  21602. or DNSPort you're using for resolving. Implements ticket 7571.
  21603. - AutomapHostsOnResolve responses are now randomized, to avoid
  21604. annoying situations where Tor is restarted and applications
  21605. connect to the wrong addresses.
  21606. - Never try more than 1000 times to pick a new virtual address when
  21607. AutomapHostsOnResolve is set. That's good enough so long as we
  21608. aren't close to handing out our entire virtual address space;
  21609. if you're getting there, it's best to switch to IPv6 virtual
  21610. addresses anyway.
  21611. o Minor bugfixes:
  21612. - The ADDRMAP command can no longer generate an ill-formed error
  21613. code on a failed MAPADDRESS. It now says "internal" rather than
  21614. an English sentence fragment with spaces in the middle. Bugfix on
  21615. Tor 0.2.0.19-alpha.
  21616. - Fix log messages and comments to avoid saying "GMT" when we mean
  21617. "UTC". Fixes bug 6113.
  21618. - Compile on win64 using mingw64. Fixes bug 7260; patches from
  21619. "yayooo".
  21620. - Fix a crash when debugging unit tests on Windows: deallocate a
  21621. shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
  21622. bugfix on 0.2.2.17-alpha. Reported by "ultramage".
  21623. o Renamed options:
  21624. - The DirServer option is now DirAuthority, for consistency with
  21625. current naming patterns. You can still use the old DirServer form.
  21626. o Code simplification and refactoring:
  21627. - Move the client-side address-map/virtual-address/DNS-cache code
  21628. out of connection_edge.c into a new addressmap.c module.
  21629. - Remove unused code for parsing v1 directories and "running routers"
  21630. documents. Fixes bug 6887.
  21631. Changes in version 0.2.3.25 - 2012-11-19
  21632. The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
  21633. Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
  21634. Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
  21635. programmer, and friend. Unstinting in his dedication to the cause of
  21636. freedom, he inspired and helped many of us as we began our work on
  21637. anonymity, and inspires us still. Please honor his memory by writing
  21638. software to protect people's freedoms, and by helping others to do so.
  21639. Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
  21640. significantly reduced directory overhead (via microdescriptors),
  21641. enormous crypto performance improvements for fast relays on new
  21642. enough hardware, a new v3 TLS handshake protocol that can better
  21643. resist fingerprinting, support for protocol obfuscation plugins (aka
  21644. pluggable transports), better scalability for hidden services, IPv6
  21645. support for bridges, performance improvements like allowing clients
  21646. to skip the first round-trip on the circuit ("optimistic data") and
  21647. refilling token buckets more often, a new "stream isolation" design
  21648. to isolate different applications on different circuits, and many
  21649. stability, security, and privacy fixes.
  21650. o Major bugfixes:
  21651. - Tor tries to wipe potentially sensitive data after using it, so
  21652. that if some subsequent security failure exposes Tor's memory,
  21653. the damage will be limited. But we had a bug where the compiler
  21654. was eliminating these wipe operations when it decided that the
  21655. memory was no longer visible to a (correctly running) program,
  21656. hence defeating our attempt at defense in depth. We fix that
  21657. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  21658. is unlikely to optimize away. Future versions of Tor may use
  21659. a less ridiculously heavy approach for this. Fixes bug 7352.
  21660. Reported in an article by Andrey Karpov.
  21661. o Minor bugfixes:
  21662. - Fix a harmless bug when opting against publishing a relay descriptor
  21663. because DisableNetwork is set. Fixes bug 7464; bugfix on
  21664. 0.2.3.9-alpha.
  21665. Changes in version 0.2.4.6-alpha - 2012-11-13
  21666. Tor 0.2.4.6-alpha fixes an assert bug that has been plaguing relays,
  21667. makes our defense-in-depth memory wiping more reliable, and begins to
  21668. count IPv6 addresses in bridge statistics,
  21669. o Major bugfixes:
  21670. - Fix an assertion failure that could occur when closing a connection
  21671. with a spliced rendezvous circuit. Fix for bug 7212; bugfix on
  21672. Tor 0.2.4.4-alpha.
  21673. - Tor tries to wipe potentially sensitive data after using it, so
  21674. that if some subsequent security failure exposes Tor's memory,
  21675. the damage will be limited. But we had a bug where the compiler
  21676. was eliminating these wipe operations when it decided that the
  21677. memory was no longer visible to a (correctly running) program,
  21678. hence defeating our attempt at defense in depth. We fix that
  21679. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  21680. is unlikely to optimize away. Future versions of Tor may use
  21681. a less ridiculously heavy approach for this. Fixes bug 7352.
  21682. Reported in an article by Andrey Karpov.
  21683. o Minor features:
  21684. - Add GeoIP database for IPv6 addresses. The new config option
  21685. is GeoIPv6File.
  21686. - Bridge statistics now count bridge clients connecting over IPv6:
  21687. bridge statistics files now list "bridge-ip-versions" and
  21688. extra-info documents list "geoip6-db-digest". The control protocol
  21689. "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
  21690. implementation by "shkoo", addressing ticket 5055.
  21691. o Minor bugfixes:
  21692. - Warn when we are binding low ports when hibernation is enabled;
  21693. previously we had warned when we were _advertising_ low ports with
  21694. hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
  21695. - Fix a harmless bug when opting against publishing a relay descriptor
  21696. because DisableNetwork is set. Fixes bug 7464; bugfix on
  21697. 0.2.3.9-alpha.
  21698. - Add warning message when a managed proxy dies during configuration.
  21699. Fixes bug 7195; bugfix on 0.2.4.2-alpha.
  21700. - Fix a linking error when building tor-fw-helper without miniupnp.
  21701. Fixes bug 7235; bugfix on 0.2.4.2-alpha. Fix by Anthony G. Basile.
  21702. - Check for closing an or_connection_t without going through correct
  21703. channel functions; emit a warning and then call
  21704. connection_or_close_for_error() so we don't assert as in bugs 7212
  21705. and 7267.
  21706. - Compile correctly on compilers without C99 designated initializer
  21707. support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.
  21708. - Avoid a possible assert that can occur when channel_send_destroy() is
  21709. called on a channel in CHANNEL_STATE_CLOSING, CHANNEL_STATE_CLOSED,
  21710. or CHANNEL_STATE_ERROR when the Tor process is resumed after being
  21711. blocked for a long interval. Fixes bug 7350; bugfix on 0.2.4.4-alpha.
  21712. - Fix a memory leak on failing cases of channel_tls_process_certs_cell.
  21713. Fixes bug 7422; bugfix on 0.2.4.4-alpha.
  21714. o Code simplification and refactoring:
  21715. - Start using OpenBSD's implementation of queue.h, so that we don't
  21716. need to hand-roll our own pointer and list structures whenever we
  21717. need them. (We can't rely on a sys/queue.h, since some operating
  21718. systems don't have them, and the ones that do have them don't all
  21719. present the same extensions.)
  21720. Changes in version 0.2.4.5-alpha - 2012-10-25
  21721. Tor 0.2.4.5-alpha comes hard at the heels of 0.2.4.4-alpha, to fix
  21722. two important security vulnerabilities that could lead to remotely
  21723. triggerable relay crashes, fix a major bug that was preventing clients
  21724. from choosing suitable exit nodes, and refactor some of our code.
  21725. o Major bugfixes (security, also in 0.2.3.24-rc):
  21726. - Fix a group of remotely triggerable assertion failures related to
  21727. incorrect link protocol negotiation. Found, diagnosed, and fixed
  21728. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  21729. 0.2.3.6-alpha.
  21730. - Fix a denial of service attack by which any directory authority
  21731. could crash all the others, or by which a single v2 directory
  21732. authority could crash everybody downloading v2 directory
  21733. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  21734. o Major bugfixes (also in 0.2.3.24-rc):
  21735. - When parsing exit policy summaries from microdescriptors, we had
  21736. previously been ignoring the last character in each one, so that
  21737. "accept 80,443,8080" would be treated by clients as indicating
  21738. a node that allows access to ports 80, 443, and 808. That would
  21739. lead to clients attempting connections that could never work,
  21740. and ignoring exit nodes that would support their connections. Now
  21741. clients parse these exit policy summaries correctly. Fixes bug 7192;
  21742. bugfix on 0.2.3.1-alpha.
  21743. o Minor bugfixes (also in 0.2.3.24-rc):
  21744. - Clients now consider the ClientRejectInternalAddresses config option
  21745. when using a microdescriptor consensus stanza to decide whether
  21746. an exit relay would allow exiting to an internal address. Fixes
  21747. bug 7190; bugfix on 0.2.3.1-alpha.
  21748. o Minor bugfixes:
  21749. - Only disable TLS session ticket support when running as a TLS
  21750. server. Now clients will blend better with regular Firefox
  21751. connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
  21752. o Code simplification and refactoring:
  21753. - Start using OpenBSD's implementation of queue.h (originally by
  21754. Niels Provos).
  21755. - Move the entry node code from circuitbuild.c to its own file.
  21756. - Move the circuit build timeout tracking code from circuitbuild.c
  21757. to its own file.
  21758. Changes in version 0.2.3.24-rc - 2012-10-25
  21759. Tor 0.2.3.24-rc fixes two important security vulnerabilities that
  21760. could lead to remotely triggerable relay crashes, and fixes
  21761. a major bug that was preventing clients from choosing suitable exit
  21762. nodes.
  21763. o Major bugfixes (security):
  21764. - Fix a group of remotely triggerable assertion failures related to
  21765. incorrect link protocol negotiation. Found, diagnosed, and fixed
  21766. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  21767. 0.2.3.6-alpha.
  21768. - Fix a denial of service attack by which any directory authority
  21769. could crash all the others, or by which a single v2 directory
  21770. authority could crash everybody downloading v2 directory
  21771. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  21772. o Major bugfixes:
  21773. - When parsing exit policy summaries from microdescriptors, we had
  21774. previously been ignoring the last character in each one, so that
  21775. "accept 80,443,8080" would be treated by clients as indicating
  21776. a node that allows access to ports 80, 443, and 808. That would
  21777. lead to clients attempting connections that could never work,
  21778. and ignoring exit nodes that would support their connections. Now
  21779. clients parse these exit policy summaries correctly. Fixes bug 7192;
  21780. bugfix on 0.2.3.1-alpha.
  21781. o Minor bugfixes:
  21782. - Clients now consider the ClientRejectInternalAddresses config option
  21783. when using a microdescriptor consensus stanza to decide whether
  21784. an exit relay would allow exiting to an internal address. Fixes
  21785. bug 7190; bugfix on 0.2.3.1-alpha.
  21786. Changes in version 0.2.4.4-alpha - 2012-10-20
  21787. Tor 0.2.4.4-alpha adds a new v3 directory authority, fixes a privacy
  21788. vulnerability introduced by a change in OpenSSL, fixes a remotely
  21789. triggerable assert, and adds new channel_t and circuitmux_t abstractions
  21790. that will make it easier to test new connection transport and cell
  21791. scheduling algorithms.
  21792. o New directory authorities (also in 0.2.3.23-rc):
  21793. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  21794. authority. Closes ticket 5749.
  21795. o Major bugfixes (security/privacy, also in 0.2.3.23-rc):
  21796. - Disable TLS session tickets. OpenSSL's implementation was giving
  21797. our TLS session keys the lifetime of our TLS context objects, when
  21798. perfect forward secrecy would want us to discard anything that
  21799. could decrypt a link connection as soon as the link connection
  21800. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  21801. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  21802. - Discard extraneous renegotiation attempts once the V3 link
  21803. protocol has been initiated. Failure to do so left us open to
  21804. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  21805. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  21806. o Internal abstraction features:
  21807. - Introduce new channel_t abstraction between circuits and
  21808. or_connection_t to allow for implementing alternate OR-to-OR
  21809. transports. A channel_t is an abstract object which can either be a
  21810. cell-bearing channel, which is responsible for authenticating and
  21811. handshaking with the remote OR and transmitting cells to and from
  21812. it, or a listening channel, which spawns new cell-bearing channels
  21813. at the request of remote ORs. Implements part of ticket 6465.
  21814. - Also new is the channel_tls_t subclass of channel_t, adapting it
  21815. to the existing or_connection_t code. The V2/V3 protocol handshaking
  21816. code which formerly resided in command.c has been moved below the
  21817. channel_t abstraction layer and may be found in channeltls.c now.
  21818. Implements the rest of ticket 6465.
  21819. - Introduce new circuitmux_t storing the queue of circuits for
  21820. a channel; this encapsulates and abstracts the queue logic and
  21821. circuit selection policy, and allows the latter to be overridden
  21822. easily by switching out a policy object. The existing EWMA behavior
  21823. is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
  21824. o Required libraries:
  21825. - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
  21826. strongly recommended.
  21827. o Minor features:
  21828. - Warn users who run hidden services on a Tor client with
  21829. UseEntryGuards disabled that their hidden services will be
  21830. vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
  21831. attack which motivated Tor to support entry guards in the first
  21832. place). Resolves ticket 6889.
  21833. - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
  21834. dhill. Resolves ticket 6982.
  21835. - Option OutboundBindAddress can be specified multiple times and
  21836. accepts IPv6 addresses. Resolves ticket 6876.
  21837. o Minor bugfixes (also in 0.2.3.23-rc):
  21838. - Don't serve or accept v2 hidden service descriptors over a
  21839. relay's DirPort. It's never correct to do so, and disabling it
  21840. might make it more annoying to exploit any bugs that turn up in the
  21841. descriptor-parsing code. Fixes bug 7149.
  21842. - Fix two cases in src/or/transports.c where we were calling
  21843. fmt_addr() twice in a parameter list. Bug found by David
  21844. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  21845. - Fix memory leaks whenever we logged any message about the "path
  21846. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  21847. - When relays refuse a "create" cell because their queue of pending
  21848. create cells is too big (typically because their cpu can't keep up
  21849. with the arrival rate), send back reason "resource limit" rather
  21850. than reason "internal", so network measurement scripts can get a
  21851. more accurate picture. Fixes bug 7037; bugfix on 0.1.1.11-alpha.
  21852. o Minor bugfixes:
  21853. - Command-line option "--version" implies "--quiet". Fixes bug 6997.
  21854. - Free some more still-in-use memory at exit, to make hunting for
  21855. memory leaks easier. Resolves bug 7029.
  21856. - When a Tor client gets a "truncated" relay cell, the first byte of
  21857. its payload specifies why the circuit was truncated. We were
  21858. ignoring this 'reason' byte when tearing down the circuit, resulting
  21859. in the controller not being told why the circuit closed. Now we
  21860. pass the reason from the truncated cell to the controller. Bugfix
  21861. on 0.1.2.3-alpha; fixes bug 7039.
  21862. - Downgrade "Failed to hand off onionskin" messages to "debug"
  21863. severity, since they're typically redundant with the "Your computer
  21864. is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
  21865. - Make clients running with IPv6 bridges connect over IPv6 again,
  21866. even without setting new config options ClientUseIPv6 and
  21867. ClientPreferIPv6ORPort. Fixes bug 6757; bugfix on 0.2.4.1-alpha.
  21868. - Use square brackets around IPv6 addresses in numerous places
  21869. that needed them, including log messages, HTTPS CONNECT proxy
  21870. requests, TransportProxy statefile entries, and pluggable transport
  21871. extra-info lines. Fixes bug 7011; patch by David Fifield.
  21872. o Code refactoring and cleanup:
  21873. - Source files taken from other packages now reside in src/ext;
  21874. previously they were scattered around the rest of Tor.
  21875. - Avoid use of reserved identifiers in our C code. The C standard
  21876. doesn't like us declaring anything that starts with an
  21877. underscore, so let's knock it off before we get in trouble. Fix
  21878. for bug 1031; bugfix on the first Tor commit.
  21879. Changes in version 0.2.3.23-rc - 2012-10-20
  21880. Tor 0.2.3.23-rc adds a new v3 directory authority, fixes a privacy
  21881. vulnerability introduced by a change in OpenSSL, and fixes a variety
  21882. of smaller bugs in preparation for the release.
  21883. o New directory authorities:
  21884. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  21885. authority. Closes ticket 5749.
  21886. o Major bugfixes (security/privacy):
  21887. - Disable TLS session tickets. OpenSSL's implementation was giving
  21888. our TLS session keys the lifetime of our TLS context objects, when
  21889. perfect forward secrecy would want us to discard anything that
  21890. could decrypt a link connection as soon as the link connection
  21891. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  21892. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  21893. - Discard extraneous renegotiation attempts once the V3 link
  21894. protocol has been initiated. Failure to do so left us open to
  21895. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  21896. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  21897. o Major bugfixes:
  21898. - Fix a possible crash bug when checking for deactivated circuits
  21899. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  21900. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  21901. o Minor bugfixes (on 0.2.3.x):
  21902. - Fix two cases in src/or/transports.c where we were calling
  21903. fmt_addr() twice in a parameter list. Bug found by David
  21904. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  21905. - Convert an assert in the pathbias code to a log message. The assert
  21906. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  21907. bugfix on 0.2.3.17-beta.
  21908. - Fix memory leaks whenever we logged any message about the "path
  21909. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  21910. o Minor bugfixes (on 0.2.2.x and earlier):
  21911. - Don't serve or accept v2 hidden service descriptors over a relay's
  21912. DirPort. It's never correct to do so, and disabling it might
  21913. make it more annoying to exploit any bugs that turn up in the
  21914. descriptor-parsing code. Fixes bug 7149.
  21915. - When relays refuse a "create" cell because their queue of pending
  21916. create cells is too big (typically because their cpu can't keep up
  21917. with the arrival rate), send back reason "resource limit" rather
  21918. than reason "internal", so network measurement scripts can get a
  21919. more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
  21920. - Correct file sizes when reading binary files on Cygwin, to avoid
  21921. a bug where Tor would fail to read its state file. Fixes bug 6844;
  21922. bugfix on 0.1.2.7-alpha.
  21923. - Avoid undefined behavior when parsing the list of supported
  21924. rendezvous/introduction protocols in a hidden service descriptor.
  21925. Previously, Tor would have confused (as-yet-unused) protocol version
  21926. numbers greater than 32 with lower ones on many platforms. Fixes
  21927. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  21928. o Documentation fixes:
  21929. - Clarify that hidden services are TCP only. Fixes bug 6024.
  21930. Changes in version 0.2.4.3-alpha - 2012-09-22
  21931. Tor 0.2.4.3-alpha fixes another opportunity for a remotely triggerable
  21932. assertion, resumes letting relays test reachability of their DirPort,
  21933. and cleans up a bunch of smaller bugs.
  21934. o Security fixes:
  21935. - Fix an assertion failure in tor_timegm() that could be triggered
  21936. by a badly formatted directory object. Bug found by fuzzing with
  21937. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  21938. o Major bugfixes:
  21939. - Fix a possible crash bug when checking for deactivated circuits
  21940. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  21941. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  21942. - Allow routers to detect that their own DirPorts are running. When
  21943. we removed support for versions_supports_begindir, we also
  21944. accidentally removed the mechanism we used to self-test our
  21945. DirPort. Diagnosed with help from kargig. Fixes bugs 6814 and 6815;
  21946. bugfix on 0.2.4.2-alpha.
  21947. o Security features:
  21948. - Switch to a completely time-invariant approach for picking nodes
  21949. weighted by bandwidth. Our old approach would run through the
  21950. part of the loop after it had made its choice slightly slower
  21951. than it ran through the part of the loop before it had made its
  21952. choice. Addresses ticket 6538.
  21953. - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
  21954. by tor2web clients allows hidden services to identify tor2web
  21955. clients through their repeated selection of the same rendezvous
  21956. and introduction point circuit endpoints (their guards). Resolves
  21957. ticket 6888.
  21958. o Minor features:
  21959. - Enable Tor to read configuration, state, and key information from
  21960. a FIFO. Previously Tor would only read from files with a positive
  21961. stat.st_size. Code from meejah; fixes bug 6044.
  21962. o Minor bugfixes:
  21963. - Correct file sizes when reading binary files on Cygwin, to avoid
  21964. a bug where Tor would fail to read its state file. Fixes bug 6844;
  21965. bugfix on 0.1.2.7-alpha.
  21966. - Correctly handle votes with more than 31 flags. Fixes bug 6853;
  21967. bugfix on 0.2.0.3-alpha.
  21968. - When complaining about a client port on a public address, log
  21969. which address we're complaining about. Fixes bug 4020; bugfix on
  21970. 0.2.3.3-alpha. Patch by Tom Fitzhenry.
  21971. - Convert an assert in the pathbias code to a log message. The assert
  21972. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  21973. bugfix on 0.2.3.17-beta.
  21974. - Our new buildsystem was overzealous about rebuilding manpages: it
  21975. would rebuild them all whenever any one of them changed. Now our
  21976. dependency checking should be correct. Fixes bug 6843; bugfix on
  21977. 0.2.4.1-alpha.
  21978. - Don't do reachability testing over IPv6 unless AuthDirPublishIPv6
  21979. is set. Fixes bug 6880. Bugfix on 0.2.4.1-alpha.
  21980. - Correct log printout about which address family is preferred
  21981. when connecting to a bridge with both an IPv4 and IPv6 OR port.
  21982. Fixes bug 6884; bugfix on 0.2.4.1-alpha.
  21983. o Minor bugfixes (code cleanliness):
  21984. - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
  21985. with large values. This situation was untriggered, but nevertheless
  21986. incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
  21987. - Reject consensus votes with more than 64 known-flags. We aren't even
  21988. close to that limit yet, and our code doesn't handle it correctly.
  21989. Fixes bug 6833; bugfix on 0.2.0.1-alpha.
  21990. - Avoid undefined behavior when parsing the list of supported
  21991. rendezvous/introduction protocols in a hidden service descriptor.
  21992. Previously, Tor would have confused (as-yet-unused) protocol version
  21993. numbers greater than 32 with lower ones on many platforms. Fixes
  21994. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  21995. - Fix handling of rendezvous client authorization types over 8.
  21996. Fixes bug 6861; bugfix on 0.2.1.5-alpha.
  21997. - Fix building with older versions of GCC (2.95, for one) that don't
  21998. like preprocessor directives inside macro arguments. Found by
  21999. grarpamp. Fixes bug 6842; bugfix on 0.2.4.2-alpha.
  22000. - Switch weighted node selection rule from using a list of doubles
  22001. to using a list of int64_t. This change should make the process
  22002. slightly easier to debug and maintain. Needed to finish ticket 6538.
  22003. o Code simplification and refactoring:
  22004. - Move the generic "config" code into a new file, and have "config.c"
  22005. hold only torrc- and state-related code. Resolves ticket 6823.
  22006. - Move the core of our "choose a weighted element at random" logic
  22007. into its own function, and give it unit tests. Now the logic is
  22008. testable, and a little less fragile too.
  22009. - Removed the testing_since field of node_t, which hasn't been used
  22010. for anything since 0.2.0.9-alpha.
  22011. o Documentation fixes:
  22012. - Clarify that hidden services are TCP only. Fixes bug 6024.
  22013. - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
  22014. 0.2.3.14-alpha.
  22015. Changes in version 0.2.3.22-rc - 2012-09-11
  22016. Tor 0.2.3.22-rc fixes another opportunity for a remotely triggerable
  22017. assertion.
  22018. o Security fixes:
  22019. - Fix an assertion failure in tor_timegm() that could be triggered
  22020. by a badly formatted directory object. Bug found by fuzzing with
  22021. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  22022. o Minor bugfixes:
  22023. - Avoid segfault when starting up having run with an extremely old
  22024. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  22025. on 0.2.2.23-alpha.
  22026. Changes in version 0.2.2.39 - 2012-09-11
  22027. Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
  22028. assertions.
  22029. o Security fixes:
  22030. - Fix an assertion failure in tor_timegm() that could be triggered
  22031. by a badly formatted directory object. Bug found by fuzzing with
  22032. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  22033. - Do not crash when comparing an address with port value 0 to an
  22034. address policy. This bug could have been used to cause a remote
  22035. assertion failure by or against directory authorities, or to
  22036. allow some applications to crash clients. Fixes bug 6690; bugfix
  22037. on 0.2.1.10-alpha.
  22038. Changes in version 0.2.4.2-alpha - 2012-09-10
  22039. Tor 0.2.4.2-alpha enables port forwarding for pluggable transports,
  22040. raises the default rate limiting even more, and makes the bootstrapping
  22041. log messages less noisy.
  22042. o Major features:
  22043. - Automatically forward the TCP ports of pluggable transport
  22044. proxies using tor-fw-helper if PortForwarding is enabled. Implements
  22045. ticket 4567.
  22046. o Major bugfixes:
  22047. - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
  22048. to 1GB/1GB. The previous defaults were intended to be "basically
  22049. infinite", but it turns out they're now limiting our 100mbit+
  22050. relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
  22051. last time we raised it).
  22052. o Minor features:
  22053. - Detect when we're running with a version of OpenSSL other than the
  22054. one we compiled with. This has occasionally given people hard-to-
  22055. track-down errors.
  22056. - Log fewer lines at level "notice" about our OpenSSL and Libevent
  22057. versions and capabilities when everything is going right. Resolves
  22058. part of ticket 6736.
  22059. - Directory authorities no long accept descriptors for any version of
  22060. Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
  22061. These versions are insecure, unsupported, or both. Implements
  22062. ticket 6789.
  22063. o Minor bugfixes:
  22064. - Rename the (internal-use-only) UsingTestingNetworkDefaults option
  22065. to start with a triple-underscore so the controller won't touch it.
  22066. Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
  22067. - Avoid segfault when starting up having run with an extremely old
  22068. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  22069. on 0.2.2.23-alpha.
  22070. - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
  22071. so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
  22072. - Don't follow the NULL pointer if microdescriptor generation fails.
  22073. (This does not appear to be triggerable, but it's best to be safe.)
  22074. Found by "f. tp.". Fixes bug 6797; bugfix on 0.2.4.1-alpha.
  22075. - Fix mis-declared dependencies on src/common/crypto.c and
  22076. src/or/tor_main.c that could break out-of-tree builds under some
  22077. circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
  22078. - Avoid a warning when building common_sha1.i out of tree. Fixes bug
  22079. 6778; bugfix on 0.2.4.1-alpha.
  22080. - Fix a harmless (in this case) build warning for implicitly
  22081. converting a strlen() to an int. Bugfix on 0.2.4.1-alpha.
  22082. o Removed features:
  22083. - Now that all versions before 0.2.2.x are disallowed, we no longer
  22084. need to work around their missing features. Thus we can remove a
  22085. bunch of compatibility code.
  22086. o Code refactoring:
  22087. - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
  22088. TCP ports to forward. In the past it only accepted two ports:
  22089. the ORPort and the DirPort.
  22090. Changes in version 0.2.4.1-alpha - 2012-09-05
  22091. Tor 0.2.4.1-alpha lets bridges publish their pluggable transports to
  22092. bridgedb; lets relays use IPv6 addresses and directory authorities
  22093. advertise them; and switches to a cleaner build interface.
  22094. This is the first alpha release in a new series, so expect there to
  22095. be bugs. Users who would rather test out a more stable branch should
  22096. stay with 0.2.3.x for now.
  22097. o Major features (bridges):
  22098. - Bridges now report the pluggable transports they support to the
  22099. bridge authority, so it can pass the supported transports on to
  22100. bridgedb and/or eventually do reachability testing. Implements
  22101. ticket 3589.
  22102. o Major features (IPv6):
  22103. - Bridge authorities now accept IPv6 bridge addresses and include
  22104. them in network status documents. Implements ticket 5534.
  22105. - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
  22106. IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
  22107. to happen. Implements ticket 5535.
  22108. - All kind of relays, not just bridges, can now advertise an IPv6
  22109. OR port. Implements ticket 6362.
  22110. - Directory authorities vote on IPv6 OR ports using the new consensus
  22111. method 14. Implements ticket 6363.
  22112. o Major features (build):
  22113. - Switch to a nonrecursive Makefile structure. Now instead of each
  22114. Makefile.am invoking other Makefile.am's, there is a master
  22115. Makefile.am that includes the others. This change makes our build
  22116. process slightly more maintainable, and improves parallelism for
  22117. building with make -j. Original patch by Stewart Smith; various
  22118. fixes by Jim Meyering.
  22119. - Where available, we now use automake's "silent" make rules by
  22120. default, so that warnings are easier to spot. You can get the old
  22121. behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
  22122. o Minor features (code security and spec conformance):
  22123. - Clear keys and key-derived material left on the stack in
  22124. rendservice.c and rendclient.c. Check return value of
  22125. crypto_pk_write_private_key_to_string() in rend_service_load_keys().
  22126. These fixes should make us more forward-secure against cold-boot
  22127. attacks and the like. Fixes bug 2385.
  22128. - Reject EXTEND cells sent to nonexistent streams. According to the
  22129. spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
  22130. we were only checking for stream IDs that were currently in use.
  22131. Found while hunting for more instances of bug 6271. Bugfix on
  22132. 0.0.2pre8, which introduced incremental circuit construction.
  22133. o Minor features (streamlining);
  22134. - No longer include the "opt" prefix when generating routerinfos
  22135. or v2 directories: it has been needless since Tor 0.1.2. Closes
  22136. ticket 5124.
  22137. - Remove some now-needless code that tried to aggressively flush
  22138. OR connections as data was added to them. Since 0.2.0.1-alpha, our
  22139. cell queue logic has saved us from the failure mode that this code
  22140. was supposed to prevent. Removing this code will limit the number
  22141. of baroque control flow paths through Tor's network logic. Reported
  22142. pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
  22143. o Minor features (controller):
  22144. - Add a "GETINFO signal/names" control port command. Implements
  22145. ticket 3842.
  22146. - Provide default values for all options via "GETINFO config/defaults".
  22147. Implements ticket 4971.
  22148. o Minor features (IPv6):
  22149. - New config option "AuthDirHasIPv6Connectivity 1" that directory
  22150. authorities should set if they have IPv6 connectivity and want to
  22151. do reachability tests for IPv6 relays. Implements feature 5974.
  22152. - A relay with an IPv6 OR port now sends that address in NETINFO
  22153. cells (in addition to its other address). Implements ticket 6364.
  22154. o Minor features (log messages):
  22155. - Omit the first heartbeat log message, because it never has anything
  22156. useful to say, and it clutters up the bootstrapping messages.
  22157. Resolves ticket 6758.
  22158. - Don't log about reloading the microdescriptor cache at startup. Our
  22159. bootstrap warnings are supposed to tell the user when there's a
  22160. problem, and our bootstrap notices say when there isn't. Resolves
  22161. ticket 6759; bugfix on 0.2.2.6-alpha.
  22162. - Don't log "I learned some more directory information" when we're
  22163. reading cached directory information. Reserve it for when new
  22164. directory information arrives in response to a fetch. Resolves
  22165. ticket 6760.
  22166. - Prevent rounding error in path bias counts when scaling
  22167. them down, and use the correct scale factor default. Also demote
  22168. some path bias related log messages down a level and make others
  22169. less scary sounding. Fixes bug 6647. Bugfix against 0.2.3.17-beta.
  22170. - We no longer warn so much when generating manpages from their
  22171. asciidoc source.
  22172. o Code simplifications and refactoring:
  22173. - Enhance our internal sscanf replacement so that we can eliminate
  22174. the last remaining uses of the system sscanf. (Though those uses
  22175. of sscanf were safe, sscanf itself is generally error prone, so
  22176. we want to eliminate when we can.) Fixes ticket 4195 and Coverity
  22177. CID 448.
  22178. - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
  22179. - Move last_reachable and testing_since from routerinfo_t to node_t.
  22180. Implements ticket 5529.
  22181. - Add replaycache_t structure, functions and unit tests, then refactor
  22182. rend_service_introduce() to be more clear to read, improve, debug,
  22183. and test. Resolves bug 6177.
  22184. - Finally remove support for malloc_good_size and malloc_usable_size.
  22185. We had hoped that these functions would let us eke a little more
  22186. memory out of our malloc implementation. Unfortunately, the only
  22187. implementations that provided these functions are also ones that
  22188. are already efficient about not overallocation: they never got us
  22189. more than 7 or so bytes per allocation. Removing them saves us a
  22190. little code complexity and a nontrivial amount of build complexity.
  22191. o New requirements:
  22192. - Tor maintainers now require Automake version 1.9 or later to build
  22193. Tor from the Git repository. (Automake is not required when building
  22194. from a source distribution.)
  22195. Changes in version 0.2.3.21-rc - 2012-09-05
  22196. Tor 0.2.3.21-rc is the fourth release candidate for the Tor 0.2.3.x
  22197. series. It fixes a trio of potential security bugs, fixes a bug where
  22198. we were leaving some of the fast relays out of the microdescriptor
  22199. consensus, resumes interpreting "ORPort 0" and "DirPort 0" correctly,
  22200. and cleans up other smaller issues.
  22201. o Major bugfixes (security):
  22202. - Tear down the circuit if we get an unexpected SENDME cell. Clients
  22203. could use this trick to make their circuits receive cells faster
  22204. than our flow control would have allowed, or to gum up the network,
  22205. or possibly to do targeted memory denial-of-service attacks on
  22206. entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
  22207. from July 2002, before the release of Tor 0.0.0. We had committed
  22208. this patch previously, but we had to revert it because of bug 6271.
  22209. Now that 6271 is fixed, this patch appears to work.
  22210. - Reject any attempt to extend to an internal address. Without
  22211. this fix, a router could be used to probe addresses on an internal
  22212. network to see whether they were accepting connections. Fixes bug
  22213. 6710; bugfix on 0.0.8pre1.
  22214. - Do not crash when comparing an address with port value 0 to an
  22215. address policy. This bug could have been used to cause a remote
  22216. assertion failure by or against directory authorities, or to
  22217. allow some applications to crash clients. Fixes bug 6690; bugfix
  22218. on 0.2.1.10-alpha.
  22219. o Major bugfixes:
  22220. - Remove the upper bound on microdescriptor length. We were hitting
  22221. the limit for routers with complex exit policies or family
  22222. declarations, causing clients to not use them. Fixes the first
  22223. piece of bug 6404; fix on 0.2.2.6-alpha.
  22224. - Detect "ORPort 0" as meaning, uniformly, that we're not running
  22225. as a relay. Previously, some of our code would treat the presence
  22226. of any ORPort line as meaning that we should act like a relay,
  22227. even though our new listener code would correctly not open any
  22228. ORPorts for ORPort 0. Similar bugs in other Port options are also
  22229. fixed. Fixes the first half of bug 6507; bugfix on 0.2.3.3-alpha.
  22230. o Minor bugfixes:
  22231. - Avoid a pair of double-free and use-after-mark bugs that can
  22232. occur with certain timings in canceled and re-received DNS
  22233. requests. Fixes bug 6472; bugfix on 0.0.7rc1.
  22234. - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
  22235. Fixes bug 6379. Bugfix on 0.2.0.20-rc.
  22236. - Allow one-hop directory fetching circuits the full "circuit build
  22237. timeout" period, rather than just half of it, before failing them
  22238. and marking the relay down. This fix should help reduce cases where
  22239. clients declare relays (or worse, bridges) unreachable because
  22240. the TLS handshake takes a few seconds to complete. Fixes bug 6743;
  22241. bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
  22242. 30 seconds.
  22243. - Authorities no longer include any router in their microdescriptor
  22244. consensuses for which they couldn't generate or agree on a
  22245. microdescriptor. Fixes the second piece of bug 6404; fix on
  22246. 0.2.2.6-alpha.
  22247. - Detect and reject attempts to specify both "FooPort" and
  22248. "FooPort 0" in the same configuration domain. (It's still okay
  22249. to have a FooPort in your configuration file, and use "FooPort 0"
  22250. on the command line to disable it.) Fixes the second half of bug
  22251. 6507; bugfix on 0.2.3.3-alpha.
  22252. - Make wildcarded addresses (that is, ones beginning with "*.") work
  22253. when provided via the controller's MapAddress command. Previously,
  22254. they were accepted, but we never actually noticed that they were
  22255. wildcards. Fixes bug 6244; bugfix on 0.2.3.9-alpha.
  22256. - Avoid crashing on a malformed state file where EntryGuardPathBias
  22257. precedes EntryGuard. Fix for bug 6774; bugfix on 0.2.3.17-beta.
  22258. - Add a (probably redundant) memory clear between iterations of
  22259. the router status voting loop, to prevent future coding errors
  22260. where data might leak between iterations of the loop. Resolves
  22261. ticket 6514.
  22262. o Minor bugfixes (log messages):
  22263. - Downgrade "set buildtimeout to low value" messages to "info"
  22264. severity; they were never an actual problem, there was never
  22265. anything reasonable to do about them, and they tended to spam logs
  22266. from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
  22267. - Downgrade path-bias warning messages to "info". We'll try to get
  22268. them working better in 0.2.4. Add internal circuit construction
  22269. state to protect against the noisy warn message "Unexpectedly high
  22270. circuit_successes". Also add some additional rate-limited notice
  22271. messages to help determine the root cause of the warn. Fixes bug
  22272. 6475. Bugfix against 0.2.3.17-beta.
  22273. - Move log message when unable to find a microdesc in a routerstatus
  22274. entry to parse time. Previously we'd spam this warning every time
  22275. we tried to figure out which microdescriptors to download. Fixes
  22276. the third piece of bug 6404; fix on 0.2.3.18-rc.
  22277. o Minor features:
  22278. - Consider new, removed or changed IPv6 OR ports a non-cosmetic
  22279. change when the authority is deciding whether to accept a newly
  22280. uploaded descriptor. Implements ticket 6423.
  22281. - Add missing documentation for consensus and microdesc files.
  22282. Resolves ticket 6732.
  22283. Changes in version 0.2.2.38 - 2012-08-12
  22284. Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
  22285. attack that could in theory leak path information.
  22286. o Security fixes:
  22287. - Avoid an uninitialized memory read when reading a vote or consensus
  22288. document that has an unrecognized flavor name. This read could
  22289. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  22290. - Try to leak less information about what relays a client is
  22291. choosing to a side-channel attacker. Previously, a Tor client would
  22292. stop iterating through the list of available relays as soon as it
  22293. had chosen one, thus finishing a little earlier when it picked
  22294. a router earlier in the list. If an attacker can recover this
  22295. timing information (nontrivial but not proven to be impossible),
  22296. they could learn some coarse-grained information about which relays
  22297. a client was picking (middle nodes in particular are likelier to
  22298. be affected than exits). The timing attack might be mitigated by
  22299. other factors (see bug 6537 for some discussion), but it's best
  22300. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  22301. Changes in version 0.2.3.20-rc - 2012-08-05
  22302. Tor 0.2.3.20-rc is the third release candidate for the Tor 0.2.3.x
  22303. series. It fixes a pair of code security bugs and a potential anonymity
  22304. issue, updates our RPM spec files, and cleans up other smaller issues.
  22305. o Security fixes:
  22306. - Avoid read-from-freed-memory and double-free bugs that could occur
  22307. when a DNS request fails while launching it. Fixes bug 6480;
  22308. bugfix on 0.2.0.1-alpha.
  22309. - Avoid an uninitialized memory read when reading a vote or consensus
  22310. document that has an unrecognized flavor name. This read could
  22311. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  22312. - Try to leak less information about what relays a client is
  22313. choosing to a side-channel attacker. Previously, a Tor client would
  22314. stop iterating through the list of available relays as soon as it
  22315. had chosen one, thus finishing a little earlier when it picked
  22316. a router earlier in the list. If an attacker can recover this
  22317. timing information (nontrivial but not proven to be impossible),
  22318. they could learn some coarse-grained information about which relays
  22319. a client was picking (middle nodes in particular are likelier to
  22320. be affected than exits). The timing attack might be mitigated by
  22321. other factors (see bug 6537 for some discussion), but it's best
  22322. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  22323. o Minor features:
  22324. - Try to make the warning when giving an obsolete SOCKSListenAddress
  22325. a little more useful.
  22326. - Terminate active server managed proxies if Tor stops being a
  22327. relay. Addresses parts of bug 6274; bugfix on 0.2.3.6-alpha.
  22328. - Provide a better error message about possible OSX Asciidoc failure
  22329. reasons. Fixes bug 6436.
  22330. - Warn when Tor is configured to use accounting in a way that can
  22331. link a hidden service to some other hidden service or public
  22332. address. Resolves ticket 6490.
  22333. o Minor bugfixes:
  22334. - Check return value of fputs() when writing authority certificate
  22335. file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
  22336. - Ignore ServerTransportPlugin lines when Tor is not configured as
  22337. a relay. Fixes bug 6274; bugfix on 0.2.3.6-alpha.
  22338. - When disabling guards for having too high a proportion of failed
  22339. circuits, make sure to look at each guard. Fixes bug 6397; bugfix
  22340. on 0.2.3.17-beta.
  22341. o Packaging (RPM):
  22342. - Update our default RPM spec files to work with mock and rpmbuild
  22343. on RHEL/Fedora. They have an updated set of dependencies and
  22344. conflicts, a fix for an ancient typo when creating the "_tor"
  22345. user, and better instructions. Thanks to Ondrej Mikle for the
  22346. patch series. Fixes bug 6043.
  22347. o Testing:
  22348. - Make it possible to set the TestingTorNetwork configuration
  22349. option using AlternateDirAuthority and AlternateBridgeAuthority
  22350. as an alternative to setting DirServer. Addresses ticket 6377.
  22351. o Documentation:
  22352. - Clarify the documentation for the Alternate*Authority options.
  22353. Fixes bug 6387.
  22354. - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
  22355. o Code simplification and refactoring:
  22356. - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
  22357. 10 lines. Also, don't nest them. Doing so in the past has
  22358. led to hard-to-debug code. The new style is to use the
  22359. SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
  22360. Changes in version 0.2.3.19-rc - 2012-07-06
  22361. Tor 0.2.3.19-rc is the second release candidate for the Tor 0.2.3.x
  22362. series. It fixes the compile on Windows, reverts to a GeoIP database
  22363. that isn't as broken, and fixes a flow control bug that has been around
  22364. since the beginning of Tor.
  22365. o Major bugfixes:
  22366. - Fix a bug handling SENDME cells on nonexistent streams that could
  22367. result in bizarre window values. Report and patch contributed
  22368. pseudonymously. Fixes part of bug 6271. This bug was introduced
  22369. before the first Tor release, in svn commit r152.
  22370. - Revert to the May 1 2012 Maxmind GeoLite Country database. In the
  22371. June 2012 database, Maxmind marked many Tor relays as country "A1",
  22372. which will cause risky behavior for clients that set EntryNodes
  22373. or ExitNodes. Addresses bug 6334; bugfix on 0.2.3.17-beta.
  22374. - Instead of ENOBUFS on Windows, say WSAENOBUFS. Fixes compilation
  22375. on Windows. Fixes bug 6296; bugfix on 0.2.3.18-rc.
  22376. o Minor bugfixes:
  22377. - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
  22378. bugfix on 0.2.1.10-alpha.
  22379. Changes in version 0.2.3.18-rc - 2012-06-28
  22380. Tor 0.2.3.18-rc is the first release candidate for the Tor 0.2.3.x
  22381. series. It fixes a few smaller bugs, but generally appears stable.
  22382. Please test it and let us know whether it is!
  22383. o Major bugfixes:
  22384. - Allow wildcarded mapaddress targets to be specified on the
  22385. controlport. Partially fixes bug 6244; bugfix on 0.2.3.9-alpha.
  22386. - Make our linker option detection code more robust against linkers
  22387. such as on FreeBSD 8, where a bad combination of options completes
  22388. successfully but makes an unrunnable binary. Fixes bug 6173;
  22389. bugfix on 0.2.3.17-beta.
  22390. o Minor bugfixes (on 0.2.2.x and earlier):
  22391. - Avoid a false positive in the util/threads unit test by increasing
  22392. the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
  22393. - Replace "Sending publish request" log messages with "Launching
  22394. upload", so that they no longer confusingly imply that we're
  22395. sending something to a directory we might not even be connected
  22396. to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
  22397. - Make sure to set *socket_error in all error cases in
  22398. connection_connect(), so it can't produce a warning about
  22399. errno being zero from errno_to_orconn_end_reason(). Bugfix on
  22400. 0.2.1.1-alpha; resolves ticket 6028.
  22401. - Downgrade "Got a certificate, but we already have it" log messages
  22402. from warning to info, except when we're a dirauth. Fixes bug 5238;
  22403. bugfix on 0.2.1.7-alpha.
  22404. - When checking for requested signatures on the latest consensus
  22405. before serving it to a client, make sure to check the right
  22406. consensus flavor. Bugfix on 0.2.2.6-alpha.
  22407. - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
  22408. Fixes bug 5932; bugfix on 0.2.2.7-alpha.
  22409. o Minor bugfixes (on 0.2.3.x):
  22410. - Make format_helper_exit_status() avoid unnecessary space padding
  22411. and stop confusing log_from_pipe(). Fixes ticket 5557; bugfix
  22412. on 0.2.3.1-alpha.
  22413. - Downgrade a message about cleaning the microdescriptor cache to
  22414. "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
  22415. - Log a BUG message at severity INFO if we have a networkstatus with
  22416. a missing entry for some microdescriptor. Continues on a patch
  22417. to 0.2.3.2-alpha.
  22418. - Improve the log message when a managed proxy fails to launch. Fixes
  22419. bug 5099; bugfix on 0.2.3.6-alpha.
  22420. - Don't do DNS lookups when parsing corrupted managed proxy protocol
  22421. messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
  22422. - When formatting wildcarded address mappings for the controller,
  22423. be sure to include "*." as appropriate. Partially fixes bug 6244;
  22424. bugfix on 0.2.3.9-alpha.
  22425. - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
  22426. Bugfix on 0.2.3.13-alpha.
  22427. - Stop logging messages about running with circuit timeout learning
  22428. enabled at severity LD_BUG. Fixes bug 6169; bugfix on 0.2.3.17-beta.
  22429. - Disable a spurious warning about reading on a marked and flushing
  22430. connection. We shouldn't be doing that, but apparently we
  22431. sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
  22432. - Fix a bug that stopped AllowDotExit from working on addresses
  22433. that had an entry in the DNS cache. Fixes bug 6211; bugfix on
  22434. 0.2.3.17-beta.
  22435. o Code simplification, refactoring, unit tests:
  22436. - Move tor_gettimeofday_cached() into compat_libevent.c, and use
  22437. Libevent's notion of cached time when possible.
  22438. - Remove duplicate code for invoking getrlimit() from control.c.
  22439. - Add a unit test for the environment_variable_names_equal function.
  22440. o Documentation:
  22441. - Document the --defaults-torrc option, and the new (in 0.2.3)
  22442. semantics for overriding, extending, and clearing lists of
  22443. options. Closes bug 4748.
  22444. Changes in version 0.2.3.17-beta - 2012-06-15
  22445. Tor 0.2.3.17-beta enables compiler and linker hardening by default,
  22446. gets our TLS handshake back on track for being able to blend in with
  22447. Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
  22448. with Vidalia, and otherwise continues to get us closer to a release
  22449. candidate.
  22450. o Major features:
  22451. - Enable gcc and ld hardening by default. Resolves ticket 5210.
  22452. - Update TLS cipher list to match Firefox 8 and later. Resolves
  22453. ticket 4744.
  22454. - Implement the client side of proposal 198: remove support for
  22455. clients falsely claiming to support standard ciphersuites that
  22456. they can actually provide. As of modern OpenSSL versions, it's not
  22457. necessary to fake any standard ciphersuite, and doing so prevents
  22458. us from using better ciphersuites in the future, since servers
  22459. can't know whether an advertised ciphersuite is really supported or
  22460. not. Some hosts -- notably, ones with very old versions of OpenSSL
  22461. or where OpenSSL has been built with ECC disabled -- will stand
  22462. out because of this change; TBB users should not be affected.
  22463. o Major bugfixes:
  22464. - Change the default value for DynamicDHGroups (introduced in
  22465. 0.2.3.9-alpha) to 0. This feature can make Tor relays less
  22466. identifiable by their use of the mod_ssl DH group, but at
  22467. the cost of some usability (#4721) and bridge tracing (#6087)
  22468. regressions. Resolves ticket 5598.
  22469. - Send a CRLF at the end of each STATUS_* control protocol event. This
  22470. bug tickled a bug in Vidalia which would make it freeze. Fixes
  22471. bug 6094; bugfix on 0.2.3.16-alpha.
  22472. o Minor bugfixes:
  22473. - Disable writing on marked-for-close connections when they are
  22474. blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
  22475. bug 5263; bugfix on 0.0.2pre13, where we first added a special
  22476. case for flushing marked connections.
  22477. - Detect SSL handshake even when the initial attempt to write the
  22478. server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
  22479. - Change the AllowDotExit rules so they should actually work.
  22480. We now enforce AllowDotExit only immediately after receiving an
  22481. address via SOCKS or DNSPort: other sources are free to provide
  22482. .exit addresses after the resolution occurs. Fixes bug 3940;
  22483. bugfix on 0.2.2.1-alpha.
  22484. - Fix a (harmless) integer overflow in cell statistics reported by
  22485. some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
  22486. - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
  22487. right places and never depends on the consensus parameters or
  22488. computes adaptive timeouts when it is disabled. Fixes bug 5049;
  22489. bugfix on 0.2.2.14-alpha.
  22490. - When building Tor on Windows with -DUNICODE (not default), ensure
  22491. that error messages, filenames, and DNS server names are always
  22492. NUL-terminated when we convert them to a single-byte encoding.
  22493. Fixes bug 5909; bugfix on 0.2.2.16-alpha.
  22494. - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
  22495. Fixes bug 6097; bugfix on 0.2.2.16-alpha.
  22496. - Fix an edge case where TestingTorNetwork is set but the authorities
  22497. and relays all have an uptime of zero, where the private Tor network
  22498. could briefly lack support for hidden services. Fixes bug 3886;
  22499. bugfix on 0.2.2.18-alpha.
  22500. - Correct the manpage's descriptions for the default values of
  22501. DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
  22502. on 0.2.3.1-alpha.
  22503. - Fix the documentation for the --hush and --quiet command line
  22504. options, which changed their behavior back in 0.2.3.3-alpha.
  22505. - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
  22506. 0.2.3.11-alpha.
  22507. o Minor features:
  22508. - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
  22509. more information to it, so that we can track it down in case it
  22510. returns again. Mitigates bug 5235.
  22511. - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
  22512. options_validate(); warn if LearnCircuitBuildTimeout is disabled and
  22513. CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
  22514. - Warn the user when HTTPProxy, but no other proxy type, is
  22515. configured. This can cause surprising behavior: it doesn't send
  22516. all of Tor's traffic over the HTTPProxy -- it sends unencrypted
  22517. directory traffic only. Resolves ticket 4663.
  22518. - Issue a notice if a guard completes less than 40% of your circuits.
  22519. Threshold is configurable by torrc option PathBiasNoticeRate and
  22520. consensus parameter pb_noticepct. There is additional, off-by-
  22521. default code to disable guards which fail too many circuits.
  22522. Addresses ticket 5458.
  22523. - Update to the June 6 2012 Maxmind GeoLite Country database.
  22524. o Code simplifications and refactoring:
  22525. - Remove validate_pluggable_transports_config(): its warning
  22526. message is now handled by connection_or_connect().
  22527. Changes in version 0.2.2.37 - 2012-06-06
  22528. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  22529. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  22530. currently).
  22531. o Major bugfixes:
  22532. - Work around a bug in OpenSSL that broke renegotiation with TLS
  22533. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  22534. the v2 Tor connection protocol when both sides were using OpenSSL
  22535. 1.0.1 would fail. Resolves ticket 6033.
  22536. - When waiting for a client to renegotiate, don't allow it to add
  22537. any bytes to the input buffer. This fixes a potential DoS issue.
  22538. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  22539. - Fix an edge case where if we fetch or publish a hidden service
  22540. descriptor, we might build a 4-hop circuit and then use that circuit
  22541. for exiting afterwards -- even if the new last hop doesn't obey our
  22542. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  22543. o Minor bugfixes:
  22544. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  22545. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  22546. o Minor features:
  22547. - Tell GCC and Clang to check for any errors in format strings passed
  22548. to the tor_v*(print|scan)f functions.
  22549. Changes in version 0.2.3.16-alpha - 2012-06-05
  22550. Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
  22551. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  22552. currently). It also fixes a variety of smaller bugs and other cleanups
  22553. that get us closer to a release candidate.
  22554. o Major bugfixes (general):
  22555. - Work around a bug in OpenSSL that broke renegotiation with TLS
  22556. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  22557. the v2 Tor connection protocol when both sides were using OpenSSL
  22558. 1.0.1 would fail. Resolves ticket 6033.
  22559. - When waiting for a client to renegotiate, don't allow it to add
  22560. any bytes to the input buffer. This fixes a potential DoS issue.
  22561. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  22562. - Pass correct OR address to managed proxies (like obfsproxy),
  22563. even when ORListenAddress is used. Fixes bug 4865; bugfix on
  22564. 0.2.3.9-alpha.
  22565. - The advertised platform of a router now includes only its operating
  22566. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
  22567. service pack level (for Windows) or its CPU architecture (for Unix).
  22568. We also no longer include the "git-XYZ" tag in the version. Resolves
  22569. part of bug 2988.
  22570. o Major bugfixes (clients):
  22571. - If we are unable to find any exit that supports our predicted ports,
  22572. stop calling them predicted, so that we don't loop and build
  22573. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  22574. which introduced predicted ports.
  22575. - Fix an edge case where if we fetch or publish a hidden service
  22576. descriptor, we might build a 4-hop circuit and then use that circuit
  22577. for exiting afterwards -- even if the new last hop doesn't obey our
  22578. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  22579. - Check at each new consensus whether our entry guards were picked
  22580. long enough ago that we should rotate them. Previously, we only
  22581. did this check at startup, which could lead to us holding a guard
  22582. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  22583. - When fetching a bridge descriptor from a bridge authority,
  22584. always do so anonymously, whether we have been able to open
  22585. circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
  22586. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  22587. but we'll need to wait for bug 6010 before it's actually usable.
  22588. o Major bugfixes (directory authorities):
  22589. - When computing weight parameters, behave more robustly in the
  22590. presence of a bad bwweightscale value. Previously, the authorities
  22591. would crash if they agreed on a sufficiently broken weight_scale
  22592. value: now, they use a reasonable default and carry on. Partial
  22593. fix for 5786; bugfix on 0.2.2.17-alpha.
  22594. - Check more thoroughly to prevent a rogue authority from
  22595. double-voting on any consensus directory parameter. Previously,
  22596. authorities would crash in this case if the total number of
  22597. votes for any parameter exceeded the number of active voters,
  22598. but would let it pass otherwise. Partial fix for bug 5786; bugfix
  22599. on 0.2.2.2-alpha.
  22600. o Minor features:
  22601. - Rate-limit log messages when asked to connect anonymously to
  22602. a private address. When these hit, they tended to hit fast and
  22603. often. Also, don't bother trying to connect to addresses that we
  22604. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  22605. reply makes us think we have been lied to, even when the address the
  22606. client tried to connect to was "localhost." Resolves ticket 2822.
  22607. - Allow packagers to insert an extra string in server descriptor
  22608. platform lines by setting the preprocessor variable TOR_BUILD_TAG.
  22609. Resolves the rest of ticket 2988.
  22610. - Raise the threshold of server descriptors needed (75%) and exit
  22611. server descriptors needed (50%) before we will declare ourselves
  22612. bootstrapped. This will make clients start building circuits a
  22613. little later, but makes the initially constructed circuits less
  22614. skewed and less in conflict with further directory fetches. Fixes
  22615. ticket 3196.
  22616. - Close any connection that sends unrecognized junk before the
  22617. handshake. Solves an issue noted in bug 4369.
  22618. - Improve log messages about managed transports. Resolves ticket 5070.
  22619. - Tag a bridge's descriptor as "never to be sent unencrypted".
  22620. This shouldn't matter, since bridges don't open non-anonymous
  22621. connections to the bridge authority and don't allow unencrypted
  22622. directory connections from clients, but we might as well make
  22623. sure. Closes bug 5139.
  22624. - Expose our view of whether we have gone dormant to the controller,
  22625. via a new "GETINFO dormant" value. Torbutton and other controllers
  22626. can use this to avoid doing periodic requests through Tor while
  22627. it's dormant (bug 4718). Fixes bug 5954.
  22628. - Tell GCC and Clang to check for any errors in format strings passed
  22629. to the tor_v*(print|scan)f functions.
  22630. - Update to the May 1 2012 Maxmind GeoLite Country database.
  22631. o Minor bugfixes (already included in 0.2.2.36):
  22632. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  22633. Fixes bug 5346; bugfix on 0.0.8pre3.
  22634. - Correct parsing of certain date types in parse_http_time().
  22635. Without this patch, If-Modified-Since would behave
  22636. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  22637. Esteban Manchado Velázques.
  22638. - Make our number-parsing functions always treat too-large values
  22639. as an error, even when those values exceed the width of the
  22640. underlying type. Previously, if the caller provided these
  22641. functions with minima or maxima set to the extreme values of the
  22642. underlying integer type, these functions would return those
  22643. values on overflow rather than treating overflow as an error.
  22644. Fixes part of bug 5786; bugfix on 0.0.9.
  22645. - If we hit the error case where routerlist_insert() replaces an
  22646. existing (old) server descriptor, make sure to remove that
  22647. server descriptor from the old_routers list. Fix related to bug
  22648. 1776. Bugfix on 0.2.2.18-alpha.
  22649. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  22650. circuits. Fixes issue 5259.
  22651. o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
  22652. - Prevent a null-pointer dereference when receiving a data cell
  22653. for a nonexistent stream when the circuit in question has an
  22654. empty deliver window. We don't believe this is triggerable,
  22655. since we don't currently allow deliver windows to become empty,
  22656. but the logic is tricky enough that it's better to make the code
  22657. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  22658. - Fix a memory leak when trying to launch a DNS request when the
  22659. network is disabled or the nameservers are unconfigurable. Fixes
  22660. bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
  22661. nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
  22662. - Don't hold a Windows file handle open for every file mapping;
  22663. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  22664. 0.1.2.1-alpha.
  22665. - Avoid O(n^2) performance characteristics when parsing a large
  22666. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  22667. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  22668. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  22669. Tor 0.2.0.8-alpha.
  22670. - Make our replacement implementation of strtok_r() compatible with
  22671. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  22672. bugfix on 0.2.2.1-alpha.
  22673. - Fix a NULL-pointer dereference on a badly formed
  22674. SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
  22675. bugfix on 0.2.2.9-alpha.
  22676. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  22677. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  22678. - Defensively refactor rend_mid_rendezvous() so that protocol
  22679. violations and length checks happen in the beginning. Fixes
  22680. bug 5645.
  22681. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  22682. that IPv6 stuff will compile on MSVC, and compilation issues
  22683. will be easier to track down. Fixes bug 5861.
  22684. o Minor bugfixes (correctness, on 0.2.2.x and earlier):
  22685. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  22686. resource exhaustion, so that clients can adjust their load to
  22687. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  22688. started using END_STREAM_REASON_RESOURCELIMIT.
  22689. - Don't check for whether the address we're using for outbound
  22690. connections has changed until after the outbound connection has
  22691. completed. On Windows, getsockname() doesn't succeed until the
  22692. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  22693. - If the configuration tries to set MyFamily on a bridge, refuse to
  22694. do so, and warn about the security implications. Fixes bug 4657;
  22695. bugfix on 0.2.0.3-alpha.
  22696. - If the client fails to set a reasonable set of ciphersuites
  22697. during its v2 handshake renegotiation, allow the renegotiation to
  22698. continue nevertheless (i.e. send all the required certificates).
  22699. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  22700. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  22701. option is set to 0 (which Vidalia version 0.2.16 now does when
  22702. a SAVECONF attempt fails), perform other actions that SIGHUP
  22703. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  22704. on 0.2.1.9-alpha.
  22705. - If we fail to write a microdescriptor to the disk cache, do not
  22706. continue replacing the old microdescriptor file. Fixes bug 2954;
  22707. bugfix on 0.2.2.6-alpha.
  22708. - Exit nodes don't need to fetch certificates for authorities that
  22709. they don't recognize; only directory authorities, bridges,
  22710. and caches need to do that. Fixes part of bug 2297; bugfix on
  22711. 0.2.2.11-alpha.
  22712. - Correctly handle checking the permissions on the parent
  22713. directory of a control socket in the root directory. Bug found
  22714. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  22715. 0.2.2.26-beta.
  22716. - When told to add a bridge with the same digest as a preexisting
  22717. bridge but a different addr:port, change the addr:port as
  22718. requested. Previously we would not notice the change. Fixes half
  22719. of bug 5603; fix on 0.2.2.26-beta.
  22720. - End AUTHCHALLENGE error messages (in the control protocol) with
  22721. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
  22722. o Minor bugfixes (on 0.2.3.x):
  22723. - Turn an assertion (that the number of handshakes received as a
  22724. server is not < 1) into a warning. Fixes bug 4873; bugfix on
  22725. 0.2.3.1-alpha.
  22726. - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
  22727. we had reversed them when the answer was cached.) Fixes bug
  22728. 5723; bugfix on 0.2.3.1-alpha.
  22729. - Work correctly on Linux systems with accept4 support advertised in
  22730. their headers, but without accept4 support in the kernel. Fix
  22731. by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
  22732. - When told to add a bridge with the same addr:port as a preexisting
  22733. bridge but a different transport, change the transport as
  22734. requested. Previously we would not notice the change. Fixes half
  22735. of bug 5603; fix on 0.2.3.2-alpha.
  22736. - Avoid a "double-reply" warning when replying to a SOCKS request
  22737. with a parse error. Patch from Fabian Keil. Fixes bug 4108;
  22738. bugfix on 0.2.3.4-alpha.
  22739. - Fix a bug where a bridge authority crashes if it has seen no
  22740. directory requests when it's time to write statistics to disk.
  22741. Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
  22742. a better way.
  22743. - Don't try to open non-control listeners when DisableNetwork is set.
  22744. Previously, we'd open all listeners, then immediately close them.
  22745. Fixes bug 5604; bugfix on 0.2.3.9-alpha.
  22746. - Don't abort the managed proxy protocol if the managed proxy
  22747. sends us an unrecognized line; ignore it instead. Fixes bug
  22748. 5910; bugfix on 0.2.3.9-alpha.
  22749. - Fix a compile warning in crypto.c when compiling with clang 3.1.
  22750. Fixes bug 5969, bugfix on 0.2.3.9-alpha.
  22751. - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
  22752. Fixes bug 5355; bugfix on 0.2.3.11-alpha.
  22753. - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
  22754. unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
  22755. - Resolve numerous small warnings and build issues with MSVC. Resolves
  22756. bug 5859.
  22757. o Documentation fixes:
  22758. - Improve the manual's documentation for the NT Service command-line
  22759. options. Addresses ticket 3964.
  22760. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  22761. - Document the changes to the ORPort and DirPort options, and the
  22762. fact that {OR/Dir}ListenAddress is now unnecessary (and
  22763. therefore deprecated). Resolves ticket 5597.
  22764. o Removed files:
  22765. - Remove the torrc.bridge file: we don't use it for anything, and
  22766. it had become badly desynchronized from torrc.sample. Resolves
  22767. bug 5622.
  22768. Changes in version 0.2.2.36 - 2012-05-24
  22769. Tor 0.2.2.36 updates the addresses for two of the eight directory
  22770. authorities, fixes some potential anonymity and security issues,
  22771. and fixes several crash bugs.
  22772. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  22773. known flaws, and nobody should be using them. You should upgrade. If
  22774. you're using a Linux or BSD and its packages are obsolete, stop using
  22775. those packages and upgrade anyway.
  22776. o Directory authority changes:
  22777. - Change IP address for maatuska (v3 directory authority).
  22778. - Change IP address for ides (v3 directory authority), and rename
  22779. it to turtles.
  22780. o Security fixes:
  22781. - When building or running with any version of OpenSSL earlier
  22782. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  22783. versions have a bug (CVE-2011-4576) in which their block cipher
  22784. padding includes uninitialized data, potentially leaking sensitive
  22785. information to any peer with whom they make a SSLv3 connection. Tor
  22786. does not use SSL v3 by default, but a hostile client or server
  22787. could force an SSLv3 connection in order to gain information that
  22788. they shouldn't have been able to get. The best solution here is to
  22789. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  22790. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  22791. to make sure that the bug can't happen.
  22792. - Never use a bridge or a controller-supplied node as an exit, even
  22793. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  22794. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  22795. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  22796. - Only build circuits if we have a sufficient threshold of the total
  22797. descriptors that are marked in the consensus with the "Exit"
  22798. flag. This mitigates an attack proposed by wanoskarnet, in which
  22799. all of a client's bridges collude to restrict the exit nodes that
  22800. the client knows about. Fixes bug 5343.
  22801. - Provide controllers with a safer way to implement the cookie
  22802. authentication mechanism. With the old method, if another locally
  22803. running program could convince a controller that it was the Tor
  22804. process, then that program could trick the controller into telling
  22805. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  22806. authentication method uses a challenge-response approach to prevent
  22807. this attack. Fixes bug 5185; implements proposal 193.
  22808. o Major bugfixes:
  22809. - Avoid logging uninitialized data when unable to decode a hidden
  22810. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  22811. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  22812. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  22813. 0.2.1.6-alpha.
  22814. - Fix builds when the path to sed, openssl, or sha1sum contains
  22815. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  22816. on 0.2.2.1-alpha.
  22817. - Correct our replacements for the timeradd() and timersub() functions
  22818. on platforms that lack them (for example, Windows). The timersub()
  22819. function is used when expiring circuits, while timeradd() is
  22820. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  22821. bugfix on 0.2.2.24-alpha.
  22822. - Fix the SOCKET_OK test that we use to tell when socket
  22823. creation fails so that it works on Win64. Fixes part of bug 4533;
  22824. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  22825. o Minor bugfixes:
  22826. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  22827. Fixes bug 5346; bugfix on 0.0.8pre3.
  22828. - Make our number-parsing functions always treat too-large values
  22829. as an error, even when those values exceed the width of the
  22830. underlying type. Previously, if the caller provided these
  22831. functions with minima or maxima set to the extreme values of the
  22832. underlying integer type, these functions would return those
  22833. values on overflow rather than treating overflow as an error.
  22834. Fixes part of bug 5786; bugfix on 0.0.9.
  22835. - Older Linux kernels erroneously respond to strange nmap behavior
  22836. by having accept() return successfully with a zero-length
  22837. socket. When this happens, just close the connection. Previously,
  22838. we would try harder to learn the remote address: but there was
  22839. no such remote address to learn, and our method for trying to
  22840. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  22841. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  22842. - Correct parsing of certain date types in parse_http_time().
  22843. Without this patch, If-Modified-Since would behave
  22844. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  22845. Esteban Manchado Velázques.
  22846. - Change the BridgePassword feature (part of the "bridge community"
  22847. design, which is not yet implemented) to use a time-independent
  22848. comparison. The old behavior might have allowed an adversary
  22849. to use timing to guess the BridgePassword value. Fixes bug 5543;
  22850. bugfix on 0.2.0.14-alpha.
  22851. - Detect and reject certain misformed escape sequences in
  22852. configuration values. Previously, these values would cause us
  22853. to crash if received in a torrc file or over an authenticated
  22854. control port. Bug found by Esteban Manchado Velázquez, and
  22855. independently by Robert Connolly from Matta Consulting who further
  22856. noted that it allows a post-authentication heap overflow. Patch
  22857. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  22858. bugfix on 0.2.0.16-alpha.
  22859. - Fix a compile warning when using the --enable-openbsd-malloc
  22860. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  22861. - During configure, detect when we're building with clang version
  22862. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  22863. CFLAGS. clang doesn't support them yet.
  22864. - When sending an HTTP/1.1 proxy request, include a Host header.
  22865. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  22866. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  22867. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  22868. - If we hit the error case where routerlist_insert() replaces an
  22869. existing (old) server descriptor, make sure to remove that
  22870. server descriptor from the old_routers list. Fix related to bug
  22871. 1776. Bugfix on 0.2.2.18-alpha.
  22872. o Minor bugfixes (documentation and log messages):
  22873. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  22874. Fixes bug 4856; bugfix on Tor 0.0.6.
  22875. - Update "ClientOnly" man page entry to explain that there isn't
  22876. really any point to messing with it. Resolves ticket 5005.
  22877. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  22878. directory authority option (introduced in Tor 0.2.2.34).
  22879. - Downgrade the "We're missing a certificate" message from notice
  22880. to info: people kept mistaking it for a real problem, whereas it
  22881. is seldom the problem even when we are failing to bootstrap. Fixes
  22882. bug 5067; bugfix on 0.2.0.10-alpha.
  22883. - Correctly spell "connect" in a log message on failure to create a
  22884. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  22885. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  22886. circuits. Fixes issue 5259.
  22887. o Minor features:
  22888. - Directory authorities now reject versions of Tor older than
  22889. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  22890. inclusive. These versions accounted for only a small fraction of
  22891. the Tor network, and have numerous known security issues. Resolves
  22892. issue 4788.
  22893. - Update to the May 1 2012 Maxmind GeoLite Country database.
  22894. o Feature removal:
  22895. - When sending or relaying a RELAY_EARLY cell, we used to convert
  22896. it to a RELAY cell if the connection was using the v1 link
  22897. protocol. This was a workaround for older versions of Tor, which
  22898. didn't handle RELAY_EARLY cells properly. Now that all supported
  22899. versions can handle RELAY_EARLY cells, and now that we're enforcing
  22900. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  22901. remove this workaround. Addresses bug 4786.
  22902. Changes in version 0.2.3.15-alpha - 2012-04-30
  22903. Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
  22904. the development branch build on Windows again.
  22905. o Minor bugfixes (on 0.2.2.x and earlier):
  22906. - Make sure that there are no unhandled pending TLS errors before
  22907. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  22908. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  22909. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  22910. - Fix an assert that directory authorities could trigger on sighup
  22911. during some configuration state transitions. We now don't treat
  22912. it as a fatal error when the new descriptor we just generated in
  22913. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  22914. - After we pick a directory mirror, we would refuse to use it if
  22915. it's in our ExcludeExitNodes list, resulting in mysterious failures
  22916. to bootstrap for people who just wanted to avoid exiting from
  22917. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  22918. - When building with --enable-static-tor on OpenBSD, do not
  22919. erroneously attempt to link -lrt. Fixes bug 5103.
  22920. o Minor bugfixes (on 0.2.3.x):
  22921. - When Tor is built with kernel headers from a recent (last few
  22922. years) Linux kernel, do not fail to run on older (pre-2.6.28
  22923. Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
  22924. - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
  22925. and 0.2.3.12-alpha.
  22926. - Fix compilation with miniupnpc version 1.6; patch from
  22927. Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
  22928. - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
  22929. on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
  22930. - Fix compilation on platforms without unistd.h, or where environ
  22931. is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
  22932. o Minor features:
  22933. - Directory authorities are now a little more lenient at accepting
  22934. older router descriptors, or newer router descriptors that don't
  22935. make big changes. This should help ameliorate past and future
  22936. issues where routers think they have uploaded valid descriptors,
  22937. but the authorities don't think so. Fix for ticket 2479.
  22938. - Make the code that clients use to detect an address change be
  22939. IPv6-aware, so that it won't fill clients' logs with error
  22940. messages when trying to get the IPv4 address of an IPv6
  22941. connection. Implements ticket 5537.
  22942. o Removed features:
  22943. - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
  22944. authorities needed to use it for a while to keep the network working
  22945. as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
  22946. that was six months ago. As of now, it should no longer be needed
  22947. or used.
  22948. Changes in version 0.2.3.14-alpha - 2012-04-23
  22949. Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
  22950. candidate. It also dramatically speeds up AES: fast relays should
  22951. consider switching to the newer OpenSSL library.
  22952. o Directory authority changes:
  22953. - Change IP address for ides (v3 directory authority), and rename
  22954. it to turtles.
  22955. o Major bugfixes:
  22956. - Avoid logging uninitialized data when unable to decode a hidden
  22957. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  22958. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  22959. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  22960. 0.2.1.6-alpha.
  22961. - If authorities are unable to get a v2 consensus document from other
  22962. directory authorities, they no longer fall back to fetching
  22963. them from regular directory caches. Fixes bug 5635; bugfix on
  22964. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  22965. documents entirely.
  22966. - When we start a Tor client with a normal consensus already cached,
  22967. be willing to download a microdescriptor consensus. Fixes bug 4011;
  22968. fix on 0.2.3.1-alpha.
  22969. o Major features (performance):
  22970. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  22971. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  22972. vectorized AES implementations as appropriate. These can be much,
  22973. much faster than other AES implementations.
  22974. o Minor bugfixes (0.2.2.x and earlier):
  22975. - Don't launch more than 10 service-side introduction-point circuits
  22976. for a hidden service in five minutes. Previously, we would consider
  22977. launching more introduction-point circuits if at least one second
  22978. had passed without any introduction-point circuits failing. Fixes
  22979. bug 4607; bugfix on 0.0.7pre1.
  22980. - Change the BridgePassword feature (part of the "bridge community"
  22981. design, which is not yet implemented) to use a time-independent
  22982. comparison. The old behavior might have allowed an adversary
  22983. to use timing to guess the BridgePassword value. Fixes bug 5543;
  22984. bugfix on 0.2.0.14-alpha.
  22985. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  22986. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  22987. - When sending an HTTP/1.1 proxy request, include a Host header.
  22988. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  22989. - Don't log that we have "decided to publish new relay descriptor"
  22990. unless we are actually publishing a descriptor. Fixes bug 3942;
  22991. bugfix on 0.2.2.28-beta.
  22992. o Minor bugfixes (0.2.3.x):
  22993. - Fix a bug where a bridge authority crashes (on a failed assert)
  22994. if it has seen no directory requests when it's time to write
  22995. statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
  22996. - Fix bug stomping on ORPort option NoListen and ignoring option
  22997. NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
  22998. - In the testsuite, provide a large enough buffer in the tor_sscanf
  22999. unit test. Otherwise we'd overrun that buffer and crash during
  23000. the unit tests. Found by weasel. Fixes bug 5449; bugfix on
  23001. 0.2.3.12-alpha.
  23002. - Make sure we create the keys directory if it doesn't exist and we're
  23003. about to store the dynamic Diffie-Hellman parameters. Fixes bug
  23004. 5572; bugfix on 0.2.3.13-alpha.
  23005. - Fix a small memory leak when trying to decode incorrect base16
  23006. authenticator during SAFECOOKIE authentication. Found by
  23007. Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
  23008. o Minor features:
  23009. - Add more information to a log statement that might help track down
  23010. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  23011. non-IP address" messages (or any Bug messages, for that matter!),
  23012. please let us know about it.
  23013. - Relays now understand an IPv6 address when they get one from a
  23014. directory server. Resolves ticket 4875.
  23015. - Resolve IPv6 addresses in bridge and entry statistics to country
  23016. code "??" which means we at least count them. Resolves ticket 5053;
  23017. improves on 0.2.3.9-alpha.
  23018. - Update to the April 3 2012 Maxmind GeoLite Country database.
  23019. - Begin a doc/state-contents.txt file to explain the contents of
  23020. the Tor state file. Fixes bug 2987.
  23021. o Default torrc changes:
  23022. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  23023. port on 9050 by default anyway, so this should not change anything
  23024. in practice.
  23025. - Stop mentioning the deprecated *ListenAddress options in
  23026. torrc.sample. Fixes bug 5438.
  23027. - Document unit of bandwidth related options in sample torrc.
  23028. Fixes bug 5621.
  23029. o Removed features:
  23030. - The "torify" script no longer supports the "tsocks" socksifier
  23031. tool, since tsocks doesn't support DNS and UDP right for Tor.
  23032. Everyone should be using torsocks instead. Fixes bugs 3530 and
  23033. 5180. Based on a patch by "ugh".
  23034. o Code refactoring:
  23035. - Change the symmetric cipher interface so that creating and
  23036. initializing a stream cipher are no longer separate functions.
  23037. - Remove all internal support for unpadded RSA. We never used it, and
  23038. it would be a bad idea to start.
  23039. Changes in version 0.2.3.13-alpha - 2012-03-26
  23040. Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
  23041. in managed pluggable transports, as well as providing other cleanups
  23042. that get us closer to a release candidate.
  23043. o Directory authority changes:
  23044. - Change IP address for maatuska (v3 directory authority).
  23045. o Security fixes:
  23046. - Provide controllers with a safer way to implement the cookie
  23047. authentication mechanism. With the old method, if another locally
  23048. running program could convince a controller that it was the Tor
  23049. process, then that program could trick the controller into telling
  23050. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  23051. authentication method uses a challenge-response approach to prevent
  23052. this attack. Fixes bug 5185, implements proposal 193.
  23053. - Never use a bridge or a controller-supplied node as an exit, even
  23054. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  23055. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  23056. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  23057. - Only build circuits if we have a sufficient threshold of the total
  23058. descriptors that are marked in the consensus with the "Exit"
  23059. flag. This mitigates an attack proposed by wanoskarnet, in which
  23060. all of a client's bridges collude to restrict the exit nodes that
  23061. the client knows about. Fixes bug 5343.
  23062. o Major bugfixes (on Tor 0.2.3.x):
  23063. - Avoid an assert when managed proxies like obfsproxy are configured,
  23064. and we receive HUP signals or setconf attempts too rapidly. This
  23065. situation happens most commonly when Vidalia tries to attach to
  23066. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  23067. bugfix on 0.2.3.6-alpha.
  23068. - Fix a relay-side pluggable transports bug where managed proxies were
  23069. unreachable from the Internet, because Tor asked them to bind on
  23070. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  23071. - Stop discarding command-line arguments when TestingTorNetwork
  23072. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  23073. 0.2.3.9-alpha, where task 4552 added support for two layers of
  23074. torrc files.
  23075. - Resume allowing the unit tests to run in gdb. This was accidentally
  23076. made impossible when the DisableDebuggerAttachment option was
  23077. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  23078. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  23079. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  23080. o Minor bugfixes (on 0.2.2.x and earlier):
  23081. - Ensure we don't cannibalize circuits that are longer than three hops
  23082. already, so we don't end up making circuits with 5 or more
  23083. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  23084. 0.1.0.1-rc which introduced cannibalization.
  23085. - Detect and reject certain misformed escape sequences in
  23086. configuration values. Previously, these values would cause us
  23087. to crash if received in a torrc file or over an authenticated
  23088. control port. Bug found by Esteban Manchado Velázquez, and
  23089. independently by Robert Connolly from Matta Consulting who further
  23090. noted that it allows a post-authentication heap overflow. Patch
  23091. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  23092. bugfix on 0.2.0.16-alpha.
  23093. - Fix a compile warning when using the --enable-openbsd-malloc
  23094. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  23095. - Directory caches no longer refuse to clean out descriptors because
  23096. of missing v2 networkstatus documents, unless they're configured
  23097. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  23098. 0.2.2.26-beta. Patch by Daniel Bryg.
  23099. - Update to the latest version of the tinytest unit testing framework.
  23100. This includes a couple of bugfixes that can be relevant for
  23101. running forked unit tests on Windows, and removes all reserved
  23102. identifiers.
  23103. o Minor bugfixes (on 0.2.3.x):
  23104. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  23105. 4296; bugfix on 0.2.3.1-alpha.
  23106. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  23107. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  23108. on 0.2.3.6-alpha. Patch by "frosty".
  23109. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  23110. option, so that the IP stack doesn't decide to use it for IPv4
  23111. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  23112. - Ensure that variables set in Tor's environment cannot override
  23113. environment variables that Tor passes to a managed
  23114. pluggable-transport proxy. Previously, Tor would pass every
  23115. variable in its environment to managed proxies along with the new
  23116. ones, in such a way that on many operating systems, the inherited
  23117. environment variables would override those which Tor tried to
  23118. explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
  23119. bugfix on 0.2.3.9-alpha for Windows.
  23120. o Minor features:
  23121. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  23122. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  23123. - Update to the March 6 2012 Maxmind GeoLite Country database.
  23124. Changes in version 0.2.3.12-alpha - 2012-02-13
  23125. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  23126. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  23127. when Tor is configured to use a pluggable transport like obfsproxy.
  23128. o Major bugfixes:
  23129. - Fix builds when the path to sed, openssl, or sha1sum contains
  23130. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  23131. on 0.2.2.1-alpha.
  23132. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  23133. connections. This change should allow busy exit relays to stop
  23134. running out of available sockets as quickly. Fixes bug 4950;
  23135. bugfix on 0.2.2.26-beta.
  23136. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  23137. would ask the bridge for microdescriptors, which are only supported
  23138. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  23139. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  23140. - Properly set up obfsproxy's environment when in managed mode. The
  23141. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  23142. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  23143. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  23144. o Minor features:
  23145. - Use the dead_strip option when building Tor on OS X. This reduces
  23146. binary size by almost 19% when linking openssl and libevent
  23147. statically, which we do for Tor Browser Bundle.
  23148. - Fix broken URLs in the sample torrc file, and tell readers about
  23149. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  23150. PublishServerDescriptor options. Addresses bug 4652.
  23151. - Update to the February 7 2012 Maxmind GeoLite Country database.
  23152. o Minor bugfixes:
  23153. - Downgrade the "We're missing a certificate" message from notice
  23154. to info: people kept mistaking it for a real problem, whereas it
  23155. is seldom the problem even when we are failing to bootstrap. Fixes
  23156. bug 5067; bugfix on 0.2.0.10-alpha.
  23157. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  23158. managed pluggable transport server proxy's environment.
  23159. Previously, we would put it there, even though Tor doesn't
  23160. implement an 'extended server port' yet, and even though Tor
  23161. almost certainly isn't listening at that address. For now, we set
  23162. it to an empty string to avoid crashing older obfsproxies. Bugfix
  23163. on 0.2.3.6-alpha.
  23164. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  23165. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  23166. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  23167. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  23168. bugfix on 0.2.3.11-alpha.
  23169. - Update "ClientOnly" man page entry to explain that there isn't
  23170. really any point to messing with it. Resolves ticket 5005.
  23171. - Use the correct CVE number for CVE-2011-4576 in our comments and
  23172. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  23173. 0.2.3.11-alpha.
  23174. o Code simplifications and refactoring:
  23175. - Use the _WIN32 macro throughout our code to detect Windows.
  23176. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  23177. 'MS_WINDOWS'.)
  23178. Changes in version 0.2.3.11-alpha - 2012-01-22
  23179. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  23180. the last step of the plan to limit maximum circuit length, includes
  23181. a wide variety of hidden service performance and correctness fixes,
  23182. works around an OpenSSL security flaw if your distro is too stubborn
  23183. to upgrade, and fixes a bunch of smaller issues.
  23184. o Major features:
  23185. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  23186. part of "Proposal 110: Avoiding infinite length circuits" by
  23187. refusing all circuit-extend requests that do not use a relay_early
  23188. cell. This change helps Tor resist a class of denial-of-service
  23189. attacks by limiting the maximum circuit length.
  23190. - Adjust the number of introduction points that a hidden service
  23191. will try to maintain based on how long its introduction points
  23192. remain in use and how many introductions they handle. Fixes
  23193. part of bug 3825.
  23194. - Try to use system facilities for enumerating local interface
  23195. addresses, before falling back to our old approach (which was
  23196. binding a UDP socket, and calling getsockname() on it). That
  23197. approach was scaring OS X users whose draconian firewall
  23198. software warned about binding to UDP sockets, regardless of
  23199. whether packets were sent. Now we try to use getifaddrs(),
  23200. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  23201. system supports. Resolves ticket 1827.
  23202. o Major security workaround:
  23203. - When building or running with any version of OpenSSL earlier
  23204. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  23205. versions have a bug (CVE-2011-4576) in which their block cipher
  23206. padding includes uninitialized data, potentially leaking sensitive
  23207. information to any peer with whom they make a SSLv3 connection. Tor
  23208. does not use SSL v3 by default, but a hostile client or server
  23209. could force an SSLv3 connection in order to gain information that
  23210. they shouldn't have been able to get. The best solution here is to
  23211. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  23212. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  23213. to make sure that the bug can't happen.
  23214. o Major bugfixes:
  23215. - Fix the SOCKET_OK test that we use to tell when socket
  23216. creation fails so that it works on Win64. Fixes part of bug 4533;
  23217. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  23218. - Correct our replacements for the timeradd() and timersub() functions
  23219. on platforms that lack them (for example, Windows). The timersub()
  23220. function is used when expiring circuits, while timeradd() is
  23221. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  23222. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  23223. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  23224. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  23225. bug at runtime, not compile time, because some distributions hack
  23226. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  23227. on 0.2.3.9-alpha. Found by Pascal.
  23228. o Minor features (controller):
  23229. - Use absolute path names when reporting the torrc filename in the
  23230. control protocol, so a controller can more easily find the torrc
  23231. file. Resolves bug 1101.
  23232. - Extend the control protocol to report flags that control a circuit's
  23233. path selection in CIRC events and in replies to 'GETINFO
  23234. circuit-status'. Implements part of ticket 2411.
  23235. - Extend the control protocol to report the hidden service address
  23236. and current state of a hidden-service-related circuit in CIRC
  23237. events and in replies to 'GETINFO circuit-status'. Implements part
  23238. of ticket 2411.
  23239. - When reporting the path to the cookie file to the controller,
  23240. give an absolute path. Resolves ticket 4881.
  23241. - Allow controllers to request an event notification whenever a
  23242. circuit is cannibalized or its purpose is changed. Implements
  23243. part of ticket 3457.
  23244. - Include the creation time of a circuit in CIRC and CIRC2
  23245. control-port events and the list produced by the 'GETINFO
  23246. circuit-status' control-port command.
  23247. o Minor features (directory authorities):
  23248. - Directory authorities now reject versions of Tor older than
  23249. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  23250. inclusive. These versions accounted for only a small fraction of
  23251. the Tor network, and have numerous known security issues. Resolves
  23252. issue 4788.
  23253. - Authority operators can now vote for all relays in a given
  23254. set of countries to be BadDir/BadExit/Invalid/Rejected.
  23255. - Provide two consensus parameters (FastFlagMinThreshold and
  23256. FastFlagMaxThreshold) to control the range of allowable bandwidths
  23257. for the Fast directory flag. These allow authorities to run
  23258. experiments on appropriate requirements for being a "Fast" node.
  23259. The AuthDirFastGuarantee config value still applies. Implements
  23260. ticket 3946.
  23261. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  23262. directory authority option (introduced in Tor 0.2.2.34).
  23263. o Minor features (other):
  23264. - Don't disable the DirPort when we cannot exceed our AccountingMax
  23265. limit during this interval because the effective bandwidthrate is
  23266. low enough. This is useful in a situation where AccountMax is only
  23267. used as an additional safeguard or to provide statistics.
  23268. - Prepend an informative header to generated dynamic_dh_params files.
  23269. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  23270. EntryNodes will have no effect. Resolves issue 2571.
  23271. - Log more useful messages when we fail to disable debugger
  23272. attachment.
  23273. - Log which authority we're missing votes from when we go to fetch
  23274. them from the other auths.
  23275. - Log (at debug level) whenever a circuit's purpose is changed.
  23276. - Add missing documentation for the MaxClientCircuitsPending,
  23277. UseMicrodescriptors, UserspaceIOCPBuffers, and
  23278. _UseFilteringSSLBufferevents options, all introduced during
  23279. the 0.2.3.x series.
  23280. - Update to the January 3 2012 Maxmind GeoLite Country database.
  23281. o Minor bugfixes (hidden services):
  23282. - Don't close hidden service client circuits which have almost
  23283. finished connecting to their destination when they reach
  23284. the normal circuit-build timeout. Previously, we would close
  23285. introduction circuits which are waiting for an acknowledgement
  23286. from the introduction point, and rendezvous circuits which have
  23287. been specified in an INTRODUCE1 cell sent to a hidden service,
  23288. after the normal CBT. Now, we mark them as 'timed out', and launch
  23289. another rendezvous attempt in parallel. This behavior change can
  23290. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  23291. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  23292. - Don't close hidden-service-side rendezvous circuits when they
  23293. reach the normal circuit-build timeout. This behavior change can
  23294. be disabled using the new
  23295. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  23296. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  23297. - Make sure we never mark the wrong rendezvous circuit as having
  23298. had its introduction cell acknowledged by the introduction-point
  23299. relay. Previously, when we received an INTRODUCE_ACK cell on a
  23300. client-side hidden-service introduction circuit, we might have
  23301. marked a rendezvous circuit other than the one we specified in
  23302. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  23303. a warning message and interfered with the hidden service
  23304. connection-establishment process. Fixes bug 4759; bugfix on
  23305. 0.2.3.3-alpha, when we added the stream-isolation feature which
  23306. might cause Tor to open multiple rendezvous circuits for the same
  23307. hidden service.
  23308. - Don't trigger an assertion failure when we mark a new client-side
  23309. hidden-service introduction circuit for close during the process
  23310. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  23311. by murb.
  23312. o Minor bugfixes (log messages):
  23313. - Correctly spell "connect" in a log message on failure to create a
  23314. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  23315. 0.2.3.2-alpha.
  23316. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  23317. Fixes bug 4856; bugfix on Tor 0.0.6.
  23318. - Fix the log message describing how we work around discovering
  23319. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  23320. 4837; bugfix on 0.2.2.9-alpha.
  23321. - When logging about a disallowed .exit name, do not also call it
  23322. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  23323. o Minor bugfixes (build fixes):
  23324. - During configure, detect when we're building with clang version
  23325. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  23326. CFLAGS. clang doesn't support them yet.
  23327. - During configure, search for library containing cos function as
  23328. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  23329. against libm was hard-coded before. Fixes the first part of bug
  23330. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  23331. Pedersen.
  23332. - Detect attempts to build Tor on (as yet hypothetical) versions
  23333. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  23334. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  23335. - Preprocessor directives should not be put inside the arguments
  23336. of a macro. This would break compilation with GCC releases prior
  23337. to version 3.3. We would never recommend such an old GCC version,
  23338. but it is apparently required for binary compatibility on some
  23339. platforms (namely, certain builds of Haiku). Fixes the other part
  23340. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  23341. Hebnes Pedersen.
  23342. o Minor bugfixes (other):
  23343. - Older Linux kernels erroneously respond to strange nmap behavior
  23344. by having accept() return successfully with a zero-length
  23345. socket. When this happens, just close the connection. Previously,
  23346. we would try harder to learn the remote address: but there was
  23347. no such remote address to learn, and our method for trying to
  23348. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  23349. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  23350. - Fix null-pointer access that could occur if TLS allocation failed.
  23351. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  23352. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  23353. accidentally been reverted.
  23354. - Fix our implementation of crypto_random_hostname() so it can't
  23355. overflow on ridiculously large inputs. (No Tor version has ever
  23356. provided this kind of bad inputs, but let's be correct in depth.)
  23357. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  23358. - Find more places in the code that should have been testing for
  23359. invalid sockets using the SOCKET_OK macro. Required for a fix
  23360. for bug 4533. Bugfix on 0.2.2.28-beta.
  23361. - Fix an assertion failure when, while running with bufferevents, a
  23362. connection finishes connecting after it is marked for close, but
  23363. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  23364. - test_util_spawn_background_ok() hardcoded the expected value
  23365. for ENOENT to 2. This isn't portable as error numbers are
  23366. platform specific, and particularly the hurd has ENOENT at
  23367. 0x40000002. Construct expected string at runtime, using the correct
  23368. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  23369. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  23370. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  23371. - Use an appropriate-width type for sockets in tor-fw-helper on
  23372. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  23373. o Feature removal:
  23374. - When sending or relaying a RELAY_EARLY cell, we used to convert
  23375. it to a RELAY cell if the connection was using the v1 link
  23376. protocol. This was a workaround for older versions of Tor, which
  23377. didn't handle RELAY_EARLY cells properly. Now that all supported
  23378. versions can handle RELAY_EARLY cells, and now that we're enforcing
  23379. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  23380. remove this workaround. Addresses bug 4786.
  23381. o Code simplifications and refactoring:
  23382. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  23383. own homebrewed ssl_state_to_string() replacement. Patch from
  23384. Emile Snyder. Fixes bug 4653.
  23385. - Use macros to indicate OpenSSL versions, so we don't need to worry
  23386. about accidental hexadecimal bit shifts.
  23387. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  23388. supported).
  23389. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  23390. - Use the smartlist_add_asprintf() alias more consistently.
  23391. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  23392. invalid value, rather than just -1.
  23393. - Rename a handful of old identifiers, mostly related to crypto
  23394. structures and crypto functions. By convention, our "create an
  23395. object" functions are called "type_new()", our "free an object"
  23396. functions are called "type_free()", and our types indicate that
  23397. they are types only with a final "_t". But a handful of older
  23398. types and functions broke these rules, with function names like
  23399. "type_create" or "subsystem_op_type", or with type names like
  23400. type_env_t.
  23401. Changes in version 0.2.3.10-alpha - 2011-12-16
  23402. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  23403. Tor's buffers code. Absolutely everybody should upgrade.
  23404. The bug relied on an incorrect calculation when making data continuous
  23405. in one of our IO buffers, if the first chunk of the buffer was
  23406. misaligned by just the wrong amount. The miscalculation would allow an
  23407. attacker to overflow a piece of heap-allocated memory. To mount this
  23408. attack, the attacker would need to either open a SOCKS connection to
  23409. Tor's SocksPort (usually restricted to localhost), or target a Tor
  23410. instance configured to make its connections through a SOCKS proxy
  23411. (which Tor does not do by default).
  23412. Good security practice requires that all heap-overflow bugs should be
  23413. presumed to be exploitable until proven otherwise, so we are treating
  23414. this as a potential code execution attack. Please upgrade immediately!
  23415. This bug does not affect bufferevents-based builds of Tor. Special
  23416. thanks to "Vektor" for reporting this issue to us!
  23417. This release also contains a few minor bugfixes for issues discovered
  23418. in 0.2.3.9-alpha.
  23419. o Major bugfixes:
  23420. - Fix a heap overflow bug that could occur when trying to pull
  23421. data into the first chunk of a buffer, when that chunk had
  23422. already had some data drained from it. Fixes CVE-2011-2778;
  23423. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  23424. o Minor bugfixes:
  23425. - If we can't attach streams to a rendezvous circuit when we
  23426. finish connecting to a hidden service, clear the rendezvous
  23427. circuit's stream-isolation state and try to attach streams
  23428. again. Previously, we cleared rendezvous circuits' isolation
  23429. state either too early (if they were freshly built) or not at all
  23430. (if they had been built earlier and were cannibalized). Bugfix on
  23431. 0.2.3.3-alpha; fixes bug 4655.
  23432. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  23433. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  23434. - Fix an assertion failure when a relay with accounting enabled
  23435. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  23436. o Minor features:
  23437. - Update to the December 6 2011 Maxmind GeoLite Country database.
  23438. Changes in version 0.2.2.35 - 2011-12-16
  23439. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  23440. buffers code. Absolutely everybody should upgrade.
  23441. The bug relied on an incorrect calculation when making data continuous
  23442. in one of our IO buffers, if the first chunk of the buffer was
  23443. misaligned by just the wrong amount. The miscalculation would allow an
  23444. attacker to overflow a piece of heap-allocated memory. To mount this
  23445. attack, the attacker would need to either open a SOCKS connection to
  23446. Tor's SocksPort (usually restricted to localhost), or target a Tor
  23447. instance configured to make its connections through a SOCKS proxy
  23448. (which Tor does not do by default).
  23449. Good security practice requires that all heap-overflow bugs should be
  23450. presumed to be exploitable until proven otherwise, so we are treating
  23451. this as a potential code execution attack. Please upgrade immediately!
  23452. This bug does not affect bufferevents-based builds of Tor. Special
  23453. thanks to "Vektor" for reporting this issue to us!
  23454. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  23455. crash bugs for unusual configurations, and a long-term bug that
  23456. would prevent Tor from starting on Windows machines with draconian
  23457. AV software.
  23458. With this release, we remind everyone that 0.2.0.x has reached its
  23459. formal end-of-life. Those Tor versions have many known flaws, and
  23460. nobody should be using them. You should upgrade -- ideally to the
  23461. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  23462. obsolete, stop using those packages and upgrade anyway.
  23463. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  23464. longer receive support after some time in early 2012.
  23465. o Major bugfixes:
  23466. - Fix a heap overflow bug that could occur when trying to pull
  23467. data into the first chunk of a buffer, when that chunk had
  23468. already had some data drained from it. Fixes CVE-2011-2778;
  23469. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  23470. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  23471. that it doesn't attempt to allocate a socketpair. This could cause
  23472. some problems on Windows systems with overzealous firewalls. Fix for
  23473. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  23474. 2.0.15-stable.
  23475. - If we mark an OR connection for close based on a cell we process,
  23476. don't process any further cells on it. We already avoid further
  23477. reads on marked-for-close connections, but now we also discard the
  23478. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  23479. which was the first version where we might mark a connection for
  23480. close based on processing a cell on it.
  23481. - Correctly sanity-check that we don't underflow on a memory
  23482. allocation (and then assert) for hidden service introduction
  23483. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  23484. bugfix on 0.2.1.5-alpha.
  23485. - Fix a memory leak when we check whether a hidden service
  23486. descriptor has any usable introduction points left. Fixes bug
  23487. 4424. Bugfix on 0.2.2.25-alpha.
  23488. - Don't crash when we're running as a relay and don't have a GeoIP
  23489. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  23490. we've had in the 0.2.3.x branch already.
  23491. - When running as a client, do not print a misleading (and plain
  23492. wrong) log message that we're collecting "directory request"
  23493. statistics: clients don't collect statistics. Also don't create a
  23494. useless (because empty) stats file in the stats/ directory. Fixes
  23495. bug 4353; bugfix on 0.2.2.34.
  23496. o Minor bugfixes:
  23497. - Detect failure to initialize Libevent. This fix provides better
  23498. detection for future instances of bug 4457.
  23499. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  23500. function. This was eating up hideously large amounts of time on some
  23501. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  23502. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  23503. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  23504. Mansour Moufid.
  23505. - Don't warn about unused log_mutex in log.c when building with
  23506. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  23507. 0.1.0.6-rc which introduced --disable-threads.
  23508. - When configuring, starting, or stopping an NT service, stop
  23509. immediately after the service configuration attempt has succeeded
  23510. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  23511. - When sending a NETINFO cell, include the original address
  23512. received for the other side, not its canonical address. Found
  23513. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  23514. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  23515. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  23516. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  23517. occurred when a client tried to fetch a descriptor for a bridge
  23518. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  23519. - Backport fixes for a pair of compilation warnings on Windows.
  23520. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  23521. - If we had ever tried to call tor_addr_to_str on an address of
  23522. unknown type, we would have done a strdup on an uninitialized
  23523. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  23524. Reported by "troll_un".
  23525. - Correctly detect and handle transient lookup failures from
  23526. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  23527. Reported by "troll_un".
  23528. - Fix null-pointer access that could occur if TLS allocation failed.
  23529. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  23530. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  23531. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  23532. o Minor features:
  23533. - Add two new config options for directory authorities:
  23534. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  23535. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  23536. that is always sufficient to satisfy the bandwidth requirement for
  23537. the Guard flag. Now it will be easier for researchers to simulate
  23538. Tor networks with different values. Resolves ticket 4484.
  23539. - When Tor ignores a hidden service specified in its configuration,
  23540. include the hidden service's directory in the warning message.
  23541. Previously, we would only tell the user that some hidden service
  23542. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  23543. - Update to the December 6 2011 Maxmind GeoLite Country database.
  23544. o Packaging changes:
  23545. - Make it easier to automate expert package builds on Windows,
  23546. by removing an absolute path from makensis.exe command.
  23547. Changes in version 0.2.1.32 - 2011-12-16
  23548. Tor 0.2.1.32 backports important security and privacy fixes for
  23549. oldstable. This release is intended only for package maintainers and
  23550. others who cannot use the 0.2.2 stable series. All others should be
  23551. using Tor 0.2.2.x or newer.
  23552. The Tor 0.2.1.x series will reach formal end-of-life some time in
  23553. early 2012; we will stop releasing patches for it then.
  23554. o Major bugfixes (also included in 0.2.2.x):
  23555. - Correctly sanity-check that we don't underflow on a memory
  23556. allocation (and then assert) for hidden service introduction
  23557. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  23558. bugfix on 0.2.1.5-alpha.
  23559. - Fix a heap overflow bug that could occur when trying to pull
  23560. data into the first chunk of a buffer, when that chunk had
  23561. already had some data drained from it. Fixes CVE-2011-2778;
  23562. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  23563. o Minor features:
  23564. - Update to the December 6 2011 Maxmind GeoLite Country database.
  23565. Changes in version 0.2.3.9-alpha - 2011-12-08
  23566. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  23567. a "DisableNetwork" security feature that bundles can use to avoid
  23568. touching the network until bridges are configured, moves forward on
  23569. the pluggable transport design, fixes a flaw in the hidden service
  23570. design that unnecessarily prevented clients with wrong clocks from
  23571. reaching hidden services, and fixes a wide variety of other issues.
  23572. o Major features:
  23573. - Clients can now connect to private bridges over IPv6. Bridges
  23574. still need at least one IPv4 address in order to connect to
  23575. other relays. Note that we don't yet handle the case where the
  23576. user has two bridge lines for the same bridge (one IPv4, one
  23577. IPv6). Implements parts of proposal 186.
  23578. - New "DisableNetwork" config option to prevent Tor from launching any
  23579. connections or accepting any connections except on a control port.
  23580. Bundles and controllers can set this option before letting Tor talk
  23581. to the rest of the network, for example to prevent any connections
  23582. to a non-bridge address. Packages like Orbot can also use this
  23583. option to instruct Tor to save power when the network is off.
  23584. - Clients and bridges can now be configured to use a separate
  23585. "transport" proxy. This approach makes the censorship arms race
  23586. easier by allowing bridges to use protocol obfuscation plugins. It
  23587. implements the "managed proxy" part of proposal 180 (ticket 3472).
  23588. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  23589. implementation. It makes AES_CTR about 7% faster than our old one
  23590. (which was about 10% faster than the one OpenSSL used to provide).
  23591. Resolves ticket 4526.
  23592. - Add a "tor2web mode" for clients that want to connect to hidden
  23593. services non-anonymously (and possibly more quickly). As a safety
  23594. measure to try to keep users from turning this on without knowing
  23595. what they are doing, tor2web mode must be explicitly enabled at
  23596. compile time, and a copy of Tor compiled to run in tor2web mode
  23597. cannot be used as a normal Tor client. Implements feature 2553.
  23598. - Add experimental support for running on Windows with IOCP and no
  23599. kernel-space socket buffers. This feature is controlled by a new
  23600. "UserspaceIOCPBuffers" config option (off by default), which has
  23601. no effect unless Tor has been built with support for bufferevents,
  23602. is running on Windows, and has enabled IOCP. This may, in the long
  23603. run, help solve or mitigate bug 98.
  23604. - Use a more secure consensus parameter voting algorithm. Now at
  23605. least three directory authorities or a majority of them must
  23606. vote on a given parameter before it will be included in the
  23607. consensus. Implements proposal 178.
  23608. o Major bugfixes:
  23609. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  23610. They used to check that the timestamp was within 30 minutes
  23611. of their system clock, so they could cap the size of their
  23612. replay-detection cache, but that approach unnecessarily refused
  23613. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  23614. the v3 intro-point protocol (the first one which sent a timestamp
  23615. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  23616. - Only use the EVP interface when AES acceleration is enabled,
  23617. to avoid a 5-7% performance regression. Resolves issue 4525;
  23618. bugfix on 0.2.3.8-alpha.
  23619. o Privacy/anonymity features (bridge detection):
  23620. - Make bridge SSL certificates a bit more stealthy by using random
  23621. serial numbers, in the same fashion as OpenSSL when generating
  23622. self-signed certificates. Implements ticket 4584.
  23623. - Introduce a new config option "DynamicDHGroups", enabled by
  23624. default, which provides each bridge with a unique prime DH modulus
  23625. to be used during SSL handshakes. This option attempts to help
  23626. against censors who might use the Apache DH modulus as a static
  23627. identifier for bridges. Addresses ticket 4548.
  23628. o Minor features (new/different config options):
  23629. - New configuration option "DisableDebuggerAttachment" (on by default)
  23630. to prevent basic debugging attachment attempts by other processes.
  23631. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  23632. - Allow MapAddress directives to specify matches against super-domains,
  23633. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  23634. Implements issue 933.
  23635. - Slightly change behavior of "list" options (that is, config
  23636. options that can appear more than once) when they appear both in
  23637. torrc and on the command line. Previously, the command-line options
  23638. would be appended to the ones from torrc. Now, the command-line
  23639. options override the torrc options entirely. This new behavior
  23640. allows the user to override list options (like exit policies and
  23641. ports to listen on) from the command line, rather than simply
  23642. appending to the list.
  23643. - You can get the old (appending) command-line behavior for "list"
  23644. options by prefixing the option name with a "+".
  23645. - You can remove all the values for a "list" option from the command
  23646. line without adding any new ones by prefixing the option name
  23647. with a "/".
  23648. - Add experimental support for a "defaults" torrc file to be parsed
  23649. before the regular torrc. Torrc options override the defaults file's
  23650. options in the same way that the command line overrides the torrc.
  23651. The SAVECONF controller command saves only those options which
  23652. differ between the current configuration and the defaults file. HUP
  23653. reloads both files. (Note: This is an experimental feature; its
  23654. behavior will probably be refined in future 0.2.3.x-alpha versions
  23655. to better meet packagers' needs.) Implements task 4552.
  23656. o Minor features:
  23657. - Try to make the introductory warning message that Tor prints on
  23658. startup more useful for actually finding help and information.
  23659. Resolves ticket 2474.
  23660. - Running "make version" now displays the version of Tor that
  23661. we're about to build. Idea from katmagic; resolves issue 4400.
  23662. - Expire old or over-used hidden service introduction points.
  23663. Required by fix for bug 3460.
  23664. - Move the replay-detection cache for the RSA-encrypted parts of
  23665. INTRODUCE2 cells to the introduction point data structures.
  23666. Previously, we would use one replay-detection cache per hidden
  23667. service. Required by fix for bug 3460.
  23668. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  23669. public key replay-detection cache from 60 minutes to 5 minutes. This
  23670. replay-detection cache is now used only to detect multiple
  23671. INTRODUCE2 cells specifying the same rendezvous point, so we can
  23672. avoid launching multiple simultaneous attempts to connect to it.
  23673. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  23674. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  23675. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  23676. Mansour Moufid.
  23677. - Fix a minor formatting issue in one of tor-gencert's error messages.
  23678. Fixes bug 4574.
  23679. - Prevent a false positive from the check-spaces script, by disabling
  23680. the "whitespace between function name and (" check for functions
  23681. named 'op()'.
  23682. - Fix a log message suggesting that people contact a non-existent
  23683. email address. Fixes bug 3448.
  23684. - Fix null-pointer access that could occur if TLS allocation failed.
  23685. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  23686. - Report a real bootstrap problem to the controller on router
  23687. identity mismatch. Previously we just said "foo", which probably
  23688. made a lot of sense at the time. Fixes bug 4169; bugfix on
  23689. 0.2.1.1-alpha.
  23690. - If we had ever tried to call tor_addr_to_str() on an address of
  23691. unknown type, we would have done a strdup() on an uninitialized
  23692. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  23693. Reported by "troll_un".
  23694. - Correctly detect and handle transient lookup failures from
  23695. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  23696. Reported by "troll_un".
  23697. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  23698. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  23699. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  23700. bug 4532; found by "troll_un".
  23701. o Minor bugfixes (on Tor 0.2.3.x):
  23702. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  23703. fixes bug 4554.
  23704. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  23705. circuit for use as a hidden service client's rendezvous point.
  23706. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  23707. with help from wanoskarnet.
  23708. - Restore behavior of overriding SocksPort, ORPort, and similar
  23709. options from the command line. Bugfix on 0.2.3.3-alpha.
  23710. o Build fixes:
  23711. - Properly handle the case where the build-tree is not the same
  23712. as the source tree when generating src/common/common_sha1.i,
  23713. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  23714. bugfix on 0.2.0.1-alpha.
  23715. o Code simplifications, cleanups, and refactorings:
  23716. - Remove the pure attribute from all functions that used it
  23717. previously. In many cases we assigned it incorrectly, because the
  23718. functions might assert or call impure functions, and we don't have
  23719. evidence that keeping the pure attribute is worthwhile. Implements
  23720. changes suggested in ticket 4421.
  23721. - Remove some dead code spotted by coverity. Fixes cid 432.
  23722. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  23723. Changes in version 0.2.3.8-alpha - 2011-11-22
  23724. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  23725. socketpair-related bug that has been bothering Windows users. It adds
  23726. support to serve microdescriptors to controllers, so Vidalia's network
  23727. map can resume listing relays (once Vidalia implements its side),
  23728. and adds better support for hardware AES acceleration. Finally, it
  23729. starts the process of adjusting the bandwidth cutoff for getting the
  23730. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  23731. that tiny relays harm performance more than they help network capacity.
  23732. o Major bugfixes:
  23733. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  23734. that it doesn't attempt to allocate a socketpair. This could cause
  23735. some problems on Windows systems with overzealous firewalls. Fix for
  23736. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  23737. 2.0.15-stable.
  23738. - Correctly sanity-check that we don't underflow on a memory
  23739. allocation (and then assert) for hidden service introduction
  23740. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  23741. bugfix on 0.2.1.5-alpha.
  23742. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  23743. flag. In the past few years the average relay speed has picked
  23744. up, and while the "top 7/8 of the network get the Fast flag" and
  23745. "all relays with 20KB or more of capacity get the Fast flag" rules
  23746. used to have the same result, now the top 7/8 of the network has
  23747. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  23748. - Fix a rare assertion failure when checking whether a v0 hidden
  23749. service descriptor has any usable introduction points left, and
  23750. we don't have enough information to build a circuit to the first
  23751. intro point named in the descriptor. The HS client code in
  23752. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  23753. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  23754. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  23755. - Make bridge authorities not crash when they are asked for their own
  23756. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  23757. - When running as a client, do not print a misleading (and plain
  23758. wrong) log message that we're collecting "directory request"
  23759. statistics: clients don't collect statistics. Also don't create a
  23760. useless (because empty) stats file in the stats/ directory. Fixes
  23761. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  23762. o Major features:
  23763. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  23764. for a relay by identity digest or nickname. Previously,
  23765. microdescriptors were only available by their own digests, so a
  23766. controller would have to ask for and parse the whole microdescriptor
  23767. consensus in order to look up a single relay's microdesc. Fixes
  23768. bug 3832; bugfix on 0.2.3.1-alpha.
  23769. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  23770. operations can use hardware acceleration (if present). Resolves
  23771. ticket 4442.
  23772. o Minor bugfixes (on 0.2.2.x and earlier):
  23773. - Detect failure to initialize Libevent. This fix provides better
  23774. detection for future instances of bug 4457.
  23775. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  23776. function. This was eating up hideously large amounts of time on some
  23777. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  23778. - Don't warn about unused log_mutex in log.c when building with
  23779. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  23780. 0.1.0.6-rc which introduced --disable-threads.
  23781. - Allow manual 'authenticate' commands to the controller interface
  23782. from netcat (nc) as well as telnet. We were rejecting them because
  23783. they didn't come with the expected whitespace at the end of the
  23784. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  23785. - Fix some (not actually triggerable) buffer size checks in usage of
  23786. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  23787. by Anders Sundman.
  23788. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  23789. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  23790. - When configuring, starting, or stopping an NT service, stop
  23791. immediately after the service configuration attempt has succeeded
  23792. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  23793. - When sending a NETINFO cell, include the original address
  23794. received for the other side, not its canonical address. Found
  23795. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  23796. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  23797. can pick them up when the tests aren't disabled. Bugfix on
  23798. 0.2.2.4-alpha which introduced tinytest.
  23799. - Fix a memory leak when we check whether a hidden service
  23800. descriptor has any usable introduction points left. Fixes bug
  23801. 4424. Bugfix on 0.2.2.25-alpha.
  23802. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  23803. occurred when a client tried to fetch a descriptor for a bridge
  23804. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  23805. o Minor bugfixes (on 0.2.3.x):
  23806. - Make util unit tests build correctly with MSVC. Bugfix on
  23807. 0.2.3.3-alpha. Patch by Gisle Vanem.
  23808. - Successfully detect AUTH_CHALLENGE cells with no recognized
  23809. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  23810. Found by frosty_un.
  23811. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  23812. it should still send a NETINFO cell to allow the connection to
  23813. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  23814. "frosty".
  23815. - Log less loudly when we get an invalid authentication certificate
  23816. from a source other than a directory authority: it's not unusual
  23817. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  23818. on 0.2.3.6-alpha.
  23819. - Tolerate servers with more clock skew in their authentication
  23820. certificates than previously. Fixes bug 4371; bugfix on
  23821. 0.2.3.6-alpha.
  23822. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  23823. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  23824. o Minor features:
  23825. - Add two new config options for directory authorities:
  23826. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  23827. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  23828. that is always sufficient to satisfy the bandwidth requirement for
  23829. the Guard flag. Now it will be easier for researchers to simulate
  23830. Tor networks with different values. Resolves ticket 4484.
  23831. - When Tor ignores a hidden service specified in its configuration,
  23832. include the hidden service's directory in the warning message.
  23833. Previously, we would only tell the user that some hidden service
  23834. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  23835. - When we fail to initialize Libevent, retry with IOCP disabled so we
  23836. don't need to turn on multi-threading support in Libevent, which in
  23837. turn requires a working socketpair(). This is a workaround for bug
  23838. 4457, which affects Libevent versions from 2.0.1-alpha through
  23839. 2.0.15-stable.
  23840. - Detect when we try to build on a platform that doesn't define
  23841. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  23842. - Update to the November 1 2011 Maxmind GeoLite Country database.
  23843. o Packaging changes:
  23844. - Make it easier to automate expert package builds on Windows,
  23845. by removing an absolute path from makensis.exe command.
  23846. o Code simplifications and refactoring:
  23847. - Remove some redundant #include directives throughout the code.
  23848. Patch from Andrea Gelmini.
  23849. - Unconditionally use OpenSSL's AES implementation instead of our
  23850. old built-in one. OpenSSL's AES has been better for a while, and
  23851. relatively few servers should still be on any version of OpenSSL
  23852. that doesn't have good optimized assembly AES.
  23853. - Use the name "CERTS" consistently to refer to the new cell type;
  23854. we were calling it CERT in some places and CERTS in others.
  23855. o Testing:
  23856. - Numerous new unit tests for functions in util.c and address.c by
  23857. Anders Sundman.
  23858. - The long-disabled benchmark tests are now split into their own
  23859. ./src/test/bench binary.
  23860. - The benchmark tests can now use more accurate timers than
  23861. gettimeofday() when such timers are available.
  23862. Changes in version 0.2.3.7-alpha - 2011-10-30
  23863. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  23864. the new v3 handshake. It also resolves yet another bridge address
  23865. enumeration issue.
  23866. o Major bugfixes:
  23867. - If we mark an OR connection for close based on a cell we process,
  23868. don't process any further cells on it. We already avoid further
  23869. reads on marked-for-close connections, but now we also discard the
  23870. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  23871. which was the first version where we might mark a connection for
  23872. close based on processing a cell on it.
  23873. - Fix a double-free bug that would occur when we received an invalid
  23874. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  23875. bugfix on 0.2.3.6-alpha.
  23876. - Bridges no longer include their address in NETINFO cells on outgoing
  23877. OR connections, to allow them to blend in better with clients.
  23878. Removes another avenue for enumerating bridges. Reported by
  23879. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  23880. cells were introduced.
  23881. o Trivial fixes:
  23882. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  23883. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  23884. Changes in version 0.2.3.6-alpha - 2011-10-26
  23885. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  23886. anonymity vulnerability where an attacker can deanonymize Tor
  23887. users. Everybody should upgrade.
  23888. This release also features support for a new v3 connection handshake
  23889. protocol, and fixes to make hidden service connections more robust.
  23890. o Major features:
  23891. - Implement a new handshake protocol (v3) for authenticating Tors to
  23892. each other over TLS. It should be more resistant to fingerprinting
  23893. than previous protocols, and should require less TLS hacking for
  23894. future Tor implementations. Implements proposal 176.
  23895. - Allow variable-length padding cells to disguise the length of
  23896. Tor's TLS records. Implements part of proposal 184.
  23897. o Privacy/anonymity fixes (clients):
  23898. - Clients and bridges no longer send TLS certificate chains on
  23899. outgoing OR connections. Previously, each client or bridge would
  23900. use the same cert chain for all outgoing OR connections until
  23901. its IP address changes, which allowed any relay that the client
  23902. or bridge contacted to determine which entry guards it is using.
  23903. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  23904. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  23905. no longer considers that connection as suitable for satisfying a
  23906. circuit EXTEND request. Now relays can protect clients from the
  23907. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  23908. - Directory authorities no longer assign the Guard flag to relays
  23909. that haven't upgraded to the above "refuse EXTEND requests
  23910. to client connections" fix. Now directory authorities can
  23911. protect clients from the CVE-2011-2768 issue even if neither
  23912. the clients nor the relays have upgraded yet. There's a new
  23913. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  23914. to let us transition smoothly, else tomorrow there would be no
  23915. guard relays.
  23916. o Major bugfixes (hidden services):
  23917. - Improve hidden service robustness: when an attempt to connect to
  23918. a hidden service ends, be willing to refetch its hidden service
  23919. descriptors from each of the HSDir relays responsible for them
  23920. immediately. Previously, we would not consider refetching the
  23921. service's descriptors from each HSDir for 15 minutes after the last
  23922. fetch, which was inconvenient if the hidden service was not running
  23923. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  23924. - When one of a hidden service's introduction points appears to be
  23925. unreachable, stop trying it. Previously, we would keep trying
  23926. to build circuits to the introduction point until we lost the
  23927. descriptor, usually because the user gave up and restarted Tor.
  23928. Partly fixes bug 3825.
  23929. - Don't launch a useless circuit after failing to use one of a
  23930. hidden service's introduction points. Previously, we would
  23931. launch a new introduction circuit, but not set the hidden service
  23932. which that circuit was intended to connect to, so it would never
  23933. actually be used. A different piece of code would then create a
  23934. new introduction circuit correctly. Bug reported by katmagic and
  23935. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  23936. o Major bugfixes (other):
  23937. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  23938. that they initiated. Relays could distinguish incoming bridge
  23939. connections from client connections, creating another avenue for
  23940. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  23941. Found by "frosty_un".
  23942. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  23943. tor gets started. This prevents a wrong average bandwidth
  23944. estimate, which would cause relays to always start a new accounting
  23945. interval at the earliest possible moment. Fixes bug 2003; bugfix
  23946. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  23947. immensely in tracking this bug down.
  23948. - Fix a crash bug when changing node restrictions while a DNS lookup
  23949. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  23950. by "Tey'".
  23951. o Minor bugfixes (on 0.2.2.x and earlier):
  23952. - When a hidden service turns an extra service-side introduction
  23953. circuit into a general-purpose circuit, free the rend_data and
  23954. intro_key fields first, so we won't leak memory if the circuit
  23955. is cannibalized for use as another service-side introduction
  23956. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  23957. - Rephrase the log message emitted if the TestSocks check is
  23958. successful. Patch from Fabian Keil; fixes bug 4094.
  23959. - Bridges now skip DNS self-tests, to act a little more stealthily.
  23960. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  23961. bridges. Patch by "warms0x".
  23962. - Remove a confusing dollar sign from the example fingerprint in the
  23963. man page, and also make the example fingerprint a valid one. Fixes
  23964. bug 4309; bugfix on 0.2.1.3-alpha.
  23965. - Fix internal bug-checking logic that was supposed to catch
  23966. failures in digest generation so that it will fail more robustly
  23967. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  23968. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  23969. - Report any failure in init_keys() calls launched because our
  23970. IP address has changed. Spotted by Coverity Scan. Bugfix on
  23971. 0.1.1.4-alpha; fixes CID 484.
  23972. o Minor bugfixes (on 0.2.3.x):
  23973. - Fix a bug in configure.in that kept it from building a configure
  23974. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  23975. bugfix on 0.2.3.1-alpha.
  23976. - Don't warn users that they are exposing a client port to the
  23977. Internet if they have specified an RFC1918 address. Previously,
  23978. we would warn if the user had specified any non-loopback
  23979. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  23980. - Fix memory leaks in the failing cases of the new SocksPort and
  23981. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  23982. fixes coverity CIDs 485, 486, and 487.
  23983. o Minor features:
  23984. - When a hidden service's introduction point times out, consider
  23985. trying it again during the next attempt to connect to the
  23986. HS. Previously, we would not try it again unless a newly fetched
  23987. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  23988. - The next version of Windows will be called Windows 8, and it has
  23989. a major version of 6, minor version of 2. Correctly identify that
  23990. version instead of calling it "Very recent version". Resolves
  23991. ticket 4153; reported by funkstar.
  23992. - The Bridge Authority now writes statistics on how many bridge
  23993. descriptors it gave out in total, and how many unique descriptors
  23994. it gave out. It also lists how often the most and least commonly
  23995. fetched descriptors were given out, as well as the median and
  23996. 25th/75th percentile. Implements tickets 4200 and 4294.
  23997. - Update to the October 4 2011 Maxmind GeoLite Country database.
  23998. o Code simplifications and refactoring:
  23999. - Remove some old code to remember statistics about which descriptors
  24000. we've served as a directory mirror. The feature wasn't used and
  24001. is outdated now that microdescriptors are around.
  24002. - Rename Tor functions that turn strings into addresses, so that
  24003. "parse" indicates that no hostname resolution occurs, and
  24004. "lookup" indicates that hostname resolution may occur. This
  24005. should help prevent mistakes in the future. Fixes bug 3512.
  24006. Changes in version 0.2.2.34 - 2011-10-26
  24007. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  24008. can deanonymize Tor users. Everybody should upgrade.
  24009. The attack relies on four components: 1) Clients reuse their TLS cert
  24010. when talking to different relays, so relays can recognize a user by
  24011. the identity key in her cert. 2) An attacker who knows the client's
  24012. identity key can probe each guard relay to see if that identity key
  24013. is connected to that guard relay right now. 3) A variety of active
  24014. attacks in the literature (starting from "Low-Cost Traffic Analysis
  24015. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  24016. discover the guard relays that a Tor user visiting the website is using.
  24017. 4) Clients typically pick three guards at random, so the set of guards
  24018. for a given user could well be a unique fingerprint for her. This
  24019. release fixes components #1 and #2, which is enough to block the attack;
  24020. the other two remain as open research problems. Special thanks to
  24021. "frosty_un" for reporting the issue to us!
  24022. Clients should upgrade so they are no longer recognizable by the TLS
  24023. certs they present. Relays should upgrade so they no longer allow a
  24024. remote attacker to probe them to test whether unpatched clients are
  24025. currently connected to them.
  24026. This release also fixes several vulnerabilities that allow an attacker
  24027. to enumerate bridge relays. Some bridge enumeration attacks still
  24028. remain; see for example proposal 188.
  24029. o Privacy/anonymity fixes (clients):
  24030. - Clients and bridges no longer send TLS certificate chains on
  24031. outgoing OR connections. Previously, each client or bridge would
  24032. use the same cert chain for all outgoing OR connections until
  24033. its IP address changes, which allowed any relay that the client
  24034. or bridge contacted to determine which entry guards it is using.
  24035. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  24036. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  24037. no longer considers that connection as suitable for satisfying a
  24038. circuit EXTEND request. Now relays can protect clients from the
  24039. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  24040. - Directory authorities no longer assign the Guard flag to relays
  24041. that haven't upgraded to the above "refuse EXTEND requests
  24042. to client connections" fix. Now directory authorities can
  24043. protect clients from the CVE-2011-2768 issue even if neither
  24044. the clients nor the relays have upgraded yet. There's a new
  24045. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  24046. to let us transition smoothly, else tomorrow there would be no
  24047. guard relays.
  24048. o Privacy/anonymity fixes (bridge enumeration):
  24049. - Bridge relays now do their directory fetches inside Tor TLS
  24050. connections, like all the other clients do, rather than connecting
  24051. directly to the DirPort like public relays do. Removes another
  24052. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  24053. - Bridges relays now build circuits for themselves in a more similar
  24054. way to how clients build them. Removes another avenue for
  24055. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  24056. when bridges were introduced.
  24057. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  24058. that they initiated. Relays could distinguish incoming bridge
  24059. connections from client connections, creating another avenue for
  24060. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  24061. Found by "frosty_un".
  24062. o Major bugfixes:
  24063. - Fix a crash bug when changing node restrictions while a DNS lookup
  24064. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  24065. by "Tey'".
  24066. - Don't launch a useless circuit after failing to use one of a
  24067. hidden service's introduction points. Previously, we would
  24068. launch a new introduction circuit, but not set the hidden service
  24069. which that circuit was intended to connect to, so it would never
  24070. actually be used. A different piece of code would then create a
  24071. new introduction circuit correctly. Bug reported by katmagic and
  24072. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  24073. o Minor bugfixes:
  24074. - Change an integer overflow check in the OpenBSD_Malloc code so
  24075. that GCC is less likely to eliminate it as impossible. Patch
  24076. from Mansour Moufid. Fixes bug 4059.
  24077. - When a hidden service turns an extra service-side introduction
  24078. circuit into a general-purpose circuit, free the rend_data and
  24079. intro_key fields first, so we won't leak memory if the circuit
  24080. is cannibalized for use as another service-side introduction
  24081. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  24082. - Bridges now skip DNS self-tests, to act a little more stealthily.
  24083. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  24084. bridges. Patch by "warms0x".
  24085. - Fix internal bug-checking logic that was supposed to catch
  24086. failures in digest generation so that it will fail more robustly
  24087. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  24088. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  24089. - Report any failure in init_keys() calls launched because our
  24090. IP address has changed. Spotted by Coverity Scan. Bugfix on
  24091. 0.1.1.4-alpha; fixes CID 484.
  24092. o Minor bugfixes (log messages and documentation):
  24093. - Remove a confusing dollar sign from the example fingerprint in the
  24094. man page, and also make the example fingerprint a valid one. Fixes
  24095. bug 4309; bugfix on 0.2.1.3-alpha.
  24096. - The next version of Windows will be called Windows 8, and it has
  24097. a major version of 6, minor version of 2. Correctly identify that
  24098. version instead of calling it "Very recent version". Resolves
  24099. ticket 4153; reported by funkstar.
  24100. - Downgrade log messages about circuit timeout calibration from
  24101. "notice" to "info": they don't require or suggest any human
  24102. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  24103. bugfix on 0.2.2.14-alpha.
  24104. o Minor features:
  24105. - Turn on directory request statistics by default and include them in
  24106. extra-info descriptors. Don't break if we have no GeoIP database.
  24107. Backported from 0.2.3.1-alpha; implements ticket 3951.
  24108. - Update to the October 4 2011 Maxmind GeoLite Country database.
  24109. Changes in version 0.2.1.31 - 2011-10-26
  24110. Tor 0.2.1.31 backports important security and privacy fixes for
  24111. oldstable. This release is intended only for package maintainers and
  24112. others who cannot use the 0.2.2 stable series. All others should be
  24113. using Tor 0.2.2.x or newer.
  24114. o Security fixes (also included in 0.2.2.x):
  24115. - Replace all potentially sensitive memory comparison operations
  24116. with versions whose runtime does not depend on the data being
  24117. compared. This will help resist a class of attacks where an
  24118. adversary can use variations in timing information to learn
  24119. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  24120. implementation by Robert Ransom based partially on code by DJB.)
  24121. - Fix an assert in parsing router descriptors containing IPv6
  24122. addresses. This one took down the directory authorities when
  24123. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  24124. o Privacy/anonymity fixes (also included in 0.2.2.x):
  24125. - Clients and bridges no longer send TLS certificate chains on
  24126. outgoing OR connections. Previously, each client or bridge would
  24127. use the same cert chain for all outgoing OR connections until
  24128. its IP address changes, which allowed any relay that the client
  24129. or bridge contacted to determine which entry guards it is using.
  24130. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  24131. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  24132. no longer considers that connection as suitable for satisfying a
  24133. circuit EXTEND request. Now relays can protect clients from the
  24134. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  24135. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  24136. that they initiated. Relays could distinguish incoming bridge
  24137. connections from client connections, creating another avenue for
  24138. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  24139. Found by "frosty_un".
  24140. - When receiving a hidden service descriptor, check that it is for
  24141. the hidden service we wanted. Previously, Tor would store any
  24142. hidden service descriptors that a directory gave it, whether it
  24143. wanted them or not. This wouldn't have let an attacker impersonate
  24144. a hidden service, but it did let directories pre-seed a client
  24145. with descriptors that it didn't want. Bugfix on 0.0.6.
  24146. - Avoid linkability based on cached hidden service descriptors: forget
  24147. all hidden service descriptors cached as a client when processing a
  24148. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  24149. - Make the bridge directory authority refuse to answer directory
  24150. requests for "all" descriptors. It used to include bridge
  24151. descriptors in its answer, which was a major information leak.
  24152. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  24153. - Don't attach new streams to old rendezvous circuits after SIGNAL
  24154. NEWNYM. Previously, we would keep using an existing rendezvous
  24155. circuit if it remained open (i.e. if it were kept open by a
  24156. long-lived stream, or if a new stream were attached to it before
  24157. Tor could notice that it was old and no longer in use). Bugfix on
  24158. 0.1.1.15-rc; fixes bug 3375.
  24159. o Minor bugfixes (also included in 0.2.2.x):
  24160. - When we restart our relay, we might get a successful connection
  24161. from the outside before we've started our reachability tests,
  24162. triggering a warning: "ORPort found reachable, but I have no
  24163. routerinfo yet. Failing to inform controller of success." This
  24164. bug was harmless unless Tor is running under a controller
  24165. like Vidalia, in which case the controller would never get a
  24166. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  24167. fixes bug 1172.
  24168. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  24169. enabled. Fixes bug 1526.
  24170. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  24171. anything since 0.2.1.16-rc.
  24172. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  24173. None of the cases where we did this before were wrong, but by making
  24174. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  24175. - Fix a rare crash bug that could occur when a client was configured
  24176. with a large number of bridges. Fixes bug 2629; bugfix on
  24177. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  24178. - Correct the warning displayed when a rendezvous descriptor exceeds
  24179. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  24180. John Brooks.
  24181. - Fix an uncommon assertion failure when running with DNSPort under
  24182. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  24183. - When warning about missing zlib development packages during compile,
  24184. give the correct package names. Bugfix on 0.2.0.1-alpha.
  24185. - Require that introduction point keys and onion keys have public
  24186. exponent 65537. Bugfix on 0.2.0.10-alpha.
  24187. - Do not crash when our configuration file becomes unreadable, for
  24188. example due to a permissions change, between when we start up
  24189. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  24190. on 0.0.9pre6.
  24191. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  24192. Fixes bug 3208.
  24193. - Always NUL-terminate the sun_path field of a sockaddr_un before
  24194. passing it to the kernel. (Not a security issue: kernels are
  24195. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  24196. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  24197. - Don't stack-allocate the list of supplementary GIDs when we're
  24198. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  24199. could take up to 256K, which is way too much stack. Found by
  24200. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  24201. o Minor bugfixes (only in 0.2.1.x):
  24202. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  24203. rely on them. Bugfix on 0.2.1.30.
  24204. - Use git revisions instead of svn revisions when generating our
  24205. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  24206. o Minor features (also included in 0.2.2.x):
  24207. - Adjust the expiration time on our SSL session certificates to
  24208. better match SSL certs seen in the wild. Resolves ticket 4014.
  24209. - Allow nameservers with IPv6 address. Resolves bug 2574.
  24210. - Update to the October 4 2011 Maxmind GeoLite Country database.
  24211. Changes in version 0.2.3.5-alpha - 2011-09-28
  24212. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  24213. bridge relays; fixes an assertion error that many users started hitting
  24214. today; and adds the ability to refill token buckets more often than
  24215. once per second, allowing significant performance improvements.
  24216. o Security fixes:
  24217. - Bridge relays now do their directory fetches inside Tor TLS
  24218. connections, like all the other clients do, rather than connecting
  24219. directly to the DirPort like public relays do. Removes another
  24220. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  24221. - Bridges relays now build circuits for themselves in a more similar
  24222. way to how clients build them. Removes another avenue for
  24223. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  24224. when bridges were introduced.
  24225. o Major bugfixes:
  24226. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  24227. occur when the same microdescriptor was referenced by two node_t
  24228. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  24229. o Major features (networking):
  24230. - Add a new TokenBucketRefillInterval option to refill token buckets
  24231. more frequently than once per second. This should improve network
  24232. performance, alleviate queueing problems, and make traffic less
  24233. bursty. Implements proposal 183; closes ticket 3630. Design by
  24234. Florian Tschorsch and Björn Scheuermann; implementation by
  24235. Florian Tschorsch.
  24236. o Minor bugfixes:
  24237. - Change an integer overflow check in the OpenBSD_Malloc code so
  24238. that GCC is less likely to eliminate it as impossible. Patch
  24239. from Mansour Moufid. Fixes bug 4059.
  24240. o Minor bugfixes (usability):
  24241. - Downgrade log messages about circuit timeout calibration from
  24242. "notice" to "info": they don't require or suggest any human
  24243. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  24244. bugfix on 0.2.2.14-alpha.
  24245. o Minor features (diagnostics):
  24246. - When the system call to create a listener socket fails, log the
  24247. error message explaining why. This may help diagnose bug 4027.
  24248. Changes in version 0.2.3.4-alpha - 2011-09-13
  24249. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  24250. tweak to Tor's TLS handshake that makes relays and bridges that run
  24251. this new version reachable from Iran again. It also fixes a few new
  24252. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  24253. listed in the network consensus and republish.
  24254. o Major bugfixes (also part of 0.2.2.33):
  24255. - Avoid an assertion failure when reloading a configuration with
  24256. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  24257. 3923; bugfix on 0.2.2.25-alpha.
  24258. o Minor features (security, also part of 0.2.2.33):
  24259. - Check for replays of the public-key encrypted portion of an
  24260. INTRODUCE1 cell, in addition to the current check for replays of
  24261. the g^x value. This prevents a possible class of active attacks
  24262. by an attacker who controls both an introduction point and a
  24263. rendezvous point, and who uses the malleability of AES-CTR to
  24264. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  24265. that these attacks are infeasible (requiring the attacker to send
  24266. on the order of zettabytes of altered cells in a short interval),
  24267. but we'd rather block them off in case there are any classes of
  24268. this attack that we missed. Reported by Willem Pinckaers.
  24269. o Minor features (also part of 0.2.2.33):
  24270. - Adjust the expiration time on our SSL session certificates to
  24271. better match SSL certs seen in the wild. Resolves ticket 4014.
  24272. - Change the default required uptime for a relay to be accepted as
  24273. a HSDir (hidden service directory) from 24 hours to 25 hours.
  24274. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  24275. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  24276. authorities to abstain from voting on assignment of the HSDir
  24277. consensus flag. Related to bug 2649.
  24278. - Update to the September 6 2011 Maxmind GeoLite Country database.
  24279. o Minor bugfixes (also part of 0.2.2.33):
  24280. - Demote the 'replay detected' log message emitted when a hidden
  24281. service receives the same Diffie-Hellman public key in two different
  24282. INTRODUCE2 cells to info level. A normal Tor client can cause that
  24283. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  24284. fixes part of bug 2442.
  24285. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  24286. level. There is nothing that a hidden service's operator can do
  24287. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  24288. of bug 2442.
  24289. - Clarify a log message specifying the characters permitted in
  24290. HiddenServiceAuthorizeClient client names. Previously, the log
  24291. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  24292. given the impression that every ASCII character between "+" and "_"
  24293. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  24294. o Build fixes (also part of 0.2.2.33):
  24295. - Clean up some code issues that prevented Tor from building on older
  24296. BSDs. Fixes bug 3894; reported by "grarpamp".
  24297. - Search for a platform-specific version of "ar" when cross-compiling.
  24298. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  24299. o Major bugfixes:
  24300. - Fix a bug where the SocksPort option (for example) would get
  24301. ignored and replaced by the default if a SocksListenAddress
  24302. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  24303. Fabian Keil.
  24304. o Major features:
  24305. - Relays now try regenerating and uploading their descriptor more
  24306. frequently if they are not listed in the consensus, or if the
  24307. version of their descriptor listed in the consensus is too
  24308. old. This fix should prevent situations where a server declines
  24309. to re-publish itself because it has done so too recently, even
  24310. though the authorities decided not to list its recent-enough
  24311. descriptor. Fix for bug 3327.
  24312. o Minor features:
  24313. - Relays now include a reason for regenerating their descriptors
  24314. in an HTTP header when uploading to the authorities. This will
  24315. make it easier to debug descriptor-upload issues in the future.
  24316. - When starting as root and then changing our UID via the User
  24317. control option, and we have a ControlSocket configured, make sure
  24318. that the ControlSocket is owned by the same account that Tor will
  24319. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  24320. o Minor bugfixes:
  24321. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  24322. utility function used in the control-port code). This shouldn't
  24323. ever happen unless Tor is completely out of memory, but if it did
  24324. happen and Tor somehow recovered from it, Tor could have sent a log
  24325. message to a control port in the middle of a reply to a controller
  24326. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  24327. - Make 'FetchUselessDescriptors' cause all descriptor types and
  24328. all consensus types (including microdescriptors) to get fetched.
  24329. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  24330. o Code refactoring:
  24331. - Make a new "entry connection" struct as an internal subtype of "edge
  24332. connection", to simplify the code and make exit connections smaller.
  24333. Changes in version 0.2.2.33 - 2011-09-13
  24334. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  24335. TLS handshake that makes relays and bridges that run this new version
  24336. reachable from Iran again.
  24337. o Major bugfixes:
  24338. - Avoid an assertion failure when reloading a configuration with
  24339. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  24340. 3923; bugfix on 0.2.2.25-alpha.
  24341. o Minor features (security):
  24342. - Check for replays of the public-key encrypted portion of an
  24343. INTRODUCE1 cell, in addition to the current check for replays of
  24344. the g^x value. This prevents a possible class of active attacks
  24345. by an attacker who controls both an introduction point and a
  24346. rendezvous point, and who uses the malleability of AES-CTR to
  24347. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  24348. that these attacks are infeasible (requiring the attacker to send
  24349. on the order of zettabytes of altered cells in a short interval),
  24350. but we'd rather block them off in case there are any classes of
  24351. this attack that we missed. Reported by Willem Pinckaers.
  24352. o Minor features:
  24353. - Adjust the expiration time on our SSL session certificates to
  24354. better match SSL certs seen in the wild. Resolves ticket 4014.
  24355. - Change the default required uptime for a relay to be accepted as
  24356. a HSDir (hidden service directory) from 24 hours to 25 hours.
  24357. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  24358. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  24359. authorities to abstain from voting on assignment of the HSDir
  24360. consensus flag. Related to bug 2649.
  24361. - Update to the September 6 2011 Maxmind GeoLite Country database.
  24362. o Minor bugfixes (documentation and log messages):
  24363. - Correct the man page to explain that HashedControlPassword and
  24364. CookieAuthentication can both be set, in which case either method
  24365. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  24366. when we decided to allow these config options to both be set. Issue
  24367. raised by bug 3898.
  24368. - Demote the 'replay detected' log message emitted when a hidden
  24369. service receives the same Diffie-Hellman public key in two different
  24370. INTRODUCE2 cells to info level. A normal Tor client can cause that
  24371. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  24372. fixes part of bug 2442.
  24373. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  24374. level. There is nothing that a hidden service's operator can do
  24375. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  24376. of bug 2442.
  24377. - Clarify a log message specifying the characters permitted in
  24378. HiddenServiceAuthorizeClient client names. Previously, the log
  24379. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  24380. given the impression that every ASCII character between "+" and "_"
  24381. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  24382. o Build fixes:
  24383. - Provide a substitute implementation of lround() for MSVC, which
  24384. apparently lacks it. Patch from Gisle Vanem.
  24385. - Clean up some code issues that prevented Tor from building on older
  24386. BSDs. Fixes bug 3894; reported by "grarpamp".
  24387. - Search for a platform-specific version of "ar" when cross-compiling.
  24388. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  24389. Changes in version 0.2.3.3-alpha - 2011-09-01
  24390. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  24391. security, and provides client-side support for the microdescriptor
  24392. and optimistic data features introduced earlier in the 0.2.3.x
  24393. series. It also includes numerous critical bugfixes in the (optional)
  24394. bufferevent-based networking backend.
  24395. o Major features (stream isolation):
  24396. - You can now configure Tor so that streams from different
  24397. applications are isolated on different circuits, to prevent an
  24398. attacker who sees your streams as they leave an exit node from
  24399. linking your sessions to one another. To do this, choose some way
  24400. to distinguish the applications: have them connect to different
  24401. SocksPorts, or have one of them use SOCKS4 while the other uses
  24402. SOCKS5, or have them pass different authentication strings to the
  24403. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  24404. degree of isolation you need. This implements Proposal 171.
  24405. - There's a new syntax for specifying multiple client ports (such as
  24406. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  24407. multiple *Port entries with full addr:port syntax on each.
  24408. The old *ListenAddress format is still supported, but you can't
  24409. mix it with the new *Port syntax.
  24410. o Major features (other):
  24411. - Enable microdescriptor fetching by default for clients. This allows
  24412. clients to download a much smaller amount of directory information.
  24413. To disable it (and go back to the old-style consensus and
  24414. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  24415. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  24416. "PortForwarding" config option), now supports Windows.
  24417. - When using an exit relay running 0.2.3.x, clients can now
  24418. "optimistically" send data before the exit relay reports that
  24419. the stream has opened. This saves a round trip when starting
  24420. connections where the client speaks first (such as web browsing).
  24421. This behavior is controlled by a consensus parameter (currently
  24422. disabled). To turn it on or off manually, use the "OptimisticData"
  24423. torrc option. Implements proposal 181; code by Ian Goldberg.
  24424. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  24425. - When using IOCP on Windows, we need to enable Libevent windows
  24426. threading support.
  24427. - The IOCP backend now works even when the user has not specified
  24428. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  24429. Fixes part of bug 3752.
  24430. - Correctly record the bytes we've read and written when using
  24431. bufferevents, so that we can include them in our bandwidth history
  24432. and advertised bandwidth. Fixes bug 3803.
  24433. - Apply rate-limiting only at the bottom of a chain of filtering
  24434. bufferevents. This prevents us from filling up internal read
  24435. buffers and violating rate-limits when filtering bufferevents
  24436. are enabled. Fixes part of bug 3804.
  24437. - Add high-watermarks to the output buffers for filtered
  24438. bufferevents. This prevents us from filling up internal write
  24439. buffers and wasting CPU cycles when filtering bufferevents are
  24440. enabled. Fixes part of bug 3804.
  24441. - Correctly notice when data has been written from a bufferevent
  24442. without flushing it completely. Fixes bug 3805.
  24443. - Fix a bug where server-side tunneled bufferevent-based directory
  24444. streams would get closed prematurely. Fixes bug 3814.
  24445. - Fix a use-after-free error with per-connection rate-limiting
  24446. buckets. Fixes bug 3888.
  24447. o Major bugfixes (also part of 0.2.2.31-rc):
  24448. - If we're configured to write our ControlPorts to disk, only write
  24449. them after switching UID and creating the data directory. This way,
  24450. we don't fail when starting up with a nonexistent DataDirectory
  24451. and a ControlPortWriteToFile setting based on that directory. Fixes
  24452. bug 3747; bugfix on Tor 0.2.2.26-beta.
  24453. o Minor features:
  24454. - Added a new CONF_CHANGED event so that controllers can be notified
  24455. of any configuration changes made by other controllers, or by the
  24456. user. Implements ticket 1692.
  24457. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  24458. leak when using bufferevents, and lets Libevent worry about how to
  24459. best copy data out of a buffer.
  24460. - Replace files in stats/ rather than appending to them. Now that we
  24461. include statistics in extra-info descriptors, it makes no sense to
  24462. keep old statistics forever. Implements ticket 2930.
  24463. o Minor features (build compatibility):
  24464. - Limited, experimental support for building with nmake and MSVC.
  24465. - Provide a substitute implementation of lround() for MSVC, which
  24466. apparently lacks it. Patch from Gisle Vanem.
  24467. o Minor features (also part of 0.2.2.31-rc):
  24468. - Update to the August 2 2011 Maxmind GeoLite Country database.
  24469. o Minor bugfixes (on 0.2.3.x-alpha):
  24470. - Fix a spurious warning when parsing SOCKS requests with
  24471. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  24472. - Get rid of a harmless warning that could happen on relays running
  24473. with bufferevents. The warning was caused by someone doing an http
  24474. request to a relay's orport. Also don't warn for a few related
  24475. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  24476. o Minor bugfixes (on 2.2.x and earlier):
  24477. - Correct the man page to explain that HashedControlPassword and
  24478. CookieAuthentication can both be set, in which case either method
  24479. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  24480. when we decided to allow these config options to both be set. Issue
  24481. raised by bug 3898.
  24482. - The "--quiet" and "--hush" options now apply not only to Tor's
  24483. behavior before logs are configured, but also to Tor's behavior in
  24484. the absence of configured logs. Fixes bug 3550; bugfix on
  24485. 0.2.0.10-alpha.
  24486. o Minor bugfixes (also part of 0.2.2.31-rc):
  24487. - Write several files in text mode, on OSes that distinguish text
  24488. mode from binary mode (namely, Windows). These files are:
  24489. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  24490. that collect those statistics; 'client_keys' and 'hostname' for
  24491. hidden services that use authentication; and (in the tor-gencert
  24492. utility) newly generated identity and signing keys. Previously,
  24493. we wouldn't specify text mode or binary mode, leading to an
  24494. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  24495. the DirRecordUsageByCountry option which would have triggered
  24496. the assertion failure was added), although this assertion failure
  24497. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  24498. - Selectively disable deprecation warnings on OS X because Lion
  24499. started deprecating the shipped copy of openssl. Fixes bug 3643.
  24500. - Remove an extra pair of quotation marks around the error
  24501. message in control-port STATUS_GENERAL BUG events. Bugfix on
  24502. 0.1.2.6-alpha; fixes bug 3732.
  24503. - When unable to format an address as a string, report its value
  24504. as "???" rather than reusing the last formatted address. Bugfix
  24505. on 0.2.1.5-alpha.
  24506. o Code simplifications and refactoring:
  24507. - Rewrite the listener-selection logic so that parsing which ports
  24508. we want to listen on is now separate from binding to the ports
  24509. we want.
  24510. o Build changes:
  24511. - Building Tor with bufferevent support now requires Libevent
  24512. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  24513. SSL-related bufferevents and related issues that would make Tor
  24514. work badly with bufferevents. Requiring 2.0.13-stable also allows
  24515. Tor with bufferevents to take advantage of Libevent APIs
  24516. introduced after 2.0.8-rc.
  24517. Changes in version 0.2.2.32 - 2011-08-27
  24518. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  24519. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  24520. a founder of the PETS community, a leader in our field, a mentor,
  24521. and a friend. He left us with these words: "I had the possibility
  24522. to contribute to this world that is not as it should be. I hope I
  24523. could help in some areas to make the world a better place, and that
  24524. I could also encourage other people to be engaged in improving the
  24525. world. Please, stay engaged. This world needs you, your love, your
  24526. initiative -- now I cannot be part of that anymore."
  24527. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  24528. ready. More than two years in the making, this release features improved
  24529. client performance and hidden service reliability, better compatibility
  24530. for Android, correct behavior for bridges that listen on more than
  24531. one address, more extensible and flexible directory object handling,
  24532. better reporting of network statistics, improved code security, and
  24533. many many other features and bugfixes.
  24534. Changes in version 0.2.2.31-rc - 2011-08-17
  24535. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  24536. for the Tor 0.2.2.x series.
  24537. o Major bugfixes:
  24538. - Remove an extra pair of quotation marks around the error
  24539. message in control-port STATUS_GENERAL BUG events. Bugfix on
  24540. 0.1.2.6-alpha; fixes bug 3732.
  24541. - If we're configured to write our ControlPorts to disk, only write
  24542. them after switching UID and creating the data directory. This way,
  24543. we don't fail when starting up with a nonexistent DataDirectory
  24544. and a ControlPortWriteToFile setting based on that directory. Fixes
  24545. bug 3747; bugfix on Tor 0.2.2.26-beta.
  24546. o Minor features:
  24547. - Update to the August 2 2011 Maxmind GeoLite Country database.
  24548. o Minor bugfixes:
  24549. - Allow GETINFO fingerprint to return a fingerprint even when
  24550. we have not yet built a router descriptor. Fixes bug 3577;
  24551. bugfix on 0.2.0.1-alpha.
  24552. - Write several files in text mode, on OSes that distinguish text
  24553. mode from binary mode (namely, Windows). These files are:
  24554. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  24555. that collect those statistics; 'client_keys' and 'hostname' for
  24556. hidden services that use authentication; and (in the tor-gencert
  24557. utility) newly generated identity and signing keys. Previously,
  24558. we wouldn't specify text mode or binary mode, leading to an
  24559. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  24560. the DirRecordUsageByCountry option which would have triggered
  24561. the assertion failure was added), although this assertion failure
  24562. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  24563. - Selectively disable deprecation warnings on OS X because Lion
  24564. started deprecating the shipped copy of openssl. Fixes bug 3643.
  24565. - When unable to format an address as a string, report its value
  24566. as "???" rather than reusing the last formatted address. Bugfix
  24567. on 0.2.1.5-alpha.
  24568. Changes in version 0.2.3.2-alpha - 2011-07-18
  24569. Tor 0.2.3.2-alpha introduces two new experimental features:
  24570. microdescriptors and pluggable transports. It also continues cleaning
  24571. up a variety of recently introduced features.
  24572. o Major features:
  24573. - Clients can now use microdescriptors instead of regular descriptors
  24574. to build circuits. Microdescriptors are authority-generated
  24575. summaries of regular descriptors' contents, designed to change
  24576. very rarely (see proposal 158 for details). This feature is
  24577. designed to save bandwidth, especially for clients on slow internet
  24578. connections. It's off by default for now, since nearly no caches
  24579. support it, but it will be on-by-default for clients in a future
  24580. version. You can use the UseMicrodescriptors option to turn it on.
  24581. - Tor clients using bridges can now be configured to use a separate
  24582. 'transport' proxy for each bridge. This approach helps to resist
  24583. censorship by allowing bridges to use protocol obfuscation
  24584. plugins. It implements part of proposal 180. Implements ticket 2841.
  24585. - While we're trying to bootstrap, record how many TLS connections
  24586. fail in each state, and report which states saw the most failures
  24587. in response to any bootstrap failures. This feature may speed up
  24588. diagnosis of censorship events. Implements ticket 3116.
  24589. o Major bugfixes (on 0.2.3.1-alpha):
  24590. - When configuring a large set of nodes in EntryNodes (as with
  24591. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  24592. random subset to be guards, and choose them in random
  24593. order. Fixes bug 2798.
  24594. - Tor could crash when remembering a consensus in a non-used consensus
  24595. flavor without having a current consensus set. Fixes bug 3361.
  24596. - Comparing an unknown address to a microdescriptor's shortened exit
  24597. policy would always give a "rejected" result. Fixes bug 3599.
  24598. - Using microdescriptors as a client no longer prevents Tor from
  24599. uploading and downloading hidden service descriptors. Fixes
  24600. bug 3601.
  24601. o Minor features:
  24602. - Allow nameservers with IPv6 address. Resolves bug 2574.
  24603. - Accept attempts to include a password authenticator in the
  24604. handshake, as supported by SOCKS5. This handles SOCKS clients that
  24605. don't know how to omit a password when authenticating. Resolves
  24606. bug 1666.
  24607. - When configuring a large set of nodes in EntryNodes, and there are
  24608. enough of them listed as Guard so that we don't need to consider
  24609. the non-guard entries, prefer the ones listed with the Guard flag.
  24610. - Check for and recover from inconsistency in the microdescriptor
  24611. cache. This will make it harder for us to accidentally free a
  24612. microdescriptor without removing it from the appropriate data
  24613. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  24614. - Log SSL state transitions at log level DEBUG, log domain
  24615. HANDSHAKE. This can be useful for debugging censorship events.
  24616. Implements ticket 3264.
  24617. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  24618. implements ticket 3439.
  24619. o Minor bugfixes (on 0.2.3.1-alpha):
  24620. - Do not free all general-purpose regular descriptors just
  24621. because microdescriptor use is enabled. Fixes bug 3113.
  24622. - Correctly link libevent_openssl when --enable-static-libevent
  24623. is passed to configure. Fixes bug 3118.
  24624. - Bridges should not complain during their heartbeat log messages that
  24625. they are unlisted in the consensus: that's more or less the point
  24626. of being a bridge. Fixes bug 3183.
  24627. - Report a SIGNAL event to controllers when acting on a delayed
  24628. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  24629. event to the controller if we acted on a SIGNAL NEWNYM command
  24630. immediately, and otherwise not report a SIGNAL event for the
  24631. command at all. Fixes bug 3349.
  24632. - Fix a crash when handling the SIGNAL controller command or
  24633. reporting ERR-level status events with bufferevents enabled. Found
  24634. by Robert Ransom. Fixes bug 3367.
  24635. - Always ship the tor-fw-helper manpage in our release tarballs.
  24636. Fixes bug 3389. Reported by Stephen Walker.
  24637. - Fix a class of double-mark-for-close bugs when bufferevents
  24638. are enabled. Fixes bug 3403.
  24639. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  24640. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  24641. control-port command. Fixes part of bug 3465.
  24642. - Prevent using negative indices during unit test runs when read_all()
  24643. fails. Spotted by coverity.
  24644. - Fix a rare memory leak when checking the nodelist without it being
  24645. present. Found by coverity.
  24646. - Only try to download a microdescriptor-flavored consensus from
  24647. a directory cache that provides them.
  24648. o Minor bugfixes (on 0.2.2.x and earlier):
  24649. - Assert that hidden-service-related operations are not performed
  24650. using single-hop circuits. Previously, Tor would assert that
  24651. client-side streams are not attached to single-hop circuits,
  24652. but not that other sensitive operations on the client and service
  24653. side are not performed using single-hop circuits. Fixes bug 3332;
  24654. bugfix on 0.0.6.
  24655. - Don't publish a new relay descriptor when we reload our onion key,
  24656. unless the onion key has actually changed. Fixes bug 3263 and
  24657. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  24658. - Allow GETINFO fingerprint to return a fingerprint even when
  24659. we have not yet built a router descriptor. Fixes bug 3577;
  24660. bugfix on 0.2.0.1-alpha.
  24661. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  24662. on 0.2.2.4-alpha; fixes bug 3427.
  24663. o Code simplification and refactoring:
  24664. - Use tor_sscanf() in place of scanf() in more places through the
  24665. code. This makes us a little more locale-independent, and
  24666. should help shut up code-analysis tools that can't tell
  24667. a safe sscanf string from a dangerous one.
  24668. - Use tt_assert(), not tor_assert(), for checking for test failures.
  24669. This makes the unit tests more able to go on in the event that
  24670. one of them fails.
  24671. - Split connection_about_to_close() into separate functions for each
  24672. connection type.
  24673. o Build changes:
  24674. - On Windows, we now define the _WIN32_WINNT macros only if they
  24675. are not already defined. This lets the person building Tor decide,
  24676. if they want, to require a later version of Windows.
  24677. Changes in version 0.2.2.30-rc - 2011-07-07
  24678. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  24679. series. It fixes a few smaller bugs, but generally appears stable.
  24680. Please test it and let us know whether it is!
  24681. o Minor bugfixes:
  24682. - Send a SUCCEEDED stream event to the controller when a reverse
  24683. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  24684. discovered by katmagic.
  24685. - Always NUL-terminate the sun_path field of a sockaddr_un before
  24686. passing it to the kernel. (Not a security issue: kernels are
  24687. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  24688. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  24689. - Don't stack-allocate the list of supplementary GIDs when we're
  24690. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  24691. could take up to 256K, which is way too much stack. Found by
  24692. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  24693. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  24694. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  24695. fixes part of bug 3465.
  24696. - Fix a memory leak when receiving a descriptor for a hidden
  24697. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  24698. on 0.2.2.26-beta.
  24699. o Minor features:
  24700. - Update to the July 1 2011 Maxmind GeoLite Country database.
  24701. Changes in version 0.2.2.29-beta - 2011-06-20
  24702. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  24703. have bridge lines in their torrc but don't want to use them; gets
  24704. us closer to having the control socket feature working on Debian;
  24705. and fixes a variety of smaller bugs.
  24706. o Major bugfixes:
  24707. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  24708. When we changed the default behavior to "use bridges if any
  24709. are listed in the torrc", we surprised users who had bridges
  24710. in their torrc files but who didn't actually want to use them.
  24711. Partial resolution for bug 3354.
  24712. o Privacy fixes:
  24713. - Don't attach new streams to old rendezvous circuits after SIGNAL
  24714. NEWNYM. Previously, we would keep using an existing rendezvous
  24715. circuit if it remained open (i.e. if it were kept open by a
  24716. long-lived stream, or if a new stream were attached to it before
  24717. Tor could notice that it was old and no longer in use). Bugfix on
  24718. 0.1.1.15-rc; fixes bug 3375.
  24719. o Minor bugfixes:
  24720. - Fix a bug when using ControlSocketsGroupWritable with User. The
  24721. directory's group would be checked against the current group, not
  24722. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  24723. bugfix on 0.2.2.26-beta.
  24724. - Make connection_printf_to_buf()'s behavior sane. Its callers
  24725. expect it to emit a CRLF iff the format string ends with CRLF;
  24726. it actually emitted a CRLF iff (a) the format string ended with
  24727. CRLF or (b) the resulting string was over 1023 characters long or
  24728. (c) the format string did not end with CRLF *and* the resulting
  24729. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  24730. fixes part of bug 3407.
  24731. - Make send_control_event_impl()'s behavior sane. Its callers
  24732. expect it to always emit a CRLF at the end of the string; it
  24733. might have emitted extra control characters as well. Bugfix on
  24734. 0.1.1.9-alpha; fixes another part of bug 3407.
  24735. - Make crypto_rand_int() check the value of its input correctly.
  24736. Previously, it accepted values up to UINT_MAX, but could return a
  24737. negative number if given a value above INT_MAX+1. Found by George
  24738. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  24739. - Avoid a segfault when reading a malformed circuit build state
  24740. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  24741. 0.2.2.4-alpha.
  24742. - When asked about a DNS record type we don't support via a
  24743. client DNSPort, reply with NOTIMPL rather than an empty
  24744. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  24745. - Fix a rare memory leak during stats writing. Found by coverity.
  24746. o Minor features:
  24747. - Update to the June 1 2011 Maxmind GeoLite Country database.
  24748. o Code simplifications and refactoring:
  24749. - Remove some dead code as indicated by coverity.
  24750. - Remove a few dead assignments during router parsing. Found by
  24751. coverity.
  24752. - Add some forgotten return value checks during unit tests. Found
  24753. by coverity.
  24754. - Don't use 1-bit wide signed bit fields. Found by coverity.
  24755. Changes in version 0.2.2.28-beta - 2011-06-04
  24756. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  24757. fixed a big bug in whether relays stay in the consensus consistently,
  24758. we moved closer to handling bridges and hidden services correctly,
  24759. and we started the process of better handling the dreaded "my Vidalia
  24760. died, and now my Tor demands a password when I try to reconnect to it"
  24761. usability issue.
  24762. o Major bugfixes:
  24763. - Don't decide to make a new descriptor when receiving a HUP signal.
  24764. This bug has caused a lot of 0.2.2.x relays to disappear from the
  24765. consensus periodically. Fixes the most common case of triggering
  24766. bug 1810; bugfix on 0.2.2.7-alpha.
  24767. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  24768. - Don't try to build descriptors if "ORPort auto" is set and we
  24769. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  24770. 0.2.2.26-beta.
  24771. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  24772. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  24773. - Apply circuit timeouts to opened hidden-service-related circuits
  24774. based on the correct start time. Previously, we would apply the
  24775. circuit build timeout based on time since the circuit's creation;
  24776. it was supposed to be applied based on time since the circuit
  24777. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  24778. - Use the same circuit timeout for client-side introduction
  24779. circuits as for other four-hop circuits, rather than the timeout
  24780. for single-hop directory-fetch circuits; the shorter timeout may
  24781. have been appropriate with the static circuit build timeout in
  24782. 0.2.1.x and earlier, but caused many hidden service access attempts
  24783. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  24784. on 0.2.2.2-alpha; fixes another part of bug 1297.
  24785. - In ticket 2511 we fixed a case where you could use an unconfigured
  24786. bridge if you had configured it as a bridge the last time you ran
  24787. Tor. Now fix another edge case: if you had configured it as a bridge
  24788. but then switched to a different bridge via the controller, you
  24789. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  24790. fixes bug 3321.
  24791. o Major features:
  24792. - Add an __OwningControllerProcess configuration option and a
  24793. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  24794. that when it exits, Tor will shut down. Implements feature 3049.
  24795. - If "UseBridges 1" is set and no bridges are configured, Tor will
  24796. now refuse to build any circuits until some bridges are set.
  24797. If "UseBridges auto" is set, Tor will use bridges if they are
  24798. configured and we are not running as a server, but otherwise will
  24799. make circuits as usual. The new default is "auto". Patch by anonym,
  24800. so the Tails LiveCD can stop automatically revealing you as a Tor
  24801. user on startup.
  24802. o Minor bugfixes:
  24803. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  24804. - Remove a trailing asterisk from "exit-policy/default" in the
  24805. output of the control port command "GETINFO info/names". Bugfix
  24806. on 0.1.2.5-alpha.
  24807. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  24808. Fixes bug 3270.
  24809. - Warn when the user configures two HiddenServiceDir lines that point
  24810. to the same directory. Bugfix on 0.0.6 (the version introducing
  24811. HiddenServiceDir); fixes bug 3289.
  24812. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  24813. part of bug 2748; bugfix on 0.2.0.10-alpha.
  24814. - Log malformed requests for rendezvous descriptors as protocol
  24815. warnings, not warnings. Also, use a more informative log message
  24816. in case someone sees it at log level warning without prior
  24817. info-level messages. Fixes the other part of bug 2748; bugfix
  24818. on 0.2.0.10-alpha.
  24819. - Clear the table recording the time of the last request for each
  24820. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  24821. Previously, we would clear our HS descriptor cache on SIGNAL
  24822. NEWNYM, but if we had previously retrieved a descriptor (or tried
  24823. to) from every directory responsible for it, we would refuse to
  24824. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  24825. fixes bug 3309.
  24826. - Fix a log message that said "bits" while displaying a value in
  24827. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  24828. 0.2.0.1-alpha.
  24829. - When checking for 1024-bit keys, check for 1024 bits, not 128
  24830. bytes. This allows Tor to correctly discard keys of length 1017
  24831. through 1023. Bugfix on 0.0.9pre5.
  24832. o Minor features:
  24833. - Relays now log the reason for publishing a new relay descriptor,
  24834. so we have a better chance of hunting down instances of bug 1810.
  24835. Resolves ticket 3252.
  24836. - Revise most log messages that refer to nodes by nickname to
  24837. instead use the "$key=nickname at address" format. This should be
  24838. more useful, especially since nicknames are less and less likely
  24839. to be unique. Resolves ticket 3045.
  24840. - Log (at info level) when purging pieces of hidden-service-client
  24841. state because of SIGNAL NEWNYM.
  24842. o Removed options:
  24843. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  24844. anything since 0.2.1.16-rc.
  24845. Changes in version 0.2.2.27-beta - 2011-05-18
  24846. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  24847. release, and also adds a few more general bugfixes.
  24848. o Major bugfixes:
  24849. - Fix a crash bug when changing bridges in a running Tor process.
  24850. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  24851. - When the controller configures a new bridge, don't wait 10 to 60
  24852. seconds before trying to fetch its descriptor. Bugfix on
  24853. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  24854. o Minor bugfixes:
  24855. - Require that onion keys have exponent 65537 in microdescriptors too.
  24856. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  24857. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  24858. Changed the limit to 512 characters by removing base64 newlines.
  24859. Fixes bug 2752. Fix by Michael Yakubovich.
  24860. - When a client starts or stops using bridges, never use a circuit
  24861. that was built before the configuration change. This behavior could
  24862. put at risk a user who uses bridges to ensure that her traffic
  24863. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  24864. bug 3200.
  24865. Changes in version 0.2.2.26-beta - 2011-05-17
  24866. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  24867. also introduces a new "socksport auto" approach that should make it
  24868. easier to run multiple Tors on the same system, and does a lot of
  24869. cleanup to get us closer to a release candidate.
  24870. o Security/privacy fixes:
  24871. - Replace all potentially sensitive memory comparison operations
  24872. with versions whose runtime does not depend on the data being
  24873. compared. This will help resist a class of attacks where an
  24874. adversary can use variations in timing information to learn
  24875. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  24876. implementation by Robert Ransom based partially on code by DJB.)
  24877. - When receiving a hidden service descriptor, check that it is for
  24878. the hidden service we wanted. Previously, Tor would store any
  24879. hidden service descriptors that a directory gave it, whether it
  24880. wanted them or not. This wouldn't have let an attacker impersonate
  24881. a hidden service, but it did let directories pre-seed a client
  24882. with descriptors that it didn't want. Bugfix on 0.0.6.
  24883. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  24884. DNS cache entries, and virtual address mappings: that's what
  24885. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  24886. o Major features:
  24887. - The options SocksPort, ControlPort, and so on now all accept a
  24888. value "auto" that opens a socket on an OS-selected port. A
  24889. new ControlPortWriteToFile option tells Tor to write its
  24890. actual control port or ports to a chosen file. If the option
  24891. ControlPortFileGroupReadable is set, the file is created as
  24892. group-readable. Now users can run two Tor clients on the same
  24893. system without needing to manually mess with parameters. Resolves
  24894. part of ticket 3076.
  24895. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  24896. help busy exit nodes avoid running out of useable ports just
  24897. because all the ports have been used in the near past. Resolves
  24898. issue 2850.
  24899. o Minor features:
  24900. - New "GETINFO net/listeners/(type)" controller command to return
  24901. a list of addresses and ports that are bound for listeners for a
  24902. given connection type. This is useful when the user has configured
  24903. "SocksPort auto" and the controller needs to know which port got
  24904. chosen. Resolves another part of ticket 3076.
  24905. - Add a new ControlSocketsGroupWritable configuration option: when
  24906. it is turned on, ControlSockets are group-writeable by the default
  24907. group of the current user. Patch by Jérémy Bobbio; implements
  24908. ticket 2972.
  24909. - Tor now refuses to create a ControlSocket in a directory that is
  24910. world-readable (or group-readable if ControlSocketsGroupWritable
  24911. is 0). This is necessary because some operating systems do not
  24912. enforce permissions on an AF_UNIX sockets. Permissions on the
  24913. directory holding the socket, however, seems to work everywhere.
  24914. - Rate-limit a warning about failures to download v2 networkstatus
  24915. documents. Resolves part of bug 1352.
  24916. - Backport code from 0.2.3.x that allows directory authorities to
  24917. clean their microdescriptor caches. Needed to resolve bug 2230.
  24918. - When an HTTPS proxy reports "403 Forbidden", we now explain
  24919. what it means rather than calling it an unexpected status code.
  24920. Closes bug 2503. Patch from Michael Yakubovich.
  24921. - Update to the May 1 2011 Maxmind GeoLite Country database.
  24922. o Minor bugfixes:
  24923. - Authorities now clean their microdesc cache periodically and when
  24924. reading from disk initially, not only when adding new descriptors.
  24925. This prevents a bug where we could lose microdescriptors. Bugfix
  24926. on 0.2.2.6-alpha. Fixes bug 2230.
  24927. - Do not crash when our configuration file becomes unreadable, for
  24928. example due to a permissions change, between when we start up
  24929. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  24930. on 0.0.9pre6.
  24931. - Avoid a bug that would keep us from replacing a microdescriptor
  24932. cache on Windows. (We would try to replace the file while still
  24933. holding it open. That's fine on Unix, but Windows doesn't let us
  24934. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  24935. - Add missing explanations for the authority-related torrc options
  24936. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  24937. man page. Resolves issue 2379.
  24938. - As an authority, do not upload our own vote or signature set to
  24939. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  24940. it would get flagged as a duplicate. Resolves bug 3026.
  24941. - Accept hidden service descriptors if we think we might be a hidden
  24942. service directory, regardless of what our consensus says. This
  24943. helps robustness, since clients and hidden services can sometimes
  24944. have a more up-to-date view of the network consensus than we do,
  24945. and if they think that the directory authorities list us a HSDir,
  24946. we might actually be one. Related to bug 2732; bugfix on
  24947. 0.2.0.10-alpha.
  24948. - When a controller changes TrackHostExits, remove mappings for
  24949. hosts that should no longer have their exits tracked. Bugfix on
  24950. 0.1.0.1-rc.
  24951. - When a controller changes VirtualAddrNetwork, remove any mappings
  24952. for hosts that were automapped to the old network. Bugfix on
  24953. 0.1.1.19-rc.
  24954. - When a controller changes one of the AutomapHosts* options, remove
  24955. any mappings for hosts that should no longer be automapped. Bugfix
  24956. on 0.2.0.1-alpha.
  24957. - Do not reset the bridge descriptor download status every time we
  24958. re-parse our configuration or get a configuration change. Fixes
  24959. bug 3019; bugfix on 0.2.0.3-alpha.
  24960. o Minor bugfixes (code cleanup):
  24961. - When loading the microdesc journal, remember its current size.
  24962. In 0.2.2, this helps prevent the microdesc journal from growing
  24963. without limit on authorities (who are the only ones to use it in
  24964. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  24965. Fix posted by "cypherpunks."
  24966. - The microdesc journal is supposed to get rebuilt only if it is
  24967. at least _half_ the length of the store, not _twice_ the length
  24968. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  24969. - Fix a potential null-pointer dereference while computing a
  24970. consensus. Bugfix on 0.2.0.3-alpha, found with the help of
  24971. clang's analyzer.
  24972. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  24973. cache without actually having any descriptors to cache. Bugfix on
  24974. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  24975. - If we fail to compute the identity digest of a v3 legacy keypair,
  24976. warn, and don't use a buffer-full of junk instead. Bugfix on
  24977. 0.2.1.1-alpha; fixes bug 3106.
  24978. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  24979. where if the function had ever in the future been used to check
  24980. for the presence of a too-large number, it would have given an
  24981. incorrect result. (Fortunately, we only used it for 16-bit
  24982. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  24983. - Require that introduction point keys and onion handshake keys
  24984. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  24985. on 0.2.0.10-alpha.
  24986. o Removed features:
  24987. - Caches no longer download and serve v2 networkstatus documents
  24988. unless FetchV2Networkstatus flag is set: these documents haven't
  24989. haven't been used by clients or relays since 0.2.0.x. Resolves
  24990. bug 3022.
  24991. Changes in version 0.2.3.1-alpha - 2011-05-05
  24992. Tor 0.2.3.1-alpha adds some new experimental features, including support
  24993. for an improved network IO backend, IOCP networking on Windows,
  24994. microdescriptor caching, "fast-start" support for streams, and automatic
  24995. home router configuration. There are also numerous internal improvements
  24996. to try to make the code easier for developers to work with.
  24997. This is the first alpha release in a new series, so expect there to be
  24998. bugs. Users who would rather test out a more stable branch should
  24999. stay with 0.2.2.x for now.
  25000. o Major features:
  25001. - Tor can now optionally build with the "bufferevents" buffered IO
  25002. backend provided by Libevent 2. To use this feature, make sure you
  25003. have the latest possible version of Libevent, and pass the
  25004. --enable-bufferevents flag to configure when building Tor from
  25005. source. This feature will make our networking code more flexible,
  25006. let us stack layers on each other, and let us use more efficient
  25007. zero-copy transports where available.
  25008. - As an experimental feature, Tor can use IOCP for networking on Windows.
  25009. Once this code is tuned and optimized, it promises much better
  25010. performance than the select-based backend we've used in the past. To
  25011. try this feature, you must build Tor with Libevent 2, configure Tor
  25012. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  25013. your torrc. There are known bugs here: only try this if you can help
  25014. debug it as it breaks.
  25015. - The EntryNodes option can now include country codes like {de} or IP
  25016. addresses or network masks. Previously we had disallowed these options
  25017. because we didn't have an efficient way to keep the list up to
  25018. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  25019. - Exit nodes now accept and queue data on not-yet-connected streams.
  25020. Previously, the client wasn't allowed to send data until the stream was
  25021. connected, which slowed down all connections. This change will enable
  25022. clients to perform a "fast-start" on streams and send data without
  25023. having to wait for a confirmation that the stream has opened. (Patch
  25024. from Ian Goldberg; implements the server side of Proposal 174.)
  25025. - Tor now has initial support for automatic port mapping on the many
  25026. home routers that support NAT-PMP or UPnP. (Not yet supported on
  25027. Windows). To build the support code, you'll need to have libnatpnp
  25028. library and/or the libminiupnpc library, and you'll need to enable the
  25029. feature specifically by passing "--enable-upnp" and/or
  25030. "--enable-natpnp" to configure. To turn it on, use the new
  25031. PortForwarding option.
  25032. - Caches now download, cache, and serve multiple "flavors" of the
  25033. consensus, including a flavor that describes microdescriptors.
  25034. - Caches now download, cache, and serve microdescriptors -- small
  25035. summaries of router descriptors that are authenticated by all of the
  25036. directory authorities. Once enough caches are running this code,
  25037. clients will be able to save significant amounts of directory bandwidth
  25038. by downloading microdescriptors instead of router descriptors.
  25039. o Minor features:
  25040. - Make logging resolution configurable with a new LogTimeGranularity
  25041. option, and change the default from 1 millisecond to 1 second.
  25042. Implements enhancement 1668.
  25043. - We log which torrc file we're using on startup. Implements ticket
  25044. 2444.
  25045. - Ordinarily, Tor does not count traffic from private addresses (like
  25046. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  25047. There is now a new option, CountPrivateBandwidth, to disable this
  25048. behavior. Patch from Daniel Cagara.
  25049. - New --enable-static-tor configure option for building Tor as
  25050. statically as possible. Idea, general hackery and thoughts from
  25051. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  25052. 2702.
  25053. - If you set the NumCPUs option to 0, Tor will now try to detect how
  25054. many CPUs you have. This is the new default behavior.
  25055. - Turn on directory request statistics by default and include them in
  25056. extra-info descriptors. Don't break if we have no GeoIP database.
  25057. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  25058. bidirectional use of connections to disk every 24 hours.
  25059. - Add a GeoIP file digest to the extra-info descriptor. Implements
  25060. enhancement 1883.
  25061. - The NodeFamily option -- which let you declare that you want to
  25062. consider nodes to be part of a family whether they list themselves
  25063. that way or not -- now allows IP address ranges and country codes.
  25064. - Add a new 'Heartbeat' log message type to periodically log a message
  25065. describing Tor's status at level Notice. This feature is meant for
  25066. operators who log at notice, and want to make sure that their Tor
  25067. server is still working. Implementation by George Kadianakis.
  25068. o Minor bugfixes (on 0.2.2.25-alpha):
  25069. - When loading the microdesc journal, remember its current size.
  25070. In 0.2.2, this helps prevent the microdesc journal from growing
  25071. without limit on authorities (who are the only ones to use it in
  25072. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  25073. Fix posted by "cypherpunks."
  25074. - The microdesc journal is supposed to get rebuilt only if it is
  25075. at least _half_ the length of the store, not _twice_ the length
  25076. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  25077. - If as an authority we fail to compute the identity digest of a v3
  25078. legacy keypair, warn, and don't use a buffer-full of junk instead.
  25079. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  25080. - Authorities now clean their microdesc cache periodically and when
  25081. reading from disk initially, not only when adding new descriptors.
  25082. This prevents a bug where we could lose microdescriptors. Bugfix
  25083. on 0.2.2.6-alpha.
  25084. o Minor features (controller):
  25085. - Add a new SIGNAL event to the controller interface so that
  25086. controllers can be notified when Tor handles a signal. Resolves
  25087. issue 1955. Patch by John Brooks.
  25088. - Add a new GETINFO option to get total bytes read and written. Patch
  25089. from pipe, revised by atagar. Resolves ticket 2345.
  25090. - Implement some GETINFO controller fields to provide information about
  25091. the Tor process's pid, euid, username, and resource limits.
  25092. o Build changes:
  25093. - Our build system requires automake 1.6 or later to create the
  25094. Makefile.in files. Previously, you could have used 1.4.
  25095. This only affects developers and people building Tor from git;
  25096. people who build Tor from the source distribution without changing
  25097. the Makefile.am files should be fine.
  25098. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  25099. so on. This is more robust against some of the failure modes
  25100. associated with running the autotools pieces on their own.
  25101. o Minor packaging issues:
  25102. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  25103. already created. Patch from Andreas Stieger. Fixes bug 2573.
  25104. o Code simplifications and refactoring:
  25105. - A major revision to our internal node-selecting and listing logic.
  25106. Tor already had at least two major ways to look at the question of
  25107. "which Tor servers do we know about": a list of router descriptors,
  25108. and a list of entries in the current consensus. With
  25109. microdescriptors, we're adding a third. Having so many systems
  25110. without an abstraction layer over them was hurting the codebase.
  25111. Now, we have a new "node_t" abstraction that presents a consistent
  25112. interface to a client's view of a Tor node, and holds (nearly) all
  25113. of the mutable state formerly in routerinfo_t and routerstatus_t.
  25114. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  25115. no longer link against Libevent: they never used it, but
  25116. our library structure used to force them to link it.
  25117. o Removed features:
  25118. - Remove some old code to work around even older versions of Tor that
  25119. used forked processes to handle DNS requests. Such versions of Tor
  25120. are no longer in use as servers.
  25121. o Documentation fixes:
  25122. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  25123. - Add missing documentation for the authority-related torrc options
  25124. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  25125. issue 2379.
  25126. Changes in version 0.2.2.25-alpha - 2011-04-29
  25127. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  25128. robust, routers no longer overreport their bandwidth, Win7 should crash
  25129. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  25130. now prevents hidden service-related activity from being linkable. It
  25131. provides more information to Vidalia so you can see if your bridge is
  25132. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  25133. StrictNodes configuration options to make them more reliable, more
  25134. understandable, and more regularly applied. If you use those options,
  25135. please see the revised documentation for them in the manual page.
  25136. o Major bugfixes:
  25137. - Relays were publishing grossly inflated bandwidth values because
  25138. they were writing their state files wrong--now they write the
  25139. correct value. Also, resume reading bandwidth history from the
  25140. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  25141. - Improve hidden service robustness: When we find that we have
  25142. extended a hidden service's introduction circuit to a relay not
  25143. listed as an introduction point in the HS descriptor we currently
  25144. have, retry with an introduction point from the current
  25145. descriptor. Previously we would just give up. Fixes bugs 1024 and
  25146. 1930; bugfix on 0.2.0.10-alpha.
  25147. - Clients now stop trying to use an exit node associated with a given
  25148. destination by TrackHostExits if they fail to reach that exit node.
  25149. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  25150. - Fix crash bug on platforms where gmtime and localtime can return
  25151. NULL. Windows 7 users were running into this one. Fixes part of bug
  25152. 2077. Bugfix on all versions of Tor. Found by boboper.
  25153. o Security and stability fixes:
  25154. - Don't double-free a parsable, but invalid, microdescriptor, even if
  25155. it is followed in the blob we're parsing by an unparsable
  25156. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  25157. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  25158. - If the Nickname configuration option isn't given, Tor would pick a
  25159. nickname based on the local hostname as the nickname for a relay.
  25160. Because nicknames are not very important in today's Tor and the
  25161. "Unnamed" nickname has been implemented, this is now problematic
  25162. behavior: It leaks information about the hostname without being
  25163. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  25164. introduced the Unnamed nickname. Reported by tagnaq.
  25165. - Fix an uncommon assertion failure when running with DNSPort under
  25166. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  25167. - Avoid linkability based on cached hidden service descriptors: forget
  25168. all hidden service descriptors cached as a client when processing a
  25169. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  25170. o Major features:
  25171. - Export GeoIP information on bridge usage to controllers even if we
  25172. have not yet been running for 24 hours. Now Vidalia bridge operators
  25173. can get more accurate and immediate feedback about their
  25174. contributions to the network.
  25175. o Major features and bugfixes (node selection):
  25176. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  25177. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  25178. options. Previously, we had been ambiguous in describing what
  25179. counted as an "exit" node, and what operations exactly "StrictNodes
  25180. 0" would permit. This created confusion when people saw nodes built
  25181. through unexpected circuits, and made it hard to tell real bugs from
  25182. surprises. Now the intended behavior is:
  25183. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  25184. a node that delivers user traffic outside the Tor network.
  25185. . "Entry", in the context of EntryNodes, means a node used as the
  25186. first hop of a multihop circuit. It doesn't include direct
  25187. connections to directory servers.
  25188. . "ExcludeNodes" applies to all nodes.
  25189. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  25190. StrictNodes is set, Tor should avoid all nodes listed in
  25191. ExcludeNodes, even when it will make user requests fail. When
  25192. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  25193. whenever it can, except when it must use an excluded node to
  25194. perform self-tests, connect to a hidden service, provide a
  25195. hidden service, fulfill a .exit request, upload directory
  25196. information, or fetch directory information.
  25197. Collectively, the changes to implement the behavior fix bug 1090.
  25198. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  25199. a node is listed in both, it's treated as excluded.
  25200. - ExcludeNodes now applies to directory nodes -- as a preference if
  25201. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  25202. Don't exclude all the directory authorities and set StrictNodes to 1
  25203. unless you really want your Tor to break.
  25204. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  25205. - ExcludeExitNodes now overrides .exit requests.
  25206. - We don't use bridges listed in ExcludeNodes.
  25207. - When StrictNodes is 1:
  25208. . We now apply ExcludeNodes to hidden service introduction points
  25209. and to rendezvous points selected by hidden service users. This
  25210. can make your hidden service less reliable: use it with caution!
  25211. . If we have used ExcludeNodes on ourself, do not try relay
  25212. reachability self-tests.
  25213. . If we have excluded all the directory authorities, we will not
  25214. even try to upload our descriptor if we're a relay.
  25215. . Do not honor .exit requests to an excluded node.
  25216. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  25217. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  25218. - When the set of permitted nodes changes, we now remove any mappings
  25219. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  25220. 0.1.0.1-rc.
  25221. - We never cannibalize a circuit that had excluded nodes on it, even
  25222. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  25223. - Revert a change where we would be laxer about attaching streams to
  25224. circuits than when building the circuits. This was meant to prevent
  25225. a set of bugs where streams were never attachable, but our improved
  25226. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  25227. - Keep track of how many times we launch a new circuit to handle a
  25228. given stream. Too many launches could indicate an inconsistency
  25229. between our "launch a circuit to handle this stream" logic and our
  25230. "attach this stream to one of the available circuits" logic.
  25231. - Improve log messages related to excluded nodes.
  25232. o Minor bugfixes:
  25233. - Fix a spurious warning when moving from a short month to a long
  25234. month on relays with month-based BandwidthAccounting. Bugfix on
  25235. 0.2.2.17-alpha; fixes bug 3020.
  25236. - When a client finds that an origin circuit has run out of 16-bit
  25237. stream IDs, we now mark it as unusable for new streams. Previously,
  25238. we would try to close the entire circuit. Bugfix on 0.0.6.
  25239. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  25240. Bugfix on 0.2.2.24-alpha.
  25241. - Be more careful about reporting the correct error from a failed
  25242. connect() system call. Under some circumstances, it was possible to
  25243. look at an incorrect value for errno when sending the end reason.
  25244. Bugfix on 0.1.0.1-rc.
  25245. - Correctly handle an "impossible" overflow cases in connection byte
  25246. counting, where we write or read more than 4GB on an edge connection
  25247. in a single second. Bugfix on 0.1.2.8-beta.
  25248. - Correct the warning displayed when a rendezvous descriptor exceeds
  25249. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  25250. John Brooks.
  25251. - Clients and hidden services now use HSDir-flagged relays for hidden
  25252. service descriptor downloads and uploads even if the relays have no
  25253. DirPort set and the client has disabled TunnelDirConns. This will
  25254. eventually allow us to give the HSDir flag to relays with no
  25255. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  25256. - Downgrade "no current certificates known for authority" message from
  25257. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  25258. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  25259. 2917. Bugfix on 0.1.1.1-alpha.
  25260. - Only limit the lengths of single HS descriptors, even when multiple
  25261. HS descriptors are published to an HSDir relay in a single POST
  25262. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  25263. - Write the current time into the LastWritten line in our state file,
  25264. rather than the time from the previous write attempt. Also, stop
  25265. trying to use a time of -1 in our log statements. Fixes bug 3039;
  25266. bugfix on 0.2.2.14-alpha.
  25267. - Be more consistent in our treatment of file system paths. "~" should
  25268. get expanded to the user's home directory in the Log config option.
  25269. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  25270. feature for the -f and --DataDirectory options.
  25271. o Minor features:
  25272. - Make sure every relay writes a state file at least every 12 hours.
  25273. Previously, a relay could go for weeks without writing its state
  25274. file, and on a crash could lose its bandwidth history, capacity
  25275. estimates, client country statistics, and so on. Addresses bug 3012.
  25276. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  25277. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  25278. clients are already deprecated because of security bugs.
  25279. - Don't allow v0 hidden service authorities to act as clients.
  25280. Required by fix for bug 3000.
  25281. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  25282. by fix for bug 3000.
  25283. - Ensure that no empty [dirreq-](read|write)-history lines are added
  25284. to an extrainfo document. Implements ticket 2497.
  25285. o Code simplification and refactoring:
  25286. - Remove workaround code to handle directory responses from servers
  25287. that had bug 539 (they would send HTTP status 503 responses _and_
  25288. send a body too). Since only server versions before
  25289. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  25290. keep the workaround in place.
  25291. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  25292. handling calculations where we have a known amount of clock skew and
  25293. an allowed amount of unknown skew. But we only used it in three
  25294. places, and we never adjusted the known/unknown skew values. This is
  25295. still something we might want to do someday, but if we do, we'll
  25296. want to do it differently.
  25297. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  25298. None of the cases where we did this before were wrong, but by making
  25299. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  25300. - Use GetTempDir to find the proper temporary directory location on
  25301. Windows when generating temporary files for the unit tests. Patch by
  25302. Gisle Vanem.
  25303. Changes in version 0.2.2.24-alpha - 2011-04-08
  25304. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  25305. prevented Tor clients from effectively using "multihomed" bridges,
  25306. that is, bridges that listen on multiple ports or IP addresses so users
  25307. can continue to use some of their addresses even if others get blocked.
  25308. o Major bugfixes:
  25309. - Fix a bug where bridge users who configure the non-canonical
  25310. address of a bridge automatically switch to its canonical
  25311. address. If a bridge listens at more than one address, it should be
  25312. able to advertise those addresses independently and any non-blocked
  25313. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  25314. bug 2510.
  25315. - If you configured Tor to use bridge A, and then quit and
  25316. configured Tor to use bridge B instead, it would happily continue
  25317. to use bridge A if it's still reachable. While this behavior is
  25318. a feature if your goal is connectivity, in some scenarios it's a
  25319. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  25320. - Directory authorities now use data collected from their own
  25321. uptime observations when choosing whether to assign the HSDir flag
  25322. to relays, instead of trusting the uptime value the relay reports in
  25323. its descriptor. This change helps prevent an attack where a small
  25324. set of nodes with frequently-changing identity keys can blackhole
  25325. a hidden service. (Only authorities need upgrade; others will be
  25326. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  25327. o Minor bugfixes:
  25328. - When we restart our relay, we might get a successful connection
  25329. from the outside before we've started our reachability tests,
  25330. triggering a warning: "ORPort found reachable, but I have no
  25331. routerinfo yet. Failing to inform controller of success." This
  25332. bug was harmless unless Tor is running under a controller
  25333. like Vidalia, in which case the controller would never get a
  25334. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  25335. fixes bug 1172.
  25336. - Make directory authorities more accurate at recording when
  25337. relays that have failed several reachability tests became
  25338. unreachable, so we can provide more accuracy at assigning Stable,
  25339. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  25340. - Fix an issue that prevented static linking of libevent on
  25341. some platforms (notably Linux). Fixes bug 2698; bugfix on
  25342. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  25343. the --with-static-libevent configure option).
  25344. - We now ask the other side of a stream (the client or the exit)
  25345. for more data on that stream when the amount of queued data on
  25346. that stream dips low enough. Previously, we wouldn't ask the
  25347. other side for more data until either it sent us more data (which
  25348. it wasn't supposed to do if it had exhausted its window!) or we
  25349. had completely flushed all our queued data. This flow control fix
  25350. should improve throughput. Fixes bug 2756; bugfix on the earliest
  25351. released versions of Tor (svn commit r152).
  25352. - Avoid a double-mark-for-free warning when failing to attach a
  25353. transparent proxy connection. (We thought we had fixed this in
  25354. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  25355. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  25356. bug) and 0.2.2.23-alpha (the incorrect fix).
  25357. - When warning about missing zlib development packages during compile,
  25358. give the correct package names. Bugfix on 0.2.0.1-alpha.
  25359. o Minor features:
  25360. - Directory authorities now log the source of a rejected POSTed v3
  25361. networkstatus vote.
  25362. - Make compilation with clang possible when using
  25363. --enable-gcc-warnings by removing two warning options that clang
  25364. hasn't implemented yet and by fixing a few warnings. Implements
  25365. ticket 2696.
  25366. - When expiring circuits, use microsecond timers rather than
  25367. one-second timers. This can avoid an unpleasant situation where a
  25368. circuit is launched near the end of one second and expired right
  25369. near the beginning of the next, and prevent fluctuations in circuit
  25370. timeout values.
  25371. - Use computed circuit-build timeouts to decide when to launch
  25372. parallel introduction circuits for hidden services. (Previously,
  25373. we would retry after 15 seconds.)
  25374. - Update to the April 1 2011 Maxmind GeoLite Country database.
  25375. o Packaging fixes:
  25376. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  25377. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  25378. o Documentation changes:
  25379. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  25380. - Resolve all doxygen warnings except those for missing documentation.
  25381. Fixes bug 2705.
  25382. - Add doxygen documentation for more functions, fields, and types.
  25383. Changes in version 0.2.2.23-alpha - 2011-03-08
  25384. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  25385. they restart they don't lose their bandwidth capacity estimate. This
  25386. release also fixes a diverse set of user-facing bugs, ranging from
  25387. relays overrunning their rate limiting to clients falsely warning about
  25388. clock skew to bridge descriptor leaks by our bridge directory authority.
  25389. o Major bugfixes:
  25390. - Stop sending a CLOCK_SKEW controller status event whenever
  25391. we fetch directory information from a relay that has a wrong clock.
  25392. Instead, only inform the controller when it's a trusted authority
  25393. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  25394. the rest of bug 1074.
  25395. - Fix an assert in parsing router descriptors containing IPv6
  25396. addresses. This one took down the directory authorities when
  25397. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  25398. - Make the bridge directory authority refuse to answer directory
  25399. requests for "all" descriptors. It used to include bridge
  25400. descriptors in its answer, which was a major information leak.
  25401. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  25402. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  25403. Tor would ignore their RelayBandwidthBurst setting,
  25404. potentially using more bandwidth than expected. Bugfix on
  25405. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  25406. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  25407. hidserv" in her torrc. The 'hidserv' argument never controlled
  25408. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  25409. o Major features:
  25410. - Relays now save observed peak bandwidth throughput rates to their
  25411. state file (along with total usage, which was already saved)
  25412. so that they can determine their correct estimated bandwidth on
  25413. restart. Resolves bug 1863, where Tor relays would reset their
  25414. estimated bandwidth to 0 after restarting.
  25415. - Directory authorities now take changes in router IP address and
  25416. ORPort into account when determining router stability. Previously,
  25417. if a router changed its IP or ORPort, the authorities would not
  25418. treat it as having any downtime for the purposes of stability
  25419. calculation, whereas clients would experience downtime since the
  25420. change could take a while to propagate to them. Resolves issue 1035.
  25421. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  25422. Prevention (DEP) by default on Windows to make it harder for
  25423. attackers to exploit vulnerabilities. Patch from John Brooks.
  25424. o Minor bugfixes (on 0.2.1.x and earlier):
  25425. - Fix a rare crash bug that could occur when a client was configured
  25426. with a large number of bridges. Fixes bug 2629; bugfix on
  25427. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  25428. - Avoid a double mark-for-free warning when failing to attach a
  25429. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  25430. bug 2279.
  25431. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  25432. found by "cypherpunks". This bug was introduced before the first
  25433. Tor release, in svn commit r110.
  25434. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  25435. don't mention them in the manpage. Fixes bug 2450; issue
  25436. spotted by keb and G-Lo.
  25437. - Fix a bug in bandwidth history state parsing that could have been
  25438. triggered if a future version of Tor ever changed the timing
  25439. granularity at which bandwidth history is measured. Bugfix on
  25440. Tor 0.1.1.11-alpha.
  25441. - When a relay decides that its DNS is too broken for it to serve
  25442. as an exit server, it advertised itself as a non-exit, but
  25443. continued to act as an exit. This could create accidental
  25444. partitioning opportunities for users. Instead, if a relay is
  25445. going to advertise reject *:* as its exit policy, it should
  25446. really act with exit policy "reject *:*". Fixes bug 2366.
  25447. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  25448. - In the special case where you configure a public exit relay as your
  25449. bridge, Tor would be willing to use that exit relay as the last
  25450. hop in your circuit as well. Now we fail that circuit instead.
  25451. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  25452. - Fix a bug with our locking implementation on Windows that couldn't
  25453. correctly detect when a file was already locked. Fixes bug 2504,
  25454. bugfix on 0.2.1.6-alpha.
  25455. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  25456. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  25457. "piebeer".
  25458. - Set target port in get_interface_address6() correctly. Bugfix
  25459. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  25460. - Directory authorities are now more robust to hops back in time
  25461. when calculating router stability. Previously, if a run of uptime
  25462. or downtime appeared to be negative, the calculation could give
  25463. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  25464. bug 1035.
  25465. - Fix an assert that got triggered when using the TestingTorNetwork
  25466. configuration option and then issuing a GETINFO config-text control
  25467. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  25468. o Minor bugfixes (on 0.2.2.x):
  25469. - Clients should not weight BadExit nodes as Exits in their node
  25470. selection. Similarly, directory authorities should not count BadExit
  25471. bandwidth as Exit bandwidth when computing bandwidth-weights.
  25472. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  25473. - Correctly clear our dir_read/dir_write history when there is an
  25474. error parsing any bw history value from the state file. Bugfix on
  25475. Tor 0.2.2.15-alpha.
  25476. - Resolve a bug in verifying signatures of directory objects
  25477. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  25478. Fixes bug 2409. Found by "piebeer".
  25479. - Bridge authorities no longer crash on SIGHUP when they try to
  25480. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  25481. on 0.2.2.22-alpha.
  25482. o Minor features:
  25483. - Log less aggressively about circuit timeout changes, and improve
  25484. some other circuit timeout messages. Resolves bug 2004.
  25485. - Log a little more clearly about the times at which we're no longer
  25486. accepting new connections. Resolves bug 2181.
  25487. - Reject attempts at the client side to open connections to private
  25488. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  25489. a randomly chosen exit node. Attempts to do so are always
  25490. ill-defined, generally prevented by exit policies, and usually
  25491. in error. This will also help to detect loops in transparent
  25492. proxy configurations. You can disable this feature by setting
  25493. "ClientRejectInternalAddresses 0" in your torrc.
  25494. - Always treat failure to allocate an RSA key as an unrecoverable
  25495. allocation error.
  25496. - Update to the March 1 2011 Maxmind GeoLite Country database.
  25497. o Minor features (log subsystem):
  25498. - Add documentation for configuring logging at different severities in
  25499. different log domains. We've had this feature since 0.2.1.1-alpha,
  25500. but for some reason it never made it into the manpage. Fixes
  25501. bug 2215.
  25502. - Make it simpler to specify "All log domains except for A and B".
  25503. Previously you needed to say "[*,~A,~B]". Now you can just say
  25504. "[~A,~B]".
  25505. - Add a "LogMessageDomains 1" option to include the domains of log
  25506. messages along with the messages. Without this, there's no way
  25507. to use log domains without reading the source or doing a lot
  25508. of guessing.
  25509. o Packaging changes:
  25510. - Stop shipping the Tor specs files and development proposal documents
  25511. in the tarball. They are now in a separate git repository at
  25512. git://git.torproject.org/torspec.git
  25513. Changes in version 0.2.1.30 - 2011-02-23
  25514. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  25515. change is a slight tweak to Tor's TLS handshake that makes relays
  25516. and bridges that run this new version reachable from Iran again.
  25517. We don't expect this tweak will win the arms race long-term, but it
  25518. buys us time until we roll out a better solution.
  25519. o Major bugfixes:
  25520. - Stop sending a CLOCK_SKEW controller status event whenever
  25521. we fetch directory information from a relay that has a wrong clock.
  25522. Instead, only inform the controller when it's a trusted authority
  25523. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  25524. the rest of bug 1074.
  25525. - Fix a bounds-checking error that could allow an attacker to
  25526. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  25527. Found by "piebeer".
  25528. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  25529. Tor would ignore their RelayBandwidthBurst setting,
  25530. potentially using more bandwidth than expected. Bugfix on
  25531. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  25532. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  25533. hidserv" in her torrc. The 'hidserv' argument never controlled
  25534. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  25535. o Minor features:
  25536. - Adjust our TLS Diffie-Hellman parameters to match those used by
  25537. Apache's mod_ssl.
  25538. - Update to the February 1 2011 Maxmind GeoLite Country database.
  25539. o Minor bugfixes:
  25540. - Check for and reject overly long directory certificates and
  25541. directory tokens before they have a chance to hit any assertions.
  25542. Bugfix on 0.2.1.28. Found by "doorss".
  25543. - Bring the logic that gathers routerinfos and assesses the
  25544. acceptability of circuits into line. This prevents a Tor OP from
  25545. getting locked in a cycle of choosing its local OR as an exit for a
  25546. path (due to a .exit request) and then rejecting the circuit because
  25547. its OR is not listed yet. It also prevents Tor clients from using an
  25548. OR running in the same instance as an exit (due to a .exit request)
  25549. if the OR does not meet the same requirements expected of an OR
  25550. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  25551. o Packaging changes:
  25552. - Stop shipping the Tor specs files and development proposal documents
  25553. in the tarball. They are now in a separate git repository at
  25554. git://git.torproject.org/torspec.git
  25555. - Do not include Git version tags as though they are SVN tags when
  25556. generating a tarball from inside a repository that has switched
  25557. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  25558. Changes in version 0.2.2.22-alpha - 2011-01-25
  25559. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  25560. main other change is a slight tweak to Tor's TLS handshake that makes
  25561. relays and bridges that run this new version reachable from Iran again.
  25562. We don't expect this tweak will win the arms race long-term, but it
  25563. will buy us a bit more time until we roll out a better solution.
  25564. o Major bugfixes:
  25565. - Fix a bounds-checking error that could allow an attacker to
  25566. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  25567. Found by "piebeer".
  25568. - Don't assert when changing from bridge to relay or vice versa
  25569. via the controller. The assert happened because we didn't properly
  25570. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  25571. bug 2433. Reported by bastik.
  25572. o Minor features:
  25573. - Adjust our TLS Diffie-Hellman parameters to match those used by
  25574. Apache's mod_ssl.
  25575. - Provide a log message stating which geoip file we're parsing
  25576. instead of just stating that we're parsing the geoip file.
  25577. Implements ticket 2432.
  25578. o Minor bugfixes:
  25579. - Check for and reject overly long directory certificates and
  25580. directory tokens before they have a chance to hit any assertions.
  25581. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  25582. Changes in version 0.2.2.21-alpha - 2011-01-15
  25583. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  25584. continues our recent code security audit work. The main fix resolves
  25585. a remote heap overflow vulnerability that can allow remote code
  25586. execution (CVE-2011-0427). Other fixes address a variety of assert
  25587. and crash bugs, most of which we think are hard to exploit remotely.
  25588. o Major bugfixes (security), also included in 0.2.1.29:
  25589. - Fix a heap overflow bug where an adversary could cause heap
  25590. corruption. This bug probably allows remote code execution
  25591. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  25592. 0.1.2.10-rc.
  25593. - Prevent a denial-of-service attack by disallowing any
  25594. zlib-compressed data whose compression factor is implausibly
  25595. high. Fixes part of bug 2324; reported by "doorss".
  25596. - Zero out a few more keys in memory before freeing them. Fixes
  25597. bug 2384 and part of bug 2385. These key instances found by
  25598. "cypherpunks", based on Andrew Case's report about being able
  25599. to find sensitive data in Tor's memory space if you have enough
  25600. permissions. Bugfix on 0.0.2pre9.
  25601. o Major bugfixes (crashes), also included in 0.2.1.29:
  25602. - Prevent calls to Libevent from inside Libevent log handlers.
  25603. This had potential to cause a nasty set of crashes, especially
  25604. if running Libevent with debug logging enabled, and running
  25605. Tor with a controller watching for low-severity log messages.
  25606. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  25607. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  25608. underflow errors there too. Fixes the other part of bug 2324.
  25609. - Fix a bug where we would assert if we ever had a
  25610. cached-descriptors.new file (or another file read directly into
  25611. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  25612. on 0.2.1.25. Found by doorss.
  25613. - Fix some potential asserts and parsing issues with grossly
  25614. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  25615. Found by doorss.
  25616. o Minor bugfixes (other), also included in 0.2.1.29:
  25617. - Fix a bug with handling misformed replies to reverse DNS lookup
  25618. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  25619. bug reported by doorss.
  25620. - Fix compilation on mingw when a pthreads compatibility library
  25621. has been installed. (We don't want to use it, so we shouldn't
  25622. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  25623. - Fix a bug where we would declare that we had run out of virtual
  25624. addresses when the address space was only half-exhausted. Bugfix
  25625. on 0.1.2.1-alpha.
  25626. - Correctly handle the case where AutomapHostsOnResolve is set but
  25627. no virtual addresses are available. Fixes bug 2328; bugfix on
  25628. 0.1.2.1-alpha. Bug found by doorss.
  25629. - Correctly handle wrapping around when we run out of virtual
  25630. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  25631. o Minor features, also included in 0.2.1.29:
  25632. - Update to the January 1 2011 Maxmind GeoLite Country database.
  25633. - Introduce output size checks on all of our decryption functions.
  25634. o Build changes, also included in 0.2.1.29:
  25635. - Tor does not build packages correctly with Automake 1.6 and earlier;
  25636. added a check to Makefile.am to make sure that we're building with
  25637. Automake 1.7 or later.
  25638. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  25639. because we built it with a too-old version of automake. Thus that
  25640. release broke ./configure --enable-openbsd-malloc, which is popular
  25641. among really fast exit relays on Linux.
  25642. o Major bugfixes, new in 0.2.2.21-alpha:
  25643. - Prevent crash/heap corruption when the cbtnummodes consensus
  25644. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  25645. on 0.2.2.14-alpha.
  25646. o Major features, new in 0.2.2.21-alpha:
  25647. - Introduce minimum/maximum values that clients will believe
  25648. from the consensus. Now we'll have a better chance to avoid crashes
  25649. or worse when a consensus param has a weird value.
  25650. o Minor features, new in 0.2.2.21-alpha:
  25651. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  25652. used on bridges, and it makes bridge scanning somewhat easier.
  25653. - If writing the state file to disk fails, wait up to an hour before
  25654. retrying again, rather than trying again each second. Fixes bug
  25655. 2346; bugfix on Tor 0.1.1.3-alpha.
  25656. - Make Libevent log messages get delivered to controllers later,
  25657. and not from inside the Libevent log handler. This prevents unsafe
  25658. reentrant Libevent calls while still letting the log messages
  25659. get through.
  25660. - Detect platforms that brokenly use a signed size_t, and refuse to
  25661. build there. Found and analyzed by doorss and rransom.
  25662. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  25663. Resolves bug 2314.
  25664. o Minor bugfixes, new in 0.2.2.21-alpha:
  25665. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  25666. than waiting forever for them to finish. Fixes bug 2330; bugfix
  25667. on 0.2.0.16-alpha. Found by doorss.
  25668. - Add assertions to check for overflow in arguments to
  25669. base32_encode() and base32_decode(); fix a signed-unsigned
  25670. comparison there too. These bugs are not actually reachable in Tor,
  25671. but it's good to prevent future errors too. Found by doorss.
  25672. - Correctly detect failures to create DNS requests when using Libevent
  25673. versions before v2. (Before Libevent 2, we used our own evdns
  25674. implementation. Its return values for Libevent's evdns_resolve_*()
  25675. functions are not consistent with those from Libevent.) Fixes bug
  25676. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  25677. o Documentation, new in 0.2.2.21-alpha:
  25678. - Document the default socks host and port (127.0.0.1:9050) for
  25679. tor-resolve.
  25680. Changes in version 0.2.1.29 - 2011-01-15
  25681. Tor 0.2.1.29 continues our recent code security audit work. The main
  25682. fix resolves a remote heap overflow vulnerability that can allow remote
  25683. code execution. Other fixes address a variety of assert and crash bugs,
  25684. most of which we think are hard to exploit remotely.
  25685. o Major bugfixes (security):
  25686. - Fix a heap overflow bug where an adversary could cause heap
  25687. corruption. This bug probably allows remote code execution
  25688. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  25689. 0.1.2.10-rc.
  25690. - Prevent a denial-of-service attack by disallowing any
  25691. zlib-compressed data whose compression factor is implausibly
  25692. high. Fixes part of bug 2324; reported by "doorss".
  25693. - Zero out a few more keys in memory before freeing them. Fixes
  25694. bug 2384 and part of bug 2385. These key instances found by
  25695. "cypherpunks", based on Andrew Case's report about being able
  25696. to find sensitive data in Tor's memory space if you have enough
  25697. permissions. Bugfix on 0.0.2pre9.
  25698. o Major bugfixes (crashes):
  25699. - Prevent calls to Libevent from inside Libevent log handlers.
  25700. This had potential to cause a nasty set of crashes, especially
  25701. if running Libevent with debug logging enabled, and running
  25702. Tor with a controller watching for low-severity log messages.
  25703. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  25704. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  25705. underflow errors there too. Fixes the other part of bug 2324.
  25706. - Fix a bug where we would assert if we ever had a
  25707. cached-descriptors.new file (or another file read directly into
  25708. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  25709. on 0.2.1.25. Found by doorss.
  25710. - Fix some potential asserts and parsing issues with grossly
  25711. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  25712. Found by doorss.
  25713. o Minor bugfixes (other):
  25714. - Fix a bug with handling misformed replies to reverse DNS lookup
  25715. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  25716. bug reported by doorss.
  25717. - Fix compilation on mingw when a pthreads compatibility library
  25718. has been installed. (We don't want to use it, so we shouldn't
  25719. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  25720. - Fix a bug where we would declare that we had run out of virtual
  25721. addresses when the address space was only half-exhausted. Bugfix
  25722. on 0.1.2.1-alpha.
  25723. - Correctly handle the case where AutomapHostsOnResolve is set but
  25724. no virtual addresses are available. Fixes bug 2328; bugfix on
  25725. 0.1.2.1-alpha. Bug found by doorss.
  25726. - Correctly handle wrapping around to when we run out of virtual
  25727. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  25728. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  25729. because we built it with a too-old version of automake. Thus that
  25730. release broke ./configure --enable-openbsd-malloc, which is popular
  25731. among really fast exit relays on Linux.
  25732. o Minor features:
  25733. - Update to the January 1 2011 Maxmind GeoLite Country database.
  25734. - Introduce output size checks on all of our decryption functions.
  25735. o Build changes:
  25736. - Tor does not build packages correctly with Automake 1.6 and earlier;
  25737. added a check to Makefile.am to make sure that we're building with
  25738. Automake 1.7 or later.
  25739. Changes in version 0.2.2.20-alpha - 2010-12-17
  25740. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  25741. exploitable bugs. We also fix a variety of other significant bugs,
  25742. change the IP address for one of our directory authorities, and update
  25743. the minimum version that Tor relays must run to join the network.
  25744. o Major bugfixes:
  25745. - Fix a remotely exploitable bug that could be used to crash instances
  25746. of Tor remotely by overflowing on the heap. Remote-code execution
  25747. hasn't been confirmed, but can't be ruled out. Everyone should
  25748. upgrade. Bugfix on the 0.1.1 series and later.
  25749. - Fix a bug that could break accounting on 64-bit systems with large
  25750. time_t values, making them hibernate for impossibly long intervals.
  25751. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  25752. - Fix a logic error in directory_fetches_from_authorities() that
  25753. would cause all _non_-exits refusing single-hop-like circuits
  25754. to fetch from authorities, when we wanted to have _exits_ fetch
  25755. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  25756. fix by boboper.
  25757. - Fix a stream fairness bug that would cause newer streams on a given
  25758. circuit to get preference when reading bytes from the origin or
  25759. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  25760. introduced before the first Tor release, in svn revision r152.
  25761. o Directory authority changes:
  25762. - Change IP address and ports for gabelmoo (v3 directory authority).
  25763. o Minor bugfixes:
  25764. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  25765. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  25766. - Fix an off-by-one error in calculating some controller command
  25767. argument lengths. Fortunately, this mistake is harmless since
  25768. the controller code does redundant NUL termination too. Found by
  25769. boboper. Bugfix on 0.1.1.1-alpha.
  25770. - Do not dereference NULL if a bridge fails to build its
  25771. extra-info descriptor. Found by an anonymous commenter on
  25772. Trac. Bugfix on 0.2.2.19-alpha.
  25773. o Minor features:
  25774. - Update to the December 1 2010 Maxmind GeoLite Country database.
  25775. - Directory authorities now reject relays running any versions of
  25776. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  25777. known bugs that keep RELAY_EARLY cells from working on rendezvous
  25778. circuits. Followup to fix for bug 2081.
  25779. - Directory authorities now reject relays running any version of Tor
  25780. older than 0.2.0.26-rc. That version is the earliest that fetches
  25781. current directory information correctly. Fixes bug 2156.
  25782. - Report only the top 10 ports in exit-port stats in order not to
  25783. exceed the maximum extra-info descriptor length of 50 KB. Implements
  25784. task 2196.
  25785. Changes in version 0.2.1.28 - 2010-12-17
  25786. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  25787. exploitable bugs. We also took this opportunity to change the IP address
  25788. for one of our directory authorities, and to update the geoip database
  25789. we ship.
  25790. o Major bugfixes:
  25791. - Fix a remotely exploitable bug that could be used to crash instances
  25792. of Tor remotely by overflowing on the heap. Remote-code execution
  25793. hasn't been confirmed, but can't be ruled out. Everyone should
  25794. upgrade. Bugfix on the 0.1.1 series and later.
  25795. o Directory authority changes:
  25796. - Change IP address and ports for gabelmoo (v3 directory authority).
  25797. o Minor features:
  25798. - Update to the December 1 2010 Maxmind GeoLite Country database.
  25799. Changes in version 0.2.1.27 - 2010-11-23
  25800. Yet another OpenSSL security patch broke its compatibility with Tor:
  25801. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  25802. also took this opportunity to fix several crash bugs, integrate a new
  25803. directory authority, and update the bundled GeoIP database.
  25804. o Major bugfixes:
  25805. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  25806. No longer set the tlsext_host_name extension on server SSL objects;
  25807. but continue to set it on client SSL objects. Our goal in setting
  25808. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  25809. bugfix on 0.2.1.1-alpha.
  25810. - Do not log messages to the controller while shrinking buffer
  25811. freelists. Doing so would sometimes make the controller connection
  25812. try to allocate a buffer chunk, which would mess up the internals
  25813. of the freelist and cause an assertion failure. Fixes bug 1125;
  25814. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  25815. - Learn our external IP address when we're a relay or bridge, even if
  25816. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  25817. where we introduced bridge relays that don't need to publish to
  25818. be useful. Fixes bug 2050.
  25819. - Do even more to reject (and not just ignore) annotations on
  25820. router descriptors received anywhere but from the cache. Previously
  25821. we would ignore such annotations at first, but cache them to disk
  25822. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  25823. - When you're using bridges and your network goes away and your
  25824. bridges get marked as down, recover when you attempt a new socks
  25825. connection (if the network is back), rather than waiting up to an
  25826. hour to try fetching new descriptors for your bridges. Bugfix on
  25827. 0.2.0.3-alpha; fixes bug 1981.
  25828. o Major features:
  25829. - Move to the November 2010 Maxmind GeoLite country db (rather
  25830. than the June 2009 ip-to-country GeoIP db) for our statistics that
  25831. count how many users relays are seeing from each country. Now we'll
  25832. have more accurate data, especially for many African countries.
  25833. o New directory authorities:
  25834. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  25835. authority.
  25836. o Minor bugfixes:
  25837. - Fix an assertion failure that could occur in directory caches or
  25838. bridge users when using a very short voting interval on a testing
  25839. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  25840. 0.2.0.8-alpha.
  25841. - Enforce multiplicity rules when parsing annotations. Bugfix on
  25842. 0.2.0.8-alpha. Found by piebeer.
  25843. - Allow handshaking OR connections to take a full KeepalivePeriod
  25844. seconds to handshake. Previously, we would close them after
  25845. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  25846. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  25847. for analysis help.
  25848. - When building with --enable-gcc-warnings on OpenBSD, disable
  25849. warnings in system headers. This makes --enable-gcc-warnings
  25850. pass on OpenBSD 4.8.
  25851. o Minor features:
  25852. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  25853. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  25854. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  25855. Servers can start sending this code when enough clients recognize
  25856. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  25857. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  25858. Patch from mingw-san.
  25859. o Removed files:
  25860. - Remove the old debian/ directory from the main Tor distribution.
  25861. The official Tor-for-debian git repository lives at the URL
  25862. https://git.torproject.org/debian/tor.git
  25863. - Stop shipping the old doc/website/ directory in the tarball. We
  25864. changed the website format in late 2010, and what we shipped in
  25865. 0.2.1.26 really wasn't that useful anyway.
  25866. Changes in version 0.2.2.19-alpha - 2010-11-22
  25867. Yet another OpenSSL security patch broke its compatibility with Tor:
  25868. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  25869. o Major bugfixes:
  25870. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  25871. No longer set the tlsext_host_name extension on server SSL objects;
  25872. but continue to set it on client SSL objects. Our goal in setting
  25873. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  25874. bugfix on 0.2.1.1-alpha.
  25875. o Minor bugfixes:
  25876. - Try harder not to exceed the maximum length of 50 KB when writing
  25877. statistics to extra-info descriptors. This bug was triggered by very
  25878. fast relays reporting exit-port, entry, and dirreq statistics.
  25879. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  25880. - Publish a router descriptor even if generating an extra-info
  25881. descriptor fails. Previously we would not publish a router
  25882. descriptor without an extra-info descriptor; this can cause fast
  25883. exit relays collecting exit-port statistics to drop from the
  25884. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  25885. Changes in version 0.2.2.18-alpha - 2010-11-16
  25886. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  25887. us lately, makes unpublished bridge relays able to detect their IP
  25888. address, and fixes a wide variety of other bugs to get us much closer
  25889. to a stable release.
  25890. o Major bugfixes:
  25891. - Do even more to reject (and not just ignore) annotations on
  25892. router descriptors received anywhere but from the cache. Previously
  25893. we would ignore such annotations at first, but cache them to disk
  25894. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  25895. - Do not log messages to the controller while shrinking buffer
  25896. freelists. Doing so would sometimes make the controller connection
  25897. try to allocate a buffer chunk, which would mess up the internals
  25898. of the freelist and cause an assertion failure. Fixes bug 1125;
  25899. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  25900. - Learn our external IP address when we're a relay or bridge, even if
  25901. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  25902. where we introduced bridge relays that don't need to publish to
  25903. be useful. Fixes bug 2050.
  25904. - Maintain separate TLS contexts and certificates for incoming and
  25905. outgoing connections in bridge relays. Previously we would use the
  25906. same TLS contexts and certs for incoming and outgoing connections.
  25907. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  25908. - Maintain separate identity keys for incoming and outgoing TLS
  25909. contexts in bridge relays. Previously we would use the same
  25910. identity keys for incoming and outgoing TLS contexts. Bugfix on
  25911. 0.2.0.3-alpha; addresses the other half of bug 988.
  25912. - Avoid an assertion failure when we as an authority receive a
  25913. duplicate upload of a router descriptor that we already have,
  25914. but which we previously considered an obsolete descriptor.
  25915. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  25916. - Avoid a crash bug triggered by looking at a dangling pointer while
  25917. setting the network status consensus. Found by Robert Ransom.
  25918. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  25919. - Fix a logic error where servers that _didn't_ act as exits would
  25920. try to keep their server lists more aggressively up to date than
  25921. exits, when it was supposed to be the other way around. Bugfix
  25922. on 0.2.2.17-alpha.
  25923. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  25924. - When we're trying to guess whether we know our IP address as
  25925. a relay, we would log various ways that we failed to guess
  25926. our address, but never log that we ended up guessing it
  25927. successfully. Now add a log line to help confused and anxious
  25928. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  25929. - Bring the logic that gathers routerinfos and assesses the
  25930. acceptability of circuits into line. This prevents a Tor OP from
  25931. getting locked in a cycle of choosing its local OR as an exit for a
  25932. path (due to a .exit request) and then rejecting the circuit because
  25933. its OR is not listed yet. It also prevents Tor clients from using an
  25934. OR running in the same instance as an exit (due to a .exit request)
  25935. if the OR does not meet the same requirements expected of an OR
  25936. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  25937. - Correctly describe errors that occur when generating a TLS object.
  25938. Previously we would attribute them to a failure while generating a
  25939. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  25940. bug 1994.
  25941. - Enforce multiplicity rules when parsing annotations. Bugfix on
  25942. 0.2.0.8-alpha. Found by piebeer.
  25943. - Fix warnings that newer versions of autoconf produced during
  25944. ./autogen.sh. These warnings appear to be harmless in our case,
  25945. but they were extremely verbose. Fixes bug 2020.
  25946. o Minor bugfixes (on Tor 0.2.2.x):
  25947. - Enable protection of small arrays whenever we build with gcc
  25948. hardening features, not only when also building with warnings
  25949. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  25950. o Minor features:
  25951. - Make hidden services work better in private Tor networks by not
  25952. requiring any uptime to join the hidden service descriptor
  25953. DHT. Implements ticket 2088.
  25954. - Rate-limit the "your application is giving Tor only an IP address"
  25955. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  25956. - When AllowSingleHopExits is set, print a warning to explain to the
  25957. relay operator why most clients are avoiding her relay.
  25958. - Update to the November 1 2010 Maxmind GeoLite Country database.
  25959. o Code simplifications and refactoring:
  25960. - When we fixed bug 1038 we had to put in a restriction not to send
  25961. RELAY_EARLY cells on rend circuits. This was necessary as long
  25962. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  25963. active. Now remove this obsolete check. Resolves bug 2081.
  25964. - Some options used different conventions for uppercasing of acronyms
  25965. when comparing manpage and source. Fix those in favor of the
  25966. manpage, as it makes sense to capitalize acronyms.
  25967. - Remove the torrc.complete file. It hasn't been kept up to date
  25968. and users will have better luck checking out the manpage.
  25969. - Remove the obsolete "NoPublish" option; it has been flagged
  25970. as obsolete and has produced a warning since 0.1.1.18-rc.
  25971. - Remove everything related to building the expert bundle for OS X.
  25972. It has confused many users, doesn't work right on OS X 10.6,
  25973. and is hard to get rid of once installed. Resolves bug 1274.
  25974. Changes in version 0.2.2.17-alpha - 2010-09-30
  25975. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  25976. to use one-hop circuits (which can put the exit relays at higher risk,
  25977. plus unbalance the network); fixes a big bug in bandwidth accounting
  25978. for relays that want to limit their monthly bandwidth use; fixes a
  25979. big pile of bugs in how clients tolerate temporary network failure;
  25980. and makes our adaptive circuit build timeout feature (which improves
  25981. client performance if your network is fast while not breaking things
  25982. if your network is slow) better handle bad networks.
  25983. o Major features:
  25984. - Exit relays now try harder to block exit attempts from unknown
  25985. relays, to make it harder for people to use them as one-hop proxies
  25986. a la tortunnel. Controlled by the refuseunknownexits consensus
  25987. parameter (currently enabled), or you can override it on your
  25988. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  25989. o Major bugfixes (0.2.1.x and earlier):
  25990. - Fix a bug in bandwidth accounting that could make us use twice
  25991. the intended bandwidth when our interval start changes due to
  25992. daylight saving time. Now we tolerate skew in stored vs computed
  25993. interval starts: if the start of the period changes by no more than
  25994. 50% of the period's duration, we remember bytes that we transferred
  25995. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  25996. - Always search the Windows system directory for system DLLs, and
  25997. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  25998. - When you're using bridges and your network goes away and your
  25999. bridges get marked as down, recover when you attempt a new socks
  26000. connection (if the network is back), rather than waiting up to an
  26001. hour to try fetching new descriptors for your bridges. Bugfix on
  26002. 0.2.0.3-alpha; fixes bug 1981.
  26003. o Major bugfixes (on 0.2.2.x):
  26004. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  26005. bug 1797.
  26006. - Fix a segfault that could happen when operating a bridge relay with
  26007. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  26008. - The consensus bandwidth-weights (used by clients to choose fast
  26009. relays) entered an unexpected edge case in September where
  26010. Exits were much scarcer than Guards, resulting in bad weight
  26011. recommendations. Now we compute them using new constraints that
  26012. should succeed in all cases. Also alter directory authorities to
  26013. not include the bandwidth-weights line if they fail to produce
  26014. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  26015. - When weighting bridges during path selection, we used to trust
  26016. the bandwidths they provided in their descriptor, only capping them
  26017. at 10MB/s. This turned out to be problematic for two reasons:
  26018. Bridges could claim to handle a lot more traffic then they
  26019. actually would, thus making more clients pick them and have a
  26020. pretty effective DoS attack. The other issue is that new bridges
  26021. that might not have a good estimate for their bw capacity yet
  26022. would not get used at all unless no other bridges are available
  26023. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  26024. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  26025. - Ignore cannibalized circuits when recording circuit build times.
  26026. This should provide for a minor performance improvement for hidden
  26027. service users using 0.2.2.14-alpha, and should remove two spurious
  26028. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  26029. - Simplify the logic that causes us to decide if the network is
  26030. unavailable for purposes of recording circuit build times. If we
  26031. receive no cells whatsoever for the entire duration of a circuit's
  26032. full measured lifetime, the network is probably down. Also ignore
  26033. one-hop directory fetching circuit timeouts when calculating our
  26034. circuit build times. These changes should hopefully reduce the
  26035. cases where we see ridiculous circuit build timeouts for people
  26036. with spotty wireless connections. Fixes part of bug 1772; bugfix
  26037. on 0.2.2.2-alpha.
  26038. - Prevent the circuit build timeout from becoming larger than
  26039. the maximum build time we have ever seen. Also, prevent the time
  26040. period for measurement circuits from becoming larger than twice that
  26041. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  26042. o Minor features:
  26043. - When we run out of directory information such that we can't build
  26044. circuits, but then get enough that we can build circuits, log when
  26045. we actually construct a circuit, so the user has a better chance of
  26046. knowing what's going on. Fixes bug 1362.
  26047. - Be more generous with how much bandwidth we'd use up (with
  26048. accounting enabled) before entering "soft hibernation". Previously,
  26049. we'd refuse new connections and circuits once we'd used up 95% of
  26050. our allotment. Now, we use up 95% of our allotment, AND make sure
  26051. that we have no more than 500MB (or 3 hours of expected traffic,
  26052. whichever is lower) remaining before we enter soft hibernation.
  26053. - If we've configured EntryNodes and our network goes away and/or all
  26054. our entrynodes get marked down, optimistically retry them all when
  26055. a new socks application request appears. Fixes bug 1882.
  26056. - Add some more defensive programming for architectures that can't
  26057. handle unaligned integer accesses. We don't know of any actual bugs
  26058. right now, but that's the best time to fix them. Fixes bug 1943.
  26059. - Support line continuations in the torrc config file. If a line
  26060. ends with a single backslash character, the newline is ignored, and
  26061. the configuration value is treated as continuing on the next line.
  26062. Resolves bug 1929.
  26063. o Minor bugfixes (on 0.2.1.x and earlier):
  26064. - For bandwidth accounting, calculate our expected bandwidth rate
  26065. based on the time during which we were active and not in
  26066. soft-hibernation during the last interval. Previously, we were
  26067. also considering the time spent in soft-hibernation. If this
  26068. was a long time, we would wind up underestimating our bandwidth
  26069. by a lot, and skewing our wakeup time towards the start of the
  26070. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  26071. o Minor bugfixes (on 0.2.2.x):
  26072. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  26073. which were disabled by the circuit build timeout changes in
  26074. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  26075. - Make sure we don't warn about missing bandwidth weights when
  26076. choosing bridges or other relays not in the consensus. Bugfix on
  26077. 0.2.2.10-alpha; fixes bug 1805.
  26078. - In our logs, do not double-report signatures from unrecognized
  26079. authorities both as "from unknown authority" and "not
  26080. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  26081. Changes in version 0.2.2.16-alpha - 2010-09-17
  26082. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  26083. evident at exit relays), and also continues to resolve all the little
  26084. bugs that have been filling up trac lately.
  26085. o Major bugfixes (stream-level fairness):
  26086. - When receiving a circuit-level SENDME for a blocked circuit, try
  26087. to package cells fairly from all the streams that had previously
  26088. been blocked on that circuit. Previously, we had started with the
  26089. oldest stream, and allowed each stream to potentially exhaust
  26090. the circuit's package window. This gave older streams on any
  26091. given circuit priority over newer ones. Fixes bug 1937. Detected
  26092. originally by Camilo Viecco. This bug was introduced before the
  26093. first Tor release, in svn commit r152: it is the new winner of
  26094. the longest-lived bug prize.
  26095. - When the exit relay got a circuit-level sendme cell, it started
  26096. reading on the exit streams, even if had 500 cells queued in the
  26097. circuit queue already, so the circuit queue just grew and grew in
  26098. some cases. We fix this by not re-enabling reading on receipt of a
  26099. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  26100. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  26101. "yetonetime".
  26102. - Newly created streams were allowed to read cells onto circuits,
  26103. even if the circuit's cell queue was blocked and waiting to drain.
  26104. This created potential unfairness, as older streams would be
  26105. blocked, but newer streams would gladly fill the queue completely.
  26106. We add code to detect this situation and prevent any stream from
  26107. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  26108. fixes bug 1298.
  26109. o Minor features:
  26110. - Update to the September 1 2010 Maxmind GeoLite Country database.
  26111. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  26112. not. This would lead to a cookie that is still not group readable.
  26113. Closes bug 1843. Suggested by katmagic.
  26114. - When logging a rate-limited warning, we now mention how many messages
  26115. got suppressed since the last warning.
  26116. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  26117. do individual connection-level rate limiting of clients. The torrc
  26118. config options with the same names trump the consensus params, if
  26119. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  26120. consensus params which were broken from 0.2.2.7-alpha through
  26121. 0.2.2.14-alpha. Closes bug 1947.
  26122. - When a router changes IP address or port, authorities now launch
  26123. a new reachability test for it. Implements ticket 1899.
  26124. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  26125. 2 no signature, 4 required" messages about consensus signatures
  26126. easier to read, and make sure they get logged at the same severity
  26127. as the messages explaining which keys are which. Fixes bug 1290.
  26128. - Don't warn when we have a consensus that we can't verify because
  26129. of missing certificates, unless those certificates are ones
  26130. that we have been trying and failing to download. Fixes bug 1145.
  26131. - If you configure your bridge with a known identity fingerprint,
  26132. and the bridge authority is unreachable (as it is in at least
  26133. one country now), fall back to directly requesting the descriptor
  26134. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  26135. closes bug 1138.
  26136. - When building with --enable-gcc-warnings on OpenBSD, disable
  26137. warnings in system headers. This makes --enable-gcc-warnings
  26138. pass on OpenBSD 4.8.
  26139. o Minor bugfixes (on 0.2.1.x and earlier):
  26140. - Authorities will now attempt to download consensuses if their
  26141. own efforts to make a live consensus have failed. This change
  26142. means authorities that restart will fetch a valid consensus, and
  26143. it means authorities that didn't agree with the current consensus
  26144. will still fetch and serve it if it has enough signatures. Bugfix
  26145. on 0.2.0.9-alpha; fixes bug 1300.
  26146. - Ensure DNS requests launched by "RESOLVE" commands from the
  26147. controller respect the __LeaveStreamsUnattached setconf options. The
  26148. same goes for requests launched via DNSPort or transparent
  26149. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  26150. - Allow handshaking OR connections to take a full KeepalivePeriod
  26151. seconds to handshake. Previously, we would close them after
  26152. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  26153. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  26154. for analysis help.
  26155. - Rate-limit "Failed to hand off onionskin" warnings.
  26156. - Never relay a cell for a circuit we have already destroyed.
  26157. Between marking a circuit as closeable and finally closing it,
  26158. it may have been possible for a few queued cells to get relayed,
  26159. even though they would have been immediately dropped by the next
  26160. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  26161. - Never queue a cell for a circuit that's already been marked
  26162. for close.
  26163. - Never vote for a server as "Running" if we have a descriptor for
  26164. it claiming to be hibernating, and that descriptor was published
  26165. more recently than our last contact with the server. Bugfix on
  26166. 0.2.0.3-alpha; fixes bug 911.
  26167. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  26168. bug 1848.
  26169. o Minor bugfixes (on 0.2.2.x):
  26170. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  26171. down if a directory fetch fails and you've configured either
  26172. bridges or EntryNodes. The intent was to mark the relay as down
  26173. _unless_ you're using bridges or EntryNodes, since if you are
  26174. then you could quickly run out of entry points.
  26175. - Fix the Windows directory-listing code. A bug introduced in
  26176. 0.2.2.14-alpha could make Windows directory servers forget to load
  26177. some of their cached v2 networkstatus files.
  26178. - Really allow clients to use relays as bridges. Fixes bug 1776;
  26179. bugfix on 0.2.2.15-alpha.
  26180. - Demote a warn to info that happens when the CellStatistics option
  26181. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  26182. Reported by Moritz Bartl.
  26183. - On Windows, build correctly either with or without Unicode support.
  26184. This is necessary so that Tor can support fringe platforms like
  26185. Windows 98 (which has no Unicode), or Windows CE (which has no
  26186. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  26187. o Testing
  26188. - Add a unit test for cross-platform directory-listing code.
  26189. Changes in version 0.2.2.15-alpha - 2010-08-18
  26190. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  26191. fixes a variety of other bugs that were preventing performance
  26192. experiments from moving forward, fixes several bothersome memory leaks,
  26193. and generally closes a lot of smaller bugs that have been filling up
  26194. trac lately.
  26195. o Major bugfixes:
  26196. - Stop assigning the HSDir flag to relays that disable their
  26197. DirPort (and thus will refuse to answer directory requests). This
  26198. fix should dramatically improve the reachability of hidden services:
  26199. hidden services and hidden service clients pick six HSDir relays
  26200. to store and retrieve the hidden service descriptor, and currently
  26201. about half of the HSDir relays will refuse to work. Bugfix on
  26202. 0.2.0.10-alpha; fixes part of bug 1693.
  26203. - The PerConnBWRate and Burst config options, along with the
  26204. bwconnrate and bwconnburst consensus params, initialized each conn's
  26205. token bucket values only when the connection is established. Now we
  26206. update them if the config options change, and update them every time
  26207. we get a new consensus. Otherwise we can encounter an ugly edge
  26208. case where we initialize an OR conn to client-level bandwidth,
  26209. but then later the relay joins the consensus and we leave it
  26210. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  26211. - Fix a regression that caused Tor to rebind its ports if it receives
  26212. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  26213. o Major features:
  26214. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  26215. should give us approximately 40-50% more Guard-flagged nodes,
  26216. improving the anonymity the Tor network can provide and also
  26217. decreasing the dropoff in throughput that relays experience when
  26218. they first get the Guard flag.
  26219. - Allow enabling or disabling the *Statistics config options while
  26220. Tor is running.
  26221. o Minor features:
  26222. - Update to the August 1 2010 Maxmind GeoLite Country database.
  26223. - Have the controller interface give a more useful message than
  26224. "Internal Error" in response to failed GETINFO requests.
  26225. - Warn when the same option is provided more than once in a torrc
  26226. file, on the command line, or in a single SETCONF statement, and
  26227. the option is one that only accepts a single line. Closes bug 1384.
  26228. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  26229. Patch from mingw-san.
  26230. - Add support for the country code "{??}" in torrc options like
  26231. ExcludeNodes, to indicate all routers of unknown country. Closes
  26232. bug 1094.
  26233. - Relays report the number of bytes spent on answering directory
  26234. requests in extra-info descriptors similar to {read,write}-history.
  26235. Implements enhancement 1790.
  26236. o Minor bugfixes (on 0.2.1.x and earlier):
  26237. - Complain if PublishServerDescriptor is given multiple arguments that
  26238. include 0 or 1. This configuration will be rejected in the future.
  26239. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  26240. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  26241. Bugfix on 0.2.0.13-alpha; closes bug 928.
  26242. - Change "Application request when we're believed to be offline."
  26243. notice to "Application request when we haven't used client
  26244. functionality lately.", to clarify that it's not an error. Bugfix
  26245. on 0.0.9.3; fixes bug 1222.
  26246. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  26247. would return "551 Internal error" rather than "552 Unrecognized key
  26248. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  26249. - Users can't configure a regular relay to be their bridge. It didn't
  26250. work because when Tor fetched the bridge descriptor, it found
  26251. that it already had it, and didn't realize that the purpose of the
  26252. descriptor had changed. Now we replace routers with a purpose other
  26253. than bridge with bridge descriptors when fetching them. Bugfix on
  26254. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  26255. refetch the descriptor with router purpose 'general', disabling
  26256. it as a bridge.
  26257. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  26258. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  26259. on 0.2.0.10-alpha; fixes bug 1808.
  26260. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  26261. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  26262. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  26263. Servers can start sending this code when enough clients recognize
  26264. it. Also update the spec to reflect this new reason. Bugfix on
  26265. 0.1.0.1-rc; fixes part of bug 1793.
  26266. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  26267. when we switch from being a public relay to a bridge. Otherwise
  26268. there will still be clients that see the relay in their consensus,
  26269. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  26270. 932 even more.
  26271. - Instead of giving an assertion failure on an internal mismatch
  26272. on estimated freelist size, just log a BUG warning and try later.
  26273. Mitigates but does not fix bug 1125.
  26274. - Fix an assertion failure that could occur in caches or bridge users
  26275. when using a very short voting interval on a testing network.
  26276. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  26277. o Minor bugfixes (on 0.2.2.x):
  26278. - Alter directory authorities to always consider Exit-flagged nodes
  26279. as potential Guard nodes in their votes. The actual decision to
  26280. use Exits as Guards is done in the consensus bandwidth weights.
  26281. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  26282. - When the controller is reporting the purpose of circuits that
  26283. didn't finish building before the circuit build timeout, it was
  26284. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  26285. - Our libevent version parsing code couldn't handle versions like
  26286. 1.4.14b-stable and incorrectly warned the user about using an
  26287. old and broken version of libevent. Treat 1.4.14b-stable like
  26288. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  26289. on 0.2.2.1-alpha.
  26290. - Don't use substitution references like $(VAR:MOD) when
  26291. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  26292. '$(:x)' to 'x' rather than the empty string. This bites us in
  26293. doc/ when configured with --disable-asciidoc. Bugfix on
  26294. 0.2.2.9-alpha; fixes bug 1773.
  26295. - Remove a spurious hidden service server-side log notice about
  26296. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  26297. bug 1741.
  26298. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  26299. fixes bug 1832.
  26300. - Correctly report written bytes on linked connections. Found while
  26301. implementing 1790. Bugfix on 0.2.2.4-alpha.
  26302. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  26303. one in dirvote_add_signatures_to_pending_consensus(), and one every
  26304. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  26305. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  26306. o Code simplifications and refactoring:
  26307. - Take a first step towards making or.h smaller by splitting out
  26308. function definitions for all source files in src/or/. Leave
  26309. structures and defines in or.h for now.
  26310. - Remove a bunch of unused function declarations as well as a block of
  26311. #if 0'd code from the unit tests. Closes bug 1824.
  26312. - New unit tests for exit-port history statistics; refactored exit
  26313. statistics code to be more easily tested.
  26314. - Remove the old debian/ directory from the main Tor distribution.
  26315. The official Tor-for-debian git repository lives at the URL
  26316. https://git.torproject.org/debian/tor.git
  26317. Changes in version 0.2.2.14-alpha - 2010-07-12
  26318. Tor 0.2.2.14-alpha greatly improves client-side handling of
  26319. circuit build timeouts, which are used to estimate speed and improve
  26320. performance. We also move to a much better GeoIP database, port Tor to
  26321. Windows CE, introduce new compile flags that improve code security,
  26322. add an eighth v3 directory authority, and address a lot of more
  26323. minor issues.
  26324. o Major bugfixes:
  26325. - Tor directory authorities no longer crash when started with a
  26326. cached-microdesc-consensus file in their data directory. Bugfix
  26327. on 0.2.2.6-alpha; fixes bug 1532.
  26328. - Treat an unset $HOME like an empty $HOME rather than triggering an
  26329. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  26330. - Ignore negative and large circuit build timeout values that can
  26331. happen during a suspend or hibernate. These values caused various
  26332. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  26333. - Alter calculation of Pareto distribution parameter 'Xm' for
  26334. Circuit Build Timeout learning to use the weighted average of the
  26335. top N=3 modes (because we have three entry guards). Considering
  26336. multiple modes should improve the timeout calculation in some cases,
  26337. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  26338. fixes bug 1335.
  26339. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  26340. right censored distribution model. This approach improves over the
  26341. synthetic timeout generation approach that was producing insanely
  26342. high timeout values. Now we calculate build timeouts using truncated
  26343. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  26344. - Do not close circuits that are under construction when they reach
  26345. the circuit build timeout. Instead, leave them building (but do not
  26346. use them) for up until the time corresponding to the 95th percentile
  26347. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  26348. to provide better data for the new Pareto model. This percentile
  26349. can be controlled by the consensus.
  26350. o Major features:
  26351. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  26352. June 2009 ip-to-country GeoIP db) for our statistics that count
  26353. how many users relays are seeing from each country. Now we have
  26354. more accurate data for many African countries.
  26355. - Port Tor to build and run correctly on Windows CE systems, using
  26356. the wcecompat library. Contributed by Valerio Lupi.
  26357. - New "--enable-gcc-hardening" ./configure flag (off by default)
  26358. to turn on gcc compile time hardening options. It ensures
  26359. that signed ints have defined behavior (-fwrapv), enables
  26360. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  26361. with canaries (-fstack-protector-all), turns on ASLR protection if
  26362. supported by the kernel (-fPIE, -pie), and adds additional security
  26363. related warnings. Verified to work on Mac OS X and Debian Lenny.
  26364. - New "--enable-linker-hardening" ./configure flag (off by default)
  26365. to turn on ELF specific hardening features (relro, now). This does
  26366. not work with Mac OS X or any other non-ELF binary format.
  26367. o New directory authorities:
  26368. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  26369. authority.
  26370. o Minor features:
  26371. - New config option "WarnUnsafeSocks 0" disables the warning that
  26372. occurs whenever Tor receives a socks handshake using a version of
  26373. the socks protocol that can only provide an IP address (rather
  26374. than a hostname). Setups that do DNS locally over Tor are fine,
  26375. and we shouldn't spam the logs in that case.
  26376. - Convert the HACKING file to asciidoc, and add a few new sections
  26377. to it, explaining how we use Git, how we make changelogs, and
  26378. what should go in a patch.
  26379. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  26380. event, to give information on the current rate of circuit timeouts
  26381. over our stored history.
  26382. - Add ability to disable circuit build time learning via consensus
  26383. parameter and via a LearnCircuitBuildTimeout config option. Also
  26384. automatically disable circuit build time calculation if we are
  26385. either a AuthoritativeDirectory, or if we fail to write our state
  26386. file. Fixes bug 1296.
  26387. - More gracefully handle corrupt state files, removing asserts
  26388. in favor of saving a backup and resetting state.
  26389. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  26390. system headers.
  26391. o Minor bugfixes:
  26392. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  26393. enabled.
  26394. - When a2x fails, mention that the user could disable manpages instead
  26395. of trying to fix their asciidoc installation.
  26396. - Where available, use Libevent 2.0's periodic timers so that our
  26397. once-per-second cleanup code gets called even more closely to
  26398. once per second than it would otherwise. Fixes bug 943.
  26399. - If you run a bridge that listens on multiple IP addresses, and
  26400. some user configures a bridge address that uses a different IP
  26401. address than your bridge writes in its router descriptor, and the
  26402. user doesn't specify an identity key, their Tor would discard the
  26403. descriptor because "it isn't one of our configured bridges", and
  26404. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  26405. Bugfix on 0.2.0.3-alpha.
  26406. - If OpenSSL fails to make a duplicate of a private or public key, log
  26407. an error message and try to exit cleanly. May help with debugging
  26408. if bug 1209 ever remanifests.
  26409. - Save a couple bytes in memory allocation every time we escape
  26410. certain characters in a string. Patch from Florian Zumbiehl.
  26411. - Make it explicit that we don't cannibalize one-hop circuits. This
  26412. happens in the wild, but doesn't turn out to be a problem because
  26413. we fortunately don't use those circuits. Many thanks to outofwords
  26414. for the initial analysis and to swissknife who confirmed that
  26415. two-hop circuits are actually created.
  26416. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  26417. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  26418. - Eliminate a case where a circuit build time warning was displayed
  26419. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  26420. Changes in version 0.2.1.26 - 2010-05-02
  26421. Tor 0.2.1.26 addresses the recent connection and memory overload
  26422. problems we've been seeing on relays, especially relays with their
  26423. DirPort open. If your relay has been crashing, or you turned it off
  26424. because it used too many resources, give this release a try.
  26425. This release also fixes yet another instance of broken OpenSSL libraries
  26426. that was causing some relays to drop out of the consensus.
  26427. o Major bugfixes:
  26428. - Teach relays to defend themselves from connection overload. Relays
  26429. now close idle circuits early if it looks like they were intended
  26430. for directory fetches. Relays are also more aggressive about closing
  26431. TLS connections that have no circuits on them. Such circuits are
  26432. unlikely to be re-used, and tens of thousands of them were piling
  26433. up at the fast relays, causing the relays to run out of sockets
  26434. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  26435. their directory fetches over TLS).
  26436. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  26437. that claim to be earlier than 0.9.8m, but which have in reality
  26438. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  26439. behavior. Possible fix for some cases of bug 1346.
  26440. - Directory mirrors were fetching relay descriptors only from v2
  26441. directory authorities, rather than v3 authorities like they should.
  26442. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  26443. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  26444. o Minor bugfixes:
  26445. - Finally get rid of the deprecated and now harmful notion of "clique
  26446. mode", where directory authorities maintain TLS connections to
  26447. every other relay.
  26448. o Testsuite fixes:
  26449. - In the util/threads test, no longer free the test_mutex before all
  26450. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  26451. - The master thread could starve the worker threads quite badly on
  26452. certain systems, causing them to run only partially in the allowed
  26453. window. This resulted in test failures. Now the master thread sleeps
  26454. occasionally for a few microseconds while the two worker-threads
  26455. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  26456. Changes in version 0.2.2.13-alpha - 2010-04-24
  26457. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  26458. problems we've been seeing on relays, especially relays with their
  26459. DirPort open. If your relay has been crashing, or you turned it off
  26460. because it used too many resources, give this release a try.
  26461. o Major bugfixes:
  26462. - Teach relays to defend themselves from connection overload. Relays
  26463. now close idle circuits early if it looks like they were intended
  26464. for directory fetches. Relays are also more aggressive about closing
  26465. TLS connections that have no circuits on them. Such circuits are
  26466. unlikely to be re-used, and tens of thousands of them were piling
  26467. up at the fast relays, causing the relays to run out of sockets
  26468. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  26469. their directory fetches over TLS).
  26470. o Minor features:
  26471. - Finally get rid of the deprecated and now harmful notion of "clique
  26472. mode", where directory authorities maintain TLS connections to
  26473. every other relay.
  26474. - Directory authorities now do an immediate reachability check as soon
  26475. as they hear about a new relay. This change should slightly reduce
  26476. the time between setting up a relay and getting listed as running
  26477. in the consensus. It should also improve the time between setting
  26478. up a bridge and seeing use by bridge users.
  26479. - Directory authorities no longer launch a TLS connection to every
  26480. relay as they startup. Now that we have 2k+ descriptors cached,
  26481. the resulting network hiccup is becoming a burden. Besides,
  26482. authorities already avoid voting about Running for the first half
  26483. hour of their uptime.
  26484. Changes in version 0.2.2.12-alpha - 2010-04-20
  26485. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  26486. handle and vote on descriptors. It was causing relays to drop out of
  26487. the consensus.
  26488. o Major bugfixes:
  26489. - Many relays have been falling out of the consensus lately because
  26490. not enough authorities know about their descriptor for them to get
  26491. a majority of votes. When we deprecated the v2 directory protocol,
  26492. we got rid of the only way that v3 authorities can hear from each
  26493. other about other descriptors. Now authorities examine every v3
  26494. vote for new descriptors, and fetch them from that authority. Bugfix
  26495. on 0.2.1.23.
  26496. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  26497. and a warning in or.h related to bandwidth_weight_rule_t that
  26498. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  26499. 0.2.2.11-alpha.
  26500. - Fix a segfault on relays when DirReqStatistics is enabled
  26501. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  26502. 0.2.2.11-alpha.
  26503. o Minor bugfixes:
  26504. - Demote a confusing TLS warning that relay operators might get when
  26505. someone tries to talk to their OrPort. It is neither the operator's
  26506. fault nor can they do anything about it. Fixes bug 1364; bugfix
  26507. on 0.2.0.14-alpha.
  26508. Changes in version 0.2.2.11-alpha - 2010-04-15
  26509. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  26510. libraries that was causing some relays to drop out of the consensus.
  26511. o Major bugfixes:
  26512. - Directory mirrors were fetching relay descriptors only from v2
  26513. directory authorities, rather than v3 authorities like they should.
  26514. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  26515. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  26516. - Fix a parsing error that made every possible value of
  26517. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  26518. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  26519. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  26520. about the option without breaking older ones.
  26521. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  26522. that claim to be earlier than 0.9.8m, but which have in reality
  26523. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  26524. behavior. Possible fix for some cases of bug 1346.
  26525. o Minor features:
  26526. - Experiment with a more aggressive approach to preventing clients
  26527. from making one-hop exit streams. Exit relays who want to try it
  26528. out can set "RefuseUnknownExits 1" in their torrc, and then look
  26529. for "Attempt by %s to open a stream" log messages. Let us know
  26530. how it goes!
  26531. - Add support for statically linking zlib by specifying
  26532. --enable-static-zlib, to go with our support for statically linking
  26533. openssl and libevent. Resolves bug 1358.
  26534. o Minor bugfixes:
  26535. - Fix a segfault that happens whenever a Tor client that is using
  26536. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  26537. fixes bug 1341.
  26538. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  26539. out the first line. Fixes bug 1295.
  26540. - When building the manpage from a tarball, we required asciidoc, but
  26541. the asciidoc -> roff/html conversion was already done for the
  26542. tarball. Make 'make' complain only when we need asciidoc (either
  26543. because we're compiling directly from git, or because we altered
  26544. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  26545. - When none of the directory authorities vote on any params, Tor
  26546. segfaulted when trying to make the consensus from the votes. We
  26547. didn't trigger the bug in practice, because authorities do include
  26548. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  26549. o Testsuite fixes:
  26550. - In the util/threads test, no longer free the test_mutex before all
  26551. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  26552. - The master thread could starve the worker threads quite badly on
  26553. certain systems, causing them to run only partially in the allowed
  26554. window. This resulted in test failures. Now the master thread sleeps
  26555. occasionally for a few microseconds while the two worker-threads
  26556. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  26557. Changes in version 0.2.2.10-alpha - 2010-03-07
  26558. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  26559. could prevent relays from guessing their IP address correctly. It also
  26560. starts the groundwork for another client-side performance boost, since
  26561. currently we're not making efficient use of relays that have both the
  26562. Guard flag and the Exit flag.
  26563. o Major bugfixes:
  26564. - Fix a regression from our patch for bug 1244 that caused relays
  26565. to guess their IP address incorrectly if they didn't set Address
  26566. in their torrc and/or their address fails to resolve. Bugfix on
  26567. 0.2.2.9-alpha; fixes bug 1269.
  26568. o Major features (performance):
  26569. - Directory authorities now compute consensus weightings that instruct
  26570. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  26571. and no flag. Clients that use these weightings will distribute
  26572. network load more evenly across these different relay types. The
  26573. weightings are in the consensus so we can change them globally in
  26574. the future. Extra thanks to "outofwords" for finding some nasty
  26575. security bugs in the first implementation of this feature.
  26576. o Minor features (performance):
  26577. - Always perform router selections using weighted relay bandwidth,
  26578. even if we don't need a high capacity circuit at the time. Non-fast
  26579. circuits now only differ from fast ones in that they can use relays
  26580. not marked with the Fast flag. This "feature" could turn out to
  26581. be a horrible bug; we should investigate more before it goes into
  26582. a stable release.
  26583. o Minor features:
  26584. - Allow disabling building of the manpages. Skipping the manpage
  26585. speeds up the build considerably.
  26586. o Minor bugfixes (on 0.2.2.x):
  26587. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  26588. Bugfix on 0.2.2.9-alpha.
  26589. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  26590. config option. Bugfix on 0.2.2.7-alpha.
  26591. - Ship the asciidoc-helper file in the tarball, so that people can
  26592. build from source if they want to, and touching the .1.txt files
  26593. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  26594. o Minor bugfixes (on 0.2.1.x or earlier):
  26595. - Fix a dereference-then-NULL-check sequence when publishing
  26596. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  26597. bug 1255.
  26598. - Fix another dereference-then-NULL-check sequence. Bugfix on
  26599. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  26600. - Make sure we treat potentially not NUL-terminated strings correctly.
  26601. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  26602. o Code simplifications and refactoring:
  26603. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  26604. compliant. Based on a patch from Christian Kujau.
  26605. - Don't use sed in asciidoc-helper anymore.
  26606. - Make the build process fail if asciidoc cannot be found and
  26607. building with asciidoc isn't disabled.
  26608. Changes in version 0.2.2.9-alpha - 2010-02-22
  26609. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  26610. location of a directory authority, and cleans up a bunch of small bugs.
  26611. o Directory authority changes:
  26612. - Change IP address for dannenberg (v3 directory authority), and
  26613. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  26614. service directory authority) from the list.
  26615. o Major bugfixes:
  26616. - Make Tor work again on the latest OS X: when deciding whether to
  26617. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  26618. version at run-time, not compile time. We need to do this because
  26619. Apple doesn't update its dev-tools headers when it updates its
  26620. libraries in a security patch.
  26621. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  26622. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  26623. a memory leak when requesting a hidden service descriptor we've
  26624. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  26625. by aakova.
  26626. - Authorities could be tricked into giving out the Exit flag to relays
  26627. that didn't allow exiting to any ports. This bug could screw
  26628. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  26629. 1238. Bug discovered by Martin Kowalczyk.
  26630. - When freeing a session key, zero it out completely. We only zeroed
  26631. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  26632. patched by ekir. Fixes bug 1254.
  26633. o Minor bugfixes:
  26634. - Fix static compilation by listing the openssl libraries in the right
  26635. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  26636. - Resume handling .exit hostnames in a special way: originally we
  26637. stripped the .exit part and used the requested exit relay. In
  26638. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  26639. if you use a .exit address then Tor will pass it on to the exit
  26640. relay. Now we reject the .exit stream outright, since that behavior
  26641. might be more expected by the user. Found and diagnosed by Scott
  26642. Bennett and Downie on or-talk.
  26643. - Don't spam the controller with events when we have no file
  26644. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  26645. for log messages was already solved from bug 748.)
  26646. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  26647. "memcpyfail".
  26648. - Make the DNSPort option work with libevent 2.x. Don't alter the
  26649. behavior for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  26650. - Emit a GUARD DROPPED controller event for a case we missed.
  26651. - Make more fields in the controller protocol case-insensitive, since
  26652. control-spec.txt said they were.
  26653. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  26654. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  26655. - Fix a spec conformance issue: the network-status-version token
  26656. must be the first token in a v3 consensus or vote. Discovered by
  26657. parakeep. Bugfix on 0.2.0.3-alpha.
  26658. o Code simplifications and refactoring:
  26659. - Generate our manpage and HTML documentation using Asciidoc. This
  26660. change should make it easier to maintain the documentation, and
  26661. produce nicer HTML.
  26662. - Remove the --enable-iphone option. According to reports from Marco
  26663. Bonetti, Tor builds fine without any special tweaking on recent
  26664. iPhone SDK versions.
  26665. - Removed some unnecessary files from the source distribution. The
  26666. AUTHORS file has now been merged into the people page on the
  26667. website. The roadmaps and design doc can now be found in the
  26668. projects directory in svn.
  26669. - Enabled various circuit build timeout constants to be controlled
  26670. by consensus parameters. Also set better defaults for these
  26671. parameters based on experimentation on broadband and simulated
  26672. high latency links.
  26673. o Minor features:
  26674. - The 'EXTENDCIRCUIT' control port command can now be used with
  26675. a circ id of 0 and no path. This feature will cause Tor to build
  26676. a new 'fast' general purpose circuit using its own path selection
  26677. algorithms.
  26678. - Added a BUILDTIMEOUT_SET controller event to describe changes
  26679. to the circuit build timeout.
  26680. - Future-proof the controller protocol a bit by ignoring keyword
  26681. arguments we do not recognize.
  26682. - Expand homedirs passed to tor-checkkey. This should silence a
  26683. coverity complaint about passing a user-supplied string into
  26684. open() without checking it.
  26685. Changes in version 0.2.1.25 - 2010-03-16
  26686. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  26687. prevent relays from guessing their IP address correctly. It also fixes
  26688. several minor potential security bugs.
  26689. o Major bugfixes:
  26690. - Fix a regression from our patch for bug 1244 that caused relays
  26691. to guess their IP address incorrectly if they didn't set Address
  26692. in their torrc and/or their address fails to resolve. Bugfix on
  26693. 0.2.1.23; fixes bug 1269.
  26694. - When freeing a session key, zero it out completely. We only zeroed
  26695. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  26696. patched by ekir. Fixes bug 1254.
  26697. o Minor bugfixes:
  26698. - Fix a dereference-then-NULL-check sequence when publishing
  26699. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  26700. bug 1255.
  26701. - Fix another dereference-then-NULL-check sequence. Bugfix on
  26702. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  26703. - Make sure we treat potentially not NUL-terminated strings correctly.
  26704. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  26705. Changes in version 0.2.1.24 - 2010-02-21
  26706. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  26707. for sure!
  26708. o Minor bugfixes:
  26709. - Work correctly out-of-the-box with even more vendor-patched versions
  26710. of OpenSSL. In particular, make it so Debian and OS X don't need
  26711. customized patches to run/build.
  26712. Changes in version 0.2.1.23 - 2010-02-13
  26713. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  26714. again on the latest OS X, and updates the location of a directory
  26715. authority.
  26716. o Major bugfixes (performance):
  26717. - We were selecting our guards uniformly at random, and then weighting
  26718. which of our guards we'd use uniformly at random. This imbalance
  26719. meant that Tor clients were severely limited on throughput (and
  26720. probably latency too) by the first hop in their circuit. Now we
  26721. select guards weighted by currently advertised bandwidth. We also
  26722. automatically discard guards picked using the old algorithm. Fixes
  26723. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  26724. o Major bugfixes:
  26725. - Make Tor work again on the latest OS X: when deciding whether to
  26726. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  26727. version at run-time, not compile time. We need to do this because
  26728. Apple doesn't update its dev-tools headers when it updates its
  26729. libraries in a security patch.
  26730. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  26731. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  26732. a memory leak when requesting a hidden service descriptor we've
  26733. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  26734. by aakova.
  26735. o Directory authority changes:
  26736. - Change IP address for dannenberg (v3 directory authority), and
  26737. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  26738. service directory authority) from the list.
  26739. o Minor bugfixes:
  26740. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  26741. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  26742. o Minor features:
  26743. - Avoid a mad rush at the beginning of each month when each client
  26744. rotates half of its guards. Instead we spread the rotation out
  26745. throughout the month, but we still avoid leaving a precise timestamp
  26746. in the state file about when we first picked the guard. Improves
  26747. over the behavior introduced in 0.1.2.17.
  26748. Changes in version 0.2.2.8-alpha - 2010-01-26
  26749. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  26750. causing bridge relays to disappear. If you're running a bridge,
  26751. please upgrade.
  26752. o Major bugfixes:
  26753. - Fix a memory corruption bug on bridges that occurred during the
  26754. inclusion of stats data in extra-info descriptors. Also fix the
  26755. interface for geoip_get_bridge_stats* to prevent similar bugs in
  26756. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  26757. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  26758. o Minor bugfixes:
  26759. - Ignore OutboundBindAddress when connecting to localhost.
  26760. Connections to localhost need to come _from_ localhost, or else
  26761. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  26762. refuse to listen.
  26763. Changes in version 0.2.2.7-alpha - 2010-01-19
  26764. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  26765. as laying the groundwork for further relay-side performance fixes. It
  26766. also starts cleaning up client behavior with respect to the EntryNodes,
  26767. ExitNodes, and StrictNodes config options.
  26768. This release also rotates two directory authority keys, due to a
  26769. security breach of some of the Torproject servers.
  26770. o Directory authority changes:
  26771. - Rotate keys (both v3 identity and relay identity) for moria1
  26772. and gabelmoo.
  26773. o Major features (performance):
  26774. - We were selecting our guards uniformly at random, and then weighting
  26775. which of our guards we'd use uniformly at random. This imbalance
  26776. meant that Tor clients were severely limited on throughput (and
  26777. probably latency too) by the first hop in their circuit. Now we
  26778. select guards weighted by currently advertised bandwidth. We also
  26779. automatically discard guards picked using the old algorithm. Fixes
  26780. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  26781. - When choosing which cells to relay first, relays can now favor
  26782. circuits that have been quiet recently, to provide lower latency
  26783. for low-volume circuits. By default, relays enable or disable this
  26784. feature based on a setting in the consensus. You can override
  26785. this default by using the new "CircuitPriorityHalflife" config
  26786. option. Design and code by Ian Goldberg, Can Tang, and Chris
  26787. Alexander.
  26788. - Add separate per-conn write limiting to go with the per-conn read
  26789. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  26790. but never per-conn write limits.
  26791. - New consensus params "bwconnrate" and "bwconnburst" to let us
  26792. rate-limit client connections as they enter the network. It's
  26793. controlled in the consensus so we can turn it on and off for
  26794. experiments. It's starting out off. Based on proposal 163.
  26795. o Major features (relay selection options):
  26796. - Switch to a StrictNodes config option, rather than the previous
  26797. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  26798. "StrictExcludeNodes" option.
  26799. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  26800. change during a config reload, mark and discard all our origin
  26801. circuits. This fix should address edge cases where we change the
  26802. config options and but then choose a circuit that we created before
  26803. the change.
  26804. - If EntryNodes or ExitNodes are set, be more willing to use an
  26805. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  26806. they get it.
  26807. - Make EntryNodes config option much more aggressive even when
  26808. StrictNodes is not set. Before it would prepend your requested
  26809. entrynodes to your list of guard nodes, but feel free to use others
  26810. after that. Now it chooses only from your EntryNodes if any of
  26811. those are available, and only falls back to others if a) they're
  26812. all down and b) StrictNodes is not set.
  26813. - Now we refresh your entry guards from EntryNodes at each consensus
  26814. fetch -- rather than just at startup and then they slowly rot as
  26815. the network changes.
  26816. o Major bugfixes:
  26817. - Stop bridge directory authorities from answering dbg-stability.txt
  26818. directory queries, which would let people fetch a list of all
  26819. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  26820. o Minor features:
  26821. - Log a notice when we get a new control connection. Now it's easier
  26822. for security-conscious users to recognize when a local application
  26823. is knocking on their controller door. Suggested by bug 1196.
  26824. - New config option "CircuitStreamTimeout" to override our internal
  26825. timeout schedule for how many seconds until we detach a stream from
  26826. a circuit and try a new circuit. If your network is particularly
  26827. slow, you might want to set this to a number like 60.
  26828. - New controller command "getinfo config-text". It returns the
  26829. contents that Tor would write if you send it a SAVECONF command,
  26830. so the controller can write the file to disk itself.
  26831. - New options for SafeLogging to allow scrubbing only log messages
  26832. generated while acting as a relay.
  26833. - Ship the bridges spec file in the tarball too.
  26834. - Avoid a mad rush at the beginning of each month when each client
  26835. rotates half of its guards. Instead we spread the rotation out
  26836. throughout the month, but we still avoid leaving a precise timestamp
  26837. in the state file about when we first picked the guard. Improves
  26838. over the behavior introduced in 0.1.2.17.
  26839. o Minor bugfixes (compiling):
  26840. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  26841. hides it. Bugfix on 0.2.2.6-alpha.
  26842. - Fix compilation on Solaris by removing support for the
  26843. DisableAllSwap config option. Solaris doesn't have an rlimit for
  26844. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  26845. 0.2.2.6-alpha.
  26846. o Minor bugfixes (crashes):
  26847. - Do not segfault when writing buffer stats when we haven't observed
  26848. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  26849. 0.2.2.1-alpha.
  26850. - If we're in the pathological case where there's no exit bandwidth
  26851. but there is non-exit bandwidth, or no guard bandwidth but there
  26852. is non-guard bandwidth, don't crash during path selection. Bugfix
  26853. on 0.2.0.3-alpha.
  26854. - Fix an impossible-to-actually-trigger buffer overflow in relay
  26855. descriptor generation. Bugfix on 0.1.0.15.
  26856. o Minor bugfixes (privacy):
  26857. - Fix an instance where a Tor directory mirror might accidentally
  26858. log the IP address of a misbehaving Tor client. Bugfix on
  26859. 0.1.0.1-rc.
  26860. - Don't list Windows capabilities in relay descriptors. We never made
  26861. use of them, and maybe it's a bad idea to publish them. Bugfix
  26862. on 0.1.1.8-alpha.
  26863. o Minor bugfixes (other):
  26864. - Resolve an edge case in path weighting that could make us misweight
  26865. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  26866. - Fix statistics on client numbers by country as seen by bridges that
  26867. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  26868. intervals instead of variable 12-to-48-hour intervals.
  26869. - After we free an internal connection structure, overwrite it
  26870. with a different memory value than we use for overwriting a freed
  26871. internal circuit structure. Should help with debugging. Suggested
  26872. by bug 1055.
  26873. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  26874. too.
  26875. o Removed features:
  26876. - Remove the HSAuthorityRecordStats option that version 0 hidden
  26877. service authorities could have used to track statistics of overall
  26878. hidden service usage.
  26879. Changes in version 0.2.1.22 - 2010-01-19
  26880. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  26881. authorities -- it would tell you its whole history of bridge descriptors
  26882. if you make the right directory request. This stable update also
  26883. rotates two of the seven v3 directory authority keys and locations.
  26884. o Directory authority changes:
  26885. - Rotate keys (both v3 identity and relay identity) for moria1
  26886. and gabelmoo.
  26887. o Major bugfixes:
  26888. - Stop bridge directory authorities from answering dbg-stability.txt
  26889. directory queries, which would let people fetch a list of all
  26890. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  26891. Changes in version 0.2.1.21 - 2009-12-21
  26892. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  26893. library. If you use Tor on Linux / Unix and you're getting SSL
  26894. renegotiation errors, upgrading should help. We also recommend an
  26895. upgrade if you're an exit relay.
  26896. o Major bugfixes:
  26897. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  26898. handshake from working unless we explicitly tell OpenSSL that we
  26899. are using SSL renegotiation safely. We are, of course, but OpenSSL
  26900. 0.9.8l won't work unless we say we are.
  26901. - Avoid crashing if the client is trying to upload many bytes and the
  26902. circuit gets torn down at the same time, or if the flip side
  26903. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  26904. o Minor bugfixes:
  26905. - Do not refuse to learn about authority certs and v2 networkstatus
  26906. documents that are older than the latest consensus. This bug might
  26907. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  26908. Spotted and fixed by xmux.
  26909. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  26910. trigger platform-specific option misparsing case found by Coverity
  26911. Scan.
  26912. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  26913. trigger assert. Fixes bug 1173.
  26914. Changes in version 0.2.2.6-alpha - 2009-11-19
  26915. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  26916. support for the new lower-footprint "microdescriptor" directory design,
  26917. future-proofing our consensus format against new hash functions or
  26918. other changes, and an Android port. It also makes Tor compatible with
  26919. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  26920. o Major features:
  26921. - Directory authorities can now create, vote on, and serve multiple
  26922. parallel formats of directory data as part of their voting process.
  26923. Partially implements Proposal 162: "Publish the consensus in
  26924. multiple flavors".
  26925. - Directory authorities can now agree on and publish small summaries
  26926. of router information that clients can use in place of regular
  26927. server descriptors. This transition will eventually allow clients
  26928. to use far less bandwidth for downloading information about the
  26929. network. Begins the implementation of Proposal 158: "Clients
  26930. download consensus + microdescriptors".
  26931. - The directory voting system is now extensible to use multiple hash
  26932. algorithms for signatures and resource selection. Newer formats
  26933. are signed with SHA256, with a possibility for moving to a better
  26934. hash algorithm in the future.
  26935. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  26936. current and future memory pages via mlockall(). On supported
  26937. platforms (modern Linux and probably BSD but not Windows or OS X),
  26938. this should effectively disable any and all attempts to page out
  26939. memory. This option requires that you start your Tor as root --
  26940. if you use DisableAllSwap, please consider using the User option
  26941. to properly reduce the privileges of your Tor.
  26942. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  26943. to help Tor build correctly for Android phones.
  26944. o Major bugfixes:
  26945. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  26946. handshake from working unless we explicitly tell OpenSSL that we
  26947. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  26948. won't work unless we say we are.
  26949. o Minor bugfixes:
  26950. - Fix a crash bug when trying to initialize the evdns module in
  26951. Libevent 2. Bugfix on 0.2.1.16-rc.
  26952. - Stop logging at severity 'warn' when some other Tor client tries
  26953. to establish a circuit with us using weak DH keys. It's a protocol
  26954. violation, but that doesn't mean ordinary users need to hear about
  26955. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  26956. - Do not refuse to learn about authority certs and v2 networkstatus
  26957. documents that are older than the latest consensus. This bug might
  26958. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  26959. Spotted and fixed by xmux.
  26960. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  26961. - If all authorities restart at once right before a consensus vote,
  26962. nobody will vote about "Running", and clients will get a consensus
  26963. with no usable relays. Instead, authorities refuse to build a
  26964. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  26965. - If your relay can't keep up with the number of incoming create
  26966. cells, it would log one warning per failure into your logs. Limit
  26967. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  26968. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  26969. on 0.2.0.3-alpha; fixes bug 1113.
  26970. - Fix a memory leak on directory authorities during voting that was
  26971. introduced in 0.2.2.1-alpha. Found via valgrind.
  26972. Changes in version 0.2.1.20 - 2009-10-15
  26973. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  26974. services at once, prepares for more performance improvements, and
  26975. fixes a bunch of smaller bugs.
  26976. The Windows and OS X bundles also include a more recent Vidalia,
  26977. and switch from Privoxy to Polipo.
  26978. The OS X installers are now drag and drop. It's best to un-install
  26979. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  26980. you want to upgrade, you'll need to update the paths for Tor and Polipo
  26981. in the Vidalia Settings window.
  26982. o Major bugfixes:
  26983. - Send circuit or stream sendme cells when our window has decreased
  26984. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  26985. by Karsten when testing the "reduce circuit window" performance
  26986. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  26987. before the release of Tor 0.0.0. This is the new winner of the
  26988. oldest-bug prize.
  26989. - Fix a remotely triggerable memory leak when a consensus document
  26990. contains more than one signature from the same voter. Bugfix on
  26991. 0.2.0.3-alpha.
  26992. - Avoid segfault in rare cases when finishing an introduction circuit
  26993. as a client and finding out that we don't have an introduction key
  26994. for it. Fixes bug 1073. Reported by Aaron Swartz.
  26995. o Major features:
  26996. - Tor now reads the "circwindow" parameter out of the consensus,
  26997. and uses that value for its circuit package window rather than the
  26998. default of 1000 cells. Begins the implementation of proposal 168.
  26999. o New directory authorities:
  27000. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  27001. authority.
  27002. - Move moria1 and tonga to alternate IP addresses.
  27003. o Minor bugfixes:
  27004. - Fix a signed/unsigned compile warning in 0.2.1.19.
  27005. - Fix possible segmentation fault on directory authorities. Bugfix on
  27006. 0.2.1.14-rc.
  27007. - Fix an extremely rare infinite recursion bug that could occur if
  27008. we tried to log a message after shutting down the log subsystem.
  27009. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  27010. - Fix an obscure bug where hidden services on 64-bit big-endian
  27011. systems might mis-read the timestamp in v3 introduce cells, and
  27012. refuse to connect back to the client. Discovered by "rotor".
  27013. Bugfix on 0.2.1.6-alpha.
  27014. - We were triggering a CLOCK_SKEW controller status event whenever
  27015. we connect via the v2 connection protocol to any relay that has
  27016. a wrong clock. Instead, we should only inform the controller when
  27017. it's a trusted authority that claims our clock is wrong. Bugfix
  27018. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  27019. - We were telling the controller about CHECKING_REACHABILITY and
  27020. REACHABILITY_FAILED status events whenever we launch a testing
  27021. circuit or notice that one has failed. Instead, only tell the
  27022. controller when we want to inform the user of overall success or
  27023. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  27024. by SwissTorExit.
  27025. - Don't warn when we're using a circuit that ends with a node
  27026. excluded in ExcludeExitNodes, but the circuit is not used to access
  27027. the outside world. This should help fix bug 1090. Bugfix on
  27028. 0.2.1.6-alpha.
  27029. - Work around a small memory leak in some versions of OpenSSL that
  27030. stopped the memory used by the hostname TLS extension from being
  27031. freed.
  27032. o Minor features:
  27033. - Add a "getinfo status/accepted-server-descriptor" controller
  27034. command, which is the recommended way for controllers to learn
  27035. whether our server descriptor has been successfully received by at
  27036. least on directory authority. Un-recommend good-server-descriptor
  27037. getinfo and status events until we have a better design for them.
  27038. Changes in version 0.2.2.5-alpha - 2009-10-11
  27039. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  27040. o Major bugfixes:
  27041. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  27042. o Directory authorities:
  27043. - Temporarily (just for this release) move dizum to an alternate
  27044. IP address.
  27045. Changes in version 0.2.2.4-alpha - 2009-10-10
  27046. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  27047. introduces a new unit test framework, shifts directry authority
  27048. addresses around to reduce the impact from recent blocking events,
  27049. and fixes a few smaller bugs.
  27050. o Major bugfixes:
  27051. - Fix several more asserts in the circuit_build_times code, for
  27052. example one that causes Tor to fail to start once we have
  27053. accumulated 5000 build times in the state file. Bugfixes on
  27054. 0.2.2.2-alpha; fixes bug 1108.
  27055. o New directory authorities:
  27056. - Move moria1 and Tonga to alternate IP addresses.
  27057. o Minor features:
  27058. - Log SSL state transitions at debug level during handshake, and
  27059. include SSL states in error messages. This may help debug future
  27060. SSL handshake issues.
  27061. - Add a new "Handshake" log domain for activities that happen
  27062. during the TLS handshake.
  27063. - Revert to the "June 3 2009" ip-to-country file. The September one
  27064. seems to have removed most US IP addresses.
  27065. - Directory authorities now reject Tor relays with versions less than
  27066. 0.1.2.14. This step cuts out four relays from the current network,
  27067. none of which are very big.
  27068. o Minor bugfixes:
  27069. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  27070. on 0.2.2.1-alpha.
  27071. - Fix two memory leaks in the error case of
  27072. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  27073. - Don't count one-hop circuits when we're estimating how long it
  27074. takes circuits to build on average. Otherwise we'll set our circuit
  27075. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  27076. - Directory authorities no longer change their opinion of, or vote on,
  27077. whether a router is Running, unless they have themselves been
  27078. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  27079. Fixes bug 1023.
  27080. o Code simplifications and refactoring:
  27081. - Revise our unit tests to use the "tinytest" framework, so we
  27082. can run tests in their own processes, have smarter setup/teardown
  27083. code, and so on. The unit test code has moved to its own
  27084. subdirectory, and has been split into multiple modules.
  27085. Changes in version 0.2.2.3-alpha - 2009-09-23
  27086. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  27087. o Major bugfixes:
  27088. - Fix an overzealous assert in our new circuit build timeout code.
  27089. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  27090. o Minor bugfixes:
  27091. - If the networkstatus consensus tells us that we should use a
  27092. negative circuit package window, ignore it. Otherwise we'll
  27093. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  27094. Changes in version 0.2.2.2-alpha - 2009-09-21
  27095. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  27096. clients: Tor tracks the average time it takes to build a circuit, and
  27097. avoids using circuits that take too long to build. For fast connections,
  27098. this feature can cut your expected latency in half. For slow or flaky
  27099. connections, it could ruin your Tor experience. Let us know if it does!
  27100. o Major features:
  27101. - Tor now tracks how long it takes to build client-side circuits
  27102. over time, and adapts its timeout to local network performance.
  27103. Since a circuit that takes a long time to build will also provide
  27104. bad performance, we get significant latency improvements by
  27105. discarding the slowest 20% of circuits. Specifically, Tor creates
  27106. circuits more aggressively than usual until it has enough data
  27107. points for a good timeout estimate. Implements proposal 151.
  27108. We are especially looking for reports (good and bad) from users with
  27109. both EDGE and broadband connections that can move from broadband
  27110. to EDGE and find out if the build-time data in the .tor/state gets
  27111. reset without loss of Tor usability. You should also see a notice
  27112. log message telling you that Tor has reset its timeout.
  27113. - Directory authorities can now vote on arbitrary integer values as
  27114. part of the consensus process. This is designed to help set
  27115. network-wide parameters. Implements proposal 167.
  27116. - Tor now reads the "circwindow" parameter out of the consensus,
  27117. and uses that value for its circuit package window rather than the
  27118. default of 1000 cells. Begins the implementation of proposal 168.
  27119. o Major bugfixes:
  27120. - Fix a remotely triggerable memory leak when a consensus document
  27121. contains more than one signature from the same voter. Bugfix on
  27122. 0.2.0.3-alpha.
  27123. o Minor bugfixes:
  27124. - Fix an extremely rare infinite recursion bug that could occur if
  27125. we tried to log a message after shutting down the log subsystem.
  27126. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  27127. - Fix parsing for memory or time units given without a space between
  27128. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  27129. - A networkstatus vote must contain exactly one signature. Spec
  27130. conformance issue. Bugfix on 0.2.0.3-alpha.
  27131. - Fix an obscure bug where hidden services on 64-bit big-endian
  27132. systems might mis-read the timestamp in v3 introduce cells, and
  27133. refuse to connect back to the client. Discovered by "rotor".
  27134. Bugfix on 0.2.1.6-alpha.
  27135. - We were triggering a CLOCK_SKEW controller status event whenever
  27136. we connect via the v2 connection protocol to any relay that has
  27137. a wrong clock. Instead, we should only inform the controller when
  27138. it's a trusted authority that claims our clock is wrong. Bugfix
  27139. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  27140. - We were telling the controller about CHECKING_REACHABILITY and
  27141. REACHABILITY_FAILED status events whenever we launch a testing
  27142. circuit or notice that one has failed. Instead, only tell the
  27143. controller when we want to inform the user of overall success or
  27144. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  27145. by SwissTorExit.
  27146. - Don't warn when we're using a circuit that ends with a node
  27147. excluded in ExcludeExitNodes, but the circuit is not used to access
  27148. the outside world. This should help fix bug 1090, but more problems
  27149. remain. Bugfix on 0.2.1.6-alpha.
  27150. - Work around a small memory leak in some versions of OpenSSL that
  27151. stopped the memory used by the hostname TLS extension from being
  27152. freed.
  27153. - Make our 'torify' script more portable; if we have only one of
  27154. 'torsocks' or 'tsocks' installed, don't complain to the user;
  27155. and explain our warning about tsocks better.
  27156. o Minor features:
  27157. - Add a "getinfo status/accepted-server-descriptor" controller
  27158. command, which is the recommended way for controllers to learn
  27159. whether our server descriptor has been successfully received by at
  27160. least on directory authority. Un-recommend good-server-descriptor
  27161. getinfo and status events until we have a better design for them.
  27162. - Update to the "September 4 2009" ip-to-country file.
  27163. Changes in version 0.2.2.1-alpha - 2009-08-26
  27164. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  27165. Tor clients to bootstrap on networks where only port 80 is reachable,
  27166. makes it more straightforward to support hardware crypto accelerators,
  27167. and starts the groundwork for gathering stats safely at relays.
  27168. o Security fixes:
  27169. - Start the process of disabling ".exit" address notation, since it
  27170. can be used for a variety of esoteric application-level attacks
  27171. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  27172. on 0.0.9rc5.
  27173. o New directory authorities:
  27174. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  27175. authority.
  27176. o Major features:
  27177. - New AccelName and AccelDir options add support for dynamic OpenSSL
  27178. hardware crypto acceleration engines.
  27179. - Tor now supports tunneling all of its outgoing connections over
  27180. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  27181. configuration options. Code by Christopher Davis.
  27182. o Major bugfixes:
  27183. - Send circuit or stream sendme cells when our window has decreased
  27184. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  27185. by Karsten when testing the "reduce circuit window" performance
  27186. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  27187. before the release of Tor 0.0.0. This is the new winner of the
  27188. oldest-bug prize.
  27189. o New options for gathering stats safely:
  27190. - Directory mirrors that set "DirReqStatistics 1" write statistics
  27191. about directory requests to disk every 24 hours. As compared to the
  27192. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  27193. 1) stats are written to disk exactly every 24 hours; 2) estimated
  27194. shares of v2 and v3 requests are determined as mean values, not at
  27195. the end of a measurement period; 3) unresolved requests are listed
  27196. with country code '??'; 4) directories also measure download times.
  27197. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  27198. number of exit streams and transferred bytes per port to disk every
  27199. 24 hours.
  27200. - Relays that set "CellStatistics 1" write statistics on how long
  27201. cells spend in their circuit queues to disk every 24 hours.
  27202. - Entry nodes that set "EntryStatistics 1" write statistics on the
  27203. rough number and origins of connecting clients to disk every 24
  27204. hours.
  27205. - Relays that write any of the above statistics to disk and set
  27206. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  27207. their extra-info documents.
  27208. o Minor features:
  27209. - New --digests command-line switch to output the digests of the
  27210. source files Tor was built with.
  27211. - The "torify" script now uses torsocks where available.
  27212. - The memarea code now uses a sentinel value at the end of each area
  27213. to make sure nothing writes beyond the end of an area. This might
  27214. help debug some conceivable causes of bug 930.
  27215. - Time and memory units in the configuration file can now be set to
  27216. fractional units. For example, "2.5 GB" is now a valid value for
  27217. AccountingMax.
  27218. - Certain Tor clients (such as those behind check.torproject.org) may
  27219. want to fetch the consensus in an extra early manner. To enable this
  27220. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  27221. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  27222. as only certain clients who must have this information sooner should
  27223. set this option.
  27224. - Instead of adding the svn revision to the Tor version string, report
  27225. the git commit (when we're building from a git checkout).
  27226. o Minor bugfixes:
  27227. - If any of the v3 certs we download are unparseable, we should
  27228. actually notice the failure so we don't retry indefinitely. Bugfix
  27229. on 0.2.0.x; reported by "rotator".
  27230. - If the cached cert file is unparseable, warn but don't exit.
  27231. - Fix possible segmentation fault on directory authorities. Bugfix on
  27232. 0.2.1.14-rc.
  27233. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  27234. Might help diagnosing bug 1051.
  27235. o Deprecated and removed features:
  27236. - The controller no longer accepts the old obsolete "addr-mappings/"
  27237. or "unregistered-servers-" GETINFO values.
  27238. - Hidden services no longer publish version 0 descriptors, and clients
  27239. do not request or use version 0 descriptors. However, the old hidden
  27240. service authorities still accept and serve version 0 descriptors
  27241. when contacted by older hidden services/clients.
  27242. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  27243. always on; using them is necessary for correct forward-compatible
  27244. controllers.
  27245. - Remove support for .noconnect style addresses. Nobody was using
  27246. them, and they provided another avenue for detecting Tor users
  27247. via application-level web tricks.
  27248. o Packaging changes:
  27249. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  27250. installer bundles. See
  27251. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  27252. for details of what's new in Vidalia 0.2.3.
  27253. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  27254. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  27255. configuration file, rather than the old Privoxy.
  27256. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  27257. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  27258. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  27259. better compatibility with OS X 10.6, aka Snow Leopard.
  27260. - OS X Vidalia Bundle: The multi-package installer is now replaced
  27261. by a simple drag and drop to the /Applications folder. This change
  27262. occurred with the upgrade to Vidalia 0.2.3.
  27263. Changes in version 0.2.1.19 - 2009-07-28
  27264. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  27265. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  27266. o Major bugfixes:
  27267. - Make accessing hidden services on 0.2.1.x work right again.
  27268. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  27269. part of patch provided by "optimist".
  27270. o Minor features:
  27271. - When a relay/bridge is writing out its identity key fingerprint to
  27272. the "fingerprint" file and to its logs, write it without spaces. Now
  27273. it will look like the fingerprints in our bridges documentation,
  27274. and confuse fewer users.
  27275. o Minor bugfixes:
  27276. - Relays no longer publish a new server descriptor if they change
  27277. their MaxAdvertisedBandwidth config option but it doesn't end up
  27278. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  27279. fixes bug 1026. Patch from Sebastian.
  27280. - Avoid leaking memory every time we get a create cell but we have
  27281. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  27282. fixes bug 1034. Reported by BarkerJr.
  27283. Changes in version 0.2.1.18 - 2009-07-24
  27284. Tor 0.2.1.18 lays the foundations for performance improvements,
  27285. adds status events to help users diagnose bootstrap problems, adds
  27286. optional authentication/authorization for hidden services, fixes a
  27287. variety of potential anonymity problems, and includes a huge pile of
  27288. other features and bug fixes.
  27289. o Build fixes:
  27290. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  27291. Changes in version 0.2.1.17-rc - 2009-07-07
  27292. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  27293. candidate for the 0.2.1.x series. It lays the groundwork for further
  27294. client performance improvements, and also fixes a big bug with directory
  27295. authorities that were causing them to assign Guard and Stable flags
  27296. poorly.
  27297. The Windows bundles also finally include the geoip database that we
  27298. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  27299. should actually install Torbutton rather than giving you a cryptic
  27300. failure message (oops).
  27301. o Major features:
  27302. - Clients now use the bandwidth values in the consensus, rather than
  27303. the bandwidth values in each relay descriptor. This approach opens
  27304. the door to more accurate bandwidth estimates once the directory
  27305. authorities start doing active measurements. Implements more of
  27306. proposal 141.
  27307. o Major bugfixes:
  27308. - When Tor clients restart after 1-5 days, they discard all their
  27309. cached descriptors as too old, but they still use the cached
  27310. consensus document. This approach is good for robustness, but
  27311. bad for performance: since they don't know any bandwidths, they
  27312. end up choosing at random rather than weighting their choice by
  27313. speed. Fixed by the above feature of putting bandwidths in the
  27314. consensus. Bugfix on 0.2.0.x.
  27315. - Directory authorities were neglecting to mark relays down in their
  27316. internal histories if the relays fall off the routerlist without
  27317. ever being found unreachable. So there were relays in the histories
  27318. that haven't been seen for eight months, and are listed as being
  27319. up for eight months. This wreaked havoc on the "median wfu"
  27320. and "median mtbf" calculations, in turn making Guard and Stable
  27321. flags very wrong, hurting network performance. Fixes bugs 696 and
  27322. 969. Bugfix on 0.2.0.6-alpha.
  27323. o Minor bugfixes:
  27324. - Serve the DirPortFrontPage page even when we have been approaching
  27325. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  27326. - The control port would close the connection before flushing long
  27327. replies, such as the network consensus, if a QUIT command was issued
  27328. before the reply had completed. Now, the control port flushes all
  27329. pending replies before closing the connection. Also fixed a spurious
  27330. warning when a QUIT command is issued after a malformed or rejected
  27331. AUTHENTICATE command, but before the connection was closed. Patch
  27332. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  27333. - When we can't find an intro key for a v2 hidden service descriptor,
  27334. fall back to the v0 hidden service descriptor and log a bug message.
  27335. Workaround for bug 1024.
  27336. - Fix a log message that did not respect the SafeLogging option.
  27337. Resolves bug 1027.
  27338. o Minor features:
  27339. - If we're a relay and we change our IP address, be more verbose
  27340. about the reason that made us change. Should help track down
  27341. further bugs for relays on dynamic IP addresses.
  27342. Changes in version 0.2.0.35 - 2009-06-24
  27343. o Security fix:
  27344. - Avoid crashing in the presence of certain malformed descriptors.
  27345. Found by lark, and by automated fuzzing.
  27346. - Fix an edge case where a malicious exit relay could convince a
  27347. controller that the client's DNS question resolves to an internal IP
  27348. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  27349. o Major bugfixes:
  27350. - Finally fix the bug where dynamic-IP relays disappear when their
  27351. IP address changes: directory mirrors were mistakenly telling
  27352. them their old address if they asked via begin_dir, so they
  27353. never got an accurate answer about their new address, so they
  27354. just vanished after a day. For belt-and-suspenders, relays that
  27355. don't set Address in their config now avoid using begin_dir for
  27356. all direct connections. Should fix bugs 827, 883, and 900.
  27357. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  27358. that would occur on some exit nodes when DNS failures and timeouts
  27359. occurred in certain patterns. Fix for bug 957.
  27360. o Minor bugfixes:
  27361. - When starting with a cache over a few days old, do not leak
  27362. memory for the obsolete router descriptors in it. Bugfix on
  27363. 0.2.0.33; fixes bug 672.
  27364. - Hidden service clients didn't use a cached service descriptor that
  27365. was older than 15 minutes, but wouldn't fetch a new one either,
  27366. because there was already one in the cache. Now, fetch a v2
  27367. descriptor unless the same descriptor was added to the cache within
  27368. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  27369. Changes in version 0.2.1.16-rc - 2009-06-20
  27370. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  27371. a bunch of minor bugs.
  27372. o Security fixes:
  27373. - Fix an edge case where a malicious exit relay could convince a
  27374. controller that the client's DNS question resolves to an internal IP
  27375. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  27376. o Major performance improvements (on 0.2.0.x):
  27377. - Disable and refactor some debugging checks that forced a linear scan
  27378. over the whole server-side DNS cache. These accounted for over 50%
  27379. of CPU time on a relatively busy exit node's gprof profile. Found
  27380. by Jacob.
  27381. - Disable some debugging checks that appeared in exit node profile
  27382. data.
  27383. o Minor features:
  27384. - Update to the "June 3 2009" ip-to-country file.
  27385. - Do not have tor-resolve automatically refuse all .onion addresses;
  27386. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  27387. o Minor bugfixes (on 0.2.0.x):
  27388. - Log correct error messages for DNS-related network errors on
  27389. Windows.
  27390. - Fix a race condition that could cause crashes or memory corruption
  27391. when running as a server with a controller listening for log
  27392. messages.
  27393. - Avoid crashing when we have a policy specified in a DirPolicy or
  27394. SocksPolicy or ReachableAddresses option with ports set on it,
  27395. and we re-load the policy. May fix bug 996.
  27396. - Hidden service clients didn't use a cached service descriptor that
  27397. was older than 15 minutes, but wouldn't fetch a new one either,
  27398. because there was already one in the cache. Now, fetch a v2
  27399. descriptor unless the same descriptor was added to the cache within
  27400. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  27401. o Minor bugfixes (on 0.2.1.x):
  27402. - Don't warn users about low port and hibernation mix when they
  27403. provide a *ListenAddress directive to fix that. Bugfix on
  27404. 0.2.1.15-rc.
  27405. - When switching back and forth between bridge mode, do not start
  27406. gathering GeoIP data until two hours have passed.
  27407. - Do not complain that the user has requested an excluded node as
  27408. an exit when the node is not really an exit. This could happen
  27409. because the circuit was for testing, or an introduction point.
  27410. Fix for bug 984.
  27411. Changes in version 0.2.1.15-rc - 2009-05-25
  27412. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  27413. series. It fixes a major bug on fast exit relays, as well as a variety
  27414. of more minor bugs.
  27415. o Major bugfixes (on 0.2.0.x):
  27416. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  27417. that would occur on some exit nodes when DNS failures and timeouts
  27418. occurred in certain patterns. Fix for bug 957.
  27419. o Minor bugfixes (on 0.2.0.x):
  27420. - Actually return -1 in the error case for read_bandwidth_usage().
  27421. Harmless bug, since we currently don't care about the return value
  27422. anywhere. Bugfix on 0.2.0.9-alpha.
  27423. - Provide a more useful log message if bug 977 (related to buffer
  27424. freelists) ever reappears, and do not crash right away.
  27425. - Fix an assertion failure on 64-bit platforms when we allocated
  27426. memory right up to the end of a memarea, then realigned the memory
  27427. one step beyond the end. Fixes a possible cause of bug 930.
  27428. - Protect the count of open sockets with a mutex, so we can't
  27429. corrupt it when two threads are closing or opening sockets at once.
  27430. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  27431. - Don't allow a bridge to publish its router descriptor to a
  27432. non-bridge directory authority. Fixes part of bug 932.
  27433. - When we change to or from being a bridge, reset our counts of
  27434. client usage by country. Fixes bug 932.
  27435. - Fix a bug that made stream bandwidth get misreported to the
  27436. controller.
  27437. - Stop using malloc_usable_size() to use more area than we had
  27438. actually allocated: it was safe, but made valgrind really unhappy.
  27439. - Fix a memory leak when v3 directory authorities load their keys
  27440. and cert from disk. Bugfix on 0.2.0.1-alpha.
  27441. o Minor bugfixes (on 0.2.1.x):
  27442. - Fix use of freed memory when deciding to mark a non-addable
  27443. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  27444. Changes in version 0.2.1.14-rc - 2009-04-12
  27445. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  27446. series. It begins fixing some major performance problems, and also
  27447. finally addresses the bug that was causing relays on dynamic IP
  27448. addresses to fall out of the directory.
  27449. o Major features:
  27450. - Clients replace entry guards that were chosen more than a few months
  27451. ago. This change should significantly improve client performance,
  27452. especially once more people upgrade, since relays that have been
  27453. a guard for a long time are currently overloaded.
  27454. o Major bugfixes (on 0.2.0):
  27455. - Finally fix the bug where dynamic-IP relays disappear when their
  27456. IP address changes: directory mirrors were mistakenly telling
  27457. them their old address if they asked via begin_dir, so they
  27458. never got an accurate answer about their new address, so they
  27459. just vanished after a day. For belt-and-suspenders, relays that
  27460. don't set Address in their config now avoid using begin_dir for
  27461. all direct connections. Should fix bugs 827, 883, and 900.
  27462. - Relays were falling out of the networkstatus consensus for
  27463. part of a day if they changed their local config but the
  27464. authorities discarded their new descriptor as "not sufficiently
  27465. different". Now directory authorities accept a descriptor as changed
  27466. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  27467. patch by Sebastian.
  27468. - Avoid crashing in the presence of certain malformed descriptors.
  27469. Found by lark, and by automated fuzzing.
  27470. o Minor features:
  27471. - When generating circuit events with verbose nicknames for
  27472. controllers, try harder to look up nicknames for routers on a
  27473. circuit. (Previously, we would look in the router descriptors we had
  27474. for nicknames, but not in the consensus.) Partial fix for bug 941.
  27475. - If the bridge config line doesn't specify a port, assume 443.
  27476. This makes bridge lines a bit smaller and easier for users to
  27477. understand.
  27478. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  27479. bytes (aka 20KB/s), to match our documentation. Also update
  27480. directory authorities so they always assign the Fast flag to relays
  27481. with 20KB/s of capacity. Now people running relays won't suddenly
  27482. find themselves not seeing any use, if the network gets faster
  27483. on average.
  27484. - Update to the "April 3 2009" ip-to-country file.
  27485. o Minor bugfixes:
  27486. - Avoid trying to print raw memory to the logs when we decide to
  27487. give up on downloading a given relay descriptor. Bugfix on
  27488. 0.2.1.9-alpha.
  27489. - In tor-resolve, when the Tor client to use is specified by
  27490. <hostname>:<port>, actually use the specified port rather than
  27491. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  27492. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  27493. - When starting with a cache over a few days old, do not leak
  27494. memory for the obsolete router descriptors in it. Bugfix on
  27495. 0.2.0.33.
  27496. - Avoid double-free on list of successfully uploaded hidden
  27497. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  27498. - Change memarea_strndup() implementation to work even when
  27499. duplicating a string at the end of a page. This bug was
  27500. harmless for now, but could have meant crashes later. Fix by
  27501. lark. Bugfix on 0.2.1.1-alpha.
  27502. - Limit uploaded directory documents to be 16M rather than 500K.
  27503. The directory authorities were refusing v3 consensus votes from
  27504. other authorities, since the votes are now 504K. Fixes bug 959;
  27505. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  27506. - Directory authorities should never send a 503 "busy" response to
  27507. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  27508. bug 959.
  27509. Changes in version 0.2.1.13-alpha - 2009-03-09
  27510. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  27511. cleanups. We're finally getting close to a release candidate.
  27512. o Major bugfixes:
  27513. - Correctly update the list of which countries we exclude as
  27514. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  27515. lark. Bugfix on 0.2.1.6-alpha.
  27516. o Minor bugfixes (on 0.2.0.x and earlier):
  27517. - Automatically detect MacOSX versions earlier than 10.4.0, and
  27518. disable kqueue from inside Tor when running with these versions.
  27519. We previously did this from the startup script, but that was no
  27520. help to people who didn't use the startup script. Resolves bug 863.
  27521. - When we had picked an exit node for a connection, but marked it as
  27522. "optional", and it turned out we had no onion key for the exit,
  27523. stop wanting that exit and try again. This situation may not
  27524. be possible now, but will probably become feasible with proposal
  27525. 158. Spotted by rovv. Fixes another case of bug 752.
  27526. - Clients no longer cache certificates for authorities they do not
  27527. recognize. Bugfix on 0.2.0.9-alpha.
  27528. - When we can't transmit a DNS request due to a network error, retry
  27529. it after a while, and eventually transmit a failing response to
  27530. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  27531. - If the controller claimed responsibility for a stream, but that
  27532. stream never finished making its connection, it would live
  27533. forever in circuit_wait state. Now we close it after SocksTimeout
  27534. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  27535. - Drop begin cells to a hidden service if they come from the middle
  27536. of a circuit. Patch from lark.
  27537. - When we erroneously receive two EXTEND cells for the same circuit
  27538. ID on the same connection, drop the second. Patch from lark.
  27539. - Fix a crash that occurs on exit nodes when a nameserver request
  27540. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  27541. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  27542. bug 929.
  27543. - Do not assume that a stack-allocated character array will be
  27544. 64-bit aligned on platforms that demand that uint64_t access is
  27545. aligned. Possible fix for bug 604.
  27546. - Parse dates and IPv4 addresses in a locale- and libc-independent
  27547. manner, to avoid platform-dependent behavior on malformed input.
  27548. - Build correctly when configured to build outside the main source
  27549. path. Patch from Michael Gold.
  27550. - We were already rejecting relay begin cells with destination port
  27551. of 0. Now also reject extend cells with destination port or address
  27552. of 0. Suggested by lark.
  27553. o Minor bugfixes (on 0.2.1.x):
  27554. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  27555. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  27556. - If we're an exit node, scrub the IP address to which we are exiting
  27557. in the logs. Bugfix on 0.2.1.8-alpha.
  27558. o Minor features:
  27559. - On Linux, use the prctl call to re-enable core dumps when the user
  27560. is option is set.
  27561. - New controller event NEWCONSENSUS that lists the networkstatus
  27562. lines for every recommended relay. Now controllers like Torflow
  27563. can keep up-to-date on which relays they should be using.
  27564. - Update to the "February 26 2009" ip-to-country file.
  27565. Changes in version 0.2.0.34 - 2009-02-08
  27566. Tor 0.2.0.34 features several more security-related fixes. You should
  27567. upgrade, especially if you run an exit relay (remote crash) or a
  27568. directory authority (remote infinite loop), or you're on an older
  27569. (pre-XP) or not-recently-patched Windows (remote exploit).
  27570. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  27571. have many known flaws, and nobody should be using them. You should
  27572. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  27573. stop using those packages and upgrade anyway.
  27574. o Security fixes:
  27575. - Fix an infinite-loop bug on handling corrupt votes under certain
  27576. circumstances. Bugfix on 0.2.0.8-alpha.
  27577. - Fix a temporary DoS vulnerability that could be performed by
  27578. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  27579. - Avoid a potential crash on exit nodes when processing malformed
  27580. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  27581. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  27582. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  27583. o Minor bugfixes:
  27584. - Fix compilation on systems where time_t is a 64-bit integer.
  27585. Patch from Matthias Drochner.
  27586. - Don't consider expiring already-closed client connections. Fixes
  27587. bug 893. Bugfix on 0.0.2pre20.
  27588. Changes in version 0.2.1.12-alpha - 2009-02-08
  27589. Tor 0.2.1.12-alpha features several more security-related fixes. You
  27590. should upgrade, especially if you run an exit relay (remote crash) or
  27591. a directory authority (remote infinite loop), or you're on an older
  27592. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  27593. includes a big pile of minor bugfixes and cleanups.
  27594. o Security fixes:
  27595. - Fix an infinite-loop bug on handling corrupt votes under certain
  27596. circumstances. Bugfix on 0.2.0.8-alpha.
  27597. - Fix a temporary DoS vulnerability that could be performed by
  27598. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  27599. - Avoid a potential crash on exit nodes when processing malformed
  27600. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  27601. o Minor bugfixes:
  27602. - Let controllers actually ask for the "clients_seen" event for
  27603. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  27604. reported by Matt Edman.
  27605. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  27606. 0.2.1.11-alpha.
  27607. - Fix a bug in address parsing that was preventing bridges or hidden
  27608. service targets from being at IPv6 addresses.
  27609. - Solve a bug that kept hardware crypto acceleration from getting
  27610. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  27611. 0.0.9pre6.
  27612. - Remove a bash-ism from configure.in to build properly on non-Linux
  27613. platforms. Bugfix on 0.2.1.1-alpha.
  27614. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  27615. headers. Bugfix on 0.2.0.10-alpha.
  27616. - Don't consider expiring already-closed client connections. Fixes
  27617. bug 893. Bugfix on 0.0.2pre20.
  27618. - Fix another interesting corner-case of bug 891 spotted by rovv:
  27619. Previously, if two hosts had different amounts of clock drift, and
  27620. one of them created a new connection with just the wrong timing,
  27621. the other might decide to deprecate the new connection erroneously.
  27622. Bugfix on 0.1.1.13-alpha.
  27623. - Resolve a very rare crash bug that could occur when the user forced
  27624. a nameserver reconfiguration during the middle of a nameserver
  27625. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  27626. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  27627. Bugfix on 0.2.1.7-alpha.
  27628. - If we're using bridges and our network goes away, be more willing
  27629. to forgive our bridges and try again when we get an application
  27630. request. Bugfix on 0.2.0.x.
  27631. o Minor features:
  27632. - Support platforms where time_t is 64 bits long. (Congratulations,
  27633. NetBSD!) Patch from Matthias Drochner.
  27634. - Add a 'getinfo status/clients-seen' controller command, in case
  27635. controllers want to hear clients_seen events but connect late.
  27636. o Build changes:
  27637. - Disable GCC's strict alias optimization by default, to avoid the
  27638. likelihood of its introducing subtle bugs whenever our code violates
  27639. the letter of C99's alias rules.
  27640. Changes in version 0.2.0.33 - 2009-01-21
  27641. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  27642. useful to users. It also finally fixes a bug where a relay or client
  27643. that's been off for many days would take a long time to bootstrap.
  27644. This update also fixes an important security-related bug reported by
  27645. Ilja van Sprundel. You should upgrade. (We'll send out more details
  27646. about the bug once people have had some time to upgrade.)
  27647. o Security fixes:
  27648. - Fix a heap-corruption bug that may be remotely triggerable on
  27649. some platforms. Reported by Ilja van Sprundel.
  27650. o Major bugfixes:
  27651. - When a stream at an exit relay is in state "resolving" or
  27652. "connecting" and it receives an "end" relay cell, the exit relay
  27653. would silently ignore the end cell and not close the stream. If
  27654. the client never closes the circuit, then the exit relay never
  27655. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  27656. reported by "wood".
  27657. - When sending CREATED cells back for a given circuit, use a 64-bit
  27658. connection ID to find the right connection, rather than an addr:port
  27659. combination. Now that we can have multiple OR connections between
  27660. the same ORs, it is no longer possible to use addr:port to uniquely
  27661. identify a connection.
  27662. - Bridge relays that had DirPort set to 0 would stop fetching
  27663. descriptors shortly after startup, and then briefly resume
  27664. after a new bandwidth test and/or after publishing a new bridge
  27665. descriptor. Bridge users that try to bootstrap from them would
  27666. get a recent networkstatus but would get descriptors from up to
  27667. 18 hours earlier, meaning most of the descriptors were obsolete
  27668. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  27669. - Prevent bridge relays from serving their 'extrainfo' document
  27670. to anybody who asks, now that extrainfo docs include potentially
  27671. sensitive aggregated client geoip summaries. Bugfix on
  27672. 0.2.0.13-alpha.
  27673. - If the cached networkstatus consensus is more than five days old,
  27674. discard it rather than trying to use it. In theory it could be
  27675. useful because it lists alternate directory mirrors, but in practice
  27676. it just means we spend many minutes trying directory mirrors that
  27677. are long gone from the network. Also discard router descriptors as
  27678. we load them if they are more than five days old, since the onion
  27679. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  27680. o Minor bugfixes:
  27681. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  27682. could make gcc generate non-functional binary search code. Bugfix
  27683. on 0.2.0.10-alpha.
  27684. - Build correctly on platforms without socklen_t.
  27685. - Compile without warnings on solaris.
  27686. - Avoid potential crash on internal error during signature collection.
  27687. Fixes bug 864. Patch from rovv.
  27688. - Correct handling of possible malformed authority signing key
  27689. certificates with internal signature types. Fixes bug 880.
  27690. Bugfix on 0.2.0.3-alpha.
  27691. - Fix a hard-to-trigger resource leak when logging credential status.
  27692. CID 349.
  27693. - When we can't initialize DNS because the network is down, do not
  27694. automatically stop Tor from starting. Instead, we retry failed
  27695. dns_init() every 10 minutes, and change the exit policy to reject
  27696. *:* until one succeeds. Fixes bug 691.
  27697. - Use 64 bits instead of 32 bits for connection identifiers used with
  27698. the controller protocol, to greatly reduce risk of identifier reuse.
  27699. - When we're choosing an exit node for a circuit, and we have
  27700. no pending streams, choose a good general exit rather than one that
  27701. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  27702. - Fix another case of assuming, when a specific exit is requested,
  27703. that we know more than the user about what hosts it allows.
  27704. Fixes one case of bug 752. Patch from rovv.
  27705. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  27706. seconds. Warn the user if lower values are given in the
  27707. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  27708. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  27709. user if lower values are given in the configuration. Bugfix on
  27710. 0.1.1.17-rc. Patch by Sebastian.
  27711. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  27712. the cache because we already had a v0 descriptor with the same ID.
  27713. Bugfix on 0.2.0.18-alpha.
  27714. - Fix a race condition when freeing keys shared between main thread
  27715. and CPU workers that could result in a memory leak. Bugfix on
  27716. 0.1.0.1-rc. Fixes bug 889.
  27717. - Send a valid END cell back when a client tries to connect to a
  27718. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  27719. 840. Patch from rovv.
  27720. - Check which hops rendezvous stream cells are associated with to
  27721. prevent possible guess-the-streamid injection attacks from
  27722. intermediate hops. Fixes another case of bug 446. Based on patch
  27723. from rovv.
  27724. - If a broken client asks a non-exit router to connect somewhere,
  27725. do not even do the DNS lookup before rejecting the connection.
  27726. Fixes another case of bug 619. Patch from rovv.
  27727. - When a relay gets a create cell it can't decrypt (e.g. because it's
  27728. using the wrong onion key), we were dropping it and letting the
  27729. client time out. Now actually answer with a destroy cell. Fixes
  27730. bug 904. Bugfix on 0.0.2pre8.
  27731. o Minor bugfixes (hidden services):
  27732. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  27733. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  27734. o Minor features:
  27735. - Report the case where all signatures in a detached set are rejected
  27736. differently than the case where there is an error handling the
  27737. detached set.
  27738. - When we realize that another process has modified our cached
  27739. descriptors, print out a more useful error message rather than
  27740. triggering an assertion. Fixes bug 885. Patch from Karsten.
  27741. - Implement the 0x20 hack to better resist DNS poisoning: set the
  27742. case on outgoing DNS requests randomly, and reject responses that do
  27743. not match the case correctly. This logic can be disabled with the
  27744. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  27745. of servers that do not reliably preserve case in replies. See
  27746. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  27747. for more info.
  27748. - Check DNS replies for more matching fields to better resist DNS
  27749. poisoning.
  27750. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  27751. compress cells, which are basically all encrypted, compressed, or
  27752. both.
  27753. Changes in version 0.2.1.11-alpha - 2009-01-20
  27754. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  27755. week it will take a long time to bootstrap again" bug. It also fixes
  27756. an important security-related bug reported by Ilja van Sprundel. You
  27757. should upgrade. (We'll send out more details about the bug once people
  27758. have had some time to upgrade.)
  27759. o Security fixes:
  27760. - Fix a heap-corruption bug that may be remotely triggerable on
  27761. some platforms. Reported by Ilja van Sprundel.
  27762. o Major bugfixes:
  27763. - Discard router descriptors as we load them if they are more than
  27764. five days old. Otherwise if Tor is off for a long time and then
  27765. starts with cached descriptors, it will try to use the onion
  27766. keys in those obsolete descriptors when building circuits. Bugfix
  27767. on 0.2.0.x. Fixes bug 887.
  27768. o Minor features:
  27769. - Try to make sure that the version of Libevent we're running with
  27770. is binary-compatible with the one we built with. May address bug
  27771. 897 and others.
  27772. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  27773. for bug 905. Bugfix on 0.2.1.7-alpha.
  27774. - Add a new --enable-local-appdata configuration switch to change
  27775. the default location of the datadir on win32 from APPDATA to
  27776. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  27777. entirely. Patch from coderman.
  27778. o Minor bugfixes:
  27779. - Make outbound DNS packets respect the OutboundBindAddress setting.
  27780. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  27781. - When our circuit fails at the first hop (e.g. we get a destroy
  27782. cell back), avoid using that OR connection anymore, and also
  27783. tell all the one-hop directory requests waiting for it that they
  27784. should fail. Bugfix on 0.2.1.3-alpha.
  27785. - In the torify(1) manpage, mention that tsocks will leak your
  27786. DNS requests.
  27787. Changes in version 0.2.1.10-alpha - 2009-01-06
  27788. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  27789. would make the bridge relay not so useful if it had DirPort set to 0,
  27790. and one that could let an attacker learn a little bit of information
  27791. about the bridge's users), and a bug that would cause your Tor relay
  27792. to ignore a circuit create request it can't decrypt (rather than reply
  27793. with an error). It also fixes a wide variety of other bugs.
  27794. o Major bugfixes:
  27795. - If the cached networkstatus consensus is more than five days old,
  27796. discard it rather than trying to use it. In theory it could
  27797. be useful because it lists alternate directory mirrors, but in
  27798. practice it just means we spend many minutes trying directory
  27799. mirrors that are long gone from the network. Helps bug 887 a bit;
  27800. bugfix on 0.2.0.x.
  27801. - Bridge relays that had DirPort set to 0 would stop fetching
  27802. descriptors shortly after startup, and then briefly resume
  27803. after a new bandwidth test and/or after publishing a new bridge
  27804. descriptor. Bridge users that try to bootstrap from them would
  27805. get a recent networkstatus but would get descriptors from up to
  27806. 18 hours earlier, meaning most of the descriptors were obsolete
  27807. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  27808. - Prevent bridge relays from serving their 'extrainfo' document
  27809. to anybody who asks, now that extrainfo docs include potentially
  27810. sensitive aggregated client geoip summaries. Bugfix on
  27811. 0.2.0.13-alpha.
  27812. o Minor features:
  27813. - New controller event "clients_seen" to report a geoip-based summary
  27814. of which countries we've seen clients from recently. Now controllers
  27815. like Vidalia can show bridge operators that they're actually making
  27816. a difference.
  27817. - Build correctly against versions of OpenSSL 0.9.8 or later built
  27818. without support for deprecated functions.
  27819. - Update to the "December 19 2008" ip-to-country file.
  27820. o Minor bugfixes (on 0.2.0.x):
  27821. - Authorities now vote for the Stable flag for any router whose
  27822. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  27823. - Do not remove routers as too old if we do not have any consensus
  27824. document. Bugfix on 0.2.0.7-alpha.
  27825. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  27826. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  27827. - When an exit relay resolves a stream address to a local IP address,
  27828. do not just keep retrying that same exit relay over and
  27829. over. Instead, just close the stream. Addresses bug 872. Bugfix
  27830. on 0.2.0.32. Patch from rovv.
  27831. - If a hidden service sends us an END cell, do not consider
  27832. retrying the connection; just close it. Patch from rovv.
  27833. - When we made bridge authorities stop serving bridge descriptors over
  27834. unencrypted links, we also broke DirPort reachability testing for
  27835. bridges. So bridges with a non-zero DirPort were printing spurious
  27836. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  27837. - When a relay gets a create cell it can't decrypt (e.g. because it's
  27838. using the wrong onion key), we were dropping it and letting the
  27839. client time out. Now actually answer with a destroy cell. Fixes
  27840. bug 904. Bugfix on 0.0.2pre8.
  27841. - Squeeze 2-5% out of client performance (according to oprofile) by
  27842. improving the implementation of some policy-manipulation functions.
  27843. o Minor bugfixes (on 0.2.1.x):
  27844. - Make get_interface_address() function work properly again; stop
  27845. guessing the wrong parts of our address as our address.
  27846. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  27847. send on that circuit. Otherwise we might violate the proposal-110
  27848. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  27849. thanks to Karsten.
  27850. - When we're sending non-EXTEND cells to the first hop in a circuit,
  27851. for example to use an encrypted directory connection, we don't need
  27852. to use RELAY_EARLY cells: the first hop knows what kind of cell
  27853. it is, and nobody else can even see the cell type. Conserving
  27854. RELAY_EARLY cells makes it easier to cannibalize circuits like
  27855. this later.
  27856. - Stop logging nameserver addresses in reverse order.
  27857. - If we are retrying a directory download slowly over and over, do
  27858. not automatically give up after the 254th failure. Bugfix on
  27859. 0.2.1.9-alpha.
  27860. - Resume reporting accurate "stream end" reasons to the local control
  27861. port. They were lost in the changes for Proposal 148. Bugfix on
  27862. 0.2.1.9-alpha.
  27863. o Deprecated and removed features:
  27864. - The old "tor --version --version" command, which would print out
  27865. the subversion "Id" of most of the source files, is now removed. It
  27866. turned out to be less useful than we'd expected, and harder to
  27867. maintain.
  27868. o Code simplifications and refactoring:
  27869. - Change our header file guard macros to be less likely to conflict
  27870. with system headers. Adam Langley noticed that we were conflicting
  27871. with log.h on Android.
  27872. - Tool-assisted documentation cleanup. Nearly every function or
  27873. static variable in Tor should have its own documentation now.
  27874. Changes in version 0.2.1.9-alpha - 2008-12-25
  27875. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  27876. o New directory authorities:
  27877. - gabelmoo (the authority run by Karsten Loesing) now has a new
  27878. IP address.
  27879. o Security fixes:
  27880. - Never use a connection with a mismatched address to extend a
  27881. circuit, unless that connection is canonical. A canonical
  27882. connection is one whose address is authenticated by the router's
  27883. identity key, either in a NETINFO cell or in a router descriptor.
  27884. - Avoid a possible memory corruption bug when receiving hidden service
  27885. descriptors. Bugfix on 0.2.1.6-alpha.
  27886. o Major bugfixes:
  27887. - Fix a logic error that would automatically reject all but the first
  27888. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  27889. part of bug 813/868. Bug spotted by coderman.
  27890. - When a stream at an exit relay is in state "resolving" or
  27891. "connecting" and it receives an "end" relay cell, the exit relay
  27892. would silently ignore the end cell and not close the stream. If
  27893. the client never closes the circuit, then the exit relay never
  27894. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  27895. reported by "wood".
  27896. - When we can't initialize DNS because the network is down, do not
  27897. automatically stop Tor from starting. Instead, retry failed
  27898. dns_init() every 10 minutes, and change the exit policy to reject
  27899. *:* until one succeeds. Fixes bug 691.
  27900. o Minor features:
  27901. - Give a better error message when an overzealous init script says
  27902. "sudo -u username tor --user username". Makes Bug 882 easier for
  27903. users to diagnose.
  27904. - When a directory authority gives us a new guess for our IP address,
  27905. log which authority we used. Hopefully this will help us debug
  27906. the recent complaints about bad IP address guesses.
  27907. - Detect svn revision properly when we're using git-svn.
  27908. - Try not to open more than one descriptor-downloading connection
  27909. to an authority at once. This should reduce load on directory
  27910. authorities. Fixes bug 366.
  27911. - Add cross-certification to newly generated certificates, so that
  27912. a signing key is enough information to look up a certificate.
  27913. Partial implementation of proposal 157.
  27914. - Start serving certificates by <identity digest, signing key digest>
  27915. pairs. Partial implementation of proposal 157.
  27916. - Clients now never report any stream end reason except 'MISC'.
  27917. Implements proposal 148.
  27918. - On platforms with a maximum syslog string length, truncate syslog
  27919. messages to that length ourselves, rather than relying on the
  27920. system to do it for us.
  27921. - Optimize out calls to time(NULL) that occur for every IO operation,
  27922. or for every cell. On systems where time() is a slow syscall,
  27923. this fix will be slightly helpful.
  27924. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  27925. - When we download a descriptor that we then immediately (as
  27926. a directory authority) reject, do not retry downloading it right
  27927. away. Should save some bandwidth on authorities. Fix for bug
  27928. 888. Patch by Sebastian Hahn.
  27929. - When a download gets us zero good descriptors, do not notify
  27930. Tor that new directory information has arrived.
  27931. - Avoid some nasty corner cases in the logic for marking connections
  27932. as too old or obsolete or noncanonical for circuits. Partial
  27933. bugfix on bug 891.
  27934. o Minor features (controller):
  27935. - New CONSENSUS_ARRIVED event to note when a new consensus has
  27936. been fetched and validated.
  27937. - When we realize that another process has modified our cached
  27938. descriptors file, print out a more useful error message rather
  27939. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  27940. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  27941. controllers to prevent SIGHUP from reloading the
  27942. configuration. Fixes bug 856.
  27943. o Minor bugfixes:
  27944. - Resume using the correct "REASON=" stream when telling the
  27945. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  27946. - When a canonical connection appears later in our internal list
  27947. than a noncanonical one for a given OR ID, always use the
  27948. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  27949. Spotted by rovv.
  27950. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  27951. seconds. Warn the user if lower values are given in the
  27952. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  27953. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  27954. user if lower values are given in the configuration. Bugfix on
  27955. 0.1.1.17-rc. Patch by Sebastian.
  27956. - Fix a race condition when freeing keys shared between main thread
  27957. and CPU workers that could result in a memory leak. Bugfix on
  27958. 0.1.0.1-rc. Fixes bug 889.
  27959. o Minor bugfixes (hidden services):
  27960. - Do not throw away existing introduction points on SIGHUP (bugfix on
  27961. 0.0.6pre1); also, do not stall hidden services because we're
  27962. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  27963. by John Brooks. Patch by Karsten. Fixes bug 874.
  27964. - Fix a memory leak when we decline to add a v2 rendezvous
  27965. descriptor to the cache because we already had a v0 descriptor
  27966. with the same ID. Bugfix on 0.2.0.18-alpha.
  27967. o Deprecated and removed features:
  27968. - RedirectExits has been removed. It was deprecated since
  27969. 0.2.0.3-alpha.
  27970. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  27971. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  27972. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  27973. o Code simplifications and refactoring:
  27974. - Rename the confusing or_is_obsolete field to the more appropriate
  27975. is_bad_for_new_circs, and move it to or_connection_t where it
  27976. belongs.
  27977. - Move edge-only flags from connection_t to edge_connection_t: not
  27978. only is this better coding, but on machines of plausible alignment,
  27979. it should save 4-8 bytes per connection_t. "Every little bit helps."
  27980. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  27981. for consistency; keep old option working for backward compatibility.
  27982. - Simplify the code for finding connections to use for a circuit.
  27983. Changes in version 0.2.1.8-alpha - 2008-12-08
  27984. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  27985. builds better on unusual platforms like Solaris and old OS X, and
  27986. fixes a variety of other issues.
  27987. o Major features:
  27988. - New DirPortFrontPage option that takes an html file and publishes
  27989. it as "/" on the DirPort. Now relay operators can provide a
  27990. disclaimer without needing to set up a separate webserver. There's
  27991. a sample disclaimer in contrib/tor-exit-notice.html.
  27992. o Security fixes:
  27993. - When the client is choosing entry guards, now it selects at most
  27994. one guard from a given relay family. Otherwise we could end up with
  27995. all of our entry points into the network run by the same operator.
  27996. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  27997. o Major bugfixes:
  27998. - Fix a DOS opportunity during the voting signature collection process
  27999. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  28000. - Fix a possible segfault when establishing an exit connection. Bugfix
  28001. on 0.2.1.5-alpha.
  28002. o Minor bugfixes:
  28003. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  28004. bug 859.
  28005. - Made Tor a little less aggressive about deleting expired
  28006. certificates. Partial fix for bug 854.
  28007. - Stop doing unaligned memory access that generated bus errors on
  28008. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  28009. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  28010. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  28011. - Make USR2 log-level switch take effect immediately. Bugfix on
  28012. 0.1.2.8-beta.
  28013. - If one win32 nameserver fails to get added, continue adding the
  28014. rest, and don't automatically fail.
  28015. - Use fcntl() for locking when flock() is not available. Should fix
  28016. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  28017. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  28018. could make gcc generate non-functional binary search code. Bugfix
  28019. on 0.2.0.10-alpha.
  28020. - Build correctly on platforms without socklen_t.
  28021. - Avoid potential crash on internal error during signature collection.
  28022. Fixes bug 864. Patch from rovv.
  28023. - Do not use C's stdio library for writing to log files. This will
  28024. improve logging performance by a minute amount, and will stop
  28025. leaking fds when our disk is full. Fixes bug 861.
  28026. - Stop erroneous use of O_APPEND in cases where we did not in fact
  28027. want to re-seek to the end of a file before every last write().
  28028. - Correct handling of possible malformed authority signing key
  28029. certificates with internal signature types. Fixes bug 880. Bugfix
  28030. on 0.2.0.3-alpha.
  28031. - Fix a hard-to-trigger resource leak when logging credential status.
  28032. CID 349.
  28033. o Minor features:
  28034. - Directory mirrors no longer fetch the v1 directory or
  28035. running-routers files. They are obsolete, and nobody asks for them
  28036. anymore. This is the first step to making v1 authorities obsolete.
  28037. o Minor features (controller):
  28038. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  28039. bug 858.
  28040. Changes in version 0.2.0.32 - 2008-11-20
  28041. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  28042. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  28043. a smaller security flaw that might allow an attacker to access local
  28044. services, further improves hidden service performance, and fixes a
  28045. variety of other issues.
  28046. o Security fixes:
  28047. - The "User" and "Group" config options did not clear the
  28048. supplementary group entries for the Tor process. The "User" option
  28049. is now more robust, and we now set the groups to the specified
  28050. user's primary group. The "Group" option is now ignored. For more
  28051. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  28052. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  28053. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  28054. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  28055. consistently obeyed: if an exit relay refuses a stream because its
  28056. exit policy doesn't allow it, we would remember what IP address
  28057. the relay said the destination address resolves to, even if it's
  28058. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  28059. o Major bugfixes:
  28060. - Fix a DOS opportunity during the voting signature collection process
  28061. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  28062. o Major bugfixes (hidden services):
  28063. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  28064. we were failing the whole hidden service request when the v0
  28065. descriptor fetch fails, even if the v2 fetch is still pending and
  28066. might succeed. Similarly, if the last v2 fetch fails, we were
  28067. failing the whole hidden service request even if a v0 fetch is
  28068. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  28069. - When extending a circuit to a hidden service directory to upload a
  28070. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  28071. requests failed, because the router descriptor has not been
  28072. downloaded yet. In these cases, do not attempt to upload the
  28073. rendezvous descriptor, but wait until the router descriptor is
  28074. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  28075. descriptor from a hidden service directory for which the router
  28076. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  28077. on 0.2.0.10-alpha.
  28078. o Minor bugfixes:
  28079. - Fix several infrequent memory leaks spotted by Coverity.
  28080. - When testing for libevent functions, set the LDFLAGS variable
  28081. correctly. Found by Riastradh.
  28082. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  28083. bootstrapping with tunneled directory connections. Bugfix on
  28084. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  28085. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  28086. and we know that server B rejects most-but-not all connections to
  28087. port 80, we would previously reject the connection. Now, we assume
  28088. the user knows what they were asking for. Fixes bug 752. Bugfix
  28089. on 0.0.9rc5. Diagnosed by BarkerJr.
  28090. - If we overrun our per-second write limits a little, count this as
  28091. having used up our write allocation for the second, and choke
  28092. outgoing directory writes. Previously, we had only counted this when
  28093. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  28094. Bugfix on 0.2.0.x (??).
  28095. - Remove the old v2 directory authority 'lefkada' from the default
  28096. list. It has been gone for many months.
  28097. - Stop doing unaligned memory access that generated bus errors on
  28098. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  28099. - Make USR2 log-level switch take effect immediately. Bugfix on
  28100. 0.1.2.8-beta.
  28101. o Minor bugfixes (controller):
  28102. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  28103. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  28104. Changes in version 0.2.1.7-alpha - 2008-11-08
  28105. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  28106. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  28107. a smaller security flaw that might allow an attacker to access local
  28108. services, adds better defense against DNS poisoning attacks on exit
  28109. relays, further improves hidden service performance, and fixes a
  28110. variety of other issues.
  28111. o Security fixes:
  28112. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  28113. consistently obeyed: if an exit relay refuses a stream because its
  28114. exit policy doesn't allow it, we would remember what IP address
  28115. the relay said the destination address resolves to, even if it's
  28116. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  28117. - The "User" and "Group" config options did not clear the
  28118. supplementary group entries for the Tor process. The "User" option
  28119. is now more robust, and we now set the groups to the specified
  28120. user's primary group. The "Group" option is now ignored. For more
  28121. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  28122. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  28123. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  28124. - Do not use or believe expired v3 authority certificates. Patch
  28125. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  28126. o Minor features:
  28127. - Now NodeFamily and MyFamily config options allow spaces in
  28128. identity fingerprints, so it's easier to paste them in.
  28129. Suggested by Lucky Green.
  28130. - Implement the 0x20 hack to better resist DNS poisoning: set the
  28131. case on outgoing DNS requests randomly, and reject responses that do
  28132. not match the case correctly. This logic can be disabled with the
  28133. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  28134. of servers that do not reliably preserve case in replies. See
  28135. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  28136. for more info.
  28137. - Preserve case in replies to DNSPort requests in order to support
  28138. the 0x20 hack for resisting DNS poisoning attacks.
  28139. o Hidden service performance improvements:
  28140. - When the client launches an introduction circuit, retry with a
  28141. new circuit after 30 seconds rather than 60 seconds.
  28142. - Launch a second client-side introduction circuit in parallel
  28143. after a delay of 15 seconds (based on work by Christian Wilms).
  28144. - Hidden services start out building five intro circuits rather
  28145. than three, and when the first three finish they publish a service
  28146. descriptor using those. Now we publish our service descriptor much
  28147. faster after restart.
  28148. o Minor bugfixes:
  28149. - Minor fix in the warning messages when you're having problems
  28150. bootstrapping; also, be more forgiving of bootstrap problems when
  28151. we're still making incremental progress on a given bootstrap phase.
  28152. - When we're choosing an exit node for a circuit, and we have
  28153. no pending streams, choose a good general exit rather than one that
  28154. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  28155. - Send a valid END cell back when a client tries to connect to a
  28156. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  28157. 840. Patch from rovv.
  28158. - If a broken client asks a non-exit router to connect somewhere,
  28159. do not even do the DNS lookup before rejecting the connection.
  28160. Fixes another case of bug 619. Patch from rovv.
  28161. - Fix another case of assuming, when a specific exit is requested,
  28162. that we know more than the user about what hosts it allows.
  28163. Fixes another case of bug 752. Patch from rovv.
  28164. - Check which hops rendezvous stream cells are associated with to
  28165. prevent possible guess-the-streamid injection attacks from
  28166. intermediate hops. Fixes another case of bug 446. Based on patch
  28167. from rovv.
  28168. - Avoid using a negative right-shift when comparing 32-bit
  28169. addresses. Possible fix for bug 845 and bug 811.
  28170. - Make the assert_circuit_ok() function work correctly on circuits that
  28171. have already been marked for close.
  28172. - Fix read-off-the-end-of-string error in unit tests when decoding
  28173. introduction points.
  28174. - Fix uninitialized size field for memory area allocation: may improve
  28175. memory performance during directory parsing.
  28176. - Treat duplicate certificate fetches as failures, so that we do
  28177. not try to re-fetch an expired certificate over and over and over.
  28178. - Do not say we're fetching a certificate when we'll in fact skip it
  28179. because of a pending download.
  28180. Changes in version 0.2.1.6-alpha - 2008-09-30
  28181. Tor 0.2.1.6-alpha further improves performance and robustness of
  28182. hidden services, starts work on supporting per-country relay selection,
  28183. and fixes a variety of smaller issues.
  28184. o Major features:
  28185. - Implement proposal 121: make it possible to build hidden services
  28186. that only certain clients are allowed to connect to. This is
  28187. enforced at several points, so that unauthorized clients are unable
  28188. to send INTRODUCE cells to the service, or even (depending on the
  28189. type of authentication) to learn introduction points. This feature
  28190. raises the bar for certain kinds of active attacks against hidden
  28191. services. Code by Karsten Loesing.
  28192. - Relays now store and serve v2 hidden service descriptors by default,
  28193. i.e., the new default value for HidServDirectoryV2 is 1. This is
  28194. the last step in proposal 114, which aims to make hidden service
  28195. lookups more reliable.
  28196. - Start work to allow node restrictions to include country codes. The
  28197. syntax to exclude nodes in a country with country code XX is
  28198. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  28199. refinement to decide what config options should take priority if
  28200. you ask to both use a particular node and exclude it.
  28201. - Allow ExitNodes list to include IP ranges and country codes, just
  28202. like the Exclude*Nodes lists. Patch from Robert Hogan.
  28203. o Major bugfixes:
  28204. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  28205. Tor to fail to start if you had it configured to use a bridge
  28206. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  28207. - When extending a circuit to a hidden service directory to upload a
  28208. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  28209. requests failed, because the router descriptor had not been
  28210. downloaded yet. In these cases, we now wait until the router
  28211. descriptor is downloaded, and then retry. Likewise, clients
  28212. now skip over a hidden service directory if they don't yet have
  28213. its router descriptor, rather than futilely requesting it and
  28214. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  28215. on 0.2.0.10-alpha.
  28216. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  28217. we were failing the whole hidden service request when the v0
  28218. descriptor fetch fails, even if the v2 fetch is still pending and
  28219. might succeed. Similarly, if the last v2 fetch fails, we were
  28220. failing the whole hidden service request even if a v0 fetch is
  28221. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  28222. - DNS replies need to have names matching their requests, but
  28223. these names should be in the questions section, not necessarily
  28224. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  28225. o Minor features:
  28226. - Update to the "September 1 2008" ip-to-country file.
  28227. - Allow ports 465 and 587 in the default exit policy again. We had
  28228. rejected them in 0.1.0.15, because back in 2005 they were commonly
  28229. misconfigured and ended up as spam targets. We hear they are better
  28230. locked down these days.
  28231. - Use a lockfile to make sure that two Tor processes are not
  28232. simultaneously running with the same datadir.
  28233. - Serve the latest v3 networkstatus consensus via the control
  28234. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  28235. - Better logging about stability/reliability calculations on directory
  28236. servers.
  28237. - Drop the requirement to have an open dir port for storing and
  28238. serving v2 hidden service descriptors.
  28239. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  28240. help debug WFU and MTBF calculations.
  28241. - Implement most of Proposal 152: allow specialized servers to permit
  28242. single-hop circuits, and clients to use those servers to build
  28243. single-hop circuits when using a specialized controller. Patch
  28244. from Josh Albrecht. Resolves feature request 768.
  28245. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  28246. people find host:port too confusing.
  28247. - Make TrackHostExit mappings expire a while after their last use, not
  28248. after their creation. Patch from Robert Hogan.
  28249. - Provide circuit purposes along with circuit events to the controller.
  28250. o Minor bugfixes:
  28251. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  28252. Reported by Tas.
  28253. - Fixed some memory leaks -- some quite frequent, some almost
  28254. impossible to trigger -- based on results from Coverity.
  28255. - When testing for libevent functions, set the LDFLAGS variable
  28256. correctly. Found by Riastradh.
  28257. - Fix an assertion bug in parsing policy-related options; possible fix
  28258. for bug 811.
  28259. - Catch and report a few more bootstrapping failure cases when Tor
  28260. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  28261. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  28262. bootstrapping with tunneled directory connections. Bugfix on
  28263. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  28264. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  28265. and we know that server B rejects most-but-not all connections to
  28266. port 80, we would previously reject the connection. Now, we assume
  28267. the user knows what they were asking for. Fixes bug 752. Bugfix
  28268. on 0.0.9rc5. Diagnosed by BarkerJr.
  28269. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  28270. service directories if they have no advertised dir port. Bugfix
  28271. on 0.2.0.10-alpha.
  28272. - If we overrun our per-second write limits a little, count this as
  28273. having used up our write allocation for the second, and choke
  28274. outgoing directory writes. Previously, we had only counted this when
  28275. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  28276. Bugfix on 0.2.0.x (??).
  28277. - Avoid a "0 divided by 0" calculation when calculating router uptime
  28278. at directory authorities. Bugfix on 0.2.0.8-alpha.
  28279. - Make DNS resolved controller events into "CLOSED", not
  28280. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  28281. bug 807.
  28282. - Fix a bug where an unreachable relay would establish enough
  28283. reachability testing circuits to do a bandwidth test -- if
  28284. we already have a connection to the middle hop of the testing
  28285. circuit, then it could establish the last hop by using the existing
  28286. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  28287. circuits no longer use entry guards in 0.2.1.3-alpha.
  28288. - If we have correct permissions on $datadir, we complain to stdout
  28289. and fail to start. But dangerous permissions on
  28290. $datadir/cached-status/ would cause us to open a log and complain
  28291. there. Now complain to stdout and fail to start in both cases. Fixes
  28292. bug 820, reported by seeess.
  28293. - Remove the old v2 directory authority 'lefkada' from the default
  28294. list. It has been gone for many months.
  28295. o Code simplifications and refactoring:
  28296. - Revise the connection_new functions so that a more typesafe variant
  28297. exists. This will work better with Coverity, and let us find any
  28298. actual mistakes we're making here.
  28299. - Refactor unit testing logic so that dmalloc can be used sensibly
  28300. with unit tests to check for memory leaks.
  28301. - Move all hidden-service related fields from connection and circuit
  28302. structure to substructures: this way they won't eat so much memory.
  28303. Changes in version 0.2.0.31 - 2008-09-03
  28304. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  28305. a big bug we're seeing where in rare cases traffic from one Tor stream
  28306. gets mixed into another stream, and fixes a variety of smaller issues.
  28307. o Major bugfixes:
  28308. - Make sure that two circuits can never exist on the same connection
  28309. with the same circuit ID, even if one is marked for close. This
  28310. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  28311. - Relays now reject risky extend cells: if the extend cell includes
  28312. a digest of all zeroes, or asks to extend back to the relay that
  28313. sent the extend cell, tear down the circuit. Ideas suggested
  28314. by rovv.
  28315. - If not enough of our entry guards are available so we add a new
  28316. one, we might use the new one even if it overlapped with the
  28317. current circuit's exit relay (or its family). Anonymity bugfix
  28318. pointed out by rovv.
  28319. o Minor bugfixes:
  28320. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  28321. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  28322. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  28323. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  28324. - Pick size of default geoip filename string correctly on windows.
  28325. Fixes bug 806. Bugfix on 0.2.0.30.
  28326. - Make the autoconf script accept the obsolete --with-ssl-dir
  28327. option as an alias for the actually-working --with-openssl-dir
  28328. option. Fix the help documentation to recommend --with-openssl-dir.
  28329. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  28330. - When using the TransPort option on OpenBSD, and using the User
  28331. option to change UID and drop privileges, make sure to open
  28332. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  28333. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  28334. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  28335. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  28336. on the client side when connecting to a hidden service. Bugfix
  28337. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  28338. - When closing an application-side connection because its circuit is
  28339. getting torn down, generate the stream event correctly. Bugfix on
  28340. 0.1.2.x. Anonymous patch.
  28341. Changes in version 0.2.1.5-alpha - 2008-08-31
  28342. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  28343. in a lot of the infrastructure for adding authorization to hidden
  28344. services, lays the groundwork for having clients read their load
  28345. balancing information out of the networkstatus consensus rather than
  28346. the individual router descriptors, addresses two potential anonymity
  28347. issues, and fixes a variety of smaller issues.
  28348. o Major features:
  28349. - Convert many internal address representations to optionally hold
  28350. IPv6 addresses.
  28351. - Generate and accept IPv6 addresses in many protocol elements.
  28352. - Make resolver code handle nameservers located at ipv6 addresses.
  28353. - Begin implementation of proposal 121 ("Client authorization for
  28354. hidden services"): configure hidden services with client
  28355. authorization, publish descriptors for them, and configure
  28356. authorization data for hidden services at clients. The next
  28357. step is to actually access hidden services that perform client
  28358. authorization.
  28359. - More progress toward proposal 141: Network status consensus
  28360. documents and votes now contain bandwidth information for each
  28361. router and a summary of that router's exit policy. Eventually this
  28362. will be used by clients so that they do not have to download every
  28363. known descriptor before building circuits.
  28364. o Major bugfixes (on 0.2.0.x and before):
  28365. - When sending CREATED cells back for a given circuit, use a 64-bit
  28366. connection ID to find the right connection, rather than an addr:port
  28367. combination. Now that we can have multiple OR connections between
  28368. the same ORs, it is no longer possible to use addr:port to uniquely
  28369. identify a connection.
  28370. - Relays now reject risky extend cells: if the extend cell includes
  28371. a digest of all zeroes, or asks to extend back to the relay that
  28372. sent the extend cell, tear down the circuit. Ideas suggested
  28373. by rovv.
  28374. - If not enough of our entry guards are available so we add a new
  28375. one, we might use the new one even if it overlapped with the
  28376. current circuit's exit relay (or its family). Anonymity bugfix
  28377. pointed out by rovv.
  28378. o Minor bugfixes:
  28379. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  28380. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  28381. - When using the TransPort option on OpenBSD, and using the User
  28382. option to change UID and drop privileges, make sure to open /dev/pf
  28383. before dropping privileges. Fixes bug 782. Patch from Christopher
  28384. Davis. Bugfix on 0.1.2.1-alpha.
  28385. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  28386. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  28387. - Add a missing safe_str() call for a debug log message.
  28388. - Use 64 bits instead of 32 bits for connection identifiers used with
  28389. the controller protocol, to greatly reduce risk of identifier reuse.
  28390. - Make the autoconf script accept the obsolete --with-ssl-dir
  28391. option as an alias for the actually-working --with-openssl-dir
  28392. option. Fix the help documentation to recommend --with-openssl-dir.
  28393. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  28394. o Minor features:
  28395. - Rate-limit too-many-sockets messages: when they happen, they happen
  28396. a lot. Resolves bug 748.
  28397. - Resist DNS poisoning a little better by making sure that names in
  28398. answer sections match.
  28399. - Print the SOCKS5 error message string as well as the error code
  28400. when a tor-resolve request fails. Patch from Jacob.
  28401. Changes in version 0.2.1.4-alpha - 2008-08-04
  28402. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  28403. o Major bugfixes:
  28404. - The address part of exit policies was not correctly written
  28405. to router descriptors. This generated router descriptors that failed
  28406. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  28407. on 0.2.1.3-alpha.
  28408. - Tor triggered a false assert when extending a circuit to a relay
  28409. but we already have a connection open to that relay. Noticed by
  28410. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  28411. o Minor bugfixes:
  28412. - Fix a hidden service logging bug: in some edge cases, the router
  28413. descriptor of a previously picked introduction point becomes
  28414. obsolete and we need to give up on it rather than continually
  28415. complaining that it has become obsolete. Observed by xiando. Bugfix
  28416. on 0.2.1.3-alpha.
  28417. o Removed features:
  28418. - Take out the TestVia config option, since it was a workaround for
  28419. a bug that was fixed in Tor 0.1.1.21.
  28420. Changes in version 0.2.1.3-alpha - 2008-08-03
  28421. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  28422. infinite-length circuit attacks (see proposal 110); fixes a bug that
  28423. might cause exit relays to corrupt streams they send back; allows
  28424. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  28425. ExcludeExitNodes config options; and fixes a big pile of bugs.
  28426. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  28427. - Send a bootstrap problem "warn" event on the first problem if the
  28428. reason is NO_ROUTE (that is, our network is down).
  28429. o Major features:
  28430. - Implement most of proposal 110: The first K cells to be sent
  28431. along a circuit are marked as special "early" cells; only K "early"
  28432. cells will be allowed. Once this code is universal, we can block
  28433. certain kinds of DOS attack by requiring that EXTEND commands must
  28434. be sent using an "early" cell.
  28435. o Major bugfixes:
  28436. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  28437. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  28438. on the client side when connecting to a hidden service. Bugfix
  28439. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  28440. - Ensure that two circuits can never exist on the same connection
  28441. with the same circuit ID, even if one is marked for close. This
  28442. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  28443. o Minor features:
  28444. - When relays do their initial bandwidth measurement, don't limit
  28445. to just our entry guards for the test circuits. Otherwise we tend
  28446. to have multiple test circuits going through a single entry guard,
  28447. which makes our bandwidth test less accurate. Fixes part of bug 654;
  28448. patch contributed by Josh Albrecht.
  28449. - Add an ExcludeExitNodes option so users can list a set of nodes
  28450. that should be be excluded from the exit node position, but
  28451. allowed elsewhere. Implements proposal 151.
  28452. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  28453. ExcludeNodes and ExcludeExitNodes lists.
  28454. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  28455. be more efficient. Formerly it was quadratic in the number of
  28456. servers; now it should be linear. Fixes bug 509.
  28457. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  28458. and n_conn_id_digest fields into a separate structure that's
  28459. only needed when the circuit has not yet attached to an n_conn.
  28460. o Minor bugfixes:
  28461. - Change the contrib/tor.logrotate script so it makes the new
  28462. logs as "_tor:_tor" rather than the default, which is generally
  28463. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  28464. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  28465. warnings (occasionally), but it can also cause the compiler to
  28466. eliminate error-checking code. Suggested by Peter Gutmann.
  28467. - When a hidden service is giving up on an introduction point candidate
  28468. that was not included in the last published rendezvous descriptor,
  28469. don't reschedule publication of the next descriptor. Fixes bug 763.
  28470. Bugfix on 0.0.9.3.
  28471. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  28472. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  28473. and nobody claims to be using them. Fixes bug 754. Bugfix on
  28474. 0.1.0.1-rc. Patch from Christian Wilms.
  28475. - Fix a small alignment and memory-wasting bug on buffer chunks.
  28476. Spotted by rovv.
  28477. o Minor bugfixes (controller):
  28478. - When closing an application-side connection because its circuit
  28479. is getting torn down, generate the stream event correctly.
  28480. Bugfix on 0.1.2.x. Anonymous patch.
  28481. o Removed features:
  28482. - Remove all backward-compatibility code to support relays running
  28483. versions of Tor so old that they no longer work at all on the
  28484. Tor network.
  28485. Changes in version 0.2.0.30 - 2008-07-15
  28486. o Minor bugfixes:
  28487. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  28488. warnings (occasionally), but it can also cause the compiler to
  28489. eliminate error-checking code. Suggested by Peter Gutmann.
  28490. Changes in version 0.2.0.29-rc - 2008-07-08
  28491. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  28492. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  28493. o Major bugfixes:
  28494. - If you have more than one bridge but don't know their keys,
  28495. you would only launch a request for the descriptor of the first one
  28496. on your list. (Tor considered launching requests for the others, but
  28497. found that it already had a connection on the way for $0000...0000
  28498. so it didn't open another.) Bugfix on 0.2.0.x.
  28499. - If you have more than one bridge but don't know their keys, and the
  28500. connection to one of the bridges failed, you would cancel all
  28501. pending bridge connections. (After all, they all have the same
  28502. digest.) Bugfix on 0.2.0.x.
  28503. - When a hidden service was trying to establish an introduction point,
  28504. and Tor had built circuits preemptively for such purposes, we
  28505. were ignoring all the preemptive circuits and launching a new one
  28506. instead. Bugfix on 0.2.0.14-alpha.
  28507. - When a hidden service was trying to establish an introduction point,
  28508. and Tor *did* manage to reuse one of the preemptively built
  28509. circuits, it didn't correctly remember which one it used,
  28510. so it asked for another one soon after, until there were no
  28511. more preemptive circuits, at which point it launched one from
  28512. scratch. Bugfix on 0.0.9.x.
  28513. - Make directory servers include the X-Your-Address-Is: http header in
  28514. their responses even for begin_dir conns. Now clients who only
  28515. ever use begin_dir connections still have a way to learn their IP
  28516. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  28517. o Minor bugfixes:
  28518. - Fix a macro/CPP interaction that was confusing some compilers:
  28519. some GCCs don't like #if/#endif pairs inside macro arguments.
  28520. Fixes bug 707.
  28521. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  28522. Fixes bug 704; fix from Steven Murdoch.
  28523. - When opening /dev/null in finish_daemonize(), do not pass the
  28524. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  28525. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  28526. - Correctly detect transparent proxy support on Linux hosts that
  28527. require in.h to be included before netfilter_ipv4.h. Patch
  28528. from coderman.
  28529. - Disallow session resumption attempts during the renegotiation
  28530. stage of the v2 handshake protocol. Clients should never be trying
  28531. session resumption at this point, but apparently some did, in
  28532. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  28533. found by Geoff Goodell.
  28534. Changes in version 0.2.1.2-alpha - 2008-06-20
  28535. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  28536. make it easier to set up your own private Tor network; fixes several
  28537. big bugs with using more than one bridge relay; fixes a big bug with
  28538. offering hidden services quickly after Tor starts; and uses a better
  28539. API for reporting potential bootstrapping problems to the controller.
  28540. o Major features:
  28541. - New TestingTorNetwork config option to allow adjustment of
  28542. previously constant values that, while reasonable, could slow
  28543. bootstrapping. Implements proposal 135. Patch from Karsten.
  28544. o Major bugfixes:
  28545. - If you have more than one bridge but don't know their digests,
  28546. you would only learn a request for the descriptor of the first one
  28547. on your list. (Tor considered launching requests for the others, but
  28548. found that it already had a connection on the way for $0000...0000
  28549. so it didn't open another.) Bugfix on 0.2.0.x.
  28550. - If you have more than one bridge but don't know their digests,
  28551. and the connection to one of the bridges failed, you would cancel
  28552. all pending bridge connections. (After all, they all have the
  28553. same digest.) Bugfix on 0.2.0.x.
  28554. - When establishing a hidden service, introduction points that
  28555. originate from cannibalized circuits are completely ignored and not
  28556. included in rendezvous service descriptors. This might be another
  28557. reason for delay in making a hidden service available. Bugfix
  28558. from long ago (0.0.9.x?)
  28559. o Minor features:
  28560. - Allow OpenSSL to use dynamic locks if it wants.
  28561. - When building a consensus, do not include routers that are down.
  28562. This will cut down 30% to 40% on consensus size. Implements
  28563. proposal 138.
  28564. - In directory authorities' approved-routers files, allow
  28565. fingerprints with or without space.
  28566. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  28567. controller can query our current bootstrap state in case it attaches
  28568. partway through and wants to catch up.
  28569. - Send an initial "Starting" bootstrap status event, so we have a
  28570. state to start out in.
  28571. o Minor bugfixes:
  28572. - Asking for a conditional consensus at .../consensus/<fingerprints>
  28573. would crash a dirserver if it did not already have a
  28574. consensus. Bugfix on 0.2.1.1-alpha.
  28575. - Clean up some macro/CPP interactions: some GCC versions don't like
  28576. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  28577. 0.2.0.x.
  28578. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  28579. - Directory authorities shouldn't complain about bootstrapping
  28580. problems just because they do a lot of reachability testing and
  28581. some of the connection attempts fail.
  28582. - Start sending "count" and "recommendation" key/value pairs in
  28583. bootstrap problem status events, so the controller can hear about
  28584. problems even before Tor decides they're worth reporting for sure.
  28585. - If you're using bridges, generate "bootstrap problem" warnings
  28586. as soon as you run out of working bridges, rather than waiting
  28587. for ten failures -- which will never happen if you have less than
  28588. ten bridges.
  28589. - If we close our OR connection because there's been a circuit
  28590. pending on it for too long, we were telling our bootstrap status
  28591. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  28592. Changes in version 0.2.1.1-alpha - 2008-06-13
  28593. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  28594. were making the Tor process bloat especially on Linux; makes our TLS
  28595. handshake blend in better; sends "bootstrap phase" status events to
  28596. the controller, so it can keep the user informed of progress (and
  28597. problems) fetching directory information and establishing circuits;
  28598. and adds a variety of smaller features.
  28599. o Major features:
  28600. - More work on making our TLS handshake blend in: modify the list
  28601. of ciphers advertised by OpenSSL in client mode to even more
  28602. closely resemble a common web browser. We cheat a little so that
  28603. we can advertise ciphers that the locally installed OpenSSL doesn't
  28604. know about.
  28605. - Start sending "bootstrap phase" status events to the controller,
  28606. so it can keep the user informed of progress fetching directory
  28607. information and establishing circuits. Also inform the controller
  28608. if we think we're stuck at a particular bootstrap phase. Implements
  28609. proposal 137.
  28610. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  28611. cross-platform entropy collection again. We used to use it, then
  28612. stopped using it because of a bug that could crash systems that
  28613. called RAND_poll when they had a lot of fds open. It looks like the
  28614. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  28615. at startup, and to call RAND_poll() when we reseed later only if
  28616. we have a non-buggy OpenSSL version.
  28617. o Major bugfixes:
  28618. - When we choose to abandon a new entry guard because we think our
  28619. older ones might be better, close any circuits pending on that
  28620. new entry guard connection. This fix should make us recover much
  28621. faster when our network is down and then comes back. Bugfix on
  28622. 0.1.2.8-beta; found by lodger.
  28623. o Memory fixes and improvements:
  28624. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  28625. to avoid unused RAM in buffer chunks and memory pools.
  28626. - Speed up parsing and cut down on memory fragmentation by using
  28627. stack-style allocations for parsing directory objects. Previously,
  28628. this accounted for over 40% of allocations from within Tor's code
  28629. on a typical directory cache.
  28630. - Use a Bloom filter rather than a digest-based set to track which
  28631. descriptors we need to keep around when we're cleaning out old
  28632. router descriptors. This speeds up the computation significantly,
  28633. and may reduce fragmentation.
  28634. - Reduce the default smartlist size from 32 to 16; it turns out that
  28635. most smartlists hold around 8-12 elements tops.
  28636. - Make dumpstats() log the fullness and size of openssl-internal
  28637. buffers.
  28638. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  28639. patch to their OpenSSL, turn it on to save memory on servers. This
  28640. patch will (with any luck) get included in a mainline distribution
  28641. before too long.
  28642. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  28643. compress cells, which are basically all encrypted, compressed,
  28644. or both.
  28645. o Minor bugfixes:
  28646. - Stop reloading the router list from disk for no reason when we
  28647. run out of reachable directory mirrors. Once upon a time reloading
  28648. it would set the 'is_running' flag back to 1 for them. It hasn't
  28649. done that for a long time.
  28650. - In very rare situations new hidden service descriptors were
  28651. published earlier than 30 seconds after the last change to the
  28652. service. (We currently think that a hidden service descriptor
  28653. that's been stable for 30 seconds is worth publishing.)
  28654. o Minor features:
  28655. - Allow separate log levels to be configured for different logging
  28656. domains. For example, this allows one to log all notices, warnings,
  28657. or errors, plus all memory management messages of level debug or
  28658. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  28659. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  28660. and stop using a warning that had become unfixably verbose under
  28661. GCC 4.3.
  28662. - New --hush command-line option similar to --quiet. While --quiet
  28663. disables all logging to the console on startup, --hush limits the
  28664. output to messages of warning and error severity.
  28665. - Servers support a new URL scheme for consensus downloads that
  28666. allows the client to specify which authorities are trusted.
  28667. The server then only sends the consensus if the client will trust
  28668. it. Otherwise a 404 error is sent back. Clients use this
  28669. new scheme when the server supports it (meaning it's running
  28670. 0.2.1.1-alpha or later). Implements proposal 134.
  28671. - New configure/torrc options (--enable-geoip-stats,
  28672. DirRecordUsageByCountry) to record how many IPs we've served
  28673. directory info to in each country code, how many status documents
  28674. total we've sent to each country code, and what share of the total
  28675. directory requests we should expect to see.
  28676. - Use the TLS1 hostname extension to more closely resemble browser
  28677. behavior.
  28678. - Lots of new unit tests.
  28679. - Add a macro to implement the common pattern of iterating through
  28680. two parallel lists in lockstep.
  28681. Changes in version 0.2.0.28-rc - 2008-06-13
  28682. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  28683. performance bug, and fixes a bunch of smaller bugs.
  28684. o Anonymity fixes:
  28685. - Fix a bug where, when we were choosing the 'end stream reason' to
  28686. put in our relay end cell that we send to the exit relay, Tor
  28687. clients on Windows were sometimes sending the wrong 'reason'. The
  28688. anonymity problem is that exit relays may be able to guess whether
  28689. the client is running Windows, thus helping partition the anonymity
  28690. set. Down the road we should stop sending reasons to exit relays,
  28691. or otherwise prevent future versions of this bug.
  28692. o Major bugfixes:
  28693. - While setting up a hidden service, some valid introduction circuits
  28694. were overlooked and abandoned. This might be the reason for
  28695. the long delay in making a hidden service available. Bugfix on
  28696. 0.2.0.14-alpha.
  28697. o Minor features:
  28698. - Update to the "June 9 2008" ip-to-country file.
  28699. - Run 'make test' as part of 'make dist', so we stop releasing so
  28700. many development snapshots that fail their unit tests.
  28701. o Minor bugfixes:
  28702. - When we're checking if we have enough dir info for each relay
  28703. to begin establishing circuits, make sure that we actually have
  28704. the descriptor listed in the consensus, not just any descriptor.
  28705. Bugfix on 0.1.2.x.
  28706. - Bridge relays no longer print "xx=0" in their extrainfo document
  28707. for every single country code in the geoip db. Bugfix on
  28708. 0.2.0.27-rc.
  28709. - Only warn when we fail to load the geoip file if we were planning to
  28710. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  28711. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  28712. Tor won't realize it should publish a new relay descriptor. Fixes
  28713. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  28714. - When we haven't had any application requests lately, don't bother
  28715. logging that we have expired a bunch of descriptors. Bugfix
  28716. on 0.1.2.x.
  28717. - Make relay cells written on a connection count as non-padding when
  28718. tracking how long a connection has been in use. Bugfix on
  28719. 0.2.0.1-alpha. Spotted by lodger.
  28720. - Fix unit tests in 0.2.0.27-rc.
  28721. - Fix compile on Windows.
  28722. Changes in version 0.2.0.27-rc - 2008-06-03
  28723. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  28724. release candidates. In particular, we now include an IP-to-country
  28725. GeoIP database, so controllers can easily look up what country a
  28726. given relay is in, and so bridge relays can give us some sanitized
  28727. summaries about which countries are making use of bridges. (See proposal
  28728. 126-geoip-fetching.txt for details.)
  28729. o Major features:
  28730. - Include an IP-to-country GeoIP file in the tarball, so bridge
  28731. relays can report sanitized summaries of the usage they're seeing.
  28732. o Minor features:
  28733. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  28734. Robert Hogan. Fixes the first part of bug 681.
  28735. - Make bridge authorities never serve extrainfo docs.
  28736. - Add support to detect Libevent versions in the 1.4.x series
  28737. on mingw.
  28738. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  28739. - Include a new contrib/tor-exit-notice.html file that exit relay
  28740. operators can put on their website to help reduce abuse queries.
  28741. o Minor bugfixes:
  28742. - When tunneling an encrypted directory connection, and its first
  28743. circuit fails, do not leave it unattached and ask the controller
  28744. to deal. Fixes the second part of bug 681.
  28745. - Make bridge authorities correctly expire old extrainfo documents
  28746. from time to time.
  28747. Changes in version 0.2.0.26-rc - 2008-05-13
  28748. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  28749. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  28750. should upgrade, whether they're running Debian or not.
  28751. o Major security fixes:
  28752. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  28753. moria1 V3 directory authorities. The old keys were generated with
  28754. a vulnerable version of Debian's OpenSSL package, and must be
  28755. considered compromised. Other authorities' keys were not generated
  28756. with an affected version of OpenSSL.
  28757. o Major bugfixes:
  28758. - List authority signatures as "unrecognized" based on DirServer
  28759. lines, not on cert cache. Bugfix on 0.2.0.x.
  28760. o Minor features:
  28761. - Add a new V3AuthUseLegacyKey option to make it easier for
  28762. authorities to change their identity keys if they have to.
  28763. Changes in version 0.2.0.25-rc - 2008-04-23
  28764. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  28765. o Major bugfixes:
  28766. - Remember to initialize threading before initializing logging.
  28767. Otherwise, many BSD-family implementations will crash hard on
  28768. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  28769. o Minor bugfixes:
  28770. - Authorities correctly free policies on bad servers on
  28771. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  28772. Changes in version 0.2.0.24-rc - 2008-04-22
  28773. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  28774. v3 directory authority, makes relays with dynamic IP addresses and no
  28775. DirPort notice more quickly when their IP address changes, fixes a few
  28776. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  28777. o New directory authorities:
  28778. - Take lefkada out of the list of v3 directory authorities, since
  28779. it has been down for months.
  28780. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  28781. authority.
  28782. o Major bugfixes:
  28783. - Detect address changes more quickly on non-directory mirror
  28784. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  28785. o Minor features (security):
  28786. - Reject requests for reverse-dns lookup of names that are in
  28787. a private address space. Patch from lodger.
  28788. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  28789. from lodger.
  28790. o Minor bugfixes (crashes):
  28791. - Avoid a rare assert that can trigger when Tor doesn't have much
  28792. directory information yet and it tries to fetch a v2 hidden
  28793. service descriptor. Fixes bug 651, reported by nwf.
  28794. - Initialize log mutex before initializing dmalloc. Otherwise,
  28795. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  28796. - Use recursive pthread mutexes in order to avoid deadlock when
  28797. logging debug-level messages to a controller. Bug spotted by nwf,
  28798. bugfix on 0.2.0.16-alpha.
  28799. o Minor bugfixes (resource management):
  28800. - Keep address policies from leaking memory: start their refcount
  28801. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  28802. - Free authority certificates on exit, so they don't look like memory
  28803. leaks. Bugfix on 0.2.0.19-alpha.
  28804. - Free static hashtables for policy maps and for TLS connections on
  28805. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  28806. - Avoid allocating extra space when computing consensuses on 64-bit
  28807. platforms. Bug spotted by aakova.
  28808. o Minor bugfixes (misc):
  28809. - Do not read the configuration file when we've only been told to
  28810. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  28811. based on patch from Sebastian Hahn.
  28812. - Exit relays that are used as a client can now reach themselves
  28813. using the .exit notation, rather than just launching an infinite
  28814. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  28815. - When attempting to open a logfile fails, tell us why.
  28816. - Fix a dumb bug that was preventing us from knowing that we should
  28817. preemptively build circuits to handle expected directory requests.
  28818. Fixes bug 660. Bugfix on 0.1.2.x.
  28819. - Warn less verbosely about clock skew from netinfo cells from
  28820. untrusted sources. Fixes bug 663.
  28821. - Make controller stream events for DNS requests more consistent,
  28822. by adding "new stream" events for DNS requests, and removing
  28823. spurious "stream closed" events" for cached reverse resolves.
  28824. Patch from mwenge. Fixes bug 646.
  28825. - Correctly notify one-hop connections when a circuit build has
  28826. failed. Possible fix for bug 669. Found by lodger.
  28827. Changes in version 0.2.0.23-rc - 2008-03-24
  28828. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  28829. makes bootstrapping faster if the first directory mirror you contact
  28830. is down. The bundles also include the new Vidalia 0.1.2 release.
  28831. o Major bugfixes:
  28832. - When a tunneled directory request is made to a directory server
  28833. that's down, notice after 30 seconds rather than 120 seconds. Also,
  28834. fail any begindir streams that are pending on it, so they can
  28835. retry elsewhere. This was causing multi-minute delays on bootstrap.
  28836. Changes in version 0.2.0.22-rc - 2008-03-18
  28837. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  28838. enables encrypted directory connections by default for non-relays, fixes
  28839. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  28840. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  28841. o Major features:
  28842. - Enable encrypted directory connections by default for non-relays,
  28843. so censor tools that block Tor directory connections based on their
  28844. plaintext patterns will no longer work. This means Tor works in
  28845. certain censored countries by default again.
  28846. o Major bugfixes:
  28847. - Make sure servers always request certificates from clients during
  28848. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  28849. - Do not enter a CPU-eating loop when a connection is closed in
  28850. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  28851. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  28852. - Fix assertion failure that could occur when a blocked circuit
  28853. became unblocked, and it had pending client DNS requests. Bugfix
  28854. on 0.2.0.1-alpha. Fixes bug 632.
  28855. o Minor bugfixes (on 0.1.2.x):
  28856. - Generate "STATUS_SERVER" events rather than misspelled
  28857. "STATUS_SEVER" events. Caught by mwenge.
  28858. - When counting the number of bytes written on a TLS connection,
  28859. look at the BIO actually used for writing to the network, not
  28860. at the BIO used (sometimes) to buffer data for the network.
  28861. Looking at different BIOs could result in write counts on the
  28862. order of ULONG_MAX. Fixes bug 614.
  28863. - On Windows, correctly detect errors when listing the contents of
  28864. a directory. Fix from lodger.
  28865. o Minor bugfixes (on 0.2.0.x):
  28866. - Downgrade "sslv3 alert handshake failure" message to INFO.
  28867. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  28868. left BandwidthRate and BandwidthBurst at the default, we would be
  28869. silently limited by those defaults. Now raise them to match the
  28870. RelayBandwidth* values.
  28871. - Fix the SVK version detection logic to work correctly on a branch.
  28872. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  28873. CPUs. Fixes bug 625.
  28874. - Logging functions now check that the passed severity is sane.
  28875. - Use proper log levels in the testsuite call of
  28876. get_interface_address6().
  28877. - When using a nonstandard malloc, do not use the platform values for
  28878. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  28879. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  28880. 16k pages on ia64.
  28881. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  28882. - Avoid double-marked-for-close warning when certain kinds of invalid
  28883. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  28884. for bug 617. Bugfix on 0.2.0.1-alpha.
  28885. - Make sure that the "NULL-means-reject *:*" convention is followed by
  28886. all the policy manipulation functions, avoiding some possible crash
  28887. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  28888. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  28889. actually works, and doesn't warn about every single reverse lookup.
  28890. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  28891. o Minor features:
  28892. - Only log guard node status when guard node status has changed.
  28893. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  28894. make "INFO" 75% less verbose.
  28895. Changes in version 0.2.0.21-rc - 2008-03-02
  28896. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  28897. makes Tor work well with Vidalia again, fixes a rare assert bug,
  28898. and fixes a pair of more minor bugs. The bundles also include Vidalia
  28899. 0.1.0 and Torbutton 1.1.16.
  28900. o Major bugfixes:
  28901. - The control port should declare that it requires password auth
  28902. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  28903. bugfix on 0.2.0.20-rc. Fixes bug 615.
  28904. - Downgrade assert in connection_buckets_decrement() to a log message.
  28905. This may help us solve bug 614, and in any case will make its
  28906. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  28907. - We were sometimes miscounting the number of bytes read from the
  28908. network, causing our rate limiting to not be followed exactly.
  28909. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  28910. o Minor bugfixes:
  28911. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  28912. OpenSSL versions should have been working fine. Diagnosis and patch
  28913. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  28914. Bugfix on 0.2.0.20-rc.
  28915. Changes in version 0.2.0.20-rc - 2008-02-24
  28916. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  28917. makes more progress towards normalizing Tor's TLS handshake, makes
  28918. hidden services work better again, helps relays bootstrap if they don't
  28919. know their IP address, adds optional support for linking in openbsd's
  28920. allocator or tcmalloc, allows really fast relays to scale past 15000
  28921. sockets, and fixes a bunch of minor bugs reported by Veracode.
  28922. o Major features:
  28923. - Enable the revised TLS handshake based on the one designed by
  28924. Steven Murdoch in proposal 124, as revised in proposal 130. It
  28925. includes version negotiation for OR connections as described in
  28926. proposal 105. The new handshake is meant to be harder for censors
  28927. to fingerprint, and it adds the ability to detect certain kinds of
  28928. man-in-the-middle traffic analysis attacks. The version negotiation
  28929. feature will allow us to improve Tor's link protocol more safely
  28930. in the future.
  28931. - Choose which bridge to use proportional to its advertised bandwidth,
  28932. rather than uniformly at random. This should speed up Tor for
  28933. bridge users. Also do this for people who set StrictEntryNodes.
  28934. - When a TrackHostExits-chosen exit fails too many times in a row,
  28935. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  28936. o Major bugfixes:
  28937. - Resolved problems with (re-)fetching hidden service descriptors.
  28938. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  28939. and 0.2.0.19-alpha.
  28940. - If we only ever used Tor for hidden service lookups or posts, we
  28941. would stop building circuits and start refusing connections after
  28942. 24 hours, since we falsely believed that Tor was dormant. Reported
  28943. by nwf; bugfix on 0.1.2.x.
  28944. - Servers that don't know their own IP address should go to the
  28945. authorities for their first directory fetch, even if their DirPort
  28946. is off or if they don't know they're reachable yet. This will help
  28947. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  28948. - When counting the number of open sockets, count not only the number
  28949. of sockets we have received from the socket() call, but also
  28950. the number we've gotten from accept() and socketpair(). This bug
  28951. made us fail to count all sockets that we were using for incoming
  28952. connections. Bugfix on 0.2.0.x.
  28953. - Fix code used to find strings within buffers, when those strings
  28954. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  28955. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  28956. - Add a new __HashedControlSessionPassword option for controllers
  28957. to use for one-off session password hashes that shouldn't get
  28958. saved to disk by SAVECONF --- Vidalia users were accumulating a
  28959. pile of HashedControlPassword lines in their torrc files, one for
  28960. each time they had restarted Tor and then clicked Save. Make Tor
  28961. automatically convert "HashedControlPassword" to this new option but
  28962. only when it's given on the command line. Partial fix for bug 586.
  28963. o Minor features (performance):
  28964. - Tune parameters for cell pool allocation to minimize amount of
  28965. RAM overhead used.
  28966. - Add OpenBSD malloc code from phk as an optional malloc
  28967. replacement on Linux: some glibc libraries do very poorly
  28968. with Tor's memory allocation patterns. Pass
  28969. --enable-openbsd-malloc to get the replacement malloc code.
  28970. - Add a --with-tcmalloc option to the configure script to link
  28971. against tcmalloc (if present). Does not yet search for
  28972. non-system include paths.
  28973. - Stop imposing an arbitrary maximum on the number of file descriptors
  28974. used for busy servers. Bug reported by Olaf Selke; patch from
  28975. Sebastian Hahn.
  28976. o Minor features (other):
  28977. - When SafeLogging is disabled, log addresses along with all TLS
  28978. errors.
  28979. - When building with --enable-gcc-warnings, check for whether Apple's
  28980. warning "-Wshorten-64-to-32" is available.
  28981. - Add a --passphrase-fd argument to the tor-gencert command for
  28982. scriptability.
  28983. o Minor bugfixes (memory leaks and code problems):
  28984. - We were leaking a file descriptor if Tor started with a zero-length
  28985. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  28986. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  28987. Dan Kaminsky.
  28988. - We were comparing the raw BridgePassword entry with a base64'ed
  28989. version of it, when handling a "/tor/networkstatus-bridges"
  28990. directory request. Now compare correctly. Noticed by Veracode.
  28991. - Recover from bad tracked-since value in MTBF-history file.
  28992. Should fix bug 537.
  28993. - Alter the code that tries to recover from unhandled write
  28994. errors, to not try to flush onto a socket that's given us
  28995. unhandled errors. Bugfix on 0.1.2.x.
  28996. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  28997. tup. Bugfix on 0.2.0.3-alpha.
  28998. o Minor bugfixes (other):
  28999. - If we have an extra-info document for our server, always make
  29000. it available on the control port, even if we haven't gotten
  29001. a copy of it from an authority yet. Patch from mwenge.
  29002. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  29003. - Directory mirrors no longer include a guess at the client's IP
  29004. address if the connection appears to be coming from the same /24
  29005. network; it was producing too many wrong guesses.
  29006. - Make the new hidden service code respect the SafeLogging setting.
  29007. Bugfix on 0.2.0.x. Patch from Karsten.
  29008. - When starting as an authority, do not overwrite all certificates
  29009. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  29010. - If we're trying to flush the last bytes on a connection (for
  29011. example, when answering a directory request), reset the
  29012. time-to-give-up timeout every time we manage to write something
  29013. on the socket. Bugfix on 0.1.2.x.
  29014. - Change the behavior of "getinfo status/good-server-descriptor"
  29015. so it doesn't return failure when any authority disappears.
  29016. - Even though the man page said that "TrackHostExits ." should
  29017. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  29018. - Report TLS "zero return" case as a "clean close" and "IO error"
  29019. as a "close". Stop calling closes "unexpected closes": existing
  29020. Tors don't use SSL_close(), so having a connection close without
  29021. the TLS shutdown handshake is hardly unexpected.
  29022. - Send NAMESERVER_STATUS messages for a single failed nameserver
  29023. correctly.
  29024. o Code simplifications and refactoring:
  29025. - Remove the tor_strpartition function: its logic was confused,
  29026. and it was only used for one thing that could be implemented far
  29027. more easily.
  29028. Changes in version 0.2.0.19-alpha - 2008-02-09
  29029. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  29030. handshake, makes path selection for relays more secure and IP address
  29031. guessing more robust, and generally fixes a lot of bugs in preparation
  29032. for calling the 0.2.0 branch stable.
  29033. o Major features:
  29034. - Do not include recognizeable strings in the commonname part of
  29035. Tor's x509 certificates.
  29036. o Major bugfixes:
  29037. - If we're a relay, avoid picking ourselves as an introduction point,
  29038. a rendezvous point, or as the final hop for internal circuits. Bug
  29039. reported by taranis and lodger. Bugfix on 0.1.2.x.
  29040. - Patch from "Andrew S. Lists" to catch when we contact a directory
  29041. mirror at IP address X and he says we look like we're coming from
  29042. IP address X. Bugfix on 0.1.2.x.
  29043. o Minor features (security):
  29044. - Be more paranoid about overwriting sensitive memory on free(),
  29045. as a defensive programming tactic to ensure forward secrecy.
  29046. o Minor features (directory authority):
  29047. - Actually validate the options passed to AuthDirReject,
  29048. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  29049. - Reject router descriptors with out-of-range bandwidthcapacity or
  29050. bandwidthburst values.
  29051. o Minor features (controller):
  29052. - Reject controller commands over 1MB in length. This keeps rogue
  29053. processes from running us out of memory.
  29054. o Minor features (misc):
  29055. - Give more descriptive well-formedness errors for out-of-range
  29056. hidden service descriptor/protocol versions.
  29057. - Make memory debugging information describe more about history
  29058. of cell allocation, so we can help reduce our memory use.
  29059. o Deprecated features (controller):
  29060. - The status/version/num-versioning and status/version/num-concurring
  29061. GETINFO options are no longer useful in the v3 directory protocol:
  29062. treat them as deprecated, and warn when they're used.
  29063. o Minor bugfixes:
  29064. - When our consensus networkstatus has been expired for a while, stop
  29065. being willing to build circuits using it. Fixes bug 401. Bugfix
  29066. on 0.1.2.x.
  29067. - Directory caches now fetch certificates from all authorities
  29068. listed in a networkstatus consensus, even when they do not
  29069. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  29070. - When connecting to a bridge without specifying its key, insert
  29071. the connection into the identity-to-connection map as soon as
  29072. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  29073. - Detect versions of OS X where malloc_good_size() is present in the
  29074. library but never actually declared. Resolves bug 587. Bugfix
  29075. on 0.2.0.x.
  29076. - Stop incorrectly truncating zlib responses to directory authority
  29077. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  29078. - Stop recommending that every server operator send mail to tor-ops.
  29079. Resolves bug 597. Bugfix on 0.1.2.x.
  29080. - Don't trigger an assert if we start a directory authority with a
  29081. private IP address (like 127.0.0.1).
  29082. - Avoid possible failures when generating a directory with routers
  29083. with over-long versions strings, or too many flags set. Bugfix
  29084. on 0.1.2.x.
  29085. - If an attempt to launch a DNS resolve request over the control
  29086. port fails because we have overrun the limit on the number of
  29087. connections, tell the controller that the request has failed.
  29088. - Avoid using too little bandwidth when our clock skips a few
  29089. seconds. Bugfix on 0.1.2.x.
  29090. - Fix shell error when warning about missing packages in configure
  29091. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  29092. - Do not become confused when receiving a spurious VERSIONS-like
  29093. cell from a confused v1 client. Bugfix on 0.2.0.x.
  29094. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  29095. introduction points for a hidden service have failed. Patch from
  29096. Karsten Loesing. Bugfix on 0.2.0.x.
  29097. o Code simplifications and refactoring:
  29098. - Remove some needless generality from cpuworker code, for improved
  29099. type-safety.
  29100. - Stop overloading the circuit_t.onionskin field for both "onionskin
  29101. from a CREATE cell that we are waiting for a cpuworker to be
  29102. assigned" and "onionskin from an EXTEND cell that we are going to
  29103. send to an OR as soon as we are connected". Might help with bug 600.
  29104. - Add an in-place version of aes_crypt() so that we can avoid doing a
  29105. needless memcpy() call on each cell payload.
  29106. Changes in version 0.2.0.18-alpha - 2008-01-25
  29107. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  29108. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  29109. that can warn or reject connections to ports generally associated with
  29110. vulnerable-plaintext protocols.
  29111. o New directory authorities:
  29112. - Set up dannenberg (run by CCC) as the sixth v3 directory
  29113. authority.
  29114. o Major bugfixes:
  29115. - Fix a major memory leak when attempting to use the v2 TLS
  29116. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  29117. - We accidentally enabled the under-development v2 TLS handshake
  29118. code, which was causing log entries like "TLS error while
  29119. renegotiating handshake". Disable it again. Resolves bug 590.
  29120. - We were computing the wrong Content-Length: header for directory
  29121. responses that need to be compressed on the fly, causing clients
  29122. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  29123. fixes bug 593.
  29124. o Major features:
  29125. - Avoid going directly to the directory authorities even if you're a
  29126. relay, if you haven't found yourself reachable yet or if you've
  29127. decided not to advertise your dirport yet. Addresses bug 556.
  29128. - If we've gone 12 hours since our last bandwidth check, and we
  29129. estimate we have less than 50KB bandwidth capacity but we could
  29130. handle more, do another bandwidth test.
  29131. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  29132. Tor can warn and/or refuse connections to ports commonly used with
  29133. vulnerable-plaintext protocols. Currently we warn on ports 23,
  29134. 109, 110, and 143, but we don't reject any.
  29135. o Minor bugfixes:
  29136. - When we setconf ClientOnly to 1, close any current OR and Dir
  29137. listeners. Reported by mwenge.
  29138. - When we get a consensus that's been signed by more people than
  29139. we expect, don't log about it; it's not a big deal. Reported
  29140. by Kyle Williams.
  29141. o Minor features:
  29142. - Don't answer "/tor/networkstatus-bridges" directory requests if
  29143. the request isn't encrypted.
  29144. - Make "ClientOnly 1" config option disable directory ports too.
  29145. - Patches from Karsten Loesing to make v2 hidden services more
  29146. robust: work even when there aren't enough HSDir relays available;
  29147. retry when a v2 rend desc fetch fails; but don't retry if we
  29148. already have a usable v0 rend desc.
  29149. Changes in version 0.2.0.17-alpha - 2008-01-17
  29150. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  29151. o Compile fixes:
  29152. - Make the tor-gencert man page get included correctly in the tarball.
  29153. Changes in version 0.2.0.16-alpha - 2008-01-17
  29154. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  29155. Loesing, and generally cleans up a lot of features and minor bugs.
  29156. o New directory authorities:
  29157. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  29158. authority.
  29159. o Major performance improvements:
  29160. - Switch our old ring buffer implementation for one more like that
  29161. used by free Unix kernels. The wasted space in a buffer with 1mb
  29162. of data will now be more like 8k than 1mb. The new implementation
  29163. also avoids realloc();realloc(); patterns that can contribute to
  29164. memory fragmentation.
  29165. o Minor features:
  29166. - Configuration files now accept C-style strings as values. This
  29167. helps encode characters not allowed in the current configuration
  29168. file format, such as newline or #. Addresses bug 557.
  29169. - Although we fixed bug 539 (where servers would send HTTP status 503
  29170. responses _and_ send a body too), there are still servers out
  29171. there that haven't upgraded. Therefore, make clients parse such
  29172. bodies when they receive them.
  29173. - When we're not serving v2 directory information, there is no reason
  29174. to actually keep any around. Remove the obsolete files and directory
  29175. on startup if they are very old and we aren't going to serve them.
  29176. o Minor performance improvements:
  29177. - Reference-count and share copies of address policy entries; only 5%
  29178. of them were actually distinct.
  29179. - Never walk through the list of logs if we know that no log is
  29180. interested in a given message.
  29181. o Minor bugfixes:
  29182. - When an authority has not signed a consensus, do not try to
  29183. download a nonexistent "certificate with key 00000000". Bugfix
  29184. on 0.2.0.x. Fixes bug 569.
  29185. - Fix a rare assert error when we're closing one of our threads:
  29186. use a mutex to protect the list of logs, so we never write to the
  29187. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  29188. bug 575, which is kind of the revenge of bug 222.
  29189. - Patch from Karsten Loesing to complain less at both the client
  29190. and the relay when a relay used to have the HSDir flag but doesn't
  29191. anymore, and we try to upload a hidden service descriptor.
  29192. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  29193. 0.2.0.15-alpha.
  29194. - Do not try to download missing certificates until we have tried
  29195. to check our fallback consensus. Fixes bug 583.
  29196. - Make bridges round reported GeoIP stats info up to the nearest
  29197. estimate, not down. Now we can distinguish between "0 people from
  29198. this country" and "1 person from this country".
  29199. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  29200. - Avoid possible segfault if key generation fails in
  29201. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  29202. - Avoid segfault in the case where a badly behaved v2 versioning
  29203. directory sends a signed networkstatus with missing client-versions.
  29204. Bugfix on 0.1.2.
  29205. - Avoid segfaults on certain complex invocations of
  29206. router_get_by_hexdigest(). Bugfix on 0.1.2.
  29207. - Correct bad index on array access in parse_http_time(). Bugfix
  29208. on 0.2.0.
  29209. - Fix possible bug in vote generation when server versions are present
  29210. but client versions are not.
  29211. - Fix rare bug on REDIRECTSTREAM control command when called with no
  29212. port set: it could erroneously report an error when none had
  29213. happened.
  29214. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  29215. compressing large objects and find ourselves with more than 4k
  29216. left over. Bugfix on 0.2.0.
  29217. - Fix a small memory leak when setting up a hidden service.
  29218. - Fix a few memory leaks that could in theory happen under bizarre
  29219. error conditions.
  29220. - Fix an assert if we post a general-purpose descriptor via the
  29221. control port but that descriptor isn't mentioned in our current
  29222. network consensus. Bug reported by Jon McLachlan; bugfix on
  29223. 0.2.0.9-alpha.
  29224. o Minor features (controller):
  29225. - Get NS events working again. Patch from tup.
  29226. - The GETCONF command now escapes and quotes configuration values
  29227. that don't otherwise fit into the torrc file.
  29228. - The SETCONF command now handles quoted values correctly.
  29229. o Minor features (directory authorities):
  29230. - New configuration options to override default maximum number of
  29231. servers allowed on a single IP address. This is important for
  29232. running a test network on a single host.
  29233. - Actually implement the -s option to tor-gencert.
  29234. - Add a manual page for tor-gencert.
  29235. o Minor features (bridges):
  29236. - Bridge authorities no longer serve bridge descriptors over
  29237. unencrypted connections.
  29238. o Minor features (other):
  29239. - Add hidden services and DNSPorts to the list of things that make
  29240. Tor accept that it has running ports. Change starting Tor with no
  29241. ports from a fatal error to a warning; we might change it back if
  29242. this turns out to confuse anybody. Fixes bug 579.
  29243. Changes in version 0.1.2.19 - 2008-01-17
  29244. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  29245. exit policy a little bit more conservative so it's safer to run an
  29246. exit relay on a home system, and fixes a variety of smaller issues.
  29247. o Security fixes:
  29248. - Exit policies now reject connections that are addressed to a
  29249. relay's public (external) IP address too, unless
  29250. ExitPolicyRejectPrivate is turned off. We do this because too
  29251. many relays are running nearby to services that trust them based
  29252. on network address.
  29253. o Major bugfixes:
  29254. - When the clock jumps forward a lot, do not allow the bandwidth
  29255. buckets to become negative. Fixes bug 544.
  29256. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  29257. on every successful resolve. Reported by Mike Perry.
  29258. - Purge old entries from the "rephist" database and the hidden
  29259. service descriptor database even when DirPort is zero.
  29260. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  29261. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  29262. crashing or mis-answering these requests.
  29263. - When we decide to send a 503 response to a request for servers, do
  29264. not then also send the server descriptors: this defeats the whole
  29265. purpose. Fixes bug 539.
  29266. o Minor bugfixes:
  29267. - Changing the ExitPolicyRejectPrivate setting should cause us to
  29268. rebuild our server descriptor.
  29269. - Fix handling of hex nicknames when answering controller requests for
  29270. networkstatus by name, or when deciding whether to warn about
  29271. unknown routers in a config option. (Patch from mwenge.)
  29272. - Fix a couple of hard-to-trigger autoconf problems that could result
  29273. in really weird results on platforms whose sys/types.h files define
  29274. nonstandard integer types.
  29275. - Don't try to create the datadir when running --verify-config or
  29276. --hash-password. Resolves bug 540.
  29277. - If we were having problems getting a particular descriptor from the
  29278. directory caches, and then we learned about a new descriptor for
  29279. that router, we weren't resetting our failure count. Reported
  29280. by lodger.
  29281. - Although we fixed bug 539 (where servers would send HTTP status 503
  29282. responses _and_ send a body too), there are still servers out there
  29283. that haven't upgraded. Therefore, make clients parse such bodies
  29284. when they receive them.
  29285. - Run correctly on systems where rlim_t is larger than unsigned long.
  29286. This includes some 64-bit systems.
  29287. - Run correctly on platforms (like some versions of OS X 10.5) where
  29288. the real limit for number of open files is OPEN_FILES, not rlim_max
  29289. from getrlimit(RLIMIT_NOFILES).
  29290. - Avoid a spurious free on base64 failure.
  29291. - Avoid segfaults on certain complex invocations of
  29292. router_get_by_hexdigest().
  29293. - Fix rare bug on REDIRECTSTREAM control command when called with no
  29294. port set: it could erroneously report an error when none had
  29295. happened.
  29296. Changes in version 0.2.0.15-alpha - 2007-12-25
  29297. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  29298. features added in 0.2.0.13-alpha.
  29299. o Major bugfixes:
  29300. - Fix several remotely triggerable asserts based on DirPort requests
  29301. for a v2 or v3 networkstatus object before we were prepared. This
  29302. was particularly bad for 0.2.0.13 and later bridge relays, who
  29303. would never have a v2 networkstatus and would thus always crash
  29304. when used. Bugfixes on 0.2.0.x.
  29305. - Estimate the v3 networkstatus size more accurately, rather than
  29306. estimating it at zero bytes and giving it artificially high priority
  29307. compared to other directory requests. Bugfix on 0.2.0.x.
  29308. o Minor bugfixes:
  29309. - Fix configure.in logic for cross-compilation.
  29310. - When we load a bridge descriptor from the cache, and it was
  29311. previously unreachable, mark it as retriable so we won't just
  29312. ignore it. Also, try fetching a new copy immediately. Bugfixes
  29313. on 0.2.0.13-alpha.
  29314. - The bridge GeoIP stats were counting other relays, for example
  29315. self-reachability and authority-reachability tests.
  29316. o Minor features:
  29317. - Support compilation to target iPhone; patch from cjacker huang.
  29318. To build for iPhone, pass the --enable-iphone option to configure.
  29319. Changes in version 0.2.0.14-alpha - 2007-12-23
  29320. o Major bugfixes:
  29321. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  29322. without a datadirectory from a previous Tor install. Reported
  29323. by Zax.
  29324. - Fix a crash when we fetch a descriptor that turns out to be
  29325. unexpected (it used to be in our networkstatus when we started
  29326. fetching it, but it isn't in our current networkstatus), and we
  29327. aren't using bridges. Bugfix on 0.2.0.x.
  29328. - Fix a crash when accessing hidden services: it would work the first
  29329. time you use a given introduction point for your service, but
  29330. on subsequent requests we'd be using garbage memory. Fixed by
  29331. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  29332. - Fix a crash when we load a bridge descriptor from disk but we don't
  29333. currently have a Bridge line for it in our torrc. Bugfix on
  29334. 0.2.0.13-alpha.
  29335. o Major features:
  29336. - If bridge authorities set BridgePassword, they will serve a
  29337. snapshot of known bridge routerstatuses from their DirPort to
  29338. anybody who knows that password. Unset by default.
  29339. o Minor bugfixes:
  29340. - Make the unit tests build again.
  29341. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  29342. - Make PublishServerDescriptor default to 1, so the default doesn't
  29343. have to change as we invent new directory protocol versions.
  29344. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  29345. be included unless sys/time.h is already included. Fixes
  29346. bug 553. Bugfix on 0.2.0.x.
  29347. - If we receive a general-purpose descriptor and then receive an
  29348. identical bridge-purpose descriptor soon after, don't discard
  29349. the next one as a duplicate.
  29350. o Minor features:
  29351. - If BridgeRelay is set to 1, then the default for
  29352. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  29353. - If the user sets RelayBandwidthRate but doesn't set
  29354. RelayBandwidthBurst, then make them equal rather than erroring out.
  29355. Changes in version 0.2.0.13-alpha - 2007-12-21
  29356. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  29357. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  29358. upcoming features.
  29359. o New directory authorities:
  29360. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  29361. authority.
  29362. o Major bugfixes:
  29363. - Only update guard status (usable / not usable) once we have
  29364. enough directory information. This was causing us to always pick
  29365. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  29366. causing us to discard all our guards on startup if we hadn't been
  29367. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  29368. - Purge old entries from the "rephist" database and the hidden
  29369. service descriptor databases even when DirPort is zero. Bugfix
  29370. on 0.1.2.x.
  29371. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  29372. after opening a circuit -- even a relayed circuit. Bugfix on
  29373. 0.2.0.3-alpha.
  29374. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  29375. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  29376. crashing or mis-answering these types of requests.
  29377. - Relays were publishing their server descriptor to v1 and v2
  29378. directory authorities, but they didn't try publishing to v3-only
  29379. authorities. Fix this; and also stop publishing to v1 authorities.
  29380. Bugfix on 0.2.0.x.
  29381. - When we were reading router descriptors from cache, we were ignoring
  29382. the annotations -- so for example we were reading in bridge-purpose
  29383. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  29384. - When we decided to send a 503 response to a request for servers, we
  29385. were then also sending the server descriptors: this defeats the
  29386. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  29387. o Major features:
  29388. - Bridge relays now behave like clients with respect to time
  29389. intervals for downloading new consensus documents -- otherwise they
  29390. stand out. Bridge users now wait until the end of the interval,
  29391. so their bridge relay will be sure to have a new consensus document.
  29392. - Three new config options (AlternateDirAuthority,
  29393. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  29394. user selectively replace the default directory authorities by type,
  29395. rather than the all-or-nothing replacement that DirServer offers.
  29396. - Tor can now be configured to read a GeoIP file from disk in one
  29397. of two formats. This can be used by controllers to map IP addresses
  29398. to countries. Eventually, it may support exit-by-country.
  29399. - When possible, bridge relays remember which countries users
  29400. are coming from, and report aggregate information in their
  29401. extra-info documents, so that the bridge authorities can learn
  29402. where Tor is blocked.
  29403. - Bridge directory authorities now do reachability testing on the
  29404. bridges they know. They provide router status summaries to the
  29405. controller via "getinfo ns/purpose/bridge", and also dump summaries
  29406. to a file periodically.
  29407. - Stop fetching directory info so aggressively if your DirPort is
  29408. on but your ORPort is off; stop fetching v2 dir info entirely.
  29409. You can override these choices with the new FetchDirInfoEarly
  29410. config option.
  29411. o Minor bugfixes:
  29412. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  29413. consensus documents when there are too many relays at a single
  29414. IP address. Now clear it in v2 network status documents too, and
  29415. also clear it in routerinfo_t when the relay is no longer listed
  29416. in the relevant networkstatus document.
  29417. - Don't crash if we get an unexpected value for the
  29418. PublishServerDescriptor config option. Reported by Matt Edman;
  29419. bugfix on 0.2.0.9-alpha.
  29420. - Our new v2 hidden service descriptor format allows descriptors
  29421. that have no introduction points. But Tor crashed when we tried
  29422. to build a descriptor with no intro points (and it would have
  29423. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  29424. by Karsten Loesing.
  29425. - Fix building with dmalloc 5.5.2 with glibc.
  29426. - Reject uploaded descriptors and extrainfo documents if they're
  29427. huge. Otherwise we'll cache them all over the network and it'll
  29428. clog everything up. Reported by Aljosha Judmayer.
  29429. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  29430. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  29431. - When the DANGEROUS_VERSION controller status event told us we're
  29432. running an obsolete version, it used the string "OLD" to describe
  29433. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  29434. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  29435. - If we can't expand our list of entry guards (e.g. because we're
  29436. using bridges or we have StrictEntryNodes set), don't mark relays
  29437. down when they fail a directory request. Otherwise we're too quick
  29438. to mark all our entry points down. Bugfix on 0.1.2.x.
  29439. - Fix handling of hex nicknames when answering controller requests for
  29440. networkstatus by name, or when deciding whether to warn about unknown
  29441. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  29442. - Fix a couple of hard-to-trigger autoconf problems that could result
  29443. in really weird results on platforms whose sys/types.h files define
  29444. nonstandard integer types. Bugfix on 0.1.2.x.
  29445. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  29446. - Don't crash on name lookup when we have no current consensus. Fixes
  29447. bug 538; bugfix on 0.2.0.x.
  29448. - Only Tors that want to mirror the v2 directory info should
  29449. create the "cached-status" directory in their datadir. (All Tors
  29450. used to create it.) Bugfix on 0.2.0.9-alpha.
  29451. - Directory authorities should only automatically download Extra Info
  29452. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  29453. o Minor features:
  29454. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  29455. consumers. (We already do this on HUP.)
  29456. - Authorities and caches fetch the v2 networkstatus documents
  29457. less often, now that v3 is encouraged.
  29458. - Add a new config option BridgeRelay that specifies you want to
  29459. be a bridge relay. Right now the only difference is that it makes
  29460. you answer begin_dir requests, and it makes you cache dir info,
  29461. even if your DirPort isn't on.
  29462. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  29463. ask about source, timestamp of arrival, purpose, etc. We need
  29464. something like this to help Vidalia not do GeoIP lookups on bridge
  29465. addresses.
  29466. - Allow multiple HashedControlPassword config lines, to support
  29467. multiple controller passwords.
  29468. - Authorities now decide whether they're authoritative for a given
  29469. router based on the router's purpose.
  29470. - New config options AuthDirBadDir and AuthDirListBadDirs for
  29471. authorities to mark certain relays as "bad directories" in the
  29472. networkstatus documents. Also supports the "!baddir" directive in
  29473. the approved-routers file.
  29474. Changes in version 0.2.0.12-alpha - 2007-11-16
  29475. This twelfth development snapshot fixes some more build problems as
  29476. well as a few minor bugs.
  29477. o Compile fixes:
  29478. - Make it build on OpenBSD again. Patch from tup.
  29479. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  29480. package-building for Red Hat, OS X, etc.
  29481. o Minor bugfixes (on 0.1.2.x):
  29482. - Changing the ExitPolicyRejectPrivate setting should cause us to
  29483. rebuild our server descriptor.
  29484. o Minor bugfixes (on 0.2.0.x):
  29485. - When we're lacking a consensus, don't try to perform rendezvous
  29486. operations. Reported by Karsten Loesing.
  29487. - Fix a small memory leak whenever we decide against using a
  29488. newly picked entry guard. Reported by Mike Perry.
  29489. - When authorities detected more than two relays running on the same
  29490. IP address, they were clearing all the status flags but forgetting
  29491. to clear the "hsdir" flag. So clients were being told that a
  29492. given relay was the right choice for a v2 hsdir lookup, yet they
  29493. never had its descriptor because it was marked as 'not running'
  29494. in the consensus.
  29495. - If we're trying to fetch a bridge descriptor and there's no way
  29496. the bridge authority could help us (for example, we don't know
  29497. a digest, or there is no bridge authority), don't be so eager to
  29498. fall back to asking the bridge authority.
  29499. - If we're using bridges or have strictentrynodes set, and our
  29500. chosen exit is in the same family as all our bridges/entry guards,
  29501. then be flexible about families.
  29502. o Minor features:
  29503. - When we negotiate a v2 link-layer connection (not yet implemented),
  29504. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  29505. negotiated a v1 connection for their next step. Initial code for
  29506. proposal 110.
  29507. Changes in version 0.2.0.11-alpha - 2007-11-12
  29508. This eleventh development snapshot fixes some build problems with
  29509. the previous snapshot. It also includes a more secure-by-default exit
  29510. policy for relays, fixes an enormous memory leak for exit relays, and
  29511. fixes another bug where servers were falling out of the directory list.
  29512. o Security fixes:
  29513. - Exit policies now reject connections that are addressed to a
  29514. relay's public (external) IP address too, unless
  29515. ExitPolicyRejectPrivate is turned off. We do this because too
  29516. many relays are running nearby to services that trust them based
  29517. on network address. Bugfix on 0.1.2.x.
  29518. o Major bugfixes:
  29519. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  29520. on every successful resolve. Reported by Mike Perry; bugfix
  29521. on 0.1.2.x.
  29522. - On authorities, never downgrade to old router descriptors simply
  29523. because they're listed in the consensus. This created a catch-22
  29524. where we wouldn't list a new descriptor because there was an
  29525. old one in the consensus, and we couldn't get the new one in the
  29526. consensus because we wouldn't list it. Possible fix for bug 548.
  29527. Also, this might cause bug 543 to appear on authorities; if so,
  29528. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  29529. o Packaging fixes on 0.2.0.10-alpha:
  29530. - We were including instructions about what to do with the
  29531. src/config/fallback-consensus file, but we weren't actually
  29532. including it in the tarball. Disable all of that for now.
  29533. o Minor features:
  29534. - Allow people to say PreferTunnelledDirConns rather than
  29535. PreferTunneledDirConns, for those alternate-spellers out there.
  29536. o Minor bugfixes:
  29537. - Don't reevaluate all the information from our consensus document
  29538. just because we've downloaded a v2 networkstatus that we intend
  29539. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  29540. Changes in version 0.2.0.10-alpha - 2007-11-10
  29541. This tenth development snapshot adds a third v3 directory authority
  29542. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  29543. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  29544. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  29545. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  29546. addresses many more minor issues.
  29547. o New directory authorities:
  29548. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  29549. o Major features:
  29550. - Allow tunnelled directory connections to ask for an encrypted
  29551. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  29552. connection independently. Now we can make anonymized begin_dir
  29553. connections for (e.g.) more secure hidden service posting and
  29554. fetching.
  29555. - More progress on proposal 114: code from Karsten Loesing to
  29556. implement new hidden service descriptor format.
  29557. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  29558. accommodate the growing number of servers that use the default
  29559. and are reaching it.
  29560. - Directory authorities use a new formula for selecting which nodes
  29561. to advertise as Guards: they must be in the top 7/8 in terms of
  29562. how long we have known about them, and above the median of those
  29563. nodes in terms of weighted fractional uptime.
  29564. - Make "not enough dir info yet" warnings describe *why* Tor feels
  29565. it doesn't have enough directory info yet.
  29566. o Major bugfixes:
  29567. - Stop servers from crashing if they set a Family option (or
  29568. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  29569. by Fabian Keil.
  29570. - Make bridge users work again -- the move to v3 directories in
  29571. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  29572. no longer work for clients.
  29573. - When the clock jumps forward a lot, do not allow the bandwidth
  29574. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  29575. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  29576. - When the consensus lists a router descriptor that we previously were
  29577. mirroring, but that we considered non-canonical, reload the
  29578. descriptor as canonical. This fixes bug 543 where Tor servers
  29579. would start complaining after a few days that they don't have
  29580. enough directory information to build a circuit.
  29581. - Consider replacing the current consensus when certificates arrive
  29582. that make the pending consensus valid. Previously, we were only
  29583. considering replacement when the new certs _didn't_ help.
  29584. - Fix an assert error on startup if we didn't already have the
  29585. consensus and certs cached in our datadirectory: we were caching
  29586. the consensus in consensus_waiting_for_certs but then free'ing it
  29587. right after.
  29588. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  29589. Request) if we need more v3 certs but we've already got pending
  29590. requests for all of them.
  29591. - Correctly back off from failing certificate downloads. Fixes
  29592. bug 546.
  29593. - Authorities don't vote on the Running flag if they have been running
  29594. for less than 30 minutes themselves. Fixes bug 547, where a newly
  29595. started authority would vote that everyone was down.
  29596. o New requirements:
  29597. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  29598. it, it had no AES, and it hasn't seen any security patches since
  29599. 2004.
  29600. o Minor features:
  29601. - Clients now hold circuitless TLS connections open for 1.5 times
  29602. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  29603. rebuild a new circuit over them within that timeframe. Previously,
  29604. they held them open only for KeepalivePeriod (5 minutes).
  29605. - Use "If-Modified-Since" to avoid retrieving consensus
  29606. networkstatuses that we already have.
  29607. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  29608. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  29609. we start knowing some directory caches.
  29610. - When we receive a consensus from the future, warn about skew.
  29611. - Improve skew reporting: try to give the user a better log message
  29612. about how skewed they are, and how much this matters.
  29613. - When we have a certificate for an authority, believe that
  29614. certificate's claims about the authority's IP address.
  29615. - New --quiet command-line option to suppress the default console log.
  29616. Good in combination with --hash-password.
  29617. - Authorities send back an X-Descriptor-Not-New header in response to
  29618. an accepted-but-discarded descriptor upload. Partially implements
  29619. fix for bug 535.
  29620. - Make the log message for "tls error. breaking." more useful.
  29621. - Better log messages about certificate downloads, to attempt to
  29622. track down the second incarnation of bug 546.
  29623. o Minor features (bridges):
  29624. - If bridge users set UpdateBridgesFromAuthority, but the digest
  29625. they ask for is a 404 from the bridge authority, they now fall
  29626. back to trying the bridge directly.
  29627. - Bridges now use begin_dir to publish their server descriptor to
  29628. the bridge authority, even when they haven't set TunnelDirConns.
  29629. o Minor features (controller):
  29630. - When reporting clock skew, and we know that the clock is _at least
  29631. as skewed_ as some value, but we don't know the actual value,
  29632. report the value as a "minimum skew."
  29633. o Utilities:
  29634. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  29635. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  29636. Perry.
  29637. o Minor bugfixes:
  29638. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  29639. on 0.2.0.x, suggested by Matt Edman.
  29640. - Don't stop fetching descriptors when FetchUselessDescriptors is
  29641. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  29642. reported by tup and ioerror.
  29643. - Better log message on vote from unknown authority.
  29644. - Don't log "Launching 0 request for 0 router" message.
  29645. o Minor bugfixes (memory leaks):
  29646. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  29647. on 0.2.0.1-alpha.
  29648. - Stop leaking memory every time we load a v3 certificate. Bugfix
  29649. on 0.2.0.1-alpha. Fixes bug 536.
  29650. - Stop leaking a cached networkstatus on exit. Bugfix on
  29651. 0.2.0.3-alpha.
  29652. - Stop leaking voter information every time we free a consensus.
  29653. Bugfix on 0.2.0.3-alpha.
  29654. - Stop leaking signed data every time we check a voter signature.
  29655. Bugfix on 0.2.0.3-alpha.
  29656. - Stop leaking a signature every time we fail to parse a consensus or
  29657. a vote. Bugfix on 0.2.0.3-alpha.
  29658. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  29659. 0.2.0.9-alpha.
  29660. - Stop leaking conn->nickname every time we make a connection to a
  29661. Tor relay without knowing its expected identity digest (e.g. when
  29662. using bridges). Bugfix on 0.2.0.3-alpha.
  29663. - Minor bugfixes (portability):
  29664. - Run correctly on platforms where rlim_t is larger than unsigned
  29665. long, and/or where the real limit for number of open files is
  29666. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  29667. particular, these may be needed for OS X 10.5.
  29668. Changes in version 0.1.2.18 - 2007-10-28
  29669. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  29670. hidden service introduction that were causing huge delays, and a big
  29671. bug that was causing some servers to disappear from the network status
  29672. lists for a few hours each day.
  29673. o Major bugfixes (crashes):
  29674. - If a connection is shut down abruptly because of something that
  29675. happened inside connection_flushed_some(), do not call
  29676. connection_finished_flushing(). Should fix bug 451:
  29677. "connection_stop_writing: Assertion conn->write_event failed"
  29678. Bugfix on 0.1.2.7-alpha.
  29679. - Fix possible segfaults in functions called from
  29680. rend_process_relay_cell().
  29681. o Major bugfixes (hidden services):
  29682. - Hidden services were choosing introduction points uniquely by
  29683. hexdigest, but when constructing the hidden service descriptor
  29684. they merely wrote the (potentially ambiguous) nickname.
  29685. - Clients now use the v2 intro format for hidden service
  29686. connections: they specify their chosen rendezvous point by identity
  29687. digest rather than by (potentially ambiguous) nickname. These
  29688. changes could speed up hidden service connections dramatically.
  29689. o Major bugfixes (other):
  29690. - Stop publishing a new server descriptor just because we get a
  29691. HUP signal. This led (in a roundabout way) to some servers getting
  29692. dropped from the networkstatus lists for a few hours each day.
  29693. - When looking for a circuit to cannibalize, consider family as well
  29694. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  29695. circuit cannibalization).
  29696. - When a router wasn't listed in a new networkstatus, we were leaving
  29697. the flags for that router alone -- meaning it remained Named,
  29698. Running, etc -- even though absence from the networkstatus means
  29699. that it shouldn't be considered to exist at all anymore. Now we
  29700. clear all the flags for routers that fall out of the networkstatus
  29701. consensus. Fixes bug 529.
  29702. o Minor bugfixes:
  29703. - Don't try to access (or alter) the state file when running
  29704. --list-fingerprint or --verify-config or --hash-password. Resolves
  29705. bug 499.
  29706. - When generating information telling us how to extend to a given
  29707. router, do not try to include the nickname if it is
  29708. absent. Resolves bug 467.
  29709. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  29710. a way to trigger this remotely.)
  29711. - When sending a status event to the controller telling it that an
  29712. OR address is reachable, set the port correctly. (Previously we
  29713. were reporting the dir port.)
  29714. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  29715. command. Bugfix on 0.1.2.17.
  29716. - When loading bandwidth history, do not believe any information in
  29717. the future. Fixes bug 434.
  29718. - When loading entry guard information, do not believe any information
  29719. in the future.
  29720. - When we have our clock set far in the future and generate an
  29721. onion key, then re-set our clock to be correct, we should not stop
  29722. the onion key from getting rotated.
  29723. - On some platforms, accept() can return a broken address. Detect
  29724. this more quietly, and deal accordingly. Fixes bug 483.
  29725. - It's not actually an error to find a non-pending entry in the DNS
  29726. cache when canceling a pending resolve. Don't log unless stuff
  29727. is fishy. Resolves bug 463.
  29728. - Don't reset trusted dir server list when we set a configuration
  29729. option. Patch from Robert Hogan.
  29730. - Don't try to create the datadir when running --verify-config or
  29731. --hash-password. Resolves bug 540.
  29732. Changes in version 0.2.0.9-alpha - 2007-10-24
  29733. This ninth development snapshot switches clients to the new v3 directory
  29734. system; allows servers to be listed in the network status even when they
  29735. have the same nickname as a registered server; and fixes many other
  29736. bugs including a big one that was causing some servers to disappear
  29737. from the network status lists for a few hours each day.
  29738. o Major features (directory system):
  29739. - Clients now download v3 consensus networkstatus documents instead
  29740. of v2 networkstatus documents. Clients and caches now base their
  29741. opinions about routers on these consensus documents. Clients only
  29742. download router descriptors listed in the consensus.
  29743. - Authorities now list servers who have the same nickname as
  29744. a different named server, but list them with a new flag,
  29745. "Unnamed". Now we can list servers that happen to pick the same
  29746. nickname as a server that registered two years ago and then
  29747. disappeared. Partially implements proposal 122.
  29748. - If the consensus lists a router as "Unnamed", the name is assigned
  29749. to a different router: do not identify the router by that name.
  29750. Partially implements proposal 122.
  29751. - Authorities can now come to a consensus on which method to use to
  29752. compute the consensus. This gives us forward compatibility.
  29753. o Major bugfixes:
  29754. - Stop publishing a new server descriptor just because we HUP or
  29755. when we find our DirPort to be reachable but won't actually publish
  29756. it. New descriptors without any real changes are dropped by the
  29757. authorities, and can screw up our "publish every 18 hours" schedule.
  29758. Bugfix on 0.1.2.x.
  29759. - When a router wasn't listed in a new networkstatus, we were leaving
  29760. the flags for that router alone -- meaning it remained Named,
  29761. Running, etc -- even though absence from the networkstatus means
  29762. that it shouldn't be considered to exist at all anymore. Now we
  29763. clear all the flags for routers that fall out of the networkstatus
  29764. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  29765. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  29766. extrainfo documents and then discard them immediately for not
  29767. matching the latest router. Bugfix on 0.2.0.1-alpha.
  29768. o Minor features (v3 directory protocol):
  29769. - Allow tor-gencert to generate a new certificate without replacing
  29770. the signing key.
  29771. - Allow certificates to include an address.
  29772. - When we change our directory-cache settings, reschedule all voting
  29773. and download operations.
  29774. - Reattempt certificate downloads immediately on failure, as long as
  29775. we haven't failed a threshold number of times yet.
  29776. - Delay retrying consensus downloads while we're downloading
  29777. certificates to verify the one we just got. Also, count getting a
  29778. consensus that we already have (or one that isn't valid) as a failure,
  29779. and count failing to get the certificates after 20 minutes as a
  29780. failure.
  29781. - Build circuits and download descriptors even if our consensus is a
  29782. little expired. (This feature will go away once authorities are
  29783. more reliable.)
  29784. o Minor features (router descriptor cache):
  29785. - If we find a cached-routers file that's been sitting around for more
  29786. than 28 days unmodified, then most likely it's a leftover from
  29787. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  29788. routers anyway.
  29789. - When we (as a cache) download a descriptor because it was listed
  29790. in a consensus, remember when the consensus was supposed to expire,
  29791. and don't expire the descriptor until then.
  29792. o Minor features (performance):
  29793. - Call routerlist_remove_old_routers() much less often. This should
  29794. speed startup, especially on directory caches.
  29795. - Don't try to launch new descriptor downloads quite so often when we
  29796. already have enough directory information to build circuits.
  29797. - Base64 decoding was actually showing up on our profile when parsing
  29798. the initial descriptor file; switch to an in-process all-at-once
  29799. implementation that's about 3.5x times faster than calling out to
  29800. OpenSSL.
  29801. o Minor features (compilation):
  29802. - Detect non-ASCII platforms (if any still exist) and refuse to
  29803. build there: some of our code assumes that 'A' is 65 and so on.
  29804. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  29805. - Make the "next period" votes into "current period" votes immediately
  29806. after publishing the consensus; avoid a heisenbug that made them
  29807. stick around indefinitely.
  29808. - When we discard a vote as a duplicate, do not report this as
  29809. an error.
  29810. - Treat missing v3 keys or certificates as an error when running as a
  29811. v3 directory authority.
  29812. - When we're configured to be a v3 authority, but we're only listed
  29813. as a non-v3 authority in our DirServer line for ourself, correct
  29814. the listing.
  29815. - If an authority doesn't have a qualified hostname, just put
  29816. its address in the vote. This fixes the problem where we referred to
  29817. "moria on moria:9031."
  29818. - Distinguish between detached signatures for the wrong period, and
  29819. detached signatures for a divergent vote.
  29820. - Fix a small memory leak when computing a consensus.
  29821. - When there's no consensus, we were forming a vote every 30
  29822. minutes, but writing the "valid-after" line in our vote based
  29823. on our configured V3AuthVotingInterval: so unless the intervals
  29824. matched up, we immediately rejected our own vote because it didn't
  29825. start at the voting interval that caused us to construct a vote.
  29826. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  29827. - Delete unverified-consensus when the real consensus is set.
  29828. - Consider retrying a consensus networkstatus fetch immediately
  29829. after one fails: don't wait 60 seconds to notice.
  29830. - When fetching a consensus as a cache, wait until a newer consensus
  29831. should exist before trying to replace the current one.
  29832. - Use a more forgiving schedule for retrying failed consensus
  29833. downloads than for other types.
  29834. o Minor bugfixes (other directory issues):
  29835. - Correct the implementation of "download votes by digest." Bugfix on
  29836. 0.2.0.8-alpha.
  29837. - Authorities no longer send back "400 you're unreachable please fix
  29838. it" errors to Tor servers that aren't online all the time. We're
  29839. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  29840. o Minor bugfixes (controller):
  29841. - Don't reset trusted dir server list when we set a configuration
  29842. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  29843. - Respond to INT and TERM SIGNAL commands before we execute the
  29844. signal, in case the signal shuts us down. We had a patch in
  29845. 0.1.2.1-alpha that tried to do this by queueing the response on
  29846. the connection's buffer before shutting down, but that really
  29847. isn't the same thing at all. Bug located by Matt Edman.
  29848. o Minor bugfixes (misc):
  29849. - Correctly check for bad options to the "PublishServerDescriptor"
  29850. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  29851. - Stop leaking memory on failing case of base32_decode, and make
  29852. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  29853. - Don't try to download extrainfo documents when we're trying to
  29854. fetch enough directory info to build a circuit: having enough
  29855. info should get priority. Bugfix on 0.2.0.x.
  29856. - Don't complain that "your server has not managed to confirm that its
  29857. ports are reachable" if we haven't been able to build any circuits
  29858. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  29859. on 0.1.2.x.
  29860. - Detect the reason for failing to mmap a descriptor file we just
  29861. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  29862. on 0.1.2.x.
  29863. o Code simplifications and refactoring:
  29864. - Remove support for the old bw_accounting file: we've been storing
  29865. bandwidth accounting information in the state file since
  29866. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  29867. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  29868. downgrade to 0.1.1.x or earlier.
  29869. - New convenience code to locate a file within the DataDirectory.
  29870. - Move non-authority functionality out of dirvote.c.
  29871. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  29872. so that they all take the same named flags.
  29873. o Utilities
  29874. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  29875. Unix users an easy way to script their Tor process (e.g. by
  29876. adjusting bandwidth based on the time of the day).
  29877. Changes in version 0.2.0.8-alpha - 2007-10-12
  29878. This eighth development snapshot fixes a crash bug that's been bothering
  29879. us since February 2007, lets bridge authorities store a list of bridge
  29880. descriptors they've seen, gets v3 directory voting closer to working,
  29881. starts caching v3 directory consensus documents on directory mirrors,
  29882. and fixes a variety of smaller issues including some minor memory leaks.
  29883. o Major features (router descriptor cache):
  29884. - Store routers in a file called cached-descriptors instead of in
  29885. cached-routers. Initialize cached-descriptors from cached-routers
  29886. if the old format is around. The new format allows us to store
  29887. annotations along with descriptors.
  29888. - Use annotations to record the time we received each descriptor, its
  29889. source, and its purpose.
  29890. - Disable the SETROUTERPURPOSE controller command: it is now
  29891. obsolete.
  29892. - Controllers should now specify cache=no or cache=yes when using
  29893. the +POSTDESCRIPTOR command.
  29894. - Bridge authorities now write bridge descriptors to disk, meaning
  29895. we can export them to other programs and begin distributing them
  29896. to blocked users.
  29897. o Major features (directory authorities):
  29898. - When a v3 authority is missing votes or signatures, it now tries
  29899. to fetch them.
  29900. - Directory authorities track weighted fractional uptime as well as
  29901. weighted mean-time-between failures. WFU is suitable for deciding
  29902. whether a node is "usually up", while MTBF is suitable for deciding
  29903. whether a node is "likely to stay up." We need both, because
  29904. "usually up" is a good requirement for guards, while "likely to
  29905. stay up" is a good requirement for long-lived connections.
  29906. o Major features (v3 directory system):
  29907. - Caches now download v3 network status documents as needed,
  29908. and download the descriptors listed in them.
  29909. - All hosts now attempt to download and keep fresh v3 authority
  29910. certificates, and re-attempt after failures.
  29911. - More internal-consistency checks for vote parsing.
  29912. o Major bugfixes (crashes):
  29913. - If a connection is shut down abruptly because of something that
  29914. happened inside connection_flushed_some(), do not call
  29915. connection_finished_flushing(). Should fix bug 451. Bugfix on
  29916. 0.1.2.7-alpha.
  29917. o Major bugfixes (performance):
  29918. - Fix really bad O(n^2) performance when parsing a long list of
  29919. routers: Instead of searching the entire list for an "extra-info "
  29920. string which usually wasn't there, once for every routerinfo
  29921. we read, just scan lines forward until we find one we like.
  29922. Bugfix on 0.2.0.1.
  29923. - When we add data to a write buffer in response to the data on that
  29924. write buffer getting low because of a flush, do not consider the
  29925. newly added data as a candidate for immediate flushing, but rather
  29926. make it wait until the next round of writing. Otherwise, we flush
  29927. and refill recursively, and a single greedy TLS connection can
  29928. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  29929. o Minor features (v3 authority system):
  29930. - Add more ways for tools to download the votes that lead to the
  29931. current consensus.
  29932. - Send a 503 when low on bandwidth and a vote, consensus, or
  29933. certificate is requested.
  29934. - If-modified-since is now implemented properly for all kinds of
  29935. certificate requests.
  29936. o Minor bugfixes (network statuses):
  29937. - Tweak the implementation of proposal 109 slightly: allow at most
  29938. two Tor servers on the same IP address, except if it's the location
  29939. of a directory authority, in which case allow five. Bugfix on
  29940. 0.2.0.3-alpha.
  29941. o Minor bugfixes (controller):
  29942. - When sending a status event to the controller telling it that an
  29943. OR address is reachable, set the port correctly. (Previously we
  29944. were reporting the dir port.) Bugfix on 0.1.2.x.
  29945. o Minor bugfixes (v3 directory system):
  29946. - Fix logic to look up a cert by its signing key digest. Bugfix on
  29947. 0.2.0.7-alpha.
  29948. - Only change the reply to a vote to "OK" if it's not already
  29949. set. This gets rid of annoying "400 OK" log messages, which may
  29950. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  29951. - When we get a valid consensus, recompute the voting schedule.
  29952. - Base the valid-after time of a vote on the consensus voting
  29953. schedule, not on our preferred schedule.
  29954. - Make the return values and messages from signature uploads and
  29955. downloads more sensible.
  29956. - Fix a memory leak when serving votes and consensus documents, and
  29957. another when serving certificates.
  29958. o Minor bugfixes (performance):
  29959. - Use a slightly simpler string hashing algorithm (copying Python's
  29960. instead of Java's) and optimize our digest hashing algorithm to take
  29961. advantage of 64-bit platforms and to remove some possibly-costly
  29962. voodoo.
  29963. - Fix a minor memory leak whenever we parse guards from our state
  29964. file. Bugfix on 0.2.0.7-alpha.
  29965. - Fix a minor memory leak whenever we write out a file. Bugfix on
  29966. 0.2.0.7-alpha.
  29967. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  29968. command. Bugfix on 0.2.0.5-alpha.
  29969. o Minor bugfixes (portability):
  29970. - On some platforms, accept() can return a broken address. Detect
  29971. this more quietly, and deal accordingly. Fixes bug 483.
  29972. - Stop calling tor_strlower() on uninitialized memory in some cases.
  29973. Bugfix in 0.2.0.7-alpha.
  29974. o Minor bugfixes (usability):
  29975. - Treat some 403 responses from directory servers as INFO rather than
  29976. WARN-severity events.
  29977. - It's not actually an error to find a non-pending entry in the DNS
  29978. cache when canceling a pending resolve. Don't log unless stuff is
  29979. fishy. Resolves bug 463.
  29980. o Minor bugfixes (anonymity):
  29981. - Never report that we've used more bandwidth than we're willing to
  29982. relay: it leaks how much non-relay traffic we're using. Resolves
  29983. bug 516.
  29984. - When looking for a circuit to cannibalize, consider family as well
  29985. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  29986. circuit cannibalization).
  29987. o Code simplifications and refactoring:
  29988. - Make a bunch of functions static. Remove some dead code.
  29989. - Pull out about a third of the really big routerlist.c; put it in a
  29990. new module, networkstatus.c.
  29991. - Merge the extra fields in local_routerstatus_t back into
  29992. routerstatus_t: we used to need one routerstatus_t for each
  29993. authority's opinion, plus a local_routerstatus_t for the locally
  29994. computed consensus opinion. To save space, we put the locally
  29995. modified fields into local_routerstatus_t, and only the common
  29996. stuff into routerstatus_t. But once v3 directories are in use,
  29997. clients and caches will no longer need to hold authority opinions;
  29998. thus, the rationale for keeping the types separate is now gone.
  29999. - Make the code used to reschedule and reattempt downloads more
  30000. uniform.
  30001. - Turn all 'Are we a directory server/mirror?' logic into a call to
  30002. dirserver_mode().
  30003. - Remove the code to generate the oldest (v1) directory format.
  30004. The code has been disabled since 0.2.0.5-alpha.
  30005. Changes in version 0.2.0.7-alpha - 2007-09-21
  30006. This seventh development snapshot makes bridges work again, makes bridge
  30007. authorities work for the first time, fixes two huge performance flaws
  30008. in hidden services, and fixes a variety of minor issues.
  30009. o New directory authorities:
  30010. - Set up moria1 and tor26 as the first v3 directory authorities. See
  30011. doc/spec/dir-spec.txt for details on the new directory design.
  30012. o Major bugfixes (crashes):
  30013. - Fix possible segfaults in functions called from
  30014. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  30015. o Major bugfixes (bridges):
  30016. - Fix a bug that made servers send a "404 Not found" in response to
  30017. attempts to fetch their server descriptor. This caused Tor servers
  30018. to take many minutes to establish reachability for their DirPort,
  30019. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  30020. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  30021. users configure that and specify a bridge with an identity
  30022. fingerprint, now they will lookup the bridge descriptor at the
  30023. default bridge authority via a one-hop tunnel, but once circuits
  30024. are established they will switch to a three-hop tunnel for later
  30025. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  30026. o Major bugfixes (hidden services):
  30027. - Hidden services were choosing introduction points uniquely by
  30028. hexdigest, but when constructing the hidden service descriptor
  30029. they merely wrote the (potentially ambiguous) nickname.
  30030. - Clients now use the v2 intro format for hidden service
  30031. connections: they specify their chosen rendezvous point by identity
  30032. digest rather than by (potentially ambiguous) nickname. Both
  30033. are bugfixes on 0.1.2.x, and they could speed up hidden service
  30034. connections dramatically. Thanks to Karsten Loesing.
  30035. o Minor features (security):
  30036. - As a client, do not believe any server that tells us that an
  30037. address maps to an internal address space.
  30038. - Make it possible to enable HashedControlPassword and
  30039. CookieAuthentication at the same time.
  30040. o Minor features (guard nodes):
  30041. - Tag every guard node in our state file with the version that
  30042. we believe added it, or with our own version if we add it. This way,
  30043. if a user temporarily runs an old version of Tor and then switches
  30044. back to a new one, she doesn't automatically lose her guards.
  30045. o Minor features (speed):
  30046. - When implementing AES counter mode, update only the portions of the
  30047. counter buffer that need to change, and don't keep separate
  30048. network-order and host-order counters when they are the same (i.e.,
  30049. on big-endian hosts.)
  30050. o Minor features (controller):
  30051. - Accept LF instead of CRLF on controller, since some software has a
  30052. hard time generating real Internet newlines.
  30053. - Add GETINFO values for the server status events
  30054. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  30055. Robert Hogan.
  30056. o Removed features:
  30057. - Routers no longer include bandwidth-history lines in their
  30058. descriptors; this information is already available in extra-info
  30059. documents, and including it in router descriptors took up 60%
  30060. (!) of compressed router descriptor downloads. Completes
  30061. implementation of proposal 104.
  30062. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  30063. and TorControl.py, as they use the old v0 controller protocol,
  30064. and are obsoleted by TorFlow anyway.
  30065. - Drop support for v1 rendezvous descriptors, since we never used
  30066. them anyway, and the code has probably rotted by now. Based on
  30067. patch from Karsten Loesing.
  30068. - On OSX, stop warning the user that kqueue support in libevent is
  30069. "experimental", since it seems to have worked fine for ages.
  30070. o Minor bugfixes:
  30071. - When generating information telling us how to extend to a given
  30072. router, do not try to include the nickname if it is absent. Fixes
  30073. bug 467. Bugfix on 0.2.0.3-alpha.
  30074. - Fix a user-triggerable (but not remotely-triggerable) segfault
  30075. in expand_filename(). Bugfix on 0.1.2.x.
  30076. - Fix a memory leak when freeing incomplete requests from DNSPort.
  30077. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  30078. - Don't try to access (or alter) the state file when running
  30079. --list-fingerprint or --verify-config or --hash-password. (Resolves
  30080. bug 499.) Bugfix on 0.1.2.x.
  30081. - Servers used to decline to publish their DirPort if their
  30082. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  30083. were below a threshold. Now they only look at BandwidthRate and
  30084. RelayBandwidthRate. Bugfix on 0.1.2.x.
  30085. - Remove an optimization in the AES counter-mode code that assumed
  30086. that the counter never exceeded 2^68. When the counter can be set
  30087. arbitrarily as an IV (as it is by Karsten's new hidden services
  30088. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  30089. - Resume listing "AUTHORITY" flag for authorities in network status.
  30090. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  30091. o Code simplifications and refactoring:
  30092. - Revamp file-writing logic so we don't need to have the entire
  30093. contents of a file in memory at once before we write to disk. Tor,
  30094. meet stdio.
  30095. - Turn "descriptor store" into a full-fledged type.
  30096. - Move all NT services code into a separate source file.
  30097. - Unify all code that computes medians, percentile elements, etc.
  30098. - Get rid of a needless malloc when parsing address policies.
  30099. Changes in version 0.1.2.17 - 2007-08-30
  30100. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  30101. X bundles. Vidalia 0.0.14 makes authentication required for the
  30102. ControlPort in the default configuration, which addresses important
  30103. security risks. Everybody who uses Vidalia (or another controller)
  30104. should upgrade.
  30105. In addition, this Tor update fixes major load balancing problems with
  30106. path selection, which should speed things up a lot once many people
  30107. have upgraded.
  30108. o Major bugfixes (security):
  30109. - We removed support for the old (v0) control protocol. It has been
  30110. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  30111. become more of a headache than it's worth.
  30112. o Major bugfixes (load balancing):
  30113. - When choosing nodes for non-guard positions, weight guards
  30114. proportionally less, since they already have enough load. Patch
  30115. from Mike Perry.
  30116. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  30117. will allow fast Tor servers to get more attention.
  30118. - When we're upgrading from an old Tor version, forget our current
  30119. guards and pick new ones according to the new weightings. These
  30120. three load balancing patches could raise effective network capacity
  30121. by a factor of four. Thanks to Mike Perry for measurements.
  30122. o Major bugfixes (stream expiration):
  30123. - Expire not-yet-successful application streams in all cases if
  30124. they've been around longer than SocksTimeout. Right now there are
  30125. some cases where the stream will live forever, demanding a new
  30126. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  30127. o Minor features (controller):
  30128. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  30129. is valid before any authentication has been received. It tells
  30130. a controller what kind of authentication is expected, and what
  30131. protocol is spoken. Implements proposal 119.
  30132. o Minor bugfixes (performance):
  30133. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  30134. greatly speeding up loading cached-routers from disk on startup.
  30135. - Disable sentinel-based debugging for buffer code: we squashed all
  30136. the bugs that this was supposed to detect a long time ago, and now
  30137. its only effect is to change our buffer sizes from nice powers of
  30138. two (which platform mallocs tend to like) to values slightly over
  30139. powers of two (which make some platform mallocs sad).
  30140. o Minor bugfixes (misc):
  30141. - If exit bandwidth ever exceeds one third of total bandwidth, then
  30142. use the correct formula to weight exit nodes when choosing paths.
  30143. Based on patch from Mike Perry.
  30144. - Choose perfectly fairly among routers when choosing by bandwidth and
  30145. weighting by fraction of bandwidth provided by exits. Previously, we
  30146. would choose with only approximate fairness, and correct ourselves
  30147. if we ran off the end of the list.
  30148. - If we require CookieAuthentication but we fail to write the
  30149. cookie file, we would warn but not exit, and end up in a state
  30150. where no controller could authenticate. Now we exit.
  30151. - If we require CookieAuthentication, stop generating a new cookie
  30152. every time we change any piece of our config.
  30153. - Refuse to start with certain directory authority keys, and
  30154. encourage people using them to stop.
  30155. - Terminate multi-line control events properly. Original patch
  30156. from tup.
  30157. - Fix a minor memory leak when we fail to find enough suitable
  30158. servers to choose a circuit.
  30159. - Stop leaking part of the descriptor when we run into a particularly
  30160. unparseable piece of it.
  30161. Changes in version 0.2.0.6-alpha - 2007-08-26
  30162. This sixth development snapshot features a new Vidalia version in the
  30163. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  30164. the ControlPort in the default configuration, which addresses important
  30165. security risks.
  30166. In addition, this snapshot fixes major load balancing problems
  30167. with path selection, which should speed things up a lot once many
  30168. people have upgraded. The directory authorities also use a new
  30169. mean-time-between-failure approach to tracking which servers are stable,
  30170. rather than just looking at the most recent uptime.
  30171. o New directory authorities:
  30172. - Set up Tonga as the default bridge directory authority.
  30173. o Major features:
  30174. - Directory authorities now track servers by weighted
  30175. mean-times-between-failures. When we have 4 or more days of data,
  30176. use measured MTBF rather than declared uptime to decide whether
  30177. to call a router Stable. Implements proposal 108.
  30178. o Major bugfixes (load balancing):
  30179. - When choosing nodes for non-guard positions, weight guards
  30180. proportionally less, since they already have enough load. Patch
  30181. from Mike Perry.
  30182. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  30183. will allow fast Tor servers to get more attention.
  30184. - When we're upgrading from an old Tor version, forget our current
  30185. guards and pick new ones according to the new weightings. These
  30186. three load balancing patches could raise effective network capacity
  30187. by a factor of four. Thanks to Mike Perry for measurements.
  30188. o Major bugfixes (descriptor parsing):
  30189. - Handle unexpected whitespace better in malformed descriptors. Bug
  30190. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  30191. o Minor features:
  30192. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  30193. GETINFO for Torstat to use until it can switch to using extrainfos.
  30194. - Optionally (if built with -DEXPORTMALLINFO) export the output
  30195. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  30196. from localhost.
  30197. o Minor bugfixes:
  30198. - Do not intermix bridge routers with controller-added
  30199. routers. (Bugfix on 0.2.0.x)
  30200. - Do not fail with an assert when accept() returns an unexpected
  30201. address family. Addresses but does not wholly fix bug 483. (Bugfix
  30202. on 0.2.0.x)
  30203. - Let directory authorities startup even when they can't generate
  30204. a descriptor immediately, e.g. because they don't know their
  30205. address.
  30206. - Stop putting the authentication cookie in a file called "0"
  30207. in your working directory if you don't specify anything for the
  30208. new CookieAuthFile option. Reported by Matt Edman.
  30209. - Make it possible to read the PROTOCOLINFO response in a way that
  30210. conforms to our control-spec. Reported by Matt Edman.
  30211. - Fix a minor memory leak when we fail to find enough suitable
  30212. servers to choose a circuit. Bugfix on 0.1.2.x.
  30213. - Stop leaking part of the descriptor when we run into a particularly
  30214. unparseable piece of it. Bugfix on 0.1.2.x.
  30215. - Unmap the extrainfo cache file on exit.
  30216. Changes in version 0.2.0.5-alpha - 2007-08-19
  30217. This fifth development snapshot fixes compilation on Windows again;
  30218. fixes an obnoxious client-side bug that slowed things down and put
  30219. extra load on the network; gets us closer to using the v3 directory
  30220. voting scheme; makes it easier for Tor controllers to use cookie-based
  30221. authentication; and fixes a variety of other bugs.
  30222. o Removed features:
  30223. - Version 1 directories are no longer generated in full. Instead,
  30224. authorities generate and serve "stub" v1 directories that list
  30225. no servers. This will stop Tor versions 0.1.0.x and earlier from
  30226. working, but (for security reasons) nobody should be running those
  30227. versions anyway.
  30228. o Major bugfixes (compilation, 0.2.0.x):
  30229. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  30230. - Try to fix MSVC compilation: build correctly on platforms that do
  30231. not define s6_addr16 or s6_addr32.
  30232. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  30233. Zhou.
  30234. o Major bugfixes (stream expiration):
  30235. - Expire not-yet-successful application streams in all cases if
  30236. they've been around longer than SocksTimeout. Right now there are
  30237. some cases where the stream will live forever, demanding a new
  30238. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  30239. reported by lodger.
  30240. o Minor features (directory servers):
  30241. - When somebody requests a list of statuses or servers, and we have
  30242. none of those, return a 404 rather than an empty 200.
  30243. o Minor features (directory voting):
  30244. - Store v3 consensus status consensuses on disk, and reload them
  30245. on startup.
  30246. o Minor features (security):
  30247. - Warn about unsafe ControlPort configurations.
  30248. - Refuse to start with certain directory authority keys, and
  30249. encourage people using them to stop.
  30250. o Minor features (controller):
  30251. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  30252. is valid before any authentication has been received. It tells
  30253. a controller what kind of authentication is expected, and what
  30254. protocol is spoken. Implements proposal 119.
  30255. - New config option CookieAuthFile to choose a new location for the
  30256. cookie authentication file, and config option
  30257. CookieAuthFileGroupReadable to make it group-readable.
  30258. o Minor features (unit testing):
  30259. - Add command-line arguments to unit-test executable so that we can
  30260. invoke any chosen test from the command line rather than having
  30261. to run the whole test suite at once; and so that we can turn on
  30262. logging for the unit tests.
  30263. o Minor bugfixes (on 0.1.2.x):
  30264. - If we require CookieAuthentication but we fail to write the
  30265. cookie file, we would warn but not exit, and end up in a state
  30266. where no controller could authenticate. Now we exit.
  30267. - If we require CookieAuthentication, stop generating a new cookie
  30268. every time we change any piece of our config.
  30269. - When loading bandwidth history, do not believe any information in
  30270. the future. Fixes bug 434.
  30271. - When loading entry guard information, do not believe any information
  30272. in the future.
  30273. - When we have our clock set far in the future and generate an
  30274. onion key, then re-set our clock to be correct, we should not stop
  30275. the onion key from getting rotated.
  30276. - Clean up torrc sample config file.
  30277. - Do not automatically run configure from autogen.sh. This
  30278. non-standard behavior tended to annoy people who have built other
  30279. programs.
  30280. o Minor bugfixes (on 0.2.0.x):
  30281. - Fix a bug with AutomapHostsOnResolve that would always cause
  30282. the second request to fail. Bug reported by Kate. Bugfix on
  30283. 0.2.0.3-alpha.
  30284. - Fix a bug in ADDRMAP controller replies that would sometimes
  30285. try to print a NULL. Patch from tup.
  30286. - Read v3 directory authority keys from the right location.
  30287. - Numerous bugfixes to directory voting code.
  30288. Changes in version 0.1.2.16 - 2007-08-01
  30289. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  30290. remote attacker in certain situations to rewrite the user's torrc
  30291. configuration file. This can completely compromise anonymity of users
  30292. in most configurations, including those running the Vidalia bundles,
  30293. TorK, etc. Or worse.
  30294. o Major security fixes:
  30295. - Close immediately after missing authentication on control port;
  30296. do not allow multiple authentication attempts.
  30297. Changes in version 0.2.0.4-alpha - 2007-08-01
  30298. This fourth development snapshot fixes a critical security vulnerability
  30299. for most users, specifically those running Vidalia, TorK, etc. Everybody
  30300. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  30301. o Major security fixes:
  30302. - Close immediately after missing authentication on control port;
  30303. do not allow multiple authentication attempts.
  30304. o Major bugfixes (compilation):
  30305. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  30306. defined there.
  30307. o Minor features (performance):
  30308. - Be even more aggressive about releasing RAM from small
  30309. empty buffers. Thanks to our free-list code, this shouldn't be too
  30310. performance-intensive.
  30311. - Disable sentinel-based debugging for buffer code: we squashed all
  30312. the bugs that this was supposed to detect a long time ago, and
  30313. now its only effect is to change our buffer sizes from nice
  30314. powers of two (which platform mallocs tend to like) to values
  30315. slightly over powers of two (which make some platform mallocs sad).
  30316. - Log malloc statistics from mallinfo() on platforms where it
  30317. exists.
  30318. Changes in version 0.2.0.3-alpha - 2007-07-29
  30319. This third development snapshot introduces new experimental
  30320. blocking-resistance features and a preliminary version of the v3
  30321. directory voting design, and includes many other smaller features
  30322. and bugfixes.
  30323. o Major features:
  30324. - The first pieces of our "bridge" design for blocking-resistance
  30325. are implemented. People can run bridge directory authorities;
  30326. people can run bridges; and people can configure their Tor clients
  30327. with a set of bridges to use as the first hop into the Tor network.
  30328. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  30329. details.
  30330. - Create listener connections before we setuid to the configured
  30331. User and Group. Now non-Windows users can choose port values
  30332. under 1024, start Tor as root, and have Tor bind those ports
  30333. before it changes to another UID. (Windows users could already
  30334. pick these ports.)
  30335. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  30336. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  30337. on "vserver" accounts. (Patch from coderman.)
  30338. - Be even more aggressive about separating local traffic from relayed
  30339. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  30340. o Major features (experimental):
  30341. - First cut of code for "v3 dir voting": directory authorities will
  30342. vote on a common network status document rather than each publishing
  30343. their own opinion. This code needs more testing and more corner-case
  30344. handling before it's ready for use.
  30345. o Security fixes:
  30346. - Directory authorities now call routers Fast if their bandwidth is
  30347. at least 100KB/s, and consider their bandwidth adequate to be a
  30348. Guard if it is at least 250KB/s, no matter the medians. This fix
  30349. complements proposal 107. [Bugfix on 0.1.2.x]
  30350. - Directory authorities now never mark more than 3 servers per IP as
  30351. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  30352. Damon McCoy.)
  30353. - Minor change to organizationName and commonName generation
  30354. procedures in TLS certificates during Tor handshakes, to invalidate
  30355. some earlier censorware approaches. This is not a long-term
  30356. solution, but applying it will give us a bit of time to look into
  30357. the epidemiology of countermeasures as they spread.
  30358. o Major bugfixes (directory):
  30359. - Rewrite directory tokenization code to never run off the end of
  30360. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  30361. o Minor features (controller):
  30362. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  30363. match requests to applications. (Patch from Robert Hogan.)
  30364. - Report address and port correctly on connections to DNSPort. (Patch
  30365. from Robert Hogan.)
  30366. - Add a RESOLVE command to launch hostname lookups. (Original patch
  30367. from Robert Hogan.)
  30368. - Add GETINFO status/enough-dir-info to let controllers tell whether
  30369. Tor has downloaded sufficient directory information. (Patch
  30370. from Tup.)
  30371. - You can now use the ControlSocket option to tell Tor to listen for
  30372. controller connections on Unix domain sockets on systems that
  30373. support them. (Patch from Peter Palfrader.)
  30374. - STREAM NEW events are generated for DNSPort requests and for
  30375. tunneled directory connections. (Patch from Robert Hogan.)
  30376. - New "GETINFO address-mappings/*" command to get address mappings
  30377. with expiry information. "addr-mappings/*" is now deprecated.
  30378. (Patch from Tup.)
  30379. o Minor features (misc):
  30380. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  30381. from croup.)
  30382. - The tor-gencert tool for v3 directory authorities now creates all
  30383. files as readable to the file creator only, and write-protects
  30384. the authority identity key.
  30385. - When dumping memory usage, list bytes used in buffer memory
  30386. free-lists.
  30387. - When running with dmalloc, dump more stats on hup and on exit.
  30388. - Directory authorities now fail quickly and (relatively) harmlessly
  30389. if they generate a network status document that is somehow
  30390. malformed.
  30391. o Traffic load balancing improvements:
  30392. - If exit bandwidth ever exceeds one third of total bandwidth, then
  30393. use the correct formula to weight exit nodes when choosing paths.
  30394. (Based on patch from Mike Perry.)
  30395. - Choose perfectly fairly among routers when choosing by bandwidth and
  30396. weighting by fraction of bandwidth provided by exits. Previously, we
  30397. would choose with only approximate fairness, and correct ourselves
  30398. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  30399. o Performance improvements:
  30400. - Be more aggressive with freeing buffer RAM or putting it on the
  30401. memory free lists.
  30402. - Use Critical Sections rather than Mutexes for synchronizing threads
  30403. on win32; Mutexes are heavier-weight, and designed for synchronizing
  30404. between processes.
  30405. o Deprecated and removed features:
  30406. - RedirectExits is now deprecated.
  30407. - Stop allowing address masks that do not correspond to bit prefixes.
  30408. We have warned about these for a really long time; now it's time
  30409. to reject them. (Patch from croup.)
  30410. o Minor bugfixes (directory):
  30411. - Fix another crash bug related to extra-info caching. (Bug found by
  30412. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  30413. - Directories no longer return a "304 not modified" when they don't
  30414. have the networkstatus the client asked for. Also fix a memory
  30415. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  30416. - We had accidentally labelled 0.1.2.x directory servers as not
  30417. suitable for begin_dir requests, and had labelled no directory
  30418. servers as suitable for uploading extra-info documents. [Bugfix
  30419. on 0.2.0.1-alpha]
  30420. o Minor bugfixes (dns):
  30421. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  30422. Hogan.) [Bugfix on 0.2.0.2-alpha]
  30423. - Add DNSPort connections to the global connection list, so that we
  30424. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  30425. on 0.2.0.2-alpha]
  30426. - Fix a dangling reference that could lead to a crash when DNSPort is
  30427. changed or closed (Patch from Robert Hogan.) [Bugfix on
  30428. 0.2.0.2-alpha]
  30429. o Minor bugfixes (controller):
  30430. - Provide DNS expiry times in GMT, not in local time. For backward
  30431. compatibility, ADDRMAP events only provide GMT expiry in an extended
  30432. field. "GETINFO address-mappings" always does the right thing.
  30433. - Use CRLF line endings properly in NS events.
  30434. - Terminate multi-line control events properly. (Original patch
  30435. from tup.) [Bugfix on 0.1.2.x-alpha]
  30436. - Do not include spaces in SOURCE_ADDR fields in STREAM
  30437. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  30438. Changes in version 0.1.2.15 - 2007-07-17
  30439. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  30440. problems, fixes compilation on BSD, and fixes a variety of other
  30441. bugs. Everybody should upgrade.
  30442. o Major bugfixes (compilation):
  30443. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  30444. o Major bugfixes (crashes):
  30445. - Try even harder not to dereference the first character after
  30446. an mmap(). Reported by lodger.
  30447. - Fix a crash bug in directory authorities when we re-number the
  30448. routerlist while inserting a new router.
  30449. - When the cached-routers file is an even multiple of the page size,
  30450. don't run off the end and crash. (Fixes bug 455; based on idea
  30451. from croup.)
  30452. - Fix eventdns.c behavior on Solaris: It is critical to include
  30453. orconfig.h _before_ sys/types.h, so that we can get the expected
  30454. definition of _FILE_OFFSET_BITS.
  30455. o Major bugfixes (security):
  30456. - Fix a possible buffer overrun when using BSD natd support. Bug
  30457. found by croup.
  30458. - When sending destroy cells from a circuit's origin, don't include
  30459. the reason for tearing down the circuit. The spec says we didn't,
  30460. and now we actually don't. Reported by lodger.
  30461. - Keep streamids from different exits on a circuit separate. This
  30462. bug may have allowed other routers on a given circuit to inject
  30463. cells into streams. Reported by lodger; fixes bug 446.
  30464. - If there's a never-before-connected-to guard node in our list,
  30465. never choose any guards past it. This way we don't expand our
  30466. guard list unless we need to.
  30467. o Minor bugfixes (guard nodes):
  30468. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  30469. don't get overused as guards.
  30470. o Minor bugfixes (directory):
  30471. - Correctly count the number of authorities that recommend each
  30472. version. Previously, we were under-counting by 1.
  30473. - Fix a potential crash bug when we load many server descriptors at
  30474. once and some of them make others of them obsolete. Fixes bug 458.
  30475. o Minor bugfixes (hidden services):
  30476. - Stop tearing down the whole circuit when the user asks for a
  30477. connection to a port that the hidden service didn't configure.
  30478. Resolves bug 444.
  30479. o Minor bugfixes (misc):
  30480. - On Windows, we were preventing other processes from reading
  30481. cached-routers while Tor was running. Reported by janbar.
  30482. - Fix a possible (but very unlikely) bug in picking routers by
  30483. bandwidth. Add a log message to confirm that it is in fact
  30484. unlikely. Patch from lodger.
  30485. - Backport a couple of memory leak fixes.
  30486. - Backport miscellaneous cosmetic bugfixes.
  30487. Changes in version 0.2.0.2-alpha - 2007-06-02
  30488. o Major bugfixes on 0.2.0.1-alpha:
  30489. - Fix an assertion failure related to servers without extra-info digests.
  30490. Resolves bugs 441 and 442.
  30491. o Minor features (directory):
  30492. - Support "If-Modified-Since" when answering HTTP requests for
  30493. directories, running-routers documents, and network-status documents.
  30494. (There's no need to support it for router descriptors, since those
  30495. are downloaded by descriptor digest.)
  30496. o Minor build issues:
  30497. - Clear up some MIPSPro compiler warnings.
  30498. - When building from a tarball on a machine that happens to have SVK
  30499. installed, report the micro-revision as whatever version existed
  30500. in the tarball, not as "x".
  30501. Changes in version 0.2.0.1-alpha - 2007-06-01
  30502. This early development snapshot provides new features for people running
  30503. Tor as both a client and a server (check out the new RelayBandwidth
  30504. config options); lets Tor run as a DNS proxy; and generally moves us
  30505. forward on a lot of fronts.
  30506. o Major features, server usability:
  30507. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  30508. a separate set of token buckets for relayed traffic. Right now
  30509. relayed traffic is defined as answers to directory requests, and
  30510. OR connections that don't have any local circuits on them.
  30511. o Major features, client usability:
  30512. - A client-side DNS proxy feature to replace the need for
  30513. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  30514. for DNS requests on port 9999, use the Tor network to resolve them
  30515. anonymously, and send the reply back like a regular DNS server.
  30516. The code still only implements a subset of DNS.
  30517. - Make PreferTunneledDirConns and TunnelDirConns work even when
  30518. we have no cached directory info. This means Tor clients can now
  30519. do all of their connections protected by TLS.
  30520. o Major features, performance and efficiency:
  30521. - Directory authorities accept and serve "extra info" documents for
  30522. routers. These documents contain fields from router descriptors
  30523. that aren't usually needed, and that use a lot of excess
  30524. bandwidth. Once these fields are removed from router descriptors,
  30525. the bandwidth savings should be about 60%. [Partially implements
  30526. proposal 104.]
  30527. - Servers upload extra-info documents to any authority that accepts
  30528. them. Authorities (and caches that have been configured to download
  30529. extra-info documents) download them as needed. [Partially implements
  30530. proposal 104.]
  30531. - Change the way that Tor buffers data that it is waiting to write.
  30532. Instead of queueing data cells in an enormous ring buffer for each
  30533. client->OR or OR->OR connection, we now queue cells on a separate
  30534. queue for each circuit. This lets us use less slack memory, and
  30535. will eventually let us be smarter about prioritizing different kinds
  30536. of traffic.
  30537. - Use memory pools to allocate cells with better speed and memory
  30538. efficiency, especially on platforms where malloc() is inefficient.
  30539. - Stop reading on edge connections when their corresponding circuit
  30540. buffers are full; start again as the circuits empty out.
  30541. o Major features, other:
  30542. - Add an HSAuthorityRecordStats option that hidden service authorities
  30543. can use to track statistics of overall hidden service usage without
  30544. logging information that would be very useful to an attacker.
  30545. - Start work implementing multi-level keys for directory authorities:
  30546. Add a standalone tool to generate key certificates. (Proposal 103.)
  30547. o Security fixes:
  30548. - Directory authorities now call routers Stable if they have an
  30549. uptime of at least 30 days, even if that's not the median uptime
  30550. in the network. Implements proposal 107, suggested by Kevin Bauer
  30551. and Damon McCoy.
  30552. o Minor fixes (resource management):
  30553. - Count the number of open sockets separately from the number
  30554. of active connection_t objects. This will let us avoid underusing
  30555. our allocated connection limit.
  30556. - We no longer use socket pairs to link an edge connection to an
  30557. anonymous directory connection or a DirPort test connection.
  30558. Instead, we track the link internally and transfer the data
  30559. in-process. This saves two sockets per "linked" connection (at the
  30560. client and at the server), and avoids the nasty Windows socketpair()
  30561. workaround.
  30562. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  30563. for every single inactive connection_t. Free items from the
  30564. 4k/16k-buffer free lists when they haven't been used for a while.
  30565. o Minor features (build):
  30566. - Make autoconf search for libevent, openssl, and zlib consistently.
  30567. - Update deprecated macros in configure.in.
  30568. - When warning about missing headers, tell the user to let us
  30569. know if the compile succeeds anyway, so we can downgrade the
  30570. warning.
  30571. - Include the current subversion revision as part of the version
  30572. string: either fetch it directly if we're in an SVN checkout, do
  30573. some magic to guess it if we're in an SVK checkout, or use
  30574. the last-detected version if we're building from a .tar.gz.
  30575. Use this version consistently in log messages.
  30576. o Minor features (logging):
  30577. - Always prepend "Bug: " to any log message about a bug.
  30578. - Put a platform string (e.g. "Linux i686") in the startup log
  30579. message, so when people paste just their logs, we know if it's
  30580. OpenBSD or Windows or what.
  30581. - When logging memory usage, break down memory used in buffers by
  30582. buffer type.
  30583. o Minor features (directory system):
  30584. - New config option V2AuthoritativeDirectory that all directory
  30585. authorities should set. This will let future authorities choose
  30586. not to serve V2 directory information.
  30587. - Directory authorities allow multiple router descriptors and/or extra
  30588. info documents to be uploaded in a single go. This will make
  30589. implementing proposal 104 simpler.
  30590. o Minor features (controller):
  30591. - Add a new config option __DisablePredictedCircuits designed for
  30592. use by the controller, when we don't want Tor to build any circuits
  30593. preemptively.
  30594. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  30595. so we can exit from the middle of the circuit.
  30596. - Implement "getinfo status/circuit-established".
  30597. - Implement "getinfo status/version/..." so a controller can tell
  30598. whether the current version is recommended, and whether any versions
  30599. are good, and how many authorities agree. (Patch from shibz.)
  30600. o Minor features (hidden services):
  30601. - Allow multiple HiddenServicePort directives with the same virtual
  30602. port; when they occur, the user is sent round-robin to one
  30603. of the target ports chosen at random. Partially fixes bug 393 by
  30604. adding limited ad-hoc round-robining.
  30605. o Minor features (other):
  30606. - More unit tests.
  30607. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  30608. resolve request for hosts matching a given pattern causes Tor to
  30609. generate an internal virtual address mapping for that host. This
  30610. allows DNSPort to work sensibly with hidden service users. By
  30611. default, .exit and .onion addresses are remapped; the list of
  30612. patterns can be reconfigured with AutomapHostsSuffixes.
  30613. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  30614. address. Thanks to the AutomapHostsOnResolve option, this is no
  30615. longer a completely silly thing to do.
  30616. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  30617. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  30618. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  30619. minus 1 byte: the actual maximum declared bandwidth.
  30620. o Removed features:
  30621. - Removed support for the old binary "version 0" controller protocol.
  30622. This has been deprecated since 0.1.1, and warnings have been issued
  30623. since 0.1.2. When we encounter a v0 control message, we now send
  30624. back an error and close the connection.
  30625. - Remove the old "dns worker" server DNS code: it hasn't been default
  30626. since 0.1.2.2-alpha, and all the servers seem to be using the new
  30627. eventdns code.
  30628. o Minor bugfixes (portability):
  30629. - Even though Windows is equally happy with / and \ as path separators,
  30630. try to use \ consistently on Windows and / consistently on Unix: it
  30631. makes the log messages nicer.
  30632. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  30633. - Read resolv.conf files correctly on platforms where read() returns
  30634. partial results on small file reads.
  30635. o Minor bugfixes (directory):
  30636. - Correctly enforce that elements of directory objects do not appear
  30637. more often than they are allowed to appear.
  30638. - When we are reporting the DirServer line we just parsed, we were
  30639. logging the second stanza of the key fingerprint, not the first.
  30640. o Minor bugfixes (logging):
  30641. - When we hit an EOF on a log (probably because we're shutting down),
  30642. don't try to remove the log from the list: just mark it as
  30643. unusable. (Bulletproofs against bug 222.)
  30644. o Minor bugfixes (other):
  30645. - In the exitlist script, only consider the most recently published
  30646. server descriptor for each server. Also, when the user requests
  30647. a list of servers that _reject_ connections to a given address,
  30648. explicitly exclude the IPs that also have servers that accept
  30649. connections to that address. (Resolves bug 405.)
  30650. - Stop allowing hibernating servers to be "stable" or "fast".
  30651. - On Windows, we were preventing other processes from reading
  30652. cached-routers while Tor was running. (Reported by janbar)
  30653. - Make the NodeFamilies config option work. (Reported by
  30654. lodger -- it has never actually worked, even though we added it
  30655. in Oct 2004.)
  30656. - Check return values from pthread_mutex functions.
  30657. - Don't save non-general-purpose router descriptors to the disk cache,
  30658. because we have no way of remembering what their purpose was when
  30659. we restart.
  30660. - Add even more asserts to hunt down bug 417.
  30661. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  30662. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  30663. Add a log message to confirm that it is in fact unlikely.
  30664. o Minor bugfixes (controller):
  30665. - Make 'getinfo fingerprint' return a 551 error if we're not a
  30666. server, so we match what the control spec claims we do. Reported
  30667. by daejees.
  30668. - Fix a typo in an error message when extendcircuit fails that
  30669. caused us to not follow the \r\n-based delimiter protocol. Reported
  30670. by daejees.
  30671. o Code simplifications and refactoring:
  30672. - Stop passing around circuit_t and crypt_path_t pointers that are
  30673. implicit in other procedure arguments.
  30674. - Drop the old code to choke directory connections when the
  30675. corresponding OR connections got full: thanks to the cell queue
  30676. feature, OR conns don't get full any more.
  30677. - Make dns_resolve() handle attaching connections to circuits
  30678. properly, so the caller doesn't have to.
  30679. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  30680. - Keep the connection array as a dynamic smartlist_t, rather than as
  30681. a fixed-sized array. This is important, as the number of connections
  30682. is becoming increasingly decoupled from the number of sockets.
  30683. Changes in version 0.1.2.14 - 2007-05-25
  30684. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  30685. change especially affects those who serve or use hidden services),
  30686. and fixes several other crash- and security-related bugs.
  30687. o Directory authority changes:
  30688. - Two directory authorities (moria1 and moria2) just moved to new
  30689. IP addresses. This change will particularly affect those who serve
  30690. or use hidden services.
  30691. o Major bugfixes (crashes):
  30692. - If a directory server runs out of space in the connection table
  30693. as it's processing a begin_dir request, it will free the exit stream
  30694. but leave it attached to the circuit, leading to unpredictable
  30695. behavior. (Reported by seeess, fixes bug 425.)
  30696. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  30697. to corrupt memory under some really unlikely scenarios.
  30698. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  30699. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  30700. by lodger.)
  30701. o Major bugfixes (security):
  30702. - When choosing an entry guard for a circuit, avoid using guards
  30703. that are in the same family as the chosen exit -- not just guards
  30704. that are exactly the chosen exit. (Reported by lodger.)
  30705. o Major bugfixes (resource management):
  30706. - If a directory authority is down, skip it when deciding where to get
  30707. networkstatus objects or descriptors. Otherwise we keep asking
  30708. every 10 seconds forever. Fixes bug 384.
  30709. - Count it as a failure if we fetch a valid network-status but we
  30710. don't want to keep it. Otherwise we'll keep fetching it and keep
  30711. not wanting to keep it. Fixes part of bug 422.
  30712. - If all of our dirservers have given us bad or no networkstatuses
  30713. lately, then stop hammering them once per minute even when we
  30714. think they're failed. Fixes another part of bug 422.
  30715. o Minor bugfixes:
  30716. - Actually set the purpose correctly for descriptors inserted with
  30717. purpose=controller.
  30718. - When we have k non-v2 authorities in our DirServer config,
  30719. we ignored the last k authorities in the list when updating our
  30720. network-statuses.
  30721. - Correctly back-off from requesting router descriptors that we are
  30722. having a hard time downloading.
  30723. - Read resolv.conf files correctly on platforms where read() returns
  30724. partial results on small file reads.
  30725. - Don't rebuild the entire router store every time we get 32K of
  30726. routers: rebuild it when the journal gets very large, or when
  30727. the gaps in the store get very large.
  30728. o Minor features:
  30729. - When routers publish SVN revisions in their router descriptors,
  30730. authorities now include those versions correctly in networkstatus
  30731. documents.
  30732. - Warn when using a version of libevent before 1.3b to run a server on
  30733. OSX or BSD: these versions interact badly with userspace threads.
  30734. Changes in version 0.1.2.13 - 2007-04-24
  30735. This release features some major anonymity fixes, such as safer path
  30736. selection; better client performance; faster bootstrapping, better
  30737. address detection, and better DNS support for servers; write limiting as
  30738. well as read limiting to make servers easier to run; and a huge pile of
  30739. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  30740. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  30741. of the Freenode IRC network, remembering his patience and vision for
  30742. free speech on the Internet.
  30743. o Minor fixes:
  30744. - Fix a memory leak when we ask for "all" networkstatuses and we
  30745. get one we don't recognize.
  30746. - Add more asserts to hunt down bug 417.
  30747. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  30748. Changes in version 0.1.2.12-rc - 2007-03-16
  30749. o Major bugfixes:
  30750. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  30751. directory information requested inside Tor connections (i.e. via
  30752. begin_dir cells). It only triggered when the same connection was
  30753. serving other data at the same time. Reported by seeess.
  30754. o Minor bugfixes:
  30755. - When creating a circuit via the controller, send a 'launched'
  30756. event when we're done, so we follow the spec better.
  30757. Changes in version 0.1.2.11-rc - 2007-03-15
  30758. o Minor bugfixes (controller), reported by daejees:
  30759. - Correct the control spec to match how the code actually responds
  30760. to 'getinfo addr-mappings/*'.
  30761. - The control spec described a GUARDS event, but the code
  30762. implemented a GUARD event. Standardize on GUARD, but let people
  30763. ask for GUARDS too.
  30764. Changes in version 0.1.2.10-rc - 2007-03-07
  30765. o Major bugfixes (Windows):
  30766. - Do not load the NT services library functions (which may not exist)
  30767. just to detect if we're a service trying to shut down. Now we run
  30768. on Win98 and friends again.
  30769. o Minor bugfixes (other):
  30770. - Clarify a couple of log messages.
  30771. - Fix a misleading socks5 error number.
  30772. Changes in version 0.1.2.9-rc - 2007-03-02
  30773. o Major bugfixes (Windows):
  30774. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  30775. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  30776. int configuration values: the high-order 32 bits would get
  30777. truncated. In particular, we were being bitten by the default
  30778. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  30779. and maybe also bug 397.)
  30780. o Minor bugfixes (performance):
  30781. - Use OpenSSL's AES implementation on platforms where it's faster.
  30782. This could save us as much as 10% CPU usage.
  30783. o Minor bugfixes (server):
  30784. - Do not rotate onion key immediately after setting it for the first
  30785. time.
  30786. o Minor bugfixes (directory authorities):
  30787. - Stop calling servers that have been hibernating for a long time
  30788. "stable". Also, stop letting hibernating or obsolete servers affect
  30789. uptime and bandwidth cutoffs.
  30790. - Stop listing hibernating servers in the v1 directory.
  30791. o Minor bugfixes (hidden services):
  30792. - Upload hidden service descriptors slightly less often, to reduce
  30793. load on authorities.
  30794. o Minor bugfixes (other):
  30795. - Fix an assert that could trigger if a controller quickly set then
  30796. cleared EntryNodes. Bug found by Udo van den Heuvel.
  30797. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  30798. to INT32_MAX.
  30799. - Fix a potential race condition in the rpm installer. Found by
  30800. Stefan Nordhausen.
  30801. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  30802. of 2 as indicating that the server is completely bad; it sometimes
  30803. means that the server is just bad for the request in question. (may fix
  30804. the last of bug 326.)
  30805. - Disable encrypted directory connections when we don't have a server
  30806. descriptor for the destination. We'll get this working again in
  30807. the 0.2.0 branch.
  30808. Changes in version 0.1.2.8-beta - 2007-02-26
  30809. o Major bugfixes (crashes):
  30810. - Stop crashing when the controller asks us to resetconf more than
  30811. one config option at once. (Vidalia 0.0.11 does this.)
  30812. - Fix a crash that happened on Win98 when we're given command-line
  30813. arguments: don't try to load NT service functions from advapi32.dll
  30814. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  30815. resolves bug 389.)
  30816. - Fix a longstanding obscure crash bug that could occur when
  30817. we run out of DNS worker processes. (Resolves bug 390.)
  30818. o Major bugfixes (hidden services):
  30819. - Correctly detect whether hidden service descriptor downloads are
  30820. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  30821. o Major bugfixes (accounting):
  30822. - When we start during an accounting interval before it's time to wake
  30823. up, remember to wake up at the correct time. (May fix bug 342.)
  30824. o Minor bugfixes (controller):
  30825. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  30826. clear the corresponding on_circuit variable, and remember later
  30827. that we don't need to send a redundant CLOSED event. Resolves part
  30828. 3 of bug 367.
  30829. - Report events where a resolve succeeded or where we got a socks
  30830. protocol error correctly, rather than calling both of them
  30831. "INTERNAL".
  30832. - Change reported stream target addresses to IP consistently when
  30833. we finally get the IP from an exit node.
  30834. - Send log messages to the controller even if they happen to be very
  30835. long.
  30836. o Minor bugfixes (other):
  30837. - Display correct results when reporting which versions are
  30838. recommended, and how recommended they are. (Resolves bug 383.)
  30839. - Improve our estimates for directory bandwidth to be less random:
  30840. guess that an unrecognized directory will have the average bandwidth
  30841. from all known directories, not that it will have the average
  30842. bandwidth from those directories earlier than it on the list.
  30843. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  30844. and hup, stop triggering an assert based on an empty onion_key.
  30845. - On platforms with no working mmap() equivalent, don't warn the
  30846. user when cached-routers doesn't exist.
  30847. - Warn the user when mmap() [or its equivalent] fails for some reason
  30848. other than file-not-found.
  30849. - Don't warn the user when cached-routers.new doesn't exist: that's
  30850. perfectly fine when starting up for the first time.
  30851. - When EntryNodes are configured, rebuild the guard list to contain,
  30852. in order: the EntryNodes that were guards before; the rest of the
  30853. EntryNodes; the nodes that were guards before.
  30854. - Mask out all signals in sub-threads; only the libevent signal
  30855. handler should be processing them. This should prevent some crashes
  30856. on some machines using pthreads. (Patch from coderman.)
  30857. - Fix switched arguments on memset in the implementation of
  30858. tor_munmap() for systems with no mmap() call.
  30859. - When Tor receives a router descriptor that it asked for, but
  30860. no longer wants (because it has received fresh networkstatuses
  30861. in the meantime), do not warn the user. Cache the descriptor if
  30862. we're a cache; drop it if we aren't.
  30863. - Make earlier entry guards _really_ get retried when the network
  30864. comes back online.
  30865. - On a malformed DNS reply, always give an error to the corresponding
  30866. DNS request.
  30867. - Build with recent libevents on platforms that do not define the
  30868. nonstandard types "u_int8_t" and friends.
  30869. o Minor features (controller):
  30870. - Warn the user when an application uses the obsolete binary v0
  30871. control protocol. We're planning to remove support for it during
  30872. the next development series, so it's good to give people some
  30873. advance warning.
  30874. - Add STREAM_BW events to report per-entry-stream bandwidth
  30875. use. (Patch from Robert Hogan.)
  30876. - Rate-limit SIGNEWNYM signals in response to controllers that
  30877. impolitely generate them for every single stream. (Patch from
  30878. mwenge; closes bug 394.)
  30879. - Make REMAP stream events have a SOURCE (cache or exit), and
  30880. make them generated in every case where we get a successful
  30881. connected or resolved cell.
  30882. o Minor bugfixes (performance):
  30883. - Call router_have_min_dir_info half as often. (This is showing up in
  30884. some profiles, but not others.)
  30885. - When using GCC, make log_debug never get called at all, and its
  30886. arguments never get evaluated, when no debug logs are configured.
  30887. (This is showing up in some profiles, but not others.)
  30888. o Minor features:
  30889. - Remove some never-implemented options. Mark PathlenCoinWeight as
  30890. obsolete.
  30891. - Implement proposal 106: Stop requiring clients to have well-formed
  30892. certificates; stop checking nicknames in certificates. (Clients
  30893. have certificates so that they can look like Tor servers, but in
  30894. the future we might want to allow them to look like regular TLS
  30895. clients instead. Nicknames in certificates serve no purpose other
  30896. than making our protocol easier to recognize on the wire.)
  30897. - Revise messages on handshake failure again to be even more clear about
  30898. which are incoming connections and which are outgoing.
  30899. - Discard any v1 directory info that's over 1 month old (for
  30900. directories) or over 1 week old (for running-routers lists).
  30901. - Do not warn when individual nodes in the configuration's EntryNodes,
  30902. ExitNodes, etc are down: warn only when all possible nodes
  30903. are down. (Fixes bug 348.)
  30904. - Always remove expired routers and networkstatus docs before checking
  30905. whether we have enough information to build circuits. (Fixes
  30906. bug 373.)
  30907. - Put a lower-bound on MaxAdvertisedBandwidth.
  30908. Changes in version 0.1.2.7-alpha - 2007-02-06
  30909. o Major bugfixes (rate limiting):
  30910. - Servers decline directory requests much more aggressively when
  30911. they're low on bandwidth. Otherwise they end up queueing more and
  30912. more directory responses, which can't be good for latency.
  30913. - But never refuse directory requests from local addresses.
  30914. - Fix a memory leak when sending a 503 response for a networkstatus
  30915. request.
  30916. - Be willing to read or write on local connections (e.g. controller
  30917. connections) even when the global rate limiting buckets are empty.
  30918. - If our system clock jumps back in time, don't publish a negative
  30919. uptime in the descriptor. Also, don't let the global rate limiting
  30920. buckets go absurdly negative.
  30921. - Flush local controller connection buffers periodically as we're
  30922. writing to them, so we avoid queueing 4+ megabytes of data before
  30923. trying to flush.
  30924. o Major bugfixes (NT services):
  30925. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  30926. command-line flag so that admins can override the default by saying
  30927. "tor --service install --user "SomeUser"". This will not affect
  30928. existing installed services. Also, warn the user that the service
  30929. will look for its configuration file in the service user's
  30930. %appdata% directory. (We can't do the 'hardwire the user's appdata
  30931. directory' trick any more, since we may not have read access to that
  30932. directory.)
  30933. o Major bugfixes (other):
  30934. - Previously, we would cache up to 16 old networkstatus documents
  30935. indefinitely, if they came from nontrusted authorities. Now we
  30936. discard them if they are more than 10 days old.
  30937. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  30938. Del Vecchio).
  30939. - Detect and reject malformed DNS responses containing circular
  30940. pointer loops.
  30941. - If exits are rare enough that we're not marking exits as guards,
  30942. ignore exit bandwidth when we're deciding the required bandwidth
  30943. to become a guard.
  30944. - When we're handling a directory connection tunneled over Tor,
  30945. don't fill up internal memory buffers with all the data we want
  30946. to tunnel; instead, only add it if the OR connection that will
  30947. eventually receive it has some room for it. (This can lead to
  30948. slowdowns in tunneled dir connections; a better solution will have
  30949. to wait for 0.2.0.)
  30950. o Minor bugfixes (dns):
  30951. - Add some defensive programming to eventdns.c in an attempt to catch
  30952. possible memory-stomping bugs.
  30953. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  30954. an incorrect number of bytes. (Previously, we would ignore the
  30955. extra bytes.)
  30956. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  30957. in the correct order, and doesn't crash.
  30958. - Free memory held in recently-completed DNS lookup attempts on exit.
  30959. This was not a memory leak, but may have been hiding memory leaks.
  30960. - Handle TTL values correctly on reverse DNS lookups.
  30961. - Treat failure to parse resolv.conf as an error.
  30962. o Minor bugfixes (other):
  30963. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  30964. - When computing clock skew from directory HTTP headers, consider what
  30965. time it was when we finished asking for the directory, not what
  30966. time it is now.
  30967. - Expire socks connections if they spend too long waiting for the
  30968. handshake to finish. Previously we would let them sit around for
  30969. days, if the connecting application didn't close them either.
  30970. - And if the socks handshake hasn't started, don't send a
  30971. "DNS resolve socks failed" handshake reply; just close it.
  30972. - Stop using C functions that OpenBSD's linker doesn't like.
  30973. - Don't launch requests for descriptors unless we have networkstatuses
  30974. from at least half of the authorities. This delays the first
  30975. download slightly under pathological circumstances, but can prevent
  30976. us from downloading a bunch of descriptors we don't need.
  30977. - Do not log IPs with TLS failures for incoming TLS
  30978. connections. (Fixes bug 382.)
  30979. - If the user asks to use invalid exit nodes, be willing to use
  30980. unstable ones.
  30981. - Stop using the reserved ac_cv namespace in our configure script.
  30982. - Call stat() slightly less often; use fstat() when possible.
  30983. - Refactor the way we handle pending circuits when an OR connection
  30984. completes or fails, in an attempt to fix a rare crash bug.
  30985. - Only rewrite a conn's address based on X-Forwarded-For: headers
  30986. if it's a parseable public IP address; and stop adding extra quotes
  30987. to the resulting address.
  30988. o Major features:
  30989. - Weight directory requests by advertised bandwidth. Now we can
  30990. let servers enable write limiting but still allow most clients to
  30991. succeed at their directory requests. (We still ignore weights when
  30992. choosing a directory authority; I hope this is a feature.)
  30993. o Minor features:
  30994. - Create a new file ReleaseNotes which was the old ChangeLog. The
  30995. new ChangeLog file now includes the summaries for all development
  30996. versions too.
  30997. - Check for addresses with invalid characters at the exit as well
  30998. as at the client, and warn less verbosely when they fail. You can
  30999. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  31000. - Adapt a patch from goodell to let the contrib/exitlist script
  31001. take arguments rather than require direct editing.
  31002. - Inform the server operator when we decide not to advertise a
  31003. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  31004. was confusing Zax, so now we're hopefully more helpful.
  31005. - Bring us one step closer to being able to establish an encrypted
  31006. directory tunnel without knowing a descriptor first. Still not
  31007. ready yet. As part of the change, now assume we can use a
  31008. create_fast cell if we don't know anything about a router.
  31009. - Allow exit nodes to use nameservers running on ports other than 53.
  31010. - Servers now cache reverse DNS replies.
  31011. - Add an --ignore-missing-torrc command-line option so that we can
  31012. get the "use sensible defaults if the configuration file doesn't
  31013. exist" behavior even when specifying a torrc location on the command
  31014. line.
  31015. o Minor features (controller):
  31016. - Track reasons for OR connection failure; make these reasons
  31017. available via the controller interface. (Patch from Mike Perry.)
  31018. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  31019. can learn when clients are sending malformed hostnames to Tor.
  31020. - Clean up documentation for controller status events.
  31021. - Add a REMAP status to stream events to note that a stream's
  31022. address has changed because of a cached address or a MapAddress
  31023. directive.
  31024. Changes in version 0.1.2.6-alpha - 2007-01-09
  31025. o Major bugfixes:
  31026. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  31027. connection handles more than 4 gigs in either direction, we crash.
  31028. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  31029. advertised exit node, somebody might try to exit from us when
  31030. we're bootstrapping and before we've built our descriptor yet.
  31031. Refuse the connection rather than crashing.
  31032. o Minor bugfixes:
  31033. - Warn if we (as a server) find that we've resolved an address that we
  31034. weren't planning to resolve.
  31035. - Warn that using select() on any libevent version before 1.1 will be
  31036. unnecessarily slow (even for select()).
  31037. - Flush ERR-level controller status events just like we currently
  31038. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  31039. the controller from learning about current events.
  31040. o Minor features (more controller status events):
  31041. - Implement EXTERNAL_ADDRESS server status event so controllers can
  31042. learn when our address changes.
  31043. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  31044. can learn when directories reject our descriptor.
  31045. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  31046. can learn when a client application is speaking a non-socks protocol
  31047. to our SocksPort.
  31048. - Implement DANGEROUS_SOCKS client status event so controllers
  31049. can learn when a client application is leaking DNS addresses.
  31050. - Implement BUG general status event so controllers can learn when
  31051. Tor is unhappy about its internal invariants.
  31052. - Implement CLOCK_SKEW general status event so controllers can learn
  31053. when Tor thinks the system clock is set incorrectly.
  31054. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  31055. server status events so controllers can learn when their descriptors
  31056. are accepted by a directory.
  31057. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  31058. server status events so controllers can learn about Tor's progress in
  31059. deciding whether it's reachable from the outside.
  31060. - Implement BAD_LIBEVENT general status event so controllers can learn
  31061. when we have a version/method combination in libevent that needs to
  31062. be changed.
  31063. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  31064. and DNS_USELESS server status events so controllers can learn
  31065. about changes to DNS server status.
  31066. o Minor features (directory):
  31067. - Authorities no longer recommend exits as guards if this would shift
  31068. too much load to the exit nodes.
  31069. Changes in version 0.1.2.5-alpha - 2007-01-06
  31070. o Major features:
  31071. - Enable write limiting as well as read limiting. Now we sacrifice
  31072. capacity if we're pushing out lots of directory traffic, rather
  31073. than overrunning the user's intended bandwidth limits.
  31074. - Include TLS overhead when counting bandwidth usage; previously, we
  31075. would count only the bytes sent over TLS, but not the bytes used
  31076. to send them.
  31077. - Support running the Tor service with a torrc not in the same
  31078. directory as tor.exe and default to using the torrc located in
  31079. the %appdata%\Tor\ of the user who installed the service. Patch
  31080. from Matt Edman.
  31081. - Servers now check for the case when common DNS requests are going to
  31082. wildcarded addresses (i.e. all getting the same answer), and change
  31083. their exit policy to reject *:* if it's happening.
  31084. - Implement BEGIN_DIR cells, so we can connect to the directory
  31085. server via TLS to do encrypted directory requests rather than
  31086. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  31087. config options if you like.
  31088. o Minor features (config and docs):
  31089. - Start using the state file to store bandwidth accounting data:
  31090. the bw_accounting file is now obsolete. We'll keep generating it
  31091. for a while for people who are still using 0.1.2.4-alpha.
  31092. - Try to batch changes to the state file so that we do as few
  31093. disk writes as possible while still storing important things in
  31094. a timely fashion.
  31095. - The state file and the bw_accounting file get saved less often when
  31096. the AvoidDiskWrites config option is set.
  31097. - Make PIDFile work on Windows (untested).
  31098. - Add internal descriptions for a bunch of configuration options:
  31099. accessible via controller interface and in comments in saved
  31100. options files.
  31101. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  31102. NNTP by default, so this seems like a sensible addition.
  31103. - Clients now reject hostnames with invalid characters. This should
  31104. avoid some inadvertent info leaks. Add an option
  31105. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  31106. is running a private network with hosts called @, !, and #.
  31107. - Add a maintainer script to tell us which options are missing
  31108. documentation: "make check-docs".
  31109. - Add a new address-spec.txt document to describe our special-case
  31110. addresses: .exit, .onion, and .noconnnect.
  31111. o Minor features (DNS):
  31112. - Ongoing work on eventdns infrastructure: now it has dns server
  31113. and ipv6 support. One day Tor will make use of it.
  31114. - Add client-side caching for reverse DNS lookups.
  31115. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  31116. - When we change nameservers or IP addresses, reset and re-launch
  31117. our tests for DNS hijacking.
  31118. o Minor features (directory):
  31119. - Authorities now specify server versions in networkstatus. This adds
  31120. about 2% to the size of compressed networkstatus docs, and allows
  31121. clients to tell which servers support BEGIN_DIR and which don't.
  31122. The implementation is forward-compatible with a proposed future
  31123. protocol version scheme not tied to Tor versions.
  31124. - DirServer configuration lines now have an orport= option so
  31125. clients can open encrypted tunnels to the authorities without
  31126. having downloaded their descriptors yet. Enabled for moria1,
  31127. moria2, tor26, and lefkada now in the default configuration.
  31128. - Directory servers are more willing to send a 503 "busy" if they
  31129. are near their write limit, especially for v1 directory requests.
  31130. Now they can use their limited bandwidth for actual Tor traffic.
  31131. - Clients track responses with status 503 from dirservers. After a
  31132. dirserver has given us a 503, we try not to use it until an hour has
  31133. gone by, or until we have no dirservers that haven't given us a 503.
  31134. - When we get a 503 from a directory, and we're not a server, we don't
  31135. count the failure against the total number of failures allowed
  31136. for the thing we're trying to download.
  31137. - Report X-Your-Address-Is correctly from tunneled directory
  31138. connections; don't report X-Your-Address-Is when it's an internal
  31139. address; and never believe reported remote addresses when they're
  31140. internal.
  31141. - Protect against an unlikely DoS attack on directory servers.
  31142. - Add a BadDirectory flag to network status docs so that authorities
  31143. can (eventually) tell clients about caches they believe to be
  31144. broken.
  31145. o Minor features (controller):
  31146. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  31147. - Reimplement GETINFO so that info/names stays in sync with the
  31148. actual keys.
  31149. - Implement "GETINFO fingerprint".
  31150. - Implement "SETEVENTS GUARD" so controllers can get updates on
  31151. entry guard status as it changes.
  31152. o Minor features (clean up obsolete pieces):
  31153. - Remove some options that have been deprecated since at least
  31154. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  31155. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  31156. to set log options.
  31157. - We no longer look for identity and onion keys in "identity.key" and
  31158. "onion.key" -- these were replaced by secret_id_key and
  31159. secret_onion_key in 0.0.8pre1.
  31160. - We no longer require unrecognized directory entries to be
  31161. preceded by "opt".
  31162. o Major bugfixes (security):
  31163. - Stop sending the HttpProxyAuthenticator string to directory
  31164. servers when directory connections are tunnelled through Tor.
  31165. - Clients no longer store bandwidth history in the state file.
  31166. - Do not log introduction points for hidden services if SafeLogging
  31167. is set.
  31168. - When generating bandwidth history, round down to the nearest
  31169. 1k. When storing accounting data, round up to the nearest 1k.
  31170. - When we're running as a server, remember when we last rotated onion
  31171. keys, so that we will rotate keys once they're a week old even if
  31172. we never stay up for a week ourselves.
  31173. o Major bugfixes (other):
  31174. - Fix a longstanding bug in eventdns that prevented the count of
  31175. timed-out resolves from ever being reset. This bug caused us to
  31176. give up on a nameserver the third time it timed out, and try it
  31177. 10 seconds later... and to give up on it every time it timed out
  31178. after that.
  31179. - Take out the '5 second' timeout from the connection retry
  31180. schedule. Now the first connect attempt will wait a full 10
  31181. seconds before switching to a new circuit. Perhaps this will help
  31182. a lot. Based on observations from Mike Perry.
  31183. - Fix a bug on the Windows implementation of tor_mmap_file() that
  31184. would prevent the cached-routers file from ever loading. Reported
  31185. by John Kimble.
  31186. o Minor bugfixes:
  31187. - Fix an assert failure when a directory authority sets
  31188. AuthDirRejectUnlisted and then receives a descriptor from an
  31189. unlisted router. Reported by seeess.
  31190. - Avoid a double-free when parsing malformed DirServer lines.
  31191. - Fix a bug when a BSD-style PF socket is first used. Patch from
  31192. Fabian Keil.
  31193. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  31194. to resolve an address at a given exit node even when they ask for
  31195. it by name.
  31196. - Servers no longer ever list themselves in their "family" line,
  31197. even if configured to do so. This makes it easier to configure
  31198. family lists conveniently.
  31199. - When running as a server, don't fall back to 127.0.0.1 when no
  31200. nameservers are configured in /etc/resolv.conf; instead, make the
  31201. user fix resolv.conf or specify nameservers explicitly. (Resolves
  31202. bug 363.)
  31203. - Stop accepting certain malformed ports in configured exit policies.
  31204. - Don't re-write the fingerprint file every restart, unless it has
  31205. changed.
  31206. - Stop warning when a single nameserver fails: only warn when _all_ of
  31207. our nameservers have failed. Also, when we only have one nameserver,
  31208. raise the threshold for deciding that the nameserver is dead.
  31209. - Directory authorities now only decide that routers are reachable
  31210. if their identity keys are as expected.
  31211. - When the user uses bad syntax in the Log config line, stop
  31212. suggesting other bad syntax as a replacement.
  31213. - Correctly detect ipv6 DNS capability on OpenBSD.
  31214. o Minor bugfixes (controller):
  31215. - Report the circuit number correctly in STREAM CLOSED events. Bug
  31216. reported by Mike Perry.
  31217. - Do not report bizarre values for results of accounting GETINFOs
  31218. when the last second's write or read exceeds the allotted bandwidth.
  31219. - Report "unrecognized key" rather than an empty string when the
  31220. controller tries to fetch a networkstatus that doesn't exist.
  31221. Changes in version 0.1.1.26 - 2006-12-14
  31222. o Security bugfixes:
  31223. - Stop sending the HttpProxyAuthenticator string to directory
  31224. servers when directory connections are tunnelled through Tor.
  31225. - Clients no longer store bandwidth history in the state file.
  31226. - Do not log introduction points for hidden services if SafeLogging
  31227. is set.
  31228. o Minor bugfixes:
  31229. - Fix an assert failure when a directory authority sets
  31230. AuthDirRejectUnlisted and then receives a descriptor from an
  31231. unlisted router (reported by seeess).
  31232. Changes in version 0.1.2.4-alpha - 2006-12-03
  31233. o Major features:
  31234. - Add support for using natd; this allows FreeBSDs earlier than
  31235. 5.1.2 to have ipfw send connections through Tor without using
  31236. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  31237. o Minor features:
  31238. - Make all connections to addresses of the form ".noconnect"
  31239. immediately get closed. This lets application/controller combos
  31240. successfully test whether they're talking to the same Tor by
  31241. watching for STREAM events.
  31242. - Make cross.sh cross-compilation script work even when autogen.sh
  31243. hasn't been run. (Patch from Michael Mohr.)
  31244. - Statistics dumped by -USR2 now include a breakdown of public key
  31245. operations, for profiling.
  31246. o Major bugfixes:
  31247. - Fix a major leak when directory authorities parse their
  31248. approved-routers list, a minor memory leak when we fail to pick
  31249. an exit node, and a few rare leaks on errors.
  31250. - Handle TransPort connections even when the server sends data before
  31251. the client sends data. Previously, the connection would just hang
  31252. until the client sent data. (Patch from tup based on patch from
  31253. Zajcev Evgeny.)
  31254. - Avoid assert failure when our cached-routers file is empty on
  31255. startup.
  31256. o Minor bugfixes:
  31257. - Don't log spurious warnings when we see a circuit close reason we
  31258. don't recognize; it's probably just from a newer version of Tor.
  31259. - Have directory authorities allow larger amounts of drift in uptime
  31260. without replacing the server descriptor: previously, a server that
  31261. restarted every 30 minutes could have 48 "interesting" descriptors
  31262. per day.
  31263. - Start linking to the Tor specification and Tor reference manual
  31264. correctly in the Windows installer.
  31265. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  31266. Tor/Privoxy we also uninstall Vidalia.
  31267. - Resume building on Irix64, and fix a lot of warnings from its
  31268. MIPSpro C compiler.
  31269. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  31270. when we're running as a client.
  31271. Changes in version 0.1.1.25 - 2006-11-04
  31272. o Major bugfixes:
  31273. - When a client asks us to resolve (rather than connect to)
  31274. an address, and we have a cached answer, give them the cached
  31275. answer. Previously, we would give them no answer at all.
  31276. - We were building exactly the wrong circuits when we predict
  31277. hidden service requirements, meaning Tor would have to build all
  31278. its circuits on demand.
  31279. - If none of our live entry guards have a high uptime, but we
  31280. require a guard with a high uptime, try adding a new guard before
  31281. we give up on the requirement. This patch should make long-lived
  31282. connections more stable on average.
  31283. - When testing reachability of our DirPort, don't launch new
  31284. tests when there's already one in progress -- unreachable
  31285. servers were stacking up dozens of testing streams.
  31286. o Security bugfixes:
  31287. - When the user sends a NEWNYM signal, clear the client-side DNS
  31288. cache too. Otherwise we continue to act on previous information.
  31289. o Minor bugfixes:
  31290. - Avoid a memory corruption bug when creating a hash table for
  31291. the first time.
  31292. - Avoid possibility of controller-triggered crash when misusing
  31293. certain commands from a v0 controller on platforms that do not
  31294. handle printf("%s",NULL) gracefully.
  31295. - Avoid infinite loop on unexpected controller input.
  31296. - Don't log spurious warnings when we see a circuit close reason we
  31297. don't recognize; it's probably just from a newer version of Tor.
  31298. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  31299. Tor/Privoxy we also uninstall Vidalia.
  31300. Changes in version 0.1.2.3-alpha - 2006-10-29
  31301. o Minor features:
  31302. - Prepare for servers to publish descriptors less often: never
  31303. discard a descriptor simply for being too old until either it is
  31304. recommended by no authorities, or until we get a better one for
  31305. the same router. Make caches consider retaining old recommended
  31306. routers for even longer.
  31307. - If most authorities set a BadExit flag for a server, clients
  31308. don't think of it as a general-purpose exit. Clients only consider
  31309. authorities that advertise themselves as listing bad exits.
  31310. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  31311. headers for content, so that we can work better in the presence of
  31312. caching HTTP proxies.
  31313. - Allow authorities to list nodes as bad exits by fingerprint or by
  31314. address.
  31315. o Minor features, controller:
  31316. - Add a REASON field to CIRC events; for backward compatibility, this
  31317. field is sent only to controllers that have enabled the extended
  31318. event format. Also, add additional reason codes to explain why
  31319. a given circuit has been destroyed or truncated. (Patches from
  31320. Mike Perry)
  31321. - Add a REMOTE_REASON field to extended CIRC events to tell the
  31322. controller about why a remote OR told us to close a circuit.
  31323. - Stream events also now have REASON and REMOTE_REASON fields,
  31324. working much like those for circuit events.
  31325. - There's now a GETINFO ns/... field so that controllers can ask Tor
  31326. about the current status of a router.
  31327. - A new event type "NS" to inform a controller when our opinion of
  31328. a router's status has changed.
  31329. - Add a GETINFO events/names and GETINFO features/names so controllers
  31330. can tell which events and features are supported.
  31331. - A new CLEARDNSCACHE signal to allow controllers to clear the
  31332. client-side DNS cache without expiring circuits.
  31333. o Security bugfixes:
  31334. - When the user sends a NEWNYM signal, clear the client-side DNS
  31335. cache too. Otherwise we continue to act on previous information.
  31336. o Minor bugfixes:
  31337. - Avoid sending junk to controllers or segfaulting when a controller
  31338. uses EVENT_NEW_DESC with verbose nicknames.
  31339. - Stop triggering asserts if the controller tries to extend hidden
  31340. service circuits (reported by mwenge).
  31341. - Avoid infinite loop on unexpected controller input.
  31342. - When the controller does a "GETINFO network-status", tell it
  31343. about even those routers whose descriptors are very old, and use
  31344. long nicknames where appropriate.
  31345. - Change NT service functions to be loaded on demand. This lets us
  31346. build with MinGW without breaking Tor for Windows 98 users.
  31347. - Do DirPort reachability tests less often, since a single test
  31348. chews through many circuits before giving up.
  31349. - In the hidden service example in torrc.sample, stop recommending
  31350. esoteric and discouraged hidden service options.
  31351. - When stopping an NT service, wait up to 10 sec for it to actually
  31352. stop. Patch from Matt Edman; resolves bug 295.
  31353. - Fix handling of verbose nicknames with ORCONN controller events:
  31354. make them show up exactly when requested, rather than exactly when
  31355. not requested.
  31356. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  31357. printing a duplicate "$" in the keys we send (reported by mwenge).
  31358. - Correctly set maximum connection limit on Cygwin. (This time
  31359. for sure!)
  31360. - Try to detect Windows correctly when cross-compiling.
  31361. - Detect the size of the routers file correctly even if it is
  31362. corrupted (on systems without mmap) or not page-aligned (on systems
  31363. with mmap). This bug was harmless.
  31364. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  31365. to open a stream fails; now we do in more cases. This should
  31366. make clients able to find a good exit faster in some cases, since
  31367. unhandleable requests will now get an error rather than timing out.
  31368. - Resolve two memory leaks when rebuilding the on-disk router cache
  31369. (reported by fookoowa).
  31370. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  31371. and reported by some Centos users.
  31372. - Controller signals now work on non-Unix platforms that don't define
  31373. SIGUSR1 and SIGUSR2 the way we expect.
  31374. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  31375. values before failing, and always enables eventdns.
  31376. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  31377. Try to fix this in configure.in by checking for most functions
  31378. before we check for libevent.
  31379. Changes in version 0.1.2.2-alpha - 2006-10-07
  31380. o Major features:
  31381. - Make our async eventdns library on-by-default for Tor servers,
  31382. and plan to deprecate the separate dnsworker threads.
  31383. - Add server-side support for "reverse" DNS lookups (using PTR
  31384. records so clients can determine the canonical hostname for a given
  31385. IPv4 address). Only supported by servers using eventdns; servers
  31386. now announce in their descriptors whether they support eventdns.
  31387. - Specify and implement client-side SOCKS5 interface for reverse DNS
  31388. lookups (see doc/socks-extensions.txt).
  31389. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  31390. connect to directory servers through Tor. Previously, clients needed
  31391. to find Tor exits to make private connections to directory servers.
  31392. - Avoid choosing Exit nodes for entry or middle hops when the
  31393. total bandwidth available from non-Exit nodes is much higher than
  31394. the total bandwidth available from Exit nodes.
  31395. - Workaround for name servers (like Earthlink's) that hijack failing
  31396. DNS requests and replace the no-such-server answer with a "helpful"
  31397. redirect to an advertising-driven search portal. Also work around
  31398. DNS hijackers who "helpfully" decline to hijack known-invalid
  31399. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  31400. lets you turn it off.
  31401. - Send out a burst of long-range padding cells once we've established
  31402. that we're reachable. Spread them over 4 circuits, so hopefully
  31403. a few will be fast. This exercises our bandwidth and bootstraps
  31404. us into the directory more quickly.
  31405. o New/improved config options:
  31406. - Add new config option "ResolvConf" to let the server operator
  31407. choose an alternate resolve.conf file when using eventdns.
  31408. - Add an "EnforceDistinctSubnets" option to control our "exclude
  31409. servers on the same /16" behavior. It's still on by default; this
  31410. is mostly for people who want to operate private test networks with
  31411. all the machines on the same subnet.
  31412. - If one of our entry guards is on the ExcludeNodes list, or the
  31413. directory authorities don't think it's a good guard, treat it as
  31414. if it were unlisted: stop using it as a guard, and throw it off
  31415. the guards list if it stays that way for a long time.
  31416. - Allow directory authorities to be marked separately as authorities
  31417. for the v1 directory protocol, the v2 directory protocol, and
  31418. as hidden service directories, to make it easier to retire old
  31419. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  31420. to continue being hidden service authorities too.
  31421. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  31422. o Minor features, controller:
  31423. - Fix CIRC controller events so that controllers can learn the
  31424. identity digests of non-Named servers used in circuit paths.
  31425. - Let controllers ask for more useful identifiers for servers. Instead
  31426. of learning identity digests for un-Named servers and nicknames
  31427. for Named servers, the new identifiers include digest, nickname,
  31428. and indication of Named status. Off by default; see control-spec.txt
  31429. for more information.
  31430. - Add a "getinfo address" controller command so it can display Tor's
  31431. best guess to the user.
  31432. - New controller event to alert the controller when our server
  31433. descriptor has changed.
  31434. - Give more meaningful errors on controller authentication failure.
  31435. o Minor features, other:
  31436. - When asked to resolve a hostname, don't use non-exit servers unless
  31437. requested to do so. This allows servers with broken DNS to be
  31438. useful to the network.
  31439. - Divide eventdns log messages into warn and info messages.
  31440. - Reserve the nickname "Unnamed" for routers that can't pick
  31441. a hostname: any router can call itself Unnamed; directory
  31442. authorities will never allocate Unnamed to any particular router;
  31443. clients won't believe that any router is the canonical Unnamed.
  31444. - Only include function names in log messages for info/debug messages.
  31445. For notice/warn/err, the content of the message should be clear on
  31446. its own, and printing the function name only confuses users.
  31447. - Avoid some false positives during reachability testing: don't try
  31448. to test via a server that's on the same /24 as us.
  31449. - If we fail to build a circuit to an intended enclave, and it's
  31450. not mandatory that we use that enclave, stop wanting it.
  31451. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  31452. OpenBSD. (We had previously disabled threads on these platforms
  31453. because they didn't have working thread-safe resolver functions.)
  31454. o Major bugfixes, anonymity/security:
  31455. - If a client asked for a server by name, and there's a named server
  31456. in our network-status but we don't have its descriptor yet, we
  31457. could return an unnamed server instead.
  31458. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  31459. to be sent to a server's DNS resolver. This only affects NetBSD
  31460. and other platforms that do not bounds-check tolower().
  31461. - Reject (most) attempts to use Tor circuits with length one. (If
  31462. many people start using Tor as a one-hop proxy, exit nodes become
  31463. a more attractive target for compromise.)
  31464. - Just because your DirPort is open doesn't mean people should be
  31465. able to remotely teach you about hidden service descriptors. Now
  31466. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  31467. o Major bugfixes, other:
  31468. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  31469. - When a client asks the server to resolve (not connect to)
  31470. an address, and it has a cached answer, give them the cached answer.
  31471. Previously, the server would give them no answer at all.
  31472. - Allow really slow clients to not hang up five minutes into their
  31473. directory downloads (suggested by Adam J. Richter).
  31474. - We were building exactly the wrong circuits when we anticipated
  31475. hidden service requirements, meaning Tor would have to build all
  31476. its circuits on demand.
  31477. - Avoid crashing when we mmap a router cache file of size 0.
  31478. - When testing reachability of our DirPort, don't launch new
  31479. tests when there's already one in progress -- unreachable
  31480. servers were stacking up dozens of testing streams.
  31481. o Minor bugfixes, correctness:
  31482. - If we're a directory mirror and we ask for "all" network status
  31483. documents, we would discard status documents from authorities
  31484. we don't recognize.
  31485. - Avoid a memory corruption bug when creating a hash table for
  31486. the first time.
  31487. - Avoid controller-triggered crash when misusing certain commands
  31488. from a v0 controller on platforms that do not handle
  31489. printf("%s",NULL) gracefully.
  31490. - Don't crash when a controller sends a third argument to an
  31491. "extendcircuit" request.
  31492. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  31493. response; fix error code when "getinfo dir/status/" fails.
  31494. - Avoid crash when telling controller stream-status and a stream
  31495. is detached.
  31496. - Patch from Adam Langley to fix assert() in eventdns.c.
  31497. - Fix a debug log message in eventdns to say "X resolved to Y"
  31498. instead of "X resolved to X".
  31499. - Make eventdns give strings for DNS errors, not just error numbers.
  31500. - Track unreachable entry guards correctly: don't conflate
  31501. 'unreachable by us right now' with 'listed as down by the directory
  31502. authorities'. With the old code, if a guard was unreachable by
  31503. us but listed as running, it would clog our guard list forever.
  31504. - Behave correctly in case we ever have a network with more than
  31505. 2GB/s total advertised capacity.
  31506. - Make TrackExitHosts case-insensitive, and fix the behavior of
  31507. ".suffix" TrackExitHosts items to avoid matching in the middle of
  31508. an address.
  31509. - Finally fix the openssl warnings from newer gccs that believe that
  31510. ignoring a return value is okay, but casting a return value and
  31511. then ignoring it is a sign of madness.
  31512. - Prevent the contrib/exitlist script from printing the same
  31513. result more than once.
  31514. - Patch from Steve Hildrey: Generate network status correctly on
  31515. non-versioning dirservers.
  31516. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  31517. via Tor; otherwise you'll think you're the exit node's IP address.
  31518. o Minor bugfixes, performance:
  31519. - Two small performance improvements on parsing descriptors.
  31520. - Major performance improvement on inserting descriptors: change
  31521. algorithm from O(n^2) to O(n).
  31522. - Make the common memory allocation path faster on machines where
  31523. malloc(0) returns a pointer.
  31524. - Start remembering X-Your-Address-Is directory hints even if you're
  31525. a client, so you can become a server more smoothly.
  31526. - Avoid duplicate entries on MyFamily line in server descriptor.
  31527. o Packaging, features:
  31528. - Remove architecture from OS X builds. The official builds are
  31529. now universal binaries.
  31530. - The Debian package now uses --verify-config when (re)starting,
  31531. to distinguish configuration errors from other errors.
  31532. - Update RPMs to require libevent 1.1b.
  31533. o Packaging, bugfixes:
  31534. - Patches so Tor builds with MinGW on Windows.
  31535. - Patches so Tor might run on Cygwin again.
  31536. - Resume building on non-gcc compilers and ancient gcc. Resume
  31537. building with the -O0 compile flag. Resume building cleanly on
  31538. Debian woody.
  31539. - Run correctly on OS X platforms with case-sensitive filesystems.
  31540. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  31541. - Add autoconf checks so Tor can build on Solaris x86 again.
  31542. o Documentation
  31543. - Documented (and renamed) ServerDNSSearchDomains and
  31544. ServerDNSResolvConfFile options.
  31545. - Be clearer that the *ListenAddress directives can be repeated
  31546. multiple times.
  31547. Changes in version 0.1.1.24 - 2006-09-29
  31548. o Major bugfixes:
  31549. - Allow really slow clients to not hang up five minutes into their
  31550. directory downloads (suggested by Adam J. Richter).
  31551. - Fix major performance regression from 0.1.0.x: instead of checking
  31552. whether we have enough directory information every time we want to
  31553. do something, only check when the directory information has changed.
  31554. This should improve client CPU usage by 25-50%.
  31555. - Don't crash if, after a server has been running for a while,
  31556. it can't resolve its hostname.
  31557. o Minor bugfixes:
  31558. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  31559. - Don't crash when the controller receives a third argument to an
  31560. "extendcircuit" request.
  31561. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  31562. response; fix error code when "getinfo dir/status/" fails.
  31563. - Fix configure.in to not produce broken configure files with
  31564. more recent versions of autoconf. Thanks to Clint for his auto*
  31565. voodoo.
  31566. - Fix security bug on NetBSD that could allow someone to force
  31567. uninitialized RAM to be sent to a server's DNS resolver. This
  31568. only affects NetBSD and other platforms that do not bounds-check
  31569. tolower().
  31570. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  31571. methods: these are known to be buggy.
  31572. - If we're a directory mirror and we ask for "all" network status
  31573. documents, we would discard status documents from authorities
  31574. we don't recognize.
  31575. Changes in version 0.1.2.1-alpha - 2006-08-27
  31576. o Major features:
  31577. - Add "eventdns" async dns library from Adam Langley, tweaked to
  31578. build on OSX and Windows. Only enabled if you pass the
  31579. --enable-eventdns argument to configure.
  31580. - Allow servers with no hostname or IP address to learn their
  31581. IP address by asking the directory authorities. This code only
  31582. kicks in when you would normally have exited with a "no address"
  31583. error. Nothing's authenticated, so use with care.
  31584. - Rather than waiting a fixed amount of time between retrying
  31585. application connections, we wait only 5 seconds for the first,
  31586. 10 seconds for the second, and 15 seconds for each retry after
  31587. that. Hopefully this will improve the expected user experience.
  31588. - Patch from Tup to add support for transparent AP connections:
  31589. this basically bundles the functionality of trans-proxy-tor
  31590. into the Tor mainline. Now hosts with compliant pf/netfilter
  31591. implementations can redirect TCP connections straight to Tor
  31592. without diverting through SOCKS. Needs docs.
  31593. - Busy directory servers save lots of memory by spooling server
  31594. descriptors, v1 directories, and v2 networkstatus docs to buffers
  31595. as needed rather than en masse. Also mmap the cached-routers
  31596. files, so we don't need to keep the whole thing in memory too.
  31597. - Automatically avoid picking more than one node from the same
  31598. /16 network when constructing a circuit.
  31599. - Revise and clean up the torrc.sample that we ship with; add
  31600. a section for BandwidthRate and BandwidthBurst.
  31601. o Minor features:
  31602. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  31603. split connection_t into edge, or, dir, control, and base structs.
  31604. These will save quite a bit of memory on busy servers, and they'll
  31605. also help us track down bugs in the code and bugs in the spec.
  31606. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  31607. or later. Log when we are doing this, so we can diagnose it when
  31608. it fails. (Also, recommend libevent 1.1b for kqueue and
  31609. win32 methods; deprecate libevent 1.0b harder; make libevent
  31610. recommendation system saner.)
  31611. - Start being able to build universal binaries on OS X (thanks
  31612. to Phobos).
  31613. - Export the default exit policy via the control port, so controllers
  31614. don't need to guess what it is / will be later.
  31615. - Add a man page entry for ProtocolWarnings.
  31616. - Add TestVia config option to the man page.
  31617. - Remove even more protocol-related warnings from Tor server logs,
  31618. such as bad TLS handshakes and malformed begin cells.
  31619. - Stop fetching descriptors if you're not a dir mirror and you
  31620. haven't tried to establish any circuits lately. [This currently
  31621. causes some dangerous behavior, because when you start up again
  31622. you'll use your ancient server descriptors.]
  31623. - New DirPort behavior: if you have your dirport set, you download
  31624. descriptors aggressively like a directory mirror, whether or not
  31625. your ORPort is set.
  31626. - Get rid of the router_retry_connections notion. Now routers
  31627. no longer try to rebuild long-term connections to directory
  31628. authorities, and directory authorities no longer try to rebuild
  31629. long-term connections to all servers. We still don't hang up
  31630. connections in these two cases though -- we need to look at it
  31631. more carefully to avoid flapping, and we likely need to wait til
  31632. 0.1.1.x is obsolete.
  31633. - Drop compatibility with obsolete Tors that permit create cells
  31634. to have the wrong circ_id_type.
  31635. - Re-enable per-connection rate limiting. Get rid of the "OP
  31636. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  31637. separate global buckets that apply depending on what sort of conn
  31638. it is.
  31639. - Start publishing one minute or so after we find our ORPort
  31640. to be reachable. This will help reduce the number of descriptors
  31641. we have for ourselves floating around, since it's quite likely
  31642. other things (e.g. DirPort) will change during that minute too.
  31643. - Fork the v1 directory protocol into its own spec document,
  31644. and mark dir-spec.txt as the currently correct (v2) spec.
  31645. o Major bugfixes:
  31646. - When we find our DirPort to be reachable, publish a new descriptor
  31647. so we'll tell the world (reported by pnx).
  31648. - Publish a new descriptor after we hup/reload. This is important
  31649. if our config has changed such that we'll want to start advertising
  31650. our DirPort now, etc.
  31651. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  31652. - When we have a state file we cannot parse, tell the user and
  31653. move it aside. Now we avoid situations where the user starts
  31654. Tor in 1904, Tor writes a state file with that timestamp in it,
  31655. the user fixes her clock, and Tor refuses to start.
  31656. - Fix configure.in to not produce broken configure files with
  31657. more recent versions of autoconf. Thanks to Clint for his auto*
  31658. voodoo.
  31659. - "tor --verify-config" now exits with -1(255) or 0 depending on
  31660. whether the config options are bad or good.
  31661. - Resolve bug 321 when using dnsworkers: append a period to every
  31662. address we resolve at the exit node, so that we do not accidentally
  31663. pick up local addresses, and so that failing searches are retried
  31664. in the resolver search domains. (This is already solved for
  31665. eventdns.) (This breaks Blossom servers for now.)
  31666. - If we are using an exit enclave and we can't connect, e.g. because
  31667. its webserver is misconfigured to not listen on localhost, then
  31668. back off and try connecting from somewhere else before we fail.
  31669. o Minor bugfixes:
  31670. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  31671. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  31672. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  31673. when the IP address is mapped through MapAddress to a hostname.
  31674. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  31675. useless IPv6 DNS resolves.
  31676. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  31677. before we execute the signal, in case the signal shuts us down.
  31678. - Clean up AllowInvalidNodes man page entry.
  31679. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  31680. - Add more asserts to track down an assert error on a windows Tor
  31681. server with connection_add being called with socket == -1.
  31682. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  31683. - Fix misleading log messages: an entry guard that is "unlisted",
  31684. as well as not known to be "down" (because we've never heard
  31685. of it), is not therefore "up".
  31686. - Remove code to special-case "-cvs" ending, since it has not
  31687. actually mattered since 0.0.9.
  31688. - Make our socks5 handling more robust to broken socks clients:
  31689. throw out everything waiting on the buffer in between socks
  31690. handshake phases, since they can't possibly (so the theory
  31691. goes) have predicted what we plan to respond to them.
  31692. Changes in version 0.1.1.23 - 2006-07-30
  31693. o Major bugfixes:
  31694. - Fast Tor servers, especially exit nodes, were triggering asserts
  31695. due to a bug in handling the list of pending DNS resolves. Some
  31696. bugs still remain here; we're hunting them.
  31697. - Entry guards could crash clients by sending unexpected input.
  31698. - More fixes on reachability testing: if you find yourself reachable,
  31699. then don't ever make any client requests (so you stop predicting
  31700. circuits), then hup or have your clock jump, then later your IP
  31701. changes, you won't think circuits are working, so you won't try to
  31702. test reachability, so you won't publish.
  31703. o Minor bugfixes:
  31704. - Avoid a crash if the controller does a resetconf firewallports
  31705. and then a setconf fascistfirewall=1.
  31706. - Avoid an integer underflow when the dir authority decides whether
  31707. a router is stable: we might wrongly label it stable, and compute
  31708. a slightly wrong median stability, when a descriptor is published
  31709. later than now.
  31710. - Fix a place where we might trigger an assert if we can't build our
  31711. own server descriptor yet.
  31712. Changes in version 0.1.1.22 - 2006-07-05
  31713. o Major bugfixes:
  31714. - Fix a big bug that was causing servers to not find themselves
  31715. reachable if they changed IP addresses. Since only 0.1.1.22+
  31716. servers can do reachability testing correctly, now we automatically
  31717. make sure to test via one of these.
  31718. - Fix to allow clients and mirrors to learn directory info from
  31719. descriptor downloads that get cut off partway through.
  31720. - Directory authorities had a bug in deciding if a newly published
  31721. descriptor was novel enough to make everybody want a copy -- a few
  31722. servers seem to be publishing new descriptors many times a minute.
  31723. o Minor bugfixes:
  31724. - Fix a rare bug that was causing some servers to complain about
  31725. "closing wedged cpuworkers" and skip some circuit create requests.
  31726. - Make the Exit flag in directory status documents actually work.
  31727. Changes in version 0.1.1.21 - 2006-06-10
  31728. o Crash and assert fixes from 0.1.1.20:
  31729. - Fix a rare crash on Tor servers that have enabled hibernation.
  31730. - Fix a seg fault on startup for Tor networks that use only one
  31731. directory authority.
  31732. - Fix an assert from a race condition that occurs on Tor servers
  31733. while exiting, where various threads are trying to log that they're
  31734. exiting, and delete the logs, at the same time.
  31735. - Make our unit tests pass again on certain obscure platforms.
  31736. o Other fixes:
  31737. - Add support for building SUSE RPM packages.
  31738. - Speed up initial bootstrapping for clients: if we are making our
  31739. first ever connection to any entry guard, then don't mark it down
  31740. right after that.
  31741. - When only one Tor server in the network is labelled as a guard,
  31742. and we've already picked him, we would cycle endlessly picking him
  31743. again, being unhappy about it, etc. Now we specifically exclude
  31744. current guards when picking a new guard.
  31745. - Servers send create cells more reliably after the TLS connection
  31746. is established: we were sometimes forgetting to send half of them
  31747. when we had more than one pending.
  31748. - If we get a create cell that asks us to extend somewhere, but the
  31749. Tor server there doesn't match the expected digest, we now send
  31750. a destroy cell back, rather than silently doing nothing.
  31751. - Make options->RedirectExit work again.
  31752. - Make cookie authentication for the controller work again.
  31753. - Stop being picky about unusual characters in the arguments to
  31754. mapaddress. It's none of our business.
  31755. - Add a new config option "TestVia" that lets you specify preferred
  31756. middle hops to use for test circuits. Perhaps this will let me
  31757. debug the reachability problems better.
  31758. o Log / documentation fixes:
  31759. - If we're a server and some peer has a broken TLS certificate, don't
  31760. log about it unless ProtocolWarnings is set, i.e., we want to hear
  31761. about protocol violations by others.
  31762. - Fix spelling of VirtualAddrNetwork in man page.
  31763. - Add a better explanation at the top of the autogenerated torrc file
  31764. about what happened to our old torrc.
  31765. Changes in version 0.1.1.20 - 2006-05-23
  31766. o Bugfixes:
  31767. - Downgrade a log severity where servers complain that they're
  31768. invalid.
  31769. - Avoid a compile warning on FreeBSD.
  31770. - Remove string size limit on NEWDESC messages; solve bug 291.
  31771. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  31772. more thoroughly when we're running on windows.
  31773. Changes in version 0.1.1.19-rc - 2006-05-03
  31774. o Minor bugs:
  31775. - Regenerate our local descriptor if it's dirty and we try to use
  31776. it locally (e.g. if it changes during reachability detection).
  31777. - If we setconf our ORPort to 0, we continued to listen on the
  31778. old ORPort and receive connections.
  31779. - Avoid a second warning about machine/limits.h on Debian
  31780. GNU/kFreeBSD.
  31781. - Be willing to add our own routerinfo into the routerlist.
  31782. Now authorities will include themselves in their directories
  31783. and network-statuses.
  31784. - Stop trying to upload rendezvous descriptors to every
  31785. directory authority: only try the v1 authorities.
  31786. - Servers no longer complain when they think they're not
  31787. registered with the directory authorities. There were too many
  31788. false positives.
  31789. - Backport dist-rpm changes so rpms can be built without errors.
  31790. o Features:
  31791. - Implement an option, VirtualAddrMask, to set which addresses
  31792. get handed out in response to mapaddress requests. This works
  31793. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  31794. Changes in version 0.1.1.18-rc - 2006-04-10
  31795. o Major fixes:
  31796. - Work harder to download live network-statuses from all the
  31797. directory authorities we know about. Improve the threshold
  31798. decision logic so we're more robust to edge cases.
  31799. - When fetching rendezvous descriptors, we were willing to ask
  31800. v2 authorities too, which would always return 404.
  31801. o Minor fixes:
  31802. - Stop listing down or invalid nodes in the v1 directory. This will
  31803. reduce its bulk by about 1/3, and reduce load on directory
  31804. mirrors.
  31805. - When deciding whether a router is Fast or Guard-worthy, consider
  31806. his advertised BandwidthRate and not just the BandwidthCapacity.
  31807. - No longer ship INSTALL and README files -- they are useless now.
  31808. - Force rpmbuild to behave and honor target_cpu.
  31809. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  31810. - Start to include translated versions of the tor-doc-*.html
  31811. files, along with the screenshots. Still needs more work.
  31812. - Start sending back 512 and 451 errors if mapaddress fails,
  31813. rather than not sending anything back at all.
  31814. - When we fail to bind or listen on an incoming or outgoing
  31815. socket, we should close it before failing. otherwise we just
  31816. leak it. (thanks to weasel for finding.)
  31817. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  31818. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  31819. - Make NoPublish (even though deprecated) work again.
  31820. - Fix a minor security flaw where a versioning auth dirserver
  31821. could list a recommended version many times in a row to make
  31822. clients more convinced that it's recommended.
  31823. - Fix crash bug if there are two unregistered servers running
  31824. with the same nickname, one of them is down, and you ask for
  31825. them by nickname in your EntryNodes or ExitNodes. Also, try
  31826. to pick the one that's running rather than an arbitrary one.
  31827. - Fix an infinite loop we could hit if we go offline for too long.
  31828. - Complain when we hit WSAENOBUFS on recv() or write() too.
  31829. Perhaps this will help us hunt the bug.
  31830. - If you're not a versioning dirserver, don't put the string
  31831. "client-versions \nserver-versions \n" in your network-status.
  31832. - Lower the minimum required number of file descriptors to 1000,
  31833. so we can have some overhead for Valgrind on Linux, where the
  31834. default ulimit -n is 1024.
  31835. o New features:
  31836. - Add tor.dizum.com as the fifth authoritative directory server.
  31837. - Add a new config option FetchUselessDescriptors, off by default,
  31838. for when you plan to run "exitlist" on your client and you want
  31839. to know about even the non-running descriptors.
  31840. Changes in version 0.1.1.17-rc - 2006-03-28
  31841. o Major fixes:
  31842. - Clients and servers since 0.1.1.10-alpha have been expiring
  31843. connections whenever they are idle for 5 minutes and they *do*
  31844. have circuits on them. Oops. With this new version, clients will
  31845. discard their previous entry guard choices and avoid choosing
  31846. entry guards running these flawed versions.
  31847. - Fix memory leak when uncompressing concatenated zlib streams. This
  31848. was causing substantial leaks over time on Tor servers.
  31849. - The v1 directory was including servers as much as 48 hours old,
  31850. because that's how the new routerlist->routers works. Now only
  31851. include them if they're 20 hours old or less.
  31852. o Minor fixes:
  31853. - Resume building on irix64, netbsd 2.0, etc.
  31854. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  31855. "-Wall -g -O2".
  31856. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  31857. and it is confusing some users.
  31858. - Mirrors stop caching the v1 directory so often.
  31859. - Make the max number of old descriptors that a cache will hold
  31860. rise with the number of directory authorities, so we can scale.
  31861. - Change our win32 uname() hack to be more forgiving about what
  31862. win32 versions it thinks it's found.
  31863. o New features:
  31864. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  31865. server.
  31866. - When the controller's *setconf commands fail, collect an error
  31867. message in a string and hand it back to the controller.
  31868. - Make the v2 dir's "Fast" flag based on relative capacity, just
  31869. like "Stable" is based on median uptime. Name everything in the
  31870. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  31871. - Log server fingerprint on startup, so new server operators don't
  31872. have to go hunting around their filesystem for it.
  31873. - Return a robots.txt on our dirport to discourage google indexing.
  31874. - Let the controller ask for GETINFO dir/status/foo so it can ask
  31875. directly rather than connecting to the dir port. Only works when
  31876. dirport is set for now.
  31877. o New config options rather than constants in the code:
  31878. - SocksTimeout: How long do we let a socks connection wait
  31879. unattached before we fail it?
  31880. - CircuitBuildTimeout: Cull non-open circuits that were born
  31881. at least this many seconds ago.
  31882. - CircuitIdleTimeout: Cull open clean circuits that were born
  31883. at least this many seconds ago.
  31884. Changes in version 0.1.1.16-rc - 2006-03-18
  31885. o Bugfixes on 0.1.1.15-rc:
  31886. - Fix assert when the controller asks to attachstream a connect-wait
  31887. or resolve-wait stream.
  31888. - Now do address rewriting when the controller asks us to attach
  31889. to a particular circuit too. This will let Blossom specify
  31890. "moria2.exit" without having to learn what moria2's IP address is.
  31891. - Make the "tor --verify-config" command-line work again, so people
  31892. can automatically check if their torrc will parse.
  31893. - Authoritative dirservers no longer require an open connection from
  31894. a server to consider him "reachable". We need this change because
  31895. when we add new auth dirservers, old servers won't know not to
  31896. hang up on them.
  31897. - Let Tor build on Sun CC again.
  31898. - Fix an off-by-one buffer size in dirserv.c that magically never
  31899. hit our three authorities but broke sjmurdoch's own tor network.
  31900. - If we as a directory mirror don't know of any v1 directory
  31901. authorities, then don't try to cache any v1 directories.
  31902. - Stop warning about unknown servers in our family when they are
  31903. given as hex digests.
  31904. - Stop complaining as quickly to the server operator that he
  31905. hasn't registered his nickname/key binding.
  31906. - Various cleanups so we can add new V2 Auth Dirservers.
  31907. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  31908. reflect the updated flags in our v2 dir protocol.
  31909. - Resume allowing non-printable characters for exit streams (both
  31910. for connecting and for resolving). Now we tolerate applications
  31911. that don't follow the RFCs. But continue to block malformed names
  31912. at the socks side.
  31913. o Bugfixes on 0.1.0.x:
  31914. - Fix assert bug in close_logs(): when we close and delete logs,
  31915. remove them all from the global "logfiles" list.
  31916. - Fix minor integer overflow in calculating when we expect to use up
  31917. our bandwidth allocation before hibernating.
  31918. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  31919. there are multiple SSLs installed with different versions.
  31920. - When we try to be a server and Address is not explicitly set and
  31921. our hostname resolves to a private IP address, try to use an
  31922. interface address if it has a public address. Now Windows machines
  31923. that think of themselves as localhost can work by default.
  31924. o New features:
  31925. - Let the controller ask for GETINFO dir/server/foo so it can ask
  31926. directly rather than connecting to the dir port.
  31927. - Let the controller tell us about certain router descriptors
  31928. that it doesn't want Tor to use in circuits. Implement
  31929. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  31930. - New config option SafeSocks to reject all application connections
  31931. using unsafe socks protocols. Defaults to off.
  31932. Changes in version 0.1.1.15-rc - 2006-03-11
  31933. o Bugfixes and cleanups:
  31934. - When we're printing strings from the network, don't try to print
  31935. non-printable characters. This protects us against shell escape
  31936. sequence exploits, and also against attacks to fool humans into
  31937. misreading their logs.
  31938. - Fix a bug where Tor would fail to establish any connections if you
  31939. left it off for 24 hours and then started it: we were happy with
  31940. the obsolete network statuses, but they all referred to router
  31941. descriptors that were too old to fetch, so we ended up with no
  31942. valid router descriptors.
  31943. - Fix a seg fault in the controller's "getinfo orconn-status"
  31944. command while listing status on incoming handshaking connections.
  31945. Introduce a status name "NEW" for these connections.
  31946. - If we get a linelist or linelist_s config option from the torrc
  31947. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  31948. silently resetting it to its default.
  31949. - Don't abandon entry guards until they've been down or gone for
  31950. a whole month.
  31951. - Cleaner and quieter log messages.
  31952. o New features:
  31953. - New controller signal NEWNYM that makes new application requests
  31954. use clean circuits.
  31955. - Add a new circuit purpose 'controller' to let the controller ask
  31956. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  31957. controller command to let you specify the purpose if you're
  31958. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  31959. command to let you change a circuit's purpose after it's been
  31960. created.
  31961. - Accept "private:*" in routerdesc exit policies; not generated yet
  31962. because older Tors do not understand it.
  31963. - Add BSD-style contributed startup script "rc.subr" from Peter
  31964. Thoenen.
  31965. Changes in version 0.1.1.14-alpha - 2006-02-20
  31966. o Bugfixes on 0.1.1.x:
  31967. - Don't die if we ask for a stdout or stderr log (even implicitly)
  31968. and we're set to RunAsDaemon -- just warn.
  31969. - We still had a few bugs in the OR connection rotation code that
  31970. caused directory servers to slowly aggregate connections to other
  31971. fast Tor servers. This time for sure!
  31972. - Make log entries on Win32 include the name of the function again.
  31973. - We were treating a pair of exit policies if they were equal even
  31974. if one said accept and the other said reject -- causing us to
  31975. not always publish a new descriptor since we thought nothing
  31976. had changed.
  31977. - Retry pending server downloads as well as pending networkstatus
  31978. downloads when we unexpectedly get a socks request.
  31979. - We were ignoring the IS_FAST flag in the directory status,
  31980. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  31981. connections.
  31982. - If the controller's SAVECONF command fails (e.g. due to file
  31983. permissions), let the controller know that it failed.
  31984. o Features:
  31985. - If we're trying to be a Tor server and running Windows 95/98/ME
  31986. as a server, explain that we'll likely crash.
  31987. - When we're a server, a client asks for an old-style directory,
  31988. and our write bucket is empty, don't give it to him. This way
  31989. small servers can continue to serve the directory *sometimes*,
  31990. without getting overloaded.
  31991. - Compress exit policies even more -- look for duplicate lines
  31992. and remove them.
  31993. - Clients now honor the "guard" flag in the router status when
  31994. picking entry guards, rather than looking at is_fast or is_stable.
  31995. - Retain unrecognized lines in $DATADIR/state file, so that we can
  31996. be forward-compatible.
  31997. - Generate 18.0.0.0/8 address policy format in descs when we can;
  31998. warn when the mask is not reducible to a bit-prefix.
  31999. - Let the user set ControlListenAddress in the torrc. This can be
  32000. dangerous, but there are some cases (like a secured LAN) where it
  32001. makes sense.
  32002. - Split ReachableAddresses into ReachableDirAddresses and
  32003. ReachableORAddresses, so we can restrict Dir conns to port 80
  32004. and OR conns to port 443.
  32005. - Now we can target arch and OS in rpm builds (contributed by
  32006. Phobos). Also make the resulting dist-rpm filename match the
  32007. target arch.
  32008. - New config options to help controllers: FetchServerDescriptors
  32009. and FetchHidServDescriptors for whether to fetch server
  32010. info and hidserv info or let the controller do it, and
  32011. PublishServerDescriptor and PublishHidServDescriptors.
  32012. - Also let the controller set the __AllDirActionsPrivate config
  32013. option if you want all directory fetches/publishes to happen via
  32014. Tor (it assumes your controller bootstraps your circuits).
  32015. Changes in version 0.1.0.17 - 2006-02-17
  32016. o Crash bugfixes on 0.1.0.x:
  32017. - When servers with a non-zero DirPort came out of hibernation,
  32018. sometimes they would trigger an assert.
  32019. o Other important bugfixes:
  32020. - On platforms that don't have getrlimit (like Windows), we were
  32021. artificially constraining ourselves to a max of 1024
  32022. connections. Now just assume that we can handle as many as 15000
  32023. connections. Hopefully this won't cause other problems.
  32024. o Backported features:
  32025. - When we're a server, a client asks for an old-style directory,
  32026. and our write bucket is empty, don't give it to him. This way
  32027. small servers can continue to serve the directory *sometimes*,
  32028. without getting overloaded.
  32029. - Whenever you get a 503 in response to a directory fetch, try
  32030. once more. This will become important once servers start sending
  32031. 503's whenever they feel busy.
  32032. - Fetch a new directory every 120 minutes, not every 40 minutes.
  32033. Now that we have hundreds of thousands of users running the old
  32034. directory algorithm, it's starting to hurt a lot.
  32035. - Bump up the period for forcing a hidden service descriptor upload
  32036. from 20 minutes to 1 hour.
  32037. Changes in version 0.1.1.13-alpha - 2006-02-09
  32038. o Crashes in 0.1.1.x:
  32039. - When you tried to setconf ORPort via the controller, Tor would
  32040. crash. So people using TorCP to become a server were sad.
  32041. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  32042. servers. The problem appears to be something do with OpenSSL's
  32043. random number generation, or how we call it, or something. Let me
  32044. know if the crashes continue.
  32045. - Turn crypto hardware acceleration off by default, until we find
  32046. somebody smart who can test it for us. (It appears to produce
  32047. seg faults in at least some cases.)
  32048. - Fix a rare assert error when we've tried all intro points for
  32049. a hidden service and we try fetching the service descriptor again:
  32050. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  32051. o Major fixes:
  32052. - Fix a major load balance bug: we were round-robining in 16 KB
  32053. chunks, and servers with bandwidthrate of 20 KB, while downloading
  32054. a 600 KB directory, would starve their other connections. Now we
  32055. try to be a bit more fair.
  32056. - Dir authorities and mirrors were never expiring the newest
  32057. descriptor for each server, causing memory and directory bloat.
  32058. - Fix memory-bloating and connection-bloating bug on servers: We
  32059. were never closing any connection that had ever had a circuit on
  32060. it, because we were checking conn->n_circuits == 0, yet we had a
  32061. bug that let it go negative.
  32062. - Make Tor work using squid as your http proxy again -- squid
  32063. returns an error if you ask for a URL that's too long, and it uses
  32064. a really generic error message. Plus, many people are behind a
  32065. transparent squid so they don't even realize it.
  32066. - On platforms that don't have getrlimit (like Windows), we were
  32067. artificially constraining ourselves to a max of 1024
  32068. connections. Now just assume that we can handle as many as 15000
  32069. connections. Hopefully this won't cause other problems.
  32070. - Add a new config option ExitPolicyRejectPrivate which defaults to
  32071. 1. This means all exit policies will begin with rejecting private
  32072. addresses, unless the server operator explicitly turns it off.
  32073. o Major features:
  32074. - Clients no longer download descriptors for non-running
  32075. descriptors.
  32076. - Before we add new directory authorities, we should make it
  32077. clear that only v1 authorities should receive/publish hidden
  32078. service descriptors.
  32079. o Minor features:
  32080. - As soon as we've fetched some more directory info, immediately
  32081. try to download more server descriptors. This way we don't have
  32082. a 10 second pause during initial bootstrapping.
  32083. - Remove even more loud log messages that the server operator can't
  32084. do anything about.
  32085. - When we're running an obsolete or un-recommended version, make
  32086. the log message more clear about what the problem is and what
  32087. versions *are* still recommended.
  32088. - Provide a more useful warn message when our onion queue gets full:
  32089. the CPU is too slow or the exit policy is too liberal.
  32090. - Don't warn when we receive a 503 from a dirserver/cache -- this
  32091. will pave the way for them being able to refuse if they're busy.
  32092. - When we fail to bind a listener, try to provide a more useful
  32093. log message: e.g., "Is Tor already running?"
  32094. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  32095. Goldberg can prove things about our handshake protocol more
  32096. easily.
  32097. - MaxConn has been obsolete for a while now. Document the ConnLimit
  32098. config option, which is a *minimum* number of file descriptors
  32099. that must be available else Tor refuses to start.
  32100. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  32101. if you log to syslog and want something other than LOG_DAEMON.
  32102. - Make dirservers generate a separate "guard" flag to mean,
  32103. "would make a good entry guard". Make clients parse it and vote
  32104. on it. Not used by clients yet.
  32105. - Implement --with-libevent-dir option to ./configure. Also, improve
  32106. search techniques to find libevent, and use those for openssl too.
  32107. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  32108. - Only start testing reachability once we've established a
  32109. circuit. This will make startup on dirservers less noisy.
  32110. - Don't try to upload hidden service descriptors until we have
  32111. established a circuit.
  32112. - Fix the controller's "attachstream 0" command to treat conn like
  32113. it just connected, doing address remapping, handling .exit and
  32114. .onion idioms, and so on. Now we're more uniform in making sure
  32115. that the controller hears about new and closing connections.
  32116. Changes in version 0.1.1.12-alpha - 2006-01-11
  32117. o Bugfixes on 0.1.1.x:
  32118. - The fix to close duplicate server connections was closing all
  32119. Tor client connections if they didn't establish a circuit
  32120. quickly enough. Oops.
  32121. - Fix minor memory issue (double-free) that happened on exit.
  32122. o Bugfixes on 0.1.0.x:
  32123. - Tor didn't warn when it failed to open a log file.
  32124. Changes in version 0.1.1.11-alpha - 2006-01-10
  32125. o Crashes in 0.1.1.x:
  32126. - Include all the assert/crash fixes from 0.1.0.16.
  32127. - If you start Tor and then quit very quickly, there were some
  32128. races that tried to free things that weren't allocated yet.
  32129. - Fix a rare memory stomp if you're running hidden services.
  32130. - Fix segfault when specifying DirServer in config without nickname.
  32131. - Fix a seg fault when you finish connecting to a server but at
  32132. that moment you dump his server descriptor.
  32133. - Extendcircuit and Attachstream controller commands would
  32134. assert/crash if you don't give them enough arguments.
  32135. - Fix an assert error when we're out of space in the connection_list
  32136. and we try to post a hidden service descriptor (reported by weasel).
  32137. - If you specify a relative torrc path and you set RunAsDaemon in
  32138. your torrc, then it chdir()'s to the new directory. If you HUP,
  32139. it tries to load the new torrc location, fails, and exits.
  32140. The fix: no longer allow a relative path to torrc using -f.
  32141. o Major features:
  32142. - Implement "entry guards": automatically choose a handful of entry
  32143. nodes and stick with them for all circuits. Only pick new guards
  32144. when the ones you have are unsuitable, and if the old guards
  32145. become suitable again, switch back. This will increase security
  32146. dramatically against certain end-point attacks. The EntryNodes
  32147. config option now provides some hints about which entry guards you
  32148. want to use most; and StrictEntryNodes means to only use those.
  32149. - New directory logic: download by descriptor digest, not by
  32150. fingerprint. Caches try to download all listed digests from
  32151. authorities; clients try to download "best" digests from caches.
  32152. This avoids partitioning and isolating attacks better.
  32153. - Make the "stable" router flag in network-status be the median of
  32154. the uptimes of running valid servers, and make clients pay
  32155. attention to the network-status flags. Thus the cutoff adapts
  32156. to the stability of the network as a whole, making IRC, IM, etc
  32157. connections more reliable.
  32158. o Major fixes:
  32159. - Tor servers with dynamic IP addresses were needing to wait 18
  32160. hours before they could start doing reachability testing using
  32161. the new IP address and ports. This is because they were using
  32162. the internal descriptor to learn what to test, yet they were only
  32163. rebuilding the descriptor once they decided they were reachable.
  32164. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  32165. to download certain server descriptors, throw them away, and then
  32166. fetch them again after 30 minutes. Now mirrors throw away these
  32167. server descriptors so clients can't get them.
  32168. - We were leaving duplicate connections to other ORs open for a week,
  32169. rather than closing them once we detect a duplicate. This only
  32170. really affected authdirservers, but it affected them a lot.
  32171. - Spread the authdirservers' reachability testing over the entire
  32172. testing interval, so we don't try to do 500 TLS's at once every
  32173. 20 minutes.
  32174. o Minor fixes:
  32175. - If the network is down, and we try to connect to a conn because
  32176. we have a circuit in mind, and we timeout (30 seconds) because the
  32177. network never answers, we were expiring the circuit, but we weren't
  32178. obsoleting the connection or telling the entry_guards functions.
  32179. - Some Tor servers process billions of cells per day. These statistics
  32180. need to be uint64_t's.
  32181. - Check for integer overflows in more places, when adding elements
  32182. to smartlists. This could possibly prevent a buffer overflow
  32183. on malicious huge inputs. I don't see any, but I haven't looked
  32184. carefully.
  32185. - ReachableAddresses kept growing new "reject *:*" lines on every
  32186. setconf/reload.
  32187. - When you "setconf log" via the controller, it should remove all
  32188. logs. We were automatically adding back in a "log notice stdout".
  32189. - Newly bootstrapped Tor networks couldn't establish hidden service
  32190. circuits until they had nodes with high uptime. Be more tolerant.
  32191. - We were marking servers down when they could not answer every piece
  32192. of the directory request we sent them. This was far too harsh.
  32193. - Fix the torify (tsocks) config file to not use Tor for localhost
  32194. connections.
  32195. - Directory authorities now go to the proper authority when asking for
  32196. a networkstatus, even when they want a compressed one.
  32197. - Fix a harmless bug that was causing Tor servers to log
  32198. "Got an end because of misc error, but we're not an AP. Closing."
  32199. - Authorities were treating their own descriptor changes as cosmetic,
  32200. meaning the descriptor available in the network-status and the
  32201. descriptor that clients downloaded were different.
  32202. - The OS X installer was adding a symlink for tor_resolve but
  32203. the binary was called tor-resolve (reported by Thomas Hardly).
  32204. - Workaround a problem with some http proxies where they refuse GET
  32205. requests that specify "Content-Length: 0" (reported by Adrian).
  32206. - Fix wrong log message when you add a "HiddenServiceNodes" config
  32207. line without any HiddenServiceDir line (reported by Chris Thomas).
  32208. o Minor features:
  32209. - Write the TorVersion into the state file so we have a prayer of
  32210. keeping forward and backward compatibility.
  32211. - Revive the FascistFirewall config option rather than eliminating it:
  32212. now it's a synonym for ReachableAddresses *:80,*:443.
  32213. - Clients choose directory servers from the network status lists,
  32214. not from their internal list of router descriptors. Now they can
  32215. go to caches directly rather than needing to go to authorities
  32216. to bootstrap.
  32217. - Directory authorities ignore router descriptors that have only
  32218. cosmetic differences: do this for 0.1.0.x servers now too.
  32219. - Add a new flag to network-status indicating whether the server
  32220. can answer v2 directory requests too.
  32221. - Authdirs now stop whining so loudly about bad descriptors that
  32222. they fetch from other dirservers. So when there's a log complaint,
  32223. it's for sure from a freshly uploaded descriptor.
  32224. - Reduce memory requirements in our structs by changing the order
  32225. of fields.
  32226. - There used to be two ways to specify your listening ports in a
  32227. server descriptor: on the "router" line and with a separate "ports"
  32228. line. Remove support for the "ports" line.
  32229. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  32230. a panic button: if we get flooded with unusable servers we can
  32231. revert to only listing servers in the approved-routers file.
  32232. - Auth dir servers can now mark a fingerprint as "!reject" or
  32233. "!invalid" in the approved-routers file (as its nickname), to
  32234. refuse descriptors outright or include them but marked as invalid.
  32235. - Servers store bandwidth history across restarts/crashes.
  32236. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  32237. get a better idea of why their circuits failed. Not used yet.
  32238. - Directory mirrors now cache up to 16 unrecognized network-status
  32239. docs. Now we can add new authdirservers and they'll be cached too.
  32240. - When picking a random directory, prefer non-authorities if any
  32241. are known.
  32242. - New controller option "getinfo desc/all-recent" to fetch the
  32243. latest server descriptor for every router that Tor knows about.
  32244. Changes in version 0.1.0.16 - 2006-01-02
  32245. o Crash bugfixes on 0.1.0.x:
  32246. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  32247. corrupting the heap, losing FDs, or crashing when we need to resize
  32248. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  32249. - It turns out sparc64 platforms crash on unaligned memory access
  32250. too -- so detect and avoid this.
  32251. - Handle truncated compressed data correctly (by detecting it and
  32252. giving an error).
  32253. - Fix possible-but-unlikely free(NULL) in control.c.
  32254. - When we were closing connections, there was a rare case that
  32255. stomped on memory, triggering seg faults and asserts.
  32256. - Avoid potential infinite recursion when building a descriptor. (We
  32257. don't know that it ever happened, but better to fix it anyway.)
  32258. - We were neglecting to unlink marked circuits from soon-to-close OR
  32259. connections, which caused some rare scribbling on freed memory.
  32260. - Fix a memory stomping race bug when closing the joining point of two
  32261. rendezvous circuits.
  32262. - Fix an assert in time parsing found by Steven Murdoch.
  32263. o Other bugfixes on 0.1.0.x:
  32264. - When we're doing reachability testing, provide more useful log
  32265. messages so the operator knows what to expect.
  32266. - Do not check whether DirPort is reachable when we are suppressing
  32267. advertising it because of hibernation.
  32268. - When building with -static or on Solaris, we sometimes needed -ldl.
  32269. - When we're deciding whether a stream has enough circuits around
  32270. that can handle it, count the freshly dirty ones and not the ones
  32271. that are so dirty they won't be able to handle it.
  32272. - When we're expiring old circuits, we had a logic error that caused
  32273. us to close new rendezvous circuits rather than old ones.
  32274. - Give a more helpful log message when you try to change ORPort via
  32275. the controller: you should upgrade Tor if you want that to work.
  32276. - We were failing to parse Tor versions that start with "Tor ".
  32277. - Tolerate faulty streams better: when a stream fails for reason
  32278. exitpolicy, stop assuming that the router is lying about his exit
  32279. policy. When a stream fails for reason misc, allow it to retry just
  32280. as if it was resolvefailed. When a stream has failed three times,
  32281. reset its failure count so we can try again and get all three tries.
  32282. Changes in version 0.1.1.10-alpha - 2005-12-11
  32283. o Correctness bugfixes on 0.1.0.x:
  32284. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  32285. corrupting the heap, losing FDs, or crashing when we need to resize
  32286. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  32287. - Stop doing the complex voodoo overkill checking for insecure
  32288. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  32289. - When we were closing connections, there was a rare case that
  32290. stomped on memory, triggering seg faults and asserts.
  32291. - We were neglecting to unlink marked circuits from soon-to-close OR
  32292. connections, which caused some rare scribbling on freed memory.
  32293. - When we're deciding whether a stream has enough circuits around
  32294. that can handle it, count the freshly dirty ones and not the ones
  32295. that are so dirty they won't be able to handle it.
  32296. - Recover better from TCP connections to Tor servers that are
  32297. broken but don't tell you (it happens!); and rotate TLS
  32298. connections once a week.
  32299. - When we're expiring old circuits, we had a logic error that caused
  32300. us to close new rendezvous circuits rather than old ones.
  32301. - Fix a scary-looking but apparently harmless bug where circuits
  32302. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  32303. servers, and never switch to state CIRCUIT_STATE_OPEN.
  32304. - When building with -static or on Solaris, we sometimes needed to
  32305. build with -ldl.
  32306. - Give a useful message when people run Tor as the wrong user,
  32307. rather than telling them to start chowning random directories.
  32308. - We were failing to inform the controller about new .onion streams.
  32309. o Security bugfixes on 0.1.0.x:
  32310. - Refuse server descriptors if the fingerprint line doesn't match
  32311. the included identity key. Tor doesn't care, but other apps (and
  32312. humans) might actually be trusting the fingerprint line.
  32313. - We used to kill the circuit when we receive a relay command we
  32314. don't recognize. Now we just drop it.
  32315. - Start obeying our firewall options more rigorously:
  32316. . If we can't get to a dirserver directly, try going via Tor.
  32317. . Don't ever try to connect (as a client) to a place our
  32318. firewall options forbid.
  32319. . If we specify a proxy and also firewall options, obey the
  32320. firewall options even when we're using the proxy: some proxies
  32321. can only proxy to certain destinations.
  32322. - Fix a bug found by Lasse Overlier: when we were making internal
  32323. circuits (intended to be cannibalized later for rendezvous and
  32324. introduction circuits), we were picking them so that they had
  32325. useful exit nodes. There was no need for this, and it actually
  32326. aids some statistical attacks.
  32327. - Start treating internal circuits and exit circuits separately.
  32328. It's important to keep them separate because internal circuits
  32329. have their last hops picked like middle hops, rather than like
  32330. exit hops. So exiting on them will break the user's expectations.
  32331. o Bugfixes on 0.1.1.x:
  32332. - Take out the mis-feature where we tried to detect IP address
  32333. flapping for people with DynDNS, and chose not to upload a new
  32334. server descriptor sometimes.
  32335. - Try to be compatible with OpenSSL 0.9.6 again.
  32336. - Log fix: when the controller is logging about .onion addresses,
  32337. sometimes it didn't include the ".onion" part of the address.
  32338. - Don't try to modify options->DirServers internally -- if the
  32339. user didn't specify any, just add the default ones directly to
  32340. the trusted dirserver list. This fixes a bug where people running
  32341. controllers would use SETCONF on some totally unrelated config
  32342. option, and Tor would start yelling at them about changing their
  32343. DirServer lines.
  32344. - Let the controller's redirectstream command specify a port, in
  32345. case the controller wants to change that too.
  32346. - When we requested a pile of server descriptors, we sometimes
  32347. accidentally launched a duplicate request for the first one.
  32348. - Bugfix for trackhostexits: write down the fingerprint of the
  32349. chosen exit, not its nickname, because the chosen exit might not
  32350. be verified.
  32351. - When parsing foo.exit, if foo is unknown, and we are leaving
  32352. circuits unattached, set the chosen_exit field and leave the
  32353. address empty. This matters because controllers got confused
  32354. otherwise.
  32355. - Directory authorities no longer try to download server
  32356. descriptors that they know they will reject.
  32357. o Features and updates:
  32358. - Replace balanced trees with hash tables: this should make stuff
  32359. significantly faster.
  32360. - Resume using the AES counter-mode implementation that we ship,
  32361. rather than OpenSSL's. Ours is significantly faster.
  32362. - Many other CPU and memory improvements.
  32363. - Add a new config option FastFirstHopPK (on by default) so clients
  32364. do a trivial crypto handshake for their first hop, since TLS has
  32365. already taken care of confidentiality and authentication.
  32366. - Add a new config option TestSocks so people can see if their
  32367. applications are using socks4, socks4a, socks5-with-ip, or
  32368. socks5-with-hostname. This way they don't have to keep mucking
  32369. with tcpdump and wondering if something got cached somewhere.
  32370. - Warn when listening on a public address for socks. I suspect a
  32371. lot of people are setting themselves up as open socks proxies,
  32372. and they have no idea that jerks on the Internet are using them,
  32373. since they simply proxy the traffic into the Tor network.
  32374. - Add "private:*" as an alias in configuration for policies. Now
  32375. you can simplify your exit policy rather than needing to list
  32376. every single internal or nonroutable network space.
  32377. - Add a new controller event type that allows controllers to get
  32378. all server descriptors that were uploaded to a router in its role
  32379. as authoritative dirserver.
  32380. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  32381. tor-doc-server.html, and stylesheet.css in the tarball.
  32382. - Stop shipping tor-doc.html in the tarball.
  32383. Changes in version 0.1.1.9-alpha - 2005-11-15
  32384. o Usability improvements:
  32385. - Start calling it FooListenAddress rather than FooBindAddress,
  32386. since few of our users know what it means to bind an address
  32387. or port.
  32388. - Reduce clutter in server logs. We're going to try to make
  32389. them actually usable now. New config option ProtocolWarnings that
  32390. lets you hear about how _other Tors_ are breaking the protocol. Off
  32391. by default.
  32392. - Divide log messages into logging domains. Once we put some sort
  32393. of interface on this, it will let people looking at more verbose
  32394. log levels specify the topics they want to hear more about.
  32395. - Make directory servers return better http 404 error messages
  32396. instead of a generic "Servers unavailable".
  32397. - Check for even more Windows version flags when writing the platform
  32398. string in server descriptors, and note any we don't recognize.
  32399. - Clean up more of the OpenSSL memory when exiting, so we can detect
  32400. memory leaks better.
  32401. - Make directory authorities be non-versioning, non-naming by
  32402. default. Now we can add new directory servers without requiring
  32403. their operators to pay close attention.
  32404. - When logging via syslog, include the pid whenever we provide
  32405. a log entry. Suggested by Todd Fries.
  32406. o Performance improvements:
  32407. - Directory servers now silently throw away new descriptors that
  32408. haven't changed much if the timestamps are similar. We do this to
  32409. tolerate older Tor servers that upload a new descriptor every 15
  32410. minutes. (It seemed like a good idea at the time.)
  32411. - Inline bottleneck smartlist functions; use fast versions by default.
  32412. - Add a "Map from digest to void*" abstraction digestmap_t so we
  32413. can do less hex encoding/decoding. Use it in router_get_by_digest()
  32414. to resolve a performance bottleneck.
  32415. - Allow tor_gzip_uncompress to extract as much as possible from
  32416. truncated compressed data. Try to extract as many
  32417. descriptors as possible from truncated http responses (when
  32418. DIR_PURPOSE_FETCH_ROUTERDESC).
  32419. - Make circ->onionskin a pointer, not a static array. moria2 was using
  32420. 125000 circuit_t's after it had been up for a few weeks, which
  32421. translates to 20+ megs of wasted space.
  32422. - The private half of our EDH handshake keys are now chosen out
  32423. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  32424. o Security improvements:
  32425. - Start making directory caches retain old routerinfos, so soon
  32426. clients can start asking by digest of descriptor rather than by
  32427. fingerprint of server.
  32428. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  32429. to use egd (if present), openbsd weirdness (if present), vms/os2
  32430. weirdness (if we ever port there), and more in the future.
  32431. o Bugfixes on 0.1.0.x:
  32432. - Do round-robin writes of at most 16 kB per write. This might be
  32433. more fair on loaded Tor servers, and it might resolve our Windows
  32434. crash bug. It might also slow things down.
  32435. - Our TLS handshakes were generating a single public/private
  32436. keypair for the TLS context, rather than making a new one for
  32437. each new connections. Oops. (But we were still rotating them
  32438. periodically, so it's not so bad.)
  32439. - When we were cannibalizing a circuit with a particular exit
  32440. node in mind, we weren't checking to see if that exit node was
  32441. already present earlier in the circuit. Oops.
  32442. - When a Tor server's IP changes (e.g. from a dyndns address),
  32443. upload a new descriptor so clients will learn too.
  32444. - Really busy servers were keeping enough circuits open on stable
  32445. connections that they were wrapping around the circuit_id
  32446. space. (It's only two bytes.) This exposed a bug where we would
  32447. feel free to reuse a circuit_id even if it still exists but has
  32448. been marked for close. Try to fix this bug. Some bug remains.
  32449. - If we would close a stream early (e.g. it asks for a .exit that
  32450. we know would refuse it) but the LeaveStreamsUnattached config
  32451. option is set by the controller, then don't close it.
  32452. o Bugfixes on 0.1.1.8-alpha:
  32453. - Fix a big pile of memory leaks, some of them serious.
  32454. - Do not try to download a routerdesc if we would immediately reject
  32455. it as obsolete.
  32456. - Resume inserting a newline between all router descriptors when
  32457. generating (old style) signed directories, since our spec says
  32458. we do.
  32459. - When providing content-type application/octet-stream for
  32460. server descriptors using .z, we were leaving out the
  32461. content-encoding header. Oops. (Everything tolerated this just
  32462. fine, but that doesn't mean we need to be part of the problem.)
  32463. - Fix a potential seg fault in getconf and getinfo using version 1
  32464. of the controller protocol.
  32465. - Avoid crash: do not check whether DirPort is reachable when we
  32466. are suppressing it because of hibernation.
  32467. - Make --hash-password not crash on exit.
  32468. Changes in version 0.1.1.8-alpha - 2005-10-07
  32469. o New features (major):
  32470. - Clients don't download or use the directory anymore. Now they
  32471. download and use network-statuses from the trusted dirservers,
  32472. and fetch individual server descriptors as needed from mirrors.
  32473. See dir-spec.txt for all the gory details.
  32474. - Be more conservative about whether to advertise our DirPort.
  32475. The main change is to not advertise if we're running at capacity
  32476. and either a) we could hibernate or b) our capacity is low and
  32477. we're using a default DirPort.
  32478. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  32479. o New features (minor):
  32480. - Try to be smart about when to retry network-status and
  32481. server-descriptor fetches. Still needs some tuning.
  32482. - Stop parsing, storing, or using running-routers output (but
  32483. mirrors still cache and serve it).
  32484. - Consider a threshold of versioning dirservers (dirservers who have
  32485. an opinion about which Tor versions are still recommended) before
  32486. deciding whether to warn the user that he's obsolete.
  32487. - Dirservers can now reject/invalidate by key and IP, with the
  32488. config options "AuthDirInvalid" and "AuthDirReject". This is
  32489. useful since currently we automatically list servers as running
  32490. and usable even if we know they're jerks.
  32491. - Provide dire warnings to any users who set DirServer; move it out
  32492. of torrc.sample and into torrc.complete.
  32493. - Add MyFamily to torrc.sample in the server section.
  32494. - Add nicknames to the DirServer line, so we can refer to them
  32495. without requiring all our users to memorize their IP addresses.
  32496. - When we get an EOF or a timeout on a directory connection, note
  32497. how many bytes of serverdesc we are dropping. This will help
  32498. us determine whether it is smart to parse incomplete serverdesc
  32499. responses.
  32500. - Add a new function to "change pseudonyms" -- that is, to stop
  32501. using any currently-dirty circuits for new streams, so we don't
  32502. link new actions to old actions. Currently it's only called on
  32503. HUP (or SIGNAL RELOAD).
  32504. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  32505. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  32506. OpenSSL. Also, reseed our entropy every hour, not just at
  32507. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  32508. o Fixes on 0.1.1.7-alpha:
  32509. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  32510. version 0, so don't let version 0 controllers ask for it.
  32511. - If you requested something with too many newlines via the
  32512. v1 controller protocol, you could crash tor.
  32513. - Fix a number of memory leaks, including some pretty serious ones.
  32514. - Re-enable DirPort testing again, so Tor servers will be willing
  32515. to advertise their DirPort if it's reachable.
  32516. - On TLS handshake, only check the other router's nickname against
  32517. its expected nickname if is_named is set.
  32518. o Fixes forward-ported from 0.1.0.15:
  32519. - Don't crash when we don't have any spare file descriptors and we
  32520. try to spawn a dns or cpu worker.
  32521. - Make the numbers in read-history and write-history into uint64s,
  32522. so they don't overflow and publish negatives in the descriptor.
  32523. o Fixes on 0.1.0.x:
  32524. - For the OS X package's modified privoxy config file, comment
  32525. out the "logfile" line so we don't log everything passed
  32526. through privoxy.
  32527. - We were whining about using socks4 or socks5-with-local-lookup
  32528. even when it's an IP in the "virtual" range we designed exactly
  32529. for this case.
  32530. - We were leaking some memory every time the client changes IPs.
  32531. - Never call free() on tor_malloc()d memory. This will help us
  32532. use dmalloc to detect memory leaks.
  32533. - Check for named servers when looking them up by nickname;
  32534. warn when we'recalling a non-named server by its nickname;
  32535. don't warn twice about the same name.
  32536. - Try to list MyFamily elements by key, not by nickname, and warn
  32537. if we've not heard of the server.
  32538. - Make windows platform detection (uname equivalent) smarter.
  32539. - It turns out sparc64 doesn't like unaligned access either.
  32540. Changes in version 0.1.0.15 - 2005-09-23
  32541. o Bugfixes on 0.1.0.x:
  32542. - Reject ports 465 and 587 (spam targets) in default exit policy.
  32543. - Don't crash when we don't have any spare file descriptors and we
  32544. try to spawn a dns or cpu worker.
  32545. - Get rid of IgnoreVersion undocumented config option, and make us
  32546. only warn, never exit, when we're running an obsolete version.
  32547. - Don't try to print a null string when your server finds itself to
  32548. be unreachable and the Address config option is empty.
  32549. - Make the numbers in read-history and write-history into uint64s,
  32550. so they don't overflow and publish negatives in the descriptor.
  32551. - Fix a minor memory leak in smartlist_string_remove().
  32552. - We were only allowing ourselves to upload a server descriptor at
  32553. most every 20 minutes, even if it changed earlier than that.
  32554. - Clean up log entries that pointed to old URLs.
  32555. Changes in version 0.1.1.7-alpha - 2005-09-14
  32556. o Fixes on 0.1.1.6-alpha:
  32557. - Exit servers were crashing when people asked them to make a
  32558. connection to an address not in their exit policy.
  32559. - Looking up a non-existent stream for a v1 control connection would
  32560. cause a segfault.
  32561. - Fix a seg fault if we ask a dirserver for a descriptor by
  32562. fingerprint but he doesn't know about him.
  32563. - SETCONF was appending items to linelists, not clearing them.
  32564. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  32565. out and refuse the setconf if it would fail.
  32566. - Downgrade the dirserver log messages when whining about
  32567. unreachability.
  32568. o New features:
  32569. - Add Peter Palfrader's check-tor script to tor/contrib/
  32570. It lets you easily check whether a given server (referenced by
  32571. nickname) is reachable by you.
  32572. - Numerous changes to move towards client-side v2 directories. Not
  32573. enabled yet.
  32574. o Fixes on 0.1.0.x:
  32575. - If the user gave tor an odd number of command-line arguments,
  32576. we were silently ignoring the last one. Now we complain and fail.
  32577. [This wins the oldest-bug prize -- this bug has been present since
  32578. November 2002, as released in Tor 0.0.0.]
  32579. - Do not use unaligned memory access on alpha, mips, or mipsel.
  32580. It *works*, but is very slow, so we treat them as if it doesn't.
  32581. - Retry directory requests if we fail to get an answer we like
  32582. from a given dirserver (we were retrying before, but only if
  32583. we fail to connect).
  32584. - When writing the RecommendedVersions line, sort them first.
  32585. - When the client asked for a rendezvous port that the hidden
  32586. service didn't want to provide, we were sending an IP address
  32587. back along with the end cell. Fortunately, it was zero. But stop
  32588. that anyway.
  32589. - Correct "your server is reachable" log entries to indicate that
  32590. it was self-testing that told us so.
  32591. Changes in version 0.1.1.6-alpha - 2005-09-09
  32592. o Fixes on 0.1.1.5-alpha:
  32593. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  32594. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  32595. - Fix bug with tor_memmem finding a match at the end of the string.
  32596. - Make unit tests run without segfaulting.
  32597. - Resolve some solaris x86 compile warnings.
  32598. - Handle duplicate lines in approved-routers files without warning.
  32599. - Fix bug where as soon as a server refused any requests due to his
  32600. exit policy (e.g. when we ask for localhost and he tells us that's
  32601. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  32602. exit policy using him for any exits.
  32603. - Only do openssl hardware accelerator stuff if openssl version is
  32604. at least 0.9.7.
  32605. o New controller features/fixes:
  32606. - Add a "RESETCONF" command so you can set config options like
  32607. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  32608. a config option in the torrc with no value, then it clears it
  32609. entirely (rather than setting it to its default).
  32610. - Add a "GETINFO config-file" to tell us where torrc is.
  32611. - Avoid sending blank lines when GETINFO replies should be empty.
  32612. - Add a QUIT command for the controller (for using it manually).
  32613. - Fix a bug in SAVECONF that was adding default dirservers and
  32614. other redundant entries to the torrc file.
  32615. o Start on the new directory design:
  32616. - Generate, publish, cache, serve new network-status format.
  32617. - Publish individual descriptors (by fingerprint, by "all", and by
  32618. "tell me yours").
  32619. - Publish client and server recommended versions separately.
  32620. - Allow tor_gzip_uncompress() to handle multiple concatenated
  32621. compressed strings. Serve compressed groups of router
  32622. descriptors. The compression logic here could be more
  32623. memory-efficient.
  32624. - Distinguish v1 authorities (all currently trusted directories)
  32625. from v2 authorities (all trusted directories).
  32626. - Change DirServers config line to note which dirs are v1 authorities.
  32627. - Add configuration option "V1AuthoritativeDirectory 1" which
  32628. moria1, moria2, and tor26 should set.
  32629. - Remove option when getting directory cache to see whether they
  32630. support running-routers; they all do now. Replace it with one
  32631. to see whether caches support v2 stuff.
  32632. o New features:
  32633. - Dirservers now do their own external reachability testing of each
  32634. Tor server, and only list them as running if they've been found to
  32635. be reachable. We also send back warnings to the server's logs if
  32636. it uploads a descriptor that we already believe is unreachable.
  32637. - Implement exit enclaves: if we know an IP address for the
  32638. destination, and there's a running Tor server at that address
  32639. which allows exit to the destination, then extend the circuit to
  32640. that exit first. This provides end-to-end encryption and end-to-end
  32641. authentication. Also, if the user wants a .exit address or enclave,
  32642. use 4 hops rather than 3, and cannibalize a general circ for it
  32643. if you can.
  32644. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  32645. controller. Also, rotate dns and cpu workers if the controller
  32646. changes options that will affect them; and initialize the dns
  32647. worker cache tree whether or not we start out as a server.
  32648. - Only upload a new server descriptor when options change, 18
  32649. hours have passed, uptime is reset, or bandwidth changes a lot.
  32650. - Check [X-]Forwarded-For headers in HTTP requests when generating
  32651. log messages. This lets people run dirservers (and caches) behind
  32652. Apache but still know which IP addresses are causing warnings.
  32653. o Config option changes:
  32654. - Replace (Fascist)Firewall* config options with a new
  32655. ReachableAddresses option that understands address policies.
  32656. For example, "ReachableAddresses *:80,*:443"
  32657. - Get rid of IgnoreVersion undocumented config option, and make us
  32658. only warn, never exit, when we're running an obsolete version.
  32659. - Make MonthlyAccountingStart config option truly obsolete now.
  32660. o Fixes on 0.1.0.x:
  32661. - Reject ports 465 and 587 in the default exit policy, since
  32662. people have started using them for spam too.
  32663. - It turns out we couldn't bootstrap a network since we added
  32664. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  32665. has never gone down. Add an AssumeReachable config option to let
  32666. servers and dirservers bootstrap. When we're trying to build a
  32667. high-uptime or high-bandwidth circuit but there aren't enough
  32668. suitable servers, try being less picky rather than simply failing.
  32669. - Our logic to decide if the OR we connected to was the right guy
  32670. was brittle and maybe open to a mitm for unverified routers.
  32671. - We weren't cannibalizing circuits correctly for
  32672. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  32673. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  32674. build those from scratch. This should make hidden services faster.
  32675. - Predict required circuits better, with an eye toward making hidden
  32676. services faster on the service end.
  32677. - Retry streams if the exit node sends back a 'misc' failure. This
  32678. should result in fewer random failures. Also, after failing
  32679. from resolve failed or misc, reset the num failures, so we give
  32680. it a fair shake next time we try.
  32681. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  32682. - Reduce severity on logs about dns worker spawning and culling.
  32683. - When we're shutting down and we do something like try to post a
  32684. server descriptor or rendezvous descriptor, don't complain that
  32685. we seem to be unreachable. Of course we are, we're shutting down.
  32686. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  32687. We don't use them yet, but maybe one day our DNS resolver will be
  32688. able to discover them.
  32689. - Make ContactInfo mandatory for authoritative directory servers.
  32690. - Require server descriptors to list IPv4 addresses -- hostnames
  32691. are no longer allowed. This also fixes some potential security
  32692. problems with people providing hostnames as their address and then
  32693. preferentially resolving them to partition users.
  32694. - Change log line for unreachability to explicitly suggest /etc/hosts
  32695. as the culprit. Also make it clearer what IP address and ports we're
  32696. testing for reachability.
  32697. - Put quotes around user-supplied strings when logging so users are
  32698. more likely to realize if they add bad characters (like quotes)
  32699. to the torrc.
  32700. - Let auth dir servers start without specifying an Address config
  32701. option.
  32702. - Make unit tests (and other invocations that aren't the real Tor)
  32703. run without launching listeners, creating subdirectories, and so on.
  32704. Changes in version 0.1.1.5-alpha - 2005-08-08
  32705. o Bugfixes included in 0.1.0.14.
  32706. o Bugfixes on 0.1.0.x:
  32707. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  32708. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  32709. it would silently using ignore the 6668.
  32710. Changes in version 0.1.0.14 - 2005-08-08
  32711. o Bugfixes on 0.1.0.x:
  32712. - Fix the other half of the bug with crypto handshakes
  32713. (CVE-2005-2643).
  32714. - Fix an assert trigger if you send a 'signal term' via the
  32715. controller when it's listening for 'event info' messages.
  32716. Changes in version 0.1.1.4-alpha - 2005-08-04
  32717. o Bugfixes included in 0.1.0.13.
  32718. o Features:
  32719. - Improve tor_gettimeofday() granularity on windows.
  32720. - Make clients regenerate their keys when their IP address changes.
  32721. - Implement some more GETINFO goodness: expose helper nodes, config
  32722. options, getinfo keys.
  32723. Changes in version 0.1.0.13 - 2005-08-04
  32724. o Bugfixes on 0.1.0.x:
  32725. - Fix a critical bug in the security of our crypto handshakes.
  32726. - Fix a size_t underflow in smartlist_join_strings2() that made
  32727. it do bad things when you hand it an empty smartlist.
  32728. - Fix Windows installer to ship Tor license (thanks to Aphex for
  32729. pointing out this oversight) and put a link to the doc directory
  32730. in the start menu.
  32731. - Explicitly set no-unaligned-access for sparc: it turns out the
  32732. new gcc's let you compile broken code, but that doesn't make it
  32733. not-broken.
  32734. Changes in version 0.1.1.3-alpha - 2005-07-23
  32735. o Bugfixes on 0.1.1.2-alpha:
  32736. - Fix a bug in handling the controller's "post descriptor"
  32737. function.
  32738. - Fix several bugs in handling the controller's "extend circuit"
  32739. function.
  32740. - Fix a bug in handling the controller's "stream status" event.
  32741. - Fix an assert failure if we have a controller listening for
  32742. circuit events and we go offline.
  32743. - Re-allow hidden service descriptors to publish 0 intro points.
  32744. - Fix a crash when generating your hidden service descriptor if
  32745. you don't have enough intro points already.
  32746. o New features on 0.1.1.2-alpha:
  32747. - New controller function "getinfo accounting", to ask how
  32748. many bytes we've used in this time period.
  32749. - Experimental support for helper nodes: a lot of the risk from
  32750. a small static adversary comes because users pick new random
  32751. nodes every time they rebuild a circuit. Now users will try to
  32752. stick to the same small set of entry nodes if they can. Not
  32753. enabled by default yet.
  32754. o Bugfixes on 0.1.0.12:
  32755. - If you're an auth dir server, always publish your dirport,
  32756. even if you haven't yet found yourself to be reachable.
  32757. - Fix a size_t underflow in smartlist_join_strings2() that made
  32758. it do bad things when you hand it an empty smartlist.
  32759. Changes in version 0.1.0.12 - 2005-07-18
  32760. o New directory servers:
  32761. - tor26 has changed IP address.
  32762. o Bugfixes on 0.1.0.x:
  32763. - Fix a possible double-free in tor_gzip_uncompress().
  32764. - When --disable-threads is set, do not search for or link against
  32765. pthreads libraries.
  32766. - Don't trigger an assert if an authoritative directory server
  32767. claims its dirport is 0.
  32768. - Fix bug with removing Tor as an NT service: some people were
  32769. getting "The service did not return an error." Thanks to Matt
  32770. Edman for the fix.
  32771. Changes in version 0.1.1.2-alpha - 2005-07-15
  32772. o New directory servers:
  32773. - tor26 has changed IP address.
  32774. o Bugfixes on 0.1.0.x, crashes/leaks:
  32775. - Port the servers-not-obeying-their-exit-policies fix from
  32776. 0.1.0.11.
  32777. - Fix an fd leak in start_daemon().
  32778. - On Windows, you can't always reopen a port right after you've
  32779. closed it. So change retry_listeners() to only close and re-open
  32780. ports that have changed.
  32781. - Fix a possible double-free in tor_gzip_uncompress().
  32782. o Bugfixes on 0.1.0.x, usability:
  32783. - When tor_socketpair() fails in Windows, give a reasonable
  32784. Windows-style errno back.
  32785. - Let people type "tor --install" as well as "tor -install" when
  32786. they
  32787. want to make it an NT service.
  32788. - NT service patch from Matt Edman to improve error messages.
  32789. - When the controller asks for a config option with an abbreviated
  32790. name, give the full name in our response.
  32791. - Correct the man page entry on TrackHostExitsExpire.
  32792. - Looks like we were never delivering deflated (i.e. compressed)
  32793. running-routers lists, even when asked. Oops.
  32794. - When --disable-threads is set, do not search for or link against
  32795. pthreads libraries.
  32796. o Bugfixes on 0.1.1.x:
  32797. - Fix a seg fault with autodetecting which controller version is
  32798. being used.
  32799. o Features:
  32800. - New hidden service descriptor format: put a version in it, and
  32801. let people specify introduction/rendezvous points that aren't
  32802. in "the directory" (which is subjective anyway).
  32803. - Allow the DEBUG controller event to work again. Mark certain log
  32804. entries as "don't tell this to controllers", so we avoid cycles.
  32805. Changes in version 0.1.0.11 - 2005-06-30
  32806. o Bugfixes on 0.1.0.x:
  32807. - Fix major security bug: servers were disregarding their
  32808. exit policies if clients behaved unexpectedly.
  32809. - Make OS X init script check for missing argument, so we don't
  32810. confuse users who invoke it incorrectly.
  32811. - Fix a seg fault in "tor --hash-password foo".
  32812. - The MAPADDRESS control command was broken.
  32813. Changes in version 0.1.1.1-alpha - 2005-06-29
  32814. o Bugfixes:
  32815. - Make OS X init script check for missing argument, so we don't
  32816. confuse users who invoke it incorrectly.
  32817. - Fix a seg fault in "tor --hash-password foo".
  32818. - Fix a possible way to DoS dirservers.
  32819. - When we complain that your exit policy implicitly allows local or
  32820. private address spaces, name them explicitly so operators can
  32821. fix it.
  32822. - Make the log message less scary when all the dirservers are
  32823. temporarily unreachable.
  32824. - We were printing the number of idle dns workers incorrectly when
  32825. culling them.
  32826. o Features:
  32827. - Revised controller protocol (version 1) that uses ascii rather
  32828. than binary. Add supporting libraries in python and java so you
  32829. can use the controller from your applications without caring how
  32830. our protocol works.
  32831. - Spiffy new support for crypto hardware accelerators. Can somebody
  32832. test this?
  32833. Changes in version 0.0.9.10 - 2005-06-16
  32834. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  32835. - Refuse relay cells that claim to have a length larger than the
  32836. maximum allowed. This prevents a potential attack that could read
  32837. arbitrary memory (e.g. keys) from an exit server's process
  32838. (CVE-2005-2050).
  32839. Changes in version 0.1.0.10 - 2005-06-14
  32840. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  32841. libevent before 1.1a.
  32842. Changes in version 0.1.0.9-rc - 2005-06-09
  32843. o Bugfixes:
  32844. - Reset buf->highwater every time buf_shrink() is called, not just on
  32845. a successful shrink. This was causing significant memory bloat.
  32846. - Fix buffer overflow when checking hashed passwords.
  32847. - Security fix: if seeding the RNG on Win32 fails, quit.
  32848. - Allow seeding the RNG on Win32 even when you're not running as
  32849. Administrator.
  32850. - Disable threading on Solaris too. Something is wonky with it,
  32851. cpuworkers, and reentrant libs.
  32852. - Reenable the part of the code that tries to flush as soon as an
  32853. OR outbuf has a full TLS record available. Perhaps this will make
  32854. OR outbufs not grow as huge except in rare cases, thus saving lots
  32855. of CPU time plus memory.
  32856. - Reject malformed .onion addresses rather then passing them on as
  32857. normal web requests.
  32858. - Adapt patch from Adam Langley: fix possible memory leak in
  32859. tor_lookup_hostname().
  32860. - Initialize libevent later in the startup process, so the logs are
  32861. already established by the time we start logging libevent warns.
  32862. - Use correct errno on win32 if libevent fails.
  32863. - Check and warn about known-bad/slow libevent versions.
  32864. - Pay more attention to the ClientOnly config option.
  32865. - Have torctl.in/tor.sh.in check for location of su binary (needed
  32866. on FreeBSD)
  32867. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  32868. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  32869. HttpProxyAuthenticator
  32870. - Stop warning about sigpipes in the logs. We're going to
  32871. pretend that getting these occasionally is normal and fine.
  32872. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  32873. certain
  32874. installer screens; and don't put stuff into StartupItems unless
  32875. the user asks you to.
  32876. - Require servers that use the default dirservers to have public IP
  32877. addresses. We have too many servers that are configured with private
  32878. IPs and their admins never notice the log entries complaining that
  32879. their descriptors are being rejected.
  32880. - Add OSX uninstall instructions. An actual uninstall script will
  32881. come later.
  32882. Changes in version 0.1.0.8-rc - 2005-05-23
  32883. o Bugfixes:
  32884. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  32885. panics. Disable kqueue on all OS X Tors.
  32886. - Fix RPM: remove duplicate line accidentally added to the rpm
  32887. spec file.
  32888. - Disable threads on openbsd too, since its gethostaddr is not
  32889. reentrant either.
  32890. - Tolerate libevent 0.8 since it still works, even though it's
  32891. ancient.
  32892. - Enable building on Red Hat 9.0 again.
  32893. - Allow the middle hop of the testing circuit to be running any
  32894. version, now that most of them have the bugfix to let them connect
  32895. to unknown servers. This will allow reachability testing to work
  32896. even when 0.0.9.7-0.0.9.9 become obsolete.
  32897. - Handle relay cells with rh.length too large. This prevents
  32898. a potential attack that could read arbitrary memory (maybe even
  32899. keys) from the exit server's process.
  32900. - We screwed up the dirport reachability testing when we don't yet
  32901. have a cached version of the directory. Hopefully now fixed.
  32902. - Clean up router_load_single_router() (used by the controller),
  32903. so it doesn't seg fault on error.
  32904. - Fix a minor memory leak when somebody establishes an introduction
  32905. point at your Tor server.
  32906. - If a socks connection ends because read fails, don't warn that
  32907. you're not sending a socks reply back.
  32908. o Features:
  32909. - Add HttpProxyAuthenticator config option too, that works like
  32910. the HttpsProxyAuthenticator config option.
  32911. - Encode hashed controller passwords in hex instead of base64,
  32912. to make it easier to write controllers.
  32913. Changes in version 0.1.0.7-rc - 2005-05-17
  32914. o Bugfixes:
  32915. - Fix a bug in the OS X package installer that prevented it from
  32916. installing on Tiger.
  32917. - Fix a script bug in the OS X package installer that made it
  32918. complain during installation.
  32919. - Find libevent even if it's hiding in /usr/local/ and your
  32920. CFLAGS and LDFLAGS don't tell you to look there.
  32921. - Be able to link with libevent as a shared library (the default
  32922. after 1.0d), even if it's hiding in /usr/local/lib and even
  32923. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  32924. assuming you're running gcc. Otherwise fail and give a useful
  32925. error message.
  32926. - Fix a bug in the RPM packager: set home directory for _tor to
  32927. something more reasonable when first installing.
  32928. - Free a minor amount of memory that is still reachable on exit.
  32929. Changes in version 0.1.0.6-rc - 2005-05-14
  32930. o Bugfixes:
  32931. - Implement --disable-threads configure option. Disable threads on
  32932. netbsd by default, because it appears to have no reentrant resolver
  32933. functions.
  32934. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  32935. release (1.1) detects and disables kqueue if it's broken.
  32936. - Append default exit policy before checking for implicit internal
  32937. addresses. Now we don't log a bunch of complaints on startup
  32938. when using the default exit policy.
  32939. - Some people were putting "Address " in their torrc, and they had
  32940. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  32941. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  32942. LOCALSTATEDIR/tor instead.
  32943. - Fix fragmented-message bug in TorControl.py.
  32944. - Resolve a minor bug which would prevent unreachable dirports
  32945. from getting suppressed in the published descriptor.
  32946. - When the controller gave us a new descriptor, we weren't resolving
  32947. it immediately, so Tor would think its address was 0.0.0.0 until
  32948. we fetched a new directory.
  32949. - Fix an uppercase/lowercase case error in suppressing a bogus
  32950. libevent warning on some Linuxes.
  32951. o Features:
  32952. - Begin scrubbing sensitive strings from logs by default. Turn off
  32953. the config option SafeLogging if you need to do debugging.
  32954. - Switch to a new buffer management algorithm, which tries to avoid
  32955. reallocing and copying quite as much. In first tests it looks like
  32956. it uses *more* memory on average, but less cpu.
  32957. - First cut at support for "create-fast" cells. Clients can use
  32958. these when extending to their first hop, since the TLS already
  32959. provides forward secrecy and authentication. Not enabled on
  32960. clients yet.
  32961. - When dirservers refuse a router descriptor, we now log its
  32962. contactinfo, platform, and the poster's IP address.
  32963. - Call tor_free_all instead of connections_free_all after forking, to
  32964. save memory on systems that need to fork.
  32965. - Whine at you if you're a server and you don't set your contactinfo.
  32966. - Implement --verify-config command-line option to check if your torrc
  32967. is valid without actually launching Tor.
  32968. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  32969. rather than just rejecting it.
  32970. Changes in version 0.1.0.5-rc - 2005-04-27
  32971. o Bugfixes:
  32972. - Stop trying to print a null pointer if an OR conn fails because
  32973. we didn't like its cert.
  32974. o Features:
  32975. - Switch our internal buffers implementation to use a ring buffer,
  32976. to hopefully improve performance for fast servers a lot.
  32977. - Add HttpsProxyAuthenticator support (basic auth only), based
  32978. on patch from Adam Langley.
  32979. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  32980. the fast servers that have been joining lately.
  32981. - Give hidden service accesses extra time on the first attempt,
  32982. since 60 seconds is often only barely enough. This might improve
  32983. robustness more.
  32984. - Improve performance for dirservers: stop re-parsing the whole
  32985. directory every time you regenerate it.
  32986. - Add more debugging info to help us find the weird dns freebsd
  32987. pthreads bug; cleaner debug messages to help track future issues.
  32988. Changes in version 0.0.9.9 - 2005-04-23
  32989. o Bugfixes on 0.0.9.x:
  32990. - If unofficial Tor clients connect and send weird TLS certs, our
  32991. Tor server triggers an assert. This release contains a minimal
  32992. backport from the broader fix that we put into 0.1.0.4-rc.
  32993. Changes in version 0.1.0.4-rc - 2005-04-23
  32994. o Bugfixes:
  32995. - If unofficial Tor clients connect and send weird TLS certs, our
  32996. Tor server triggers an assert. Stop asserting, and start handling
  32997. TLS errors better in other situations too.
  32998. - When the controller asks us to tell it about all the debug-level
  32999. logs, it turns out we were generating debug-level logs while
  33000. telling it about them, which turns into a bad loop. Now keep
  33001. track of whether you're sending a debug log to the controller,
  33002. and don't log when you are.
  33003. - Fix the "postdescriptor" feature of the controller interface: on
  33004. non-complete success, only say "done" once.
  33005. o Features:
  33006. - Clients are now willing to load balance over up to 2mB, not 1mB,
  33007. of advertised bandwidth capacity.
  33008. - Add a NoPublish config option, so you can be a server (e.g. for
  33009. testing running Tor servers in other Tor networks) without
  33010. publishing your descriptor to the primary dirservers.
  33011. Changes in version 0.1.0.3-rc - 2005-04-08
  33012. o Improvements on 0.1.0.2-rc:
  33013. - Client now retries when streams end early for 'hibernating' or
  33014. 'resource limit' reasons, rather than failing them.
  33015. - More automated handling for dirserver operators:
  33016. - Automatically approve nodes running 0.1.0.2-rc or later,
  33017. now that the the reachability detection stuff is working.
  33018. - Now we allow two unverified servers with the same nickname
  33019. but different keys. But if a nickname is verified, only that
  33020. nickname+key are allowed.
  33021. - If you're an authdirserver connecting to an address:port,
  33022. and it's not the OR you were expecting, forget about that
  33023. descriptor. If he *was* the one you were expecting, then forget
  33024. about all other descriptors for that address:port.
  33025. - Allow servers to publish descriptors from 12 hours in the future.
  33026. Corollary: only whine about clock skew from the dirserver if
  33027. he's a trusted dirserver (since now even verified servers could
  33028. have quite wrong clocks).
  33029. - Adjust maximum skew and age for rendezvous descriptors: let skew
  33030. be 48 hours rather than 90 minutes.
  33031. - Efficiency improvements:
  33032. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  33033. it much faster to look up a circuit for each relay cell.
  33034. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  33035. since they're eating our cpu on exit nodes.
  33036. - Stop wasting time doing a case insensitive comparison for every
  33037. dns name every time we do any lookup. Canonicalize the names to
  33038. lowercase and be done with it.
  33039. - Start sending 'truncated' cells back rather than destroy cells,
  33040. if the circuit closes in front of you. This means we won't have
  33041. to abandon partially built circuits.
  33042. - Only warn once per nickname from add_nickname_list_to_smartlist
  33043. per failure, so an entrynode or exitnode choice that's down won't
  33044. yell so much.
  33045. - Put a note in the torrc about abuse potential with the default
  33046. exit policy.
  33047. - Revise control spec and implementation to allow all log messages to
  33048. be sent to controller with their severities intact (suggested by
  33049. Matt Edman). Update TorControl to handle new log event types.
  33050. - Provide better explanation messages when controller's POSTDESCRIPTOR
  33051. fails.
  33052. - Stop putting nodename in the Platform string in server descriptors.
  33053. It doesn't actually help, and it is confusing/upsetting some people.
  33054. o Bugfixes on 0.1.0.2-rc:
  33055. - We were printing the host mask wrong in exit policies in server
  33056. descriptors. This isn't a critical bug though, since we were still
  33057. obeying the exit policy internally.
  33058. - Fix Tor when compiled with libevent but without pthreads: move
  33059. connection_unregister() from _connection_free() to
  33060. connection_free().
  33061. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  33062. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  33063. when we look through the connection array, we'll find any of the
  33064. cpu/dnsworkers. This is no good.
  33065. o Bugfixes on 0.0.9.8:
  33066. - Fix possible bug on threading platforms (e.g. win32) which was
  33067. leaking a file descriptor whenever a cpuworker or dnsworker died.
  33068. - When using preferred entry or exit nodes, ignore whether the
  33069. circuit wants uptime or capacity. They asked for the nodes, they
  33070. get the nodes.
  33071. - chdir() to your datadirectory at the *end* of the daemonize process,
  33072. not the beginning. This was a problem because the first time you
  33073. run tor, if your datadir isn't there, and you have runasdaemon set
  33074. to 1, it will try to chdir to it before it tries to create it. Oops.
  33075. - Handle changed router status correctly when dirserver reloads
  33076. fingerprint file. We used to be dropping all unverified descriptors
  33077. right then. The bug was hidden because we would immediately
  33078. fetch a directory from another dirserver, which would include the
  33079. descriptors we just dropped.
  33080. - When we're connecting to an OR and he's got a different nickname/key
  33081. than we were expecting, only complain loudly if we're an OP or a
  33082. dirserver. Complaining loudly to the OR admins just confuses them.
  33083. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  33084. artificially capped at 500kB.
  33085. Changes in version 0.0.9.8 - 2005-04-07
  33086. o Bugfixes on 0.0.9.x:
  33087. - We have a bug that I haven't found yet. Sometimes, very rarely,
  33088. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  33089. thinks of itself as idle. This meant that no new circuits ever got
  33090. established. Here's a workaround to kill any cpuworker that's been
  33091. busy for more than 100 seconds.
  33092. Changes in version 0.1.0.2-rc - 2005-04-01
  33093. o Bugfixes on 0.1.0.1-rc:
  33094. - Fixes on reachability detection:
  33095. - Don't check for reachability while hibernating.
  33096. - If ORPort is reachable but DirPort isn't, still publish the
  33097. descriptor, but zero out DirPort until it's found reachable.
  33098. - When building testing circs for ORPort testing, use only
  33099. high-bandwidth nodes, so fewer circuits fail.
  33100. - Complain about unreachable ORPort separately from unreachable
  33101. DirPort, so the user knows what's going on.
  33102. - Make sure we only conclude ORPort reachability if we didn't
  33103. initiate the conn. Otherwise we could falsely conclude that
  33104. we're reachable just because we connected to the guy earlier
  33105. and he used that same pipe to extend to us.
  33106. - Authdirservers shouldn't do ORPort reachability detection,
  33107. since they're in clique mode, so it will be rare to find a
  33108. server not already connected to them.
  33109. - When building testing circuits, always pick middle hops running
  33110. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  33111. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  33112. obsolete.)
  33113. - When we decide we're reachable, actually publish our descriptor
  33114. right then.
  33115. - Fix bug in redirectstream in the controller.
  33116. - Fix the state descriptor strings so logs don't claim edge streams
  33117. are in a different state than they actually are.
  33118. - Use recent libevent features when possible (this only really affects
  33119. win32 and osx right now, because the new libevent with these
  33120. features hasn't been released yet). Add code to suppress spurious
  33121. libevent log msgs.
  33122. - Prevent possible segfault in connection_close_unattached_ap().
  33123. - Fix newlines on torrc in win32.
  33124. - Improve error msgs when tor-resolve fails.
  33125. o Improvements on 0.0.9.x:
  33126. - New experimental script tor/contrib/ExerciseServer.py (needs more
  33127. work) that uses the controller interface to build circuits and
  33128. fetch pages over them. This will help us bootstrap servers that
  33129. have lots of capacity but haven't noticed it yet.
  33130. - New experimental script tor/contrib/PathDemo.py (needs more work)
  33131. that uses the controller interface to let you choose whole paths
  33132. via addresses like
  33133. "<hostname>.<path,separated by dots>.<length of path>.path"
  33134. - When we've connected to an OR and handshaked but didn't like
  33135. the result, we were closing the conn without sending destroy
  33136. cells back for pending circuits. Now send those destroys.
  33137. Changes in version 0.0.9.7 - 2005-04-01
  33138. o Bugfixes on 0.0.9.x:
  33139. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  33140. - Compare identity to identity, not to nickname, when extending to
  33141. a router not already in the directory. This was preventing us from
  33142. extending to unknown routers. Oops.
  33143. - Make sure to create OS X Tor user in <500 range, so we aren't
  33144. creating actual system users.
  33145. - Note where connection-that-hasn't-sent-end was marked, and fix
  33146. a few really loud instances of this harmless bug (it's fixed more
  33147. in 0.1.0.x).
  33148. Changes in version 0.1.0.1-rc - 2005-03-28
  33149. o New features:
  33150. - Add reachability testing. Your Tor server will automatically try
  33151. to see if its ORPort and DirPort are reachable from the outside,
  33152. and it won't upload its descriptor until it decides they are.
  33153. - Handle unavailable hidden services better. Handle slow or busy
  33154. hidden services better.
  33155. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  33156. config option.
  33157. - New exit policy: accept most low-numbered ports, rather than
  33158. rejecting most low-numbered ports.
  33159. - More Tor controller support (still experimental). See
  33160. http://tor.eff.org/doc/control-spec.txt for all the new features,
  33161. including signals to emulate unix signals from any platform;
  33162. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  33163. closestream; closecircuit; etc.
  33164. - Make nt services work and start on startup on win32 (based on
  33165. patch by Matt Edman).
  33166. - Add a new AddressMap config directive to rewrite incoming socks
  33167. addresses. This lets you, for example, declare an implicit
  33168. required exit node for certain sites.
  33169. - Add a new TrackHostExits config directive to trigger addressmaps
  33170. for certain incoming socks addresses -- for sites that break when
  33171. your exit keeps changing (based on patch by Mike Perry).
  33172. - Redo the client-side dns cache so it's just an addressmap too.
  33173. - Notice when our IP changes, and reset stats/uptime/reachability.
  33174. - When an application is using socks5, give him the whole variety of
  33175. potential socks5 responses (connect refused, host unreachable, etc),
  33176. rather than just "success" or "failure".
  33177. - A more sane version numbering system. See
  33178. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  33179. - New contributed script "exitlist": a simple python script to
  33180. parse directories and find Tor nodes that exit to listed
  33181. addresses/ports.
  33182. - New contributed script "privoxy-tor-toggle" to toggle whether
  33183. Privoxy uses Tor. Seems to be configured for Debian by default.
  33184. - Report HTTP reasons to client when getting a response from directory
  33185. servers -- so you can actually know what went wrong.
  33186. - New config option MaxAdvertisedBandwidth which lets you advertise
  33187. a low bandwidthrate (to not attract as many circuits) while still
  33188. allowing a higher bandwidthrate in reality.
  33189. o Robustness/stability fixes:
  33190. - Make Tor use Niels Provos's libevent instead of its current
  33191. poll-but-sometimes-select mess. This will let us use faster async
  33192. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  33193. on Windows too.
  33194. - pthread support now too. This was forced because when we forked,
  33195. we ended up wasting a lot of duplicate ram over time. Also switch
  33196. to foo_r versions of some library calls to allow reentry and
  33197. threadsafeness.
  33198. - Better handling for heterogeneous / unreliable nodes:
  33199. - Annotate circuits w/ whether they aim to contain high uptime nodes
  33200. and/or high capacity nodes. When building circuits, choose
  33201. appropriate nodes.
  33202. - This means that every single node in an intro rend circuit,
  33203. not just the last one, will have a minimum uptime.
  33204. - New config option LongLivedPorts to indicate application streams
  33205. that will want high uptime circuits.
  33206. - Servers reset uptime when a dir fetch entirely fails. This
  33207. hopefully reflects stability of the server's network connectivity.
  33208. - If somebody starts his tor server in Jan 2004 and then fixes his
  33209. clock, don't make his published uptime be a year.
  33210. - Reset published uptime when you wake up from hibernation.
  33211. - Introduce a notion of 'internal' circs, which are chosen without
  33212. regard to the exit policy of the last hop. Intro and rendezvous
  33213. circs must be internal circs, to avoid leaking information. Resolve
  33214. and connect streams can use internal circs if they want.
  33215. - New circuit pooling algorithm: make sure to have enough circs around
  33216. to satisfy any predicted ports, and also make sure to have 2 internal
  33217. circs around if we've required internal circs lately (and with high
  33218. uptime if we've seen that lately too).
  33219. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  33220. which describes how often we retry making new circuits if current
  33221. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  33222. how long we're willing to make use of an already-dirty circuit.
  33223. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  33224. circ as necessary, if there are any completed ones lying around
  33225. when we try to launch one.
  33226. - Make hidden services try to establish a rendezvous for 30 seconds,
  33227. rather than for n (where n=3) attempts to build a circuit.
  33228. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  33229. "ShutdownWaitLength".
  33230. - Try to be more zealous about calling connection_edge_end when
  33231. things go bad with edge conns in connection.c.
  33232. - Revise tor-spec to add more/better stream end reasons.
  33233. - Revise all calls to connection_edge_end to avoid sending "misc",
  33234. and to take errno into account where possible.
  33235. o Bug fixes:
  33236. - Fix a race condition that can trigger an assert, when we have a
  33237. pending create cell and an OR connection fails right then.
  33238. - Fix several double-mark-for-close bugs, e.g. where we were finding
  33239. a conn for a cell even if that conn is already marked for close.
  33240. - Make sequence of log messages when starting on win32 with no config
  33241. file more reasonable.
  33242. - When choosing an exit node for a new non-internal circ, don't take
  33243. into account whether it'll be useful for any pending x.onion
  33244. addresses -- it won't.
  33245. - Turn addr_policy_compare from a tristate to a quadstate; this should
  33246. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  33247. for google.com" problem.
  33248. - Make "platform" string in descriptor more accurate for Win32 servers,
  33249. so it's not just "unknown platform".
  33250. - Fix an edge case in parsing config options (thanks weasel).
  33251. If they say "--" on the commandline, it's not an option.
  33252. - Reject odd-looking addresses at the client (e.g. addresses that
  33253. contain a colon), rather than having the server drop them because
  33254. they're malformed.
  33255. - tor-resolve requests were ignoring .exit if there was a working circuit
  33256. they could use instead.
  33257. - REUSEADDR on normal platforms means you can rebind to the port
  33258. right after somebody else has let it go. But REUSEADDR on win32
  33259. means to let you bind to the port _even when somebody else
  33260. already has it bound_! So, don't do that on Win32.
  33261. - Change version parsing logic: a version is "obsolete" if it is not
  33262. recommended and (1) there is a newer recommended version in the
  33263. same series, or (2) there are no recommended versions in the same
  33264. series, but there are some recommended versions in a newer series.
  33265. A version is "new" if it is newer than any recommended version in
  33266. the same series.
  33267. - Stop most cases of hanging up on a socks connection without sending
  33268. the socks reject.
  33269. o Helpful fixes:
  33270. - Require BandwidthRate to be at least 20kB/s for servers.
  33271. - When a dirserver causes you to give a warn, mention which dirserver
  33272. it was.
  33273. - New config option DirAllowPrivateAddresses for authdirservers.
  33274. Now by default they refuse router descriptors that have non-IP or
  33275. private-IP addresses.
  33276. - Stop publishing socksport in the directory, since it's not
  33277. actually meant to be public. For compatibility, publish a 0 there
  33278. for now.
  33279. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  33280. smart" value, that is low for servers and high for clients.
  33281. - If our clock jumps forward by 100 seconds or more, assume something
  33282. has gone wrong with our network and abandon all not-yet-used circs.
  33283. - Warn when exit policy implicitly allows local addresses.
  33284. - If we get an incredibly skewed timestamp from a dirserver mirror
  33285. that isn't a verified OR, don't warn -- it's probably him that's
  33286. wrong.
  33287. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  33288. cookies to disk and doesn't log each web request to disk. (Thanks
  33289. to Brett Carrington for pointing this out.)
  33290. - When a client asks us for a dir mirror and we don't have one,
  33291. launch an attempt to get a fresh one.
  33292. - If we're hibernating and we get a SIGINT, exit immediately.
  33293. - Add --with-dmalloc ./configure option, to track memory leaks.
  33294. - And try to free all memory on closing, so we can detect what
  33295. we're leaking.
  33296. - Cache local dns resolves correctly even when they're .exit
  33297. addresses.
  33298. - Give a better warning when some other server advertises an
  33299. ORPort that is actually an apache running ssl.
  33300. - Add "opt hibernating 1" to server descriptor to make it clearer
  33301. whether the server is hibernating.
  33302. Changes in version 0.0.9.6 - 2005-03-24
  33303. o Bugfixes on 0.0.9.x (crashes and asserts):
  33304. - Add new end stream reasons to maintenance branch. Fix bug where
  33305. reason (8) could trigger an assert. Prevent bug from recurring.
  33306. - Apparently win32 stat wants paths to not end with a slash.
  33307. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  33308. blowing away the circuit that conn->cpath_layer points to, then
  33309. checking to see if the circ is well-formed. Backport check to make
  33310. sure we dont use the cpath on a closed connection.
  33311. - Prevent circuit_resume_edge_reading_helper() from trying to package
  33312. inbufs for marked-for-close streams.
  33313. - Don't crash on hup if your options->address has become unresolvable.
  33314. - Some systems (like OS X) sometimes accept() a connection and tell
  33315. you the remote host is 0.0.0.0:0. If this happens, due to some
  33316. other mis-features, we get confused; so refuse the conn for now.
  33317. o Bugfixes on 0.0.9.x (other):
  33318. - Fix harmless but scary "Unrecognized content encoding" warn message.
  33319. - Add new stream error reason: TORPROTOCOL reason means "you are not
  33320. speaking a version of Tor I understand; say bye-bye to your stream."
  33321. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  33322. into the future, now that we are more tolerant of skew. This
  33323. resolves a bug where a Tor server would refuse to cache a directory
  33324. because all the directories it gets are too far in the future;
  33325. yet the Tor server never logs any complaints about clock skew.
  33326. - Mac packaging magic: make man pages useable, and do not overwrite
  33327. existing torrc files.
  33328. - Make OS X log happily to /var/log/tor/tor.log
  33329. Changes in version 0.0.9.5 - 2005-02-22
  33330. o Bugfixes on 0.0.9.x:
  33331. - Fix an assert race at exit nodes when resolve requests fail.
  33332. - Stop picking unverified dir mirrors--it only leads to misery.
  33333. - Patch from Matt Edman to make NT services work better. Service
  33334. support is still not compiled into the executable by default.
  33335. - Patch from Dmitri Bely so the Tor service runs better under
  33336. the win32 SYSTEM account.
  33337. - Make tor-resolve actually work (?) on Win32.
  33338. - Fix a sign bug when getrlimit claims to have 4+ billion
  33339. file descriptors available.
  33340. - Stop refusing to start when bandwidthburst == bandwidthrate.
  33341. - When create cells have been on the onion queue more than five
  33342. seconds, just send back a destroy and take them off the list.
  33343. Changes in version 0.0.9.4 - 2005-02-03
  33344. o Bugfixes on 0.0.9:
  33345. - Fix an assert bug that took down most of our servers: when
  33346. a server claims to have 1 GB of bandwidthburst, don't
  33347. freak out.
  33348. - Don't crash as badly if we have spawned the max allowed number
  33349. of dnsworkers, or we're out of file descriptors.
  33350. - Block more file-sharing ports in the default exit policy.
  33351. - MaxConn is now automatically set to the hard limit of max
  33352. file descriptors we're allowed (ulimit -n), minus a few for
  33353. logs, etc.
  33354. - Give a clearer message when servers need to raise their
  33355. ulimit -n when they start running out of file descriptors.
  33356. - SGI Compatibility patches from Jan Schaumann.
  33357. - Tolerate a corrupt cached directory better.
  33358. - When a dirserver hasn't approved your server, list which one.
  33359. - Go into soft hibernation after 95% of the bandwidth is used,
  33360. not 99%. This is especially important for daily hibernators who
  33361. have a small accounting max. Hopefully it will result in fewer
  33362. cut connections when the hard hibernation starts.
  33363. - Load-balance better when using servers that claim more than
  33364. 800kB/s of capacity.
  33365. - Make NT services work (experimental, only used if compiled in).
  33366. Changes in version 0.0.9.3 - 2005-01-21
  33367. o Bugfixes on 0.0.9:
  33368. - Backport the cpu use fixes from main branch, so busy servers won't
  33369. need as much processor time.
  33370. - Work better when we go offline and then come back, or when we
  33371. run Tor at boot before the network is up. We do this by
  33372. optimistically trying to fetch a new directory whenever an
  33373. application request comes in and we think we're offline -- the
  33374. human is hopefully a good measure of when the network is back.
  33375. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  33376. long as you keep using them; actually publish hidserv descriptors
  33377. shortly after they change, rather than waiting 20-40 minutes.
  33378. - Enable Mac startup script by default.
  33379. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  33380. - When you update AllowUnverifiedNodes or FirewallPorts via the
  33381. controller's setconf feature, we were always appending, never
  33382. resetting.
  33383. - When you update HiddenServiceDir via setconf, it was screwing up
  33384. the order of reading the lines, making it fail.
  33385. - Do not rewrite a cached directory back to the cache; otherwise we
  33386. will think it is recent and not fetch a newer one on startup.
  33387. - Workaround for webservers that lie about Content-Encoding: Tor
  33388. now tries to autodetect compressed directories and compression
  33389. itself. This lets us Proxypass dir fetches through apache.
  33390. Changes in version 0.0.9.2 - 2005-01-04
  33391. o Bugfixes on 0.0.9 (crashes and asserts):
  33392. - Fix an assert on startup when the disk is full and you're logging
  33393. to a file.
  33394. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  33395. style address, then we'd crash.
  33396. - Fix an assert trigger when the running-routers string we get from
  33397. a dirserver is broken.
  33398. - Make worker threads start and run on win32. Now win32 servers
  33399. may work better.
  33400. - Bandaid (not actually fix, but now it doesn't crash) an assert
  33401. where the dns worker dies mysteriously and the main Tor process
  33402. doesn't remember anything about the address it was resolving.
  33403. o Bugfixes on 0.0.9 (Win32):
  33404. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  33405. name out of the warning/assert messages.
  33406. - Fix a superficial "unhandled error on read" bug on win32.
  33407. - The win32 installer no longer requires a click-through for our
  33408. license, since our Free Software license grants rights but does not
  33409. take any away.
  33410. - Win32: When connecting to a dirserver fails, try another one
  33411. immediately. (This was already working for non-win32 Tors.)
  33412. - Stop trying to parse $HOME on win32 when hunting for default
  33413. DataDirectory.
  33414. - Make tor-resolve.c work on win32 by calling network_init().
  33415. o Bugfixes on 0.0.9 (other):
  33416. - Make 0.0.9.x build on Solaris again.
  33417. - Due to a fencepost error, we were blowing away the \n when reporting
  33418. confvalue items in the controller. So asking for multiple config
  33419. values at once couldn't work.
  33420. - When listing circuits that are pending on an opening OR connection,
  33421. if we're an OR we were listing circuits that *end* at us as
  33422. being pending on every listener, dns/cpu worker, etc. Stop that.
  33423. - Dirservers were failing to create 'running-routers' or 'directory'
  33424. strings if we had more than some threshold of routers. Fix them so
  33425. they can handle any number of routers.
  33426. - Fix a superficial "Duplicate mark for close" bug.
  33427. - Stop checking for clock skew for OR connections, even for servers.
  33428. - Fix a fencepost error that was chopping off the last letter of any
  33429. nickname that is the maximum allowed nickname length.
  33430. - Update URLs in log messages so they point to the new website.
  33431. - Fix a potential problem in mangling server private keys while
  33432. writing to disk (not triggered yet, as far as we know).
  33433. - Include the licenses for other free software we include in Tor,
  33434. now that we're shipping binary distributions more regularly.
  33435. Changes in version 0.0.9.1 - 2004-12-15
  33436. o Bugfixes on 0.0.9:
  33437. - Make hibernation actually work.
  33438. - Make HashedControlPassword config option work.
  33439. - When we're reporting event circuit status to a controller,
  33440. don't use the stream status code.
  33441. Changes in version 0.0.9 - 2004-12-12
  33442. o Cleanups:
  33443. - Clean up manpage and torrc.sample file.
  33444. - Clean up severities and text of log warnings.
  33445. o Mistakes:
  33446. - Make servers trigger an assert when they enter hibernation.
  33447. Changes in version 0.0.9rc7 - 2004-12-08
  33448. o Bugfixes on 0.0.9rc:
  33449. - Fix a stack-trashing crash when an exit node begins hibernating.
  33450. - Avoid looking at unallocated memory while considering which
  33451. ports we need to build circuits to cover.
  33452. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  33453. we shouldn't hold-open-until-flush if the eof arrived first.
  33454. - Fix a bug with init_cookie_authentication() in the controller.
  33455. - When recommending new-format log lines, if the upper bound is
  33456. LOG_ERR, leave it implicit.
  33457. o Bugfixes on 0.0.8.1:
  33458. - Fix a whole slew of memory leaks.
  33459. - Fix isspace() and friends so they still make Solaris happy
  33460. but also so they don't trigger asserts on win32.
  33461. - Fix parse_iso_time on platforms without strptime (eg win32).
  33462. - win32: tolerate extra "readable" events better.
  33463. - win32: when being multithreaded, leave parent fdarray open.
  33464. - Make unit tests work on win32.
  33465. Changes in version 0.0.9rc6 - 2004-12-06
  33466. o Bugfixes on 0.0.9pre:
  33467. - Clean up some more integer underflow opportunities (not exploitable
  33468. we think).
  33469. - While hibernating, hup should not regrow our listeners.
  33470. - Send an end to the streams we close when we hibernate, rather
  33471. than just chopping them off.
  33472. - React to eof immediately on non-open edge connections.
  33473. o Bugfixes on 0.0.8.1:
  33474. - Calculate timeout for waiting for a connected cell from the time
  33475. we sent the begin cell, not from the time the stream started. If
  33476. it took a long time to establish the circuit, we would time out
  33477. right after sending the begin cell.
  33478. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  33479. of * as always matching, so we were picking reject *:* nodes as
  33480. exit nodes too. Oops.
  33481. o Features:
  33482. - New circuit building strategy: keep a list of ports that we've
  33483. used in the past 6 hours, and always try to have 2 circuits open
  33484. or on the way that will handle each such port. Seed us with port
  33485. 80 so web users won't complain that Tor is "slow to start up".
  33486. - Make kill -USR1 dump more useful stats about circuits.
  33487. - When warning about retrying or giving up, print the address, so
  33488. the user knows which one it's talking about.
  33489. - If you haven't used a clean circuit in an hour, throw it away,
  33490. just to be on the safe side. (This means after 6 hours a totally
  33491. unused Tor client will have no circuits open.)
  33492. Changes in version 0.0.9rc5 - 2004-12-01
  33493. o Bugfixes on 0.0.8.1:
  33494. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  33495. - Let resolve conns retry/expire also, rather than sticking around
  33496. forever.
  33497. - If we are using select, make sure we stay within FD_SETSIZE.
  33498. o Bugfixes on 0.0.9pre:
  33499. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  33500. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  33501. finding it.
  33502. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  33503. instead. Impose minima and maxima for all *Period options; impose
  33504. even tighter maxima for fetching if we are a caching dirserver.
  33505. Clip rather than rejecting.
  33506. - Fetch cached running-routers from servers that serve it (that is,
  33507. authdirservers and servers running 0.0.9rc5-cvs or later.)
  33508. o Features:
  33509. - Accept *:706 (silc) in default exit policy.
  33510. - Implement new versioning format for post 0.1.
  33511. - Support "foo.nickname.exit" addresses, to let Alice request the
  33512. address "foo" as viewed by exit node "nickname". Based on a patch
  33513. by Geoff Goodell.
  33514. - Make tor --version --version dump the cvs Id of every file.
  33515. Changes in version 0.0.9rc4 - 2004-11-28
  33516. o Bugfixes on 0.0.8.1:
  33517. - Make windows sockets actually non-blocking (oops), and handle
  33518. win32 socket errors better.
  33519. o Bugfixes on 0.0.9rc1:
  33520. - Actually catch the -USR2 signal.
  33521. Changes in version 0.0.9rc3 - 2004-11-25
  33522. o Bugfixes on 0.0.8.1:
  33523. - Flush the log file descriptor after we print "Tor opening log file",
  33524. so we don't see those messages days later.
  33525. o Bugfixes on 0.0.9rc1:
  33526. - Make tor-resolve work again.
  33527. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  33528. - Fix an assert trigger for clients/servers handling resolves.
  33529. Changes in version 0.0.9rc2 - 2004-11-24
  33530. o Bugfixes on 0.0.9rc1:
  33531. - I broke socks5 support while fixing the eof bug.
  33532. - Allow unitless bandwidths and intervals; they default to bytes
  33533. and seconds.
  33534. - New servers don't start out hibernating; they are active until
  33535. they run out of bytes, so they have a better estimate of how
  33536. long it takes, and so their operators can know they're working.
  33537. Changes in version 0.0.9rc1 - 2004-11-23
  33538. o Bugfixes on 0.0.8.1:
  33539. - Finally fix a bug that's been plaguing us for a year:
  33540. With high load, circuit package window was reaching 0. Whenever
  33541. we got a circuit-level sendme, we were reading a lot on each
  33542. socket, but only writing out a bit. So we would eventually reach
  33543. eof. This would be noticed and acted on even when there were still
  33544. bytes sitting in the inbuf.
  33545. - When poll() is interrupted, we shouldn't believe the revents values.
  33546. o Bugfixes on 0.0.9pre6:
  33547. - Fix hibernate bug that caused pre6 to be broken.
  33548. - Don't keep rephist info for routers that haven't had activity for
  33549. 24 hours. (This matters now that clients have keys, since we track
  33550. them too.)
  33551. - Never call close_temp_logs while validating log options.
  33552. - Fix backslash-escaping on tor.sh.in and torctl.in.
  33553. o Features:
  33554. - Implement weekly/monthly/daily accounting: now you specify your
  33555. hibernation properties by
  33556. AccountingMax N bytes|KB|MB|GB|TB
  33557. AccountingStart day|week|month [day] HH:MM
  33558. Defaults to "month 1 0:00".
  33559. - Let bandwidth and interval config options be specified as 5 bytes,
  33560. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  33561. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  33562. get back to normal.)
  33563. - If your requested entry or exit node has advertised bandwidth 0,
  33564. pick it anyway.
  33565. - Be more greedy about filling up relay cells -- we try reading again
  33566. once we've processed the stuff we read, in case enough has arrived
  33567. to fill the last cell completely.
  33568. - Apply NT service patch from Osamu Fujino. Still needs more work.
  33569. Changes in version 0.0.9pre6 - 2004-11-15
  33570. o Bugfixes on 0.0.8.1:
  33571. - Fix assert failure on malformed socks4a requests.
  33572. - Use identity comparison, not nickname comparison, to choose which
  33573. half of circuit-ID-space each side gets to use. This is needed
  33574. because sometimes we think of a router as a nickname, and sometimes
  33575. as a hex ID, and we can't predict what the other side will do.
  33576. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  33577. write() call will fail and we handle it there.
  33578. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  33579. and smartlist_len, which are two major profiling offenders.
  33580. o Bugfixes on 0.0.9pre5:
  33581. - Fix a bug in read_all that was corrupting config files on windows.
  33582. - When we're raising the max number of open file descriptors to
  33583. 'unlimited', don't log that we just raised it to '-1'.
  33584. - Include event code with events, as required by control-spec.txt.
  33585. - Don't give a fingerprint when clients do --list-fingerprint:
  33586. it's misleading, because it will never be the same again.
  33587. - Stop using strlcpy in tor_strndup, since it was slowing us
  33588. down a lot.
  33589. - Remove warn on startup about missing cached-directory file.
  33590. - Make kill -USR1 work again.
  33591. - Hibernate if we start tor during the "wait for wakeup-time" phase
  33592. of an accounting interval. Log our hibernation plans better.
  33593. - Authoritative dirservers now also cache their directory, so they
  33594. have it on start-up.
  33595. o Features:
  33596. - Fetch running-routers; cache running-routers; compress
  33597. running-routers; serve compressed running-routers.z
  33598. - Add NSI installer script contributed by J Doe.
  33599. - Commit VC6 and VC7 workspace/project files.
  33600. - Commit a tor.spec for making RPM files, with help from jbash.
  33601. - Add contrib/torctl.in contributed by Glenn Fink.
  33602. - Implement the control-spec's SAVECONF command, to write your
  33603. configuration to torrc.
  33604. - Get cookie authentication for the controller closer to working.
  33605. - Include control-spec.txt in the tarball.
  33606. - When set_conf changes our server descriptor, upload a new copy.
  33607. But don't upload it too often if there are frequent changes.
  33608. - Document authentication config in man page, and document signals
  33609. we catch.
  33610. - Clean up confusing parts of man page and torrc.sample.
  33611. - Make expand_filename handle ~ and ~username.
  33612. - Use autoconf to enable largefile support where necessary. Use
  33613. ftello where available, since ftell can fail at 2GB.
  33614. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  33615. log more informatively.
  33616. - Give a slightly more useful output for "tor -h".
  33617. - Refuse application socks connections to port 0.
  33618. - Check clock skew for verified servers, but allow unverified
  33619. servers and clients to have any clock skew.
  33620. - Break DirFetchPostPeriod into:
  33621. - DirFetchPeriod for fetching full directory,
  33622. - StatusFetchPeriod for fetching running-routers,
  33623. - DirPostPeriod for posting server descriptor,
  33624. - RendPostPeriod for posting hidden service descriptors.
  33625. - Make sure the hidden service descriptors are at a random offset
  33626. from each other, to hinder linkability.
  33627. Changes in version 0.0.9pre5 - 2004-11-09
  33628. o Bugfixes on 0.0.9pre4:
  33629. - Fix a seg fault in unit tests (doesn't affect main program).
  33630. - Fix an assert bug where a hidden service provider would fail if
  33631. the first hop of his rendezvous circuit was down.
  33632. - Hidden service operators now correctly handle version 1 style
  33633. INTRODUCE1 cells (nobody generates them still, so not a critical
  33634. bug).
  33635. - If do_hup fails, actually notice.
  33636. - Handle more errnos from accept() without closing the listener.
  33637. Some OpenBSD machines were closing their listeners because
  33638. they ran out of file descriptors.
  33639. - Send resolve cells to exit routers that are running a new
  33640. enough version of the resolve code to work right.
  33641. - Better handling of winsock includes on non-MSV win32 compilers.
  33642. - Some people had wrapped their tor client/server in a script
  33643. that would restart it whenever it died. This did not play well
  33644. with our "shut down if your version is obsolete" code. Now people
  33645. don't fetch a new directory if their local cached version is
  33646. recent enough.
  33647. - Make our autogen.sh work on ksh as well as bash.
  33648. o Major Features:
  33649. - Hibernation: New config option "AccountingMaxKB" lets you
  33650. set how many KBytes per month you want to allow your server to
  33651. consume. Rather than spreading those bytes out evenly over the
  33652. month, we instead hibernate for some of the month and pop up
  33653. at a deterministic time, work until the bytes are consumed, then
  33654. hibernate again. Config option "MonthlyAccountingStart" lets you
  33655. specify which day of the month your billing cycle starts on.
  33656. - Control interface: a separate program can now talk to your
  33657. client/server over a socket, and get/set config options, receive
  33658. notifications of circuits and streams starting/finishing/dying,
  33659. bandwidth used, etc. The next step is to get some GUIs working.
  33660. Let us know if you want to help out. See doc/control-spec.txt .
  33661. - Ship a contrib/tor-control.py as an example script to interact
  33662. with the control port.
  33663. - "tor --hash-password zzyxz" will output a salted password for
  33664. use in authenticating to the control interface.
  33665. - New log format in config:
  33666. "Log minsev[-maxsev] stdout|stderr|syslog" or
  33667. "Log minsev[-maxsev] file /var/foo"
  33668. o Minor Features:
  33669. - DirPolicy config option, to let people reject incoming addresses
  33670. from their dirserver.
  33671. - "tor --list-fingerprint" will list your identity key fingerprint
  33672. and then exit.
  33673. - Add "pass" target for RedirectExit, to make it easier to break
  33674. out of a sequence of RedirectExit rules.
  33675. - Clients now generate a TLS cert too, in preparation for having
  33676. them act more like real nodes.
  33677. - Ship src/win32/ in the tarball, so people can use it to build.
  33678. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  33679. is broken.
  33680. - New "router-status" line in directory, to better bind each verified
  33681. nickname to its identity key.
  33682. - Deprecate unofficial config option abbreviations, and abbreviations
  33683. not on the command line.
  33684. - Add a pure-C tor-resolve implementation.
  33685. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  33686. 1024) file descriptors.
  33687. o Code security improvements, inspired by Ilja:
  33688. - Replace sprintf with snprintf. (I think they were all safe, but
  33689. hey.)
  33690. - Replace strcpy/strncpy with strlcpy in more places.
  33691. - Avoid strcat; use snprintf or strlcat instead.
  33692. - snprintf wrapper with consistent (though not C99) overflow behavior.
  33693. Changes in version 0.0.9pre4 - 2004-10-17
  33694. o Bugfixes on 0.0.9pre3:
  33695. - If the server doesn't specify an exit policy, use the real default
  33696. exit policy, not reject *:*.
  33697. - Ignore fascistfirewall when uploading/downloading hidden service
  33698. descriptors, since we go through Tor for those; and when using
  33699. an HttpProxy, since we assume it can reach them all.
  33700. - When looking for an authoritative dirserver, use only the ones
  33701. configured at boot. Don't bother looking in the directory.
  33702. - The rest of the fix for get_default_conf_file() on older win32.
  33703. - Make 'Routerfile' config option obsolete.
  33704. o Features:
  33705. - New 'MyFamily nick1,...' config option for a server to
  33706. specify other servers that shouldn't be used in the same circuit
  33707. with it. Only believed if nick1 also specifies us.
  33708. - New 'NodeFamily nick1,nick2,...' config option for a client to
  33709. specify nodes that it doesn't want to use in the same circuit.
  33710. - New 'Redirectexit pattern address:port' config option for a
  33711. server to redirect exit connections, e.g. to a local squid.
  33712. Changes in version 0.0.9pre3 - 2004-10-13
  33713. o Bugfixes on 0.0.8.1:
  33714. - Better torrc example lines for dirbindaddress and orbindaddress.
  33715. - Improved bounds checking on parsed ints (e.g. config options and
  33716. the ones we find in directories.)
  33717. - Better handling of size_t vs int, so we're more robust on 64
  33718. bit platforms.
  33719. - Fix the rest of the bug where a newly started OR would appear
  33720. as unverified even after we've added his fingerprint and hupped
  33721. the dirserver.
  33722. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  33723. close it without sending back an end. So 'connection refused'
  33724. would simply be ignored and the user would get no response.
  33725. o Bugfixes on 0.0.9pre2:
  33726. - Serving the cached-on-disk directory to people is bad. We now
  33727. provide no directory until we've fetched a fresh one.
  33728. - Workaround for bug on windows where cached-directories get crlf
  33729. corruption.
  33730. - Make get_default_conf_file() work on older windows too.
  33731. - If we write a *:* exit policy line in the descriptor, don't write
  33732. any more exit policy lines.
  33733. o Features:
  33734. - Use only 0.0.9pre1 and later servers for resolve cells.
  33735. - Make the dirservers file obsolete.
  33736. - Include a dir-signing-key token in directories to tell the
  33737. parsing entity which key is being used to sign.
  33738. - Remove the built-in bulky default dirservers string.
  33739. - New config option "Dirserver %s:%d [fingerprint]", which can be
  33740. repeated as many times as needed. If no dirservers specified,
  33741. default to moria1,moria2,tor26.
  33742. - Make moria2 advertise a dirport of 80, so people behind firewalls
  33743. will be able to get a directory.
  33744. - Http proxy support
  33745. - Dirservers translate requests for http://%s:%d/x to /x
  33746. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  33747. be routed through this host.
  33748. - Clients ask for /tor/x rather than /x for new enough dirservers.
  33749. This way we can one day coexist peacefully with apache.
  33750. - Clients specify a "Host: %s%d" http header, to be compatible
  33751. with more proxies, and so running squid on an exit node can work.
  33752. Changes in version 0.0.8.1 - 2004-10-13
  33753. o Bugfixes:
  33754. - Fix a seg fault that can be triggered remotely for Tor
  33755. clients/servers with an open dirport.
  33756. - Fix a rare assert trigger, where routerinfos for entries in
  33757. our cpath would expire while we're building the path.
  33758. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  33759. - Fix a rare seg fault for people running hidden services on
  33760. intermittent connections.
  33761. - Fix a bug in parsing opt keywords with objects.
  33762. - Fix a stale pointer assert bug when a stream detaches and
  33763. reattaches.
  33764. - Fix a string format vulnerability (probably not exploitable)
  33765. in reporting stats locally.
  33766. - Fix an assert trigger: sometimes launching circuits can fail
  33767. immediately, e.g. because too many circuits have failed recently.
  33768. - Fix a compile warning on 64 bit platforms.
  33769. Changes in version 0.0.9pre2 - 2004-10-03
  33770. o Bugfixes:
  33771. - Make fetching a cached directory work for 64-bit platforms too.
  33772. - Make zlib.h a required header, not an optional header.
  33773. Changes in version 0.0.9pre1 - 2004-10-01
  33774. o Bugfixes:
  33775. - Stop using separate defaults for no-config-file and
  33776. empty-config-file. Now you have to explicitly turn off SocksPort,
  33777. if you don't want it open.
  33778. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  33779. - Improve man page to mention more of the 0.0.8 features.
  33780. - Fix a rare seg fault for people running hidden services on
  33781. intermittent connections.
  33782. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  33783. happier.
  33784. - Fix more dns related bugs: send back resolve_failed and end cells
  33785. more reliably when the resolve fails, rather than closing the
  33786. circuit and then trying to send the cell. Also attach dummy resolve
  33787. connections to a circuit *before* calling dns_resolve(), to fix
  33788. a bug where cached answers would never be sent in RESOLVED cells.
  33789. - When we run out of disk space, or other log writing error, don't
  33790. crash. Just stop logging to that log and continue.
  33791. - We were starting to daemonize before we opened our logs, so if
  33792. there were any problems opening logs, we would complain to stderr,
  33793. which wouldn't work, and then mysteriously exit.
  33794. - Fix a rare bug where sometimes a verified OR would connect to us
  33795. before he'd uploaded his descriptor, which would cause us to
  33796. assign conn->nickname as though he's unverified. Now we look through
  33797. the fingerprint list to see if he's there.
  33798. - Fix a rare assert trigger, where routerinfos for entries in
  33799. our cpath would expire while we're building the path.
  33800. o Features:
  33801. - Clients can ask dirservers for /dir.z to get a compressed version
  33802. of the directory. Only works for servers running 0.0.9, of course.
  33803. - Make clients cache directories and use them to seed their router
  33804. lists at startup. This means clients have a datadir again.
  33805. - Configuration infrastructure support for warning on obsolete
  33806. options.
  33807. - Respond to content-encoding headers by trying to uncompress as
  33808. appropriate.
  33809. - Reply with a deflated directory when a client asks for "dir.z".
  33810. We could use allow-encodings instead, but allow-encodings isn't
  33811. specified in HTTP 1.0.
  33812. - Raise the max dns workers from 50 to 100.
  33813. - Discourage people from setting their dirfetchpostperiod more often
  33814. than once per minute.
  33815. - Protect dirservers from overzealous descriptor uploading -- wait
  33816. 10 seconds after directory gets dirty, before regenerating.
  33817. Changes in version 0.0.8 - 2004-08-25
  33818. o Port it to SunOS 5.9 / Athena
  33819. Changes in version 0.0.8rc2 - 2004-08-20
  33820. o Make it compile on cygwin again.
  33821. o When picking unverified routers, skip those with low uptime and/or
  33822. low bandwidth, depending on what properties you care about.
  33823. Changes in version 0.0.8rc1 - 2004-08-18
  33824. o Changes from 0.0.7.3:
  33825. - Bugfixes:
  33826. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  33827. don't put it into the client dns cache.
  33828. - If a begin failed due to exit policy, but we believe the IP address
  33829. should have been allowed, switch that router to exitpolicy reject *:*
  33830. until we get our next directory.
  33831. - Features:
  33832. - Clients choose nodes proportional to advertised bandwidth.
  33833. - Avoid using nodes with low uptime as introduction points.
  33834. - Handle servers with dynamic IP addresses: don't replace
  33835. options->Address with the resolved one at startup, and
  33836. detect our address right before we make a routerinfo each time.
  33837. - 'FascistFirewall' option to pick dirservers and ORs on specific
  33838. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  33839. which ports are open. (Defaults to 80,443)
  33840. - Be more aggressive about trying to make circuits when the network
  33841. has changed (e.g. when you unsuspend your laptop).
  33842. - Check for time skew on http headers; report date in response to
  33843. "GET /".
  33844. - If the entrynode config line has only one node, don't pick it as
  33845. an exitnode.
  33846. - Add strict{entry|exit}nodes config options. If set to 1, then
  33847. we refuse to build circuits that don't include the specified entry
  33848. or exit nodes.
  33849. - OutboundBindAddress config option, to bind to a specific
  33850. IP address for outgoing connect()s.
  33851. - End truncated log entries (e.g. directories) with "[truncated]".
  33852. o Patches to 0.0.8preX:
  33853. - Bugfixes:
  33854. - Patches to compile and run on win32 again (maybe)?
  33855. - Fix crash when looking for ~/.torrc with no $HOME set.
  33856. - Fix a race bug in the unit tests.
  33857. - Handle verified/unverified name collisions better when new
  33858. routerinfo's arrive in a directory.
  33859. - Sometimes routers were getting entered into the stats before
  33860. we'd assigned their identity_digest. Oops.
  33861. - Only pick and establish intro points after we've gotten a
  33862. directory.
  33863. - Features:
  33864. - AllowUnverifiedNodes config option to let circuits choose no-name
  33865. routers in entry,middle,exit,introduction,rendezvous positions.
  33866. Allow middle and rendezvous positions by default.
  33867. - Add a man page for tor-resolve.
  33868. Changes in version 0.0.7.3 - 2004-08-12
  33869. o Stop dnsworkers from triggering an assert failure when you
  33870. ask them to resolve the host "".
  33871. Changes in version 0.0.8pre3 - 2004-08-09
  33872. o Changes from 0.0.7.2:
  33873. - Allow multiple ORs with same nickname in routerlist -- now when
  33874. people give us one identity key for a nickname, then later
  33875. another, we don't constantly complain until the first expires.
  33876. - Remember used bandwidth (both in and out), and publish 15-minute
  33877. snapshots for the past day into our descriptor.
  33878. - You can now fetch $DIRURL/running-routers to get just the
  33879. running-routers line, not the whole descriptor list. (But
  33880. clients don't use this yet.)
  33881. - When people mistakenly use Tor as an http proxy, point them
  33882. at the tor-doc.html rather than the INSTALL.
  33883. - Remove our mostly unused -- and broken -- hex_encode()
  33884. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  33885. for pointing out this bug.)
  33886. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  33887. fewer problems with people using the wrong key.
  33888. - Change the default exit policy to reject the default edonkey,
  33889. kazaa, gnutella ports.
  33890. - Add replace_file() to util.[ch] to handle win32's rename().
  33891. o Changes from 0.0.8preX:
  33892. - Fix two bugs in saving onion keys to disk when rotating, so
  33893. hopefully we'll get fewer people using old onion keys.
  33894. - Fix an assert error that was making SocksPolicy not work.
  33895. - Be willing to expire routers that have an open dirport -- it's
  33896. just the authoritative dirservers we want to not forget.
  33897. - Reject tor-resolve requests for .onion addresses early, so we
  33898. don't build a whole rendezvous circuit and then fail.
  33899. - When you're warning a server that he's unverified, don't cry
  33900. wolf unpredictably.
  33901. - Fix a race condition: don't try to extend onto a connection
  33902. that's still handshaking.
  33903. - For servers in clique mode, require the conn to be open before
  33904. you'll choose it for your path.
  33905. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  33906. end relay cell, etc.
  33907. - Measure bandwidth capacity over the last 24 hours, not just 12
  33908. - Bugfix: authoritative dirservers were making and signing a new
  33909. directory for each client, rather than reusing the cached one.
  33910. Changes in version 0.0.8pre2 - 2004-08-04
  33911. o Changes from 0.0.7.2:
  33912. - Security fixes:
  33913. - Check directory signature _before_ you decide whether you're
  33914. you're running an obsolete version and should exit.
  33915. - Check directory signature _before_ you parse the running-routers
  33916. list to decide who's running or verified.
  33917. - Bugfixes and features:
  33918. - Check return value of fclose while writing to disk, so we don't
  33919. end up with broken files when servers run out of disk space.
  33920. - Log a warning if the user uses an unsafe socks variant, so people
  33921. are more likely to learn about privoxy or socat.
  33922. - Dirservers now include RFC1123-style dates in the HTTP headers,
  33923. which one day we will use to better detect clock skew.
  33924. o Changes from 0.0.8pre1:
  33925. - Make it compile without warnings again on win32.
  33926. - Log a warning if you're running an unverified server, to let you
  33927. know you might want to get it verified.
  33928. - Only pick a default nickname if you plan to be a server.
  33929. Changes in version 0.0.8pre1 - 2004-07-23
  33930. o Bugfixes:
  33931. - Made our unit tests compile again on OpenBSD 3.5, and tor
  33932. itself compile again on OpenBSD on a sparc64.
  33933. - We were neglecting milliseconds when logging on win32, so
  33934. everything appeared to happen at the beginning of each second.
  33935. o Protocol changes:
  33936. - 'Extend' relay cell payloads now include the digest of the
  33937. intended next hop's identity key. Now we can verify that we're
  33938. extending to the right router, and also extend to routers we
  33939. hadn't heard of before.
  33940. o Features:
  33941. - Tor nodes can now act as relays (with an advertised ORPort)
  33942. without being manually verified by the dirserver operators.
  33943. - Uploaded descriptors of unverified routers are now accepted
  33944. by the dirservers, and included in the directory.
  33945. - Verified routers are listed by nickname in the running-routers
  33946. list; unverified routers are listed as "$<fingerprint>".
  33947. - We now use hash-of-identity-key in most places rather than
  33948. nickname or addr:port, for improved security/flexibility.
  33949. - To avoid Sybil attacks, paths still use only verified servers.
  33950. But now we have a chance to play around with hybrid approaches.
  33951. - Nodes track bandwidth usage to estimate capacity (not used yet).
  33952. - ClientOnly option for nodes that never want to become servers.
  33953. - Directory caching.
  33954. - "AuthoritativeDir 1" option for the official dirservers.
  33955. - Now other nodes (clients and servers) will cache the latest
  33956. directory they've pulled down.
  33957. - They can enable their DirPort to serve it to others.
  33958. - Clients will pull down a directory from any node with an open
  33959. DirPort, and check the signature/timestamp correctly.
  33960. - Authoritative dirservers now fetch directories from other
  33961. authdirservers, to stay better synced.
  33962. - Running-routers list tells who's down also, along with noting
  33963. if they're verified (listed by nickname) or unverified (listed
  33964. by hash-of-key).
  33965. - Allow dirservers to serve running-router list separately.
  33966. This isn't used yet.
  33967. - ORs connect-on-demand to other ORs
  33968. - If you get an extend cell to an OR you're not connected to,
  33969. connect, handshake, and forward the create cell.
  33970. - The authoritative dirservers stay connected to everybody,
  33971. and everybody stays connected to 0.0.7 servers, but otherwise
  33972. clients/servers expire unused connections after 5 minutes.
  33973. - When servers get a sigint, they delay 30 seconds (refusing new
  33974. connections) then exit. A second sigint causes immediate exit.
  33975. - File and name management:
  33976. - Look for .torrc if no CONFDIR "torrc" is found.
  33977. - If no datadir is defined, then choose, make, and secure ~/.tor
  33978. as datadir.
  33979. - If torrc not found, exitpolicy reject *:*.
  33980. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  33981. - If no nickname is defined, derive default from hostname.
  33982. - Rename secret key files, e.g. identity.key -> secret_id_key,
  33983. to discourage people from mailing their identity key to tor-ops.
  33984. - Refuse to build a circuit before the directory has arrived --
  33985. it won't work anyway, since you won't know the right onion keys
  33986. to use.
  33987. - Try other dirservers immediately if the one you try is down. This
  33988. should tolerate down dirservers better now.
  33989. - Parse tor version numbers so we can do an is-newer-than check
  33990. rather than an is-in-the-list check.
  33991. - New socks command 'resolve', to let us shim gethostbyname()
  33992. locally.
  33993. - A 'tor_resolve' script to access the socks resolve functionality.
  33994. - A new socks-extensions.txt doc file to describe our
  33995. interpretation and extensions to the socks protocols.
  33996. - Add a ContactInfo option, which gets published in descriptor.
  33997. - Publish OR uptime in descriptor (and thus in directory) too.
  33998. - Write tor version at the top of each log file
  33999. - New docs in the tarball:
  34000. - tor-doc.html.
  34001. - Document that you should proxy your SSL traffic too.
  34002. Changes in version 0.0.7.2 - 2004-07-07
  34003. o A better fix for the 0.0.0.0 problem, that will hopefully
  34004. eliminate the remaining related assertion failures.
  34005. Changes in version 0.0.7.1 - 2004-07-04
  34006. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  34007. since internally we use 0.0.0.0 to signify "not yet resolved".
  34008. Changes in version 0.0.7 - 2004-06-07
  34009. o Updated the man page to reflect the new features.
  34010. Changes in version 0.0.7rc2 - 2004-06-06
  34011. o Changes from 0.0.7rc1:
  34012. - Make it build on Win32 again.
  34013. o Changes from 0.0.6.2:
  34014. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  34015. settings too.
  34016. Changes in version 0.0.7rc1 - 2004-06-02
  34017. o Bugfixes:
  34018. - On sighup, we were adding another log without removing the first
  34019. one. So log messages would get duplicated n times for n sighups.
  34020. - Several cases of using a connection after we'd freed it. The
  34021. problem was that connections that are pending resolve are in both
  34022. the pending_resolve tree, and also the circuit's resolving_streams
  34023. list. When you want to remove one, you must remove it from both.
  34024. - Fix a double-mark-for-close where an end cell arrived for a
  34025. resolving stream, and then the resolve failed.
  34026. - Check directory signatures based on name of signer, not on whom
  34027. we got the directory from. This will let us cache directories more
  34028. easily.
  34029. o Features:
  34030. - Crank up some of our constants to handle more users.
  34031. Changes in version 0.0.7pre1 - 2004-06-02
  34032. o Fixes for crashes and other obnoxious bugs:
  34033. - Fix an epipe bug: sometimes when directory connections failed
  34034. to connect, we would give them a chance to flush before closing
  34035. them.
  34036. - When we detached from a circuit because of resolvefailed, we
  34037. would immediately try the same circuit twice more, and then
  34038. give up on the resolve thinking we'd tried three different
  34039. exit nodes.
  34040. - Limit the number of intro circuits we'll attempt to build for a
  34041. hidden service per 15-minute period.
  34042. - Check recommended-software string *early*, before actually parsing
  34043. the directory. Thus we can detect an obsolete version and exit,
  34044. even if the new directory format doesn't parse.
  34045. o Fixes for security bugs:
  34046. - Remember which nodes are dirservers when you startup, and if a
  34047. random OR enables his dirport, don't automatically assume he's
  34048. a trusted dirserver.
  34049. o Other bugfixes:
  34050. - Directory connections were asking the wrong poll socket to
  34051. start writing, and not asking themselves to start writing.
  34052. - When we detached from a circuit because we sent a begin but
  34053. didn't get a connected, we would use it again the first time;
  34054. but after that we would correctly switch to a different one.
  34055. - Stop warning when the first onion decrypt attempt fails; they
  34056. will sometimes legitimately fail now that we rotate keys.
  34057. - Override unaligned-access-ok check when $host_cpu is ia64 or
  34058. arm. Apparently they allow it but the kernel whines.
  34059. - Dirservers try to reconnect periodically too, in case connections
  34060. have failed.
  34061. - Fix some memory leaks in directory servers.
  34062. - Allow backslash in Win32 filenames.
  34063. - Made Tor build complain-free on FreeBSD, hopefully without
  34064. breaking other BSD builds. We'll see.
  34065. o Features:
  34066. - Doxygen markup on all functions and global variables.
  34067. - Make directory functions update routerlist, not replace it. So
  34068. now directory disagreements are not so critical a problem.
  34069. - Remove the upper limit on number of descriptors in a dirserver's
  34070. directory (not that we were anywhere close).
  34071. - Allow multiple logfiles at different severity ranges.
  34072. - Allow *BindAddress to specify ":port" rather than setting *Port
  34073. separately. Allow multiple instances of each BindAddress config
  34074. option, so you can bind to multiple interfaces if you want.
  34075. - Allow multiple exit policy lines, which are processed in order.
  34076. Now we don't need that huge line with all the commas in it.
  34077. - Enable accept/reject policies on SOCKS connections, so you can bind
  34078. to 0.0.0.0 but still control who can use your OP.
  34079. Changes in version 0.0.6.2 - 2004-05-16
  34080. o Our integrity-checking digest was checking only the most recent cell,
  34081. not the previous cells like we'd thought.
  34082. Thanks to Stefan Mark for finding the flaw!
  34083. Changes in version 0.0.6.1 - 2004-05-06
  34084. o Fix two bugs in our AES counter-mode implementation (this affected
  34085. onion-level stream encryption, but not TLS-level). It turns
  34086. out we were doing something much more akin to a 16-character
  34087. polyalphabetic cipher. Oops.
  34088. Thanks to Stefan Mark for finding the flaw!
  34089. o Retire moria3 as a directory server, and add tor26 as a directory
  34090. server.
  34091. Changes in version 0.0.6 - 2004-05-02
  34092. [version bump only]
  34093. Changes in version 0.0.6rc4 - 2004-05-01
  34094. o Update the built-in dirservers list to use the new directory format
  34095. o Fix a rare seg fault: if a node offering a hidden service attempts
  34096. to build a circuit to Alice's rendezvous point and fails before it
  34097. reaches the last hop, it retries with a different circuit, but
  34098. then dies.
  34099. o Handle windows socket errors correctly.
  34100. Changes in version 0.0.6rc3 - 2004-04-28
  34101. o Don't expire non-general excess circuits (if we had enough
  34102. circuits open, we were expiring rendezvous circuits -- even
  34103. when they had a stream attached. oops.)
  34104. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  34105. o Better debugging for tls errors
  34106. o Some versions of openssl have an SSL_pending function that erroneously
  34107. returns bytes when there is a non-application record pending.
  34108. o Set Content-Type on the directory and hidserv descriptor.
  34109. o Remove IVs from cipher code, since AES-ctr has none.
  34110. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  34111. o We were using an array of length zero in a few places.
  34112. o win32's gethostbyname can't resolve an IP to an IP.
  34113. o win32's close can't close a socket.
  34114. Changes in version 0.0.6rc2 - 2004-04-26
  34115. o Fix a bug where we were closing tls connections intermittently.
  34116. It turns out openssl keeps its errors around -- so if an error
  34117. happens, and you don't ask about it, and then another openssl
  34118. operation happens and succeeds, and you ask if there was an error,
  34119. it tells you about the first error. Fun fun.
  34120. o Fix a bug that's been lurking since 27 may 03 (!)
  34121. When passing back a destroy cell, we would use the wrong circ id.
  34122. 'Mostly harmless', but still worth fixing.
  34123. o Since we don't support truncateds much, don't bother sending them;
  34124. just close the circ.
  34125. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  34126. o don't crash if a conn that sent a begin has suddenly lost its circuit
  34127. (this was quite rare).
  34128. Changes in version 0.0.6rc1 - 2004-04-25
  34129. o We now rotate link (tls context) keys and onion keys.
  34130. o CREATE cells now include oaep padding, so you can tell
  34131. if you decrypted them correctly.
  34132. o Add bandwidthburst to server descriptor.
  34133. o Directories now say which dirserver signed them.
  34134. o Use a tor_assert macro that logs failed assertions too.
  34135. Changes in version 0.0.6pre5 - 2004-04-18
  34136. o changes from 0.0.6pre4:
  34137. - make tor build on broken freebsd 5.2 installs
  34138. - fix a failed assert when you try an intro point, get a nack, and try
  34139. a second one and it works.
  34140. - when alice uses a port that the hidden service doesn't accept,
  34141. it now sends back an end cell (denied by exit policy). otherwise
  34142. alice would just have to wait to time out.
  34143. - fix another rare bug: when we had tried all the intro
  34144. points for a hidden service, we fetched the descriptor
  34145. again, but we left our introcirc thinking it had already
  34146. sent an intro, so it kept waiting for a response...
  34147. - bugfix: when you sleep your hidden-service laptop, as soon
  34148. as it wakes up it tries to upload a service descriptor, but
  34149. socketpair fails for some reason (localhost not up yet?).
  34150. now we simply give up on that upload, and we'll try again later.
  34151. i'd still like to find the bug though.
  34152. - if an intro circ waiting for an ack dies before getting one, then
  34153. count it as a nack
  34154. - we were reusing stale service descriptors and refetching usable
  34155. ones. oops.
  34156. Changes in version 0.0.6pre4 - 2004-04-14
  34157. o changes from 0.0.6pre3:
  34158. - when bob fails to connect to the rendezvous point, and his
  34159. circ didn't fail because of the rendezvous point itself, then
  34160. he retries a couple of times
  34161. - we expire introduction and rendezvous circs more thoroughly
  34162. (sometimes they were hanging around forever)
  34163. - we expire unattached rendezvous streams that have been around
  34164. too long (they were sticking around forever).
  34165. - fix a measly fencepost error that was crashing everybody with
  34166. a strict glibc.
  34167. Changes in version 0.0.6pre3 - 2004-04-14
  34168. o changes from 0.0.6pre2:
  34169. - make hup work again
  34170. - fix some memory leaks for dirservers
  34171. - allow more skew in rendezvous descriptor timestamps, to help
  34172. handle people like blanu who don't know what time it is
  34173. - normal circs are 3 hops, but some rend/intro circs are 4, if
  34174. the initiator doesn't get to choose the last hop
  34175. - send acks for introductions, so alice can know whether to try
  34176. again
  34177. - bob publishes intro points more correctly
  34178. o changes from 0.0.5:
  34179. - fix an assert trigger that's been plaguing us since the days
  34180. of 0.0.2prexx (thanks weasel!)
  34181. - retry stream correctly when we fail to connect because of
  34182. exit-policy-reject (should try another) or can't-resolve-address
  34183. (also should try another, because dns on random internet servers
  34184. is flaky).
  34185. - when we hup a dirserver and we've *removed* a server from the
  34186. approved-routers list, now we remove that server from the
  34187. in-memory directories too
  34188. Changes in version 0.0.6pre2 - 2004-04-08
  34189. o We fixed our base32 implementation. Now it works on all architectures.
  34190. Changes in version 0.0.6pre1 - 2004-04-08
  34191. o Features:
  34192. - Hidden services and rendezvous points are implemented. Go to
  34193. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  34194. hidden services. (This only works via a socks4a proxy such as
  34195. Privoxy, and currently it's quite slow.)
  34196. Changes in version 0.0.5 - 2004-03-30
  34197. [version bump only]
  34198. Changes in version 0.0.5rc3 - 2004-03-29
  34199. o Install torrc as torrc.sample -- we no longer clobber your
  34200. torrc. (Woo!)
  34201. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  34202. o Add in a 'notice' log level for things the operator should hear
  34203. but that aren't warnings
  34204. Changes in version 0.0.5rc2 - 2004-03-29
  34205. o Hold socks connection open until reply is flushed (if possible)
  34206. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  34207. the dns farm to do it.
  34208. o Fix c99 aliasing warnings in rephist.c
  34209. o Don't include server descriptors that are older than 24 hours in the
  34210. directory.
  34211. o Give socks 'reject' replies their whole 15s to attempt to flush,
  34212. rather than seeing the 60s timeout and assuming the flush had failed.
  34213. o Clean automake droppings from the cvs repository
  34214. Changes in version 0.0.5rc1 - 2004-03-28
  34215. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  34216. o Only build circuits after we've fetched the directory: clients were
  34217. using only the directory servers before they'd fetched a directory.
  34218. This also means longer startup time; so it goes.
  34219. o Fix an assert trigger where an OP would fail to handshake, and we'd
  34220. expect it to have a nickname.
  34221. o Work around a tsocks bug: do a socks reject when AP connection dies
  34222. early, else tsocks goes into an infinite loop.
  34223. Changes in version 0.0.4 - 2004-03-26
  34224. o When connecting to a dirserver or OR and the network is down,
  34225. we would crash.
  34226. Changes in version 0.0.3 - 2004-03-26
  34227. o Warn and fail if server chose a nickname with illegal characters
  34228. o Port to Solaris and Sparc:
  34229. - include missing header fcntl.h
  34230. - have autoconf find -lsocket -lnsl automatically
  34231. - deal with hardware word alignment
  34232. - make uname() work (solaris has a different return convention)
  34233. - switch from using signal() to sigaction()
  34234. o Preliminary work on reputation system:
  34235. - Keep statistics on success/fail of connect attempts; they're published
  34236. by kill -USR1 currently.
  34237. - Add a RunTesting option to try to learn link state by creating test
  34238. circuits, even when SocksPort is off.
  34239. - Remove unused open circuits when there are too many.
  34240. Changes in version 0.0.2 - 2004-03-19
  34241. - Include strlcpy and strlcat for safer string ops
  34242. - define INADDR_NONE so we compile (but still not run) on solaris
  34243. Changes in version 0.0.2pre27 - 2004-03-14
  34244. o Bugfixes:
  34245. - Allow internal tor networks (we were rejecting internal IPs,
  34246. now we allow them if they're set explicitly).
  34247. - And fix a few endian issues.
  34248. Changes in version 0.0.2pre26 - 2004-03-14
  34249. o New features:
  34250. - If a stream times out after 15s without a connected cell, don't
  34251. try that circuit again: try a new one.
  34252. - Retry streams at most 4 times. Then give up.
  34253. - When a dirserver gets a descriptor from an unknown router, it
  34254. logs its fingerprint (so the dirserver operator can choose to
  34255. accept it even without mail from the server operator).
  34256. - Inform unapproved servers when we reject their descriptors.
  34257. - Make tor build on Windows again. It works as a client, who knows
  34258. about as a server.
  34259. - Clearer instructions in the torrc for how to set up a server.
  34260. - Be more efficient about reading fd's when our global token bucket
  34261. (used for rate limiting) becomes empty.
  34262. o Bugfixes:
  34263. - Stop asserting that computers always go forward in time. It's
  34264. simply not true.
  34265. - When we sent a cell (e.g. destroy) and then marked an OR connection
  34266. expired, we might close it before finishing a flush if the other
  34267. side isn't reading right then.
  34268. - Don't allow dirservers to start if they haven't defined
  34269. RecommendedVersions
  34270. - We were caching transient dns failures. Oops.
  34271. - Prevent servers from publishing an internal IP as their address.
  34272. - Address a strcat vulnerability in circuit.c
  34273. Changes in version 0.0.2pre25 - 2004-03-04
  34274. o New features:
  34275. - Put the OR's IP in its router descriptor, not its fqdn. That way
  34276. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  34277. e.g. poblano.
  34278. o Bugfixes:
  34279. - If the user typed in an address that didn't resolve, the server
  34280. crashed.
  34281. Changes in version 0.0.2pre24 - 2004-03-03
  34282. o Bugfixes:
  34283. - Fix an assertion failure in dns.c, where we were trying to dequeue
  34284. a pending dns resolve even if it wasn't pending
  34285. - Fix a spurious socks5 warning about still trying to write after the
  34286. connection is finished.
  34287. - Hold certain marked_for_close connections open until they're finished
  34288. flushing, rather than losing bytes by closing them too early.
  34289. - Correctly report the reason for ending a stream
  34290. - Remove some duplicate calls to connection_mark_for_close
  34291. - Put switch_id and start_daemon earlier in the boot sequence, so it
  34292. will actually try to chdir() to options.DataDirectory
  34293. - Make 'make test' exit(1) if a test fails; fix some unit tests
  34294. - Make tor fail when you use a config option it doesn't know about,
  34295. rather than warn and continue.
  34296. - Make --version work
  34297. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  34298. Changes in version 0.0.2pre23 - 2004-02-29
  34299. o New features:
  34300. - Print a statement when the first circ is finished, so the user
  34301. knows it's working.
  34302. - If a relay cell is unrecognized at the end of the circuit,
  34303. send back a destroy. (So attacks to mutate cells are more
  34304. clearly thwarted.)
  34305. - New config option 'excludenodes' to avoid certain nodes for circuits.
  34306. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  34307. so you can collect coredumps there.
  34308. o Bugfixes:
  34309. - Fix a bug in tls flushing where sometimes data got wedged and
  34310. didn't flush until more data got sent. Hopefully this bug was
  34311. a big factor in the random delays we were seeing.
  34312. - Make 'connected' cells include the resolved IP, so the client
  34313. dns cache actually gets populated.
  34314. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  34315. - When we time-out on a stream and detach from the circuit, send an
  34316. end cell down it first.
  34317. - Only warn about an unknown router (in exitnodes, entrynodes,
  34318. excludenodes) after we've fetched a directory.
  34319. Changes in version 0.0.2pre22 - 2004-02-26
  34320. o New features:
  34321. - Servers publish less revealing uname information in descriptors.
  34322. - More memory tracking and assertions, to crash more usefully when
  34323. errors happen.
  34324. - If the default torrc isn't there, just use some default defaults.
  34325. Plus provide an internal dirservers file if they don't have one.
  34326. - When the user tries to use Tor as an http proxy, give them an http
  34327. 501 failure explaining that we're a socks proxy.
  34328. - Dump a new router.desc on hup, to help confused people who change
  34329. their exit policies and then wonder why router.desc doesn't reflect
  34330. it.
  34331. - Clean up the generic tor.sh init script that we ship with.
  34332. o Bugfixes:
  34333. - If the exit stream is pending on the resolve, and a destroy arrives,
  34334. then the stream wasn't getting removed from the pending list. I
  34335. think this was the one causing recent server crashes.
  34336. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  34337. - When it couldn't resolve any dirservers, it was useless from then on.
  34338. Now it reloads the RouterFile (or default dirservers) if it has no
  34339. dirservers.
  34340. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  34341. many users don't even *have* a /usr/local/sbin/.
  34342. Changes in version 0.0.2pre21 - 2004-02-18
  34343. o New features:
  34344. - There's a ChangeLog file that actually reflects the changelog.
  34345. - There's a 'torify' wrapper script, with an accompanying
  34346. tor-tsocks.conf, that simplifies the process of using tsocks for
  34347. tor. It even has a man page.
  34348. - The tor binary gets installed to sbin rather than bin now.
  34349. - Retry streams where the connected cell hasn't arrived in 15 seconds
  34350. - Clean up exit policy handling -- get the default out of the torrc,
  34351. so we can update it without forcing each server operator to fix
  34352. his/her torrc.
  34353. - Allow imaps and pop3s in default exit policy
  34354. o Bugfixes:
  34355. - Prevent picking middleman nodes as the last node in the circuit
  34356. Changes in version 0.0.2pre20 - 2004-01-30
  34357. o New features:
  34358. - We now have a deb package, and it's in debian unstable. Go to
  34359. it, apt-getters. :)
  34360. - I've split the TotalBandwidth option into BandwidthRate (how many
  34361. bytes per second you want to allow, long-term) and
  34362. BandwidthBurst (how many bytes you will allow at once before the cap
  34363. kicks in). This better token bucket approach lets you, say, set
  34364. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  34365. performance while not exceeding your monthly bandwidth quota.
  34366. - Push out a tls record's worth of data once you've got it, rather
  34367. than waiting until you've read everything waiting to be read. This
  34368. may improve performance by pipelining better. We'll see.
  34369. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  34370. from failed circuits (if they haven't been connected yet) and attach
  34371. to new ones.
  34372. - Expire old streams that haven't managed to connect. Some day we'll
  34373. have them reattach to new circuits instead.
  34374. o Bugfixes:
  34375. - Fix several memory leaks that were causing servers to become bloated
  34376. after a while.
  34377. - Fix a few very rare assert triggers. A few more remain.
  34378. - Setuid to User _before_ complaining about running as root.
  34379. Changes in version 0.0.2pre19 - 2004-01-07
  34380. o Bugfixes:
  34381. - Fix deadlock condition in dns farm. We were telling a child to die by
  34382. closing the parent's file descriptor to him. But newer children were
  34383. inheriting the open file descriptor from the parent, and since they
  34384. weren't closing it, the socket never closed, so the child never read
  34385. eof, so he never knew to exit. Similarly, dns workers were holding
  34386. open other sockets, leading to all sorts of chaos.
  34387. - New cleaner daemon() code for forking and backgrounding.
  34388. - If you log to a file, it now prints an entry at the top of the
  34389. logfile so you know it's working.
  34390. - The onionskin challenge length was 30 bytes longer than necessary.
  34391. - Started to patch up the spec so it's not quite so out of date.
  34392. Changes in version 0.0.2pre18 - 2004-01-02
  34393. o Bugfixes:
  34394. - Fix endian issues with the 'integrity' field in the relay header.
  34395. - Fix a potential bug where connections in state
  34396. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  34397. Changes in version 0.0.2pre17 - 2003-12-30
  34398. o Bugfixes:
  34399. - Made --debuglogfile (or any second log file, actually) work.
  34400. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  34401. adversary could force us into an infinite loop.
  34402. o Features:
  34403. - Each onionskin handshake now includes a hash of the computed key,
  34404. to prove the server's identity and help perfect forward secrecy.
  34405. - Changed cell size from 256 to 512 bytes (working toward compatibility
  34406. with MorphMix).
  34407. - Changed cell length to 2 bytes, and moved it to the relay header.
  34408. - Implemented end-to-end integrity checking for the payloads of
  34409. relay cells.
  34410. - Separated streamid from 'recognized' (otherwise circuits will get
  34411. messed up when we try to have streams exit from the middle). We
  34412. use the integrity-checking to confirm that a cell is addressed to
  34413. this hop.
  34414. - Randomize the initial circid and streamid values, so an adversary who
  34415. breaks into a node can't learn how many circuits or streams have
  34416. been made so far.
  34417. Changes in version 0.0.2pre16 - 2003-12-14
  34418. o Bugfixes:
  34419. - Fixed a bug that made HUP trigger an assert
  34420. - Fixed a bug where a circuit that immediately failed wasn't being
  34421. counted as a failed circuit in counting retries.
  34422. o Features:
  34423. - Now we close the circuit when we get a truncated cell: otherwise we're
  34424. open to an anonymity attack where a bad node in the path truncates
  34425. the circuit and then we open streams at him.
  34426. - Add port ranges to exit policies
  34427. - Add a conservative default exit policy
  34428. - Warn if you're running tor as root
  34429. - on HUP, retry OR connections and close/rebind listeners
  34430. - options.EntryNodes: try these nodes first when picking the first node
  34431. - options.ExitNodes: if your best choices happen to include any of
  34432. your preferred exit nodes, you choose among just those preferred
  34433. exit nodes.
  34434. - options.ExcludedNodes: nodes that are never picked in path building
  34435. Changes in version 0.0.2pre15 - 2003-12-03
  34436. o Robustness and bugfixes:
  34437. - Sometimes clients would cache incorrect DNS resolves, which would
  34438. really screw things up.
  34439. - An OP that goes offline would slowly leak all its sockets and stop
  34440. working.
  34441. - A wide variety of bugfixes in exit node selection, exit policy
  34442. handling, and processing pending streams when a new circuit is
  34443. established.
  34444. - Pick nodes for a path only from those the directory says are up
  34445. - Choose randomly from all running dirservers, not always the first one
  34446. - Increase allowed http header size for directory fetch.
  34447. - Stop writing to stderr (if we're daemonized it will be closed).
  34448. - Enable -g always, so cores will be more useful to me.
  34449. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  34450. o Documentation:
  34451. - Wrote a man page. It lists commonly used options.
  34452. o Configuration:
  34453. - Change default loglevel to warn.
  34454. - Make PidFile default to null rather than littering in your CWD.
  34455. - OnionRouter config option is now obsolete. Instead it just checks
  34456. ORPort>0.
  34457. - Moved to a single unified torrc file for both clients and servers.
  34458. Changes in version 0.0.2pre14 - 2003-11-29
  34459. o Robustness and bugfixes:
  34460. - Force the admin to make the DataDirectory himself
  34461. - to get ownership/permissions right
  34462. - so clients no longer make a DataDirectory and then never use it
  34463. - fix bug where a client who was offline for 45 minutes would never
  34464. pull down a directory again
  34465. - fix (or at least hide really well) the dns assert bug that was
  34466. causing server crashes
  34467. - warnings and improved robustness wrt clockskew for certs
  34468. - use the native daemon(3) to daemonize, when available
  34469. - exit if bind() fails
  34470. - exit if neither socksport nor orport is defined
  34471. - include our own tor_timegm (Win32 doesn't have its own)
  34472. - bugfix for win32 with lots of connections
  34473. - fix minor bias in PRNG
  34474. - make dirserver more robust to corrupt cached directory
  34475. o Documentation:
  34476. - Wrote the design document (woo)
  34477. o Circuit building and exit policies:
  34478. - Circuits no longer try to use nodes that the directory has told them
  34479. are down.
  34480. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  34481. bitcounts (18.0.0.0/8).
  34482. - Make AP connections standby for a circuit if no suitable circuit
  34483. exists, rather than failing
  34484. - Circuits choose exit node based on addr/port, exit policies, and
  34485. which AP connections are standing by
  34486. - Bump min pathlen from 2 to 3
  34487. - Relay end cells have a payload to describe why the stream ended.
  34488. - If the stream failed because of exit policy, try again with a new
  34489. circuit.
  34490. - Clients have a dns cache to remember resolved addresses.
  34491. - Notice more quickly when we have no working circuits
  34492. o Configuration:
  34493. - APPort is now called SocksPort
  34494. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  34495. where to bind
  34496. - RecommendedVersions is now a config variable rather than
  34497. hardcoded (for dirservers)
  34498. - Reloads config on HUP
  34499. - Usage info on -h or --help
  34500. - If you set User and Group config vars, it'll setu/gid to them.
  34501. Changes in version 0.0.2pre13 - 2003-10-19
  34502. o General stability:
  34503. - SSL_write no longer fails when it returns WANTWRITE and the number
  34504. of bytes in the buf has changed by the next SSL_write call.
  34505. - Fix segfault fetching directory when network is down
  34506. - Fix a variety of minor memory leaks
  34507. - Dirservers reload the fingerprints file on HUP, so I don't have
  34508. to take down the network when I approve a new router
  34509. - Default server config file has explicit Address line to specify fqdn
  34510. o Buffers:
  34511. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  34512. - Make listener connections not ever alloc bufs
  34513. o Autoconf improvements:
  34514. - don't clobber an external CFLAGS in ./configure
  34515. - Make install now works
  34516. - create var/lib/tor on make install
  34517. - autocreate a tor.sh initscript to help distribs
  34518. - autocreate the torrc and sample-server-torrc with correct paths
  34519. o Log files and Daemonizing now work:
  34520. - If --DebugLogFile is specified, log to it at -l debug
  34521. - If --LogFile is specified, use it instead of commandline
  34522. - If --RunAsDaemon is set, tor forks and backgrounds on startup