ChangeLog 1.8 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082
  1. Changes in version 0.4.4.6 - 2020-11-12
  2. Tor 0.4.4.6 is the second stable release in the 0.4.4.x series. It
  3. backports fixes from later releases, including a fix for TROVE-2020-
  4. 005, a security issue that could be used, under certain cases, by an
  5. adversary to observe traffic patterns on a limited number of circuits
  6. intended for a different relay.
  7. o Major bugfixes (security, backport from 0.4.5.1-alpha):
  8. - When completing a channel, relays now check more thoroughly to
  9. make sure that it matches any pending circuits before attaching
  10. those circuits. Previously, address correctness and Ed25519
  11. identities were not checked in this case, but only when extending
  12. circuits on an existing channel. Fixes bug 40080; bugfix on
  13. 0.2.7.2-alpha. Resolves TROVE-2020-005.
  14. o Minor features (directory authorities, backport from 0.4.5.1-alpha):
  15. - Authorities now list a different set of protocols as required and
  16. recommended. These lists have been chosen so that only truly
  17. recommended and/or required protocols are included, and so that
  18. clients using 0.2.9 or later will continue to work (even though
  19. they are not supported), whereas only relays running 0.3.5 or
  20. later will meet the requirements. Closes ticket 40162.
  21. - Make it possible to specify multiple ConsensusParams torrc lines.
  22. Now directory authority operators can for example put the main
  23. ConsensusParams config in one torrc file and then add to it from a
  24. different torrc file. Closes ticket 40164.
  25. o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
  26. - Tor no longer allows subprotocol versions larger than 63.
  27. Previously version numbers up to UINT32_MAX were allowed, which
  28. significantly complicated our code. Implements proposal 318;
  29. closes ticket 40133.
  30. o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
  31. - Fix a rendezvous cache unit test that was triggering an underflow
  32. on the global rend cache allocation. Fixes bug 40125; bugfix
  33. on 0.2.8.1-alpha.
  34. - Fix another rendezvous cache unit test that was triggering an
  35. underflow on the global rend cache allocation. Fixes bug 40126;
  36. bugfix on 0.2.8.1-alpha.
  37. o Minor bugfixes (compilation, backport from 0.4.5.1-alpha):
  38. - Fix compiler warnings that would occur when building with
  39. "--enable-all-bugs-are-fatal" and "--disable-module-relay" at the
  40. same time. Fixes bug 40129; bugfix on 0.4.4.1-alpha.
  41. - Resolve a compilation warning that could occur in
  42. test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
  43. o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
  44. - Remove a debug logging statement that uselessly spammed the logs.
  45. Fixes bug 40135; bugfix on 0.3.5.0-alpha.
  46. o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
  47. - Avoid a fatal assert() when failing to create a listener
  48. connection for an address that was in use. Fixes bug 40073; bugfix
  49. on 0.3.5.1-alpha.
  50. o Minor bugfixes (v2 onion services, backport from 0.4.5.1-alpha):
  51. - For HSFETCH commands on v2 onion services addresses, check the
  52. length of bytes decoded, not the base32 length. Fixes bug 34400;
  53. bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
  54. Changes in version 0.4.3.7 - 2020-11-12
  55. Tor 0.4.3.7 backports several bugfixes from later releases. It
  56. includes a fix for TROVE-2020-005, a security issue that could be
  57. used, under certain cases, by an adversary to observe traffic patterns
  58. on a limited number of circuits intended for a different relay.
  59. Please be aware that support for the 0.4.3.x series will end on 15
  60. February 2021. Please upgrade to 0.4.4.x or 0.4.5.x before then, or
  61. downgrade to 0.3.5.x, which will be supported until at least 1
  62. February 2022.
  63. o Major features (fallback directory list, backport form 0.4.4.3-alpha):
  64. - Replace the 148 fallback directories originally included in Tor
  65. 0.4.1.4-rc (of which around 105 are still functional) with a list
  66. of 144 fallbacks generated in July 2020. Closes ticket 40061.
  67. o Major bugfixes (security, backport from 0.4.5.1-alpha):
  68. - When completing a channel, relays now check more thoroughly to
  69. make sure that it matches any pending circuits before attaching
  70. those circuits. Previously, address correctness and Ed25519
  71. identities were not checked in this case, but only when extending
  72. circuits on an existing channel. Fixes bug 40080; bugfix on
  73. 0.2.7.2-alpha. Resolves TROVE-2020-005.
  74. o Major bugfixes (NSS, backport from 0.4.4.3-alpha):
  75. - When running with NSS enabled, make sure that NSS knows to expect
  76. nonblocking sockets. Previously, we set our TCP sockets as
  77. nonblocking, but did not tell NSS, which in turn could lead to
  78. unexpected blocking behavior. Fixes bug 40035; bugfix
  79. on 0.3.5.1-alpha.
  80. o Minor features (security, backport from 0.4.4.4-rc):
  81. - Channels using obsolete versions of the Tor link protocol are no
  82. longer allowed to circumvent address-canonicity checks. (This is
  83. only a minor issue, since such channels have no way to set ed25519
  84. keys, and therefore should always be rejected for circuits that
  85. specify ed25519 identities.) Closes ticket 40081.
  86. o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
  87. - Tor no longer allows subprotocol versions larger than 63.
  88. Previously version numbers up to UINT32_MAX were allowed, which
  89. significantly complicated our code. Implements proposal 318;
  90. closes ticket 40133.
  91. o Minor features (tests, backport from 0.4.4.5):
  92. - Our "make check" target now runs the unit tests in 8 parallel
  93. chunks. Doing this speeds up hardened CI builds by more than a
  94. factor of two. Closes ticket 40098.
  95. o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
  96. - Fix a rendezvous cache unit test that was triggering an underflow
  97. on the global rend cache allocation. Fixes bug 40125; bugfix
  98. on 0.2.8.1-alpha.
  99. - Fix another rendezvous cache unit test that was triggering an
  100. underflow on the global rend cache allocation. Fixes bug 40126;
  101. bugfix on 0.2.8.1-alpha.
  102. o Minor bugfixes (correctness, buffers, backport from 0.4.4.4-rc):
  103. - Fix a correctness bug that could cause an assertion failure if we
  104. ever tried using the buf_move_all() function with an empty input
  105. buffer. As far as we know, no released versions of Tor do this.
  106. Fixes bug 40076; bugfix on 0.3.3.1-alpha.
  107. o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
  108. - Remove a debug logging statement that uselessly spammed the logs.
  109. Fixes bug 40135; bugfix on 0.3.5.0-alpha.
  110. o Minor bugfixes (rate limiting, bridges, pluggable transports, backport from 0.4.4.4-rc):
  111. - On a bridge, treat all connections from an ExtORPort as remote by
  112. default for the purposes of rate-limiting. Previously, bridges
  113. would treat the connection as local unless they explicitly
  114. received a "USERADDR" command. ExtORPort connections still count
  115. as local if there is a USERADDR command with an explicit local
  116. address. Fixes bug 33747; bugfix on 0.2.5.1-alpha.
  117. o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
  118. - Avoid a fatal assert() when failing to create a listener
  119. connection for an address that was in use. Fixes bug 40073; bugfix
  120. on 0.3.5.1-alpha.
  121. o Minor bugfixes (relay, usability, backport from 0.4.4.3-alpha):
  122. - Adjust the rules for when to warn about having too many
  123. connections to other relays. Previously we'd tolerate up to 1.5
  124. connections per relay on average. Now we tolerate more connections
  125. for directory authorities, and raise the number of total
  126. connections we need to see before we warn. Fixes bug 33880; bugfix
  127. on 0.3.1.1-alpha.
  128. o Minor bugfixes (tests, 0.4.4.5):
  129. - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
  130. on its own. Previously, it would exit with an error. Fixes bug
  131. 40099; bugfix on 0.2.8.1-alpha.
  132. o Minor bugfixes (v2 onion services, backport from 0.4.5.1-alpha):
  133. - For HSFETCH commands on v2 onion services addresses, check the
  134. length of bytes decoded, not the base32 length. Fixes bug 34400;
  135. bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
  136. o Minor bugfixes (windows, backport from 0.4.4.4-rc):
  137. - Fix a bug that prevented Tor from starting if its log file grew
  138. above 2GB. Fixes bug 31036; bugfix on 0.2.1.8-alpha.
  139. o Deprecated features (onion service v2, backport form 0.4.4.2-alpha):
  140. - Add a deprecation warning for version 2 onion services. Closes
  141. ticket 40003.
  142. o Removed features (backport from 0.4.4.3-alpha):
  143. - Our "check-local" test target no longer tries to use the
  144. Coccinelle semantic patching tool parse all the C files. While it
  145. is a good idea to try to make sure Coccinelle works on our C
  146. before we run a Coccinelle patch, doing so on every test run has
  147. proven to be disruptive. You can still run this tool manually with
  148. "make check-cocci". Closes ticket 40030. ticket 40030.
  149. Changes in version 0.3.5.12 - 2020-11-12
  150. Tor 0.4.3.7 backports several bugfixes from later releases. It
  151. includes a fix for TROVE-2020-005, a security issue that could be
  152. used, under certain cases, by an adversary to observe traffic patterns
  153. on a limited number of circuits intended for a different relay.
  154. o Major features (fallback directory list, backport form 0.4.4.3-alpha):
  155. - Replace the 148 fallback directories originally included in Tor
  156. 0.4.1.4-rc (of which around 105 are still functional) with a list
  157. of 144 fallbacks generated in July 2020. Closes ticket 40061.
  158. o Major bugfixes (security, backport from 0.4.5.1-alpha):
  159. - When completing a channel, relays now check more thoroughly to
  160. make sure that it matches any pending circuits before attaching
  161. those circuits. Previously, address correctness and Ed25519
  162. identities were not checked in this case, but only when extending
  163. circuits on an existing channel. Fixes bug 40080; bugfix on
  164. 0.2.7.2-alpha. Resolves TROVE-2020-005.
  165. o Major bugfixes (NSS, backport from 0.4.4.3-alpha):
  166. - When running with NSS enabled, make sure that NSS knows to expect
  167. nonblocking sockets. Previously, we set our TCP sockets as
  168. nonblocking, but did not tell NSS, which in turn could lead to
  169. unexpected blocking behavior. Fixes bug 40035; bugfix
  170. on 0.3.5.1-alpha.
  171. o Minor features (security, backport from 0.4.4.4-rc):
  172. - Channels using obsolete versions of the Tor link protocol are no
  173. longer allowed to circumvent address-canonicity checks. (This is
  174. only a minor issue, since such channels have no way to set ed25519
  175. keys, and therefore should always be rejected for circuits that
  176. specify ed25519 identities.) Closes ticket 40081.
  177. o Minor features (debugging, directory system):
  178. - Don't crash when we find a non-guard with a guard-fraction value
  179. set. Instead, log a bug warning, in an attempt to figure out how
  180. this happened. Diagnostic for ticket 32868.
  181. o Minor features (subprotocol versions, backport from 0.4.5.1-alpha):
  182. - Tor no longer allows subprotocol versions larger than 63.
  183. Previously version numbers up to UINT32_MAX were allowed, which
  184. significantly complicated our code. Implements proposal 318;
  185. closes ticket 40133.
  186. o Minor features (tests, backport from 0.4.4.5):
  187. - Our "make check" target now runs the unit tests in 8 parallel
  188. chunks. Doing this speeds up hardened CI builds by more than a
  189. factor of two. Closes ticket 40098.
  190. o Minor features (tests, v2 onion services, backport from 0.4.5.1-alpha):
  191. - Fix a rendezvous cache unit test that was triggering an underflow
  192. on the global rend cache allocation. Fixes bug 40125; bugfix
  193. on 0.2.8.1-alpha.
  194. - Fix another rendezvous cache unit test that was triggering an
  195. underflow on the global rend cache allocation. Fixes bug 40126;
  196. bugfix on 0.2.8.1-alpha.
  197. o Minor bugfixes (correctness, buffers, backport from 0.4.4.4-rc):
  198. - Fix a correctness bug that could cause an assertion failure if we
  199. ever tried using the buf_move_all() function with an empty input
  200. buffer. As far as we know, no released versions of Tor do this.
  201. Fixes bug 40076; bugfix on 0.3.3.1-alpha.
  202. o Minor bugfixes (logging, backport from 0.4.5.1-alpha):
  203. - Remove a debug logging statement that uselessly spammed the logs.
  204. Fixes bug 40135; bugfix on 0.3.5.0-alpha.
  205. o Minor bugfixes (rate limiting, bridges, pluggable transports, backport from 0.4.4.4-rc):
  206. - On a bridge, treat all connections from an ExtORPort as remote by
  207. default for the purposes of rate-limiting. Previously, bridges
  208. would treat the connection as local unless they explicitly
  209. received a "USERADDR" command. ExtORPort connections still count
  210. as local if there is a USERADDR command with an explicit local
  211. address. Fixes bug 33747; bugfix on 0.2.5.1-alpha.
  212. o Minor bugfixes (relay configuration, crash, backport from 0.4.5.1-alpha):
  213. - Avoid a fatal assert() when failing to create a listener
  214. connection for an address that was in use. Fixes bug 40073; bugfix
  215. on 0.3.5.1-alpha.
  216. o Minor bugfixes (relay, usability, backport from 0.4.4.3-alpha):
  217. - Adjust the rules for when to warn about having too many
  218. connections to other relays. Previously we'd tolerate up to 1.5
  219. connections per relay on average. Now we tolerate more connections
  220. for directory authorities, and raise the number of total
  221. connections we need to see before we warn. Fixes bug 33880; bugfix
  222. on 0.3.1.1-alpha.
  223. o Minor bugfixes (relays, backport from 0.4.4.1-alpha):
  224. - Stop advertising incorrect IPv6 ORPorts in relay and bridge
  225. descriptors, when the IPv6 port was configured as "auto". Fixes
  226. bug 32588; bugfix on 0.2.3.9-alpha.
  227. o Minor bugfixes (tests, 0.4.4.5):
  228. - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
  229. on its own. Previously, it would exit with an error. Fixes bug
  230. 40099; bugfix on 0.2.8.1-alpha.
  231. o Minor bugfixes (windows, backport from 0.4.4.4-rc):
  232. - Fix a bug that prevented Tor from starting if its log file grew
  233. above 2GB. Fixes bug 31036; bugfix on 0.2.1.8-alpha.
  234. o Deprecated features (onion service v2, backport form 0.4.4.2-alpha):
  235. - Add a deprecation warning for version 2 onion services. Closes
  236. ticket 40003.
  237. Changes in version 0.4.5.1-alpha - 2020-11-01
  238. Tor 0.4.5.1-alpha is the first alpha release in the 0.4.5.x series. It
  239. improves support for IPv6, address discovery and self-testing, code
  240. metrics and tracing.
  241. This release also fixes TROVE-2020-005, a security issue that could be
  242. used, under certain cases, by an adversary to observe traffic patterns
  243. on a limited number of circuits intended for a different relay. To
  244. mount this attack, the adversary would need to actively extend
  245. circuits to an incorrect address, as well as compromise a relay's
  246. legacy RSA-1024 key. We'll be backporting this fix to other release
  247. series soon, after it has had some testing.
  248. Here are the changes since 0.4.4.5.
  249. o Major features (build):
  250. - When building Tor, first link all object files into a single
  251. static library. This may help with embedding Tor in other
  252. programs. Note that most Tor functions do not constitute a part of
  253. a stable or supported API: only those functions in tor_api.h
  254. should be used if embedding Tor. Closes ticket 40127.
  255. o Major features (metrics):
  256. - Introduce a new MetricsPort which exposes, through an HTTP
  257. interface, a series of metrics that tor collects at runtime. At
  258. the moment, the only supported output format is Prometheus data
  259. model. Closes ticket 40063. See the manual page for more
  260. information and security considerations.
  261. o Major features (relay, IPv6):
  262. - The torrc option Address now supports IPv6. This unifies our
  263. address discovery interface to support IPv4, IPv6, and hostnames.
  264. Closes ticket 33233.
  265. - Launch IPv4 and IPv6 ORPort self-test circuits on relays and
  266. bridges. Closes ticket 33222.
  267. - Relays now automatically bind on IPv6 for their ORPort, unless
  268. specified otherwise with the IPv4Only flag. Closes ticket 33246.
  269. - When a relay with IPv6 support is told to open a connection to
  270. another relay, and the extend cell lists both IPv4 and IPv6
  271. addresses, the first relay now picks randomly which address to
  272. use. Closes ticket 33220.
  273. - Relays now track their IPv6 ORPort reachability separately from
  274. the reachability of their IPv4 ORPort. They will not publish a
  275. descriptor unless _both_ ports appear to be externally reachable.
  276. Closes ticket 34067.
  277. o Major features (tracing):
  278. - Add event-tracing library support for USDT and LTTng-UST, and a
  279. few tracepoints in the circuit subsystem. More will come
  280. incrementally. This feature is compiled out by default: it needs
  281. to be enabled at configure time. See documentation in
  282. doc/HACKING/Tracing.md. Closes ticket 32910.
  283. o Major bugfixes (security):
  284. - When completing a channel, relays now check more thoroughly to
  285. make sure that it matches any pending circuits before attaching
  286. those circuits. Previously, address correctness and Ed25519
  287. identities were not checked in this case, but only when extending
  288. circuits on an existing channel. Fixes bug 40080; bugfix on
  289. 0.2.7.2-alpha. Resolves TROVE-2020-005.
  290. o Major bugfixes (TLS, buffer):
  291. - When attempting to read N bytes on a TLS connection, really try to
  292. read all N bytes. Previously, Tor would stop reading after the
  293. first TLS record, which can be smaller than the N bytes requested,
  294. and not check for more data until the next mainloop event. Fixes
  295. bug 40006; bugfix on 0.1.0.5-rc.
  296. o Minor features (address discovery):
  297. - If no Address statements are found, relays now prioritize guessing
  298. their address by looking at the local interface instead of the
  299. local hostname. If the interface address can't be found, the local
  300. hostname is used. Closes ticket 33238.
  301. o Minor features (admin tools):
  302. - Add a new --format argument to -key-expiration option to allow
  303. specifying the time format of the expiration date. Adds Unix
  304. timestamp format support. Patch by Daniel Pinto. Closes
  305. ticket 30045.
  306. o Minor features (bootstrap reporting):
  307. - When reporting bootstrapping status on a relay, do not consider
  308. connections that have never been the target of an origin circuit.
  309. Previously, all connection failures were treated as potential
  310. bootstrapping failures, including connections that had been opened
  311. because of client requests. Closes ticket 25061.
  312. o Minor features (build):
  313. - When running the configure script, try to detect version
  314. mismatches between the OpenSSL headers and libraries, and suggest
  315. that the user should try "--with-openssl-dir". Closes 40138.
  316. - If the configure script has given any warnings, remind the user
  317. about them at the end of the script. Related to 40138.
  318. o Minor features (configuration):
  319. - Allow using wildcards (* and ?) with the %include option on
  320. configuration files. Closes ticket 25140. Patch by Daniel Pinto.
  321. - Allow the configuration options EntryNodes, ExcludeNodes,
  322. ExcludeExitNodes, ExitNodes, MiddleNodes, HSLayer2Nodes and
  323. HSLayer3Nodes to be specified multiple times. Closes ticket 28361.
  324. Patch by Daniel Pinto.
  325. o Minor features (control port):
  326. - Add a DROPTIMEOUTS command to drop circuit build timeout history
  327. and reset the current timeout. Closes ticket 40002.
  328. - When a stream enters the AP_CONN_STATE_CONTROLLER_WAIT status,
  329. send a control port event. Closes ticket 32190. Patch by
  330. Neel Chauhan.
  331. - Introduce GETINFO "stats/ntor/{assigned/requested}" and
  332. "stats/tap/{assigned/requested}" to get the NTor and TAP circuit
  333. onion handshake counts respectively. Closes ticket 28279. Patch by
  334. Neel Chauhan.
  335. o Minor features (control port, IPv6):
  336. - Tor relays now try to report to the controller when they are
  337. launching an IPv6 self-test. Closes ticket 34068.
  338. - Introduce "GETINFO address/v4" and "GETINFO address/v6" in the
  339. control port to fetch the Tor host's respective IPv4 or IPv6
  340. address. We keep "GETINFO address" for backwards-compatibility.
  341. Closes ticket 40039. Patch by Neel Chauhan.
  342. o Minor features (directory authorities):
  343. - Authorities now list a different set of protocols as required and
  344. recommended. These lists have been chosen so that only truly
  345. recommended and/or required protocols are included, and so that
  346. clients using 0.2.9 or later will continue to work (even though
  347. they are not supported), whereas only relays running 0.3.5 or
  348. later will meet the requirements. Closes ticket 40162.
  349. - Add a new consensus method 30 that removes the unnecessary "="
  350. padding from ntor-onion-key. Closes ticket 7869. Patch by
  351. Daniel Pinto.
  352. - Directory authorities now reject descriptors from relays running
  353. Tor versions from the obsolete 0.4.1 series. Resolves ticket
  354. 34357. Patch by Neel Chauhan.
  355. - Make it possible to specify multiple ConsensusParams torrc lines.
  356. Now directory authority operators can for example put the main
  357. ConsensusParams config in one torrc file and then add to it from a
  358. different torrc file. Closes ticket 40164.
  359. - The AssumeReachable option no longer stops directory authorities
  360. from checking whether other relays are running. A new
  361. AuthDirTestReachability option can be used to disable these
  362. checks. Closes ticket 34445.
  363. - When looking for possible Sybil attacks, also consider IPv6
  364. addresses. Two routers are considered to have "the same" address
  365. by this metric if they are in the same /64 network. Patch from
  366. Maurice Pibouin. Closes ticket 7193.
  367. o Minor features (directory authorities, IPv6):
  368. - Make authorities add their IPv6 ORPort (if any) to the trusted
  369. servers list. Authorities previously added only their IPv4
  370. addresses. Closes ticket 32822.
  371. o Minor features (ed25519, relay):
  372. - Save a relay's base64-encoded ed25519 identity key to the data
  373. directory in a file named fingerprint-ed25519. Closes ticket
  374. 30642. Patch by Neel Chauhan.
  375. o Minor features (heartbeat):
  376. - Include the total number of inbound and outbound IPv4 and IPv6
  377. connections in the heartbeat message. Closes ticket 29113.
  378. o Minor features (IPv6, ExcludeNodes):
  379. - Handle IPv6 addresses in ExcludeNodes; previously they were
  380. ignored. Closes ticket 34065. Patch by Neel Chauhan.
  381. o Minor features (logging):
  382. - Add the running glibc version to the log, and the compiled glibc
  383. version to the library list returned when using --library-versions.
  384. Patch from Daniel Pinto. Closes ticket 40047.
  385. - Consider an HTTP 301 response to be an error (like a 404) when
  386. processing a directory response. Closes ticket 40053.
  387. - Log directory fetch statistics as a single line. Closes
  388. ticket 40159.
  389. - Provide more complete descriptions of our connections when logging
  390. about them. Closes ticket 40041.
  391. - When describing a relay in the logs, we now include its ed25519
  392. identity. Closes ticket 22668.
  393. o Minor features (onion services):
  394. - Only overwrite an onion service's existing hostname file if its
  395. contents are wrong. This enables read-only onion-service
  396. directories. Resolves ticket 40062. Patch by Neel Chauhan.
  397. o Minor features (pluggable transports):
  398. - Add an OutboundBindAddressPT option to allow users to specify
  399. which IPv4 and IPv6 address pluggable transports should use for
  400. outgoing IP packets. Tor does not have a way to enforce that the
  401. pluggable transport honors this option, so each pluggable transport
  402. needs to implement support on its own. Closes ticket 5304.
  403. o Minor features (relay address tracking):
  404. - We now store relay addresses for OR connections in a more logical
  405. way. Previously we would sometimes overwrite the actual address of
  406. a connection with a "canonical address", and then store the "real
  407. address" elsewhere to remember it. We now track the "canonical
  408. address" elsewhere for the cases where we need it, and leave the
  409. connection's address alone. Closes ticket 33898.
  410. o Minor features (relay):
  411. - If a relay is unable to discover its address, attempt to learn it
  412. from the NETINFO cell. Closes ticket 40022.
  413. - Log immediately when launching a relay self-check. Previously we
  414. would try to log before launching checks, or approximately when we
  415. intended to launch checks, but this tended to be error-prone.
  416. Closes ticket 34137.
  417. o Minor features (relay, address discovery):
  418. - If Address option is not found in torrc, attempt to learn our
  419. address with the configured ORPort address if any. Closes
  420. ticket 33236.
  421. o Minor features (relay, IPv6):
  422. - Add an AssumeReachableIPv6 option to disable self-checking IPv6
  423. reachability. Closes part of ticket 33224.
  424. - Add new "assume-reachable" and "assume-reachable-ipv6" consensus
  425. parameters to be used in an emergency to tell relays that they
  426. should publish even if they cannot complete their ORPort self-
  427. checks. Closes ticket 34064 and part of 33224.
  428. - Allow relays to send IPv6-only extend cells. Closes ticket 33222.
  429. - Declare support for the Relay=3 subprotocol version. Closes
  430. ticket 33226.
  431. - When launching IPv6 ORPort self-test circuits, make sure that the
  432. second-last hop can initiate an IPv6 extend. Closes ticket 33222.
  433. o Minor features (specification update):
  434. - Several fields in microdescriptors, router descriptors, and
  435. consensus documents that were formerly optional are now required.
  436. Implements proposal 315; closes ticket 40132.
  437. o Minor features (state management):
  438. - When loading the state file, remove entries from the statefile
  439. that have been obsolete for a long time. Ordinarily Tor preserves
  440. unrecognized entries in order to keep forward-compatibility, but
  441. these entries have not actually been used in any release since
  442. before 0.3.5.x. Closes ticket 40137.
  443. o Minor features (statistics, ipv6):
  444. - Relays now publish IPv6-specific counts of single-direction versus
  445. bidirectional relay connections. Closes ticket 33264.
  446. - Relays now publish their IPv6 read and write statistics over time,
  447. if statistics are enabled. Closes ticket 33263.
  448. o Minor features (subprotocol versions):
  449. - Tor no longer allows subprotocol versions larger than 63.
  450. Previously version numbers up to UINT32_MAX were allowed, which
  451. significantly complicated our code. Implements proposal 318;
  452. closes ticket 40133.
  453. - Use the new limitations on subprotocol versions due to proposal
  454. 318 to simplify our implementation. Part of ticket 40133.
  455. o Minor features (testing configuration):
  456. - The TestingTorNetwork option no longer implicitly sets
  457. AssumeReachable to 1. This change allows us to test relays' self-
  458. testing mechanisms, and to test authorities' relay-testing
  459. functionality. Closes ticket 34446.
  460. o Minor features (testing):
  461. - Added unit tests for channel_matches_target_addr_for_extend().
  462. Closes Ticket 33919. Patch by MrSquanchee.
  463. o Minor features (tests, v2 onion services):
  464. - Fix a rendezvous cache unit test that was triggering an underflow
  465. on the global rend cache allocation. Fixes bug 40125; bugfix
  466. on 0.2.8.1-alpha.
  467. - Fix another rendezvous cache unit test that was triggering an
  468. underflow on the global rend cache allocation. Fixes bug 40126;
  469. bugfix on 0.2.8.1-alpha.
  470. o Minor bugfixes (circuit padding):
  471. - When circpad_send_padding_cell_for_callback is called,
  472. `is_padding_timer_scheduled` flag was not reset. Now it is set to
  473. 0 at the top of that function. Fixes bug 32671; bugfix
  474. on 0.4.0.1-alpha.
  475. - Add a per-circuit padding machine instance counter, so we can
  476. differentiate between shutdown requests for old machines on a
  477. circuit. Fixes bug 30992; bugfix on 0.4.1.1-alpha.
  478. - Add the ability to keep circuit padding machines if they match a
  479. set of circuit states or purposes. This allows us to have machines
  480. that start up under some conditions but don't shut down under
  481. others. We now use this mask to avoid starting up introduction
  482. circuit padding again after the machines have already completed.
  483. Fixes bug 32040; bugfix on 0.4.1.1-alpha.
  484. o Minor bugfixes (compatibility):
  485. - Strip '\r' characters when reading text files on Unix platforms.
  486. This should resolve an issue where a relay operator migrates a
  487. relay from Windows to Unix, but does not change the line ending of
  488. Tor's various state files to match the platform, and the CRLF line
  489. endings from Windows end up leaking into other files such as the
  490. extra-info document. Fixes bug 33781; bugfix on 0.0.9pre5.
  491. o Minor bugfixes (compilation):
  492. - Fix compiler warnings that would occur when building with
  493. "--enable-all-bugs-are-fatal" and "--disable-module-relay" at the
  494. same time. Fixes bug 40129; bugfix on 0.4.4.1-alpha.
  495. - Resolve a compilation warning that could occur in
  496. test_connection.c. Fixes bug 40113; bugfix on 0.2.9.3-alpha.
  497. o Minor bugfixes (configuration):
  498. - Fix bug where %including a pattern ending with */ would include
  499. files and folders (instead of folders only) in versions of glibc <
  500. 2.19. Fixes bug 40141; bugfix on 0.4.5.0-alpha-dev. Patch by
  501. Daniel Pinto.
  502. o Minor bugfixes (control port):
  503. - Make sure we send the SOCKS request address in relay begin cells
  504. when a stream is attached with the purpose
  505. CIRCUIT_PURPOSE_CONTROLLER. Fixes bug 33124; bugfix on 0.0.5.
  506. Patch by Neel Chauhan.
  507. o Minor bugfixes (logging):
  508. - Remove a debug logging statement that uselessly spammed the logs.
  509. Fixes bug 40135; bugfix on 0.3.5.0-alpha.
  510. - When logging a rate-limited message about how many messages have
  511. been suppressed in the last N seconds, give an accurate value for
  512. N, rounded up to the nearest minute. Previously we would report
  513. the size of the rate-limiting interval, regardless of when the
  514. messages started to occur. Fixes bug 19431; bugfix
  515. on 0.2.2.16-alpha.
  516. o Minor bugfixes (relay configuration, crash):
  517. - Avoid a fatal assert() when failing to create a listener
  518. connection for an address that was in use. Fixes bug 40073; bugfix
  519. on 0.3.5.1-alpha.
  520. o Minor bugfixes (rust, protocol versions):
  521. - Declare support for the onion service introduction point denial of
  522. service extensions when building with Rust. Fixes bug 34248;
  523. bugfix on 0.4.2.1-alpha.
  524. - Make Rust protocol version support checks consistent with the
  525. undocumented error behavior of the corresponding C code. Fixes bug
  526. 34251; bugfix on 0.3.3.5-rc.
  527. o Minor bugfixes (self-testing):
  528. - When receiving an incoming circuit, only accept it as evidence
  529. that we are reachable if the declared address of its channel is
  530. the same address we think that we have. Otherwise, it could be
  531. evidence that we're reachable on some other address. Fixes bug
  532. 20165; bugfix on 0.1.0.1-rc.
  533. o Minor bugfixes (spec conformance):
  534. - Use the correct key type when generating signing->link
  535. certificates. Fixes bug 40124; bugfix on 0.2.7.2-alpha.
  536. o Minor bugfixes (subprotocol versions):
  537. - Consistently reject extra commas, instead of only rejecting
  538. leading commas. Fixes bug 27194; bugfix on 0.2.9.4-alpha.
  539. - In summarize_protover_flags(), treat empty strings the same as
  540. NULL. This prevents protocols_known from being set. Previously, we
  541. treated empty strings as normal strings, which led to
  542. protocols_known being set. Fixes bug 34232; bugfix on
  543. 0.3.3.2-alpha. Patch by Neel Chauhan.
  544. o Minor bugfixes (v2 onion services):
  545. - For HSFETCH commands on v2 onion services addresses, check the
  546. length of bytes decoded, not the base32 length. Fixes bug 34400;
  547. bugfix on 0.4.1.1-alpha. Patch by Neel Chauhan.
  548. o Code simplification and refactoring:
  549. - Add and use a set of functions to perform down-casts on constant
  550. connection and channel pointers. Closes ticket 40046.
  551. - Refactor our code that logs descriptions of connections, channels,
  552. and the peers on them, to use a single call path. This change
  553. enables us to refactor the data types that they use, and eliminates
  554. many confusing usages of those types. Closes ticket 40041.
  555. - Refactor some common node selection code into a single function.
  556. Closes ticket 34200.
  557. - Remove the now-redundant 'outbuf_flushlen' field from our
  558. connection type. It was previously used for an older version of
  559. our rate-limiting logic. Closes ticket 33097.
  560. - Rename "fascist_firewall_*" identifiers to "reachable_addr_*"
  561. instead, for consistency with other code. Closes ticket 18106.
  562. - Rename functions about "advertised" ports which are not in fact
  563. guaranteed to return the ports that have been advertised. Closes
  564. ticket 40055.
  565. - Split implementation of several command line options from
  566. options_init_from_torrc into smaller isolated functions. Patch by
  567. Daniel Pinto. Closes ticket 40102.
  568. - When an extend cell is missing an IPv4 or IPv6 address, fill in
  569. the address from the extend info. This is similar to what was done
  570. in ticket 33633 for ed25519 keys. Closes ticket 33816. Patch by
  571. Neel Chauhan.
  572. o Deprecated features:
  573. - The "non-builtin" argument to the "--dump-config" command is now
  574. deprecated. When it works, it behaves the same as "short", which
  575. you should use instead. Closes ticket 33398.
  576. o Documentation:
  577. - Replace URLs from our old bugtracker so that they refer to the new
  578. bugtracker and wiki. Closes ticket 40101.
  579. o Removed features:
  580. - We no longer ship or build a "tor.service" file for use with
  581. systemd. No distribution included this script unmodified, and we
  582. don't have the expertise ourselves to maintain this in a way that
  583. all the various systemd-based distributions can use. Closes
  584. ticket 30797.
  585. - We no longer ship support for the Android logging API. Modern
  586. versions of Android can use the syslog API instead. Closes
  587. ticket 32181.
  588. - The "optimistic data" feature is now always on; there is no longer
  589. an option to disable it from the torrc file or from the consensus
  590. directory. Closes part of 40139.
  591. - The "usecreatefast" network parameter is now removed; there is no
  592. longer an option for authorities to turn it off. Closes part
  593. of 40139.
  594. o Testing:
  595. - Add unit tests for bandwidth statistics manipulation functions.
  596. Closes ticket 33812. Patch by MrSquanchee.
  597. o Code simplification and refactoring (autoconf):
  598. - Remove autoconf checks for unused funcs and headers. Closes ticket
  599. 31699; Patch by @bduszel
  600. o Code simplification and refactoring (maintainer scripts):
  601. - Disable by default the pre-commit hook. Use the environment
  602. variable TOR_EXTRA_PRE_COMMIT_CHECKS in order to run it.
  603. Furthermore, stop running practracker in the pre-commit hook and
  604. make check-local. Closes ticket 40019.
  605. o Code simplification and refactoring (relay address):
  606. - Most of IPv4 representation was using "uint32_t". It has now been
  607. moved to use the internal "tor_addr_t" interface instead. This is
  608. so we can properly integrate IPv6 along IPv4 with common
  609. interfaces. Closes ticket 40043.
  610. o Documentation (manual page):
  611. - Move them from doc/ to doc/man/. Closes ticket 40044.
  612. - Describe the status of the "Sandbox" option more accurately. It is
  613. no longer "experimental", but it _is_ dependent on kernel and libc
  614. versions. Closes ticket 23378.
  615. o Documentation (tracing):
  616. - Document in depth the circuit subsystem trace events in the new
  617. doc/tracing/EventsCircuit.md. Closes ticket 40036.
  618. Changes in version 0.4.4.5 - 2020-09-15
  619. Tor 0.4.4.5 is the first stable release in the 0.4.4.x series. This
  620. series improves our guard selection algorithms, adds v3 onion balance
  621. support, improves the amount of code that can be disabled when running
  622. without relay support, and includes numerous small bugfixes and
  623. enhancements. It also lays the ground for some IPv6 features that
  624. we'll be developing more in the next (0.4.5) series.
  625. Per our support policy, we support each stable release series for nine
  626. months after its first stable release, or three months after the first
  627. stable release of the next series: whichever is longer. This means
  628. that 0.4.4.x will be supported until around June 2021--or later, if
  629. 0.4.5.x is later than anticipated.
  630. Note also that support for 0.4.2.x has just ended; support for 0.4.3
  631. will continue until Feb 15, 2021. We still plan to continue supporting
  632. 0.3.5.x, our long-term stable series, until Feb 2022.
  633. Below are the changes since 0.4.4.4-rc. For a complete list of changes
  634. since 0.4.3.6, see the ReleaseNotes file.
  635. o Major bugfixes (onion services, DoS):
  636. - Correct handling of parameters for the onion service DoS defense.
  637. Previously, the consensus parameters for the onion service DoS
  638. defenses were overwriting the parameters set by the service
  639. operator using HiddenServiceEnableIntroDoSDefense. Fixes bug
  640. 40109; bugfix on 0.4.2.1-alpha.
  641. o Major bugfixes (stats, onion services):
  642. - Fix a bug where we were undercounting the Tor network's total
  643. onion service traffic, by ignoring any traffic originating from
  644. clients. Now we count traffic from both clients and services.
  645. Fixes bug 40117; bugfix on 0.2.6.2-alpha.
  646. o Minor features (control port):
  647. - If a ClientName was specified in ONION_CLIENT_AUTH_ADD for an
  648. onion service, display it when we use ONION_CLIENT_AUTH_VIEW.
  649. Closes ticket 40089. Patch by Neel Chauhan.
  650. o Minor features (denial-of-service memory limiter):
  651. - Allow the user to configure even lower values for the
  652. MaxMemInQueues parameter. Relays now enforce a minimum of 64 MB,
  653. when previously the minimum was 256 MB. On clients, there is no
  654. minimum. Relays and clients will both warn if the value is set so
  655. low that Tor is likely to stop working. Closes ticket 24308.
  656. o Minor features (tests):
  657. - Our "make check" target now runs the unit tests in 8 parallel
  658. chunks. Doing this speeds up hardened CI builds by more than a
  659. factor of two. Closes ticket 40098.
  660. o Minor bugfixes (guard selection algorithm):
  661. - Avoid needless guard-related warning when upgrading from 0.4.3 to
  662. 0.4.4. Fixes bug 40105; bugfix on 0.4.4.1-alpha.
  663. o Minor bugfixes (tests):
  664. - Fix the behavior of the rend_cache/clean_v2_descs_as_dir when run
  665. on its own. Previously, it would exit with an error. Fixes bug
  666. 40099; bugfix on 0.2.8.1-alpha.
  667. Changes in version 0.4.4.3-alpha - 2020-07-27
  668. Tor 0.4.4.3-alpha fixes several annoyances in previous versions,
  669. including one affecting NSS users, and several affecting the Linux
  670. seccomp2 sandbox.
  671. o Major features (fallback directory list):
  672. - Replace the 148 fallback directories originally included in Tor
  673. 0.4.1.4-rc (of which around 105 are still functional) with a list
  674. of 144 fallbacks generated in July 2020. Closes ticket 40061.
  675. o Major bugfixes (NSS):
  676. - When running with NSS enabled, make sure that NSS knows to expect
  677. nonblocking sockets. Previously, we set our TCP sockets as
  678. nonblocking, but did not tell NSS, which in turn could lead to
  679. unexpected blocking behavior. Fixes bug 40035; bugfix
  680. on 0.3.5.1-alpha.
  681. o Minor bugfixes (linux seccomp2 sandbox):
  682. - Fix a regression on sandboxing rules for the openat() syscall. The
  683. fix for bug 25440 fixed the problem on systems with glibc >= 2.27
  684. but broke with versions of glibc. We now choose a rule based on
  685. the glibc version. Patch from Daniel Pinto. Fixes bug 27315;
  686. bugfix on 0.3.5.11.
  687. - Makes the seccomp sandbox allow the correct syscall for opendir
  688. according to the running glibc version. This fixes crashes when
  689. reloading torrc with sandbox enabled when running on glibc 2.15 to
  690. 2.21 and 2.26. Patch from Daniel Pinto. Fixes bug 40020; bugfix
  691. on 0.3.5.11.
  692. o Minor bugfixes (relay, usability):
  693. - Adjust the rules for when to warn about having too many
  694. connections to other relays. Previously we'd tolerate up to 1.5
  695. connections per relay on average. Now we tolerate more connections
  696. for directory authorities, and raise the number of total
  697. connections we need to see before we warn. Fixes bug 33880; bugfix
  698. on 0.3.1.1-alpha.
  699. o Documentation:
  700. - Replace most http:// URLs in our code and documentation with
  701. https:// URLs. (We have left unchanged the code in src/ext/, and
  702. the text in LICENSE.) Closes ticket 31812. Patch from Jeremy Rand.
  703. o Removed features:
  704. - Our "check-local" test target no longer tries to use the
  705. Coccinelle semantic patching tool parse all the C files. While it
  706. is a good idea to try to make sure Coccinelle works on our C
  707. before we run a Coccinelle patch, doing so on every test run has
  708. proven to be disruptive. You can still run this tool manually with
  709. "make check-cocci". Closes ticket 40030.
  710. Changes in version 0.3.5.11 - 2020-07-09
  711. Tor 0.3.5.11 backports fixes from later tor releases, including several
  712. usability, portability, and reliability fixes.
  713. This release also fixes TROVE-2020-001, a medium-severity denial of
  714. service vulnerability affecting all versions of Tor when compiled with
  715. the NSS encryption library. (This is not the default configuration.)
  716. Using this vulnerability, an attacker could cause an affected Tor
  717. instance to crash remotely. This issue is also tracked as CVE-2020-
  718. 15572. Anybody running a version of Tor built with the NSS library
  719. should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
  720. or later.
  721. o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
  722. - Fix a crash due to an out-of-bound memory access when Tor is
  723. compiled with NSS support. Fixes bug 33119; bugfix on
  724. 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
  725. and CVE-2020-15572.
  726. o Major bugfixes (DoS defenses, bridges, pluggable transport, backport from 0.4.3.4-rc):
  727. - Fix a bug that was preventing DoS defenses from running on bridges
  728. with a pluggable transport. Previously, the DoS subsystem was not
  729. given the transport name of the client connection, thus failed to
  730. find the GeoIP cache entry for that client address. Fixes bug
  731. 33491; bugfix on 0.3.3.2-alpha.
  732. o Minor features (testing, backport from 0.4.3.4-rc):
  733. - The unit tests now support a "TOR_SKIP_TESTCASES" environment
  734. variable to specify a list of space-separated test cases that
  735. should not be executed. We will use this to disable certain tests
  736. that are failing on Appveyor because of mismatched OpenSSL
  737. libraries. Part of ticket 33643.
  738. o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
  739. - Use the correct 64-bit printf format when compiling with MINGW on
  740. Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
  741. o Minor bugfix (relay, configuration, backport from 0.4.3.3-alpha):
  742. - Warn if the ContactInfo field is not set, and tell the relay
  743. operator that not having a ContactInfo field set might cause their
  744. relay to get rejected in the future. Fixes bug 33361; bugfix
  745. on 0.1.1.10-alpha.
  746. o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
  747. - Resume use of preemptively-built circuits when UseEntryGuards is set
  748. to 0. We accidentally disabled this feature with that config
  749. setting, leading to slower load times. Fixes bug 34303; bugfix
  750. on 0.3.3.2-alpha.
  751. o Minor bugfixes (compiler compatibility, backport from 0.4.3.5):
  752. - Avoid compiler warnings from Clang 10 related to the use of GCC-
  753. style "/* falls through */" comments. Both Clang and GCC allow
  754. __attribute__((fallthrough)) instead, so that's what we're using
  755. now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
  756. o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
  757. - Fix a compiler warning on platforms with 32-bit time_t values.
  758. Fixes bug 40028; bugfix on 0.3.2.8-rc.
  759. o Minor bugfixes (embedded Tor, backport from 0.4.3.1-alpha):
  760. - When starting Tor any time after the first time in a process,
  761. register the thread in which it is running as the main thread.
  762. Previously, we only did this on Windows, which could lead to bugs
  763. like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
  764. on 0.3.3.1-alpha.
  765. o Minor bugfixes (key portability, backport from 0.4.3.4-rc):
  766. - When reading PEM-encoded key data, tolerate CRLF line-endings even
  767. if we are not running on Windows. Previously, non-Windows hosts
  768. would reject these line-endings in certain positions, making
  769. certain key files hard to move from one host to another. Fixes bug
  770. 33032; bugfix on 0.3.5.1-alpha.
  771. o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
  772. - Downgrade a noisy log message that could occur naturally when
  773. receiving an extrainfo document that we no longer want. Fixes bug
  774. 16016; bugfix on 0.2.6.3-alpha.
  775. o Minor bugfixes (onion service v3, client, backport from 0.4.3.3-alpha):
  776. - Remove a BUG() warning that would cause a stack trace if an onion
  777. service descriptor was freed while we were waiting for a
  778. rendezvous circuit to complete. Fixes bug 28992; bugfix
  779. on 0.3.2.1-alpha.
  780. o Testing (CI, backport from 0.4.3.4-rc):
  781. - In our Appveyor Windows CI, copy required DLLs to test and app
  782. directories, before running tor's tests. This ensures that tor.exe
  783. and test*.exe use the correct version of each DLL. This fix is not
  784. required, but we hope it will avoid DLL search issues in future.
  785. Fixes bug 33673; bugfix on 0.3.4.2-alpha.
  786. - On Appveyor, skip the crypto/openssl_version test, which is
  787. failing because of a mismatched library installation. Fix
  788. for 33643.
  789. Changes in version 0.4.2.8 - 2020-07-09
  790. Tor 0.4.2.8 backports various fixes from later releases, including
  791. several that affect usability and portability.
  792. This release also fixes TROVE-2020-001, a medium-severity denial of
  793. service vulnerability affecting all versions of Tor when compiled with
  794. the NSS encryption library. (This is not the default configuration.)
  795. Using this vulnerability, an attacker could cause an affected Tor
  796. instance to crash remotely. This issue is also tracked as CVE-2020-
  797. 15572. Anybody running a version of Tor built with the NSS library
  798. should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
  799. or later.
  800. o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
  801. - Fix a crash due to an out-of-bound memory access when Tor is
  802. compiled with NSS support. Fixes bug 33119; bugfix on
  803. 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
  804. and CVE-2020-15572.
  805. o Major bugfixes (DoS defenses, bridges, pluggable transport, backport from 0.4.3.4-rc):
  806. - Fix a bug that was preventing DoS defenses from running on bridges
  807. with a pluggable transport. Previously, the DoS subsystem was not
  808. given the transport name of the client connection, thus failed to
  809. find the GeoIP cache entry for that client address. Fixes bug
  810. 33491; bugfix on 0.3.3.2-alpha.
  811. o Minor feature (sendme, flow control, backport form 0.4.3.4-rc):
  812. - Default to sending SENDME version 1 cells. (Clients are already
  813. sending these, because of a consensus parameter telling them to do
  814. so: this change only affects what clients would do if the
  815. consensus didn't contain a recommendation.) Closes ticket 33623.
  816. o Minor features (diagnostic, backport from 0.4.3.3-alpha):
  817. - Improve assertions and add some memory-poisoning code to try to
  818. track down possible causes of a rare crash (32564) in the EWMA
  819. code. Closes ticket 33290.
  820. o Minor features (testing, backport from 0.4.3.4-rc):
  821. - The unit tests now support a "TOR_SKIP_TESTCASES" environment
  822. variable to specify a list of space-separated test cases that
  823. should not be executed. We will use this to disable certain tests
  824. that are failing on Appveyor because of mismatched OpenSSL
  825. libraries. Part of ticket 33643.
  826. o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
  827. - Use the correct 64-bit printf format when compiling with MINGW on
  828. Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
  829. o Minor bugfix (relay, configuration, backport from 0.4.3.3-alpha):
  830. - Warn if the ContactInfo field is not set, and tell the relay
  831. operator that not having a ContactInfo field set might cause their
  832. relay to get rejected in the future. Fixes bug 33361; bugfix
  833. on 0.1.1.10-alpha.
  834. o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
  835. - Resume use of preemptively-built circuits when UseEntryGuards is set
  836. to 0. We accidentally disabled this feature with that config
  837. setting, leading to slower load times. Fixes bug 34303; bugfix
  838. on 0.3.3.2-alpha.
  839. o Minor bugfixes (compiler compatibility, backport from 0.4.3.5):
  840. - Avoid compiler warnings from Clang 10 related to the use of GCC-
  841. style "/* falls through */" comments. Both Clang and GCC allow
  842. __attribute__((fallthrough)) instead, so that's what we're using
  843. now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
  844. - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix
  845. on 0.4.0.3-alpha.
  846. o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
  847. - Fix a compiler warning on platforms with 32-bit time_t values.
  848. Fixes bug 40028; bugfix on 0.3.2.8-rc.
  849. o Minor bugfixes (controller protocol, backport from 0.4.3.2-alpha):
  850. - When receiving "ACTIVE" or "DORMANT" signals on the control port,
  851. report them as SIGNAL events. Previously we would log a bug
  852. warning. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
  853. o Minor bugfixes (embedded Tor, backport from 0.4.3.1-alpha):
  854. - When starting Tor any time after the first time in a process,
  855. register the thread in which it is running as the main thread.
  856. Previously, we only did this on Windows, which could lead to bugs
  857. like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
  858. on 0.3.3.1-alpha.
  859. o Minor bugfixes (key portability, backport from 0.4.3.4-rc):
  860. - When reading PEM-encoded key data, tolerate CRLF line-endings even
  861. if we are not running on Windows. Previously, non-Windows hosts
  862. would reject these line-endings in certain positions, making
  863. certain key files hard to move from one host to another. Fixes bug
  864. 33032; bugfix on 0.3.5.1-alpha.
  865. o Minor bugfixes (logging, backport from 0.4.3.2-rc):
  866. - When logging a bug, do not say "Future instances of this warning
  867. will be silenced" unless we are actually going to silence them.
  868. Previously we would say this whenever a BUG() check failed in the
  869. code. Fixes bug 33095; bugfix on 0.4.1.1-alpha.
  870. o Minor bugfixes (logging, backport from 0.4.3.4-rc):
  871. - Flush stderr, stdout, and file logs during shutdown, if supported
  872. by the OS. This change helps make sure that any final logs are
  873. recorded. Fixes bug 33087; bugfix on 0.4.1.6.
  874. o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
  875. - Downgrade a noisy log message that could occur naturally when
  876. receiving an extrainfo document that we no longer want. Fixes bug
  877. 16016; bugfix on 0.2.6.3-alpha.
  878. o Minor bugfixes (onion service v3, client, backport from 0.4.3.3-alpha):
  879. - Remove a BUG() warning that would cause a stack trace if an onion
  880. service descriptor was freed while we were waiting for a
  881. rendezvous circuit to complete. Fixes bug 28992; bugfix
  882. on 0.3.2.1-alpha.
  883. o Testing (CI, backport from 0.4.3.4-rc):
  884. - In our Appveyor Windows CI, copy required DLLs to test and app
  885. directories, before running tor's tests. This ensures that tor.exe
  886. and test*.exe use the correct version of each DLL. This fix is not
  887. required, but we hope it will avoid DLL search issues in future.
  888. Fixes bug 33673; bugfix on 0.3.4.2-alpha.
  889. - On Appveyor, skip the crypto/openssl_version test, which is
  890. failing because of a mismatched library installation. Fix
  891. for 33643.
  892. Changes in version 0.4.3.6 - 2020-07-09
  893. Tor 0.4.3.6 backports several bugfixes from later releases, including
  894. some affecting usability.
  895. This release also fixes TROVE-2020-001, a medium-severity denial of
  896. service vulnerability affecting all versions of Tor when compiled with
  897. the NSS encryption library. (This is not the default configuration.)
  898. Using this vulnerability, an attacker could cause an affected Tor
  899. instance to crash remotely. This issue is also tracked as CVE-2020-
  900. 15572. Anybody running a version of Tor built with the NSS library
  901. should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
  902. or later.
  903. o Major bugfixes (NSS, security, backport from 0.4.4.2-alpha):
  904. - Fix a crash due to an out-of-bound memory access when Tor is
  905. compiled with NSS support. Fixes bug 33119; bugfix on
  906. 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
  907. and CVE-2020-15572.
  908. o Minor bugfix (CI, Windows, backport from 0.4.4.2-alpha):
  909. - Use the correct 64-bit printf format when compiling with MINGW on
  910. Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
  911. o Minor bugfixes (client performance, backport from 0.4.4.1-alpha):
  912. - Resume use of preemptively-built circuits when UseEntryGuards is set
  913. to 0. We accidentally disabled this feature with that config
  914. setting, leading to slower load times. Fixes bug 34303; bugfix
  915. on 0.3.3.2-alpha.
  916. o Minor bugfixes (compiler warnings, backport from 0.4.4.2-alpha):
  917. - Fix a compiler warning on platforms with 32-bit time_t values.
  918. Fixes bug 40028; bugfix on 0.3.2.8-rc.
  919. o Minor bugfixes (linux seccomp sandbox, nss, backport from 0.4.4.1-alpha):
  920. - Fix a startup crash when tor is compiled with --enable-nss and
  921. sandbox support is enabled. Fixes bug 34130; bugfix on
  922. 0.3.5.1-alpha. Patch by Daniel Pinto.
  923. o Minor bugfixes (logging, backport from 0.4.4.2-alpha):
  924. - Downgrade a noisy log message that could occur naturally when
  925. receiving an extrainfo document that we no longer want. Fixes bug
  926. 16016; bugfix on 0.2.6.3-alpha.
  927. o Minor bugfixes (manual page, backport from 0.4.4.1-alpha):
  928. - Update the man page to reflect that MinUptimeHidServDirectoryV2
  929. defaults to 96 hours. Fixes bug 34299; bugfix on 0.2.6.3-alpha.
  930. o Minor bugfixes (onion service v3, backport from 0.4.4.1-alpha):
  931. - Prevent an assert() that would occur when cleaning the client
  932. descriptor cache, and attempting to close circuits for a non-
  933. decrypted descriptor (lacking client authorization). Fixes bug
  934. 33458; bugfix on 0.4.2.1-alpha.
  935. o Minor bugfixes (portability, backport from 0.4.4.1-alpha):
  936. - Fix a portability error in the configure script, where we were
  937. using "==" instead of "=". Fixes bug 34233; bugfix on 0.4.3.5.
  938. o Minor bugfixes (relays, backport from 0.4.4.1-alpha):
  939. - Stop advertising incorrect IPv6 ORPorts in relay and bridge
  940. descriptors, when the IPv6 port was configured as "auto". Fixes
  941. bug 32588; bugfix on 0.2.3.9-alpha.
  942. o Documentation (backport from 0.4.4.1-alpha):
  943. - Fix several doxygen warnings related to imbalanced groups. Closes
  944. ticket 34255.
  945. Changes in version 0.4.4.2-alpha - 2020-07-09
  946. This is the second alpha release in the 0.4.4.x series. It fixes a few
  947. bugs in the previous release, and solves a few usability,
  948. compatibility, and portability issues.
  949. This release also fixes TROVE-2020-001, a medium-severity denial of
  950. service vulnerability affecting all versions of Tor when compiled with
  951. the NSS encryption library. (This is not the default configuration.)
  952. Using this vulnerability, an attacker could cause an affected Tor
  953. instance to crash remotely. This issue is also tracked as CVE-2020-
  954. 15572. Anybody running a version of Tor built with the NSS library
  955. should upgrade to 0.3.5.11, 0.4.2.8, 0.4.3.6, or 0.4.4.2-alpha
  956. or later.
  957. o Major bugfixes (NSS, security):
  958. - Fix a crash due to an out-of-bound memory access when Tor is
  959. compiled with NSS support. Fixes bug 33119; bugfix on
  960. 0.3.5.1-alpha. This issue is also tracked as TROVE-2020-001
  961. and CVE-2020-15572.
  962. o Minor features (bootstrap reporting):
  963. - Report more detailed reasons for bootstrap failure when the
  964. failure happens due to a TLS error. Previously we would just call
  965. these errors "MISC" when they happened during read, and "DONE"
  966. when they happened during any other TLS operation. Closes
  967. ticket 32622.
  968. o Minor features (directory authority):
  969. - Authorities now recommend the protocol versions that are supported
  970. by Tor 0.3.5 and later. (Earlier versions of Tor have been
  971. deprecated since January of this year.) This recommendation will
  972. cause older clients and relays to give a warning on startup, or
  973. when they download a consensus directory. Closes ticket 32696.
  974. o Minor features (entry guards):
  975. - Reinstate support for GUARD NEW/UP/DOWN control port events.
  976. Closes ticket 40001.
  977. o Minor features (linux seccomp2 sandbox, portability):
  978. - Allow Tor to build on platforms where it doesn't know how to
  979. report which syscall caused the linux seccomp2 sandbox to fail.
  980. This change should make the sandbox code more portable to less
  981. common Linux architectures. Closes ticket 34382.
  982. - Permit the unlinkat() syscall, which some Libc implementations use
  983. to implement unlink(). Closes ticket 33346.
  984. o Minor bugfix (CI, Windows):
  985. - Use the correct 64-bit printf format when compiling with MINGW on
  986. Appveyor. Fixes bug 40026; bugfix on 0.3.5.5-alpha.
  987. o Minor bugfix (onion service v3 client):
  988. - Remove a BUG() warning that could occur naturally. Fixes bug
  989. 34087; bugfix on 0.3.2.1-alpha.
  990. o Minor bugfix (SOCKS, onion service client):
  991. - Detect v3 onion service addresses of the wrong length when
  992. returning the F6 ExtendedErrors code. Fixes bug 33873; bugfix
  993. on 0.4.3.1-alpha.
  994. o Minor bugfixes (compiler warnings):
  995. - Fix a compiler warning on platforms with 32-bit time_t values.
  996. Fixes bug 40028; bugfix on 0.3.2.8-rc.
  997. o Minor bugfixes (control port, onion service):
  998. - Consistently use 'address' in "Invalid v3 address" response to
  999. ONION_CLIENT_AUTH commands. Previously, we would sometimes say
  1000. 'addr'. Fixes bug 40005; bugfix on 0.4.3.1-alpha.
  1001. o Minor bugfixes (logging):
  1002. - Downgrade a noisy log message that could occur naturally when
  1003. receiving an extrainfo document that we no longer want. Fixes bug
  1004. 16016; bugfix on 0.2.6.3-alpha.
  1005. o Minor bugfixes (onion services v3):
  1006. - Avoid a non-fatal assertion failure in certain edge-cases when
  1007. opening an intro circuit as a client. Fixes bug 34084; bugfix
  1008. on 0.3.2.1-alpha.
  1009. o Deprecated features (onion service v2):
  1010. - Add a deprecation warning for version 2 onion services. Closes
  1011. ticket 40003.
  1012. o Removed features (IPv6, revert):
  1013. - Revert the change in the default value of ClientPreferIPv6OrPort:
  1014. it breaks the torsocks use case. The SOCKS resolve command has no
  1015. mechanism to ask for a specific address family (v4 or v6), and so
  1016. prioritizing IPv6 when an IPv4 address is requested on the SOCKS
  1017. interface resulted in a failure. Tor Browser explicitly sets
  1018. PreferIPv6, so this should not affect the majority of our users.
  1019. Closes ticket 33796; bugfix on 0.4.4.1-alpha.
  1020. Changes in version 0.4.4.1-alpha - 2020-06-16
  1021. This is the first alpha release in the 0.4.4.x series. It improves
  1022. our guard selection algorithms, improves the amount of code that
  1023. can be disabled when running without relay support, and includes numerous
  1024. small bugfixes and enhancements. It also lays the ground for some IPv6
  1025. features that we'll be developing more in the next (0.4.5) series.
  1026. Here are the changes since 0.4.3.5.
  1027. o Major features (Proposal 310, performance + security):
  1028. - Implements Proposal 310, "Bandaid on guard selection". Proposal
  1029. 310 solves load-balancing issues with older versions of the guard
  1030. selection algorithm, and improves its security. Under this new
  1031. algorithm, a newly selected guard never becomes Primary unless all
  1032. previously sampled guards are unreachable. Implements
  1033. recommendation from 32088. (Proposal 310 is linked to the CLAPS
  1034. project researching optimal client location-aware path selections.
  1035. This project is a collaboration between the UCLouvain Crypto Group,
  1036. the U.S. Naval Research Laboratory, and Princeton University.)
  1037. o Major features (IPv6, relay):
  1038. - Consider IPv6-only EXTEND2 cells valid on relays. Log a protocol
  1039. warning if the IPv4 or IPv6 address is an internal address, and
  1040. internal addresses are not allowed. But continue to use the other
  1041. address, if it is valid. Closes ticket 33817.
  1042. - If a relay can extend over IPv4 and IPv6, and both addresses are
  1043. provided, it chooses between them uniformly at random. Closes
  1044. ticket 33817.
  1045. - Re-use existing IPv6 connections for circuit extends. Closes
  1046. ticket 33817.
  1047. - Relays may extend circuits over IPv6, if the relay has an IPv6
  1048. ORPort, and the client supplies the other relay's IPv6 ORPort in
  1049. the EXTEND2 cell. IPv6 extends will be used by the relay IPv6
  1050. ORPort self-tests in 33222. Closes ticket 33817.
  1051. o Major features (v3 onion services):
  1052. - Allow v3 onion services to act as OnionBalance backend instances,
  1053. by using the HiddenServiceOnionBalanceInstance torrc option.
  1054. Closes ticket 32709.
  1055. o Minor feature (developer tools):
  1056. - Add a script to help check the alphabetical ordering of option
  1057. names in the manual page. Closes ticket 33339.
  1058. o Minor feature (onion service client, SOCKS5):
  1059. - Add 3 new SocksPort ExtendedErrors (F2, F3, F7) that reports back
  1060. new type of onion service connection failures. The semantics of
  1061. these error codes are documented in proposal 309. Closes
  1062. ticket 32542.
  1063. o Minor feature (onion service v3):
  1064. - If a service cannot upload its descriptor(s), log why at INFO
  1065. level. Closes ticket 33400; bugfix on 0.3.2.1-alpha.
  1066. o Minor feature (python scripts):
  1067. - Stop assuming that /usr/bin/python exists. Instead of using a
  1068. hardcoded path in scripts that still use Python 2, use
  1069. /usr/bin/env, similarly to the scripts that use Python 3. Fixes
  1070. bug 33192; bugfix on 0.4.2.
  1071. o Minor features (client-only compilation):
  1072. - Disable more code related to the ext_orport protocol when
  1073. compiling without support for relay mode. Closes ticket 33368.
  1074. - Disable more of our self-testing code when support for relay mode
  1075. is disabled. Closes ticket 33370.
  1076. o Minor features (code safety):
  1077. - Check for failures of tor_inet_ntop() and tor_inet_ntoa()
  1078. functions in DNS and IP address processing code, and adjust
  1079. codepaths to make them less likely to crash entire Tor instances.
  1080. Resolves issue 33788.
  1081. o Minor features (compilation size):
  1082. - Most server-side DNS code is now disabled when building without
  1083. support for relay mode. Closes ticket 33366.
  1084. o Minor features (continuous integration):
  1085. - Run unit-test and integration test (Stem, Chutney) jobs with
  1086. ALL_BUGS_ARE_FATAL macro being enabled on Travis and Appveyor.
  1087. Resolves ticket 32143.
  1088. o Minor features (control port):
  1089. - Return a descriptive error message from the 'GETINFO status/fresh-
  1090. relay-descs' command on the control port. Previously, we returned
  1091. a generic error of "Error generating descriptor". Closes ticket
  1092. 32873. Patch by Neel Chauhan.
  1093. o Minor features (developer tooling):
  1094. - Refrain from listing all .a files that are generated by the Tor
  1095. build in .gitignore. Add a single wildcard *.a entry that covers
  1096. all of them for present and future. Closes ticket 33642.
  1097. - Add a script ("git-install-tools.sh") to install git hooks and
  1098. helper scripts. Closes ticket 33451.
  1099. o Minor features (directory authority, shared random):
  1100. - Refactor more authority-only parts of the shared-random scheduling
  1101. code to reside in the dirauth module, and to be disabled when
  1102. compiling with --disable-module-dirauth. Closes ticket 33436.
  1103. o Minor features (directory):
  1104. - Remember the number of bytes we have downloaded for each directory
  1105. purpose while bootstrapping, and while fully bootstrapped. Log
  1106. this information as part of the heartbeat message. Closes
  1107. ticket 32720.
  1108. o Minor features (IPv6 support):
  1109. - Adds IPv6 support to tor_addr_is_valid(). Adds tests for the above
  1110. changes and tor_addr_is_null(). Closes ticket 33679. Patch
  1111. by MrSquanchee.
  1112. - Allow clients and relays to send dual-stack and IPv6-only EXTEND2
  1113. cells. Parse dual-stack and IPv6-only EXTEND2 cells on relays.
  1114. Closes ticket 33901.
  1115. o Minor features (logging):
  1116. - When trying to find our own address, add debug-level logging to
  1117. report the sources of candidate addresses. Closes ticket 32888.
  1118. o Minor features (testing, architecture):
  1119. - Our test scripts now double-check that subsystem initialization
  1120. order is consistent with the inter-module dependencies established
  1121. by our .may_include files. Implements ticket 31634.
  1122. - Initialize all subsystems at the beginning of our unit test
  1123. harness, to avoid crashes due to uninitialized subsystems. Follow-
  1124. up from ticket 33316.
  1125. o Minor features (v3 onion services):
  1126. - Add v3 onion service status to the dumpstats() call which is
  1127. triggered by a SIGUSR1 signal. Previously, we only did v2 onion
  1128. services. Closes ticket 24844. Patch by Neel Chauhan.
  1129. o Minor features (windows):
  1130. - Add support for console control signals like Ctrl+C in Windows.
  1131. Closes ticket 34211. Patch from Damon Harris (TheDcoder).
  1132. o Minor bugfix (onion service v3):
  1133. - Prevent an assert() that would occur when cleaning the client
  1134. descriptor cache, and attempting to close circuits for a non-
  1135. decrypted descriptor (lacking client authorization). Fixes bug
  1136. 33458; bugfix on 0.4.2.1-alpha.
  1137. o Minor bugfix (refactoring):
  1138. - Lift circuit_build_times_disabled() out of the
  1139. circuit_expire_building() loop, to save CPU time when there are
  1140. many circuits open. Fixes bug 33977; bugfix on 0.3.5.9.
  1141. o Minor bugfixes (client performance):
  1142. - Resume use of preemptively-built circuits when UseEntryGuards is set
  1143. to 0. We accidentally disabled this feature with that config
  1144. setting, leading to slower load times. Fixes bug 34303; bugfix
  1145. on 0.3.3.2-alpha.
  1146. o Minor bugfixes (directory authorities):
  1147. - Directory authorities now reject votes that arrive too late. In
  1148. particular, once an authority has started fetching missing votes,
  1149. it no longer accepts new votes posted by other authorities. This
  1150. change helps prevent a consensus split, where only some authorities
  1151. have the late vote. Fixes bug 4631; bugfix on 0.2.0.5-alpha.
  1152. o Minor bugfixes (git scripts):
  1153. - Stop executing the checked-out pre-commit hook from the pre-push
  1154. hook. Instead, execute the copy in the user's git directory. Fixes
  1155. bug 33284; bugfix on 0.4.1.1-alpha.
  1156. o Minor bugfixes (initialization):
  1157. - Initialize the subsystems in our code in an order more closely
  1158. corresponding to their dependencies, so that every system is
  1159. initialized before the ones that (theoretically) depend on it.
  1160. Fixes bug 33316; bugfix on 0.4.0.1-alpha.
  1161. o Minor bugfixes (IPv4, relay):
  1162. - Check for invalid zero IPv4 addresses and ports when sending and
  1163. receiving extend cells. Fixes bug 33900; bugfix on 0.2.4.8-alpha.
  1164. o Minor bugfixes (IPv6, relay):
  1165. - Consider IPv6 addresses when checking if a connection is
  1166. canonical. In 17604, relays assumed that a remote relay could
  1167. consider an IPv6 connection canonical, but did not set the
  1168. canonical flag on their side of the connection. Fixes bug 33899;
  1169. bugfix on 0.3.1.1-alpha.
  1170. - Log IPv6 addresses on connections where this relay is the
  1171. responder. Previously, responding relays would replace the remote
  1172. IPv6 address with the IPv4 address from the consensus. Fixes bug
  1173. 33899; bugfix on 0.3.1.1-alpha.
  1174. o Minor bugfixes (linux seccomp sandbox nss):
  1175. - Fix a startup crash when tor is compiled with --enable-nss and
  1176. sandbox support is enabled. Fixes bug 34130; bugfix on
  1177. 0.3.5.1-alpha. Patch by Daniel Pinto.
  1178. o Minor bugfixes (logging, testing):
  1179. - Make all of tor's assertion macros support the ALL_BUGS_ARE_FATAL
  1180. and DISABLE_ASSERTS_IN_UNIT_TESTS debugging modes. (IF_BUG_ONCE()
  1181. used to log a non-fatal warning, regardless of the debugging
  1182. mode.) Fixes bug 33917; bugfix on 0.2.9.1-alpha.
  1183. o Minor bugfixes (logs):
  1184. - Remove surprising empty line in the INFO-level log about circuit
  1185. build timeout. Fixes bug 33531; bugfix on 0.3.3.1-alpha.
  1186. o Minor bugfixes (mainloop):
  1187. - Better guard against growing a buffer past its maximum 2GB in
  1188. size. Fixes bug 33131; bugfix on 0.3.0.4-rc.
  1189. o Minor bugfixes (manual page):
  1190. - Update the man page to reflect that MinUptimeHidServDirectoryV2
  1191. defaults to 96 hours. Fixes bug 34299; bugfix on 0.2.6.3-alpha.
  1192. o Minor bugfixes (onion service v3, client):
  1193. - Remove a BUG() that was causing a stacktrace when a descriptor
  1194. changed at an unexpected time. Fixes bug 28992; bugfix
  1195. on 0.3.2.1-alpha.
  1196. o Minor bugfixes (onion service, logging):
  1197. - Fix a typo in a log message PublishHidServDescriptors is set to 0.
  1198. Fixes bug 33779; bugfix on 0.3.2.1-alpha.
  1199. o Minor bugfixes (portability):
  1200. - Fix a portability error in the configure script, where we were
  1201. using "==" instead of "=". Fixes bug 34233; bugfix on 0.4.3.5.
  1202. o Minor bugfixes (protocol versions):
  1203. - Sort tor's supported protocol version lists, as recommended by the
  1204. tor directory specification. Fixes bug 33285; bugfix
  1205. on 0.4.0.1-alpha.
  1206. o Minor bugfixes (relays):
  1207. - Stop advertising incorrect IPv6 ORPorts in relay and bridge
  1208. descriptors, when the IPv6 port was configured as "auto". Fixes
  1209. bug 32588; bugfix on 0.2.3.9-alpha.
  1210. o Code simplification and refactoring:
  1211. - Define and use a new constant TOR_ADDRPORT_BUF_LEN which is like
  1212. TOR_ADDR_BUF_LEN but includes enough space for an IP address,
  1213. brackets, separating colon, and port number. Closes ticket 33956.
  1214. Patch by Neel Chauhan.
  1215. - Merge the orconn and ocirc events into the "core" subsystem, which
  1216. manages or connections and origin circuits. Previously they were
  1217. isolated in subsystems of their own.
  1218. - Move LOG_PROTOCOL_WARN to app/config. Resolves a dependency
  1219. inversion. Closes ticket 33633.
  1220. - Move the circuit extend code to the relay module. Split the
  1221. circuit extend function into smaller functions. Closes
  1222. ticket 33633.
  1223. - Rewrite port_parse_config() to use the default port flags from
  1224. port_cfg_new(). Closes ticket 32994. Patch by MrSquanchee.
  1225. - Updated comments in 'scheduler.c' to reflect old code changes, and
  1226. simplified the scheduler channel state change code. Closes
  1227. ticket 33349.
  1228. o Documentation:
  1229. - Document the limitations of using %include on config files with
  1230. seccomp sandbox enabled. Fixes documentation bug 34133; bugfix on
  1231. 0.3.1.1-alpha. Patch by Daniel Pinto.
  1232. - Fix several doxygen warnings related to imbalanced groups. Closes
  1233. ticket 34255.
  1234. o Removed features:
  1235. - Remove the ClientAutoIPv6ORPort option. This option attempted to
  1236. randomly choose between IPv4 and IPv6 for client connections, and
  1237. wasn't a true implementation of Happy Eyeballs. Often, this option
  1238. failed on IPv4-only or IPv6-only connections. Closes ticket 32905.
  1239. Patch by Neel Chauhan.
  1240. - Stop shipping contrib/dist/rc.subr file, as it is not being used
  1241. on FreeBSD anymore. Closes issue 31576.
  1242. o Testing:
  1243. - Add a basic IPv6 test to "make test-network". This test only runs
  1244. when the local machine has an IPv6 stack. Closes ticket 33300.
  1245. - Add test-network-ipv4 and test-network-ipv6 jobs to the Makefile.
  1246. These jobs run the IPv4-only and dual-stack chutney flavours from
  1247. test-network-all. Closes ticket 33280.
  1248. - Remove a redundant distcheck job. Closes ticket 33194.
  1249. - Run the test-network-ipv6 Makefile target in the Travis CI IPv6
  1250. chutney job. This job runs on macOS, so it's a bit slow. Closes
  1251. ticket 33303.
  1252. - Sort the Travis jobs in order of speed. Putting the slowest jobs
  1253. first takes full advantage of Travis job concurrency. Closes
  1254. ticket 33194.
  1255. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  1256. previously configured to fast_finish (which requires
  1257. allow_failure), to speed up the build. Closes ticket 33195.
  1258. - Test v3 onion services to tor's mixed IPv4 chutney network. And
  1259. add a mixed IPv6 chutney network. These networks are used in the
  1260. test-network-all, test-network-ipv4, and test-network-ipv6 make
  1261. targets. Closes ticket 33334.
  1262. - Use the "bridges+hs-v23" chutney network flavour in "make test-
  1263. network". This test requires a recent version of chutney (mid-
  1264. February 2020). Closes ticket 28208.
  1265. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  1266. tool to produce detailed diagnostic output. Closes ticket 32792.
  1267. o Code simplification and refactoring (onion service):
  1268. - Refactor configuration parsing to use the new config subsystem
  1269. code. Closes ticket 33014.
  1270. o Code simplification and refactoring (relay address):
  1271. - Move a series of functions related to address resolving into their
  1272. own files. Closes ticket 33789.
  1273. o Documentation (manual page):
  1274. - Add cross reference links and a table of contents to the HTML tor
  1275. manual page. Closes ticket 33369. Work by Swati Thacker as part of
  1276. Google Season of Docs.
  1277. - Alphabetize the Denial of Service Mitigation Options, Directory
  1278. Authority Server Options, Hidden Service Options, and Testing
  1279. Network Options sections of the tor(1) manual page. Closes ticket
  1280. 33275. Work by Swati Thacker as part of Google Season of Docs.
  1281. - Refrain from mentioning nicknames in manpage section for MyFamily
  1282. torrc option. Resolves issue 33417.
  1283. - Updated the options set by TestingTorNetwork in the manual page.
  1284. Closes ticket 33778.
  1285. Changes in version 0.4.3.5 - 2020-05-15
  1286. Tor 0.4.3.5 is the first stable release in the 0.4.3.x series. This
  1287. series adds support for building without relay code enabled, and
  1288. implements functionality needed for OnionBalance with v3 onion
  1289. services. It includes significant refactoring of our configuration and
  1290. controller functionality, and fixes numerous smaller bugs and
  1291. performance issues.
  1292. Per our support policy, we support each stable release series for nine
  1293. months after its first stable release, or three months after the first
  1294. stable release of the next series: whichever is longer. This means
  1295. that 0.4.3.x will be supported until around February 2021--later, if
  1296. 0.4.4.x is later than anticipated.
  1297. Note also that support for 0.4.1.x is about to end on May 20 of this
  1298. year; 0.4.2.x will be supported until September 15. We still plan to
  1299. continue supporting 0.3.5.x, our long-term stable series, until
  1300. Feb 2022.
  1301. Below are the changes since 0.4.3.4-rc. For a complete list of changes
  1302. since 0.4.2.6, see the ReleaseNotes file.
  1303. o Minor bugfixes (compiler compatibility):
  1304. - Avoid compiler warnings from Clang 10 related to the use of GCC-
  1305. style "/* falls through */" comments. Both Clang and GCC allow
  1306. __attribute__((fallthrough)) instead, so that's what we're using
  1307. now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
  1308. - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix
  1309. on 0.4.0.3-alpha.
  1310. o Minor bugfixes (logging):
  1311. - Stop truncating IPv6 addresses and ports in channel and connection
  1312. logs. Fixes bug 33918; bugfix on 0.2.4.4-alpha.
  1313. - Fix a logic error in a log message about whether an address was
  1314. invalid. Previously, the code would never report that onion
  1315. addresses were onion addresses. Fixes bug 34131; bugfix
  1316. on 0.4.3.1-alpha.
  1317. Changes in version 0.4.3.4-rc - 2020-04-13
  1318. Tor 0.4.3.4-rc is the first release candidate in its series. It fixes
  1319. several bugs from earlier versions, including one affecting DoS
  1320. defenses on bridges using pluggable transports.
  1321. o Major bugfixes (DoS defenses, bridges, pluggable transport):
  1322. - Fix a bug that was preventing DoS defenses from running on bridges
  1323. with a pluggable transport. Previously, the DoS subsystem was not
  1324. given the transport name of the client connection, thus failed to
  1325. find the GeoIP cache entry for that client address. Fixes bug
  1326. 33491; bugfix on 0.3.3.2-alpha.
  1327. o Minor feature (sendme, flow control):
  1328. - Default to sending SENDME version 1 cells. (Clients are already
  1329. sending these, because of a consensus parameter telling them to do
  1330. so: this change only affects what clients would do if the
  1331. consensus didn't contain a recommendation.) Closes ticket 33623.
  1332. o Minor features (testing):
  1333. - The unit tests now support a "TOR_SKIP_TESTCASES" environment
  1334. variable to specify a list of space-separated test cases that
  1335. should not be executed. We will use this to disable certain tests
  1336. that are failing on Appveyor because of mismatched OpenSSL
  1337. libraries. Part of ticket 33643.
  1338. o Minor bugfixes (--disable-module-relay):
  1339. - Fix an assertion failure when Tor is built without the relay
  1340. module, and then invoked with the "User" option. Fixes bug 33668;
  1341. bugfix on 0.4.3.1-alpha.
  1342. o Minor bugfixes (--disable-module-relay,--disable-module-dirauth):
  1343. - Set some output arguments in the relay and dirauth module stubs,
  1344. to guard against future stub argument handling bugs like 33668.
  1345. Fixes bug 33674; bugfix on 0.4.3.1-alpha.
  1346. o Minor bugfixes (build system):
  1347. - Correctly output the enabled module in the configure summary.
  1348. Before that, the list shown was just plain wrong. Fixes bug 33646;
  1349. bugfix on 0.4.3.2-alpha.
  1350. o Minor bugfixes (client, IPv6):
  1351. - Stop forcing all non-SocksPorts to prefer IPv6 exit connections.
  1352. Instead, prefer IPv6 connections by default, but allow users to
  1353. change their configs using the "NoPreferIPv6" port flag. Fixes bug
  1354. 33608; bugfix on 0.4.3.1-alpha.
  1355. - Revert PreferIPv6 set by default on the SocksPort because it broke
  1356. the torsocks use case. Tor doesn't have a way for an application
  1357. to request the hostname to be resolved for a specific IP version,
  1358. but torsocks requires that. Up until now, IPv4 was used by default
  1359. so torsocks is expecting that, and can't handle a possible IPv6
  1360. being returned. Fixes bug 33804; bugfix on 0.4.3.1-alpha.
  1361. o Minor bugfixes (key portability):
  1362. - When reading PEM-encoded key data, tolerate CRLF line-endings even
  1363. if we are not running on Windows. Previously, non-Windows hosts
  1364. would reject these line-endings in certain positions, making
  1365. certain key files hard to move from one host to another. Fixes bug
  1366. 33032; bugfix on 0.3.5.1-alpha.
  1367. o Minor bugfixes (logging):
  1368. - Flush stderr, stdout, and file logs during shutdown, if supported
  1369. by the OS. This change helps make sure that any final logs are
  1370. recorded. Fixes bug 33087; bugfix on 0.4.1.6.
  1371. - Stop closing stderr and stdout during shutdown. Closing these file
  1372. descriptors can hide sanitiser logs. Fixes bug 33087; bugfix
  1373. on 0.4.1.6.
  1374. o Minor bugfixes (onion services v3):
  1375. - Relax severity of a log message that can appear naturally when
  1376. decoding onion service descriptors as a relay. Also add some
  1377. diagnostics to debug any future bugs in that area. Fixes bug
  1378. 31669; bugfix on 0.3.0.1-alpha.
  1379. - Block a client-side assertion by disallowing the registration of
  1380. an x25519 client auth key that's all zeroes. Fixes bug 33545;
  1381. bugfix on 0.4.3.1-alpha. Based on patch from "cypherpunks".
  1382. o Code simplification and refactoring:
  1383. - Disable our coding standards best practices tracker in our git
  1384. hooks. (0.4.3 branches only.) Closes ticket 33678.
  1385. o Testing:
  1386. - Avoid conflicts between the fake sockets in tor's unit tests, and
  1387. real file descriptors. Resolves issues running unit tests with
  1388. GitHub Actions, where the process that embeds or launches the
  1389. tests has already opened a large number of file descriptors. Fixes
  1390. bug 33782; bugfix on 0.2.8.1-alpha. Found and fixed by
  1391. Putta Khunchalee.
  1392. o Testing (CI):
  1393. - In our Appveyor Windows CI, copy required DLLs to test and app
  1394. directories, before running tor's tests. This ensures that tor.exe
  1395. and test*.exe use the correct version of each DLL. This fix is not
  1396. required, but we hope it will avoid DLL search issues in future.
  1397. Fixes bug 33673; bugfix on 0.3.4.2-alpha.
  1398. - On Appveyor, skip the crypto/openssl_version test, which is
  1399. failing because of a mismatched library installation. Fix
  1400. for 33643.
  1401. Changes in version 0.4.3.3-alpha - 2020-03-18
  1402. Tor 0.4.3.3-alpha fixes several bugs in previous releases, including
  1403. TROVE-2020-002, a major denial-of-service vulnerability that affected
  1404. all released Tor instances since 0.2.1.5-alpha. Using this
  1405. vulnerability, an attacker could cause Tor instances to consume a huge
  1406. amount of CPU, disrupting their operations for several seconds or
  1407. minutes. This attack could be launched by anybody against a relay, or
  1408. by a directory cache against any client that had connected to it. The
  1409. attacker could launch this attack as much as they wanted, thereby
  1410. disrupting service or creating patterns that could aid in traffic
  1411. analysis. This issue was found by OSS-Fuzz, and is also tracked
  1412. as CVE-2020-10592.
  1413. We do not have reason to believe that this attack is currently being
  1414. exploited in the wild, but nonetheless we advise everyone to upgrade
  1415. as soon as packages are available.
  1416. o Major bugfixes (security, denial-of-service):
  1417. - Fix a denial-of-service bug that could be used by anyone to
  1418. consume a bunch of CPU on any Tor relay or authority, or by
  1419. directories to consume a bunch of CPU on clients or hidden
  1420. services. Because of the potential for CPU consumption to
  1421. introduce observable timing patterns, we are treating this as a
  1422. high-severity security issue. Fixes bug 33119; bugfix on
  1423. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  1424. as TROVE-2020-002 and CVE-2020-10592.
  1425. o Major bugfixes (circuit padding, memory leak):
  1426. - Avoid a remotely triggered memory leak in the case that a circuit
  1427. padding machine is somehow negotiated twice on the same circuit.
  1428. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
  1429. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
  1430. o Major bugfixes (directory authority):
  1431. - Directory authorities will now send a 503 (not enough bandwidth)
  1432. code to clients when under bandwidth pressure. Known relays and
  1433. other authorities will always be answered regardless of the
  1434. bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
  1435. o Minor features (diagnostic):
  1436. - Improve assertions and add some memory-poisoning code to try to
  1437. track down possible causes of a rare crash (32564) in the EWMA
  1438. code. Closes ticket 33290.
  1439. o Minor features (directory authorities):
  1440. - Directory authorities now reject descriptors from relays running
  1441. Tor versions from the 0.2.9 and 0.4.0 series. The 0.3.5 series is
  1442. still allowed. Resolves ticket 32672. Patch by Neel Chauhan.
  1443. o Minor features (usability):
  1444. - Include more information when failing to parse a configuration
  1445. value. This should make it easier to tell what's going wrong when
  1446. a configuration file doesn't parse. Closes ticket 33460.
  1447. o Minor bugfix (relay, configuration):
  1448. - Warn if the ContactInfo field is not set, and tell the relay
  1449. operator that not having a ContactInfo field set might cause their
  1450. relay to get rejected in the future. Fixes bug 33361; bugfix
  1451. on 0.1.1.10-alpha.
  1452. o Minor bugfixes (coding best practices checks):
  1453. - Allow the "practracker" script to read unicode files when using
  1454. Python 2. We made the script use unicode literals in 0.4.3.1-alpha,
  1455. but didn't change the codec for opening files. Fixes bug 33374;
  1456. bugfix on 0.4.3.1-alpha.
  1457. o Minor bugfixes (continuous integration):
  1458. - Remove the buggy and unused mirroring job. Fixes bug 33213; bugfix
  1459. on 0.3.2.2-alpha.
  1460. o Minor bugfixes (onion service v3, client):
  1461. - Remove a BUG() warning that would cause a stack trace if an onion
  1462. service descriptor was freed while we were waiting for a
  1463. rendezvous circuit to complete. Fixes bug 28992; bugfix
  1464. on 0.3.2.1-alpha.
  1465. o Minor bugfixes (onion services v3):
  1466. - Fix an assertion failure that could result from a corrupted
  1467. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  1468. bugfix on 0.3.3.1-alpha. This issue is also tracked
  1469. as TROVE-2020-003.
  1470. o Documentation (manpage):
  1471. - Alphabetize the Server and Directory server sections of the tor
  1472. manpage. Also split Statistics options into their own section of
  1473. the manpage. Closes ticket 33188. Work by Swati Thacker as part of
  1474. Google Season of Docs.
  1475. - Document the __OwningControllerProcess torrc option and specify
  1476. its polling interval. Resolves issue 32971.
  1477. o Testing (Travis CI):
  1478. - Remove a redundant distcheck job. Closes ticket 33194.
  1479. - Sort the Travis jobs in order of speed: putting the slowest jobs
  1480. first takes full advantage of Travis job concurrency. Closes
  1481. ticket 33194.
  1482. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  1483. previously configured to fast_finish (which requires
  1484. allow_failure), to speed up the build. Closes ticket 33195.
  1485. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  1486. tool to produce detailed diagnostic output. Closes ticket 32792.
  1487. Changes in version 0.4.2.7 - 2020-03-18
  1488. This is the third stable release in the 0.4.2.x series. It backports
  1489. numerous fixes from later releases, including a fix for TROVE-2020-
  1490. 002, a major denial-of-service vulnerability that affected all
  1491. released Tor instances since 0.2.1.5-alpha. Using this vulnerability,
  1492. an attacker could cause Tor instances to consume a huge amount of CPU,
  1493. disrupting their operations for several seconds or minutes. This
  1494. attack could be launched by anybody against a relay, or by a directory
  1495. cache against any client that had connected to it. The attacker could
  1496. launch this attack as much as they wanted, thereby disrupting service
  1497. or creating patterns that could aid in traffic analysis. This issue
  1498. was found by OSS-Fuzz, and is also tracked as CVE-2020-10592.
  1499. We do not have reason to believe that this attack is currently being
  1500. exploited in the wild, but nonetheless we advise everyone to upgrade
  1501. as soon as packages are available.
  1502. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  1503. - Fix a denial-of-service bug that could be used by anyone to
  1504. consume a bunch of CPU on any Tor relay or authority, or by
  1505. directories to consume a bunch of CPU on clients or hidden
  1506. services. Because of the potential for CPU consumption to
  1507. introduce observable timing patterns, we are treating this as a
  1508. high-severity security issue. Fixes bug 33119; bugfix on
  1509. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  1510. as TROVE-2020-002 and CVE-2020-10592.
  1511. o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
  1512. - Avoid a remotely triggered memory leak in the case that a circuit
  1513. padding machine is somehow negotiated twice on the same circuit.
  1514. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
  1515. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
  1516. o Major bugfixes (directory authority, backport from 0.4.3.3-alpha):
  1517. - Directory authorities will now send a 503 (not enough bandwidth)
  1518. code to clients when under bandwidth pressure. Known relays and
  1519. other authorities will always be answered regardless of the
  1520. bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
  1521. o Minor features (continuous integration, backport from 0.4.3.2-alpha):
  1522. - Stop allowing failures on the Travis CI stem tests job. It looks
  1523. like all the stem hangs we were seeing before are now fixed.
  1524. Closes ticket 33075.
  1525. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  1526. - Lowercase the configured value of BridgeDistribution before adding
  1527. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  1528. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  1529. - If we encounter a bug when flushing a buffer to a TLS connection,
  1530. only log the bug once per invocation of the Tor process.
  1531. Previously we would log with every occurrence, which could cause
  1532. us to run out of disk space. Fixes bug 33093; bugfix
  1533. on 0.3.2.2-alpha.
  1534. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  1535. - Fix an assertion failure that could result from a corrupted
  1536. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  1537. bugfix on 0.3.3.1-alpha. This issue is also tracked
  1538. as TROVE-2020-003.
  1539. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  1540. - Fix a syntax warning given by newer versions of Rust that was
  1541. creating problems for our continuous integration. Fixes bug 33212;
  1542. bugfix on 0.3.5.1-alpha.
  1543. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  1544. - Remove a redundant distcheck job. Closes ticket 33194.
  1545. - Sort the Travis jobs in order of speed: putting the slowest jobs
  1546. first takes full advantage of Travis job concurrency. Closes
  1547. ticket 33194.
  1548. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  1549. previously configured to fast_finish (which requires
  1550. allow_failure), to speed up the build. Closes ticket 33195.
  1551. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  1552. tool to produce detailed diagnostic output. Closes ticket 32792.
  1553. Changes in version 0.4.1.9 - 2020-03-18
  1554. Tor 0.4.1.9 backports important fixes from later Tor releases,
  1555. including a fix for TROVE-2020-002, a major denial-of-service
  1556. vulnerability that affected all released Tor instances since
  1557. 0.2.1.5-alpha. Using this vulnerability, an attacker could cause Tor
  1558. instances to consume a huge amount of CPU, disrupting their operations
  1559. for several seconds or minutes. This attack could be launched by
  1560. anybody against a relay, or by a directory cache against any client
  1561. that had connected to it. The attacker could launch this attack as
  1562. much as they wanted, thereby disrupting service or creating patterns
  1563. that could aid in traffic analysis. This issue was found by OSS-Fuzz,
  1564. and is also tracked as CVE-2020-10592.
  1565. We do not have reason to believe that this attack is currently being
  1566. exploited in the wild, but nonetheless we advise everyone to upgrade
  1567. as soon as packages are available.
  1568. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  1569. - Fix a denial-of-service bug that could be used by anyone to
  1570. consume a bunch of CPU on any Tor relay or authority, or by
  1571. directories to consume a bunch of CPU on clients or hidden
  1572. services. Because of the potential for CPU consumption to
  1573. introduce observable timing patterns, we are treating this as a
  1574. high-severity security issue. Fixes bug 33119; bugfix on
  1575. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  1576. as TROVE-2020-002 and CVE-2020-10592.
  1577. o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
  1578. - Avoid a remotely triggered memory leak in the case that a circuit
  1579. padding machine is somehow negotiated twice on the same circuit.
  1580. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
  1581. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
  1582. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  1583. - Lowercase the configured value of BridgeDistribution before adding
  1584. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  1585. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  1586. - If we encounter a bug when flushing a buffer to a TLS connection,
  1587. only log the bug once per invocation of the Tor process.
  1588. Previously we would log with every occurrence, which could cause
  1589. us to run out of disk space. Fixes bug 33093; bugfix
  1590. on 0.3.2.2-alpha.
  1591. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  1592. - Fix an assertion failure that could result from a corrupted
  1593. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  1594. bugfix on 0.3.3.1-alpha. This issue is also tracked
  1595. as TROVE-2020-003.
  1596. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  1597. - Fix a syntax warning given by newer versions of Rust that was
  1598. creating problems for our continuous integration. Fixes bug 33212;
  1599. bugfix on 0.3.5.1-alpha.
  1600. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  1601. - Remove a redundant distcheck job. Closes ticket 33194.
  1602. - Sort the Travis jobs in order of speed: putting the slowest jobs
  1603. first takes full advantage of Travis job concurrency. Closes
  1604. ticket 33194.
  1605. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  1606. previously configured to fast_finish (which requires
  1607. allow_failure), to speed up the build. Closes ticket 33195.
  1608. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  1609. tool to produce detailed diagnostic output. Closes ticket 32792.
  1610. Changes in version 0.3.5.10 - 2020-03-18
  1611. Tor 0.3.5.10 backports many fixes from later Tor releases, including a
  1612. fix for TROVE-2020-002, a major denial-of-service vulnerability that
  1613. affected all released Tor instances since 0.2.1.5-alpha. Using this
  1614. vulnerability, an attacker could cause Tor instances to consume a huge
  1615. amount of CPU, disrupting their operations for several seconds or
  1616. minutes. This attack could be launched by anybody against a relay, or
  1617. by a directory cache against any client that had connected to it. The
  1618. attacker could launch this attack as much as they wanted, thereby
  1619. disrupting service or creating patterns that could aid in traffic
  1620. analysis. This issue was found by OSS-Fuzz, and is also tracked
  1621. as CVE-2020-10592.
  1622. We do not have reason to believe that this attack is currently being
  1623. exploited in the wild, but nonetheless we advise everyone to upgrade
  1624. as soon as packages are available.
  1625. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  1626. - Fix a denial-of-service bug that could be used by anyone to
  1627. consume a bunch of CPU on any Tor relay or authority, or by
  1628. directories to consume a bunch of CPU on clients or hidden
  1629. services. Because of the potential for CPU consumption to
  1630. introduce observable timing patterns, we are treating this as a
  1631. high-severity security issue. Fixes bug 33119; bugfix on
  1632. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  1633. as TROVE-2020-002 and CVE-2020-10592.
  1634. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  1635. - Correct how we use libseccomp. Particularly, stop assuming that
  1636. rules are applied in a particular order or that more rules are
  1637. processed after the first match. Neither is the case! In
  1638. libseccomp <2.4.0 this lead to some rules having no effect.
  1639. libseccomp 2.4.0 changed how rules are generated, leading to a
  1640. different ordering, which in turn led to a fatal crash during
  1641. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  1642. Peter Gerber.
  1643. o Minor features (continuous integration, backport from 0.4.3.2-alpha):
  1644. - Stop allowing failures on the Travis CI stem tests job. It looks
  1645. like all the stem hangs we were seeing before are now fixed.
  1646. Closes ticket 33075.
  1647. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  1648. - Lowercase the configured value of BridgeDistribution before adding
  1649. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  1650. o Minor bugfixes (crash, backport from 0.4.2.4-rc):
  1651. - When running Tor with an option like --verify-config or
  1652. --dump-config that does not start the event loop, avoid crashing
  1653. if we try to exit early because of an error. Fixes bug 32407;
  1654. bugfix on 0.3.3.1-alpha.
  1655. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  1656. - If we encounter a bug when flushing a buffer to a TLS connection,
  1657. only log the bug once per invocation of the Tor process.
  1658. Previously we would log with every occurrence, which could cause
  1659. us to run out of disk space. Fixes bug 33093; bugfix
  1660. on 0.3.2.2-alpha.
  1661. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  1662. - Fix an assertion failure that could result from a corrupted
  1663. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  1664. bugfix on 0.3.3.1-alpha. This issue is also tracked
  1665. as TROVE-2020-003.
  1666. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  1667. - Fix a syntax warning given by newer versions of Rust that was
  1668. creating problems for our continuous integration. Fixes bug 33212;
  1669. bugfix on 0.3.5.1-alpha.
  1670. o Testing (backport from 0.4.3.1-alpha):
  1671. - Re-enable the Travis CI macOS Chutney build, but don't let it
  1672. prevent the Travis job from finishing. (The Travis macOS jobs are
  1673. slow, so we don't want to have it delay the whole CI process.)
  1674. Closes ticket 32629.
  1675. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  1676. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  1677. fix the sandbox errors in 32722. Closes ticket 32240.
  1678. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  1679. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  1680. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  1681. - Remove a redundant distcheck job. Closes ticket 33194.
  1682. - Sort the Travis jobs in order of speed: putting the slowest jobs
  1683. first takes full advantage of Travis job concurrency. Closes
  1684. ticket 33194.
  1685. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  1686. previously configured to fast_finish (which requires
  1687. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  1688. tool to produce detailed diagnostic output. Closes ticket 32792.
  1689. Changes in version 0.4.3.2-alpha - 2020-02-10
  1690. This is the second stable alpha release in the Tor 0.4.3.x series. It
  1691. fixes several bugs present in the previous alpha release. Anybody
  1692. running the previous alpha should upgrade, and look for bugs in this
  1693. one instead.
  1694. o Major bugfixes (onion service client, authorization):
  1695. - On a NEWNYM signal, purge entries from the ephemeral client
  1696. authorization cache. The permanent ones are kept. Fixes bug 33139;
  1697. bugfix on 0.4.3.1-alpha.
  1698. o Minor features (best practices tracker):
  1699. - Practracker now supports a --regen-overbroad option to regenerate
  1700. the exceptions file, but only to revise exceptions to be _less_
  1701. tolerant of best-practices violations. Closes ticket 32372.
  1702. o Minor features (continuous integration):
  1703. - Run Doxygen Makefile target on Travis, so we can learn about
  1704. regressions in our internal documentation. Closes ticket 32455.
  1705. - Stop allowing failures on the Travis CI stem tests job. It looks
  1706. like all the stem hangs we were seeing before are now fixed.
  1707. Closes ticket 33075.
  1708. o Minor bugfixes (build system):
  1709. - Revise configure options that were either missing or incorrect in
  1710. the configure summary. Fixes bug 32230; bugfix on 0.4.3.1-alpha.
  1711. o Minor bugfixes (controller protocol):
  1712. - Fix a memory leak introduced by refactoring of control reply
  1713. formatting code. Fixes bug 33039; bugfix on 0.4.3.1-alpha.
  1714. - Fix a memory leak in GETINFO responses. Fixes bug 33103; bugfix
  1715. on 0.4.3.1-alpha.
  1716. - When receiving "ACTIVE" or "DORMANT" signals on the control port,
  1717. report them as SIGNAL events. Previously we would log a bug
  1718. warning. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
  1719. o Minor bugfixes (logging):
  1720. - If we encounter a bug when flushing a buffer to a TLS connection,
  1721. only log the bug once per invocation of the Tor process.
  1722. Previously we would log with every occurrence, which could cause
  1723. us to run out of disk space. Fixes bug 33093; bugfix
  1724. on 0.3.2.2-alpha.
  1725. - When logging a bug, do not say "Future instances of this warning
  1726. will be silenced" unless we are actually going to silence them.
  1727. Previously we would say this whenever a BUG() check failed in the
  1728. code. Fixes bug 33095; bugfix on 0.4.1.1-alpha.
  1729. o Minor bugfixes (onion service v2):
  1730. - Move a series of v2 onion service warnings to protocol-warning
  1731. level because they can all be triggered remotely by a malformed
  1732. request. Fixes bug 32706; bugfix on 0.1.1.14-alpha.
  1733. o Minor bugfixes (onion service v3, client authorization):
  1734. - When removing client authorization credentials using the control
  1735. port, also remove the associated descriptor, so the onion service
  1736. can no longer be contacted. Fixes bug 33148; bugfix
  1737. on 0.4.3.1-alpha.
  1738. o Minor bugfixes (pluggable transports):
  1739. - When receiving a message on standard error from a pluggable
  1740. transport, log it at info level, rather than as a warning. Fixes
  1741. bug 33005; bugfix on 0.4.0.1-alpha.
  1742. o Minor bugfixes (rust, build):
  1743. - Fix a syntax warning given by newer versions of Rust that was
  1744. creating problems for our continuous integration. Fixes bug 33212;
  1745. bugfix on 0.3.5.1-alpha.
  1746. o Minor bugfixes (TLS bug handling):
  1747. - When encountering a bug in buf_read_from_tls(), return a "MISC"
  1748. error code rather than "WANTWRITE". This change might help avoid
  1749. some CPU-wasting loops if the bug is ever triggered. Bug reported
  1750. by opara. Fixes bug 32673; bugfix on 0.3.0.4-alpha.
  1751. o Code simplification and refactoring (mainloop):
  1752. - Simplify the ip_address_changed() function by removing redundant
  1753. checks. Closes ticket 33091.
  1754. o Documentation (manpage):
  1755. - Split "Circuit Timeout" options and "Node Selection" options into
  1756. their own sections of the tor manpage. Closes tickets 32928 and
  1757. 32929. Work by Swati Thacker as part of Google Season of Docs.
  1758. Changes in version 0.4.2.6 - 2020-01-30
  1759. This is the second stable release in the 0.4.2.x series. It backports
  1760. several bugfixes from 0.4.3.1-alpha, including some that had affected
  1761. the Linux seccomp2 sandbox or Windows services. If you're running with
  1762. one of those configurations, you'll probably want to upgrade;
  1763. otherwise, you should be fine with 0.4.2.5.
  1764. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  1765. - Correct how we use libseccomp. Particularly, stop assuming that
  1766. rules are applied in a particular order or that more rules are
  1767. processed after the first match. Neither is the case! In
  1768. libseccomp <2.4.0 this led to some rules having no effect.
  1769. libseccomp 2.4.0 changed how rules are generated, leading to a
  1770. different ordering, which in turn led to a fatal crash during
  1771. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  1772. Peter Gerber.
  1773. - Fix crash when reloading logging configuration while the
  1774. experimental sandbox is enabled. Fixes bug 32841; bugfix on
  1775. 0.4.1.7. Patch by Peter Gerber.
  1776. o Minor bugfixes (correctness checks, backport from 0.4.3.1-alpha):
  1777. - Use GCC/Clang's printf-checking feature to make sure that
  1778. tor_assertf() arguments are correctly typed. Fixes bug 32765;
  1779. bugfix on 0.4.1.1-alpha.
  1780. o Minor bugfixes (logging, crash, backport from 0.4.3.1-alpha):
  1781. - Avoid a possible crash when trying to log a (fatal) assertion
  1782. failure about mismatched magic numbers in configuration objects.
  1783. Fixes bug 32771; bugfix on 0.4.2.1-alpha.
  1784. o Minor bugfixes (testing, backport from 0.4.3.1-alpha):
  1785. - When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
  1786. test_practracker.sh script. Doing so caused a test failure. Fixes
  1787. bug 32705; bugfix on 0.4.2.1-alpha.
  1788. - When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr when
  1789. skipping practracker checks. Fixes bug 32705; bugfix
  1790. on 0.4.2.1-alpha.
  1791. o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
  1792. - Initialize the publish/subscribe system when running as a windows
  1793. service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
  1794. o Testing (backport from 0.4.3.1-alpha):
  1795. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  1796. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  1797. fix the sandbox errors in 32722. Closes ticket 32240.
  1798. - Re-enable the Travis CI macOS Chutney build, but don't let it
  1799. prevent the Travis job from finishing. (The Travis macOS jobs are
  1800. slow, so we don't want to have it delay the whole CI process.)
  1801. Closes ticket 32629.
  1802. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  1803. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  1804. Changes in version 0.4.1.8 - 2020-01-30
  1805. This release backports several bugfixes from later release series,
  1806. including some that had affected the Linux seccomp2 sandbox or Windows
  1807. services. If you're running with one of those configurations, you'll
  1808. probably want to upgrade; otherwise, you should be fine with your
  1809. current version of 0.4.1.x.
  1810. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  1811. - Correct how we use libseccomp. Particularly, stop assuming that
  1812. rules are applied in a particular order or that more rules are
  1813. processed after the first match. Neither is the case! In
  1814. libseccomp <2.4.0 this led to some rules having no effect.
  1815. libseccomp 2.4.0 changed how rules are generated, leading to a
  1816. different ordering, which in turn led to a fatal crash during
  1817. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  1818. Peter Gerber.
  1819. - Fix crash when reloading logging configuration while the
  1820. experimental sandbox is enabled. Fixes bug 32841; bugfix on
  1821. 0.4.1.7. Patch by Peter Gerber.
  1822. o Minor bugfixes (crash, backport form 0.4.2.4-rc):
  1823. - When running Tor with an option like --verify-config or
  1824. --dump-config that does not start the event loop, avoid crashing
  1825. if we try to exit early because of an error. Fixes bug 32407;
  1826. bugfix on 0.3.3.1-alpha.
  1827. o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
  1828. - Initialize the publish/subscribe system when running as a windows
  1829. service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
  1830. o Testing (backport from 0.4.3.1-alpha):
  1831. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  1832. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  1833. fix the sandbox errors in 32722. Closes ticket 32240.
  1834. - Re-enable the Travis CI macOS Chutney build, but don't let it
  1835. prevent the Travis job from finishing. (The Travis macOS jobs are
  1836. slow, so we don't want to have it delay the whole CI process.)
  1837. Closes ticket 32629.
  1838. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  1839. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  1840. Changes in version 0.4.3.1-alpha - 2020-01-22
  1841. This is the first alpha release in the 0.4.3.x series. It includes
  1842. improved support for application integration of onion services, support
  1843. for building in a client-only mode, and newly improved internal
  1844. documentation (online at https://src-ref.docs.torproject.org/tor/). It
  1845. also has numerous other small bugfixes and features, as well as
  1846. improvements to our code's internal organization that should help us
  1847. write better code in the future.
  1848. o New system requirements:
  1849. - When building Tor, you now need to have Python 3 in order to run
  1850. the integration tests. (Python 2 is officially unsupported
  1851. upstream, as of 1 Jan 2020.) Closes ticket 32608.
  1852. o Major features (build system):
  1853. - The relay code can now be disabled using the --disable-module-relay
  1854. configure option. When this option is set, we also disable the
  1855. dirauth module. Closes ticket 32123.
  1856. - When Tor is compiled --disable-module-relay, we also omit the code
  1857. used to act as a directory cache. Closes ticket 32487.
  1858. o Major features (directory authority, ed25519):
  1859. - Add support for banning a relay's ed25519 keys in the approved-
  1860. routers file. This will help us migrate away from RSA keys in the
  1861. future. Previously, only RSA keys could be banned in approved-
  1862. routers. Resolves ticket 22029. Patch by Neel Chauhan.
  1863. o Major features (onion service, controller):
  1864. - New control port commands to manage client-side onion service
  1865. authorization credentials. The ONION_CLIENT_AUTH_ADD command adds
  1866. a credential, ONION_CLIENT_AUTH_REMOVE deletes a credential, and
  1867. ONION_CLIENT_AUTH_VIEW lists the credentials. Closes ticket 30381.
  1868. o Major features (onion service, SOCKS5):
  1869. - Introduce a new SocksPort flag, ExtendedErrors, to support more
  1870. detailed error codes in information for applications that support
  1871. them. Closes ticket 30382; implements proposal 304.
  1872. o Major features (proxy):
  1873. - In addition to its current supported proxy types (HTTP CONNECT,
  1874. SOCKS4, and SOCKS5), Tor can now make its OR connections through a
  1875. HAProxy server. A new torrc option was added to specify the
  1876. address/port of the server: TCPProxy <protocol> <host>:<port>.
  1877. Currently the only supported protocol for the option is haproxy.
  1878. Closes ticket 31518. Patch done by Suphanat Chunhapanya (haxxpop).
  1879. o Major bugfixes (linux seccomp sandbox):
  1880. - Correct how we use libseccomp. Particularly, stop assuming that
  1881. rules are applied in a particular order or that more rules are
  1882. processed after the first match. Neither is the case! In
  1883. libseccomp <2.4.0 this led to some rules having no effect.
  1884. libseccomp 2.4.0 changed how rules are generated, leading to a
  1885. different ordering, which in turn led to a fatal crash during
  1886. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  1887. Peter Gerber.
  1888. - Fix crash when reloading logging configuration while the
  1889. experimental sandbox is enabled. Fixes bug 32841; bugfix on
  1890. 0.4.1.7. Patch by Peter Gerber.
  1891. o Major bugfixes (networking):
  1892. - Correctly handle IPv6 addresses in SOCKS5 RESOLVE_PTR requests,
  1893. and accept strings as well as binary addresses. Fixes bug 32315;
  1894. bugfix on 0.3.5.1-alpha.
  1895. o Major bugfixes (onion service):
  1896. - Report HS circuit failure back into the HS subsystem so we take
  1897. appropriate action with regards to the client introduction point
  1898. failure cache. This improves reachability of onion services, since
  1899. now clients notice failing introduction circuits properly. Fixes
  1900. bug 32020; bugfix on 0.3.2.1-alpha.
  1901. o Minor feature (configure, build system):
  1902. - Output a list of enabled/disabled features at the end of the
  1903. configure process in a pleasing way. Closes ticket 31373.
  1904. o Minor feature (heartbeat, onion service):
  1905. - Add the DoS INTRODUCE2 defenses counter to the heartbeat DoS
  1906. message. Closes ticket 31371.
  1907. o Minor features (configuration validation):
  1908. - Configuration validation can now be done by per-module callbacks,
  1909. rather than a global validation function. This will let us reduce
  1910. the size of config.c and some of its more cumbersome functions.
  1911. Closes ticket 31241.
  1912. o Minor features (configuration):
  1913. - If a configured hardware crypto accelerator in AccelName is
  1914. prefixed with "!", Tor now exits when it cannot be found. Closes
  1915. ticket 32406.
  1916. - We now use flag-driven logic to warn about obsolete configuration
  1917. fields, so that we can include their names. In 0.4.2, we used a
  1918. special type, which prevented us from generating good warnings.
  1919. Implements ticket 32404.
  1920. o Minor features (controller):
  1921. - Add stream isolation data to STREAM event. Closes ticket 19859.
  1922. - Implement a new GETINFO command to fetch microdescriptor
  1923. consensus. Closes ticket 31684.
  1924. o Minor features (debugging, directory system):
  1925. - Don't crash when we find a non-guard with a guard-fraction value
  1926. set. Instead, log a bug warning, in an attempt to figure out how
  1927. this happened. Diagnostic for ticket 32868.
  1928. o Minor features (defense in depth):
  1929. - Add additional checks around tor_vasprintf() usage, in case the
  1930. function returns an error. Patch by Tobias Stoeckmann. Fixes
  1931. ticket 31147.
  1932. o Minor features (developer tooling):
  1933. - Remove the 0.2.9.x series branches from git scripts (git-merge-
  1934. forward.sh, git-pull-all.sh, git-push-all.sh, git-setup-dirs.sh).
  1935. Closes ticket 32772.
  1936. o Minor features (developer tools):
  1937. - Add a check_cocci_parse.sh script that checks that new code is
  1938. parseable by Coccinelle. Add an exceptions file for unparseable
  1939. files, and run the script from travis CI. Closes ticket 31919.
  1940. - Call the check_cocci_parse.sh script from a 'check-cocci' Makefile
  1941. target. Closes ticket 31919.
  1942. - Add a rename_c_identifiers.py tool to rename a bunch of C
  1943. identifiers at once, and generate a well-formed commit message
  1944. describing the change. This should help with refactoring. Closes
  1945. ticket 32237.
  1946. - Add some scripts in "scripts/coccinelle" to invoke the Coccinelle
  1947. semantic patching tool with the correct flags. These flags are
  1948. fairly easy to forget, and these scripts should help us use
  1949. Coccinelle more effectively in the future. Closes ticket 31705.
  1950. o Minor features (Doxygen):
  1951. - Update Doxygen configuration file to a more recent template (from
  1952. 1.8.15). Closes ticket 32110.
  1953. - "make doxygen" now works with out-of-tree builds. Closes
  1954. ticket 32113.
  1955. - Make sure that doxygen outputs documentation for all of our C
  1956. files. Previously, some were missing @file declarations, causing
  1957. them to be ignored. Closes ticket 32307.
  1958. - Our "make doxygen" target now respects --enable-fatal-warnings by
  1959. default, and does not warn about items that are missing
  1960. documentation. To warn about missing documentation, run configure
  1961. with the "--enable-missing-doc-warnings" flag: doing so suspends
  1962. fatal warnings for doxygen. Closes ticket 32385.
  1963. o Minor features (git scripts):
  1964. - Add TOR_EXTRA_CLONE_ARGS to git-setup-dirs.sh for git clone
  1965. customisation. Closes ticket 32347.
  1966. - Add git-setup-dirs.sh, which sets up an upstream git repository
  1967. and worktrees for tor maintainers. Closes ticket 29603.
  1968. - Add TOR_EXTRA_REMOTE_* to git-setup-dirs.sh for a custom extra
  1969. remote. Closes ticket 32347.
  1970. - Call the check_cocci_parse.sh script from the git commit and push
  1971. hooks. Closes ticket 31919.
  1972. - Make git-push-all.sh skip unchanged branches when pushing to
  1973. upstream. The script already skipped unchanged test branches.
  1974. Closes ticket 32216.
  1975. - Make git-setup-dirs.sh create a master symlink in the worktree
  1976. directory. Closes ticket 32347.
  1977. - Skip unmodified source files when doing some existing git hook
  1978. checks. Related to ticket 31919.
  1979. o Minor features (IPv6, client):
  1980. - Make Tor clients tell dual-stack exits that they prefer IPv6
  1981. connections. This change is equivalent to setting the PreferIPv6
  1982. flag on SOCKSPorts (and most other listener ports). Tor Browser
  1983. has been setting this flag for some time, and we want to remove a
  1984. client distinguisher at exits. Closes ticket 32637.
  1985. o Minor features (portability, android):
  1986. - When building for Android, disable some tests that depend on $HOME
  1987. and/or pwdb, which Android doesn't have. Closes ticket 32825.
  1988. Patch from Hans-Christoph Steiner.
  1989. o Minor features (relay modularity):
  1990. - Split the relay and server pluggable transport config code into
  1991. separate files in the relay module. Disable this code when the
  1992. relay module is disabled. Closes part of ticket 32213.
  1993. - When the relay module is disabled, reject attempts to set the
  1994. ORPort, DirPort, DirCache, BridgeRelay, ExtORPort, or
  1995. ServerTransport* options, rather than ignoring the values of these
  1996. options. Closes part of ticket 32213.
  1997. o Minor features (relay):
  1998. - When the relay module is disabled, change the default config so
  1999. that DirCache is 0, and ClientOnly is 1. Closes ticket 32410.
  2000. o Minor features (release tools):
  2001. - Port our ChangeLog formatting and sorting tools to Python 3.
  2002. Closes ticket 32704.
  2003. o Minor features (testing):
  2004. - Detect some common failure cases for test_parseconf.sh in
  2005. src/test/conf_failures. Closes ticket 32451.
  2006. - Allow test_parseconf.sh to test expected log outputs for successful
  2007. configs, as well as failed configs. Closes ticket 32451.
  2008. - The test_parseconf.sh script now supports result variants for any
  2009. combination of the optional libraries lzma, nss, and zstd. Closes
  2010. ticket 32397.
  2011. o Minor features (tests, Android):
  2012. - When running the unit tests on Android, create temporary files in
  2013. a subdirectory of /data/local/tmp. Closes ticket 32172. Based on a
  2014. patch from Hans-Christoph Steiner.
  2015. o Minor bugfixes (bridges):
  2016. - Lowercase the configured value of BridgeDistribution before adding
  2017. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  2018. o Minor bugfixes (build system):
  2019. - Fix "make autostyle" for out-of-tree builds. Fixes bug 32370;
  2020. bugfix on 0.4.1.2-alpha.
  2021. o Minor bugfixes (configuration handling):
  2022. - Make control_event_conf_changed() take in a config_line_t instead
  2023. of a smartlist of alternating key/value entries. Fixes bug 31531;
  2024. bugfix on 0.2.3.3-alpha. Patch by Neel Chauhan.
  2025. o Minor bugfixes (configuration):
  2026. - Check for multiplication overflow when parsing memory units inside
  2027. configuration. Fixes bug 30920; bugfix on 0.0.9rc1.
  2028. - When dumping the configuration, stop adding a trailing space after
  2029. the option name when there is no option value. This issue only
  2030. affects options that accept an empty value or list. (Most options
  2031. reject empty values, or delete the entire line from the dumped
  2032. options.) Fixes bug 32352; bugfix on 0.0.9pre6.
  2033. - Avoid changing the user's value of HardwareAccel as stored by
  2034. SAVECONF, when AccelName is set but HardwareAccel is not. Fixes
  2035. bug 32382; bugfix on 0.2.2.1-alpha.
  2036. - When creating a KeyDirectory with the same location as the
  2037. DataDirectory (not recommended), respect the DataDirectory's
  2038. group-readable setting if one has not been set for the
  2039. KeyDirectory. Fixes bug 27992; bugfix on 0.3.3.1-alpha.
  2040. o Minor bugfixes (controller):
  2041. - In routerstatus_has_changed(), check all the fields that are
  2042. output over the control port. Fixes bug 20218; bugfix
  2043. on 0.1.1.11-alpha
  2044. o Minor bugfixes (correctness checks):
  2045. - Use GCC/Clang's printf-checking feature to make sure that
  2046. tor_assertf() arguments are correctly typed. Fixes bug 32765;
  2047. bugfix on 0.4.1.1-alpha.
  2048. o Minor bugfixes (developer tools):
  2049. - Allow paths starting with ./ in scripts/add_c_file.py. Fixes bug
  2050. 31336; bugfix on 0.4.1.2-alpha.
  2051. o Minor bugfixes (dirauth module):
  2052. - Split the dirauth config code into a separate file in the dirauth
  2053. module. Disable this code when the dirauth module is disabled.
  2054. Closes ticket 32213.
  2055. - When the dirauth module is disabled, reject attempts to set the
  2056. AuthoritativeDir option, rather than ignoring the value of the
  2057. option. Fixes bug 32213; bugfix on 0.3.4.1-alpha.
  2058. o Minor bugfixes (embedded Tor):
  2059. - When starting Tor any time after the first time in a process,
  2060. register the thread in which it is running as the main thread.
  2061. Previously, we only did this on Windows, which could lead to bugs
  2062. like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
  2063. on 0.3.3.1-alpha.
  2064. o Minor bugfixes (git scripts):
  2065. - Avoid sleeping before the last push in git-push-all.sh. Closes
  2066. ticket 32216.
  2067. - Forward all unrecognised arguments in git-push-all.sh to git push.
  2068. Closes ticket 32216.
  2069. o Minor bugfixes (hidden service v3):
  2070. - Do not rely on a "circuit established" flag for intro circuits but
  2071. instead always query the HS circuit map. This is to avoid sync
  2072. issue with that flag and the map. Fixes bug 32094; bugfix
  2073. on 0.3.2.1-alpha.
  2074. o Minor bugfixes (logging, crash):
  2075. - Avoid a possible crash when trying to log a (fatal) assertion
  2076. failure about mismatched magic numbers in configuration objects.
  2077. Fixes bug 32771; bugfix on 0.4.2.1-alpha.
  2078. o Minor bugfixes (onion service v2):
  2079. - When sending the INTRO cell for a v2 Onion Service, look at the
  2080. failure cache alongside timeout values to check if the intro point
  2081. is marked as failed. Previously, we only looked at the relay
  2082. timeout values. Fixes bug 25568; bugfix on 0.2.7.3-rc. Patch by
  2083. Neel Chauhan.
  2084. o Minor bugfixes (onion services v3, client):
  2085. - Properly handle the client rendezvous circuit timeout. Previously
  2086. Tor would sometimes timeout a rendezvous circuit awaiting the
  2087. introduction ACK, and find itself unable to re-establish all
  2088. circuits because the rendezvous circuit timed out too early. Fixes
  2089. bug 32021; bugfix on 0.3.2.1-alpha.
  2090. o Minor bugfixes (onion services):
  2091. - In cancel_descriptor_fetches(), use
  2092. connection_list_by_type_purpose() instead of
  2093. connection_list_by_type_state(). Fixes bug 32639; bugfix on
  2094. 0.3.2.1-alpha. Patch by Neel Chauhan.
  2095. o Minor bugfixes (scripts):
  2096. - Fix update_versions.py for out-of-tree builds. Fixes bug 32371;
  2097. bugfix on 0.4.0.1-alpha.
  2098. o Minor bugfixes (test):
  2099. - Use the same code to find the tor binary in all of our test
  2100. scripts. This change makes sure we are always using the coverage
  2101. binary when coverage is enabled. Fixes bug 32368; bugfix
  2102. on 0.2.7.3-rc.
  2103. o Minor bugfixes (testing):
  2104. - Stop ignoring "tor --dump-config" errors in test_parseconf.sh.
  2105. Fixes bug 32468; bugfix on 0.4.2.1-alpha.
  2106. - When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
  2107. test_practracker.sh script. Doing so caused a test failure. Fixes
  2108. bug 32705; bugfix on 0.4.2.1-alpha.
  2109. - When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr when
  2110. skipping practracker checks. Fixes bug 32705; bugfix
  2111. on 0.4.2.1-alpha.
  2112. o Minor bugfixes (tests):
  2113. - Our option-validation tests no longer depend on specially
  2114. configured non-default, non-passing sets of options. Previously,
  2115. the tests had been written to assume that options would _not_ be
  2116. set to their defaults, which led to needless complexity and
  2117. verbosity. Fixes bug 32175; bugfix on 0.2.8.1-alpha.
  2118. o Minor bugfixes (windows service):
  2119. - Initialize the publish/subscribe system when running as a windows
  2120. service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
  2121. o Deprecated features:
  2122. - Deprecate the ClientAutoIPv6ORPort option. This option was not
  2123. true "Happy Eyeballs", and often failed on connections that
  2124. weren't reliably dual-stack. Closes ticket 32942. Patch by
  2125. Neel Chauhan.
  2126. o Documentation:
  2127. - Provide a quickstart guide for a Circuit Padding Framework, and
  2128. documentation for researchers to implement and study circuit
  2129. padding machines. Closes ticket 28804.
  2130. - Add documentation in 'HelpfulTools.md' to describe how to build a
  2131. tag file. Closes ticket 32779.
  2132. - Create a high-level description of the long-term software
  2133. architecture goals. Closes ticket 32206.
  2134. - Describe the --dump-config command in the manual page. Closes
  2135. ticket 32467.
  2136. - Unite coding advice from this_not_that.md in torguts repo into our
  2137. coding standards document. Resolves ticket 31853.
  2138. o Removed features:
  2139. - Our Doxygen configuration no longer generates LaTeX output. The
  2140. reference manual produced by doing this was over 4000 pages long,
  2141. and generally unusable. Closes ticket 32099.
  2142. - The option "TestingEstimatedDescriptorPropagationTime" is now
  2143. marked as obsolete. It has had no effect since 0.3.0.7, when
  2144. clients stopped rejecting consensuses "from the future". Closes
  2145. ticket 32807.
  2146. - We no longer support consensus methods before method 28; these
  2147. methods were only used by authorities running versions of Tor that
  2148. are now at end-of-life. In effect, this means that clients,
  2149. relays, and authorities now assume that authorities will be
  2150. running version 0.3.5.x or later. Closes ticket 32695.
  2151. o Testing:
  2152. - Add more test cases for tor's UTF-8 validation function. Also,
  2153. check the arguments passed to the function for consistency. Closes
  2154. ticket 32845.
  2155. - Improve test coverage for relay and dirauth config code, focusing
  2156. on option validation and normalization. Closes ticket 32213.
  2157. - Improve the consistency of test_parseconf.sh output, and run all
  2158. the tests, even if one fails. Closes ticket 32213.
  2159. - Re-enable the Travis CI macOS Chutney build, but don't let it
  2160. prevent the Travis job from finishing. (The Travis macOS jobs are
  2161. slow, so we don't want to have it delay the whole CI process.)
  2162. Closes ticket 32629.
  2163. - Run the practracker unit tests in the pre-commit git hook. Closes
  2164. ticket 32609.
  2165. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  2166. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  2167. fix the sandbox errors in 32722. Closes ticket 32240.
  2168. o Code simplification and refactoring (channel):
  2169. - Channel layer had a variable length cell handler that was not used
  2170. and thus removed. Closes ticket 32892.
  2171. o Code simplification and refactoring (configuration):
  2172. - Immutability is now implemented as a flag on individual
  2173. configuration options rather than as part of the option-transition
  2174. checking code. Closes ticket 32344.
  2175. - Instead of keeping a list of configuration options to check for
  2176. relative paths, check all the options whose type is "FILENAME".
  2177. Solves part of ticket 32339.
  2178. - Our default log (which ordinarily sends NOTICE-level messages to
  2179. standard output) is now handled in a more logical manner.
  2180. Previously, we replaced the configured log options if they were
  2181. empty. Now, we interpret an empty set of log options as meaning
  2182. "use the default log". Closes ticket 31999.
  2183. - Remove some unused arguments from the options_validate() function,
  2184. to simplify our code and tests. Closes ticket 32187.
  2185. - Simplify the options_validate() code so that it looks at the
  2186. default options directly, rather than taking default options as an
  2187. argument. This change lets us simplify its interface. Closes
  2188. ticket 32185.
  2189. - Use our new configuration architecture to move most authority-
  2190. related options to the directory authority module. Closes
  2191. ticket 32806.
  2192. - When parsing the command line, handle options that determine our
  2193. "quiet level" and our mode of operation (e.g., --dump-config and
  2194. so on) all in one table. Closes ticket 32003.
  2195. o Code simplification and refactoring (controller):
  2196. - Create a new abstraction for formatting control protocol reply
  2197. lines based on key-value pairs. Refactor some existing control
  2198. protocol code to take advantage of this. Closes ticket 30984.
  2199. - Create a helper function that can fetch network status or
  2200. microdesc consensuses. Closes ticket 31684.
  2201. o Code simplification and refactoring (dirauth modularization):
  2202. - Remove the last remaining HAVE_MODULE_DIRAUTH inside a function.
  2203. Closes ticket 32163.
  2204. - Replace some confusing identifiers in process_descs.c. Closes
  2205. ticket 29826.
  2206. - Simplify some relay and dirauth config code. Closes ticket 32213.
  2207. o Code simplification and refactoring (misc):
  2208. - Make all the structs we declare follow the same naming convention
  2209. of ending with "_t". Closes ticket 32415.
  2210. - Move and rename some configuration-related code for clarity.
  2211. Closes ticket 32304.
  2212. - Our include.am files are now broken up by subdirectory.
  2213. Previously, src/core/include.am covered all of the subdirectories
  2214. in "core", "feature", and "app". Closes ticket 32137.
  2215. - Remove underused NS*() macros from test code: they make our tests
  2216. more confusing, especially for code-formatting tools. Closes
  2217. ticket 32887.
  2218. o Code simplification and refactoring (relay modularization):
  2219. - Disable relay_periodic when the relay module is disabled. Closes
  2220. ticket 32244.
  2221. - Disable relay_sys when the relay module is disabled. Closes
  2222. ticket 32245.
  2223. o Code simplification and refactoring (tool support):
  2224. - Add numerous missing dependencies to our include files, so that
  2225. they can be included in different reasonable orders and still
  2226. compile. Addresses part of ticket 32764.
  2227. - Fix some parts of our code that were difficult for Coccinelle to
  2228. parse. Related to ticket 31705.
  2229. - Fix some small issues in our code that prevented automatic
  2230. formatting tools from working. Addresses part of ticket 32764.
  2231. o Documentation (manpage):
  2232. - Alphabetize the Client Options section of the tor manpage. Closes
  2233. ticket 32846.
  2234. - Alphabetize the General Options section of the tor manpage. Closes
  2235. ticket 32708.
  2236. - In the tor(1) manpage, reword and improve formatting of the
  2237. COMMAND-LINE OPTIONS and DESCRIPTION sections. Closes ticket
  2238. 32277. Based on work by Swati Thacker as part of Google Season
  2239. of Docs.
  2240. - In the tor(1) manpage, reword and improve formatting of the FILES,
  2241. SEE ALSO, and BUGS sections. Closes ticket 32176. Based on work by
  2242. Swati Thacker as part of Google Season of Docs.
  2243. o Testing (circuit, EWMA):
  2244. - Add unit tests for circuitmux and EWMA subsystems. Closes
  2245. ticket 32196.
  2246. o Testing (continuous integration):
  2247. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  2248. Changes in version 0.4.2.5 - 2019-12-09
  2249. This is the first stable release in the 0.4.2.x series. This series
  2250. improves reliability and stability, and includes several stability and
  2251. correctness improvements for onion services. It also fixes many smaller
  2252. bugs present in previous series.
  2253. Per our support policy, we will support the 0.4.2.x series for nine
  2254. months, or until three months after the release of a stable 0.4.3.x:
  2255. whichever is longer. If you need longer-term support, please stick
  2256. with 0.3.5.x, which will we plan to support until Feb 2022.
  2257. Per our support policy, we will support the 0.4.2.x series for nine
  2258. months, or until three months after the release of a stable 0.4.3.x:
  2259. whichever is longer. If you need longer-term support, please stick
  2260. with 0.3.5.x, which will we plan to support until Feb 2022.
  2261. Below are the changes since 0.4.1.4-rc. For a complete list of changes
  2262. since 0.4.1.5, see the ReleaseNotes file.
  2263. o Minor features (geoip):
  2264. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  2265. Country database. Closes ticket 32685.
  2266. o Testing:
  2267. - Require C99 standards-conforming code in Travis CI, but allow GNU
  2268. gcc extensions. Also activates clang's -Wtypedef-redefinition
  2269. warnings. Build some jobs with -std=gnu99, and some jobs without.
  2270. Closes ticket 32500.
  2271. Changes in version 0.4.1.7 - 2019-12-09
  2272. This release backports several bugfixes to improve stability and
  2273. correctness. Anyone experiencing build problems or crashes with 0.4.1.6,
  2274. including all relays relying on AccountingMax, should upgrade.
  2275. o Major features (directory authorities, backport from 0.4.2.2-alpha):
  2276. - Directory authorities now reject relays running all currently
  2277. deprecated release series. The currently supported release series
  2278. are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
  2279. o Major bugfixes (embedded Tor, backport from 0.4.2.2-alpha):
  2280. - Avoid a possible crash when restarting Tor in embedded mode and
  2281. enabling a different set of publish/subscribe messages. Fixes bug
  2282. 31898; bugfix on 0.4.1.1-alpha.
  2283. o Major bugfixes (relay, backport from 0.4.2.3-alpha):
  2284. - Relays now respect their AccountingMax bandwidth again. When
  2285. relays entered "soft" hibernation (which typically starts when
  2286. we've hit 90% of our AccountingMax), we had stopped checking
  2287. whether we should enter hard hibernation. Soft hibernation refuses
  2288. new connections and new circuits, but the existing circuits can
  2289. continue, meaning that relays could have exceeded their configured
  2290. AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
  2291. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  2292. - Stop ignoring torrc options after an %include directive, when the
  2293. included directory ends with a file that does not contain any
  2294. config options (but does contain comments or whitespace). Fixes
  2295. bug 31408; bugfix on 0.3.1.1-alpha.
  2296. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  2297. - Onion services now always use the exact number of intro points
  2298. configured with the HiddenServiceNumIntroductionPoints option (or
  2299. fewer if nodes are excluded). Before, a service could sometimes
  2300. pick more intro points than configured. Fixes bug 31548; bugfix
  2301. on 0.3.2.1-alpha.
  2302. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  2303. - When building on Appveyor and Travis, pass the "-k" flag to make,
  2304. so that we are informed of all compilation failures, not just the
  2305. first one or two. Closes ticket 31372.
  2306. o Minor features (geoip, backport from 0.4.2.5):
  2307. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  2308. Country database. Closes ticket 32685.
  2309. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  2310. - Avoid spurious errors when Appveyor CI fails before the install step.
  2311. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  2312. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  2313. - Fix a BUG() assertion that occurs within a very small race window
  2314. between when a client intro circuit opens and when its descriptor
  2315. gets cleaned up from the cache. The circuit is now closed early,
  2316. which will trigger a re-fetch of the descriptor and continue the
  2317. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  2318. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  2319. - Avoid trying to read data from closed connections, which can cause
  2320. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  2321. 30344; bugfix on 0.1.1.1-alpha.
  2322. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  2323. - On abort, try harder to flush the output buffers of log messages.
  2324. On some platforms (macOS), log messages could be discarded when
  2325. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  2326. - Report the tor version whenever an assertion fails. Previously, we
  2327. only reported the Tor version on some crashes, and some non-fatal
  2328. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  2329. - When tor aborts due to an error, close log file descriptors before
  2330. aborting. Closing the logs makes some OSes flush log file buffers,
  2331. rather than deleting buffered log lines. Fixes bug 31594; bugfix
  2332. on 0.2.5.2-alpha.
  2333. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  2334. - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
  2335. uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
  2336. - Disable backtrace signal handlers when shutting down tor. Fixes
  2337. bug 31614; bugfix on 0.2.5.2-alpha.
  2338. - Rate-limit our the logging message about the obsolete .exit
  2339. notation. Previously, there was no limit on this warning, which
  2340. could potentially be triggered many times by a hostile website.
  2341. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  2342. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  2343. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  2344. cell on a connection using the obsolete v1 link protocol. Log a
  2345. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  2346. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  2347. - Reset the periodic events' "enabled" flag when Tor is shut down
  2348. cleanly. Previously, this flag was left on, which caused periodic
  2349. events not to be re-enabled when Tor was relaunched in-process
  2350. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  2351. on 0.3.3.1-alpha.
  2352. o Minor bugfixes (multithreading, backport from 0.4.2.2-alpha):
  2353. - Avoid some undefined behaviour when freeing mutexes. Fixes bug
  2354. 31736; bugfix on 0.0.7.
  2355. o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
  2356. - Remove overly strict assertions that triggered when a pluggable
  2357. transport failed to launch. Fixes bug 31091; bugfix
  2358. on 0.4.0.1-alpha.
  2359. - Remove an assertion in the Unix process backend. This assertion
  2360. would trigger when we failed to find the executable for a child
  2361. process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
  2362. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  2363. - Avoid crashing when starting with a corrupt keys directory where
  2364. the old ntor key and the new ntor key are identical. Fixes bug
  2365. 30916; bugfix on 0.2.4.8-alpha.
  2366. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  2367. - When testing port rebinding, don't busy-wait for tor to log.
  2368. Instead, actually sleep for a short time before polling again.
  2369. Also improve the formatting of control commands and log messages.
  2370. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  2371. o Minor bugfixes (tests, SunOS, backport from 0.4.2.2-alpha):
  2372. - Avoid a map_anon_nofork test failure due to a signed/unsigned
  2373. integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
  2374. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  2375. - Log bugs about the TLS read buffer's length only once, rather than
  2376. filling the logs with similar warnings. Fixes bug 31939; bugfix
  2377. on 0.3.0.4-rc.
  2378. o Documentation (backport from 0.4.2.2-alpha):
  2379. - Explain why we can't destroy the backtrace buffer mutex. Explain
  2380. why we don't need to destroy the log mutex. Closes ticket 31736.
  2381. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  2382. - Disable all but one Travis CI macOS build, to mitigate slow
  2383. scheduling of Travis macOS jobs. Closes ticket 32177.
  2384. - Run the chutney IPv6 networks as part of Travis CI. Closes
  2385. ticket 30860.
  2386. - Simplify the Travis CI build matrix, and optimise for build time.
  2387. Closes ticket 31859.
  2388. - Use Windows Server 2019 instead of Windows Server 2016 in our
  2389. Appveyor builds. Closes ticket 32086.
  2390. o Testing (continuous integration, backport from 0.4.2.4-rc):
  2391. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  2392. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  2393. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  2394. until we can fix some Bionic permissions issues (see ticket
  2395. 32240). Related to ticket 31919.
  2396. - Install the mingw OpenSSL package in Appveyor. This makes sure
  2397. that the OpenSSL headers and libraries match in Tor's Appveyor
  2398. builds. (This bug was triggered by an Appveyor image update.)
  2399. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  2400. o Testing (continuous integration, backport from 0.4.2.5):
  2401. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  2402. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  2403. Build some jobs with -std=gnu99, and some jobs without.
  2404. Closes ticket 32500.
  2405. Changes in version 0.4.0.6 - 2019-12-09
  2406. This is the second stable release in the 0.4.0.x series. This release
  2407. backports several bugfixes to improve stability and correctness. Anyone
  2408. experiencing build problems or crashes with 0.4.0.5, including all relays
  2409. relying on AccountingMax, should upgrade.
  2410. Note that, per our support policy, support for the 0.4.0.x series will end
  2411. on 2 Feb 2020. Anyone still running 0.4.0.x should plan to upgrade to the
  2412. latest stable release, or downgrade to 0.3.5.x, which will get long-term
  2413. support until 1 Feb 2022.
  2414. o Directory authority changes (backport from 0.4.1.5):
  2415. - The directory authority "dizum" has a new IP address. Closes
  2416. ticket 31406.
  2417. o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
  2418. - Consider our directory information to have changed when our list
  2419. of bridges changes. Previously, Tor would not re-compute the
  2420. status of its directory information when bridges changed, and
  2421. therefore would not realize that it was no longer able to build
  2422. circuits. Fixes part of bug 29875.
  2423. - Do not count previously configured working bridges towards our
  2424. total of working bridges. Previously, when Tor's list of bridges
  2425. changed, it would think that the old bridges were still usable,
  2426. and delay fetching router descriptors for the new ones. Fixes part
  2427. of bug 29875; bugfix on 0.3.0.1-alpha.
  2428. o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
  2429. - When considering upgrading circuits from "waiting for guard" to
  2430. "open", always ignore circuits that are marked for close. Otherwise,
  2431. we can end up in the situation where a subsystem is notified that
  2432. a closing circuit has just opened, leading to undesirable
  2433. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  2434. o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
  2435. - Properly clean up the introduction point map when circuits change
  2436. purpose from onion service circuits to pathbias, measurement, or
  2437. other circuit types. This should fix some service-side instances
  2438. of introduction point failure. Fixes bug 29034; bugfix
  2439. on 0.3.2.1-alpha.
  2440. o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
  2441. - Fix an unreachable bug in which an introduction point could try to
  2442. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  2443. to encode, leading the relay to assert(). We've consolidated the
  2444. ABI values into Trunnel now. Fixes bug 30454; bugfix
  2445. on 0.3.0.1-alpha.
  2446. - Clients can now handle unknown status codes from INTRODUCE_ACK
  2447. cells. (The NACK behavior will stay the same.) This will allow us
  2448. to extend status codes in the future without breaking the normal
  2449. client behavior. Fixes another part of bug 30454; bugfix
  2450. on 0.3.0.1-alpha.
  2451. o Major bugfixes (relay, backport from 0.4.2.3-alpha):
  2452. - Relays now respect their AccountingMax bandwidth again. When
  2453. relays entered "soft" hibernation (which typically starts when
  2454. we've hit 90% of our AccountingMax), we had stopped checking
  2455. whether we should enter hard hibernation. Soft hibernation refuses
  2456. new connections and new circuits, but the existing circuits can
  2457. continue, meaning that relays could have exceeded their configured
  2458. AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
  2459. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  2460. - Stop ignoring torrc options after an %include directive, when the
  2461. included directory ends with a file that does not contain any
  2462. config options (but does contain comments or whitespace). Fixes
  2463. bug 31408; bugfix on 0.3.1.1-alpha.
  2464. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  2465. - Onion services now always use the exact number of intro points
  2466. configured with the HiddenServiceNumIntroductionPoints option (or
  2467. fewer if nodes are excluded). Before, a service could sometimes
  2468. pick more intro points than configured. Fixes bug 31548; bugfix
  2469. on 0.3.2.1-alpha.
  2470. o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
  2471. - Add a "--list-modules" command to print a list of which compile-
  2472. time modules are enabled. Closes ticket 30452.
  2473. o Minor features (continuous integration, backport from 0.4.1.1-alpha):
  2474. - Remove sudo configuration lines from .travis.yml as they are no
  2475. longer needed with current Travis build environment. Resolves
  2476. issue 30213.
  2477. o Minor features (continuous integration, backport from 0.4.1.4-rc):
  2478. - Our Travis configuration now uses Chutney to run some network
  2479. integration tests automatically. Closes ticket 29280.
  2480. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  2481. - When building on Appveyor and Travis, pass the "-k" flag to make,
  2482. so that we are informed of all compilation failures, not just the
  2483. first one or two. Closes ticket 31372.
  2484. o Minor features (fallback directory list, backport from 0.4.1.4-rc):
  2485. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  2486. in December 2018 (of which ~122 were still functional), with a
  2487. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  2488. in June 2019. Closes ticket 28795.
  2489. o Minor features (geoip, backport from 0.4.2.5):
  2490. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  2491. Country database. Closes ticket 32685.
  2492. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  2493. - Change "make test-stem" so it only runs the stem tests that use
  2494. tor. This change makes test-stem faster and more reliable. Closes
  2495. ticket 31554.
  2496. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  2497. - Avoid spurious errors when Appveyor CI fails before the install step.
  2498. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  2499. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  2500. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  2501. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  2502. o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
  2503. - Fix a logic error that prevented the SessionGroup sub-option from
  2504. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  2505. o Minor bugfixes (circuit padding, backport from 0.4.1.4-rc):
  2506. - On relays, properly check that a padding machine is absent before
  2507. logging a warning about it being absent. Fixes bug 30649; bugfix
  2508. on 0.4.0.1-alpha.
  2509. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  2510. - Fix a BUG() assertion that occurs within a very small race window
  2511. between when a client intro circuit opens and when its descriptor
  2512. gets cleaned up from the cache. The circuit is now closed early,
  2513. which will trigger a re-fetch of the descriptor and continue the
  2514. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  2515. o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
  2516. - Don't believe clock skew results from NETINFO cells that appear to
  2517. arrive before we sent the VERSIONS cells they are responding to.
  2518. Previously, we would accept them up to 3 minutes "in the past".
  2519. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  2520. o Minor bugfixes (compilation warning, backport from 0.4.1.5):
  2521. - Fix a compilation warning on Windows about casting a function
  2522. pointer for GetTickCount64(). Fixes bug 31374; bugfix
  2523. on 0.2.9.1-alpha.
  2524. o Minor bugfixes (compilation, backport from 0.4.1.5):
  2525. - Avoid using labs() on time_t, which can cause compilation warnings
  2526. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  2527. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  2528. - Suppress spurious float-conversion warnings from GCC when calling
  2529. floating-point classifier functions on FreeBSD. Fixes part of bug
  2530. 31687; bugfix on 0.3.1.5-alpha.
  2531. o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
  2532. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  2533. due to missing declarations of abort(), and prevent other such
  2534. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  2535. o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
  2536. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  2537. want authentication along with configured (but unused!)
  2538. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  2539. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  2540. - Avoid trying to read data from closed connections, which can cause
  2541. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  2542. 30344; bugfix on 0.1.1.1-alpha.
  2543. o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
  2544. - Allow the test-stem job to fail in Travis, because it sometimes
  2545. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  2546. - Skip test_rebind on macOS in Travis, because it is unreliable on
  2547. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  2548. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  2549. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  2550. o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
  2551. - Avoid a set of possible code paths that could try to use freed
  2552. memory in routerlist_free() while Tor was exiting. Fixes bug
  2553. 31003; bugfix on 0.1.2.2-alpha.
  2554. o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
  2555. - Stop crashing after parsing an unknown descriptor purpose
  2556. annotation. We think this bug can only be triggered by modifying a
  2557. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  2558. o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
  2559. - Move the "bandwidth-file-headers" line in directory authority
  2560. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  2561. on 0.3.5.1-alpha.
  2562. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  2563. - On abort, try harder to flush the output buffers of log messages.
  2564. On some platforms (macOS), log messages could be discarded when
  2565. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  2566. - Report the tor version whenever an assertion fails. Previously, we
  2567. only reported the Tor version on some crashes, and some non-fatal
  2568. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  2569. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  2570. - When extracting an IPv6 address from a PF-based proxy, verify that
  2571. we are actually configured to receive an IPv6 address, and log an
  2572. internal error if not. Fixes part of bug 31687; bugfix
  2573. on 0.2.3.4-alpha.
  2574. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  2575. - When tor is missing descriptors for some primary entry guards,
  2576. make the log message less alarming. It's normal for descriptors to
  2577. expire, as long as tor fetches new ones soon after. Fixes bug
  2578. 31657; bugfix on 0.3.3.1-alpha.
  2579. o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
  2580. - Do not log a warning when running with an OpenSSL version other
  2581. than the one Tor was compiled with, if the two versions should be
  2582. compatible. Previously, we would warn whenever the version was
  2583. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  2584. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  2585. - Change log level of message "Hash of session info was not as
  2586. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  2587. on 0.1.1.10-alpha.
  2588. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  2589. - Rate-limit our the logging message about the obsolete .exit
  2590. notation. Previously, there was no limit on this warning, which
  2591. could potentially be triggered many times by a hostile website.
  2592. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  2593. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  2594. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  2595. cell on a connection using the obsolete v1 link protocol. Log a
  2596. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  2597. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  2598. - Reset the periodic events' "enabled" flag when Tor is shut down
  2599. cleanly. Previously, this flag was left on, which caused periodic
  2600. events not to be re-enabled when Tor was relaunched in-process
  2601. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  2602. on 0.3.3.1-alpha.
  2603. o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
  2604. - Avoid a minor memory leak that could occur on relays when failing
  2605. to create a "keys" directory. Fixes bug 30148; bugfix
  2606. on 0.3.3.1-alpha.
  2607. o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
  2608. - Fix a trivial memory leak when parsing an invalid value
  2609. from a download schedule in the configuration. Fixes bug
  2610. 30894; bugfix on 0.3.4.1-alpha.
  2611. o Minor bugfixes (NetBSD, backport from 0.4.1.2-alpha):
  2612. - Fix usage of minherit() on NetBSD and other platforms that define
  2613. MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
  2614. 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
  2615. o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
  2616. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  2617. implemenation) when failing to load an onion service client
  2618. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  2619. o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
  2620. - When purging the DNS cache because of an out-of-memory condition,
  2621. try purging just the older entries at first. Previously, we would
  2622. always purge the whole thing. Fixes bug 29617; bugfix
  2623. on 0.3.5.1-alpha.
  2624. o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
  2625. - Avoid crashing in our tor_vasprintf() implementation on systems
  2626. that define neither vasprintf() nor _vscprintf(). (This bug has
  2627. been here long enough that we question whether people are running
  2628. Tor on such systems, but we're applying the fix out of caution.)
  2629. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  2630. Tobias Stoeckmann.
  2631. o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
  2632. - Remove overly strict assertions that triggered when a pluggable
  2633. transport failed to launch. Fixes bug 31091; bugfix
  2634. on 0.4.0.1-alpha.
  2635. - Remove an assertion in the Unix process backend. This assertion
  2636. would trigger when we failed to find the executable for a child
  2637. process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
  2638. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  2639. - Avoid crashing when starting with a corrupt keys directory where
  2640. the old ntor key and the new ntor key are identical. Fixes bug
  2641. 30916; bugfix on 0.2.4.8-alpha.
  2642. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  2643. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  2644. 31463; bugfix on 0.3.5.4-alpha.
  2645. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  2646. - When testing port rebinding, don't busy-wait for tor to log.
  2647. Instead, actually sleep for a short time before polling again.
  2648. Also improve the formatting of control commands and log messages.
  2649. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  2650. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  2651. - Log bugs about the TLS read buffer's length only once, rather than
  2652. filling the logs with similar warnings. Fixes bug 31939; bugfix
  2653. on 0.3.0.4-rc.
  2654. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  2655. - Always retry v2 single onion service intro and rend circuits with
  2656. a 3-hop path. Previously, v2 single onion services used a 3-hop
  2657. path when rendezvous circuits were retried after a remote or
  2658. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  2659. 23818; bugfix on 0.2.9.3-alpha.
  2660. - Make v3 single onion services fall back to a 3-hop intro, when all
  2661. intro points are unreachable via a 1-hop path. Previously, v3
  2662. single onion services failed when all intro nodes were unreachable
  2663. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  2664. o Documentation (backport from 0.4.2.1-alpha):
  2665. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  2666. notice.html so that operators no longer have to host it
  2667. themselves. Closes ticket 31089.
  2668. o Testing (backport from 0.4.1.2-alpha):
  2669. - Specify torrc paths (with empty files) when launching tor in
  2670. integration tests; refrain from reading user and system torrcs.
  2671. Resolves issue 29702.
  2672. o Testing (continuous integration, backport from 0.4.1.1-alpha):
  2673. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  2674. o Testing (continuous integration, backport from 0.4.1.5):
  2675. - In Travis, make stem log a controller trace to the console, and
  2676. tail stem's tor log after failure. Closes ticket 30591.
  2677. - In Travis, only run the stem tests that use a tor binary. Closes
  2678. ticket 30694.
  2679. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  2680. - Disable all but one Travis CI macOS build, to mitigate slow
  2681. scheduling of Travis macOS jobs. Closes ticket 32177.
  2682. - Run the chutney IPv6 networks as part of Travis CI. Closes
  2683. ticket 30860.
  2684. - Simplify the Travis CI build matrix, and optimise for build time.
  2685. Closes ticket 31859.
  2686. - Use Windows Server 2019 instead of Windows Server 2016 in our
  2687. Appveyor builds. Closes ticket 32086.
  2688. o Testing (continuous integration, backport from 0.4.2.4-rc):
  2689. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  2690. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  2691. until we can fix some Bionic permissions issues (see ticket
  2692. 32240). Related to ticket 31919.
  2693. - Install the mingw OpenSSL package in Appveyor. This makes sure
  2694. that the OpenSSL headers and libraries match in Tor's Appveyor
  2695. builds. (This bug was triggered by an Appveyor image update.)
  2696. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  2697. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  2698. o Testing (continuous integration, backport from 0.4.2.5):
  2699. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  2700. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  2701. Build some jobs with -std=gnu99, and some jobs without.
  2702. Closes ticket 32500.
  2703. Changes in version 0.3.5.9 - 2019-12-09
  2704. Tor 0.3.5.9 backports serveral fixes from later releases, including
  2705. several that affect bridge users, relay stability, onion services,
  2706. and much more.
  2707. o Directory authority changes (backport from 0.4.1.5):
  2708. - The directory authority "dizum" has a new IP address. Closes
  2709. ticket 31406.
  2710. o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
  2711. - Consider our directory information to have changed when our list
  2712. of bridges changes. Previously, Tor would not re-compute the
  2713. status of its directory information when bridges changed, and
  2714. therefore would not realize that it was no longer able to build
  2715. circuits. Fixes part of bug 29875.
  2716. - Do not count previously configured working bridges towards our
  2717. total of working bridges. Previously, when Tor's list of bridges
  2718. changed, it would think that the old bridges were still usable,
  2719. and delay fetching router descriptors for the new ones. Fixes part
  2720. of bug 29875; bugfix on 0.3.0.1-alpha.
  2721. o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
  2722. - When considering upgrading circuits from "waiting for guard" to
  2723. "open", always ignore circuits that are marked for close. Otherwise,
  2724. we can end up in the situation where a subsystem is notified that
  2725. a closing circuit has just opened, leading to undesirable
  2726. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  2727. o Major bugfixes (NSS, relay, backport from 0.4.0.4-rc):
  2728. - When running with NSS, disable TLS 1.2 ciphersuites that use
  2729. SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
  2730. these ciphersuites don't work -- which caused relays to fail to
  2731. handshake with one another when these ciphersuites were enabled.
  2732. Fixes bug 29241; bugfix on 0.3.5.1-alpha.
  2733. o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
  2734. - Properly clean up the introduction point map when circuits change
  2735. purpose from onion service circuits to pathbias, measurement, or
  2736. other circuit types. This should fix some service-side instances
  2737. of introduction point failure. Fixes bug 29034; bugfix
  2738. on 0.3.2.1-alpha.
  2739. o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
  2740. - Fix an unreachable bug in which an introduction point could try to
  2741. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  2742. to encode, leading the relay to assert(). We've consolidated the
  2743. ABI values into Trunnel now. Fixes bug 30454; bugfix
  2744. on 0.3.0.1-alpha.
  2745. - Clients can now handle unknown status codes from INTRODUCE_ACK
  2746. cells. (The NACK behavior will stay the same.) This will allow us
  2747. to extend status codes in the future without breaking the normal
  2748. client behavior. Fixes another part of bug 30454; bugfix
  2749. on 0.3.0.1-alpha.
  2750. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  2751. - Stop ignoring torrc options after an %include directive, when the
  2752. included directory ends with a file that does not contain any
  2753. config options (but does contain comments or whitespace). Fixes
  2754. bug 31408; bugfix on 0.3.1.1-alpha.
  2755. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  2756. - Onion services now always use the exact number of intro points
  2757. configured with the HiddenServiceNumIntroductionPoints option (or
  2758. fewer if nodes are excluded). Before, a service could sometimes
  2759. pick more intro points than configured. Fixes bug 31548; bugfix
  2760. on 0.3.2.1-alpha.
  2761. o Minor features (address selection, backport from 0.4.0.3-alpha):
  2762. - Treat the subnet 100.64.0.0/10 as public for some purposes;
  2763. private for others. This subnet is the RFC 6598 (Carrier Grade
  2764. NAT) IP range, and is deployed by many ISPs as an alternative to
  2765. RFC 1918 that does not break existing internal networks. Tor now
  2766. blocks SOCKS and control ports on these addresses and warns users
  2767. if client ports or ExtORPorts are listening on a RFC 6598 address.
  2768. Closes ticket 28525. Patch by Neel Chauhan.
  2769. o Minor features (bandwidth authority, backport from 0.4.0.4-rc):
  2770. - Make bandwidth authorities ignore relays that are reported in the
  2771. bandwidth file with the flag "vote=0". This change allows us to
  2772. report unmeasured relays for diagnostic reasons without including
  2773. their bandwidth in the bandwidth authorities' vote. Closes
  2774. ticket 29806.
  2775. o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
  2776. - Add a "--list-modules" command to print a list of which compile-
  2777. time modules are enabled. Closes ticket 30452.
  2778. o Minor features (continuous integration, backport from 0.4.0.4-rc):
  2779. - On Travis Rust builds, cleanup Rust registry and refrain from
  2780. caching the "target/" directory to speed up builds. Resolves
  2781. issue 29962.
  2782. o Minor features (continuous integration, backport from 0.4.0.5):
  2783. - In Travis, tell timelimit to use stem's backtrace signals, and
  2784. launch python directly from timelimit, so python receives the
  2785. signals from timelimit, rather than make. Closes ticket 30117.
  2786. o Minor features (continuous integration, backport from 0.4.1.1-alpha):
  2787. - Remove sudo configuration lines from .travis.yml as they are no
  2788. longer needed with current Travis build environment. Resolves
  2789. issue 30213.
  2790. o Minor features (continuous integration, backport from 0.4.1.4-rc):
  2791. - Our Travis configuration now uses Chutney to run some network
  2792. integration tests automatically. Closes ticket 29280.
  2793. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  2794. - When building on Appveyor and Travis, pass the "-k" flag to make,
  2795. so that we are informed of all compilation failures, not just the
  2796. first one or two. Closes ticket 31372.
  2797. o Minor features (fallback directory list, backport from 0.4.1.4-rc):
  2798. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  2799. in December 2018 (of which ~122 were still functional), with a
  2800. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  2801. in June 2019. Closes ticket 28795.
  2802. o Minor features (geoip, backport from 0.4.2.5):
  2803. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  2804. Country database. Closes ticket 32685.
  2805. o Minor features (NSS, diagnostic, backport from 0.4.0.4-rc):
  2806. - Try to log an error from NSS (if there is any) and a more useful
  2807. description of our situation if we are using NSS and a call to
  2808. SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
  2809. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  2810. - Change "make test-stem" so it only runs the stem tests that use
  2811. tor. This change makes test-stem faster and more reliable. Closes
  2812. ticket 31554.
  2813. o Minor bugfixes (security, backport from 0.4.0.4-rc):
  2814. - Verify in more places that we are not about to create a buffer
  2815. with more than INT_MAX bytes, to avoid possible OOB access in the
  2816. event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
  2817. fixed by Tobias Stoeckmann.
  2818. - Fix a potential double free bug when reading huge bandwidth files.
  2819. The issue is not exploitable in the current Tor network because
  2820. the vulnerable code is only reached when directory authorities
  2821. read bandwidth files, but bandwidth files come from a trusted
  2822. source (usually the authorities themselves). Furthermore, the
  2823. issue is only exploitable in rare (non-POSIX) 32-bit architectures,
  2824. which are not used by any of the current authorities. Fixes bug
  2825. 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
  2826. Tobias Stoeckmann.
  2827. o Minor bugfix (continuous integration, backport from 0.4.0.4-rc):
  2828. - Reset coverage state on disk after Travis CI has finished. This
  2829. should prevent future coverage merge errors from causing the test
  2830. suite for the "process" subsystem to fail. The process subsystem
  2831. was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
  2832. on 0.2.9.15.
  2833. - Terminate test-stem if it takes more than 9.5 minutes to run.
  2834. (Travis terminates the job after 10 minutes of no output.)
  2835. Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
  2836. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  2837. - Avoid spurious errors when Appveyor CI fails before the install step.
  2838. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  2839. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  2840. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  2841. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  2842. o Minor bugfixes (C correctness, backport from 0.4.0.4-rc):
  2843. - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
  2844. 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
  2845. CID 1444119.
  2846. o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
  2847. - Fix a logic error that prevented the SessionGroup sub-option from
  2848. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  2849. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  2850. - Fix a BUG() assertion that occurs within a very small race window
  2851. between when a client intro circuit opens and when its descriptor
  2852. gets cleaned up from the cache. The circuit is now closed early,
  2853. which will trigger a re-fetch of the descriptor and continue the
  2854. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  2855. o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
  2856. - Don't believe clock skew results from NETINFO cells that appear to
  2857. arrive before we sent the VERSIONS cells they are responding to.
  2858. Previously, we would accept them up to 3 minutes "in the past".
  2859. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  2860. o Minor bugfixes (compilation warning, backport from 0.4.1.5):
  2861. - Fix a compilation warning on Windows about casting a function
  2862. pointer for GetTickCount64(). Fixes bug 31374; bugfix
  2863. on 0.2.9.1-alpha.
  2864. o Minor bugfixes (compilation, backport from 0.4.0.2-alpha):
  2865. - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
  2866. 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
  2867. o Minor bugfixes (compilation, backport from 0.4.1.5):
  2868. - Avoid using labs() on time_t, which can cause compilation warnings
  2869. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  2870. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  2871. - Suppress spurious float-conversion warnings from GCC when calling
  2872. floating-point classifier functions on FreeBSD. Fixes part of bug
  2873. 31687; bugfix on 0.3.1.5-alpha.
  2874. o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
  2875. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  2876. due to missing declarations of abort(), and prevent other such
  2877. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  2878. o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
  2879. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  2880. want authentication along with configured (but unused!)
  2881. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  2882. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  2883. - Avoid trying to read data from closed connections, which can cause
  2884. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  2885. 30344; bugfix on 0.1.1.1-alpha.
  2886. o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
  2887. - Allow the test-stem job to fail in Travis, because it sometimes
  2888. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  2889. - Skip test_rebind on macOS in Travis, because it is unreliable on
  2890. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  2891. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  2892. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  2893. o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
  2894. - Avoid a set of possible code paths that could try to use freed
  2895. memory in routerlist_free() while Tor was exiting. Fixes bug
  2896. 31003; bugfix on 0.1.2.2-alpha.
  2897. o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
  2898. - Stop crashing after parsing an unknown descriptor purpose
  2899. annotation. We think this bug can only be triggered by modifying a
  2900. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  2901. o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
  2902. - Move the "bandwidth-file-headers" line in directory authority
  2903. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  2904. on 0.3.5.1-alpha.
  2905. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  2906. - On abort, try harder to flush the output buffers of log messages.
  2907. On some platforms (macOS), log messages could be discarded when
  2908. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  2909. - Report the tor version whenever an assertion fails. Previously, we
  2910. only reported the Tor version on some crashes, and some non-fatal
  2911. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  2912. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  2913. - When extracting an IPv6 address from a PF-based proxy, verify that
  2914. we are actually configured to receive an IPv6 address, and log an
  2915. internal error if not. Fixes part of bug 31687; bugfix
  2916. on 0.2.3.4-alpha.
  2917. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  2918. - When tor is missing descriptors for some primary entry guards,
  2919. make the log message less alarming. It's normal for descriptors to
  2920. expire, as long as tor fetches new ones soon after. Fixes bug
  2921. 31657; bugfix on 0.3.3.1-alpha.
  2922. o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
  2923. - Avoid logging that we are relaxing a circuit timeout when that
  2924. timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
  2925. o Minor bugfixes (logging, backport from 0.4.0.3-alpha):
  2926. - Correct a misleading error message when IPv4Only or IPv6Only is
  2927. used but the resolved address can not be interpreted as an address
  2928. of the specified IP version. Fixes bug 13221; bugfix on
  2929. 0.2.3.9-alpha. Patch from Kris Katterjohn.
  2930. - Log the correct port number for listening sockets when "auto" is
  2931. used to let Tor pick the port number. Previously, port 0 was
  2932. logged instead of the actual port number. Fixes bug 29144; bugfix
  2933. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  2934. - Stop logging a BUG() warning when Tor is waiting for exit
  2935. descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
  2936. o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
  2937. - Do not log a warning when running with an OpenSSL version other
  2938. than the one Tor was compiled with, if the two versions should be
  2939. compatible. Previously, we would warn whenever the version was
  2940. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  2941. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  2942. - Change log level of message "Hash of session info was not as
  2943. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  2944. on 0.1.1.10-alpha.
  2945. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  2946. - Rate-limit our the logging message about the obsolete .exit
  2947. notation. Previously, there was no limit on this warning, which
  2948. could potentially be triggered many times by a hostile website.
  2949. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  2950. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  2951. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  2952. cell on a connection using the obsolete v1 link protocol. Log a
  2953. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  2954. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  2955. - Reset the periodic events' "enabled" flag when Tor is shut down
  2956. cleanly. Previously, this flag was left on, which caused periodic
  2957. events not to be re-enabled when Tor was relaunched in-process
  2958. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  2959. on 0.3.3.1-alpha.
  2960. o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
  2961. - Avoid a minor memory leak that could occur on relays when failing
  2962. to create a "keys" directory. Fixes bug 30148; bugfix
  2963. on 0.3.3.1-alpha.
  2964. o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
  2965. - Fix a trivial memory leak when parsing an invalid value
  2966. from a download schedule in the configuration. Fixes bug
  2967. 30894; bugfix on 0.3.4.1-alpha.
  2968. o Minor bugfixes (memory management, backport from 0.4.0.3-alpha):
  2969. - Refactor the shared random state's memory management so that it
  2970. actually takes ownership of the shared random value pointers.
  2971. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
  2972. o Minor bugfixes (memory management, testing, backport from 0.4.0.3-alpha):
  2973. - Stop leaking parts of the shared random state in the shared-random
  2974. unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
  2975. o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
  2976. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  2977. implemenation) when failing to load an onion service client
  2978. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  2979. o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
  2980. - When purging the DNS cache because of an out-of-memory condition,
  2981. try purging just the older entries at first. Previously, we would
  2982. always purge the whole thing. Fixes bug 29617; bugfix
  2983. on 0.3.5.1-alpha.
  2984. o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
  2985. - Avoid crashing in our tor_vasprintf() implementation on systems
  2986. that define neither vasprintf() nor _vscprintf(). (This bug has
  2987. been here long enough that we question whether people are running
  2988. Tor on such systems, but we're applying the fix out of caution.)
  2989. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  2990. Tobias Stoeckmann.
  2991. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  2992. - Avoid crashing when starting with a corrupt keys directory where
  2993. the old ntor key and the new ntor key are identical. Fixes bug
  2994. 30916; bugfix on 0.2.4.8-alpha.
  2995. o Minor bugfixes (rust, backport from 0.4.0.5):
  2996. - Abort on panic in all build profiles, instead of potentially
  2997. unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
  2998. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  2999. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  3000. 31463; bugfix on 0.3.5.4-alpha.
  3001. o Minor bugfixes (single onion services, backport from 0.4.0.3-alpha):
  3002. - Allow connections to single onion services to remain idle without
  3003. being disconnected. Previously, relays acting as rendezvous points
  3004. for single onion services were mistakenly closing idle rendezvous
  3005. circuits after 60 seconds, thinking that they were unused
  3006. directory-fetching circuits that had served their purpose. Fixes
  3007. bug 29665; bugfix on 0.2.1.26.
  3008. o Minor bugfixes (stats, backport from 0.4.0.3-alpha):
  3009. - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
  3010. relay and bridge extra-info documents. Fixes bug 29017; bugfix
  3011. on 0.3.1.1-alpha.
  3012. o Minor bugfixes (testing, backport from 0.4.0.3-alpha):
  3013. - Downgrade some LOG_ERR messages in the address/* tests to
  3014. warnings. The LOG_ERR messages were occurring when we had no
  3015. configured network. We were failing the unit tests, because we
  3016. backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
  3017. 29530; bugfix on 0.3.5.8.
  3018. - Fix our gcov wrapper script to look for object files at the
  3019. correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
  3020. o Minor bugfixes (testing, backport from 0.4.0.4-rc):
  3021. - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
  3022. recent test-network.sh to use new chutney features in CI. Fixes
  3023. bug 29703; bugfix on 0.2.9.1-alpha.
  3024. - Fix a test failure on Windows caused by an unexpected "BUG"
  3025. warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
  3026. on 0.2.9.3-alpha.
  3027. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  3028. - When testing port rebinding, don't busy-wait for tor to log.
  3029. Instead, actually sleep for a short time before polling again.
  3030. Also improve the formatting of control commands and log messages.
  3031. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  3032. o Minor bugfixes (TLS protocol, backport form 0.4.0.4-rc):
  3033. - When classifying a client's selection of TLS ciphers, if the
  3034. client ciphers are not yet available, do not cache the result.
  3035. Previously, we had cached the unavailability of the cipher list
  3036. and never looked again, which in turn led us to assume that the
  3037. client only supported the ancient V1 link protocol. This, in turn,
  3038. was causing Stem integration tests to stall in some cases. Fixes
  3039. bug 30021; bugfix on 0.2.4.8-alpha.
  3040. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  3041. - Log bugs about the TLS read buffer's length only once, rather than
  3042. filling the logs with similar warnings. Fixes bug 31939; bugfix
  3043. on 0.3.0.4-rc.
  3044. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  3045. - Always retry v2 single onion service intro and rend circuits with
  3046. a 3-hop path. Previously, v2 single onion services used a 3-hop
  3047. path when rendezvous circuits were retried after a remote or
  3048. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  3049. 23818; bugfix on 0.2.9.3-alpha.
  3050. - Make v3 single onion services fall back to a 3-hop intro, when all
  3051. intro points are unreachable via a 1-hop path. Previously, v3
  3052. single onion services failed when all intro nodes were unreachable
  3053. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  3054. o Minor bugfixes (Windows, CI, backport from 0.4.0.3-alpha):
  3055. - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
  3056. Windows Server 2012 R2 job. The remaining 2 jobs still provide
  3057. coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
  3058. fast_finish, so failed jobs terminate the build immediately. Fixes
  3059. bug 29601; bugfix on 0.3.5.4-alpha.
  3060. o Documentation (backport from 0.4.2.1-alpha):
  3061. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  3062. notice.html so that operators no longer have to host it
  3063. themselves. Closes ticket 31089.
  3064. o Testing (backport from 0.4.1.2-alpha):
  3065. - Specify torrc paths (with empty files) when launching tor in
  3066. integration tests; refrain from reading user and system torrcs.
  3067. Resolves issue 29702.
  3068. o Testing (continuous integration, backport from 0.4.1.1-alpha):
  3069. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  3070. o Testing (continuous integration, backport from 0.4.1.5):
  3071. - In Travis, make stem log a controller trace to the console, and
  3072. tail stem's tor log after failure. Closes ticket 30591.
  3073. - In Travis, only run the stem tests that use a tor binary. Closes
  3074. ticket 30694.
  3075. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  3076. - Disable all but one Travis CI macOS build, to mitigate slow
  3077. scheduling of Travis macOS jobs. Closes ticket 32177.
  3078. - Run the chutney IPv6 networks as part of Travis CI. Closes
  3079. ticket 30860.
  3080. - Simplify the Travis CI build matrix, and optimise for build time.
  3081. Closes ticket 31859.
  3082. - Use Windows Server 2019 instead of Windows Server 2016 in our
  3083. Appveyor builds. Closes ticket 32086.
  3084. o Testing (continuous integration, backport from 0.4.2.4-rc):
  3085. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  3086. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  3087. until we can fix some Bionic permissions issues (see ticket
  3088. 32240). Related to ticket 31919.
  3089. - Install the mingw OpenSSL package in Appveyor. This makes sure
  3090. that the OpenSSL headers and libraries match in Tor's Appveyor
  3091. builds. (This bug was triggered by an Appveyor image update.)
  3092. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  3093. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  3094. o Testing (continuous integration, backport from 0.4.2.5):
  3095. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  3096. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  3097. Build some jobs with -std=gnu99, and some jobs without.
  3098. Closes ticket 32500.
  3099. Changes in version 0.4.2.4-rc - 2019-11-15
  3100. Tor 0.4.2.4-rc is the first release candidate in its series. It fixes
  3101. several bugs from earlier versions, including a few that would result in
  3102. stack traces or incorrect behavior.
  3103. o Minor features (build system):
  3104. - Make pkg-config use --prefix when cross-compiling, if
  3105. PKG_CONFIG_PATH is not set. Closes ticket 32191.
  3106. o Minor features (geoip):
  3107. - Update geoip and geoip6 to the November 6 2019 Maxmind GeoLite2
  3108. Country database. Closes ticket 32440.
  3109. o Minor bugfixes (client, onion service v3):
  3110. - Fix a BUG() assertion that occurs within a very small race window
  3111. between when a client intro circuit opens and when its descriptor
  3112. gets cleaned up from the cache. The circuit is now closed early,
  3113. which will trigger a re-fetch of the descriptor and continue the
  3114. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  3115. o Minor bugfixes (code quality):
  3116. - Fix "make check-includes" so it runs correctly on out-of-tree
  3117. builds. Fixes bug 31335; bugfix on 0.3.5.1-alpha.
  3118. o Minor bugfixes (configuration):
  3119. - Log the option name when skipping an obsolete option. Fixes bug
  3120. 32295; bugfix on 0.4.2.1-alpha.
  3121. o Minor bugfixes (crash):
  3122. - When running Tor with an option like --verify-config or
  3123. --dump-config that does not start the event loop, avoid crashing
  3124. if we try to exit early because of an error. Fixes bug 32407;
  3125. bugfix on 0.3.3.1-alpha.
  3126. o Minor bugfixes (directory):
  3127. - When checking if a directory connection is anonymous, test if the
  3128. circuit was marked for close before looking at its channel. This
  3129. avoids a BUG() stacktrace if the circuit was previously closed.
  3130. Fixes bug 31958; bugfix on 0.4.2.1-alpha.
  3131. o Minor bugfixes (shellcheck):
  3132. - Fix minor shellcheck errors in the git-*.sh scripts. Fixes bug
  3133. 32402; bugfix on 0.4.2.1-alpha.
  3134. - Start checking most scripts for shellcheck errors again. Fixes bug
  3135. 32402; bugfix on 0.4.2.1-alpha.
  3136. o Testing (continuous integration):
  3137. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  3138. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  3139. until we can fix some Bionic permissions issues (see ticket
  3140. 32240). Related to ticket 31919.
  3141. - Install the mingw OpenSSL package in Appveyor. This makes sure
  3142. that the OpenSSL headers and libraries match in Tor's Appveyor
  3143. builds. (This bug was triggered by an Appveyor image update.)
  3144. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  3145. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  3146. Changes in version 0.4.2.3-alpha - 2019-10-24
  3147. This release fixes several bugs from the previous alpha release, and
  3148. from earlier versions of Tor.
  3149. o Major bugfixes (relay):
  3150. - Relays now respect their AccountingMax bandwidth again. When
  3151. relays entered "soft" hibernation (which typically starts when
  3152. we've hit 90% of our AccountingMax), we had stopped checking
  3153. whether we should enter hard hibernation. Soft hibernation refuses
  3154. new connections and new circuits, but the existing circuits can
  3155. continue, meaning that relays could have exceeded their configured
  3156. AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
  3157. o Major bugfixes (v3 onion services):
  3158. - Onion services now always use the exact number of intro points
  3159. configured with the HiddenServiceNumIntroductionPoints option (or
  3160. fewer if nodes are excluded). Before, a service could sometimes
  3161. pick more intro points than configured. Fixes bug 31548; bugfix
  3162. on 0.3.2.1-alpha.
  3163. o Minor feature (onion services, control port):
  3164. - The ADD_ONION command's keyword "BEST" now defaults to ED25519-V3
  3165. (v3) onion services. Previously it defaulted to RSA1024 (v2).
  3166. Closes ticket 29669.
  3167. o Minor features (testing):
  3168. - When running tests that attempt to look up hostnames, replace the
  3169. libc name lookup functions with ones that do not actually touch
  3170. the network. This way, the tests complete more quickly in the
  3171. presence of a slow or missing DNS resolver. Closes ticket 31841.
  3172. o Minor features (testing, continuous integration):
  3173. - Disable all but one Travis CI macOS build, to mitigate slow
  3174. scheduling of Travis macOS jobs. Closes ticket 32177.
  3175. - Run the chutney IPv6 networks as part of Travis CI. Closes
  3176. ticket 30860.
  3177. - Simplify the Travis CI build matrix, and optimise for build time.
  3178. Closes ticket 31859.
  3179. - Use Windows Server 2019 instead of Windows Server 2016 in our
  3180. Appveyor builds. Closes ticket 32086.
  3181. o Minor bugfixes (build system):
  3182. - Interpret "--disable-module-dirauth=no" correctly. Fixes bug
  3183. 32124; bugfix on 0.3.4.1-alpha.
  3184. - Interpret "--with-tcmalloc=no" correctly. Fixes bug 32124; bugfix
  3185. on 0.2.0.20-rc.
  3186. - Stop failing when jemalloc is requested, but tcmalloc is not
  3187. found. Fixes bug 32124; bugfix on 0.3.5.1-alpha.
  3188. - When pkg-config is not installed, or a library that depends on
  3189. pkg-config is not found, tell the user what to do to fix the
  3190. problem. Fixes bug 31922; bugfix on 0.3.1.1-alpha.
  3191. o Minor bugfixes (connections):
  3192. - Avoid trying to read data from closed connections, which can cause
  3193. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  3194. 30344; bugfix on 0.1.1.1-alpha.
  3195. o Minor bugfixes (error handling):
  3196. - Always lock the backtrace buffer before it is used. Fixes bug
  3197. 31734; bugfix on 0.2.5.3-alpha.
  3198. o Minor bugfixes (mainloop, periodic events, in-process API):
  3199. - Reset the periodic events' "enabled" flag when Tor is shut down
  3200. cleanly. Previously, this flag was left on, which caused periodic
  3201. events not to be re-enabled when Tor was relaunched in-process
  3202. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  3203. on 0.3.3.1-alpha.
  3204. o Minor bugfixes (process management):
  3205. - Remove overly strict assertions that triggered when a pluggable
  3206. transport failed to launch. Fixes bug 31091; bugfix
  3207. on 0.4.0.1-alpha.
  3208. - Remove an assertion in the Unix process backend. This assertion
  3209. would trigger when we failed to find the executable for a child
  3210. process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
  3211. o Minor bugfixes (testing):
  3212. - Avoid intermittent test failures due to a test that had relied on
  3213. inconsistent timing sources. Fixes bug 31995; bugfix
  3214. on 0.3.1.3-alpha.
  3215. - When testing port rebinding, don't busy-wait for tor to log.
  3216. Instead, actually sleep for a short time before polling again.
  3217. Also improve the formatting of control commands and log messages.
  3218. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  3219. o Minor bugfixes (tls, logging):
  3220. - Log bugs about the TLS read buffer's length only once, rather than
  3221. filling the logs with similar warnings. Fixes bug 31939; bugfix
  3222. on 0.3.0.4-rc.
  3223. o Minor bugfixes (v3 onion services):
  3224. - Fix an implicit conversion from ssize_t to size_t discovered by
  3225. Coverity. Fixes bug 31682; bugfix on 0.4.2.1-alpha.
  3226. - Fix a memory leak in an unlikely error code path when encoding HS
  3227. DoS establish intro extension cell. Fixes bug 32063; bugfix
  3228. on 0.4.2.1-alpha.
  3229. - When cleaning up intro circuits for a v3 onion service, don't
  3230. remove circuits that have an established or pending circuit, even
  3231. if they ran out of retries. This way, we don't remove a circuit on
  3232. its last retry. Fixes bug 31652; bugfix on 0.3.2.1-alpha.
  3233. o Documentation:
  3234. - Correct the description of "GuardLifetime". Fixes bug 31189;
  3235. bugfix on 0.3.0.1-alpha.
  3236. - Make clear in the man page, in both the bandwidth section and the
  3237. AccountingMax section, that Tor counts in powers of two, not
  3238. powers of ten: 1 GByte is 1024*1024*1024 bytes, not one billion
  3239. bytes. Resolves ticket 32106.
  3240. Changes in version 0.4.2.2-alpha - 2019-10-07
  3241. This release fixes several bugs from the previous alpha release, and
  3242. from earlier versions. It also includes a change in authorities, so
  3243. that they begin to reject the currently unsupported release series.
  3244. o Major features (directory authorities):
  3245. - Directory authorities now reject relays running all currently
  3246. deprecated release series. The currently supported release series
  3247. are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
  3248. o Major bugfixes (embedded Tor):
  3249. - Avoid a possible crash when restarting Tor in embedded mode and
  3250. enabling a different set of publish/subscribe messages. Fixes bug
  3251. 31898; bugfix on 0.4.1.1-alpha.
  3252. o Major bugfixes (torrc parsing):
  3253. - Stop ignoring torrc options after an %include directive, when the
  3254. included directory ends with a file that does not contain any
  3255. config options (but does contain comments or whitespace). Fixes
  3256. bug 31408; bugfix on 0.3.1.1-alpha.
  3257. o Minor features (auto-formatting scripts):
  3258. - When annotating C macros, never generate a line that our check-
  3259. spaces script would reject. Closes ticket 31759.
  3260. - When annotating C macros, try to remove cases of double-negation.
  3261. Closes ticket 31779.
  3262. o Minor features (continuous integration):
  3263. - When building on Appveyor and Travis, pass the "-k" flag to make,
  3264. so that we are informed of all compilation failures, not just the
  3265. first one or two. Closes ticket 31372.
  3266. o Minor features (geoip):
  3267. - Update geoip and geoip6 to the October 1 2019 Maxmind GeoLite2
  3268. Country database. Closes ticket 31931.
  3269. o Minor features (maintenance scripts):
  3270. - Add a Coccinelle script to detect bugs caused by incrementing or
  3271. decrementing a variable inside a call to log_debug(). Since
  3272. log_debug() is a macro whose arguments are conditionally
  3273. evaluated, it is usually an error to do this. One such bug was
  3274. 30628, in which SENDME cells were miscounted by a decrement
  3275. operator inside a log_debug() call. Closes ticket 30743.
  3276. o Minor features (onion services v3):
  3277. - Assist users who try to setup v2 client authorization in v3 onion
  3278. services by pointing them to the right documentation. Closes
  3279. ticket 28966.
  3280. o Minor bugfixes (Appveyor continuous integration):
  3281. - Avoid spurious errors when Appveyor CI fails before the install
  3282. step. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  3283. o Minor bugfixes (best practices tracker):
  3284. - When listing overbroad exceptions, do not also list problems, and
  3285. do not list insufficiently broad exceptions. Fixes bug 31338;
  3286. bugfix on 0.4.2.1-alpha.
  3287. o Minor bugfixes (controller protocol):
  3288. - Fix the MAPADDRESS controller command to accept one or more
  3289. arguments. Previously, it required two or more arguments, and
  3290. ignored the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
  3291. o Minor bugfixes (logging):
  3292. - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
  3293. uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
  3294. - Disable backtrace signal handlers when shutting down tor. Fixes
  3295. bug 31614; bugfix on 0.2.5.2-alpha.
  3296. - Rate-limit our the logging message about the obsolete .exit
  3297. notation. Previously, there was no limit on this warning, which
  3298. could potentially be triggered many times by a hostile website.
  3299. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  3300. - When initialising log domain masks, only set known log domains.
  3301. Fixes bug 31854; bugfix on 0.2.1.1-alpha.
  3302. o Minor bugfixes (logging, protocol violations):
  3303. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  3304. cell on a connection using the obsolete v1 link protocol. Log a
  3305. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  3306. o Minor bugfixes (modules):
  3307. - Explain what the optional Directory Authority module is, and what
  3308. happens when it is disabled. Fixes bug 31825; bugfix
  3309. on 0.3.4.1-alpha.
  3310. o Minor bugfixes (multithreading):
  3311. - Avoid some undefined behaviour when freeing mutexes. Fixes bug
  3312. 31736; bugfix on 0.0.7.
  3313. o Minor bugfixes (relay):
  3314. - Avoid crashing when starting with a corrupt keys directory where
  3315. the old ntor key and the new ntor key are identical. Fixes bug
  3316. 30916; bugfix on 0.2.4.8-alpha.
  3317. o Minor bugfixes (tests, SunOS):
  3318. - Avoid a map_anon_nofork test failure due to a signed/unsigned
  3319. integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
  3320. o Code simplification and refactoring:
  3321. - Refactor connection_control_process_inbuf() to reduce the size of
  3322. a practracker exception. Closes ticket 31840.
  3323. - Refactor the microdescs_parse_from_string() function into smaller
  3324. pieces, for better comprehensibility. Closes ticket 31675.
  3325. - Use SEVERITY_MASK_IDX() to find the LOG_* mask indexes in the unit
  3326. tests and fuzzers, rather than using hard-coded values. Closes
  3327. ticket 31334.
  3328. - Interface for function `decrypt_desc_layer` cleaned up. Closes
  3329. ticket 31589.
  3330. o Documentation:
  3331. - Document the signal-safe logging behaviour in the tor man page.
  3332. Also add some comments to the relevant functions. Closes
  3333. ticket 31839.
  3334. - Explain why we can't destroy the backtrace buffer mutex. Explain
  3335. why we don't need to destroy the log mutex. Closes ticket 31736.
  3336. - The Tor source code repository now includes a (somewhat dated)
  3337. description of Tor's modular architecture, in doc/HACKING/design.
  3338. This is based on the old "tor-guts.git" repository, which we are
  3339. adopting and superseding. Closes ticket 31849.
  3340. Changes in version 0.4.1.6 - 2019-09-19
  3341. This release backports several bugfixes to improve stability and
  3342. correctness. Anyone experiencing build problems or crashes with 0.4.1.5,
  3343. or experiencing reliability issues with single onion services, should
  3344. upgrade.
  3345. o Major bugfixes (crash, Linux, Android, backport from 0.4.2.1-alpha):
  3346. - Tolerate systems (including some Android installations) where
  3347. madvise and MADV_DONTDUMP are available at build-time, but not at
  3348. run time. Previously, these systems would notice a failed syscall
  3349. and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
  3350. - Tolerate systems (including some Linux installations) where
  3351. madvise and/or MADV_DONTFORK are available at build-time, but not
  3352. at run time. Previously, these systems would notice a failed
  3353. syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
  3354. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  3355. - Change "make test-stem" so it only runs the stem tests that use
  3356. tor. This change makes test-stem faster and more reliable. Closes
  3357. ticket 31554.
  3358. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  3359. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  3360. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  3361. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  3362. - Add more stub functions to fix compilation on Android with link-
  3363. time optimization when --disable-module-dirauth is used.
  3364. Previously, these compilation settings would make the compiler
  3365. look for functions that didn't exist. Fixes bug 31552; bugfix
  3366. on 0.4.1.1-alpha.
  3367. - Suppress spurious float-conversion warnings from GCC when calling
  3368. floating-point classifier functions on FreeBSD. Fixes part of bug
  3369. 31687; bugfix on 0.3.1.5-alpha.
  3370. o Minor bugfixes (controller protocol):
  3371. - Fix the MAPADDRESS controller command to accept one or more
  3372. arguments. Previously, it required two or more arguments, and ignored
  3373. the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
  3374. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  3375. - When extracting an IPv6 address from a PF-based proxy, verify that
  3376. we are actually configured to receive an IPv6 address, and log an
  3377. internal error if not. Fixes part of bug 31687; bugfix
  3378. on 0.2.3.4-alpha.
  3379. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  3380. - When tor is missing descriptors for some primary entry guards,
  3381. make the log message less alarming. It's normal for descriptors to
  3382. expire, as long as tor fetches new ones soon after. Fixes bug
  3383. 31657; bugfix on 0.3.3.1-alpha.
  3384. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  3385. - Change log level of message "Hash of session info was not as
  3386. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  3387. on 0.1.1.10-alpha.
  3388. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  3389. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  3390. 31463; bugfix on 0.3.5.4-alpha.
  3391. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  3392. - Always retry v2 single onion service intro and rend circuits with
  3393. a 3-hop path. Previously, v2 single onion services used a 3-hop
  3394. path when rendezvous circuits were retried after a remote or
  3395. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  3396. 23818; bugfix on 0.2.9.3-alpha.
  3397. o Minor bugfixes (v3 single onion services, backport from 0.4.2.1-alpha):
  3398. - Always retry v3 single onion service intro and rend circuits with
  3399. a 3-hop path. Previously, v3 single onion services used a 3-hop
  3400. path when rend circuits were retried after a remote or delayed
  3401. failure, but a 1-hop path for immediate retries. Fixes bug 23818;
  3402. bugfix on 0.3.2.1-alpha.
  3403. - Make v3 single onion services fall back to a 3-hop intro, when all
  3404. intro points are unreachable via a 1-hop path. Previously, v3
  3405. single onion services failed when all intro nodes were unreachable
  3406. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  3407. o Documentation (backport from 0.4.2.1-alpha):
  3408. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  3409. notice.html so that operators no longer have to host it
  3410. themselves. Closes ticket 31089.
  3411. Changes in version 0.4.2.1-alpha - 2019-09-17
  3412. This is the first alpha release in the 0.4.2.x series. It adds new
  3413. defenses for denial-of-service attacks against onion services. It also
  3414. includes numerous kinds of bugfixes and refactoring to help improve
  3415. Tor's stability and ease of development.
  3416. o Major features (onion service v3, denial of service):
  3417. - Add onion service introduction denial of service defenses. Intro
  3418. points can now rate-limit client introduction requests, using
  3419. parameters that can be sent by the service within the
  3420. ESTABLISH_INTRO cell. If the cell extension for this is not used,
  3421. the intro point will honor the consensus parameters. Closes
  3422. ticket 30924.
  3423. o Major bugfixes (circuit build, guard):
  3424. - When considering upgrading circuits from "waiting for guard" to
  3425. "open", always ignore circuits that are marked for close.
  3426. Previously we could end up in the situation where a subsystem is
  3427. notified of a circuit opening, but the circuit is still marked for
  3428. close, leading to undesirable behavior. Fixes bug 30871; bugfix
  3429. on 0.3.0.1-alpha.
  3430. o Major bugfixes (crash, Linux, Android):
  3431. - Tolerate systems (including some Android installations) where
  3432. madvise and MADV_DONTDUMP are available at build-time, but not at
  3433. run time. Previously, these systems would notice a failed syscall
  3434. and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
  3435. - Tolerate systems (including some Linux installations) where
  3436. madvise and/or MADV_DONTFORK are available at build-time, but not
  3437. at run time. Previously, these systems would notice a failed
  3438. syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
  3439. o Minor features (best practices tracker):
  3440. - Our best-practices tracker now integrates with our include-checker
  3441. tool to keep track of how many layering violations we have not yet
  3442. fixed. We hope to reduce this number over time to improve Tor's
  3443. modularity. Closes ticket 31176.
  3444. - Add a TOR_PRACTRACKER_OPTIONS variable for passing arguments to
  3445. practracker from the environment. We may want this for continuous
  3446. integration. Closes ticket 31309.
  3447. - Give a warning rather than an error when a practracker exception
  3448. is violated by a small amount, add a --list-overbroad option to
  3449. practracker that lists exceptions that are stricter than they need
  3450. to be, and provide an environment variable for disabling
  3451. practracker. Closes ticket 30752.
  3452. - Our best-practices tracker now looks at headers as well as C
  3453. files. Closes ticket 31175.
  3454. o Minor features (build system):
  3455. - Add --disable-manpage and --disable-html-manual options to
  3456. configure script. This will enable shortening build times by not
  3457. building documentation. Resolves issue 19381.
  3458. o Minor features (compilation):
  3459. - Log a more useful error message when we are compiling and one of
  3460. the compile-time hardening options we have selected can be linked
  3461. but not executed. Closes ticket 27530.
  3462. o Minor features (configuration):
  3463. - The configuration code has been extended to allow splitting
  3464. configuration data across multiple objects. Previously, all
  3465. configuration data needed to be kept in a single object, which
  3466. tended to become bloated. Closes ticket 31240.
  3467. o Minor features (continuous integration):
  3468. - When running CI builds on Travis, put some random data in
  3469. ~/.torrc, to make sure no tests are reading the Tor configuration
  3470. file from its default location. Resolves issue 30102.
  3471. o Minor features (debugging):
  3472. - Log a nonfatal assertion failure if we encounter a configuration
  3473. line whose command is "CLEAR" but which has a nonempty value. This
  3474. should be impossible, according to the rules of our configuration
  3475. line parsing. Closes ticket 31529.
  3476. o Minor features (git hooks):
  3477. - Our pre-commit git hook now checks for a special file before
  3478. running practracker, so that practracker only runs on branches
  3479. that are based on master. Since the pre-push hook calls the pre-
  3480. commit hook, practracker will also only run before pushes of
  3481. branches based on master. Closes ticket 30979.
  3482. o Minor features (git scripts):
  3483. - Add a "--" command-line argument, to separate git-push-all.sh
  3484. script arguments from arguments that are passed through to git
  3485. push. Closes ticket 31314.
  3486. - Add a -r <remote-name> argument to git-push-all.sh, so the script
  3487. can push test branches to a personal remote. Closes ticket 31314.
  3488. - Add a -t <test-branch-prefix> argument to git-merge-forward.sh and
  3489. git-push-all.sh, which makes these scripts create, merge forward,
  3490. and push test branches. Closes ticket 31314.
  3491. - Add a -u argument to git-merge-forward.sh, so that the script can
  3492. re-use existing test branches after a merge failure and fix.
  3493. Closes ticket 31314.
  3494. - Add a TOR_GIT_PUSH env var, which sets the default git push
  3495. command and arguments for git-push-all.sh. Closes ticket 31314.
  3496. - Add a TOR_PUSH_DELAY variable to git-push-all.sh, which makes the
  3497. script push master and maint branches with a delay between each
  3498. branch. These delays trigger the CI jobs in a set order, which
  3499. should show the most likely failures first. Also make pushes
  3500. atomic by default, and make the script pass any command-line
  3501. arguments to git push. Closes ticket 29879.
  3502. - Call the shellcheck script from the pre-commit hook. Closes
  3503. ticket 30967.
  3504. - Skip pushing test branches that are the same as a remote
  3505. maint/release/master branch in git-push-all.sh by default. Add a
  3506. -s argument, so git-push-all.sh can push all test branches. Closes
  3507. ticket 31314.
  3508. o Minor features (IPv6, logging):
  3509. - Log IPv6 addresses as well as IPv4 addresses when describing
  3510. routerinfos, routerstatuses, and nodes. Closes ticket 21003.
  3511. o Minor features (onion service v3):
  3512. - Do not allow single hop clients to fetch or post an HS descriptor
  3513. from an HSDir. Closes ticket 24964.
  3514. o Minor features (onion service):
  3515. - Disallow single-hop clients at the introduction point. We've
  3516. removed Tor2web support a while back and single-hop rendezvous
  3517. attempts are blocked at the relays. This change should remove load
  3518. off the network from spammy clients. Close ticket 24963.
  3519. o Minor features (stem tests):
  3520. - Change "make test-stem" so it only runs the stem tests that use
  3521. tor. This change makes test-stem faster and more reliable. Closes
  3522. ticket 31554.
  3523. o Minor features (testing):
  3524. - Add a script to invoke "tor --dump-config" and "tor
  3525. --verify-config" with various configuration options, and see
  3526. whether tor's resulting configuration or error messages are what
  3527. we expect. Use it for integration testing of our +Option and
  3528. /Option flags. Closes ticket 31637.
  3529. - Improve test coverage for our existing configuration parsing and
  3530. management API. Closes ticket 30893.
  3531. - Add integration tests to make sure that practracker gives the
  3532. outputs we expect. Closes ticket 31477.
  3533. - The practracker self-tests are now run as part of the Tor test
  3534. suite. Closes ticket 31304.
  3535. o Minor features (token bucket):
  3536. - Implement a generic token bucket that uses a single counter, for
  3537. use in anti-DoS onion service work. Closes ticket 30687.
  3538. o Minor bugfixes (best practices tracker):
  3539. - Fix a few issues in the best-practices script, including tests,
  3540. tab tolerance, error reporting, and directory-exclusion logic.
  3541. Fixes bug 29746; bugfix on 0.4.1.1-alpha.
  3542. - When running check-best-practices, only consider files in the src
  3543. subdirectory. Previously we had recursively considered all
  3544. subdirectories, which made us get confused by the temporary
  3545. directories made by "make distcheck". Fixes bug 31578; bugfix
  3546. on 0.4.1.1-alpha.
  3547. o Minor bugfixes (build system):
  3548. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  3549. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  3550. o Minor bugfixes (chutney, makefiles, documentation):
  3551. - "make test-network-all" now shows the warnings from each test-
  3552. network.sh run on the console, so developers see new warnings
  3553. early. We've also improved the documentation for this feature, and
  3554. renamed a Makefile variable so the code is self-documenting. Fixes
  3555. bug 30455; bugfix on 0.3.0.4-rc.
  3556. o Minor bugfixes (compilation):
  3557. - Add more stub functions to fix compilation on Android with link-
  3558. time optimization when --disable-module-dirauth is used.
  3559. Previously, these compilation settings would make the compiler
  3560. look for functions that didn't exist. Fixes bug 31552; bugfix
  3561. on 0.4.1.1-alpha.
  3562. - Suppress spurious float-conversion warnings from GCC when calling
  3563. floating-point classifier functions on FreeBSD. Fixes part of bug
  3564. 31687; bugfix on 0.3.1.5-alpha.
  3565. o Minor bugfixes (configuration):
  3566. - Invalid floating-point values in the configuration file are now
  3567. treated as errors in the configuration. Previously, they were
  3568. ignored and treated as zero. Fixes bug 31475; bugfix on 0.0.1.
  3569. o Minor bugfixes (coverity):
  3570. - Add an assertion when parsing a BEGIN cell so that coverity can be
  3571. sure that we are not about to dereference a NULL address. Fixes
  3572. bug 31026; bugfix on 0.2.4.7-alpha. This is CID 1447296.
  3573. - In our siphash implementation, when building for coverity, use
  3574. memcpy in place of a switch statement, so that coverity can tell
  3575. we are not accessing out-of-bounds memory. Fixes bug 31025; bugfix
  3576. on 0.2.8.1-alpha. This is tracked as CID 1447293 and 1447295.
  3577. - Fix several coverity warnings from our unit tests. Fixes bug
  3578. 31030; bugfix on 0.2.4.1-alpha, 0.3.2.1-alpha, and 0.4.0.1-alpha.
  3579. o Minor bugfixes (developer tooling):
  3580. - Only log git script changes in the post-merge script when the
  3581. merge was to the master branch. Fixes bug 31040; bugfix
  3582. on 0.4.1.1-alpha.
  3583. o Minor bugfixes (directory authorities):
  3584. - Return a distinct status when formatting annotations fails. Fixes
  3585. bug 30780; bugfix on 0.2.0.8-alpha.
  3586. o Minor bugfixes (error handling):
  3587. - On abort, try harder to flush the output buffers of log messages.
  3588. On some platforms (macOS), log messages could be discarded when
  3589. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  3590. - Report the tor version whenever an assertion fails. Previously, we
  3591. only reported the Tor version on some crashes, and some non-fatal
  3592. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  3593. - When tor aborts due to an error, close log file descriptors before
  3594. aborting. Closing the logs makes some OSes flush log file buffers,
  3595. rather than deleting buffered log lines. Fixes bug 31594; bugfix
  3596. on 0.2.5.2-alpha.
  3597. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6):
  3598. - When extracting an IPv6 address from a PF-based proxy, verify that
  3599. we are actually configured to receive an IPv6 address, and log an
  3600. internal error if not. Fixes part of bug 31687; bugfix
  3601. on 0.2.3.4-alpha.
  3602. o Minor bugfixes (git hooks):
  3603. - Remove a duplicate call to practracker from the pre-push hook. The
  3604. pre-push hook already calls the pre-commit hook, which calls
  3605. practracker. Fixes bug 31462; bugfix on 0.4.1.1-alpha.
  3606. o Minor bugfixes (git scripts):
  3607. - Stop hard-coding the bash path in the git scripts. Some OSes don't
  3608. have bash in /usr/bin, others have an ancient bash at this path.
  3609. Fixes bug 30840; bugfix on 0.4.0.1-alpha.
  3610. - Stop hard-coding the tor master branch name and worktree path in
  3611. the git scripts. Fixes bug 30841; bugfix on 0.4.0.1-alpha.
  3612. - Allow git-push-all.sh to be run from any directory. Previously,
  3613. the script only worked if run from an upstream worktree directory.
  3614. Closes ticket 31678.
  3615. o Minor bugfixes (guards):
  3616. - When tor is missing descriptors for some primary entry guards,
  3617. make the log message less alarming. It's normal for descriptors to
  3618. expire, as long as tor fetches new ones soon after. Fixes bug
  3619. 31657; bugfix on 0.3.3.1-alpha.
  3620. o Minor bugfixes (ipv6):
  3621. - Check for private IPv6 addresses alongside their IPv4 equivalents
  3622. when authorities check descriptors. Previously, we only checked
  3623. for private IPv4 addresses. Fixes bug 31088; bugfix on
  3624. 0.2.3.21-rc. Patch by Neel Chauhan.
  3625. - When parsing microdescriptors, we should check the IPv6 exit
  3626. policy alongside IPv4. Previously, we checked both exit policies
  3627. for only router info structures, while microdescriptors were
  3628. IPv4-only. Fixes bug 27284; bugfix on 0.2.3.1-alpha. Patch by
  3629. Neel Chauhan.
  3630. o Minor bugfixes (logging):
  3631. - Change log level of message "Hash of session info was not as
  3632. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  3633. on 0.1.1.10-alpha.
  3634. - Fix a code issue that would have broken our parsing of log domains
  3635. as soon as we had 33 of them. Fortunately, we still only have 29.
  3636. Fixes bug 31451; bugfix on 0.4.1.4-rc.
  3637. o Minor bugfixes (memory management):
  3638. - Stop leaking a small amount of memory in nt_service_install(), in
  3639. unreachable code. Fixes bug 30799; bugfix on 0.2.0.7-alpha. Patch
  3640. by Xiaoyin Liu.
  3641. o Minor bugfixes (networking, IP addresses):
  3642. - When parsing addresses via Tor's internal DNS lookup API, reject
  3643. IPv4 addresses in square brackets, and accept IPv6 addresses in
  3644. square brackets. This change completes the work started in 23082,
  3645. making address parsing consistent between tor's internal DNS
  3646. lookup and address parsing APIs. Fixes bug 30721; bugfix
  3647. on 0.2.1.5-alpha.
  3648. - When parsing addresses via Tor's internal address:port parsing and
  3649. DNS lookup APIs, require IPv6 addresses with ports to have square
  3650. brackets. But allow IPv6 addresses without ports, whether or not
  3651. they have square brackets. Fixes bug 30721; bugfix
  3652. on 0.2.1.5-alpha.
  3653. o Minor bugfixes (onion service v3):
  3654. - When purging the client descriptor cache, close any introduction
  3655. point circuits associated with purged cache entries. This avoids
  3656. picking those circuits later when connecting to the same
  3657. introduction points. Fixes bug 30921; bugfix on 0.3.2.1-alpha.
  3658. o Minor bugfixes (onion services):
  3659. - In the hs_ident_circuit_t data structure, remove the unused field
  3660. circuit_type and the respective argument in hs_ident_circuit_new().
  3661. This field was set by clients (for introduction) and services (for
  3662. introduction and rendezvous) but was never used afterwards. Fixes
  3663. bug 31490; bugfix on 0.3.2.1-alpha. Patch by Neel Chauhan.
  3664. o Minor bugfixes (operator tools):
  3665. - Make tor-print-ed-signing-cert(1) print certificate expiration
  3666. date in RFC 1123 and UNIX timestamp formats, to make output
  3667. machine readable. Fixes bug 31012; bugfix on 0.3.5.1-alpha.
  3668. o Minor bugfixes (rust):
  3669. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  3670. 31463; bugfix on 0.3.5.4-alpha.
  3671. - Raise the minimum rustc version to 1.31.0, as checked by configure
  3672. and CI. Fixes bug 31442; bugfix on 0.3.5.4-alpha.
  3673. o Minor bugfixes (sendme, code structure):
  3674. - Rename the trunnel SENDME file definition from sendme.trunnel to
  3675. sendme_cell.trunnel to avoid having twice sendme.{c|h} in the
  3676. repository. Fixes bug 30769; bugfix on 0.4.1.1-alpha.
  3677. o Minor bugfixes (statistics):
  3678. - Stop removing the ed25519 signature if the extra info file is too
  3679. big. If the signature data was removed, but the keyword was kept,
  3680. this could result in an unparseable extra info file. Fixes bug
  3681. 30958; bugfix on 0.2.7.2-alpha.
  3682. o Minor bugfixes (subsystems):
  3683. - Make the subsystem init order match the subsystem module
  3684. dependencies. Call windows process security APIs as early as
  3685. possible. Initialize logging before network and time, so that
  3686. network and time can use logging. Fixes bug 31615; bugfix
  3687. on 0.4.0.1-alpha.
  3688. o Minor bugfixes (testing):
  3689. - Teach the util/socketpair_ersatz test to work correctly when we
  3690. have no network stack configured. Fixes bug 30804; bugfix
  3691. on 0.2.5.1-alpha.
  3692. o Minor bugfixes (v2 single onion services):
  3693. - Always retry v2 single onion service intro and rend circuits with
  3694. a 3-hop path. Previously, v2 single onion services used a 3-hop
  3695. path when rendezvous circuits were retried after a remote or
  3696. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  3697. 23818; bugfix on 0.2.9.3-alpha.
  3698. o Minor bugfixes (v3 single onion services):
  3699. - Always retry v3 single onion service intro and rend circuits with
  3700. a 3-hop path. Previously, v3 single onion services used a 3-hop
  3701. path when rend circuits were retried after a remote or delayed
  3702. failure, but a 1-hop path for immediate retries. Fixes bug 23818;
  3703. bugfix on 0.3.2.1-alpha.
  3704. - Make v3 single onion services fall back to a 3-hop intro, when all
  3705. intro points are unreachable via a 1-hop path. Previously, v3
  3706. single onion services failed when all intro nodes were unreachable
  3707. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  3708. o Documentation:
  3709. - Improve documentation in circuit padding subsystem. Patch by
  3710. Tobias Pulls. Closes ticket 31113.
  3711. - Include an example usage for IPv6 ORPort in our sample torrc.
  3712. Closes ticket 31320; patch from Ali Raheem.
  3713. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  3714. notice.html so that operators no longer have to host it
  3715. themselves. Closes ticket 31089.
  3716. o Removed features:
  3717. - No longer include recommended package digests in votes as detailed
  3718. in proposal 301. The RecommendedPackages torrc option is
  3719. deprecated and will no longer have any effect. "package" lines
  3720. will still be considered when computing consensuses for consensus
  3721. methods that include them. (This change has no effect on the list
  3722. of recommended Tor versions, which is still in use.) Closes
  3723. ticket 29738.
  3724. - Remove torctl.in from contrib/dist directory. Resolves
  3725. ticket 30550.
  3726. o Testing:
  3727. - Run shellcheck for all non-third-party shell scripts that are
  3728. shipped with Tor. Closes ticket 29533.
  3729. - When checking shell scripts, ignore any user-created directories.
  3730. Closes ticket 30967.
  3731. o Code simplification and refactoring (config handling):
  3732. - Extract our variable manipulation code from confparse.c to a new
  3733. lower-level typedvar.h module. Closes ticket 30864.
  3734. - Lower another layer of object management from confparse.c to a
  3735. more general tool. Now typed structure members are accessible via
  3736. an abstract type. Implements ticket 30914.
  3737. - Move our backend logic for working with configuration and state
  3738. files into a lower-level library, since it no longer depends on
  3739. any tor-specific functionality. Closes ticket 31626.
  3740. - Numerous simplifications in configuration-handling logic: remove
  3741. duplicated macro definitions, replace magical names with flags,
  3742. and refactor "TestingTorNetwork" to use the same default-option
  3743. logic as the rest of Tor. Closes ticket 30935.
  3744. - Replace our ad-hoc set of flags for configuration variables and
  3745. configuration variable types with fine-grained orthogonal flags
  3746. corresponding to the actual behavior we want. Closes ticket 31625.
  3747. o Code simplification and refactoring (misc):
  3748. - Eliminate some uses of lower-level control reply abstractions,
  3749. primarily in the onion_helper functions. Closes ticket 30889.
  3750. - Rework bootstrap tracking to use the new publish-subscribe
  3751. subsystem. Closes ticket 29976.
  3752. - Rewrite format_node_description() and router_get_verbose_nickname()
  3753. to use strlcpy() and strlcat(). The previous implementation used
  3754. memcpy() and pointer arithmetic, which was error-prone. Closes
  3755. ticket 31545. This is CID 1452819.
  3756. - Split extrainfo_dump_to_string() into smaller functions. Closes
  3757. ticket 30956.
  3758. - Use the ptrdiff_t type consistently for expressing variable
  3759. offsets and pointer differences. Previously we incorrectly (but
  3760. harmlessly) used int and sometimes off_t for these cases. Closes
  3761. ticket 31532.
  3762. - Use the subsystems mechanism to manage the main event loop code.
  3763. Closes ticket 30806.
  3764. - Various simplifications and minor improvements to the circuit
  3765. padding machines. Patch by Tobias Pulls. Closes tickets 31112
  3766. and 31098.
  3767. o Documentation (hard-coded directories):
  3768. - Improve the documentation for the DirAuthority and FallbackDir
  3769. torrc options. Closes ticket 30955.
  3770. o Documentation (tor.1 man page):
  3771. - Fix typo in tor.1 man page: the option is "--help", not "-help".
  3772. Fixes bug 31008; bugfix on 0.2.2.9-alpha.
  3773. Changes in version 0.4.1.5 - 2019-08-20
  3774. This is the first stable release in the 0.4.1.x series. This series
  3775. adds experimental circuit-level padding, authenticated SENDME cells to
  3776. defend against certain attacks, and several performance improvements
  3777. to save on CPU consumption. It fixes bugs in bootstrapping and v3
  3778. onion services. It also includes numerous smaller features and
  3779. bugfixes on earlier versions.
  3780. Per our support policy, we will support the 0.4.1.x series for nine
  3781. months, or until three months after the release of a stable 0.4.2.x:
  3782. whichever is longer. If you need longer-term support, please stick
  3783. with 0.3.5.x, which will we plan to support until Feb 2022.
  3784. Below are the changes since 0.4.1.4-rc. For a complete list of changes
  3785. since 0.4.0.5, see the ReleaseNotes file.
  3786. o Directory authority changes:
  3787. - The directory authority "dizum" has a new IP address. Closes
  3788. ticket 31406.
  3789. o Minor features (circuit padding logging):
  3790. - Demote noisy client-side warn logs about circuit padding to
  3791. protocol warnings. Add additional log messages and circuit ID
  3792. fields to help with bug 30992 and any other future issues.
  3793. o Minor bugfixes (circuit padding negotiation):
  3794. - Bump the circuit padding protocol version to explicitly signify
  3795. that the HS setup machine support is finalized in 0.4.1.x-stable.
  3796. This also means that 0.4.1.x-alpha clients will not negotiate
  3797. padding with 0.4.1.x-stable relays, and 0.4.1.x-stable clients
  3798. will not negotiate padding with 0.4.1.x-alpha relays (or 0.4.0.x
  3799. relays). Fixes bug 31356; bugfix on 0.4.1.1-alpha.
  3800. o Minor bugfixes (circuit padding):
  3801. - Ignore non-padding cells on padding circuits. This addresses
  3802. various warning messages from subsystems that were not expecting
  3803. padding circuits. Fixes bug 30942; bugfix on 0.4.1.1-alpha.
  3804. o Minor bugfixes (clock skew detection):
  3805. - Don't believe clock skew results from NETINFO cells that appear to
  3806. arrive before we sent the VERSIONS cells they are responding to.
  3807. Previously, we would accept them up to 3 minutes "in the past".
  3808. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  3809. o Minor bugfixes (compatibility, standards compliance):
  3810. - Fix a bug that would invoke undefined behavior on certain
  3811. operating systems when trying to asprintf() a string exactly
  3812. INT_MAX bytes long. We don't believe this is exploitable, but it's
  3813. better to fix it anyway. Fixes bug 31001; bugfix on 0.2.2.11-alpha.
  3814. Found and fixed by Tobias Stoeckmann.
  3815. o Minor bugfixes (compilation warning):
  3816. - Fix a compilation warning on Windows about casting a function
  3817. pointer for GetTickCount64(). Fixes bug 31374; bugfix
  3818. on 0.2.9.1-alpha.
  3819. o Minor bugfixes (compilation):
  3820. - Avoid using labs() on time_t, which can cause compilation warnings
  3821. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  3822. o Minor bugfixes (distribution):
  3823. - Do not ship any temporary files found in the
  3824. scripts/maint/practracker directory. Fixes bug 31311; bugfix
  3825. on 0.4.1.1-alpha.
  3826. o Testing (continuous integration):
  3827. - In Travis, make stem log a controller trace to the console, and
  3828. tail stem's tor log after failure. Closes ticket 30591.
  3829. - In Travis, only run the stem tests that use a tor binary. Closes
  3830. ticket 30694.
  3831. Changes in version 0.4.1.4-rc - 2019-07-25
  3832. Tor 0.4.1.4-rc fixes a few bugs from previous versions of Tor, and
  3833. updates to a new list of fallback directories. If no new bugs are
  3834. found, the next release in the 0.4.1.x serious should be stable.
  3835. o Major bugfixes (circuit build, guard):
  3836. - When considering upgrading circuits from "waiting for guard" to
  3837. "open", always ignore circuits that are marked for close. Otherwise,
  3838. we can end up in the situation where a subsystem is notified that
  3839. a closing circuit has just opened, leading to undesirable
  3840. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  3841. o Minor features (continuous integration):
  3842. - Our Travis configuration now uses Chutney to run some network
  3843. integration tests automatically. Closes ticket 29280.
  3844. o Minor features (fallback directory list):
  3845. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  3846. in December 2018 (of which ~122 were still functional), with a
  3847. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  3848. in June 2019. Closes ticket 28795.
  3849. o Minor bugfixes (circuit padding):
  3850. - On relays, properly check that a padding machine is absent before
  3851. logging a warning about it being absent. Fixes bug 30649; bugfix
  3852. on 0.4.0.1-alpha.
  3853. - Add two NULL checks in unreachable places to silence Coverity (CID
  3854. 144729 and 1447291) and better future-proof ourselves. Fixes bug
  3855. 31024; bugfix on 0.4.1.1-alpha.
  3856. o Minor bugfixes (crash on exit):
  3857. - Avoid a set of possible code paths that could try to use freed
  3858. memory in routerlist_free() while Tor was exiting. Fixes bug
  3859. 31003; bugfix on 0.1.2.2-alpha.
  3860. o Minor bugfixes (logging):
  3861. - Fix a conflict between the flag used for messaging-domain log
  3862. messages, and the LD_NO_MOCK testing flag. Fixes bug 31080; bugfix
  3863. on 0.4.1.1-alpha.
  3864. o Minor bugfixes (memory leaks):
  3865. - Fix a trivial memory leak when parsing an invalid value from a
  3866. download schedule in the configuration. Fixes bug 30894; bugfix
  3867. on 0.3.4.1-alpha.
  3868. o Code simplification and refactoring:
  3869. - Remove some dead code from circpad_machine_remove_token() to fix
  3870. some Coverity warnings (CID 1447298). Fixes bug 31027; bugfix
  3871. on 0.4.1.1-alpha.
  3872. Changes in version 0.4.1.3-alpha - 2019-06-25
  3873. Tor 0.4.1.3-alpha resolves numerous bugs left over from the previous
  3874. alpha, most of them from earlier release series.
  3875. o Major bugfixes (Onion service reachability):
  3876. - Properly clean up the introduction point map when circuits change
  3877. purpose from onion service circuits to pathbias, measurement, or
  3878. other circuit types. This should fix some service-side instances
  3879. of introduction point failure. Fixes bug 29034; bugfix
  3880. on 0.3.2.1-alpha.
  3881. o Minor features (geoip):
  3882. - Update geoip and geoip6 to the June 10 2019 Maxmind GeoLite2
  3883. Country database. Closes ticket 30852.
  3884. o Minor features (logging):
  3885. - Give a more useful assertion failure message if we think we have
  3886. minherit() but we fail to make a region non-inheritable. Give a
  3887. compile-time warning if our support for minherit() is incomplete.
  3888. Closes ticket 30686.
  3889. o Minor bugfixes (circuit isolation):
  3890. - Fix a logic error that prevented the SessionGroup sub-option from
  3891. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  3892. o Minor bugfixes (continuous integration):
  3893. - Allow the test-stem job to fail in Travis, because it sometimes
  3894. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  3895. - Skip test_rebind on macOS in Travis, because it is unreliable on
  3896. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  3897. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  3898. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  3899. o Minor bugfixes (directory authorities):
  3900. - Stop crashing after parsing an unknown descriptor purpose
  3901. annotation. We think this bug can only be triggered by modifying a
  3902. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  3903. o Minor bugfixes (pluggable transports):
  3904. - When running as a bridge with pluggable transports, always publish
  3905. pluggable transport information in our extrainfo descriptor, even
  3906. if ExtraInfoStatistics is 0. This information is needed by
  3907. BridgeDB. Fixes bug 30956; bugfix on 0.4.1.1-alpha.
  3908. o Documentation:
  3909. - Mention URLs for Travis/Appveyor/Jenkins in ReleasingTor.md.
  3910. Closes ticket 30630.
  3911. Changes in version 0.4.1.2-alpha - 2019-06-06
  3912. Tor 0.4.1.2-alpha resolves numerous bugs--some of them from the
  3913. previous alpha, and some much older. It also contains minor testing
  3914. improvements, and an improvement to the security of our authenticated
  3915. SENDME implementation.
  3916. o Major bugfixes (bridges):
  3917. - Consider our directory information to have changed when our list
  3918. of bridges changes. Previously, Tor would not re-compute the
  3919. status of its directory information when bridges changed, and
  3920. therefore would not realize that it was no longer able to build
  3921. circuits. Fixes part of bug 29875.
  3922. - Do not count previously configured working bridges towards our
  3923. total of working bridges. Previously, when Tor's list of bridges
  3924. changed, it would think that the old bridges were still usable,
  3925. and delay fetching router descriptors for the new ones. Fixes part
  3926. of bug 29875; bugfix on 0.3.0.1-alpha.
  3927. o Major bugfixes (flow control, SENDME):
  3928. - Decrement the stream-level package window after packaging a cell.
  3929. Previously, it was done inside a log_debug() call, meaning that if
  3930. debug logs were not enabled, the decrement would never happen, and
  3931. thus the window would be out of sync with the other end point.
  3932. Fixes bug 30628; bugfix on 0.4.1.1-alpha.
  3933. o Major bugfixes (onion service reachability):
  3934. - Properly clean up the introduction point map and associated state
  3935. when circuits change purpose from onion service circuits to
  3936. pathbias, measurement, or other circuit types. This may fix some
  3937. instances of introduction point failure. Fixes bug 29034; bugfix
  3938. on 0.3.2.1-alpha.
  3939. o Minor features (authenticated SENDME):
  3940. - Ensure that there is enough randomness on every circuit to prevent
  3941. an attacker from successfully predicting the hashes they will need
  3942. to include in authenticated SENDME cells. At a random interval, if
  3943. we have not sent randomness already, we now leave some extra space
  3944. at the end of a cell that we can fill with random bytes. Closes
  3945. ticket 26846.
  3946. o Minor features (continuous integration):
  3947. - When running coverage builds on Travis, we now set
  3948. TOR_TEST_RNG_SEED, to avoid RNG-based coverage differences. Part
  3949. of ticket 28878.
  3950. o Minor features (maintenance):
  3951. - Add a new "make autostyle" target that developers can use to apply
  3952. all automatic Tor style and consistency conversions to the
  3953. codebase. Closes ticket 30539.
  3954. o Minor features (testing):
  3955. - The circuitpadding tests now use a reproducible RNG implementation,
  3956. so that if a test fails, we can learn why. Part of ticket 28878.
  3957. - Tor's tests now support an environment variable, TOR_TEST_RNG_SEED,
  3958. to set the RNG seed for tests that use a reproducible RNG. Part of
  3959. ticket 28878.
  3960. - When running tests in coverage mode, take additional care to make
  3961. our coverage deterministic, so that we can accurately track
  3962. changes in code coverage. Closes ticket 30519.
  3963. o Minor bugfixes (configuration, proxies):
  3964. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  3965. want authentication along with configured (but unused!)
  3966. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  3967. o Minor bugfixes (controller):
  3968. - POSTDESCRIPTOR requests should work again. Previously, they were
  3969. broken if a "purpose=" flag was specified. Fixes bug 30580; bugfix
  3970. on 0.4.1.1-alpha.
  3971. - Repair the HSFETCH command so that it works again. Previously, it
  3972. expected a body when it shouldn't have. Fixes bug 30646; bugfix
  3973. on 0.4.1.1-alpha.
  3974. o Minor bugfixes (developer tooling):
  3975. - Fix pre-push hook to allow fixup and squash commits when pushing
  3976. to non-upstream git remote. Fixes bug 30286; bugfix
  3977. on 0.4.0.1-alpha.
  3978. o Minor bugfixes (directory authority):
  3979. - Move the "bandwidth-file-headers" line in directory authority
  3980. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  3981. on 0.3.5.1-alpha.
  3982. o Minor bugfixes (NetBSD):
  3983. - Fix usage of minherit() on NetBSD and other platforms that define
  3984. MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
  3985. 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
  3986. o Minor bugfixes (out-of-memory handler):
  3987. - When purging the DNS cache because of an out-of-memory condition,
  3988. try purging just the older entries at first. Previously, we would
  3989. always purge the whole thing. Fixes bug 29617; bugfix
  3990. on 0.3.5.1-alpha.
  3991. o Minor bugfixes (portability):
  3992. - Avoid crashing in our tor_vasprintf() implementation on systems
  3993. that define neither vasprintf() nor _vscprintf(). (This bug has
  3994. been here long enough that we question whether people are running
  3995. Tor on such systems, but we're applying the fix out of caution.)
  3996. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  3997. Tobias Stoeckmann.
  3998. o Minor bugfixes (shutdown, libevent, memory safety):
  3999. - Avoid use-after-free bugs when shutting down, by making sure that
  4000. we shut down libevent only after shutting down all of its users.
  4001. We believe these are harmless in practice, since they only occur
  4002. on the shutdown path, and do not involve any attacker-controlled
  4003. data. Fixes bug 30629; bugfix on 0.4.1.1-alpha.
  4004. o Minor bugfixes (static analysis):
  4005. - Fix several spurious Coverity warnings about the unit tests, to
  4006. lower our chances of missing real warnings in the future. Fixes
  4007. bug 30150; bugfix on 0.3.5.1-alpha and various other Tor versions.
  4008. o Testing:
  4009. - Specify torrc paths (with empty files) when launching tor in
  4010. integration tests; refrain from reading user and system torrcs.
  4011. Resolves issue 29702.
  4012. Changes in version 0.4.1.1-alpha - 2019-05-22
  4013. This is the first alpha in the 0.4.1.x series. It introduces
  4014. lightweight circuit padding to make some onion-service circuits harder
  4015. to distinguish, includes a new "authenticated SENDME" feature to make
  4016. certain denial-of-service attacks more difficult, and improves
  4017. performance in several areas.
  4018. o Major features (circuit padding):
  4019. - Onion service clients now add padding cells at the start of their
  4020. INTRODUCE and RENDEZVOUS circuits, to make those circuits' traffic
  4021. look more like general purpose Exit traffic. The overhead for this
  4022. is 2 extra cells in each direction for RENDEZVOUS circuits, and 1
  4023. extra upstream cell and 10 downstream cells for INTRODUCE
  4024. circuits. This feature is only enabled when also supported by the
  4025. circuit's middle node. (Clients may specify fixed middle nodes
  4026. with the MiddleNodes option, and may force-disable this feature
  4027. with the CircuitPadding option.) Closes ticket 28634.
  4028. o Major features (code organization):
  4029. - Tor now includes a generic publish-subscribe message-passing
  4030. subsystem that we can use to organize intermodule dependencies. We
  4031. hope to use this to reduce dependencies between modules that don't
  4032. need to be related, and to generally simplify our codebase. Closes
  4033. ticket 28226.
  4034. o Major features (controller protocol):
  4035. - Controller commands are now parsed using a generalized parsing
  4036. subsystem. Previously, each controller command was responsible for
  4037. parsing its own input, which led to strange inconsistencies.
  4038. Closes ticket 30091.
  4039. o Major features (flow control):
  4040. - Implement authenticated SENDMEs as detailed in proposal 289. A
  4041. SENDME cell now includes the digest of the traffic that it
  4042. acknowledges, so that once an end point receives the SENDME, it
  4043. can confirm the other side's knowledge of the previous cells that
  4044. were sent, and prevent certain types of denial-of-service attacks.
  4045. This behavior is controlled by two new consensus parameters: see
  4046. the proposal for more details. Fixes ticket 26288.
  4047. o Major features (performance):
  4048. - Our node selection algorithm now excludes nodes in linear time.
  4049. Previously, the algorithm was quadratic, which could slow down
  4050. heavily used onion services. Closes ticket 30307.
  4051. o Major features (performance, RNG):
  4052. - Tor now constructs a fast secure pseudorandom number generator for
  4053. each thread, to use when performance is critical. This PRNG is
  4054. based on AES-CTR, using a buffering construction similar to
  4055. libottery and the (newer) OpenBSD arc4random() code. It
  4056. outperforms OpenSSL 1.1.1a's CSPRNG by roughly a factor of 100 for
  4057. small outputs. Although we believe it to be cryptographically
  4058. strong, we are only using it when necessary for performance.
  4059. Implements tickets 29023 and 29536.
  4060. o Major bugfixes (onion service v3):
  4061. - Fix an unreachable bug in which an introduction point could try to
  4062. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  4063. to encode, leading the relay to assert(). We've consolidated the
  4064. ABI values into Trunnel now. Fixes bug 30454; bugfix
  4065. on 0.3.0.1-alpha.
  4066. - Clients can now handle unknown status codes from INTRODUCE_ACK
  4067. cells. (The NACK behavior will stay the same.) This will allow us
  4068. to extend status codes in the future without breaking the normal
  4069. client behavior. Fixes another part of bug 30454; bugfix
  4070. on 0.3.0.1-alpha.
  4071. o Minor features (circuit padding):
  4072. - We now use a fast PRNG when scheduling circuit padding. Part of
  4073. ticket 28636.
  4074. - Allow the padding machine designer to pick the edges of their
  4075. histogram instead of trying to compute them automatically using an
  4076. exponential formula. Resolves some undefined behavior in the case
  4077. of small histograms and allows greater flexibility on machine
  4078. design. Closes ticket 29298; bugfix on 0.4.0.1-alpha.
  4079. - Allow circuit padding machines to hold a circuit open until they
  4080. are done padding it. Closes ticket 28780.
  4081. o Minor features (compile-time modules):
  4082. - Add a "--list-modules" command to print a list of which compile-
  4083. time modules are enabled. Closes ticket 30452.
  4084. o Minor features (continuous integration):
  4085. - Remove sudo configuration lines from .travis.yml as they are no
  4086. longer needed with current Travis build environment. Resolves
  4087. issue 30213.
  4088. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  4089. o Minor features (controller):
  4090. - Add onion service version 3 support to the HSFETCH command.
  4091. Previously, only version 2 onion services were supported. Closes
  4092. ticket 25417. Patch by Neel Chauhan.
  4093. o Minor features (debugging):
  4094. - Introduce tor_assertf() and tor_assertf_nonfatal() to enable
  4095. logging of additional information during assert failure. Now we
  4096. can use format strings to include information for trouble
  4097. shooting. Resolves ticket 29662.
  4098. o Minor features (defense in depth):
  4099. - In smartlist_remove_keeporder(), set unused pointers to NULL, in
  4100. case a bug causes them to be used later. Closes ticket 30176.
  4101. Patch from Tobias Stoeckmann.
  4102. - Tor now uses a cryptographically strong PRNG even for decisions
  4103. that we do not believe are security-sensitive. Previously, for
  4104. performance reasons, we had used a trivially predictable linear
  4105. congruential generator algorithm for certain load-balancing and
  4106. statistical sampling decisions. Now we use our fast RNG in those
  4107. cases. Closes ticket 29542.
  4108. o Minor features (developer tools):
  4109. - Tor's "practracker" test script now checks for files and functions
  4110. that seem too long and complicated. Existing overlong functions
  4111. and files are accepted for now, but should eventually be
  4112. refactored. Closes ticket 29221.
  4113. - Add some scripts used for git maintenance to scripts/git. Closes
  4114. ticket 29391.
  4115. - Call practracker from pre-push and pre-commit git hooks to let
  4116. developers know if they made any code style violations. Closes
  4117. ticket 30051.
  4118. - Add a script to check that each header has a well-formed and
  4119. unique guard macro. Closes ticket 29756.
  4120. o Minor features (geoip):
  4121. - Update geoip and geoip6 to the May 13 2019 Maxmind GeoLite2
  4122. Country database. Closes ticket 30522.
  4123. o Minor features (HTTP tunnel):
  4124. - Return an informative web page when the HTTPTunnelPort is used as
  4125. an HTTP proxy. Closes ticket 27821, patch by "eighthave".
  4126. o Minor features (IPv6, v3 onion services):
  4127. - Make v3 onion services put IPv6 addresses in service descriptors.
  4128. Before this change, service descriptors only contained IPv4
  4129. addresses. Implements 26992.
  4130. o Minor features (modularity):
  4131. - The "--disable-module-dirauth" compile-time option now disables
  4132. even more dirauth-only code. Closes ticket 30345.
  4133. o Minor features (performance):
  4134. - Use OpenSSL's implementations of SHA3 when available (in OpenSSL
  4135. 1.1.1 and later), since they tend to be faster than tiny-keccak.
  4136. Closes ticket 28837.
  4137. o Minor features (testing):
  4138. - Tor's unit test code now contains helper functions to replace the
  4139. PRNG with a deterministic or reproducible version for testing.
  4140. Previously, various tests implemented this in various ways.
  4141. Implements ticket 29732.
  4142. - We now have a script, cov-test-determinism.sh, to identify places
  4143. where our unit test coverage has become nondeterministic. Closes
  4144. ticket 29436.
  4145. - Check that representative subsets of values of `int` and `unsigned
  4146. int` can be represented by `void *`. Resolves issue 29537.
  4147. o Minor bugfixes (bridge authority):
  4148. - Bridge authorities now set bridges as running or non-running when
  4149. about to dump their status to a file. Previously, they set bridges
  4150. as running in response to a GETINFO command, but those shouldn't
  4151. modify data structures. Fixes bug 24490; bugfix on 0.2.0.13-alpha.
  4152. Patch by Neel Chauhan.
  4153. o Minor bugfixes (channel padding statistics):
  4154. - Channel padding write totals and padding-enabled totals are now
  4155. counted properly in relay extrainfo descriptors. Fixes bug 29231;
  4156. bugfix on 0.3.1.1-alpha.
  4157. o Minor bugfixes (circuit padding):
  4158. - Add a "CircuitPadding" torrc option to disable circuit padding.
  4159. Fixes bug 28693; bugfix on 0.4.0.1-alpha.
  4160. - Allow circuit padding machines to specify that they do not
  4161. contribute much overhead, and provide consensus flags and torrc
  4162. options to force clients to only use these low overhead machines.
  4163. Fixes bug 29203; bugfix on 0.4.0.1-alpha.
  4164. - Provide a consensus parameter to fully disable circuit padding, to
  4165. be used in emergency network overload situations. Fixes bug 30173;
  4166. bugfix on 0.4.0.1-alpha.
  4167. - The circuit padding subsystem will no longer schedule padding if
  4168. dormant mode is enabled. Fixes bug 28636; bugfix on 0.4.0.1-alpha.
  4169. - Inspect a circuit-level cell queue before sending padding, to
  4170. avoid sending padding while too much data is already queued. Fixes
  4171. bug 29204; bugfix on 0.4.0.1-alpha.
  4172. - Avoid calling monotime_absolute_usec() in circuit padding machines
  4173. that do not use token removal or circuit RTT estimation. Fixes bug
  4174. 29085; bugfix on 0.4.0.1-alpha.
  4175. o Minor bugfixes (compilation, unusual configurations):
  4176. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  4177. due to missing declarations of abort(), and prevent other such
  4178. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  4179. o Minor bugfixes (controller protocol):
  4180. - Teach the controller parser to distinguish an object preceded by
  4181. an argument list from one without. Previously, it couldn't
  4182. distinguish an argument list from the first line of a multiline
  4183. object. Fixes bug 29984; bugfix on 0.2.3.8-alpha.
  4184. o Minor bugfixes (directory authority, ipv6):
  4185. - Directory authorities with IPv6 support now always mark themselves
  4186. as reachable via IPv6. Fixes bug 24338; bugfix on 0.2.4.1-alpha.
  4187. Patch by Neel Chauhan.
  4188. o Minor bugfixes (documentation):
  4189. - Improve the documentation for using MapAddress with ".exit". Fixes
  4190. bug 30109; bugfix on 0.1.0.1-rc.
  4191. - Improve the monotonic time module and function documentation to
  4192. explain what "monotonic" actually means, and document some results
  4193. that have surprised people. Fixes bug 29640; bugfix
  4194. on 0.2.9.1-alpha.
  4195. - Use proper formatting when providing an example on quoting options
  4196. that contain whitespace. Fixes bug 29635; bugfix on 0.2.3.18-rc.
  4197. o Minor bugfixes (logging):
  4198. - Do not log a warning when running with an OpenSSL version other
  4199. than the one Tor was compiled with, if the two versions should be
  4200. compatible. Previously, we would warn whenever the version was
  4201. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  4202. - Warn operators when the MyFamily option is set but ContactInfo is
  4203. missing, as the latter should be set too. Fixes bug 25110; bugfix
  4204. on 0.3.3.1-alpha.
  4205. o Minor bugfixes (memory leak):
  4206. - Avoid a minor memory leak that could occur on relays when failing
  4207. to create a "keys" directory. Fixes bug 30148; bugfix
  4208. on 0.3.3.1-alpha.
  4209. o Minor bugfixes (onion services):
  4210. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  4211. implemenation) when failing to load an onion service client
  4212. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  4213. - When refusing to launch a controller's HSFETCH request because of
  4214. rate-limiting, respond to the controller with a new response,
  4215. "QUERY_RATE_LIMITED". Previously, we would log QUERY_NO_HSDIR for
  4216. this case. Fixes bug 28269; bugfix on 0.3.1.1-alpha. Patch by
  4217. Neel Chauhan.
  4218. - When relaunching a circuit to a rendezvous service, mark the
  4219. circuit as needing high-uptime routers as appropriate. Fixes bug
  4220. 17357; bugfix on 0.1.0.1-rc. Patch by Neel Chauhan.
  4221. - Stop ignoring IPv6 link specifiers sent to v3 onion services.
  4222. (IPv6 support for v3 onion services is still incomplete: see
  4223. ticket 23493 for details.) Fixes bug 23588; bugfix on
  4224. 0.3.2.1-alpha. Patch by Neel Chauhan.
  4225. o Minor bugfixes (onion services, performance):
  4226. - When building circuits to onion services, call tor_addr_parse()
  4227. less often. Previously, we called tor_addr_parse() in
  4228. circuit_is_acceptable() even if its output wasn't used. This
  4229. change should improve performance when building circuits. Fixes
  4230. bug 22210; bugfix on 0.2.8.12. Patch by Neel Chauhan.
  4231. o Minor bugfixes (performance):
  4232. - When checking whether a node is a bridge, use a fast check to make
  4233. sure that its identity is set. Previously, we used a constant-time
  4234. check, which is not necessary in this case. Fixes bug 30308;
  4235. bugfix on 0.3.5.1-alpha.
  4236. o Minor bugfixes (pluggable transports):
  4237. - Tor now sets TOR_PT_EXIT_ON_STDIN_CLOSE=1 for client transports as
  4238. well as servers. Fixes bug 25614; bugfix on 0.2.7.1-alpha.
  4239. o Minor bugfixes (probability distributions):
  4240. - Refactor and improve parts of the probability distribution code
  4241. that made Coverity complain. Fixes bug 29805; bugfix
  4242. on 0.4.0.1-alpha.
  4243. o Minor bugfixes (python):
  4244. - Stop assuming that /usr/bin/python3 exists. For scripts that work
  4245. with python2, use /usr/bin/python. Otherwise, use /usr/bin/env
  4246. python3. Fixes bug 29913; bugfix on 0.2.5.3-alpha.
  4247. o Minor bugfixes (relay):
  4248. - When running as a relay, if IPv6Exit is set to 1 while ExitRelay
  4249. is auto, act as if ExitRelay is 1. Previously, we would ignore
  4250. IPv6Exit if ExitRelay was 0 or auto. Fixes bug 29613; bugfix on
  4251. 0.3.5.1-alpha. Patch by Neel Chauhan.
  4252. o Minor bugfixes (stats):
  4253. - When ExtraInfoStatistics is 0, stop including bandwidth usage
  4254. statistics, GeoIPFile hashes, ServerTransportPlugin lines, and
  4255. bridge statistics by country in extra-info documents. Fixes bug
  4256. 29018; bugfix on 0.2.4.1-alpha.
  4257. o Minor bugfixes (testing):
  4258. - Call setrlimit() to disable core dumps in test_bt_cl.c. Previously
  4259. we used `ulimit -c` in test_bt.sh, which violates POSIX shell
  4260. compatibility. Fixes bug 29061; bugfix on 0.3.5.1-alpha.
  4261. - Fix some incorrect code in the v3 onion service unit tests. Fixes
  4262. bug 29243; bugfix on 0.3.2.1-alpha.
  4263. - In the "routerkeys/*" tests, check the return values of mkdir()
  4264. for possible failures. Fixes bug 29939; bugfix on 0.2.7.2-alpha.
  4265. Found by Coverity as CID 1444254.
  4266. - Split test_utils_general() into several smaller test functions.
  4267. This makes it easier to perform resource deallocation on assert
  4268. failure, and fixes Coverity warnings CID 1444117 and CID 1444118.
  4269. Fixes bug 29823; bugfix on 0.2.9.1-alpha.
  4270. o Minor bugfixes (tor-resolve):
  4271. - Fix a memory leak in tor-resolve that could happen if Tor gave it
  4272. a malformed SOCKS response. (Memory leaks in tor-resolve don't
  4273. actually matter, but it's good to fix them anyway.) Fixes bug
  4274. 30151; bugfix on 0.4.0.1-alpha.
  4275. o Code simplification and refactoring:
  4276. - Abstract out the low-level formatting of replies on the control
  4277. port. Implements ticket 30007.
  4278. - Add several assertions in an attempt to fix some Coverity
  4279. warnings. Closes ticket 30149.
  4280. - Introduce a connection_dir_buf_add() helper function that checks
  4281. for compress_state of dir_connection_t and automatically writes a
  4282. string to directory connection with or without compression.
  4283. Resolves issue 28816.
  4284. - Make the base32_decode() API return the number of bytes written,
  4285. for consistency with base64_decode(). Closes ticket 28913.
  4286. - Move most relay-only periodic events out of mainloop.c into the
  4287. relay subsystem. Closes ticket 30414.
  4288. - Refactor and encapsulate parts of the codebase that manipulate
  4289. crypt_path_t objects. Resolves issue 30236.
  4290. - Refactor several places in our code that Coverity incorrectly
  4291. believed might have memory leaks. Closes ticket 30147.
  4292. - Remove redundant return values in crypto_format, and the
  4293. associated return value checks elsewhere in the code. Make the
  4294. implementations in crypto_format consistent, and remove redundant
  4295. code. Resolves ticket 29660.
  4296. - Rename tor_mem_is_zero() to fast_mem_is_zero(), to emphasize that
  4297. it is not a constant-time function. Closes ticket 30309.
  4298. - Replace hs_desc_link_specifier_t with link_specifier_t, and remove
  4299. all hs_desc_link_specifier_t-specific code. Fixes bug 22781;
  4300. bugfix on 0.3.2.1-alpha.
  4301. - Simplify v3 onion service link specifier handling code. Fixes bug
  4302. 23576; bugfix on 0.3.2.1-alpha.
  4303. - Split crypto_digest.c into NSS code, OpenSSL code, and shared
  4304. code. Resolves ticket 29108.
  4305. - Split control.c into several submodules, in preparation for
  4306. distributing its current responsibilities throughout the codebase.
  4307. Closes ticket 29894.
  4308. - Start to move responsibility for knowing about periodic events to
  4309. the appropriate subsystems, so that the mainloop doesn't need to
  4310. know all the periodic events in the rest of the codebase.
  4311. Implements tickets 30293 and 30294.
  4312. o Documentation:
  4313. - Document how to find git commits and tags for bug fixes in
  4314. CodingStandards.md. Update some file documentation. Closes
  4315. ticket 30261.
  4316. o Removed features:
  4317. - Remove the linux-tor-prio.sh script from contrib/operator-tools
  4318. directory. Resolves issue 29434.
  4319. - Remove the obsolete OpenSUSE initscript. Resolves issue 30076.
  4320. - Remove the obsolete script at contrib/dist/tor.sh.in. Resolves
  4321. issue 30075.
  4322. o Code simplification and refactoring (shell scripts):
  4323. - Clean up many of our shell scripts to fix shellcheck warnings.
  4324. These include autogen.sh (ticket 26069), test_keygen.sh (ticket
  4325. 29062), test_switch_id.sh (ticket 29065), test_rebind.sh (ticket
  4326. 29063), src/test/fuzz/minimize.sh (ticket 30079), test_rust.sh
  4327. (ticket 29064), torify (ticket 29070), asciidoc-helper.sh (29926),
  4328. fuzz_multi.sh (30077), fuzz_static_testcases.sh (ticket 29059),
  4329. nagios-check-tor-authority-cert (ticket 29071),
  4330. src/test/fuzz/fixup_filenames.sh (ticket 30078), test-network.sh
  4331. (ticket 29060), test_key_expiration.sh (ticket 30002),
  4332. zero_length_keys.sh (ticket 29068), and test_workqueue_*.sh
  4333. (ticket 29067).
  4334. o Testing (chutney):
  4335. - In "make test-network-all", test IPv6-only v3 single onion
  4336. services, using the chutney network single-onion-v23-ipv6-md.
  4337. Closes ticket 27251.
  4338. Changes in version 0.4.0.5 - 2019-05-02
  4339. This is the first stable release in the 0.4.0.x series. It contains
  4340. improvements for power management and bootstrap reporting, as well as
  4341. preliminary backend support for circuit padding to prevent some kinds
  4342. of traffic analysis. It also continues our work in refactoring Tor for
  4343. long-term maintainability.
  4344. Per our support policy, we will support the 0.4.0.x series for nine
  4345. months, or until three months after the release of a stable 0.4.1.x:
  4346. whichever is longer. If you need longer-term support, please stick
  4347. with 0.3.5.x, which will we plan to support until Feb 2022.
  4348. Below are the changes since 0.4.0.4-rc. For a complete list of changes
  4349. since 0.3.5.7, see the ReleaseNotes file.
  4350. o Minor features (continuous integration):
  4351. - In Travis, tell timelimit to use stem's backtrace signals, and
  4352. launch python directly from timelimit, so python receives the
  4353. signals from timelimit, rather than make. Closes ticket 30117.
  4354. o Minor features (diagnostic):
  4355. - Add more diagnostic log messages in an attempt to solve the issue
  4356. of NUL bytes appearing in a microdescriptor cache. Related to
  4357. ticket 28223.
  4358. o Minor features (testing):
  4359. - Use the approx_time() function when setting the "Expires" header
  4360. in directory replies, to make them more testable. Needed for
  4361. ticket 30001.
  4362. o Minor bugfixes (rust):
  4363. - Abort on panic in all build profiles, instead of potentially
  4364. unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
  4365. o Minor bugfixes (shellcheck):
  4366. - Look for scripts in their correct locations during "make
  4367. shellcheck". Previously we had looked in the wrong place during
  4368. out-of-tree builds. Fixes bug 30263; bugfix on 0.4.0.1-alpha.
  4369. o Minor bugfixes (testing):
  4370. - Check the time in the "Expires" header using approx_time(). Fixes
  4371. bug 30001; bugfix on 0.4.0.4-rc.
  4372. o Minor bugfixes (UI):
  4373. - Lower log level of unlink() errors during bootstrap. Fixes bug
  4374. 29930; bugfix on 0.4.0.1-alpha.
  4375. Changes in version 0.4.0.4-rc - 2019-04-11
  4376. Tor 0.4.0.4-rc is the first release candidate in its series; it fixes
  4377. several bugs from earlier versions, including some that had affected
  4378. stability, and one that prevented relays from working with NSS.
  4379. o Major bugfixes (NSS, relay):
  4380. - When running with NSS, disable TLS 1.2 ciphersuites that use
  4381. SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
  4382. these ciphersuites don't work -- which caused relays to fail to
  4383. handshake with one another when these ciphersuites were enabled.
  4384. Fixes bug 29241; bugfix on 0.3.5.1-alpha.
  4385. o Minor features (bandwidth authority):
  4386. - Make bandwidth authorities ignore relays that are reported in the
  4387. bandwidth file with the flag "vote=0". This change allows us to
  4388. report unmeasured relays for diagnostic reasons without including
  4389. their bandwidth in the bandwidth authorities' vote. Closes
  4390. ticket 29806.
  4391. - When a directory authority is using a bandwidth file to obtain the
  4392. bandwidth values that will be included in the next vote, serve
  4393. this bandwidth file at /tor/status-vote/next/bandwidth. Closes
  4394. ticket 21377.
  4395. o Minor features (circuit padding):
  4396. - Stop warning about undefined behavior in the probability
  4397. distribution tests. Float division by zero may technically be
  4398. undefined behavior in C, but it's well defined in IEEE 754.
  4399. Partial backport of 29298. Closes ticket 29527; bugfix
  4400. on 0.4.0.1-alpha.
  4401. o Minor features (continuous integration):
  4402. - On Travis Rust builds, cleanup Rust registry and refrain from
  4403. caching the "target/" directory to speed up builds. Resolves
  4404. issue 29962.
  4405. o Minor features (dormant mode):
  4406. - Add a DormantCanceledByStartup option to tell Tor that it should
  4407. treat a startup event as cancelling any previous dormant state.
  4408. Integrators should use this option with caution: it should only be
  4409. used if Tor is being started because of something that the user
  4410. did, and not if Tor is being automatically started in the
  4411. background. Closes ticket 29357.
  4412. o Minor features (geoip):
  4413. - Update geoip and geoip6 to the April 2 2019 Maxmind GeoLite2
  4414. Country database. Closes ticket 29992.
  4415. o Minor features (NSS, diagnostic):
  4416. - Try to log an error from NSS (if there is any) and a more useful
  4417. description of our situation if we are using NSS and a call to
  4418. SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
  4419. o Minor bugfixes (security):
  4420. - Fix a potential double free bug when reading huge bandwidth files.
  4421. The issue is not exploitable in the current Tor network because
  4422. the vulnerable code is only reached when directory authorities
  4423. read bandwidth files, but bandwidth files come from a trusted
  4424. source (usually the authorities themselves). Furthermore, the
  4425. issue is only exploitable in rare (non-POSIX) 32-bit architectures,
  4426. which are not used by any of the current authorities. Fixes bug
  4427. 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
  4428. Tobias Stoeckmann.
  4429. - Verify in more places that we are not about to create a buffer
  4430. with more than INT_MAX bytes, to avoid possible OOB access in the
  4431. event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
  4432. fixed by Tobias Stoeckmann.
  4433. o Minor bugfix (continuous integration):
  4434. - Reset coverage state on disk after Travis CI has finished. This
  4435. should prevent future coverage merge errors from causing the test
  4436. suite for the "process" subsystem to fail. The process subsystem
  4437. was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
  4438. on 0.2.9.15.
  4439. - Terminate test-stem if it takes more than 9.5 minutes to run.
  4440. (Travis terminates the job after 10 minutes of no output.)
  4441. Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
  4442. o Minor bugfixes (bootstrap reporting):
  4443. - During bootstrap reporting, correctly distinguish pluggable
  4444. transports from plain proxies. Fixes bug 28925; bugfix
  4445. on 0.4.0.1-alpha.
  4446. o Minor bugfixes (C correctness):
  4447. - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
  4448. 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
  4449. CID 1444119.
  4450. o Minor bugfixes (circuitpadding testing):
  4451. - Minor tweaks to avoid rare test failures related to timers and
  4452. monotonic time. Fixes bug 29500; bugfix on 0.4.0.1-alpha.
  4453. o Minor bugfixes (directory authorities):
  4454. - Actually include the bandwidth-file-digest line in directory
  4455. authority votes. Fixes bug 29959; bugfix on 0.4.0.2-alpha.
  4456. o Minor bugfixes (logging):
  4457. - On Windows, when errors cause us to reload a consensus from disk,
  4458. tell the user that we are retrying at log level "notice".
  4459. Previously we only logged this information at "info", which was
  4460. confusing because the errors themselves were logged at "warning".
  4461. Improves previous fix for 28614. Fixes bug 30004; bugfix
  4462. on 0.4.0.2-alpha.
  4463. o Minor bugfixes (pluggable transports):
  4464. - Restore old behavior when it comes to discovering the path of a
  4465. given Pluggable Transport executable file. A change in
  4466. 0.4.0.1-alpha had broken this behavior on paths containing a
  4467. space. Fixes bug 29874; bugfix on 0.4.0.1-alpha.
  4468. o Minor bugfixes (testing):
  4469. - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
  4470. recent test-network.sh to use new chutney features in CI. Fixes
  4471. bug 29703; bugfix on 0.2.9.1-alpha.
  4472. - Fix a test failure on Windows caused by an unexpected "BUG"
  4473. warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
  4474. on 0.2.9.3-alpha.
  4475. o Minor bugfixes (TLS protocol):
  4476. - When classifying a client's selection of TLS ciphers, if the
  4477. client ciphers are not yet available, do not cache the result.
  4478. Previously, we had cached the unavailability of the cipher list
  4479. and never looked again, which in turn led us to assume that the
  4480. client only supported the ancient V1 link protocol. This, in turn,
  4481. was causing Stem integration tests to stall in some cases. Fixes
  4482. bug 30021; bugfix on 0.2.4.8-alpha.
  4483. o Code simplification and refactoring:
  4484. - Introduce a connection_dir_buf_add() helper function that detects
  4485. whether compression is in use, and adds a string accordingly.
  4486. Resolves issue 28816.
  4487. - Refactor handle_get_next_bandwidth() to use
  4488. connection_dir_buf_add(). Implements ticket 29897.
  4489. o Documentation:
  4490. - Clarify that Tor performs stream isolation among *Port listeners
  4491. by default. Resolves issue 29121.
  4492. Changes in version 0.4.0.3-alpha - 2019-03-22
  4493. Tor 0.4.0.3-alpha is the third in its series; it fixes several small
  4494. bugs from earlier versions.
  4495. o Minor features (address selection):
  4496. - Treat the subnet 100.64.0.0/10 as public for some purposes;
  4497. private for others. This subnet is the RFC 6598 (Carrier Grade
  4498. NAT) IP range, and is deployed by many ISPs as an alternative to
  4499. RFC 1918 that does not break existing internal networks. Tor now
  4500. blocks SOCKS and control ports on these addresses and warns users
  4501. if client ports or ExtORPorts are listening on a RFC 6598 address.
  4502. Closes ticket 28525. Patch by Neel Chauhan.
  4503. o Minor features (geoip):
  4504. - Update geoip and geoip6 to the March 4 2019 Maxmind GeoLite2
  4505. Country database. Closes ticket 29666.
  4506. o Minor bugfixes (circuitpadding):
  4507. - Inspect the circuit-level cell queue before sending padding, to
  4508. avoid sending padding when too much data is queued. Fixes bug
  4509. 29204; bugfix on 0.4.0.1-alpha.
  4510. o Minor bugfixes (logging):
  4511. - Correct a misleading error message when IPv4Only or IPv6Only is
  4512. used but the resolved address can not be interpreted as an address
  4513. of the specified IP version. Fixes bug 13221; bugfix on
  4514. 0.2.3.9-alpha. Patch from Kris Katterjohn.
  4515. - Log the correct port number for listening sockets when "auto" is
  4516. used to let Tor pick the port number. Previously, port 0 was
  4517. logged instead of the actual port number. Fixes bug 29144; bugfix
  4518. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  4519. - Stop logging a BUG() warning when Tor is waiting for exit
  4520. descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
  4521. o Minor bugfixes (memory management):
  4522. - Refactor the shared random state's memory management so that it
  4523. actually takes ownership of the shared random value pointers.
  4524. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
  4525. o Minor bugfixes (memory management, testing):
  4526. - Stop leaking parts of the shared random state in the shared-random
  4527. unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
  4528. o Minor bugfixes (pluggable transports):
  4529. - Fix an assertion failure crash bug when a pluggable transport is
  4530. terminated during the bootstrap phase. Fixes bug 29562; bugfix
  4531. on 0.4.0.1-alpha.
  4532. o Minor bugfixes (Rust, protover):
  4533. - Add a missing "Padding" value to the Rust implementation of
  4534. protover. Fixes bug 29631; bugfix on 0.4.0.1-alpha.
  4535. o Minor bugfixes (single onion services):
  4536. - Allow connections to single onion services to remain idle without
  4537. being disconnected. Previously, relays acting as rendezvous points
  4538. for single onion services were mistakenly closing idle rendezvous
  4539. circuits after 60 seconds, thinking that they were unused
  4540. directory-fetching circuits that had served their purpose. Fixes
  4541. bug 29665; bugfix on 0.2.1.26.
  4542. o Minor bugfixes (stats):
  4543. - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
  4544. relay and bridge extra-info documents. Fixes bug 29017; bugfix
  4545. on 0.3.1.1-alpha.
  4546. o Minor bugfixes (testing):
  4547. - Downgrade some LOG_ERR messages in the address/* tests to
  4548. warnings. The LOG_ERR messages were occurring when we had no
  4549. configured network. We were failing the unit tests, because we
  4550. backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
  4551. 29530; bugfix on 0.3.5.8.
  4552. - Fix our gcov wrapper script to look for object files at the
  4553. correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
  4554. - Decrease the false positive rate of stochastic probability
  4555. distribution tests. Fixes bug 29693; bugfix on 0.4.0.1-alpha.
  4556. o Minor bugfixes (Windows, CI):
  4557. - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
  4558. Windows Server 2012 R2 job. The remaining 2 jobs still provide
  4559. coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
  4560. fast_finish, so failed jobs terminate the build immediately. Fixes
  4561. bug 29601; bugfix on 0.3.5.4-alpha.
  4562. Changes in version 0.3.5.8 - 2019-02-21
  4563. Tor 0.3.5.8 backports several fixes from later releases, including fixes
  4564. for an annoying SOCKS-parsing bug that affected users in earlier 0.3.5.x
  4565. releases.
  4566. It also includes a fix for a medium-severity security bug affecting Tor
  4567. 0.3.2.1-alpha and later. All Tor instances running an affected release
  4568. should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  4569. o Major bugfixes (cell scheduler, KIST, security):
  4570. - Make KIST consider the outbuf length when computing what it can
  4571. put in the outbuf. Previously, KIST acted as though the outbuf
  4572. were empty, which could lead to the outbuf becoming too full. It
  4573. is possible that an attacker could exploit this bug to cause a Tor
  4574. client or relay to run out of memory and crash. Fixes bug 29168;
  4575. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  4576. TROVE-2019-001 and CVE-2019-8955.
  4577. o Major bugfixes (networking, backport from 0.4.0.2-alpha):
  4578. - Gracefully handle empty username/password fields in SOCKS5
  4579. username/password auth message and allow SOCKS5 handshake to
  4580. continue. Previously, we had rejected these handshakes, breaking
  4581. certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
  4582. o Minor features (compilation, backport from 0.4.0.2-alpha):
  4583. - Compile correctly when OpenSSL is built with engine support
  4584. disabled, or with deprecated APIs disabled. Closes ticket 29026.
  4585. Patches from "Mangix".
  4586. o Minor features (geoip):
  4587. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  4588. Country database. Closes ticket 29478.
  4589. o Minor features (testing, backport from 0.4.0.2-alpha):
  4590. - Treat all unexpected ERR and BUG messages as test failures. Closes
  4591. ticket 28668.
  4592. o Minor bugfixes (onion service v3, client, backport from 0.4.0.1-alpha):
  4593. - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
  4594. connection waiting for a descriptor that we actually have in the
  4595. cache. It turns out that this can actually happen, though it is
  4596. rare. Now, tor will recover and retry the descriptor. Fixes bug
  4597. 28669; bugfix on 0.3.2.4-alpha.
  4598. o Minor bugfixes (IPv6, backport from 0.4.0.1-alpha):
  4599. - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
  4600. IPv6 socket was bound using an address family of AF_INET instead
  4601. of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
  4602. Kris Katterjohn.
  4603. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  4604. - Update Cargo.lock file to match the version made by the latest
  4605. version of Rust, so that "make distcheck" will pass again. Fixes
  4606. bug 29244; bugfix on 0.3.3.4-alpha.
  4607. o Minor bugfixes (client, clock skew, backport from 0.4.0.1-alpha):
  4608. - Select guards even if the consensus has expired, as long as the
  4609. consensus is still reasonably live. Fixes bug 24661; bugfix
  4610. on 0.3.0.1-alpha.
  4611. o Minor bugfixes (compilation, backport from 0.4.0.1-alpha):
  4612. - Compile correctly on OpenBSD; previously, we were missing some
  4613. headers required in order to detect it properly. Fixes bug 28938;
  4614. bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  4615. o Minor bugfixes (documentation, backport from 0.4.0.2-alpha):
  4616. - Describe the contents of the v3 onion service client authorization
  4617. files correctly: They hold public keys, not private keys. Fixes
  4618. bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
  4619. o Minor bugfixes (logging, backport from 0.4.0.1-alpha):
  4620. - Rework rep_hist_log_link_protocol_counts() to iterate through all
  4621. link protocol versions when logging incoming/outgoing connection
  4622. counts. Tor no longer skips version 5, and we won't have to
  4623. remember to update this function when new link protocol version is
  4624. developed. Fixes bug 28920; bugfix on 0.2.6.10.
  4625. o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
  4626. - Log more information at "warning" level when unable to read a
  4627. private key; log more information at "info" level when unable to
  4628. read a public key. We had warnings here before, but they were lost
  4629. during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
  4630. o Minor bugfixes (misc, backport from 0.4.0.2-alpha):
  4631. - The amount of total available physical memory is now determined
  4632. using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
  4633. when it is defined and a 64-bit variant is not available. Fixes
  4634. bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
  4635. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  4636. - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
  4637. than one private key for a hidden service. Fixes bug 29040; bugfix
  4638. on 0.3.5.1-alpha.
  4639. - In hs_cache_store_as_client() log an HSDesc we failed to parse at
  4640. "debug" level. Tor used to log it as a warning, which caused very
  4641. long log lines to appear for some users. Fixes bug 29135; bugfix
  4642. on 0.3.2.1-alpha.
  4643. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  4644. as a warning. Instead, log it as a protocol warning, because there
  4645. is nothing that relay operators can do to fix it. Fixes bug 29029;
  4646. bugfix on 0.2.5.7-rc.
  4647. o Minor bugfixes (tests, directory clients, backport from 0.4.0.1-alpha):
  4648. - Mark outdated dirservers when Tor only has a reasonably live
  4649. consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
  4650. o Minor bugfixes (tests, backport from 0.4.0.2-alpha):
  4651. - Detect and suppress "bug" warnings from the util/time test on
  4652. Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
  4653. - Do not log an error-level message if we fail to find an IPv6
  4654. network interface from the unit tests. Fixes bug 29160; bugfix
  4655. on 0.2.7.3-rc.
  4656. o Minor bugfixes (usability, backport from 0.4.0.1-alpha):
  4657. - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
  4658. Some users took this phrasing to mean that the mentioned guard was
  4659. under their control or responsibility, which it is not. Fixes bug
  4660. 28895; bugfix on Tor 0.3.0.1-alpha.
  4661. Changes in version 0.3.4.11 - 2019-02-21
  4662. Tor 0.3.4.11 is the third stable release in its series. It includes
  4663. a fix for a medium-severity security bug affecting Tor 0.3.2.1-alpha and
  4664. later. All Tor instances running an affected release should upgrade to
  4665. 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  4666. o Major bugfixes (cell scheduler, KIST, security):
  4667. - Make KIST consider the outbuf length when computing what it can
  4668. put in the outbuf. Previously, KIST acted as though the outbuf
  4669. were empty, which could lead to the outbuf becoming too full. It
  4670. is possible that an attacker could exploit this bug to cause a Tor
  4671. client or relay to run out of memory and crash. Fixes bug 29168;
  4672. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  4673. TROVE-2019-001 and CVE-2019-8955.
  4674. o Minor features (geoip):
  4675. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  4676. Country database. Closes ticket 29478.
  4677. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  4678. - Update Cargo.lock file to match the version made by the latest
  4679. version of Rust, so that "make distcheck" will pass again. Fixes
  4680. bug 29244; bugfix on 0.3.3.4-alpha.
  4681. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  4682. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  4683. as a warning. Instead, log it as a protocol warning, because there
  4684. is nothing that relay operators can do to fix it. Fixes bug 29029;
  4685. bugfix on 0.2.5.7-rc.
  4686. Changes in version 0.3.3.12 - 2019-02-21
  4687. Tor 0.3.3.12 fixes a medium-severity security bug affecting Tor
  4688. 0.3.2.1-alpha and later. All Tor instances running an affected release
  4689. should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  4690. This release marks the end of support for the Tor 0.3.3.x series. We
  4691. recommend that users switch to either the Tor 0.3.4 series (supported
  4692. until at least 10 June 2019), or the Tor 0.3.5 series, which will
  4693. receive long-term support until at least 1 Feb 2022.
  4694. o Major bugfixes (cell scheduler, KIST, security):
  4695. - Make KIST consider the outbuf length when computing what it can
  4696. put in the outbuf. Previously, KIST acted as though the outbuf
  4697. were empty, which could lead to the outbuf becoming too full. It
  4698. is possible that an attacker could exploit this bug to cause a Tor
  4699. client or relay to run out of memory and crash. Fixes bug 29168;
  4700. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  4701. TROVE-2019-001 and CVE-2019-8955.
  4702. o Minor features (geoip):
  4703. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  4704. Country database. Closes ticket 29478.
  4705. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  4706. - Update Cargo.lock file to match the version made by the latest
  4707. version of Rust, so that "make distcheck" will pass again. Fixes
  4708. bug 29244; bugfix on 0.3.3.4-alpha.
  4709. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  4710. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  4711. as a warning. Instead, log it as a protocol warning, because there
  4712. is nothing that relay operators can do to fix it. Fixes bug 29029;
  4713. bugfix on 0.2.5.7-rc.
  4714. Changes in version 0.4.0.2-alpha - 2019-02-21
  4715. Tor 0.4.0.2-alpha is the second alpha in its series; it fixes several
  4716. bugs from earlier versions, including several that had broken
  4717. backward compatibility.
  4718. It also includes a fix for a medium-severity security bug affecting Tor
  4719. 0.3.2.1-alpha and later. All Tor instances running an affected release
  4720. should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  4721. o Major bugfixes (cell scheduler, KIST, security):
  4722. - Make KIST consider the outbuf length when computing what it can
  4723. put in the outbuf. Previously, KIST acted as though the outbuf
  4724. were empty, which could lead to the outbuf becoming too full. It
  4725. is possible that an attacker could exploit this bug to cause a Tor
  4726. client or relay to run out of memory and crash. Fixes bug 29168;
  4727. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  4728. TROVE-2019-001 and CVE-2019-8955.
  4729. o Major bugfixes (networking):
  4730. - Gracefully handle empty username/password fields in SOCKS5
  4731. username/password auth messsage and allow SOCKS5 handshake to
  4732. continue. Previously, we had rejected these handshakes, breaking
  4733. certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
  4734. o Major bugfixes (windows, startup):
  4735. - When reading a consensus file from disk, detect whether it was
  4736. written in text mode, and re-read it in text mode if so. Always
  4737. write consensus files in binary mode so that we can map them into
  4738. memory later. Previously, we had written in text mode, which
  4739. confused us when we tried to map the file on windows. Fixes bug
  4740. 28614; bugfix on 0.4.0.1-alpha.
  4741. o Minor features (compilation):
  4742. - Compile correctly when OpenSSL is built with engine support
  4743. disabled, or with deprecated APIs disabled. Closes ticket 29026.
  4744. Patches from "Mangix".
  4745. o Minor features (developer tooling):
  4746. - Check that bugfix versions in changes files look like Tor versions
  4747. from the versions spec. Warn when bugfixes claim to be on a future
  4748. release. Closes ticket 27761.
  4749. - Provide a git pre-commit hook that disallows committing if we have
  4750. any failures in our code and changelog formatting checks. It is
  4751. now available in scripts/maint/pre-commit.git-hook. Implements
  4752. feature 28976.
  4753. o Minor features (directory authority):
  4754. - When a directory authority is using a bandwidth file to obtain
  4755. bandwidth values, include the digest of that file in the vote.
  4756. Closes ticket 26698.
  4757. o Minor features (geoip):
  4758. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  4759. Country database. Closes ticket 29478.
  4760. o Minor features (testing):
  4761. - Treat all unexpected ERR and BUG messages as test failures. Closes
  4762. ticket 28668.
  4763. o Minor bugfixes (build, compatibility, rust):
  4764. - Update Cargo.lock file to match the version made by the latest
  4765. version of Rust, so that "make distcheck" will pass again. Fixes
  4766. bug 29244; bugfix on 0.3.3.4-alpha.
  4767. o Minor bugfixes (compilation):
  4768. - Fix compilation warnings in test_circuitpadding.c. Fixes bug
  4769. 29169; bugfix on 0.4.0.1-alpha.
  4770. - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
  4771. 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
  4772. o Minor bugfixes (documentation):
  4773. - Describe the contents of the v3 onion service client authorization
  4774. files correctly: They hold public keys, not private keys. Fixes
  4775. bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
  4776. o Minor bugfixes (linux seccomp sandbox):
  4777. - Fix startup crash when experimental sandbox support is enabled.
  4778. Fixes bug 29150; bugfix on 0.4.0.1-alpha. Patch by Peter Gerber.
  4779. o Minor bugfixes (logging):
  4780. - Avoid logging that we are relaxing a circuit timeout when that
  4781. timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
  4782. - Log more information at "warning" level when unable to read a
  4783. private key; log more information at "info" level when unable to
  4784. read a public key. We had warnings here before, but they were lost
  4785. during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
  4786. o Minor bugfixes (misc):
  4787. - The amount of total available physical memory is now determined
  4788. using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
  4789. when it is defined and a 64-bit variant is not available. Fixes
  4790. bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
  4791. o Minor bugfixes (onion services):
  4792. - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
  4793. than one private key for a hidden service. Fixes bug 29040; bugfix
  4794. on 0.3.5.1-alpha.
  4795. - In hs_cache_store_as_client() log an HSDesc we failed to parse at
  4796. "debug" level. Tor used to log it as a warning, which caused very
  4797. long log lines to appear for some users. Fixes bug 29135; bugfix
  4798. on 0.3.2.1-alpha.
  4799. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  4800. as a warning. Instead, log it as a protocol warning, because there
  4801. is nothing that relay operators can do to fix it. Fixes bug 29029;
  4802. bugfix on 0.2.5.7-rc.
  4803. o Minor bugfixes (scheduler):
  4804. - When re-adding channels to the pending list, check the correct
  4805. channel's sched_heap_idx. This issue has had no effect in mainline
  4806. Tor, but could have led to bugs down the road in improved versions
  4807. of our circuit scheduling code. Fixes bug 29508; bugfix
  4808. on 0.3.2.10.
  4809. o Minor bugfixes (tests):
  4810. - Fix intermittent failures on an adaptive padding test. Fixes one
  4811. case of bug 29122; bugfix on 0.4.0.1-alpha.
  4812. - Disable an unstable circuit-padding test that was failing
  4813. intermittently because of an ill-defined small histogram. Such
  4814. histograms will be allowed again after 29298 is implemented. Fixes
  4815. a second case of bug 29122; bugfix on 0.4.0.1-alpha.
  4816. - Detect and suppress "bug" warnings from the util/time test on
  4817. Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
  4818. - Do not log an error-level message if we fail to find an IPv6
  4819. network interface from the unit tests. Fixes bug 29160; bugfix
  4820. on 0.2.7.3-rc.
  4821. o Documentation:
  4822. - In the manpage entry describing MapAddress torrc setting, use
  4823. example IP addresses from ranges specified for use in documentation
  4824. by RFC 5737. Resolves issue 28623.
  4825. o Removed features:
  4826. - Remove the old check-tor script. Resolves issue 29072.
  4827. Changes in version 0.4.0.1-alpha - 2019-01-18
  4828. Tor 0.4.0.1-alpha is the first release in the new 0.4.0.x series. It
  4829. introduces improved features for power and bandwidth conservation,
  4830. more accurate reporting of bootstrap progress for user interfaces, and
  4831. an experimental backend for an exciting new adaptive padding feature.
  4832. There is also the usual assortment of bugfixes and minor features, all
  4833. described below.
  4834. o Major features (battery management, client, dormant mode):
  4835. - When Tor is running as a client, and it is unused for a long time,
  4836. it can now enter a "dormant" state. When Tor is dormant, it avoids
  4837. network and CPU activity until it is reawoken either by a user
  4838. request or by a controller command. For more information, see the
  4839. configuration options starting with "Dormant". Implements tickets
  4840. 2149 and 28335.
  4841. - The client's memory of whether it is "dormant", and how long it
  4842. has spent idle, persists across invocations. Implements
  4843. ticket 28624.
  4844. - There is a DormantOnFirstStartup option that integrators can use
  4845. if they expect that in many cases, Tor will be installed but
  4846. not used.
  4847. o Major features (bootstrap reporting):
  4848. - When reporting bootstrap progress, report the first connection
  4849. uniformly, regardless of whether it's a connection for building
  4850. application circuits. This allows finer-grained reporting of early
  4851. progress than previously possible, with the improvements of ticket
  4852. 27169. Closes tickets 27167 and 27103. Addresses ticket 27308.
  4853. - When reporting bootstrap progress, treat connecting to a proxy or
  4854. pluggable transport as separate from having successfully used that
  4855. proxy or pluggable transport to connect to a relay. Closes tickets
  4856. 27100 and 28884.
  4857. o Major features (circuit padding):
  4858. - Implement preliminary support for the circuit padding portion of
  4859. Proposal 254. The implementation supports Adaptive Padding (aka
  4860. WTF-PAD) state machines for use between experimental clients and
  4861. relays. Support is also provided for APE-style state machines that
  4862. use probability distributions instead of histograms to specify
  4863. inter-packet delay. At the moment, Tor does not provide any
  4864. padding state machines that are used in normal operation: for now,
  4865. this feature exists solely for experimentation. Closes
  4866. ticket 28142.
  4867. o Major features (refactoring):
  4868. - Tor now uses an explicit list of its own subsystems when
  4869. initializing and shutting down. Previously, these systems were
  4870. managed implicitly in various places throughout the codebase.
  4871. (There may still be some subsystems using the old system.) Closes
  4872. ticket 28330.
  4873. o Minor features (bootstrap reporting):
  4874. - When reporting bootstrap progress, stop distinguishing between
  4875. situations where only internal paths are available and situations
  4876. where external paths are available. Previously, Tor would often
  4877. erroneously report that it had only internal paths. Closes
  4878. ticket 27402.
  4879. o Minor features (continuous integration):
  4880. - Log Python version during each Travis CI job. Resolves
  4881. issue 28551.
  4882. o Minor features (controller):
  4883. - Add a DROPOWNERSHIP command to undo the effects of TAKEOWNERSHIP.
  4884. Implements ticket 28843.
  4885. o Minor features (developer tooling):
  4886. - Provide a git hook script to prevent "fixup!" and "squash!"
  4887. commits from ending up in the master branch, as scripts/main/pre-
  4888. push.git-hook. Closes ticket 27993.
  4889. o Minor features (directory authority):
  4890. - Directory authorities support a new consensus algorithm, under
  4891. which the family lines in microdescriptors are encoded in a
  4892. canonical form. This change makes family lines more compressible
  4893. in transit, and on the client. Closes ticket 28266; implements
  4894. proposal 298.
  4895. o Minor features (directory authority, relay):
  4896. - Authorities now vote on a "StaleDesc" flag to indicate that a
  4897. relay's descriptor is so old that the relay should upload again
  4898. soon. Relays treat this flag as a signal to upload a new
  4899. descriptor. This flag will eventually let us remove the
  4900. 'published' date from routerstatus entries, and make our consensus
  4901. diffs much smaller. Closes ticket 26770; implements proposal 293.
  4902. o Minor features (fallback directory mirrors):
  4903. - Update the fallback whitelist based on operator opt-ins and opt-
  4904. outs. Closes ticket 24805, patch by Phoul.
  4905. o Minor features (FreeBSD):
  4906. - On FreeBSD-based systems, warn relay operators if the
  4907. "net.inet.ip.random_id" sysctl (IP ID randomization) is disabled.
  4908. Closes ticket 28518.
  4909. o Minor features (HTTP standards compliance):
  4910. - Stop sending the header "Content-type: application/octet-stream"
  4911. along with transparently compressed documents: this confused
  4912. browsers. Closes ticket 28100.
  4913. o Minor features (IPv6):
  4914. - We add an option ClientAutoIPv6ORPort, to make clients randomly
  4915. prefer a node's IPv4 or IPv6 ORPort. The random preference is set
  4916. every time a node is loaded from a new consensus or bridge config.
  4917. We expect that this option will enable clients to bootstrap more
  4918. quickly without having to determine whether they support IPv4,
  4919. IPv6, or both. Closes ticket 27490. Patch by Neel Chauhan.
  4920. - When using addrs_in_same_network_family(), avoid choosing circuit
  4921. paths that pass through the same IPv6 subnet more than once.
  4922. Previously, we only checked IPv4 subnets. Closes ticket 24393.
  4923. Patch by Neel Chauhan.
  4924. o Minor features (log messages):
  4925. - Improve log message in v3 onion services that could print out
  4926. negative revision counters. Closes ticket 27707. Patch
  4927. by "ffmancera".
  4928. o Minor features (memory usage):
  4929. - Save memory by storing microdescriptor family lists with a more
  4930. compact representation. Closes ticket 27359.
  4931. - Tor clients now use mmap() to read consensus files from disk, so
  4932. that they no longer need keep the full text of a consensus in
  4933. memory when parsing it or applying a diff. Closes ticket 27244.
  4934. o Minor features (parsing):
  4935. - Directory authorities now validate that router descriptors and
  4936. ExtraInfo documents are in a valid subset of UTF-8, and reject
  4937. them if they are not. Closes ticket 27367.
  4938. o Minor features (performance):
  4939. - Cache the results of summarize_protocol_flags(), so that we don't
  4940. have to parse the same protocol-versions string over and over.
  4941. This should save us a huge number of malloc calls on startup, and
  4942. may reduce memory fragmentation with some allocators. Closes
  4943. ticket 27225.
  4944. - Remove a needless memset() call from get_token_arguments, thereby
  4945. speeding up the tokenization of directory objects by about 20%.
  4946. Closes ticket 28852.
  4947. - Replace parse_short_policy() with a faster implementation, to
  4948. improve microdescriptor parsing time. Closes ticket 28853.
  4949. - Speed up directory parsing a little by avoiding use of the non-
  4950. inlined strcmp_len() function. Closes ticket 28856.
  4951. - Speed up microdescriptor parsing by about 30%, to help improve
  4952. startup time. Closes ticket 28839.
  4953. o Minor features (pluggable transports):
  4954. - Add support for emitting STATUS updates to Tor's control port from
  4955. a pluggable transport process. Closes ticket 28846.
  4956. - Add support for logging to Tor's logging subsystem from a
  4957. pluggable transport process. Closes ticket 28180.
  4958. o Minor features (process management):
  4959. - Add a new process API for handling child processes. This new API
  4960. allows Tor to have bi-directional communication with child
  4961. processes on both Unix and Windows. Closes ticket 28179.
  4962. - Use the subsystem manager to initialize and shut down the process
  4963. module. Closes ticket 28847.
  4964. o Minor features (relay):
  4965. - When listing relay families, list them in canonical form including
  4966. the relay's own identity, and try to give a more useful set of
  4967. warnings. Part of ticket 28266 and proposal 298.
  4968. o Minor features (required protocols):
  4969. - Before exiting because of a missing required protocol, Tor will
  4970. now check the publication time of the consensus, and not exit
  4971. unless the consensus is newer than the Tor program's own release
  4972. date. Previously, Tor would not check the consensus publication
  4973. time, and so might exit because of a missing protocol that might
  4974. no longer be required in a current consensus. Implements proposal
  4975. 297; closes ticket 27735.
  4976. o Minor features (testing):
  4977. - Allow a HeartbeatPeriod of less than 30 minutes in testing Tor
  4978. networks. Closes ticket 28840. Patch by Rob Jansen.
  4979. o Minor bugfixes (client, clock skew):
  4980. - Bootstrap successfully even when Tor's clock is behind the clocks
  4981. on the authorities. Fixes bug 28591; bugfix on 0.2.0.9-alpha.
  4982. - Select guards even if the consensus has expired, as long as the
  4983. consensus is still reasonably live. Fixes bug 24661; bugfix
  4984. on 0.3.0.1-alpha.
  4985. o Minor bugfixes (compilation):
  4986. - Compile correctly on OpenBSD; previously, we were missing some
  4987. headers required in order to detect it properly. Fixes bug 28938;
  4988. bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  4989. o Minor bugfixes (directory clients):
  4990. - Mark outdated dirservers when Tor only has a reasonably live
  4991. consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
  4992. o Minor bugfixes (directory mirrors):
  4993. - Even when a directory mirror's clock is behind the clocks on the
  4994. authorities, we now allow the mirror to serve "future"
  4995. consensuses. Fixes bug 28654; bugfix on 0.3.0.1-alpha.
  4996. o Minor bugfixes (DNS):
  4997. - Gracefully handle an empty or absent resolve.conf file by falling
  4998. back to using "localhost" as a DNS server (and hoping it works).
  4999. Previously, we would just stop running as an exit. Fixes bug
  5000. 21900; bugfix on 0.2.1.10-alpha.
  5001. o Minor bugfixes (guards):
  5002. - In count_acceptable_nodes(), the minimum number is now one bridge
  5003. or guard node, and two non-guard nodes for a circuit. Previously,
  5004. we had added up the sum of all nodes with a descriptor, but that
  5005. could cause us to build failing circuits when we had either too
  5006. many bridges or not enough guard nodes. Fixes bug 25885; bugfix on
  5007. 0.2.3.1-alpha. Patch by Neel Chauhan.
  5008. o Minor bugfixes (IPv6):
  5009. - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
  5010. IPv6 socket was bound using an address family of AF_INET instead
  5011. of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
  5012. Kris Katterjohn.
  5013. o Minor bugfixes (logging):
  5014. - Rework rep_hist_log_link_protocol_counts() to iterate through all
  5015. link protocol versions when logging incoming/outgoing connection
  5016. counts. Tor no longer skips version 5, and we won't have to
  5017. remember to update this function when new link protocol version is
  5018. developed. Fixes bug 28920; bugfix on 0.2.6.10.
  5019. o Minor bugfixes (networking):
  5020. - Introduce additional checks into tor_addr_parse() to reject
  5021. certain incorrect inputs that previously were not detected. Fixes
  5022. bug 23082; bugfix on 0.2.0.10-alpha.
  5023. o Minor bugfixes (onion service v3, client):
  5024. - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
  5025. connection waiting for a descriptor that we actually have in the
  5026. cache. It turns out that this can actually happen, though it is
  5027. rare. Now, tor will recover and retry the descriptor. Fixes bug
  5028. 28669; bugfix on 0.3.2.4-alpha.
  5029. o Minor bugfixes (periodic events):
  5030. - Refrain from calling routerlist_remove_old_routers() from
  5031. check_descriptor_callback(). Instead, create a new hourly periodic
  5032. event. Fixes bug 27929; bugfix on 0.2.8.1-alpha.
  5033. o Minor bugfixes (pluggable transports):
  5034. - Make sure that data is continously read from standard output and
  5035. standard error pipes of a pluggable transport child-process, to
  5036. avoid deadlocking when a pipe's buffer is full. Fixes bug 26360;
  5037. bugfix on 0.2.3.6-alpha.
  5038. o Minor bugfixes (unit tests):
  5039. - Instead of relying on hs_free_all() to clean up all onion service
  5040. objects in test_build_descriptors(), we now deallocate them one by
  5041. one. This lets Coverity know that we are not leaking memory there
  5042. and fixes CID 1442277. Fixes bug 28989; bugfix on 0.3.5.1-alpha.
  5043. o Minor bugfixes (usability):
  5044. - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
  5045. Some users took this phrasing to mean that the mentioned guard was
  5046. under their control or responsibility, which it is not. Fixes bug
  5047. 28895; bugfix on Tor 0.3.0.1-alpha.
  5048. o Code simplification and refactoring:
  5049. - Reimplement NETINFO cell parsing and generation to rely on
  5050. trunnel-generated wire format handling code. Closes ticket 27325.
  5051. - Remove unnecessary unsafe code from the Rust macro "cstr!". Closes
  5052. ticket 28077.
  5053. - Rework SOCKS wire format handling to rely on trunnel-generated
  5054. parsing/generation code. Resolves ticket 27620.
  5055. - Split out bootstrap progress reporting from control.c into a
  5056. separate file. Part of ticket 27402.
  5057. - The .may_include files that we use to describe our directory-by-
  5058. directory dependency structure now describe a noncircular
  5059. dependency graph over the directories that they cover. Our
  5060. checkIncludes.py tool now enforces this noncircularity. Closes
  5061. ticket 28362.
  5062. o Documentation:
  5063. - Mention that you cannot add a new onion service if Tor is already
  5064. running with Sandbox enabled. Closes ticket 28560.
  5065. - Improve ControlPort documentation. Mention that it accepts
  5066. address:port pairs, and can be used multiple times. Closes
  5067. ticket 28805.
  5068. - Document the exact output of "tor --version". Closes ticket 28889.
  5069. o Removed features:
  5070. - Stop responding to the 'GETINFO status/version/num-concurring' and
  5071. 'GETINFO status/version/num-versioning' control port commands, as
  5072. those were deprecated back in 0.2.0.30. Also stop listing them in
  5073. output of 'GETINFO info/names'. Resolves ticket 28757.
  5074. - The scripts used to generate and maintain the list of fallback
  5075. directories have been extracted into a new "fallback-scripts"
  5076. repository. Closes ticket 27914.
  5077. o Testing:
  5078. - Run shellcheck for scripts in the in scripts/ directory. Closes
  5079. ticket 28058.
  5080. - Add unit tests for tokenize_string() and get_next_token()
  5081. functions. Resolves ticket 27625.
  5082. o Code simplification and refactoring (onion service v3):
  5083. - Consolidate the authorized client descriptor cookie computation
  5084. code from client and service into one function. Closes
  5085. ticket 27549.
  5086. o Code simplification and refactoring (shell scripts):
  5087. - Cleanup scan-build.sh to silence shellcheck warnings. Closes
  5088. ticket 28007.
  5089. - Fix issues that shellcheck found in chutney-git-bisect.sh.
  5090. Resolves ticket 28006.
  5091. - Fix issues that shellcheck found in updateRustDependencies.sh.
  5092. Resolves ticket 28012.
  5093. - Fix shellcheck warnings in cov-diff script. Resolves issue 28009.
  5094. - Fix shellcheck warnings in run_calltool.sh. Resolves ticket 28011.
  5095. - Fix shellcheck warnings in run_trunnel.sh. Resolves issue 28010.
  5096. - Fix shellcheck warnings in scripts/test/coverage. Resolves
  5097. issue 28008.
  5098. Changes in version 0.3.3.11 - 2019-01-07
  5099. Tor 0.3.3.11 backports numerous fixes from later versions of Tor.
  5100. numerous fixes, including an important fix for anyone using OpenSSL
  5101. 1.1.1. Anyone running an earlier version of Tor 0.3.3 should upgrade
  5102. to this version, or to a later series.
  5103. As a reminder, support the Tor 0.3.3 series will end on 22 Feb 2019.
  5104. We anticipate that this will be the last release of Tor 0.3.3, unless
  5105. some major bug is before then. Some time between now and then, users
  5106. should switch to either the Tor 0.3.4 series (supported until at least
  5107. 10 June 2019), or the Tor 0.3.5 series, which will receive long-term
  5108. support until at least 1 Feb 2022.
  5109. o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
  5110. - Fix our usage of named groups when running as a TLS 1.3 client in
  5111. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  5112. running as a relay, which caused clients to fail to negotiate TLS
  5113. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  5114. support was added).
  5115. o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
  5116. - Fix a use-after-free error that could be caused by passing Tor an
  5117. impossible set of options that would fail during options_act().
  5118. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  5119. o Minor features (continuous integration, backport from 0.3.5.1-alpha):
  5120. - Only run one online rust build in Travis, to reduce network
  5121. errors. Skip offline rust builds on Travis for Linux gcc, because
  5122. they're redundant. Implements ticket 27252.
  5123. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  5124. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  5125. Linux with default settings, because all the non-default builds
  5126. use gcc on Linux. Implements ticket 27252.
  5127. o Minor features (continuous integration, backport from 0.3.5.3-alpha):
  5128. - Use the Travis Homebrew addon to install packages on macOS during
  5129. Travis CI. The package list is the same, but the Homebrew addon
  5130. does not do a `brew update` by default. Implements ticket 27738.
  5131. o Minor features (fallback directory list, backport from 0.3.5.6-rc):
  5132. - Replace the 150 fallbacks originally introduced in Tor
  5133. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  5134. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  5135. removed) generated in December 2018. Closes ticket 24803.
  5136. o Minor features (geoip):
  5137. - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
  5138. Country database. Closes ticket 29012.
  5139. o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
  5140. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  5141. key export function from handling long labels. When this bug is
  5142. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  5143. version of OpenSSL without this bug when it becomes available.
  5144. Closes ticket 28973.
  5145. o Minor bugfixes (relay statistics, backport from 0.3.5.7):
  5146. - Update relay descriptor on bandwidth changes only when the uptime
  5147. is smaller than 24h, in order to reduce the efficiency of guard
  5148. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  5149. o Minor bugfixes (C correctness, backport from 0.3.5.4-alpha):
  5150. - Avoid undefined behavior in an end-of-string check when parsing
  5151. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  5152. on 0.2.0.3-alpha.
  5153. o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
  5154. - Rewrite our assertion macros so that they no longer suppress the
  5155. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  5156. o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
  5157. - Initialize a variable unconditionally in aes_new_cipher(), since
  5158. some compilers cannot tell that we always initialize it before
  5159. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  5160. o Minor bugfixes (directory authority, backport from 0.3.5.4-alpha):
  5161. - Log additional info when we get a relay that shares an ed25519 ID
  5162. with a different relay, instead making a BUG() warning. Fixes bug
  5163. 27800; bugfix on 0.3.2.1-alpha.
  5164. o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
  5165. - When a user requests a group-readable DataDirectory, give it to
  5166. them. Previously, when the DataDirectory and the CacheDirectory
  5167. were the same, the default setting (0) for
  5168. CacheDirectoryGroupReadable would override the setting for
  5169. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  5170. on 0.3.3.1-alpha.
  5171. o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
  5172. - When the onion service directory can't be created or has the wrong
  5173. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  5174. on 0.3.2.1-alpha.
  5175. o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
  5176. - Close all SOCKS request (for the same .onion) if the newly fetched
  5177. descriptor is unusable. Before that, we would close only the first
  5178. one leaving the other hanging and let to time out by themselves.
  5179. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  5180. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  5181. - Don't warn so loudly when Tor is unable to decode an onion
  5182. descriptor. This can now happen as a normal use case if a client
  5183. gets a descriptor with client authorization but the client is not
  5184. authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
  5185. o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
  5186. - When deleting an ephemeral onion service (DEL_ONION), do not close
  5187. any rendezvous circuits in order to let the existing client
  5188. connections finish by themselves or closed by the application. The
  5189. HS v2 is doing that already so now we have the same behavior for
  5190. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  5191. o Minor bugfixes (HTTP tunnel):
  5192. - Fix a bug warning when closing an HTTP tunnel connection due to
  5193. an HTTP request we couldn't handle. Fixes bug 26470; bugfix on
  5194. 0.3.2.1-alpha.
  5195. o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
  5196. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  5197. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  5198. o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
  5199. - Ensure circuitmux queues are empty before scheduling or sending
  5200. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  5201. o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
  5202. - Reject protocol names containing bytes other than alphanumeric
  5203. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  5204. on 0.2.9.4-alpha.
  5205. o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
  5206. - Compute protover votes correctly in the rust version of the
  5207. protover code. Previously, the protover rewrite in 24031 allowed
  5208. repeated votes from the same voter for the same protocol version
  5209. to be counted multiple times in protover_compute_vote(). Fixes bug
  5210. 27649; bugfix on 0.3.3.5-rc.
  5211. - Reject protover names that contain invalid characters. Fixes bug
  5212. 27687; bugfix on 0.3.3.1-alpha.
  5213. o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
  5214. - protover_all_supported() would attempt to allocate up to 16GB on
  5215. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  5216. bugfix on 0.3.3.5-rc.
  5217. o Minor bugfixes (rust, backport from 0.3.5.4-alpha):
  5218. - Fix a potential null dereference in protover_all_supported(). Add
  5219. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  5220. - Return a string that can be safely freed by C code, not one
  5221. created by the rust allocator, in protover_all_supported(). Fixes
  5222. bug 27740; bugfix on 0.3.3.1-alpha.
  5223. - Fix an API mismatch in the rust implementation of
  5224. protover_compute_vote(). This bug could have caused crashes on any
  5225. directory authorities running Tor with Rust (which we do not yet
  5226. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  5227. o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
  5228. - If a unit test running in a subprocess exits abnormally or with a
  5229. nonzero status code, treat the test as having failed, even if the
  5230. test reported success. Without this fix, memory leaks don't cause
  5231. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  5232. bugfix on 0.2.2.4-alpha.
  5233. o Minor bugfixes (testing, backport from 0.3.5.4-alpha):
  5234. - Treat backtrace test failures as expected on BSD-derived systems
  5235. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  5236. (FreeBSD failures have been treated as expected since 18204 in
  5237. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  5238. o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
  5239. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  5240. bugfix on 0.3.0.1-alpha.
  5241. Changes in version 0.3.4.10 - 2019-01-07
  5242. Tor 0.3.4.9 is the second stable release in its series; it backports
  5243. numerous fixes, including an important fix for relays, and for anyone
  5244. using OpenSSL 1.1.1. Anyone running an earlier version of Tor 0.3.4
  5245. should upgrade.
  5246. As a reminder, the Tor 0.3.4 series will be supported until 10 June
  5247. 2019. Some time between now and then, users should switch to the Tor
  5248. 0.3.5 series, which will receive long-term support until at least 1
  5249. Feb 2022.
  5250. o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
  5251. - Fix our usage of named groups when running as a TLS 1.3 client in
  5252. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  5253. running as a relay, which caused clients to fail to negotiate TLS
  5254. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  5255. support was added).
  5256. o Major bugfixes (relay, directory, backport from 0.3.5.7):
  5257. - Always reactivate linked connections in the main loop so long as
  5258. any linked connection has been active. Previously, connections
  5259. serving directory information wouldn't get reactivated after the
  5260. first chunk of data was sent (usually 32KB), which would prevent
  5261. clients from bootstrapping. Fixes bug 28912; bugfix on
  5262. 0.3.4.1-alpha. Patch by "cypherpunks3".
  5263. o Minor features (continuous integration, Windows, backport from 0.3.5.6-rc):
  5264. - Always show the configure and test logs, and upload them as build
  5265. artifacts, when building for Windows using Appveyor CI.
  5266. Implements 28459.
  5267. o Minor features (controller, backport from 0.3.5.1-alpha):
  5268. - For purposes of CIRC_BW-based dropped cell detection, track half-
  5269. closed stream ids, and allow their ENDs, SENDMEs, DATA and path
  5270. bias check cells to arrive without counting it as dropped until
  5271. either the END arrives, or the windows are empty. Closes
  5272. ticket 25573.
  5273. o Minor features (fallback directory list, backport from 0.3.5.6-rc):
  5274. - Replace the 150 fallbacks originally introduced in Tor
  5275. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  5276. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  5277. removed) generated in December 2018. Closes ticket 24803.
  5278. o Minor features (geoip):
  5279. - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
  5280. Country database. Closes ticket 28395.
  5281. o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
  5282. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  5283. key export function from handling long labels. When this bug is
  5284. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  5285. version of OpenSSL without this bug when it becomes available.
  5286. Closes ticket 28973.
  5287. o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
  5288. - Initialize a variable unconditionally in aes_new_cipher(), since
  5289. some compilers cannot tell that we always initialize it before
  5290. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  5291. o Minor bugfixes (connection, relay, backport from 0.3.5.5-alpha):
  5292. - Avoid a logging a BUG() stacktrace when closing connection held
  5293. open because the write side is rate limited but not the read side.
  5294. Now, the connection read side is simply shut down until Tor is
  5295. able to flush the connection and close it. Fixes bug 27750; bugfix
  5296. on 0.3.4.1-alpha.
  5297. o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.5-alpha):
  5298. - Manually configure the zstd compiler options, when building using
  5299. mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
  5300. not come with a pkg-config file. Fixes bug 28454; bugfix
  5301. on 0.3.4.1-alpha.
  5302. - Stop using an external OpenSSL install, and stop installing MSYS2
  5303. packages, when building using mingw on Appveyor Windows CI. Fixes
  5304. bug 28399; bugfix on 0.3.4.1-alpha.
  5305. o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.6-rc):
  5306. - Explicitly specify the path to the OpenSSL library and do not
  5307. download OpenSSL from Pacman, but instead use the library that is
  5308. already provided by AppVeyor. Fixes bug 28574; bugfix on master.
  5309. o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
  5310. - When a user requests a group-readable DataDirectory, give it to
  5311. them. Previously, when the DataDirectory and the CacheDirectory
  5312. were the same, the default setting (0) for
  5313. CacheDirectoryGroupReadable would override the setting for
  5314. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  5315. on 0.3.3.1-alpha.
  5316. o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
  5317. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  5318. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  5319. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  5320. - Don't warn so loudly when Tor is unable to decode an onion
  5321. descriptor. This can now happen as a normal use case if a client
  5322. gets a descriptor with client authorization but the client is not
  5323. authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
  5324. o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
  5325. - When deleting an ephemeral onion service (DEL_ONION), do not close
  5326. any rendezvous circuits in order to let the existing client
  5327. connections finish by themselves or closed by the application. The
  5328. HS v2 is doing that already so now we have the same behavior for
  5329. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  5330. o Minor bugfixes (relay statistics, backport from 0.3.5.7):
  5331. - Update relay descriptor on bandwidth changes only when the uptime
  5332. is smaller than 24h, in order to reduce the efficiency of guard
  5333. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  5334. o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
  5335. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  5336. bugfix on 0.3.0.1-alpha.
  5337. Changes in version 0.3.5.7 - 2019-01-07
  5338. Tor 0.3.5.7 is the first stable release in its series; it includes
  5339. compilation and portability fixes, and a fix for a severe problem
  5340. affecting directory caches.
  5341. The Tor 0.3.5 series includes several new features and performance
  5342. improvements, including client authorization for v3 onion services,
  5343. cleanups to bootstrap reporting, support for improved bandwidth-
  5344. measurement tools, experimental support for NSS in place of OpenSSL,
  5345. and much more. It also begins a full reorganization of Tor's code
  5346. layout, for improved modularity and maintainability in the future.
  5347. Finally, there is the usual set of performance improvements and
  5348. bugfixes that we try to do in every release series.
  5349. There are a couple of changes in the 0.3.5 that may affect
  5350. compatibility. First, the default version for newly created onion
  5351. services is now v3. Use the HiddenServiceVersion option if you want to
  5352. override this. Second, some log messages related to bootstrapping have
  5353. changed; if you use stem, you may need to update to the latest version
  5354. so it will recognize them.
  5355. We have designated 0.3.5 as a "long-term support" (LTS) series: we
  5356. will continue to patch major bugs in typical configurations of 0.3.5
  5357. until at least 1 Feb 2022. (We do not plan to provide long-term
  5358. support for embedding, Rust support, NSS support, running a directory
  5359. authority, or unsupported platforms. For these, you will need to stick
  5360. with the latest stable release.)
  5361. Below are the changes since 0.3.5.6-rc. For a complete list of changes
  5362. since 0.3.4.9, see the ReleaseNotes file.
  5363. o Major bugfixes (relay, directory):
  5364. - Always reactivate linked connections in the main loop so long as
  5365. any linked connection has been active. Previously, connections
  5366. serving directory information wouldn't get reactivated after the
  5367. first chunk of data was sent (usually 32KB), which would prevent
  5368. clients from bootstrapping. Fixes bug 28912; bugfix on
  5369. 0.3.4.1-alpha. Patch by "cypherpunks3".
  5370. o Minor features (compilation):
  5371. - When possible, place our warning flags in a separate file, to
  5372. avoid flooding verbose build logs. Closes ticket 28924.
  5373. o Minor features (geoip):
  5374. - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
  5375. Country database. Closes ticket 29012.
  5376. o Minor features (OpenSSL bug workaround):
  5377. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  5378. key export function from handling long labels. When this bug is
  5379. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  5380. version of OpenSSL without this bug when it becomes available.
  5381. Closes ticket 28973.
  5382. o Minor features (performance):
  5383. - Remove about 96% of the work from the function that we run at
  5384. startup to test our curve25519_basepoint implementation. Since
  5385. this function has yet to find an actual failure, we now only run
  5386. it for 8 iterations instead of 200. Based on our profile
  5387. information, this change should save around 8% of our startup time
  5388. on typical desktops, and may have a similar effect on other
  5389. platforms. Closes ticket 28838.
  5390. - Stop re-validating our hardcoded Diffie-Hellman parameters on
  5391. every startup. Doing this wasted time and cycles, especially on
  5392. low-powered devices. Closes ticket 28851.
  5393. o Minor bugfixes (compilation):
  5394. - Fix compilation for Android by adding a missing header to
  5395. freespace.c. Fixes bug 28974; bugfix on 0.3.5.1-alpha.
  5396. o Minor bugfixes (correctness):
  5397. - Fix an unreached code path where we checked the value of
  5398. "hostname" inside send_resolved_hostname_cell(). Previously, we
  5399. used it before checking it; now we check it first. Fixes bug
  5400. 28879; bugfix on 0.1.2.7-alpha.
  5401. o Minor bugfixes (testing):
  5402. - Make sure that test_rebind.py actually obeys its timeout, even
  5403. when it receives a large number of log messages. Fixes bug 28883;
  5404. bugfix on 0.3.5.4-alpha.
  5405. - Stop running stem's unit tests as part of "make test-stem", but
  5406. continue to run stem's unit and online tests during "make test-
  5407. stem-full". Fixes bug 28568; bugfix on 0.2.6.3-alpha.
  5408. o Minor bugfixes (windows services):
  5409. - Make Tor start correctly as an NT service again: previously it was
  5410. broken by refactoring. Fixes bug 28612; bugfix on 0.3.5.3-alpha.
  5411. o Code simplification and refactoring:
  5412. - When parsing a port configuration, make it more obvious to static
  5413. analyzer tools that we always initialize the address. Closes
  5414. ticket 28881.
  5415. Changes in version 0.3.5.6-rc - 2018-12-18
  5416. Tor 0.3.5.6-rc fixes numerous small bugs in earlier versions of Tor.
  5417. It is the first release candidate in the 0.3.5.x series; if no further
  5418. huge bugs are found, our next release may be the stable 0.3.5.x.
  5419. o Minor features (continuous integration, Windows):
  5420. - Always show the configure and test logs, and upload them as build
  5421. artifacts, when building for Windows using Appveyor CI.
  5422. Implements 28459.
  5423. o Minor features (fallback directory list):
  5424. - Replace the 150 fallbacks originally introduced in Tor
  5425. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  5426. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  5427. removed) generated in December 2018. Closes ticket 24803.
  5428. o Minor features (geoip):
  5429. - Update geoip and geoip6 to the December 5 2018 Maxmind GeoLite2
  5430. Country database. Closes ticket 28744.
  5431. o Minor bugfixes (compilation):
  5432. - Add missing dependency on libgdi32.dll for tor-print-ed-signing-
  5433. cert.exe on Windows. Fixes bug 28485; bugfix on 0.3.5.1-alpha.
  5434. o Minor bugfixes (continuous integration, Windows):
  5435. - Explicitly specify the path to the OpenSSL library and do not
  5436. download OpenSSL from Pacman, but instead use the library that is
  5437. already provided by AppVeyor. Fixes bug 28574; bugfix on master.
  5438. o Minor bugfixes (onion service v3):
  5439. - When deleting an ephemeral onion service (DEL_ONION), do not close
  5440. any rendezvous circuits in order to let the existing client
  5441. connections finish by themselves or closed by the application. The
  5442. HS v2 is doing that already so now we have the same behavior for
  5443. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  5444. o Minor bugfixes (restart-in-process, boostrap):
  5445. - Add missing resets of bootstrap tracking state when shutting down
  5446. (regression caused by ticket 27169). Fixes bug 28524; bugfix
  5447. on 0.3.5.1-alpha.
  5448. o Minor bugfixes (testing):
  5449. - Use a separate DataDirectory for the test_rebind script.
  5450. Previously, this script would run using the default DataDirectory,
  5451. and sometimes fail. Fixes bug 28562; bugfix on 0.3.5.1-alpha.
  5452. Patch from Taylor R Campbell.
  5453. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  5454. bugfix on 0.3.0.1-alpha.
  5455. o Minor bugfixes (Windows):
  5456. - Correctly identify Windows 8.1, Windows 10, and Windows Server
  5457. 2008 and later from their NT versions. Fixes bug 28096; bugfix on
  5458. 0.2.2.34; reported by Keifer Bly.
  5459. - On recent Windows versions, the GetVersionEx() function may report
  5460. an earlier Windows version than the running OS. To avoid user
  5461. confusion, add "[or later]" to Tor's version string on affected
  5462. versions of Windows. Fixes bug 28096; bugfix on 0.2.2.34; reported
  5463. by Keifer Bly.
  5464. - Remove Windows versions that were never supported by the
  5465. GetVersionEx() function. Stop duplicating the latest Windows
  5466. version in get_uname(). Fixes bug 28096; bugfix on 0.2.2.34;
  5467. reported by Keifer Bly.
  5468. o Testing:
  5469. - Increase logging and tag all log entries with timestamps in
  5470. test_rebind.py. Provides diagnostics for issue 28229.
  5471. o Code simplification and refactoring (shared random, dirauth):
  5472. - Change many tor_assert() to use BUG() instead. The idea is to not
  5473. crash a dirauth but rather scream loudly with a stacktrace and let
  5474. it continue run. The shared random subsystem is very resilient and
  5475. if anything wrong happens with it, at worst a non coherent value
  5476. will be put in the vote and discarded by the other authorities.
  5477. Closes ticket 19566.
  5478. o Documentation (onion services):
  5479. - Document in the man page that changing ClientOnionAuthDir value or
  5480. adding a new file in the directory will not work at runtime upon
  5481. sending a HUP if Sandbox 1. Closes ticket 28128.
  5482. - Note in the man page that the only real way to fully revoke an
  5483. onion service v3 client authorization is by restarting the tor
  5484. process. Closes ticket 28275.
  5485. Changes in version 0.3.5.5-alpha - 2018-11-16
  5486. Tor 0.3.5.5-alpha includes numerous bugfixes on earlier releases,
  5487. including several that we hope to backport to older release series in
  5488. the future.
  5489. o Major bugfixes (OpenSSL, portability):
  5490. - Fix our usage of named groups when running as a TLS 1.3 client in
  5491. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  5492. running as a relay, which caused clients to fail to negotiate TLS
  5493. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  5494. support was added).
  5495. o Minor features (geoip):
  5496. - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
  5497. Country database. Closes ticket 28395.
  5498. o Minor bugfixes (compilation):
  5499. - Initialize a variable unconditionally in aes_new_cipher(), since
  5500. some compilers cannot tell that we always initialize it before
  5501. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  5502. o Minor bugfixes (connection, relay):
  5503. - Avoid a logging a BUG() stacktrace when closing connection held
  5504. open because the write side is rate limited but not the read side.
  5505. Now, the connection read side is simply shut down until Tor is
  5506. able to flush the connection and close it. Fixes bug 27750; bugfix
  5507. on 0.3.4.1-alpha.
  5508. o Minor bugfixes (continuous integration, Windows):
  5509. - Manually configure the zstd compiler options, when building using
  5510. mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
  5511. not come with a pkg-config file. Fixes bug 28454; bugfix
  5512. on 0.3.4.1-alpha.
  5513. - Stop using an external OpenSSL install, and stop installing MSYS2
  5514. packages, when building using mingw on Appveyor Windows CI. Fixes
  5515. bug 28399; bugfix on 0.3.4.1-alpha.
  5516. o Minor bugfixes (documentation):
  5517. - Make Doxygen work again after the code movement in the 0.3.5
  5518. source tree. Fixes bug 28435; bugfix on 0.3.5.1-alpha.
  5519. o Minor bugfixes (Linux seccomp2 sandbox):
  5520. - Permit the "shutdown()" system call, which is apparently used by
  5521. OpenSSL under some circumstances. Fixes bug 28183; bugfix
  5522. on 0.2.5.1-alpha.
  5523. o Minor bugfixes (logging):
  5524. - Stop talking about the Named flag in log messages. Clients have
  5525. ignored the Named flag since 0.3.2. Fixes bug 28441; bugfix
  5526. on 0.3.2.1-alpha.
  5527. o Minor bugfixes (memory leaks):
  5528. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  5529. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  5530. o Minor bugfixes (onion services):
  5531. - On an intro point for a version 3 onion service, stop closing
  5532. introduction circuits on an NACK. This lets the client decide
  5533. whether to reuse the circuit or discard it. Previously, we closed
  5534. intro circuits when sending NACKs. Fixes bug 27841; bugfix on
  5535. 0.3.2.1-alpha. Patch by Neel Chaunan.
  5536. - When replacing a descriptor in the client cache, make sure to
  5537. close all client introduction circuits for the old descriptor, so
  5538. we don't end up with unusable leftover circuits. Fixes bug 27471;
  5539. bugfix on 0.3.2.1-alpha.
  5540. Changes in version 0.3.5.4-alpha - 2018-11-08
  5541. Tor 0.3.5.4-alpha includes numerous bugfixes on earlier versions and
  5542. improves our continuous integration support. It continues our attempts
  5543. to stabilize this alpha branch and build it into a foundation for an
  5544. acceptable long-term-support release.
  5545. o Major bugfixes (compilation, rust):
  5546. - Rust tests can now build and run successfully with the
  5547. --enable-fragile-hardening option enabled. Doing this currently
  5548. requires the rust beta channel; it will be possible with stable
  5549. rust once Rust version 1.31 is released. Patch from Alex Crichton.
  5550. Fixes bugs 27272, 27273, and 27274. Bugfix on 0.3.1.1-alpha.
  5551. o Major bugfixes (embedding, main loop):
  5552. - When DisableNetwork becomes set, actually disable periodic events
  5553. that are already enabled. (Previously, we would refrain from
  5554. enabling new ones, but we would leave the old ones turned on.)
  5555. Fixes bug 28348; bugfix on 0.3.4.1-alpha.
  5556. o Minor features (continuous integration):
  5557. - Add a Travis CI build for --enable-nss on Linux gcc. Closes
  5558. ticket 27751.
  5559. - Add new CI job to Travis configuration to run stem-based
  5560. integration tests. Closes ticket 27913.
  5561. o Minor features (Windows, continuous integration):
  5562. - Build tor on Windows Server 2012 R2 and Windows Server 2016 using
  5563. Appveyor's CI. Closes ticket 28318.
  5564. o Minor bugfixes (C correctness, also in 0.3.4.9):
  5565. - Avoid undefined behavior in an end-of-string check when parsing
  5566. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  5567. on 0.2.0.3-alpha.
  5568. o Minor bugfixes (compilation):
  5569. - Fix a pair of missing headers on OpenBSD. Fixes bug 28303; bugfix
  5570. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  5571. o Minor bugfixes (compilation, OpenSolaris):
  5572. - Fix compilation on OpenSolaris and its descendants by adding a
  5573. missing include to compat_pthreads.c. Fixes bug 27963; bugfix
  5574. on 0.3.5.1-alpha.
  5575. o Minor bugfixes (configuration):
  5576. - Refuse to start with relative file paths and RunAsDaemon set
  5577. (regression from the fix for bug 22731). Fixes bug 28298; bugfix
  5578. on 0.3.3.1-alpha.
  5579. o Minor bugfixes (directory authority, also in 0.3.4.9):
  5580. - Log additional info when we get a relay that shares an ed25519 ID
  5581. with a different relay, instead of a BUG() warning with a
  5582. backtrace. Fixes bug 27800; bugfix on 0.3.2.1-alpha.
  5583. o Minor bugfixes (onion service v3):
  5584. - Build the service descriptor's signing key certificate before
  5585. uploading, so we always have a fresh one: leaving no chances for
  5586. it to expire service side. Fixes bug 27838; bugfix
  5587. on 0.3.2.1-alpha.
  5588. o Minor bugfixes (onion service v3, client authorization):
  5589. - Fix an assert() when adding a client authorization for the first
  5590. time and then sending a HUP signal to the service. Before that,
  5591. Tor would stop abruptly. Fixes bug 27995; bugfix on 0.3.5.1-alpha.
  5592. o Minor bugfixes (onion services):
  5593. - Unless we have explicitly set HiddenServiceVersion, detect the
  5594. onion service version and then look for invalid options.
  5595. Previously, we did the reverse, but that broke existing configs
  5596. which were pointed to a v2 service and had options like
  5597. HiddenServiceAuthorizeClient set. Fixes bug 28127; bugfix on
  5598. 0.3.5.1-alpha. Patch by Neel Chauhan.
  5599. o Minor bugfixes (portability):
  5600. - Make the OPE code (which is used for v3 onion services) run
  5601. correctly on big-endian platforms. Fixes bug 28115; bugfix
  5602. on 0.3.5.1-alpha.
  5603. o Minor bugfixes (protover, rust):
  5604. - Reject extra commas in version strings. Fixes bug 27197; bugfix
  5605. on 0.3.3.3-alpha.
  5606. o Minor bugfixes (relay shutdown, systemd):
  5607. - Notify systemd of ShutdownWaitLength so it can be set to longer
  5608. than systemd's TimeoutStopSec. In Tor's systemd service file, set
  5609. TimeoutSec to 60 seconds to allow Tor some time to shut down.
  5610. Fixes bug 28113; bugfix on 0.2.6.2-alpha.
  5611. o Minor bugfixes (rust, also in 0.3.4.9):
  5612. - Fix a potential null dereference in protover_all_supported(). Add
  5613. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  5614. - Return a string that can be safely freed by C code, not one
  5615. created by the rust allocator, in protover_all_supported(). Fixes
  5616. bug 27740; bugfix on 0.3.3.1-alpha.
  5617. o Minor bugfixes (rust, directory authority, also in 0.3.4.9):
  5618. - Fix an API mismatch in the rust implementation of
  5619. protover_compute_vote(). This bug could have caused crashes on any
  5620. directory authorities running Tor with Rust (which we do not yet
  5621. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  5622. o Minor bugfixes (testing):
  5623. - Avoid hangs and race conditions in test_rebind.py. Fixes bug
  5624. 27968; bugfix on 0.3.5.1-alpha.
  5625. o Minor bugfixes (testing, also in 0.3.4.9):
  5626. - Treat backtrace test failures as expected on BSD-derived systems
  5627. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  5628. (FreeBSD failures have been treated as expected since 18204 in
  5629. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  5630. o Documentation (onion service manpage):
  5631. - Improve HSv3 client authorization by making some options more
  5632. explicit and detailed. Closes ticket 28026. Patch by Mike Tigas.
  5633. Changes in version 0.3.4.9 - 2018-11-02
  5634. Tor 0.3.4.9 is the second stable release in its series; it backports
  5635. numerous fixes, including a fix for a bandwidth management bug that
  5636. was causing memory exhaustion on relays. Anyone running an earlier
  5637. version of Tor 0.3.4.9 should upgrade.
  5638. o Major bugfixes (compilation, backport from 0.3.5.3-alpha):
  5639. - Fix compilation on ARM (and other less-used CPUs) when compiling
  5640. with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
  5641. o Major bugfixes (mainloop, bootstrap, backport from 0.3.5.3-alpha):
  5642. - Make sure Tor bootstraps and works properly if only the
  5643. ControlPort is set. Prior to this fix, Tor would only bootstrap
  5644. when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
  5645. port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
  5646. o Major bugfixes (relay, backport from 0.3.5.3-alpha):
  5647. - When our write bandwidth limit is exhausted, stop writing on the
  5648. connection. Previously, we had a typo in the code that would make
  5649. us stop reading instead, leading to relay connections being stuck
  5650. indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
  5651. on 0.3.4.1-alpha.
  5652. o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
  5653. - Fix a use-after-free error that could be caused by passing Tor an
  5654. impossible set of options that would fail during options_act().
  5655. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  5656. o Minor features (continuous integration, backport from 0.3.5.1-alpha):
  5657. - Don't do a distcheck with --disable-module-dirauth in Travis.
  5658. Implements ticket 27252.
  5659. - Only run one online rust build in Travis, to reduce network
  5660. errors. Skip offline rust builds on Travis for Linux gcc, because
  5661. they're redundant. Implements ticket 27252.
  5662. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  5663. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  5664. Linux with default settings, because all the non-default builds
  5665. use gcc on Linux. Implements ticket 27252.
  5666. o Minor features (continuous integration, backport from 0.3.5.3-alpha):
  5667. - Use the Travis Homebrew addon to install packages on macOS during
  5668. Travis CI. The package list is the same, but the Homebrew addon
  5669. does not do a `brew update` by default. Implements ticket 27738.
  5670. o Minor features (geoip):
  5671. - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
  5672. Country database. Closes ticket 27991.
  5673. o Minor bugfixes (32-bit OSX and iOS, timing, backport from 0.3.5.2-alpha):
  5674. - Fix an integer overflow bug in our optimized 32-bit millisecond-
  5675. difference algorithm for 32-bit Apple platforms. Previously, it
  5676. would overflow when calculating the difference between two times
  5677. more than 47 days apart. Fixes part of bug 27139; bugfix
  5678. on 0.3.4.1-alpha.
  5679. - Improve the precision of our 32-bit millisecond difference
  5680. algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
  5681. bugfix on 0.3.4.1-alpha.
  5682. - Relax the tolerance on the mainloop/update_time_jumps test when
  5683. running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
  5684. on 0.3.4.1-alpha.
  5685. o Minor bugfixes (C correctness, to appear in 0.3.5.4-alpha):
  5686. - Avoid undefined behavior in an end-of-string check when parsing
  5687. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  5688. on 0.2.0.3-alpha.
  5689. o Minor bugfixes (CI, appveyor, to appear in 0.3.5.4-alpha):
  5690. - Only install the necessary mingw packages during our appveyor
  5691. builds. This change makes the build a little faster, and prevents
  5692. a conflict with a preinstalled mingw openssl that appveyor now
  5693. ships. Fixes bugs 27943 and 27765; bugfix on 0.3.4.2-alpha.
  5694. o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
  5695. - Rewrite our assertion macros so that they no longer suppress the
  5696. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  5697. o Minor bugfixes (continuous integration, backport from 0.3.5.1-alpha):
  5698. - Stop reinstalling identical packages in our Windows CI. Fixes bug
  5699. 27464; bugfix on 0.3.4.1-alpha.
  5700. o Minor bugfixes (directory authority, to appear in 0.3.5.4-alpha):
  5701. - Log additional info when we get a relay that shares an ed25519 ID
  5702. with a different relay, instead making a BUG() warning. Fixes bug
  5703. 27800; bugfix on 0.3.2.1-alpha.
  5704. o Minor bugfixes (directory connection shutdown, backport from 0.3.5.1-alpha):
  5705. - Avoid a double-close when shutting down a stalled directory
  5706. connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
  5707. o Minor bugfixes (HTTP tunnel, backport from 0.3.5.1-alpha):
  5708. - Fix a bug warning when closing an HTTP tunnel connection due to an
  5709. HTTP request we couldn't handle. Fixes bug 26470; bugfix
  5710. on 0.3.2.1-alpha.
  5711. o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
  5712. - Ensure circuitmux queues are empty before scheduling or sending
  5713. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  5714. o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
  5715. - When the onion service directory can't be created or has the wrong
  5716. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  5717. on 0.3.2.1-alpha.
  5718. o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
  5719. - Close all SOCKS request (for the same .onion) if the newly fetched
  5720. descriptor is unusable. Before that, we would close only the first
  5721. one leaving the other hanging and let to time out by themselves.
  5722. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  5723. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  5724. - When selecting a v3 rendezvous point, don't only look at the
  5725. protover, but also check whether the curve25519 onion key is
  5726. present. This way we avoid picking a relay that supports the v3
  5727. rendezvous but for which we don't have the microdescriptor. Fixes
  5728. bug 27797; bugfix on 0.3.2.1-alpha.
  5729. o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
  5730. - Reject protocol names containing bytes other than alphanumeric
  5731. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  5732. on 0.2.9.4-alpha.
  5733. o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
  5734. - Compute protover votes correctly in the rust version of the
  5735. protover code. Previously, the protover rewrite in 24031 allowed
  5736. repeated votes from the same voter for the same protocol version
  5737. to be counted multiple times in protover_compute_vote(). Fixes bug
  5738. 27649; bugfix on 0.3.3.5-rc.
  5739. - Reject protover names that contain invalid characters. Fixes bug
  5740. 27687; bugfix on 0.3.3.1-alpha.
  5741. o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
  5742. - protover_all_supported() would attempt to allocate up to 16GB on
  5743. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  5744. bugfix on 0.3.3.5-rc.
  5745. o Minor bugfixes (rust, directory authority, to appear in 0.3.5.4-alpha):
  5746. - Fix an API mismatch in the rust implementation of
  5747. protover_compute_vote(). This bug could have caused crashes on any
  5748. directory authorities running Tor with Rust (which we do not yet
  5749. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  5750. o Minor bugfixes (rust, to appear in 0.3.5.4-alpha):
  5751. - Fix a potential null dereference in protover_all_supported(). Add
  5752. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  5753. - Return a string that can be safely freed by C code, not one
  5754. created by the rust allocator, in protover_all_supported(). Fixes
  5755. bug 27740; bugfix on 0.3.3.1-alpha.
  5756. o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
  5757. - If a unit test running in a subprocess exits abnormally or with a
  5758. nonzero status code, treat the test as having failed, even if the
  5759. test reported success. Without this fix, memory leaks don't cause
  5760. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  5761. bugfix on 0.2.2.4-alpha.
  5762. o Minor bugfixes (testing, backport from 0.3.5.3-alpha):
  5763. - Make the hs_service tests use the same time source when creating
  5764. the introduction point and when testing it. Now tests work better
  5765. on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
  5766. on 0.3.2.1-alpha.
  5767. o Minor bugfixes (testing, to appear in 0.3.5.4-alpha):
  5768. - Treat backtrace test failures as expected on BSD-derived systems
  5769. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  5770. (FreeBSD failures have been treated as expected since 18204 in
  5771. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  5772. Changes in version 0.3.5.3-alpha - 2018-10-17
  5773. Tor 0.3.5.3-alpha fixes several bugs, mostly from previous 0.3.5.x
  5774. versions. One important fix for relays addresses a problem with rate-
  5775. limiting code from back in 0.3.4.x: If the fix works out, we'll be
  5776. backporting it soon. This release is still an alpha, but we hope it's
  5777. getting closer and closer to stability.
  5778. o Major features (onion services):
  5779. - Version 3 onion services can now use the per-service
  5780. HiddenServiceExportCircuitID option to differentiate client
  5781. circuits. It communicates with the service by using the HAProxy
  5782. protocol to assign virtual IP addresses to inbound client
  5783. circuits. Closes ticket 4700. Patch by Mahrud Sayrafi.
  5784. o Major bugfixes (compilation):
  5785. - Fix compilation on ARM (and other less-used CPUs) when compiling
  5786. with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
  5787. o Major bugfixes (initialization, crash):
  5788. - Fix an assertion crash that would stop Tor from starting up if it
  5789. tried to activate a periodic event too early. Fixes bug 27861;
  5790. bugfix on 0.3.5.1-alpha.
  5791. o Major bugfixes (mainloop, bootstrap):
  5792. - Make sure Tor bootstraps and works properly if only the
  5793. ControlPort is set. Prior to this fix, Tor would only bootstrap
  5794. when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
  5795. port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
  5796. o Major bugfixes (relay):
  5797. - When our write bandwidth limit is exhausted, stop writing on the
  5798. connection. Previously, we had a typo in the code that would make
  5799. us stop reading instead, leading to relay connections being stuck
  5800. indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
  5801. on 0.3.4.1-alpha.
  5802. o Minor features (continuous integration):
  5803. - Use the Travis Homebrew addon to install packages on macOS during
  5804. Travis CI. The package list is the same, but the Homebrew addon
  5805. does not do a `brew update` by default. Implements ticket 27738.
  5806. - Report what program produced the mysterious core file that we
  5807. occasionally see on Travis CI during make distcheck. Closes
  5808. ticket 28024.
  5809. o Minor features (geoip):
  5810. - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
  5811. Country database. Closes ticket 27991.
  5812. o Minor bugfixes (code safety):
  5813. - Rewrite our assertion macros so that they no longer suppress the
  5814. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  5815. on 0.0.6.
  5816. o Minor bugfixes (compilation):
  5817. - Compile the ed25519-donna code with a correct declaration of
  5818. crypto_strongest_rand(). Previously, we built it with one type,
  5819. but linked it against another in the unit tests, which caused
  5820. compilation failures with LTO enabled. This could have caused
  5821. other undefined behavior in the tests. Fixes bug 27728; bugfix
  5822. on 0.3.5.1-alpha.
  5823. o Minor bugfixes (compilation, netbsd):
  5824. - Add a missing include back into procmon.c. Fixes bug 27990; bugfix
  5825. on 0.3.5.1-alpha.
  5826. o Minor bugfixes (continuous integration, appveyor):
  5827. - Install only the necessary mingw packages during our appveyor
  5828. builds. This change makes the build a little faster, and prevents
  5829. a conflict with a preinstalled mingw openssl that appveyor now
  5830. ships. Fixes bugs 27765 and 27943; bugfix on 0.3.4.2-alpha.
  5831. o Minor bugfixes (directory permissions):
  5832. - When a user requests a group-readable DataDirectory, give it to
  5833. them. Previously, when the DataDirectory and the CacheDirectory
  5834. were the same, the default setting (0) for
  5835. CacheDirectoryGroupReadable would override the setting for
  5836. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  5837. on 0.3.3.1-alpha.
  5838. o Minor bugfixes (memory leaks):
  5839. - Fix a small memory leak when calling Tor with --dump-config. Fixes
  5840. bug 27893; bugfix on 0.3.2.1-alpha.
  5841. o Minor bugfixes (networking):
  5842. - In retry_listeners_ports(), make sure that we're removing a member
  5843. of old_conns smartlist at most once. Fixes bug 27808; bugfix
  5844. on 0.3.5.1-alpha.
  5845. - Refrain from attempting socket rebinding when old and new
  5846. listeners are in different address families. Fixes bug 27928;
  5847. bugfix on 0.3.5.1-alpha.
  5848. o Minor bugfixes (onion service v3):
  5849. - Stop dumping a stack trace when trying to connect to an intro
  5850. point without having a descriptor for it. Fixes bug 27774; bugfix
  5851. on 0.3.2.1-alpha.
  5852. - Don't warn so loudly when Tor is unable to decode an onion
  5853. descriptor. This can now happen as a normal use case if a client
  5854. gets a descriptor with client authorization but the client is not
  5855. authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
  5856. - When selecting a v3 rendezvous point, don't only look at the
  5857. protover, but also check whether the curve25519 onion key is
  5858. present. This way we avoid picking a relay that supports the v3
  5859. rendezvous but for which we don't have the microdescriptor. Fixes
  5860. bug 27797; bugfix on 0.3.2.1-alpha.
  5861. o Minor bugfixes (protover):
  5862. - Reject protocol names containing bytes other than alphanumeric
  5863. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  5864. on 0.2.9.4-alpha.
  5865. o Minor bugfixes (testing):
  5866. - Make the hs_service tests use the same time source when creating
  5867. the introduction point and when testing it. Now tests work better
  5868. on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
  5869. on 0.3.2.1-alpha.
  5870. - In test_rebind.py, check if the Python version is in the supported
  5871. range. Fixes bug 27675; bugfix on 0.3.5.1-alpha.
  5872. o Code simplification and refactoring:
  5873. - Divide more large Tor source files -- especially ones that span
  5874. multiple areas of functionality -- into smaller parts, including
  5875. onion.c and main.c. Closes ticket 26747.
  5876. - Divide the "routerparse.c" module into separate modules for each
  5877. group of parsed objects. Closes ticket 27924.
  5878. - Move protover_rust.c to the same place protover.c was moved to.
  5879. Closes ticket 27814.
  5880. - Split directory.c into separate pieces for client, server, and
  5881. common functionality. Closes ticket 26744.
  5882. - Split the non-statistics-related parts from the rephist.c and
  5883. geoip.c modules. Closes ticket 27892.
  5884. - Split the router.c file into relay-only and shared components, to
  5885. help with future modularization. Closes ticket 27864.
  5886. o Documentation:
  5887. - In the tor-resolve(1) manpage, fix the reference to socks-
  5888. extensions.txt by adding a web URL. Resolves ticket 27853.
  5889. - Mention that we require Python to be 2.7 or newer for some
  5890. integration tests that we ship with Tor. Resolves ticket 27677.
  5891. Changes in version 0.3.5.2-alpha - 2018-09-21
  5892. Tor 0.3.5.2-alpha fixes several bugs in 0.3.5.1-alpha, including one
  5893. that made Tor think it had run out of sockets. Anybody running a relay
  5894. or an onion service on 0.3.5.1-alpha should upgrade.
  5895. o Major bugfixes (relay bandwidth statistics):
  5896. - When we close relayed circuits, report the data in the circuit
  5897. queues as being written in our relay bandwidth stats. This
  5898. mitigates guard discovery and other attacks that close circuits
  5899. for the explicit purpose of noticing this discrepancy in
  5900. statistics. Fixes bug 23512; bugfix on 0.0.8pre3.
  5901. o Major bugfixes (socket accounting):
  5902. - In our socket accounting code, count a socket as closed even when
  5903. it is closed indirectly by the TLS layer. Previously, we would
  5904. count these sockets as still in use, and incorrectly believe that
  5905. we had run out of sockets. Fixes bug 27795; bugfix
  5906. on 0.3.5.1-alpha.
  5907. o Minor bugfixes (32-bit OSX and iOS, timing):
  5908. - Fix an integer overflow bug in our optimized 32-bit millisecond-
  5909. difference algorithm for 32-bit Apple platforms. Previously, it
  5910. would overflow when calculating the difference between two times
  5911. more than 47 days apart. Fixes part of bug 27139; bugfix
  5912. on 0.3.4.1-alpha.
  5913. - Improve the precision of our 32-bit millisecond difference
  5914. algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
  5915. bugfix on 0.3.4.1-alpha.
  5916. - Relax the tolerance on the mainloop/update_time_jumps test when
  5917. running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
  5918. on 0.3.4.1-alpha.
  5919. o Minor bugfixes (onion service v3):
  5920. - Close all SOCKS request (for the same .onion) if the newly fetched
  5921. descriptor is unusable. Before that, we would close only the first
  5922. one leaving the other hanging and let to time out by themselves.
  5923. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  5924. o Minor bugfixes (memory leak):
  5925. - Fix an unlikely memory leak when trying to read a private key from
  5926. a ridiculously large file. Fixes bug 27764; bugfix on
  5927. 0.3.5.1-alpha. This is CID 1439488.
  5928. o Minor bugfixes (NSS):
  5929. - Correctly detect failure to open a dummy TCP socket when stealing
  5930. ownership of an fd from the NSS layer. Fixes bug 27782; bugfix
  5931. on 0.3.5.1-alpha.
  5932. o Minor bugfixes (rust):
  5933. - protover_all_supported() would attempt to allocate up to 16GB on
  5934. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  5935. bugfix on 0.3.3.5-rc.
  5936. o Minor bugfixes (testing):
  5937. - Revise the "conditionvar_timeout" test so that it succeeds even on
  5938. heavily loaded systems where the test threads are not scheduled
  5939. within 200 msec. Fixes bug 27073; bugfix on 0.2.6.3-alpha.
  5940. o Code simplification and refactoring:
  5941. - Divide the routerlist.c and dirserv.c modules into smaller parts.
  5942. Closes ticket 27799.
  5943. Changes in version 0.3.5.1-alpha - 2018-09-18
  5944. Tor 0.3.5.1-alpha is the first release of the 0.3.5.x series. It adds
  5945. client authorization for modern (v3) onion services, improves
  5946. bootstrap reporting, begins reorganizing Tor's codebase, adds optional
  5947. support for NSS in place of OpenSSL, and much more.
  5948. o Major features (onion services, UI change):
  5949. - For a newly created onion service, the default version is now 3.
  5950. Tor still supports existing version 2 services, but the operator
  5951. now needs to set "HiddenServiceVersion 2" in order to create a new
  5952. version 2 service. For existing services, Tor now learns the
  5953. version by reading the key file. Closes ticket 27215.
  5954. o Major features (relay, UI change):
  5955. - Relays no longer run as exits by default. If the "ExitRelay"
  5956. option is auto (or unset), and no exit policy is specified with
  5957. ExitPolicy or ReducedExitPolicy, we now treat ExitRelay as 0.
  5958. Previously in this case, we allowed exit traffic and logged a
  5959. warning message. Closes ticket 21530. Patch by Neel Chauhan.
  5960. - Tor now validates that the ContactInfo config option is valid UTF-
  5961. 8 when parsing torrc. Closes ticket 27428.
  5962. o Major features (bootstrap):
  5963. - Don't report directory progress until after a connection to a
  5964. relay or bridge has succeeded. Previously, we'd report 80%
  5965. progress based on cached directory information when we couldn't
  5966. even connect to the network. Closes ticket 27169.
  5967. o Major features (new code layout):
  5968. - Nearly all of Tor's source code has been moved around into more
  5969. logical places. The "common" directory is now divided into a set
  5970. of libraries in "lib", and files in the "or" directory have been
  5971. split into "core" (logic absolutely needed for onion routing),
  5972. "feature" (independent modules in Tor), and "app" (to configure
  5973. and invoke the rest of Tor). See doc/HACKING/CodeStructure.md for
  5974. more information. Closes ticket 26481.
  5975. This refactoring is not complete: although the libraries have been
  5976. refactored to be acyclic, the main body of Tor is still too
  5977. interconnected. We will attempt to improve this in the future.
  5978. o Major features (onion services v3):
  5979. - Implement onion service client authorization at the descriptor
  5980. level: only authorized clients can decrypt a service's descriptor
  5981. to find out how to contact it. A new torrc option was added to
  5982. control this client side: ClientOnionAuthDir <path>. On the
  5983. service side, if the "authorized_clients/" directory exists in the
  5984. onion service directory path, client configurations are read from
  5985. the files within. See the manpage for more details. Closes ticket
  5986. 27547. Patch done by Suphanat Chunhapanya (haxxpop).
  5987. - Improve revision counter generation in next-gen onion services.
  5988. Onion services can now scale by hosting multiple instances on
  5989. different hosts without synchronization between them, which was
  5990. previously impossible because descriptors would get rejected by
  5991. HSDirs. Addresses ticket 25552.
  5992. o Major features (portability, cryptography, experimental, TLS):
  5993. - Tor now has the option to compile with the NSS library instead of
  5994. OpenSSL. This feature is experimental, and we expect that bugs may
  5995. remain. It is mainly intended for environments where Tor's
  5996. performance is not CPU-bound, and where NSS is already known to be
  5997. installed. To try it out, configure Tor with the --enable-nss
  5998. flag. Closes tickets 26631, 26815, and 26816.
  5999. If you are experimenting with this option and using an old cached
  6000. consensus, Tor may fail to start. To solve this, delete your
  6001. "cached-consensus" and "cached-microdesc-consensus" files,
  6002. (if present), and restart Tor.
  6003. o Major bugfixes (directory authority):
  6004. - Actually check that the address we get from DirAuthority
  6005. configuration line is valid IPv4. Explicitly disallow DirAuthority
  6006. address to be a DNS hostname. Fixes bug 26488; bugfix
  6007. on 0.1.2.10-rc.
  6008. o Major bugfixes (restart-in-process):
  6009. - Fix a use-after-free error that could be caused by passing Tor an
  6010. impossible set of options that would fail during options_act().
  6011. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  6012. o Minor features (admin tools):
  6013. - Add a new --key-expiration option to print the expiration date of
  6014. the signing cert in an ed25519_signing_cert file. Resolves
  6015. issue 19506.
  6016. o Minor features (build):
  6017. - If you pass the "--enable-pic" option to configure, Tor will try
  6018. to tell the compiler to build position-independent code suitable
  6019. to link into a dynamic library. (The default remains -fPIE, for
  6020. code suitable for a relocatable executable.) Closes ticket 23846.
  6021. o Minor features (code correctness, testing):
  6022. - Tor's build process now includes a "check-includes" make target to
  6023. verify that no module of Tor relies on any headers from a higher-
  6024. level module. We hope to use this feature over time to help
  6025. refactor our codebase. Closes ticket 26447.
  6026. o Minor features (code layout):
  6027. - We have a new "lowest-level" error-handling API for use by code
  6028. invoked from within the logging module. With this interface, the
  6029. logging code is no longer at risk of calling into itself if a
  6030. failure occurs while it is trying to log something. Closes
  6031. ticket 26427.
  6032. o Minor features (compilation):
  6033. - Tor's configure script now supports a --with-malloc= option to
  6034. select your malloc implementation. Supported options are
  6035. "tcmalloc", "jemalloc", "openbsd" (deprecated), and "system" (the
  6036. default). Addresses part of ticket 20424. Based on a patch from
  6037. Alex Xu.
  6038. o Minor features (config):
  6039. - The "auto" keyword in torrc is now case-insensitive. Closes
  6040. ticket 26663.
  6041. o Minor features (continuous integration):
  6042. - Don't do a distcheck with --disable-module-dirauth in Travis.
  6043. Implements ticket 27252.
  6044. - Install libcap-dev and libseccomp2-dev so these optional
  6045. dependencies get tested on Travis CI. Closes ticket 26560.
  6046. - Only run one online rust build in Travis, to reduce network
  6047. errors. Skip offline rust builds on Travis for Linux gcc, because
  6048. they're redundant. Implements ticket 27252.
  6049. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  6050. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  6051. Linux with default settings, because all the non-default builds
  6052. use gcc on Linux. Implements ticket 27252.
  6053. o Minor features (controller):
  6054. - Emit CIRC_BW events as soon as we detect that we processed an
  6055. invalid or otherwise dropped cell on a circuit. This allows
  6056. vanguards and other controllers to react more quickly to dropped
  6057. cells. Closes ticket 27678.
  6058. - For purposes of CIRC_BW-based dropped cell detection, track half-
  6059. closed stream ids, and allow their ENDs, SENDMEs, DATA and path
  6060. bias check cells to arrive without counting it as dropped until
  6061. either the END arrives, or the windows are empty. Closes
  6062. ticket 25573.
  6063. - Implement a 'GETINFO md/all' controller command to enable getting
  6064. all known microdescriptors. Closes ticket 8323.
  6065. - The GETINFO command now support an "uptime" argument, to return
  6066. Tor's uptime in seconds. Closes ticket 25132.
  6067. o Minor features (denial-of-service avoidance):
  6068. - Make our OOM handler aware of the DNS cache so that it doesn't
  6069. fill up the memory. This check is important for our DoS mitigation
  6070. subsystem. Closes ticket 18642. Patch by Neel Chauhan.
  6071. o Minor features (development):
  6072. - Tor's makefile now supports running the "clippy" Rust style tool
  6073. on our Rust code. Closes ticket 22156.
  6074. o Minor features (directory authority):
  6075. - There is no longer an artificial upper limit on the length of
  6076. bandwidth lines. Closes ticket 26223.
  6077. - When a bandwidth file is used to obtain the bandwidth measurements,
  6078. include this bandwidth file headers in the votes. Closes
  6079. ticket 3723.
  6080. - Improved support for networks with only a single authority or a
  6081. single fallback directory. Patch from Gabriel Somlo. Closes
  6082. ticket 25928.
  6083. o Minor features (embedding API):
  6084. - The Tor controller API now supports a function to launch Tor with
  6085. a preconstructed owning controller FD, so that embedding
  6086. applications don't need to manage controller ports and
  6087. authentication. Closes ticket 24204.
  6088. - The Tor controller API now has a function that returns the name
  6089. and version of the backend implementing the API. Closes
  6090. ticket 26947.
  6091. o Minor features (geoip):
  6092. - Update geoip and geoip6 to the September 6 2018 Maxmind GeoLite2
  6093. Country database. Closes ticket 27631.
  6094. o Minor features (memory management):
  6095. - Get Libevent to use the same memory allocator as Tor, by calling
  6096. event_set_mem_functions() during initialization. Resolves
  6097. ticket 8415.
  6098. o Minor features (memory usage):
  6099. - When not using them, store legacy TAP public onion keys in DER-
  6100. encoded format, rather than as expanded public keys. This should
  6101. save several megabytes on typical clients. Closes ticket 27246.
  6102. o Minor features (OpenSSL):
  6103. - When possible, use RFC5869 HKDF implementation from OpenSSL rather
  6104. than our own. Resolves ticket 19979.
  6105. o Minor features (Rust, code quality):
  6106. - Improve rust code quality in the rust protover implementation by
  6107. making it more idiomatic. Includes changing an internal API to
  6108. take &str instead of &String. Closes ticket 26492.
  6109. o Minor features (testing):
  6110. - Add scripts/test/chutney-git-bisect.sh, for bisecting using
  6111. chutney. Implements ticket 27211.
  6112. o Minor features (tor-resolve):
  6113. - The tor-resolve utility can now be used with IPv6 SOCKS proxies.
  6114. Side-effect of the refactoring for ticket 26526.
  6115. o Minor features (UI):
  6116. - Log each included configuration file or directory as we read it,
  6117. to provide more visibility about where Tor is reading from. Patch
  6118. from Unto Sten; closes ticket 27186.
  6119. - Lower log level of "Scheduler type KIST has been enabled" to INFO.
  6120. Closes ticket 26703.
  6121. o Minor bugfixes (bootstrap):
  6122. - Try harder to get descriptors in non-exit test networks, by using
  6123. the mid weight for the third hop when there are no exits. Fixes
  6124. bug 27237; bugfix on 0.2.6.2-alpha.
  6125. o Minor bugfixes (C correctness):
  6126. - Avoid casting smartlist index to int implicitly, as it may trigger
  6127. a warning (-Wshorten-64-to-32). Fixes bug 26282; bugfix on
  6128. 0.2.3.13-alpha, 0.2.7.1-alpha and 0.2.1.1-alpha.
  6129. - Use time_t for all values in
  6130. predicted_ports_prediction_time_remaining(). Rework the code that
  6131. computes difference between durations/timestamps. Fixes bug 27165;
  6132. bugfix on 0.3.1.1-alpha.
  6133. o Minor bugfixes (client, memory usage):
  6134. - When not running as a directory cache, there is no need to store
  6135. the text of the current consensus networkstatus in RAM.
  6136. Previously, however, clients would store it anyway, at a cost of
  6137. over 5 MB. Now, they do not. Fixes bug 27247; bugfix
  6138. on 0.3.0.1-alpha.
  6139. o Minor bugfixes (client, reachableaddresses):
  6140. - Instead of adding a "reject *:*" line to ReachableAddresses when
  6141. loading the configuration, add one to the policy after parsing it
  6142. in parse_reachable_addresses(). This prevents extra "reject *.*"
  6143. lines from accumulating on reloads. Fixes bug 20874; bugfix on
  6144. 0.1.1.5-alpha. Patch by Neel Chauhan.
  6145. o Minor bugfixes (code quality):
  6146. - Rename sandbox_getaddrinfo() and other functions to no longer
  6147. misleadingly suggest that they are sandbox-only. Fixes bug 26525;
  6148. bugfix on 0.2.7.1-alpha.
  6149. o Minor bugfixes (configuration, Onion Services):
  6150. - In rend_service_parse_port_config(), disallow any input to remain
  6151. after address-port pair was parsed. This will catch address and
  6152. port being whitespace-separated by mistake of the user. Fixes bug
  6153. 27044; bugfix on 0.2.9.10.
  6154. o Minor bugfixes (continuous integration):
  6155. - Stop reinstalling identical packages in our Windows CI. Fixes bug
  6156. 27464; bugfix on 0.3.4.1-alpha.
  6157. o Minor bugfixes (controller):
  6158. - Consider all routerinfo errors other than "not a server" to be
  6159. transient for the purpose of "GETINFO exit-policy/*" controller
  6160. request. Print stacktrace in the unlikely case of failing to
  6161. recompute routerinfo digest. Fixes bug 27034; bugfix
  6162. on 0.3.4.1-alpha.
  6163. o Minor bugfixes (directory connection shutdown):
  6164. - Avoid a double-close when shutting down a stalled directory
  6165. connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
  6166. o Minor bugfixes (HTTP tunnel):
  6167. - Fix a bug warning when closing an HTTP tunnel connection due to an
  6168. HTTP request we couldn't handle. Fixes bug 26470; bugfix
  6169. on 0.3.2.1-alpha.
  6170. o Minor bugfixes (ipv6):
  6171. - In addrs_in_same_network_family(), we choose the subnet size based
  6172. on the IP version (IPv4 or IPv6). Previously, we chose a fixed
  6173. subnet size of /16 for both IPv4 and IPv6 addresses. Fixes bug
  6174. 15518; bugfix on 0.2.3.1-alpha. Patch by Neel Chauhan.
  6175. o Minor bugfixes (logging):
  6176. - As a precaution, do an early return from log_addr_has_changed() if
  6177. Tor is running as client. Also, log a stack trace for debugging as
  6178. this function should only be called when Tor runs as server. Fixes
  6179. bug 26892; bugfix on 0.1.1.9-alpha.
  6180. - Refrain from mentioning bug 21018 in the logs, as it is already
  6181. fixed. Fixes bug 25477; bugfix on 0.2.9.8.
  6182. o Minor bugfixes (logging, documentation):
  6183. - When SafeLogging is enabled, scrub IP address in
  6184. channel_tls_process_netinfo_cell(). Also, add a note to manpage
  6185. that scrubbing is not guaranteed on loglevels below Notice. Fixes
  6186. bug 26882; bugfix on 0.2.4.10-alpha.
  6187. o Minor bugfixes (netflow padding):
  6188. - Ensure circuitmux queues are empty before scheduling or sending
  6189. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  6190. o Minor bugfixes (onion service v2):
  6191. - Log at level "info", not "warning", in the case that we do not
  6192. have a consensus when a .onion request comes in. This can happen
  6193. normally while bootstrapping. Fixes bug 27040; bugfix
  6194. on 0.2.8.2-alpha.
  6195. o Minor bugfixes (onion service v3):
  6196. - When the onion service directory can't be created or has the wrong
  6197. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  6198. on 0.3.2.1-alpha.
  6199. o Minor bugfixes (OS compatibility):
  6200. - Properly handle configuration changes that move a listener to/from
  6201. wildcard IP address. If the first attempt to bind a socket fails,
  6202. close the old listener and try binding the socket again. Fixes bug
  6203. 17873; bugfix on 0.0.8pre-1.
  6204. o Minor bugfixes (performance)::
  6205. - Rework node_is_a_configured_bridge() to no longer call
  6206. node_get_all_orports(), which was performing too many memory
  6207. allocations. Fixes bug 27224; bugfix on 0.2.3.9.
  6208. o Minor bugfixes (relay statistics):
  6209. - Update relay descriptor on bandwidth changes only when the uptime
  6210. is smaller than 24h, in order to reduce the efficiency of guard
  6211. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  6212. o Minor bugfixes (relays):
  6213. - Consider the fact that we'll be making direct connections to our
  6214. entry and guard nodes when computing the fraction of nodes that
  6215. have their descriptors. Also, if we are using bridges and there is
  6216. at least one bridge with a full descriptor, treat the fraction of
  6217. guards available as 100%. Fixes bug 25886; bugfix on 0.2.4.10-alpha.
  6218. Patch by Neel Chauhan.
  6219. - Update the message logged on relays when DirCache is disabled.
  6220. Since 0.3.3.5-rc, authorities require DirCache (V2Dir) for the
  6221. Guard flag. Fixes bug 24312; bugfix on 0.3.3.5-rc.
  6222. o Minor bugfixes (rust, protover):
  6223. - Compute protover votes correctly in the rust version of the
  6224. protover code. Previously, the protover rewrite in 24031 allowed
  6225. repeated votes from the same voter for the same protocol version
  6226. to be counted multiple times in protover_compute_vote(). Fixes bug
  6227. 27649; bugfix on 0.3.3.5-rc.
  6228. - Reject protover names that contain invalid characters. Fixes bug
  6229. 27687; bugfix on 0.3.3.1-alpha.
  6230. o Minor bugfixes (testing):
  6231. - Fix two unit tests to work when HOME environment variable is not
  6232. set. Fixes bug 27096; bugfix on 0.2.8.1-alpha.
  6233. - If a unit test running in a subprocess exits abnormally or with a
  6234. nonzero status code, treat the test as having failed, even if the
  6235. test reported success. Without this fix, memory leaks don't cause
  6236. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  6237. bugfix on 0.2.2.4-alpha.
  6238. - When logging a version mismatch in our openssl_version tests,
  6239. report the actual offending version strings. Fixes bug 26152;
  6240. bugfix on 0.2.9.1-alpha.
  6241. - Fix forking tests on Windows when there is a space somewhere in
  6242. the path. Fixes bug 26437; bugfix on 0.2.2.4-alpha.
  6243. o Code simplification and refactoring:
  6244. - 'updateFallbackDirs.py' now ignores the blacklist file, as it's not
  6245. longer needed. Closes ticket 26502.
  6246. - Include paths to header files within Tor are now qualified by
  6247. directory within the top-level src directory.
  6248. - Many structures have been removed from the centralized "or.h"
  6249. header, and moved into their own headers. This will allow us to
  6250. reduce the number of places in the code that rely on each
  6251. structure's contents and layout. Closes ticket 26383.
  6252. - Remove ATTR_NONNULL macro from codebase. Resolves ticket 26527.
  6253. - Remove GetAdaptersAddresses_fn_t. The code that used it was
  6254. removed as part of the 26481 refactor. Closes ticket 27467.
  6255. - Rework Tor SOCKS server code to use Trunnel and benefit from
  6256. autogenerated functions for parsing and generating SOCKS wire
  6257. format. New implementation is cleaner, more maintainable and
  6258. should be less prone to heartbleed-style vulnerabilities.
  6259. Implements a significant fraction of ticket 3569.
  6260. - Split sampled_guards_update_from_consensus() and
  6261. select_entry_guard_for_circuit() into subfunctions. In
  6262. entry_guards_update_primary() unite three smartlist enumerations
  6263. into one and move smartlist comparison code out of the function.
  6264. Closes ticket 21349.
  6265. - Tor now assumes that you have standards-conformant stdint.h and
  6266. inttypes.h headers when compiling. Closes ticket 26626.
  6267. - Unify our bloom filter logic. Previously we had two copies of this
  6268. code: one for routerlist filtering, and one for address set
  6269. calculations. Closes ticket 26510.
  6270. - Use the simpler strcmpstart() helper in
  6271. rend_parse_v2_service_descriptor instead of strncmp(). Closes
  6272. ticket 27630.
  6273. - Utility functions that can perform a DNS lookup are now wholly
  6274. separated from those that can't, in separate headers and C
  6275. modules. Closes ticket 26526.
  6276. o Documentation:
  6277. - Copy paragraph and URL to Tor's code of conduct document from
  6278. CONTRIBUTING to new CODE_OF_CONDUCT file. Resolves ticket 26638.
  6279. - Remove old instructions from INSTALL document. Closes ticket 26588.
  6280. - Warn users that they should not include MyFamily line(s) in their
  6281. torrc when running Tor bridge. Closes ticket 26908.
  6282. o Removed features:
  6283. - Tor no longer supports building with the dmalloc library. For
  6284. debugging memory issues, we suggest using gperftools or msan
  6285. instead. Closes ticket 26426.
  6286. - Tor no longer attempts to run on Windows environments without the
  6287. GetAdaptersAddresses() function. This function has existed since
  6288. Windows XP, which is itself already older than we support.
  6289. - Remove Tor2web functionality for version 2 onion services. The
  6290. Tor2webMode and Tor2webRendezvousPoints options are now obsolete.
  6291. (This feature was never shipped in vanilla Tor and it was only
  6292. possible to use this feature by building the support at compile
  6293. time. Tor2webMode is not implemented for version 3 onion services.)
  6294. Closes ticket 26367.
  6295. Changes in version 0.2.9.17 - 2018-09-10
  6296. Tor 0.2.9.17 backports numerous bugfixes from later versions of Tor.
  6297. o Minor features (compatibility, backport from 0.3.4.8):
  6298. - Tell OpenSSL to maintain backward compatibility with previous
  6299. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  6300. ciphers are disabled by default. Closes ticket 27344.
  6301. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  6302. - Enable macOS builds in our Travis CI configuration. Closes
  6303. ticket 24629.
  6304. - Install libcap-dev and libseccomp2-dev so these optional
  6305. dependencies get tested on Travis CI. Closes ticket 26560.
  6306. - Run asciidoc during Travis CI. Implements ticket 27087.
  6307. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  6308. o Minor features (geoip):
  6309. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  6310. Country database. Closes ticket 27089.
  6311. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  6312. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  6313. tell the compiler not to include the system malloc implementation.
  6314. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  6315. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  6316. - Silence a spurious compiler warning on the GetAdaptersAddresses
  6317. function pointer cast. This issue is already fixed by 26481 in
  6318. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  6319. bugfix on 0.2.3.11-alpha.
  6320. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  6321. supported, and always fails. Some compilers warn about the
  6322. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  6323. on 0.2.2.23-alpha.
  6324. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  6325. - Don't link or search for pthreads when building for Windows, even
  6326. if we are using build environment (like mingw) that provides a
  6327. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  6328. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  6329. - Skip a pair of unreliable key generation tests on Windows, until
  6330. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  6331. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  6332. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  6333. - Pass the module flags to distcheck configure, and log the flags
  6334. before running configure. (Backported to 0.2.9 and later as a
  6335. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  6336. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  6337. - When a Travis build fails, and showing a log fails, keep trying to
  6338. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  6339. - When we use echo in Travis, don't pass a --flag as the first
  6340. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  6341. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  6342. - When voting for recommended versions, make sure that all of the
  6343. versions are well-formed and parsable. Fixes bug 26485; bugfix
  6344. on 0.1.1.6-alpha.
  6345. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  6346. - Fix a bug in out sandboxing rules for the openat() syscall.
  6347. Previously, no openat() call would be permitted, which would break
  6348. filesystem operations on recent glibc versions. Fixes bug 25440;
  6349. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  6350. o Minor bugfixes (onion services, backport from 0.3.4.8):
  6351. - Silence a spurious compiler warning in
  6352. rend_client_send_introduction(). Fixes bug 27463; bugfix
  6353. on 0.1.1.2-alpha.
  6354. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  6355. - Log a protocol warning when single onion services or Tor2web clients
  6356. fail to authenticate direct connections to relays.
  6357. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  6358. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  6359. - Disable core dumps in test_bt.sh, to avoid failures in "make
  6360. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  6361. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  6362. - Before running make test-network-all, delete old logs and test
  6363. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  6364. on 0.2.7.3-rc.
  6365. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  6366. - Our "tortls/cert_matches_key" unit test no longer relies on
  6367. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  6368. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  6369. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  6370. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  6371. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  6372. 27185; bugfix on 0.2.2.2-alpha.
  6373. Changes in version 0.3.2.12 - 2018-09-10
  6374. Tor 0.3.2.12 backport numerous fixes from later versions of Tor.
  6375. o Minor features (compatibility, backport from 0.3.4.8):
  6376. - Tell OpenSSL to maintain backward compatibility with previous
  6377. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  6378. ciphers are disabled by default. Closes ticket 27344.
  6379. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  6380. - Enable macOS builds in our Travis CI configuration. Closes
  6381. ticket 24629.
  6382. - Install libcap-dev and libseccomp2-dev so these optional
  6383. dependencies get tested on Travis CI. Closes ticket 26560.
  6384. - Run asciidoc during Travis CI. Implements ticket 27087.
  6385. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  6386. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  6387. - Use cargo cache in our Travis CI configuration. Closes
  6388. ticket 26952.
  6389. o Minor features (controller, backport from 0.3.4.6-rc):
  6390. - The control port now exposes the list of HTTPTunnelPorts and
  6391. ExtOrPorts via GETINFO net/listeners/httptunnel and
  6392. net/listeners/extor respectively. Closes ticket 26647.
  6393. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  6394. - Authorities no longer vote to make the subprotocol version
  6395. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  6396. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  6397. o Minor features (geoip):
  6398. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  6399. Country database. Closes ticket 27089.
  6400. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  6401. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  6402. tell the compiler not to include the system malloc implementation.
  6403. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  6404. - Don't try to use a pragma to temporarily disable the
  6405. -Wunused-const-variable warning if the compiler doesn't support
  6406. it. Fixes bug 26785; bugfix on 0.3.2.11.
  6407. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  6408. - Silence a spurious compiler warning on the GetAdaptersAddresses
  6409. function pointer cast. This issue is already fixed by 26481 in
  6410. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  6411. bugfix on 0.2.3.11-alpha.
  6412. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  6413. supported, and always fails. Some compilers warn about the
  6414. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  6415. on 0.2.2.23-alpha.
  6416. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  6417. - Don't link or search for pthreads when building for Windows, even
  6418. if we are using build environment (like mingw) that provides a
  6419. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  6420. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  6421. - Skip a pair of unreliable key generation tests on Windows, until
  6422. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  6423. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  6424. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  6425. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  6426. - Pass the module flags to distcheck configure, and log the flags
  6427. before running configure. (Backported to 0.2.9 and later as a
  6428. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  6429. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  6430. - When a Travis build fails, and showing a log fails, keep trying to
  6431. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  6432. - When we use echo in Travis, don't pass a --flag as the first
  6433. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  6434. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  6435. - When voting for recommended versions, make sure that all of the
  6436. versions are well-formed and parsable. Fixes bug 26485; bugfix
  6437. on 0.1.1.6-alpha.
  6438. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  6439. - Fix a bug in out sandboxing rules for the openat() syscall.
  6440. Previously, no openat() call would be permitted, which would break
  6441. filesystem operations on recent glibc versions. Fixes bug 25440;
  6442. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  6443. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  6444. - Improve the log message when connection initiators fail to
  6445. authenticate direct connections to relays. Fixes bug 26927; bugfix
  6446. on 0.3.0.1-alpha.
  6447. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  6448. - Fix bug that causes services to not ever rotate their descriptors
  6449. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  6450. on 0.3.2.1-alpha.
  6451. o Minor bugfixes (onion services, backport from 0.3.4.8):
  6452. - Silence a spurious compiler warning in
  6453. rend_client_send_introduction(). Fixes bug 27463; bugfix
  6454. on 0.1.1.2-alpha.
  6455. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  6456. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  6457. on 0.3.1.5-alpha.
  6458. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  6459. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  6460. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  6461. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  6462. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  6463. - Log a protocol warning when single onion services or Tor2web clients
  6464. fail to authenticate direct connections to relays.
  6465. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  6466. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  6467. - Disable core dumps in test_bt.sh, to avoid failures in "make
  6468. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  6469. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  6470. - When running make test-network-all, use the mixed+hs-v2 network.
  6471. (A previous fix to chutney removed v3 onion services from the
  6472. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  6473. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  6474. - Before running make test-network-all, delete old logs and test
  6475. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  6476. on 0.2.7.3-rc.
  6477. o Minor bugfixes (testing, openssl compatibility):
  6478. - Our "tortls/cert_matches_key" unit test no longer relies on OpenSSL
  6479. internals. Previously, it relied on unsupported OpenSSL behavior in
  6480. a way that caused it to crash with OpenSSL 1.0.2p. Fixes bug 27226;
  6481. bugfix on 0.2.5.1-alpha.
  6482. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  6483. - Our "tortls/cert_matches_key" unit test no longer relies on
  6484. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  6485. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  6486. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  6487. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  6488. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  6489. 27185; bugfix on 0.2.2.2-alpha.
  6490. Changes in version 0.3.3.10 - 2018-09-10
  6491. Tor 0.3.3.10 backports numerous fixes from later versions of Tor.
  6492. o Minor features (bug workaround, backport from 0.3.4.7-rc):
  6493. - Compile correctly on systems that provide the C11 stdatomic.h
  6494. header, but where C11 atomic functions don't actually compile.
  6495. Closes ticket 26779; workaround for Debian issue 903709.
  6496. o Minor features (compatibility, backport from 0.3.4.8):
  6497. - Tell OpenSSL to maintain backward compatibility with previous
  6498. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  6499. ciphers are disabled by default. Closes ticket 27344.
  6500. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  6501. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  6502. - Enable macOS builds in our Travis CI configuration. Closes
  6503. ticket 24629.
  6504. - Install libcap-dev and libseccomp2-dev so these optional
  6505. dependencies get tested on Travis CI. Closes ticket 26560.
  6506. - Run asciidoc during Travis CI. Implements ticket 27087.
  6507. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  6508. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  6509. - Use cargo cache in our Travis CI configuration. Closes
  6510. ticket 26952.
  6511. o Minor features (controller, backport from 0.3.4.6-rc):
  6512. - The control port now exposes the list of HTTPTunnelPorts and
  6513. ExtOrPorts via GETINFO net/listeners/httptunnel and
  6514. net/listeners/extor respectively. Closes ticket 26647.
  6515. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  6516. - Authorities no longer vote to make the subprotocol version
  6517. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  6518. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  6519. o Minor features (geoip):
  6520. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  6521. Country database. Closes ticket 27089.
  6522. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  6523. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  6524. tell the compiler not to include the system malloc implementation.
  6525. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  6526. - Don't try to use a pragma to temporarily disable the
  6527. -Wunused-const-variable warning if the compiler doesn't support
  6528. it. Fixes bug 26785; bugfix on 0.3.2.11.
  6529. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  6530. - Silence a spurious compiler warning on the GetAdaptersAddresses
  6531. function pointer cast. This issue is already fixed by 26481 in
  6532. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  6533. bugfix on 0.2.3.11-alpha.
  6534. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  6535. supported, and always fails. Some compilers warn about the
  6536. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  6537. on 0.2.2.23-alpha.
  6538. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  6539. - Don't link or search for pthreads when building for Windows, even
  6540. if we are using build environment (like mingw) that provides a
  6541. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  6542. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  6543. - Skip a pair of unreliable key generation tests on Windows, until
  6544. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  6545. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  6546. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  6547. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  6548. - Pass the module flags to distcheck configure, and log the flags
  6549. before running configure. (Backported to 0.2.9 and later as a
  6550. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  6551. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  6552. - When a Travis build fails, and showing a log fails, keep trying to
  6553. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  6554. - When we use echo in Travis, don't pass a --flag as the first
  6555. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  6556. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  6557. - When voting for recommended versions, make sure that all of the
  6558. versions are well-formed and parsable. Fixes bug 26485; bugfix
  6559. on 0.1.1.6-alpha.
  6560. o Minor bugfixes (in-process restart, backport from 0.3.4.7-rc):
  6561. - Always call tor_free_all() when leaving tor_run_main(). When we
  6562. did not, restarting tor in-process would cause an assertion
  6563. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  6564. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  6565. - Fix a bug in our sandboxing rules for the openat() syscall.
  6566. Previously, no openat() call would be permitted, which would break
  6567. filesystem operations on recent glibc versions. Fixes bug 25440;
  6568. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  6569. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  6570. - Improve the log message when connection initiators fail to
  6571. authenticate direct connections to relays. Fixes bug 26927; bugfix
  6572. on 0.3.0.1-alpha.
  6573. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  6574. - Fix bug that causes services to not ever rotate their descriptors
  6575. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  6576. on 0.3.2.1-alpha.
  6577. o Minor bugfixes (onion services, backport from 0.3.4.8):
  6578. - Silence a spurious compiler warning in
  6579. rend_client_send_introduction(). Fixes bug 27463; bugfix
  6580. on 0.1.1.2-alpha.
  6581. o Minor bugfixes (portability, backport from 0.3.4.6-rc):
  6582. - Work around two different bugs in the OS X 10.10 and later SDKs
  6583. that would prevent us from successfully targeting earlier versions
  6584. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  6585. o Minor bugfixes (portability, backport from 0.3.4.7-rc):
  6586. - Fix compilation of the unit tests on GNU/Hurd, which does not
  6587. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  6588. from "paulusASol".
  6589. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  6590. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  6591. on 0.3.1.5-alpha.
  6592. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  6593. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  6594. - Protover parsing was accepting the presence of whitespace in
  6595. version strings, which the C implementation would choke on, e.g.
  6596. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  6597. - Protover parsing was ignoring a 2nd hyphen and everything after
  6598. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  6599. on 0.3.3.1-alpha.
  6600. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  6601. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  6602. - cd to ${abs_top_builddir}/src/rust before running cargo in
  6603. src/test/test_rust.sh. This makes the working directory consistent
  6604. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  6605. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  6606. - Log a protocol warning when single onion services or Tor2web clients
  6607. fail to authenticate direct connections to relays.
  6608. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  6609. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  6610. - Disable core dumps in test_bt.sh, to avoid failures in "make
  6611. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  6612. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  6613. - When running make test-network-all, use the mixed+hs-v2 network.
  6614. (A previous fix to chutney removed v3 onion services from the
  6615. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  6616. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  6617. - Before running make test-network-all, delete old logs and test
  6618. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  6619. on 0.2.7.3-rc.
  6620. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  6621. - Our "tortls/cert_matches_key" unit test no longer relies on
  6622. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  6623. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  6624. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  6625. o Minor bugfixes (v3 onion services, backport from 0.3.4.6-rc):
  6626. - Stop sending ed25519 link specifiers in v3 onion service introduce
  6627. cells and descriptors, when the rendezvous or introduction point
  6628. doesn't support ed25519 link authentication. Fixes bug 26627;
  6629. bugfix on 0.3.2.4-alpha.
  6630. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  6631. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  6632. 27185; bugfix on 0.2.2.2-alpha.
  6633. Changes in version 0.3.4.8 - 2018-09-10
  6634. Tor 0.3.4.8 is the first stable release in its series; it includes
  6635. compilation and portability fixes.
  6636. The Tor 0.3.4 series includes improvements for running Tor in
  6637. low-power and embedded environments, which should help performance in
  6638. general. We've begun work on better modularity, and included preliminary
  6639. changes on the directory authority side to accommodate a new bandwidth
  6640. measurement system. We've also integrated more continuous-integration
  6641. systems into our development process, and made corresponding changes to
  6642. Tor's testing infrastructure. Finally, we've continued to refine
  6643. our anti-denial-of-service code.
  6644. Below are the changes since 0.3.4.7-rc. For a complete list of changes
  6645. since 0.3.3.9, see the ReleaseNotes file.
  6646. o Minor features (compatibility):
  6647. - Tell OpenSSL to maintain backward compatibility with previous
  6648. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  6649. ciphers are disabled by default. Closes ticket 27344.
  6650. o Minor features (continuous integration):
  6651. - Log the compiler path and version during Appveyor builds.
  6652. Implements ticket 27449.
  6653. - Show config.log and test-suite.log after failed Appveyor builds.
  6654. Also upload the zipped full logs as a build artifact. Implements
  6655. ticket 27430.
  6656. o Minor bugfixes (compilation):
  6657. - Silence a spurious compiler warning on the GetAdaptersAddresses
  6658. function pointer cast. This issue is already fixed by 26481 in
  6659. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  6660. bugfix on 0.2.3.11-alpha.
  6661. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  6662. supported, and always fails. Some compilers warn about the
  6663. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  6664. on 0.2.2.23-alpha.
  6665. o Minor bugfixes (continuous integration):
  6666. - Disable gcc hardening in Appveyor Windows 64-bit builds. As of
  6667. August 29 2018, Appveyor images come with gcc 8.2.0 by default.
  6668. Executables compiled for 64-bit Windows with this version of gcc
  6669. crash when Tor's --enable-gcc-hardening flag is set. Fixes bug
  6670. 27460; bugfix on 0.3.4.1-alpha.
  6671. - When a Travis build fails, and showing a log fails, keep trying to
  6672. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  6673. - When we use echo in Travis, don't pass a --flag as the first
  6674. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  6675. o Minor bugfixes (onion services):
  6676. - Silence a spurious compiler warning in
  6677. rend_client_send_introduction(). Fixes bug 27463; bugfix
  6678. on 0.1.1.2-alpha.
  6679. o Minor bugfixes (testing, chutney):
  6680. - When running make test-network-all, use the mixed+hs-v2 network.
  6681. (A previous fix to chutney removed v3 onion services from the
  6682. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  6683. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  6684. - Before running make test-network-all, delete old logs and test
  6685. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  6686. on 0.2.7.3-rc.
  6687. Changes in version 0.3.4.7-rc - 2018-08-24
  6688. Tor 0.3.4.7-rc fixes several small compilation, portability, and
  6689. correctness issues in previous versions of Tor. This version is a
  6690. release candidate: if no serious bugs are found, we expect that the
  6691. stable 0.3.4 release will be (almost) the same as this release.
  6692. o Minor features (bug workaround):
  6693. - Compile correctly on systems that provide the C11 stdatomic.h
  6694. header, but where C11 atomic functions don't actually compile.
  6695. Closes ticket 26779; workaround for Debian issue 903709.
  6696. o Minor features (continuous integration):
  6697. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  6698. - Enable macOS builds in our Travis CI configuration. Closes
  6699. ticket 24629.
  6700. - Install libcap-dev and libseccomp2-dev so these optional
  6701. dependencies get tested on Travis CI. Closes ticket 26560.
  6702. - Only post Appveyor IRC notifications when the build fails.
  6703. Implements ticket 27275.
  6704. - Run asciidoc during Travis CI. Implements ticket 27087.
  6705. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  6706. o Minor features (continuous integration, rust):
  6707. - Use cargo cache in our Travis CI configuration. Closes
  6708. ticket 26952.
  6709. o Minor features (directory authorities):
  6710. - Authorities no longer vote to make the subprotocol version
  6711. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  6712. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  6713. o Minor features (geoip):
  6714. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  6715. Country database. Closes ticket 27089.
  6716. o Minor bugfixes (compilation, windows):
  6717. - Don't link or search for pthreads when building for Windows, even
  6718. if we are using build environment (like mingw) that provides a
  6719. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  6720. o Minor bugfixes (continuous integration):
  6721. - Improve Appveyor CI IRC logging. Generate correct branches and
  6722. URLs for pull requests and tags. Use unambiguous short commits.
  6723. Fixes bug 26979; bugfix on master.
  6724. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  6725. - Pass the module flags to distcheck configure, and log the flags
  6726. before running configure. (Backported to 0.2.9 and later as a
  6727. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  6728. o Minor bugfixes (in-process restart):
  6729. - Always call tor_free_all() when leaving tor_run_main(). When we
  6730. did not, restarting tor in-process would cause an assertion
  6731. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  6732. o Minor bugfixes (linux seccomp2 sandbox):
  6733. - Fix a bug in out sandboxing rules for the openat() syscall.
  6734. Previously, no openat() call would be permitted, which would break
  6735. filesystem operations on recent glibc versions. Fixes bug 25440;
  6736. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  6737. o Minor bugfixes (onion services):
  6738. - Fix bug that causes services to not ever rotate their descriptors
  6739. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  6740. on 0.3.2.1-alpha.
  6741. o Minor bugfixes (portability):
  6742. - Fix compilation of the unit tests on GNU/Hurd, which does not
  6743. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  6744. from "paulusASol".
  6745. o Minor bugfixes (rust):
  6746. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  6747. on 0.3.1.5-alpha.
  6748. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  6749. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  6750. - Protover parsing was accepting the presence of whitespace in
  6751. version strings, which the C implementation would choke on, e.g.
  6752. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  6753. - Protover parsing was ignoring a 2nd hyphen and everything after
  6754. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  6755. on 0.3.3.1-alpha.
  6756. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  6757. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  6758. - cd to ${abs_top_builddir}/src/rust before running cargo in
  6759. src/test/test_rust.sh. This makes the working directory consistent
  6760. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  6761. o Minor bugfixes (testing, bootstrap):
  6762. - When calculating bootstrap progress, check exit policies and the
  6763. exit flag. Previously, Tor would only check the exit flag, which
  6764. caused race conditions in small and fast networks like chutney.
  6765. Fixes bug 27236; bugfix on 0.2.6.3-alpha.
  6766. o Minor bugfixes (testing, openssl compatibility):
  6767. - Our "tortls/cert_matches_key" unit test no longer relies on
  6768. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  6769. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  6770. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  6771. o Minor bugfixes (Windows, compilation):
  6772. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  6773. 27185; bugfix on 0.2.2.2-alpha.
  6774. Changes in version 0.3.4.6-rc - 2018-08-06
  6775. Tor 0.3.4.6-rc fixes several small compilation, portability, and
  6776. correctness issues in previous versions of Tor. This version is a
  6777. release candidate: if no serious bugs are found, we expect that the
  6778. stable 0.3.4 release will be (almost) the same as this release.
  6779. o Major bugfixes (event scheduler):
  6780. - When we enable a periodic event, schedule it in the event loop
  6781. rather than running it immediately. Previously, we would re-run
  6782. periodic events immediately in the middle of (for example)
  6783. changing our options, with unpredictable effects. Fixes bug 27003;
  6784. bugfix on 0.3.4.1-alpha.
  6785. o Minor features (compilation):
  6786. - When building Tor, prefer to use Python 3 over Python 2, and more
  6787. recent (contemplated) versions over older ones. Closes
  6788. ticket 26372.
  6789. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  6790. tell the compiler not to include the system malloc implementation.
  6791. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  6792. - Don't try to use a pragma to temporarily disable the
  6793. -Wunused-const-variable warning if the compiler doesn't support
  6794. it. Fixes bug 26785; bugfix on 0.3.2.11.
  6795. o Minor bugfixes (continuous integration):
  6796. - Skip a pair of unreliable key generation tests on Windows, until
  6797. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  6798. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  6799. o Minor features (controller):
  6800. - The control port now exposes the list of HTTPTunnelPorts and
  6801. ExtOrPorts via GETINFO net/listeners/httptunnel and
  6802. net/listeners/extor respectively. Closes ticket 26647.
  6803. o Minor bugfixes (directory authority):
  6804. - When voting for recommended versions, make sure that all of the
  6805. versions are well-formed and parsable. Fixes bug 26485; bugfix
  6806. on 0.1.1.6-alpha.
  6807. o Minor features (geoip):
  6808. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  6809. Country database. Closes ticket 26674.
  6810. o Minor features (Rust, portability):
  6811. - Rust cross-compilation is now supported. Closes ticket 25895.
  6812. o Minor bugfixes (compilation):
  6813. - Update build system so that tor builds again with --disable-unittests
  6814. after recent refactoring. Fixes bug 26789; bugfix on 0.3.4.3-alpha.
  6815. - Fix a compilation warning on some versions of GCC when building
  6816. code that calls routerinfo_get_my_routerinfo() twice, assuming
  6817. that the second call will succeed if the first one did. Fixes bug
  6818. 26269; bugfix on 0.2.8.2-alpha.
  6819. o Minor bugfixes (controller):
  6820. - Report the port correctly when a port is configured to bind to
  6821. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  6822. - Parse the "HSADDRESS=" parameter in HSPOST commands properly.
  6823. Previously, it was misparsed and ignored. Fixes bug 26523; bugfix
  6824. on 0.3.3.1-alpha. Patch by "akwizgran".
  6825. o Minor bugfixes (correctness, flow control):
  6826. - Upon receiving a stream-level SENDME cell, verify that our window
  6827. has not grown too large. Fixes bug 26214; bugfix on svn
  6828. r54 (pre-0.0.1).
  6829. o Minor bugfixes (memory, correctness):
  6830. - Fix a number of small memory leaks identified by coverity. Fixes
  6831. bug 26467; bugfix on numerous Tor versions.
  6832. o Minor bugfixes (logging):
  6833. - Improve the log message when connection initiators fail to
  6834. authenticate direct connections to relays. Fixes bug 26927; bugfix
  6835. on 0.3.0.1-alpha.
  6836. o Minor bugfixes (portability):
  6837. - Avoid a compilation error in test_bwmgt.c on Solaris 10. Fixes bug
  6838. 26994; bugfix on 0.3.4.1-alpha.
  6839. - Work around two different bugs in the OS X 10.10 and later SDKs
  6840. that would prevent us from successfully targeting earlier versions
  6841. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  6842. o Minor bugfixes (single onion services, Tor2web):
  6843. - Log a protocol warning when single onion services or Tor2web
  6844. clients fail to authenticate direct connections to relays. Fixes
  6845. bug 26924; bugfix on 0.2.9.1-alpha.
  6846. o Minor bugfixes (testing):
  6847. - Disable core dumps in test_bt.sh, to avoid failures in "make
  6848. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  6849. o Minor bugfixes (testing, compatibility):
  6850. - When running the ntor_ref.py and hs_ntor_ref.py tests, make sure
  6851. only to pass strings (rather than "bytes" objects) to the Python
  6852. subprocess module. Python 3 on Windows seems to require this.
  6853. Fixes bug 26535; bugfix on 0.2.5.5-alpha (for ntor_ref.py) and
  6854. 0.3.1.1-alpha (for hs_ntor_ref.py).
  6855. o Minor bugfixes (v3 onion services):
  6856. - Stop sending ed25519 link specifiers in v3 onion service introduce
  6857. cells and descriptors, when the rendezvous or introduction point
  6858. doesn't support ed25519 link authentication. Fixes bug 26627;
  6859. bugfix on 0.3.2.4-alpha.
  6860. Changes in version 0.3.4.5-rc - 2018-07-13
  6861. Tor 0.3.4.5-rc moves to a new bridge authority, meaning people running
  6862. bridge relays should upgrade.
  6863. o Directory authority changes:
  6864. - The "Bifroest" bridge authority has been retired; the new bridge
  6865. authority is "Serge", and it is operated by George from the
  6866. TorBSD project. Closes ticket 26771.
  6867. Changes in version 0.3.3.9 - 2018-07-13
  6868. Tor 0.3.3.9 moves to a new bridge authority, meaning people running
  6869. bridge relays should upgrade.
  6870. o Directory authority changes:
  6871. - The "Bifroest" bridge authority has been retired; the new bridge
  6872. authority is "Serge", and it is operated by George from the
  6873. TorBSD project. Closes ticket 26771.
  6874. Changes in version 0.3.2.11 - 2018-07-13
  6875. Tor 0.3.2.11 moves to a new bridge authority, meaning people running
  6876. bridge relays should upgrade. We also take this opportunity to backport
  6877. other minor fixes.
  6878. o Directory authority changes:
  6879. - The "Bifroest" bridge authority has been retired; the new bridge
  6880. authority is "Serge", and it is operated by George from the
  6881. TorBSD project. Closes ticket 26771.
  6882. o Directory authority changes (backport from 0.3.3.7):
  6883. - Add an IPv6 address for the "dannenberg" directory authority.
  6884. Closes ticket 26343.
  6885. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  6886. - When directory authorities read a zero-byte bandwidth file, they
  6887. would previously log a warning with the contents of an
  6888. uninitialised buffer. They now log a warning about the empty file
  6889. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  6890. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  6891. - Correctly detect when onion services get disabled after HUP. Fixes
  6892. bug 25761; bugfix on 0.3.2.1.
  6893. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  6894. - Explicitly permit the poll() system call when the Linux
  6895. seccomp2-based sandbox is enabled: apparently, some versions of
  6896. libc use poll() when calling getpwnam(). Closes ticket 25313.
  6897. o Minor feature (continuous integration, backport from 0.3.3.5-rc):
  6898. - Update the Travis CI configuration to use the stable Rust channel,
  6899. now that we have decided to require that. Closes ticket 25714.
  6900. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  6901. - Our .travis.yml configuration now includes support for testing the
  6902. results of "make distcheck". (It's not uncommon for "make check"
  6903. to pass but "make distcheck" to fail.) Closes ticket 25814.
  6904. - Our Travis CI configuration now integrates with the Coveralls
  6905. coverage analysis tool. Closes ticket 25818.
  6906. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  6907. - Add several checks to detect whether Tor relays are uploading
  6908. their descriptors without specifying why they regenerated them.
  6909. Diagnostic for ticket 25686.
  6910. o Minor features (compilation, backport from 0.3.4.4-rc):
  6911. - When building Tor, prefer to use Python 3 over Python 2, and more
  6912. recent (contemplated) versions over older ones. Closes
  6913. ticket 26372.
  6914. o Minor features (geoip):
  6915. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  6916. Country database. Closes ticket 26674.
  6917. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  6918. - Upon receiving a malformed connected cell, stop processing the
  6919. cell immediately. Previously we would mark the connection for
  6920. close, but continue processing the cell as if the connection were
  6921. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  6922. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  6923. - Allow the nanosleep() system call, which glibc uses to implement
  6924. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  6925. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  6926. - When running the hs_ntor_ref.py test, make sure only to pass
  6927. strings (rather than "bytes" objects) to the Python subprocess
  6928. module. Python 3 on Windows seems to require this. Fixes bug
  6929. 26535; bugfix on 0.3.1.1-alpha.
  6930. - When running the ntor_ref.py test, make sure only to pass strings
  6931. (rather than "bytes" objects) to the Python subprocess module.
  6932. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  6933. on 0.2.5.5-alpha.
  6934. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  6935. - Work around a change in OpenSSL 1.1.1 where return values that
  6936. would previously indicate "no password" now indicate an empty
  6937. password. Without this workaround, Tor instances running with
  6938. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  6939. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  6940. o Minor bugfixes (documentation, backport from 0.3.3.5-rc):
  6941. - Document that the PerConnBW{Rate,Burst} options will fall back to
  6942. their corresponding consensus parameters only if those parameters
  6943. are set. Previously we had claimed that these values would always
  6944. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  6945. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  6946. - Fix a compilation warning on some versions of GCC when building
  6947. code that calls routerinfo_get_my_routerinfo() twice, assuming
  6948. that the second call will succeed if the first one did. Fixes bug
  6949. 26269; bugfix on 0.2.8.2-alpha.
  6950. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  6951. - Don't consider Tor running as a client if the ControlPort is open,
  6952. but no actual client ports are open. Fixes bug 26062; bugfix
  6953. on 0.2.9.4-alpha.
  6954. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  6955. - Prevent a possible out-of-bounds smartlist read in
  6956. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  6957. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  6958. - Fix a very unlikely (impossible, we believe) null pointer
  6959. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  6960. Coverity; this is CID 1430932.
  6961. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  6962. - Fix a memory leak when a v3 onion service is configured and gets a
  6963. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  6964. - When parsing the descriptor signature, look for the token plus an
  6965. extra white-space at the end. This is more correct but also will
  6966. allow us to support new fields that might start with "signature".
  6967. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  6968. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  6969. - Relays now correctly block attempts to re-extend to the previous
  6970. relay by Ed25519 identity. Previously they would warn in this
  6971. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  6972. on 0.3.0.1-alpha.
  6973. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  6974. - Avoid a crash when running with DirPort set but ORPort turned off.
  6975. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  6976. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  6977. - Silence unused-const-variable warnings in zstd.h with some GCC
  6978. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  6979. o Minor bugfixes (testing, backport from 0.3.3.4-alpha):
  6980. - Avoid intermittent test failures due to a test that had relied on
  6981. onion service introduction point creation finishing within 5
  6982. seconds of real clock time. Fixes bug 25450; bugfix
  6983. on 0.3.1.3-alpha.
  6984. o Minor bugfixes (compilation, backport from 0.3.3.4-alpha):
  6985. - Fix a C99 compliance issue in our configuration script that caused
  6986. compilation issues when compiling Tor with certain versions of
  6987. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  6988. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  6989. - Fix a number of small memory leaks identified by coverity. Fixes
  6990. bug 26467; bugfix on numerous Tor versions.
  6991. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  6992. - Move the list of default directory authorities to its own file.
  6993. Closes ticket 24854. Patch by "beastr0".
  6994. Changes in version 0.2.9.16 - 2018-07-13
  6995. Tor 0.2.9.16 moves to a new bridge authority, meaning people running
  6996. bridge relays should upgrade. We also take this opportunity to backport
  6997. other minor fixes.
  6998. o Directory authority changes:
  6999. - The "Bifroest" bridge authority has been retired; the new bridge
  7000. authority is "Serge", and it is operated by George from the
  7001. TorBSD project. Closes ticket 26771.
  7002. o Directory authority changes (backport from 0.3.3.7):
  7003. - Add an IPv6 address for the "dannenberg" directory authority.
  7004. Closes ticket 26343.
  7005. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  7006. - When directory authorities read a zero-byte bandwidth file, they
  7007. would previously log a warning with the contents of an
  7008. uninitialised buffer. They now log a warning about the empty file
  7009. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  7010. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  7011. - Explicitly permit the poll() system call when the Linux
  7012. seccomp2-based sandbox is enabled: apparently, some versions of
  7013. libc use poll() when calling getpwnam(). Closes ticket 25313.
  7014. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  7015. - Our .travis.yml configuration now includes support for testing the
  7016. results of "make distcheck". (It's not uncommon for "make check"
  7017. to pass but "make distcheck" to fail.) Closes ticket 25814.
  7018. - Our Travis CI configuration now integrates with the Coveralls
  7019. coverage analysis tool. Closes ticket 25818.
  7020. o Minor features (compilation, backport from 0.3.4.4-rc):
  7021. - When building Tor, prefer to use Python 3 over Python 2, and more
  7022. recent (contemplated) versions over older ones. Closes
  7023. ticket 26372.
  7024. o Minor features (geoip):
  7025. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  7026. Country database. Closes ticket 26674.
  7027. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  7028. - Upon receiving a malformed connected cell, stop processing the
  7029. cell immediately. Previously we would mark the connection for
  7030. close, but continue processing the cell as if the connection were
  7031. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  7032. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  7033. - Allow the nanosleep() system call, which glibc uses to implement
  7034. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  7035. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  7036. - When running the ntor_ref.py test, make sure only to pass strings
  7037. (rather than "bytes" objects) to the Python subprocess module.
  7038. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  7039. on 0.2.5.5-alpha.
  7040. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  7041. - Work around a change in OpenSSL 1.1.1 where return values that
  7042. would previously indicate "no password" now indicate an empty
  7043. password. Without this workaround, Tor instances running with
  7044. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  7045. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  7046. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  7047. - Fix a compilation warning on some versions of GCC when building
  7048. code that calls routerinfo_get_my_routerinfo() twice, assuming
  7049. that the second call will succeed if the first one did. Fixes bug
  7050. 26269; bugfix on 0.2.8.2-alpha.
  7051. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  7052. - Don't consider Tor running as a client if the ControlPort is open,
  7053. but no actual client ports are open. Fixes bug 26062; bugfix
  7054. on 0.2.9.4-alpha.
  7055. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  7056. - Prevent a possible out-of-bounds smartlist read in
  7057. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  7058. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  7059. - Fix a very unlikely (impossible, we believe) null pointer
  7060. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  7061. Coverity; this is CID 1430932.
  7062. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  7063. - Fix a number of small memory leaks identified by coverity. Fixes
  7064. bug 26467; bugfix on numerous Tor versions.
  7065. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  7066. - Move the list of default directory authorities to its own file.
  7067. Closes ticket 24854. Patch by "beastr0".
  7068. Changes in version 0.3.4.4-rc - 2018-07-09
  7069. Tor 0.3.4.4-rc fixes several small compilation, portability, and
  7070. correctness issues in previous versions of Tor. This version is a
  7071. release candidate: if no serious bugs are found, we expect that the
  7072. stable 0.3.4 release will be (almost) the same as this release.
  7073. o Minor features (compilation):
  7074. - When building Tor, prefer to use Python 3 over Python 2, and more
  7075. recent (contemplated) versions over older ones. Closes
  7076. ticket 26372.
  7077. o Minor features (geoip):
  7078. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  7079. Country database. Closes ticket 26674.
  7080. o Minor features (Rust, portability):
  7081. - Rust cross-compilation is now supported. Closes ticket 25895.
  7082. o Minor bugfixes (compilation):
  7083. - Fix a compilation warning on some versions of GCC when building
  7084. code that calls routerinfo_get_my_routerinfo() twice, assuming
  7085. that the second call will succeed if the first one did. Fixes bug
  7086. 26269; bugfix on 0.2.8.2-alpha.
  7087. o Minor bugfixes (control port):
  7088. - Report the port correctly when a port is configured to bind to
  7089. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  7090. - Handle the HSADDRESS= argument to the HSPOST command properly.
  7091. (Previously, this argument was misparsed and thus ignored.) Fixes
  7092. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  7093. o Minor bugfixes (correctness, flow control):
  7094. - Upon receiving a stream-level SENDME cell, verify that our window
  7095. has not grown too large. Fixes bug 26214; bugfix on svn
  7096. r54 (pre-0.0.1).
  7097. o Minor bugfixes (memory, correctness):
  7098. - Fix a number of small memory leaks identified by coverity. Fixes
  7099. bug 26467; bugfix on numerous Tor versions.
  7100. o Minor bugfixes (testing, compatibility):
  7101. - When running the hs_ntor_ref.py test, make sure only to pass
  7102. strings (rather than "bytes" objects) to the Python subprocess
  7103. module. Python 3 on Windows seems to require this. Fixes bug
  7104. 26535; bugfix on 0.3.1.1-alpha.
  7105. - When running the ntor_ref.py test, make sure only to pass strings
  7106. (rather than "bytes" objects) to the Python subprocess module.
  7107. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  7108. on 0.2.5.5-alpha.
  7109. Changes in version 0.3.3.8 - 2018-07-09
  7110. Tor 0.3.3.8 backports several changes from the 0.3.4.x series, including
  7111. fixes for a memory leak affecting directory authorities.
  7112. o Major bugfixes (directory authority, backport from 0.3.4.3-alpha):
  7113. - Stop leaking memory on directory authorities when planning to
  7114. vote. This bug was crashing authorities by exhausting their
  7115. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  7116. o Major bugfixes (rust, testing, backport from 0.3.4.3-alpha):
  7117. - Make sure that failing tests in Rust will actually cause the build
  7118. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  7119. on 0.3.3.4-alpha.
  7120. o Minor features (compilation, backport from 0.3.4.4-rc):
  7121. - When building Tor, prefer to use Python 3 over Python 2, and more
  7122. recent (contemplated) versions over older ones. Closes
  7123. ticket 26372.
  7124. o Minor features (geoip):
  7125. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  7126. Country database. Closes ticket 26674.
  7127. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  7128. - Add several checks to detect whether Tor relays are uploading
  7129. their descriptors without specifying why they regenerated them.
  7130. Diagnostic for ticket 25686.
  7131. o Minor bugfixes (circuit path selection, backport from 0.3.4.1-alpha):
  7132. - Don't count path selection failures as circuit build failures.
  7133. This change should eliminate cases where Tor blames its guard or
  7134. the network for situations like insufficient microdescriptors
  7135. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  7136. on 0.3.3.1-alpha.
  7137. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  7138. - Fix a compilation warning on some versions of GCC when building
  7139. code that calls routerinfo_get_my_routerinfo() twice, assuming
  7140. that the second call will succeed if the first one did. Fixes bug
  7141. 26269; bugfix on 0.2.8.2-alpha.
  7142. o Minor bugfixes (control port, backport from 0.3.4.4-rc):
  7143. - Handle the HSADDRESS= argument to the HSPOST command properly.
  7144. (Previously, this argument was misparsed and thus ignored.) Fixes
  7145. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  7146. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  7147. - Fix a number of small memory leaks identified by coverity. Fixes
  7148. bug 26467; bugfix on numerous Tor versions.
  7149. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  7150. - Relays now correctly block attempts to re-extend to the previous
  7151. relay by Ed25519 identity. Previously they would warn in this
  7152. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  7153. on 0.3.0.1-alpha.
  7154. o Minor bugfixes (restart-in-process, backport from 0.3.4.1-alpha):
  7155. - When shutting down, Tor now clears all the flags in the control.c
  7156. module. This should prevent a bug where authentication cookies are
  7157. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  7158. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  7159. - When running the hs_ntor_ref.py test, make sure only to pass
  7160. strings (rather than "bytes" objects) to the Python subprocess
  7161. module. Python 3 on Windows seems to require this. Fixes bug
  7162. 26535; bugfix on 0.3.1.1-alpha.
  7163. - When running the ntor_ref.py test, make sure only to pass strings
  7164. (rather than "bytes" objects) to the Python subprocess module.
  7165. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  7166. on 0.2.5.5-alpha.
  7167. Changes in version 0.3.4.3-alpha - 2018-06-26
  7168. Tor 0.3.4.3-alpha fixes several bugs in earlier versions, including
  7169. one that was causing stability issues on directory authorities.
  7170. o Major bugfixes (directory authority):
  7171. - Stop leaking memory on directory authorities when planning to
  7172. vote. This bug was crashing authorities by exhausting their
  7173. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  7174. o Major bugfixes (rust, testing):
  7175. - Make sure that failing tests in Rust will actually cause the build
  7176. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  7177. on 0.3.3.4-alpha.
  7178. o Minor feature (directory authorities):
  7179. - Stop warning about incomplete bw lines before the first complete
  7180. bw line has been found, so that additional header lines can be
  7181. ignored. Fixes bug 25960; bugfix on 0.2.2.1-alpha
  7182. o Minor features (relay, diagnostic):
  7183. - Add several checks to detect whether Tor relays are uploading
  7184. their descriptors without specifying why they regenerated them.
  7185. Diagnostic for ticket 25686.
  7186. o Minor features (unit tests):
  7187. - Test complete bandwidth measurements files, and test that
  7188. incomplete bandwidth lines only give warnings when the end of the
  7189. header has not been detected. Fixes bug 25947; bugfix
  7190. on 0.2.2.1-alpha
  7191. o Minor bugfixes (compilation):
  7192. - Refrain from compiling unit testing related object files when
  7193. --disable-unittests is set to configure script. Fixes bug 24891;
  7194. bugfix on 0.2.5.1-alpha.
  7195. - When linking the libtor_testing.a library, only include the
  7196. dirauth object files once. Previously, they were getting added
  7197. twice. Fixes bug 26402; bugfix on 0.3.4.1-alpha.
  7198. - The --enable-fatal-warnings flag now affects Rust code as well.
  7199. Closes ticket 26245.
  7200. o Minor bugfixes (onion services):
  7201. - Recompute some consensus information after detecting a clock jump,
  7202. or after transitioning from a non-live consensus to a live
  7203. consensus. We do this to avoid having an outdated state, and
  7204. miscalculating the index for next-generation onion services. Fixes
  7205. bug 24977; bugfix on 0.3.2.1-alpha.
  7206. o Minor bugfixes (relay):
  7207. - Relays now correctly block attempts to re-extend to the previous
  7208. relay by Ed25519 identity. Previously they would warn in this
  7209. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  7210. on 0.3.0.1-alpha.
  7211. o Minor bugfixes (testing):
  7212. - Fix compilation of the doctests in the Rust crypto crate. Fixes
  7213. bug 26415; bugfix on 0.3.4.1-alpha.
  7214. - Instead of trying to read the geoip configuration files from
  7215. within the unit tests, instead create our own ersatz files with
  7216. just enough geoip data in the format we expect. Trying to read
  7217. from the source directory created problems on Windows with mingw,
  7218. where the build system's paths are not the same as the platform's
  7219. paths. Fixes bug 25787; bugfix on 0.3.4.1-alpha.
  7220. - Refrain from trying to get an item from an empty smartlist in
  7221. test_bridges_clear_bridge_list. Set DEBUG_SMARTLIST in unit tests
  7222. to catch improper smartlist usage. Furthermore, enable
  7223. DEBUG_SMARTLIST globally when build is configured with fragile
  7224. hardening. Fixes bug 26196; bugfix on 0.3.4.1-alpha.
  7225. Changes in version 0.3.3.7 - 2018-06-12
  7226. Tor 0.3.3.7 backports several changes from the 0.3.4.x series, including
  7227. fixes for bugs affecting compatibility and stability.
  7228. o Directory authority changes:
  7229. - Add an IPv6 address for the "dannenberg" directory authority.
  7230. Closes ticket 26343.
  7231. o Minor features (geoip):
  7232. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  7233. Country database. Closes ticket 26351.
  7234. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  7235. - Work around a change in OpenSSL 1.1.1 where return values that
  7236. would previously indicate "no password" now indicate an empty
  7237. password. Without this workaround, Tor instances running with
  7238. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  7239. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  7240. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  7241. - Silence unused-const-variable warnings in zstd.h with some GCC
  7242. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  7243. o Minor bugfixes (controller, backport from 0.3.4.2-alpha):
  7244. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  7245. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  7246. miscounting the total number of circuits for these field values.)
  7247. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  7248. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  7249. - Prevent a possible out-of-bounds smartlist read in
  7250. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  7251. o Minor bugfixes (path selection, backport from 0.3.4.1-alpha):
  7252. - Only select relays when they have the descriptors we prefer to use
  7253. for them. This change fixes a bug where we could select a relay
  7254. because it had _some_ descriptor, but reject it later with a
  7255. nonfatal assertion error because it didn't have the exact one we
  7256. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  7257. Changes in version 0.3.4.2-alpha - 2018-06-12
  7258. Tor 0.3.4.2-alpha fixes several minor bugs in the previous alpha
  7259. release, and forward-ports an authority-only security fix from 0.3.3.6.
  7260. o Directory authority changes:
  7261. - Add an IPv6 address for the "dannenberg" directory authority.
  7262. Closes ticket 26343.
  7263. o Major bugfixes (security, directory authority, denial-of-service, also in 0.3.3.6):
  7264. - Fix a bug that could have allowed an attacker to force a directory
  7265. authority to use up all its RAM by passing it a maliciously
  7266. crafted protocol versions string. Fixes bug 25517; bugfix on
  7267. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  7268. o Minor features (continuous integration):
  7269. - Add the necessary configuration files for continuous integration
  7270. testing on Windows, via the Appveyor platform. Closes ticket
  7271. 25549. Patches from Marcin Cieślak and Isis Lovecruft.
  7272. o Minor features (geoip):
  7273. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  7274. Country database. Closes ticket 26351.
  7275. o Minor bugfixes (compatibility, openssl):
  7276. - Work around a change in OpenSSL 1.1.1 where return values that
  7277. would previously indicate "no password" now indicate an empty
  7278. password. Without this workaround, Tor instances running with
  7279. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  7280. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  7281. o Minor bugfixes (compilation):
  7282. - Silence unused-const-variable warnings in zstd.h with some GCC
  7283. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  7284. - Fix compilation when using OpenSSL 1.1.0 with the "no-deprecated"
  7285. flag enabled. Fixes bug 26156; bugfix on 0.3.4.1-alpha.
  7286. - Avoid a compiler warning when casting the return value of
  7287. smartlist_len() to double with DEBUG_SMARTLIST enabled. Fixes bug
  7288. 26283; bugfix on 0.2.4.10-alpha.
  7289. o Minor bugfixes (control port):
  7290. - Do not count 0-length RELAY_COMMAND_DATA cells as valid data in
  7291. CIRC_BW events. Previously, such cells were counted entirely in
  7292. the OVERHEAD field. Now they are not. Fixes bug 26259; bugfix
  7293. on 0.3.4.1-alpha.
  7294. o Minor bugfixes (controller):
  7295. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  7296. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  7297. miscounting the total number of circuits for these field values.)
  7298. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  7299. o Minor bugfixes (hardening):
  7300. - Prevent a possible out-of-bounds smartlist read in
  7301. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  7302. o Minor bugfixes (onion services):
  7303. - Fix a bug that blocked the creation of ephemeral v3 onion
  7304. services. Fixes bug 25939; bugfix on 0.3.4.1-alpha.
  7305. o Minor bugfixes (test coverage tools):
  7306. - Update our "cov-diff" script to handle output from the latest
  7307. version of gcov, and to remove extraneous timestamp information
  7308. from its output. Fixes bugs 26101 and 26102; bugfix
  7309. on 0.2.5.1-alpha.
  7310. Changes in version 0.3.3.6 - 2018-05-22
  7311. Tor 0.3.3.6 is the first stable release in the 0.3.3 series. It
  7312. backports several important fixes from the 0.3.4.1-alpha.
  7313. The Tor 0.3.3 series includes controller support and other
  7314. improvements for v3 onion services, official support for embedding Tor
  7315. within other applications, and our first non-trivial module written in
  7316. the Rust programming language. (Rust is still not enabled by default
  7317. when building Tor.) And as usual, there are numerous other smaller
  7318. bugfixes, features, and improvements.
  7319. Below are the changes since 0.3.3.5-rc. For a list of all changes
  7320. since 0.3.2.10, see the ReleaseNotes file.
  7321. o Major bugfixes (directory authorities, security, backport from 0.3.4.1-alpha):
  7322. - When directory authorities read a zero-byte bandwidth file, they
  7323. would previously log a warning with the contents of an
  7324. uninitialised buffer. They now log a warning about the empty file
  7325. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  7326. o Major bugfixes (security, directory authority, denial-of-service):
  7327. - Fix a bug that could have allowed an attacker to force a directory
  7328. authority to use up all its RAM by passing it a maliciously
  7329. crafted protocol versions string. Fixes bug 25517; bugfix on
  7330. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  7331. o Major bugfixes (crash, backport from 0.3.4.1-alpha):
  7332. - Avoid a rare assertion failure in the circuit build timeout code
  7333. if we fail to allow any circuits to actually complete. Fixes bug
  7334. 25733; bugfix on 0.2.2.2-alpha.
  7335. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  7336. - Avoid a crash when testing router reachability on a router that
  7337. could have an ed25519 ID, but which does not. Fixes bug 25415;
  7338. bugfix on 0.3.3.2-alpha.
  7339. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  7340. - Correctly detect when onion services get disabled after HUP. Fixes
  7341. bug 25761; bugfix on 0.3.2.1.
  7342. o Major bugfixes (relay, denial of service, backport from 0.3.4.1-alpha):
  7343. - Impose a limit on circuit cell queue size. The limit can be
  7344. controlled by a consensus parameter. Fixes bug 25226; bugfix
  7345. on 0.2.4.14-alpha.
  7346. o Minor features (compatibility, backport from 0.3.4.1-alpha):
  7347. - Avoid some compilation warnings with recent versions of LibreSSL.
  7348. Closes ticket 26006.
  7349. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  7350. - Our .travis.yml configuration now includes support for testing the
  7351. results of "make distcheck". (It's not uncommon for "make check"
  7352. to pass but "make distcheck" to fail.) Closes ticket 25814.
  7353. - Our Travis CI configuration now integrates with the Coveralls
  7354. coverage analysis tool. Closes ticket 25818.
  7355. o Minor features (geoip):
  7356. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  7357. database. Closes ticket 26104.
  7358. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  7359. - Don't consider Tor running as a client if the ControlPort is open,
  7360. but no actual client ports are open. Fixes bug 26062; bugfix
  7361. on 0.2.9.4-alpha.
  7362. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  7363. - Upon receiving a malformed connected cell, stop processing the
  7364. cell immediately. Previously we would mark the connection for
  7365. close, but continue processing the cell as if the connection were
  7366. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  7367. o Minor bugfixes (documentation, backport from 0.3.4.1-alpha):
  7368. - Stop saying in the manual that clients cache ipv4 dns answers from
  7369. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  7370. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  7371. we forgot to say so in the man page. Fixes bug 26052; bugfix
  7372. on 0.3.2.6-alpha.
  7373. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  7374. - Allow the nanosleep() system call, which glibc uses to implement
  7375. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  7376. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  7377. - Fix a memory leak when a v3 onion service is configured and gets a
  7378. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  7379. - When parsing the descriptor signature, look for the token plus an
  7380. extra white-space at the end. This is more correct but also will
  7381. allow us to support new fields that might start with "signature".
  7382. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  7383. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  7384. - Avoid a crash when running with DirPort set but ORPort turned off.
  7385. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  7386. o Documentation (backport from 0.3.4.1-alpha):
  7387. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  7388. ticket 25857. Patch from "CTassisF".
  7389. Changes in version 0.3.4.1-alpha - 2018-05-17
  7390. Tor 0.3.4.1-alpha is the first release in the 0.3.4.x series. It
  7391. includes refactoring to begin reducing Tor's binary size and idle CPU
  7392. usage on mobile, along with prep work for new bandwidth scanners,
  7393. improvements to the experimental "vanguards" feature, and numerous
  7394. other small features and bugfixes.
  7395. o New system requirements:
  7396. - Tor no longer tries to support old operating systems without
  7397. mmap() or some local equivalent. Apparently, compilation on such
  7398. systems has been broken for some time, without anybody noticing or
  7399. complaining. Closes ticket 25398.
  7400. o Major feature (directory authority, modularization):
  7401. - The directory authority subsystem has been modularized. The code
  7402. is now located in src/or/dirauth/, and is compiled in by default.
  7403. To disable the module, the configure option
  7404. --disable-module-dirauth has been added. This module may be
  7405. disabled by default in some future release. Closes ticket 25610.
  7406. o Major features (main loop, CPU usage):
  7407. - When Tor is disabled (via DisableNetwork or via hibernation), it
  7408. no longer needs to run any per-second events. This change should
  7409. make it easier for mobile applications to disable Tor while the
  7410. device is sleeping, or Tor is not running. Closes ticket 26063.
  7411. - Tor no longer enables all of its periodic events by default.
  7412. Previously, Tor would enable all possible main loop events,
  7413. regardless of whether it needed them. Furthermore, many of these
  7414. events are now disabled with Tor is hibernating or DisableNetwork
  7415. is set. This is a big step towards reducing client CPU usage by
  7416. reducing the amount of wake-ups the daemon does. Closes ticket
  7417. 25376 and 25762.
  7418. - The bandwidth-limitation logic has been refactored so that
  7419. bandwidth calculations are performed on-demand, rather than every
  7420. TokenBucketRefillInterval milliseconds. This change should improve
  7421. the granularity of our bandwidth calculations, and limit the
  7422. number of times that the Tor process needs to wake up when it is
  7423. idle. Closes ticket 25373.
  7424. - Move responsibility for many operations from a once-per-second
  7425. callback to a callback that is only scheduled as needed. Moving
  7426. this functionality has allowed us to disable the callback when
  7427. Tor's network is disabled. Once enough items are removed from our
  7428. once-per-second callback, we can eliminate it entirely to conserve
  7429. CPU when idle. The functionality removed includes: closing
  7430. connections, circuits, and channels (ticket 25932); consensus
  7431. voting (25937); flushing log callbacks (25951); honoring delayed
  7432. SIGNEWNYM requests (25949); rescanning the consensus cache
  7433. (25931); saving the state file to disk (25948); warning relay
  7434. operators about unreachable ports (25952); and keeping track of
  7435. Tor's uptime (26009).
  7436. o Major bugfixes (directory authorities, security):
  7437. - When directory authorities read a zero-byte bandwidth file, they
  7438. would previously log a warning with the contents of an
  7439. uninitialised buffer. They now log a warning about the empty file
  7440. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  7441. o Major bugfixes (crash):
  7442. - Avoid a rare assertion failure in the circuit build timeout code
  7443. if we fail to allow any circuits to actually complete. Fixes bug
  7444. 25733; bugfix on 0.2.2.2-alpha.
  7445. o Major bugfixes (directory authority):
  7446. - Avoid a crash when testing router reachability on a router that
  7447. could have an ed25519 ID, but which does not. Fixes bug 25415;
  7448. bugfix on 0.3.3.2-alpha.
  7449. o Major bugfixes (onion service):
  7450. - Correctly detect when onion services get disabled after HUP. Fixes
  7451. bug 25761; bugfix on 0.3.2.1.
  7452. o Major bugfixes (protover, voting):
  7453. - Revise Rust implementation of protover to use a more memory-
  7454. efficient voting algorithm and corresponding data structures, thus
  7455. avoiding a potential (but small impact) DoS attack where specially
  7456. crafted protocol strings would expand to several potential
  7457. megabytes in memory. In the process, several portions of code were
  7458. revised to be methods on new, custom types, rather than functions
  7459. taking interchangeable types, thus increasing type safety of the
  7460. module. Custom error types and handling were added as well, in
  7461. order to facilitate better error dismissal/handling in outside
  7462. crates and avoid mistakenly passing an internal error string to C
  7463. over the FFI boundary. Many tests were added, and some previous
  7464. differences between the C and Rust implementations have been
  7465. remedied. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  7466. o Major bugfixes (relay, denial of service):
  7467. - Impose a limit on circuit cell queue size. The limit can be
  7468. controlled by a consensus parameter. Fixes bug 25226; bugfix
  7469. on 0.2.4.14-alpha.
  7470. o Minor features (accounting):
  7471. - When Tor becomes dormant, it now uses a scheduled event to wake up
  7472. at the right time. Previously, we would use the per-second timer
  7473. to check whether to wake up, but we no longer have any per-second
  7474. timers enabled when the network is disabled. Closes ticket 26064.
  7475. o Minor features (code quality):
  7476. - Add optional spell-checking for the Tor codebase, using the
  7477. "misspell" program. To use this feature, run "make check-typos".
  7478. Closes ticket 25024.
  7479. o Minor features (compatibility):
  7480. - Tor now detects versions of OpenSSL 1.1.0 and later compiled with
  7481. the no-deprecated option, and builds correctly with them. Closes
  7482. tickets 19429, 19981, and 25353.
  7483. - Avoid some compilation warnings with recent versions of LibreSSL.
  7484. Closes ticket 26006.
  7485. o Minor features (compression, zstd):
  7486. - When running with zstd, Tor now considers using advanced functions
  7487. that the zstd maintainers have labeled as potentially unstable. To
  7488. prevent breakage, Tor will only use this functionality when the
  7489. runtime version of the zstd library matches the version with which
  7490. Tor was compiled. Closes ticket 25162.
  7491. o Minor features (configuration):
  7492. - The "DownloadSchedule" options have been renamed to end with
  7493. "DownloadInitialDelay". The old names are still allowed, but will
  7494. produce a warning. Comma-separated lists are still permitted for
  7495. these options, but all values after the first are ignored (as they
  7496. have been since 0.2.9). Closes ticket 23354.
  7497. o Minor features (continuous integration):
  7498. - Our .travis.yml configuration now includes support for testing the
  7499. results of "make distcheck". (It's not uncommon for "make check"
  7500. to pass but "make distcheck" to fail.) Closes ticket 25814.
  7501. - Our Travis CI configuration now integrates with the Coveralls
  7502. coverage analysis tool. Closes ticket 25818.
  7503. o Minor features (control port):
  7504. - Introduce GETINFO "current-time/{local,utc}" to return the local
  7505. and UTC times respectively in ISO format. This helps a controller
  7506. like Tor Browser detect a time-related error. Closes ticket 25511.
  7507. Patch by Neel Chauhan.
  7508. - Introduce new fields to the CIRC_BW event. There are two new
  7509. fields in each of the read and written directions. The DELIVERED
  7510. fields report the total valid data on the circuit, as measured by
  7511. the payload sizes of verified and error-checked relay command
  7512. cells. The OVERHEAD fields report the total unused bytes in each
  7513. of these cells. Closes ticket 25903.
  7514. o Minor features (directory authority):
  7515. - Directory authorities now open their key-pinning files as O_SYNC,
  7516. to limit their chances of accidentally writing partial lines.
  7517. Closes ticket 23909.
  7518. o Minor features (directory authority, forward compatibility):
  7519. - Make the lines of the measured bandwidth file able to contain
  7520. their entries in any order. Previously, the node_id entry needed
  7521. to come first. Closes ticket 26004.
  7522. o Minor features (entry guards):
  7523. - Introduce a new torrc option NumPrimaryGuards for controlling the
  7524. number of primary guards. Closes ticket 25843.
  7525. o Minor features (geoip):
  7526. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  7527. database. Closes ticket 26104.
  7528. o Minor features (performance):
  7529. - Avoid a needless call to malloc() when processing an incoming
  7530. relay cell. Closes ticket 24914.
  7531. - Make our timing-wheel code run a tiny bit faster on 32-bit
  7532. platforms, by preferring 32-bit math to 64-bit. Closes
  7533. ticket 24688.
  7534. - Avoid a needless malloc()/free() pair every time we handle an ntor
  7535. handshake. Closes ticket 25150.
  7536. o Minor features (testing):
  7537. - Add a unit test for voting_schedule_get_start_of_next_interval().
  7538. Closes ticket 26014, and helps make unit test coverage
  7539. more deterministic.
  7540. - A new unittests module specifically for testing the functions in
  7541. the (new-ish) bridges.c module has been created with new
  7542. unittests, raising the code coverage percentages. Closes 25425.
  7543. - We now have improved testing for addressmap_get_virtual_address()
  7544. function. This should improve our test coverage, and make our test
  7545. coverage more deterministic. Closes ticket 25993.
  7546. o Minor features (timekeeping, circuit scheduling):
  7547. - When keeping track of how busy each circuit have been recently on
  7548. a given connection, use coarse-grained monotonic timers rather
  7549. than gettimeofday(). This change should marginally increase
  7550. accuracy and performance. Implements part of ticket 25927.
  7551. o Minor bugfixes (bandwidth management):
  7552. - Consider ourselves "low on write bandwidth" if we have exhausted
  7553. our write bandwidth some time in the last second. This was the
  7554. documented behavior before, but the actual behavior was to change
  7555. this value every TokenBucketRefillInterval. Fixes bug 25828;
  7556. bugfix on 0.2.3.5-alpha.
  7557. o Minor bugfixes (C correctness):
  7558. - Add a missing lock acquisition in the shutdown code of the control
  7559. subsystem. Fixes bug 25675; bugfix on 0.2.7.3-rc. Found by
  7560. Coverity; this is CID 1433643.
  7561. o Minor bugfixes (circuit path selection):
  7562. - Don't count path selection failures as circuit build failures.
  7563. This change should eliminate cases where Tor blames its guard or
  7564. the network for situations like insufficient microdescriptors
  7565. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  7566. on 0.3.3.1-alpha.
  7567. o Minor bugfixes (client):
  7568. - Don't consider Tor running as a client if the ControlPort is open,
  7569. but no actual client ports are open. Fixes bug 26062; bugfix
  7570. on 0.2.9.4-alpha.
  7571. o Minor bugfixes (code style):
  7572. - Fixed multiple includes of transports.h in src/or/connection.c
  7573. Fixes bug 25261; bugfix on 0.2.5.1-alpha.
  7574. - Remove the unused variable n_possible from the function
  7575. channel_get_for_extend(). Fixes bug 25645; bugfix on 0.2.4.4-alpha
  7576. o Minor bugfixes (control interface):
  7577. - Respond with more human-readable error messages to GETINFO exit-
  7578. policy/* requests. Also, let controller know if an error is
  7579. transient (response code 551) or not (response code 552). Fixes
  7580. bug 25852; bugfix on 0.2.8.1-alpha.
  7581. o Minor bugfixes (controller):
  7582. - Make CIRC_BW event reflect the total of all data sent on a
  7583. circuit, including padding and dropped cells. Also fix a mis-
  7584. counting bug when STREAM_BW events were enabled. Fixes bug 25400;
  7585. bugfix on 0.2.5.2-alpha.
  7586. o Minor bugfixes (correctness, client):
  7587. - Upon receiving a malformed connected cell, stop processing the cell
  7588. immediately. Previously we would mark the connection for close, but
  7589. continue processing the cell as if the connection were open. Fixes bug
  7590. 26072; bugfix on 0.2.4.7-alpha.
  7591. o Minor bugfixes (directory client):
  7592. - When unverified-consensus is verified, rename it to cached-
  7593. consenus. Fixes bug 4187; bugfix on 0.2.0.3-alpha.
  7594. - Fixed launching a certificate fetch always during the scheduled
  7595. periodic consensus fetch by fetching only in those cases when
  7596. consensus are waiting for certs. Fixes bug 24740; bugfix
  7597. on 0.2.9.1-alpha.
  7598. o Minor bugfixes (documentation):
  7599. - Stop saying in the manual that clients cache ipv4 dns answers from
  7600. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  7601. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  7602. we forgot to say so in the man page. Fixes bug 26052; bugfix
  7603. on 0.3.2.6-alpha.
  7604. o Minor bugfixes (error reporting):
  7605. - Improve tolerance for directory authorities with skewed clocks.
  7606. Previously, an authority with a clock more than 60 seconds ahead
  7607. could cause a client with a correct clock to warn that the
  7608. client's clock was behind. Now the clocks of a majority of
  7609. directory authorities have to be ahead of the client before this
  7610. warning will occur. Fixes bug 25756; bugfix on 0.2.2.25-alpha.
  7611. o Minor bugfixes (Linux seccomp2 sandbox):
  7612. - Allow the nanosleep() system call, which glibc uses to implement
  7613. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  7614. o Minor bugfixes (onion service):
  7615. - Fix a memory leak when a v3 onion service is configured and gets a
  7616. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  7617. - When parsing the descriptor signature, look for the token plus an
  7618. extra white-space at the end. This is more correct but also will
  7619. allow us to support new fields that might start with "signature".
  7620. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  7621. o Minor bugfixes (path selection):
  7622. - Only select relays when they have the descriptors we prefer to use
  7623. for them. This change fixes a bug where we could select a relay
  7624. because it had _some_ descriptor, but reject it later with a
  7625. nonfatal assertion error because it didn't have the exact one we
  7626. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  7627. o Minor bugfixes (portability):
  7628. - Do not align mmap length, as it is not required by POSIX, and the
  7629. getpagesize function is deprecated. Fixes bug 25399; bugfix
  7630. on 0.1.1.23.
  7631. o Minor bugfixes (portability, FreeBSD):
  7632. - In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB
  7633. does not stringify on FreeBSD, so we switch to tor_asprintf().
  7634. Fixes bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan.
  7635. o Minor bugfixes (relay statistics):
  7636. - When a relay is collecting internal statistics about how many
  7637. create cell requests it has seen of each type, accurately count
  7638. the requests from relays that temporarily fall out of the
  7639. consensus. (To be extra conservative, we were already ignoring
  7640. requests from clients in our counts, and we continue ignoring them
  7641. here.) Fixes bug 24910; bugfix on 0.2.4.17-rc.
  7642. o Minor bugfixes (relay, crash):
  7643. - Avoid a crash when running with DirPort set but ORPort turned off.
  7644. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  7645. o Minor bugfixes (restart-in-process):
  7646. - When shutting down, Tor now clears all the flags in the control.c
  7647. module. This should prevent a bug where authentication cookies are
  7648. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  7649. o Minor bugfixes (testing):
  7650. - When testing workqueue event-cancellation, make sure that we
  7651. actually cancel an event, and that cancel each event with equal
  7652. probability. (It was previously possible, though extremely
  7653. unlikely, for our event-canceling test not to cancel any events.)
  7654. Fixes bug 26008; bugfix on 0.2.6.3-alpha.
  7655. - Repeat part of the test in test_client_pick_intro() a number of
  7656. times, to give it consistent coverage. Fixes bug 25996; bugfix
  7657. on 0.3.2.1-alpha.
  7658. - Remove randomness from the hs_common/responsible_hsdirs test, so
  7659. that it always takes the same path through the function it tests.
  7660. Fixes bug 25997; bugfix on 0.3.2.1-alpha.
  7661. - Change the behavior of the "channel/outbound" test so that it
  7662. never causes a 10-second rollover for the EWMA circuitmux code.
  7663. Previously, this behavior would happen randomly, and result in
  7664. fluctuating test coverage. Fixes bug 25994; bugfix
  7665. on 0.3.3.1-alpha.
  7666. - Use X509_new() to allocate certificates that will be freed later
  7667. with X509_free(). Previously, some parts of the unit tests had
  7668. used tor_malloc_zero(), which is incorrect, and which caused test
  7669. failures on Windows when they were built with extra hardening.
  7670. Fixes bugs 25943 and 25944; bugfix on 0.2.8.1-alpha. Patch by
  7671. Marcin Cieślak.
  7672. - While running the circuit_timeout test, fix the PRNG to a
  7673. deterministic AES stream, so that the test coverage from this test
  7674. will itself be deterministic. Fixes bug 25995; bugfix
  7675. on 0.2.2.2-alpha.
  7676. o Minor bugfixes (vanguards):
  7677. - Allow the last hop in a vanguard circuit to be the same as our
  7678. first, to prevent the adversary from influencing guard node choice
  7679. by choice of last hop. Also prevent the creation of A - B - A
  7680. paths, or A - A paths, which are forbidden by relays. Fixes bug
  7681. 25870; bugfix on 0.3.3.1-alpha.
  7682. o Code simplification and refactoring:
  7683. - Remove duplicate code in parse_{c,s}method_line and bootstrap
  7684. their functionalities into a single function. Fixes bug 6236;
  7685. bugfix on 0.2.3.6-alpha.
  7686. - We remove the PortForwarding and PortForwardingHelper options,
  7687. related functions, and the port_forwarding tests. These options
  7688. were used by the now-deprecated Vidalia to help ordinary users
  7689. become Tor relays or bridges. Closes ticket 25409. Patch by
  7690. Neel Chauhan.
  7691. - In order to make the OR and dir checking function in router.c less
  7692. confusing we renamed some functions and
  7693. consider_testing_reachability() has been split into
  7694. router_should_check_reachability() and
  7695. router_do_reachability_checks(). Also we improved the documentation
  7696. in some functions. Closes ticket 18918.
  7697. - Initial work to isolate Libevent usage to a handful of modules in
  7698. our codebase, to simplify our call structure, and so that we can
  7699. more easily change event loops in the future if needed. Closes
  7700. ticket 23750.
  7701. - Introduce a function to call getsockname() and return tor_addr_t,
  7702. to save a little complexity throughout the codebase. Closes
  7703. ticket 18105.
  7704. - Make hsdir_index in node_t a hsdir_index_t rather than a pointer
  7705. as hsdir_index is always present. Also, we move hsdir_index_t into
  7706. or.h. Closes ticket 23094. Patch by Neel Chauhan.
  7707. - Merge functions used for describing nodes and suppress the
  7708. functions that do not allocate memory for the output buffer
  7709. string. NODE_DESC_BUF_LEN constant and format_node_description()
  7710. function cannot be used externally from router.c module anymore.
  7711. Closes ticket 25432. Patch by valentecaio.
  7712. - Our main loop has been simplified so that all important operations
  7713. happen inside events. Previously, some operations had to happen
  7714. outside the event loop, to prevent infinite sequences of event
  7715. activations. Closes ticket 25374.
  7716. - Put a SHA1 public key digest in hs_service_intro_point_t, and use
  7717. it in register_intro_circ() and service_intro_point_new(). This
  7718. prevents the digest from being re-calculated each time. Closes
  7719. ticket 23107. Patch by Neel Chauhan.
  7720. - Refactor token-bucket implementations to use a common backend.
  7721. Closes ticket 25766.
  7722. - Remove extern declaration of stats_n_seconds_working variable from
  7723. main, protecting its accesses with get_uptime() and reset_uptime()
  7724. functions. Closes ticket 25081, patch by “valentecaio”.
  7725. - Remove our previous logic for "cached gettimeofday()" -- our
  7726. coarse monotonic timers are fast enough for this purpose, and far
  7727. less error-prone. Implements part of ticket 25927.
  7728. - Remove the return value for fascist_firewall_choose_address_base(),
  7729. and sister functions such as fascist_firewall_choose_address_node()
  7730. and fascist_firewall_choose_address_rs(). Also, while we're here,
  7731. initialize the ap argument as leaving it uninitialized can pose a
  7732. security hazard. Closes ticket 24734. Patch by Neel Chauhan.
  7733. - Rename two fields of connection_t struct. timestamp_lastwritten is
  7734. renamed to timestamp_last_write_allowed and timestamp_lastread is
  7735. renamed to timestamp_last_read_allowed. Closes ticket 24714, patch
  7736. by "valentecaio".
  7737. - Since Tor requires C99, remove our old workaround code for libc
  7738. implementations where free(NULL) doesn't work. Closes ticket 24484.
  7739. - Use our standard rate-limiting code to deal with excessive
  7740. libevent failures, rather than the hand-rolled logic we had
  7741. before. Closes ticket 26016.
  7742. - We remove the return value of node_get_prim_orport() and
  7743. node_get_prim_dirport(), and introduce node_get_prim_orport() in
  7744. node_ipv6_or_preferred() and node_ipv6_dir_preferred() in order to
  7745. check for a null address. Closes ticket 23873. Patch by
  7746. Neel Chauhan.
  7747. - We switch to should_record_bridge_info() in
  7748. geoip_note_client_seen() and options_need_geoip_info() instead of
  7749. accessing the configuration values directly. Fixes bug 25290;
  7750. bugfix on 0.2.1.6-alpha. Patch by Neel Chauhan.
  7751. o Deprecated features:
  7752. - As we are not recommending 0.2.5 anymore, we require relays that
  7753. once had an ed25519 key associated with their RSA key to always
  7754. have that key, instead of allowing them to drop back to a version
  7755. that didn't support ed25519. This means they need to use a new RSA
  7756. key if they want to downgrade to an older version of tor without
  7757. ed25519. Closes ticket 20522.
  7758. o Documentation:
  7759. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  7760. ticket 25857. Patch from "CTassisF".
  7761. o Removed features:
  7762. - Directory authorities will no longer support voting according to
  7763. any consensus method before consensus method 25. This keeps
  7764. authorities compatible with all authorities running 0.2.9.8 and
  7765. later, and does not break any clients or relays. Implements ticket
  7766. 24378 and proposal 290.
  7767. - The PortForwarding and PortForwardingHelper features have been
  7768. removed. The reasoning is, given that implementations of NAT
  7769. traversal protocols within common consumer grade routers are
  7770. frequently buggy, and that the target audience for a NAT punching
  7771. feature is a perhaps less-technically-inclined relay operator,
  7772. when the helper fails to setup traversal the problems are usually
  7773. deep, ugly, and very router specific, making them horrendously
  7774. impossible for technical support to reliable assist with, and thus
  7775. resulting in frustration all around. Unfortunately, relay
  7776. operators who would like to run relays behind NATs will need to
  7777. become more familiar with the port forwarding configurations on
  7778. their local router. Closes 25409.
  7779. - The TestingEnableTbEmptyEvent option has been removed. It was used
  7780. in testing simulations to measure how often connection buckets
  7781. were emptied, in order to improve our scheduling, but it has not
  7782. been actively used in years. Closes ticket 25760.
  7783. - The old "round-robin" circuit multiplexer (circuitmux)
  7784. implementation has been removed, along with a fairly large set of
  7785. code that existed to support it. It has not been the default
  7786. circuitmux since we introduced the "EWMA" circuitmux in 0.2.4.x,
  7787. but it still required an unreasonable amount of memory and CPU.
  7788. Closes ticket 25268.
  7789. Changes in version 0.3.3.5-rc - 2018-04-15
  7790. Tor 0.3.3.5-rc fixes various bugs in earlier versions of Tor,
  7791. including some that could affect reliability or correctness.
  7792. This is the first release candidate in the 0.3.3 series. If we find no
  7793. new bugs or regression here, then the first stable 0.3.3 release will
  7794. be nearly identical to this one.
  7795. o Major bugfixes (security, protover, voting):
  7796. - Revise Rust implementation of protover to use a more memory-
  7797. efficient voting algorithm and corresponding data structures, thus
  7798. avoiding a potential memory-based DoS attack where specially
  7799. crafted protocol strings would expand to fill available memory.
  7800. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  7801. o Major bugfixes (performance, load balancing):
  7802. - Directory authorities no longer vote in favor of the Guard flag
  7803. for relays without directory support. Starting in Tor
  7804. 0.3.0.1-alpha, clients have been avoiding using such relays in the
  7805. Guard position, leading to increasingly broken load balancing for
  7806. the 5%-or-so of Guards that don't advertise directory support.
  7807. Fixes bug 22310; bugfix on 0.3.0.6.
  7808. o Minor feature (continuous integration):
  7809. - Update the Travis CI configuration to use the stable Rust channel,
  7810. now that we have decided to require that. Closes ticket 25714.
  7811. o Minor features (config options):
  7812. - Change the way the default value for MaxMemInQueues is calculated.
  7813. We now use 40% of the hardware RAM if the system has 8 GB RAM or
  7814. more. Otherwise we use the former value of 75%. Closes
  7815. ticket 24782.
  7816. o Minor features (geoip):
  7817. - Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2
  7818. Country database. Closes ticket 25718.
  7819. o Minor bugfixes (client):
  7820. - When using a listed relay as a bridge, and also using
  7821. microdescriptors, and considering that relay as a non-bridge in a
  7822. circuit, treat its microdescriptor as a valid source of
  7823. information about that relay. This change should prevent a non-
  7824. fatal assertion error. Fixes bug 25691; bugfix on 0.3.3.4-alpha.
  7825. o Minor bugfixes (controller):
  7826. - Restore the correct operation of the RESOLVE command, which had
  7827. been broken since we added the ability to enable/disable DNS on
  7828. specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha.
  7829. o Minor bugfixes (distribution, compilation, rust):
  7830. - Build correctly when the rust dependencies submodule is loaded,
  7831. but the TOR_RUST_DEPENDENCIES environment variable is not set.
  7832. Fixes bug 25679; bugfix on 0.3.3.1-alpha.
  7833. - Actually include all of our Rust source in our source
  7834. distributions. (Previously, a few of the files were accidentally
  7835. omitted.) Fixes bug 25732; bugfix on 0.3.3.2-alpha.
  7836. o Minor bugfixes (documentation):
  7837. - Document that the PerConnBW{Rate,Burst} options will fall back to
  7838. their corresponding consensus parameters only if those parameters
  7839. are set. Previously we had claimed that these values would always
  7840. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  7841. - Revert a misformatting issue in the ExitPolicy documentation.
  7842. Fixes bug 25582; bugfix on 0.3.3.1-alpha.
  7843. o Minor bugfixes (exit relay DNS retries):
  7844. - Re-attempt timed-out DNS queries 3 times before failure, since our
  7845. timeout is 5 seconds for them, but clients wait 10-15. Also allow
  7846. slightly more timeouts per resolver when an exit has multiple
  7847. resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
  7848. o Minor bugfixes (onion services):
  7849. - Re-instate counting the client HSDir fetch circuits against the
  7850. MaxClientCircuitsPending rate limit. Fixes bug 24989; bugfix
  7851. on 0.3.3.1-alpha.
  7852. - Remove underscores from the _HSLayer{2,3}Nodes options. This
  7853. expert-user configuration can now be enabled as HSLayer{2,3}Nodes.
  7854. Fixes bug 25581; bugfix on 0.3.3.1-alpha
  7855. o Code simplification and refactoring:
  7856. - Move the list of default directory authorities to its own file.
  7857. Closes ticket 24854. Patch by "beastr0".
  7858. o Documentation (manpage, denial of service):
  7859. - Provide more detail about the denial-of-service options, by
  7860. listing each mitigation and explaining how they relate. Closes
  7861. ticket 25248.
  7862. Changes in version 0.3.3.4-alpha - 2018-03-29
  7863. Tor 0.3.3.4-alpha includes various bugfixes for issues found during
  7864. the alpha testing of earlier releases in its series. We are
  7865. approaching a stable 0.3.3.4-alpha release: more testing is welcome!
  7866. o New system requirements:
  7867. - When built with Rust, Tor now depends on version 0.2.39 of the
  7868. libc crate. Closes tickets 25310 and 25664.
  7869. o Major bugfixes (relay, connection):
  7870. - If we have failed to connect to a relay and received a connection
  7871. refused, timeout, or similar error (at the TCP level), do not try
  7872. that same address/port again for 60 seconds after the failure has
  7873. occurred. Fixes bug 24767; bugfix on 0.0.6.
  7874. o Minor features (geoip):
  7875. - Update geoip and geoip6 to the March 8 2018 Maxmind GeoLite2
  7876. Country database. Closes ticket 25469.
  7877. o Minor features (log messages):
  7878. - Improve log message in the out-of-memory handler to include
  7879. information about memory usage from the different compression
  7880. backends. Closes ticket 25372.
  7881. o Minor features (sandbox):
  7882. - Explicitly permit the poll() system call when the Linux
  7883. seccomp2-based sandbox is enabled: apparently, some versions of
  7884. libc use poll() when calling getpwnam(). Closes ticket 25313.
  7885. o Minor bugfixes (C correctness):
  7886. - Fix a very unlikely (impossible, we believe) null pointer
  7887. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  7888. Coverity; this is CID 1430932.
  7889. o Minor bugfixes (channel, client):
  7890. - Better identify client connection when reporting to the geoip
  7891. client cache. Fixes bug 24904; bugfix on 0.3.1.7.
  7892. o Minor bugfixes (compilation):
  7893. - Fix a C99 compliance issue in our configuration script that caused
  7894. compilation issues when compiling Tor with certain versions of
  7895. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  7896. o Minor bugfixes (controller, reliability):
  7897. - Avoid a (nonfatal) assertion failure when extending a one-hop
  7898. circuit from the controller to become a multihop circuit. Fixes
  7899. bug 24903; bugfix on 0.2.5.2-alpha.
  7900. o Major bugfixes (networking):
  7901. - Tor will no longer reject IPv6 address strings from Tor Browser
  7902. when they are passed as hostnames in SOCKS5 requests. Fixes bug
  7903. 25036, bugfix on Tor 0.3.1.2.
  7904. o Minor bugfixes (networking):
  7905. - string_is_valid_hostname() will not consider IP strings to be
  7906. valid hostnames. Fixes bug 25055; bugfix on Tor 0.2.5.5.
  7907. o Minor bugfixes (onion service v3):
  7908. - Avoid an assertion failure when the next onion service
  7909. descriptor rotation type is out of sync with the consensus's
  7910. valid-after time. Instead, log a warning message with extra
  7911. information, so we can better hunt down the cause of this
  7912. assertion. Fixes bug 25306; bugfix on 0.3.2.1-alpha.
  7913. o Minor bugfixes (testing):
  7914. - Avoid intermittent test failures due to a test that had relied on
  7915. onion service introduction point creation finishing within 5
  7916. seconds of real clock time. Fixes bug 25450; bugfix
  7917. on 0.3.1.3-alpha.
  7918. - Rust crates are now automatically detected and tested. Previously,
  7919. some crates were not tested by `make test-rust` due to a static
  7920. string in the `src/test/test_rust.sh` script specifying which
  7921. crates to test. Fixes bug 25560; bugfix on 0.3.3.3-alpha.
  7922. o Minor bugfixes (testing, benchmarks):
  7923. - Fix a crash when running benchmark tests on win32 systems. The
  7924. crash was due to a mutex that wasn't initialized before logging
  7925. and options were initialized. Fixes bug 25479; bugfix
  7926. on 0.3.3.3-alpha.
  7927. o Minor bugfixes (warnings, ipv6):
  7928. - Avoid a bug warning that could occur when trying to connect to a
  7929. relay over IPv6. This warning would occur on a Tor instance that
  7930. downloads router descriptors, but prefers to use microdescriptors.
  7931. Fixes bug 25213; bugfix on 0.3.3.1-alpha.
  7932. o Code simplification and refactoring:
  7933. - Remove the old (deterministic) directory retry logic entirely:
  7934. We've used exponential backoff exclusively for some time. Closes
  7935. ticket 23814.
  7936. o Documentation:
  7937. - Improved the documentation of AccountingStart parameter. Closes
  7938. ticket 23635.
  7939. - Update the documentation for "Log" to include the current list of
  7940. logging domains. Closes ticket 25378.
  7941. Changes in version 0.3.1.10 - 2018-03-03
  7942. Tor 0.3.1.10 backports a number of bugfixes, including important fixes for
  7943. security issues.
  7944. It includes an important security fix for a remote crash attack
  7945. against directory authorities, tracked as TROVE-2018-001.
  7946. This release also backports our new system for improved resistance to
  7947. denial-of-service attacks against relays.
  7948. This release also fixes several minor bugs and annoyances from
  7949. earlier releases.
  7950. All directory authorities should upgrade to one of the versions
  7951. released today. Relays running 0.3.1.x may wish to update to one of
  7952. the versions released today, for the DoS mitigations.
  7953. Please note: according to our release calendar, Tor 0.3.1 will no
  7954. longer be supported after 1 July 2018. If you will be running Tor
  7955. after that date, you should make sure to plan to upgrade to the latest
  7956. stable version, or downgrade to 0.2.9 (which will receive long-term
  7957. support).
  7958. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  7959. - Fix a protocol-list handling bug that could be used to remotely crash
  7960. directory authorities with a null-pointer exception. Fixes bug 25074;
  7961. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  7962. CVE-2018-0490.
  7963. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  7964. - Give relays some defenses against the recent network overload. We
  7965. start with three defenses (default parameters in parentheses).
  7966. First: if a single client address makes too many concurrent
  7967. connections (>100), hang up on further connections. Second: if a
  7968. single client address makes circuits too quickly (more than 3 per
  7969. second, with an allowed burst of 90) while also having too many
  7970. connections open (3), refuse new create cells for the next while
  7971. (1-2 hours). Third: if a client asks to establish a rendezvous
  7972. point to you directly, ignore the request. These defenses can be
  7973. manually controlled by new torrc options, but relays will also
  7974. take guidance from consensus parameters, so there's no need to
  7975. configure anything manually. Implements ticket 24902.
  7976. o Minor features (linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  7977. - Update the sandbox rules so that they should now work correctly
  7978. with Glibc 2.26. Closes ticket 24315.
  7979. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  7980. - Fix an "off by 2" error in counting rendezvous failures on the
  7981. onion service side. While we thought we would stop the rendezvous
  7982. attempt after one failed circuit, we were actually making three
  7983. circuit attempts before giving up. Now switch to a default of 2,
  7984. and allow the consensus parameter "hs_service_max_rdv_failures" to
  7985. override. Fixes bug 24895; bugfix on 0.0.6.
  7986. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  7987. - Add Link protocol version 5 to the supported protocols list. Fixes
  7988. bug 25070; bugfix on 0.3.1.1-alpha.
  7989. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  7990. - Fix a set of false positives where relays would consider
  7991. connections to other relays as being client-only connections (and
  7992. thus e.g. deserving different link padding schemes) if those
  7993. relays fell out of the consensus briefly. Now we look only at the
  7994. initial handshake and whether the connection authenticated as a
  7995. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  7996. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  7997. - Make our OOM handler aware of the geoip client history cache so it
  7998. doesn't fill up the memory. This check is important for IPv6 and
  7999. our DoS mitigation subsystem. Closes ticket 25122.
  8000. o Minor feature (relay statistics, backport from 0.3.2.6-alpha):
  8001. - Change relay bandwidth reporting stats interval from 4 hours to 24
  8002. hours in order to reduce the efficiency of guard discovery
  8003. attacks. Fixes ticket 23856.
  8004. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  8005. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  8006. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  8007. since they neither disabled TLS 1.3 nor enabled any of the
  8008. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  8009. Closes ticket 24978.
  8010. o Minor features (fallback directory mirrors, backport from 0.3.2.9):
  8011. - The fallback directory list has been re-generated based on the
  8012. current status of the network. Tor uses fallback directories to
  8013. bootstrap when it doesn't yet have up-to-date directory
  8014. information. Closes ticket 24801.
  8015. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  8016. prefer to bootstrap from fallback directory mirrors. This is a
  8017. follow-up to 24679, which removed weights from the default
  8018. fallbacks. Implements ticket 24681.
  8019. o Minor features (geoip):
  8020. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  8021. Country database.
  8022. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  8023. - Use the actual observed address of an incoming relay connection,
  8024. not the canonical address of the relay from its descriptor, when
  8025. making decisions about how to handle the incoming connection.
  8026. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  8027. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  8028. - Directory authorities, when refusing a descriptor from a rejected
  8029. relay, now explicitly tell the relay (in its logs) to set a valid
  8030. ContactInfo address and contact the bad-relays@ mailing list.
  8031. Fixes bug 25170; bugfix on 0.2.9.1.
  8032. o Minor bugfixes (address selection, backport from 0.3.2.9):
  8033. - When the fascist_firewall_choose_address_ functions don't find a
  8034. reachable address, set the returned address to the null address
  8035. and port. This is a precautionary measure, because some callers do
  8036. not check the return value. Fixes bug 24736; bugfix
  8037. on 0.2.8.2-alpha.
  8038. o Major bugfixes (bootstrapping, backport from 0.3.2.5-alpha):
  8039. - Fetch descriptors aggressively whenever we lack enough to build
  8040. circuits, regardless of how many descriptors we are missing.
  8041. Previously, we would delay launching the fetch when we had fewer
  8042. than 15 missing descriptors, even if some of those descriptors
  8043. were blocking circuits from building. Fixes bug 23985; bugfix on
  8044. 0.1.1.11-alpha. The effects of this bug became worse in
  8045. 0.3.0.3-alpha, when we began treating missing descriptors from our
  8046. primary guards as a reason to delay circuits.
  8047. - Don't try fetching microdescriptors from relays that have failed
  8048. to deliver them in the past. Fixes bug 23817; bugfix
  8049. on 0.3.0.1-alpha.
  8050. o Minor bugfixes (compilation, backport from 0.3.2.7-rc):
  8051. - Fix a signed/unsigned comparison warning introduced by our fix to
  8052. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  8053. o Minor bugfixes (control port, linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  8054. - Avoid a crash when attempting to use the seccomp2 sandbox together
  8055. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  8056. on 0.2.5.1-alpha.
  8057. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  8058. - Fix a possible crash on malformed consensus. If a consensus had
  8059. contained an unparseable protocol line, it could have made clients
  8060. and relays crash with a null-pointer exception. To exploit this
  8061. issue, however, an attacker would need to be able to subvert the
  8062. directory authority system. Fixes bug 25251; bugfix on
  8063. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  8064. o Minor bugfixes (directory cache, backport from 0.3.2.5-alpha):
  8065. - Recover better from empty or corrupt files in the consensus cache
  8066. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  8067. - When a consensus diff calculation is only partially successful,
  8068. only record the successful parts as having succeeded. Partial
  8069. success can happen if (for example) one compression method fails
  8070. but the others succeed. Previously we misrecorded all the
  8071. calculations as having succeeded, which would later cause a
  8072. nonfatal assertion failure. Fixes bug 24086; bugfix
  8073. on 0.3.1.1-alpha.
  8074. o Minor bugfixes (entry guards, backport from 0.3.2.3-alpha):
  8075. - Tor now updates its guard state when it reads a consensus
  8076. regardless of whether it's missing descriptors. That makes tor use
  8077. its primary guards to fetch descriptors in some edge cases where
  8078. it would previously have used fallback directories. Fixes bug
  8079. 23862; bugfix on 0.3.0.1-alpha.
  8080. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  8081. - Don't treat inability to store a cached consensus object as a bug:
  8082. it can happen normally when we are out of disk space. Fixes bug
  8083. 24859; bugfix on 0.3.1.1-alpha.
  8084. o Minor bugfixes (memory usage, backport from 0.3.2.8-rc):
  8085. - When queuing DESTROY cells on a channel, only queue the circuit-id
  8086. and reason fields: not the entire 514-byte cell. This fix should
  8087. help mitigate any bugs or attacks that fill up these queues, and
  8088. free more RAM for other uses. Fixes bug 24666; bugfix
  8089. on 0.2.5.1-alpha.
  8090. o Minor bugfixes (network layer, backport from 0.3.2.5-alpha):
  8091. - When closing a connection via close_connection_immediately(), we
  8092. mark it as "not blocked on bandwidth", to prevent later calls from
  8093. trying to unblock it, and give it permission to read. This fixes a
  8094. backtrace warning that can happen on relays under various
  8095. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  8096. o Minor bugfixes (path selection, backport from 0.3.2.4-alpha):
  8097. - When selecting relays by bandwidth, avoid a rounding error that
  8098. could sometimes cause load to be imbalanced incorrectly.
  8099. Previously, we would always round upwards; now, we round towards
  8100. the nearest integer. This had the biggest effect when a relay's
  8101. weight adjustments should have given it weight 0, but it got
  8102. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  8103. - When calculating the fraction of nodes that have descriptors, and
  8104. all nodes in the network have zero bandwidths, count the number of
  8105. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  8106. - Actually log the total bandwidth in compute_weighted_bandwidths().
  8107. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  8108. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  8109. - Improve the performance of our consensus-diff application code
  8110. when Tor is built with the --enable-fragile-hardening option set.
  8111. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  8112. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  8113. - Don't exit the Tor process if setrlimit() fails to change the file
  8114. limit (which can happen sometimes on some versions of OSX). Fixes
  8115. bug 21074; bugfix on 0.0.9pre5.
  8116. o Minor bugfixes (portability, msvc, backport from 0.3.2.9):
  8117. - Fix a bug in the bit-counting parts of our timing-wheel code on
  8118. MSVC. (Note that MSVC is still not a supported build platform, due
  8119. to cyptographic timing channel risks.) Fixes bug 24633; bugfix
  8120. on 0.2.9.1-alpha.
  8121. o Minor bugfixes (relay, partial backport):
  8122. - Make the internal channel_is_client() function look at what sort
  8123. of connection handshake the other side used, rather than whether
  8124. the other side ever sent a create_fast cell to us. Backports part
  8125. of the fixes from bugs 22805 and 24898.
  8126. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  8127. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  8128. 0.2.9.4-alpha.
  8129. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  8130. bugfix on 0.2.9.4-alpha.
  8131. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  8132. - Update the "rust dependencies" submodule to be a project-level
  8133. repository, rather than a user repository. Closes ticket 25323.
  8134. Changes in version 0.2.9.15 - 2018-03-03
  8135. Tor 0.2.9.15 backports important security and stability bugfixes from
  8136. later Tor releases.
  8137. It includes an important security fix for a remote crash attack
  8138. against directory authorities, tracked as TROVE-2018-001.
  8139. This release also backports our new system for improved resistance to
  8140. denial-of-service attacks against relays.
  8141. This release also fixes several minor bugs and annoyances from
  8142. earlier releases.
  8143. All directory authorities should upgrade to one of the versions
  8144. released today. Relays running 0.2.9.x may wish to update to one of
  8145. the versions released today, for the DoS mitigations.
  8146. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  8147. - Fix a protocol-list handling bug that could be used to remotely crash
  8148. directory authorities with a null-pointer exception. Fixes bug 25074;
  8149. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  8150. CVE-2018-0490.
  8151. o Major features (denial-of-service mitigation):
  8152. - Give relays some defenses against the recent network overload. We
  8153. start with three defenses (default parameters in parentheses).
  8154. First: if a single client address makes too many concurrent
  8155. connections (>100), hang up on further connections. Second: if a
  8156. single client address makes circuits too quickly (more than 3 per
  8157. second, with an allowed burst of 90) while also having too many
  8158. connections open (3), refuse new create cells for the next while
  8159. (1-2 hours). Third: if a client asks to establish a rendezvous
  8160. point to you directly, ignore the request. These defenses can be
  8161. manually controlled by new torrc options, but relays will also
  8162. take guidance from consensus parameters, so there's no need to
  8163. configure anything manually. Implements ticket 24902.
  8164. o Major bugfixes (bootstrapping):
  8165. - Fetch descriptors aggressively whenever we lack enough to build
  8166. circuits, regardless of how many descriptors we are missing.
  8167. Previously, we would delay launching the fetch when we had fewer
  8168. than 15 missing descriptors, even if some of those descriptors
  8169. were blocking circuits from building. Fixes bug 23985; bugfix on
  8170. 0.1.1.11-alpha. The effects of this bug became worse in
  8171. 0.3.0.3-alpha, when we began treating missing descriptors from our
  8172. primary guards as a reason to delay circuits.
  8173. o Major bugfixes (onion services, retry behavior):
  8174. - Fix an "off by 2" error in counting rendezvous failures on the
  8175. onion service side. While we thought we would stop the rendezvous
  8176. attempt after one failed circuit, we were actually making three
  8177. circuit attempts before giving up. Now switch to a default of 2,
  8178. and allow the consensus parameter "hs_service_max_rdv_failures" to
  8179. override. Fixes bug 24895; bugfix on 0.0.6.
  8180. o Minor feature (relay statistics):
  8181. - Change relay bandwidth reporting stats interval from 4 hours to 24
  8182. hours in order to reduce the efficiency of guard discovery
  8183. attacks. Fixes ticket 23856.
  8184. o Minor features (compatibility, OpenSSL):
  8185. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  8186. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  8187. since they neither disabled TLS 1.3 nor enabled any of the
  8188. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  8189. Closes ticket 24978.
  8190. o Minor features (denial-of-service avoidance):
  8191. - Make our OOM handler aware of the geoip client history cache so it
  8192. doesn't fill up the memory. This check is important for IPv6 and
  8193. our DoS mitigation subsystem. Closes ticket 25122.
  8194. o Minor features (fallback directory mirrors):
  8195. - The fallback directory list has been re-generated based on the
  8196. current status of the network. Tor uses fallback directories to
  8197. bootstrap when it doesn't yet have up-to-date directory
  8198. information. Closes ticket 24801.
  8199. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  8200. prefer to bootstrap from fallback directory mirrors. This is a
  8201. follow-up to 24679, which removed weights from the default
  8202. fallbacks. Implements ticket 24681.
  8203. o Minor features (geoip):
  8204. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  8205. Country database.
  8206. o Minor features (linux seccomp2 sandbox):
  8207. - Update the sandbox rules so that they should now work correctly
  8208. with Glibc 2.26. Closes ticket 24315.
  8209. o Minor bugfix (channel connection):
  8210. - Use the actual observed address of an incoming relay connection,
  8211. not the canonical address of the relay from its descriptor, when
  8212. making decisions about how to handle the incoming connection.
  8213. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  8214. o Minor bugfix (directory authority):
  8215. - Directory authorities, when refusing a descriptor from a rejected
  8216. relay, now explicitly tell the relay (in its logs) to set a valid
  8217. ContactInfo address and contact the bad-relays@ mailing list.
  8218. Fixes bug 25170; bugfix on 0.2.9.1.
  8219. o Minor bugfixes (address selection):
  8220. - When the fascist_firewall_choose_address_ functions don't find a
  8221. reachable address, set the returned address to the null address
  8222. and port. This is a precautionary measure, because some callers do
  8223. not check the return value. Fixes bug 24736; bugfix
  8224. on 0.2.8.2-alpha.
  8225. o Minor bugfixes (compilation):
  8226. - Fix a signed/unsigned comparison warning introduced by our fix to
  8227. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  8228. o Minor bugfixes (control port, linux seccomp2 sandbox):
  8229. - Avoid a crash when attempting to use the seccomp2 sandbox together
  8230. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  8231. on 0.2.5.1-alpha.
  8232. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  8233. - Fix a possible crash on malformed consensus. If a consensus had
  8234. contained an unparseable protocol line, it could have made clients
  8235. and relays crash with a null-pointer exception. To exploit this
  8236. issue, however, an attacker would need to be able to subvert the
  8237. directory authority system. Fixes bug 25251; bugfix on
  8238. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  8239. o Minor bugfixes (memory usage):
  8240. - When queuing DESTROY cells on a channel, only queue the circuit-id
  8241. and reason fields: not the entire 514-byte cell. This fix should
  8242. help mitigate any bugs or attacks that fill up these queues, and
  8243. free more RAM for other uses. Fixes bug 24666; bugfix
  8244. on 0.2.5.1-alpha.
  8245. o Minor bugfixes (network layer):
  8246. - When closing a connection via close_connection_immediately(), we
  8247. mark it as "not blocked on bandwidth", to prevent later calls from
  8248. trying to unblock it, and give it permission to read. This fixes a
  8249. backtrace warning that can happen on relays under various
  8250. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  8251. o Minor bugfixes (OSX):
  8252. - Don't exit the Tor process if setrlimit() fails to change the file
  8253. limit (which can happen sometimes on some versions of OSX). Fixes
  8254. bug 21074; bugfix on 0.0.9pre5.
  8255. o Minor bugfixes (path selection):
  8256. - When selecting relays by bandwidth, avoid a rounding error that
  8257. could sometimes cause load to be imbalanced incorrectly.
  8258. Previously, we would always round upwards; now, we round towards
  8259. the nearest integer. This had the biggest effect when a relay's
  8260. weight adjustments should have given it weight 0, but it got
  8261. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  8262. - When calculating the fraction of nodes that have descriptors, and
  8263. all nodes in the network have zero bandwidths, count the number of
  8264. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  8265. - Actually log the total bandwidth in compute_weighted_bandwidths().
  8266. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  8267. o Minor bugfixes (portability, msvc):
  8268. - Fix a bug in the bit-counting parts of our timing-wheel code on
  8269. MSVC. (Note that MSVC is still not a supported build platform, due
  8270. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  8271. on 0.2.9.1-alpha.
  8272. o Minor bugfixes (relay):
  8273. - Make the internal channel_is_client() function look at what sort
  8274. of connection handshake the other side used, rather than whether
  8275. the other side ever sent a create_fast cell to us. Backports part
  8276. of the fixes from bugs 22805 and 24898.
  8277. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  8278. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  8279. 0.2.9.4-alpha.
  8280. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  8281. bugfix on 0.2.9.4-alpha.
  8282. Changes in version 0.3.2.10 - 2018-03-03
  8283. Tor 0.3.2.10 is the second stable release in the 0.3.2 series. It
  8284. backports a number of bugfixes, including important fixes for security
  8285. issues.
  8286. It includes an important security fix for a remote crash attack
  8287. against directory authorities, tracked as TROVE-2018-001.
  8288. Additionally, it backports a fix for a bug whose severity we have
  8289. upgraded: Bug 24700, which was fixed in 0.3.3.2-alpha, can be remotely
  8290. triggered in order to crash relays with a use-after-free pattern. As
  8291. such, we are now tracking that bug as TROVE-2018-002 and
  8292. CVE-2018-0491, and backporting it to earlier releases. This bug
  8293. affected versions 0.3.2.1-alpha through 0.3.2.9, as well as version
  8294. 0.3.3.1-alpha.
  8295. This release also backports our new system for improved resistance to
  8296. denial-of-service attacks against relays.
  8297. This release also fixes several minor bugs and annoyances from
  8298. earlier releases.
  8299. Relays running 0.3.2.x SHOULD upgrade to one of the versions released
  8300. today, for the fix to TROVE-2018-002. Directory authorities should
  8301. also upgrade. (Relays on earlier versions might want to update too for
  8302. the DoS mitigations.)
  8303. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  8304. - Fix a protocol-list handling bug that could be used to remotely crash
  8305. directory authorities with a null-pointer exception. Fixes bug 25074;
  8306. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  8307. CVE-2018-0490.
  8308. o Major bugfixes (scheduler, KIST, denial-of-service, backport from 0.3.3.2-alpha):
  8309. - Avoid adding the same channel twice in the KIST scheduler pending
  8310. list, which could lead to remote denial-of-service use-after-free
  8311. attacks against relays. Fixes bug 24700; bugfix on 0.3.2.1-alpha.
  8312. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  8313. - Give relays some defenses against the recent network overload. We
  8314. start with three defenses (default parameters in parentheses).
  8315. First: if a single client address makes too many concurrent
  8316. connections (>100), hang up on further connections. Second: if a
  8317. single client address makes circuits too quickly (more than 3 per
  8318. second, with an allowed burst of 90) while also having too many
  8319. connections open (3), refuse new create cells for the next while
  8320. (1-2 hours). Third: if a client asks to establish a rendezvous
  8321. point to you directly, ignore the request. These defenses can be
  8322. manually controlled by new torrc options, but relays will also
  8323. take guidance from consensus parameters, so there's no need to
  8324. configure anything manually. Implements ticket 24902.
  8325. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  8326. - Fix an "off by 2" error in counting rendezvous failures on the
  8327. onion service side. While we thought we would stop the rendezvous
  8328. attempt after one failed circuit, we were actually making three
  8329. circuit attempts before giving up. Now switch to a default of 2,
  8330. and allow the consensus parameter "hs_service_max_rdv_failures" to
  8331. override. Fixes bug 24895; bugfix on 0.0.6.
  8332. - New-style (v3) onion services now obey the "max rendezvous circuit
  8333. attempts" logic. Previously they would make as many rendezvous
  8334. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  8335. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  8336. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  8337. - Add Link protocol version 5 to the supported protocols list. Fixes
  8338. bug 25070; bugfix on 0.3.1.1-alpha.
  8339. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  8340. - Fix a set of false positives where relays would consider
  8341. connections to other relays as being client-only connections (and
  8342. thus e.g. deserving different link padding schemes) if those
  8343. relays fell out of the consensus briefly. Now we look only at the
  8344. initial handshake and whether the connection authenticated as a
  8345. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  8346. o Major bugfixes (scheduler, consensus, backport from 0.3.3.2-alpha):
  8347. - The scheduler subsystem was failing to promptly notice changes in
  8348. consensus parameters, making it harder to switch schedulers
  8349. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  8350. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  8351. - Make our OOM handler aware of the geoip client history cache so it
  8352. doesn't fill up the memory. This check is important for IPv6 and
  8353. our DoS mitigation subsystem. Closes ticket 25122.
  8354. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  8355. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  8356. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  8357. since they neither disabled TLS 1.3 nor enabled any of the
  8358. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  8359. Closes ticket 24978.
  8360. o Minor features (geoip):
  8361. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  8362. Country database.
  8363. o Minor features (logging, diagnostic, backport from 0.3.3.2-alpha):
  8364. - When logging a failure to create an onion service's descriptor,
  8365. also log what the problem with the descriptor was. Diagnostic
  8366. for ticket 24972.
  8367. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  8368. - Use the actual observed address of an incoming relay connection,
  8369. not the canonical address of the relay from its descriptor, when
  8370. making decisions about how to handle the incoming connection.
  8371. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  8372. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  8373. - Fix a possible crash on malformed consensus. If a consensus had
  8374. contained an unparseable protocol line, it could have made clients
  8375. and relays crash with a null-pointer exception. To exploit this
  8376. issue, however, an attacker would need to be able to subvert the
  8377. directory authority system. Fixes bug 25251; bugfix on
  8378. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  8379. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  8380. - Directory authorities, when refusing a descriptor from a rejected
  8381. relay, now explicitly tell the relay (in its logs) to set a valid
  8382. ContactInfo address and contact the bad-relays@ mailing list.
  8383. Fixes bug 25170; bugfix on 0.2.9.1.
  8384. o Minor bugfixes (build, rust, backport from 0.3.3.1-alpha):
  8385. - When building with Rust on OSX, link against libresolv, to work
  8386. around the issue at https://github.com/rust-lang/rust/issues/46797.
  8387. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  8388. o Minor bugfixes (onion services, backport from 0.3.3.2-alpha):
  8389. - Remove a BUG() statement when a client fetches an onion descriptor
  8390. that has a lower revision counter than the one in its cache. This
  8391. can happen in normal circumstances due to HSDir desync. Fixes bug
  8392. 24976; bugfix on 0.3.2.1-alpha.
  8393. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  8394. - Don't treat inability to store a cached consensus object as a bug:
  8395. it can happen normally when we are out of disk space. Fixes bug
  8396. 24859; bugfix on 0.3.1.1-alpha.
  8397. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  8398. - Improve the performance of our consensus-diff application code
  8399. when Tor is built with the --enable-fragile-hardening option set.
  8400. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  8401. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  8402. - Don't exit the Tor process if setrlimit() fails to change the file
  8403. limit (which can happen sometimes on some versions of OSX). Fixes
  8404. bug 21074; bugfix on 0.0.9pre5.
  8405. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  8406. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  8407. 0.2.9.4-alpha.
  8408. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  8409. bugfix on 0.2.9.4-alpha.
  8410. o Minor bugfixes (testing, backport from 0.3.3.1-alpha):
  8411. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  8412. 25005; bugfix on 0.3.2.7-rc.
  8413. o Minor bugfixes (v3 onion services, backport from 0.3.3.2-alpha):
  8414. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  8415. version, when deciding whether a consensus entry can support the
  8416. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  8417. bugfix on 0.3.2.1-alpha.
  8418. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  8419. - Update the "rust dependencies" submodule to be a project-level
  8420. repository, rather than a user repository. Closes ticket 25323.
  8421. o Documentation (backport from 0.3.3.1-alpha)
  8422. - Document that operators who run more than one relay or bridge are
  8423. expected to set MyFamily and ContactInfo correctly. Closes
  8424. ticket 24526.
  8425. Changes in version 0.3.3.3-alpha - 2018-03-03
  8426. Tor 0.3.3.3-alpha is the third alpha release for the 0.3.3.x series.
  8427. It includes an important security fix for a remote crash attack
  8428. against directory authorities tracked as TROVE-2018-001.
  8429. Additionally, with this release, we are upgrading the severity of a
  8430. bug fixed in 0.3.3.2-alpha. Bug 24700, which was fixed in
  8431. 0.3.3.2-alpha, can be remotely triggered in order to crash relays with
  8432. a use-after-free pattern. As such, we are now tracking that bug as
  8433. TROVE-2018-002 and CVE-2018-0491. This bug affected versions
  8434. 0.3.2.1-alpha through 0.3.2.9, as well as 0.3.3.1-alpha.
  8435. This release also fixes several minor bugs and annoyances from
  8436. earlier releases.
  8437. Relays running 0.3.2.x should upgrade to one of the versions released
  8438. today, for the fix to TROVE-2018-002. Directory authorities should
  8439. also upgrade. (Relays on earlier versions might want to update too for
  8440. the DoS mitigations.)
  8441. o Major bugfixes (denial-of-service, directory authority):
  8442. - Fix a protocol-list handling bug that could be used to remotely crash
  8443. directory authorities with a null-pointer exception. Fixes bug 25074;
  8444. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  8445. CVE-2018-0490.
  8446. o Minor features (compatibility, OpenSSL):
  8447. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  8448. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  8449. since they neither disabled TLS 1.3 nor enabled any of the
  8450. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  8451. Closes ticket 24978.
  8452. o Minor features (logging):
  8453. - Clarify the log messages produced when getrandom() or a related
  8454. entropy-generation mechanism gives an error. Closes ticket 25120.
  8455. o Minor features (testing):
  8456. - Add a "make test-rust" target to run the rust tests only. Closes
  8457. ticket 25071.
  8458. o Minor bugfixes (denial-of-service):
  8459. - Fix a possible crash on malformed consensus. If a consensus had
  8460. contained an unparseable protocol line, it could have made clients
  8461. and relays crash with a null-pointer exception. To exploit this
  8462. issue, however, an attacker would need to be able to subvert the
  8463. directory authority system. Fixes bug 25251; bugfix on
  8464. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  8465. o Minor bugfixes (DoS mitigation):
  8466. - Add extra safety checks when refilling the circuit creation bucket
  8467. to ensure we never set a value above the allowed maximum burst.
  8468. Fixes bug 25202; bugfix on 0.3.3.2-alpha.
  8469. - When a new consensus arrives, don't update our DoS-mitigation
  8470. parameters if we aren't a public relay. Fixes bug 25223; bugfix
  8471. on 0.3.3.2-alpha.
  8472. o Minor bugfixes (man page, SocksPort):
  8473. - Remove dead code from the old "SocksSocket" option, and rename
  8474. SocksSocketsGroupWritable to UnixSocksGroupWritable. The old option
  8475. still works, but is deprecated. Fixes bug 24343; bugfix on 0.2.6.3.
  8476. o Minor bugfixes (performance):
  8477. - Reduce the number of circuits that will be opened at once during
  8478. the circuit build timeout phase. This is done by increasing the
  8479. idle timeout to 3 minutes, and lowering the maximum number of
  8480. concurrent learning circuits to 10. Fixes bug 24769; bugfix
  8481. on 0.3.1.1-alpha.
  8482. o Minor bugfixes (spec conformance):
  8483. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  8484. 0.2.9.4-alpha.
  8485. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  8486. bugfix on 0.2.9.4-alpha.
  8487. o Minor bugfixes (spec conformance, rust):
  8488. - Resolve a denial-of-service issue caused by an infinite loop in
  8489. the rust protover code. Fixes bug 25250, bugfix on 0.3.3.1-alpha.
  8490. Also tracked as TROVE-2018-003.
  8491. o Code simplification and refactoring:
  8492. - Update the "rust dependencies" submodule to be a project-level
  8493. repository, rather than a user repository. Closes ticket 25323.
  8494. Changes in version 0.3.3.2-alpha - 2018-02-10
  8495. Tor 0.3.3.2-alpha is the second alpha in the 0.3.3.x series. It
  8496. introduces a mechanism to handle the high loads that many relay
  8497. operators have been reporting recently. It also fixes several bugs in
  8498. older releases. If this new code proves reliable, we plan to backport
  8499. it to older supported release series.
  8500. o Major features (denial-of-service mitigation):
  8501. - Give relays some defenses against the recent network overload. We
  8502. start with three defenses (default parameters in parentheses).
  8503. First: if a single client address makes too many concurrent
  8504. connections (>100), hang up on further connections. Second: if a
  8505. single client address makes circuits too quickly (more than 3 per
  8506. second, with an allowed burst of 90) while also having too many
  8507. connections open (3), refuse new create cells for the next while
  8508. (1-2 hours). Third: if a client asks to establish a rendezvous
  8509. point to you directly, ignore the request. These defenses can be
  8510. manually controlled by new torrc options, but relays will also
  8511. take guidance from consensus parameters, so there's no need to
  8512. configure anything manually. Implements ticket 24902.
  8513. o Major bugfixes (netflow padding):
  8514. - Stop adding unneeded channel padding right after we finish
  8515. flushing to a connection that has been trying to flush for many
  8516. seconds. Instead, treat all partial or complete flushes as
  8517. activity on the channel, which will defer the time until we need
  8518. to add padding. This fix should resolve confusing and scary log
  8519. messages like "Channel padding timeout scheduled 221453ms in the
  8520. past." Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  8521. o Major bugfixes (protocol versions):
  8522. - Add Link protocol version 5 to the supported protocols list. Fixes
  8523. bug 25070; bugfix on 0.3.1.1-alpha.
  8524. o Major bugfixes (scheduler, consensus):
  8525. - The scheduler subsystem was failing to promptly notice changes in
  8526. consensus parameters, making it harder to switch schedulers
  8527. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  8528. o Minor features (denial-of-service avoidance):
  8529. - Make our OOM handler aware of the geoip client history cache so it
  8530. doesn't fill up the memory. This check is important for IPv6 and
  8531. our DoS mitigation subsystem. Closes ticket 25122.
  8532. o Minor features (directory authority):
  8533. - When directory authorities are unable to add signatures to a
  8534. pending consensus, log the reason why. Closes ticket 24849.
  8535. o Minor features (geoip):
  8536. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  8537. Country database.
  8538. o Minor features (logging, diagnostic):
  8539. - When logging a failure to create an onion service's descriptor,
  8540. also log what the problem with the descriptor was. Diagnostic for
  8541. ticket 24972.
  8542. o Minor bugfix (channel connection):
  8543. - Use the actual observed address of an incoming relay connection,
  8544. not the canonical address of the relay from its descriptor, when
  8545. making decisions about how to handle the incoming connection.
  8546. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  8547. o Minor bugfix (directory authority):
  8548. - Directory authorities, when refusing a descriptor from a rejected
  8549. relay, now explicitly tell the relay (in its logs) to set a valid
  8550. ContactInfo address and contact the bad-relays@ mailing list.
  8551. Fixes bug 25170; bugfix on 0.2.9.1.
  8552. o Minor bugfixes (all versions of Tor):
  8553. - Use the "misspell" tool to detect and fix typos throughout the
  8554. source code. Fixes bug 23650; bugfix on various versions of Tor.
  8555. Patch from Deepesh Pathak.
  8556. o Minor bugfixes (circuit, cannibalization):
  8557. - Don't cannibalize preemptively-built circuits if we no longer
  8558. recognize their first hop. This situation can happen if our Guard
  8559. relay went off the consensus after the circuit was created. Fixes
  8560. bug 24469; bugfix on 0.0.6.
  8561. o Minor bugfixes (correctness):
  8562. - Remove a nonworking, unnecessary check to see whether a circuit
  8563. hop's identity digest was set when the circuit failed. Fixes bug
  8564. 24927; bugfix on 0.2.4.4-alpha.
  8565. o Minor bugfixes (logging):
  8566. - Don't treat inability to store a cached consensus object as a bug:
  8567. it can happen normally when we are out of disk space. Fixes bug
  8568. 24859; bugfix on 0.3.1.1-alpha.
  8569. - Fix a (mostly harmless) race condition when invoking
  8570. LOG_PROTOCOL_WARN message from a subthread while the torrc options
  8571. are changing. Fixes bug 23954; bugfix on 0.1.1.9-alpha.
  8572. o Minor bugfixes (onion services):
  8573. - Remove a BUG() statement when a client fetches an onion descriptor
  8574. that has a lower revision counter than the one in its cache. This
  8575. can happen in normal circumstances due to HSDir desync. Fixes bug
  8576. 24976; bugfix on 0.3.2.1-alpha.
  8577. - If we are configured to offer a single onion service, don't log
  8578. long-term established one hop rendezvous points in the heartbeat.
  8579. Fixes bug 25116; bugfix on 0.2.9.6-rc.
  8580. o Minor bugfixes (performance):
  8581. - Avoid calling protocol_list_supports_protocol() from inside tight
  8582. loops when running with cached routerinfo_t objects. Instead,
  8583. summarize the relevant protocols as flags in the routerinfo_t, as
  8584. we do for routerstatus_t objects. This change simplifies our code
  8585. a little, and saves a large amount of short-term memory allocation
  8586. operations. Fixes bug 25008; bugfix on 0.2.9.4-alpha.
  8587. o Minor bugfixes (Rust FFI):
  8588. - Fix a minor memory leak which would happen whenever the C code
  8589. would call the Rust implementation of
  8590. protover_get_supported_protocols(). This was due to the C version
  8591. returning a static string, whereas the Rust version newly allocated
  8592. a CString to pass across the FFI boundary. Consequently, the C
  8593. code was not expecting to need to free() what it was given. Fixes
  8594. bug 25127; bugfix on 0.3.2.1-alpha.
  8595. o Minor bugfixes (scheduler, KIST):
  8596. - Avoid adding the same channel twice in the KIST scheduler pending
  8597. list, which would waste CPU cycles. Fixes bug 24700; bugfix
  8598. on 0.3.2.1-alpha.
  8599. o Minor bugfixes (unit test, monotonic time):
  8600. - Increase a constant (1msec to 10msec) in the monotonic time test
  8601. that makes sure the nsec/usec/msec times read are synchronized.
  8602. This change was needed to accommodate slow systems like armel or
  8603. when the clock_gettime() is not a VDSO on the running kernel.
  8604. Fixes bug 25113; bugfix on 0.2.9.1.
  8605. o Minor bugfixes (v3 onion services):
  8606. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  8607. version, when deciding whether a consensus entry can support the
  8608. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  8609. bugfix on 0.3.2.1-alpha.
  8610. o Code simplification and refactoring:
  8611. - Remove the unused nodelist_recompute_all_hsdir_indices(). Closes
  8612. ticket 25108.
  8613. - Remove a series of counters used to track circuit extend attempts
  8614. and connection status but that in reality we aren't using for
  8615. anything other than stats logged by a SIGUSR1 signal. Closes
  8616. ticket 25163.
  8617. o Documentation (man page):
  8618. - The HiddenServiceVersion torrc option accepts only one number:
  8619. either version 2 or 3. Closes ticket 25026; bugfix
  8620. on 0.3.2.2-alpha.
  8621. Changes in version 0.3.3.1-alpha - 2018-01-25
  8622. Tor 0.3.3.1-alpha is the first release in the 0.3.3.x series. It adds
  8623. several new features to Tor, including several improvements to
  8624. bootstrapping, and support for an experimental "vanguards" feature to
  8625. resist guard discovery attacks. This series also includes better
  8626. support for applications that need to embed Tor or manage v3
  8627. onion services.
  8628. o Major features (embedding):
  8629. - There is now a documented stable API for programs that need to
  8630. embed Tor. See tor_api.h for full documentation and known bugs.
  8631. Closes ticket 23684.
  8632. - Tor now has support for restarting in the same process.
  8633. Controllers that run Tor using the "tor_api.h" interface can now
  8634. restart Tor after Tor has exited. This support is incomplete,
  8635. however: we fixed crash bugs that prevented it from working at
  8636. all, but many bugs probably remain, including a possibility of
  8637. security issues. Implements ticket 24581.
  8638. o Major features (IPv6, directory documents):
  8639. - Add consensus method 27, which adds IPv6 ORPorts to the microdesc
  8640. consensus. This information makes it easier for IPv6 clients to
  8641. bootstrap and choose reachable entry guards. Implements ticket 23826.
  8642. - Add consensus method 28, which removes IPv6 ORPorts from
  8643. microdescriptors. Now that the consensus contains IPv6 ORPorts, they
  8644. are redundant in microdescs. This change will be used by Tor clients
  8645. on 0.2.8.x and later. (That is to say, with all Tor clients that
  8646. have IPv6 bootstrap and guard support.) Implements ticket 23828.
  8647. - Expand the documentation for AuthDirHasIPv6Connectivity when it is
  8648. set by different numbers of authorities. Fixes 23870
  8649. on 0.2.4.1-alpha.
  8650. o Major features (onion service v3, control port):
  8651. - The control port now supports commands and events for v3 onion
  8652. services. It is now possible to create ephemeral v3 services using
  8653. ADD_ONION. Additionally, several events (HS_DESC, HS_DESC_CONTENT,
  8654. CIRC and CIRC_MINOR) and commands (GETINFO, HSPOST, ADD_ONION and
  8655. DEL_ONION) have been extended to support v3 onion services. Closes
  8656. ticket 20699; implements proposal 284.
  8657. o Major features (onion services):
  8658. - Provide torrc options to pin the second and third hops of onion
  8659. service circuits to a list of nodes. The option HSLayer2Guards
  8660. pins the second hop, and the option HSLayer3Guards pins the third
  8661. hop. These options are for use in conjunction with experiments
  8662. with "vanguards" for preventing guard enumeration attacks. Closes
  8663. ticket 13837.
  8664. o Major features (rust, portability, experimental):
  8665. - Tor now ships with an optional implementation of one of its
  8666. smaller modules (protover.c) in the Rust programming language. To
  8667. try it out, install a Rust build environment, and configure Tor
  8668. with "--enable-rust --enable-cargo-online-mode". This should not
  8669. cause any user-visible changes, but should help us gain more
  8670. experience with Rust, and plan future Rust integration work.
  8671. Implementation by Chelsea Komlo. Closes ticket 22840.
  8672. o Minor features (storage, configuration):
  8673. - Users can store cached directory documents somewhere other than
  8674. the DataDirectory by using the CacheDirectory option. Similarly,
  8675. the storage location for relay's keys can be overridden with the
  8676. KeyDirectory option. Closes ticket 22703.
  8677. o Major features (v3 onion services, ipv6):
  8678. - When v3 onion service clients send introduce cells, they now
  8679. include the IPv6 address of the rendezvous point, if it has one.
  8680. Current v3 onion services running 0.3.2 ignore IPv6 addresses, but
  8681. in future Tor versions, IPv6-only v3 single onion services will be
  8682. able to use IPv6 addresses to connect directly to the rendezvous
  8683. point. Closes ticket 23577. Patch by Neel Chauhan.
  8684. o Major bugfixes (onion services, retry behavior):
  8685. - Fix an "off by 2" error in counting rendezvous failures on the
  8686. onion service side. While we thought we would stop the rendezvous
  8687. attempt after one failed circuit, we were actually making three
  8688. circuit attempts before giving up. Now switch to a default of 2,
  8689. and allow the consensus parameter "hs_service_max_rdv_failures" to
  8690. override. Fixes bug 24895; bugfix on 0.0.6.
  8691. - New-style (v3) onion services now obey the "max rendezvous circuit
  8692. attempts" logic. Previously they would make as many rendezvous
  8693. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  8694. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  8695. o Major bugfixes (relays):
  8696. - Fix a set of false positives where relays would consider
  8697. connections to other relays as being client-only connections (and
  8698. thus e.g. deserving different link padding schemes) if those
  8699. relays fell out of the consensus briefly. Now we look only at the
  8700. initial handshake and whether the connection authenticated as a
  8701. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  8702. o Minor feature (IPv6):
  8703. - Make IPv6-only clients wait for microdescs for relays, even if we
  8704. were previously using descriptors (or were using them as a bridge)
  8705. and have a cached descriptor for them. Implements ticket 23827.
  8706. - When a consensus has IPv6 ORPorts, make IPv6-only clients use
  8707. them, rather than waiting to download microdescriptors.
  8708. Implements ticket 23827.
  8709. o Minor features (cleanup):
  8710. - Tor now deletes the CookieAuthFile and ExtORPortCookieAuthFile
  8711. when it stops. Closes ticket 23271.
  8712. o Minor features (defensive programming):
  8713. - Most of the functions in Tor that free objects have been replaced
  8714. with macros that free the objects and set the corresponding
  8715. pointers to NULL. This change should help prevent a large class of
  8716. dangling pointer bugs. Closes ticket 24337.
  8717. - Where possible, the tor_free() macro now only evaluates its input
  8718. once. Part of ticket 24337.
  8719. - Check that microdesc ed25519 ids are non-zero in
  8720. node_get_ed25519_id() before returning them. Implements ticket
  8721. 24001, patch by "aruna1234".
  8722. o Minor features (embedding):
  8723. - Tor can now start with a preauthenticated control connection
  8724. created by the process that launched it. This feature is meant for
  8725. use by programs that want to launch and manage a Tor process
  8726. without allowing other programs to manage it as well. For more
  8727. information, see the __OwningControllerFD option documented in
  8728. control-spec.txt. Closes ticket 23900.
  8729. - On most errors that would cause Tor to exit, it now tries to
  8730. return from the tor_main() function, rather than calling the
  8731. system exit() function. Most users won't notice a difference here,
  8732. but it should be significant for programs that run Tor inside
  8733. a separate thread: they should now be able to survive Tor's exit
  8734. conditions rather than having Tor shut down the entire process.
  8735. Closes ticket 23848.
  8736. - Applications that want to embed Tor can now tell Tor not to
  8737. register any of its own POSIX signal handlers, using the
  8738. __DisableSignalHandlers option. Closes ticket 24588.
  8739. o Minor features (fallback directory list):
  8740. - Avoid selecting fallbacks that change their IP addresses too
  8741. often. Select more fallbacks by ignoring the Guard flag, and
  8742. allowing lower cutoffs for the Running and V2Dir flags. Also allow
  8743. a lower bandwidth, and a higher number of fallbacks per operator
  8744. (5% of the list). Implements ticket 24785.
  8745. - Update the fallback whitelist and blacklist based on opt-ins and
  8746. relay changes. Closes tickets 22321, 24678, 22527, 24135,
  8747. and 24695.
  8748. o Minor features (fallback directory mirror configuration):
  8749. - Add a nickname to each fallback in a C comment. This makes it
  8750. easier for operators to find their relays, and allows stem to use
  8751. nicknames to identify fallbacks. Implements ticket 24600.
  8752. - Add a type and version header to the fallback directory mirror
  8753. file. Also add a delimiter to the end of each fallback entry. This
  8754. helps external parsers like stem and Relay Search. Implements
  8755. ticket 24725.
  8756. - Add an extrainfo cache flag for each fallback in a C comment. This
  8757. allows stem to use fallbacks to fetch extra-info documents, rather
  8758. than using authorities. Implements ticket 22759.
  8759. - Add the generateFallbackDirLine.py script for automatically
  8760. generating fallback directory mirror lines from relay fingerprints.
  8761. No more typos! Add the lookupFallbackDirContact.py script for
  8762. automatically looking up operator contact info from relay
  8763. fingerprints. Implements ticket 24706, patch by teor and atagar.
  8764. - Reject any fallback directory mirror that serves an expired
  8765. consensus. Implements ticket 20942, patch by "minik".
  8766. - Remove commas and equals signs from external string inputs to the
  8767. fallback list. This avoids format confusion attacks. Implements
  8768. ticket 24726.
  8769. - Remove the "weight=10" line from fallback directory mirror
  8770. entries. Ticket 24681 will maintain the current fallback weights
  8771. by changing Tor's default fallback weight to 10. Implements
  8772. ticket 24679.
  8773. - Stop logging excessive information about fallback netblocks.
  8774. Implements ticket 24791.
  8775. o Minor features (forward-compatibility):
  8776. - If a relay supports some link authentication protocol that we do
  8777. not recognize, then include that relay's ed25519 key when telling
  8778. other relays to extend to it. Previously, we treated future
  8779. versions as if they were too old to support ed25519 link
  8780. authentication. Closes ticket 20895.
  8781. o Minor features (heartbeat):
  8782. - Add onion service information to our heartbeat logs, displaying
  8783. stats about the activity of configured onion services. Closes
  8784. ticket 24896.
  8785. o Minor features (instrumentation, development):
  8786. - Add the MainloopStats option to allow developers to get
  8787. instrumentation information from the main event loop via the
  8788. heartbeat messages. We hope to use this to improve Tor's behavior
  8789. when it's trying to sleep. Closes ticket 24605.
  8790. o Minor features (log messages):
  8791. - Improve a warning message that happens when we fail to re-parse an
  8792. old router because of an expired certificate. Closes ticket 20020.
  8793. - Make the log more quantitative when we hit MaxMemInQueues
  8794. threshold exposing some values. Closes ticket 24501.
  8795. o Minor features (logging, android):
  8796. - Added support for the Android logging subsystem. Closes
  8797. ticket 24362.
  8798. o Minor features (performance):
  8799. - Support predictive circuit building for onion service circuits
  8800. with multiple layers of guards. Closes ticket 23101.
  8801. - Use stdatomic.h where available, rather than mutexes, to implement
  8802. atomic_counter_t. Closes ticket 23953.
  8803. o Minor features (performance, 32-bit):
  8804. - Improve performance on 32-bit systems by avoiding 64-bit division
  8805. when calculating the timestamp in milliseconds for channel padding
  8806. computations. Implements ticket 24613.
  8807. - Improve performance on 32-bit systems by avoiding 64-bit division
  8808. when timestamping cells and buffer chunks for OOM calculations.
  8809. Implements ticket 24374.
  8810. o Minor features (performance, OSX, iOS):
  8811. - Use the mach_approximate_time() function (when available) to
  8812. implement coarse monotonic time. Having a coarse time function
  8813. should avoid a large number of system calls, and improve
  8814. performance slightly, especially under load. Closes ticket 24427.
  8815. o Minor features (performance, windows):
  8816. - Improve performance on Windows Vista and Windows 7 by adjusting
  8817. TCP send window size according to the recommendation from
  8818. SIO_IDEAL_SEND_BACKLOG_QUERY. Closes ticket 22798. Patch
  8819. from Vort.
  8820. o Major features (relay):
  8821. - Implement an option, ReducedExitPolicy, to allow an Tor exit relay
  8822. operator to use a more reasonable ("reduced") exit policy, rather
  8823. than the default one. If you want to run an exit node without
  8824. thinking too hard about which ports to allow, this one is for you.
  8825. Closes ticket 13605. Patch from Neel Chauhan.
  8826. o Minor features (testing, debugging, embedding):
  8827. - For development purposes, Tor now has a mode in which it runs for
  8828. a few seconds, then stops, and starts again without exiting the
  8829. process. This mode is meant to help us debug various issues with
  8830. ticket 23847. To use this feature, compile with
  8831. --enable-restart-debugging, and set the TOR_DEBUG_RESTART
  8832. environment variable. This is expected to crash a lot, and is
  8833. really meant for developers only. It will likely be removed in a
  8834. future release. Implements ticket 24583.
  8835. o Minor bugfix (network IPv6 test):
  8836. - Tor's test scripts now check if "ping -6 ::1" works when the user
  8837. runs "make test-network-all". Fixes bug 24677; bugfix on
  8838. 0.2.9.3-alpha. Patch by "ffmancera".
  8839. o Minor bugfixes (build, rust):
  8840. - Fix output of autoconf checks to display success messages for Rust
  8841. dependencies and a suitable rustc compiler version. Fixes bug
  8842. 24612; bugfix on 0.3.1.3-alpha.
  8843. - When building with Rust on OSX, link against libresolv, to work
  8844. around the issue at https://github.com/rust-lang/rust/issues/46797.
  8845. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  8846. - Don't pass the --quiet option to cargo: it seems to suppress some
  8847. errors, which is not what we want to do when building. Fixes bug
  8848. 24518; bugfix on 0.3.1.7.
  8849. - Build correctly when building from outside Tor's source tree with
  8850. the TOR_RUST_DEPENDENCIES option set. Fixes bug 22768; bugfix
  8851. on 0.3.1.7.
  8852. o Minor bugfixes (directory authorities, IPv6):
  8853. - When creating a routerstatus (vote) from a routerinfo (descriptor),
  8854. set the IPv6 address to the unspecified IPv6 address, and
  8855. explicitly initialize the port to zero. Fixes bug 24488; bugfix
  8856. on 0.2.4.1-alpha.
  8857. o Minor bugfixes (fallback directory mirrors):
  8858. - Make updateFallbackDirs.py search harder for python. (Some OSs
  8859. don't put it in /usr/bin.) Fixes bug 24708; bugfix
  8860. on 0.2.8.1-alpha.
  8861. o Minor bugfixes (hibernation, bandwidth accounting, shutdown):
  8862. - When hibernating, close connections normally and allow them to
  8863. flush. Fixes bug 23571; bugfix on 0.2.4.7-alpha. Also fixes
  8864. bug 7267.
  8865. - Do not attempt to launch self-reachability tests when entering
  8866. hibernation. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  8867. - Resolve several bugs related to descriptor fetching on bridge
  8868. clients with bandwidth accounting enabled. (This combination is
  8869. not recommended!) Fixes a case of bug 12062; bugfix
  8870. on 0.2.0.3-alpha.
  8871. - When hibernating, do not attempt to launch DNS checks. Fixes a
  8872. case of bug 12062; bugfix on 0.1.2.2-alpha.
  8873. - When hibernating, do not try to upload or download descriptors.
  8874. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  8875. o Minor bugfixes (IPv6, bridges):
  8876. - Tor now always sets IPv6 preferences for bridges. Fixes bug 24573;
  8877. bugfix on 0.2.8.2-alpha.
  8878. - Tor now sets IPv6 address in the routerstatus as well as in the
  8879. router descriptors when updating addresses for a bridge. Closes
  8880. ticket 24572; bugfix on 0.2.4.5-alpha. Patch by "ffmancera".
  8881. o Minor bugfixes (linux seccomp2 sandbox):
  8882. - When running with the sandbox enabled, reload configuration files
  8883. correctly even when %include was used. Previously we would crash.
  8884. Fixes bug 22605; bugfix on 0.3.1. Patch from Daniel Pinto.
  8885. o Minor bugfixes (memory leaks):
  8886. - Avoid possible at-exit memory leaks related to use of Libevent's
  8887. event_base_once() function. (This function tends to leak memory if
  8888. the event_base is closed before the event fires.) Fixes bug 24584;
  8889. bugfix on 0.2.8.1-alpha.
  8890. - Fix a harmless memory leak in tor-resolve. Fixes bug 24582; bugfix
  8891. on 0.2.1.1-alpha.
  8892. o Minor bugfixes (OSX):
  8893. - Don't exit the Tor process if setrlimit() fails to change the file
  8894. limit (which can happen sometimes on some versions of OSX). Fixes
  8895. bug 21074; bugfix on 0.0.9pre5.
  8896. o Minor bugfixes (performance, fragile-hardening):
  8897. - Improve the performance of our consensus-diff application code
  8898. when Tor is built with the --enable-fragile-hardening option set.
  8899. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  8900. o Minor bugfixes (performance, timeouts):
  8901. - Consider circuits for timeout as soon as they complete a hop. This
  8902. is more accurate than applying the timeout in
  8903. circuit_expire_building() because that function is only called
  8904. once per second, which is now too slow for typical timeouts on the
  8905. current network. Fixes bug 23114; bugfix on 0.2.2.2-alpha.
  8906. - Use onion service circuits (and other circuits longer than 3 hops)
  8907. to calculate a circuit build timeout. Previously, Tor only
  8908. calculated its build timeout based on circuits that planned to be
  8909. exactly 3 hops long. With this change, we include measurements
  8910. from all circuits at the point where they complete their third
  8911. hop. Fixes bug 23100; bugfix on 0.2.2.2-alpha.
  8912. o Minor bugfixes (testing):
  8913. - Give out Exit flags in bootstrapping networks. Fixes bug 24137;
  8914. bugfix on 0.2.3.1-alpha.
  8915. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  8916. 25005; bugfix on 0.3.2.7-rc.
  8917. o Code simplification and refactoring:
  8918. - Remove /usr/athena from search path in configure.ac. Closes
  8919. ticket 24363.
  8920. - Remove duplicate code in node_has_curve25519_onion_key() and
  8921. node_get_curve25519_onion_key(), and add a check for a zero
  8922. microdesc curve25519 onion key. Closes ticket 23966, patch by
  8923. "aruna1234" and teor.
  8924. - Rewrite channel_rsa_id_group_set_badness to reduce temporary
  8925. memory allocations with large numbers of OR connections (e.g.
  8926. relays). Closes ticket 24119.
  8927. - Separate the function that deletes ephemeral files when Tor
  8928. stops gracefully.
  8929. - Small changes to Tor's buf_t API to make it suitable for use as a
  8930. general-purpose safe string constructor. Closes ticket 22342.
  8931. - Switch -Wnormalized=id to -Wnormalized=nfkc in configure.ac to
  8932. avoid source code identifier confusion. Closes ticket 24467.
  8933. - The tor_git_revision[] constant no longer needs to be redeclared
  8934. by everything that links against the rest of Tor. Done as part of
  8935. ticket 23845, to simplify our external API.
  8936. - We make extend_info_from_node() use node_get_curve25519_onion_key()
  8937. introduced in ticket 23577 to access the curve25519 public keys
  8938. rather than accessing it directly. Closes ticket 23760. Patch by
  8939. Neel Chauhan.
  8940. - Add a function to log channels' scheduler state changes to aid
  8941. debugging efforts. Closes ticket 24531.
  8942. o Documentation:
  8943. - Add documentation on how to build tor with Rust dependencies
  8944. without having to be online. Closes ticket 22907; bugfix
  8945. on 0.3.0.3-alpha.
  8946. - Clarify the behavior of RelayBandwidth{Rate,Burst} with client
  8947. traffic. Closes ticket 24318.
  8948. - Document that OutboundBindAddress doesn't apply to DNS requests.
  8949. Closes ticket 22145. Patch from Aruna Maurya.
  8950. - Document that operators who run more than one relay or bridge are
  8951. expected to set MyFamily and ContactInfo correctly. Closes
  8952. ticket 24526.
  8953. o Code simplification and refactoring (channels):
  8954. - Remove the incoming and outgoing channel queues. These were never
  8955. used, but still took up a step in our fast path.
  8956. - The majority of the channel unit tests have been rewritten and the
  8957. code coverage has now been raised to 83.6% for channel.c. Closes
  8958. ticket 23709.
  8959. - Remove other dead code from the channel subsystem: All together,
  8960. this cleanup has removed more than 1500 lines of code overall and
  8961. adding very little except for unit test.
  8962. o Code simplification and refactoring (circuit rendezvous):
  8963. - Split the client-side rendezvous circuit lookup into two
  8964. functions: one that returns only established circuits and another
  8965. that returns all kinds of circuits. Closes ticket 23459.
  8966. o Code simplification and refactoring (controller):
  8967. - Make most of the variables in networkstatus_getinfo_by_purpose()
  8968. const. Implements ticket 24489.
  8969. Changes in version 0.3.2.9 - 2018-01-09
  8970. Tor 0.3.2.9 is the first stable release in the 0.3.2 series.
  8971. The 0.3.2 series includes our long-anticipated new onion service
  8972. design, with numerous security features. (For more information, see
  8973. our blog post at https://blog.torproject.org/fall-harvest.) We also
  8974. have a new circuit scheduler algorithm for improved performance on
  8975. relays everywhere (see https://blog.torproject.org/kist-and-tell),
  8976. along with many smaller features and bugfixes.
  8977. Per our stable release policy, we plan to support each stable release
  8978. series for at least the next nine months, or for three months after
  8979. the first stable release of the next series: whichever is longer. If
  8980. you need a release with long-term support, we recommend that you stay
  8981. with the 0.2.9 series.
  8982. Below is a list of the changes since 0.3.2.8-rc. For a list of all
  8983. changes since 0.3.1, see the ReleaseNotes file.
  8984. o Minor features (fallback directory mirrors):
  8985. - The fallback directory list has been re-generated based on the
  8986. current status of the network. Tor uses fallback directories to
  8987. bootstrap when it doesn't yet have up-to-date directory
  8988. information. Closes ticket 24801.
  8989. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  8990. prefer to bootstrap from fallback directory mirrors. This is a
  8991. follow-up to 24679, which removed weights from the default
  8992. fallbacks. Implements ticket 24681.
  8993. o Minor features (geoip):
  8994. - Update geoip and geoip6 to the January 5 2018 Maxmind GeoLite2
  8995. Country database.
  8996. o Minor bugfixes (address selection):
  8997. - When the fascist_firewall_choose_address_ functions don't find a
  8998. reachable address, set the returned address to the null address
  8999. and port. This is a precautionary measure, because some callers do
  9000. not check the return value. Fixes bug 24736; bugfix
  9001. on 0.2.8.2-alpha.
  9002. o Minor bugfixes (compilation):
  9003. - Resolve a few shadowed-variable warnings in the onion service
  9004. code. Fixes bug 24634; bugfix on 0.3.2.1-alpha.
  9005. o Minor bugfixes (portability, msvc):
  9006. - Fix a bug in the bit-counting parts of our timing-wheel code on
  9007. MSVC. (Note that MSVC is still not a supported build platform, due
  9008. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  9009. on 0.2.9.1-alpha.
  9010. Changes in version 0.3.2.8-rc - 2017-12-21
  9011. Tor 0.3.2.8-rc fixes a pair of bugs in the KIST and KISTLite
  9012. schedulers that had led servers under heavy load to overload their
  9013. outgoing connections. All relay operators running earlier 0.3.2.x
  9014. versions should upgrade. This version also includes a mitigation for
  9015. over-full DESTROY queues leading to out-of-memory conditions: if it
  9016. works, we will soon backport it to earlier release series.
  9017. This is the second release candidate in the 0.3.2 series. If we find
  9018. no new bugs or regression here, then the first stable 0.3.2 release
  9019. will be nearly identical to this.
  9020. o Major bugfixes (KIST, scheduler):
  9021. - The KIST scheduler did not correctly account for data already
  9022. enqueued in each connection's send socket buffer, particularly in
  9023. cases when the TCP/IP congestion window was reduced between
  9024. scheduler calls. This situation lead to excessive per-connection
  9025. buffering in the kernel, and a potential memory DoS. Fixes bug
  9026. 24665; bugfix on 0.3.2.1-alpha.
  9027. o Minor features (geoip):
  9028. - Update geoip and geoip6 to the December 6 2017 Maxmind GeoLite2
  9029. Country database.
  9030. o Minor bugfixes (hidden service v3):
  9031. - Bump hsdir_spread_store parameter from 3 to 4 in order to increase
  9032. the probability of reaching a service for a client missing
  9033. microdescriptors. Fixes bug 24425; bugfix on 0.3.2.1-alpha.
  9034. o Minor bugfixes (memory usage):
  9035. - When queuing DESTROY cells on a channel, only queue the circuit-id
  9036. and reason fields: not the entire 514-byte cell. This fix should
  9037. help mitigate any bugs or attacks that fill up these queues, and
  9038. free more RAM for other uses. Fixes bug 24666; bugfix
  9039. on 0.2.5.1-alpha.
  9040. o Minor bugfixes (scheduler, KIST):
  9041. - Use a sane write limit for KISTLite when writing onto a connection
  9042. buffer instead of using INT_MAX and shoving as much as it can.
  9043. Because the OOM handler cleans up circuit queues, we are better
  9044. off at keeping them in that queue instead of the connection's
  9045. buffer. Fixes bug 24671; bugfix on 0.3.2.1-alpha.
  9046. Changes in version 0.3.2.7-rc - 2017-12-14
  9047. Tor 0.3.2.7-rc fixes various bugs in earlier versions of Tor,
  9048. including some that could affect reliability or correctness.
  9049. This is the first release candidate in the 0.3.2 series. If we find no
  9050. new bugs or regression here, then the first stable 0.3.2. release will
  9051. be nearly identical to this.
  9052. o Major bugfixes (circuit prediction):
  9053. - Fix circuit prediction logic so that a client doesn't treat a port
  9054. as being "handled" by a circuit if that circuit already has
  9055. isolation settings on it. This change should make Tor clients more
  9056. responsive by improving their chances of having a pre-created
  9057. circuit ready for use when a request arrives. Fixes bug 18859;
  9058. bugfix on 0.2.3.3-alpha.
  9059. o Minor features (logging):
  9060. - Provide better warnings when the getrandom() syscall fails. Closes
  9061. ticket 24500.
  9062. o Minor features (portability):
  9063. - Tor now compiles correctly on arm64 with libseccomp-dev installed.
  9064. (It doesn't yet work with the sandbox enabled.) Closes
  9065. ticket 24424.
  9066. o Minor bugfixes (bridge clients, bootstrap):
  9067. - Retry directory downloads when we get our first bridge descriptor
  9068. during bootstrap or while reconnecting to the network. Keep
  9069. retrying every time we get a bridge descriptor, until we have a
  9070. reachable bridge. Fixes part of bug 24367; bugfix on 0.2.0.3-alpha.
  9071. - Stop delaying bridge descriptor fetches when we have cached bridge
  9072. descriptors. Instead, only delay bridge descriptor fetches when we
  9073. have at least one reachable bridge. Fixes part of bug 24367;
  9074. bugfix on 0.2.0.3-alpha.
  9075. - Stop delaying directory fetches when we have cached bridge
  9076. descriptors. Instead, only delay bridge descriptor fetches when
  9077. all our bridges are definitely unreachable. Fixes part of bug
  9078. 24367; bugfix on 0.2.0.3-alpha.
  9079. o Minor bugfixes (compilation):
  9080. - Fix a signed/unsigned comparison warning introduced by our fix to
  9081. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  9082. o Minor bugfixes (correctness):
  9083. - Fix several places in our codebase where a C compiler would be
  9084. likely to eliminate a check, based on assuming that undefined
  9085. behavior had not happened elsewhere in the code. These cases are
  9086. usually a sign of redundant checking or dubious arithmetic. Found
  9087. by Georg Koppen using the "STACK" tool from Wang, Zeldovich,
  9088. Kaashoek, and Solar-Lezama. Fixes bug 24423; bugfix on various
  9089. Tor versions.
  9090. o Minor bugfixes (onion service v3):
  9091. - Fix a race where an onion service would launch a new intro circuit
  9092. after closing an old one, but fail to register it before freeing
  9093. the previously closed circuit. This bug was making the service
  9094. unable to find the established intro circuit and thus not upload
  9095. its descriptor, thus making a service unavailable for up to 24
  9096. hours. Fixes bug 23603; bugfix on 0.3.2.1-alpha.
  9097. o Minor bugfixes (scheduler, KIST):
  9098. - Properly set the scheduler state of an unopened channel in the
  9099. KIST scheduler main loop. This prevents a harmless but annoying
  9100. log warning. Fixes bug 24502; bugfix on 0.3.2.4-alpha.
  9101. - Avoid a possible integer overflow when computing the available
  9102. space on the TCP buffer of a channel. This had no security
  9103. implications; but could make KIST allow too many cells on a
  9104. saturated connection. Fixes bug 24590; bugfix on 0.3.2.1-alpha.
  9105. - Downgrade to "info" a harmless warning about the monotonic time
  9106. moving backwards: This can happen on platform not supporting
  9107. monotonic time. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  9108. Changes in version 0.3.2.6-alpha - 2017-12-01
  9109. This version of Tor is the latest in the 0.3.2 alpha series. It
  9110. includes fixes for several important security issues. All Tor users
  9111. should upgrade to this release, or to one of the other releases coming
  9112. out today.
  9113. o Major bugfixes (security):
  9114. - Fix a denial of service bug where an attacker could use a
  9115. malformed directory object to cause a Tor instance to pause while
  9116. OpenSSL would try to read a passphrase from the terminal. (Tor
  9117. instances run without a terminal, which is the case for most Tor
  9118. packages, are not impacted.) Fixes bug 24246; bugfix on every
  9119. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  9120. Found by OSS-Fuzz as testcase 6360145429790720.
  9121. - Fix a denial of service issue where an attacker could crash a
  9122. directory authority using a malformed router descriptor. Fixes bug
  9123. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  9124. and CVE-2017-8820.
  9125. - When checking for replays in the INTRODUCE1 cell data for a
  9126. (legacy) onion service, correctly detect replays in the RSA-
  9127. encrypted part of the cell. We were previously checking for
  9128. replays on the entire cell, but those can be circumvented due to
  9129. the malleability of Tor's legacy hybrid encryption. This fix helps
  9130. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  9131. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  9132. and CVE-2017-8819.
  9133. o Major bugfixes (security, onion service v2):
  9134. - Fix a use-after-free error that could crash v2 Tor onion services
  9135. when they failed to open circuits while expiring introduction
  9136. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  9137. also tracked as TROVE-2017-013 and CVE-2017-8823.
  9138. o Major bugfixes (security, relay):
  9139. - When running as a relay, make sure that we never build a path
  9140. through ourselves, even in the case where we have somehow lost the
  9141. version of our descriptor appearing in the consensus. Fixes part
  9142. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  9143. as TROVE-2017-012 and CVE-2017-8822.
  9144. - When running as a relay, make sure that we never choose ourselves
  9145. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  9146. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  9147. o Minor feature (relay statistics):
  9148. - Change relay bandwidth reporting stats interval from 4 hours to 24
  9149. hours in order to reduce the efficiency of guard discovery
  9150. attacks. Fixes ticket 23856.
  9151. o Minor features (directory authority):
  9152. - Add an IPv6 address for the "bastet" directory authority. Closes
  9153. ticket 24394.
  9154. o Minor bugfixes (client):
  9155. - By default, do not enable storage of client-side DNS values. These
  9156. values were unused by default previously, but they should not have
  9157. been cached at all. Fixes bug 24050; bugfix on 0.2.6.3-alpha.
  9158. Changes in version 0.3.1.9 - 2017-12-01:
  9159. Tor 0.3.1.9 backports important security and stability fixes from the
  9160. 0.3.2 development series. All Tor users should upgrade to this
  9161. release, or to another of the releases coming out today.
  9162. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  9163. - Fix a denial of service bug where an attacker could use a
  9164. malformed directory object to cause a Tor instance to pause while
  9165. OpenSSL would try to read a passphrase from the terminal. (Tor
  9166. instances run without a terminal, which is the case for most Tor
  9167. packages, are not impacted.) Fixes bug 24246; bugfix on every
  9168. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  9169. Found by OSS-Fuzz as testcase 6360145429790720.
  9170. - Fix a denial of service issue where an attacker could crash a
  9171. directory authority using a malformed router descriptor. Fixes bug
  9172. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  9173. and CVE-2017-8820.
  9174. - When checking for replays in the INTRODUCE1 cell data for a
  9175. (legacy) onion service, correctly detect replays in the RSA-
  9176. encrypted part of the cell. We were previously checking for
  9177. replays on the entire cell, but those can be circumvented due to
  9178. the malleability of Tor's legacy hybrid encryption. This fix helps
  9179. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  9180. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  9181. and CVE-2017-8819.
  9182. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  9183. - Fix a use-after-free error that could crash v2 Tor onion services
  9184. when they failed to open circuits while expiring introduction
  9185. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  9186. also tracked as TROVE-2017-013 and CVE-2017-8823.
  9187. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  9188. - When running as a relay, make sure that we never build a path
  9189. through ourselves, even in the case where we have somehow lost the
  9190. version of our descriptor appearing in the consensus. Fixes part
  9191. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  9192. as TROVE-2017-012 and CVE-2017-8822.
  9193. - When running as a relay, make sure that we never choose ourselves
  9194. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  9195. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  9196. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  9197. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  9198. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  9199. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  9200. identifying and finding a workaround to this bug and to Moritz,
  9201. Arthur Edelstein, and Roger for helping to track it down and
  9202. analyze it.
  9203. o Minor features (bridge):
  9204. - Bridges now include notice in their descriptors that they are
  9205. bridges, and notice of their distribution status, based on their
  9206. publication settings. Implements ticket 18329. For more fine-
  9207. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  9208. or later.
  9209. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  9210. - Add an IPv6 address for the "bastet" directory authority. Closes
  9211. ticket 24394.
  9212. o Minor features (geoip):
  9213. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  9214. Country database.
  9215. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  9216. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  9217. relays, to prevent spurious address resolutions and descriptor
  9218. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  9219. bugfix on in 0.2.8.1-alpha.
  9220. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  9221. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  9222. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  9223. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  9224. - When a circuit is marked for close, do not attempt to package any
  9225. cells for channels on that circuit. Previously, we would detect
  9226. this condition lower in the call stack, when we noticed that the
  9227. circuit had no attached channel, and log an annoying message.
  9228. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  9229. o Minor bugfixes (onion service, backport from 0.3.2.5-alpha):
  9230. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  9231. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  9232. on 0.3.1.1-alpha.
  9233. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  9234. - Avoid a crash when transitioning from client mode to bridge mode.
  9235. Previously, we would launch the worker threads whenever our
  9236. "public server" mode changed, but not when our "server" mode
  9237. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  9238. Changes in version 0.3.0.13 - 2017-12-01
  9239. Tor 0.3.0.13 backports important security and stability bugfixes from
  9240. later Tor releases. All Tor users should upgrade to this release, or
  9241. to another of the releases coming out today.
  9242. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  9243. 2018. If you need a release with long-term support, please stick with
  9244. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  9245. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  9246. - Fix a denial of service bug where an attacker could use a
  9247. malformed directory object to cause a Tor instance to pause while
  9248. OpenSSL would try to read a passphrase from the terminal. (Tor
  9249. instances run without a terminal, which is the case for most Tor
  9250. packages, are not impacted.) Fixes bug 24246; bugfix on every
  9251. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  9252. Found by OSS-Fuzz as testcase 6360145429790720.
  9253. - Fix a denial of service issue where an attacker could crash a
  9254. directory authority using a malformed router descriptor. Fixes bug
  9255. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  9256. and CVE-2017-8820.
  9257. - When checking for replays in the INTRODUCE1 cell data for a
  9258. (legacy) onion service, correctly detect replays in the RSA-
  9259. encrypted part of the cell. We were previously checking for
  9260. replays on the entire cell, but those can be circumvented due to
  9261. the malleability of Tor's legacy hybrid encryption. This fix helps
  9262. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  9263. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  9264. and CVE-2017-8819.
  9265. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  9266. - Fix a use-after-free error that could crash v2 Tor onion services
  9267. when they failed to open circuits while expiring introduction
  9268. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  9269. also tracked as TROVE-2017-013 and CVE-2017-8823.
  9270. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  9271. - When running as a relay, make sure that we never build a path
  9272. through ourselves, even in the case where we have somehow lost the
  9273. version of our descriptor appearing in the consensus. Fixes part
  9274. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  9275. as TROVE-2017-012 and CVE-2017-8822.
  9276. - When running as a relay, make sure that we never choose ourselves
  9277. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  9278. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  9279. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  9280. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  9281. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  9282. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  9283. identifying and finding a workaround to this bug and to Moritz,
  9284. Arthur Edelstein, and Roger for helping to track it down and
  9285. analyze it.
  9286. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  9287. - Enable a couple of pieces of Windows hardening: one
  9288. (HeapEnableTerminationOnCorruption) that has been on-by-default
  9289. since Windows 8, and unavailable before Windows 7; and one
  9290. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  9291. affect us, but shouldn't do any harm. Closes ticket 21953.
  9292. o Minor features (bridge, backport from 0.3.1.9):
  9293. - Bridges now include notice in their descriptors that they are
  9294. bridges, and notice of their distribution status, based on their
  9295. publication settings. Implements ticket 18329. For more fine-
  9296. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  9297. or later.
  9298. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  9299. - Add an IPv6 address for the "bastet" directory authority. Closes
  9300. ticket 24394.
  9301. o Minor features (geoip):
  9302. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  9303. Country database.
  9304. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  9305. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  9306. relays, to prevent spurious address resolutions and descriptor
  9307. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  9308. bugfix on in 0.2.8.1-alpha.
  9309. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  9310. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  9311. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  9312. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  9313. - When a circuit is marked for close, do not attempt to package any
  9314. cells for channels on that circuit. Previously, we would detect
  9315. this condition lower in the call stack, when we noticed that the
  9316. circuit had no attached channel, and log an annoying message.
  9317. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  9318. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  9319. - Avoid a crash when transitioning from client mode to bridge mode.
  9320. Previously, we would launch the worker threads whenever our
  9321. "public server" mode changed, but not when our "server" mode
  9322. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  9323. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  9324. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  9325. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  9326. Changes in version 0.2.9.14 - 2017-12-01
  9327. Tor 0.3.0.13 backports important security and stability bugfixes from
  9328. later Tor releases. All Tor users should upgrade to this release, or
  9329. to another of the releases coming out today.
  9330. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  9331. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  9332. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  9333. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  9334. identifying and finding a workaround to this bug and to Moritz,
  9335. Arthur Edelstein, and Roger for helping to track it down and
  9336. analyze it.
  9337. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  9338. - Fix a denial of service bug where an attacker could use a
  9339. malformed directory object to cause a Tor instance to pause while
  9340. OpenSSL would try to read a passphrase from the terminal. (Tor
  9341. instances run without a terminal, which is the case for most Tor
  9342. packages, are not impacted.) Fixes bug 24246; bugfix on every
  9343. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  9344. Found by OSS-Fuzz as testcase 6360145429790720.
  9345. - Fix a denial of service issue where an attacker could crash a
  9346. directory authority using a malformed router descriptor. Fixes bug
  9347. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  9348. and CVE-2017-8820.
  9349. - When checking for replays in the INTRODUCE1 cell data for a
  9350. (legacy) onion service, correctly detect replays in the RSA-
  9351. encrypted part of the cell. We were previously checking for
  9352. replays on the entire cell, but those can be circumvented due to
  9353. the malleability of Tor's legacy hybrid encryption. This fix helps
  9354. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  9355. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  9356. and CVE-2017-8819.
  9357. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  9358. - Fix a use-after-free error that could crash v2 Tor onion services
  9359. when they failed to open circuits while expiring introduction
  9360. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  9361. also tracked as TROVE-2017-013 and CVE-2017-8823.
  9362. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  9363. - When running as a relay, make sure that we never build a path
  9364. through ourselves, even in the case where we have somehow lost the
  9365. version of our descriptor appearing in the consensus. Fixes part
  9366. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  9367. as TROVE-2017-012 and CVE-2017-8822.
  9368. o Minor features (bridge, backport from 0.3.1.9):
  9369. - Bridges now include notice in their descriptors that they are
  9370. bridges, and notice of their distribution status, based on their
  9371. publication settings. Implements ticket 18329. For more fine-
  9372. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  9373. or later.
  9374. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  9375. - Add an IPv6 address for the "bastet" directory authority. Closes
  9376. ticket 24394.
  9377. o Minor features (geoip):
  9378. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  9379. Country database.
  9380. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  9381. - Enable a couple of pieces of Windows hardening: one
  9382. (HeapEnableTerminationOnCorruption) that has been on-by-default
  9383. since Windows 8, and unavailable before Windows 7; and one
  9384. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  9385. affect us, but shouldn't do any harm. Closes ticket 21953.
  9386. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  9387. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  9388. relays, to prevent spurious address resolutions and descriptor
  9389. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  9390. bugfix on in 0.2.8.1-alpha.
  9391. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  9392. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  9393. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  9394. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  9395. - When a circuit is marked for close, do not attempt to package any
  9396. cells for channels on that circuit. Previously, we would detect
  9397. this condition lower in the call stack, when we noticed that the
  9398. circuit had no attached channel, and log an annoying message.
  9399. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  9400. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  9401. - Avoid a crash when transitioning from client mode to bridge mode.
  9402. Previously, we would launch the worker threads whenever our
  9403. "public server" mode changed, but not when our "server" mode
  9404. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  9405. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  9406. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  9407. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  9408. Changes in version 0.2.8.17 - 2017-12-01
  9409. Tor 0.2.8.17 backports important security and stability bugfixes from
  9410. later Tor releases. All Tor users should upgrade to this release, or
  9411. to another of the releases coming out today.
  9412. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  9413. 2018. If you need a release with long-term support, please upgrade with
  9414. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  9415. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  9416. - Fix a denial of service bug where an attacker could use a
  9417. malformed directory object to cause a Tor instance to pause while
  9418. OpenSSL would try to read a passphrase from the terminal. (Tor
  9419. instances run without a terminal, which is the case for most Tor
  9420. packages, are not impacted.) Fixes bug 24246; bugfix on every
  9421. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  9422. Found by OSS-Fuzz as testcase 6360145429790720.
  9423. - When checking for replays in the INTRODUCE1 cell data for a
  9424. (legacy) onion service, correctly detect replays in the RSA-
  9425. encrypted part of the cell. We were previously checking for
  9426. replays on the entire cell, but those can be circumvented due to
  9427. the malleability of Tor's legacy hybrid encryption. This fix helps
  9428. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  9429. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  9430. and CVE-2017-8819.
  9431. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  9432. - Fix a use-after-free error that could crash v2 Tor onion services
  9433. when they failed to open circuits while expiring introduction
  9434. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  9435. also tracked as TROVE-2017-013 and CVE-2017-8823.
  9436. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  9437. - When running as a relay, make sure that we never build a path through
  9438. ourselves, even in the case where we have somehow lost the version of
  9439. our descriptor appearing in the consensus. Fixes part of bug 21534;
  9440. bugfix on 0.2.0.1-alpha. This issue is also tracked as TROVE-2017-012
  9441. and CVE-2017-8822.
  9442. o Minor features (bridge, backport from 0.3.1.9):
  9443. - Bridges now include notice in their descriptors that they are
  9444. bridges, and notice of their distribution status, based on their
  9445. publication settings. Implements ticket 18329. For more fine-
  9446. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  9447. or later.
  9448. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  9449. - Add an IPv6 address for the "bastet" directory authority. Closes
  9450. ticket 24394.
  9451. o Minor features (geoip):
  9452. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  9453. Country database.
  9454. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  9455. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  9456. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  9457. Changes in version 0.2.5.16 - 2017-12-01
  9458. Tor 0.2.5.13 backports important security and stability bugfixes from
  9459. later Tor releases. All Tor users should upgrade to this release, or
  9460. to another of the releases coming out today.
  9461. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  9462. 2018. If you need a release with long-term support, please upgrade to
  9463. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  9464. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  9465. - Fix a denial of service bug where an attacker could use a
  9466. malformed directory object to cause a Tor instance to pause while
  9467. OpenSSL would try to read a passphrase from the terminal. (Tor
  9468. instances run without a terminal, which is the case for most Tor
  9469. packages, are not impacted.) Fixes bug 24246; bugfix on every
  9470. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  9471. Found by OSS-Fuzz as testcase 6360145429790720.
  9472. - When checking for replays in the INTRODUCE1 cell data for a
  9473. (legacy) onion service, correctly detect replays in the RSA-
  9474. encrypted part of the cell. We were previously checking for
  9475. replays on the entire cell, but those can be circumvented due to
  9476. the malleability of Tor's legacy hybrid encryption. This fix helps
  9477. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  9478. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  9479. and CVE-2017-8819.
  9480. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  9481. - When running as a relay, make sure that we never build a path
  9482. through ourselves, even in the case where we have somehow lost the
  9483. version of our descriptor appearing in the consensus. Fixes part
  9484. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  9485. as TROVE-2017-012 and CVE-2017-8822.
  9486. o Minor features (bridge, backport from 0.3.1.9):
  9487. - Bridges now include notice in their descriptors that they are
  9488. bridges, and notice of their distribution status, based on their
  9489. publication settings. Implements ticket 18329. For more fine-
  9490. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  9491. or later.
  9492. o Minor features (geoip):
  9493. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  9494. Country database.
  9495. Changes in version 0.3.2.5-alpha - 2017-11-22
  9496. Tor 0.3.2.5-alpha is the fifth alpha release in the 0.3.2.x series. It
  9497. fixes several stability and reliability bugs, including a fix for
  9498. intermittent bootstrapping failures that some people have been seeing
  9499. since the 0.3.0.x series.
  9500. Please test this alpha out -- many of these fixes will soon be
  9501. backported to stable Tor versions if no additional bugs are found
  9502. in them.
  9503. o Major bugfixes (bootstrapping):
  9504. - Fetch descriptors aggressively whenever we lack enough to build
  9505. circuits, regardless of how many descriptors we are missing.
  9506. Previously, we would delay launching the fetch when we had fewer
  9507. than 15 missing descriptors, even if some of those descriptors
  9508. were blocking circuits from building. Fixes bug 23985; bugfix on
  9509. 0.1.1.11-alpha. The effects of this bug became worse in
  9510. 0.3.0.3-alpha, when we began treating missing descriptors from our
  9511. primary guards as a reason to delay circuits.
  9512. - Don't try fetching microdescriptors from relays that have failed
  9513. to deliver them in the past. Fixes bug 23817; bugfix
  9514. on 0.3.0.1-alpha.
  9515. o Minor features (directory authority):
  9516. - Make the "Exit" flag assignment only depend on whether the exit
  9517. policy allows connections to ports 80 and 443. Previously relays
  9518. would get the Exit flag if they allowed connections to one of
  9519. these ports and also port 6667. Resolves ticket 23637.
  9520. o Minor features (geoip):
  9521. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  9522. Country database.
  9523. o Minor features (linux seccomp2 sandbox):
  9524. - Update the sandbox rules so that they should now work correctly
  9525. with Glibc 2.26. Closes ticket 24315.
  9526. o Minor features (logging):
  9527. - Downgrade a pair of log messages that could occur when an exit's
  9528. resolver gave us an unusual (but not forbidden) response. Closes
  9529. ticket 24097.
  9530. - Improve the message we log when re-enabling circuit build timeouts
  9531. after having received a consensus. Closes ticket 20963.
  9532. o Minor bugfixes (compilation):
  9533. - Fix a memory leak warning in one of the libevent-related
  9534. configuration tests that could occur when manually specifying
  9535. -fsanitize=address. Fixes bug 24279; bugfix on 0.3.0.2-alpha.
  9536. Found and patched by Alex Xu.
  9537. - When detecting OpenSSL on Windows from our configure script, make
  9538. sure to try linking with the ws2_32 library. Fixes bug 23783;
  9539. bugfix on 0.3.2.2-alpha.
  9540. o Minor bugfixes (control port, linux seccomp2 sandbox):
  9541. - Avoid a crash when attempting to use the seccomp2 sandbox together
  9542. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  9543. on 0.2.5.1-alpha.
  9544. o Minor bugfixes (control port, onion services):
  9545. - Report "FAILED" instead of "UPLOAD_FAILED" "FAILED" for the
  9546. HS_DESC event when a service is not able to upload a descriptor.
  9547. Fixes bug 24230; bugfix on 0.2.7.1-alpha.
  9548. o Minor bugfixes (directory cache):
  9549. - Recover better from empty or corrupt files in the consensus cache
  9550. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  9551. - When a consensus diff calculation is only partially successful,
  9552. only record the successful parts as having succeeded. Partial
  9553. success can happen if (for example) one compression method fails
  9554. but the others succeed. Previously we misrecorded all the
  9555. calculations as having succeeded, which would later cause a
  9556. nonfatal assertion failure. Fixes bug 24086; bugfix
  9557. on 0.3.1.1-alpha.
  9558. o Minor bugfixes (logging):
  9559. - Only log once if we notice that KIST support is gone. Fixes bug
  9560. 24158; bugfix on 0.3.2.1-alpha.
  9561. - Suppress a log notice when relay descriptors arrive. We already
  9562. have a bootstrap progress for this so no need to log notice
  9563. everytime tor receives relay descriptors. Microdescriptors behave
  9564. the same. Fixes bug 23861; bugfix on 0.2.8.2-alpha.
  9565. o Minor bugfixes (network layer):
  9566. - When closing a connection via close_connection_immediately(), we
  9567. mark it as "not blocked on bandwidth", to prevent later calls from
  9568. trying to unblock it, and give it permission to read. This fixes a
  9569. backtrace warning that can happen on relays under various
  9570. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  9571. o Minor bugfixes (onion services):
  9572. - The introduction circuit was being timed out too quickly while
  9573. waiting for the rendezvous circuit to complete. Keep the intro
  9574. circuit around longer instead of timing out and reopening new ones
  9575. constantly. Fixes bug 23681; bugfix on 0.2.4.8-alpha.
  9576. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  9577. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  9578. on 0.3.1.1-alpha.
  9579. - Silence a warning about failed v3 onion descriptor uploads that
  9580. can happen naturally under certain edge cases. Fixes part of bug
  9581. 23662; bugfix on 0.3.2.1-alpha.
  9582. o Minor bugfixes (tests):
  9583. - Fix a memory leak in one of the bridge-distribution test cases.
  9584. Fixes bug 24345; bugfix on 0.3.2.3-alpha.
  9585. - Fix a bug in our fuzzing mock replacement for crypto_pk_checksig(),
  9586. to correctly handle cases where a caller gives it an RSA key of
  9587. under 160 bits. (This is not actually a bug in Tor itself, but
  9588. rather in our fuzzing code.) Fixes bug 24247; bugfix on
  9589. 0.3.0.3-alpha. Found by OSS-Fuzz as issue 4177.
  9590. o Documentation:
  9591. - Add notes in man page regarding OS support for the various
  9592. scheduler types. Attempt to use less jargon in the scheduler
  9593. section. Closes ticket 24254.
  9594. Changes in version 0.3.2.4-alpha - 2017-11-08
  9595. Tor 0.3.2.4-alpha is the fourth alpha release in the 0.3.2.x series.
  9596. It fixes several stability and reliability bugs, especially including
  9597. a major reliability issue that has been plaguing fast exit relays in
  9598. recent months.
  9599. o Major bugfixes (exit relays, DNS):
  9600. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  9601. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  9602. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  9603. identifying and finding a workaround to this bug and to Moritz,
  9604. Arthur Edelstein, and Roger for helping to track it down and
  9605. analyze it.
  9606. o Major bugfixes (scheduler, channel):
  9607. - Stop processing scheduled channels if they closed while flushing
  9608. cells. This can happen if the write on the connection fails
  9609. leading to the channel being closed while in the scheduler loop.
  9610. Fixes bug 23751; bugfix on 0.3.2.1-alpha.
  9611. o Minor features (logging, scheduler):
  9612. - Introduce a SCHED_BUG() function to log extra information about
  9613. the scheduler state if we ever catch a bug in the scheduler.
  9614. Closes ticket 23753.
  9615. o Minor features (removed deprecations):
  9616. - The ClientDNSRejectInternalAddresses flag can once again be set in
  9617. non-testing Tor networks, so long as they do not use the default
  9618. directory authorities. This change also removes the deprecation of
  9619. this flag from 0.2.9.2-alpha. Closes ticket 21031.
  9620. o Minor features (testing):
  9621. - Our fuzzing tests now test the encrypted portions of v3 onion
  9622. service descriptors. Implements more of 21509.
  9623. o Minor bugfixes (directory client):
  9624. - On failure to download directory information, delay retry attempts
  9625. by a random amount based on the "decorrelated jitter" algorithm.
  9626. Our previous delay algorithm tended to produce extra-long delays
  9627. too easily. Fixes bug 23816; bugfix on 0.2.9.1-alpha.
  9628. o Minor bugfixes (IPv6, v3 single onion services):
  9629. - Remove buggy code for IPv6-only v3 single onion services, and
  9630. reject attempts to configure them. This release supports IPv4,
  9631. dual-stack, and IPv6-only v3 onion services; and IPv4 and dual-
  9632. stack v3 single onion services. Fixes bug 23820; bugfix
  9633. on 0.3.2.1-alpha.
  9634. o Minor bugfixes (logging, relay):
  9635. - Give only a protocol warning when the ed25519 key is not
  9636. consistent between the descriptor and microdescriptor of a relay.
  9637. This can happen, for instance, if the relay has been flagged
  9638. NoEdConsensus. Fixes bug 24025; bugfix on 0.3.2.1-alpha.
  9639. o Minor bugfixes (manpage, onion service):
  9640. - Document that the HiddenServiceNumIntroductionPoints option is
  9641. 0-10 for v2 services and 0-20 for v3 services. Fixes bug 24115;
  9642. bugfix on 0.3.2.1-alpha.
  9643. o Minor bugfixes (memory leaks):
  9644. - Fix a minor memory leak at exit in the KIST scheduler. This bug
  9645. should have no user-visible impact. Fixes bug 23774; bugfix
  9646. on 0.3.2.1-alpha.
  9647. - Fix a memory leak when decrypting a badly formatted v3 onion
  9648. service descriptor. Fixes bug 24150; bugfix on 0.3.2.1-alpha.
  9649. Found by OSS-Fuzz; this is OSS-Fuzz issue 3994.
  9650. o Minor bugfixes (onion services):
  9651. - Cache some needed onion service client information instead of
  9652. constantly computing it over and over again. Fixes bug 23623;
  9653. bugfix on 0.3.2.1-alpha.
  9654. - Properly retry HSv3 descriptor fetches when missing required
  9655. directory information. Fixes bug 23762; bugfix on 0.3.2.1-alpha.
  9656. o Minor bugfixes (path selection):
  9657. - When selecting relays by bandwidth, avoid a rounding error that
  9658. could sometimes cause load to be imbalanced incorrectly.
  9659. Previously, we would always round upwards; now, we round towards
  9660. the nearest integer. This had the biggest effect when a relay's
  9661. weight adjustments should have given it weight 0, but it got
  9662. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  9663. - When calculating the fraction of nodes that have descriptors, and
  9664. all nodes in the network have zero bandwidths, count the number of
  9665. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  9666. - Actually log the total bandwidth in compute_weighted_bandwidths().
  9667. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  9668. o Minor bugfixes (relay, crash):
  9669. - Avoid a crash when transitioning from client mode to bridge mode.
  9670. Previously, we would launch the worker threads whenever our
  9671. "public server" mode changed, but not when our "server" mode
  9672. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  9673. o Minor bugfixes (testing):
  9674. - Fix a spurious fuzzing-only use of an uninitialized value. Found
  9675. by Brian Carpenter. Fixes bug 24082; bugfix on 0.3.0.3-alpha.
  9676. - Test that IPv6-only clients can use microdescriptors when running
  9677. "make test-network-all". Requires chutney master 61c28b9 or later.
  9678. Closes ticket 24109.
  9679. Changes in version 0.3.2.3-alpha - 2017-10-27
  9680. Tor 0.3.2.3-alpha is the third release in the 0.3.2 series. It fixes
  9681. numerous small bugs in earlier versions of 0.3.2.x, and adds a new
  9682. directory authority, Bastet.
  9683. o Directory authority changes:
  9684. - Add "Bastet" as a ninth directory authority to the default list.
  9685. Closes ticket 23910.
  9686. - The directory authority "Longclaw" has changed its IP address.
  9687. Closes ticket 23592.
  9688. o Minor features (bridge):
  9689. - Bridge relays can now set the BridgeDistribution config option to
  9690. add a "bridge-distribution-request" line to their bridge
  9691. descriptor, which tells BridgeDB how they'd like their bridge
  9692. address to be given out. (Note that as of Oct 2017, BridgeDB does
  9693. not yet implement this feature.) As a side benefit, this feature
  9694. provides a way to distinguish bridge descriptors from non-bridge
  9695. descriptors. Implements tickets 18329.
  9696. o Minor features (client, entry guards):
  9697. - Improve log messages when missing descriptors for primary guards.
  9698. Resolves ticket 23670.
  9699. o Minor features (geoip):
  9700. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  9701. Country database.
  9702. o Minor bugfixes (bridge):
  9703. - Overwrite the bridge address earlier in the process of retrieving
  9704. its descriptor, to make sure we reach it on the configured
  9705. address. Fixes bug 20532; bugfix on 0.2.0.10-alpha.
  9706. o Minor bugfixes (documentation):
  9707. - Document better how to read gcov, and what our gcov postprocessing
  9708. scripts do. Fixes bug 23739; bugfix on 0.2.9.1-alpha.
  9709. o Minor bugfixes (entry guards):
  9710. - Tor now updates its guard state when it reads a consensus
  9711. regardless of whether it's missing descriptors. That makes tor use
  9712. its primary guards to fetch descriptors in some edge cases where
  9713. it would previously have used fallback directories. Fixes bug
  9714. 23862; bugfix on 0.3.0.1-alpha.
  9715. o Minor bugfixes (hidden service client):
  9716. - When handling multiple SOCKS request for the same .onion address,
  9717. only fetch the service descriptor once.
  9718. - When a descriptor fetch fails with a non-recoverable error, close
  9719. all pending SOCKS requests for that .onion. Fixes bug 23653;
  9720. bugfix on 0.3.2.1-alpha.
  9721. o Minor bugfixes (hidden service):
  9722. - Always regenerate missing hidden service public key files. Prior
  9723. to this, if the public key was deleted from disk, it wouldn't get
  9724. recreated. Fixes bug 23748; bugfix on 0.3.2.2-alpha. Patch
  9725. from "cathugger".
  9726. - Make sure that we have a usable ed25519 key when the intro point
  9727. relay supports ed25519 link authentication. Fixes bug 24002;
  9728. bugfix on 0.3.2.1-alpha.
  9729. o Minor bugfixes (hidden service, v2):
  9730. - When reloading configured hidden services, copy all information
  9731. from the old service object. Previously, some data was omitted,
  9732. causing delays in descriptor upload, and other bugs. Fixes bug
  9733. 23790; bugfix on 0.2.1.9-alpha.
  9734. o Minor bugfixes (memory safety, defensive programming):
  9735. - Clear the target address when node_get_prim_orport() returns
  9736. early. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  9737. o Minor bugfixes (relay):
  9738. - Avoid a BUG warning when receiving a dubious CREATE cell while an
  9739. option transition is in progress. Fixes bug 23952; bugfix
  9740. on 0.3.2.1-alpha.
  9741. o Minor bugfixes (testing):
  9742. - Adjust the GitLab CI configuration to more closely match that of
  9743. Travis CI. Fixes bug 23757; bugfix on 0.3.2.2-alpha.
  9744. - Prevent scripts/test/coverage from attempting to move gcov output
  9745. to the root directory. Fixes bug 23741; bugfix on 0.2.5.1-alpha.
  9746. - When running unit tests as root, skip a test that would fail
  9747. because it expects a permissions error. This affects some
  9748. continuous integration setups. Fixes bug 23758; bugfix
  9749. on 0.3.2.2-alpha.
  9750. - Stop unconditionally mirroring the tor repository in GitLab CI.
  9751. This prevented developers from enabling GitLab CI on master. Fixes
  9752. bug 23755; bugfix on 0.3.2.2-alpha.
  9753. - Fix the hidden service v3 descriptor decoding fuzzing to use the
  9754. latest decoding API correctly. Fixes bug 21509; bugfix
  9755. on 0.3.2.1-alpha.
  9756. o Minor bugfixes (warnings):
  9757. - When we get an HTTP request on a SOCKS port, tell the user about
  9758. the new HTTPTunnelPort option. Previously, we would give a "Tor is
  9759. not an HTTP Proxy" message, which stopped being true when
  9760. HTTPTunnelPort was introduced. Fixes bug 23678; bugfix
  9761. on 0.3.2.1-alpha.
  9762. Changes in version 0.2.5.15 - 2017-10-25
  9763. Tor 0.2.5.15 backports a collection of bugfixes from later Tor release
  9764. series. It also adds a new directory authority, Bastet.
  9765. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  9766. 2018. If you need a release with long-term support, please upgrade to
  9767. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  9768. o Directory authority changes:
  9769. - Add "Bastet" as a ninth directory authority to the default list.
  9770. Closes ticket 23910.
  9771. - The directory authority "Longclaw" has changed its IP address.
  9772. Closes ticket 23592.
  9773. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  9774. - Avoid an assertion failure bug affecting our implementation of
  9775. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  9776. handling of "0xx" differs from what we had expected. Fixes bug
  9777. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  9778. o Minor features (geoip):
  9779. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  9780. Country database.
  9781. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  9782. - Fix a memset() off the end of an array when packing cells. This
  9783. bug should be harmless in practice, since the corrupted bytes are
  9784. still in the same structure, and are always padding bytes,
  9785. ignored, or immediately overwritten, depending on compiler
  9786. behavior. Nevertheless, because the memset()'s purpose is to make
  9787. sure that any other cell-handling bugs can't expose bytes to the
  9788. network, we need to fix it. Fixes bug 22737; bugfix on
  9789. 0.2.4.11-alpha. Fixes CID 1401591.
  9790. o Build features (backport from 0.3.1.5-alpha):
  9791. - Tor's repository now includes a Travis Continuous Integration (CI)
  9792. configuration file (.travis.yml). This is meant to help new
  9793. developers and contributors who fork Tor to a Github repository be
  9794. better able to test their changes, and understand what we expect
  9795. to pass. To use this new build feature, you must fork Tor to your
  9796. Github account, then go into the "Integrations" menu in the
  9797. repository settings for your fork and enable Travis, then push
  9798. your changes. Closes ticket 22636.
  9799. Changes in version 0.2.8.16 - 2017-10-25
  9800. Tor 0.2.8.16 backports a collection of bugfixes from later Tor release
  9801. series, including a bugfix for a crash issue that had affected relays
  9802. under memory pressure. It also adds a new directory authority, Bastet.
  9803. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  9804. 2018. If you need a release with long-term support, please stick with
  9805. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  9806. o Directory authority changes:
  9807. - Add "Bastet" as a ninth directory authority to the default list.
  9808. Closes ticket 23910.
  9809. - The directory authority "Longclaw" has changed its IP address.
  9810. Closes ticket 23592.
  9811. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  9812. - Fix a timing-based assertion failure that could occur when the
  9813. circuit out-of-memory handler freed a connection's output buffer.
  9814. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  9815. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  9816. - Remove longclaw's IPv6 address, as it will soon change. Authority
  9817. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  9818. 3/8 directory authorities with IPv6 addresses, but there are also
  9819. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  9820. o Minor features (geoip):
  9821. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  9822. Country database.
  9823. Changes in version 0.2.9.13 - 2017-10-25
  9824. Tor 0.2.9.13 backports a collection of bugfixes from later Tor release
  9825. series, including a bugfix for a crash issue that had affected relays
  9826. under memory pressure. It also adds a new directory authority, Bastet.
  9827. o Directory authority changes:
  9828. - Add "Bastet" as a ninth directory authority to the default list.
  9829. Closes ticket 23910.
  9830. - The directory authority "Longclaw" has changed its IP address.
  9831. Closes ticket 23592.
  9832. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  9833. - Fix a timing-based assertion failure that could occur when the
  9834. circuit out-of-memory handler freed a connection's output buffer.
  9835. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  9836. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  9837. - Remove longclaw's IPv6 address, as it will soon change. Authority
  9838. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  9839. 3/8 directory authorities with IPv6 addresses, but there are also
  9840. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  9841. o Minor features (geoip):
  9842. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  9843. Country database.
  9844. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  9845. - When a directory authority rejects a descriptor or extrainfo with
  9846. a given digest, mark that digest as undownloadable, so that we do
  9847. not attempt to download it again over and over. We previously
  9848. tried to avoid downloading such descriptors by other means, but we
  9849. didn't notice if we accidentally downloaded one anyway. This
  9850. behavior became problematic in 0.2.7.2-alpha, when authorities
  9851. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  9852. on 0.2.1.19-alpha.
  9853. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  9854. - Clear the address when node_get_prim_orport() returns early.
  9855. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  9856. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  9857. - When running as a Windows service, set the ID of the main thread
  9858. correctly. Failure to do so made us fail to send log messages to
  9859. the controller in 0.2.1.16-rc, slowed down controller event
  9860. delivery in 0.2.7.3-rc and later, and crash with an assertion
  9861. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  9862. Patch and diagnosis from "Vort".
  9863. Changes in version 0.3.0.12 - 2017-10-25
  9864. Tor 0.3.0.12 backports a collection of bugfixes from later Tor release
  9865. series, including a bugfix for a crash issue that had affected relays
  9866. under memory pressure. It also adds a new directory authority, Bastet.
  9867. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  9868. 2018. If you need a release with long-term support, please stick with
  9869. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  9870. o Directory authority changes:
  9871. - Add "Bastet" as a ninth directory authority to the default list.
  9872. Closes ticket 23910.
  9873. - The directory authority "Longclaw" has changed its IP address.
  9874. Closes ticket 23592.
  9875. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  9876. - Fix a timing-based assertion failure that could occur when the
  9877. circuit out-of-memory handler freed a connection's output buffer.
  9878. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  9879. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  9880. - Remove longclaw's IPv6 address, as it will soon change. Authority
  9881. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  9882. 3/8 directory authorities with IPv6 addresses, but there are also
  9883. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  9884. o Minor features (geoip):
  9885. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  9886. Country database.
  9887. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  9888. - When a directory authority rejects a descriptor or extrainfo with
  9889. a given digest, mark that digest as undownloadable, so that we do
  9890. not attempt to download it again over and over. We previously
  9891. tried to avoid downloading such descriptors by other means, but we
  9892. didn't notice if we accidentally downloaded one anyway. This
  9893. behavior became problematic in 0.2.7.2-alpha, when authorities
  9894. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  9895. on 0.2.1.19-alpha.
  9896. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  9897. - Avoid a possible double close of a circuit by the intro point on
  9898. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  9899. bugfix on 0.3.0.1-alpha.
  9900. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  9901. - Clear the address when node_get_prim_orport() returns early.
  9902. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  9903. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  9904. - When running as a Windows service, set the ID of the main thread
  9905. correctly. Failure to do so made us fail to send log messages to
  9906. the controller in 0.2.1.16-rc, slowed down controller event
  9907. delivery in 0.2.7.3-rc and later, and crash with an assertion
  9908. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  9909. Patch and diagnosis from "Vort".
  9910. Changes in version 0.3.1.8 - 2017-10-25
  9911. Tor 0.3.1.8 is the second stable release in the 0.3.1 series.
  9912. It includes several bugfixes, including a bugfix for a crash issue
  9913. that had affected relays under memory pressure. It also adds
  9914. a new directory authority, Bastet.
  9915. o Directory authority changes:
  9916. - Add "Bastet" as a ninth directory authority to the default list.
  9917. Closes ticket 23910.
  9918. - The directory authority "Longclaw" has changed its IP address.
  9919. Closes ticket 23592.
  9920. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  9921. - Fix a timing-based assertion failure that could occur when the
  9922. circuit out-of-memory handler freed a connection's output buffer.
  9923. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  9924. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  9925. - Remove longclaw's IPv6 address, as it will soon change. Authority
  9926. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  9927. 3/8 directory authorities with IPv6 addresses, but there are also
  9928. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  9929. o Minor features (geoip):
  9930. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  9931. Country database.
  9932. o Minor bugfixes (compilation, backport from 0.3.2.2-alpha):
  9933. - Fix a compilation warning when building with zstd support on
  9934. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  9935. and fixed by Andreas Stieger.
  9936. o Minor bugfixes (compression, backport from 0.3.2.2-alpha):
  9937. - Handle a pathological case when decompressing Zstandard data when
  9938. the output buffer size is zero. Fixes bug 23551; bugfix
  9939. on 0.3.1.1-alpha.
  9940. o Minor bugfixes (directory authority, backport from 0.3.2.1-alpha):
  9941. - Remove the length limit on HTTP status lines that authorities can
  9942. send in their replies. Fixes bug 23499; bugfix on 0.3.1.6-rc.
  9943. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  9944. - Avoid a possible double close of a circuit by the intro point on
  9945. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  9946. bugfix on 0.3.0.1-alpha.
  9947. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  9948. - Clear the address when node_get_prim_orport() returns early.
  9949. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  9950. o Minor bugfixes (unit tests, backport from 0.3.2.2-alpha):
  9951. - Fix additional channelpadding unit test failures by using mocked
  9952. time instead of actual time for all tests. Fixes bug 23608; bugfix
  9953. on 0.3.1.1-alpha.
  9954. Changes in version 0.3.2.2-alpha - 2017-09-29
  9955. Tor 0.3.2.2-alpha is the second release in the 0.3.2 series. This
  9956. release fixes several minor bugs in the new scheduler and next-
  9957. generation onion services; both features were newly added in the 0.3.2
  9958. series. Other fixes in this alpha include several fixes for non-fatal
  9959. tracebacks which would appear in logs.
  9960. With the aim to stabilise the 0.3.2 series by 15 December 2017, this
  9961. alpha does not contain any substantial new features. Minor features
  9962. include better testing and logging.
  9963. The following comprises the complete list of changes included
  9964. in 0.3.2.2-alpha:
  9965. o Major bugfixes (relay, crash, assertion failure):
  9966. - Fix a timing-based assertion failure that could occur when the
  9967. circuit out-of-memory handler freed a connection's output buffer.
  9968. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  9969. o Major bugfixes (scheduler):
  9970. - If a channel is put into the scheduler's pending list, then it
  9971. starts closing, and then if the scheduler runs before it finishes
  9972. closing, the scheduler will get stuck trying to flush its cells
  9973. while the lower layers refuse to cooperate. Fix that race
  9974. condition by giving the scheduler an escape method. Fixes bug
  9975. 23676; bugfix on 0.3.2.1-alpha.
  9976. o Minor features (build, compilation):
  9977. - The "check-changes" feature is now part of the "make check" tests;
  9978. we'll use it to try to prevent misformed changes files from
  9979. accumulating. Closes ticket 23564.
  9980. - Tor builds should now fail if there are any mismatches between the
  9981. C type representing a configuration variable and the C type the
  9982. data-driven parser uses to store a value there. Previously, we
  9983. needed to check these by hand, which sometimes led to mistakes.
  9984. Closes ticket 23643.
  9985. o Minor features (directory authorities):
  9986. - Remove longclaw's IPv6 address, as it will soon change. Authority
  9987. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  9988. 3/8 directory authorities with IPv6 addresses, but there are also
  9989. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  9990. o Minor features (hidden service, circuit, logging):
  9991. - Improve logging of many callsite in the circuit subsystem to print
  9992. the circuit identifier(s).
  9993. - Log when we cleanup an intro point from a service so we know when
  9994. and for what reason it happened. Closes ticket 23604.
  9995. o Minor features (logging):
  9996. - Log more circuit information whenever we are about to try to
  9997. package a relay cell on a circuit with a nonexistent n_chan.
  9998. Attempt to diagnose ticket 8185.
  9999. - Improve info-level log identification of particular circuits, to
  10000. help with debugging. Closes ticket 23645.
  10001. o Minor features (relay):
  10002. - When choosing which circuits can be expired as unused, consider
  10003. circuits from clients even if those clients used regular CREATE
  10004. cells to make them; and do not consider circuits from relays even
  10005. if they were made with CREATE_FAST. Part of ticket 22805.
  10006. o Minor features (robustness):
  10007. - Change several fatal assertions when flushing buffers into non-
  10008. fatal assertions, to prevent any recurrence of 23690.
  10009. o Minor features (spec conformance, bridge, diagnostic):
  10010. - When handling the USERADDR command on an ExtOrPort, warn when the
  10011. transports provides a USERADDR with no port. In a future version,
  10012. USERADDR commands of this format may be rejected. Detects problems
  10013. related to ticket 23080.
  10014. o Minor features (testing):
  10015. - Add a unit test to make sure that our own generated platform
  10016. string will be accepted by directory authorities. Closes
  10017. ticket 22109.
  10018. o Minor bugfixes (bootstrapping):
  10019. - When warning about state file clock skew, report the correct
  10020. direction for the detected skew. Fixes bug 23606; bugfix
  10021. on 0.2.8.1-alpha.
  10022. - Avoid an assertion failure when logging a state file clock skew
  10023. very early in bootstrapping. Fixes bug 23607; bugfix
  10024. on 0.3.2.1-alpha.
  10025. o Minor bugfixes (build, compilation):
  10026. - Fix a compilation warning when building with zstd support on
  10027. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  10028. and fixed by Andreas Stieger.
  10029. - When searching for OpenSSL, don't accept any OpenSSL library that
  10030. lacks TLSv1_1_method(): Tor doesn't build with those versions.
  10031. Additionally, look in /usr/local/opt/openssl, if it's present.
  10032. These changes together repair the default build on OSX systems
  10033. with Homebrew installed. Fixes bug 23602; bugfix on 0.2.7.2-alpha.
  10034. o Minor bugfixes (compression):
  10035. - Handle a pathological case when decompressing Zstandard data when
  10036. the output buffer size is zero. Fixes bug 23551; bugfix
  10037. on 0.3.1.1-alpha.
  10038. o Minor bugfixes (documentation):
  10039. - Fix manpage to not refer to the obsolete (and misspelled)
  10040. UseEntryGuardsAsDirectoryGuards parameter in the description of
  10041. NumDirectoryGuards. Fixes bug 23611; bugfix on 0.2.4.8-alpha.
  10042. o Minor bugfixes (hidden service v3):
  10043. - Don't log an assertion failure when we can't find the right
  10044. information to extend to an introduction point. In rare cases,
  10045. this could happen, causing a warning, even though tor would
  10046. recover gracefully. Fixes bug 23159; bugfix on 0.3.2.1-alpha.
  10047. - Pad RENDEZVOUS cell up to the size of the legacy cell which is
  10048. much bigger so the rendezvous point can't distinguish which hidden
  10049. service protocol is being used. Fixes bug 23420; bugfix
  10050. on 0.3.2.1-alpha.
  10051. o Minor bugfixes (hidden service, relay):
  10052. - Avoid a possible double close of a circuit by the intro point on
  10053. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  10054. bugfix on 0.3.0.1-alpha.
  10055. o Minor bugfixes (logging, relay shutdown, annoyance):
  10056. - When a circuit is marked for close, do not attempt to package any
  10057. cells for channels on that circuit. Previously, we would detect
  10058. this condition lower in the call stack, when we noticed that the
  10059. circuit had no attached channel, and log an annoying message.
  10060. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  10061. o Minor bugfixes (scheduler):
  10062. - When switching schedulers due to a consensus change, we didn't
  10063. give the new scheduler a chance to react to the consensus. Fix
  10064. that. Fixes bug 23537; bugfix on 0.3.2.1-alpha.
  10065. - Make the KISTSchedRunInterval option a non negative value. With
  10066. this, the way to disable KIST through the consensus is to set it
  10067. to 0. Fixes bug 23539; bugfix on 0.3.2.1-alpha.
  10068. - Only notice log the selected scheduler when we switch scheduler
  10069. types. Fixes bug 23552; bugfix on 0.3.2.1-alpha.
  10070. - Avoid a compilation warning on macOS in scheduler_ev_add() caused
  10071. by a different tv_usec data type. Fixes bug 23575; bugfix
  10072. on 0.3.2.1-alpha.
  10073. - Make a hard exit if tor is unable to pick a scheduler which can
  10074. happen if the user specifies a scheduler type that is not
  10075. supported and not other types in Schedulers. Fixes bug 23581;
  10076. bugfix on 0.3.2.1-alpha.
  10077. - Properly initialize the scheduler last run time counter so it is
  10078. not 0 at the first tick. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  10079. o Minor bugfixes (testing):
  10080. - Capture and detect several "Result does not fit" warnings in unit
  10081. tests on platforms with 32-bit time_t. Fixes bug 21800; bugfix
  10082. on 0.2.9.3-alpha.
  10083. - Fix additional channelpadding unit test failures by using mocked
  10084. time instead of actual time for all tests. Fixes bug 23608; bugfix
  10085. on 0.3.1.1-alpha.
  10086. - The removal of some old scheduler options caused some tests to
  10087. fail on BSD systems. Assume current behavior is correct and make
  10088. the tests pass again. Fixes bug 23566; bugfix on 0.3.2.1-alpha.
  10089. o Code simplification and refactoring:
  10090. - Remove various ways of testing circuits and connections for
  10091. "clientness"; instead, favor channel_is_client(). Part of
  10092. ticket 22805.
  10093. o Deprecated features:
  10094. - The ReachableDirAddresses and ClientPreferIPv6DirPort options are
  10095. now deprecated; they do not apply to relays, and they have had no
  10096. effect on clients since 0.2.8.x. Closes ticket 19704.
  10097. o Documentation:
  10098. - HiddenServiceVersion man page entry wasn't mentioning the now
  10099. supported version 3. Fixes ticket 23580; bugfix on 0.3.2.1-alpha.
  10100. - Clarify that the Address option is entirely about setting an
  10101. advertised IPv4 address. Closes ticket 18891.
  10102. - Clarify the manpage's use of the term "address" to clarify what
  10103. kind of address is intended. Closes ticket 21405.
  10104. - Document that onion service subdomains are allowed, and ignored.
  10105. Closes ticket 18736.
  10106. Changes in version 0.3.2.1-alpha - 2017-09-18
  10107. Tor 0.3.2.1-alpha is the first release in the 0.3.2.x series. It
  10108. includes support for our next-generation ("v3") onion service
  10109. protocol, and adds a new circuit scheduler for more responsive
  10110. forwarding decisions from relays. There are also numerous other small
  10111. features and bugfixes here.
  10112. Below are the changes since Tor 0.3.1.7.
  10113. o Major feature (scheduler, channel):
  10114. - Tor now uses new schedulers to decide which circuits should
  10115. deliver cells first, in order to improve congestion at relays. The
  10116. first type is called "KIST" ("Kernel Informed Socket Transport"),
  10117. and is only available on Linux-like systems: it uses feedback from
  10118. the kernel to prevent the kernel's TCP buffers from growing too
  10119. full. The second new scheduler type is called "KISTLite": it
  10120. behaves the same as KIST, but runs on systems without kernel
  10121. support for inspecting TCP implementation details. The old
  10122. scheduler is still available, under the name "Vanilla". To change
  10123. the default scheduler preference order, use the new "Schedulers"
  10124. option. (The default preference order is "KIST,KISTLite,Vanilla".)
  10125. Matt Traudt implemented KIST, based on research by Rob Jansen,
  10126. John Geddes, Christ Wacek, Micah Sherr, and Paul Syverson. For
  10127. more information, see the design paper at
  10128. http://www.robgjansen.com/publications/kist-sec2014.pdf and the
  10129. followup implementation paper at https://arxiv.org/abs/1709.01044.
  10130. Closes ticket 12541.
  10131. o Major features (next-generation onion services):
  10132. - Tor now supports the next-generation onion services protocol for
  10133. clients and services! As part of this release, the core of
  10134. proposal 224 has been implemented and is available for
  10135. experimentation and testing by our users. This newer version of
  10136. onion services ("v3") features many improvements over the legacy
  10137. system, including:
  10138. a) Better crypto (replaced SHA1/DH/RSA1024
  10139. with SHA3/ed25519/curve25519)
  10140. b) Improved directory protocol, leaking much less information to
  10141. directory servers.
  10142. c) Improved directory protocol, with smaller surface for
  10143. targeted attacks.
  10144. d) Better onion address security against impersonation.
  10145. e) More extensible introduction/rendezvous protocol.
  10146. f) A cleaner and more modular codebase.
  10147. You can identify a next-generation onion address by its length:
  10148. they are 56 characters long, as in
  10149. "4acth47i6kxnvkewtm6q7ib2s3ufpo5sqbsnzjpbi7utijcltosqemad.onion".
  10150. In the future, we will release more options and features for v3
  10151. onion services, but we first need a testing period, so that the
  10152. current codebase matures and becomes more robust. Planned features
  10153. include: offline keys, advanced client authorization, improved
  10154. guard algorithms, and statistics. For full details, see
  10155. proposal 224.
  10156. Legacy ("v2") onion services will still work for the foreseeable
  10157. future, and will remain the default until this new codebase gets
  10158. tested and hardened. Service operators who want to experiment with
  10159. the new system can use the 'HiddenServiceVersion 3' torrc
  10160. directive along with the regular onion service configuration
  10161. options. We will publish a blog post about this new feature
  10162. soon! Enjoy!
  10163. o Major bugfixes (usability, control port):
  10164. - Report trusted clock skew indications as bootstrap errors, so
  10165. controllers can more easily alert users when their clocks are
  10166. wrong. Fixes bug 23506; bugfix on 0.1.2.6-alpha.
  10167. o Minor features (bug detection):
  10168. - Log a warning message with a stack trace for any attempt to call
  10169. get_options() during option validation. This pattern has caused
  10170. subtle bugs in the past. Closes ticket 22281.
  10171. o Minor features (client):
  10172. - You can now use Tor as a tunneled HTTP proxy: use the new
  10173. HTTPTunnelPort option to open a port that accepts HTTP CONNECT
  10174. requests. Closes ticket 22407.
  10175. - Add an extra check to make sure that we always use the newer guard
  10176. selection code for picking our guards. Closes ticket 22779.
  10177. - When downloading (micro)descriptors, don't split the list into
  10178. multiple requests unless we want at least 32 descriptors.
  10179. Previously, we split at 4, not 32, which led to significant
  10180. overhead in HTTP request size and degradation in compression
  10181. performance. Closes ticket 23220.
  10182. o Minor features (command line):
  10183. - Add a new commandline option, --key-expiration, which prints when
  10184. the current signing key is going to expire. Implements ticket
  10185. 17639; patch by Isis Lovecruft.
  10186. o Minor features (control port):
  10187. - If an application tries to use the control port as an HTTP proxy,
  10188. respond with a meaningful "This is the Tor control port" message,
  10189. and log the event. Closes ticket 1667. Patch from Ravi
  10190. Chandra Padmala.
  10191. - Provide better error message for GETINFO desc/(id|name) when not
  10192. fetching router descriptors. Closes ticket 5847. Patch by
  10193. Kevin Butler.
  10194. - Add GETINFO "{desc,md}/download-enabled", to inform the controller
  10195. whether Tor will try to download router descriptors and
  10196. microdescriptors respectively. Closes ticket 22684.
  10197. - Added new GETINFO targets "ip-to-country/{ipv4,ipv6}-available",
  10198. so controllers can tell whether the geoip databases are loaded.
  10199. Closes ticket 23237.
  10200. - Adds a timestamp field to the CIRC_BW and STREAM_BW bandwidth
  10201. events. Closes ticket 19254. Patch by "DonnchaC".
  10202. o Minor features (development support):
  10203. - Developers can now generate a call-graph for Tor using the
  10204. "calltool" python program, which post-processes object dumps. It
  10205. should work okay on many Linux and OSX platforms, and might work
  10206. elsewhere too. To run it, install calltool from
  10207. https://gitweb.torproject.org/user/nickm/calltool.git and run
  10208. "make callgraph". Closes ticket 19307.
  10209. o Minor features (ed25519):
  10210. - Add validation function to checks for torsion components in
  10211. ed25519 public keys, used by prop224 client-side code. Closes
  10212. ticket 22006. Math help by Ian Goldberg.
  10213. o Minor features (exit relay, DNS):
  10214. - Improve the clarity and safety of the log message from evdns when
  10215. receiving an apparently spoofed DNS reply. Closes ticket 3056.
  10216. o Minor features (integration, hardening):
  10217. - Add a new NoExec option to prevent Tor from running other
  10218. programs. When this option is set to 1, Tor will never try to run
  10219. another program, regardless of the settings of
  10220. PortForwardingHelper, ClientTransportPlugin, or
  10221. ServerTransportPlugin. Once NoExec is set, it cannot be disabled
  10222. without restarting Tor. Closes ticket 22976.
  10223. o Minor features (logging):
  10224. - Improve the warning message for specifying a relay by nickname.
  10225. The previous message implied that nickname registration was still
  10226. part of the Tor network design, which it isn't. Closes
  10227. ticket 20488.
  10228. - If the sandbox filter fails to load, suggest to the user that
  10229. their kernel might not support seccomp2. Closes ticket 23090.
  10230. o Minor features (portability):
  10231. - Check at configure time whether uint8_t is the same type as
  10232. unsigned char. Lots of existing code already makes this
  10233. assumption, and there could be strict aliasing issues if the
  10234. assumption is violated. Closes ticket 22410.
  10235. o Minor features (relay, configuration):
  10236. - Reject attempts to use relative file paths when RunAsDaemon is
  10237. set. Previously, Tor would accept these, but the directory-
  10238. changing step of RunAsDaemon would give strange and/or confusing
  10239. results. Closes ticket 22731.
  10240. o Minor features (startup, safety):
  10241. - When configured to write a PID file, Tor now exits if it is unable
  10242. to do so. Previously, it would warn and continue. Closes
  10243. ticket 20119.
  10244. o Minor features (static analysis):
  10245. - The BUG() macro has been changed slightly so that Coverity no
  10246. longer complains about dead code if the bug is impossible. Closes
  10247. ticket 23054.
  10248. o Minor features (testing):
  10249. - The default chutney network tests now include tests for the v3
  10250. hidden service design. Make sure you have the latest version of
  10251. chutney if you want to run these. Closes ticket 22437.
  10252. - Add a unit test to verify that we can parse a hardcoded v2 hidden
  10253. service descriptor. Closes ticket 15554.
  10254. o Minor bugfixes (certificate handling):
  10255. - Fix a time handling bug in Tor certificates set to expire after
  10256. the year 2106. Fixes bug 23055; bugfix on 0.3.0.1-alpha. Found by
  10257. Coverity as CID 1415728.
  10258. o Minor bugfixes (client, usability):
  10259. - Refrain from needlessly rejecting SOCKS5-with-hostnames and
  10260. SOCKS4a requests that contain IP address strings, even when
  10261. SafeSocks in enabled, as this prevents user from connecting to
  10262. known IP addresses without relying on DNS for resolving. SafeSocks
  10263. still rejects SOCKS connections that connect to IP addresses when
  10264. those addresses are _not_ encoded as hostnames. Fixes bug 22461;
  10265. bugfix on Tor 0.2.6.2-alpha.
  10266. o Minor bugfixes (code correctness):
  10267. - Call htons() in extend_cell_format() for encoding a 16-bit value.
  10268. Previously we used ntohs(), which happens to behave the same on
  10269. all the platforms we support, but which isn't really correct.
  10270. Fixes bug 23106; bugfix on 0.2.4.8-alpha.
  10271. - For defense-in-depth, make the controller's write_escaped_data()
  10272. function robust to extremely long inputs. Fixes bug 19281; bugfix
  10273. on 0.1.1.1-alpha. Reported by Guido Vranken.
  10274. o Minor bugfixes (compilation):
  10275. - Fix unused-variable warnings in donna's Curve25519 SSE2 code.
  10276. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  10277. o Minor bugfixes (consensus expiry):
  10278. - Check for adequate directory information correctly. Previously, Tor
  10279. would reconsider whether it had sufficient directory information
  10280. every 2 minutes. Fixes bug 23091; bugfix on 0.2.0.19-alpha.
  10281. o Minor bugfixes (directory protocol):
  10282. - Directory servers now include a "Date:" http header for response
  10283. codes other than 200. Clients starting with a skewed clock and a
  10284. recent consensus were getting "304 Not modified" responses from
  10285. directory authorities, so without the Date header, the client
  10286. would never hear about a wrong clock. Fixes bug 23499; bugfix
  10287. on 0.0.8rc1.
  10288. - Make clients wait for 6 seconds before trying to download a
  10289. consensus from an authority. Fixes bug 17750; bugfix
  10290. on 0.2.8.1-alpha.
  10291. o Minor bugfixes (DoS-resistance):
  10292. - If future code asks if there are any running bridges, without
  10293. checking if bridges are enabled, log a BUG warning rather than
  10294. crashing. Fixes bug 23524; bugfix on 0.3.0.1-alpha.
  10295. o Minor bugfixes (format strictness):
  10296. - Restrict several data formats to decimal. Previously, the
  10297. BuildTimeHistogram entries in the state file, the "bw=" entries in
  10298. the bandwidth authority file, and the process IDs passed to the
  10299. __OwningControllerProcess option could all be specified in hex or
  10300. octal as well as in decimal. This was not an intentional feature.
  10301. Fixes bug 22802; bugfixes on 0.2.2.1-alpha, 0.2.2.2-alpha,
  10302. and 0.2.2.28-beta.
  10303. o Minor bugfixes (heartbeat):
  10304. - If we fail to write a heartbeat message, schedule a retry for the
  10305. minimum heartbeat interval number of seconds in the future. Fixes
  10306. bug 19476; bugfix on 0.2.3.1-alpha.
  10307. o Minor bugfixes (linux seccomp2 sandbox, logging):
  10308. - Fix some messages on unexpected errors from the seccomp2 library.
  10309. Fixes bug 22750; bugfix on 0.2.5.1-alpha. Patch from "cypherpunks".
  10310. o Minor bugfixes (logging):
  10311. - Remove duplicate log messages regarding opening non-local
  10312. SocksPorts upon parsing config and opening listeners at startup.
  10313. Fixes bug 4019; bugfix on 0.2.3.3-alpha.
  10314. - Use a more comprehensible log message when telling the user
  10315. they've excluded every running exit node. Fixes bug 7890; bugfix
  10316. on 0.2.2.25-alpha.
  10317. - When logging the number of descriptors we intend to download per
  10318. directory request, do not log a number higher than then the number
  10319. of descriptors we're fetching in total. Fixes bug 19648; bugfix
  10320. on 0.1.1.8-alpha.
  10321. - When warning about a directory owned by the wrong user, log the
  10322. actual name of the user owning the directory. Previously, we'd log
  10323. the name of the process owner twice. Fixes bug 23487; bugfix
  10324. on 0.2.9.1-alpha.
  10325. - The tor specification says hop counts are 1-based, so fix two log
  10326. messages that mistakenly logged 0-based hop counts. Fixes bug
  10327. 18982; bugfix on 0.2.6.2-alpha and 0.2.4.5-alpha. Patch by teor.
  10328. Credit to Xiaofan Li for reporting this issue.
  10329. o Minor bugfixes (portability):
  10330. - Stop using the PATH_MAX variable, which is not defined on GNU
  10331. Hurd. Fixes bug 23098; bugfix on 0.3.1.1-alpha.
  10332. o Minor bugfixes (relay):
  10333. - When uploading our descriptor for the first time after startup,
  10334. report the reason for uploading as "Tor just started" rather than
  10335. leaving it blank. Fixes bug 22885; bugfix on 0.2.3.4-alpha.
  10336. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  10337. relays, to prevent spurious address resolutions and descriptor
  10338. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  10339. bugfix on in 0.2.8.1-alpha.
  10340. o Minor bugfixes (tests):
  10341. - Fix a broken unit test for the OutboundAddress option: the parsing
  10342. function was never returning an error on failure. Fixes bug 23366;
  10343. bugfix on 0.3.0.3-alpha.
  10344. - Fix a signed-integer overflow in the unit tests for
  10345. dir/download_status_random_backoff, which was untriggered until we
  10346. fixed bug 17750. Fixes bug 22924; bugfix on 0.2.9.1-alpha.
  10347. o Minor bugfixes (usability, control port):
  10348. - Stop making an unnecessary routerlist check in NETINFO clock skew
  10349. detection; this was preventing clients from reporting NETINFO clock
  10350. skew to controllers. Fixes bug 23532; bugfix on 0.2.4.4-alpha.
  10351. o Code simplification and refactoring:
  10352. - Extract the code for handling newly-open channels into a separate
  10353. function from the general code to handle channel state
  10354. transitions. This change simplifies our callgraph, reducing the
  10355. size of the largest strongly connected component by roughly a
  10356. factor of two. Closes ticket 22608.
  10357. - Remove dead code for largely unused statistics on the number of
  10358. times we've attempted various public key operations. Fixes bug
  10359. 19871; bugfix on 0.1.2.4-alpha. Fix by Isis Lovecruft.
  10360. - Remove several now-obsolete functions for asking about old
  10361. variants directory authority status. Closes ticket 22311; patch
  10362. from "huyvq".
  10363. - Remove some of the code that once supported "Named" and "Unnamed"
  10364. routers. Authorities no longer vote for these flags. Closes
  10365. ticket 22215.
  10366. - Rename the obsolete malleable hybrid_encrypt functions used in TAP
  10367. and old hidden services, to indicate that they aren't suitable for
  10368. new protocols or formats. Closes ticket 23026.
  10369. - Replace our STRUCT_OFFSET() macro with offsetof(). Closes ticket
  10370. 22521. Patch from Neel Chauhan.
  10371. - Split the enormous circuit_send_next_onion_skin() function into
  10372. multiple subfunctions. Closes ticket 22804.
  10373. - Split the portions of the buffer.c module that handle particular
  10374. protocols into separate modules. Part of ticket 23149.
  10375. - Use our test macros more consistently, to produce more useful
  10376. error messages when our unit tests fail. Add coccinelle patches to
  10377. allow us to re-check for test macro uses. Closes ticket 22497.
  10378. o Deprecated features:
  10379. - Deprecate HTTPProxy/HTTPProxyAuthenticator config options. They
  10380. only applies to direct unencrypted HTTP connections to your
  10381. directory server, which your Tor probably isn't using. Closes
  10382. ticket 20575.
  10383. o Documentation:
  10384. - Clarify in the manual that "Sandbox 1" is only supported on Linux
  10385. kernels. Closes ticket 22677.
  10386. - Document all values of PublishServerDescriptor in the manpage.
  10387. Closes ticket 15645.
  10388. - Improve the documentation for the directory port part of the
  10389. DirAuthority line. Closes ticket 20152.
  10390. - Restore documentation for the authorities' "approved-routers"
  10391. file. Closes ticket 21148.
  10392. o Removed features:
  10393. - The AllowDotExit option has been removed as unsafe. It has been
  10394. deprecated since 0.2.9.2-alpha. Closes ticket 23426.
  10395. - The ClientDNSRejectInternalAddresses flag can no longer be set on
  10396. non-testing networks. It has been deprecated since 0.2.9.2-alpha.
  10397. Closes ticket 21031.
  10398. - The controller API no longer includes an AUTHDIR_NEWDESCS event:
  10399. nobody was using it any longer. Closes ticket 22377.
  10400. Changes in version 0.2.8.15 - 2017-09-18
  10401. Tor 0.2.8.15 backports a collection of bugfixes from later
  10402. Tor series.
  10403. Most significantly, it includes a fix for TROVE-2017-008, a
  10404. security bug that affects hidden services running with the
  10405. SafeLogging option disabled. For more information, see
  10406. https://trac.torproject.org/projects/tor/ticket/23490
  10407. Note that Tor 0.2.8.x will no longer be supported after 1 Jan
  10408. 2018. We suggest that you upgrade to the latest stable release if
  10409. possible. If you can't, we recommend that you upgrade at least to
  10410. 0.2.9, which will be supported until 2020.
  10411. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  10412. - Avoid an assertion failure bug affecting our implementation of
  10413. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  10414. handling of "0xx" differs from what we had expected. Fixes bug
  10415. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  10416. o Minor features:
  10417. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  10418. Country database.
  10419. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  10420. - Backport a fix for an "unused variable" warning that appeared
  10421. in some versions of mingw. Fixes bug 22838; bugfix on
  10422. 0.2.8.1-alpha.
  10423. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  10424. - Fix a memset() off the end of an array when packing cells. This
  10425. bug should be harmless in practice, since the corrupted bytes are
  10426. still in the same structure, and are always padding bytes,
  10427. ignored, or immediately overwritten, depending on compiler
  10428. behavior. Nevertheless, because the memset()'s purpose is to make
  10429. sure that any other cell-handling bugs can't expose bytes to the
  10430. network, we need to fix it. Fixes bug 22737; bugfix on
  10431. 0.2.4.11-alpha. Fixes CID 1401591.
  10432. o Build features (backport from 0.3.1.5-alpha):
  10433. - Tor's repository now includes a Travis Continuous Integration (CI)
  10434. configuration file (.travis.yml). This is meant to help new
  10435. developers and contributors who fork Tor to a Github repository be
  10436. better able to test their changes, and understand what we expect
  10437. to pass. To use this new build feature, you must fork Tor to your
  10438. Github account, then go into the "Integrations" menu in the
  10439. repository settings for your fork and enable Travis, then push
  10440. your changes. Closes ticket 22636.
  10441. Changes in version 0.2.9.12 - 2017-09-18
  10442. Tor 0.2.9.12 backports a collection of bugfixes from later
  10443. Tor series.
  10444. Most significantly, it includes a fix for TROVE-2017-008, a
  10445. security bug that affects hidden services running with the
  10446. SafeLogging option disabled. For more information, see
  10447. https://trac.torproject.org/projects/tor/ticket/23490
  10448. o Major features (security, backport from 0.3.0.2-alpha):
  10449. - Change the algorithm used to decide DNS TTLs on client and server
  10450. side, to better resist DNS-based correlation attacks like the
  10451. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  10452. Feamster. Now relays only return one of two possible DNS TTL
  10453. values, and clients are willing to believe DNS TTL values up to 3
  10454. hours long. Closes ticket 19769.
  10455. o Major bugfixes (crash, directory connections, backport from 0.3.0.5-rc):
  10456. - Fix a rare crash when sending a begin cell on a circuit whose
  10457. linked directory connection had already been closed. Fixes bug
  10458. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  10459. o Major bugfixes (DNS, backport from 0.3.0.2-alpha):
  10460. - Fix a bug that prevented exit nodes from caching DNS records for
  10461. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  10462. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  10463. - Fix a typo that had prevented TPROXY-based transparent proxying
  10464. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  10465. Patch from "d4fq0fQAgoJ".
  10466. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  10467. - Avoid an assertion failure bug affecting our implementation of
  10468. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  10469. handling of "0xx" differs from what we had expected. Fixes bug
  10470. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  10471. o Minor features (code style, backport from 0.3.1.3-alpha):
  10472. - Add "Falls through" comments to our codebase, in order to silence
  10473. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  10474. Stieger. Closes ticket 22446.
  10475. o Minor features (geoip):
  10476. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  10477. Country database.
  10478. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.1-alpha):
  10479. - Roll over monthly accounting at the configured hour and minute,
  10480. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  10481. Found by Andrey Karpov with PVS-Studio.
  10482. o Minor bugfixes (compilation, backport from 0.3.1.5-alpha):
  10483. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  10484. bugfix on 0.2.8.1-alpha.
  10485. - Fix warnings when building with libscrypt and openssl scrypt support
  10486. on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  10487. - When building with certain versions the mingw C header files, avoid
  10488. float-conversion warnings when calling the C functions isfinite(),
  10489. isnan(), and signbit(). Fixes bug 22801; bugfix on 0.2.8.1-alpha.
  10490. o Minor bugfixes (compilation, backport from 0.3.1.7):
  10491. - Avoid compiler warnings in the unit tests for running tor_sscanf()
  10492. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  10493. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  10494. - Backport a fix for an "unused variable" warning that appeared
  10495. in some versions of mingw. Fixes bug 22838; bugfix on
  10496. 0.2.8.1-alpha.
  10497. o Minor bugfixes (controller, backport from 0.3.1.7):
  10498. - Do not crash when receiving a HSPOST command with an empty body.
  10499. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  10500. - Do not crash when receiving a POSTDESCRIPTOR command with an
  10501. empty body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  10502. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  10503. - Avoid Coverity build warnings related to our BUG() macro. By
  10504. default, Coverity treats BUG() as the Linux kernel does: an
  10505. instant abort(). We need to override that so our BUG() macro
  10506. doesn't prevent Coverity from analyzing functions that use it.
  10507. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  10508. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  10509. - Fix a memset() off the end of an array when packing cells. This
  10510. bug should be harmless in practice, since the corrupted bytes are
  10511. still in the same structure, and are always padding bytes,
  10512. ignored, or immediately overwritten, depending on compiler
  10513. behavior. Nevertheless, because the memset()'s purpose is to make
  10514. sure that any other cell-handling bugs can't expose bytes to the
  10515. network, we need to fix it. Fixes bug 22737; bugfix on
  10516. 0.2.4.11-alpha. Fixes CID 1401591.
  10517. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  10518. - When setting the maximum number of connections allowed by the OS,
  10519. always allow some extra file descriptors for other files. Fixes
  10520. bug 22797; bugfix on 0.2.0.10-alpha.
  10521. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  10522. - Avoid a sandbox failure when trying to re-bind to a socket and
  10523. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  10524. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  10525. - Permit the fchmod system call, to avoid crashing on startup when
  10526. starting with the seccomp2 sandbox and an unexpected set of
  10527. permissions on the data directory or its contents. Fixes bug
  10528. 22516; bugfix on 0.2.5.4-alpha.
  10529. o Minor bugfixes (relay, backport from 0.3.0.5-rc):
  10530. - Avoid a double-marked-circuit warning that could happen when we
  10531. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  10532. on 0.1.0.1-rc.
  10533. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  10534. - Reject version numbers with non-numeric prefixes (such as +, -, or
  10535. whitespace). Disallowing whitespace prevents differential version
  10536. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  10537. and part of 21508; bugfix on 0.0.8pre1.
  10538. o Build features (backport from 0.3.1.5-alpha):
  10539. - Tor's repository now includes a Travis Continuous Integration (CI)
  10540. configuration file (.travis.yml). This is meant to help new
  10541. developers and contributors who fork Tor to a Github repository be
  10542. better able to test their changes, and understand what we expect
  10543. to pass. To use this new build feature, you must fork Tor to your
  10544. Github account, then go into the "Integrations" menu in the
  10545. repository settings for your fork and enable Travis, then push
  10546. your changes. Closes ticket 22636.
  10547. Changes in version 0.3.0.11 - 2017-09-18
  10548. Tor 0.3.0.11 backports a collection of bugfixes from Tor the 0.3.1
  10549. series.
  10550. Most significantly, it includes a fix for TROVE-2017-008, a
  10551. security bug that affects hidden services running with the
  10552. SafeLogging option disabled. For more information, see
  10553. https://trac.torproject.org/projects/tor/ticket/23490
  10554. o Minor features (code style, backport from 0.3.1.7):
  10555. - Add "Falls through" comments to our codebase, in order to silence
  10556. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  10557. Stieger. Closes ticket 22446.
  10558. o Minor features:
  10559. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  10560. Country database.
  10561. o Minor bugfixes (compilation, backport from 0.3.1.7):
  10562. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  10563. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  10564. o Minor bugfixes (controller, backport from 0.3.1.7):
  10565. - Do not crash when receiving a HSPOST command with an empty body.
  10566. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  10567. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  10568. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  10569. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  10570. - When setting the maximum number of connections allowed by the OS,
  10571. always allow some extra file descriptors for other files. Fixes
  10572. bug 22797; bugfix on 0.2.0.10-alpha.
  10573. o Minor bugfixes (logging, relay, backport from 0.3.1.6-rc):
  10574. - Remove a forgotten debugging message when an introduction point
  10575. successfully establishes a hidden service prop224 circuit with
  10576. a client.
  10577. - Change three other log_warn() for an introduction point to
  10578. protocol warnings, because they can be failure from the network
  10579. and are not relevant to the operator. Fixes bug 23078; bugfix on
  10580. 0.3.0.1-alpha and 0.3.0.2-alpha.
  10581. Changes in version 0.3.1.7 - 2017-09-18
  10582. Tor 0.3.1.7 is the first stable release in the 0.3.1 series.
  10583. With the 0.3.1 series, Tor now serves and downloads directory
  10584. information in more compact formats, to save on bandwidth overhead. It
  10585. also contains a new padding system to resist netflow-based traffic
  10586. analysis, and experimental support for building parts of Tor in Rust
  10587. (though no parts of Tor are in Rust yet). There are also numerous
  10588. small features, bugfixes on earlier release series, and groundwork for
  10589. the hidden services revamp of 0.3.2.
  10590. This release also includes a fix for TROVE-2017-008, a security bug
  10591. that affects hidden services running with the SafeLogging option
  10592. disabled. For more information, see
  10593. https://trac.torproject.org/projects/tor/ticket/23490
  10594. Per our stable release policy, we plan to support each stable release
  10595. series for at least the next nine months, or for three months after
  10596. the first stable release of the next series: whichever is longer. If
  10597. you need a release with long-term support, we recommend that you stay
  10598. with the 0.2.9 series.
  10599. Below is a list of the changes since 0.3.1.6-rc. For a list of all
  10600. changes since 0.3.0, see the ReleaseNotes file.
  10601. o Major bugfixes (security, hidden services, loggging):
  10602. - Fix a bug where we could log uninitialized stack when a certain
  10603. hidden service error occurred while SafeLogging was disabled.
  10604. Fixes bug #23490; bugfix on 0.2.7.2-alpha. This is also tracked as
  10605. TROVE-2017-008 and CVE-2017-0380.
  10606. o Minor features (defensive programming):
  10607. - Create a pair of consensus parameters, nf_pad_tor2web and
  10608. nf_pad_single_onion, to disable netflow padding in the consensus
  10609. for non-anonymous connections in case the overhead is high. Closes
  10610. ticket 17857.
  10611. o Minor features (diagnostic):
  10612. - Add a stack trace to the bug warnings that can be logged when
  10613. trying to send an outgoing relay cell with n_chan == 0. Diagnostic
  10614. attempt for bug 23105.
  10615. o Minor features (geoip):
  10616. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  10617. Country database.
  10618. o Minor bugfixes (compilation):
  10619. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  10620. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  10621. o Minor bugfixes (controller):
  10622. - Do not crash when receiving a HSPOST command with an empty body.
  10623. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  10624. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  10625. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  10626. o Minor bugfixes (relay):
  10627. - Inform the geoip and rephist modules about all requests, even on
  10628. relays that are only fetching microdescriptors. Fixes a bug
  10629. related to 21585; bugfix on 0.3.0.1-alpha.
  10630. o Minor bugfixes (unit tests):
  10631. - Fix a channelpadding unit test failure on slow systems by using
  10632. mocked time instead of actual time. Fixes bug 23077; bugfix
  10633. on 0.3.1.1-alpha.
  10634. Changes in version 0.3.1.6-rc - 2017-09-05
  10635. Tor 0.3.1.6-rc fixes a few small bugs and annoyances in the 0.3.1
  10636. release series, including a bug that produced weird behavior on
  10637. Windows directory caches.
  10638. This is the first release candidate in the Tor 0.3.1 series. If we
  10639. find no new bugs or regressions here, the first stable 0.3.1 release
  10640. will be nearly identical to it.
  10641. o Major bugfixes (windows, directory cache):
  10642. - On Windows, do not try to delete cached consensus documents and
  10643. diffs before they are unmapped from memory--Windows won't allow
  10644. that. Instead, allow the consensus cache directory to grow larger,
  10645. to hold files that might need to stay around longer. Fixes bug
  10646. 22752; bugfix on 0.3.1.1-alpha.
  10647. o Minor features (directory authority):
  10648. - Improve the message that authorities report to relays that present
  10649. RSA/Ed25519 keypairs that conflict with previously pinned keys.
  10650. Closes ticket 22348.
  10651. o Minor features (geoip):
  10652. - Update geoip and geoip6 to the August 3 2017 Maxmind GeoLite2
  10653. Country database.
  10654. o Minor features (testing):
  10655. - Add more tests for compression backend initialization. Closes
  10656. ticket 22286.
  10657. o Minor bugfixes (directory cache):
  10658. - Fix a memory leak when recovering space in the consensus cache.
  10659. Fixes bug 23139; bugfix on 0.3.1.1-alpha.
  10660. o Minor bugfixes (hidden service):
  10661. - Increase the number of circuits that a service is allowed to
  10662. open over a specific period of time. The value was lower than it
  10663. should be (8 vs 12) in the normal case of 3 introduction points.
  10664. Fixes bug 22159; bugfix on 0.3.0.5-rc.
  10665. - Fix a BUG warning during HSv3 descriptor decoding that could be
  10666. cause by a specially crafted descriptor. Fixes bug 23233; bugfix
  10667. on 0.3.0.1-alpha. Bug found by "haxxpop".
  10668. - Rate-limit the log messages if we exceed the maximum number of
  10669. allowed intro circuits. Fixes bug 22159; bugfix on 0.3.1.1-alpha.
  10670. o Minor bugfixes (logging, relay):
  10671. - Remove a forgotten debugging message when an introduction point
  10672. successfully establishes a hidden service prop224 circuit with
  10673. a client.
  10674. - Change three other log_warn() for an introduction point to
  10675. protocol warnings, because they can be failure from the network
  10676. and are not relevant to the operator. Fixes bug 23078; bugfix on
  10677. 0.3.0.1-alpha and 0.3.0.2-alpha.
  10678. o Minor bugfixes (relay):
  10679. - When a relay is not running as a directory cache, it will no
  10680. longer generate compressed consensuses and consensus diff
  10681. information. Previously, this was a waste of disk and CPU. Fixes
  10682. bug 23275; bugfix on 0.3.1.1-alpha.
  10683. o Minor bugfixes (robustness, error handling):
  10684. - Improve our handling of the cases where OpenSSL encounters a
  10685. memory error while encoding keys and certificates. We haven't
  10686. observed these errors in the wild, but if they do happen, we now
  10687. detect and respond better. Fixes bug 19418; bugfix on all versions
  10688. of Tor. Reported by Guido Vranken.
  10689. o Minor bugfixes (stability):
  10690. - Avoid crashing on a double-free when unable to load or process an
  10691. included file. Fixes bug 23155; bugfix on 0.3.1.1-alpha. Found
  10692. with the clang static analyzer.
  10693. o Minor bugfixes (testing):
  10694. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  10695. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  10696. - Port the hs_ntor handshake test to work correctly with recent
  10697. versions of the pysha3 module. Fixes bug 23071; bugfix
  10698. on 0.3.1.1-alpha.
  10699. o Minor bugfixes (Windows service):
  10700. - When running as a Windows service, set the ID of the main thread
  10701. correctly. Failure to do so made us fail to send log messages to
  10702. the controller in 0.2.1.16-rc, slowed down controller event
  10703. delivery in 0.2.7.3-rc and later, and crash with an assertion
  10704. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  10705. Patch and diagnosis from "Vort".
  10706. Changes in version 0.3.0.10 - 2017-08-02
  10707. Tor 0.3.0.10 backports a collection of small-to-medium bugfixes
  10708. from the current Tor alpha series. OpenBSD users and TPROXY users
  10709. should upgrade; others are probably okay sticking with 0.3.0.9.
  10710. o Major features (build system, continuous integration, backport from 0.3.1.5-alpha):
  10711. - Tor's repository now includes a Travis Continuous Integration (CI)
  10712. configuration file (.travis.yml). This is meant to help new
  10713. developers and contributors who fork Tor to a Github repository be
  10714. better able to test their changes, and understand what we expect
  10715. to pass. To use this new build feature, you must fork Tor to your
  10716. Github account, then go into the "Integrations" menu in the
  10717. repository settings for your fork and enable Travis, then push
  10718. your changes. Closes ticket 22636.
  10719. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  10720. - Fix a typo that had prevented TPROXY-based transparent proxying
  10721. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  10722. Patch from "d4fq0fQAgoJ".
  10723. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  10724. - Avoid an assertion failure bug affecting our implementation of
  10725. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  10726. handling of "0xbar" differs from what we had expected. Fixes bug
  10727. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  10728. o Minor features (backport from 0.3.1.5-alpha):
  10729. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  10730. Country database.
  10731. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.2-alpha):
  10732. - Roll over monthly accounting at the configured hour and minute,
  10733. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  10734. Found by Andrey Karpov with PVS-Studio.
  10735. o Minor bugfixes (compilation warnings, backport from 0.3.1.5-alpha):
  10736. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  10737. bugfix on 0.2.8.1-alpha.
  10738. - Fix warnings when building with libscrypt and openssl scrypt
  10739. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  10740. - When building with certain versions of the mingw C header files,
  10741. avoid float-conversion warnings when calling the C functions
  10742. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  10743. on 0.2.8.1-alpha.
  10744. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  10745. - Backport a fix for an "unused variable" warning that appeared
  10746. in some versions of mingw. Fixes bug 22838; bugfix on
  10747. 0.2.8.1-alpha.
  10748. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  10749. - Avoid Coverity build warnings related to our BUG() macro. By
  10750. default, Coverity treats BUG() as the Linux kernel does: an
  10751. instant abort(). We need to override that so our BUG() macro
  10752. doesn't prevent Coverity from analyzing functions that use it.
  10753. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  10754. o Minor bugfixes (directory authority, backport from 0.3.1.1-alpha):
  10755. - When rejecting a router descriptor for running an obsolete version
  10756. of Tor without ntor support, warn about the obsolete tor version,
  10757. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  10758. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  10759. - Avoid a sandbox failure when trying to re-bind to a socket and
  10760. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  10761. o Minor bugfixes (unit tests, backport from 0.3.1.5-alpha)
  10762. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  10763. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  10764. Changes in version 0.3.1.5-alpha - 2017-08-01
  10765. Tor 0.3.1.5-alpha improves the performance of consensus diff
  10766. calculation, fixes a crash bug on older versions of OpenBSD, and fixes
  10767. several other bugs. If no serious bugs are found in this version, the
  10768. next version will be a release candidate.
  10769. This release also marks the end of support for the Tor 0.2.4.x,
  10770. 0.2.6.x, and 0.2.7.x release series. Those releases will receive no
  10771. further bug or security fixes. Anyone still running or distributing
  10772. one of those versions should upgrade.
  10773. o Major features (build system, continuous integration):
  10774. - Tor's repository now includes a Travis Continuous Integration (CI)
  10775. configuration file (.travis.yml). This is meant to help new
  10776. developers and contributors who fork Tor to a Github repository be
  10777. better able to test their changes, and understand what we expect
  10778. to pass. To use this new build feature, you must fork Tor to your
  10779. Github account, then go into the "Integrations" menu in the
  10780. repository settings for your fork and enable Travis, then push
  10781. your changes. Closes ticket 22636.
  10782. o Major bugfixes (openbsd, denial-of-service):
  10783. - Avoid an assertion failure bug affecting our implementation of
  10784. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  10785. handling of "0xbar" differs from what we had expected. Fixes bug
  10786. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  10787. o Major bugfixes (relay, performance):
  10788. - Perform circuit handshake operations at a higher priority than we
  10789. use for consensus diff creation and compression. This should
  10790. prevent circuits from starving when a relay or bridge receives a
  10791. new consensus, especially on lower-powered machines. Fixes bug
  10792. 22883; bugfix on 0.3.1.1-alpha.
  10793. o Minor features (bridge authority):
  10794. - Add "fingerprint" lines to the networkstatus-bridges file produced
  10795. by bridge authorities. Closes ticket 22207.
  10796. o Minor features (directory cache, consensus diff):
  10797. - Add a new MaxConsensusAgeForDiffs option to allow directory cache
  10798. operators with low-resource environments to adjust the number of
  10799. consensuses they'll store and generate diffs from. Most cache
  10800. operators should leave it unchanged. Helps to work around
  10801. bug 22883.
  10802. o Minor features (geoip):
  10803. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  10804. Country database.
  10805. o Minor features (relay, performance):
  10806. - Always start relays with at least two worker threads, to prevent
  10807. priority inversion on slow tasks. Part of the fix for bug 22883.
  10808. - Allow background work to be queued with different priorities, so
  10809. that a big pile of slow low-priority jobs will not starve out
  10810. higher priority jobs. This lays the groundwork for a fix for
  10811. bug 22883.
  10812. o Minor bugfixes (build system, rust):
  10813. - Fix a problem where Rust toolchains were not being found when
  10814. building without --enable-cargo-online-mode, due to setting the
  10815. $HOME environment variable instead of $CARGO_HOME. Fixes bug
  10816. 22830; bugfix on 0.3.1.1-alpha. Fix by Chelsea Komlo.
  10817. o Minor bugfixes (compatibility, zstd):
  10818. - Write zstd epilogues correctly when the epilogue requires
  10819. reallocation of the output buffer, even with zstd 1.3.0.
  10820. (Previously, we worked on 1.2.0 and failed with 1.3.0). Fixes bug
  10821. 22927; bugfix on 0.3.1.1-alpha.
  10822. o Minor bugfixes (compilation warnings):
  10823. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug
  10824. 22915; bugfix on 0.2.8.1-alpha.
  10825. - Fix warnings when building with libscrypt and openssl scrypt
  10826. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  10827. - Compile correctly when both openssl 1.1.0 and libscrypt are
  10828. detected. Previously this would cause an error. Fixes bug 22892;
  10829. bugfix on 0.3.1.1-alpha.
  10830. - When building with certain versions of the mingw C header files,
  10831. avoid float-conversion warnings when calling the C functions
  10832. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  10833. on 0.2.8.1-alpha.
  10834. o Minor bugfixes (coverity build support):
  10835. - Avoid Coverity build warnings related to our BUG() macro. By
  10836. default, Coverity treats BUG() as the Linux kernel does: an
  10837. instant abort(). We need to override that so our BUG() macro
  10838. doesn't prevent Coverity from analyzing functions that use it.
  10839. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  10840. o Minor bugfixes (directory authority):
  10841. - When a directory authority rejects a descriptor or extrainfo with
  10842. a given digest, mark that digest as undownloadable, so that we do
  10843. not attempt to download it again over and over. We previously
  10844. tried to avoid downloading such descriptors by other means, but we
  10845. didn't notice if we accidentally downloaded one anyway. This
  10846. behavior became problematic in 0.2.7.2-alpha, when authorities
  10847. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  10848. on 0.2.1.19-alpha.
  10849. o Minor bugfixes (error reporting, windows):
  10850. - When formatting Windows error messages, use the English format to
  10851. avoid codepage issues. Fixes bug 22520; bugfix on 0.1.2.8-alpha.
  10852. Patch from "Vort".
  10853. o Minor bugfixes (file limits, osx):
  10854. - When setting the maximum number of connections allowed by the OS,
  10855. always allow some extra file descriptors for other files. Fixes
  10856. bug 22797; bugfix on 0.2.0.10-alpha.
  10857. o Minor bugfixes (linux seccomp2 sandbox):
  10858. - Avoid a sandbox failure when trying to re-bind to a socket and
  10859. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  10860. o Minor bugfixes (memory leaks):
  10861. - Fix a small memory leak when validating a configuration that uses
  10862. two or more AF_UNIX sockets for the same port type. Fixes bug
  10863. 23053; bugfix on 0.2.6.3-alpha. This is CID 1415725.
  10864. o Minor bugfixes (unit tests):
  10865. - test_consdiff_base64cmp would fail on OS X because while OS X
  10866. follows the standard of (less than zero/zero/greater than zero),
  10867. it doesn't follow the convention of (-1/0/+1). Make the test
  10868. comply with the standard. Fixes bug 22870; bugfix on 0.3.1.1-alpha.
  10869. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  10870. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  10871. Changes in version 0.3.1.4-alpha - 2017-06-29
  10872. Tor 0.3.1.4-alpha fixes a path selection bug that would allow a client
  10873. to use a guard that was in the same network family as a chosen exit
  10874. relay. This is a security regression; all clients running earlier
  10875. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9
  10876. or 0.3.1.4-alpha.
  10877. This release also fixes several other bugs introduced in 0.3.0.x
  10878. and 0.3.1.x, including others that can affect bandwidth usage
  10879. and correctness.
  10880. o New dependencies:
  10881. - To build with zstd and lzma support, Tor now requires the
  10882. pkg-config tool at build time. (This requirement was new in
  10883. 0.3.1.1-alpha, but was not noted at the time. Noting it here to
  10884. close ticket 22623.)
  10885. o Major bugfixes (path selection, security):
  10886. - When choosing which guard to use for a circuit, avoid the exit's
  10887. family along with the exit itself. Previously, the new guard
  10888. selection logic avoided the exit, but did not consider its family.
  10889. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  10890. 006 and CVE-2017-0377.
  10891. o Major bugfixes (compression, zstd):
  10892. - Correctly detect a full buffer when decompressing a large zstd-
  10893. compressed input. Previously, we would sometimes treat a full
  10894. buffer as an error. Fixes bug 22628; bugfix on 0.3.1.1-alpha.
  10895. o Major bugfixes (directory protocol):
  10896. - Ensure that we send "304 Not modified" as HTTP status code when a
  10897. client is attempting to fetch a consensus or consensus diff, and
  10898. the best one we can send them is one they already have. Fixes bug
  10899. 22702; bugfix on 0.3.1.1-alpha.
  10900. o Major bugfixes (entry guards):
  10901. - When starting with an old consensus, do not add new entry guards
  10902. unless the consensus is "reasonably live" (under 1 day old). Fixes
  10903. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  10904. o Minor features (bug mitigation, diagnostics, logging):
  10905. - Avoid an assertion failure, and log a better error message, when
  10906. unable to remove a file from the consensus cache on Windows.
  10907. Attempts to mitigate and diagnose bug 22752.
  10908. o Minor features (geoip):
  10909. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  10910. Country database.
  10911. o Minor bugfixes (compression):
  10912. - When compressing or decompressing a buffer, check for a failure to
  10913. create a compression object. Fixes bug 22626; bugfix
  10914. on 0.3.1.1-alpha.
  10915. - When decompressing a buffer, check for extra data after the end of
  10916. the compressed data. Fixes bug 22629; bugfix on 0.3.1.1-alpha.
  10917. - When decompressing an object received over an anonymous directory
  10918. connection, if we have already decompressed it using an acceptable
  10919. compression method, do not reject it for looking like an
  10920. unacceptable compression method. Fixes part of bug 22670; bugfix
  10921. on 0.3.1.1-alpha.
  10922. - When serving directory votes compressed with zlib, do not claim to
  10923. have compressed them with zstd. Fixes bug 22669; bugfix
  10924. on 0.3.1.1-alpha.
  10925. - When spooling compressed data to an output buffer, don't try to
  10926. spool more data when there is no more data to spool and we are not
  10927. trying to flush the input. Previously, we would sometimes launch
  10928. compression requests with nothing to do, which interferes with our
  10929. 22672 checks. Fixes bug 22719; bugfix on 0.2.0.16-alpha.
  10930. o Minor bugfixes (defensive programming):
  10931. - Detect and break out of infinite loops in our compression code. We
  10932. don't think that any such loops exist now, but it's best to be
  10933. safe. Closes ticket 22672.
  10934. - Fix a memset() off the end of an array when packing cells. This
  10935. bug should be harmless in practice, since the corrupted bytes are
  10936. still in the same structure, and are always padding bytes,
  10937. ignored, or immediately overwritten, depending on compiler
  10938. behavior. Nevertheless, because the memset()'s purpose is to make
  10939. sure that any other cell-handling bugs can't expose bytes to the
  10940. network, we need to fix it. Fixes bug 22737; bugfix on
  10941. 0.2.4.11-alpha. Fixes CID 1401591.
  10942. o Minor bugfixes (linux seccomp2 sandbox):
  10943. - Permit the fchmod system call, to avoid crashing on startup when
  10944. starting with the seccomp2 sandbox and an unexpected set of
  10945. permissions on the data directory or its contents. Fixes bug
  10946. 22516; bugfix on 0.2.5.4-alpha.
  10947. - Fix a crash in the LZMA module, when the sandbox was enabled, and
  10948. liblzma would allocate more than 16 MB of memory. We solve this by
  10949. bumping the mprotect() limit in the sandbox module from 16 MB to
  10950. 20 MB. Fixes bug 22751; bugfix on 0.3.1.1-alpha.
  10951. o Minor bugfixes (logging):
  10952. - When decompressing, do not warn if we fail to decompress using a
  10953. compression method that we merely guessed. Fixes part of bug
  10954. 22670; bugfix on 0.1.1.14-alpha.
  10955. - When decompressing, treat mismatch between content-encoding and
  10956. actual compression type as a protocol warning. Fixes part of bug
  10957. 22670; bugfix on 0.1.1.9-alpha.
  10958. - Downgrade "assigned_to_cpuworker failed" message to info-level
  10959. severity. In every case that can reach it, either a better warning
  10960. has already been logged, or no warning is warranted. Fixes bug
  10961. 22356; bugfix on 0.2.6.3-alpha.
  10962. - Demote a warn that was caused by libevent delays to info if
  10963. netflow padding is less than 4.5 seconds late, or to notice
  10964. if it is more (4.5 seconds is the amount of time that a netflow
  10965. record might be emitted after, if we chose the maximum timeout).
  10966. Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  10967. o Minor bugfixes (process behavior):
  10968. - When exiting because of an error, always exit with a nonzero exit
  10969. status. Previously, we would fail to report an error in our exit
  10970. status in cases related to __OwningControllerProcess failure,
  10971. lockfile contention, and Ed25519 key initialization. Fixes bug
  10972. 22720; bugfix on versions 0.2.1.6-alpha, 0.2.2.28-beta, and
  10973. 0.2.7.2-alpha respectively. Reported by "f55jwk4f"; patch
  10974. from "huyvq".
  10975. o Documentation:
  10976. - Add a manpage description for the key-pinning-journal file. Closes
  10977. ticket 22347.
  10978. - Correctly note that bandwidth accounting values are stored in the
  10979. state file, and the bw_accounting file is now obsolete. Closes
  10980. ticket 16082.
  10981. - Document more of the files in the Tor data directory, including
  10982. cached-extrainfo, secret_onion_key{,_ntor}.old, hidserv-stats,
  10983. approved-routers, sr-random, and diff-cache. Found while fixing
  10984. ticket 22347.
  10985. Changes in version 0.3.0.9 - 2017-06-29
  10986. Tor 0.3.0.9 fixes a path selection bug that would allow a client
  10987. to use a guard that was in the same network family as a chosen exit
  10988. relay. This is a security regression; all clients running earlier
  10989. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9 or
  10990. 0.3.1.4-alpha.
  10991. This release also backports several other bugfixes from the 0.3.1.x
  10992. series.
  10993. o Major bugfixes (path selection, security, backport from 0.3.1.4-alpha):
  10994. - When choosing which guard to use for a circuit, avoid the exit's
  10995. family along with the exit itself. Previously, the new guard
  10996. selection logic avoided the exit, but did not consider its family.
  10997. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  10998. 006 and CVE-2017-0377.
  10999. o Major bugfixes (entry guards, backport from 0.3.1.1-alpha):
  11000. - Don't block bootstrapping when a primary bridge is offline and we
  11001. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  11002. 21969; bugfix on 0.3.0.3-alpha.
  11003. o Major bugfixes (entry guards, backport from 0.3.1.4-alpha):
  11004. - When starting with an old consensus, do not add new entry guards
  11005. unless the consensus is "reasonably live" (under 1 day old). Fixes
  11006. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  11007. o Minor features (geoip):
  11008. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  11009. Country database.
  11010. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  11011. - Reject version numbers with non-numeric prefixes (such as +, -, or
  11012. whitespace). Disallowing whitespace prevents differential version
  11013. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  11014. and part of 21508; bugfix on 0.0.8pre1.
  11015. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  11016. - Permit the fchmod system call, to avoid crashing on startup when
  11017. starting with the seccomp2 sandbox and an unexpected set of
  11018. permissions on the data directory or its contents. Fixes bug
  11019. 22516; bugfix on 0.2.5.4-alpha.
  11020. o Minor bugfixes (defensive programming, backport from 0.3.1.4-alpha):
  11021. - Fix a memset() off the end of an array when packing cells. This
  11022. bug should be harmless in practice, since the corrupted bytes are
  11023. still in the same structure, and are always padding bytes,
  11024. ignored, or immediately overwritten, depending on compiler
  11025. behavior. Nevertheless, because the memset()'s purpose is to make
  11026. sure that any other cell-handling bugs can't expose bytes to the
  11027. network, we need to fix it. Fixes bug 22737; bugfix on
  11028. 0.2.4.11-alpha. Fixes CID 1401591.
  11029. Changes in version 0.3.1.3-alpha - 2017-06-08
  11030. Tor 0.3.1.3-alpha fixes a pair of bugs that would allow an attacker to
  11031. remotely crash a hidden service with an assertion failure. Anyone
  11032. running a hidden service should upgrade to this version, or to some
  11033. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  11034. Tor 0.3.1.3-alpha also includes fixes for several key management bugs
  11035. that sometimes made relays unreliable, as well as several other
  11036. bugfixes described below.
  11037. o Major bugfixes (hidden service, relay, security):
  11038. - Fix a remotely triggerable assertion failure when a hidden service
  11039. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  11040. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  11041. - Fix a remotely triggerable assertion failure caused by receiving a
  11042. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  11043. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  11044. on 0.2.2.1-alpha.
  11045. o Major bugfixes (relay, link handshake):
  11046. - When performing the v3 link handshake on a TLS connection, report
  11047. that we have the x509 certificate that we actually used on that
  11048. connection, even if we have changed certificates since that
  11049. connection was first opened. Previously, we would claim to have
  11050. used our most recent x509 link certificate, which would sometimes
  11051. make the link handshake fail. Fixes one case of bug 22460; bugfix
  11052. on 0.2.3.6-alpha.
  11053. o Major bugfixes (relays, key management):
  11054. - Regenerate link and authentication certificates whenever the key
  11055. that signs them changes; also, regenerate link certificates
  11056. whenever the signed key changes. Previously, these processes were
  11057. only weakly coupled, and we relays could (for minutes to hours)
  11058. wind up with an inconsistent set of keys and certificates, which
  11059. other relays would not accept. Fixes two cases of bug 22460;
  11060. bugfix on 0.3.0.1-alpha.
  11061. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  11062. send the certificate that matches the x509 certificate that we
  11063. used on the TLS connection. Previously, there was a race condition
  11064. if the TLS context rotated after we began the TLS handshake but
  11065. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  11066. on 0.3.0.1-alpha.
  11067. o Major bugfixes (torrc, crash):
  11068. - Fix a crash bug when using %include in torrc. Fixes bug 22417;
  11069. bugfix on 0.3.1.1-alpha. Patch by Daniel Pinto.
  11070. o Minor features (code style):
  11071. - Add "Falls through" comments to our codebase, in order to silence
  11072. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  11073. Stieger. Closes ticket 22446.
  11074. o Minor features (diagnostic):
  11075. - Add logging messages to try to diagnose a rare bug that seems to
  11076. generate RSA->Ed25519 cross-certificates dated in the 1970s. We
  11077. think this is happening because of incorrect system clocks, but
  11078. we'd like to know for certain. Diagnostic for bug 22466.
  11079. o Minor bugfixes (correctness):
  11080. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  11081. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  11082. o Minor bugfixes (directory protocol):
  11083. - Check for libzstd >= 1.1, because older versions lack the
  11084. necessary streaming API. Fixes bug 22413; bugfix on 0.3.1.1-alpha.
  11085. o Minor bugfixes (link handshake):
  11086. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  11087. months, and regenerate it when it is within one month of expiring.
  11088. Previously, we had generated this certificate at startup with a
  11089. ten-year lifetime, but that could lead to weird behavior when Tor
  11090. was started with a grossly inaccurate clock. Mitigates bug 22466;
  11091. mitigation on 0.3.0.1-alpha.
  11092. o Minor bugfixes (storage directories):
  11093. - Always check for underflows in the cached storage directory usage.
  11094. If the usage does underflow, re-calculate it. Also, avoid a
  11095. separate underflow when the usage is not known. Fixes bug 22424;
  11096. bugfix on 0.3.1.1-alpha.
  11097. o Minor bugfixes (unit tests):
  11098. - The unit tests now pass on systems where localhost is misconfigured
  11099. to some IPv4 address other than 127.0.0.1. Fixes bug 6298; bugfix
  11100. on 0.0.9pre2.
  11101. o Documentation:
  11102. - Clarify the manpage for the (deprecated) torify script. Closes
  11103. ticket 6892.
  11104. Changes in version 0.3.0.8 - 2017-06-08
  11105. Tor 0.3.0.8 fixes a pair of bugs that would allow an attacker to
  11106. remotely crash a hidden service with an assertion failure. Anyone
  11107. running a hidden service should upgrade to this version, or to some
  11108. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  11109. Tor 0.3.0.8 also includes fixes for several key management bugs
  11110. that sometimes made relays unreliable, as well as several other
  11111. bugfixes described below.
  11112. o Major bugfixes (hidden service, relay, security, backport
  11113. from 0.3.1.3-alpha):
  11114. - Fix a remotely triggerable assertion failure when a hidden service
  11115. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  11116. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  11117. - Fix a remotely triggerable assertion failure caused by receiving a
  11118. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  11119. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  11120. on 0.2.2.1-alpha.
  11121. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  11122. - When performing the v3 link handshake on a TLS connection, report
  11123. that we have the x509 certificate that we actually used on that
  11124. connection, even if we have changed certificates since that
  11125. connection was first opened. Previously, we would claim to have
  11126. used our most recent x509 link certificate, which would sometimes
  11127. make the link handshake fail. Fixes one case of bug 22460; bugfix
  11128. on 0.2.3.6-alpha.
  11129. o Major bugfixes (relays, key management, backport from 0.3.1.3-alpha):
  11130. - Regenerate link and authentication certificates whenever the key
  11131. that signs them changes; also, regenerate link certificates
  11132. whenever the signed key changes. Previously, these processes were
  11133. only weakly coupled, and we relays could (for minutes to hours)
  11134. wind up with an inconsistent set of keys and certificates, which
  11135. other relays would not accept. Fixes two cases of bug 22460;
  11136. bugfix on 0.3.0.1-alpha.
  11137. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  11138. send the certificate that matches the x509 certificate that we
  11139. used on the TLS connection. Previously, there was a race condition
  11140. if the TLS context rotated after we began the TLS handshake but
  11141. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  11142. on 0.3.0.1-alpha.
  11143. o Major bugfixes (hidden service v3, backport from 0.3.1.1-alpha):
  11144. - Stop rejecting v3 hidden service descriptors because their size
  11145. did not match an old padding rule. Fixes bug 22447; bugfix on
  11146. 0.3.0.1-alpha.
  11147. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  11148. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  11149. December 2016 (of which ~126 were still functional) with a list of
  11150. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  11151. 2017. Resolves ticket 21564.
  11152. o Minor bugfixes (configuration, backport from 0.3.1.1-alpha):
  11153. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  11154. bug 22252; bugfix on 0.2.9.3-alpha.
  11155. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  11156. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  11157. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  11158. o Minor bugfixes (link handshake, backport from 0.3.1.3-alpha):
  11159. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  11160. months, and regenerate it when it is within one month of expiring.
  11161. Previously, we had generated this certificate at startup with a
  11162. ten-year lifetime, but that could lead to weird behavior when Tor
  11163. was started with a grossly inaccurate clock. Mitigates bug 22466;
  11164. mitigation on 0.3.0.1-alpha.
  11165. o Minor bugfixes (memory leak, directory authority, backport from
  11166. 0.3.1.2-alpha):
  11167. - When directory authorities reject a router descriptor due to
  11168. keypinning, free the router descriptor rather than leaking the
  11169. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  11170. Changes in version 0.2.9.11 - 2017-06-08
  11171. Tor 0.2.9.11 backports a fix for a bug that would allow an attacker to
  11172. remotely crash a hidden service with an assertion failure. Anyone
  11173. running a hidden service should upgrade to this version, or to some
  11174. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  11175. are not affected by TROVE-2017-004.)
  11176. Tor 0.2.9.11 also backports fixes for several key management bugs
  11177. that sometimes made relays unreliable, as well as several other
  11178. bugfixes described below.
  11179. o Major bugfixes (hidden service, relay, security, backport
  11180. from 0.3.1.3-alpha):
  11181. - Fix a remotely triggerable assertion failure caused by receiving a
  11182. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  11183. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  11184. on 0.2.2.1-alpha.
  11185. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  11186. - When performing the v3 link handshake on a TLS connection, report
  11187. that we have the x509 certificate that we actually used on that
  11188. connection, even if we have changed certificates since that
  11189. connection was first opened. Previously, we would claim to have
  11190. used our most recent x509 link certificate, which would sometimes
  11191. make the link handshake fail. Fixes one case of bug 22460; bugfix
  11192. on 0.2.3.6-alpha.
  11193. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  11194. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  11195. December 2016 (of which ~126 were still functional) with a list of
  11196. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  11197. 2017. Resolves ticket 21564.
  11198. o Minor features (future-proofing, backport from 0.3.0.7):
  11199. - Tor no longer refuses to download microdescriptors or descriptors if
  11200. they are listed as "published in the future". This change will
  11201. eventually allow us to stop listing meaningful "published" dates
  11202. in microdescriptor consensuses, and thereby allow us to reduce the
  11203. resources required to download consensus diffs by over 50%.
  11204. Implements part of ticket 21642; implements part of proposal 275.
  11205. o Minor features (directory authorities, backport from 0.3.0.4-rc)
  11206. - Directory authorities now reject relays running versions
  11207. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  11208. suffer from bug 20499 and don't keep their consensus cache
  11209. up-to-date. Resolves ticket 20509.
  11210. o Minor features (geoip):
  11211. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  11212. Country database.
  11213. o Minor bugfixes (control port, backport from 0.3.0.6):
  11214. - The GETINFO extra-info/digest/<digest> command was broken because
  11215. of a wrong base16 decode return value check, introduced when
  11216. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  11217. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  11218. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  11219. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  11220. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.0.7):
  11221. - The getpid() system call is now permitted under the Linux seccomp2
  11222. sandbox, to avoid crashing with versions of OpenSSL (and other
  11223. libraries) that attempt to learn the process's PID by using the
  11224. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  11225. on 0.2.5.1-alpha.
  11226. o Minor bugfixes (memory leak, directory authority, backport
  11227. from 0.3.1.2-alpha):
  11228. - When directory authorities reject a router descriptor due to
  11229. keypinning, free the router descriptor rather than leaking the
  11230. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  11231. Changes in version 0.2.8.14 - 2017-06-08
  11232. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  11233. remotely crash a hidden service with an assertion failure. Anyone
  11234. running a hidden service should upgrade to this version, or to some
  11235. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  11236. are not affected by TROVE-2017-004.)
  11237. o Major bugfixes (hidden service, relay, security):
  11238. - Fix a remotely triggerable assertion failure caused by receiving a
  11239. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  11240. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  11241. on 0.2.2.1-alpha.
  11242. o Minor features (geoip):
  11243. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  11244. Country database.
  11245. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  11246. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  11247. December 2016 (of which ~126 were still functional) with a list of
  11248. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  11249. 2017. Resolves ticket 21564.
  11250. o Minor bugfixes (correctness):
  11251. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  11252. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  11253. Changes in version 0.2.7.8 - 2017-06-08
  11254. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  11255. remotely crash a hidden service with an assertion failure. Anyone
  11256. running a hidden service should upgrade to this version, or to some
  11257. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  11258. are not affected by TROVE-2017-004.)
  11259. o Major bugfixes (hidden service, relay, security):
  11260. - Fix a remotely triggerable assertion failure caused by receiving a
  11261. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  11262. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  11263. on 0.2.2.1-alpha.
  11264. o Minor features (geoip):
  11265. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  11266. Country database.
  11267. o Minor bugfixes (correctness):
  11268. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  11269. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  11270. Changes in version 0.2.6.12 - 2017-06-08
  11271. Tor 0.2.6.12 backports a fix for a bug that would allow an attacker to
  11272. remotely crash a hidden service with an assertion failure. Anyone
  11273. running a hidden service should upgrade to this version, or to some
  11274. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  11275. are not affected by TROVE-2017-004.)
  11276. o Major bugfixes (hidden service, relay, security):
  11277. - Fix a remotely triggerable assertion failure caused by receiving a
  11278. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  11279. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  11280. on 0.2.2.1-alpha.
  11281. o Minor features (geoip):
  11282. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  11283. Country database.
  11284. o Minor bugfixes (correctness):
  11285. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  11286. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  11287. Changes in version 0.2.5.14 - 2017-06-08
  11288. Tor 0.2.5.14 backports a fix for a bug that would allow an attacker to
  11289. remotely crash a hidden service with an assertion failure. Anyone
  11290. running a hidden service should upgrade to this version, or to some
  11291. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  11292. are not affected by TROVE-2017-004.)
  11293. o Major bugfixes (hidden service, relay, security):
  11294. - Fix a remotely triggerable assertion failure caused by receiving a
  11295. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  11296. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  11297. on 0.2.2.1-alpha.
  11298. o Minor features (geoip):
  11299. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  11300. Country database.
  11301. o Minor bugfixes (correctness):
  11302. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  11303. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  11304. Changes in version 0.2.4.29 - 2017-06-08
  11305. Tor 0.2.4.29 backports a fix for a bug that would allow an attacker to
  11306. remotely crash a hidden service with an assertion failure. Anyone
  11307. running a hidden service should upgrade to this version, or to some
  11308. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  11309. are not affected by TROVE-2017-004.)
  11310. o Major bugfixes (hidden service, relay, security):
  11311. - Fix a remotely triggerable assertion failure caused by receiving a
  11312. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  11313. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  11314. on 0.2.2.1-alpha.
  11315. o Minor features (geoip):
  11316. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  11317. Country database.
  11318. o Minor bugfixes (correctness):
  11319. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  11320. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  11321. Changes in version 0.3.1.2-alpha - 2017-05-26
  11322. Tor 0.3.1.2-alpha is the second release in the 0.3.1.x series. It
  11323. fixes a few bugs found while testing 0.3.1.1-alpha, including a
  11324. memory corruption bug that affected relay stability.
  11325. o Major bugfixes (crash, relay):
  11326. - Fix a memory-corruption bug in relays that set MyFamily.
  11327. Previously, they would double-free MyFamily elements when making
  11328. the next descriptor or when changing their configuration. Fixes
  11329. bug 22368; bugfix on 0.3.1.1-alpha.
  11330. o Minor bugfixes (logging):
  11331. - Log a better message when a directory authority replies to an
  11332. upload with an unexpected status code. Fixes bug 11121; bugfix
  11333. on 0.1.0.1-rc.
  11334. o Minor bugfixes (memory leak, directory authority):
  11335. - When directory authorities reject a router descriptor due to
  11336. keypinning, free the router descriptor rather than leaking the
  11337. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  11338. Changes in version 0.3.1.1-alpha - 2017-05-22
  11339. Tor 0.3.1.1-alpha is the first release in the 0.3.1.x series. It
  11340. reduces the bandwidth usage for Tor's directory protocol, adds some
  11341. basic padding to resist netflow-based traffic analysis and to serve as
  11342. the basis of other padding in the future, and adds rust support to the
  11343. build system.
  11344. It also contains numerous other small features and improvements to
  11345. security, correctness, and performance.
  11346. Below are the changes since 0.3.0.7.
  11347. o Major features (directory protocol):
  11348. - Tor relays and authorities can now serve clients an abbreviated
  11349. version of the consensus document, containing only the changes
  11350. since an older consensus document that the client holds. Clients
  11351. now request these documents when available. When both client and
  11352. server use this new protocol, they will use far less bandwidth (up
  11353. to 94% less) to keep the client's consensus up-to-date. Implements
  11354. proposal 140; closes ticket 13339. Based on work by Daniel Martí.
  11355. - Tor can now compress directory traffic with lzma or with zstd
  11356. compression algorithms, which can deliver better bandwidth
  11357. performance. Because lzma is computationally expensive, it's only
  11358. used for documents that can be compressed once and served many
  11359. times. Support for these algorithms requires that tor is built
  11360. with the libzstd and/or liblzma libraries available. Implements
  11361. proposal 278; closes ticket 21662.
  11362. - Relays now perform the more expensive compression operations, and
  11363. consensus diff generation, in worker threads. This separation
  11364. avoids delaying the main thread when a new consensus arrives.
  11365. o Major features (experimental):
  11366. - Tor can now build modules written in Rust. To turn this on, pass
  11367. the "--enable-rust" flag to the configure script. It's not time to
  11368. get excited yet: currently, there is no actual Rust functionality
  11369. beyond some simple glue code, and a notice at startup to tell you
  11370. that Rust is running. Still, we hope that programmers and
  11371. packagers will try building Tor with Rust support, so that we can
  11372. find issues and solve portability problems. Closes ticket 22106.
  11373. o Major features (traffic analysis resistance):
  11374. - Connections between clients and relays now send a padding cell in
  11375. each direction every 1.5 to 9.5 seconds (tunable via consensus
  11376. parameters). This padding will not resist specialized
  11377. eavesdroppers, but it should be enough to make many ISPs' routine
  11378. network flow logging less useful in traffic analysis against
  11379. Tor users.
  11380. Padding is negotiated using Tor's link protocol, so both relays
  11381. and clients must upgrade for this to take effect. Clients may
  11382. still send padding despite the relay's version by setting
  11383. ConnectionPadding 1 in torrc, and may disable padding by setting
  11384. ConnectionPadding 0 in torrc. Padding may be minimized for mobile
  11385. users with the torrc option ReducedConnectionPadding. Implements
  11386. Proposal 251 and Section 2 of Proposal 254; closes ticket 16861.
  11387. - Relays will publish 24 hour totals of padding and non-padding cell
  11388. counts to their extra-info descriptors, unless PaddingStatistics 0
  11389. is set in torrc. These 24 hour totals are also rounded to
  11390. multiples of 10000.
  11391. o Major bugfixes (connection usage):
  11392. - We use NETINFO cells to try to determine if both relays involved
  11393. in a connection will agree on the canonical status of that
  11394. connection. We prefer the connections where this is the case for
  11395. extend cells, and try to close connections where relays disagree
  11396. on their canonical status early. Also, we now prefer the oldest
  11397. valid connection for extend cells. These two changes should reduce
  11398. the number of long-term connections that are kept open between
  11399. relays. Fixes bug 17604; bugfix on 0.2.5.5-alpha.
  11400. - Relays now log hourly statistics (look for
  11401. "channel_check_for_duplicates" lines) on the total number of
  11402. connections to other relays. If the number of connections per
  11403. relay is unexpectedly large, this log message is at notice level.
  11404. Otherwise it is at info.
  11405. o Major bugfixes (entry guards):
  11406. - Don't block bootstrapping when a primary bridge is offline and we
  11407. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  11408. 21969; bugfix on 0.3.0.3-alpha.
  11409. o Major bugfixes (linux TPROXY support):
  11410. - Fix a typo that had prevented TPROXY-based transparent proxying
  11411. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  11412. Patch from "d4fq0fQAgoJ".
  11413. o Minor features (security, windows):
  11414. - Enable a couple of pieces of Windows hardening: one
  11415. (HeapEnableTerminationOnCorruption) that has been on-by-default
  11416. since Windows 8, and unavailable before Windows 7; and one
  11417. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  11418. affect us, but shouldn't do any harm. Closes ticket 21953.
  11419. o Minor features (config options):
  11420. - Allow "%include" directives in torrc configuration files. These
  11421. directives import the settings from other files, or from all the
  11422. files in a directory. Closes ticket 1922. Code by Daniel Pinto.
  11423. - Make SAVECONF return an error when overwriting a torrc that has
  11424. includes. Using SAVECONF with the FORCE option will allow it to
  11425. overwrite torrc even if includes are used. Related to ticket 1922.
  11426. - Add "GETINFO config-can-saveconf" to tell controllers if SAVECONF
  11427. will work without the FORCE option. Related to ticket 1922.
  11428. o Minor features (controller):
  11429. - Warn the first time that a controller requests data in the long-
  11430. deprecated 'GETINFO network-status' format. Closes ticket 21703.
  11431. o Minor features (defaults):
  11432. - The default value for UseCreateFast is now 0: clients which
  11433. haven't yet received a consensus document will now use a proper
  11434. ntor handshake to talk to their directory servers whenever they
  11435. can. Closes ticket 21407.
  11436. - Onion key rotation and expiry intervals are now defined as a
  11437. network consensus parameter, per proposal 274. The default
  11438. lifetime of an onion key is increased from 7 to 28 days. Old onion
  11439. keys will expire after 7 days by default. This change will make
  11440. consensus diffs much smaller, and save significant bandwidth.
  11441. Closes ticket 21641.
  11442. o Minor features (fallback directory list):
  11443. - Update the fallback directory mirror whitelist and blacklist based
  11444. on operator emails. Closes task 21121.
  11445. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  11446. December 2016 (of which ~126 were still functional) with a list of
  11447. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  11448. 2017. Resolves ticket 21564.
  11449. o Minor features (hidden services, logging):
  11450. - Log a message when a hidden service descriptor has fewer
  11451. introduction points than specified in
  11452. HiddenServiceNumIntroductionPoints. Closes tickets 21598.
  11453. - Log a message when a hidden service reaches its introduction point
  11454. circuit limit, and when that limit is reset. Follow up to ticket
  11455. 21594; closes ticket 21622.
  11456. - Warn user if multiple entries in EntryNodes and at least one
  11457. HiddenService are used together. Pinning EntryNodes along with a
  11458. hidden service can be possibly harmful; for instance see ticket
  11459. 14917 or 21155. Closes ticket 21155.
  11460. o Minor features (linux seccomp2 sandbox):
  11461. - We now have a document storage backend compatible with the Linux
  11462. seccomp2 sandbox. This backend is used for consensus documents and
  11463. diffs between them; in the long term, we'd like to use it for
  11464. unparseable directory material too. Closes ticket 21645
  11465. - Increase the maximum allowed size passed to mprotect(PROT_WRITE)
  11466. from 1MB to 16MB. This was necessary with the glibc allocator in
  11467. order to allow worker threads to allocate more memory -- which in
  11468. turn is necessary because of our new use of worker threads for
  11469. compression. Closes ticket 22096.
  11470. o Minor features (logging):
  11471. - Log files are no longer created world-readable by default.
  11472. (Previously, most distributors would store the logs in a non-
  11473. world-readable location to prevent inappropriate access. This
  11474. change is an extra precaution.) Closes ticket 21729; patch
  11475. from toralf.
  11476. o Minor features (performance):
  11477. - Our Keccak (SHA-3) implementation now accesses memory more
  11478. efficiently, especially on little-endian systems. Closes
  11479. ticket 21737.
  11480. - Add an O(1) implementation of channel_find_by_global_id(), to
  11481. speed some controller functions.
  11482. o Minor features (relay, configuration):
  11483. - The MyFamily option may now be repeated as many times as desired,
  11484. for relays that want to configure large families. Closes ticket
  11485. 4998; patch by Daniel Pinto.
  11486. o Minor features (safety):
  11487. - Add an explicit check to extrainfo_parse_entry_from_string() for
  11488. NULL inputs. We don't believe this can actually happen, but it may
  11489. help silence a warning from the Clang analyzer. Closes
  11490. ticket 21496.
  11491. o Minor features (testing):
  11492. - Add a "--disable-memory-sentinels" feature to help with fuzzing.
  11493. When Tor is compiled with this option, we disable a number of
  11494. redundant memory-safety failsafes that are intended to stop bugs
  11495. from becoming security issues. This makes it easier to hunt for
  11496. bugs that would be security issues without the failsafes turned
  11497. on. Closes ticket 21439.
  11498. - Add a general event-tracing instrumentation support to Tor. This
  11499. subsystem will enable developers and researchers to add fine-
  11500. grained instrumentation to their Tor instances, for use when
  11501. examining Tor network performance issues. There are no trace
  11502. events yet, and event-tracing is off by default unless enabled at
  11503. compile time. Implements ticket 13802.
  11504. - Improve our version parsing tests: add tests for typical version
  11505. components, add tests for invalid versions, including numeric
  11506. range and non-numeric prefixes. Unit tests 21278, 21450, and
  11507. 21507. Partially implements 21470.
  11508. o Minor bugfixes (bandwidth accounting):
  11509. - Roll over monthly accounting at the configured hour and minute,
  11510. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  11511. Found by Andrey Karpov with PVS-Studio.
  11512. o Minor bugfixes (code correctness):
  11513. - Accurately identify client connections by their lack of peer
  11514. authentication. This means that we bail out earlier if asked to
  11515. extend to a client. Follow-up to 21407. Fixes bug 21406; bugfix
  11516. on 0.2.4.23.
  11517. o Minor bugfixes (configuration):
  11518. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  11519. bug 22252; bugfix on 0.2.9.3-alpha.
  11520. o Minor bugfixes (connection lifespan):
  11521. - Allow more control over how long TLS connections are kept open:
  11522. unify CircuitIdleTimeout and PredictedPortsRelevanceTime into a
  11523. single option called CircuitsAvailableTimeout. Also, allow the
  11524. consensus to control the default values for both this preference
  11525. and the lifespan of relay-to-relay connections. Fixes bug 17592;
  11526. bugfix on 0.2.5.5-alpha.
  11527. - Increase the initial circuit build timeout testing frequency, to
  11528. help ensure that ReducedConnectionPadding clients finish learning
  11529. a timeout before their orconn would expire. The initial testing
  11530. rate was set back in the days of TAP and before the Tor Browser
  11531. updater, when we had to be much more careful about new clients
  11532. making lots of circuits. With this change, a circuit build timeout
  11533. is learned in about 15-20 minutes, instead of 100-120 minutes.
  11534. o Minor bugfixes (controller):
  11535. - GETINFO onions/current and onions/detached no longer respond with
  11536. 551 on empty lists. Fixes bug 21329; bugfix on 0.2.7.1-alpha.
  11537. - Trigger HS descriptor events on the control port when the client
  11538. fails to pick a hidden service directory for a hidden service.
  11539. This can happen if all the hidden service directories are in
  11540. ExcludeNodes, or they have all been queried within the last 15
  11541. minutes. Fixes bug 22042; bugfix on 0.2.5.2-alpha.
  11542. o Minor bugfixes (directory authority):
  11543. - When rejecting a router descriptor for running an obsolete version
  11544. of Tor without ntor support, warn about the obsolete tor version,
  11545. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  11546. - Prevent the shared randomness subsystem from asserting when
  11547. initialized by a bridge authority with an incomplete configuration
  11548. file. Fixes bug 21586; bugfix on 0.2.9.8.
  11549. o Minor bugfixes (exit-side DNS):
  11550. - Fix an untriggerable assertion that checked the output of a
  11551. libevent DNS error, so that the assertion actually behaves as
  11552. expected. Fixes bug 22244; bugfix on 0.2.0.20-rc. Found by Andrey
  11553. Karpov using PVS-Studio.
  11554. o Minor bugfixes (fallback directories):
  11555. - Make the usage example in updateFallbackDirs.py actually work, and
  11556. explain what it does. Fixes bug 22270; bugfix on 0.3.0.3-alpha.
  11557. - Decrease the guard flag average required to be a fallback. This
  11558. allows us to keep relays that have their guard flag removed when
  11559. they restart. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  11560. - Decrease the minimum number of fallbacks to 100. Fixes bug 20913;
  11561. bugfix on 0.2.8.1-alpha.
  11562. - Make sure fallback directory mirrors have the same address, port,
  11563. and relay identity key for at least 30 days before they are
  11564. selected. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  11565. o Minor bugfixes (hidden services):
  11566. - Stop printing a cryptic warning when a hidden service gets a
  11567. request to connect to a virtual port that it hasn't configured.
  11568. Fixes bug 16706; bugfix on 0.2.6.3-alpha.
  11569. - Simplify hidden service descriptor creation by using an existing
  11570. flag to check if an introduction point is established. Fixes bug
  11571. 21599; bugfix on 0.2.7.2-alpha.
  11572. o Minor bugfixes (memory leak):
  11573. - Fix a small memory leak at exit from the backtrace handler code.
  11574. Fixes bug 21788; bugfix on 0.2.5.2-alpha. Patch from Daniel Pinto.
  11575. o Minor bugfixes (protocol, logging):
  11576. - Downgrade a log statement about unexpected relay cells from "bug"
  11577. to "protocol warning", because there is at least one use case
  11578. where it can be triggered by a buggy tor implementation. Fixes bug
  11579. 21293; bugfix on 0.1.1.14-alpha.
  11580. o Minor bugfixes (testing):
  11581. - Use unbuffered I/O for utility functions around the
  11582. process_handle_t type. This fixes unit test failures reported on
  11583. OpenBSD and FreeBSD. Fixes bug 21654; bugfix on 0.2.3.1-alpha.
  11584. - Make display of captured unit test log messages consistent. Fixes
  11585. bug 21510; bugfix on 0.2.9.3-alpha.
  11586. - Make test-network.sh always call chutney's test-network.sh.
  11587. Previously, this only worked on systems which had bash installed,
  11588. due to some bash-specific code in the script. Fixes bug 19699;
  11589. bugfix on 0.3.0.4-rc. Follow-up to ticket 21581.
  11590. o Minor bugfixes (voting consistency):
  11591. - Reject version numbers with non-numeric prefixes (such as +, -, or
  11592. whitespace). Disallowing whitespace prevents differential version
  11593. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  11594. and part of 21508; bugfix on 0.0.8pre1.
  11595. o Minor bugfixes (windows, relay):
  11596. - Resolve "Failure from drain_fd: No error" warnings on Windows
  11597. relays. Fixes bug 21540; bugfix on 0.2.6.3-alpha.
  11598. o Code simplification and refactoring:
  11599. - Break up the 630-line function connection_dir_client_reached_eof()
  11600. into a dozen smaller functions. This change should help
  11601. maintainability and readability of the client directory code.
  11602. - Isolate our use of the openssl headers so that they are only
  11603. included from our crypto wrapper modules, and from tests that
  11604. examine those modules' internals. Closes ticket 21841.
  11605. - Simplify our API to launch directory requests, making it more
  11606. extensible and less error-prone. Now it's easier to add extra
  11607. headers to directory requests. Closes ticket 21646.
  11608. - Our base64 decoding functions no longer overestimate the output
  11609. space that they need when parsing unpadded inputs. Closes
  11610. ticket 17868.
  11611. - Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value.
  11612. Resolves ticket 22213.
  11613. - The logic that directory caches use to spool request to clients,
  11614. serving them one part at a time so as not to allocate too much
  11615. memory, has been refactored for consistency. Previously there was
  11616. a separate spooling implementation per type of spoolable data. Now
  11617. there is one common spooling implementation, with extensible data
  11618. types. Closes ticket 21651.
  11619. - Tor's compression module now supports multiple backends. Part of
  11620. the implementation for proposal 278; closes ticket 21663.
  11621. o Documentation:
  11622. - Clarify the behavior of the KeepAliveIsolateSOCKSAuth sub-option.
  11623. Closes ticket 21873.
  11624. - Correct documentation about the default DataDirectory value.
  11625. Closes ticket 21151.
  11626. - Document the default behavior of NumEntryGuards and
  11627. NumDirectoryGuards correctly. Fixes bug 21715; bugfix
  11628. on 0.3.0.1-alpha.
  11629. - Document key=value pluggable transport arguments for Bridge lines
  11630. in torrc. Fixes bug 20341; bugfix on 0.2.5.1-alpha.
  11631. - Note that bandwidth-limiting options don't affect TCP headers or
  11632. DNS. Closes ticket 17170.
  11633. o Removed features (configuration options, all in ticket 22060):
  11634. - These configuration options are now marked Obsolete, and no longer
  11635. have any effect: AllowInvalidNodes, AllowSingleHopCircuits,
  11636. AllowSingleHopExits, ExcludeSingleHopRelays, FastFirstHopPK,
  11637. TLSECGroup, WarnUnsafeSocks. They were first marked as deprecated
  11638. in 0.2.9.2-alpha and have now been removed. The previous default
  11639. behavior is now always chosen; the previous (less secure) non-
  11640. default behavior is now unavailable.
  11641. - CloseHSClientCircuitsImmediatelyOnTimeout and
  11642. CloseHSServiceRendCircuitsImmediatelyOnTimeout were deprecated in
  11643. 0.2.9.2-alpha and now have been removed. HS circuits never close
  11644. on circuit build timeout; they have a longer timeout period.
  11645. - {Control,DNS,Dir,Socks,Trans,NATD,OR}ListenAddress were deprecated
  11646. in 0.2.9.2-alpha and now have been removed. Use the ORPort option
  11647. (and others) to configure listen-only and advertise-only addresses.
  11648. o Removed features (tools):
  11649. - We've removed the tor-checkkey tool from src/tools. Long ago, we
  11650. used it to help people detect RSA keys that were generated by
  11651. versions of Debian affected by CVE-2008-0166. But those keys have
  11652. been out of circulation for ages, and this tool is no longer
  11653. required. Closes ticket 21842.
  11654. Changes in version 0.3.0.7 - 2017-05-15
  11655. Tor 0.3.0.7 fixes a medium-severity security bug in earlier versions
  11656. of Tor 0.3.0.x, where an attacker could cause a Tor relay process
  11657. to exit. Relays running earlier versions of Tor 0.3.0.x should upgrade;
  11658. clients are not affected.
  11659. o Major bugfixes (hidden service directory, security):
  11660. - Fix an assertion failure in the hidden service directory code, which
  11661. could be used by an attacker to remotely cause a Tor relay process to
  11662. exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
  11663. should upgrade. This security issue is tracked as TROVE-2017-002.
  11664. Fixes bug 22246; bugfix on 0.3.0.1-alpha.
  11665. o Minor features:
  11666. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  11667. Country database.
  11668. o Minor features (future-proofing):
  11669. - Tor no longer refuses to download microdescriptors or descriptors
  11670. if they are listed as "published in the future". This change will
  11671. eventually allow us to stop listing meaningful "published" dates
  11672. in microdescriptor consensuses, and thereby allow us to reduce the
  11673. resources required to download consensus diffs by over 50%.
  11674. Implements part of ticket 21642; implements part of proposal 275.
  11675. o Minor bugfixes (Linux seccomp2 sandbox):
  11676. - The getpid() system call is now permitted under the Linux seccomp2
  11677. sandbox, to avoid crashing with versions of OpenSSL (and other
  11678. libraries) that attempt to learn the process's PID by using the
  11679. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  11680. on 0.2.5.1-alpha.
  11681. Changes in version 0.3.0.6 - 2017-04-26
  11682. Tor 0.3.0.6 is the first stable release of the Tor 0.3.0 series.
  11683. With the 0.3.0 series, clients and relays now use Ed25519 keys to
  11684. authenticate their link connections to relays, rather than the old
  11685. RSA1024 keys that they used before. (Circuit crypto has been
  11686. Curve25519-authenticated since 0.2.4.8-alpha.) We have also replaced
  11687. the guard selection and replacement algorithm to behave more robustly
  11688. in the presence of unreliable networks, and to resist guard-
  11689. capture attacks.
  11690. This series also includes numerous other small features and bugfixes,
  11691. along with more groundwork for the upcoming hidden-services revamp.
  11692. Per our stable release policy, we plan to support the Tor 0.3.0
  11693. release series for at least the next nine months, or for three months
  11694. after the first stable release of the 0.3.1 series: whichever is
  11695. longer. If you need a release with long-term support, we recommend
  11696. that you stay with the 0.2.9 series.
  11697. Below are the changes since 0.3.0.5-rc. For a list of all changes
  11698. since 0.2.9, see the ReleaseNotes file.
  11699. o Minor features (geoip):
  11700. - Update geoip and geoip6 to the April 4 2017 Maxmind GeoLite2
  11701. Country database.
  11702. o Minor bugfixes (control port):
  11703. - The GETINFO extra-info/digest/<digest> command was broken because
  11704. of a wrong base16 decode return value check, introduced when
  11705. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  11706. o Minor bugfixes (crash prevention):
  11707. - Fix a (currently untriggerable, but potentially dangerous) crash
  11708. bug when base32-encoding inputs whose sizes are not a multiple of
  11709. 5. Fixes bug 21894; bugfix on 0.2.9.1-alpha.
  11710. Changes in version 0.3.0.5-rc - 2017-04-05
  11711. Tor 0.3.0.5-rc fixes a few remaining bugs, large and small, in the
  11712. 0.3.0 release series.
  11713. This is the second release candidate in the Tor 0.3.0 series, and has
  11714. much fewer changes than the first. If we find no new bugs or
  11715. regressions here, the first stable 0.3.0 release will be nearly
  11716. identical to it.
  11717. o Major bugfixes (crash, directory connections):
  11718. - Fix a rare crash when sending a begin cell on a circuit whose
  11719. linked directory connection had already been closed. Fixes bug
  11720. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  11721. o Major bugfixes (guard selection):
  11722. - Fix a guard selection bug where Tor would refuse to bootstrap in
  11723. some cases if the user swapped a bridge for another bridge in
  11724. their configuration file. Fixes bug 21771; bugfix on 0.3.0.1-alpha.
  11725. Reported by "torvlnt33r".
  11726. o Minor features (geoip):
  11727. - Update geoip and geoip6 to the March 7 2017 Maxmind GeoLite2
  11728. Country database.
  11729. o Minor bugfix (compilation):
  11730. - Fix a warning when compiling hs_service.c. Previously, it had no
  11731. exported symbols when compiled for libor.a, resulting in a
  11732. compilation warning from clang. Fixes bug 21825; bugfix
  11733. on 0.3.0.1-alpha.
  11734. o Minor bugfixes (hidden services):
  11735. - Make hidden services check for failed intro point connections,
  11736. even when they have exceeded their intro point creation limit.
  11737. Fixes bug 21596; bugfix on 0.2.7.2-alpha. Reported by Alec Muffett.
  11738. - Make hidden services with 8 to 10 introduction points check for
  11739. failed circuits immediately after startup. Previously, they would
  11740. wait for 5 minutes before performing their first checks. Fixes bug
  11741. 21594; bugfix on 0.2.3.9-alpha. Reported by Alec Muffett.
  11742. o Minor bugfixes (memory leaks):
  11743. - Fix a memory leak when using GETCONF on a port option. Fixes bug
  11744. 21682; bugfix on 0.3.0.3-alpha.
  11745. o Minor bugfixes (relay):
  11746. - Avoid a double-marked-circuit warning that could happen when we
  11747. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  11748. on 0.1.0.1-rc.
  11749. o Minor bugfixes (tests):
  11750. - Run the entry_guard_parse_from_state_full() test with the time set
  11751. to a specific date. (The guard state that this test was parsing
  11752. contained guards that had expired since the test was first
  11753. written.) Fixes bug 21799; bugfix on 0.3.0.1-alpha.
  11754. o Documentation:
  11755. - Update the description of the directory server options in the
  11756. manual page, to clarify that a relay no longer needs to set
  11757. DirPort in order to be a directory cache. Closes ticket 21720.
  11758. Changes in version 0.2.8.13 - 2017-03-03
  11759. Tor 0.2.8.13 backports a security fix from later Tor
  11760. releases. Anybody running Tor 0.2.8.12 or earlier should upgrade to this
  11761. this release, if for some reason they cannot upgrade to a later
  11762. release series, and if they build Tor with the --enable-expensive-hardening
  11763. option.
  11764. Note that support for Tor 0.2.8.x is ending next year: we will not issue
  11765. any fixes for the Tor 0.2.8.x series after 1 Jan 2018. If you need
  11766. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  11767. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  11768. - Fix an integer underflow bug when comparing malformed Tor
  11769. versions. This bug could crash Tor when built with
  11770. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  11771. 0.2.9.8, which were built with -ftrapv by default. In other cases
  11772. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  11773. on 0.0.8pre1. Found by OSS-Fuzz.
  11774. o Minor features (geoip):
  11775. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  11776. Country database.
  11777. Changes in version 0.2.7.7 - 2017-03-03
  11778. Tor 0.2.7.7 backports a number of security fixes from later Tor
  11779. releases. Anybody running Tor 0.2.7.6 or earlier should upgrade to
  11780. this release, if for some reason they cannot upgrade to a later
  11781. release series.
  11782. Note that support for Tor 0.2.7.x is ending this year: we will not issue
  11783. any fixes for the Tor 0.2.7.x series after 1 August 2017. If you need
  11784. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  11785. o Directory authority changes (backport from 0.2.8.5-rc):
  11786. - Urras is no longer a directory authority. Closes ticket 19271.
  11787. o Directory authority changes (backport from 0.2.9.2-alpha):
  11788. - The "Tonga" bridge authority has been retired; the new bridge
  11789. authority is "Bifroest". Closes tickets 19728 and 19690.
  11790. o Directory authority key updates (backport from 0.2.8.1-alpha):
  11791. - Update the V3 identity key for the dannenberg directory authority:
  11792. it was changed on 18 November 2015. Closes task 17906. Patch
  11793. by "teor".
  11794. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  11795. - Fix a bug in parsing that could cause clients to read a single
  11796. byte past the end of an allocated region. This bug could be used
  11797. to cause hardened clients (built with --enable-expensive-hardening)
  11798. to crash if they tried to visit a hostile hidden service. Non-
  11799. hardened clients are only affected depending on the details of
  11800. their platform's memory allocator. Fixes bug 21018; bugfix on
  11801. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  11802. 2016-12-002 and as CVE-2016-1254.
  11803. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  11804. - Stop a crash that could occur when a client running with DNSPort
  11805. received a query with multiple address types, and the first
  11806. address type was not supported. Found and fixed by Scott Dial.
  11807. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  11808. - Prevent a class of security bugs caused by treating the contents
  11809. of a buffer chunk as if they were a NUL-terminated string. At
  11810. least one such bug seems to be present in all currently used
  11811. versions of Tor, and would allow an attacker to remotely crash
  11812. most Tor instances, especially those compiled with extra compiler
  11813. hardening. With this defense in place, such bugs can't crash Tor,
  11814. though we should still fix them as they occur. Closes ticket
  11815. 20384 (TROVE-2016-10-001).
  11816. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  11817. - Avoid a difficult-to-trigger heap corruption attack when extending
  11818. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  11819. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  11820. Reported by Guido Vranken.
  11821. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  11822. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  11823. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  11824. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  11825. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  11826. pointer to the previous (uninitialized) key value. The impact here
  11827. should be limited to a difficult-to-trigger crash, if OpenSSL is
  11828. running an engine that makes key generation failures possible, or
  11829. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  11830. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  11831. Baishakhi Ray.
  11832. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  11833. - Fix an integer underflow bug when comparing malformed Tor
  11834. versions. This bug could crash Tor when built with
  11835. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  11836. 0.2.9.8, which were built with -ftrapv by default. In other cases
  11837. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  11838. on 0.0.8pre1. Found by OSS-Fuzz.
  11839. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  11840. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  11841. zero size. Check size argument to memwipe() for underflow. Fixes
  11842. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  11843. patch by "teor".
  11844. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  11845. - Make Tor survive errors involving connections without a
  11846. corresponding event object. Previously we'd fail with an
  11847. assertion; now we produce a log message. Related to bug 16248.
  11848. o Minor features (geoip):
  11849. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  11850. Country database.
  11851. Changes in version 0.2.6.11 - 2017-03-03
  11852. Tor 0.2.6.11 backports a number of security fixes from later Tor
  11853. releases. Anybody running Tor 0.2.6.10 or earlier should upgrade to
  11854. this release, if for some reason they cannot upgrade to a later
  11855. release series.
  11856. Note that support for Tor 0.2.6.x is ending this year: we will not issue
  11857. any fixes for the Tor 0.2.6.x series after 1 August 2017. If you need
  11858. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  11859. o Directory authority changes (backport from 0.2.8.5-rc):
  11860. - Urras is no longer a directory authority. Closes ticket 19271.
  11861. o Directory authority changes (backport from 0.2.9.2-alpha):
  11862. - The "Tonga" bridge authority has been retired; the new bridge
  11863. authority is "Bifroest". Closes tickets 19728 and 19690.
  11864. o Directory authority key updates (backport from 0.2.8.1-alpha):
  11865. - Update the V3 identity key for the dannenberg directory authority:
  11866. it was changed on 18 November 2015. Closes task 17906. Patch
  11867. by "teor".
  11868. o Major features (security fixes, backport from 0.2.9.4-alpha):
  11869. - Prevent a class of security bugs caused by treating the contents
  11870. of a buffer chunk as if they were a NUL-terminated string. At
  11871. least one such bug seems to be present in all currently used
  11872. versions of Tor, and would allow an attacker to remotely crash
  11873. most Tor instances, especially those compiled with extra compiler
  11874. hardening. With this defense in place, such bugs can't crash Tor,
  11875. though we should still fix them as they occur. Closes ticket
  11876. 20384 (TROVE-2016-10-001).
  11877. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  11878. - Fix a bug in parsing that could cause clients to read a single
  11879. byte past the end of an allocated region. This bug could be used
  11880. to cause hardened clients (built with --enable-expensive-hardening)
  11881. to crash if they tried to visit a hostile hidden service. Non-
  11882. hardened clients are only affected depending on the details of
  11883. their platform's memory allocator. Fixes bug 21018; bugfix on
  11884. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  11885. 2016-12-002 and as CVE-2016-1254.
  11886. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  11887. - Stop a crash that could occur when a client running with DNSPort
  11888. received a query with multiple address types, and the first
  11889. address type was not supported. Found and fixed by Scott Dial.
  11890. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  11891. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  11892. - Fix an error that could cause us to read 4 bytes before the
  11893. beginning of an openssl string. This bug could be used to cause
  11894. Tor to crash on systems with unusual malloc implementations, or
  11895. systems with unusual hardening installed. Fixes bug 17404; bugfix
  11896. on 0.2.3.6-alpha.
  11897. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  11898. - Avoid a difficult-to-trigger heap corruption attack when extending
  11899. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  11900. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  11901. Reported by Guido Vranken.
  11902. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  11903. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  11904. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  11905. o Major bugfixes (guard selection, backport from 0.2.7.6):
  11906. - Actually look at the Guard flag when selecting a new directory
  11907. guard. When we implemented the directory guard design, we
  11908. accidentally started treating all relays as if they have the Guard
  11909. flag during guard selection, leading to weaker anonymity and worse
  11910. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  11911. by Mohsen Imani.
  11912. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  11913. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  11914. pointer to the previous (uninitialized) key value. The impact here
  11915. should be limited to a difficult-to-trigger crash, if OpenSSL is
  11916. running an engine that makes key generation failures possible, or
  11917. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  11918. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  11919. Baishakhi Ray.
  11920. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  11921. - Fix an integer underflow bug when comparing malformed Tor
  11922. versions. This bug could crash Tor when built with
  11923. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  11924. 0.2.9.8, which were built with -ftrapv by default. In other cases
  11925. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  11926. on 0.0.8pre1. Found by OSS-Fuzz.
  11927. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  11928. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  11929. zero size. Check size argument to memwipe() for underflow. Fixes
  11930. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  11931. patch by "teor".
  11932. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  11933. - Make Tor survive errors involving connections without a
  11934. corresponding event object. Previously we'd fail with an
  11935. assertion; now we produce a log message. Related to bug 16248.
  11936. o Minor features (geoip):
  11937. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  11938. Country database.
  11939. o Minor bugfixes (compilation, backport from 0.2.7.6):
  11940. - Fix a compilation warning with Clang 3.6: Do not check the
  11941. presence of an address which can never be NULL. Fixes bug 17781.
  11942. Changes in version 0.2.5.13 - 2017-03-03
  11943. Tor 0.2.5.13 backports a number of security fixes from later Tor
  11944. releases. Anybody running Tor 0.2.5.13 or earlier should upgrade to
  11945. this release, if for some reason they cannot upgrade to a later
  11946. release series.
  11947. Note that support for Tor 0.2.5.x is ending next year: we will not issue
  11948. any fixes for the Tor 0.2.5.x series after 1 May 2018. If you need
  11949. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  11950. o Directory authority changes (backport from 0.2.8.5-rc):
  11951. - Urras is no longer a directory authority. Closes ticket 19271.
  11952. o Directory authority changes (backport from 0.2.9.2-alpha):
  11953. - The "Tonga" bridge authority has been retired; the new bridge
  11954. authority is "Bifroest". Closes tickets 19728 and 19690.
  11955. o Directory authority key updates (backport from 0.2.8.1-alpha):
  11956. - Update the V3 identity key for the dannenberg directory authority:
  11957. it was changed on 18 November 2015. Closes task 17906. Patch
  11958. by "teor".
  11959. o Major features (security fixes, backport from 0.2.9.4-alpha):
  11960. - Prevent a class of security bugs caused by treating the contents
  11961. of a buffer chunk as if they were a NUL-terminated string. At
  11962. least one such bug seems to be present in all currently used
  11963. versions of Tor, and would allow an attacker to remotely crash
  11964. most Tor instances, especially those compiled with extra compiler
  11965. hardening. With this defense in place, such bugs can't crash Tor,
  11966. though we should still fix them as they occur. Closes ticket
  11967. 20384 (TROVE-2016-10-001).
  11968. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  11969. - Fix a bug in parsing that could cause clients to read a single
  11970. byte past the end of an allocated region. This bug could be used
  11971. to cause hardened clients (built with --enable-expensive-hardening)
  11972. to crash if they tried to visit a hostile hidden service. Non-
  11973. hardened clients are only affected depending on the details of
  11974. their platform's memory allocator. Fixes bug 21018; bugfix on
  11975. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  11976. 2016-12-002 and as CVE-2016-1254.
  11977. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  11978. - Stop a crash that could occur when a client running with DNSPort
  11979. received a query with multiple address types, and the first
  11980. address type was not supported. Found and fixed by Scott Dial.
  11981. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  11982. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  11983. - Fix an error that could cause us to read 4 bytes before the
  11984. beginning of an openssl string. This bug could be used to cause
  11985. Tor to crash on systems with unusual malloc implementations, or
  11986. systems with unusual hardening installed. Fixes bug 17404; bugfix
  11987. on 0.2.3.6-alpha.
  11988. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  11989. - Avoid a difficult-to-trigger heap corruption attack when extending
  11990. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  11991. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  11992. Reported by Guido Vranken.
  11993. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  11994. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  11995. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  11996. o Major bugfixes (guard selection, backport from 0.2.7.6):
  11997. - Actually look at the Guard flag when selecting a new directory
  11998. guard. When we implemented the directory guard design, we
  11999. accidentally started treating all relays as if they have the Guard
  12000. flag during guard selection, leading to weaker anonymity and worse
  12001. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  12002. by Mohsen Imani.
  12003. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  12004. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  12005. pointer to the previous (uninitialized) key value. The impact here
  12006. should be limited to a difficult-to-trigger crash, if OpenSSL is
  12007. running an engine that makes key generation failures possible, or
  12008. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  12009. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  12010. Baishakhi Ray.
  12011. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  12012. - Fix an integer underflow bug when comparing malformed Tor
  12013. versions. This bug could crash Tor when built with
  12014. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  12015. 0.2.9.8, which were built with -ftrapv by default. In other cases
  12016. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  12017. on 0.0.8pre1. Found by OSS-Fuzz.
  12018. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  12019. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  12020. zero size. Check size argument to memwipe() for underflow. Fixes
  12021. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  12022. patch by "teor".
  12023. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  12024. - Make Tor survive errors involving connections without a
  12025. corresponding event object. Previously we'd fail with an
  12026. assertion; now we produce a log message. Related to bug 16248.
  12027. o Minor features (geoip):
  12028. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  12029. Country database.
  12030. o Minor bugfixes (compilation, backport from 0.2.7.6):
  12031. - Fix a compilation warning with Clang 3.6: Do not check the
  12032. presence of an address which can never be NULL. Fixes bug 17781.
  12033. o Minor bugfixes (crypto error-handling, backport from 0.2.7.2-alpha):
  12034. - Check for failures from crypto_early_init, and refuse to continue.
  12035. A previous typo meant that we could keep going with an
  12036. uninitialized crypto library, and would have OpenSSL initialize
  12037. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  12038. when implementing ticket 4900. Patch by "teor".
  12039. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  12040. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  12041. a client authorized hidden service. Fixes bug 15823; bugfix
  12042. on 0.2.1.6-alpha.
  12043. Changes in version 0.2.4.28 - 2017-03-03
  12044. Tor 0.2.4.28 backports a number of security fixes from later Tor
  12045. releases. Anybody running Tor 0.2.4.27 or earlier should upgrade to
  12046. this release, if for some reason they cannot upgrade to a later
  12047. release series.
  12048. Note that support for Tor 0.2.4.x is ending soon: we will not issue
  12049. any fixes for the Tor 0.2.4.x series after 1 August 2017. If you need
  12050. a Tor release series with long-term support, we recommend Tor 0.2.9.x.
  12051. o Directory authority changes (backport from 0.2.8.5-rc):
  12052. - Urras is no longer a directory authority. Closes ticket 19271.
  12053. o Directory authority changes (backport from 0.2.9.2-alpha):
  12054. - The "Tonga" bridge authority has been retired; the new bridge
  12055. authority is "Bifroest". Closes tickets 19728 and 19690.
  12056. o Directory authority key updates (backport from 0.2.8.1-alpha):
  12057. - Update the V3 identity key for the dannenberg directory authority:
  12058. it was changed on 18 November 2015. Closes task 17906. Patch
  12059. by "teor".
  12060. o Major features (security fixes, backport from 0.2.9.4-alpha):
  12061. - Prevent a class of security bugs caused by treating the contents
  12062. of a buffer chunk as if they were a NUL-terminated string. At
  12063. least one such bug seems to be present in all currently used
  12064. versions of Tor, and would allow an attacker to remotely crash
  12065. most Tor instances, especially those compiled with extra compiler
  12066. hardening. With this defense in place, such bugs can't crash Tor,
  12067. though we should still fix them as they occur. Closes ticket
  12068. 20384 (TROVE-2016-10-001).
  12069. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  12070. - Fix a bug in parsing that could cause clients to read a single
  12071. byte past the end of an allocated region. This bug could be used
  12072. to cause hardened clients (built with --enable-expensive-hardening)
  12073. to crash if they tried to visit a hostile hidden service. Non-
  12074. hardened clients are only affected depending on the details of
  12075. their platform's memory allocator. Fixes bug 21018; bugfix on
  12076. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  12077. 2016-12-002 and as CVE-2016-1254.
  12078. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  12079. - Fix an error that could cause us to read 4 bytes before the
  12080. beginning of an openssl string. This bug could be used to cause
  12081. Tor to crash on systems with unusual malloc implementations, or
  12082. systems with unusual hardening installed. Fixes bug 17404; bugfix
  12083. on 0.2.3.6-alpha.
  12084. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  12085. - Avoid a difficult-to-trigger heap corruption attack when extending
  12086. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  12087. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  12088. Reported by Guido Vranken.
  12089. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  12090. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  12091. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  12092. o Major bugfixes (guard selection, backport from 0.2.7.6):
  12093. - Actually look at the Guard flag when selecting a new directory
  12094. guard. When we implemented the directory guard design, we
  12095. accidentally started treating all relays as if they have the Guard
  12096. flag during guard selection, leading to weaker anonymity and worse
  12097. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  12098. by Mohsen Imani.
  12099. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  12100. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  12101. pointer to the previous (uninitialized) key value. The impact here
  12102. should be limited to a difficult-to-trigger crash, if OpenSSL is
  12103. running an engine that makes key generation failures possible, or
  12104. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  12105. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  12106. Baishakhi Ray.
  12107. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  12108. - Fix an integer underflow bug when comparing malformed Tor
  12109. versions. This bug could crash Tor when built with
  12110. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  12111. 0.2.9.8, which were built with -ftrapv by default. In other cases
  12112. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  12113. on 0.0.8pre1. Found by OSS-Fuzz.
  12114. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  12115. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  12116. zero size. Check size argument to memwipe() for underflow. Fixes
  12117. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  12118. patch by "teor".
  12119. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  12120. - Make Tor survive errors involving connections without a
  12121. corresponding event object. Previously we'd fail with an
  12122. assertion; now we produce a log message. Related to bug 16248.
  12123. o Minor features (DoS-resistance, backport from 0.2.7.1-alpha):
  12124. - Make it harder for attackers to overload hidden services with
  12125. introductions, by blocking multiple introduction requests on the
  12126. same circuit. Resolves ticket 15515.
  12127. o Minor features (geoip):
  12128. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  12129. Country database.
  12130. o Minor bugfixes (compilation, backport from 0.2.7.6):
  12131. - Fix a compilation warning with Clang 3.6: Do not check the
  12132. presence of an address which can never be NULL. Fixes bug 17781.
  12133. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  12134. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  12135. a client authorized hidden service. Fixes bug 15823; bugfix
  12136. on 0.2.1.6-alpha.
  12137. Changes in version 0.3.0.4-rc - 2017-03-01
  12138. Tor 0.3.0.4-rc fixes some remaining bugs, large and small, in the
  12139. 0.3.0 release series, and introduces a few reliability features to
  12140. keep them from coming back.
  12141. This is the first release candidate in the Tor 0.3.0 series. If we
  12142. find no new bugs or regressions here, the first stable 0.3.0 release
  12143. will be nearly identical to it.
  12144. o Major bugfixes (bridges):
  12145. - When the same bridge is configured multiple times with the same
  12146. identity, but at different address:port combinations, treat those
  12147. bridge instances as separate guards. This fix restores the ability
  12148. of clients to configure the same bridge with multiple pluggable
  12149. transports. Fixes bug 21027; bugfix on 0.3.0.1-alpha.
  12150. o Major bugfixes (hidden service directory v3):
  12151. - Stop crashing on a failed v3 hidden service descriptor lookup
  12152. failure. Fixes bug 21471; bugfixes on 0.3.0.1-alpha.
  12153. o Major bugfixes (parsing):
  12154. - When parsing a malformed content-length field from an HTTP
  12155. message, do not read off the end of the buffer. This bug was a
  12156. potential remote denial-of-service attack against Tor clients and
  12157. relays. A workaround was released in October 2016, to prevent this
  12158. bug from crashing Tor. This is a fix for the underlying issue,
  12159. which should no longer matter (if you applied the earlier patch).
  12160. Fixes bug 20894; bugfix on 0.2.0.16-alpha. Bug found by fuzzing
  12161. using AFL (http://lcamtuf.coredump.cx/afl/).
  12162. - Fix an integer underflow bug when comparing malformed Tor
  12163. versions. This bug could crash Tor when built with
  12164. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  12165. 0.2.9.8, which were built with -ftrapv by default. In other cases
  12166. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  12167. on 0.0.8pre1. Found by OSS-Fuzz.
  12168. o Minor feature (protocol versioning):
  12169. - Add new protocol version for proposal 224. HSIntro now advertises
  12170. version "3-4" and HSDir version "1-2". Fixes ticket 20656.
  12171. o Minor features (directory authorities):
  12172. - Directory authorities now reject descriptors that claim to be
  12173. malformed versions of Tor. Helps prevent exploitation of
  12174. bug 21278.
  12175. - Reject version numbers with components that exceed INT32_MAX.
  12176. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  12177. Fixes bug 21450; bugfix on 0.0.8pre1.
  12178. - Directory authorities now reject relays running versions
  12179. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  12180. suffer from bug 20499 and don't keep their consensus cache
  12181. up-to-date. Resolves ticket 20509.
  12182. o Minor features (geoip):
  12183. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  12184. Country database.
  12185. o Minor features (reliability, crash):
  12186. - Try better to detect problems in buffers where they might grow (or
  12187. think they have grown) over 2 GB in size. Diagnostic for
  12188. bug 21369.
  12189. o Minor features (testing):
  12190. - During 'make test-network-all', if tor logs any warnings, ask
  12191. chutney to output them. Requires a recent version of chutney with
  12192. the 21572 patch. Implements 21570.
  12193. o Minor bugfixes (certificate expiration time):
  12194. - Avoid using link certificates that don't become valid till some
  12195. time in the future. Fixes bug 21420; bugfix on 0.2.4.11-alpha
  12196. o Minor bugfixes (code correctness):
  12197. - Repair a couple of (unreachable or harmless) cases of the risky
  12198. comparison-by-subtraction pattern that caused bug 21278.
  12199. - Remove a redundant check for the UseEntryGuards option from the
  12200. options_transition_affects_guards() function. Fixes bug 21492;
  12201. bugfix on 0.3.0.1-alpha.
  12202. o Minor bugfixes (directory mirrors):
  12203. - Allow relays to use directory mirrors without a DirPort: these
  12204. relays need to be contacted over their ORPorts using a begindir
  12205. connection. Fixes one case of bug 20711; bugfix on 0.2.8.2-alpha.
  12206. - Clarify the message logged when a remote relay is unexpectedly
  12207. missing an ORPort or DirPort: users were confusing this with a
  12208. local port. Fixes another case of bug 20711; bugfix
  12209. on 0.2.8.2-alpha.
  12210. o Minor bugfixes (guards):
  12211. - Don't warn about a missing guard state on timeout-measurement
  12212. circuits: they aren't supposed to be using guards. Fixes an
  12213. instance of bug 21007; bugfix on 0.3.0.1-alpha.
  12214. - Silence a BUG() warning when attempting to use a guard whose
  12215. descriptor we don't know, and make this scenario less likely to
  12216. happen. Fixes bug 21415; bugfix on 0.3.0.1-alpha.
  12217. o Minor bugfixes (hidden service):
  12218. - Pass correct buffer length when encoding legacy ESTABLISH_INTRO
  12219. cells. Previously, we were using sizeof() on a pointer, instead of
  12220. the real destination buffer. Fortunately, that value was only used
  12221. to double-check that there was enough room--which was already
  12222. enforced elsewhere. Fixes bug 21553; bugfix on 0.3.0.1-alpha.
  12223. o Minor bugfixes (testing):
  12224. - Fix Raspbian build issues related to missing socket errno in
  12225. test_util.c. Fixes bug 21116; bugfix on 0.2.8.2. Patch
  12226. by "hein".
  12227. - Rename "make fuzz" to "make test-fuzz-corpora", since it doesn't
  12228. actually fuzz anything. Fixes bug 21447; bugfix on 0.3.0.3-alpha.
  12229. - Use bash in src/test/test-network.sh. This ensures we reliably
  12230. call chutney's newer tools/test-network.sh when available. Fixes
  12231. bug 21562; bugfix on 0.2.9.1-alpha.
  12232. o Documentation:
  12233. - Small fixes to the fuzzing documentation. Closes ticket 21472.
  12234. Changes in version 0.2.9.10 - 2017-03-01
  12235. Tor 0.2.9.10 backports a security fix from later Tor release. It also
  12236. includes fixes for some major issues affecting directory authorities,
  12237. LibreSSL compatibility, and IPv6 correctness.
  12238. The Tor 0.2.9.x release series is now marked as a long-term-support
  12239. series. We intend to backport security fixes to 0.2.9.x until at
  12240. least January of 2020.
  12241. o Major bugfixes (directory authority, 0.3.0.3-alpha):
  12242. - During voting, when marking a relay as a probable sybil, do not
  12243. clear its BadExit flag: sybils can still be bad in other ways
  12244. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  12245. on 0.2.0.13-alpha.
  12246. o Major bugfixes (IPv6 Exits, backport from 0.3.0.3-alpha):
  12247. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  12248. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  12249. exit policy rejects that port on more than an IPv6 /16 of
  12250. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  12251. which rejected a relay's own IPv6 address by default. Fixes bug
  12252. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  12253. o Major bugfixes (parsing, also in 0.3.0.4-rc):
  12254. - Fix an integer underflow bug when comparing malformed Tor
  12255. versions. This bug could crash Tor when built with
  12256. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  12257. 0.2.9.8, which were built with -ftrapv by default. In other cases
  12258. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  12259. on 0.0.8pre1. Found by OSS-Fuzz.
  12260. o Minor features (directory authorities, also in 0.3.0.4-rc):
  12261. - Directory authorities now reject descriptors that claim to be
  12262. malformed versions of Tor. Helps prevent exploitation of
  12263. bug 21278.
  12264. - Reject version numbers with components that exceed INT32_MAX.
  12265. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  12266. Fixes bug 21450; bugfix on 0.0.8pre1.
  12267. o Minor features (geoip):
  12268. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  12269. Country database.
  12270. o Minor features (portability, compilation, backport from 0.3.0.3-alpha):
  12271. - Autoconf now checks to determine if OpenSSL structures are opaque,
  12272. instead of explicitly checking for OpenSSL version numbers. Part
  12273. of ticket 21359.
  12274. - Support building with recent LibreSSL code that uses opaque
  12275. structures. Closes ticket 21359.
  12276. o Minor bugfixes (code correctness, also in 0.3.0.4-rc):
  12277. - Repair a couple of (unreachable or harmless) cases of the risky
  12278. comparison-by-subtraction pattern that caused bug 21278.
  12279. o Minor bugfixes (tor-resolve, backport from 0.3.0.3-alpha):
  12280. - The tor-resolve command line tool now rejects hostnames over 255
  12281. characters in length. Previously, it would silently truncate them,
  12282. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  12283. Patch by "junglefowl".
  12284. Changes in version 0.3.0.3-alpha - 2017-02-03
  12285. Tor 0.3.0.3-alpha fixes a few significant bugs introduced over the
  12286. 0.3.0.x development series, including some that could cause
  12287. authorities to behave badly. There is also a fix for a longstanding
  12288. bug that could prevent IPv6 exits from working. Tor 0.3.0.3-alpha also
  12289. includes some smaller features and bugfixes.
  12290. The Tor 0.3.0.x release series is now in patch-freeze: no additional
  12291. features will be considered for inclusion in 0.3.0.x. We suspect that
  12292. some bugs will probably remain, however, and we encourage people to
  12293. test this release.
  12294. o Major bugfixes (directory authority):
  12295. - During voting, when marking a relay as a probable sybil, do not
  12296. clear its BadExit flag: sybils can still be bad in other ways
  12297. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  12298. on 0.2.0.13-alpha.
  12299. - When deciding whether we have just found a router to be reachable,
  12300. do not penalize it for not having performed an Ed25519 link
  12301. handshake if it does not claim to support an Ed25519 handshake.
  12302. Previously, we would treat such relays as non-running. Fixes bug
  12303. 21107; bugfix on 0.3.0.1-alpha.
  12304. o Major bugfixes (entry guards):
  12305. - Stop trying to build circuits through entry guards for which we
  12306. have no descriptor. Also, stop crashing in the case that we *do*
  12307. accidentally try to build a circuit in such a state. Fixes bug
  12308. 21242; bugfix on 0.3.0.1-alpha.
  12309. o Major bugfixes (IPv6 Exits):
  12310. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  12311. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  12312. exit policy rejects that port on more than an IPv6 /16 of
  12313. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  12314. which rejected a relay's own IPv6 address by default. Fixes bug
  12315. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  12316. o Minor feature (client):
  12317. - Enable IPv6 traffic on the SocksPort by default. To disable this,
  12318. a user will have to specify "NoIPv6Traffic". Closes ticket 21269.
  12319. o Minor feature (fallback scripts):
  12320. - Add a check_existing mode to updateFallbackDirs.py, which checks
  12321. if fallbacks in the hard-coded list are working. Closes ticket
  12322. 20174. Patch by haxxpop.
  12323. o Minor features (ciphersuite selection):
  12324. - Clients now advertise a list of ciphersuites closer to the ones
  12325. preferred by Firefox. Closes part of ticket 15426.
  12326. - Allow relays to accept a wider range of ciphersuites, including
  12327. chacha20-poly1305 and AES-CCM. Closes the other part of 15426.
  12328. o Minor features (controller, configuration):
  12329. - Each of the *Port options, such as SocksPort, ORPort, ControlPort,
  12330. and so on, now comes with a __*Port variant that will not be saved
  12331. to the torrc file by the controller's SAVECONF command. This
  12332. change allows TorBrowser to set up a single-use domain socket for
  12333. each time it launches Tor. Closes ticket 20956.
  12334. - The GETCONF command can now query options that may only be
  12335. meaningful in context-sensitive lists. This allows the controller
  12336. to query the mixed SocksPort/__SocksPort style options introduced
  12337. in feature 20956. Implements ticket 21300.
  12338. o Minor features (portability, compilation):
  12339. - Autoconf now checks to determine if OpenSSL structures are opaque,
  12340. instead of explicitly checking for OpenSSL version numbers. Part
  12341. of ticket 21359.
  12342. - Support building with recent LibreSSL code that uses opaque
  12343. structures. Closes ticket 21359.
  12344. o Minor features (relay):
  12345. - We now allow separation of exit and relay traffic to different
  12346. source IP addresses, using the OutboundBindAddressExit and
  12347. OutboundBindAddressOR options respectively. Closes ticket 17975.
  12348. Written by Michael Sonntag.
  12349. o Minor bugfix (logging):
  12350. - Don't recommend the use of Tor2web in non-anonymous mode.
  12351. Recommending Tor2web is a bad idea because the client loses all
  12352. anonymity. Tor2web should only be used in specific cases by users
  12353. who *know* and understand the issues. Fixes bug 21294; bugfix
  12354. on 0.2.9.3-alpha.
  12355. o Minor bugfixes (client):
  12356. - Always recover from failures in extend_info_from_node(), in an
  12357. attempt to prevent any recurrence of bug 21242. Fixes bug 21372;
  12358. bugfix on 0.2.3.1-alpha.
  12359. o Minor bugfixes (client, entry guards):
  12360. - Fix a bug warning (with backtrace) when we fail a channel that
  12361. circuits to fallback directories on it. Fixes bug 21128; bugfix
  12362. on 0.3.0.1-alpha.
  12363. - Fix a spurious bug warning (with backtrace) when removing an
  12364. expired entry guard. Fixes bug 21129; bugfix on 0.3.0.1-alpha.
  12365. - Fix a bug of the new guard algorithm where tor could stall for up
  12366. to 10 minutes before retrying a guard after a long period of no
  12367. network. Fixes bug 21052; bugfix on 0.3.0.1-alpha.
  12368. - Do not try to build circuits until we have descriptors for our
  12369. primary entry guards. Related to fix for bug 21242.
  12370. o Minor bugfixes (configure, autoconf):
  12371. - Rename the configure option --enable-expensive-hardening to
  12372. --enable-fragile-hardening. Expensive hardening makes the tor
  12373. daemon abort when some kinds of issues are detected. Thus, it
  12374. makes tor more at risk of remote crashes but safer against RCE or
  12375. heartbleed bug category. We now try to explain this issue in a
  12376. message from the configure script. Fixes bug 21290; bugfix
  12377. on 0.2.5.4-alpha.
  12378. o Minor bugfixes (controller):
  12379. - Restore the (deprecated) DROPGUARDS controller command. Fixes bug
  12380. 20824; bugfix on 0.3.0.1-alpha.
  12381. o Minor bugfixes (hidden service):
  12382. - Clean up the code for expiring intro points with no associated
  12383. circuits. It was causing, rarely, a service with some expiring
  12384. introduction points to not open enough additional introduction
  12385. points. Fixes part of bug 21302; bugfix on 0.2.7.2-alpha.
  12386. - Stop setting the torrc option HiddenServiceStatistics to "0" just
  12387. because we're not a bridge or relay. Instead, we preserve whatever
  12388. value the user set (or didn't set). Fixes bug 21150; bugfix
  12389. on 0.2.6.2-alpha.
  12390. - Resolve two possible underflows which could lead to creating and
  12391. closing a lot of introduction point circuits in a non-stop loop.
  12392. Fixes bug 21302; bugfix on 0.2.7.2-alpha.
  12393. o Minor bugfixes (portability):
  12394. - Use "OpenBSD" compiler macro instead of "OPENBSD" or "__OpenBSD__".
  12395. It is supported by OpenBSD itself, and also by most OpenBSD
  12396. variants (such as Bitrig). Fixes bug 20980; bugfix
  12397. on 0.1.2.1-alpha.
  12398. - When mapping a file of length greater than SIZE_MAX, do not
  12399. silently truncate its contents. This issue could occur on 32 bit
  12400. systems with large file support and files which are larger than 4
  12401. GB. Fixes bug 21134; bugfix on 0.3.0.1-alpha.
  12402. o Minor bugfixes (tor-resolve):
  12403. - The tor-resolve command line tool now rejects hostnames over 255
  12404. characters in length. Previously, it would silently truncate them,
  12405. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  12406. Patch by "junglefowl".
  12407. o Minor bugfixes (Windows services):
  12408. - Be sure to initialize the monotonic time subsystem before using
  12409. it, even when running as an NT service. Fixes bug 21356; bugfix
  12410. on 0.2.9.1-alpha.
  12411. Changes in version 0.3.0.2-alpha - 2017-01-23
  12412. Tor 0.3.0.2-alpha fixes a denial-of-service bug where an attacker could
  12413. cause relays and clients to crash, even if they were not built with
  12414. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  12415. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  12416. version should upgrade.
  12417. Tor 0.3.0.2-alpha also improves how exit relays and clients handle DNS
  12418. time-to-live values, makes directory authorities enforce the 1-to-1
  12419. mapping of relay RSA identity keys to ED25519 identity keys, fixes a
  12420. client-side onion service reachability bug, does better at selecting
  12421. the set of fallback directories, and more.
  12422. o Major bugfixes (security, also in 0.2.9.9):
  12423. - Downgrade the "-ftrapv" option from "always on" to "only on when
  12424. --enable-expensive-hardening is provided." This hardening option, like
  12425. others, can turn survivable bugs into crashes--and having it on by
  12426. default made a (relatively harmless) integer overflow bug into a
  12427. denial-of-service bug. Fixes bug 21278 (TROVE-2017-001); bugfix on
  12428. 0.2.9.1-alpha.
  12429. o Major features (security):
  12430. - Change the algorithm used to decide DNS TTLs on client and server
  12431. side, to better resist DNS-based correlation attacks like the
  12432. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  12433. Feamster. Now relays only return one of two possible DNS TTL
  12434. values, and clients are willing to believe DNS TTL values up to 3
  12435. hours long. Closes ticket 19769.
  12436. o Major features (directory authority, security):
  12437. - The default for AuthDirPinKeys is now 1: directory authorities
  12438. will reject relays where the RSA identity key matches a previously
  12439. seen value, but the Ed25519 key has changed. Closes ticket 18319.
  12440. o Major bugfixes (client, guard, crash):
  12441. - In circuit_get_global_origin_list(), return the actual list of
  12442. origin circuits. The previous version of this code returned the
  12443. list of all the circuits, and could have caused strange bugs,
  12444. including possible crashes. Fixes bug 21118; bugfix
  12445. on 0.3.0.1-alpha.
  12446. o Major bugfixes (client, onion service, also in 0.2.9.9):
  12447. - Fix a client-side onion service reachability bug, where multiple
  12448. socks requests to an onion service (or a single slow request)
  12449. could cause us to mistakenly mark some of the service's
  12450. introduction points as failed, and we cache that failure so
  12451. eventually we run out and can't reach the service. Also resolves a
  12452. mysterious "Remote server sent bogus reason code 65021" log
  12453. warning. The bug was introduced in ticket 17218, where we tried to
  12454. remember the circuit end reason as a uint16_t, which mangled
  12455. negative values. Partially fixes bug 21056 and fixes bug 20307;
  12456. bugfix on 0.2.8.1-alpha.
  12457. o Major bugfixes (DNS):
  12458. - Fix a bug that prevented exit nodes from caching DNS records for
  12459. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  12460. o Minor features (controller):
  12461. - Add "GETINFO sr/current" and "GETINFO sr/previous" keys, to expose
  12462. shared-random values to the controller. Closes ticket 19925.
  12463. o Minor features (entry guards):
  12464. - Add UseEntryGuards to TEST_OPTIONS_DEFAULT_VALUES in order to not
  12465. break regression tests.
  12466. - Require UseEntryGuards when UseBridges is set, in order to make
  12467. sure bridges aren't bypassed. Resolves ticket 20502.
  12468. o Minor features (fallback directories):
  12469. - Select 200 fallback directories for each release. Closes
  12470. ticket 20881.
  12471. - Allow 3 fallback relays per operator, which is safe now that we
  12472. are choosing 200 fallback relays. Closes ticket 20912.
  12473. - Exclude relays affected by bug 20499 from the fallback list.
  12474. Exclude relays from the fallback list if they are running versions
  12475. known to be affected by bug 20499, or if in our tests they deliver
  12476. a stale consensus (i.e. one that expired more than 24 hours ago).
  12477. Closes ticket 20539.
  12478. - Reduce the minimum fallback bandwidth to 1 MByte/s. Part of
  12479. ticket 18828.
  12480. - Require fallback directories to have the same address and port for
  12481. 7 days (now that we have enough relays with this stability).
  12482. Relays whose OnionOO stability timer is reset on restart by bug
  12483. 18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for
  12484. this issue. Closes ticket 20880; maintains short-term fix
  12485. in 0.2.8.2-alpha.
  12486. - Require fallbacks to have flags for 90% of the time (weighted
  12487. decaying average), rather than 95%. This allows at least 73% of
  12488. clients to bootstrap in the first 5 seconds without contacting an
  12489. authority. Part of ticket 18828.
  12490. - Annotate updateFallbackDirs.py with the bandwidth and consensus
  12491. weight for each candidate fallback. Closes ticket 20878.
  12492. - Make it easier to change the output sort order of fallbacks.
  12493. Closes ticket 20822.
  12494. - Display the relay fingerprint when downloading consensuses from
  12495. fallbacks. Closes ticket 20908.
  12496. o Minor features (geoip, also in 0.2.9.9):
  12497. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  12498. Country database.
  12499. o Minor features (next-gen onion service directories):
  12500. - Remove the "EnableOnionServicesV3" consensus parameter that we
  12501. introduced in 0.3.0.1-alpha: relays are now always willing to act
  12502. as v3 onion service directories. Resolves ticket 19899.
  12503. o Minor features (linting):
  12504. - Enhance the changes file linter to warn on Tor versions that are
  12505. prefixed with "tor-". Closes ticket 21096.
  12506. o Minor features (logging):
  12507. - In several places, describe unset ed25519 keys as "<unset>",
  12508. rather than the scary "AAAAAAAA...AAA". Closes ticket 21037.
  12509. o Minor bugfix (control protocol):
  12510. - The reply to a "GETINFO config/names" request via the control
  12511. protocol now spells the type "Dependent" correctly. This is a
  12512. breaking change in the control protocol. (The field seems to be
  12513. ignored by the most common known controllers.) Fixes bug 18146;
  12514. bugfix on 0.1.1.4-alpha.
  12515. o Minor bugfixes (bug resilience):
  12516. - Fix an unreachable size_t overflow in base64_decode(). Fixes bug
  12517. 19222; bugfix on 0.2.0.9-alpha. Found by Guido Vranken; fixed by
  12518. Hans Jerry Illikainen.
  12519. o Minor bugfixes (build):
  12520. - Replace obsolete Autoconf macros with their modern equivalent and
  12521. prevent similar issues in the future. Fixes bug 20990; bugfix
  12522. on 0.1.0.1-rc.
  12523. o Minor bugfixes (client, guards):
  12524. - Fix bug where Tor would think that there are circuits waiting for
  12525. better guards even though those circuits have been freed. Fixes
  12526. bug 21142; bugfix on 0.3.0.1-alpha.
  12527. o Minor bugfixes (config):
  12528. - Don't assert on startup when trying to get the options list and
  12529. LearnCircuitBuildTimeout is set to 0: we are currently parsing the
  12530. options so of course they aren't ready yet. Fixes bug 21062;
  12531. bugfix on 0.2.9.3-alpha.
  12532. o Minor bugfixes (controller):
  12533. - Make the GETINFO interface for inquiring about entry guards
  12534. support the new guards backend. Fixes bug 20823; bugfix
  12535. on 0.3.0.1-alpha.
  12536. o Minor bugfixes (dead code):
  12537. - Remove a redundant check for PidFile changes at runtime in
  12538. options_transition_allowed(): this check is already performed
  12539. regardless of whether the sandbox is active. Fixes bug 21123;
  12540. bugfix on 0.2.5.4-alpha.
  12541. o Minor bugfixes (documentation):
  12542. - Update the tor manual page to document every option that can not
  12543. be changed while tor is running. Fixes bug 21122.
  12544. o Minor bugfixes (fallback directories):
  12545. - Stop failing when a relay has no uptime data in
  12546. updateFallbackDirs.py. Fixes bug 20945; bugfix on 0.2.8.1-alpha.
  12547. - Avoid checking fallback candidates' DirPorts if they are down in
  12548. OnionOO. When a relay operator has multiple relays, this
  12549. prioritizes relays that are up over relays that are down. Fixes
  12550. bug 20926; bugfix on 0.2.8.3-alpha.
  12551. - Stop failing when OUTPUT_COMMENTS is True in updateFallbackDirs.py.
  12552. Fixes bug 20877; bugfix on 0.2.8.3-alpha.
  12553. o Minor bugfixes (guards, bootstrapping):
  12554. - When connecting to a directory guard during bootstrap, do not mark
  12555. the guard as successful until we receive a good-looking directory
  12556. response from it. Fixes bug 20974; bugfix on 0.3.0.1-alpha.
  12557. o Minor bugfixes (onion services):
  12558. - Fix the config reload pruning of old vs new services so it
  12559. actually works when both ephemeral and non-ephemeral services are
  12560. configured. Fixes bug 21054; bugfix on 0.3.0.1-alpha.
  12561. - Allow the number of introduction points to be as low as 0, rather
  12562. than as low as 3. Fixes bug 21033; bugfix on 0.2.7.2-alpha.
  12563. o Minor bugfixes (IPv6):
  12564. - Make IPv6-using clients try harder to find an IPv6 directory
  12565. server. Fixes bug 20999; bugfix on 0.2.8.2-alpha.
  12566. - When IPv6 addresses have not been downloaded yet (microdesc
  12567. consensus documents don't list relay IPv6 addresses), use hard-
  12568. coded addresses for authorities, fallbacks, and configured
  12569. bridges. Now IPv6-only clients can use microdescriptors. Fixes bug
  12570. 20996; bugfix on b167e82 from 19608 in 0.2.8.5-alpha.
  12571. o Minor bugfixes (memory leaks):
  12572. - Fix a memory leak when configuring hidden services. Fixes bug
  12573. 20987; bugfix on 0.3.0.1-alpha.
  12574. o Minor bugfixes (portability, also in 0.2.9.9):
  12575. - Avoid crashing when Tor is built using headers that contain
  12576. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  12577. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  12578. on 0.2.9.1-alpha.
  12579. - Fix Libevent detection on platforms without Libevent 1 headers
  12580. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  12581. o Minor bugfixes (relay):
  12582. - Honor DataDirectoryGroupReadable when tor is a relay. Previously,
  12583. initializing the keys would reset the DataDirectory to 0700
  12584. instead of 0750 even if DataDirectoryGroupReadable was set to 1.
  12585. Fixes bug 19953; bugfix on 0.0.2pre16. Patch by "redfish".
  12586. o Minor bugfixes (testing):
  12587. - Remove undefined behavior from the backtrace generator by removing
  12588. its signal handler. Fixes bug 21026; bugfix on 0.2.5.2-alpha.
  12589. o Minor bugfixes (unit tests):
  12590. - Allow the unit tests to pass even when DNS lookups of bogus
  12591. addresses do not fail as expected. Fixes bug 20862 and 20863;
  12592. bugfix on unit tests introduced in 0.2.8.1-alpha
  12593. through 0.2.9.4-alpha.
  12594. o Code simplification and refactoring:
  12595. - Refactor code to manipulate global_origin_circuit_list into
  12596. separate functions. Closes ticket 20921.
  12597. o Documentation (formatting):
  12598. - Clean up formatting of tor.1 man page and HTML doc, where <pre>
  12599. blocks were incorrectly appearing. Closes ticket 20885.
  12600. o Documentation (man page):
  12601. - Clarify many options in tor.1 and add some min/max values for
  12602. HiddenService options. Closes ticket 21058.
  12603. Changes in version 0.2.9.9 - 2017-01-23
  12604. Tor 0.2.9.9 fixes a denial-of-service bug where an attacker could
  12605. cause relays and clients to crash, even if they were not built with
  12606. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  12607. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  12608. version should upgrade.
  12609. This release also resolves a client-side onion service reachability
  12610. bug, and resolves a pair of small portability issues.
  12611. o Major bugfixes (security):
  12612. - Downgrade the "-ftrapv" option from "always on" to "only on when
  12613. --enable-expensive-hardening is provided." This hardening option,
  12614. like others, can turn survivable bugs into crashes -- and having
  12615. it on by default made a (relatively harmless) integer overflow bug
  12616. into a denial-of-service bug. Fixes bug 21278 (TROVE-2017-001);
  12617. bugfix on 0.2.9.1-alpha.
  12618. o Major bugfixes (client, onion service):
  12619. - Fix a client-side onion service reachability bug, where multiple
  12620. socks requests to an onion service (or a single slow request)
  12621. could cause us to mistakenly mark some of the service's
  12622. introduction points as failed, and we cache that failure so
  12623. eventually we run out and can't reach the service. Also resolves a
  12624. mysterious "Remote server sent bogus reason code 65021" log
  12625. warning. The bug was introduced in ticket 17218, where we tried to
  12626. remember the circuit end reason as a uint16_t, which mangled
  12627. negative values. Partially fixes bug 21056 and fixes bug 20307;
  12628. bugfix on 0.2.8.1-alpha.
  12629. o Minor features (geoip):
  12630. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  12631. Country database.
  12632. o Minor bugfixes (portability):
  12633. - Avoid crashing when Tor is built using headers that contain
  12634. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  12635. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  12636. on 0.2.9.1-alpha.
  12637. - Fix Libevent detection on platforms without Libevent 1 headers
  12638. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  12639. Changes in version 0.3.0.1-alpha - 2016-12-19
  12640. Tor 0.3.0.1-alpha is the first alpha release in the 0.3.0 development
  12641. series. It strengthens Tor's link and circuit handshakes by
  12642. identifying relays by their Ed25519 keys, improves the algorithm that
  12643. clients use to choose and maintain their list of guards, and includes
  12644. additional backend support for the next-generation hidden service
  12645. design. It also contains numerous other small features and
  12646. improvements to security, correctness, and performance.
  12647. Below are the changes since 0.2.9.8.
  12648. o Major features (guard selection algorithm):
  12649. - Tor's guard selection algorithm has been redesigned from the
  12650. ground up, to better support unreliable networks and restrictive
  12651. sets of entry nodes, and to better resist guard-capture attacks by
  12652. hostile local networks. Implements proposal 271; closes
  12653. ticket 19877.
  12654. o Major features (next-generation hidden services):
  12655. - Relays can now handle v3 ESTABLISH_INTRO cells as specified by
  12656. prop224 aka "Next Generation Hidden Services". Service and clients
  12657. don't use this functionality yet. Closes ticket 19043. Based on
  12658. initial code by Alec Heifetz.
  12659. - Relays now support the HSDir version 3 protocol, so that they can
  12660. can store and serve v3 descriptors. This is part of the next-
  12661. generation onion service work detailed in proposal 224. Closes
  12662. ticket 17238.
  12663. o Major features (protocol, ed25519 identity keys):
  12664. - Relays now use Ed25519 to prove their Ed25519 identities and to
  12665. one another, and to clients. This algorithm is faster and more
  12666. secure than the RSA-based handshake we've been doing until now.
  12667. Implements the second big part of proposal 220; Closes
  12668. ticket 15055.
  12669. - Clients now support including Ed25519 identity keys in the EXTEND2
  12670. cells they generate. By default, this is controlled by a consensus
  12671. parameter, currently disabled. You can turn this feature on for
  12672. testing by setting ExtendByEd25519ID in your configuration. This
  12673. might make your traffic appear different than the traffic
  12674. generated by other users, however. Implements part of ticket
  12675. 15056; part of proposal 220.
  12676. - Relays now understand requests to extend to other relays by their
  12677. Ed25519 identity keys. When an Ed25519 identity key is included in
  12678. an EXTEND2 cell, the relay will only extend the circuit if the
  12679. other relay can prove ownership of that identity. Implements part
  12680. of ticket 15056; part of proposal 220.
  12681. o Major bugfixes (scheduler):
  12682. - Actually compare circuit policies in ewma_cmp_cmux(). This bug
  12683. caused the channel scheduler to behave more or less randomly,
  12684. rather than preferring channels with higher-priority circuits.
  12685. Fixes bug 20459; bugfix on 0.2.6.2-alpha.
  12686. o Minor features (controller):
  12687. - When HSFETCH arguments cannot be parsed, say "Invalid argument"
  12688. rather than "unrecognized." Closes ticket 20389; patch from
  12689. Ivan Markin.
  12690. o Minor features (diagnostic, directory client):
  12691. - Warn when we find an unexpected inconsistency in directory
  12692. download status objects. Prevents some negative consequences of
  12693. bug 20593.
  12694. o Minor features (directory authority):
  12695. - Add a new authority-only AuthDirTestEd25519LinkKeys option (on by
  12696. default) to control whether authorities should try to probe relays
  12697. by their Ed25519 link keys. This option will go away in a few
  12698. releases--unless we encounter major trouble in our ed25519 link
  12699. protocol rollout, in which case it will serve as a safety option.
  12700. o Minor features (directory cache):
  12701. - Relays and bridges will now refuse to serve the consensus they
  12702. have if they know it is too old for a client to use. Closes
  12703. ticket 20511.
  12704. o Minor features (ed25519 link handshake):
  12705. - Advertise support for the ed25519 link handshake using the
  12706. subprotocol-versions mechanism, so that clients can tell which
  12707. relays can identity themselves by Ed25519 ID. Closes ticket 20552.
  12708. o Minor features (fingerprinting resistance, authentication):
  12709. - Extend the length of RSA keys used for TLS link authentication to
  12710. 2048 bits. (These weren't used for forward secrecy; for forward
  12711. secrecy, we used P256.) Closes ticket 13752.
  12712. o Minor features (infrastructure):
  12713. - Implement smartlist_add_strdup() function. Replaces the use of
  12714. smartlist_add(sl, tor_strdup(str)). Closes ticket 20048.
  12715. o Minor bugfixes (client):
  12716. - When clients that use bridges start up with a cached consensus on
  12717. disk, they were ignoring it and downloading a new one. Now they
  12718. use the cached one. Fixes bug 20269; bugfix on 0.2.3.12-alpha.
  12719. o Minor bugfixes (configuration):
  12720. - Accept non-space whitespace characters after the severity level in
  12721. the `Log` option. Fixes bug 19965; bugfix on 0.2.1.1-alpha.
  12722. - Support "TByte" and "TBytes" units in options given in bytes.
  12723. "TB", "terabyte(s)", "TBit(s)" and "terabit(s)" were already
  12724. supported. Fixes bug 20622; bugfix on 0.2.0.14-alpha.
  12725. o Minor bugfixes (consensus weight):
  12726. - Add new consensus method that initializes bw weights to 1 instead
  12727. of 0. This prevents a zero weight from making it all the way to
  12728. the end (happens in small testing networks) and causing an error.
  12729. Fixes bug 14881; bugfix on 0.2.2.17-alpha.
  12730. o Minor bugfixes (descriptors):
  12731. - Correctly recognise downloaded full descriptors as valid, even
  12732. when using microdescriptors as circuits. This affects clients with
  12733. FetchUselessDescriptors set, and may affect directory authorities.
  12734. Fixes bug 20839; bugfix on 0.2.3.2-alpha.
  12735. o Minor bugfixes (directory system):
  12736. - Download all consensus flavors, descriptors, and authority
  12737. certificates when FetchUselessDescriptors is set, regardless of
  12738. whether tor is a directory cache or not. Fixes bug 20667; bugfix
  12739. on all recent tor versions.
  12740. - Bridges and relays now use microdescriptors (like clients do)
  12741. rather than old-style router descriptors. Now bridges will blend
  12742. in with clients in terms of the circuits they build. Fixes bug
  12743. 6769; bugfix on 0.2.3.2-alpha.
  12744. o Minor bugfixes (ed25519 certificates):
  12745. - Correctly interpret ed25519 certificates that would expire some
  12746. time after 19 Jan 2038. Fixes bug 20027; bugfix on 0.2.7.2-alpha.
  12747. o Minor bugfixes (hidden services):
  12748. - Stop ignoring misconfigured hidden services. Instead, refuse to
  12749. start tor until the misconfigurations have been corrected. Fixes
  12750. bug 20559; bugfix on multiple commits in 0.2.7.1-alpha
  12751. and earlier.
  12752. o Minor bugfixes (memory leak at exit):
  12753. - Fix a small harmless memory leak at exit of the previously unused
  12754. RSA->Ed identity cross-certificate. Fixes bug 17779; bugfix
  12755. on 0.2.7.2-alpha.
  12756. o Minor bugfixes (util):
  12757. - When finishing writing a file to disk, if we were about to replace
  12758. the file with the temporary file created before and we fail to
  12759. replace it, remove the temporary file so it doesn't stay on disk.
  12760. Fixes bug 20646; bugfix on 0.2.0.7-alpha. Patch by fk.
  12761. o Minor bugfixes (Windows):
  12762. - Check for getpagesize before using it to mmap files. This fixes
  12763. compilation in some MinGW environments. Fixes bug 20530; bugfix on
  12764. 0.1.2.1-alpha. Reported by "ice".
  12765. o Code simplification and refactoring:
  12766. - Abolish all global guard context in entrynodes.c; replace with new
  12767. guard_selection_t structure as preparation for proposal 271.
  12768. Closes ticket 19858.
  12769. - Introduce rend_service_is_ephemeral() that tells if given onion
  12770. service is ephemeral. Replace unclear NULL-checkings for service
  12771. directory with this function. Closes ticket 20526.
  12772. - Extract magic numbers in circuituse.c into defined variables.
  12773. - Refactor circuit_is_available_for_use to remove unnecessary check.
  12774. - Refactor circuit_predict_and_launch_new for readability and
  12775. testability. Closes ticket 18873.
  12776. - Refactor large if statement in purpose_needs_anonymity to use
  12777. switch statement instead. Closes part of ticket 20077.
  12778. - Refactor the hashing API to return negative values for errors, as
  12779. is done as throughout the codebase. Closes ticket 20717.
  12780. - Remove data structures that were used to index or_connection
  12781. objects by their RSA identity digests. These structures are fully
  12782. redundant with the similar structures used in the
  12783. channel abstraction.
  12784. - Remove duplicate code in the channel_write_*cell() functions.
  12785. Closes ticket 13827; patch from Pingl.
  12786. - Remove redundant behavior of is_sensitive_dir_purpose, refactor to
  12787. use only purpose_needs_anonymity. Closes part of ticket 20077.
  12788. - The code to generate and parse EXTEND and EXTEND2 cells has been
  12789. replaced with code automatically generated by the
  12790. "trunnel" utility.
  12791. o Documentation:
  12792. - Include the "TBits" unit in Tor's man page. Fixes part of bug
  12793. 20622; bugfix on 0.2.5.1-alpha.
  12794. - Change '1' to 'weight_scale' in consensus bw weights calculation
  12795. comments, as that is reality. Closes ticket 20273. Patch
  12796. from pastly.
  12797. - Correct the value for AuthDirGuardBWGuarantee in the manpage, from
  12798. 250 KBytes to 2 MBytes. Fixes bug 20435; bugfix
  12799. on 0.2.5.6-alpha.
  12800. - Stop the man page from incorrectly stating that HiddenServiceDir
  12801. must already exist. Fixes 20486.
  12802. - Clarify that when ClientRejectInternalAddresses is enabled (which
  12803. is the default), multicast DNS hostnames for machines on the local
  12804. network (of the form *.local) are also rejected. Closes
  12805. ticket 17070.
  12806. o Removed features:
  12807. - The AuthDirMaxServersPerAuthAddr option no longer exists: The same
  12808. limit for relays running on a single IP applies to authority IP
  12809. addresses as well as to non-authority IP addresses. Closes
  12810. ticket 20960.
  12811. - The UseDirectoryGuards torrc option no longer exists: all users
  12812. that use entry guards will also use directory guards. Related to
  12813. proposal 271; implements part of ticket 20831.
  12814. o Testing:
  12815. - New unit tests for tor_htonll(). Closes ticket 19563. Patch
  12816. from "overcaffeinated".
  12817. - Perform the coding style checks when running the tests and fail
  12818. when coding style violations are found. Closes ticket 5500.
  12819. - Add tests for networkstatus_compute_bw_weights_v10.
  12820. - Add unit tests circuit_predict_and_launch_new.
  12821. - Extract dummy_origin_circuit_new so it can be used by other
  12822. test functions.
  12823. Changes in version 0.2.8.12 - 2016-12-19
  12824. Tor 0.2.8.12 backports a fix for a medium-severity issue (bug 21018
  12825. below) where Tor clients could crash when attempting to visit a
  12826. hostile hidden service. Clients are recommended to upgrade as packages
  12827. become available for their systems.
  12828. It also includes an updated list of fallback directories, backported
  12829. from 0.2.9.
  12830. Now that the Tor 0.2.9 series is stable, only major bugfixes will be
  12831. backported to 0.2.8 in the future.
  12832. o Major bugfixes (parsing, security, backported from 0.2.9.8):
  12833. - Fix a bug in parsing that could cause clients to read a single
  12834. byte past the end of an allocated region. This bug could be used
  12835. to cause hardened clients (built with --enable-expensive-hardening)
  12836. to crash if they tried to visit a hostile hidden service. Non-
  12837. hardened clients are only affected depending on the details of
  12838. their platform's memory allocator. Fixes bug 21018; bugfix on
  12839. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  12840. 2016-12-002 and as CVE-2016-1254.
  12841. o Minor features (fallback directory list, backported from 0.2.9.8):
  12842. - Replace the 81 remaining fallbacks of the 100 originally
  12843. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  12844. fallbacks (123 new, 54 existing, 27 removed) generated in December
  12845. 2016. Resolves ticket 20170.
  12846. o Minor features (geoip, backported from 0.2.9.7-rc):
  12847. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  12848. Country database.
  12849. Changes in version 0.2.9.8 - 2016-12-19
  12850. Tor 0.2.9.8 is the first stable release of the Tor 0.2.9 series.
  12851. The Tor 0.2.9 series makes mandatory a number of security features
  12852. that were formerly optional. It includes support for a new shared-
  12853. randomness protocol that will form the basis for next generation
  12854. hidden services, includes a single-hop hidden service mode for
  12855. optimizing .onion services that don't actually want to be hidden,
  12856. tries harder not to overload the directory authorities with excessive
  12857. downloads, and supports a better protocol versioning scheme for
  12858. improved compatibility with other implementations of the Tor protocol.
  12859. And of course, there are numerous other bugfixes and improvements.
  12860. This release also includes a fix for a medium-severity issue (bug
  12861. 21018 below) where Tor clients could crash when attempting to visit a
  12862. hostile hidden service. Clients are recommended to upgrade as packages
  12863. become available for their systems.
  12864. Below are the changes since 0.2.9.7-rc. For a list of all changes
  12865. since 0.2.8, see the ReleaseNotes file.
  12866. o Major bugfixes (parsing, security):
  12867. - Fix a bug in parsing that could cause clients to read a single
  12868. byte past the end of an allocated region. This bug could be used
  12869. to cause hardened clients (built with --enable-expensive-hardening)
  12870. to crash if they tried to visit a hostile hidden service. Non-
  12871. hardened clients are only affected depending on the details of
  12872. their platform's memory allocator. Fixes bug 21018; bugfix on
  12873. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  12874. 2016-12-002 and as CVE-2016-1254.
  12875. o Minor features (fallback directory list):
  12876. - Replace the 81 remaining fallbacks of the 100 originally
  12877. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  12878. fallbacks (123 new, 54 existing, 27 removed) generated in December
  12879. 2016. Resolves ticket 20170.
  12880. Changes in version 0.2.9.7-rc - 2016-12-12
  12881. Tor 0.2.9.7-rc fixes a few small bugs remaining in Tor 0.2.9.6-rc,
  12882. including a few that had prevented tests from passing on
  12883. some platforms.
  12884. o Minor features (geoip):
  12885. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  12886. Country database.
  12887. o Minor bugfix (build):
  12888. - The current Git revision when building from a local repository is
  12889. now detected correctly when using git worktrees. Fixes bug 20492;
  12890. bugfix on 0.2.3.9-alpha.
  12891. o Minor bugfixes (directory authority):
  12892. - When computing old Tor protocol line version in protover, we were
  12893. looking at 0.2.7.5 twice instead of a specific case for
  12894. 0.2.9.1-alpha. Fixes bug 20810; bugfix on 0.2.9.4-alpha.
  12895. o Minor bugfixes (download scheduling):
  12896. - Resolve a "bug" warning when considering a download schedule whose
  12897. delay had approached INT_MAX. Fixes 20875; bugfix on 0.2.9.5-alpha.
  12898. o Minor bugfixes (logging):
  12899. - Downgrade a harmless log message about the
  12900. pending_entry_connections list from "warn" to "info". Mitigates
  12901. bug 19926.
  12902. o Minor bugfixes (memory leak):
  12903. - Fix a small memory leak when receiving AF_UNIX connections on a
  12904. SocksPort. Fixes bug 20716; bugfix on 0.2.6.3-alpha.
  12905. - When moving a signed descriptor object from a source to an
  12906. existing destination, free the allocated memory inside that
  12907. destination object. Fixes bug 20715; bugfix on 0.2.8.3-alpha.
  12908. o Minor bugfixes (memory leak, use-after-free, linux seccomp2 sandbox):
  12909. - Fix a memory leak and use-after-free error when removing entries
  12910. from the sandbox's getaddrinfo() cache. Fixes bug 20710; bugfix on
  12911. 0.2.5.5-alpha. Patch from "cypherpunks".
  12912. o Minor bugfixes (portability):
  12913. - Use the correct spelling of MAC_OS_X_VERSION_10_12 on configure.ac
  12914. Fixes bug 20935; bugfix on 0.2.9.6-rc.
  12915. o Minor bugfixes (unit tests):
  12916. - Stop expecting NetBSD unit tests to report success for ipfw. Part
  12917. of a fix for bug 19960; bugfix on 0.2.9.5-alpha.
  12918. - Fix tolerances in unit tests for monotonic time comparisons
  12919. between nanoseconds and microseconds. Previously, we accepted a 10
  12920. us difference only, which is not realistic on every platform's
  12921. clock_gettime(). Fixes bug 19974; bugfix on 0.2.9.1-alpha.
  12922. - Remove a double-free in the single onion service unit test. Stop
  12923. ignoring a return value. Make future changes less error-prone.
  12924. Fixes bug 20864; bugfix on 0.2.9.6-rc.
  12925. Changes in version 0.2.8.11 - 2016-12-08
  12926. Tor 0.2.8.11 backports fixes for additional portability issues that
  12927. could prevent Tor from building correctly on OSX Sierra, or with
  12928. OpenSSL 1.1. Affected users should upgrade; others can safely stay
  12929. with 0.2.8.10.
  12930. o Minor bugfixes (portability):
  12931. - Avoid compilation errors when building on OSX Sierra. Sierra began
  12932. to support the getentropy() and clock_gettime() APIs, but created
  12933. a few problems in doing so. Tor 0.2.9 has a more thorough set of
  12934. workarounds; in 0.2.8, we are just using the /dev/urandom and mach
  12935. monotonic time interfaces. Fixes bug 20865. Bugfix
  12936. on 0.2.8.1-alpha.
  12937. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  12938. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  12939. architectures. Closes ticket 20588.
  12940. Changes in version 0.2.8.10 - 2016-12-02
  12941. Tor 0.2.8.10 backports a fix for a bug that would sometimes make clients
  12942. unusable after they left standby mode. It also backports fixes for
  12943. a few portability issues and a small but problematic memory leak.
  12944. o Major bugfixes (client reliability, backport from 0.2.9.5-alpha):
  12945. - When Tor leaves standby because of a new application request, open
  12946. circuits as needed to serve that request. Previously, we would
  12947. potentially wait a very long time. Fixes part of bug 19969; bugfix
  12948. on 0.2.8.1-alpha.
  12949. o Major bugfixes (client performance, backport from 0.2.9.5-alpha):
  12950. - Clients now respond to new application stream requests immediately
  12951. when they arrive, rather than waiting up to one second before
  12952. starting to handle them. Fixes part of bug 19969; bugfix
  12953. on 0.2.8.1-alpha.
  12954. o Minor bugfixes (portability, backport from 0.2.9.6-rc):
  12955. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  12956. successfully targeting earlier versions of OSX. Resolves
  12957. ticket 20235.
  12958. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  12959. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  12960. 20551; bugfix on 0.2.1.1-alpha.
  12961. o Minor bugfixes (relay, backport from 0.2.9.5-alpha):
  12962. - Work around a memory leak in OpenSSL 1.1 when encoding public
  12963. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  12964. o Minor features (geoip):
  12965. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  12966. Country database.
  12967. Changes in version 0.2.9.6-rc - 2016-12-02
  12968. Tor 0.2.9.6-rc fixes a few remaining bugs found in the previous alpha
  12969. version. We hope that it will be ready to become stable soon, and we
  12970. encourage everyone to test this release. If no showstopper bugs are
  12971. found here, the next 0.2.9 release will be stable.
  12972. o Major bugfixes (relay, resolver, logging):
  12973. - For relays that don't know their own address, avoid attempting a
  12974. local hostname resolve for each descriptor we download. This
  12975. will cut down on the number of "Success: chose address 'x.x.x.x'"
  12976. log lines, and also avoid confusing clock jumps if the resolver
  12977. is slow. Fixes bugs 20423 and 20610; bugfix on 0.2.8.1-alpha.
  12978. o Minor bugfixes (client, fascistfirewall):
  12979. - Avoid spurious warnings when ReachableAddresses or FascistFirewall
  12980. is set. Fixes bug 20306; bugfix on 0.2.8.2-alpha.
  12981. o Minor bugfixes (hidden services):
  12982. - Stop ignoring the anonymity status of saved keys for hidden
  12983. services and single onion services when first starting tor.
  12984. Instead, refuse to start tor if any hidden service key has been
  12985. used in a different hidden service anonymity mode. Fixes bug
  12986. 20638; bugfix on 17178 in 0.2.9.3-alpha; reported by ahf.
  12987. o Minor bugfixes (portability):
  12988. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  12989. successfully targeting earlier versions of OSX. Resolves
  12990. ticket 20235.
  12991. - Run correctly when built on Windows build environments that
  12992. require _vcsprintf(). Fixes bug 20560; bugfix on 0.2.2.11-alpha.
  12993. o Minor bugfixes (single onion services, Tor2web):
  12994. - Stop complaining about long-term one-hop circuits deliberately
  12995. created by single onion services and Tor2web. These log messages
  12996. are intended to diagnose issue 8387, which relates to circuits
  12997. hanging around forever for no reason. Fixes bug 20613; bugfix on
  12998. 0.2.9.1-alpha. Reported by "pastly".
  12999. o Minor bugfixes (unit tests):
  13000. - Stop spurious failures in the local interface address discovery
  13001. unit tests. Fixes bug 20634; bugfix on 0.2.8.1-alpha; patch by
  13002. Neel Chauhan.
  13003. o Documentation:
  13004. - Correct the minimum bandwidth value in torrc.sample, and queue a
  13005. corresponding change for torrc.minimal. Closes ticket 20085.
  13006. Changes in version 0.2.9.5-alpha - 2016-11-08
  13007. Tor 0.2.9.5-alpha fixes numerous bugs discovered in the previous alpha
  13008. version. We believe one or two probably remain, and we encourage
  13009. everyone to test this release.
  13010. o Major bugfixes (client performance):
  13011. - Clients now respond to new application stream requests immediately
  13012. when they arrive, rather than waiting up to one second before
  13013. starting to handle them. Fixes part of bug 19969; bugfix
  13014. on 0.2.8.1-alpha.
  13015. o Major bugfixes (client reliability):
  13016. - When Tor leaves standby because of a new application request, open
  13017. circuits as needed to serve that request. Previously, we would
  13018. potentially wait a very long time. Fixes part of bug 19969; bugfix
  13019. on 0.2.8.1-alpha.
  13020. o Major bugfixes (download scheduling):
  13021. - When using an exponential backoff schedule, do not give up on
  13022. downloading just because we have failed a bunch of times. Since
  13023. each delay is longer than the last, retrying indefinitely won't
  13024. hurt. Fixes bug 20536; bugfix on 0.2.9.1-alpha.
  13025. - If a consensus expires while we are waiting for certificates to
  13026. download, stop waiting for certificates.
  13027. - If we stop waiting for certificates less than a minute after we
  13028. started downloading them, do not consider the certificate download
  13029. failure a separate failure. Fixes bug 20533; bugfix
  13030. on 0.2.0.9-alpha.
  13031. - Remove the maximum delay on exponential-backoff scheduling. Since
  13032. we now allow an infinite number of failures (see ticket 20536), we
  13033. must now allow the time to grow longer on each failure. Fixes part
  13034. of bug 20534; bugfix on 0.2.9.1-alpha.
  13035. - Make our initial download delays closer to those from 0.2.8. Fixes
  13036. another part of bug 20534; bugfix on 0.2.9.1-alpha.
  13037. - When determining when to download a directory object, handle times
  13038. after 2038 if the operating system supports them. (Someday this
  13039. will be important!) Fixes bug 20587; bugfix on 0.2.8.1-alpha.
  13040. - When using exponential backoff in test networks, use a lower
  13041. exponent, so the delays do not vary as much. This helps test
  13042. networks bootstrap consistently. Fixes bug 20597; bugfix on 20499.
  13043. o Minor features (geoip):
  13044. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  13045. Country database.
  13046. o Minor bugfixes (client directory scheduling):
  13047. - Treat "relay too busy to answer request" as a failed request and a
  13048. reason to back off on our retry frequency. This is safe now that
  13049. exponential backoffs retry indefinitely, and avoids a bug where we
  13050. would reset our download schedule erroneously. Fixes bug 20593;
  13051. bugfix on 0.2.9.1-alpha.
  13052. o Minor bugfixes (client, logging):
  13053. - Remove a BUG warning in circuit_pick_extend_handshake(). Instead,
  13054. assume all nodes support EXTEND2. Use ntor whenever a key is
  13055. available. Fixes bug 20472; bugfix on 0.2.9.3-alpha.
  13056. - On DNSPort, stop logging a BUG warning on a failed hostname
  13057. lookup. Fixes bug 19869; bugfix on 0.2.9.1-alpha.
  13058. o Minor bugfixes (hidden services):
  13059. - When configuring hidden services, check every hidden service
  13060. directory's permissions. Previously, we only checked the last
  13061. hidden service. Fixes bug 20529; bugfix the work to fix 13942
  13062. in 0.2.6.2-alpha.
  13063. o Minor bugfixes (portability):
  13064. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  13065. architectures. Closes ticket 20588.
  13066. - Use ECDHE ciphers instead of ECDH in tortls tests. LibreSSL has
  13067. removed the ECDH ciphers which caused the tests to fail on
  13068. platforms which use it. Fixes bug 20460; bugfix on 0.2.8.1-alpha.
  13069. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  13070. 20551; bugfix on 0.2.1.1-alpha.
  13071. o Minor bugfixes (relay bootstrap):
  13072. - Ensure relays don't make multiple connections during bootstrap.
  13073. Fixes bug 20591; bugfix on 0.2.8.1-alpha.
  13074. o Minor bugfixes (relay):
  13075. - Work around a memory leak in OpenSSL 1.1 when encoding public
  13076. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  13077. - Avoid a small memory leak when informing worker threads about
  13078. rotated onion keys. Fixes bug 20401; bugfix on 0.2.6.3-alpha.
  13079. - Do not try to parallelize workers more than 16x without the user
  13080. explicitly configuring us to do so, even if we do detect more than
  13081. 16 CPU cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  13082. o Minor bugfixes (single onion services):
  13083. - Start correctly when creating a single onion service in a
  13084. directory that did not previously exist. Fixes bug 20484; bugfix
  13085. on 0.2.9.3-alpha.
  13086. o Minor bugfixes (testing):
  13087. - Avoid a unit test failure on systems with over 16 detectable CPU
  13088. cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  13089. o Documentation:
  13090. - Clarify that setting HiddenServiceNonAnonymousMode requires you to
  13091. also set "SOCKSPort 0". Fixes bug 20487; bugfix on 0.2.9.3-alpha.
  13092. - Module-level documentation for several more modules. Closes
  13093. tickets 19287 and 19290.
  13094. Changes in version 0.2.8.9 - 2016-10-17
  13095. Tor 0.2.8.9 backports a fix for a security hole in previous versions
  13096. of Tor that would allow a remote attacker to crash a Tor client,
  13097. hidden service, relay, or authority. All Tor users should upgrade to
  13098. this version, or to 0.2.9.4-alpha. Patches will be released for older
  13099. versions of Tor.
  13100. o Major features (security fixes, also in 0.2.9.4-alpha):
  13101. - Prevent a class of security bugs caused by treating the contents
  13102. of a buffer chunk as if they were a NUL-terminated string. At
  13103. least one such bug seems to be present in all currently used
  13104. versions of Tor, and would allow an attacker to remotely crash
  13105. most Tor instances, especially those compiled with extra compiler
  13106. hardening. With this defense in place, such bugs can't crash Tor,
  13107. though we should still fix them as they occur. Closes ticket
  13108. 20384 (TROVE-2016-10-001).
  13109. o Minor features (geoip):
  13110. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  13111. Country database.
  13112. Changes in version 0.2.9.4-alpha - 2016-10-17
  13113. Tor 0.2.9.4-alpha fixes a security hole in previous versions of Tor
  13114. that would allow a remote attacker to crash a Tor client, hidden
  13115. service, relay, or authority. All Tor users should upgrade to this
  13116. version, or to 0.2.8.9. Patches will be released for older versions
  13117. of Tor.
  13118. Tor 0.2.9.4-alpha also adds numerous small features and fix-ups to
  13119. previous versions of Tor, including the implementation of a feature to
  13120. future- proof the Tor ecosystem against protocol changes, some bug
  13121. fixes necessary for Tor Browser to use unix domain sockets correctly,
  13122. and several portability improvements. We anticipate that this will be
  13123. the last alpha in the Tor 0.2.9 series, and that the next release will
  13124. be a release candidate.
  13125. o Major features (security fixes):
  13126. - Prevent a class of security bugs caused by treating the contents
  13127. of a buffer chunk as if they were a NUL-terminated string. At
  13128. least one such bug seems to be present in all currently used
  13129. versions of Tor, and would allow an attacker to remotely crash
  13130. most Tor instances, especially those compiled with extra compiler
  13131. hardening. With this defense in place, such bugs can't crash Tor,
  13132. though we should still fix them as they occur. Closes ticket
  13133. 20384 (TROVE-2016-10-001).
  13134. o Major features (subprotocol versions):
  13135. - Tor directory authorities now vote on a set of recommended
  13136. subprotocol versions, and on a set of required subprotocol
  13137. versions. Clients and relays that lack support for a _required_
  13138. subprotocol version will not start; those that lack support for a
  13139. _recommended_ subprotocol version will warn the user to upgrade.
  13140. Closes ticket 19958; implements part of proposal 264.
  13141. - Tor now uses "subprotocol versions" to indicate compatibility.
  13142. Previously, versions of Tor looked at the declared Tor version of
  13143. a relay to tell whether they could use a given feature. Now, they
  13144. should be able to rely on its declared subprotocol versions. This
  13145. change allows compatible implementations of the Tor protocol(s) to
  13146. exist without pretending to be 100% bug-compatible with particular
  13147. releases of Tor itself. Closes ticket 19958; implements part of
  13148. proposal 264.
  13149. o Minor feature (fallback directories):
  13150. - Remove broken fallbacks from the hard-coded fallback directory
  13151. list. Closes ticket 20190; patch by teor.
  13152. o Minor features (client, directory):
  13153. - Since authorities now omit all routers that lack the Running and
  13154. Valid flags, we assume that any relay listed in the consensus must
  13155. have those flags. Closes ticket 20001; implements part of
  13156. proposal 272.
  13157. o Minor features (compilation, portability):
  13158. - Compile correctly on MacOS 10.12 (aka "Sierra"). Closes
  13159. ticket 20241.
  13160. o Minor features (development tools, etags):
  13161. - Teach the "make tags" Makefile target how to correctly find
  13162. "MOCK_IMPL" function definitions. Patch from nherring; closes
  13163. ticket 16869.
  13164. o Minor features (geoip):
  13165. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  13166. Country database.
  13167. o Minor features (unix domain sockets):
  13168. - When configuring a unix domain socket for a SocksPort,
  13169. ControlPort, or Hidden service, you can now wrap the address in
  13170. quotes, using C-style escapes inside the quotes. This allows unix
  13171. domain socket paths to contain spaces.
  13172. o Minor features (virtual addresses):
  13173. - Increase the maximum number of bits for the IPv6 virtual network
  13174. prefix from 16 to 104. In this way, the condition for address
  13175. allocation is less restrictive. Closes ticket 20151; feature
  13176. on 0.2.4.7-alpha.
  13177. o Minor bugfixes (address discovery):
  13178. - Stop reordering IP addresses returned by the OS. This makes it
  13179. more likely that Tor will guess the same relay IP address every
  13180. time. Fixes issue 20163; bugfix on 0.2.7.1-alpha, ticket 17027.
  13181. Reported by René Mayrhofer, patch by "cypherpunks".
  13182. o Minor bugfixes (client, unix domain sockets):
  13183. - Disable IsolateClientAddr when using AF_UNIX backed SocksPorts as
  13184. the client address is meaningless. Fixes bug 20261; bugfix
  13185. on 0.2.6.3-alpha.
  13186. o Minor bugfixes (compilation, OpenBSD):
  13187. - Detect Libevent2 functions correctly on systems that provide
  13188. libevent2, but where libevent1 is linked with -levent. Fixes bug
  13189. 19904; bugfix on 0.2.2.24-alpha. Patch from Rubiate.
  13190. o Minor bugfixes (configuration):
  13191. - When parsing quoted configuration values from the torrc file,
  13192. handle windows line endings correctly. Fixes bug 19167; bugfix on
  13193. 0.2.0.16-alpha. Patch from "Pingl".
  13194. o Minor bugfixes (getpass):
  13195. - Defensively fix a non-triggerable heap corruption at do_getpass()
  13196. to protect ourselves from mistakes in the future. Fixes bug
  13197. 19223; bugfix on 0.2.7.3-rc. Bug found by Guido Vranken, patch
  13198. by nherring.
  13199. o Minor bugfixes (hidden service):
  13200. - Allow hidden services to run on IPv6 addresses even when the
  13201. IPv6Exit option is not set. Fixes bug 18357; bugfix
  13202. on 0.2.4.7-alpha.
  13203. o Documentation:
  13204. - Add module-level internal documentation for 36 C files that
  13205. previously didn't have a high-level overview. Closes ticket #20385.
  13206. o Required libraries:
  13207. - When building with OpenSSL, Tor now requires version 1.0.1 or
  13208. later. OpenSSL 1.0.0 and earlier are no longer supported by the
  13209. OpenSSL team, and should not be used. Closes ticket 20303.
  13210. Changes in version 0.2.9.3-alpha - 2016-09-23
  13211. Tor 0.2.9.3-alpha adds improved support for entities that want to make
  13212. high-performance services available through the Tor .onion mechanism
  13213. without themselves receiving anonymity as they host those services. It
  13214. also tries harder to ensure that all steps on a circuit are using the
  13215. strongest crypto possible, strengthens some TLS properties, and
  13216. resolves several bugs -- including a pair of crash bugs from the 0.2.8
  13217. series. Anybody running an earlier version of 0.2.9.x should upgrade.
  13218. o Major bugfixes (crash, also in 0.2.8.8):
  13219. - Fix a complicated crash bug that could affect Tor clients
  13220. configured to use bridges when replacing a networkstatus consensus
  13221. in which one of their bridges was mentioned. OpenBSD users saw
  13222. more crashes here, but all platforms were potentially affected.
  13223. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  13224. o Major bugfixes (relay, OOM handler, also in 0.2.8.8):
  13225. - Fix a timing-dependent assertion failure that could occur when we
  13226. tried to flush from a circuit after having freed its cells because
  13227. of an out-of-memory condition. Fixes bug 20203; bugfix on
  13228. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  13229. this one.
  13230. o Major features (circuit building, security):
  13231. - Authorities, relays and clients now require ntor keys in all
  13232. descriptors, for all hops (except for rare hidden service protocol
  13233. cases), for all circuits, and for all other roles. Part of
  13234. ticket 19163.
  13235. - Tor authorities, relays, and clients only use ntor, except for
  13236. rare cases in the hidden service protocol. Part of ticket 19163.
  13237. o Major features (single-hop "hidden" services):
  13238. - Add experimental HiddenServiceSingleHopMode and
  13239. HiddenServiceNonAnonymousMode options. When both are set to 1,
  13240. every hidden service on a Tor instance becomes a non-anonymous
  13241. Single Onion Service. Single Onions make one-hop (direct)
  13242. connections to their introduction and rendezvous points. One-hop
  13243. circuits make Single Onion servers easily locatable, but clients
  13244. remain location-anonymous. This is compatible with the existing
  13245. hidden service implementation, and works on the current tor
  13246. network without any changes to older relays or clients. Implements
  13247. proposal 260, completes ticket 17178. Patch by teor and asn.
  13248. o Major features (resource management):
  13249. - Tor can now notice it is about to run out of sockets, and
  13250. preemptively close connections of lower priority. (This feature is
  13251. off by default for now, since the current prioritizing method is
  13252. yet not mature enough. You can enable it by setting
  13253. "DisableOOSCheck 0", but watch out: it might close some sockets
  13254. you would rather have it keep.) Closes ticket 18640.
  13255. o Major bugfixes (circuit building):
  13256. - Hidden service client-to-intro-point and service-to-rendezvous-
  13257. point circuits use the TAP key supplied by the protocol, to avoid
  13258. epistemic attacks. Fixes bug 19163; bugfix on 0.2.4.18-rc.
  13259. o Major bugfixes (compilation, OpenBSD):
  13260. - Fix a Libevent-detection bug in our autoconf script that would
  13261. prevent Tor from linking successfully on OpenBSD. Patch from
  13262. rubiate. Fixes bug 19902; bugfix on 0.2.9.1-alpha.
  13263. o Major bugfixes (hidden services):
  13264. - Clients now require hidden services to include the TAP keys for
  13265. their intro points in the hidden service descriptor. This prevents
  13266. an inadvertent upgrade to ntor, which a malicious hidden service
  13267. could use to distinguish clients by consensus version. Fixes bug
  13268. 20012; bugfix on 0.2.4.8-alpha. Patch by teor.
  13269. o Minor features (security, TLS):
  13270. - Servers no longer support clients that without AES ciphersuites.
  13271. (3DES is no longer considered an acceptable cipher.) We believe
  13272. that no such Tor clients currently exist, since Tor has required
  13273. OpenSSL 0.9.7 or later since 2009. Closes ticket 19998.
  13274. o Minor feature (fallback directories):
  13275. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  13276. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  13277. 2016. Closes ticket 20190; patch by teor.
  13278. o Minor features (geoip, also in 0.2.8.8):
  13279. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  13280. Country database.
  13281. o Minor feature (port flags):
  13282. - Add new flags to the *Port options to finer control over which
  13283. requests are allowed. The flags are NoDNSRequest, NoOnionTraffic,
  13284. and the synthetic flag OnionTrafficOnly, which is equivalent to
  13285. NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic. Closes enhancement
  13286. 18693; patch by "teor".
  13287. o Minor features (directory authority):
  13288. - After voting, if the authorities decide that a relay is not
  13289. "Valid", they no longer include it in the consensus at all. Closes
  13290. ticket 20002; implements part of proposal 272.
  13291. o Minor features (testing):
  13292. - Disable memory protections on OpenBSD when performing our unit
  13293. tests for memwipe(). The test deliberately invokes undefined
  13294. behavior, and the OpenBSD protections interfere with this. Patch
  13295. from "rubiate". Closes ticket 20066.
  13296. o Minor features (testing, ipv6):
  13297. - Add the single-onion and single-onion-ipv6 chutney targets to
  13298. "make test-network-all". This requires a recent chutney version
  13299. with the single onion network flavours (git c72a652 or later).
  13300. Closes ticket 20072; patch by teor.
  13301. - Add the hs-ipv6 chutney target to make test-network-all's IPv6
  13302. tests. Remove bridges+hs, as it's somewhat redundant. This
  13303. requires a recent chutney version that supports IPv6 clients,
  13304. relays, and authorities. Closes ticket 20069; patch by teor.
  13305. o Minor features (Tor2web):
  13306. - Make Tor2web clients respect ReachableAddresses. This feature was
  13307. inadvertently enabled in 0.2.8.6, then removed by bugfix 19973 on
  13308. 0.2.8.7. Implements feature 20034. Patch by teor.
  13309. o Minor features (unit tests):
  13310. - We've done significant work to make the unit tests run faster.
  13311. - Our link-handshake unit tests now check that when invalid
  13312. handshakes fail, they fail with the error messages we expected.
  13313. - Our unit testing code that captures log messages no longer
  13314. prevents them from being written out if the user asked for them
  13315. (by passing --debug or --info or or --notice --warn to the "test"
  13316. binary). This change prevents us from missing unexpected log
  13317. messages simply because we were looking for others. Related to
  13318. ticket 19999.
  13319. - The unit tests now log all warning messages with the "BUG" flag.
  13320. Previously, they only logged errors by default. This change will
  13321. help us make our testing code more correct, and make sure that we
  13322. only hit this code when we mean to. In the meantime, however,
  13323. there will be more warnings in the unit test logs than before.
  13324. This is preparatory work for ticket 19999.
  13325. - The unit tests now treat any failure of a "tor_assert_nonfatal()"
  13326. assertion as a test failure.
  13327. o Minor bug fixes (circuits):
  13328. - Use the CircuitBuildTimeout option whenever
  13329. LearnCircuitBuildTimeout is disabled. Previously, we would respect
  13330. the option when a user disabled it, but not when it was disabled
  13331. because some other option was set. Fixes bug 20073; bugfix on
  13332. 0.2.4.12-alpha. Patch by teor.
  13333. o Minor bugfixes (allocation):
  13334. - Change how we allocate memory for large chunks on buffers, to
  13335. avoid a (currently impossible) integer overflow, and to waste less
  13336. space when allocating unusually large chunks. Fixes bug 20081;
  13337. bugfix on 0.2.0.16-alpha. Issue identified by Guido Vranken.
  13338. - Always include orconfig.h before including any other C headers.
  13339. Sometimes, it includes macros that affect the behavior of the
  13340. standard headers. Fixes bug 19767; bugfix on 0.2.9.1-alpha (the
  13341. first version to use AC_USE_SYSTEM_EXTENSIONS).
  13342. - Fix a syntax error in the IF_BUG_ONCE__() macro in non-GCC-
  13343. compatible compilers. Fixes bug 20141; bugfix on 0.2.9.1-alpha.
  13344. Patch from Gisle Vanem.
  13345. - Stop trying to build with Clang 4.0's -Wthread-safety warnings.
  13346. They apparently require a set of annotations that we aren't
  13347. currently using, and they create false positives in our pthreads
  13348. wrappers. Fixes bug 20110; bugfix on 0.2.9.1-alpha.
  13349. o Minor bugfixes (directory authority):
  13350. - Die with a more useful error when the operator forgets to place
  13351. the authority_signing_key file into the keys directory. This
  13352. avoids an uninformative assert & traceback about having an invalid
  13353. key. Fixes bug 20065; bugfix on 0.2.0.1-alpha.
  13354. - When allowing private addresses, mark Exits that only exit to
  13355. private locations as such. Fixes bug 20064; bugfix
  13356. on 0.2.2.9-alpha.
  13357. o Minor bugfixes (documentation):
  13358. - Document the default PathsNeededToBuildCircuits value that's used
  13359. by clients when the directory authorities don't set
  13360. min_paths_for_circs_pct. Fixes bug 20117; bugfix on 02c320916e02
  13361. in 0.2.4.10-alpha. Patch by teor, reported by Jesse V.
  13362. - Fix manual for the User option: it takes a username, not a UID.
  13363. Fixes bug 19122; bugfix on 0.0.2pre16 (the first version to have
  13364. a manpage!).
  13365. o Minor bugfixes (hidden services):
  13366. - Stop logging intro point details to the client log on certain
  13367. error conditions. Fixed as part of bug 20012; bugfix on
  13368. 0.2.4.8-alpha. Patch by teor.
  13369. o Minor bugfixes (IPv6, testing):
  13370. - Check for IPv6 correctly on Linux when running test networks.
  13371. Fixes bug 19905; bugfix on 0.2.7.3-rc; patch by teor.
  13372. o Minor bugfixes (Linux seccomp2 sandbox):
  13373. - Add permission to run the sched_yield() and sigaltstack() system
  13374. calls, in order to support versions of Tor compiled with asan or
  13375. ubsan code that use these calls. Now "sandbox 1" and
  13376. "--enable-expensive-hardening" should be compatible on more
  13377. systems. Fixes bug 20063; bugfix on 0.2.5.1-alpha.
  13378. o Minor bugfixes (logging):
  13379. - When logging a message from the BUG() macro, be explicit about
  13380. what we were asserting. Previously we were confusing what we were
  13381. asserting with what the bug was. Fixes bug 20093; bugfix
  13382. on 0.2.9.1-alpha.
  13383. - When we are unable to remove the bw_accounting file, do not warn
  13384. if the reason we couldn't remove it was that it didn't exist.
  13385. Fixes bug 19964; bugfix on 0.2.5.4-alpha. Patch from 'pastly'.
  13386. o Minor bugfixes (option parsing):
  13387. - Count unix sockets when counting client listeners (SOCKS, Trans,
  13388. NATD, and DNS). This has no user-visible behaviour changes: these
  13389. options are set once, and never read. Required for correct
  13390. behaviour in ticket 17178. Fixes bug 19677; bugfix on
  13391. 0.2.6.3-alpha. Patch by teor.
  13392. o Minor bugfixes (options):
  13393. - Check the consistency of UseEntryGuards and EntryNodes more
  13394. reliably. Fixes bug 20074; bugfix on 0.2.4.12-alpha. Patch
  13395. by teor.
  13396. - Stop changing the configured value of UseEntryGuards on
  13397. authorities and Tor2web clients. Fixes bug 20074; bugfix on
  13398. commits 51fc6799 in 0.1.1.16-rc and acda1735 in 0.2.4.3-alpha.
  13399. Patch by teor.
  13400. o Minor bugfixes (Tor2web):
  13401. - Prevent Tor2web clients running hidden services, these services
  13402. are not anonymous due to the one-hop client paths. Fixes bug
  13403. 19678. Patch by teor.
  13404. o Minor bugfixes (unit tests):
  13405. - Fix a shared-random unit test that was failing on big endian
  13406. architectures due to internal representation of a integer copied
  13407. to a buffer. The test is changed to take a full 32 bytes of data
  13408. and use the output of a python script that make the COMMIT and
  13409. REVEAL calculation according to the spec. Fixes bug 19977; bugfix
  13410. on 0.2.9.1-alpha.
  13411. - The tor_tls_server_info_callback unit test no longer crashes when
  13412. debug-level logging is turned on. Fixes bug 20041; bugfix
  13413. on 0.2.8.1-alpha.
  13414. Changes in version 0.2.8.8 - 2016-09-23
  13415. Tor 0.2.8.8 fixes two crash bugs present in previous versions of the
  13416. 0.2.8.x series. Relays running 0.2.8.x should upgrade, as should users
  13417. who select public relays as their bridges.
  13418. o Major bugfixes (crash):
  13419. - Fix a complicated crash bug that could affect Tor clients
  13420. configured to use bridges when replacing a networkstatus consensus
  13421. in which one of their bridges was mentioned. OpenBSD users saw
  13422. more crashes here, but all platforms were potentially affected.
  13423. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  13424. o Major bugfixes (relay, OOM handler):
  13425. - Fix a timing-dependent assertion failure that could occur when we
  13426. tried to flush from a circuit after having freed its cells because
  13427. of an out-of-memory condition. Fixes bug 20203; bugfix on
  13428. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  13429. this one.
  13430. o Minor feature (fallback directories):
  13431. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  13432. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  13433. 2016. Closes ticket 20190; patch by teor.
  13434. o Minor features (geoip):
  13435. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  13436. Country database.
  13437. Changes in version 0.2.9.2-alpha - 2016-08-24
  13438. Tor 0.2.9.2-alpha continues development of the 0.2.9 series with
  13439. several new features and bugfixes. It also includes an important
  13440. authority update and an important bugfix from 0.2.8.7. Everyone who
  13441. sets the ReachableAddresses option, and all bridges, are strongly
  13442. encouraged to upgrade to 0.2.8.7, or to 0.2.9.2-alpha.
  13443. o Directory authority changes (also in 0.2.8.7):
  13444. - The "Tonga" bridge authority has been retired; the new bridge
  13445. authority is "Bifroest". Closes tickets 19728 and 19690.
  13446. o Major bugfixes (client, security, also in 0.2.8.7):
  13447. - Only use the ReachableAddresses option to restrict the first hop
  13448. in a path. In earlier versions of 0.2.8.x, it would apply to
  13449. every hop in the path, with a possible degradation in anonymity
  13450. for anyone using an uncommon ReachableAddress setting. Fixes bug
  13451. 19973; bugfix on 0.2.8.2-alpha.
  13452. o Major features (user interface):
  13453. - Tor now supports the ability to declare options deprecated, so
  13454. that we can recommend that people stop using them. Previously,
  13455. this was done in an ad-hoc way. Closes ticket 19820.
  13456. o Major bugfixes (directory downloads):
  13457. - Avoid resetting download status for consensuses hourly, since we
  13458. already have another, smarter retry mechanism. Fixes bug 8625;
  13459. bugfix on 0.2.0.9-alpha.
  13460. o Minor features (config):
  13461. - Warn users when descriptor and port addresses are inconsistent.
  13462. Mitigates bug 13953; patch by teor.
  13463. o Minor features (geoip):
  13464. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  13465. Country database.
  13466. o Minor features (user interface):
  13467. - There is a new --list-deprecated-options command-line option to
  13468. list all of the deprecated options. Implemented as part of
  13469. ticket 19820.
  13470. o Minor bugfixes (code style):
  13471. - Fix an integer signedness conversion issue in the case conversion
  13472. tables. Fixes bug 19168; bugfix on 0.2.1.11-alpha.
  13473. o Minor bugfixes (compilation):
  13474. - Build correctly on versions of libevent2 without support for
  13475. evutil_secure_rng_add_bytes(). Fixes bug 19904; bugfix
  13476. on 0.2.5.4-alpha.
  13477. - Fix a compilation warning on GCC versions before 4.6. Our
  13478. ENABLE_GCC_WARNING macro used the word "warning" as an argument,
  13479. when it is also required as an argument to the compiler pragma.
  13480. Fixes bug 19901; bugfix on 0.2.9.1-alpha.
  13481. o Minor bugfixes (compilation, also in 0.2.8.7):
  13482. - Remove an inappropriate "inline" in tortls.c that was causing
  13483. warnings on older versions of GCC. Fixes bug 19903; bugfix
  13484. on 0.2.8.1-alpha.
  13485. o Minor bugfixes (fallback directories, also in 0.2.8.7):
  13486. - Avoid logging a NULL string pointer when loading fallback
  13487. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  13488. and 0.2.8.1-alpha. Report and patch by "rubiate".
  13489. o Minor bugfixes (logging):
  13490. - Log a more accurate message when we fail to dump a microdescriptor.
  13491. Fixes bug 17758; bugfix on 0.2.2.8-alpha. Patch from Daniel Pinto.
  13492. o Minor bugfixes (memory leak):
  13493. - Fix a series of slow memory leaks related to parsing torrc files
  13494. and options. Fixes bug 19466; bugfix on 0.2.1.6-alpha.
  13495. o Deprecated features:
  13496. - A number of DNS-cache-related sub-options for client ports are now
  13497. deprecated for security reasons, and may be removed in a future
  13498. version of Tor. (We believe that client-side DNS caching is a bad
  13499. idea for anonymity, and you should not turn it on.) The options
  13500. are: CacheDNS, CacheIPv4DNS, CacheIPv6DNS, UseDNSCache,
  13501. UseIPv4Cache, and UseIPv6Cache.
  13502. - A number of options are deprecated for security reasons, and may
  13503. be removed in a future version of Tor. The options are:
  13504. AllowDotExit, AllowInvalidNodes, AllowSingleHopCircuits,
  13505. AllowSingleHopExits, ClientDNSRejectInternalAddresses,
  13506. CloseHSClientCircuitsImmediatelyOnTimeout,
  13507. CloseHSServiceRendCircuitsImmediatelyOnTimeout,
  13508. ExcludeSingleHopRelays, FastFirstHopPK, TLSECGroup,
  13509. UseNTorHandshake, and WarnUnsafeSocks.
  13510. - The *ListenAddress options are now deprecated as unnecessary: the
  13511. corresponding *Port options should be used instead. These options
  13512. may someday be removed. The affected options are:
  13513. ControlListenAddress, DNSListenAddress, DirListenAddress,
  13514. NATDListenAddress, ORListenAddress, SocksListenAddress,
  13515. and TransListenAddress.
  13516. o Documentation:
  13517. - Correct the IPv6 syntax in our documentation for the
  13518. VirtualAddrNetworkIPv6 torrc option. Closes ticket 19743.
  13519. o Removed code:
  13520. - We no longer include the (dead, deprecated) bufferevent code in
  13521. Tor. Closes ticket 19450. Based on a patch from U+039b.
  13522. Changes in version 0.2.8.7 - 2016-08-24
  13523. Tor 0.2.8.7 fixes an important bug related to the ReachableAddresses
  13524. option in 0.2.8.6, and replaces a retiring bridge authority. Everyone
  13525. who sets the ReachableAddresses option, and all bridges, are strongly
  13526. encouraged to upgrade.
  13527. o Directory authority changes:
  13528. - The "Tonga" bridge authority has been retired; the new bridge
  13529. authority is "Bifroest". Closes tickets 19728 and 19690.
  13530. o Major bugfixes (client, security):
  13531. - Only use the ReachableAddresses option to restrict the first hop
  13532. in a path. In earlier versions of 0.2.8.x, it would apply to
  13533. every hop in the path, with a possible degradation in anonymity
  13534. for anyone using an uncommon ReachableAddress setting. Fixes bug
  13535. 19973; bugfix on 0.2.8.2-alpha.
  13536. o Minor features (geoip):
  13537. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  13538. Country database.
  13539. o Minor bugfixes (compilation):
  13540. - Remove an inappropriate "inline" in tortls.c that was causing
  13541. warnings on older versions of GCC. Fixes bug 19903; bugfix
  13542. on 0.2.8.1-alpha.
  13543. o Minor bugfixes (fallback directories):
  13544. - Avoid logging a NULL string pointer when loading fallback
  13545. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  13546. and 0.2.8.1-alpha. Report and patch by "rubiate".
  13547. Changes in version 0.2.9.1-alpha - 2016-08-08
  13548. Tor 0.2.9.1-alpha is the first alpha release in the 0.2.9 development
  13549. series. It improves our support for hardened builds and compiler
  13550. warnings, deploys some critical infrastructure for improvements to
  13551. hidden services, includes a new timing backend that we hope to use for
  13552. better support for traffic padding, makes it easier for programmers to
  13553. log unexpected events, and contains other small improvements to
  13554. security, correctness, and performance.
  13555. Below are the changes since 0.2.8.6.
  13556. o New system requirements:
  13557. - Tor now requires Libevent version 2.0.10-stable or later. Older
  13558. versions of Libevent have less efficient backends for several
  13559. platforms, and lack the DNS code that we use for our server-side
  13560. DNS support. This implements ticket 19554.
  13561. - Tor now requires zlib version 1.2 or later, for security,
  13562. efficiency, and (eventually) gzip support. (Back when we started,
  13563. zlib 1.1 and zlib 1.0 were still found in the wild. 1.2 was
  13564. released in 2003. We recommend the latest version.)
  13565. o Major features (build, hardening):
  13566. - Tor now builds with -ftrapv by default on compilers that support
  13567. it. This option detects signed integer overflow (which C forbids),
  13568. and turns it into a hard-failure. We do not apply this option to
  13569. code that needs to run in constant time to avoid side-channels;
  13570. instead, we use -fwrapv in that code. Closes ticket 17983.
  13571. - When --enable-expensive-hardening is selected, stop applying the
  13572. clang/gcc sanitizers to code that needs to run in constant time.
  13573. Although we are aware of no introduced side-channels, we are not
  13574. able to prove that there are none. Related to ticket 17983.
  13575. o Major features (compilation):
  13576. - Our big list of extra GCC warnings is now enabled by default when
  13577. building with GCC (or with anything like Clang that claims to be
  13578. GCC-compatible). To make all warnings into fatal compilation
  13579. errors, pass --enable-fatal-warnings to configure. Closes
  13580. ticket 19044.
  13581. - Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS to automatically
  13582. turn on C and POSIX extensions. (Previously, we attempted to do
  13583. this on an ad hoc basis.) Closes ticket 19139.
  13584. o Major features (directory authorities, hidden services):
  13585. - Directory authorities can now perform the shared randomness
  13586. protocol specified by proposal 250. Using this protocol, directory
  13587. authorities generate a global fresh random value every day. In the
  13588. future, this value will be used by hidden services to select
  13589. HSDirs. This release implements the directory authority feature;
  13590. the hidden service side will be implemented in the future as part
  13591. of proposal 224. Resolves ticket 16943; implements proposal 250.
  13592. o Major features (downloading, random exponential backoff):
  13593. - When we fail to download an object from a directory service, wait
  13594. for an (exponentially increasing) randomized amount of time before
  13595. retrying, rather than a fixed interval as we did before. This
  13596. prevents a group of Tor instances from becoming too synchronized,
  13597. or a single Tor instance from becoming too predictable, in its
  13598. download schedule. Closes ticket 15942.
  13599. o Major bugfixes (exit policies):
  13600. - Avoid disclosing exit outbound bind addresses, configured port
  13601. bind addresses, and local interface addresses in relay descriptors
  13602. by default under ExitPolicyRejectPrivate. Instead, only reject
  13603. these (otherwise unlisted) addresses if
  13604. ExitPolicyRejectLocalInterfaces is set. Fixes bug 18456; bugfix on
  13605. 0.2.7.2-alpha. Patch by teor.
  13606. o Major bugfixes (hidden service client):
  13607. - Allow Tor clients with appropriate controllers to work with
  13608. FetchHidServDescriptors set to 0. Previously, this option also
  13609. disabled descriptor cache lookup, thus breaking hidden services
  13610. entirely. Fixes bug 18704; bugfix on 0.2.0.20-rc. Patch by "twim".
  13611. o Minor features (build, hardening):
  13612. - Detect and work around a libclang_rt problem that would prevent
  13613. clang from finding __mulodi4() on some 32-bit platforms, and thus
  13614. keep -ftrapv from linking on those systems. Closes ticket 19079.
  13615. - When building on a system without runtime support for the runtime
  13616. hardening options, try to log a useful warning at configuration
  13617. time, rather than an incomprehensible warning at link time. If
  13618. expensive hardening was requested, this warning becomes an error.
  13619. Closes ticket 18895.
  13620. o Minor features (code safety):
  13621. - In our integer-parsing functions, ensure that maxiumum value we
  13622. give is no smaller than the minimum value. Closes ticket 19063;
  13623. patch from U+039b.
  13624. o Minor features (controller):
  13625. - Implement new GETINFO queries for all downloads that use
  13626. download_status_t to schedule retries. This allows controllers to
  13627. examine the schedule for pending downloads. Closes ticket 19323.
  13628. - Allow controllers to configure basic client authorization on
  13629. hidden services when they create them with the ADD_ONION control
  13630. command. Implements ticket 15588. Patch by "special".
  13631. - Fire a STATUS_SERVER controller event whenever the hibernation
  13632. status changes between "awake"/"soft"/"hard". Closes ticket 18685.
  13633. o Minor features (directory authority):
  13634. - Directory authorities now only give the Guard flag to a relay if
  13635. they are also giving it the Stable flag. This change allows us to
  13636. simplify path selection for clients. It should have minimal effect
  13637. in practice, since >99% of Guards already have the Stable flag.
  13638. Implements ticket 18624.
  13639. - Directory authorities now write their v3-status-votes file out to
  13640. disk earlier in the consensus process, so we have a record of the
  13641. votes even if we abort the consensus process. Resolves
  13642. ticket 19036.
  13643. o Minor features (hidden service):
  13644. - Stop being so strict about the payload length of "rendezvous1"
  13645. cells. We used to be locked in to the "TAP" handshake length, and
  13646. now we can handle better handshakes like "ntor". Resolves
  13647. ticket 18998.
  13648. o Minor features (infrastructure, time):
  13649. - Tor now uses the operating system's monotonic timers (where
  13650. available) for internal fine-grained timing. Previously we would
  13651. look at the system clock, and then attempt to compensate for the
  13652. clock running backwards. Closes ticket 18908.
  13653. - Tor now includes an improved timer backend, so that we can
  13654. efficiently support tens or hundreds of thousands of concurrent
  13655. timers, as will be needed for some of our planned anti-traffic-
  13656. analysis work. This code is based on William Ahern's "timeout.c"
  13657. project, which implements a "tickless hierarchical timing wheel".
  13658. Closes ticket 18365.
  13659. o Minor features (logging):
  13660. - Provide a more useful warning message when configured with an
  13661. invalid Nickname. Closes ticket 18300; patch from "icanhasaccount".
  13662. - When dumping unparseable router descriptors, optionally store them
  13663. in separate files, named by digest, up to a configurable size
  13664. limit. You can change the size limit by setting the
  13665. MaxUnparseableDescSizeToLog option, and disable this feature by
  13666. setting that option to 0. Closes ticket 18322.
  13667. - Add a set of macros to check nonfatal assertions, for internal
  13668. use. Migrating more of our checks to these should help us avoid
  13669. needless crash bugs. Closes ticket 18613.
  13670. o Minor features (performance):
  13671. - Change the "optimistic data" extension from "off by default" to
  13672. "on by default". The default was ordinarily overridden by a
  13673. consensus option, but when clients were bootstrapping for the
  13674. first time, they would not have a consensus to get the option
  13675. from. Changing this default saves a round-trip during startup.
  13676. Closes ticket 18815.
  13677. o Minor features (relay, usability):
  13678. - When the directory authorities refuse a bad relay's descriptor,
  13679. encourage the relay operator to contact us. Many relay operators
  13680. won't notice this line in their logs, but it's a win if even a few
  13681. learn why we don't like what their relay was doing. Resolves
  13682. ticket 18760.
  13683. o Minor features (testing):
  13684. - Let backtrace tests work correctly under AddressSanitizer. Fixes
  13685. part of bug 18934; bugfix on 0.2.5.2-alpha.
  13686. - Move the test-network.sh script to chutney, and modify tor's test-
  13687. network.sh to call the (newer) chutney version when available.
  13688. Resolves ticket 19116. Patch by teor.
  13689. - Use the lcov convention for marking lines as unreachable, so that
  13690. we don't count them when we're generating test coverage data.
  13691. Update our coverage tools to understand this convention. Closes
  13692. ticket 16792.
  13693. o Minor bugfixes (bootstrap):
  13694. - Remember the directory we fetched the consensus or previous
  13695. certificates from, and use it to fetch future authority
  13696. certificates. This change improves bootstrapping performance.
  13697. Fixes bug 18963; bugfix on 0.2.8.1-alpha.
  13698. o Minor bugfixes (build):
  13699. - The test-stem and test-network makefile targets now depend only on
  13700. the tor binary that they are testing. Previously, they depended on
  13701. "make all". Fixes bug 18240; bugfix on 0.2.8.2-alpha. Based on a
  13702. patch from "cypherpunks".
  13703. o Minor bugfixes (circuits):
  13704. - Make sure extend_info_from_router() is only called on servers.
  13705. Fixes bug 19639; bugfix on 0.2.8.1-alpha.
  13706. o Minor bugfixes (compilation):
  13707. - When building with Clang, use a full set of GCC warnings.
  13708. (Previously, we included only a subset, because of the way we
  13709. detected them.) Fixes bug 19216; bugfix on 0.2.0.1-alpha.
  13710. o Minor bugfixes (directory authority):
  13711. - Authorities now sort the "package" lines in their votes, for ease
  13712. of debugging. (They are already sorted in consensus documents.)
  13713. Fixes bug 18840; bugfix on 0.2.6.3-alpha.
  13714. - When parsing a detached signature, make sure we use the length of
  13715. the digest algorithm instead of an hardcoded DIGEST256_LEN in
  13716. order to avoid comparing bytes out-of-bounds with a smaller digest
  13717. length such as SHA1. Fixes bug 19066; bugfix on 0.2.2.6-alpha.
  13718. o Minor bugfixes (documentation):
  13719. - Document the --passphrase-fd option in the tor manpage. Fixes bug
  13720. 19504; bugfix on 0.2.7.3-rc.
  13721. - Fix the description of the --passphrase-fd option in the
  13722. tor-gencert manpage. The option is used to pass the number of a
  13723. file descriptor to read the passphrase from, not to read the file
  13724. descriptor from. Fixes bug 19505; bugfix on 0.2.0.20-alpha.
  13725. o Minor bugfixes (ephemeral hidden service):
  13726. - When deleting an ephemeral hidden service, close its intro points
  13727. even if they are not completely open. Fixes bug 18604; bugfix
  13728. on 0.2.7.1-alpha.
  13729. o Minor bugfixes (guard selection):
  13730. - Use a single entry guard even if the NumEntryGuards consensus
  13731. parameter is not provided. Fixes bug 17688; bugfix
  13732. on 0.2.5.6-alpha.
  13733. - Don't mark guards as unreachable if connection_connect() fails.
  13734. That function fails for local reasons, so it shouldn't reveal
  13735. anything about the status of the guard. Fixes bug 14334; bugfix
  13736. on 0.2.3.10-alpha.
  13737. o Minor bugfixes (hidden service client):
  13738. - Increase the minimum number of internal circuits we preemptively
  13739. build from 2 to 3, so a circuit is available when a client
  13740. connects to another onion service. Fixes bug 13239; bugfix
  13741. on 0.1.0.1-rc.
  13742. o Minor bugfixes (logging):
  13743. - When logging a directory ownership mismatch, log the owning
  13744. username correctly. Fixes bug 19578; bugfix on 0.2.2.29-beta.
  13745. o Minor bugfixes (memory leaks):
  13746. - Fix a small, uncommon memory leak that could occur when reading a
  13747. truncated ed25519 key file. Fixes bug 18956; bugfix
  13748. on 0.2.6.1-alpha.
  13749. o Minor bugfixes (testing):
  13750. - Allow clients to retry HSDirs much faster in test networks. Fixes
  13751. bug 19702; bugfix on 0.2.7.1-alpha. Patch by teor.
  13752. - Disable ASAN's detection of segmentation faults while running
  13753. test_bt.sh, so that we can make sure that our own backtrace
  13754. generation code works. Fixes another aspect of bug 18934; bugfix
  13755. on 0.2.5.2-alpha. Patch from "cypherpunks".
  13756. - Fix the test-network-all target on out-of-tree builds by using the
  13757. correct path to the test driver script. Fixes bug 19421; bugfix
  13758. on 0.2.7.3-rc.
  13759. o Minor bugfixes (time):
  13760. - Improve overflow checks in tv_udiff and tv_mdiff. Fixes bug 19483;
  13761. bugfix on all released tor versions.
  13762. - When computing the difference between two times in milliseconds,
  13763. we now round to the nearest millisecond correctly. Previously, we
  13764. could sometimes round in the wrong direction. Fixes bug 19428;
  13765. bugfix on 0.2.2.2-alpha.
  13766. o Minor bugfixes (user interface):
  13767. - Display a more accurate number of suppressed messages in the log
  13768. rate-limiter. Previously, there was a potential integer overflow
  13769. in the counter. Now, if the number of messages hits a maximum, the
  13770. rate-limiter doesn't count any further. Fixes bug 19435; bugfix
  13771. on 0.2.4.11-alpha.
  13772. - Fix a typo in the passphrase prompt for the ed25519 identity key.
  13773. Fixes bug 19503; bugfix on 0.2.7.2-alpha.
  13774. o Code simplification and refactoring:
  13775. - Remove redundant declarations of the MIN macro. Closes
  13776. ticket 18889.
  13777. - Rename tor_dup_addr() to tor_addr_to_str_dup() to avoid confusion.
  13778. Closes ticket 18462; patch from "icanhasaccount".
  13779. - Split the 600-line directory_handle_command_get function into
  13780. separate functions for different URL types. Closes ticket 16698.
  13781. o Documentation:
  13782. - Fix spelling of "--enable-tor2web-mode" in the manpage. Closes
  13783. ticket 19153. Patch from "U+039b".
  13784. o Removed features:
  13785. - Remove support for "GET /tor/bytes.txt" DirPort request, and
  13786. "GETINFO dir-usage" controller request, which were only available
  13787. via a compile-time option in Tor anyway. Feature was added in
  13788. 0.2.2.1-alpha. Resolves ticket 19035.
  13789. - There is no longer a compile-time option to disable support for
  13790. TransPort. (If you don't want TransPort; just don't use it.) Patch
  13791. from "U+039b". Closes ticket 19449.
  13792. o Testing:
  13793. - Run more workqueue tests as part of "make check". These had
  13794. previously been implemented, but you needed to know special
  13795. command-line options to enable them.
  13796. - We now have unit tests for our code to reject zlib "compression
  13797. bombs". (Fortunately, the code works fine.)
  13798. Changes in version 0.2.8.6 - 2016-08-02
  13799. Tor 0.2.8.6 is the first stable version of the Tor 0.2.8 series.
  13800. The Tor 0.2.8 series improves client bootstrapping performance,
  13801. completes the authority-side implementation of improved identity
  13802. keys for relays, and includes numerous bugfixes and performance
  13803. improvements throughout the program. This release continues to
  13804. improve the coverage of Tor's test suite. For a full list of
  13805. changes since Tor 0.2.7, see the ReleaseNotes file.
  13806. Changes since 0.2.8.5-rc:
  13807. o Minor features (geoip):
  13808. - Update geoip and geoip6 to the July 6 2016 Maxmind GeoLite2
  13809. Country database.
  13810. o Minor bugfixes (compilation):
  13811. - Fix a compilation warning in the unit tests on systems where char
  13812. is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha.
  13813. o Minor bugfixes (fallback directories):
  13814. - Remove 1 fallback that was on the hardcoded list, then opted-out,
  13815. leaving 89 of the 100 fallbacks originally introduced in Tor
  13816. 0.2.8.2-alpha in March 2016. Closes ticket 19782; patch by teor.
  13817. o Minor bugfixes (Linux seccomp2 sandbox):
  13818. - Allow more syscalls when running with "Sandbox 1" enabled:
  13819. sysinfo, getsockopt(SO_SNDBUF), and setsockopt(SO_SNDBUFFORCE). On
  13820. some systems, these are required for Tor to start. Fixes bug
  13821. 18397; bugfix on 0.2.5.1-alpha. Patch from Daniel Pinto.
  13822. - Allow IPPROTO_UDP datagram sockets when running with "Sandbox 1",
  13823. so that get_interface_address6_via_udp_socket_hack() can work.
  13824. Fixes bug 19660; bugfix on 0.2.5.1-alpha.
  13825. Changes in version 0.2.8.5-rc - 2016-07-07
  13826. Tor 0.2.8.5-rc is the second release candidate in the Tor 0.2.8
  13827. series. If we find no new bugs or regressions here, the first stable
  13828. 0.2.8 release will be identical to it. It has a few small bugfixes
  13829. against previous versions.
  13830. o Directory authority changes:
  13831. - Urras is no longer a directory authority. Closes ticket 19271.
  13832. o Major bugfixes (heartbeat):
  13833. - Fix a regression that would crash Tor when the periodic
  13834. "heartbeat" log messages were disabled. Fixes bug 19454; bugfix on
  13835. 0.2.8.1-alpha. Reported by "kubaku".
  13836. o Minor features (build):
  13837. - Tor now again builds with the recent OpenSSL 1.1 development
  13838. branch (tested against 1.1.0-pre6-dev). Closes ticket 19499.
  13839. - When building manual pages, set the timezone to "UTC", so that the
  13840. output is reproducible. Fixes bug 19558; bugfix on 0.2.2.9-alpha.
  13841. Patch from intrigeri.
  13842. o Minor bugfixes (fallback directory selection):
  13843. - Avoid errors during fallback selection if there are no eligible
  13844. fallbacks. Fixes bug 19480; bugfix on 0.2.8.3-alpha. Patch
  13845. by teor.
  13846. o Minor bugfixes (IPv6, microdescriptors):
  13847. - Don't check node addresses when we only have a routerstatus. This
  13848. allows IPv6-only clients to bootstrap by fetching microdescriptors
  13849. from fallback directory mirrors. (The microdescriptor consensus
  13850. has no IPv6 addresses in it.) Fixes bug 19608; bugfix
  13851. on 0.2.8.2-alpha.
  13852. o Minor bugfixes (logging):
  13853. - Reduce pointlessly verbose log messages when directory servers
  13854. can't be found. Fixes bug 18849; bugfix on 0.2.8.3-alpha and
  13855. 0.2.8.1-alpha. Patch by teor.
  13856. - When a fallback directory changes its fingerprint from the hard-
  13857. coded fingerprint, log a less severe, more explanatory log
  13858. message. Fixes bug 18812; bugfix on 0.2.8.1-alpha. Patch by teor.
  13859. o Minor bugfixes (Linux seccomp2 sandboxing):
  13860. - Allow statistics to be written to disk when "Sandbox 1" is
  13861. enabled. Fixes bugs 19556 and 19957; bugfix on 0.2.5.1-alpha and
  13862. 0.2.6.1-alpha respectively.
  13863. o Minor bugfixes (user interface):
  13864. - Remove a warning message "Service [scrubbed] not found after
  13865. descriptor upload". This message appears when one uses HSPOST
  13866. control command to upload a service descriptor. Since there is
  13867. only a descriptor and no service, showing this message is
  13868. pointless and confusing. Fixes bug 19464; bugfix on 0.2.7.2-alpha.
  13869. o Fallback directory list:
  13870. - Add a comment to the generated fallback directory list that
  13871. explains how to comment out unsuitable fallbacks in a way that's
  13872. compatible with the stem fallback parser.
  13873. - Update fallback whitelist and blacklist based on relay operator
  13874. emails. Blacklist unsuitable (non-working, over-volatile)
  13875. fallbacks. Resolves ticket 19071. Patch by teor.
  13876. - Remove 10 unsuitable fallbacks, leaving 90 of the 100 fallbacks
  13877. originally introduced in Tor 0.2.8.2-alpha in March 2016. Closes
  13878. ticket 19071; patch by teor.
  13879. Changes in version 0.2.8.4-rc - 2016-06-15
  13880. Tor 0.2.8.4-rc is the first release candidate in the Tor 0.2.8 series.
  13881. If we find no new bugs or regressions here, the first stable 0.2.8
  13882. release will be identical to it. It has a few small bugfixes against
  13883. previous versions.
  13884. o Major bugfixes (user interface):
  13885. - Correctly give a warning in the cases where a relay is specified
  13886. by nickname, and one such relay is found, but it is not officially
  13887. Named. Fixes bug 19203; bugfix on 0.2.3.1-alpha.
  13888. o Minor features (build):
  13889. - Tor now builds once again with the recent OpenSSL 1.1 development
  13890. branch (tested against 1.1.0-pre5 and 1.1.0-pre6-dev).
  13891. o Minor features (geoip):
  13892. - Update geoip and geoip6 to the June 7 2016 Maxmind GeoLite2
  13893. Country database.
  13894. o Minor bugfixes (compilation):
  13895. - Cause the unit tests to compile correctly on mingw64 versions that
  13896. lack sscanf. Fixes bug 19213; bugfix on 0.2.7.1-alpha.
  13897. o Minor bugfixes (downloading):
  13898. - Predict more correctly whether we'll be downloading over HTTP when
  13899. we determine the maximum length of a URL. This should avoid a
  13900. "BUG" warning about the Squid HTTP proxy and its URL limits. Fixes
  13901. bug 19191.
  13902. Changes in version 0.2.8.3-alpha - 2016-05-26
  13903. Tor 0.2.8.3-alpha resolves several bugs, most of them introduced over
  13904. the course of the 0.2.8 development cycle. It improves the behavior of
  13905. directory clients, fixes several crash bugs, fixes a gap in compiler
  13906. hardening, and allows the full integration test suite to run on
  13907. more platforms.
  13908. o Major bugfixes (security, client, DNS proxy):
  13909. - Stop a crash that could occur when a client running with DNSPort
  13910. received a query with multiple address types, and the first
  13911. address type was not supported. Found and fixed by Scott Dial.
  13912. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  13913. o Major bugfixes (security, compilation):
  13914. - Correctly detect compiler flags on systems where _FORTIFY_SOURCE
  13915. is predefined. Previously, our use of -D_FORTIFY_SOURCE would
  13916. cause a compiler warning, thereby making other checks fail, and
  13917. needlessly disabling compiler-hardening support. Fixes one case of
  13918. bug 18841; bugfix on 0.2.3.17-beta. Patch from "trudokal".
  13919. o Major bugfixes (security, directory authorities):
  13920. - Fix a crash and out-of-bounds write during authority voting, when
  13921. the list of relays includes duplicate ed25519 identity keys. Fixes
  13922. bug 19032; bugfix on 0.2.8.2-alpha.
  13923. o Major bugfixes (client, bootstrapping):
  13924. - Check if bootstrap consensus downloads are still needed when the
  13925. linked connection attaches. This prevents tor making unnecessary
  13926. begindir-style connections, which are the only directory
  13927. connections tor clients make since the fix for 18483 was merged.
  13928. - Fix some edge cases where consensus download connections may not
  13929. have been closed, even though they were not needed. Related to fix
  13930. for 18809.
  13931. - Make relays retry consensus downloads the correct number of times,
  13932. rather than the more aggressive client retry count. Fixes part of
  13933. ticket 18809.
  13934. - Stop downloading consensuses when we have a consensus, even if we
  13935. don't have all the certificates for it yet. Fixes bug 18809;
  13936. bugfix on 0.2.8.1-alpha. Patches by arma and teor.
  13937. o Major bugfixes (directory mirrors):
  13938. - Decide whether to advertise begindir support in the the same way
  13939. we decide whether to advertise our DirPort. Allowing these
  13940. decisions to become out-of-sync led to surprising behavior like
  13941. advertising begindir support when hibernation made us not
  13942. advertise a DirPort. Resolves bug 18616; bugfix on 0.2.8.1-alpha.
  13943. Patch by teor.
  13944. o Major bugfixes (IPv6 bridges, client):
  13945. - Actually use IPv6 addresses when selecting directory addresses for
  13946. IPv6 bridges. Fixes bug 18921; bugfix on 0.2.8.1-alpha. Patch
  13947. by "teor".
  13948. o Major bugfixes (key management):
  13949. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  13950. pointer to the previous (uninitialized) key value. The impact here
  13951. should be limited to a difficult-to-trigger crash, if OpenSSL is
  13952. running an engine that makes key generation failures possible, or
  13953. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  13954. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  13955. Baishakhi Ray.
  13956. o Major bugfixes (testing):
  13957. - Fix a bug that would block 'make test-network-all' on systems where
  13958. IPv6 packets were lost. Fixes bug 19008; bugfix on 0.2.7.3-rc.
  13959. - Avoid "WSANOTINITIALISED" warnings in the unit tests. Fixes bug 18668;
  13960. bugfix on 0.2.8.1-alpha.
  13961. o Minor features (clients):
  13962. - Make clients, onion services, and bridge relays always use an
  13963. encrypted begindir connection for directory requests. Resolves
  13964. ticket 18483. Patch by "teor".
  13965. o Minor features (fallback directory mirrors):
  13966. - Give each fallback the same weight for client selection; restrict
  13967. fallbacks to one per operator; report fallback directory detail
  13968. changes when rebuilding list; add new fallback directory mirrors
  13969. to the whitelist; and many other minor simplifications and fixes.
  13970. Closes tasks 17905, 18749, bug 18689, and fixes part of bug 18812 on
  13971. 0.2.8.1-alpha; patch by "teor".
  13972. - Replace the 21 fallbacks generated in January 2016 and included in
  13973. Tor 0.2.8.1-alpha, with a list of 100 fallbacks generated in March
  13974. 2016. Closes task 17158; patch by "teor".
  13975. o Minor features (geoip):
  13976. - Update geoip and geoip6 to the May 4 2016 Maxmind GeoLite2
  13977. Country database.
  13978. o Minor bugfixes (assert, portability):
  13979. - Fix an assertion failure in memarea.c on systems where "long" is
  13980. shorter than the size of a pointer. Fixes bug 18716; bugfix
  13981. on 0.2.1.1-alpha.
  13982. o Minor bugfixes (bootstrap):
  13983. - Consistently use the consensus download schedule for authority
  13984. certificates. Fixes bug 18816; bugfix on 0.2.4.13-alpha.
  13985. o Minor bugfixes (build):
  13986. - Remove a pair of redundant AM_CONDITIONAL declarations from
  13987. configure.ac. Fixes one final case of bug 17744; bugfix
  13988. on 0.2.8.2-alpha.
  13989. - Resolve warnings when building on systems that are concerned with
  13990. signed char. Fixes bug 18728; bugfix on 0.2.7.2-alpha
  13991. and 0.2.6.1-alpha.
  13992. - When libscrypt.h is found, but no libscrypt library can be linked,
  13993. treat libscrypt as absent. Fixes bug 19161; bugfix
  13994. on 0.2.6.1-alpha.
  13995. o Minor bugfixes (client):
  13996. - Turn all TestingClientBootstrap* into non-testing torrc options.
  13997. This changes simply renames them by removing "Testing" in front of
  13998. them and they do not require TestingTorNetwork to be enabled
  13999. anymore. Fixes bug 18481; bugfix on 0.2.8.1-alpha.
  14000. - Make directory node selection more reliable, mainly for IPv6-only
  14001. clients and clients with few reachable addresses. Fixes bug 18929;
  14002. bugfix on 0.2.8.1-alpha. Patch by "teor".
  14003. o Minor bugfixes (controller, microdescriptors):
  14004. - Make GETINFO dir/status-vote/current/consensus conform to the
  14005. control specification by returning "551 Could not open cached
  14006. consensus..." when not caching consensuses. Fixes bug 18920;
  14007. bugfix on 0.2.2.6-alpha.
  14008. o Minor bugfixes (crypto, portability):
  14009. - The SHA3 and SHAKE routines now produce the correct output on Big
  14010. Endian systems. No code calls either algorithm yet, so this is
  14011. primarily a build fix. Fixes bug 18943; bugfix on 0.2.8.1-alpha.
  14012. - Tor now builds again with the recent OpenSSL 1.1 development
  14013. branch (tested against 1.1.0-pre4 and 1.1.0-pre5-dev). Closes
  14014. ticket 18286.
  14015. o Minor bugfixes (directories):
  14016. - When fetching extrainfo documents, compare their SHA256 digests
  14017. and Ed25519 signing key certificates with the routerinfo that led
  14018. us to fetch them, rather than with the most recent routerinfo.
  14019. Otherwise we generate many spurious warnings about mismatches.
  14020. Fixes bug 17150; bugfix on 0.2.7.2-alpha.
  14021. o Minor bugfixes (logging):
  14022. - When we can't generate a signing key because OfflineMasterKey is
  14023. set, do not imply that we should have been able to load it. Fixes
  14024. bug 18133; bugfix on 0.2.7.2-alpha.
  14025. - Stop periodic_event_dispatch() from blasting twelve lines per
  14026. second at loglevel debug. Fixes bug 18729; fix on 0.2.8.1-alpha.
  14027. - When rejecting a misformed INTRODUCE2 cell, only log at
  14028. PROTOCOL_WARN severity. Fixes bug 18761; bugfix on 0.2.8.2-alpha.
  14029. o Minor bugfixes (pluggable transports):
  14030. - Avoid reporting a spurious error when we decide that we don't need
  14031. to terminate a pluggable transport because it has already exited.
  14032. Fixes bug 18686; bugfix on 0.2.5.5-alpha.
  14033. o Minor bugfixes (pointer arithmetic):
  14034. - Fix a bug in memarea_alloc() that could have resulted in remote
  14035. heap write access, if Tor had ever passed an unchecked size to
  14036. memarea_alloc(). Fortunately, all the sizes we pass to
  14037. memarea_alloc() are pre-checked to be less than 128 kilobytes.
  14038. Fixes bug 19150; bugfix on 0.2.1.1-alpha. Bug found by
  14039. Guido Vranken.
  14040. o Minor bugfixes (relays):
  14041. - Consider more config options when relays decide whether to
  14042. regenerate their descriptor. Fixes more of bug 12538; bugfix
  14043. on 0.2.8.1-alpha.
  14044. - Resolve some edge cases where we might launch an ORPort
  14045. reachability check even when DisableNetwork is set. Noticed while
  14046. fixing bug 18616; bugfix on 0.2.3.9-alpha.
  14047. o Minor bugfixes (statistics):
  14048. - We now include consensus downloads via IPv6 in our directory-
  14049. request statistics. Fixes bug 18460; bugfix on 0.2.3.14-alpha.
  14050. o Minor bugfixes (testing):
  14051. - Allow directories in small networks to bootstrap by skipping
  14052. DirPort checks when the consensus has no exits. Fixes bug 19003;
  14053. bugfix on 0.2.8.1-alpha. Patch by teor.
  14054. - Fix a small memory leak that would occur when the
  14055. TestingEnableCellStatsEvent option was turned on. Fixes bug 18673;
  14056. bugfix on 0.2.5.2-alpha.
  14057. o Minor bugfixes (time handling):
  14058. - When correcting a corrupt 'struct tm' value, fill in the tm_wday
  14059. field. Otherwise, our unit tests crash on Windows. Fixes bug
  14060. 18977; bugfix on 0.2.2.25-alpha.
  14061. o Documentation:
  14062. - Document the contents of the 'datadir/keys' subdirectory in the
  14063. manual page. Closes ticket 17621.
  14064. - Stop recommending use of nicknames to identify relays in our
  14065. MapAddress documentation. Closes ticket 18312.
  14066. Changes in version 0.2.8.2-alpha - 2016-03-28
  14067. Tor 0.2.8.2-alpha is the second alpha in its series. It fixes numerous
  14068. bugs in earlier versions of Tor, including some that prevented
  14069. authorities using Tor 0.2.7.x from running correctly. IPv6 and
  14070. directory support should also be much improved.
  14071. o New system requirements:
  14072. - Tor no longer supports versions of OpenSSL with a broken
  14073. implementation of counter mode. (This bug was present in OpenSSL
  14074. 1.0.0, and was fixed in OpenSSL 1.0.0a.) Tor still detects, but no
  14075. longer runs with, these versions.
  14076. - Tor no longer attempts to support platforms where the "time_t"
  14077. type is unsigned. (To the best of our knowledge, only OpenVMS does
  14078. this, and Tor has never actually built on OpenVMS.) Closes
  14079. ticket 18184.
  14080. - Tor now uses Autoconf version 2.63 or later, and Automake 1.11 or
  14081. later (released in 2008 and 2009 respectively). If you are
  14082. building Tor from the git repository instead of from the source
  14083. distribution, and your tools are older than this, you will need to
  14084. upgrade. Closes ticket 17732.
  14085. o Major bugfixes (security, pointers):
  14086. - Avoid a difficult-to-trigger heap corruption attack when extending
  14087. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  14088. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  14089. Reported by Guido Vranken.
  14090. o Major bugfixes (bridges, pluggable transports):
  14091. - Modify the check for OR connections to private addresses. Allow
  14092. bridges on private addresses, including pluggable transports that
  14093. ignore the (potentially private) address in the bridge line. Fixes
  14094. bug 18517; bugfix on 0.2.8.1-alpha. Reported by gk, patch by teor.
  14095. o Major bugfixes (compilation):
  14096. - Repair hardened builds under the clang compiler. Previously, our
  14097. use of _FORTIFY_SOURCE would conflict with clang's address
  14098. sanitizer. Fixes bug 14821; bugfix on 0.2.5.4-alpha.
  14099. o Major bugfixes (crash on shutdown):
  14100. - Correctly handle detaching circuits from muxes when shutting down.
  14101. Fixes bug 18116; bugfix on 0.2.8.1-alpha.
  14102. - Fix an assert-on-exit bug related to counting memory usage in
  14103. rephist.c. Fixes bug 18651; bugfix on 0.2.8.1-alpha.
  14104. o Major bugfixes (crash on startup):
  14105. - Fix a segfault during startup: If a Unix domain socket was
  14106. configured as listener (such as a ControlSocket or a SocksPort
  14107. "unix:" socket), and tor was started as root but not configured to
  14108. switch to another user, tor would segfault while trying to string
  14109. compare a NULL value. Fixes bug 18261; bugfix on 0.2.8.1-alpha.
  14110. Patch by weasel.
  14111. o Major bugfixes (dns proxy mode, crash):
  14112. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  14113. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  14114. o Major bugfixes (relays, bridge clients):
  14115. - Ensure relays always allow IPv4 OR and Dir connections. Ensure
  14116. bridge clients use the address configured in the bridge line.
  14117. Fixes bug 18348; bugfix on 0.2.8.1-alpha. Reported by sysrqb,
  14118. patch by teor.
  14119. o Major bugfixes (voting):
  14120. - Actually enable support for authorities to match routers by their
  14121. Ed25519 identities. Previously, the code had been written, but
  14122. some debugging code that had accidentally been left in the
  14123. codebase made it stay turned off. Fixes bug 17702; bugfix
  14124. on 0.2.7.2-alpha.
  14125. - When collating votes by Ed25519 identities, authorities now
  14126. include a "NoEdConsensus" flag if the ed25519 value (or lack
  14127. thereof) for a server does not reflect the majority consensus.
  14128. Related to bug 17668; bugfix on 0.2.7.2-alpha.
  14129. - When generating a vote with keypinning disabled, never include two
  14130. entries for the same ed25519 identity. This bug was causing
  14131. authorities to generate votes that they could not parse when a
  14132. router violated key pinning by changing its RSA identity but
  14133. keeping its Ed25519 identity. Fixes bug 17668; fixes part of bug
  14134. 18318. Bugfix on 0.2.7.2-alpha.
  14135. o Minor features (security, win32):
  14136. - Set SO_EXCLUSIVEADDRUSE on Win32 to avoid a local port-stealing
  14137. attack. Fixes bug 18123; bugfix on all tor versions. Patch
  14138. by teor.
  14139. o Minor features (bug-resistance):
  14140. - Make Tor survive errors involving connections without a
  14141. corresponding event object. Previously we'd fail with an
  14142. assertion; now we produce a log message. Related to bug 16248.
  14143. o Minor features (build):
  14144. - Detect systems with FreeBSD-derived kernels (such as GNU/kFreeBSD)
  14145. as having possible IPFW support. Closes ticket 18448. Patch from
  14146. Steven Chamberlain.
  14147. o Minor features (code hardening):
  14148. - Use tor_snprintf() and tor_vsnprintf() even in external and low-
  14149. level code, to harden against accidental failures to NUL-
  14150. terminate. Part of ticket 17852. Patch from jsturgix. Found
  14151. with Flawfinder.
  14152. o Minor features (crypto):
  14153. - Validate the hard-coded Diffie-Hellman parameters and ensure that
  14154. p is a safe prime, and g is a suitable generator. Closes
  14155. ticket 18221.
  14156. o Minor features (geoip):
  14157. - Update geoip and geoip6 to the March 3 2016 Maxmind GeoLite2
  14158. Country database.
  14159. o Minor features (hidden service directory):
  14160. - Streamline relay-side hsdir handling: when relays consider whether
  14161. to accept an uploaded hidden service descriptor, they no longer
  14162. check whether they are one of the relays in the network that is
  14163. "supposed" to handle that descriptor. Implements ticket 18332.
  14164. o Minor features (IPv6):
  14165. - Add ClientPreferIPv6DirPort, which is set to 0 by default. If set
  14166. to 1, tor prefers IPv6 directory addresses.
  14167. - Add ClientUseIPv4, which is set to 1 by default. If set to 0, tor
  14168. avoids using IPv4 for client OR and directory connections.
  14169. - Try harder to obey the IP version restrictions "ClientUseIPv4 0",
  14170. "ClientUseIPv6 0", "ClientPreferIPv6ORPort", and
  14171. "ClientPreferIPv6DirPort". Closes ticket 17840; patch by teor.
  14172. o Minor features (linux seccomp2 sandbox):
  14173. - Reject attempts to change our Address with "Sandbox 1" enabled.
  14174. Changing Address with Sandbox turned on would never actually work,
  14175. but previously it would fail in strange and confusing ways. Found
  14176. while fixing 18548.
  14177. o Minor features (robustness):
  14178. - Exit immediately with an error message if the code attempts to use
  14179. Libevent without having initialized it. This should resolve some
  14180. frequently-made mistakes in our unit tests. Closes ticket 18241.
  14181. o Minor features (unix domain sockets):
  14182. - Add a new per-socket option, RelaxDirModeCheck, to allow creating
  14183. Unix domain sockets without checking the permissions on the parent
  14184. directory. (Tor checks permissions by default because some
  14185. operating systems only check permissions on the parent directory.
  14186. However, some operating systems do look at permissions on the
  14187. socket, and tor's default check is unneeded.) Closes ticket 18458.
  14188. Patch by weasel.
  14189. o Minor bugfixes (exit policies, security):
  14190. - Refresh an exit relay's exit policy when interface addresses
  14191. change. Previously, tor only refreshed the exit policy when the
  14192. configured external address changed. Fixes bug 18208; bugfix on
  14193. 0.2.7.3-rc. Patch by teor.
  14194. o Minor bugfixes (security, hidden services):
  14195. - Prevent hidden services connecting to client-supplied rendezvous
  14196. addresses that are reserved as internal or multicast. Fixes bug
  14197. 8976; bugfix on 0.2.3.21-rc. Patch by dgoulet and teor.
  14198. o Minor bugfixes (build):
  14199. - Do not link the unit tests against both the testing and non-
  14200. testing versions of the static libraries. Fixes bug 18490; bugfix
  14201. on 0.2.7.1-alpha.
  14202. - Avoid spurious failures from configure files related to calling
  14203. exit(0) in TOR_SEARCH_LIBRARY. Fixes bug 18626; bugfix on
  14204. 0.2.0.1-alpha. Patch from "cypherpunks".
  14205. - Silence spurious clang-scan warnings in the ed25519_donna code by
  14206. explicitly initializing some objects. Fixes bug 18384; bugfix on
  14207. 0.2.7.2-alpha. Patch by teor.
  14208. o Minor bugfixes (client, bootstrap):
  14209. - Count receipt of new microdescriptors as progress towards
  14210. bootstrapping. Previously, with EntryNodes set, Tor might not
  14211. successfully repopulate the guard set on bootstrapping. Fixes bug
  14212. 16825; bugfix on 0.2.3.1-alpha.
  14213. o Minor bugfixes (code correctness):
  14214. - Update to the latest version of Trunnel, which tries harder to
  14215. avoid generating code that can invoke memcpy(p,NULL,0). Bug found
  14216. by clang address sanitizer. Fixes bug 18373; bugfix
  14217. on 0.2.7.2-alpha.
  14218. o Minor bugfixes (configuration):
  14219. - Fix a tiny memory leak when parsing a port configuration ending in
  14220. ":auto". Fixes bug 18374; bugfix on 0.2.3.3-alpha.
  14221. o Minor bugfixes (containers):
  14222. - If we somehow attempt to construct a heap with more than
  14223. 1073741822 elements, avoid an integer overflow when maintaining
  14224. the heap property. Fixes bug 18296; bugfix on 0.1.2.1-alpha.
  14225. o Minor bugfixes (correctness):
  14226. - Fix a bad memory handling bug that would occur if we had queued a
  14227. cell on a channel's incoming queue. Fortunately, we can't actually
  14228. queue a cell like that as our code is constructed today, but it's
  14229. best to avoid this kind of error, even if there isn't any code
  14230. that triggers it today. Fixes bug 18570; bugfix on 0.2.4.4-alpha.
  14231. o Minor bugfixes (directory):
  14232. - When generating a URL for a directory server on an IPv6 address,
  14233. wrap the IPv6 address in square brackets. Fixes bug 18051; bugfix
  14234. on 0.2.3.9-alpha. Patch from Malek.
  14235. o Minor bugfixes (fallback directory mirrors):
  14236. - When requesting extrainfo descriptors from a trusted directory
  14237. server, check whether it is an authority or a fallback directory
  14238. which supports extrainfo descriptors. Fixes bug 18489; bugfix on
  14239. 0.2.4.7-alpha. Reported by atagar, patch by teor.
  14240. o Minor bugfixes (hidden service, client):
  14241. - Handle the case where the user makes several fast consecutive
  14242. requests to the same .onion address. Previously, the first six
  14243. requests would each trigger a descriptor fetch, each picking a
  14244. directory (there are 6 overall) and the seventh one would fail
  14245. because no directories were left, thereby triggering a close on
  14246. all current directory connections asking for the hidden service.
  14247. The solution here is to not close the connections if we have
  14248. pending directory fetches. Fixes bug 15937; bugfix
  14249. on 0.2.7.1-alpha.
  14250. o Minor bugfixes (hidden service, control port):
  14251. - Add the onion address to the HS_DESC event for the UPLOADED action
  14252. both on success or failure. It was previously hardcoded with
  14253. UNKNOWN. Fixes bug 16023; bugfix on 0.2.7.2-alpha.
  14254. o Minor bugfixes (hidden service, directory):
  14255. - Bridges now refuse "rendezvous2" (hidden service descriptor)
  14256. publish attempts. Suggested by ticket 18332.
  14257. o Minor bugfixes (linux seccomp2 sandbox):
  14258. - Allow the setrlimit syscall, and the prlimit and prlimit64
  14259. syscalls, which some libc implementations use under the hood.
  14260. Fixes bug 15221; bugfix on 0.2.5.1-alpha.
  14261. - Avoid a 10-second delay when starting as a client with "Sandbox 1"
  14262. enabled and no DNS resolvers configured. This should help TAILS
  14263. start up faster. Fixes bug 18548; bugfix on 0.2.5.1-alpha.
  14264. - Fix the sandbox's interoperability with unix domain sockets under
  14265. setuid. Fixes bug 18253; bugfix on 0.2.8.1-alpha.
  14266. o Minor bugfixes (logging):
  14267. - When logging information about an unparsable networkstatus vote or
  14268. consensus, do not say "vote" when we mean consensus. Fixes bug
  14269. 18368; bugfix on 0.2.0.8-alpha.
  14270. - Scrub service name in "unrecognized service ID" log messages.
  14271. Fixes bug 18600; bugfix on 0.2.4.11-alpha.
  14272. - Downgrade logs and backtraces about IP versions to info-level.
  14273. Only log backtraces once each time tor runs. Assists in diagnosing
  14274. bug 18351; bugfix on 0.2.8.1-alpha. Reported by sysrqb and
  14275. Christian, patch by teor.
  14276. o Minor bugfixes (memory safety):
  14277. - Avoid freeing an uninitialized pointer when opening a socket fails
  14278. in get_interface_addresses_ioctl(). Fixes bug 18454; bugfix on
  14279. 0.2.3.11-alpha. Reported by toralf and "cypherpunks", patch
  14280. by teor.
  14281. - Correctly duplicate addresses in get_interface_address6_list().
  14282. Fixes bug 18454; bugfix on 0.2.8.1-alpha. Reported by toralf,
  14283. patch by "cypherpunks".
  14284. - Fix a memory leak in tor-gencert. Fixes part of bug 18672; bugfix
  14285. on 0.2.0.1-alpha.
  14286. - Fix a memory leak in "tor --list-fingerprint". Fixes part of bug
  14287. 18672; bugfix on 0.2.5.1-alpha.
  14288. o Minor bugfixes (private directory):
  14289. - Prevent a race condition when creating private directories. Fixes
  14290. part of bug 17852; bugfix on 0.0.2pre13. Part of ticket 17852.
  14291. Patch from jsturgix. Found with Flawfinder.
  14292. o Minor bugfixes (test networks, IPv6):
  14293. - Allow internal IPv6 addresses in descriptors in test networks.
  14294. Fixes bug 17153; bugfix on 0.2.3.16-alpha. Patch by teor, reported
  14295. by karsten.
  14296. o Minor bugfixes (testing):
  14297. - We no longer disable assertions in the unit tests when coverage is
  14298. enabled. Instead, we require you to say --disable-asserts-in-tests
  14299. to the configure script if you need assertions disabled in the
  14300. unit tests (for example, if you want to perform branch coverage).
  14301. Fixes bug 18242; bugfix on 0.2.7.1-alpha.
  14302. o Minor bugfixes (time parsing):
  14303. - Avoid overflow in tor_timegm when parsing dates in and after 2038
  14304. on platforms with 32-bit time_t. Fixes bug 18479; bugfix on
  14305. 0.0.2pre14. Patch by teor.
  14306. o Minor bugfixes (tor-gencert):
  14307. - Correctly handle the case where an authority operator enters a
  14308. passphrase but sends an EOF before sending a newline. Fixes bug
  14309. 17443; bugfix on 0.2.0.20-rc. Found by junglefowl.
  14310. o Code simplification and refactoring:
  14311. - Quote all the string interpolations in configure.ac -- even those
  14312. which we are pretty sure can't contain spaces. Closes ticket
  14313. 17744. Patch from zerosion.
  14314. - Remove specialized code for non-inplace AES_CTR. 99% of our AES is
  14315. inplace, so there's no need to have a separate implementation for
  14316. the non-inplace code. Closes ticket 18258. Patch from Malek.
  14317. - Simplify return types for some crypto functions that can't
  14318. actually fail. Patch from Hassan Alsibyani. Closes ticket 18259.
  14319. o Documentation:
  14320. - Change build messages to refer to "Fedora" instead of "Fedora
  14321. Core", and "dnf" instead of "yum". Closes tickets 18459 and 18426.
  14322. Patches from "icanhasaccount" and "cypherpunks".
  14323. o Removed features:
  14324. - We no longer maintain an internal freelist in memarea.c.
  14325. Allocators should be good enough to make this code unnecessary,
  14326. and it's doubtful that it ever had any performance benefit.
  14327. o Testing:
  14328. - Fix several warnings from clang's address sanitizer produced in
  14329. the unit tests.
  14330. - Treat backtrace test failures as expected on FreeBSD until we
  14331. solve bug 17808. Closes ticket 18204.
  14332. Changes in version 0.2.8.1-alpha - 2016-02-04
  14333. Tor 0.2.8.1-alpha is the first alpha release in its series. It
  14334. includes numerous small features and bugfixes against previous Tor
  14335. versions, and numerous small infrastructure improvements. The most
  14336. notable features are a set of improvements to the directory subsystem.
  14337. o Major features (security, Linux):
  14338. - When Tor starts as root on Linux and is told to switch user ID, it
  14339. can now retain the capability to bind to low ports. By default,
  14340. Tor will do this only when it's switching user ID and some low
  14341. ports have been configured. You can change this behavior with the
  14342. new option KeepBindCapabilities. Closes ticket 8195.
  14343. o Major features (directory system):
  14344. - When bootstrapping multiple consensus downloads at a time, use the
  14345. first one that starts downloading, and close the rest. This
  14346. reduces failures when authorities or fallback directories are slow
  14347. or down. Together with the code for feature 15775, this feature
  14348. should reduces failures due to fallback churn. Implements ticket
  14349. 4483. Patch by "teor". Implements IPv4 portions of proposal 210 by
  14350. "mikeperry" and "teor".
  14351. - Include a trial list of 21 default fallback directories, generated
  14352. in January 2016, based on an opt-in survey of suitable relays.
  14353. Doing this should make clients bootstrap more quickly and reliably,
  14354. and reduce the load on the directory authorities. Closes ticket
  14355. 15775. Patch by "teor".
  14356. Candidates identified using an OnionOO script by "weasel", "teor",
  14357. "gsathya", and "karsten".
  14358. - Previously only relays that explicitly opened a directory port
  14359. (DirPort) accepted directory requests from clients. Now all
  14360. relays, with and without a DirPort, accept and serve tunneled
  14361. directory requests that they receive through their ORPort. You can
  14362. disable this behavior using the new DirCache option. Closes
  14363. ticket 12538.
  14364. o Major key updates:
  14365. - Update the V3 identity key for the dannenberg directory authority:
  14366. it was changed on 18 November 2015. Closes task 17906. Patch
  14367. by "teor".
  14368. o Minor features (security, clock):
  14369. - Warn when the system clock appears to move back in time (when the
  14370. state file was last written in the future). Tor doesn't know that
  14371. consensuses have expired if the clock is in the past. Patch by
  14372. "teor". Implements ticket 17188.
  14373. o Minor features (security, exit policies):
  14374. - ExitPolicyRejectPrivate now rejects more private addresses by
  14375. default. Specifically, it now rejects the relay's outbound bind
  14376. addresses (if configured), and the relay's configured port
  14377. addresses (such as ORPort and DirPort). Fixes bug 17027; bugfix on
  14378. 0.2.0.11-alpha. Patch by "teor".
  14379. o Minor features (security, memory erasure):
  14380. - Set the unused entries in a smartlist to NULL. This helped catch
  14381. a (harmless) bug, and shouldn't affect performance too much.
  14382. Implements ticket 17026.
  14383. - Use SecureMemoryWipe() function to securely clean memory on
  14384. Windows. Previously we'd use OpenSSL's OPENSSL_cleanse() function.
  14385. Implements feature 17986.
  14386. - Use explicit_bzero or memset_s when present. Previously, we'd use
  14387. OpenSSL's OPENSSL_cleanse() function. Closes ticket 7419; patches
  14388. from <logan@hackers.mu> and <selven@hackers.mu>.
  14389. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  14390. zero size. Check size argument to memwipe() for underflow. Fixes
  14391. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  14392. patch by "teor".
  14393. o Minor features (security, RNG):
  14394. - Adjust Tor's use of OpenSSL's RNG APIs so that they absolutely,
  14395. positively are not allowed to fail. Previously we depended on
  14396. internal details of OpenSSL's behavior. Closes ticket 17686.
  14397. - Never use the system entropy output directly for anything besides
  14398. seeding the PRNG. When we want to generate important keys, instead
  14399. of using system entropy directly, we now hash it with the PRNG
  14400. stream. This may help resist certain attacks based on broken OS
  14401. entropy implementations. Closes part of ticket 17694.
  14402. - Use modern system calls (like getentropy() or getrandom()) to
  14403. generate strong entropy on platforms that have them. Closes
  14404. ticket 13696.
  14405. o Minor features (accounting):
  14406. - Added two modes to the AccountingRule option: One for limiting
  14407. only the number of bytes sent ("AccountingRule out"), and one for
  14408. limiting only the number of bytes received ("AccountingRule in").
  14409. Closes ticket 15989; patch from "unixninja92".
  14410. o Minor features (build):
  14411. - Since our build process now uses "make distcheck", we no longer
  14412. force "make dist" to depend on "make check". Closes ticket 17893;
  14413. patch from "cypherpunks."
  14414. - Tor now builds successfully with the recent OpenSSL 1.1
  14415. development branch, and with the latest LibreSSL. Closes tickets
  14416. 17549, 17921, and 17984.
  14417. o Minor features (controller):
  14418. - Adds the FallbackDir entries to 'GETINFO config/defaults'. Closes
  14419. tickets 16774 and 17817. Patch by George Tankersley.
  14420. - New 'GETINFO hs/service/desc/id/' command to retrieve a hidden
  14421. service descriptor from a service's local hidden service
  14422. descriptor cache. Closes ticket 14846.
  14423. - Add 'GETINFO exit-policy/reject-private/[default,relay]', so
  14424. controllers can examine the the reject rules added by
  14425. ExitPolicyRejectPrivate. This makes it easier for stem to display
  14426. exit policies.
  14427. o Minor features (crypto):
  14428. - Add SHA512 support to crypto.c. Closes ticket 17663; patch from
  14429. George Tankersley.
  14430. - Add SHA3 and SHAKE support to crypto.c. Closes ticket 17783.
  14431. - When allocating a digest state object, allocate no more space than
  14432. we actually need. Previously, we would allocate as much space as
  14433. the state for the largest algorithm would need. This change saves
  14434. up to 672 bytes per circuit. Closes ticket 17796.
  14435. - Improve performance when hashing non-multiple of 8 sized buffers,
  14436. based on Andrew Moon's public domain SipHash-2-4 implementation.
  14437. Fixes bug 17544; bugfix on 0.2.5.3-alpha.
  14438. o Minor features (directory downloads):
  14439. - Wait for busy authorities and fallback directories to become non-
  14440. busy when bootstrapping. (A similar change was made in 6c443e987d
  14441. for directory caches chosen from the consensus.) Closes ticket
  14442. 17864; patch by "teor".
  14443. - Add UseDefaultFallbackDirs, which enables any hard-coded fallback
  14444. directory mirrors. The default is 1; set it to 0 to disable
  14445. fallbacks. Implements ticket 17576. Patch by "teor".
  14446. o Minor features (geoip):
  14447. - Update geoip and geoip6 to the January 5 2016 Maxmind GeoLite2
  14448. Country database.
  14449. o Minor features (IPv6):
  14450. - Add an argument 'ipv6=address:orport' to the DirAuthority and
  14451. FallbackDir torrc options, to specify an IPv6 address for an
  14452. authority or fallback directory. Add hard-coded ipv6 addresses for
  14453. directory authorities that have them. Closes ticket 17327; patch
  14454. from Nick Mathewson and "teor".
  14455. - Add address policy assume_action support for IPv6 addresses.
  14456. - Limit IPv6 mask bits to 128.
  14457. - Warn when comparing against an AF_UNSPEC address in a policy, it's
  14458. almost always a bug. Closes ticket 17863; patch by "teor".
  14459. - Allow users to configure directory authorities and fallback
  14460. directory servers with IPv6 addresses and ORPorts. Resolves
  14461. ticket 6027.
  14462. - routerset_parse now accepts IPv6 literal addresses. Fixes bug
  14463. 17060; bugfix on 0.2.1.3-alpha. Patch by "teor".
  14464. - Make tor_ersatz_socketpair work on IPv6-only systems. Fixes bug
  14465. 17638; bugfix on 0.0.2pre8. Patch by "teor".
  14466. o Minor features (logging):
  14467. - When logging to syslog, allow a tag to be added to the syslog
  14468. identity (the string prepended to every log message). The tag can
  14469. be configured with SyslogIdentityTag and defaults to none. Setting
  14470. it to "foo" will cause logs to be tagged as "Tor-foo". Closes
  14471. ticket 17194.
  14472. o Minor features (portability):
  14473. - Use timingsafe_memcmp() where available. Closes ticket 17944;
  14474. patch from <logan@hackers.mu>.
  14475. o Minor features (relay, address discovery):
  14476. - Add a family argument to get_interface_addresses_raw() and
  14477. subfunctions to make network interface address interogation more
  14478. efficient. Now Tor can specifically ask for IPv4, IPv6 or both
  14479. types of interfaces from the operating system. Resolves
  14480. ticket 17950.
  14481. - When get_interface_address6_list(.,AF_UNSPEC,.) is called and
  14482. fails to enumerate interface addresses using the platform-specific
  14483. API, have it rely on the UDP socket fallback technique to try and
  14484. find out what IP addresses (both IPv4 and IPv6) our machine has.
  14485. Resolves ticket 17951.
  14486. o Minor features (replay cache):
  14487. - The replay cache now uses SHA256 instead of SHA1. Implements
  14488. feature 8961. Patch by "teor", issue reported by "rransom".
  14489. o Minor features (unix file permissions):
  14490. - Defer creation of Unix sockets until after setuid. This avoids
  14491. needing CAP_CHOWN and CAP_FOWNER when using systemd's
  14492. CapabilityBoundingSet, or chown and fowner when using SELinux.
  14493. Implements part of ticket 17562. Patch from Jamie Nguyen.
  14494. - If any directory created by Tor is marked as group readable, the
  14495. filesystem group is allowed to be either the default GID or the
  14496. root user. Allowing root to read the DataDirectory prevents the
  14497. need for CAP_READ_SEARCH when using systemd's
  14498. CapabilityBoundingSet, or dac_read_search when using SELinux.
  14499. Implements part of ticket 17562. Patch from Jamie Nguyen.
  14500. - Introduce a new DataDirectoryGroupReadable option. If it is set to
  14501. 1, the DataDirectory will be made readable by the default GID.
  14502. Implements part of ticket 17562. Patch from Jamie Nguyen.
  14503. o Minor bugfixes (accounting):
  14504. - The max bandwidth when using 'AccountRule sum' is now correctly
  14505. logged. Fixes bug 18024; bugfix on 0.2.6.1-alpha. Patch
  14506. from "unixninja92".
  14507. o Minor bugfixes (code correctness):
  14508. - When closing an entry connection, generate a warning if we should
  14509. have sent an end cell for it but we haven't. Fixes bug 17876;
  14510. bugfix on 0.2.3.2-alpha.
  14511. - Assert that allocated memory held by the reputation code is freed
  14512. according to its internal counters. Fixes bug 17753; bugfix
  14513. on 0.1.1.1-alpha.
  14514. - Assert when the TLS contexts fail to initialize. Fixes bug 17683;
  14515. bugfix on 0.0.6.
  14516. o Minor bugfixes (compilation):
  14517. - Mark all object files that include micro-revision.i as depending
  14518. on it, so as to make parallel builds more reliable. Fixes bug
  14519. 17826; bugfix on 0.2.5.1-alpha.
  14520. - Don't try to use the pthread_condattr_setclock() function unless
  14521. it actually exists. Fixes compilation on NetBSD-6.x. Fixes bug
  14522. 17819; bugfix on 0.2.6.3-alpha.
  14523. - Fix backtrace compilation on FreeBSD. Fixes bug 17827; bugfix
  14524. on 0.2.5.2-alpha.
  14525. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  14526. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  14527. - Fix search for libevent libraries on OpenBSD (and other systems
  14528. that install libevent 1 and libevent 2 in parallel). Fixes bug
  14529. 16651; bugfix on 0.1.0.7-rc. Patch from "rubiate".
  14530. - Isolate environment variables meant for tests from the rest of the
  14531. build system. Fixes bug 17818; bugfix on 0.2.7.3-rc.
  14532. - Replace usage of 'INLINE' with 'inline'. Fixes bug 17804; bugfix
  14533. on 0.0.2pre8.
  14534. - Remove config.log only from make distclean, not from make clean.
  14535. Fixes bug 17924; bugfix on 0.2.4.1-alpha.
  14536. o Minor bugfixes (crypto):
  14537. - Check the return value of HMAC() and assert on failure. Fixes bug
  14538. 17658; bugfix on 0.2.3.6-alpha. Patch by "teor".
  14539. o Minor bugfixes (fallback directories):
  14540. - Mark fallbacks as "too busy" when they return a 503 response,
  14541. rather than just marking authorities. Fixes bug 17572; bugfix on
  14542. 0.2.4.7-alpha. Patch by "teor".
  14543. o Minor bugfixes (IPv6):
  14544. - Update the limits in max_dl_per_request for IPv6 address length.
  14545. Fixes bug 17573; bugfix on 0.2.1.5-alpha.
  14546. o Minor bugfixes (linux seccomp2 sandbox):
  14547. - Fix a crash when using offline master ed25519 keys with the Linux
  14548. seccomp2 sandbox enabled. Fixes bug 17675; bugfix on 0.2.7.3-rc.
  14549. o Minor bugfixes (logging):
  14550. - In log messages that include a function name, use __FUNCTION__
  14551. instead of __PRETTY_FUNCTION__. In GCC, these are synonymous, but
  14552. with clang __PRETTY_FUNCTION__ has extra information we don't
  14553. need. Fixes bug 16563; bugfix on 0.0.2pre8. Fix by Tom van
  14554. der Woerdt.
  14555. - Remove needless quotes from a log message about unparseable
  14556. addresses. Fixes bug 17843; bugfix on 0.2.3.3-alpha.
  14557. o Minor bugfixes (portability):
  14558. - Remove an #endif from configure.ac so that we correctly detect the
  14559. presence of in6_addr.s6_addr32. Fixes bug 17923; bugfix
  14560. on 0.2.0.13-alpha.
  14561. o Minor bugfixes (relays):
  14562. - Check that both the ORPort and DirPort (if present) are reachable
  14563. before publishing a relay descriptor. Otherwise, relays publish a
  14564. descriptor with DirPort 0 when the DirPort reachability test takes
  14565. longer than the ORPort reachability test. Fixes bug 18050; bugfix
  14566. on 0.1.0.1-rc. Reported by "starlight", patch by "teor".
  14567. o Minor bugfixes (relays, hidden services):
  14568. - Refuse connection requests to private OR addresses unless
  14569. ExtendAllowPrivateAddresses is set. Previously, tor would connect,
  14570. then refuse to send any cells to a private address. Fixes bugs
  14571. 17674 and 8976; bugfix on 0.2.3.21-rc. Patch by "teor".
  14572. o Minor bugfixes (safe logging):
  14573. - When logging a malformed hostname received through socks4, scrub
  14574. it if SafeLogging says we should. Fixes bug 17419; bugfix
  14575. on 0.1.1.16-rc.
  14576. o Minor bugfixes (statistics code):
  14577. - Consistently check for overflow in round_*_to_next_multiple_of
  14578. functions, and add unit tests with additional and maximal values.
  14579. Fixes part of bug 13192; bugfix on 0.2.2.1-alpha.
  14580. - Handle edge cases in the laplace functions: avoid division by
  14581. zero, avoid taking the log of zero, and silence clang type
  14582. conversion warnings using round and trunc. Add unit tests for edge
  14583. cases with maximal values. Fixes part of bug 13192; bugfix
  14584. on 0.2.6.2-alpha.
  14585. o Minor bugfixes (testing):
  14586. - The test for log_heartbeat was incorrectly failing in timezones
  14587. with non-integer offsets. Instead of comparing the end of the time
  14588. string against a constant, compare it to the output of
  14589. format_local_iso_time when given the correct input. Fixes bug
  14590. 18039; bugfix on 0.2.5.4-alpha.
  14591. - Make unit tests pass on IPv6-only systems, and systems without
  14592. localhost addresses (like some FreeBSD jails). Fixes bug 17632;
  14593. bugfix on 0.2.7.3-rc. Patch by "teor".
  14594. - Fix a memory leak in the ntor test. Fixes bug 17778; bugfix
  14595. on 0.2.4.8-alpha.
  14596. - Check the full results of SHA256 and SHA512 digests in the unit
  14597. tests. Bugfix on 0.2.2.4-alpha. Patch by "teor".
  14598. o Code simplification and refactoring:
  14599. - Move logging of redundant policy entries in
  14600. policies_parse_exit_policy_internal into its own function. Closes
  14601. ticket 17608; patch from "juce".
  14602. - Extract the more complicated parts of circuit_mark_for_close()
  14603. into a new function that we run periodically before circuits are
  14604. freed. This change removes more than half of the functions
  14605. currently in the "blob". Closes ticket 17218.
  14606. - Clean up a little duplicated code in
  14607. crypto_expand_key_material_TAP(). Closes ticket 17587; patch
  14608. from "pfrankw".
  14609. - Decouple the list of streams waiting to be attached to circuits
  14610. from the overall connection list. This change makes it possible to
  14611. attach streams quickly while simplifying Tor's callgraph and
  14612. avoiding O(N) scans of the entire connection list. Closes
  14613. ticket 17590.
  14614. - When a direct directory request fails immediately on launch,
  14615. instead of relaunching that request from inside the code that
  14616. launches it, instead mark the connection for teardown. This change
  14617. simplifies Tor's callback and prevents the directory-request
  14618. launching code from invoking itself recursively. Closes
  14619. ticket 17589
  14620. - Remove code for configuring OpenSSL dynamic locks; OpenSSL doesn't
  14621. use them. Closes ticket 17926.
  14622. o Documentation:
  14623. - Add a description of the correct use of the '--keygen' command-
  14624. line option. Closes ticket 17583; based on text by 's7r'.
  14625. - Document the minimum HeartbeatPeriod value. Closes ticket 15638.
  14626. - Explain actual minima for BandwidthRate. Closes ticket 16382.
  14627. - Fix a minor formatting typo in the manpage. Closes ticket 17791.
  14628. - Mention torspec URL in the manpage and point the reader to it
  14629. whenever we mention a document that belongs in torspce. Fixes
  14630. issue 17392.
  14631. o Removed features:
  14632. - Remove client-side support for connecting to Tor relays running
  14633. versions of Tor before 0.2.3.6-alpha. These relays didn't support
  14634. the v3 TLS handshake protocol, and are no longer allowed on the
  14635. Tor network. Implements the client side of ticket 11150. Based on
  14636. patches by Tom van der Woerdt.
  14637. o Testing:
  14638. - Add unit tests to check for common RNG failure modes, such as
  14639. returning all zeroes, identical values, or incrementing values
  14640. (OpenSSL's rand_predictable feature). Patch by "teor".
  14641. - Log more information when the backtrace tests fail. Closes ticket
  14642. 17892. Patch from "cypherpunks."
  14643. - Always test both ed25519 backends, so that we can be sure that our
  14644. batch-open replacement code works. Part of ticket 16794.
  14645. - Cover dns_resolve_impl() in dns.c with unit tests. Implements a
  14646. portion of ticket 16831.
  14647. - More unit tests for compat_libevent.c, procmon.c, tortls.c,
  14648. util_format.c, directory.c, and options_validate.c. Closes tickets
  14649. 17075, 17082, 17084, 17003, and 17076 respectively. Patches from
  14650. Ola Bini.
  14651. - Unit tests for directory_handle_command_get. Closes ticket 17004.
  14652. Patch from Reinaldo de Souza Jr.
  14653. Changes in version 0.2.7.6 - 2015-12-10
  14654. Tor version 0.2.7.6 fixes a major bug in entry guard selection, as
  14655. well as a minor bug in hidden service reliability.
  14656. o Major bugfixes (guard selection):
  14657. - Actually look at the Guard flag when selecting a new directory
  14658. guard. When we implemented the directory guard design, we
  14659. accidentally started treating all relays as if they have the Guard
  14660. flag during guard selection, leading to weaker anonymity and worse
  14661. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  14662. by Mohsen Imani.
  14663. o Minor features (geoip):
  14664. - Update geoip and geoip6 to the December 1 2015 Maxmind GeoLite2
  14665. Country database.
  14666. o Minor bugfixes (compilation):
  14667. - When checking for net/pfvar.h, include netinet/in.h if possible.
  14668. This fixes transparent proxy detection on OpenBSD. Fixes bug
  14669. 17551; bugfix on 0.1.2.1-alpha. Patch from "rubiate".
  14670. - Fix a compilation warning with Clang 3.6: Do not check the
  14671. presence of an address which can never be NULL. Fixes bug 17781.
  14672. o Minor bugfixes (correctness):
  14673. - When displaying an IPv6 exit policy, include the mask bits
  14674. correctly even when the number is greater than 31. Fixes bug
  14675. 16056; bugfix on 0.2.4.7-alpha. Patch from "gturner".
  14676. - The wrong list was used when looking up expired intro points in a
  14677. rend service object, causing what we think could be reachability
  14678. issues for hidden services, and triggering a BUG log. Fixes bug
  14679. 16702; bugfix on 0.2.7.2-alpha.
  14680. - Fix undefined behavior in the tor_cert_checksig function. Fixes
  14681. bug 17722; bugfix on 0.2.7.2-alpha.
  14682. Changes in version 0.2.7.5 - 2015-11-20
  14683. The Tor 0.2.7 release series is dedicated to the memory of Tor user
  14684. and privacy advocate Caspar Bowden (1961-2015). Caspar worked
  14685. tirelessly to advocate human rights regardless of national borders,
  14686. and oppose the encroachments of mass surveillance. He opposed national
  14687. exceptionalism, he brought clarity to legal and policy debates, he
  14688. understood and predicted the impact of mass surveillance on the world,
  14689. and he laid the groundwork for resisting it. While serving on the Tor
  14690. Project's board of directors, he brought us his uncompromising focus
  14691. on technical excellence in the service of humankind. Caspar was an
  14692. inimitable force for good and a wonderful friend. He was kind,
  14693. humorous, generous, gallant, and believed we should protect one
  14694. another without exception. We honor him here for his ideals, his
  14695. efforts, and his accomplishments. Please honor his memory with works
  14696. that would make him proud.
  14697. Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series.
  14698. The 0.2.7 series adds a more secure identity key type for relays,
  14699. improves cryptography performance, resolves several longstanding
  14700. hidden-service performance issues, improves controller support for
  14701. hidden services, and includes small bugfixes and performance
  14702. improvements throughout the program. This release series also includes
  14703. more tests than before, and significant simplifications to which parts
  14704. of Tor invoke which others.
  14705. (This release contains no code changes since 0.2.7.4-rc.)
  14706. Changes in version 0.2.7.4-rc - 2015-10-21
  14707. Tor 0.2.7.4-rc is the second release candidate in the 0.2.7 series. It
  14708. fixes some important memory leaks, and a scary-looking (but mostly
  14709. harmless in practice) invalid-read bug. It also has a few small
  14710. bugfixes, notably fixes for compilation and portability on different
  14711. platforms. If no further significant bounds are found, the next
  14712. release will the the official stable release.
  14713. o Major bugfixes (security, correctness):
  14714. - Fix an error that could cause us to read 4 bytes before the
  14715. beginning of an openssl string. This bug could be used to cause
  14716. Tor to crash on systems with unusual malloc implementations, or
  14717. systems with unusual hardening installed. Fixes bug 17404; bugfix
  14718. on 0.2.3.6-alpha.
  14719. o Major bugfixes (correctness):
  14720. - Fix a use-after-free bug in validate_intro_point_failure(). Fixes
  14721. bug 17401; bugfix on 0.2.7.3-rc.
  14722. o Major bugfixes (memory leaks):
  14723. - Fix a memory leak in ed25519 batch signature checking. Fixes bug
  14724. 17398; bugfix on 0.2.6.1-alpha.
  14725. - Fix a memory leak in rend_cache_failure_entry_free(). Fixes bug
  14726. 17402; bugfix on 0.2.7.3-rc.
  14727. - Fix a memory leak when reading an expired signing key from disk.
  14728. Fixes bug 17403; bugfix on 0.2.7.2-rc.
  14729. o Minor features (geoIP):
  14730. - Update geoip and geoip6 to the October 9 2015 Maxmind GeoLite2
  14731. Country database.
  14732. o Minor bugfixes (compilation):
  14733. - Repair compilation with the most recent (unreleased, alpha)
  14734. vesions of OpenSSL 1.1. Fixes part of ticket 17237.
  14735. - Fix an integer overflow warning in test_crypto_slow.c. Fixes bug
  14736. 17251; bugfix on 0.2.7.2-alpha.
  14737. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  14738. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  14739. o Minor bugfixes (portability):
  14740. - Use libexecinfo on FreeBSD to enable backtrace support. Fixes
  14741. part of bug 17151; bugfix on 0.2.5.2-alpha. Patch from
  14742. Marcin Cieślak.
  14743. o Minor bugfixes (sandbox):
  14744. - Add the "hidserv-stats" filename to our sandbox filter for the
  14745. HiddenServiceStatistics option to work properly. Fixes bug 17354;
  14746. bugfix on 0.2.6.2-alpha. Patch from David Goulet.
  14747. o Minor bugfixes (testing):
  14748. - Add unit tests for get_interface_address* failure cases. Fixes bug
  14749. 17173; bugfix on 0.2.7.3-rc. Patch by fk/teor.
  14750. - Fix breakage when running 'make check' with BSD make. Fixes bug
  14751. 17154; bugfix on 0.2.7.3-rc. Patch by Marcin Cieślak.
  14752. - Make the get_ifaddrs_* unit tests more tolerant of different
  14753. network configurations. (Don't assume every test box has an IPv4
  14754. address, and don't assume every test box has a non-localhost
  14755. address.) Fixes bug 17255; bugfix on 0.2.7.3-rc. Patch by "teor".
  14756. - Skip backtrace tests when backtrace support is not compiled in.
  14757. Fixes part of bug 17151; bugfix on 0.2.7.1-alpha. Patch from
  14758. Marcin Cieślak.
  14759. o Documentation:
  14760. - Fix capitalization of SOCKS in sample torrc. Closes ticket 15609.
  14761. - Note that HiddenServicePorts can take a unix domain socket. Closes
  14762. ticket 17364.
  14763. Changes in version 0.2.7.3-rc - 2015-09-25
  14764. Tor 0.2.7.3-rc is the first release candidate in the 0.2.7 series. It
  14765. contains numerous usability fixes for Ed25519 keys, safeguards against
  14766. several misconfiguration problems, significant simplifications to
  14767. Tor's callgraph, and numerous bugfixes and small features.
  14768. This is the most tested release of Tor to date. The unit tests cover
  14769. 39.40% of the code, and the integration tests (accessible with "make
  14770. test-full-online", requiring stem and chutney and a network
  14771. connection) raise the coverage to 64.49%.
  14772. o Major features (security, hidden services):
  14773. - Hidden services, if using the EntryNodes option, are required to
  14774. use more than one EntryNode, in order to avoid a guard discovery
  14775. attack. (This would only affect people who had configured hidden
  14776. services and manually specified the EntryNodes option with a
  14777. single entry-node. The impact was that it would be easy to
  14778. remotely identify the guard node used by such a hidden service.
  14779. See ticket for more information.) Fixes ticket 14917.
  14780. o Major features (Ed25519 keys, keypinning):
  14781. - The key-pinning option on directory authorities is now advisory-
  14782. only by default. In a future version, or when the AuthDirPinKeys
  14783. option is set, pins are enforced again. Disabling key-pinning
  14784. seemed like a good idea so that we can survive the fallout of any
  14785. usability problems associated with Ed25519 keys. Closes
  14786. ticket 17135.
  14787. o Major features (Ed25519 performance):
  14788. - Improve the speed of Ed25519 operations and Curve25519 keypair
  14789. generation when built targeting 32 bit x86 platforms with SSE2
  14790. available. Implements ticket 16535.
  14791. - Improve the runtime speed of Ed25519 signature verification by
  14792. using Ed25519-donna's batch verification support. Implements
  14793. ticket 16533.
  14794. o Major features (performance testing):
  14795. - The test-network.sh script now supports performance testing.
  14796. Requires corresponding chutney performance testing changes. Patch
  14797. by "teor". Closes ticket 14175.
  14798. o Major features (relay, Ed25519):
  14799. - Significant usability improvements for Ed25519 key management. Log
  14800. messages are better, and the code can recover from far more
  14801. failure conditions. Thanks to "s7r" for reporting and diagnosing
  14802. so many of these!
  14803. - Add a new OfflineMasterKey option to tell Tor never to try loading
  14804. or generating a secret Ed25519 identity key. You can use this in
  14805. combination with tor --keygen to manage offline and/or encrypted
  14806. Ed25519 keys. Implements ticket 16944.
  14807. - Add a --newpass option to allow changing or removing the
  14808. passphrase of an encrypted key with tor --keygen. Implements part
  14809. of ticket 16769.
  14810. - On receiving a HUP signal, check to see whether the Ed25519
  14811. signing key has changed, and reload it if so. Closes ticket 16790.
  14812. o Major bugfixes (relay, Ed25519):
  14813. - Avoid crashing on 'tor --keygen'. Fixes bug 16679; bugfix on
  14814. 0.2.7.2-alpha. Reported by "s7r".
  14815. - Improve handling of expired signing keys with offline master keys.
  14816. Fixes bug 16685; bugfix on 0.2.7.2-alpha. Reported by "s7r".
  14817. o Minor features (client-side privacy):
  14818. - New KeepAliveIsolateSOCKSAuth option to indefinitely extend circuit
  14819. lifespan when IsolateSOCKSAuth and streams with SOCKS
  14820. authentication are attached to the circuit. This allows
  14821. applications like TorBrowser to manage circuit lifetime on their
  14822. own. Implements feature 15482.
  14823. - When logging malformed hostnames from SOCKS5 requests, respect
  14824. SafeLogging configuration. Fixes bug 16891; bugfix on 0.1.1.16-rc.
  14825. o Minor features (compilation):
  14826. - Give a warning as early as possible when trying to build with an
  14827. unsupported OpenSSL version. Closes ticket 16901.
  14828. - Fail during configure if we're trying to build against an OpenSSL
  14829. built without ECC support. Fixes bug 17109, bugfix on 0.2.7.1-alpha
  14830. which started requiring ECC.
  14831. o Minor features (geoip):
  14832. - Update geoip and geoip6 to the September 3 2015 Maxmind GeoLite2
  14833. Country database.
  14834. o Minor features (hidden services):
  14835. - Relays need to have the Fast flag to get the HSDir flag. As this
  14836. is being written, we'll go from 2745 HSDirs down to 2342, a ~14%
  14837. drop. This change should make some attacks against the hidden
  14838. service directory system harder. Fixes ticket 15963.
  14839. - Turn on hidden service statistics collection by setting the torrc
  14840. option HiddenServiceStatistics to "1" by default. (This keeps
  14841. track only of the fraction of traffic used by hidden services, and
  14842. the total number of hidden services in existence.) Closes
  14843. ticket 15254.
  14844. - Client now uses an introduction point failure cache to know when
  14845. to fetch or keep a descriptor in their cache. Previously, failures
  14846. were recorded implicitly, but not explicitly remembered. Closes
  14847. ticket 16389.
  14848. o Minor features (testing, authorities, documentation):
  14849. - New TestingDirAuthVote{Exit,Guard,HSDir}IsStrict flags to
  14850. explicitly manage consensus flags in testing networks. Patch by
  14851. "robgjansen", modified by "teor". Implements part of ticket 14882.
  14852. o Minor bugfixes (security, exit policies):
  14853. - ExitPolicyRejectPrivate now also rejects the relay's published
  14854. IPv6 address (if any), and any publicly routable IPv4 or IPv6
  14855. addresses on any local interfaces. ticket 17027. Patch by "teor".
  14856. Fixes bug 17027; bugfix on 0.2.0.11-alpha.
  14857. o Minor bug fixes (torrc exit policies):
  14858. - In torrc, "accept6 *" and "reject6 *" ExitPolicy lines now only
  14859. produce IPv6 wildcard addresses. Previously they would produce
  14860. both IPv4 and IPv6 wildcard addresses. Patch by "teor". Fixes part
  14861. of bug 16069; bugfix on 0.2.4.7-alpha.
  14862. - When parsing torrc ExitPolicies, we now warn for a number of cases
  14863. where the user's intent is likely to differ from Tor's actual
  14864. behavior. These include: using an IPv4 address with an accept6 or
  14865. reject6 line; using "private" on an accept6 or reject6 line; and
  14866. including any ExitPolicy lines after accept *:* or reject *:*.
  14867. Related to ticket 16069.
  14868. - When parsing torrc ExitPolicies, we now issue an info-level
  14869. message when expanding an "accept/reject *" line to include both
  14870. IPv4 and IPv6 wildcard addresses. Related to ticket 16069.
  14871. - In each instance above, usage advice is provided to avoid the
  14872. message. Resolves ticket 16069. Patch by "teor". Fixes part of bug
  14873. 16069; bugfix on 0.2.4.7-alpha.
  14874. o Minor bugfixes (authority):
  14875. - Don't assign "HSDir" to a router if it isn't Valid and Running.
  14876. Fixes bug 16524; bugfix on 0.2.7.2-alpha.
  14877. - Downgrade log messages about Ed25519 key issues if they are in old
  14878. cached router descriptors. Fixes part of bug 16286; bugfix
  14879. on 0.2.7.2-alpha.
  14880. - When we find an Ed25519 key issue in a cached descriptor, stop
  14881. saying the descriptor was just "uploaded". Fixes another part of
  14882. bug 16286; bugfix on 0.2.7.2-alpha.
  14883. o Minor bugfixes (control port):
  14884. - Repair a warning and a spurious result when getting the maximum
  14885. number of file descriptors from the controller. Fixes bug 16697;
  14886. bugfix on 0.2.7.2-alpha.
  14887. o Minor bugfixes (correctness):
  14888. - When calling channel_free_list(), avoid calling smartlist_remove()
  14889. while inside a FOREACH loop. This partially reverts commit
  14890. 17356fe7fd96af where the correct SMARTLIST_DEL_CURRENT was
  14891. incorrectly removed. Fixes bug 16924; bugfix on 0.2.4.4-alpha.
  14892. o Minor bugfixes (documentation):
  14893. - Advise users on how to configure separate IPv4 and IPv6 exit
  14894. policies in the manpage and sample torrcs. Related to ticket 16069.
  14895. - Fix the usage message of tor-resolve(1) so that it no longer lists
  14896. the removed -F option. Fixes bug 16913; bugfix on 0.2.2.28-beta.
  14897. - Fix an error in the manual page and comments for
  14898. TestingDirAuthVoteHSDir[IsStrict], which suggested that a HSDir
  14899. required "ORPort connectivity". While this is true, it is in no
  14900. way unique to the HSDir flag. Of all the flags, only HSDirs need a
  14901. DirPort configured in order for the authorities to assign that
  14902. particular flag. Patch by "teor". Fixed as part of 14882; bugfix
  14903. on 0.2.6.3-alpha.
  14904. o Minor bugfixes (Ed25519):
  14905. - Fix a memory leak when reading router descriptors with expired
  14906. Ed25519 certificates. Fixes bug 16539; bugfix on 0.2.7.2-alpha.
  14907. o Minor bugfixes (linux seccomp2 sandbox):
  14908. - Allow bridge authorities to run correctly under the seccomp2
  14909. sandbox. Fixes bug 16964; bugfix on 0.2.5.1-alpha.
  14910. - Allow routers with ed25519 keys to run correctly under the
  14911. seccomp2 sandbox. Fixes bug 16965; bugfix on 0.2.7.2-alpha.
  14912. o Minor bugfixes (open file limit):
  14913. - Fix set_max_file_descriptors() to set by default the max open file
  14914. limit to the current limit when setrlimit() fails. Fixes bug
  14915. 16274; bugfix on 0.2.0.10-alpha. Patch by dgoulet.
  14916. o Minor bugfixes (portability):
  14917. - Try harder to normalize the exit status of the Tor process to the
  14918. standard-provided range. Fixes bug 16975; bugfix on every version
  14919. of Tor ever.
  14920. - Check correctly for Windows socket errors in the workqueue
  14921. backend. Fixes bug 16741; bugfix on 0.2.6.3-alpha.
  14922. - Fix the behavior of crypto_rand_time_range() when told to consider
  14923. times before 1970. (These times were possible when running in a
  14924. simulated network environment where time()'s output starts at
  14925. zero.) Fixes bug 16980; bugfix on 0.2.7.1-alpha.
  14926. - Restore correct operation of TLS client-cipher detection on
  14927. OpenSSL 1.1. Fixes bug 14047; bugfix on 0.2.7.2-alpha.
  14928. o Minor bugfixes (relay):
  14929. - Ensure that worker threads actually exit when a fatal error or
  14930. shutdown is indicated. This fix doesn't currently affect the
  14931. behavior of Tor, because Tor workers never indicates fatal error
  14932. or shutdown except in the unit tests. Fixes bug 16868; bugfix
  14933. on 0.2.6.3-alpha.
  14934. - Unblock threads before releasing the work queue mutex to ensure
  14935. predictable scheduling behavior. Fixes bug 16644; bugfix
  14936. on 0.2.6.3-alpha.
  14937. o Code simplification and refactoring:
  14938. - Change the function that's called when we need to retry all
  14939. downloads so that it only reschedules the downloads to happen
  14940. immediately, rather than launching them all at once itself. This
  14941. further simplifies Tor's callgraph.
  14942. - Move some format-parsing functions out of crypto.c and
  14943. crypto_curve25519.c into crypto_format.c and/or util_format.c.
  14944. - Move the client-only parts of init_keys() into a separate
  14945. function. Closes ticket 16763.
  14946. - Simplify the microdesc_free() implementation so that it no longer
  14947. appears (to code analysis tools) to potentially invoke a huge
  14948. suite of other microdesc functions.
  14949. - Simply the control graph further by deferring the inner body of
  14950. directory_all_unreachable() into a callback. Closes ticket 16762.
  14951. - Treat the loss of an owning controller as equivalent to a SIGTERM
  14952. signal. This removes a tiny amount of duplicated code, and
  14953. simplifies our callgraph. Closes ticket 16788.
  14954. - When generating an event to send to the controller, we no longer
  14955. put the event over the network immediately. Instead, we queue
  14956. these events, and use a Libevent callback to deliver them. This
  14957. change simplifies Tor's callgraph by reducing the number of
  14958. functions from which all other Tor functions are reachable. Closes
  14959. ticket 16695.
  14960. - Wrap Windows-only C files inside '#ifdef _WIN32' so that tools
  14961. that try to scan or compile every file on Unix won't decide that
  14962. they are broken.
  14963. - Remove the unused "nulterminate" argument from buf_pullup().
  14964. o Documentation:
  14965. - Recommend a 40 GB example AccountingMax in torrc.sample rather
  14966. than a 4 GB max. Closes ticket 16742.
  14967. - Include the TUNING document in our source tarball. It is referred
  14968. to in the ChangeLog and an error message. Fixes bug 16929; bugfix
  14969. on 0.2.6.1-alpha.
  14970. o Removed code:
  14971. - The internal pure-C tor-fw-helper tool is now removed from the Tor
  14972. distribution, in favor of the pure-Go clone available from
  14973. https://gitweb.torproject.org/tor-fw-helper.git/ . The libraries
  14974. used by the C tor-fw-helper are not, in our opinion, very
  14975. confidence- inspiring in their secure-programming techniques.
  14976. Closes ticket 13338.
  14977. - Remove the code that would try to aggressively flush controller
  14978. connections while writing to them. This code was introduced in
  14979. 0.1.2.7-alpha, in order to keep output buffers from exceeding
  14980. their limits. But there is no longer a maximum output buffer size,
  14981. and flushing data in this way caused some undesirable recursions
  14982. in our call graph. Closes ticket 16480.
  14983. o Testing:
  14984. - Make "bridges+hs" the default test network. This tests almost all
  14985. tor functionality during make test-network, while allowing tests
  14986. to succeed on non-IPv6 systems. Requires chutney commit 396da92 in
  14987. test-network-bridges-hs. Closes tickets 16945 (tor) and 16946
  14988. (chutney). Patches by "teor".
  14989. - Autodetect CHUTNEY_PATH if the chutney and Tor sources are side-
  14990. by-side in the same parent directory. Closes ticket 16903. Patch
  14991. by "teor".
  14992. - Use environment variables rather than autoconf substitutions to
  14993. send variables from the build system to the test scripts. This
  14994. change should be easier to maintain, and cause 'make distcheck' to
  14995. work better than before. Fixes bug 17148.
  14996. - Add a new set of callgraph analysis scripts that use clang to
  14997. produce a list of which Tor functions are reachable from which
  14998. other Tor functions. We're planning to use these to help simplify
  14999. our code structure by identifying illogical dependencies.
  15000. - Add new 'test-full' and 'test-full-online' targets to run all
  15001. tests, including integration tests with stem and chutney.
  15002. - Make the test-workqueue test work on Windows by initializing the
  15003. network before we begin.
  15004. - New make target (make test-network-all) to run multiple applicable
  15005. chutney test cases. Patch from Teor; closes 16953.
  15006. - Unit test dns_resolve(), dns_clip_ttl() and dns_get_expiry_ttl()
  15007. functions in dns.c. Implements a portion of ticket 16831.
  15008. - When building Tor with testing coverage enabled, run Chutney tests
  15009. (if any) using the 'tor-cov' coverage binary.
  15010. - When running test-network or test-stem, check for the absence of
  15011. stem/chutney before doing any build operations.
  15012. Changes in version 0.2.7.2-alpha - 2015-07-27
  15013. This, the second alpha in the Tor 0.2.7 series, has a number of new
  15014. features, including a way to manually pick the number of introduction
  15015. points for hidden services, and the much stronger Ed25519 signing key
  15016. algorithm for regular Tor relays (including support for encrypted
  15017. offline identity keys in the new algorithm).
  15018. Support for Ed25519 on relays is currently limited to signing router
  15019. descriptors; later alphas in this series will extend Ed25519 key
  15020. support to more parts of the Tor protocol.
  15021. o Major features (Ed25519 identity keys, Proposal 220):
  15022. - All relays now maintain a stronger identity key, using the Ed25519
  15023. elliptic curve signature format. This master key is designed so
  15024. that it can be kept offline. Relays also generate an online
  15025. signing key, and a set of other Ed25519 keys and certificates.
  15026. These are all automatically regenerated and rotated as needed.
  15027. Implements part of ticket 12498.
  15028. - Directory authorities now vote on Ed25519 identity keys along with
  15029. RSA1024 keys. Implements part of ticket 12498.
  15030. - Directory authorities track which Ed25519 identity keys have been
  15031. used with which RSA1024 identity keys, and do not allow them to
  15032. vary freely. Implements part of ticket 12498.
  15033. - Microdescriptors now include Ed25519 identity keys. Implements
  15034. part of ticket 12498.
  15035. - Add support for offline encrypted Ed25519 master keys. To use this
  15036. feature on your tor relay, run "tor --keygen" to make a new master
  15037. key (or to make a new signing key if you already have a master
  15038. key). Closes ticket 13642.
  15039. o Major features (Hidden services):
  15040. - Add the torrc option HiddenServiceNumIntroductionPoints, to
  15041. specify a fixed number of introduction points. Its maximum value
  15042. is 10 and default is 3. Using this option can increase a hidden
  15043. service's reliability under load, at the cost of making it more
  15044. visible that the hidden service is facing extra load. Closes
  15045. ticket 4862.
  15046. - Remove the adaptive algorithm for choosing the number of
  15047. introduction points, which used to change the number of
  15048. introduction points (poorly) depending on the number of
  15049. connections the HS sees. Closes ticket 4862.
  15050. o Major features (onion key cross-certification):
  15051. - Relay descriptors now include signatures of their own identity
  15052. keys, made using the TAP and ntor onion keys. These signatures
  15053. allow relays to prove ownership of their own onion keys. Because
  15054. of this change, microdescriptors will no longer need to include
  15055. RSA identity keys. Implements proposal 228; closes ticket 12499.
  15056. o Major features (performance):
  15057. - Improve the runtime speed of Ed25519 operations by using the
  15058. public-domain Ed25519-donna by Andrew M. ("floodyberry").
  15059. Implements ticket 16467.
  15060. - Improve the runtime speed of the ntor handshake by using an
  15061. optimized curve25519 basepoint scalarmult implementation from the
  15062. public-domain Ed25519-donna by Andrew M. ("floodyberry"), based on
  15063. ideas by Adam Langley. Implements ticket 9663.
  15064. o Major bugfixes (client-side privacy, also in 0.2.6.9):
  15065. - Properly separate out each SOCKSPort when applying stream
  15066. isolation. The error occurred because each port's session group
  15067. was being overwritten by a default value when the listener
  15068. connection was initialized. Fixes bug 16247; bugfix on
  15069. 0.2.6.3-alpha. Patch by "jojelino".
  15070. o Major bugfixes (hidden service clients, stability, also in 0.2.6.10):
  15071. - Stop refusing to store updated hidden service descriptors on a
  15072. client. This reverts commit 9407040c59218 (which indeed fixed bug
  15073. 14219, but introduced a major hidden service reachability
  15074. regression detailed in bug 16381). This is a temporary fix since
  15075. we can live with the minor issue in bug 14219 (it just results in
  15076. some load on the network) but the regression of 16381 is too much
  15077. of a setback. First-round fix for bug 16381; bugfix
  15078. on 0.2.6.3-alpha.
  15079. o Major bugfixes (hidden services):
  15080. - When cannibalizing a circuit for an introduction point, always
  15081. extend to the chosen exit node (creating a 4 hop circuit).
  15082. Previously Tor would use the current circuit exit node, which
  15083. changed the original choice of introduction point, and could cause
  15084. the hidden service to skip excluded introduction points or
  15085. reconnect to a skipped introduction point. Fixes bug 16260; bugfix
  15086. on 0.1.0.1-rc.
  15087. o Major bugfixes (open file limit):
  15088. - The open file limit wasn't checked before calling
  15089. tor_accept_socket_nonblocking(), which would make Tor exceed the
  15090. limit. Now, before opening a new socket, Tor validates the open
  15091. file limit just before, and if the max has been reached, return an
  15092. error. Fixes bug 16288; bugfix on 0.1.1.1-alpha.
  15093. o Major bugfixes (stability, also in 0.2.6.10):
  15094. - Stop crashing with an assertion failure when parsing certain kinds
  15095. of malformed or truncated microdescriptors. Fixes bug 16400;
  15096. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  15097. by "cypherpunks_backup".
  15098. - Stop random client-side assertion failures that could occur when
  15099. connecting to a busy hidden service, or connecting to a hidden
  15100. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  15101. on 0.1.0.1-rc.
  15102. o Minor features (directory authorities, security, also in 0.2.6.9):
  15103. - The HSDir flag given by authorities now requires the Stable flag.
  15104. For the current network, this results in going from 2887 to 2806
  15105. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  15106. attack by raising the effort for a relay to become Stable to
  15107. require at the very least 7 days, while maintaining the 96 hours
  15108. uptime requirement for HSDir. Implements ticket 8243.
  15109. o Minor features (client):
  15110. - Relax the validation of hostnames in SOCKS5 requests, allowing the
  15111. character '_' to appear, in order to cope with domains observed in
  15112. the wild that are serving non-RFC compliant records. Resolves
  15113. ticket 16430.
  15114. - Relax the validation done to hostnames in SOCKS5 requests, and
  15115. allow a single trailing '.' to cope with clients that pass FQDNs
  15116. using that syntax to explicitly indicate that the domain name is
  15117. fully-qualified. Fixes bug 16674; bugfix on 0.2.6.2-alpha.
  15118. - Add GroupWritable and WorldWritable options to unix-socket based
  15119. SocksPort and ControlPort options. These options apply to a single
  15120. socket, and override {Control,Socks}SocketsGroupWritable. Closes
  15121. ticket 15220.
  15122. o Minor features (control protocol):
  15123. - Support network-liveness GETINFO key and NETWORK_LIVENESS event in
  15124. the control protocol. Resolves ticket 15358.
  15125. o Minor features (directory authorities):
  15126. - Directory authorities no longer vote against the "Fast", "Stable",
  15127. and "HSDir" flags just because they were going to vote against
  15128. "Running": if the consensus turns out to be that the router was
  15129. running, then the authority's vote should count. Patch from Peter
  15130. Retzlaff; closes issue 8712.
  15131. o Minor features (geoip, also in 0.2.6.10):
  15132. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  15133. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  15134. o Minor features (hidden services):
  15135. - Add the new options "HiddenServiceMaxStreams" and
  15136. "HiddenServiceMaxStreamsCloseCircuit" to allow hidden services to
  15137. limit the maximum number of simultaneous streams per circuit, and
  15138. optionally tear down the circuit when the limit is exceeded. Part
  15139. of ticket 16052.
  15140. o Minor features (portability):
  15141. - Use C99 variadic macros when the compiler is not GCC. This avoids
  15142. failing compilations on MSVC, and fixes a log-file-based race
  15143. condition in our old workarounds. Original patch from Gisle Vanem.
  15144. o Minor bugfixes (compilation, also in 0.2.6.9):
  15145. - Build with --enable-systemd correctly when libsystemd is
  15146. installed, but systemd is not. Fixes bug 16164; bugfix on
  15147. 0.2.6.3-alpha. Patch from Peter Palfrader.
  15148. o Minor bugfixes (controller):
  15149. - Add the descriptor ID in each HS_DESC control event. It was
  15150. missing, but specified in control-spec.txt. Fixes bug 15881;
  15151. bugfix on 0.2.5.2-alpha.
  15152. o Minor bugfixes (crypto error-handling, also in 0.2.6.10):
  15153. - Check for failures from crypto_early_init, and refuse to continue.
  15154. A previous typo meant that we could keep going with an
  15155. uninitialized crypto library, and would have OpenSSL initialize
  15156. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  15157. when implementing ticket 4900. Patch by "teor".
  15158. o Minor bugfixes (hidden services):
  15159. - Fix a crash when reloading configuration while at least one
  15160. configured and one ephemeral hidden service exists. Fixes bug
  15161. 16060; bugfix on 0.2.7.1-alpha.
  15162. - Avoid crashing with a double-free bug when we create an ephemeral
  15163. hidden service but adding it fails for some reason. Fixes bug
  15164. 16228; bugfix on 0.2.7.1-alpha.
  15165. o Minor bugfixes (Linux seccomp2 sandbox):
  15166. - Use the sandbox in tor_open_cloexec whether or not O_CLOEXEC is
  15167. defined. Patch by "teor". Fixes bug 16515; bugfix on 0.2.3.1-alpha.
  15168. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.10):
  15169. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  15170. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  15171. on 0.2.6.3-alpha. Patch from "teor".
  15172. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.9):
  15173. - Fix sandboxing to work when running as a relay, by allowing the
  15174. renaming of secret_id_key, and allowing the eventfd2 and futex
  15175. syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha. Patch by
  15176. Peter Palfrader.
  15177. - Allow systemd connections to work with the Linux seccomp2 sandbox
  15178. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  15179. Peter Palfrader.
  15180. o Minor bugfixes (relay):
  15181. - Fix a rarely-encountered memory leak when failing to initialize
  15182. the thread pool. Fixes bug 16631; bugfix on 0.2.6.3-alpha. Patch
  15183. from "cypherpunks".
  15184. o Minor bugfixes (systemd):
  15185. - Fix an accidental formatting error that broke the systemd
  15186. configuration file. Fixes bug 16152; bugfix on 0.2.7.1-alpha.
  15187. - Tor's systemd unit file no longer contains extraneous spaces.
  15188. These spaces would sometimes confuse tools like deb-systemd-
  15189. helper. Fixes bug 16162; bugfix on 0.2.5.5-alpha.
  15190. o Minor bugfixes (tests):
  15191. - Use the configured Python executable when running test-stem-full.
  15192. Fixes bug 16470; bugfix on 0.2.7.1-alpha.
  15193. o Minor bugfixes (tests, also in 0.2.6.9):
  15194. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  15195. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  15196. o Minor bugfixes (threads, comments):
  15197. - Always initialize return value in compute_desc_id in rendcommon.c
  15198. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  15199. - Check for NULL values in getinfo_helper_onions(). Patch by "teor".
  15200. Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  15201. - Remove undefined directive-in-macro in test_util_writepid clang
  15202. 3.7 complains that using a preprocessor directive inside a macro
  15203. invocation in test_util_writepid in test_util.c is undefined.
  15204. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  15205. o Code simplification and refactoring:
  15206. - Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
  15207. to ensure they remain consistent and visible everywhere.
  15208. - Remove some vestigial workarounds for the MSVC6 compiler. We
  15209. haven't supported that in ages.
  15210. - The link authentication code has been refactored for better
  15211. testability and reliability. It now uses code generated with the
  15212. "trunnel" binary encoding generator, to reduce the risk of bugs
  15213. due to programmer error. Done as part of ticket 12498.
  15214. o Documentation:
  15215. - Include a specific and (hopefully) accurate documentation of the
  15216. torrc file's meta-format in doc/torrc_format.txt. This is mainly
  15217. of interest to people writing programs to parse or generate torrc
  15218. files. This document is not a commitment to long-term
  15219. compatibility; some aspects of the current format are a bit
  15220. ridiculous. Closes ticket 2325.
  15221. o Removed features:
  15222. - Tor no longer supports copies of OpenSSL that are missing support
  15223. for Elliptic Curve Cryptography. (We began using ECC when
  15224. available in 0.2.4.8-alpha, for more safe and efficient key
  15225. negotiation.) In particular, support for at least one of P256 or
  15226. P224 is now required, with manual configuration needed if only
  15227. P224 is available. Resolves ticket 16140.
  15228. - Tor no longer supports versions of OpenSSL before 1.0. (If you are
  15229. on an operating system that has not upgraded to OpenSSL 1.0 or
  15230. later, and you compile Tor from source, you will need to install a
  15231. more recent OpenSSL to link Tor against.) These versions of
  15232. OpenSSL are still supported by the OpenSSL, but the numerous
  15233. cryptographic improvements in later OpenSSL releases makes them a
  15234. clear choice. Resolves ticket 16034.
  15235. - Remove the HidServDirectoryV2 option. Now all relays offer to
  15236. store hidden service descriptors. Related to 16543.
  15237. - Remove the VoteOnHidServDirectoriesV2 option, since all
  15238. authorities have long set it to 1. Closes ticket 16543.
  15239. o Testing:
  15240. - Document use of coverity, clang static analyzer, and clang dynamic
  15241. undefined behavior and address sanitizers in doc/HACKING. Include
  15242. detailed usage instructions in the blacklist. Patch by "teor".
  15243. Closes ticket 15817.
  15244. - The link authentication protocol code now has extensive tests.
  15245. - The relay descriptor signature testing code now has
  15246. extensive tests.
  15247. - The test_workqueue program now runs faster, and is enabled by
  15248. default as a part of "make check".
  15249. - Now that OpenSSL has its own scrypt implementation, add an unit
  15250. test that checks for interoperability between libscrypt_scrypt()
  15251. and OpenSSL's EVP_PBE_scrypt() so that we could not use libscrypt
  15252. and rely on EVP_PBE_scrypt() whenever possible. Resolves
  15253. ticket 16189.
  15254. Changes in version 0.2.6.10 - 2015-07-12
  15255. Tor version 0.2.6.10 fixes some significant stability and hidden
  15256. service client bugs, bulletproofs the cryptography init process, and
  15257. fixes a bug when using the sandbox code with some older versions of
  15258. Linux. Everyone running an older version, especially an older version
  15259. of 0.2.6, should upgrade.
  15260. o Major bugfixes (hidden service clients, stability):
  15261. - Stop refusing to store updated hidden service descriptors on a
  15262. client. This reverts commit 9407040c59218 (which indeed fixed bug
  15263. 14219, but introduced a major hidden service reachability
  15264. regression detailed in bug 16381). This is a temporary fix since
  15265. we can live with the minor issue in bug 14219 (it just results in
  15266. some load on the network) but the regression of 16381 is too much
  15267. of a setback. First-round fix for bug 16381; bugfix
  15268. on 0.2.6.3-alpha.
  15269. o Major bugfixes (stability):
  15270. - Stop crashing with an assertion failure when parsing certain kinds
  15271. of malformed or truncated microdescriptors. Fixes bug 16400;
  15272. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  15273. by "cypherpunks_backup".
  15274. - Stop random client-side assertion failures that could occur when
  15275. connecting to a busy hidden service, or connecting to a hidden
  15276. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  15277. on 0.1.0.1-rc.
  15278. o Minor features (geoip):
  15279. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  15280. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  15281. o Minor bugfixes (crypto error-handling):
  15282. - Check for failures from crypto_early_init, and refuse to continue.
  15283. A previous typo meant that we could keep going with an
  15284. uninitialized crypto library, and would have OpenSSL initialize
  15285. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  15286. when implementing ticket 4900. Patch by "teor".
  15287. o Minor bugfixes (Linux seccomp2 sandbox):
  15288. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  15289. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  15290. on 0.2.6.3-alpha. Patch from "teor".
  15291. Changes in version 0.2.6.9 - 2015-06-11
  15292. Tor 0.2.6.9 fixes a regression in the circuit isolation code, increases the
  15293. requirements for receiving an HSDir flag, and addresses some other small
  15294. bugs in the systemd and sandbox code. Clients using circuit isolation
  15295. should upgrade; all directory authorities should upgrade.
  15296. o Major bugfixes (client-side privacy):
  15297. - Properly separate out each SOCKSPort when applying stream
  15298. isolation. The error occurred because each port's session group was
  15299. being overwritten by a default value when the listener connection
  15300. was initialized. Fixes bug 16247; bugfix on 0.2.6.3-alpha. Patch
  15301. by "jojelino".
  15302. o Minor feature (directory authorities, security):
  15303. - The HSDir flag given by authorities now requires the Stable flag.
  15304. For the current network, this results in going from 2887 to 2806
  15305. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  15306. attack by raising the effort for a relay to become Stable which
  15307. takes at the very least 7 days to do so and by keeping the 96
  15308. hours uptime requirement for HSDir. Implements ticket 8243.
  15309. o Minor bugfixes (compilation):
  15310. - Build with --enable-systemd correctly when libsystemd is
  15311. installed, but systemd is not. Fixes bug 16164; bugfix on
  15312. 0.2.6.3-alpha. Patch from Peter Palfrader.
  15313. o Minor bugfixes (Linux seccomp2 sandbox):
  15314. - Fix sandboxing to work when running as a relaymby renaming of
  15315. secret_id_key, and allowing the eventfd2 and futex syscalls. Fixes
  15316. bug 16244; bugfix on 0.2.6.1-alpha. Patch by Peter Palfrader.
  15317. - Allow systemd connections to work with the Linux seccomp2 sandbox
  15318. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  15319. Peter Palfrader.
  15320. o Minor bugfixes (tests):
  15321. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  15322. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  15323. Changes in version 0.2.6.8 - 2015-05-21
  15324. Tor 0.2.6.8 fixes a bit of dodgy code in parsing INTRODUCE2 cells, and
  15325. fixes an authority-side bug in assigning the HSDir flag. All directory
  15326. authorities should upgrade.
  15327. o Major bugfixes (hidden services, backport from 0.2.7.1-alpha):
  15328. - Revert commit that made directory authorities assign the HSDir
  15329. flag to relays without a DirPort; this was bad because such relays
  15330. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  15331. on 0.2.6.3-alpha.
  15332. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  15333. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  15334. a client authorized hidden service. Fixes bug 15823; bugfix
  15335. on 0.2.1.6-alpha.
  15336. o Minor features (geoip):
  15337. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  15338. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  15339. Country database.
  15340. Changes in version 0.2.7.1-alpha - 2015-05-12
  15341. Tor 0.2.7.1-alpha is the first alpha release in its series. It
  15342. includes numerous small features and bugfixes against previous Tor
  15343. versions, and numerous small infrastructure improvements. The most
  15344. notable features are several new ways for controllers to interact with
  15345. the hidden services subsystem.
  15346. o New system requirements:
  15347. - Tor no longer includes workarounds to support Libevent versions
  15348. before 1.3e. Libevent 2.0 or later is recommended. Closes
  15349. ticket 15248.
  15350. o Major features (controller):
  15351. - Add the ADD_ONION and DEL_ONION commands that allow the creation
  15352. and management of hidden services via the controller. Closes
  15353. ticket 6411.
  15354. - New "GETINFO onions/current" and "GETINFO onions/detached"
  15355. commands to get information about hidden services created via the
  15356. controller. Part of ticket 6411.
  15357. - New HSFETCH command to launch a request for a hidden service
  15358. descriptor. Closes ticket 14847.
  15359. - New HSPOST command to upload a hidden service descriptor. Closes
  15360. ticket 3523. Patch by "DonnchaC".
  15361. o Major bugfixes (hidden services):
  15362. - Revert commit that made directory authorities assign the HSDir
  15363. flag to relays without a DirPort; this was bad because such relays
  15364. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  15365. on 0.2.6.3-alpha.
  15366. o Minor features (clock-jump tolerance):
  15367. - Recover better when our clock jumps back many hours, like might
  15368. happen for Tails or Whonix users who start with a very wrong
  15369. hardware clock, use Tor to discover a more accurate time, and then
  15370. fix their clock. Resolves part of ticket 8766.
  15371. o Minor features (command-line interface):
  15372. - Make --hash-password imply --hush to prevent unnecessary noise.
  15373. Closes ticket 15542. Patch from "cypherpunks".
  15374. - Print a warning whenever we find a relative file path being used
  15375. as torrc option. Resolves issue 14018.
  15376. o Minor features (controller):
  15377. - Add DirAuthority lines for default directory authorities to the
  15378. output of the "GETINFO config/defaults" command if not already
  15379. present. Implements ticket 14840.
  15380. - Controllers can now use "GETINFO hs/client/desc/id/..." to
  15381. retrieve items from the client's hidden service descriptor cache.
  15382. Closes ticket 14845.
  15383. - Implement a new controller command "GETINFO status/fresh-relay-
  15384. descs" to fetch a descriptor/extrainfo pair that was generated on
  15385. demand just for the controller's use. Implements ticket 14784.
  15386. o Minor features (DoS-resistance):
  15387. - Make it harder for attackers to overload hidden services with
  15388. introductions, by blocking multiple introduction requests on the
  15389. same circuit. Resolves ticket 15515.
  15390. o Minor features (geoip):
  15391. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  15392. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  15393. Country database.
  15394. o Minor features (HS popularity countermeasure):
  15395. - To avoid leaking HS popularity, don't cycle the introduction point
  15396. when we've handled a fixed number of INTRODUCE2 cells but instead
  15397. cycle it when a random number of introductions is reached, thus
  15398. making it more difficult for an attacker to find out the amount of
  15399. clients that have used the introduction point for a specific HS.
  15400. Closes ticket 15745.
  15401. o Minor features (logging):
  15402. - Include the Tor version in all LD_BUG log messages, since people
  15403. tend to cut and paste those into the bugtracker. Implements
  15404. ticket 15026.
  15405. o Minor features (pluggable transports):
  15406. - When launching managed pluggable transports on Linux systems,
  15407. attempt to have the kernel deliver a SIGTERM on tor exit if the
  15408. pluggable transport process is still running. Resolves
  15409. ticket 15471.
  15410. - When launching managed pluggable transports, setup a valid open
  15411. stdin in the child process that can be used to detect if tor has
  15412. terminated. The "TOR_PT_EXIT_ON_STDIN_CLOSE" environment variable
  15413. can be used by implementations to detect this new behavior.
  15414. Resolves ticket 15435.
  15415. o Minor features (testing):
  15416. - Add a test to verify that the compiler does not eliminate our
  15417. memwipe() implementation. Closes ticket 15377.
  15418. - Add make rule `check-changes` to verify the format of changes
  15419. files. Closes ticket 15180.
  15420. - Add unit tests for control_event_is_interesting(). Add a compile-
  15421. time check that the number of events doesn't exceed the capacity
  15422. of control_event_t.event_mask. Closes ticket 15431, checks for
  15423. bugs similar to 13085. Patch by "teor".
  15424. - Command-line argument tests moved to Stem. Resolves ticket 14806.
  15425. - Integrate the ntor, backtrace, and zero-length keys tests into the
  15426. automake test suite. Closes ticket 15344.
  15427. - Remove assertions during builds to determine Tor's test coverage.
  15428. We don't want to trigger these even in assertions, so including
  15429. them artificially makes our branch coverage look worse than it is.
  15430. This patch provides the new test-stem-full and coverage-html-full
  15431. configure options. Implements ticket 15400.
  15432. o Minor bugfixes (build):
  15433. - Improve out-of-tree builds by making non-standard rules work and
  15434. clean up additional files and directories. Fixes bug 15053; bugfix
  15435. on 0.2.7.0-alpha.
  15436. o Minor bugfixes (command-line interface):
  15437. - When "--quiet" is provided along with "--validate-config", do not
  15438. write anything to stdout on success. Fixes bug 14994; bugfix
  15439. on 0.2.3.3-alpha.
  15440. - When complaining about bad arguments to "--dump-config", use
  15441. stderr, not stdout.
  15442. o Minor bugfixes (configuration, unit tests):
  15443. - Only add the default fallback directories when the DirAuthorities,
  15444. AlternateDirAuthority, and FallbackDir directory config options
  15445. are set to their defaults. The default fallback directory list is
  15446. currently empty, this fix will only change tor's behavior when it
  15447. has default fallback directories. Includes unit tests for
  15448. consider_adding_dir_servers(). Fixes bug 15642; bugfix on
  15449. 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor".
  15450. o Minor bugfixes (correctness):
  15451. - For correctness, avoid modifying a constant string in
  15452. handle_control_postdescriptor. Fixes bug 15546; bugfix
  15453. on 0.1.1.16-rc.
  15454. - Remove side-effects from tor_assert() calls. This was harmless,
  15455. because we never disable assertions, but it is bad style and
  15456. unnecessary. Fixes bug 15211; bugfix on 0.2.5.5, 0.2.2.36,
  15457. and 0.2.0.10.
  15458. o Minor bugfixes (hidden service):
  15459. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  15460. a client authorized hidden service. Fixes bug 15823; bugfix
  15461. on 0.2.1.6-alpha.
  15462. - Remove an extraneous newline character from the end of hidden
  15463. service descriptors. Fixes bug 15296; bugfix on 0.2.0.10-alpha.
  15464. o Minor bugfixes (interface):
  15465. - Print usage information for --dump-config when it is used without
  15466. an argument. Also, fix the error message to use different wording
  15467. and add newline at the end. Fixes bug 15541; bugfix
  15468. on 0.2.5.1-alpha.
  15469. o Minor bugfixes (logs):
  15470. - When building Tor under Clang, do not include an extra set of
  15471. parentheses in log messages that include function names. Fixes bug
  15472. 15269; bugfix on every released version of Tor when compiled with
  15473. recent enough Clang.
  15474. o Minor bugfixes (network):
  15475. - When attempting to use fallback technique for network interface
  15476. lookup, disregard loopback and multicast addresses since they are
  15477. unsuitable for public communications.
  15478. o Minor bugfixes (statistics):
  15479. - Disregard the ConnDirectionStatistics torrc options when Tor is
  15480. not a relay since in that mode of operation no sensible data is
  15481. being collected and because Tor might run into measurement hiccups
  15482. when running as a client for some time, then becoming a relay.
  15483. Fixes bug 15604; bugfix on 0.2.2.35.
  15484. o Minor bugfixes (test networks):
  15485. - When self-testing reachability, use ExtendAllowPrivateAddresses to
  15486. determine if local/private addresses imply reachability. The
  15487. previous fix used TestingTorNetwork, which implies
  15488. ExtendAllowPrivateAddresses, but this excluded rare configurations
  15489. where ExtendAllowPrivateAddresses is set but TestingTorNetwork is
  15490. not. Fixes bug 15771; bugfix on 0.2.6.1-alpha. Patch by "teor",
  15491. issue discovered by CJ Ess.
  15492. o Minor bugfixes (testing):
  15493. - Check for matching value in server response in ntor_ref.py. Fixes
  15494. bug 15591; bugfix on 0.2.4.8-alpha. Reported and fixed
  15495. by "joelanders".
  15496. - Set the severity correctly when testing
  15497. get_interface_addresses_ifaddrs() and
  15498. get_interface_addresses_win32(), so that the tests fail gracefully
  15499. instead of triggering an assertion. Fixes bug 15759; bugfix on
  15500. 0.2.6.3-alpha. Reported by Nicolas Derive.
  15501. o Code simplification and refactoring:
  15502. - Move the hacky fallback code out of get_interface_address6() into
  15503. separate function and get it covered with unit-tests. Resolves
  15504. ticket 14710.
  15505. - Refactor hidden service client-side cache lookup to intelligently
  15506. report its various failure cases, and disentangle failure cases
  15507. involving a lack of introduction points. Closes ticket 14391.
  15508. - Use our own Base64 encoder instead of OpenSSL's, to allow more
  15509. control over the output. Part of ticket 15652.
  15510. o Documentation:
  15511. - Improve the descriptions of statistics-related torrc options in
  15512. the manpage to describe rationale and possible uses cases. Fixes
  15513. issue 15550.
  15514. - Improve the layout and formatting of ./configure --help messages.
  15515. Closes ticket 15024. Patch from "cypherpunks".
  15516. - Standardize on the term "server descriptor" in the manual page.
  15517. Previously, we had used "router descriptor", "server descriptor",
  15518. and "relay descriptor" interchangeably. Part of ticket 14987.
  15519. o Removed code:
  15520. - Remove `USE_OPENSSL_BASE64` and the corresponding fallback code
  15521. and always use the internal Base64 decoder. The internal decoder
  15522. has been part of tor since 0.2.0.10-alpha, and no one should
  15523. be using the OpenSSL one. Part of ticket 15652.
  15524. - Remove the 'tor_strclear()' function; use memwipe() instead.
  15525. Closes ticket 14922.
  15526. o Removed features:
  15527. - Remove the (seldom-used) DynamicDHGroups feature. For anti-
  15528. fingerprinting we now recommend pluggable transports; for forward-
  15529. secrecy in TLS, we now use the P-256 group. Closes ticket 13736.
  15530. - Remove the undocumented "--digests" command-line option. It
  15531. complicated our build process, caused subtle build issues on
  15532. multiple platforms, and is now redundant since we started
  15533. including git version identifiers. Closes ticket 14742.
  15534. - Tor no longer contains checks for ancient directory cache versions
  15535. that didn't know about microdescriptors.
  15536. - Tor no longer contains workarounds for stat files generated by
  15537. super-old versions of Tor that didn't choose guards sensibly.
  15538. Changes in version 0.2.4.27 - 2015-04-06
  15539. Tor 0.2.4.27 backports two fixes from 0.2.6.7 for security issues that
  15540. could be used by an attacker to crash hidden services, or crash clients
  15541. visiting hidden services. Hidden services should upgrade as soon as
  15542. possible; clients should upgrade whenever packages become available.
  15543. This release also backports a simple improvement to make hidden
  15544. services a bit less vulnerable to denial-of-service attacks.
  15545. o Major bugfixes (security, hidden service):
  15546. - Fix an issue that would allow a malicious client to trigger an
  15547. assertion failure and halt a hidden service. Fixes bug 15600;
  15548. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  15549. - Fix a bug that could cause a client to crash with an assertion
  15550. failure when parsing a malformed hidden service descriptor. Fixes
  15551. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  15552. o Minor features (DoS-resistance, hidden service):
  15553. - Introduction points no longer allow multiple INTRODUCE1 cells to
  15554. arrive on the same circuit. This should make it more expensive for
  15555. attackers to overwhelm hidden services with introductions.
  15556. Resolves ticket 15515.
  15557. Changes in version 0.2.5.12 - 2015-04-06
  15558. Tor 0.2.5.12 backports two fixes from 0.2.6.7 for security issues that
  15559. could be used by an attacker to crash hidden services, or crash clients
  15560. visiting hidden services. Hidden services should upgrade as soon as
  15561. possible; clients should upgrade whenever packages become available.
  15562. This release also backports a simple improvement to make hidden
  15563. services a bit less vulnerable to denial-of-service attacks.
  15564. o Major bugfixes (security, hidden service):
  15565. - Fix an issue that would allow a malicious client to trigger an
  15566. assertion failure and halt a hidden service. Fixes bug 15600;
  15567. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  15568. - Fix a bug that could cause a client to crash with an assertion
  15569. failure when parsing a malformed hidden service descriptor. Fixes
  15570. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  15571. o Minor features (DoS-resistance, hidden service):
  15572. - Introduction points no longer allow multiple INTRODUCE1 cells to
  15573. arrive on the same circuit. This should make it more expensive for
  15574. attackers to overwhelm hidden services with introductions.
  15575. Resolves ticket 15515.
  15576. Changes in version 0.2.6.7 - 2015-04-06
  15577. Tor 0.2.6.7 fixes two security issues that could be used by an
  15578. attacker to crash hidden services, or crash clients visiting hidden
  15579. services. Hidden services should upgrade as soon as possible; clients
  15580. should upgrade whenever packages become available.
  15581. This release also contains two simple improvements to make hidden
  15582. services a bit less vulnerable to denial-of-service attacks.
  15583. o Major bugfixes (security, hidden service):
  15584. - Fix an issue that would allow a malicious client to trigger an
  15585. assertion failure and halt a hidden service. Fixes bug 15600;
  15586. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  15587. - Fix a bug that could cause a client to crash with an assertion
  15588. failure when parsing a malformed hidden service descriptor. Fixes
  15589. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  15590. o Minor features (DoS-resistance, hidden service):
  15591. - Introduction points no longer allow multiple INTRODUCE1 cells to
  15592. arrive on the same circuit. This should make it more expensive for
  15593. attackers to overwhelm hidden services with introductions.
  15594. Resolves ticket 15515.
  15595. - Decrease the amount of reattempts that a hidden service performs
  15596. when its rendezvous circuits fail. This reduces the computational
  15597. cost for running a hidden service under heavy load. Resolves
  15598. ticket 11447.
  15599. Changes in version 0.2.6.6 - 2015-03-24
  15600. Tor 0.2.6.6 is the first stable release in the 0.2.6 series.
  15601. It adds numerous safety, security, correctness, and performance
  15602. improvements. Client programs can be configured to use more kinds of
  15603. sockets, AutomapHosts works better, the multithreading backend is
  15604. improved, cell transmission is refactored, test coverage is much
  15605. higher, more denial-of-service attacks are handled, guard selection is
  15606. improved to handle long-term guards better, pluggable transports
  15607. should work a bit better, and some annoying hidden service performance
  15608. bugs should be addressed.
  15609. o Minor bugfixes (portability):
  15610. - Use the correct datatype in the SipHash-2-4 function to prevent
  15611. compilers from assuming any sort of alignment. Fixes bug 15436;
  15612. bugfix on 0.2.5.3-alpha.
  15613. Changes in version 0.2.6.5-rc - 2015-03-18
  15614. Tor 0.2.6.5-rc is the second and (hopefully) last release candidate in
  15615. the 0.2.6. It fixes a small number of bugs found in 0.2.6.4-rc.
  15616. o Major bugfixes (client):
  15617. - Avoid crashing when making certain configuration option changes on
  15618. clients. Fixes bug 15245; bugfix on 0.2.6.3-alpha. Reported
  15619. by "anonym".
  15620. o Major bugfixes (pluggable transports):
  15621. - Initialize the extended OR Port authentication cookie before
  15622. launching pluggable transports. This prevents a race condition
  15623. that occurred when server-side pluggable transports would cache the
  15624. authentication cookie before it has been (re)generated. Fixes bug
  15625. 15240; bugfix on 0.2.5.1-alpha.
  15626. o Major bugfixes (portability):
  15627. - Do not crash on startup when running on Solaris. Fixes a bug
  15628. related to our fix for 9495; bugfix on 0.2.6.1-alpha. Reported
  15629. by "ruebezahl".
  15630. o Minor features (heartbeat):
  15631. - On relays, report how many connections we negotiated using each
  15632. version of the Tor link protocols. This information will let us
  15633. know if removing support for very old versions of the Tor
  15634. protocols is harming the network. Closes ticket 15212.
  15635. o Code simplification and refactoring:
  15636. - Refactor main loop to extract the 'loop' part. This makes it
  15637. easier to run Tor under Shadow. Closes ticket 15176.
  15638. Changes in version 0.2.5.11 - 2015-03-17
  15639. Tor 0.2.5.11 is the second stable release in the 0.2.5 series.
  15640. It backports several bugfixes from the 0.2.6 branch, including a
  15641. couple of medium-level security fixes for relays and exit nodes.
  15642. It also updates the list of directory authorities.
  15643. o Directory authority changes:
  15644. - Remove turtles as a directory authority.
  15645. - Add longclaw as a new (v3) directory authority. This implements
  15646. ticket 13296. This keeps the directory authority count at 9.
  15647. - The directory authority Faravahar has a new IP address. This
  15648. closes ticket 14487.
  15649. o Major bugfixes (crash, OSX, security):
  15650. - Fix a remote denial-of-service opportunity caused by a bug in
  15651. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  15652. in OSX 10.9.
  15653. o Major bugfixes (relay, stability, possible security):
  15654. - Fix a bug that could lead to a relay crashing with an assertion
  15655. failure if a buffer of exactly the wrong layout was passed to
  15656. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  15657. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  15658. - Do not assert if the 'data' pointer on a buffer is advanced to the
  15659. very end of the buffer; log a BUG message instead. Only assert if
  15660. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  15661. o Major bugfixes (exit node stability):
  15662. - Fix an assertion failure that could occur under high DNS load.
  15663. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  15664. diagnosed and fixed by "cypherpunks".
  15665. o Major bugfixes (Linux seccomp2 sandbox):
  15666. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  15667. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  15668. 0.2.5.1-alpha. Patch from "sanic".
  15669. o Minor features (controller):
  15670. - New "GETINFO bw-event-cache" to get information about recent
  15671. bandwidth events. Closes ticket 14128. Useful for controllers to
  15672. get recent bandwidth history after the fix for ticket 13988.
  15673. o Minor features (geoip):
  15674. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  15675. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  15676. Country database.
  15677. o Minor bugfixes (client, automapping):
  15678. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  15679. no value follows the option. Fixes bug 14142; bugfix on
  15680. 0.2.4.7-alpha. Patch by "teor".
  15681. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  15682. 14195; bugfix on 0.1.0.1-rc.
  15683. o Minor bugfixes (compilation):
  15684. - Build without warnings with the stock OpenSSL srtp.h header, which
  15685. has a duplicate declaration of SSL_get_selected_srtp_profile().
  15686. Fixes bug 14220; this is OpenSSL's bug, not ours.
  15687. o Minor bugfixes (directory authority):
  15688. - Allow directory authorities to fetch more data from one another if
  15689. they find themselves missing lots of votes. Previously, they had
  15690. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  15691. bugfix on 0.1.2.5-alpha.
  15692. - Enlarge the buffer to read bwauth generated files to avoid an
  15693. issue when parsing the file in dirserv_read_measured_bandwidths().
  15694. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  15695. o Minor bugfixes (statistics):
  15696. - Increase period over which bandwidth observations are aggregated
  15697. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  15698. o Minor bugfixes (preventative security, C safety):
  15699. - When reading a hexadecimal, base-32, or base-64 encoded value from
  15700. a string, always overwrite the whole output buffer. This prevents
  15701. some bugs where we would look at (but fortunately, not reveal)
  15702. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  15703. versions of Tor.
  15704. Changes in version 0.2.4.26 - 2015-03-17
  15705. Tor 0.2.4.26 includes an updated list of directory authorities. It
  15706. also backports a couple of stability and security bugfixes from 0.2.5
  15707. and beyond.
  15708. o Directory authority changes:
  15709. - Remove turtles as a directory authority.
  15710. - Add longclaw as a new (v3) directory authority. This implements
  15711. ticket 13296. This keeps the directory authority count at 9.
  15712. - The directory authority Faravahar has a new IP address. This
  15713. closes ticket 14487.
  15714. o Major bugfixes (exit node stability, also in 0.2.6.3-alpha):
  15715. - Fix an assertion failure that could occur under high DNS load.
  15716. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  15717. diagnosed and fixed by "cypherpunks".
  15718. o Major bugfixes (relay, stability, possible security, also in 0.2.6.4-rc):
  15719. - Fix a bug that could lead to a relay crashing with an assertion
  15720. failure if a buffer of exactly the wrong layout was passed to
  15721. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  15722. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  15723. - Do not assert if the 'data' pointer on a buffer is advanced to the
  15724. very end of the buffer; log a BUG message instead. Only assert if
  15725. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  15726. o Minor features (geoip):
  15727. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  15728. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  15729. Country database.
  15730. Changes in version 0.2.6.4-rc - 2015-03-09
  15731. Tor 0.2.6.4-alpha fixes an issue in the directory code that an
  15732. attacker might be able to use in order to crash certain Tor
  15733. directories. It also resolves some minor issues left over from, or
  15734. introduced in, Tor 0.2.6.3-alpha or earlier.
  15735. o Major bugfixes (crash, OSX, security):
  15736. - Fix a remote denial-of-service opportunity caused by a bug in
  15737. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  15738. in OSX 10.9.
  15739. o Major bugfixes (relay, stability, possible security):
  15740. - Fix a bug that could lead to a relay crashing with an assertion
  15741. failure if a buffer of exactly the wrong layout is passed to
  15742. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  15743. 0.2.0.10-alpha. Patch from "cypherpunks".
  15744. - Do not assert if the 'data' pointer on a buffer is advanced to the
  15745. very end of the buffer; log a BUG message instead. Only assert if
  15746. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  15747. o Major bugfixes (FreeBSD IPFW transparent proxy):
  15748. - Fix address detection with FreeBSD transparent proxies, when
  15749. "TransProxyType ipfw" is in use. Fixes bug 15064; bugfix
  15750. on 0.2.5.4-alpha.
  15751. o Major bugfixes (Linux seccomp2 sandbox):
  15752. - Pass IPPROTO_TCP rather than 0 to socket(), so that the Linux
  15753. seccomp2 sandbox doesn't fail. Fixes bug 14989; bugfix
  15754. on 0.2.6.3-alpha.
  15755. - Allow AF_UNIX hidden services to be used with the seccomp2
  15756. sandbox. Fixes bug 15003; bugfix on 0.2.6.3-alpha.
  15757. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  15758. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  15759. 0.2.5.1-alpha. Patch from "sanic".
  15760. o Minor features (controller):
  15761. - Messages about problems in the bootstrap process now include
  15762. information about the server we were trying to connect to when we
  15763. noticed the problem. Closes ticket 15006.
  15764. o Minor features (geoip):
  15765. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  15766. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  15767. Country database.
  15768. o Minor features (logs):
  15769. - Quiet some log messages in the heartbeat and at startup. Closes
  15770. ticket 14950.
  15771. o Minor bugfixes (certificate handling):
  15772. - If an authority operator accidentally makes a signing certificate
  15773. with a future publication time, do not discard its real signing
  15774. certificates. Fixes bug 11457; bugfix on 0.2.0.3-alpha.
  15775. - Remove any old authority certificates that have been superseded
  15776. for at least two days. Previously, we would keep superseded
  15777. certificates until they expired, if they were published close in
  15778. time to the certificate that superseded them. Fixes bug 11454;
  15779. bugfix on 0.2.1.8-alpha.
  15780. o Minor bugfixes (compilation):
  15781. - Fix a compilation warning on s390. Fixes bug 14988; bugfix
  15782. on 0.2.5.2-alpha.
  15783. - Fix a compilation warning on FreeBSD. Fixes bug 15151; bugfix
  15784. on 0.2.6.2-alpha.
  15785. o Minor bugfixes (testing):
  15786. - Fix endianness issues in unit test for resolve_my_address() to
  15787. have it pass on big endian systems. Fixes bug 14980; bugfix on
  15788. Tor 0.2.6.3-alpha.
  15789. - Avoid a side-effect in a tor_assert() in the unit tests. Fixes bug
  15790. 15188; bugfix on 0.1.2.3-alpha. Patch from Tom van der Woerdt.
  15791. - When running the new 'make test-stem' target, use the configured
  15792. python binary. Fixes bug 15037; bugfix on 0.2.6.3-alpha. Patch
  15793. from "cypherpunks".
  15794. - When running the zero-length-keys tests, do not use the default
  15795. torrc file. Fixes bug 15033; bugfix on 0.2.6.3-alpha. Reported
  15796. by "reezer".
  15797. o Directory authority IP change:
  15798. - The directory authority Faravahar has a new IP address. This
  15799. closes ticket 14487.
  15800. o Removed code:
  15801. - Remove some lingering dead code that once supported mempools.
  15802. Mempools were disabled by default in 0.2.5, and removed entirely
  15803. in 0.2.6.3-alpha. Closes more of ticket 14848; patch
  15804. by "cypherpunks".
  15805. Changes in version 0.2.6.3-alpha - 2015-02-19
  15806. Tor 0.2.6.3-alpha is the third (and hopefully final) alpha release in
  15807. the 0.2.6.x series. It introduces support for more kinds of sockets,
  15808. makes it harder to accidentally run an exit, improves our
  15809. multithreading backend, incorporates several fixes for the
  15810. AutomapHostsOnResolve option, and fixes numerous other bugs besides.
  15811. If no major regressions or security holes are found in this version,
  15812. the next version will be a release candidate.
  15813. o Deprecated versions:
  15814. - Tor relays older than 0.2.4.18-rc are no longer allowed to
  15815. advertise themselves on the network. Closes ticket 13555.
  15816. o Major features (security, unix domain sockets):
  15817. - Allow SocksPort to be an AF_UNIX Unix Domain Socket. Now high risk
  15818. applications can reach Tor without having to create AF_INET or
  15819. AF_INET6 sockets, meaning they can completely disable their
  15820. ability to make non-Tor network connections. To create a socket of
  15821. this type, use "SocksPort unix:/path/to/socket". Implements
  15822. ticket 12585.
  15823. - Support mapping hidden service virtual ports to AF_UNIX sockets.
  15824. The syntax is "HiddenServicePort 80 unix:/path/to/socket".
  15825. Implements ticket 11485.
  15826. o Major features (changed defaults):
  15827. - Prevent relay operators from unintentionally running exits: When a
  15828. relay is configured as an exit node, we now warn the user unless
  15829. the "ExitRelay" option is set to 1. We warn even more loudly if
  15830. the relay is configured with the default exit policy, since this
  15831. can indicate accidental misconfiguration. Setting "ExitRelay 0"
  15832. stops Tor from running as an exit relay. Closes ticket 10067.
  15833. o Major features (directory system):
  15834. - When downloading server- or microdescriptors from a directory
  15835. server, we no longer launch multiple simultaneous requests to the
  15836. same server. This reduces load on the directory servers,
  15837. especially when directory guards are in use. Closes ticket 9969.
  15838. - When downloading server- or microdescriptors over a tunneled
  15839. connection, do not limit the length of our requests to what the
  15840. Squid proxy is willing to handle. Part of ticket 9969.
  15841. - Authorities can now vote on the correct digests and latest
  15842. versions for different software packages. This allows packages
  15843. that include Tor to use the Tor authority system as a way to get
  15844. notified of updates and their correct digests. Implements proposal
  15845. 227. Closes ticket 10395.
  15846. o Major features (guards):
  15847. - Introduce the Guardfraction feature to improves load balancing on
  15848. guard nodes. Specifically, it aims to reduce the traffic gap that
  15849. guard nodes experience when they first get the Guard flag. This is
  15850. a required step if we want to increase the guard lifetime to 9
  15851. months or greater. Closes ticket 9321.
  15852. o Major features (performance):
  15853. - Make the CPU worker implementation more efficient by avoiding the
  15854. kernel and lengthening pipelines. The original implementation used
  15855. sockets to transfer data from the main thread to the workers, and
  15856. didn't allow any thread to be assigned more than a single piece of
  15857. work at once. The new implementation avoids communications
  15858. overhead by making requests in shared memory, avoiding kernel IO
  15859. where possible, and keeping more requests in flight at once.
  15860. Implements ticket 9682.
  15861. o Major features (relay):
  15862. - Raise the minimum acceptable configured bandwidth rate for bridges
  15863. to 50 KiB/sec and for relays to 75 KiB/sec. (The old values were
  15864. 20 KiB/sec.) Closes ticket 13822.
  15865. o Major bugfixes (exit node stability):
  15866. - Fix an assertion failure that could occur under high DNS load.
  15867. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  15868. diagnosed and fixed by "cypherpunks".
  15869. o Major bugfixes (mixed relay-client operation):
  15870. - When running as a relay and client at the same time (not
  15871. recommended), if we decide not to use a new guard because we want
  15872. to retry older guards, only close the locally-originating circuits
  15873. passing through that guard. Previously we would close all the
  15874. circuits through that guard. Fixes bug 9819; bugfix on
  15875. 0.2.1.1-alpha. Reported by "skruffy".
  15876. o Minor features (build):
  15877. - New --disable-system-torrc compile-time option to prevent Tor from
  15878. looking for the system-wide torrc or torrc-defaults files.
  15879. Resolves ticket 13037.
  15880. o Minor features (controller):
  15881. - Include SOCKS_USERNAME and SOCKS_PASSWORD values in controller
  15882. events so controllers can observe circuit isolation inputs. Closes
  15883. ticket 8405.
  15884. - ControlPort now supports the unix:/path/to/socket syntax as an
  15885. alternative to the ControlSocket option, for consistency with
  15886. SocksPort and HiddenServicePort. Closes ticket 14451.
  15887. - New "GETINFO bw-event-cache" to get information about recent
  15888. bandwidth events. Closes ticket 14128. Useful for controllers to
  15889. get recent bandwidth history after the fix for ticket 13988.
  15890. o Minor features (Denial of service resistance):
  15891. - Count the total number of bytes used storing hidden service
  15892. descriptors against the value of MaxMemInQueues. If we're low on
  15893. memory, and more than 20% of our memory is used holding hidden
  15894. service descriptors, free them until no more than 10% of our
  15895. memory holds hidden service descriptors. Free the least recently
  15896. fetched descriptors first. Resolves ticket 13806.
  15897. - When we have recently been under memory pressure (over 3/4 of
  15898. MaxMemInQueues is allocated), then allocate smaller zlib objects
  15899. for small requests. Closes ticket 11791.
  15900. o Minor features (geoip):
  15901. - Update geoip and geoip6 files to the January 7 2015 Maxmind
  15902. GeoLite2 Country database.
  15903. o Minor features (guard nodes):
  15904. - Reduce the time delay before saving guard status to disk from 10
  15905. minutes to 30 seconds (or from one hour to 10 minutes if
  15906. AvoidDiskWrites is set). Closes ticket 12485.
  15907. o Minor features (hidden service):
  15908. - Make Sybil attacks against hidden services harder by changing the
  15909. minimum time required to get the HSDir flag from 25 hours up to 96
  15910. hours. Addresses ticket 14149.
  15911. - New option "HiddenServiceAllowUnknownPorts" to allow hidden
  15912. services to disable the anti-scanning feature introduced in
  15913. 0.2.6.2-alpha. With this option not set, a connection to an
  15914. unlisted port closes the circuit. With this option set, only a
  15915. RELAY_DONE cell is sent. Closes ticket 14084.
  15916. o Minor features (interface):
  15917. - Implement "-f -" command-line option to read torrc configuration
  15918. from standard input, if you don't want to store the torrc file in
  15919. the file system. Implements feature 13865.
  15920. o Minor features (logging):
  15921. - Add a count of unique clients to the bridge heartbeat message.
  15922. Resolves ticket 6852.
  15923. - Suppress "router info incompatible with extra info" message when
  15924. reading extrainfo documents from cache. (This message got loud
  15925. around when we closed bug 9812 in 0.2.6.2-alpha.) Closes
  15926. ticket 13762.
  15927. - Elevate hidden service authorized-client message from DEBUG to
  15928. INFO. Closes ticket 14015.
  15929. o Minor features (stability):
  15930. - Add assertions in our hash-table iteration code to check for
  15931. corrupted values that could cause infinite loops. Closes
  15932. ticket 11737.
  15933. o Minor features (systemd):
  15934. - Various improvements and modernizations in systemd hardening
  15935. support. Closes ticket 13805. Patch from Craig Andrews.
  15936. o Minor features (testing networks):
  15937. - Drop the minimum RendPostPeriod on a testing network to 5 seconds,
  15938. and the default on a testing network to 2 minutes. Drop the
  15939. MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but
  15940. keep the default on a testing network at 30 seconds. This reduces
  15941. HS bootstrap time to around 25 seconds. Also, change the default
  15942. time in test-network.sh to match. Closes ticket 13401. Patch
  15943. by "teor".
  15944. - Create TestingDirAuthVoteHSDir to correspond to
  15945. TestingDirAuthVoteExit/Guard. Ensures that authorities vote the
  15946. HSDir flag for the listed relays regardless of uptime or ORPort
  15947. connectivity. Respects the value of VoteOnHidServDirectoriesV2.
  15948. Partial implementation for ticket 14067. Patch by "teor".
  15949. o Minor features (tor2web mode):
  15950. - Introduce the config option Tor2webRendezvousPoints, which allows
  15951. clients in Tor2webMode to select a specific Rendezvous Point to be
  15952. used in HS circuits. This might allow better performance for
  15953. Tor2Web nodes. Implements ticket 12844.
  15954. o Minor bugfixes (client DNS):
  15955. - Report the correct cached DNS expiration times on SOCKS port or in
  15956. DNS replies. Previously, we would report everything as "never
  15957. expires." Fixes bug 14193; bugfix on 0.2.3.17-beta.
  15958. - Avoid a small memory leak when we find a cached answer for a
  15959. reverse DNS lookup in a client-side DNS cache. (Remember, client-
  15960. side DNS caching is off by default, and is not recommended.) Fixes
  15961. bug 14259; bugfix on 0.2.0.1-alpha.
  15962. o Minor bugfixes (client, automapping):
  15963. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  15964. no value follows the option. Fixes bug 14142; bugfix on
  15965. 0.2.4.7-alpha. Patch by "teor".
  15966. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  15967. 14195; bugfix on 0.1.0.1-rc.
  15968. - Prevent changes to other options from removing the wildcard value
  15969. "." from "AutomapHostsSuffixes". Fixes bug 12509; bugfix
  15970. on 0.2.0.1-alpha.
  15971. - Allow MapAddress and AutomapHostsOnResolve to work together when
  15972. an address is mapped into another address type (like .onion) that
  15973. must be automapped at resolve time. Fixes bug 7555; bugfix
  15974. on 0.2.0.1-alpha.
  15975. o Minor bugfixes (client, bridges):
  15976. - When we are using bridges and we had a network connectivity
  15977. problem, only retry connecting to our currently configured
  15978. bridges, not all bridges we know about and remember using. Fixes
  15979. bug 14216; bugfix on 0.2.2.17-alpha.
  15980. o Minor bugfixes (client, IPv6):
  15981. - Reject socks requests to literal IPv6 addresses when IPv6Traffic
  15982. flag is not set; and not because the NoIPv4Traffic flag was set.
  15983. Previously we'd looked at the NoIPv4Traffic flag for both types of
  15984. literal addresses. Fixes bug 14280; bugfix on 0.2.4.7-alpha.
  15985. o Minor bugfixes (compilation):
  15986. - The address of an array in the middle of a structure will always
  15987. be non-NULL. clang recognises this and complains. Disable the
  15988. tautologous and redundant check to silence this warning. Fixes bug
  15989. 14001; bugfix on 0.2.1.2-alpha.
  15990. - Avoid warnings when building with systemd 209 or later. Fixes bug
  15991. 14072; bugfix on 0.2.6.2-alpha. Patch from "h.venev".
  15992. - Compile correctly with (unreleased) OpenSSL 1.1.0 headers.
  15993. Addresses ticket 14188.
  15994. - Build without warnings with the stock OpenSSL srtp.h header, which
  15995. has a duplicate declaration of SSL_get_selected_srtp_profile().
  15996. Fixes bug 14220; this is OpenSSL's bug, not ours.
  15997. - Do not compile any code related to Tor2Web mode when Tor2Web mode
  15998. is not enabled at compile time. Previously, this code was included
  15999. in a disabled state. See discussion on ticket 12844.
  16000. - Remove the --disable-threads configure option again. It was
  16001. accidentally partially reintroduced in 29ac883606d6d. Fixes bug
  16002. 14819; bugfix on 0.2.6.2-alpha.
  16003. o Minor bugfixes (controller):
  16004. - Report "down" in response to the "GETINFO entry-guards" command
  16005. when relays are down with an unreachable_since value. Previously,
  16006. we would report "up". Fixes bug 14184; bugfix on 0.1.2.2-alpha.
  16007. - Avoid crashing on a malformed EXTENDCIRCUIT command. Fixes bug
  16008. 14116; bugfix on 0.2.2.9-alpha.
  16009. - Add a code for the END_CIRC_REASON_IP_NOW_REDUNDANT circuit close
  16010. reason. Fixes bug 14207; bugfix on 0.2.6.2-alpha.
  16011. o Minor bugfixes (directory authority):
  16012. - Allow directory authorities to fetch more data from one another if
  16013. they find themselves missing lots of votes. Previously, they had
  16014. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  16015. bugfix on 0.1.2.5-alpha.
  16016. - Do not attempt to download extrainfo documents which we will be
  16017. unable to validate with a matching server descriptor. Fixes bug
  16018. 13762; bugfix on 0.2.0.1-alpha.
  16019. - Fix a bug that was truncating AUTHDIR_NEWDESC events sent to the
  16020. control port. Fixes bug 14953; bugfix on 0.2.0.1-alpha.
  16021. - Enlarge the buffer to read bwauth generated files to avoid an
  16022. issue when parsing the file in dirserv_read_measured_bandwidths().
  16023. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  16024. o Minor bugfixes (file handling):
  16025. - Stop failing when key files are zero-length. Instead, generate new
  16026. keys, and overwrite the empty key files. Fixes bug 13111; bugfix
  16027. on all versions of Tor. Patch by "teor".
  16028. - Stop generating a fresh .old RSA onion key file when the .old file
  16029. is missing. Fixes part of 13111; bugfix on 0.0.6rc1.
  16030. - Avoid overwriting .old key files with empty key files.
  16031. - Skip loading zero-length extrainfo store, router store, stats,
  16032. state, and key files.
  16033. - Avoid crashing when trying to reload a torrc specified as a
  16034. relative path with RunAsDaemon turned on. Fixes bug 13397; bugfix
  16035. on 0.2.3.11-alpha.
  16036. o Minor bugfixes (hidden services):
  16037. - Close the introduction circuit when we have no more usable intro
  16038. points, instead of waiting for it to time out. This also ensures
  16039. that no follow-up HS descriptor fetch is triggered when the
  16040. circuit eventually times out. Fixes bug 14224; bugfix on 0.0.6.
  16041. - When fetching a hidden service descriptor for a down service that
  16042. was recently up, do not keep refetching until we try the same
  16043. replica twice in a row. Fixes bug 14219; bugfix on 0.2.0.10-alpha.
  16044. - Successfully launch Tor with a nonexistent hidden service
  16045. directory. Our fix for bug 13942 didn't catch this case. Fixes bug
  16046. 14106; bugfix on 0.2.6.2-alpha.
  16047. o Minor bugfixes (logging):
  16048. - Avoid crashing when there are more log domains than entries in
  16049. domain_list. Bugfix on 0.2.3.1-alpha.
  16050. - Add a string representation for LD_SCHED. Fixes bug 14740; bugfix
  16051. on 0.2.6.1-alpha.
  16052. - Don't log messages to stdout twice when starting up. Fixes bug
  16053. 13993; bugfix on 0.2.6.1-alpha.
  16054. o Minor bugfixes (parsing):
  16055. - Stop accepting milliseconds (or other junk) at the end of
  16056. descriptor publication times. Fixes bug 9286; bugfix on 0.0.2pre25.
  16057. - Support two-number and three-number version numbers correctly, in
  16058. case we change the Tor versioning system in the future. Fixes bug
  16059. 13661; bugfix on 0.0.8pre1.
  16060. o Minor bugfixes (path counting):
  16061. - When deciding whether the consensus lists any exit nodes, count
  16062. the number listed in the consensus, not the number we have
  16063. descriptors for. Fixes part of bug 14918; bugfix on 0.2.6.2-alpha.
  16064. - When deciding whether we have any exit nodes, only examine
  16065. ExitNodes when the ExitNodes option is actually set. Fixes part of
  16066. bug 14918; bugfix on 0.2.6.2-alpha.
  16067. - Get rid of redundant and possibly scary warnings that we are
  16068. missing directory information while we bootstrap. Fixes part of
  16069. bug 14918; bugfix on 0.2.6.2-alpha.
  16070. o Minor bugfixes (portability):
  16071. - Fix the ioctl()-based network interface lookup code so that it
  16072. will work on systems that have variable-length struct ifreq, for
  16073. example Mac OS X.
  16074. - Fix scheduler compilation on targets where char is unsigned. Fixes
  16075. bug 14764; bugfix on 0.2.6.2-alpha. Reported by Christian Kujau.
  16076. o Minor bugfixes (sandbox):
  16077. - Allow glibc fatal errors to be sent to stderr before Tor exits.
  16078. Previously, glibc would try to write them to /dev/tty, and the
  16079. sandbox would trap the call and make Tor exit prematurely. Fixes
  16080. bug 14759; bugfix on 0.2.5.1-alpha.
  16081. o Minor bugfixes (shutdown):
  16082. - When shutting down, always call event_del() on lingering read or
  16083. write events before freeing them. Otherwise, we risk double-frees
  16084. or read-after-frees in event_base_free(). Fixes bug 12985; bugfix
  16085. on 0.1.0.2-rc.
  16086. o Minor bugfixes (small memory leaks):
  16087. - Avoid leaking memory when using IPv6 virtual address mappings.
  16088. Fixes bug 14123; bugfix on 0.2.4.7-alpha. Patch by Tom van
  16089. der Woerdt.
  16090. o Minor bugfixes (statistics):
  16091. - Increase period over which bandwidth observations are aggregated
  16092. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  16093. o Minor bugfixes (systemd support):
  16094. - Fix detection and operation of systemd watchdog. Fixes part of bug
  16095. 14141; bugfix on 0.2.6.2-alpha. Patch from Tomasz Torcz.
  16096. - Run correctly under systemd with the RunAsDaemon option set. Fixes
  16097. part of bug 14141; bugfix on 0.2.5.7-rc. Patch from Tomasz Torcz.
  16098. - Inform the systemd supervisor about more changes in the Tor
  16099. process status. Implements part of ticket 14141. Patch from
  16100. Tomasz Torcz.
  16101. - Cause the "--disable-systemd" option to actually disable systemd
  16102. support. Fixes bug 14350; bugfix on 0.2.6.2-alpha. Patch
  16103. from "blueness".
  16104. o Minor bugfixes (TLS):
  16105. - Check more thoroughly throughout the TLS code for possible
  16106. unlogged TLS errors. Possible diagnostic or fix for bug 13319.
  16107. o Minor bugfixes (transparent proxy):
  16108. - Use getsockname, not getsockopt, to retrieve the address for a
  16109. TPROXY-redirected connection. Fixes bug 13796; bugfix
  16110. on 0.2.5.2-alpha.
  16111. o Code simplification and refactoring:
  16112. - Move fields related to isolating and configuring client ports into
  16113. a shared structure. Previously, they were duplicated across
  16114. port_cfg_t, listener_connection_t, and edge_connection_t. Failure
  16115. to copy them correctly had been the cause of at least one bug in
  16116. the past. Closes ticket 8546.
  16117. - Refactor the get_interface_addresses_raw() doom-function into
  16118. multiple smaller and simpler subfunctions. Cover the resulting
  16119. subfunctions with unit-tests. Fixes a significant portion of
  16120. issue 12376.
  16121. - Remove workaround in dirserv_thinks_router_is_hs_dir() that was
  16122. only for version <= 0.2.2.24 which is now deprecated. Closes
  16123. ticket 14202.
  16124. - Remove a test for a long-defunct broken version-one
  16125. directory server.
  16126. o Documentation:
  16127. - Adding section on OpenBSD to our TUNING document. Thanks to mmcc
  16128. for writing the OpenBSD-specific tips. Resolves ticket 13702.
  16129. - Make the tor-resolve documentation match its help string and its
  16130. options. Resolves part of ticket 14325.
  16131. - Log a more useful error message from tor-resolve when failing to
  16132. look up a hidden service address. Resolves part of ticket 14325.
  16133. o Downgraded warnings:
  16134. - Don't warn when we've attempted to contact a relay using the wrong
  16135. ntor onion key. Closes ticket 9635.
  16136. o Removed features:
  16137. - To avoid confusion with the "ExitRelay" option, "ExitNode" is no
  16138. longer silently accepted as an alias for "ExitNodes".
  16139. - The --enable-mempool and --enable-buf-freelists options, which
  16140. were originally created to work around bad malloc implementations,
  16141. no longer exist. They were off-by-default in 0.2.5. Closes
  16142. ticket 14848.
  16143. o Testing:
  16144. - Make the checkdir/perms test complete successfully even if the
  16145. global umask is not 022. Fixes bug 14215; bugfix on 0.2.6.2-alpha.
  16146. - Test that tor does not fail when key files are zero-length. Check
  16147. that tor generates new keys, and overwrites the empty key files.
  16148. - Test that tor generates new keys when keys are missing
  16149. (existing behavior).
  16150. - Test that tor does not overwrite key files that already contain
  16151. data (existing behavior). Tests bug 13111. Patch by "teor".
  16152. - New "make test-stem" target to run stem integration tests.
  16153. Requires that the "STEM_SOURCE_DIR" environment variable be set.
  16154. Closes ticket 14107.
  16155. - Make the test_cmdline_args.py script work correctly on Windows.
  16156. Patch from Gisle Vanem.
  16157. - Move the slower unit tests into a new "./src/test/test-slow"
  16158. binary that can be run independently of the other tests. Closes
  16159. ticket 13243.
  16160. - Avoid undefined behavior when sampling huge values from the
  16161. Laplace distribution. This made unittests fail on Raspberry Pi.
  16162. Bug found by Device. Fixes bug 14090; bugfix on 0.2.6.2-alpha.
  16163. Changes in version 0.2.6.2-alpha - 2014-12-31
  16164. Tor 0.2.6.2-alpha is the second alpha release in the 0.2.6.x series.
  16165. It introduces a major new backend for deciding when to send cells on
  16166. channels, which should lead down the road to big performance
  16167. increases. It contains security and statistics features for better
  16168. work on hidden services, and numerous bugfixes.
  16169. This release contains many new unit tests, along with major
  16170. performance improvements for running testing networks using Chutney.
  16171. Thanks to a series of patches contributed by "teor", testing networks
  16172. should now bootstrap in seconds, rather than minutes.
  16173. o Major features (relay, infrastructure):
  16174. - Complete revision of the code that relays use to decide which cell
  16175. to send next. Formerly, we selected the best circuit to write on
  16176. each channel, but we didn't select among channels in any
  16177. sophisticated way. Now, we choose the best circuits globally from
  16178. among those whose channels are ready to deliver traffic.
  16179. This patch implements a new inter-cmux comparison API, a global
  16180. high/low watermark mechanism and a global scheduler loop for
  16181. transmission prioritization across all channels as well as among
  16182. circuits on one channel. This schedule is currently tuned to
  16183. (tolerantly) avoid making changes in network performance, but it
  16184. should form the basis for major circuit performance increases in
  16185. the future. Code by Andrea; tuning by Rob Jansen; implements
  16186. ticket 9262.
  16187. o Major features (hidden services):
  16188. - Make HS port scanning more difficult by immediately closing the
  16189. circuit when a user attempts to connect to a nonexistent port.
  16190. Closes ticket 13667.
  16191. - Add a HiddenServiceStatistics option that allows Tor relays to
  16192. gather and publish statistics about the overall size and volume of
  16193. hidden service usage. Specifically, when this option is turned on,
  16194. an HSDir will publish an approximate number of hidden services
  16195. that have published descriptors to it the past 24 hours. Also, if
  16196. a relay has acted as a hidden service rendezvous point, it will
  16197. publish the approximate amount of rendezvous cells it has relayed
  16198. the past 24 hours. The statistics themselves are obfuscated so
  16199. that the exact values cannot be derived. For more details see
  16200. proposal 238, "Better hidden service stats from Tor relays". This
  16201. feature is currently disabled by default. Implements feature 13192.
  16202. o Major bugfixes (client, automap):
  16203. - Repair automapping with IPv6 addresses. This automapping should
  16204. have worked previously, but one piece of debugging code that we
  16205. inserted to detect a regression actually caused the regression to
  16206. manifest itself again. Fixes bug 13811 and bug 12831; bugfix on
  16207. 0.2.4.7-alpha. Diagnosed and fixed by Francisco Blas
  16208. Izquierdo Riera.
  16209. o Major bugfixes (hidden services):
  16210. - When closing an introduction circuit that was opened in parallel
  16211. with others, don't mark the introduction point as unreachable.
  16212. Previously, the first successful connection to an introduction
  16213. point would make the other introduction points get marked as
  16214. having timed out. Fixes bug 13698; bugfix on 0.0.6rc2.
  16215. o Directory authority changes:
  16216. - Remove turtles as a directory authority.
  16217. - Add longclaw as a new (v3) directory authority. This implements
  16218. ticket 13296. This keeps the directory authority count at 9.
  16219. o Major removed features:
  16220. - Tor clients no longer support connecting to hidden services
  16221. running on Tor 0.2.2.x and earlier; the Support022HiddenServices
  16222. option has been removed. (There shouldn't be any hidden services
  16223. running these versions on the network.) Closes ticket 7803.
  16224. o Minor features (client):
  16225. - Validate hostnames in SOCKS5 requests more strictly. If SafeSocks
  16226. is enabled, reject requests with IP addresses as hostnames.
  16227. Resolves ticket 13315.
  16228. o Minor features (controller):
  16229. - Add a "SIGNAL HEARTBEAT" controller command that tells Tor to
  16230. write an unscheduled heartbeat message to the log. Implements
  16231. feature 9503.
  16232. o Minor features (geoip):
  16233. - Update geoip and geoip6 to the November 15 2014 Maxmind GeoLite2
  16234. Country database.
  16235. o Minor features (hidden services):
  16236. - When re-enabling the network, don't try to build introduction
  16237. circuits until we have successfully built a circuit. This makes
  16238. hidden services come up faster when the network is re-enabled.
  16239. Patch from "akwizgran". Closes ticket 13447.
  16240. - When we fail to retrieve a hidden service descriptor, send the
  16241. controller an "HS_DESC FAILED" controller event. Implements
  16242. feature 13212.
  16243. - New HiddenServiceDirGroupReadable option to cause hidden service
  16244. directories and hostname files to be created group-readable. Patch
  16245. from "anon", David Stainton, and "meejah". Closes ticket 11291.
  16246. o Minor features (systemd):
  16247. - Where supported, when running with systemd, report successful
  16248. startup to systemd. Part of ticket 11016. Patch by Michael Scherer.
  16249. - When running with systemd, support systemd watchdog messages. Part
  16250. of ticket 11016. Patch by Michael Scherer.
  16251. o Minor features (transparent proxy):
  16252. - Update the transparent proxy option checks to allow for both ipfw
  16253. and pf on OS X. Closes ticket 14002.
  16254. - Use the correct option when using IPv6 with transparent proxy
  16255. support on Linux. Resolves 13808. Patch by Francisco Blas
  16256. Izquierdo Riera.
  16257. o Minor bugfixes (preventative security, C safety):
  16258. - When reading a hexadecimal, base-32, or base-64 encoded value from
  16259. a string, always overwrite the whole output buffer. This prevents
  16260. some bugs where we would look at (but fortunately, not reveal)
  16261. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  16262. versions of Tor.
  16263. - Clear all memory targeted by tor_addr_{to,from}_sockaddr(), not
  16264. just the part that's used. This makes it harder for data leak bugs
  16265. to occur in the event of other programming failures. Resolves
  16266. ticket 14041.
  16267. o Minor bugfixes (client, microdescriptors):
  16268. - Use a full 256 bits of the SHA256 digest of a microdescriptor when
  16269. computing which microdescriptors to download. This keeps us from
  16270. erroneous download behavior if two microdescriptor digests ever
  16271. have the same first 160 bits. Fixes part of bug 13399; bugfix
  16272. on 0.2.3.1-alpha.
  16273. - Reset a router's status if its microdescriptor digest changes,
  16274. even if the first 160 bits remain the same. Fixes part of bug
  16275. 13399; bugfix on 0.2.3.1-alpha.
  16276. o Minor bugfixes (compilation):
  16277. - Silence clang warnings under --enable-expensive-hardening,
  16278. including implicit truncation of 64 bit values to 32 bit, const
  16279. char assignment to self, tautological compare, and additional
  16280. parentheses around equality tests. Fixes bug 13577; bugfix
  16281. on 0.2.5.4-alpha.
  16282. - Fix a clang warning about checking whether an address in the
  16283. middle of a structure is NULL. Fixes bug 14001; bugfix
  16284. on 0.2.1.2-alpha.
  16285. o Minor bugfixes (hidden services):
  16286. - Correctly send a controller event when we find that a rendezvous
  16287. circuit has finished. Fixes bug 13936; bugfix on 0.1.1.5-alpha.
  16288. - Pre-check directory permissions for new hidden-services to avoid
  16289. at least one case of "Bug: Acting on config options left us in a
  16290. broken state. Dying." Fixes bug 13942; bugfix on 0.0.6pre1.
  16291. - When adding a new hidden service (for example, via SETCONF), Tor
  16292. no longer congratulates the user for running a relay. Fixes bug
  16293. 13941; bugfix on 0.2.6.1-alpha.
  16294. - When fetching hidden service descriptors, we now check not only
  16295. for whether we got the hidden service we had in mind, but also
  16296. whether we got the particular descriptors we wanted. This prevents
  16297. a class of inefficient but annoying DoS attacks by hidden service
  16298. directories. Fixes bug 13214; bugfix on 0.2.1.6-alpha. Reported
  16299. by "special".
  16300. o Minor bugfixes (Linux seccomp2 sandbox):
  16301. - Make transparent proxy support work along with the seccomp2
  16302. sandbox. Fixes part of bug 13808; bugfix on 0.2.5.1-alpha. Patch
  16303. by Francisco Blas Izquierdo Riera.
  16304. - Fix a memory leak in tor-resolve when running with the sandbox
  16305. enabled. Fixes bug 14050; bugfix on 0.2.5.9-rc.
  16306. o Minor bugfixes (logging):
  16307. - Downgrade warnings about RSA signature failures to info log level.
  16308. Emit a warning when an extra info document is found incompatible
  16309. with a corresponding router descriptor. Fixes bug 9812; bugfix
  16310. on 0.0.6rc3.
  16311. - Make connection_ap_handshake_attach_circuit() log the circuit ID
  16312. correctly. Fixes bug 13701; bugfix on 0.0.6.
  16313. o Minor bugfixes (misc):
  16314. - Stop allowing invalid address patterns like "*/24" that contain
  16315. both a wildcard address and a bit prefix length. This affects all
  16316. our address-range parsing code. Fixes bug 7484; bugfix
  16317. on 0.0.2pre14.
  16318. o Minor bugfixes (testing networks, fast startup):
  16319. - Allow Tor to build circuits using a consensus with no exits. If
  16320. the consensus has no exits (typical of a bootstrapping test
  16321. network), allow Tor to build circuits once enough descriptors have
  16322. been downloaded. This assists in bootstrapping a testing Tor
  16323. network. Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch
  16324. by "teor".
  16325. - When V3AuthVotingInterval is low, give a lower If-Modified-Since
  16326. header to directory servers. This allows us to obtain consensuses
  16327. promptly when the consensus interval is very short. This assists
  16328. in bootstrapping a testing Tor network. Fixes parts of bugs 13718
  16329. and 13963; bugfix on 0.2.0.3-alpha. Patch by "teor".
  16330. - Stop assuming that private addresses are local when checking
  16331. reachability in a TestingTorNetwork. Instead, when testing, assume
  16332. all OR connections are remote. (This is necessary due to many test
  16333. scenarios running all relays on localhost.) This assists in
  16334. bootstrapping a testing Tor network. Fixes bug 13924; bugfix on
  16335. 0.1.0.1-rc. Patch by "teor".
  16336. - Avoid building exit circuits from a consensus with no exits. Now
  16337. thanks to our fix for 13718, we accept a no-exit network as not
  16338. wholly lost, but we need to remember not to try to build exit
  16339. circuits on it. Closes ticket 13814; patch by "teor".
  16340. - Stop requiring exits to have non-zero bandwithcapacity in a
  16341. TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
  16342. ignore exit bandwidthcapacity. This assists in bootstrapping a
  16343. testing Tor network. Fixes parts of bugs 13718 and 13839; bugfix
  16344. on 0.2.0.3-alpha. Patch by "teor".
  16345. - Add "internal" to some bootstrap statuses when no exits are
  16346. available. If the consensus does not contain Exits, Tor will only
  16347. build internal circuits. In this case, relevant statuses will
  16348. contain the word "internal" as indicated in the Tor control-
  16349. spec.txt. When bootstrap completes, Tor will be ready to build
  16350. internal circuits. If a future consensus contains Exits, exit
  16351. circuits may become available. Fixes part of bug 13718; bugfix on
  16352. 0.2.4.10-alpha. Patch by "teor".
  16353. - Decrease minimum consensus interval to 10 seconds when
  16354. TestingTorNetwork is set, or 5 seconds for the first consensus.
  16355. Fix assumptions throughout the code that assume larger intervals.
  16356. Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha. Patch
  16357. by "teor".
  16358. - Avoid excluding guards from path building in minimal test
  16359. networks, when we're in a test network and excluding guards would
  16360. exclude all relays. This typically occurs in incredibly small tor
  16361. networks, and those using "TestingAuthVoteGuard *". Fixes part of
  16362. bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
  16363. o Code simplification and refactoring:
  16364. - Stop using can_complete_circuits as a global variable; access it
  16365. with a function instead.
  16366. - Avoid using operators directly as macro arguments: this lets us
  16367. apply coccinelle transformations to our codebase more directly.
  16368. Closes ticket 13172.
  16369. - Combine the functions used to parse ClientTransportPlugin and
  16370. ServerTransportPlugin into a single function. Closes ticket 6456.
  16371. - Add inline functions and convenience macros for inspecting channel
  16372. state. Refactor the code to use convenience macros instead of
  16373. checking channel state directly. Fixes issue 7356.
  16374. - Document all members of was_router_added_t and rename
  16375. ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN to make it less
  16376. confusable with ROUTER_WAS_TOO_OLD. Fixes issue 13644.
  16377. - In connection_exit_begin_conn(), use END_CIRC_REASON_TORPROTOCOL
  16378. constant instead of hardcoded value. Fixes issue 13840.
  16379. - Refactor our generic strmap and digestmap types into a single
  16380. implementation, so that we can add a new digest256map
  16381. type trivially.
  16382. o Documentation:
  16383. - Document the bridge-authority-only 'networkstatus-bridges' file.
  16384. Closes ticket 13713; patch from "tom".
  16385. - Fix typo in PredictedPortsRelevanceTime option description in
  16386. manpage. Resolves issue 13707.
  16387. - Stop suggesting that users specify relays by nickname: it isn't a
  16388. good idea. Also, properly cross-reference how to specify relays in
  16389. all parts of manual documenting options that take a list of
  16390. relays. Closes ticket 13381.
  16391. - Clarify the HiddenServiceDir option description in manpage to make
  16392. it clear that relative paths are taken with respect to the current
  16393. working directory. Also clarify that this behavior is not
  16394. guaranteed to remain indefinitely. Fixes issue 13913.
  16395. o Testing:
  16396. - New tests for many parts of channel, relay, and circuitmux
  16397. functionality. Code by Andrea; part of 9262.
  16398. - New tests for parse_transport_line(). Part of ticket 6456.
  16399. - In the unit tests, use chgrp() to change the group of the unit
  16400. test temporary directory to the current user, so that the sticky
  16401. bit doesn't interfere with tests that check directory groups.
  16402. Closes 13678.
  16403. - Add unit tests for resolve_my_addr(). Part of ticket 12376; patch
  16404. by 'rl1987'.
  16405. Changes in version 0.2.6.1-alpha - 2014-10-30
  16406. Tor 0.2.6.1-alpha is the first release in the Tor 0.2.6.x series. It
  16407. includes numerous code cleanups and new tests, and fixes a large
  16408. number of annoying bugs. Out-of-memory conditions are handled better
  16409. than in 0.2.5, pluggable transports have improved proxy support, and
  16410. clients now use optimistic data for contacting hidden services. Also,
  16411. we are now more robust to changes in what we consider a parseable
  16412. directory object, so that tightening restrictions does not have a risk
  16413. of introducing infinite download loops.
  16414. This is the first alpha release in a new series, so expect there to be
  16415. bugs. Users who would rather test out a more stable branch should stay
  16416. with 0.2.5.x for now.
  16417. o New compiler and system requirements:
  16418. - Tor 0.2.6.x requires that your compiler support more of the C99
  16419. language standard than before. The 'configure' script now detects
  16420. whether your compiler supports C99 mid-block declarations and
  16421. designated initializers. If it does not, Tor will not compile.
  16422. We may revisit this requirement if it turns out that a significant
  16423. number of people need to build Tor with compilers that don't
  16424. bother implementing a 15-year-old standard. Closes ticket 13233.
  16425. - Tor no longer supports systems without threading support. When we
  16426. began working on Tor, there were several systems that didn't have
  16427. threads, or where the thread support wasn't able to run the
  16428. threads of a single process on multiple CPUs. That no longer
  16429. holds: every system where Tor needs to run well now has threading
  16430. support. Resolves ticket 12439.
  16431. o Removed platform support:
  16432. - We no longer include special code to build on Windows CE; as far
  16433. as we know, nobody has used Tor on Windows CE in a very long time.
  16434. Closes ticket 11446.
  16435. o Major features (bridges):
  16436. - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
  16437. transports if they are configured via the "TOR_PT_PROXY"
  16438. environment variable. Implements proposal 232. Resolves
  16439. ticket 8402.
  16440. o Major features (client performance, hidden services):
  16441. - Allow clients to use optimistic data when connecting to a hidden
  16442. service, which should remove a round-trip from hidden service
  16443. initialization. See proposal 181 for details. Implements
  16444. ticket 13211.
  16445. o Major features (directory system):
  16446. - Upon receiving an unparseable directory object, if its digest
  16447. matches what we expected, then don't try to download it again.
  16448. Previously, when we got a descriptor we didn't like, we would keep
  16449. trying to download it over and over. Closes ticket 11243.
  16450. o Major features (sample torrc):
  16451. - Add a new, infrequently-changed "torrc.minimal". This file is
  16452. similar to torrc.sample, but it will change as infrequently as
  16453. possible, for the benefit of users whose systems prompt them for
  16454. intervention whenever a default configuration file is changed.
  16455. Making this change allows us to update torrc.sample to be a more
  16456. generally useful "sample torrc".
  16457. o Major bugfixes (directory authorities):
  16458. - Do not assign the HSDir flag to relays if they are not Valid, or
  16459. currently hibernating. Fixes 12573; bugfix on 0.2.0.10-alpha.
  16460. o Major bugfixes (directory bandwidth performance):
  16461. - Don't flush the zlib buffer aggressively when compressing
  16462. directory information for clients. This should save about 7% of
  16463. the bandwidth currently used for compressed descriptors and
  16464. microdescriptors. Fixes bug 11787; bugfix on 0.1.1.23.
  16465. o Minor features (security, memory wiping):
  16466. - Ensure we securely wipe keys from memory after
  16467. crypto_digest_get_digest and init_curve25519_keypair_from_file
  16468. have finished using them. Resolves ticket 13477.
  16469. o Minor features (security, out-of-memory handling):
  16470. - When handling an out-of-memory condition, allocate less memory for
  16471. temporary data structures. Fixes issue 10115.
  16472. - When handling an out-of-memory condition, consider more types of
  16473. buffers, including those on directory connections, and zlib
  16474. buffers. Resolves ticket 11792.
  16475. o Minor features:
  16476. - When identity keypair is generated for first time, log a
  16477. congratulatory message that links to the new relay lifecycle
  16478. document. Implements feature 10427.
  16479. o Minor features (client):
  16480. - Clients are now willing to send optimistic data (before they
  16481. receive a 'connected' cell) to relays of any version. (Relays
  16482. without support for optimistic data are no longer supported on the
  16483. Tor network.) Resolves ticket 13153.
  16484. o Minor features (directory authorities):
  16485. - Don't list relays with a bandwidth estimate of 0 in the consensus.
  16486. Implements a feature proposed during discussion of bug 13000.
  16487. - In tor-gencert, report an error if the user provides the same
  16488. argument more than once.
  16489. - If a directory authority can't find a best consensus method in the
  16490. votes that it holds, it now falls back to its favorite consensus
  16491. method. Previously, it fell back to method 1. Neither of these is
  16492. likely to get enough signatures, but "fall back to favorite"
  16493. doesn't require us to maintain support an obsolete consensus
  16494. method. Implements part of proposal 215.
  16495. o Minor features (logging):
  16496. - On Unix-like systems, you can now use named pipes as the target of
  16497. the Log option, and other options that try to append to files.
  16498. Closes ticket 12061. Patch from "carlo von lynX".
  16499. - When opening a log file at startup, send it every log message that
  16500. we generated between startup and opening it. Previously, log
  16501. messages that were generated before opening the log file were only
  16502. logged to stdout. Closes ticket 6938.
  16503. - Add a TruncateLogFile option to overwrite logs instead of
  16504. appending to them. Closes ticket 5583.
  16505. o Minor features (portability, Solaris):
  16506. - Threads are no longer disabled by default on Solaris; we believe
  16507. that the versions of Solaris with broken threading support are all
  16508. obsolete by now. Resolves ticket 9495.
  16509. o Minor features (relay):
  16510. - Re-check our address after we detect a changed IP address from
  16511. getsockname(). This ensures that the controller command "GETINFO
  16512. address" will report the correct value. Resolves ticket 11582.
  16513. Patch from "ra".
  16514. - A new AccountingRule option lets Relays set whether they'd like
  16515. AccountingMax to be applied separately to inbound and outbound
  16516. traffic, or applied to the sum of inbound and outbound traffic.
  16517. Resolves ticket 961. Patch by "chobe".
  16518. o Minor features (testing networks):
  16519. - Add the TestingDirAuthVoteExit option, which lists nodes to assign
  16520. the "Exit" flag regardless of their uptime, bandwidth, or exit
  16521. policy. TestingTorNetwork must be set for this option to have any
  16522. effect. Previously, authorities would take up to 35 minutes to
  16523. give nodes the Exit flag in a test network. Partially implements
  16524. ticket 13161.
  16525. o Minor features (validation):
  16526. - Check all date/time values passed to tor_timegm and
  16527. parse_rfc1123_time for validity, taking leap years into account.
  16528. Improves HTTP header validation. Implemented with bug 13476.
  16529. - In correct_tm(), limit the range of values returned by system
  16530. localtime(_r) and gmtime(_r) to be between the years 1 and 8099.
  16531. This means we don't have to deal with negative or too large dates,
  16532. even if a clock is wrong. Otherwise we might fail to read a file
  16533. written by us which includes such a date. Fixes bug 13476.
  16534. o Minor bugfixes (bridge clients):
  16535. - When configured to use a bridge without an identity digest (not
  16536. recommended), avoid launching an extra channel to it when
  16537. bootstrapping. Fixes bug 7733; bugfix on 0.2.4.4-alpha.
  16538. o Minor bugfixes (bridges):
  16539. - When DisableNetwork is set, do not launch pluggable transport
  16540. plugins, and if any are running, terminate them. Fixes bug 13213;
  16541. bugfix on 0.2.3.6-alpha.
  16542. o Minor bugfixes (C correctness):
  16543. - Fix several instances of possible integer overflow/underflow/NaN.
  16544. Fixes bug 13104; bugfix on 0.2.3.1-alpha and later. Patches
  16545. from "teor".
  16546. - In circuit_build_times_calculate_timeout() in circuitstats.c,
  16547. avoid dividing by zero in the pareto calculations. This traps
  16548. under clang's "undefined-trap" sanitizer. Fixes bug 13290; bugfix
  16549. on 0.2.2.2-alpha.
  16550. - Fix an integer overflow in format_time_interval(). Fixes bug
  16551. 13393; bugfix on 0.2.0.10-alpha.
  16552. - Set the correct day of year value when the system's localtime(_r)
  16553. or gmtime(_r) functions fail to set struct tm. Not externally
  16554. visible. Fixes bug 13476; bugfix on 0.0.2pre14.
  16555. - Avoid unlikely signed integer overflow in tor_timegm on systems
  16556. with 32-bit time_t. Fixes bug 13476; bugfix on 0.0.2pre14.
  16557. o Minor bugfixes (client):
  16558. - Fix smartlist_choose_node_by_bandwidth() so that relays with the
  16559. BadExit flag are not considered worthy candidates. Fixes bug
  16560. 13066; bugfix on 0.1.2.3-alpha.
  16561. - Use the consensus schedule for downloading consensuses, and not
  16562. the generic schedule. Fixes bug 11679; bugfix on 0.2.2.6-alpha.
  16563. - Handle unsupported or malformed SOCKS5 requests properly by
  16564. responding with the appropriate error message before closing the
  16565. connection. Fixes bugs 12971 and 13314; bugfix on 0.0.2pre13.
  16566. o Minor bugfixes (client, torrc):
  16567. - Stop modifying the value of our DirReqStatistics torrc option just
  16568. because we're not a bridge or relay. This bug was causing Tor
  16569. Browser users to write "DirReqStatistics 0" in their torrc files
  16570. as if they had chosen to change the config. Fixes bug 4244; bugfix
  16571. on 0.2.3.1-alpha.
  16572. - When GeoIPExcludeUnknown is enabled, do not incorrectly decide
  16573. that our options have changed every time we SIGHUP. Fixes bug
  16574. 9801; bugfix on 0.2.4.10-alpha. Patch from "qwerty1".
  16575. o Minor bugfixes (controller):
  16576. - Return an error when the second or later arguments of the
  16577. "setevents" controller command are invalid events. Previously we
  16578. would return success while silently skipping invalid events. Fixes
  16579. bug 13205; bugfix on 0.2.3.2-alpha. Reported by "fpxnns".
  16580. o Minor bugfixes (directory system):
  16581. - Always believe that v3 directory authorities serve extra-info
  16582. documents, whether they advertise "caches-extra-info" or not.
  16583. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  16584. - When running as a v3 directory authority, advertise that you serve
  16585. extra-info documents so that clients who want them can find them
  16586. from you too. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  16587. - Check the BRIDGE_DIRINFO flag bitwise rather than using equality.
  16588. Previously, directories offering BRIDGE_DIRINFO and some other
  16589. flag (i.e. microdescriptors or extrainfo) would be ignored when
  16590. looking for bridges. Partially fixes bug 13163; bugfix
  16591. on 0.2.0.7-alpha.
  16592. o Minor bugfixes (networking):
  16593. - Check for orconns and use connection_or_close_for_error() rather
  16594. than connection_mark_for_close() directly in the getsockopt()
  16595. failure case of connection_handle_write_impl(). Fixes bug 11302;
  16596. bugfix on 0.2.4.4-alpha.
  16597. o Minor bugfixes (relay):
  16598. - When generating our family list, remove spaces from around the
  16599. entries. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
  16600. - If our previous bandwidth estimate was 0 bytes, allow publishing a
  16601. new relay descriptor immediately. Fixes bug 13000; bugfix
  16602. on 0.1.1.6-alpha.
  16603. o Minor bugfixes (testing networks):
  16604. - Fix TestingDirAuthVoteGuard to properly give out Guard flags in a
  16605. testing network. Fixes bug 13064; bugfix on 0.2.5.2-alpha.
  16606. - Stop using the default authorities in networks which provide both
  16607. AlternateDirAuthority and AlternateBridgeAuthority. Partially
  16608. fixes bug 13163; bugfix on 0.2.0.13-alpha.
  16609. o Minor bugfixes (testing):
  16610. - Stop spawn test failures due to a race condition between the
  16611. SIGCHLD handler updating the process status, and the test reading
  16612. it. Fixes bug 13291; bugfix on 0.2.3.3-alpha.
  16613. o Minor bugfixes (testing, Windows):
  16614. - Avoid passing an extra backslash when creating a temporary
  16615. directory for running the unit tests on Windows. Fixes bug 12392;
  16616. bugfix on 0.2.2.25-alpha. Patch from Gisle Vanem.
  16617. o Minor bugfixes (windows):
  16618. - Remove code to special-case handling of NTE_BAD_KEYSET when
  16619. acquiring windows CryptoAPI context. This error can't actually
  16620. occur for the parameters we're providing. Fixes bug 10816; bugfix
  16621. on 0.0.2pre26.
  16622. o Minor bugfixes (zlib):
  16623. - Avoid truncating a zlib stream when trying to finalize it with an
  16624. empty output buffer. Fixes bug 11824; bugfix on 0.1.1.23.
  16625. o Build fixes:
  16626. - Allow our configure script to build correctly with autoconf 2.62
  16627. again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
  16628. - Improve the error message from ./configure to make it clear that
  16629. when asciidoc has not been found, the user will have to either add
  16630. --disable-asciidoc argument or install asciidoc. Resolves
  16631. ticket 13228.
  16632. o Code simplification and refactoring:
  16633. - Change the entry_is_live() function to take named bitfield
  16634. elements instead of an unnamed list of booleans. Closes
  16635. ticket 12202.
  16636. - Refactor and unit-test entry_is_time_to_retry() in entrynodes.c.
  16637. Resolves ticket 12205.
  16638. - Use calloc and reallocarray functions instead of multiply-
  16639. then-malloc. This makes it less likely for us to fall victim to an
  16640. integer overflow attack when allocating. Resolves ticket 12855.
  16641. - Use the standard macro name SIZE_MAX, instead of our
  16642. own SIZE_T_MAX.
  16643. - Document usage of the NO_DIRINFO and ALL_DIRINFO flags clearly in
  16644. functions which take them as arguments. Replace 0 with NO_DIRINFO
  16645. in a function call for clarity. Seeks to prevent future issues
  16646. like 13163.
  16647. - Avoid 4 null pointer errors under clang static analysis by using
  16648. tor_assert() to prove that the pointers aren't null. Fixes
  16649. bug 13284.
  16650. - Rework the API of policies_parse_exit_policy() to use a bitmask to
  16651. represent parsing options, instead of a confusing mess of
  16652. booleans. Resolves ticket 8197.
  16653. - Introduce a helper function to parse ExitPolicy in
  16654. or_options_t structure.
  16655. o Documentation:
  16656. - Add a doc/TUNING document with tips for handling large numbers of
  16657. TCP connections when running busy Tor relay. Update the warning
  16658. message to point to this file when running out of sockets
  16659. operating system is allowing to use simultaneously. Resolves
  16660. ticket 9708.
  16661. o Removed features:
  16662. - We no longer remind the user about configuration options that have
  16663. been obsolete since 0.2.3.x or earlier. Patch by Adrien Bak.
  16664. - Remove our old, non-weighted bandwidth-based node selection code.
  16665. Previously, we used it as a fallback when we couldn't perform
  16666. weighted bandwidth-based node selection. But that would only
  16667. happen in the cases where we had no consensus, or when we had a
  16668. consensus generated by buggy or ancient directory authorities. In
  16669. either case, it's better to use the more modern, better maintained
  16670. algorithm, with reasonable defaults for the weights. Closes
  16671. ticket 13126.
  16672. - Remove the --disable-curve25519 configure option. Relays and
  16673. clients now are required to support curve25519 and the
  16674. ntor handshake.
  16675. - The old "StrictEntryNodes" and "StrictExitNodes" options, which
  16676. used to be deprecated synonyms for "StrictNodes", are now marked
  16677. obsolete. Resolves ticket 12226.
  16678. - Clients don't understand the BadDirectory flag in the consensus
  16679. anymore, and ignore it.
  16680. o Testing:
  16681. - Refactor the function that chooses guard nodes so that it can more
  16682. easily be tested; write some tests for it.
  16683. - Fix and re-enable the fgets_eagain unit test. Fixes bug 12503;
  16684. bugfix on 0.2.3.1-alpha. Patch from "cypherpunks."
  16685. - Create unit tests for format_time_interval(). With bug 13393.
  16686. - Add unit tests for tor_timegm signed overflow, tor_timegm and
  16687. parse_rfc1123_time validity checks, correct_tm year clamping. Unit
  16688. tests (visible) fixes in bug 13476.
  16689. - Add a "coverage-html" make target to generate HTML-visualized
  16690. coverage results when building with --enable-coverage. (Requires
  16691. lcov.) Patch from Kevin Murray.
  16692. - Enable the backtrace handler (where supported) when running the
  16693. unit tests.
  16694. - Revise all unit tests that used the legacy test_* macros to
  16695. instead use the recommended tt_* macros. This patch was generated
  16696. with coccinelle, to avoid manual errors. Closes ticket 13119.
  16697. o Distribution (systemd):
  16698. - systemd unit file: only allow tor to write to /var/lib/tor and
  16699. /var/log/tor. The rest of the filesystem is accessible for reading
  16700. only. Patch by intrigeri; resolves ticket 12751.
  16701. - systemd unit file: ensure that the process and all its children
  16702. can never gain new privileges. Patch by intrigeri; resolves
  16703. ticket 12939.
  16704. - systemd unit file: set up /var/run/tor as writable for the Tor
  16705. service. Patch by intrigeri; resolves ticket 13196.
  16706. o Removed features (directory authorities):
  16707. - Remove code that prevented authorities from listing Tor relays
  16708. affected by CVE-2011-2769 as guards. These relays are already
  16709. rejected altogether due to the minimum version requirement of
  16710. 0.2.3.16-alpha. Closes ticket 13152.
  16711. - The "AuthDirRejectUnlisted" option no longer has any effect, as
  16712. the fingerprints file (approved-routers) has been deprecated.
  16713. - Directory authorities do not support being Naming dirauths anymore.
  16714. The "NamingAuthoritativeDir" config option is now obsolete.
  16715. - Directory authorities do not support giving out the BadDirectory
  16716. flag anymore.
  16717. - Directory authorities no longer advertise or support consensus
  16718. methods 1 through 12 inclusive. These consensus methods were
  16719. obsolete and/or insecure: maintaining the ability to support them
  16720. served no good purpose. Implements part of proposal 215; closes
  16721. ticket 10163.
  16722. o Testing (test-network.sh):
  16723. - Stop using "echo -n", as some shells' built-in echo doesn't
  16724. support "-n". Instead, use "/bin/echo -n". Partially fixes
  16725. bug 13161.
  16726. - Stop an apparent test-network hang when used with make -j2. Fixes
  16727. bug 13331.
  16728. - Add a --delay option to test-network.sh, which configures the
  16729. delay before the chutney network tests for data transmission.
  16730. Partially implements ticket 13161.
  16731. Changes in version 0.2.5.10 - 2014-10-24
  16732. Tor 0.2.5.10 is the first stable release in the 0.2.5 series.
  16733. It adds several new security features, including improved
  16734. denial-of-service resistance for relays, new compiler hardening
  16735. options, and a system-call sandbox for hardened installations on Linux
  16736. (requires seccomp2). The controller protocol has several new features,
  16737. resolving IPv6 addresses should work better than before, and relays
  16738. should be a little more CPU-efficient. We've added support for more
  16739. OpenBSD and FreeBSD transparent proxy types. We've improved the build
  16740. system and testing infrastructure to allow unit testing of more parts
  16741. of the Tor codebase. Finally, we've addressed several nagging pluggable
  16742. transport usability issues, and included numerous other small bugfixes
  16743. and features mentioned below.
  16744. This release marks end-of-life for Tor 0.2.3.x; those Tor versions
  16745. have accumulated many known flaws; everyone should upgrade.
  16746. o Deprecated versions:
  16747. - Tor 0.2.3.x has reached end-of-life; it has received no patches or
  16748. attention for some while.
  16749. Changes in version 0.2.5.9-rc - 2014-10-20
  16750. Tor 0.2.5.9-rc is the third release candidate for the Tor 0.2.5.x
  16751. series. It disables SSL3 in response to the recent "POODLE" attack
  16752. (even though POODLE does not affect Tor). It also works around a crash
  16753. bug caused by some operating systems' response to the "POODLE" attack
  16754. (which does affect Tor). It also contains a few miscellaneous fixes.
  16755. o Major security fixes:
  16756. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  16757. today support TLS 1.0 or later, so we can safely turn off support
  16758. for this old (and insecure) protocol. Fixes bug 13426.
  16759. o Major bugfixes (openssl bug workaround):
  16760. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  16761. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  16762. 13471. This is a workaround for an OpenSSL bug.
  16763. o Minor bugfixes:
  16764. - Disable the sandbox name resolver cache when running tor-resolve:
  16765. tor-resolve doesn't use the sandbox code, and turning it on was
  16766. breaking attempts to do tor-resolve on a non-default server on
  16767. Linux. Fixes bug 13295; bugfix on 0.2.5.3-alpha.
  16768. o Compilation fixes:
  16769. - Build and run correctly on systems like OpenBSD-current that have
  16770. patched OpenSSL to remove get_cipher_by_char and/or its
  16771. implementations. Fixes issue 13325.
  16772. o Downgraded warnings:
  16773. - Downgrade the severity of the 'unexpected sendme cell from client'
  16774. from 'warn' to 'protocol warning'. Closes ticket 8093.
  16775. Changes in version 0.2.4.25 - 2014-10-20
  16776. Tor 0.2.4.25 disables SSL3 in response to the recent "POODLE" attack
  16777. (even though POODLE does not affect Tor). It also works around a crash
  16778. bug caused by some operating systems' response to the "POODLE" attack
  16779. (which does affect Tor).
  16780. o Major security fixes (also in 0.2.5.9-rc):
  16781. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  16782. today support TLS 1.0 or later, so we can safely turn off support
  16783. for this old (and insecure) protocol. Fixes bug 13426.
  16784. o Major bugfixes (openssl bug workaround, also in 0.2.5.9-rc):
  16785. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  16786. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  16787. 13471. This is a workaround for an OpenSSL bug.
  16788. Changes in version 0.2.5.8-rc - 2014-09-22
  16789. Tor 0.2.5.8-rc is the second release candidate for the Tor 0.2.5.x
  16790. series. It fixes a bug that affects consistency and speed when
  16791. connecting to hidden services, and it updates the location of one of
  16792. the directory authorities.
  16793. o Major bugfixes:
  16794. - Clients now send the correct address for their chosen rendezvous
  16795. point when trying to access a hidden service. They used to send
  16796. the wrong address, which would still work some of the time because
  16797. they also sent the identity digest of the rendezvous point, and if
  16798. the hidden service happened to try connecting to the rendezvous
  16799. point from a relay that already had a connection open to it,
  16800. the relay would reuse that connection. Now connections to hidden
  16801. services should be more robust and faster. Also, this bug meant
  16802. that clients were leaking to the hidden service whether they were
  16803. on a little-endian (common) or big-endian (rare) system, which for
  16804. some users might have reduced their anonymity. Fixes bug 13151;
  16805. bugfix on 0.2.1.5-alpha.
  16806. o Directory authority changes:
  16807. - Change IP address for gabelmoo (v3 directory authority).
  16808. Changes in version 0.2.4.24 - 2014-09-22
  16809. Tor 0.2.4.24 fixes a bug that affects consistency and speed when
  16810. connecting to hidden services, and it updates the location of one of
  16811. the directory authorities.
  16812. o Major bugfixes:
  16813. - Clients now send the correct address for their chosen rendezvous
  16814. point when trying to access a hidden service. They used to send
  16815. the wrong address, which would still work some of the time because
  16816. they also sent the identity digest of the rendezvous point, and if
  16817. the hidden service happened to try connecting to the rendezvous
  16818. point from a relay that already had a connection open to it,
  16819. the relay would reuse that connection. Now connections to hidden
  16820. services should be more robust and faster. Also, this bug meant
  16821. that clients were leaking to the hidden service whether they were
  16822. on a little-endian (common) or big-endian (rare) system, which for
  16823. some users might have reduced their anonymity. Fixes bug 13151;
  16824. bugfix on 0.2.1.5-alpha.
  16825. o Directory authority changes:
  16826. - Change IP address for gabelmoo (v3 directory authority).
  16827. o Minor features (geoip):
  16828. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  16829. Country database.
  16830. Changes in version 0.2.5.7-rc - 2014-09-11
  16831. Tor 0.2.5.7-rc fixes several regressions from earlier in the 0.2.5.x
  16832. release series, and some long-standing bugs related to ORPort reachability
  16833. testing and failure to send CREATE cells. It is the first release
  16834. candidate for the Tor 0.2.5.x series.
  16835. o Major bugfixes (client, startup):
  16836. - Start making circuits as soon as DisabledNetwork is turned off.
  16837. When Tor started with DisabledNetwork set, it would correctly
  16838. conclude that it shouldn't build circuits, but it would mistakenly
  16839. cache this conclusion, and continue believing it even when
  16840. DisableNetwork is set to 0. Fixes the bug introduced by the fix
  16841. for bug 11200; bugfix on 0.2.5.4-alpha.
  16842. - Resume expanding abbreviations for command-line options. The fix
  16843. for bug 4647 accidentally removed our hack from bug 586 that
  16844. rewrote HashedControlPassword to __HashedControlSessionPassword
  16845. when it appears on the commandline (which allowed the user to set
  16846. her own HashedControlPassword in the torrc file while the
  16847. controller generates a fresh session password for each run). Fixes
  16848. bug 12948; bugfix on 0.2.5.1-alpha.
  16849. - Warn about attempts to run hidden services and relays in the same
  16850. process: that's probably not a good idea. Closes ticket 12908.
  16851. o Major bugfixes (relay):
  16852. - Avoid queuing or sending destroy cells for circuit ID zero when we
  16853. fail to send a CREATE cell. Fixes bug 12848; bugfix on 0.0.8pre1.
  16854. Found and fixed by "cypherpunks".
  16855. - Fix ORPort reachability detection on relays running behind a
  16856. proxy, by correctly updating the "local" mark on the controlling
  16857. channel when changing the address of an or_connection_t after the
  16858. handshake. Fixes bug 12160; bugfix on 0.2.4.4-alpha.
  16859. o Minor features (bridge):
  16860. - Add an ExtORPortCookieAuthFileGroupReadable option to make the
  16861. cookie file for the ExtORPort g+r by default.
  16862. o Minor features (geoip):
  16863. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  16864. Country database.
  16865. o Minor bugfixes (logging):
  16866. - Reduce the log severity of the "Pluggable transport proxy does not
  16867. provide any needed transports and will not be launched." message,
  16868. since Tor Browser includes several ClientTransportPlugin lines in
  16869. its torrc-defaults file, leading every Tor Browser user who looks
  16870. at her logs to see these notices and wonder if they're dangerous.
  16871. Resolves bug 13124; bugfix on 0.2.5.3-alpha.
  16872. - Downgrade "Unexpected onionskin length after decryption" warning
  16873. to a protocol-warn, since there's nothing relay operators can do
  16874. about a client that sends them a malformed create cell. Resolves
  16875. bug 12996; bugfix on 0.0.6rc1.
  16876. - Log more specific warnings when we get an ESTABLISH_RENDEZVOUS
  16877. cell on a cannibalized or non-OR circuit. Resolves ticket 12997.
  16878. - When logging information about an EXTEND2 or EXTENDED2 cell, log
  16879. their names correctly. Fixes part of bug 12700; bugfix
  16880. on 0.2.4.8-alpha.
  16881. - When logging information about a relay cell whose command we don't
  16882. recognize, log its command as an integer. Fixes part of bug 12700;
  16883. bugfix on 0.2.1.10-alpha.
  16884. - Escape all strings from the directory connection before logging
  16885. them. Fixes bug 13071; bugfix on 0.1.1.15. Patch from "teor".
  16886. o Minor bugfixes (controller):
  16887. - Restore the functionality of CookieAuthFileGroupReadable. Fixes
  16888. bug 12864; bugfix on 0.2.5.1-alpha.
  16889. - Actually send TRANSPORT_LAUNCHED and HS_DESC events to
  16890. controllers. Fixes bug 13085; bugfix on 0.2.5.1-alpha. Patch
  16891. by "teor".
  16892. o Minor bugfixes (compilation):
  16893. - Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
  16894. bugfix on 0.2.5.5-alpha.
  16895. - Make the nmake make files work again. Fixes bug 13081. Bugfix on
  16896. 0.2.5.1-alpha. Patch from "NewEraCracker".
  16897. - In routerlist_assert_ok(), don't take the address of a
  16898. routerinfo's cache_info member unless that routerinfo is non-NULL.
  16899. Fixes bug 13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
  16900. - Fix a large number of false positive warnings from the clang
  16901. analyzer static analysis tool. This should make real warnings
  16902. easier for clang analyzer to find. Patch from "teor". Closes
  16903. ticket 13036.
  16904. o Distribution (systemd):
  16905. - Verify configuration file via ExecStartPre in the systemd unit
  16906. file. Patch from intrigeri; resolves ticket 12730.
  16907. - Explicitly disable RunAsDaemon in the systemd unit file. Our
  16908. current systemd unit uses "Type = simple", so systemd does not
  16909. expect tor to fork. If the user has "RunAsDaemon 1" in their
  16910. torrc, then things won't work as expected. This is e.g. the case
  16911. on Debian (and derivatives), since there we pass "--defaults-torrc
  16912. /usr/share/tor/tor-service-defaults-torrc" (that contains
  16913. "RunAsDaemon 1") by default. Patch by intrigeri; resolves
  16914. ticket 12731.
  16915. o Documentation:
  16916. - Adjust the URLs in the README to refer to the new locations of
  16917. several documents on the website. Fixes bug 12830. Patch from
  16918. Matt Pagan.
  16919. - Document 'reject6' and 'accept6' ExitPolicy entries. Resolves
  16920. ticket 12878.
  16921. Changes in version 0.2.5.6-alpha - 2014-07-28
  16922. Tor 0.2.5.6-alpha brings us a big step closer to slowing down the
  16923. risk from guard rotation, and fixes a variety of other issues to get
  16924. us closer to a release candidate.
  16925. o Major features (also in 0.2.4.23):
  16926. - Make the number of entry guards configurable via a new
  16927. NumEntryGuards consensus parameter, and the number of directory
  16928. guards configurable via a new NumDirectoryGuards consensus
  16929. parameter. Implements ticket 12688.
  16930. o Major bugfixes (also in 0.2.4.23):
  16931. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  16932. implementation that caused incorrect results on 32-bit
  16933. implementations when certain malformed inputs were used along with
  16934. a small class of private ntor keys. This bug does not currently
  16935. appear to allow an attacker to learn private keys or impersonate a
  16936. Tor server, but it could provide a means to distinguish 32-bit Tor
  16937. implementations from 64-bit Tor implementations. Fixes bug 12694;
  16938. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  16939. Adam Langley.
  16940. o Major bugfixes:
  16941. - Perform circuit cleanup operations even when circuit
  16942. construction operations are disabled (because the network is
  16943. disabled, or because there isn't enough directory information).
  16944. Previously, when we were not building predictive circuits, we
  16945. were not closing expired circuits either. Fixes bug 8387; bugfix on
  16946. 0.1.1.11-alpha. This bug became visible in 0.2.4.10-alpha when we
  16947. became more strict about when we have "enough directory information
  16948. to build circuits".
  16949. o Minor features:
  16950. - Authorities now assign the Guard flag to the fastest 25% of the
  16951. network (it used to be the fastest 50%). Also raise the consensus
  16952. weight that guarantees the Guard flag from 250 to 2000. For the
  16953. current network, this results in about 1100 guards, down from 2500.
  16954. This step paves the way for moving the number of entry guards
  16955. down to 1 (proposal 236) while still providing reasonable expected
  16956. performance for most users. Implements ticket 12690.
  16957. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  16958. Country database.
  16959. - Slightly enhance the diagnostic message for bug 12184.
  16960. o Minor bugfixes (also in 0.2.4.23):
  16961. - Warn and drop the circuit if we receive an inbound 'relay early'
  16962. cell. Those used to be normal to receive on hidden service circuits
  16963. due to bug 1038, but the buggy Tor versions are long gone from
  16964. the network so we can afford to resume watching for them. Resolves
  16965. the rest of bug 1038; bugfix on 0.2.1.19.
  16966. - Correct a confusing error message when trying to extend a circuit
  16967. via the control protocol but we don't know a descriptor or
  16968. microdescriptor for one of the specified relays. Fixes bug 12718;
  16969. bugfix on 0.2.3.1-alpha.
  16970. o Minor bugfixes:
  16971. - Fix compilation when building with bufferevents enabled. (This
  16972. configuration is still not expected to work, however.)
  16973. Fixes bugs 12438, 12474, 11578; bugfixes on 0.2.5.1-alpha and
  16974. 0.2.5.3-alpha. Patches from Anthony G. Basile and Sathyanarayanan
  16975. Gunasekaran.
  16976. - Compile correctly with builds and forks of OpenSSL (such as
  16977. LibreSSL) that disable compression. Fixes bug 12602; bugfix on
  16978. 0.2.1.1-alpha. Patch from "dhill".
  16979. Changes in version 0.2.4.23 - 2014-07-28
  16980. Tor 0.2.4.23 brings us a big step closer to slowing down the risk from
  16981. guard rotation, and also backports several important fixes from the
  16982. Tor 0.2.5 alpha release series.
  16983. o Major features:
  16984. - Clients now look at the "usecreatefast" consensus parameter to
  16985. decide whether to use CREATE_FAST or CREATE cells for the first hop
  16986. of their circuit. This approach can improve security on connections
  16987. where Tor's circuit handshake is stronger than the available TLS
  16988. connection security levels, but the tradeoff is more computational
  16989. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  16990. - Make the number of entry guards configurable via a new
  16991. NumEntryGuards consensus parameter, and the number of directory
  16992. guards configurable via a new NumDirectoryGuards consensus
  16993. parameter. Implements ticket 12688.
  16994. o Major bugfixes:
  16995. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  16996. implementation that caused incorrect results on 32-bit
  16997. implementations when certain malformed inputs were used along with
  16998. a small class of private ntor keys. This bug does not currently
  16999. appear to allow an attacker to learn private keys or impersonate a
  17000. Tor server, but it could provide a means to distinguish 32-bit Tor
  17001. implementations from 64-bit Tor implementations. Fixes bug 12694;
  17002. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  17003. Adam Langley.
  17004. o Minor bugfixes:
  17005. - Warn and drop the circuit if we receive an inbound 'relay early'
  17006. cell. Those used to be normal to receive on hidden service circuits
  17007. due to bug 1038, but the buggy Tor versions are long gone from
  17008. the network so we can afford to resume watching for them. Resolves
  17009. the rest of bug 1038; bugfix on 0.2.1.19.
  17010. - Correct a confusing error message when trying to extend a circuit
  17011. via the control protocol but we don't know a descriptor or
  17012. microdescriptor for one of the specified relays. Fixes bug 12718;
  17013. bugfix on 0.2.3.1-alpha.
  17014. - Avoid an illegal read from stack when initializing the TLS
  17015. module using a version of OpenSSL without all of the ciphers
  17016. used by the v2 link handshake. Fixes bug 12227; bugfix on
  17017. 0.2.4.8-alpha. Found by "starlight".
  17018. o Minor features:
  17019. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  17020. Country database.
  17021. Changes in version 0.2.5.5-alpha - 2014-06-18
  17022. Tor 0.2.5.5-alpha fixes a wide variety of remaining issues in the Tor
  17023. 0.2.5.x release series, including a couple of DoS issues, some
  17024. performance regressions, a large number of bugs affecting the Linux
  17025. seccomp2 sandbox code, and various other bugfixes. It also adds
  17026. diagnostic bugfixes for a few tricky issues that we're trying to
  17027. track down.
  17028. o Major features (security, traffic analysis resistance):
  17029. - Several major improvements to the algorithm used to decide when to
  17030. close TLS connections. Previous versions of Tor closed connections
  17031. at a fixed interval after the last time a non-padding cell was
  17032. sent over the connection, regardless of the target of the
  17033. connection. Now, we randomize the intervals by adding up to 50% of
  17034. their base value, we measure the length of time since connection
  17035. last had at least one circuit, and we allow connections to known
  17036. ORs to remain open a little longer (15 minutes instead of 3
  17037. minutes minimum). These changes should improve Tor's resistance
  17038. against some kinds of traffic analysis, and lower some overhead
  17039. from needlessly closed connections. Fixes ticket 6799.
  17040. Incidentally fixes ticket 12023; bugfix on 0.2.5.1-alpha.
  17041. o Major bugfixes (security, OOM, new since 0.2.5.4-alpha, also in 0.2.4.22):
  17042. - Fix a memory leak that could occur if a microdescriptor parse
  17043. fails during the tokenizing step. This bug could enable a memory
  17044. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  17045. on 0.2.2.6-alpha.
  17046. o Major bugfixes (security, directory authorities):
  17047. - Directory authorities now include a digest of each relay's
  17048. identity key as a part of its microdescriptor.
  17049. This is a workaround for bug 11743 (reported by "cypherpunks"),
  17050. where Tor clients do not support receiving multiple
  17051. microdescriptors with the same SHA256 digest in the same
  17052. consensus. When clients receive a consensus like this, they only
  17053. use one of the relays. Without this fix, a hostile relay could
  17054. selectively disable some client use of target relays by
  17055. constructing a router descriptor with a different identity and the
  17056. same microdescriptor parameters and getting the authorities to
  17057. list it in a microdescriptor consensus. This fix prevents an
  17058. attacker from causing a microdescriptor collision, because the
  17059. router's identity is not forgeable.
  17060. o Major bugfixes (relay):
  17061. - Use a direct dirport connection when uploading non-anonymous
  17062. descriptors to the directory authorities. Previously, relays would
  17063. incorrectly use tunnel connections under a fairly wide variety of
  17064. circumstances. Fixes bug 11469; bugfix on 0.2.4.3-alpha.
  17065. - When a circuit accidentally has the same circuit ID for its
  17066. forward and reverse direction, correctly detect the direction of
  17067. cells using that circuit. Previously, this bug made roughly one
  17068. circuit in a million non-functional. Fixes bug 12195; this is a
  17069. bugfix on every version of Tor.
  17070. o Major bugfixes (client, pluggable transports):
  17071. - When managing pluggable transports, use OS notification facilities
  17072. to learn if they have crashed, and don't attempt to kill any
  17073. process that has already exited. Fixes bug 8746; bugfix
  17074. on 0.2.3.6-alpha.
  17075. o Minor features (diagnostic):
  17076. - When logging a warning because of bug 7164, additionally check the
  17077. hash table for consistency (as proposed on ticket 11737). This may
  17078. help diagnose bug 7164.
  17079. - When we log a heartbeat, log how many one-hop circuits we have
  17080. that are at least 30 minutes old, and log status information about
  17081. a few of them. This is an attempt to track down bug 8387.
  17082. - When encountering an unexpected CR while writing text to a file on
  17083. Windows, log the name of the file. Should help diagnosing
  17084. bug 11233.
  17085. - Give more specific warnings when a client notices that an onion
  17086. handshake has failed. Fixes ticket 9635.
  17087. - Add significant new logging code to attempt to diagnose bug 12184,
  17088. where relays seem to run out of available circuit IDs.
  17089. - Improve the diagnostic log message for bug 8387 even further to
  17090. try to improve our odds of figuring out why one-hop directory
  17091. circuits sometimes do not get closed.
  17092. o Minor features (security, memory management):
  17093. - Memory allocation tricks (mempools and buffer freelists) are now
  17094. disabled by default. You can turn them back on with
  17095. --enable-mempools and --enable-buf-freelists respectively. We're
  17096. disabling these features because malloc performance is good enough
  17097. on most platforms, and a similar feature in OpenSSL exacerbated
  17098. exploitation of the Heartbleed attack. Resolves ticket 11476.
  17099. o Minor features (security):
  17100. - Apply the secure SipHash-2-4 function to the hash table mapping
  17101. circuit IDs and channels to circuits. We missed this one when we
  17102. were converting all the other hash functions to use SipHash back
  17103. in 0.2.5.3-alpha. Resolves ticket 11750.
  17104. o Minor features (build):
  17105. - The configure script has a --disable-seccomp option to turn off
  17106. support for libseccomp on systems that have it, in case it (or
  17107. Tor's use of it) is broken. Resolves ticket 11628.
  17108. o Minor features (other):
  17109. - Update geoip and geoip6 to the June 4 2014 Maxmind GeoLite2
  17110. Country database.
  17111. o Minor bugfixes (security, new since 0.2.5.4-alpha, also in 0.2.4.22):
  17112. - When running a hidden service, do not allow TunneledDirConns 0;
  17113. this will keep the hidden service from running, and also
  17114. make it publish its descriptors directly over HTTP. Fixes bug 10849;
  17115. bugfix on 0.2.1.1-alpha.
  17116. o Minor bugfixes (performance):
  17117. - Avoid a bug where every successful connection made us recompute
  17118. the flag telling us whether we have sufficient information to
  17119. build circuits. Previously, we would forget our cached value
  17120. whenever we successfully opened a channel (or marked a router as
  17121. running or not running for any other reason), regardless of
  17122. whether we had previously believed the router to be running. This
  17123. forced us to run an expensive update operation far too often.
  17124. Fixes bug 12170; bugfix on 0.1.2.1-alpha.
  17125. - Avoid using tor_memeq() for checking relay cell integrity. This
  17126. removes a possible performance bottleneck. Fixes part of bug
  17127. 12169; bugfix on 0.2.1.31.
  17128. o Minor bugfixes (compilation):
  17129. - Fix compilation of test_status.c when building with MVSC. Bugfix
  17130. on 0.2.5.4-alpha. Patch from Gisle Vanem.
  17131. - Resolve GCC complaints on OpenBSD about discarding constness in
  17132. TO_{ORIGIN,OR}_CIRCUIT functions. Fixes part of bug 11633; bugfix
  17133. on 0.1.1.23. Patch from Dana Koch.
  17134. - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to
  17135. treatment of long and time_t as comparable types. Fixes part of
  17136. bug 11633. Patch from Dana Koch.
  17137. - Make Tor compile correctly with --disable-buf-freelists. Fixes bug
  17138. 11623; bugfix on 0.2.5.3-alpha.
  17139. - When deciding whether to build the 64-bit curve25519
  17140. implementation, detect platforms where we can compile 128-bit
  17141. arithmetic but cannot link it. Fixes bug 11729; bugfix on
  17142. 0.2.4.8-alpha. Patch from "conradev".
  17143. - Fix compilation when DNS_CACHE_DEBUG is enabled. Fixes bug 11761;
  17144. bugfix on 0.2.3.13-alpha. Found by "cypherpunks".
  17145. - Fix compilation with dmalloc. Fixes bug 11605; bugfix
  17146. on 0.2.4.10-alpha.
  17147. o Minor bugfixes (Directory server):
  17148. - When sending a compressed set of descriptors or microdescriptors,
  17149. make sure to finalize the zlib stream. Previously, we would write
  17150. all the compressed data, but if the last descriptor we wanted to
  17151. send was missing or too old, we would not mark the stream as
  17152. finished. This caused problems for decompression tools. Fixes bug
  17153. 11648; bugfix on 0.1.1.23.
  17154. o Minor bugfixes (Linux seccomp sandbox):
  17155. - Make the seccomp sandbox code compile under ARM Linux. Fixes bug
  17156. 11622; bugfix on 0.2.5.1-alpha.
  17157. - Avoid crashing when re-opening listener ports with the seccomp
  17158. sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.
  17159. - Avoid crashing with the seccomp sandbox enabled along with
  17160. ConstrainedSockets. Fixes bug 12139; bugfix on 0.2.5.1-alpha.
  17161. - When we receive a SIGHUP with the sandbox enabled, correctly
  17162. support rotating our log files. Fixes bug 12032; bugfix
  17163. on 0.2.5.1-alpha.
  17164. - Avoid crash when running with sandboxing enabled and
  17165. DirReqStatistics not disabled. Fixes bug 12035; bugfix
  17166. on 0.2.5.1-alpha.
  17167. - Fix a "BUG" warning when trying to write bridge-stats files with
  17168. the Linux syscall sandbox filter enabled. Fixes bug 12041; bugfix
  17169. on 0.2.5.1-alpha.
  17170. - Prevent the sandbox from crashing on startup when run with the
  17171. --enable-expensive-hardening configuration option. Fixes bug
  17172. 11477; bugfix on 0.2.5.4-alpha.
  17173. - When running with DirPortFrontPage and sandboxing both enabled,
  17174. reload the DirPortFrontPage correctly when restarting. Fixes bug
  17175. 12028; bugfix on 0.2.5.1-alpha.
  17176. - Don't try to enable the sandbox when using the Tor binary to check
  17177. its configuration, hash a passphrase, or so on. Doing so was
  17178. crashing on startup for some users. Fixes bug 11609; bugfix
  17179. on 0.2.5.1-alpha.
  17180. - Avoid warnings when running with sandboxing and node statistics
  17181. enabled at the same time. Fixes part of 12064; bugfix on
  17182. 0.2.5.1-alpha. Patch from Michael Wolf.
  17183. - Avoid warnings when running with sandboxing enabled at the same
  17184. time as cookie authentication, hidden services, or directory
  17185. authority voting. Fixes part of 12064; bugfix on 0.2.5.1-alpha.
  17186. - Do not allow options that require calls to exec to be enabled
  17187. alongside the seccomp2 sandbox: they will inevitably crash. Fixes
  17188. bug 12043; bugfix on 0.2.5.1-alpha.
  17189. - Handle failures in getpwnam()/getpwuid() when running with the
  17190. User option set and the Linux syscall sandbox enabled. Fixes bug
  17191. 11946; bugfix on 0.2.5.1-alpha.
  17192. - Refactor the getaddrinfo workaround that the seccomp sandbox uses
  17193. to avoid calling getaddrinfo() after installing the sandbox
  17194. filters. Previously, it preloaded a cache with the IPv4 address
  17195. for our hostname, and nothing else. Now, it loads the cache with
  17196. every address that it used to initialize the Tor process. Fixes
  17197. bug 11970; bugfix on 0.2.5.1-alpha.
  17198. o Minor bugfixes (pluggable transports):
  17199. - Enable the ExtORPortCookieAuthFile option, to allow changing the
  17200. default location of the authentication token for the extended OR
  17201. Port as used by sever-side pluggable transports. We had
  17202. implemented this option before, but the code to make it settable
  17203. had been omitted. Fixes bug 11635; bugfix on 0.2.5.1-alpha.
  17204. - Avoid another 60-second delay when starting Tor in a pluggable-
  17205. transport-using configuration when we already have cached
  17206. descriptors for our bridges. Fixes bug 11965; bugfix
  17207. on 0.2.3.6-alpha.
  17208. o Minor bugfixes (client):
  17209. - Avoid "Tried to open a socket with DisableNetwork set" warnings
  17210. when starting a client with bridges configured and DisableNetwork
  17211. set. (Tor launcher starts Tor with DisableNetwork set the first
  17212. time it runs.) Fixes bug 10405; bugfix on 0.2.3.9-alpha.
  17213. o Minor bugfixes (testing):
  17214. - The Python parts of the test scripts now work on Python 3 as well
  17215. as Python 2, so systems where '/usr/bin/python' is Python 3 will
  17216. no longer have the tests break. Fixes bug 11608; bugfix
  17217. on 0.2.5.2-alpha.
  17218. - When looking for versions of python that we could run the tests
  17219. with, check for "python2.7" and "python3.3"; previously we were
  17220. only looking for "python", "python2", and "python3". Patch from
  17221. Dana Koch. Fixes bug 11632; bugfix on 0.2.5.2-alpha.
  17222. - Fix all valgrind warnings produced by the unit tests. There were
  17223. over a thousand memory leak warnings previously, mostly produced
  17224. by forgetting to free things in the unit test code. Fixes bug
  17225. 11618, bugfixes on many versions of Tor.
  17226. o Minor bugfixes (tor-fw-helper):
  17227. - Give a correct log message when tor-fw-helper fails to launch.
  17228. (Previously, we would say something like "tor-fw-helper sent us a
  17229. string we could not parse".) Fixes bug 9781; bugfix
  17230. on 0.2.4.2-alpha.
  17231. o Minor bugfixes (relay, threading):
  17232. - Check return code on spawn_func() in cpuworker code, so that we
  17233. don't think we've spawned a nonworking cpuworker and write junk to
  17234. it forever. Fix related to bug 4345; bugfix on all released Tor
  17235. versions. Found by "skruffy".
  17236. - Use a pthread_attr to make sure that spawn_func() cannot return an
  17237. error while at the same time launching a thread. Fix related to
  17238. bug 4345; bugfix on all released Tor versions. Reported
  17239. by "cypherpunks".
  17240. o Minor bugfixes (relay, oom prevention):
  17241. - Correctly detect the total available system memory. We tried to do
  17242. this in 0.2.5.4-alpha, but the code was set up to always return an
  17243. error value, even on success. Fixes bug 11805; bugfix
  17244. on 0.2.5.4-alpha.
  17245. o Minor bugfixes (relay, other):
  17246. - We now drop CREATE cells for already-existent circuit IDs and for
  17247. zero-valued circuit IDs, regardless of other factors that might
  17248. otherwise have called for DESTROY cells. Fixes bug 12191; bugfix
  17249. on 0.0.8pre1.
  17250. - Avoid an illegal read from stack when initializing the TLS module
  17251. using a version of OpenSSL without all of the ciphers used by the
  17252. v2 link handshake. Fixes bug 12227; bugfix on 0.2.4.8-alpha. Found
  17253. by "starlight".
  17254. - When rejecting DATA cells for stream_id zero, still count them
  17255. against the circuit's deliver window so that we don't fail to send
  17256. a SENDME. Fixes bug 11246; bugfix on 0.2.4.10-alpha.
  17257. o Minor bugfixes (logging):
  17258. - Fix a misformatted log message about delayed directory fetches.
  17259. Fixes bug 11654; bugfix on 0.2.5.3-alpha.
  17260. - Squelch a spurious LD_BUG message "No origin circuit for
  17261. successful SOCKS stream" in certain hidden service failure cases;
  17262. fixes bug 10616.
  17263. o Distribution:
  17264. - Include a tor.service file in contrib/dist for use with systemd.
  17265. Some distributions will be able to use this file unmodified;
  17266. others will need to tweak it, or write their own. Patch from Jamie
  17267. Nguyen; resolves ticket 8368.
  17268. o Documentation:
  17269. - Clean up several option names in the manpage to match their real
  17270. names, add the missing documentation for a couple of testing and
  17271. directory authority options, remove the documentation for a
  17272. V2-directory fetching option that no longer exists. Resolves
  17273. ticket 11634.
  17274. - Correct the documentation so that it lists the correct directory
  17275. for the stats files. (They are in a subdirectory called "stats",
  17276. not "status".)
  17277. - In the manpage, move more authority-only options into the
  17278. directory authority section so that operators of regular directory
  17279. caches don't get confused.
  17280. o Package cleanup:
  17281. - The contrib directory has been sorted and tidied. Before, it was
  17282. an unsorted dumping ground for useful and not-so-useful things.
  17283. Now, it is divided based on functionality, and the items which
  17284. seemed to be nonfunctional or useless have been removed. Resolves
  17285. ticket 8966; based on patches from "rl1987".
  17286. o Removed code:
  17287. - Remove /tor/dbg-stability.txt URL that was meant to help debug WFU
  17288. and MTBF calculations, but that nobody was using. Fixes ticket 11742.
  17289. - The TunnelDirConns and PreferTunnelledDirConns options no longer
  17290. exist; tunneled directory connections have been available since
  17291. 0.1.2.5-alpha, and turning them off is not a good idea. This is a
  17292. brute-force fix for 10849, where "TunnelDirConns 0" would break
  17293. hidden services.
  17294. Changes in version 0.2.4.22 - 2014-05-16
  17295. Tor 0.2.4.22 backports numerous high-priority fixes from the Tor 0.2.5
  17296. alpha release series. These include blocking all authority signing
  17297. keys that may have been affected by the OpenSSL "heartbleed" bug,
  17298. choosing a far more secure set of TLS ciphersuites by default, closing
  17299. a couple of memory leaks that could be used to run a target relay out
  17300. of RAM, and several others.
  17301. o Major features (security, backport from 0.2.5.4-alpha):
  17302. - Block authority signing keys that were used on authorities
  17303. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  17304. don't have any evidence that these keys _were_ compromised; we're
  17305. doing this to be prudent.) Resolves ticket 11464.
  17306. o Major bugfixes (security, OOM):
  17307. - Fix a memory leak that could occur if a microdescriptor parse
  17308. fails during the tokenizing step. This bug could enable a memory
  17309. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  17310. on 0.2.2.6-alpha.
  17311. o Major bugfixes (TLS cipher selection, backport from 0.2.5.4-alpha):
  17312. - The relay ciphersuite list is now generated automatically based on
  17313. uniform criteria, and includes all OpenSSL ciphersuites with
  17314. acceptable strength and forward secrecy. Previously, we had left
  17315. some perfectly fine ciphersuites unsupported due to omission or
  17316. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  17317. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  17318. - Relays now trust themselves to have a better view than clients of
  17319. which TLS ciphersuites are better than others. (Thanks to bug
  17320. 11513, the relay list is now well-considered, whereas the client
  17321. list has been chosen mainly for anti-fingerprinting purposes.)
  17322. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  17323. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  17324. AES128. Resolves ticket 11528.
  17325. - Clients now try to advertise the same list of ciphersuites as
  17326. Firefox 28. This change enables selection of (fast) GCM
  17327. ciphersuites, disables some strange old ciphers, and stops
  17328. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  17329. Resolves ticket 11438.
  17330. o Minor bugfixes (configuration, security):
  17331. - When running a hidden service, do not allow TunneledDirConns 0:
  17332. trying to set that option together with a hidden service would
  17333. otherwise prevent the hidden service from running, and also make
  17334. it publish its descriptors directly over HTTP. Fixes bug 10849;
  17335. bugfix on 0.2.1.1-alpha.
  17336. o Minor bugfixes (controller, backport from 0.2.5.4-alpha):
  17337. - Avoid sending a garbage value to the controller when a circuit is
  17338. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  17339. o Minor bugfixes (exit relay, backport from 0.2.5.4-alpha):
  17340. - Stop leaking memory when we successfully resolve a PTR record.
  17341. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  17342. o Minor bugfixes (bridge client, backport from 0.2.5.4-alpha):
  17343. - Avoid 60-second delays in the bootstrapping process when Tor is
  17344. launching for a second time while using bridges. Fixes bug 9229;
  17345. bugfix on 0.2.0.3-alpha.
  17346. o Minor bugfixes (relays and bridges, backport from 0.2.5.4-alpha):
  17347. - Give the correct URL in the warning message when trying to run a
  17348. relay on an ancient version of Windows. Fixes bug 9393.
  17349. o Minor bugfixes (compilation):
  17350. - Fix a compilation error when compiling with --disable-curve25519.
  17351. Fixes bug 9700; bugfix on 0.2.4.17-rc.
  17352. o Minor bugfixes:
  17353. - Downgrade the warning severity for the the "md was still
  17354. referenced 1 node(s)" warning. Tor 0.2.5.4-alpha has better code
  17355. for trying to diagnose this bug, and the current warning in
  17356. earlier versions of tor achieves nothing useful. Addresses warning
  17357. from bug 7164.
  17358. o Minor features (log verbosity, backport from 0.2.5.4-alpha):
  17359. - When we run out of usable circuit IDs on a channel, log only one
  17360. warning for the whole channel, and describe how many circuits
  17361. there were on the channel. Fixes part of ticket 11553.
  17362. o Minor features (security, backport from 0.2.5.4-alpha):
  17363. - Decrease the lower limit of MaxMemInCellQueues to 256 MBytes (but
  17364. leave the default at 8GBytes), to better support Raspberry Pi
  17365. users. Fixes bug 9686; bugfix on 0.2.4.14-alpha.
  17366. o Documentation (backport from 0.2.5.4-alpha):
  17367. - Correctly document that we search for a system torrc file before
  17368. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  17369. 0.2.3.18-rc.
  17370. Changes in version 0.2.5.4-alpha - 2014-04-25
  17371. Tor 0.2.5.4-alpha includes several security and performance
  17372. improvements for clients and relays, including blacklisting authority
  17373. signing keys that were used while susceptible to the OpenSSL
  17374. "heartbleed" bug, fixing two expensive functions on busy relays,
  17375. improved TLS ciphersuite preference lists, support for run-time
  17376. hardening on compilers that support AddressSanitizer, and more work on
  17377. the Linux sandbox code.
  17378. There are also several usability fixes for clients (especially clients
  17379. that use bridges), two new TransPort protocols supported (one on
  17380. OpenBSD, one on FreeBSD), and various other bugfixes.
  17381. This release marks end-of-life for Tor 0.2.2.x; those Tor versions
  17382. have accumulated many known flaws; everyone should upgrade.
  17383. o Major features (security):
  17384. - If you don't specify MaxMemInQueues yourself, Tor now tries to
  17385. pick a good value based on your total system memory. Previously,
  17386. the default was always 8 GB. You can still override the default by
  17387. setting MaxMemInQueues yourself. Resolves ticket 11396.
  17388. - Block authority signing keys that were used on authorities
  17389. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  17390. don't have any evidence that these keys _were_ compromised; we're
  17391. doing this to be prudent.) Resolves ticket 11464.
  17392. o Major features (relay performance):
  17393. - Speed up server-side lookups of rendezvous and introduction point
  17394. circuits by using hashtables instead of linear searches. These
  17395. functions previously accounted between 3 and 7% of CPU usage on
  17396. some busy relays. Resolves ticket 9841.
  17397. - Avoid wasting CPU when extending a circuit over a channel that is
  17398. nearly out of circuit IDs. Previously, we would do a linear scan
  17399. over possible circuit IDs before finding one or deciding that we
  17400. had exhausted our possibilities. Now, we try at most 64 random
  17401. circuit IDs before deciding that we probably won't succeed. Fixes
  17402. a possible root cause of ticket 11553.
  17403. o Major features (seccomp2 sandbox, Linux only):
  17404. - The seccomp2 sandbox can now run a test network for multiple hours
  17405. without crashing. The sandbox is still experimental, and more bugs
  17406. will probably turn up. To try it, enable "Sandbox 1" on a Linux
  17407. host. Resolves ticket 11351.
  17408. - Strengthen sandbox code: the sandbox can now test the arguments
  17409. for rename(), and blocks _sysctl() entirely. Resolves another part
  17410. of ticket 11351.
  17411. - When the sandbox blocks a system call, it now tries to log a stack
  17412. trace before exiting. Resolves ticket 11465.
  17413. o Major bugfixes (TLS cipher selection):
  17414. - The relay ciphersuite list is now generated automatically based on
  17415. uniform criteria, and includes all OpenSSL ciphersuites with
  17416. acceptable strength and forward secrecy. Previously, we had left
  17417. some perfectly fine ciphersuites unsupported due to omission or
  17418. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  17419. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  17420. - Relays now trust themselves to have a better view than clients of
  17421. which TLS ciphersuites are better than others. (Thanks to bug
  17422. 11513, the relay list is now well-considered, whereas the client
  17423. list has been chosen mainly for anti-fingerprinting purposes.)
  17424. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  17425. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  17426. AES128. Resolves ticket 11528.
  17427. - Clients now try to advertise the same list of ciphersuites as
  17428. Firefox 28. This change enables selection of (fast) GCM
  17429. ciphersuites, disables some strange old ciphers, and stops
  17430. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  17431. Resolves ticket 11438.
  17432. o Major bugfixes (bridge client):
  17433. - Avoid 60-second delays in the bootstrapping process when Tor is
  17434. launching for a second time while using bridges. Fixes bug 9229;
  17435. bugfix on 0.2.0.3-alpha.
  17436. o Minor features (transparent proxy, *BSD):
  17437. - Support FreeBSD's ipfw firewall interface for TransPort ports on
  17438. FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket
  17439. 10267; patch from "yurivict".
  17440. - Support OpenBSD's divert-to rules with the pf firewall for
  17441. transparent proxy ports. To enable it, set "TransProxyType
  17442. pf-divert". This allows Tor to run a TransPort transparent proxy
  17443. port on OpenBSD 4.4 or later without root privileges. See the
  17444. pf.conf(5) manual page for information on configuring pf to use
  17445. divert-to rules. Closes ticket 10896; patch from Dana Koch.
  17446. o Minor features (security):
  17447. - New --enable-expensive-hardening option to enable security
  17448. hardening options that consume nontrivial amounts of CPU and
  17449. memory. Right now, this includes AddressSanitizer and UbSan, which
  17450. are supported in newer versions of GCC and Clang. Closes ticket
  17451. 11477.
  17452. o Minor features (log verbosity):
  17453. - Demote the message that we give when a flushing connection times
  17454. out for too long from NOTICE to INFO. It was usually meaningless.
  17455. Resolves ticket 5286.
  17456. - Don't log so many notice-level bootstrapping messages at startup
  17457. about downloading descriptors. Previously, we'd log a notice
  17458. whenever we learned about more routers. Now, we only log a notice
  17459. at every 5% of progress. Fixes bug 9963.
  17460. - Warn less verbosely when receiving a malformed
  17461. ESTABLISH_RENDEZVOUS cell. Fixes ticket 11279.
  17462. - When we run out of usable circuit IDs on a channel, log only one
  17463. warning for the whole channel, and describe how many circuits
  17464. there were on the channel. Fixes part of ticket 11553.
  17465. o Minor features (relay):
  17466. - If a circuit timed out for at least 3 minutes, check if we have a
  17467. new external IP address, and publish a new descriptor with the new
  17468. IP address if it changed. Resolves ticket 2454.
  17469. o Minor features (controller):
  17470. - Make the entire exit policy available from the control port via
  17471. GETINFO exit-policy/*. Implements enhancement 7952. Patch from
  17472. "rl1987".
  17473. - Because of the fix for ticket 11396, the real limit for memory
  17474. usage may no longer match the configured MaxMemInQueues value. The
  17475. real limit is now exposed via GETINFO limits/max-mem-in-queues.
  17476. o Minor features (bridge client):
  17477. - Report a more useful failure message when we can't connect to a
  17478. bridge because we don't have the right pluggable transport
  17479. configured. Resolves ticket 9665. Patch from Fábio J. Bertinatto.
  17480. o Minor features (diagnostic):
  17481. - Add more log messages to diagnose bug 7164, which causes
  17482. intermittent "microdesc_free() called but md was still referenced"
  17483. warnings. We now include more information, to figure out why we
  17484. might be cleaning a microdescriptor for being too old if it's
  17485. still referenced by a live node_t object.
  17486. o Minor bugfixes (client, DNSPort):
  17487. - When using DNSPort, try to respond to AAAA requests with AAAA
  17488. answers. Previously, we hadn't looked at the request type when
  17489. deciding which answer type to prefer. Fixes bug 10468; bugfix on
  17490. 0.2.4.7-alpha.
  17491. - When receiving a DNS query for an unsupported record type, reply
  17492. with no answer rather than with a NOTIMPL error. This behavior
  17493. isn't correct either, but it will break fewer client programs, we
  17494. hope. Fixes bug 10268; bugfix on 0.2.0.1-alpha. Original patch
  17495. from "epoch".
  17496. o Minor bugfixes (exit relay):
  17497. - Stop leaking memory when we successfully resolve a PTR record.
  17498. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  17499. o Minor bugfixes (bridge client):
  17500. - Stop accepting bridge lines containing hostnames. Doing so would
  17501. cause clients to perform DNS requests on the hostnames, which was
  17502. not sensible behavior. Fixes bug 10801; bugfix on 0.2.0.1-alpha.
  17503. - Avoid a 60-second delay in the bootstrapping process when a Tor
  17504. client with pluggable transports re-reads its configuration at
  17505. just the wrong time. Re-fixes bug 11156; bugfix on 0.2.5.3-alpha.
  17506. o Minor bugfixes (client, logging during bootstrap):
  17507. - Warn only once if we start logging in an unsafe way. Previously,
  17508. we complain as many times as we had problems. Fixes bug 9870;
  17509. bugfix on 0.2.5.1-alpha.
  17510. - Only report the first fatal bootstrap error on a given OR
  17511. connection. This stops us from telling the controller bogus error
  17512. messages like "DONE". Fixes bug 10431; bugfix on 0.2.1.1-alpha.
  17513. - Be more helpful when trying to run sandboxed on Linux without
  17514. libseccomp. Instead of saying "Sandbox is not implemented on this
  17515. platform", we now explain that we need to be built with
  17516. libseccomp. Fixes bug 11543; bugfix on 0.2.5.1-alpha.
  17517. - Avoid generating spurious warnings when starting with
  17518. DisableNetwork enabled. Fixes bug 11200 and bug 10405; bugfix on
  17519. 0.2.3.9-alpha.
  17520. o Minor bugfixes (closing OR connections):
  17521. - If write_to_buf() in connection_write_to_buf_impl_() ever fails,
  17522. check if it's an or_connection_t and correctly call
  17523. connection_or_close_for_error() rather than
  17524. connection_mark_for_close() directly. Fixes bug 11304; bugfix on
  17525. 0.2.4.4-alpha.
  17526. - When closing all connections on setting DisableNetwork to 1, use
  17527. connection_or_close_normally() rather than closing OR connections
  17528. out from under the channel layer. Fixes bug 11306; bugfix on
  17529. 0.2.4.4-alpha.
  17530. o Minor bugfixes (controller):
  17531. - Avoid sending a garbage value to the controller when a circuit is
  17532. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  17533. o Minor bugfixes (tor-fw-helper):
  17534. - Allow tor-fw-helper to build again by adding src/ext to its
  17535. CPPFLAGS. Fixes bug 11296; bugfix on 0.2.5.3-alpha.
  17536. o Minor bugfixes (bridges):
  17537. - Avoid potential crashes or bad behavior when launching a
  17538. server-side managed proxy with ORPort or ExtORPort temporarily
  17539. disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha.
  17540. o Minor bugfixes (platform-specific):
  17541. - Fix compilation on Solaris, which does not have <endian.h>. Fixes
  17542. bug 11426; bugfix on 0.2.5.3-alpha.
  17543. - When dumping a malformed directory object to disk, save it in
  17544. binary mode on Windows, not text mode. Fixes bug 11342; bugfix on
  17545. 0.2.2.1-alpha.
  17546. - Don't report failures from make_socket_reuseable() on incoming
  17547. sockets on OSX: this can happen when incoming connections close
  17548. early. Fixes bug 10081.
  17549. o Minor bugfixes (trivial memory leaks):
  17550. - Fix a small memory leak when signing a directory object. Fixes bug
  17551. 11275; bugfix on 0.2.4.13-alpha.
  17552. - Free placeholder entries in our circuit table at exit; fixes a
  17553. harmless memory leak. Fixes bug 11278; bugfix on 0.2.5.1-alpha.
  17554. - Don't re-initialize a second set of OpenSSL mutexes when starting
  17555. up. Previously, we'd make one set of mutexes, and then immediately
  17556. replace them with another. Fixes bug 11726; bugfix on
  17557. 0.2.5.3-alpha.
  17558. - Resolve some memory leaks found by coverity in the unit tests, on
  17559. exit in tor-gencert, and on a failure to compute digests for our
  17560. own keys when generating a v3 networkstatus vote. These leaks
  17561. should never have affected anyone in practice.
  17562. o Minor bugfixes (hidden service):
  17563. - Only retry attempts to connect to a chosen rendezvous point 8
  17564. times, not 30. Fixes bug 4241; bugfix on 0.1.0.1-rc.
  17565. o Minor bugfixes (misc code correctness):
  17566. - Fix various instances of undefined behavior in channeltls.c,
  17567. tor_memmem(), and eventdns.c that would cause us to construct
  17568. pointers to memory outside an allocated object. (These invalid
  17569. pointers were not accessed, but C does not even allow them to
  17570. exist.) Fixes bug 10363; bugfixes on 0.1.1.1-alpha, 0.1.2.1-alpha,
  17571. 0.2.0.10-alpha, and 0.2.3.6-alpha. Reported by "bobnomnom".
  17572. - Use the AddressSanitizer and Ubsan sanitizers (in clang-3.4) to
  17573. fix some miscellaneous errors in our tests and codebase. Fixes bug
  17574. 11232. Bugfixes on versions back as far as 0.2.1.11-alpha.
  17575. - Always check return values for unlink, munmap, UnmapViewOfFile;
  17576. check strftime return values more often. In some cases all we can
  17577. do is report a warning, but this may help prevent deeper bugs from
  17578. going unnoticed. Closes ticket 8787; bugfixes on many, many tor
  17579. versions.
  17580. - Fix numerous warnings from the clang "scan-build" static analyzer.
  17581. Some of these are programming style issues; some of them are false
  17582. positives that indicated awkward code; some are undefined behavior
  17583. cases related to constructing (but not using) invalid pointers;
  17584. some are assumptions about API behavior; some are (harmlessly)
  17585. logging sizeof(ptr) bytes from a token when sizeof(*ptr) would be
  17586. correct; and one or two are genuine bugs that weren't reachable
  17587. from the rest of the program. Fixes bug 8793; bugfixes on many,
  17588. many tor versions.
  17589. o Documentation:
  17590. - Build the torify.1 manpage again. Previously, we were only trying
  17591. to build it when also building tor-fw-helper. That's why we didn't
  17592. notice that we'd broken the ability to build it. Fixes bug 11321;
  17593. bugfix on 0.2.5.1-alpha.
  17594. - Fix the layout of the SOCKSPort flags in the manpage. Fixes bug
  17595. 11061; bugfix on 0.2.4.7-alpha.
  17596. - Correctly document that we search for a system torrc file before
  17597. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  17598. 0.2.3.18-rc.
  17599. - Resolve warnings from Doxygen.
  17600. o Code simplifications and refactoring:
  17601. - Remove is_internal_IP() function. Resolves ticket 4645.
  17602. - Remove unused function circuit_dump_by_chan from circuitlist.c.
  17603. Closes issue 9107; patch from "marek".
  17604. - Change our use of the ENUM_BF macro to avoid declarations that
  17605. confuse Doxygen.
  17606. o Deprecated versions:
  17607. - Tor 0.2.2.x has reached end-of-life; it has received no patches or
  17608. attention for some while. Directory authorities no longer accept
  17609. descriptors from relays running any version of Tor prior to Tor
  17610. 0.2.3.16-alpha. Resolves ticket 11149.
  17611. o Testing:
  17612. - New macros in test.h to simplify writing mock-functions for unit
  17613. tests. Part of ticket 11507. Patch from Dana Koch.
  17614. - Complete tests for the status.c module. Resolves ticket 11507.
  17615. Patch from Dana Koch.
  17616. o Removed code:
  17617. - Remove all code for the long unused v1 directory protocol.
  17618. Resolves ticket 11070.
  17619. Changes in version 0.2.5.3-alpha - 2014-03-22
  17620. Tor 0.2.5.3-alpha includes all the fixes from 0.2.4.21. It contains
  17621. two new anti-DoS features for Tor relays, resolves a bug that kept
  17622. SOCKS5 support for IPv6 from working, fixes several annoying usability
  17623. issues for bridge users, and removes more old code for unused
  17624. directory formats.
  17625. The Tor 0.2.5.x release series is now in patch-freeze: no feature
  17626. patches not already written will be considered for inclusion in 0.2.5.x.
  17627. o Major features (relay security, DoS-resistance):
  17628. - When deciding whether we have run out of memory and we need to
  17629. close circuits, also consider memory allocated in buffers for
  17630. streams attached to each circuit.
  17631. This change, which extends an anti-DoS feature introduced in
  17632. 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
  17633. better resist more memory-based DoS attacks than before. Since the
  17634. MaxMemInCellQueues option now applies to all queues, it is renamed
  17635. to MaxMemInQueues. This feature fixes bug 10169.
  17636. - Avoid hash-flooding denial-of-service attacks by using the secure
  17637. SipHash-2-4 hash function for our hashtables. Without this
  17638. feature, an attacker could degrade performance of a targeted
  17639. client or server by flooding their data structures with a large
  17640. number of entries to be stored at the same hash table position,
  17641. thereby slowing down the Tor instance. With this feature, hash
  17642. table positions are derived from a randomized cryptographic key,
  17643. and an attacker cannot predict which entries will collide. Closes
  17644. ticket 4900.
  17645. - Decrease the lower limit of MaxMemInQueues to 256 MBytes (but leave
  17646. the default at 8GBytes), to better support Raspberry Pi users. Fixes
  17647. bug 9686; bugfix on 0.2.4.14-alpha.
  17648. o Minor features (bridges, pluggable transports):
  17649. - Bridges now write the SHA1 digest of their identity key
  17650. fingerprint (that is, a hash of a hash of their public key) to
  17651. notice-level logs, and to a new hashed-fingerprint file. This
  17652. information will help bridge operators look up their bridge in
  17653. Globe and similar tools. Resolves ticket 10884.
  17654. - Improve the message that Tor displays when running as a bridge
  17655. using pluggable transports without an Extended ORPort listener.
  17656. Also, log the message in the log file too. Resolves ticket 11043.
  17657. o Minor features (other):
  17658. - Add a new option, PredictedPortsRelevanceTime, to control how long
  17659. after having received a request to connect to a given port Tor
  17660. will try to keep circuits ready in anticipation of future requests
  17661. for that port. Patch from "unixninja92"; implements ticket 9176.
  17662. - Generate a warning if any ports are listed in the SocksPolicy,
  17663. DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
  17664. AuthDirBadExit options. (These options only support address
  17665. ranges.) Fixes part of ticket 11108.
  17666. - Update geoip and geoip6 to the February 7 2014 Maxmind GeoLite2
  17667. Country database.
  17668. o Minor bugfixes (new since 0.2.5.2-alpha, also in 0.2.4.21):
  17669. - Build without warnings under clang 3.4. (We have some macros that
  17670. define static functions only some of which will get used later in
  17671. the module. Starting with clang 3.4, these give a warning unless the
  17672. unused attribute is set on them.) Resolves ticket 10904.
  17673. - Fix build warnings about missing "a2x" comment when building the
  17674. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  17675. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  17676. o Minor bugfixes (client):
  17677. - Improve the log message when we can't connect to a hidden service
  17678. because all of the hidden service directory nodes hosting its
  17679. descriptor are excluded. Improves on our fix for bug 10722, which
  17680. was a bugfix on 0.2.0.10-alpha.
  17681. - Raise a control port warning when we fail to connect to all of
  17682. our bridges. Previously, we didn't inform the controller, and
  17683. the bootstrap process would stall. Fixes bug 11069; bugfix on
  17684. 0.2.1.2-alpha.
  17685. - Exit immediately when a process-owning controller exits.
  17686. Previously, tor relays would wait for a little while after their
  17687. controller exited, as if they had gotten an INT signal -- but this
  17688. was problematic, since there was no feedback for the user. To do a
  17689. clean shutdown, controllers should send an INT signal and give Tor
  17690. a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
  17691. - Stop attempting to connect to bridges before our pluggable
  17692. transports are configured (harmless but resulted in some erroneous
  17693. log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
  17694. - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
  17695. generating incorrect SOCKS5 responses, and confusing client
  17696. applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
  17697. o Minor bugfixes (relays and bridges):
  17698. - Avoid crashing on a malformed resolv.conf file when running a
  17699. relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
  17700. - Non-exit relays no longer launch mock DNS requests to check for
  17701. DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
  17702. non-exit relays stopped servicing DNS requests. Fixes bug 965;
  17703. bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
  17704. - Bridges now report complete directory request statistics. Related
  17705. to bug 5824; bugfix on 0.2.2.1-alpha.
  17706. - Bridges now never collect statistics that were designed for
  17707. relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
  17708. - Stop giving annoying warning messages when we decide not to launch
  17709. a pluggable transport proxy that we don't need (because there are
  17710. no bridges configured to use it). Resolves ticket 5018; bugfix
  17711. on 0.2.5.2-alpha.
  17712. - Give the correct URL in the warning message when trying to run a
  17713. relay on an ancient version of Windows. Fixes bug 9393.
  17714. o Minor bugfixes (backtrace support):
  17715. - Support automatic backtraces on more platforms by using the
  17716. "-fasynchronous-unwind-tables" compiler option. This option is
  17717. needed for platforms like 32-bit Intel where "-fomit-frame-pointer"
  17718. is on by default and table generation is not. This doesn't yet
  17719. add Windows support; only Linux, OSX, and some BSDs are affected.
  17720. Reported by 'cypherpunks'; fixes bug 11047; bugfix on 0.2.5.2-alpha.
  17721. - Avoid strange behavior if two threads hit failed assertions at the
  17722. same time and both try to log backtraces at once. (Previously, if
  17723. this had happened, both threads would have stored their intermediate
  17724. results in the same buffer, and generated junk outputs.) Reported by
  17725. "cypherpunks". Fixes bug 11048; bugfix on 0.2.5.2-alpha.
  17726. - Fix a compiler warning in format_number_sigsafe(). Bugfix on
  17727. 0.2.5.2-alpha; patch from Nick Hopper.
  17728. o Minor bugfixes (unit tests):
  17729. - Fix a small bug in the unit tests that might have made the tests
  17730. call 'chmod' with an uninitialized bitmask. Fixes bug 10928;
  17731. bugfix on 0.2.5.1-alpha. Patch from Dana Koch.
  17732. o Removed code:
  17733. - Remove all remaining code related to version-0 hidden service
  17734. descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
  17735. the rest of bug 10841.
  17736. o Documentation:
  17737. - Document in the manpage that "KBytes" may also be written as
  17738. "kilobytes" or "KB", that "Kbits" may also be written as
  17739. "kilobits", and so forth. Closes ticket 9222.
  17740. - Document that the ClientOnly config option overrides ORPort.
  17741. Our old explanation made ClientOnly sound as though it did
  17742. nothing at all. Resolves bug 9059.
  17743. - Explain that SocksPolicy, DirPolicy, and similar options don't
  17744. take port arguments. Fixes the other part of ticket 11108.
  17745. - Fix a comment about the rend_server_descriptor_t.protocols field
  17746. to more accurately describe its range. Also, make that field
  17747. unsigned, to more accurately reflect its usage. Fixes bug 9099;
  17748. bugfix on 0.2.1.5-alpha.
  17749. - Fix the manpage's description of HiddenServiceAuthorizeClient:
  17750. the maximum client name length is 16, not 19. Fixes bug 11118;
  17751. bugfix on 0.2.1.6-alpha.
  17752. o Code simplifications and refactoring:
  17753. - Get rid of router->address, since in all cases it was just the
  17754. string representation of router->addr. Resolves ticket 5528.
  17755. o Test infrastructure:
  17756. - Update to the latest version of tinytest.
  17757. - Improve the tinytest implementation of string operation tests so
  17758. that comparisons with NULL strings no longer crash the tests; they
  17759. now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
  17760. Changes in version 0.2.4.21 - 2014-02-28
  17761. Tor 0.2.4.21 further improves security against potential adversaries who
  17762. find breaking 1024-bit crypto doable, and backports several stability
  17763. and robustness patches from the 0.2.5 branch.
  17764. o Major features (client security):
  17765. - When we choose a path for a 3-hop circuit, make sure it contains
  17766. at least one relay that supports the NTor circuit extension
  17767. handshake. Otherwise, there is a chance that we're building
  17768. a circuit that's worth attacking by an adversary who finds
  17769. breaking 1024-bit crypto doable, and that chance changes the game
  17770. theory. Implements ticket 9777.
  17771. o Major bugfixes:
  17772. - Do not treat streams that fail with reason
  17773. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  17774. since it could also indicate an ENETUNREACH connection error. Fixes
  17775. part of bug 10777; bugfix on 0.2.4.8-alpha.
  17776. o Code simplification and refactoring:
  17777. - Remove data structures which were introduced to implement the
  17778. CellStatistics option: they are now redundant with the new timestamp
  17779. field in the regular packed_cell_t data structure, which we did
  17780. in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
  17781. o Minor features:
  17782. - Always clear OpenSSL bignums before freeing them -- even bignums
  17783. that don't contain secrets. Resolves ticket 10793. Patch by
  17784. Florent Daigniere.
  17785. - Build without warnings under clang 3.4. (We have some macros that
  17786. define static functions only some of which will get used later in
  17787. the module. Starting with clang 3.4, these give a warning unless the
  17788. unused attribute is set on them.) Resolves ticket 10904.
  17789. - Update geoip and geoip6 files to the February 7 2014 Maxmind
  17790. GeoLite2 Country database.
  17791. o Minor bugfixes:
  17792. - Set the listen() backlog limit to the largest actually supported
  17793. on the system, not to the value in a header file. Fixes bug 9716;
  17794. bugfix on every released Tor.
  17795. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  17796. exit node as a NOROUTE error, not an INTERNAL error, since they
  17797. can apparently happen when trying to connect to the wrong sort
  17798. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  17799. - Fix build warnings about missing "a2x" comment when building the
  17800. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  17801. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  17802. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  17803. not entirely remove it from the connection lists. Fixes bug 9602;
  17804. bugfix on 0.2.4.4-alpha.
  17805. - Fix a segmentation fault in our benchmark code when running with
  17806. Fedora's OpenSSL package, or any other OpenSSL that provides
  17807. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  17808. - Turn "circuit handshake stats since last time" log messages into a
  17809. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  17810. o Documentation fixes:
  17811. - Document that all but one DirPort entry must have the NoAdvertise
  17812. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  17813. Changes in version 0.2.5.2-alpha - 2014-02-13
  17814. Tor 0.2.5.2-alpha includes all the fixes from 0.2.4.18-rc and 0.2.4.20,
  17815. like the "poor random number generation" fix and the "building too many
  17816. circuits" fix. It also further improves security against potential
  17817. adversaries who find breaking 1024-bit crypto doable, and launches
  17818. pluggable transports on demand (which gets us closer to integrating
  17819. pluggable transport support by default -- not to be confused with Tor
  17820. bundles enabling pluggable transports and bridges by default).
  17821. o Major features (client security):
  17822. - When we choose a path for a 3-hop circuit, make sure it contains
  17823. at least one relay that supports the NTor circuit extension
  17824. handshake. Otherwise, there is a chance that we're building
  17825. a circuit that's worth attacking by an adversary who finds
  17826. breaking 1024-bit crypto doable, and that chance changes the game
  17827. theory. Implements ticket 9777.
  17828. - Clients now look at the "usecreatefast" consensus parameter to
  17829. decide whether to use CREATE_FAST or CREATE cells for the first hop
  17830. of their circuit. This approach can improve security on connections
  17831. where Tor's circuit handshake is stronger than the available TLS
  17832. connection security levels, but the tradeoff is more computational
  17833. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  17834. o Major features (bridges):
  17835. - Don't launch pluggable transport proxies if we don't have any
  17836. bridges configured that would use them. Now we can list many
  17837. pluggable transports, and Tor will dynamically start one when it
  17838. hears a bridge address that needs it. Resolves ticket 5018.
  17839. - The bridge directory authority now assigns status flags (Stable,
  17840. Guard, etc) to bridges based on thresholds calculated over all
  17841. Running bridges. Now bridgedb can finally make use of its features
  17842. to e.g. include at least one Stable bridge in its answers. Fixes
  17843. bug 9859.
  17844. o Major features (other):
  17845. - Extend ORCONN controller event to include an "ID" parameter,
  17846. and add four new controller event types CONN_BW, CIRC_BW,
  17847. CELL_STATS, and TB_EMPTY that show connection and circuit usage.
  17848. The new events are emitted in private Tor networks only, with the
  17849. goal of being able to better track performance and load during
  17850. full-network simulations. Implements proposal 218 and ticket 7359.
  17851. - On some platforms (currently: recent OSX versions, glibc-based
  17852. platforms that support the ELF format, and a few other
  17853. Unix-like operating systems), Tor can now dump stack traces
  17854. when a crash occurs or an assertion fails. By default, traces
  17855. are dumped to stderr (if possible) and to any logs that are
  17856. reporting errors. Implements ticket 9299.
  17857. o Major bugfixes:
  17858. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  17859. not entirely remove it from the connection lists. Fixes bug 9602;
  17860. bugfix on 0.2.4.4-alpha.
  17861. - Do not treat streams that fail with reason
  17862. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  17863. since it could also indicate an ENETUNREACH connection error. Fixes
  17864. part of bug 10777; bugfix on 0.2.4.8-alpha.
  17865. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  17866. - Do not allow OpenSSL engines to replace the PRNG, even when
  17867. HardwareAccel is set. The only default builtin PRNG engine uses
  17868. the Intel RDRAND instruction to replace the entire PRNG, and
  17869. ignores all attempts to seed it with more entropy. That's
  17870. cryptographically stupid: the right response to a new alleged
  17871. entropy source is never to discard all previously used entropy
  17872. sources. Fixes bug 10402; works around behavior introduced in
  17873. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  17874. and "rl1987".
  17875. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  17876. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  17877. - Avoid launching spurious extra circuits when a stream is pending.
  17878. This fixes a bug where any circuit that _wasn't_ unusable for new
  17879. streams would be treated as if it were, causing extra circuits to
  17880. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  17881. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  17882. - No longer stop reading or writing on cpuworker connections when
  17883. our rate limiting buckets go empty. Now we should handle circuit
  17884. handshake requests more promptly. Resolves bug 9731.
  17885. - Stop trying to bootstrap all our directory information from
  17886. only our first guard. Discovered while fixing bug 9946; bugfix
  17887. on 0.2.4.8-alpha.
  17888. o Minor features (bridges, pluggable transports):
  17889. - Add threshold cutoffs to the networkstatus document created by
  17890. the Bridge Authority. Fixes bug 1117.
  17891. - On Windows, spawn background processes using the CREATE_NO_WINDOW
  17892. flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
  17893. doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
  17894. Vidalia set this option for us.) Implements ticket 10297.
  17895. o Minor features (security):
  17896. - Always clear OpenSSL bignums before freeing them -- even bignums
  17897. that don't contain secrets. Resolves ticket 10793. Patch by
  17898. Florent Daignière.
  17899. o Minor features (config options and command line):
  17900. - Add an --allow-missing-torrc commandline option that tells Tor to
  17901. run even if the configuration file specified by -f is not available.
  17902. Implements ticket 10060.
  17903. - Add support for the TPROXY transparent proxying facility on Linux.
  17904. See documentation for the new TransProxyType option for more
  17905. details. Implementation by "thomo". Closes ticket 10582.
  17906. o Minor features (controller):
  17907. - Add a new "HS_DESC" controller event that reports activities
  17908. related to hidden service descriptors. Resolves ticket 8510.
  17909. - New "DROPGUARDS" controller command to forget all current entry
  17910. guards. Not recommended for ordinary use, since replacing guards
  17911. too frequently makes several attacks easier. Resolves ticket 9934;
  17912. patch from "ra".
  17913. o Minor features (build):
  17914. - Assume that a user using ./configure --host wants to cross-compile,
  17915. and give an error if we cannot find a properly named
  17916. tool-chain. Add a --disable-tool-name-check option to proceed
  17917. nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
  17918. - If we run ./configure and the compiler recognizes -fstack-protector
  17919. but the linker rejects it, warn the user about a potentially missing
  17920. libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
  17921. o Minor features (testing):
  17922. - If Python is installed, "make check" now runs extra tests beyond
  17923. the unit test scripts.
  17924. - When bootstrapping a test network, sometimes very few relays get
  17925. the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
  17926. specify a set of relays which should be voted Guard regardless of
  17927. their uptime or bandwidth. Addresses ticket 9206.
  17928. o Minor features (log messages):
  17929. - When ServerTransportPlugin is set on a bridge, Tor can write more
  17930. useful statistics about bridge use in its extrainfo descriptors,
  17931. but only if the Extended ORPort ("ExtORPort") is set too. Add a
  17932. log message to inform the user in this case. Resolves ticket 9651.
  17933. - When receiving a new controller connection, log the origin address.
  17934. Resolves ticket 9698; patch from "sigpipe".
  17935. - When logging OpenSSL engine status at startup, log the status of
  17936. more engines. Fixes ticket 10043; patch from Joshua Datko.
  17937. - Turn "circuit handshake stats since last time" log messages into a
  17938. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  17939. o Minor features (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  17940. - Improve the circuit queue out-of-memory handler. Previously, when
  17941. we ran low on memory, we'd close whichever circuits had the most
  17942. queued cells. Now, we close those that have the *oldest* queued
  17943. cells, on the theory that those are most responsible for us
  17944. running low on memory. Based on analysis from a forthcoming paper
  17945. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  17946. - Generate bootstrapping status update events correctly when fetching
  17947. microdescriptors. Fixes bug 9927.
  17948. - Update to the October 2 2013 Maxmind GeoLite Country database.
  17949. o Minor bugfixes (clients):
  17950. - When closing a channel that has already been open, do not close
  17951. pending circuits that were waiting to connect to the same relay.
  17952. Fixes bug 9880; bugfix on 0.2.5.1-alpha. Thanks to skruffy for
  17953. finding this bug.
  17954. o Minor bugfixes (relays):
  17955. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  17956. exit node as a NOROUTE error, not an INTERNAL error, since they
  17957. can apparently happen when trying to connect to the wrong sort
  17958. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  17959. o Minor bugfixes (bridges):
  17960. - Fix a bug where the first connection works to a bridge that uses a
  17961. pluggable transport with client-side parameters, but we don't send
  17962. the client-side parameters on subsequent connections. (We don't
  17963. use any pluggable transports with client-side parameters yet,
  17964. but ScrambleSuit will soon become the first one.) Fixes bug 9162;
  17965. bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
  17966. o Minor bugfixes (node selection):
  17967. - If ExcludeNodes is set, consider non-excluded hidden service
  17968. directory servers before excluded ones. Do not consider excluded
  17969. hidden service directory servers at all if StrictNodes is
  17970. set. (Previously, we would sometimes decide to connect to those
  17971. servers, and then realize before we initiated a connection that
  17972. we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
  17973. Reported by "mr-4".
  17974. - If we set the ExitNodes option but it doesn't include any nodes
  17975. that have the Exit flag, we would choose not to bootstrap. Now we
  17976. bootstrap so long as ExitNodes includes nodes which can exit to
  17977. some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
  17978. o Minor bugfixes (controller and command-line):
  17979. - If changing a config option via "setconf" fails in a recoverable
  17980. way, we used to nonetheless write our new control ports to the
  17981. file described by the "ControlPortWriteToFile" option. Now we only
  17982. write out that file if we successfully switch to the new config
  17983. option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
  17984. - When a command-line option such as --version or --help that
  17985. ordinarily implies --hush appears on the command line along with
  17986. --quiet, then actually obey --quiet. Previously, we obeyed --quiet
  17987. only if it appeared later on the command line. Fixes bug 9578;
  17988. bugfix on 0.2.5.1-alpha.
  17989. o Minor bugfixes (code correctness):
  17990. - Previously we used two temporary files when writing descriptors to
  17991. disk; now we only use one. Fixes bug 1376.
  17992. - Remove an erroneous (but impossible and thus harmless) pointer
  17993. comparison that would have allowed compilers to skip a bounds
  17994. check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
  17995. 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
  17996. - Fix an always-true assertion in pluggable transports code so it
  17997. actually checks what it was trying to check. Fixes bug 10046;
  17998. bugfix on 0.2.3.9-alpha. Found by "dcb".
  17999. o Minor bugfixes (protocol correctness):
  18000. - When receiving a VERSIONS cell with an odd number of bytes, close
  18001. the connection immediately since the cell is malformed. Fixes bug
  18002. 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
  18003. "rl1987".
  18004. o Minor bugfixes (build):
  18005. - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
  18006. turned off (that is, without support for v2 link handshakes). Fixes
  18007. bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
  18008. - Fix compilation warnings and startup issues when running with
  18009. "Sandbox 1" and libseccomp-2.1.0. Fixes bug 10563; bugfix on
  18010. 0.2.5.1-alpha.
  18011. - Fix compilation on Solaris 9, which didn't like us having an
  18012. identifier named "sun". Fixes bug 10565; bugfix in 0.2.5.1-alpha.
  18013. o Minor bugfixes (testing):
  18014. - Fix a segmentation fault in our benchmark code when running with
  18015. Fedora's OpenSSL package, or any other OpenSSL that provides
  18016. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  18017. o Minor bugfixes (log messages):
  18018. - Fix a bug where clients using bridges would report themselves
  18019. as 50% bootstrapped even without a live consensus document.
  18020. Fixes bug 9922; bugfix on 0.2.1.1-alpha.
  18021. - Suppress a warning where, if there's only one directory authority
  18022. in the network, we would complain that votes and signatures cannot
  18023. be uploaded to other directory authorities. Fixes bug 10842;
  18024. bugfix on 0.2.2.26-beta.
  18025. - Report bootstrapping progress correctly when we're downloading
  18026. microdescriptors. We had updated our "do we have enough microdescs
  18027. to begin building circuits?" logic most recently in 0.2.4.10-alpha
  18028. (see bug 5956), but we left the bootstrap status event logic at
  18029. "how far through getting 1/4 of them are we?" Fixes bug 9958;
  18030. bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
  18031. o Minor bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  18032. - Avoid a crash bug when starting with a corrupted microdescriptor
  18033. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  18034. - If we fail to dump a previously cached microdescriptor to disk, avoid
  18035. freeing duplicate data later on. Fixes bug 10423; bugfix on
  18036. 0.2.4.13-alpha. Spotted by "bobnomnom".
  18037. o Minor bugfixes on 0.2.4.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  18038. - Correctly log long IPv6 exit policies, instead of truncating them
  18039. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  18040. - Our default TLS ecdhe groups were backwards: we meant to be using
  18041. P224 for relays (for performance win) and P256 for bridges (since
  18042. it is more common in the wild). Instead we had it backwards. After
  18043. reconsideration, we decided that the default should be P256 on all
  18044. hosts, since its security is probably better, and since P224 is
  18045. reportedly used quite little in the wild. Found by "skruffy" on
  18046. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  18047. - Free directory authority certificate download statuses on exit
  18048. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  18049. o Minor bugfixes on 0.2.3.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  18050. - If the guard we choose first doesn't answer, we would try the
  18051. second guard, but once we connected to the second guard we would
  18052. abandon it and retry the first one, slowing down bootstrapping.
  18053. The fix is to treat all our initially chosen guards as acceptable
  18054. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  18055. - Fix an assertion failure that would occur when disabling the
  18056. ORPort setting on a running Tor process while accounting was
  18057. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  18058. - When examining the list of network interfaces to find our address,
  18059. do not consider non-running or disabled network interfaces. Fixes
  18060. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  18061. - Avoid an off-by-one error when checking buffer boundaries when
  18062. formatting the exit status of a pluggable transport helper.
  18063. This is probably not an exploitable bug, but better safe than
  18064. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  18065. Pedro Ribeiro.
  18066. o Removed code and features:
  18067. - Clients now reject any directory authority certificates lacking
  18068. a dir-key-crosscert element. These have been included since
  18069. 0.2.1.9-alpha, so there's no real reason for them to be optional
  18070. any longer. Completes proposal 157. Resolves ticket 10162.
  18071. - Remove all code that existed to support the v2 directory system,
  18072. since there are no longer any v2 directory authorities. Resolves
  18073. ticket 10758.
  18074. - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
  18075. options, which were used for designating authorities as "Hidden
  18076. service authorities". There has been no use of hidden service
  18077. authorities since 0.2.2.1-alpha, when we stopped uploading or
  18078. downloading v0 hidden service descriptors. Fixes bug 10881; also
  18079. part of a fix for bug 10841.
  18080. o Code simplification and refactoring:
  18081. - Remove some old fallback code designed to keep Tor clients working
  18082. in a network with only two working relays. Elsewhere in the code we
  18083. have long since stopped supporting such networks, so there wasn't
  18084. much point in keeping it around. Addresses ticket 9926.
  18085. - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
  18086. bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
  18087. - Remove data structures which were introduced to implement the
  18088. CellStatistics option: they are now redundant with the addition
  18089. of a timestamp to the regular packed_cell_t data structure, which
  18090. we did in 0.2.4.18-rc in order to resolve ticket 9093. Implements
  18091. ticket 10870.
  18092. o Documentation (man page) fixes:
  18093. - Update manpage to describe some of the files you can expect to
  18094. find in Tor's DataDirectory. Addresses ticket 9839.
  18095. - Document that all but one DirPort entry must have the NoAdvertise
  18096. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  18097. o Documentation fixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  18098. - Clarify the usage and risks of setting the ContactInfo torrc line
  18099. for your relay or bridge. Resolves ticket 9854.
  18100. - Add anchors to the manpage so we can link to the html version of
  18101. the documentation for specific options. Resolves ticket 9866.
  18102. - Replace remaining references to DirServer in man page and
  18103. log entries. Resolves ticket 10124.
  18104. o Tool changes:
  18105. - Make the "tor-gencert" tool used by directory authority operators
  18106. create 2048-bit signing keys by default (rather than 1024-bit, since
  18107. 1024-bit is uncomfortably small these days). Addresses ticket 10324.
  18108. Changes in version 0.2.4.20 - 2013-12-22
  18109. Tor 0.2.4.20 fixes potentially poor random number generation for users
  18110. who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
  18111. torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
  18112. and 4) have no state file in their DataDirectory (as would happen on
  18113. first start). Users who generated relay or hidden service identity
  18114. keys in such a situation should discard them and generate new ones.
  18115. This release also fixes a logic error that caused Tor clients to build
  18116. many more preemptive circuits than they actually need.
  18117. o Major bugfixes:
  18118. - Do not allow OpenSSL engines to replace the PRNG, even when
  18119. HardwareAccel is set. The only default builtin PRNG engine uses
  18120. the Intel RDRAND instruction to replace the entire PRNG, and
  18121. ignores all attempts to seed it with more entropy. That's
  18122. cryptographically stupid: the right response to a new alleged
  18123. entropy source is never to discard all previously used entropy
  18124. sources. Fixes bug 10402; works around behavior introduced in
  18125. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  18126. and "rl1987".
  18127. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  18128. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  18129. - Avoid launching spurious extra circuits when a stream is pending.
  18130. This fixes a bug where any circuit that _wasn't_ unusable for new
  18131. streams would be treated as if it were, causing extra circuits to
  18132. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  18133. o Minor bugfixes:
  18134. - Avoid a crash bug when starting with a corrupted microdescriptor
  18135. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  18136. - If we fail to dump a previously cached microdescriptor to disk, avoid
  18137. freeing duplicate data later on. Fixes bug 10423; bugfix on
  18138. 0.2.4.13-alpha. Spotted by "bobnomnom".
  18139. Changes in version 0.2.4.19 - 2013-12-11
  18140. The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
  18141. (1986-2013). Aaron worked on diverse projects including helping to guide
  18142. Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
  18143. transparency to the U.S government's PACER documents, and contributing
  18144. design and development for Tor and Tor2Web. Aaron was one of the latest
  18145. martyrs in our collective fight for civil liberties and human rights,
  18146. and his death is all the more painful because he was one of us.
  18147. Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
  18148. a new circuit handshake and link encryption that use ECC to provide
  18149. better security and efficiency; makes relays better manage circuit
  18150. creation requests; uses "directory guards" to reduce client enumeration
  18151. risks; makes bridges collect and report statistics about the pluggable
  18152. transports they support; cleans up and improves our geoip database;
  18153. gets much closer to IPv6 support for clients, bridges, and relays; makes
  18154. directory authorities use measured bandwidths rather than advertised
  18155. ones when computing flags and thresholds; disables client-side DNS
  18156. caching to reduce tracking risks; and fixes a big bug in bridge
  18157. reachability testing. This release introduces two new design
  18158. abstractions in the code: a new "channel" abstraction between circuits
  18159. and or_connections to allow for implementing alternate relay-to-relay
  18160. transports, and a new "circuitmux" abstraction storing the queue of
  18161. circuits for a channel. The release also includes many stability,
  18162. security, and privacy fixes.
  18163. Changes in version 0.2.4.18-rc - 2013-11-16
  18164. Tor 0.2.4.18-rc is the fourth release candidate for the Tor 0.2.4.x
  18165. series. It takes a variety of fixes from the 0.2.5.x branch to improve
  18166. stability, performance, and better handling of edge cases.
  18167. o Major features:
  18168. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  18169. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  18170. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  18171. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  18172. them to solve bug 6033.)
  18173. o Major bugfixes:
  18174. - No longer stop reading or writing on cpuworker connections when
  18175. our rate limiting buckets go empty. Now we should handle circuit
  18176. handshake requests more promptly. Resolves bug 9731.
  18177. - If we are unable to save a microdescriptor to the journal, do not
  18178. drop it from memory and then reattempt downloading it. Fixes bug
  18179. 9645; bugfix on 0.2.2.6-alpha.
  18180. - Stop trying to bootstrap all our directory information from
  18181. only our first guard. Discovered while fixing bug 9946; bugfix
  18182. on 0.2.4.8-alpha.
  18183. - The new channel code sometimes lost track of in-progress circuits,
  18184. causing long-running clients to stop building new circuits. The
  18185. fix is to always call circuit_n_chan_done(chan, 0) from
  18186. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  18187. o Minor bugfixes (on 0.2.4.x):
  18188. - Correctly log long IPv6 exit policies, instead of truncating them
  18189. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  18190. - Our default TLS ecdhe groups were backwards: we meant to be using
  18191. P224 for relays (for performance win) and P256 for bridges (since
  18192. it is more common in the wild). Instead we had it backwards. After
  18193. reconsideration, we decided that the default should be P256 on all
  18194. hosts, since its security is probably better, and since P224 is
  18195. reportedly used quite little in the wild. Found by "skruffy" on
  18196. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  18197. - Free directory authority certificate download statuses on exit
  18198. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  18199. o Minor bugfixes (on 0.2.3.x and earlier):
  18200. - If the guard we choose first doesn't answer, we would try the
  18201. second guard, but once we connected to the second guard we would
  18202. abandon it and retry the first one, slowing down bootstrapping.
  18203. The fix is to treat all our initially chosen guards as acceptable
  18204. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  18205. - Fix an assertion failure that would occur when disabling the
  18206. ORPort setting on a running Tor process while accounting was
  18207. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  18208. - When examining the list of network interfaces to find our address,
  18209. do not consider non-running or disabled network interfaces. Fixes
  18210. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  18211. - Avoid an off-by-one error when checking buffer boundaries when
  18212. formatting the exit status of a pluggable transport helper.
  18213. This is probably not an exploitable bug, but better safe than
  18214. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  18215. Pedro Ribeiro.
  18216. o Minor features (protecting client timestamps):
  18217. - Clients no longer send timestamps in their NETINFO cells. These were
  18218. not used for anything, and they provided one small way for clients
  18219. to be distinguished from each other as they moved from network to
  18220. network or behind NAT. Implements part of proposal 222.
  18221. - Clients now round timestamps in INTRODUCE cells down to the nearest
  18222. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  18223. if it's set to "auto" and the feature is disabled in the consensus,
  18224. the timestamp is sent as 0 instead. Implements part of proposal 222.
  18225. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  18226. a big deal from a security point of view, but it achieves no actual
  18227. good purpose, and isn't needed. Implements part of proposal 222.
  18228. - Reduce down accuracy of timestamps in hidden service descriptors.
  18229. Implements part of proposal 222.
  18230. o Minor features (other):
  18231. - Improve the circuit queue out-of-memory handler. Previously, when
  18232. we ran low on memory, we'd close whichever circuits had the most
  18233. queued cells. Now, we close those that have the *oldest* queued
  18234. cells, on the theory that those are most responsible for us
  18235. running low on memory. Based on analysis from a forthcoming paper
  18236. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  18237. - Generate bootstrapping status update events correctly when fetching
  18238. microdescriptors. Fixes bug 9927.
  18239. - Update to the October 2 2013 Maxmind GeoLite Country database.
  18240. o Documentation fixes:
  18241. - Clarify the usage and risks of setting the ContactInfo torrc line
  18242. for your relay or bridge. Resolves ticket 9854.
  18243. - Add anchors to the manpage so we can link to the html version of
  18244. the documentation for specific options. Resolves ticket 9866.
  18245. - Replace remaining references to DirServer in man page and
  18246. log entries. Resolves ticket 10124.
  18247. Changes in version 0.2.5.1-alpha - 2013-10-02
  18248. Tor 0.2.5.1-alpha introduces experimental support for syscall sandboxing
  18249. on Linux, allows bridges that offer pluggable transports to report usage
  18250. statistics, fixes many issues to make testing easier, and provides
  18251. a pile of minor features and bugfixes that have been waiting for a
  18252. release of the new branch.
  18253. This is the first alpha release in a new series, so expect there to
  18254. be bugs. Users who would rather test out a more stable branch should
  18255. stay with 0.2.4.x for now.
  18256. o Major features (security):
  18257. - Use the seccomp2 syscall filtering facility on Linux to limit
  18258. which system calls Tor can invoke. This is an experimental,
  18259. Linux-only feature to provide defense-in-depth against unknown
  18260. attacks. To try turning it on, set "Sandbox 1" in your torrc
  18261. file. Please be ready to report bugs. We hope to add support
  18262. for better sandboxing in the future, including more fine-grained
  18263. filters, better division of responsibility, and support for more
  18264. platforms. This work has been done by Cristian-Matei Toader for
  18265. Google Summer of Code.
  18266. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  18267. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  18268. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  18269. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  18270. them to solve bug 6033.)
  18271. o Major features (other):
  18272. - Add support for passing arguments to managed pluggable transport
  18273. proxies. Implements ticket 3594.
  18274. - Bridges now track GeoIP information and the number of their users
  18275. even when pluggable transports are in use, and report usage
  18276. statistics in their extra-info descriptors. Resolves tickets 4773
  18277. and 5040.
  18278. - Make testing Tor networks bootstrap better: lower directory fetch
  18279. retry schedules and maximum interval without directory requests,
  18280. and raise maximum download tries. Implements ticket 6752.
  18281. - Add make target 'test-network' to run tests on a Chutney network.
  18282. Implements ticket 8530.
  18283. - The ntor handshake is now on-by-default, no matter what the
  18284. directory authorities recommend. Implements ticket 8561.
  18285. o Major bugfixes:
  18286. - Instead of writing destroy cells directly to outgoing connection
  18287. buffers, queue them and intersperse them with other outgoing cells.
  18288. This can prevent a set of resource starvation conditions where too
  18289. many pending destroy cells prevent data cells from actually getting
  18290. delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
  18291. bugfix on 0.2.0.1-alpha.
  18292. - If we are unable to save a microdescriptor to the journal, do not
  18293. drop it from memory and then reattempt downloading it. Fixes bug
  18294. 9645; bugfix on 0.2.2.6-alpha.
  18295. - The new channel code sometimes lost track of in-progress circuits,
  18296. causing long-running clients to stop building new circuits. The
  18297. fix is to always call circuit_n_chan_done(chan, 0) from
  18298. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  18299. o Build features:
  18300. - Tor now builds each source file in two modes: a mode that avoids
  18301. exposing identifiers needlessly, and another mode that exposes
  18302. more identifiers for testing. This lets the compiler do better at
  18303. optimizing the production code, while enabling us to take more
  18304. radical measures to let the unit tests test things.
  18305. - The production builds no longer include functions used only in
  18306. the unit tests; all functions exposed from a module only for
  18307. unit-testing are now static in production builds.
  18308. - Add an --enable-coverage configuration option to make the unit
  18309. tests (and a new src/or/tor-cov target) to build with gcov test
  18310. coverage support.
  18311. o Testing:
  18312. - We now have rudimentary function mocking support that our unit
  18313. tests can use to test functions in isolation. Function mocking
  18314. lets the tests temporarily replace a function's dependencies with
  18315. stub functions, so that the tests can check the function without
  18316. invoking the other functions it calls.
  18317. - Add more unit tests for the <circid,channel>->circuit map, and
  18318. the destroy-cell-tracking code to fix bug 7912.
  18319. - Unit tests for failing cases of the TAP onion handshake.
  18320. - More unit tests for address-manipulation functions.
  18321. o Minor features (protecting client timestamps):
  18322. - Clients no longer send timestamps in their NETINFO cells. These were
  18323. not used for anything, and they provided one small way for clients
  18324. to be distinguished from each other as they moved from network to
  18325. network or behind NAT. Implements part of proposal 222.
  18326. - Clients now round timestamps in INTRODUCE cells down to the nearest
  18327. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  18328. if it's set to "auto" and the feature is disabled in the consensus,
  18329. the timestamp is sent as 0 instead. Implements part of proposal 222.
  18330. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  18331. a big deal from a security point of view, but it achieves no actual
  18332. good purpose, and isn't needed. Implements part of proposal 222.
  18333. - Reduce down accuracy of timestamps in hidden service descriptors.
  18334. Implements part of proposal 222.
  18335. o Minor features (config options):
  18336. - Config (torrc) lines now handle fingerprints which are missing
  18337. their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
  18338. - Support a --dump-config option to print some or all of the
  18339. configured options. Mainly useful for debugging the command-line
  18340. option parsing code. Helps resolve ticket 4647.
  18341. - Raise awareness of safer logging: notify user of potentially
  18342. unsafe config options, like logging more verbosely than severity
  18343. "notice" or setting SafeLogging to 0. Resolves ticket 5584.
  18344. - Add a new configuration option TestingV3AuthVotingStartOffset
  18345. that bootstraps a network faster by changing the timing for
  18346. consensus votes. Addresses ticket 8532.
  18347. - Add a new torrc option "ServerTransportOptions" that allows
  18348. bridge operators to pass configuration parameters to their
  18349. pluggable transports. Resolves ticket 8929.
  18350. - The config (torrc) file now accepts bandwidth and space limits in
  18351. bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
  18352. you can now say "16 kilobits", and so on.) Resolves ticket 9214.
  18353. Patch by CharlieB.
  18354. o Minor features (build):
  18355. - Add support for `--library-versions` flag. Implements ticket 6384.
  18356. - Return the "unexpected sendme" warnings to a warn severity, but make
  18357. them rate limited, to help diagnose ticket 8093.
  18358. - Detect a missing asciidoc, and warn the user about it, during
  18359. configure rather than at build time. Fixes issue 6506. Patch from
  18360. Arlo Breault.
  18361. o Minor features (other):
  18362. - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
  18363. sockets in a single system call. Implements ticket 5129.
  18364. - Log current accounting state (bytes sent and received + remaining
  18365. time for the current accounting period) in the relay's heartbeat
  18366. message. Implements ticket 5526; patch from Peter Retzlaff.
  18367. - Implement the TRANSPORT_LAUNCHED control port event that
  18368. notifies controllers about new launched pluggable
  18369. transports. Resolves ticket 5609.
  18370. - If we're using the pure-C 32-bit curve25519_donna implementation
  18371. of curve25519, build it with the -fomit-frame-pointer option to
  18372. make it go faster on register-starved hosts. This improves our
  18373. handshake performance by about 6% on i386 hosts without nacl.
  18374. Closes ticket 8109.
  18375. - Update to the September 4 2013 Maxmind GeoLite Country database.
  18376. o Minor bugfixes:
  18377. - Set the listen() backlog limit to the largest actually supported
  18378. on the system, not to the value in a header file. Fixes bug 9716;
  18379. bugfix on every released Tor.
  18380. - No longer accept malformed http headers when parsing urls from
  18381. headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
  18382. bugfix on 0.0.6pre1.
  18383. - In munge_extrainfo_into_routerinfo(), check the return value of
  18384. memchr(). This would have been a serious issue if we ever passed
  18385. it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
  18386. from Arlo Breault.
  18387. - On the chance that somebody manages to build Tor on a
  18388. platform where time_t is unsigned, correct the way that
  18389. microdesc_add_to_cache() handles negative time arguments.
  18390. Fixes bug 8042; bugfix on 0.2.3.1-alpha.
  18391. - Reject relative control socket paths and emit a warning. Previously,
  18392. single-component control socket paths would be rejected, but Tor
  18393. would not log why it could not validate the config. Fixes bug 9258;
  18394. bugfix on 0.2.3.16-alpha.
  18395. o Minor bugfixes (command line):
  18396. - Use a single command-line parser for parsing torrc options on the
  18397. command line and for finding special command-line options to avoid
  18398. inconsistent behavior for torrc option arguments that have the same
  18399. names as command-line options. Fixes bugs 4647 and 9578; bugfix on
  18400. 0.0.9pre5.
  18401. - No longer allow 'tor --hash-password' with no arguments. Fixes bug
  18402. 9573; bugfix on 0.0.9pre5.
  18403. o Minor fixes (build, auxiliary programs):
  18404. - Stop preprocessing the "torify" script with autoconf, since
  18405. it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
  18406. from Guilhem.
  18407. - The tor-fw-helper program now follows the standard convention and
  18408. exits with status code "0" on success. Fixes bug 9030; bugfix on
  18409. 0.2.3.1-alpha. Patch by Arlo Breault.
  18410. - Corrected ./configure advice for what openssl dev package you should
  18411. install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
  18412. o Minor code improvements:
  18413. - Remove constants and tests for PKCS1 padding; it's insecure and
  18414. shouldn't be used for anything new. Fixes bug 8792; patch
  18415. from Arlo Breault.
  18416. - Remove instances of strcpy() from the unit tests. They weren't
  18417. hurting anything, since they were only in the unit tests, but it's
  18418. embarrassing to have strcpy() in the code at all, and some analysis
  18419. tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
  18420. 0.2.3.8-alpha. Patch from Arlo Breault.
  18421. o Removed features:
  18422. - Remove migration code from when we renamed the "cached-routers"
  18423. file to "cached-descriptors" back in 0.2.0.8-alpha. This
  18424. incidentally resolves ticket 6502 by cleaning up the related code
  18425. a bit. Patch from Akshay Hebbar.
  18426. o Code simplification and refactoring:
  18427. - Extract the common duplicated code for creating a subdirectory
  18428. of the data directory and writing to a file in it. Fixes ticket
  18429. 4282; patch from Peter Retzlaff.
  18430. - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
  18431. buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
  18432. i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
  18433. - Add a set of accessor functions for the circuit timeout data
  18434. structure. Fixes ticket 6153; patch from "piet".
  18435. - Clean up exit paths from connection_listener_new(). Closes ticket
  18436. 8789. Patch from Arlo Breault.
  18437. - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
  18438. and drop our own custom pkey_eq() implementation. Fixes bug 9043.
  18439. - Use a doubly-linked list to implement the global circuit list.
  18440. Resolves ticket 9108. Patch from Marek Majkowski.
  18441. - Remove contrib/id_to_fp.c since it wasn't used anywhere.
  18442. Changes in version 0.2.4.17-rc - 2013-09-05
  18443. Tor 0.2.4.17-rc is the third release candidate for the Tor 0.2.4.x
  18444. series. It adds an emergency step to help us tolerate the massive
  18445. influx of users: 0.2.4 clients using the new (faster and safer) "NTor"
  18446. circuit-level handshakes now effectively jump the queue compared to
  18447. the 0.2.3 clients using "TAP" handshakes. This release also fixes a
  18448. big bug hindering bridge reachability tests.
  18449. o Major features:
  18450. - Relays now process the new "NTor" circuit-level handshake requests
  18451. with higher priority than the old "TAP" circuit-level handshake
  18452. requests. We still process some TAP requests to not totally starve
  18453. 0.2.3 clients when NTor becomes popular. A new consensus parameter
  18454. "NumNTorsPerTAP" lets us tune the balance later if we need to.
  18455. Implements ticket 9574.
  18456. o Major bugfixes:
  18457. - If the circuit build timeout logic is disabled (via the consensus,
  18458. or because we are an authority), then don't build testing circuits.
  18459. Fixes bug 9657; bugfix on 0.2.2.14-alpha.
  18460. - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
  18461. previously they did not, which prevented them from receiving
  18462. successful connections from relays for self-test or bandwidth
  18463. testing. Also, when a relay is extending a circuit to a bridge,
  18464. it needs to send a NETINFO cell, even when the bridge hasn't sent
  18465. an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
  18466. - If the time to download the next old-style networkstatus is in
  18467. the future, do not decline to consider whether to download the
  18468. next microdescriptor networkstatus. Fixes bug 9564; bugfix on
  18469. 0.2.3.14-alpha.
  18470. o Minor bugfixes:
  18471. - Avoid double-closing the listener socket in our socketpair()
  18472. replacement (used on Windows) in the case where the addresses on
  18473. our opened sockets don't match what we expected. Fixes bug 9400;
  18474. bugfix on 0.0.2pre7. Found by Coverity.
  18475. o Minor fixes (config options):
  18476. - Avoid overflows when the user sets MaxCircuitDirtiness to a
  18477. ridiculously high value, by imposing a (ridiculously high) 30-day
  18478. maximum on MaxCircuitDirtiness.
  18479. - Fix the documentation of HeartbeatPeriod to say that the heartbeat
  18480. message is logged at notice, not at info.
  18481. - Warn and fail if a server is configured not to advertise any
  18482. ORPorts at all. (We need *something* to put in our descriptor,
  18483. or we just won't work.)
  18484. o Minor features:
  18485. - Track how many "TAP" and "NTor" circuit handshake requests we get,
  18486. and how many we complete, and log it every hour to help relay
  18487. operators follow trends in network load. Addresses ticket 9658.
  18488. - Update to the August 7 2013 Maxmind GeoLite Country database.
  18489. Changes in version 0.2.4.16-rc - 2013-08-10
  18490. Tor 0.2.4.16-rc is the second release candidate for the Tor 0.2.4.x
  18491. series. It fixes several crash bugs in the 0.2.4 branch.
  18492. o Major bugfixes:
  18493. - Fix a bug in the voting algorithm that could yield incorrect results
  18494. when a non-naming authority declared too many flags. Fixes bug 9200;
  18495. bugfix on 0.2.0.3-alpha.
  18496. - Fix an uninitialized read that could in some cases lead to a remote
  18497. crash while parsing INTRODUCE2 cells. Bugfix on 0.2.4.1-alpha.
  18498. Anybody running a hidden service on the experimental 0.2.4.x
  18499. branch should upgrade. (This is, so far as we know, unrelated to
  18500. the recent news.)
  18501. - Avoid an assertion failure when processing DNS replies without the
  18502. answer types we expected. Fixes bug 9337; bugfix on 0.2.4.7-alpha.
  18503. - Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
  18504. 0.2.4.15-rc. Found by stem integration tests.
  18505. o Minor bugfixes:
  18506. - Fix an invalid memory read that occurred when a pluggable
  18507. transport proxy failed its configuration protocol.
  18508. Fixes bug 9288; bugfix on 0.2.4.1-alpha.
  18509. - When evaluating whether to use a connection that we haven't
  18510. decided is canonical using a recent link protocol version,
  18511. decide that it's canonical only if it used address _does_
  18512. match the desired address. Fixes bug 9309; bugfix on
  18513. 0.2.4.4-alpha. Reported by skruffy.
  18514. - Make the default behavior of NumDirectoryGuards be to track
  18515. NumEntryGuards. Now a user who changes only NumEntryGuards will get
  18516. the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
  18517. - Fix a spurious compilation warning with some older versions of
  18518. GCC on FreeBSD. Fixes bug 9254; bugfix on 0.2.4.14-alpha.
  18519. o Minor features:
  18520. - Update to the July 3 2013 Maxmind GeoLite Country database.
  18521. Changes in version 0.2.4.15-rc - 2013-07-01
  18522. Tor 0.2.4.15-rc is the first release candidate for the Tor 0.2.4.x
  18523. series. It fixes a few smaller bugs, but generally appears stable.
  18524. Please test it and let us know whether it is!
  18525. o Major bugfixes:
  18526. - When receiving a new configuration file via the control port's
  18527. LOADCONF command, do not treat the defaults file as absent.
  18528. Fixes bug 9122; bugfix on 0.2.3.9-alpha.
  18529. o Minor features:
  18530. - Issue a warning when running with the bufferevents backend enabled.
  18531. It's still not stable, and people should know that they're likely
  18532. to hit unexpected problems. Closes ticket 9147.
  18533. Changes in version 0.2.4.14-alpha - 2013-06-18
  18534. Tor 0.2.4.14-alpha fixes a pair of client guard enumeration problems
  18535. present in 0.2.4.13-alpha.
  18536. o Major bugfixes:
  18537. - When we have too much memory queued in circuits (according to a new
  18538. MaxMemInCellQueues option), close the circuits consuming the most
  18539. memory. This prevents us from running out of memory as a relay if
  18540. circuits fill up faster than they can be drained. Fixes bug 9063;
  18541. bugfix on the 54th commit of Tor. This bug is a further fix beyond
  18542. bug 6252, whose fix was merged into 0.2.3.21-rc.
  18543. This change also fixes an earlier approach taken in 0.2.4.13-alpha,
  18544. where we tried to solve this issue simply by imposing an upper limit
  18545. on the number of queued cells for a single circuit. That approach
  18546. proved to be problematic, since there are ways to provoke clients to
  18547. send a number of cells in excess of any such reasonable limit. Fixes
  18548. bug 9072; bugfix on 0.2.4.13-alpha.
  18549. - Limit hidden service descriptors to at most ten introduction
  18550. points, to slow one kind of guard enumeration. Fixes bug 9002;
  18551. bugfix on 0.1.1.11-alpha.
  18552. Changes in version 0.2.4.13-alpha - 2013-06-14
  18553. Tor 0.2.4.13-alpha fixes a variety of potential remote crash
  18554. vulnerabilities, makes socks5 username/password circuit isolation
  18555. actually actually work (this time for sure!), and cleans up a bunch
  18556. of other issues in preparation for a release candidate.
  18557. o Major bugfixes (robustness):
  18558. - Close any circuit that has too many cells queued on it. Fixes
  18559. bug 9063; bugfix on the 54th commit of Tor. This bug is a further
  18560. fix beyond bug 6252, whose fix was merged into 0.2.3.21-rc.
  18561. - Prevent the get_freelists() function from running off the end of
  18562. the list of freelists if it somehow gets an unrecognized
  18563. allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
  18564. eugenis.
  18565. - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
  18566. when an exit connection with optimistic data succeeds immediately
  18567. rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
  18568. 0.2.3.1-alpha.
  18569. - Fix a directory authority crash bug when building a consensus
  18570. using an older consensus as its basis. Fixes bug 8833. Bugfix
  18571. on 0.2.4.12-alpha.
  18572. o Major bugfixes:
  18573. - Avoid a memory leak where we would leak a consensus body when we
  18574. find that a consensus which we couldn't previously verify due to
  18575. missing certificates is now verifiable. Fixes bug 8719; bugfix
  18576. on 0.2.0.10-alpha.
  18577. - We used to always request authority certificates by identity digest,
  18578. meaning we'd get the newest one even when we wanted one with a
  18579. different signing key. Then we would complain about being given
  18580. a certificate we already had, and never get the one we really
  18581. wanted. Now we use the "fp-sk/" resource as well as the "fp/"
  18582. resource to request the one we want. Fixes bug 5595; bugfix on
  18583. 0.2.0.8-alpha.
  18584. - Follow the socks5 protocol when offering username/password
  18585. authentication. The fix for bug 8117 exposed this bug, and it
  18586. turns out real-world applications like Pidgin do care. Bugfix on
  18587. 0.2.3.2-alpha; fixes bug 8879.
  18588. - Prevent failures on Windows Vista and later when rebuilding the
  18589. microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
  18590. bugfix on 0.2.4.12-alpha.
  18591. o Minor bugfixes:
  18592. - Fix an impossible buffer overrun in the AES unit tests. Fixes
  18593. bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
  18594. - If for some reason we fail to write a microdescriptor while
  18595. rebuilding the cache, do not let the annotations from that
  18596. microdescriptor linger in the cache file, and do not let the
  18597. microdescriptor stay recorded as present in its old location.
  18598. Fixes bug 9047; bugfix on 0.2.2.6-alpha.
  18599. - Fix a memory leak that would occur whenever a configuration
  18600. option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
  18601. - Paste the description for PathBias parameters from the man
  18602. page into or.h, so the code documents them too. Fixes bug 7982;
  18603. bugfix on 0.2.3.17-beta and 0.2.4.8-alpha.
  18604. - Relays now treat a changed IPv6 ORPort as sufficient reason to
  18605. publish an updated descriptor. Fixes bug 6026; bugfix on
  18606. 0.2.4.1-alpha.
  18607. - When launching a resolve request on behalf of an AF_UNIX control
  18608. socket, omit the address field of the new entry connection, used in
  18609. subsequent controller events, rather than letting tor_dup_addr()
  18610. set it to "<unknown address type>". Fixes bug 8639; bugfix on
  18611. 0.2.4.12-alpha.
  18612. o Minor bugfixes (log messages):
  18613. - Fix a scaling issue in the path bias accounting code that
  18614. resulted in "Bug:" log messages from either
  18615. pathbias_scale_close_rates() or pathbias_count_build_success().
  18616. This represents a bugfix on a previous bugfix: the original fix
  18617. attempted in 0.2.4.10-alpha was incomplete. Fixes bug 8235; bugfix
  18618. on 0.2.4.1-alpha.
  18619. - Give a less useless error message when the user asks for an IPv4
  18620. address on an IPv6-only port, or vice versa. Fixes bug 8846; bugfix
  18621. on 0.2.4.7-alpha.
  18622. o Minor features:
  18623. - Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4.x,
  18624. to tolerate bug 8093 for now.
  18625. - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
  18626. in directory authority votes to describe whether they have enough
  18627. measured bandwidths to ignore advertised (relay descriptor)
  18628. bandwidth claims. Resolves ticket 8711.
  18629. - Update to the June 5 2013 Maxmind GeoLite Country database.
  18630. o Removed documentation:
  18631. - Remove some of the older contents of doc/ as obsolete; move others
  18632. to torspec.git. Fixes bug 8965.
  18633. o Code simplification and refactoring:
  18634. - Avoid using character buffers when constructing most directory
  18635. objects: this approach was unwieldy and error-prone. Instead,
  18636. build smartlists of strings, and concatenate them when done.
  18637. Changes in version 0.2.4.12-alpha - 2013-04-18
  18638. Tor 0.2.4.12-alpha moves Tor forward on several fronts: it starts the
  18639. process for lengthening the guard rotation period, makes directory
  18640. authority opinions in the consensus a bit less gameable, makes socks5
  18641. username/password circuit isolation actually work, and fixes a wide
  18642. variety of other issues.
  18643. o Major features:
  18644. - Raise the default time that a client keeps an entry guard from
  18645. "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
  18646. 2012 paper. (We would make it even longer, but we need better client
  18647. load balancing first.) Also, make the guard lifetime controllable
  18648. via a new GuardLifetime torrc option and a GuardLifetime consensus
  18649. parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
  18650. - Directory authorities now prefer using measured bandwidths to
  18651. advertised ones when computing flags and thresholds. Resolves
  18652. ticket 8273.
  18653. - Directory authorities that have more than a threshold number
  18654. of relays with measured bandwidths now treat relays with unmeasured
  18655. bandwidths as having bandwidth 0. Resolves ticket 8435.
  18656. o Major bugfixes (assert / resource use):
  18657. - Avoid a bug where our response to TLS renegotiation under certain
  18658. network conditions could lead to a busy-loop, with 100% CPU
  18659. consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
  18660. - Avoid an assertion when we discover that we'd like to write a cell
  18661. onto a closing connection: just discard the cell. Fixes another
  18662. case of bug 7350; bugfix on 0.2.4.4-alpha.
  18663. o Major bugfixes (client-side privacy):
  18664. - When we mark a circuit as unusable for new circuits, have it
  18665. continue to be unusable for new circuits even if MaxCircuitDirtiness
  18666. is increased too much at the wrong time, or the system clock jumps
  18667. backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
  18668. - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
  18669. which have resolved to internal addresses") is set, apply that
  18670. rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
  18671. - When an exit relay rejects a stream with reason "exit policy", but
  18672. we only know an exit policy summary (e.g. from the microdesc
  18673. consensus) for it, do not mark the relay as useless for all exiting.
  18674. Instead, mark just the circuit as unsuitable for that particular
  18675. address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
  18676. - Allow applications to get proper stream isolation with
  18677. IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
  18678. username/password authentication also offer "no authentication". Tor
  18679. had previously preferred "no authentication", so the applications
  18680. never actually sent Tor their auth details. Now Tor selects
  18681. username/password authentication if it's offered. You can disable
  18682. this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
  18683. bug 8117; bugfix on 0.2.3.3-alpha.
  18684. o Major bugfixes (other):
  18685. - When unable to find any working directory nodes to use as a
  18686. directory guard, give up rather than adding the same non-working
  18687. nodes to the directory guard list over and over. Fixes bug 8231;
  18688. bugfix on 0.2.4.8-alpha.
  18689. o Minor features:
  18690. - Reject as invalid most directory objects containing a NUL.
  18691. Belt-and-suspender fix for bug 8037.
  18692. - In our testsuite, create temporary directories with a bit more
  18693. entropy in their name to make name collisions less likely. Fixes
  18694. bug 8638.
  18695. - Add CACHED keyword to ADDRMAP events in the control protocol
  18696. to indicate whether a DNS result will be cached or not. Resolves
  18697. ticket 8596.
  18698. - Update to the April 3 2013 Maxmind GeoLite Country database.
  18699. o Minor features (build):
  18700. - Detect and reject attempts to build Tor with threading support
  18701. when OpenSSL has been compiled without threading support.
  18702. Fixes bug 6673.
  18703. - Clarify that when autoconf is checking for nacl, it is checking
  18704. specifically for nacl with a fast curve25519 implementation.
  18705. Fixes bug 8014.
  18706. - Warn if building on a platform with an unsigned time_t: there
  18707. are too many places where Tor currently assumes that time_t can
  18708. hold negative values. We'd like to fix them all, but probably
  18709. some will remain.
  18710. o Minor bugfixes (build):
  18711. - Fix some bugs in tor-fw-helper-natpmp when trying to build and
  18712. run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
  18713. Fixes bug 7280; bugfix on 0.2.3.1-alpha.
  18714. - Add the old src/or/micro-revision.i filename to CLEANFILES.
  18715. On the off chance that somebody has one, it will go away as soon
  18716. as they run "make clean". Fix for bug 7143; bugfix on 0.2.4.1-alpha.
  18717. - Build Tor correctly on 32-bit platforms where the compiler can build
  18718. but not run code using the "uint128_t" construction. Fixes bug 8587;
  18719. bugfix on 0.2.4.8-alpha.
  18720. - Fix compilation warning with some versions of clang that would
  18721. prefer the -Wswitch-enum compiler flag to warn about switch
  18722. statements with missing enum values, even if those switch
  18723. statements have a "default:" statement. Fixes bug 8598; bugfix
  18724. on 0.2.4.10-alpha.
  18725. o Minor bugfixes (protocol):
  18726. - Fix the handling of a TRUNCATE cell when it arrives while the
  18727. circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
  18728. - Fix a misframing issue when reading the version numbers in a
  18729. VERSIONS cell. Previously we would recognize [00 01 00 02] as
  18730. 'version 1, version 2, and version 0x100', when it should have
  18731. only included versions 1 and 2. Fixes bug 8059; bugfix on
  18732. 0.2.0.10-alpha. Reported pseudonymously.
  18733. - Make the format and order of STREAM events for DNS lookups
  18734. consistent among the various ways to launch DNS lookups. Fixes
  18735. bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy".
  18736. - Correct our check for which versions of Tor support the EXTEND2
  18737. cell. We had been willing to send it to Tor 0.2.4.7-alpha and
  18738. later, when support was really added in version 0.2.4.8-alpha.
  18739. Fixes bug 8464; bugfix on 0.2.4.8-alpha.
  18740. o Minor bugfixes (other):
  18741. - Correctly store microdescriptors and extrainfo descriptors with
  18742. an internal NUL byte. Fixes bug 8037; bugfix on 0.2.0.1-alpha.
  18743. Bug reported by "cypherpunks".
  18744. - Increase the width of the field used to remember a connection's
  18745. link protocol version to two bytes. Harmless for now, since the
  18746. only currently recognized versions are one byte long. Reported
  18747. pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
  18748. - If the state file's path bias counts are invalid (presumably from a
  18749. buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
  18750. additional checks and log messages to the scaling of Path Bias
  18751. counts, in case there still are remaining issues with scaling.
  18752. Should help resolve bug 8235.
  18753. - Eliminate several instances where we use "Nickname=ID" to refer to
  18754. nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
  18755. "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
  18756. on 0.2.3.21-rc, 0.2.4.5-alpha, 0.2.4.8-alpha, and 0.2.4.10-alpha.
  18757. o Minor bugfixes (syscalls):
  18758. - Always check the return values of functions fcntl() and
  18759. setsockopt(). We don't believe these are ever actually failing in
  18760. practice, but better safe than sorry. Also, checking these return
  18761. values should please analysis tools like Coverity. Patch from
  18762. 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
  18763. - Use direct writes rather than stdio when building microdescriptor
  18764. caches, in an attempt to mitigate bug 8031, or at least make it
  18765. less common.
  18766. o Minor bugfixes (config):
  18767. - When rejecting a configuration because we were unable to parse a
  18768. quoted string, log an actual error message. Fixes bug 7950; bugfix
  18769. on 0.2.0.16-alpha.
  18770. - Behave correctly when the user disables LearnCircuitBuildTimeout
  18771. but doesn't tell us what they would like the timeout to be. Fixes
  18772. bug 6304; bugfix on 0.2.2.14-alpha.
  18773. - When autodetecting the number of CPUs, use the number of available
  18774. CPUs in preference to the number of configured CPUs. Inform the
  18775. user if this reduces the number of available CPUs. Fixes bug 8002;
  18776. bugfix on 0.2.3.1-alpha.
  18777. - Make it an error when you set EntryNodes but disable UseGuardNodes,
  18778. since it will (surprisingly to some users) ignore EntryNodes. Fixes
  18779. bug 8180; bugfix on 0.2.3.11-alpha.
  18780. - Allow TestingTorNetworks to override the 4096-byte minimum for
  18781. the Fast threshold. Otherwise they can't bootstrap until they've
  18782. observed more traffic. Fixes bug 8508; bugfix on 0.2.4.10-alpha.
  18783. - Fix some logic errors when the user manually overrides the
  18784. PathsNeededToBuildCircuits option in torrc. Fixes bug 8599; bugfix
  18785. on 0.2.4.10-alpha.
  18786. o Minor bugfixes (log messages to help diagnose bugs):
  18787. - If we fail to free a microdescriptor because of bug 7164, log
  18788. the filename and line number from which we tried to free it.
  18789. - Add another diagnostic to the heartbeat message: track and log
  18790. overhead that TLS is adding to the data we write. If this is
  18791. high, we are sending too little data to SSL_write at a time.
  18792. Diagnostic for bug 7707.
  18793. - Add more detail to a log message about relaxed timeouts, to help
  18794. track bug 7799.
  18795. - Warn more aggressively when flushing microdescriptors to a
  18796. microdescriptor cache fails, in an attempt to mitigate bug 8031,
  18797. or at least make it more diagnosable.
  18798. - Improve debugging output to help track down bug 8185 ("Bug:
  18799. outgoing relay cell has n_chan==NULL. Dropping.")
  18800. - Log the purpose of a path-bias testing circuit correctly.
  18801. Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.
  18802. o Minor bugfixes (0.2.4.x log messages that were too noisy):
  18803. - Don't attempt to relax the timeout of already opened 1-hop circuits.
  18804. They might never timeout. This should eliminate some/all cases of
  18805. the relaxed timeout log message.
  18806. - Use circuit creation time for network liveness evaluation. This
  18807. should eliminate warning log messages about liveness caused
  18808. by changes in timeout evaluation. Fixes bug 6572; bugfix on
  18809. 0.2.4.8-alpha.
  18810. - Reduce a path bias length check from notice to info. The message
  18811. is triggered when creating controller circuits. Fixes bug 8196;
  18812. bugfix on 0.2.4.8-alpha.
  18813. - Fix a path state issue that triggered a notice during relay startup.
  18814. Fixes bug 8320; bugfix on 0.2.4.10-alpha.
  18815. - Reduce occurrences of warns about circuit purpose in
  18816. connection_ap_expire_building(). Fixes bug 8477; bugfix on
  18817. 0.2.4.11-alpha.
  18818. o Minor bugfixes (pre-0.2.4.x log messages that were too noisy):
  18819. - If we encounter a write failure on a SOCKS connection before we
  18820. finish our SOCKS handshake, don't warn that we closed the
  18821. connection before we could send a SOCKS reply. Fixes bug 8427;
  18822. bugfix on 0.1.0.1-rc.
  18823. - Correctly recognize that [::1] is a loopback address. Fixes
  18824. bug 8377; bugfix on 0.2.1.3-alpha.
  18825. - Fix a directory authority warn caused when we have a large amount
  18826. of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
  18827. - Don't log inappropriate heartbeat messages when hibernating: a
  18828. hibernating node is _expected_ to drop out of the consensus,
  18829. decide it isn't bootstrapped, and so forth. Fixes bug 7302;
  18830. bugfix on 0.2.3.1-alpha.
  18831. - Don't complain about bootstrapping problems while hibernating.
  18832. These complaints reflect a general code problem, but not one
  18833. with any problematic effects (no connections are actually
  18834. opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
  18835. o Documentation fixes:
  18836. - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
  18837. names match. Fixes bug 7768.
  18838. - Make the torify manpage no longer refer to tsocks; torify hasn't
  18839. supported tsocks since 0.2.3.14-alpha.
  18840. - Make the tor manpage no longer reference tsocks.
  18841. - Fix the GeoIPExcludeUnknown documentation to refer to
  18842. ExcludeExitNodes rather than the currently nonexistent
  18843. ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
  18844. o Removed files:
  18845. - The tor-tsocks.conf is no longer distributed or installed. We
  18846. recommend that tsocks users use torsocks instead. Resolves
  18847. ticket 8290.
  18848. Changes in version 0.2.4.11-alpha - 2013-03-11
  18849. Tor 0.2.4.11-alpha makes relay measurement by directory authorities
  18850. more robust, makes hidden service authentication work again, and
  18851. resolves a DPI fingerprint for Tor's SSL transport.
  18852. o Major features (directory authorities):
  18853. - Directory authorities now support a new consensus method (17)
  18854. where they cap the published bandwidth of servers for which
  18855. insufficient bandwidth measurements exist. Fixes part of bug 2286.
  18856. - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
  18857. serve any v2 directory information. Now we can test disabling the
  18858. old deprecated v2 directory format, and see whether doing so has
  18859. any effect on network load. Begins to fix bug 6783.
  18860. - Directory authorities now include inside each vote a statement of
  18861. the performance thresholds they used when assigning flags.
  18862. Implements ticket 8151.
  18863. o Major bugfixes (directory authorities):
  18864. - Stop marking every relay as having been down for one hour every
  18865. time we restart a directory authority. These artificial downtimes
  18866. were messing with our Stable and Guard flag calculations. Fixes
  18867. bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
  18868. o Major bugfixes (hidden services):
  18869. - Allow hidden service authentication to succeed again. When we
  18870. refactored the hidden service introduction code back
  18871. in 0.2.4.1-alpha, we didn't update the code that checks
  18872. whether authentication information is present, causing all
  18873. authentication checks to return "false". Fix for bug 8207; bugfix
  18874. on 0.2.4.1-alpha. Found by Coverity; this is CID 718615.
  18875. o Minor features (relays, bridges):
  18876. - Make bridge relays check once a minute for whether their IP
  18877. address has changed, rather than only every 15 minutes. Resolves
  18878. bugs 1913 and 1992.
  18879. - Refactor resolve_my_address() so it returns the method by which we
  18880. decided our public IP address (explicitly configured, resolved from
  18881. explicit hostname, guessed from interfaces, learned by gethostname).
  18882. Now we can provide more helpful log messages when a relay guesses
  18883. its IP address incorrectly (e.g. due to unexpected lines in
  18884. /etc/hosts). Resolves ticket 2267.
  18885. - Teach bridge-using clients to avoid 0.2.2 bridges when making
  18886. microdescriptor-related dir requests, and only fall back to normal
  18887. descriptors if none of their bridges can handle microdescriptors
  18888. (as opposed to the fix in ticket 4013, which caused them to fall
  18889. back to normal descriptors if *any* of their bridges preferred
  18890. them). Resolves ticket 4994.
  18891. - Randomize the lifetime of our SSL link certificate, so censors can't
  18892. use the static value for filtering Tor flows. Resolves ticket 8443;
  18893. related to ticket 4014 which was included in 0.2.2.33.
  18894. - Support a new version of the link protocol that allows 4-byte circuit
  18895. IDs. Previously, circuit IDs were limited to 2 bytes, which presented
  18896. a possible resource exhaustion issue. Closes ticket 7351; implements
  18897. proposal 214.
  18898. o Minor features (portability):
  18899. - Tweak the curve25519-donna*.c implementations to tolerate systems
  18900. that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
  18901. - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
  18902. the signs of types during autoconf. This is better than our old
  18903. approach, which didn't work when cross-compiling.
  18904. - Detect the sign of enum values, rather than assuming that MSC is the
  18905. only compiler where enum types are all signed. Fixes bug 7727;
  18906. bugfix on 0.2.4.10-alpha.
  18907. o Minor features (other):
  18908. - Say "KBytes" rather than "KB" in the man page (for various values
  18909. of K), to further reduce confusion about whether Tor counts in
  18910. units of memory or fractions of units of memory. Resolves ticket 7054.
  18911. - Clear the high bit on curve25519 public keys before passing them to
  18912. our backend, in case we ever wind up using a backend that doesn't do
  18913. so itself. If we used such a backend, and *didn't* clear the high bit,
  18914. we could wind up in a situation where users with such backends would
  18915. be distinguishable from users without. Fixes bug 8121; bugfix on
  18916. 0.2.4.8-alpha.
  18917. - Update to the March 6 2013 Maxmind GeoLite Country database.
  18918. o Minor bugfixes (clients):
  18919. - When we receive a RELAY_END cell with the reason DONE, or with no
  18920. reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
  18921. status as "connection refused". Previously we reported these cases
  18922. as success but then immediately closed the connection. Fixes bug
  18923. 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
  18924. - Downgrade an assertion in connection_ap_expire_beginning to an
  18925. LD_BUG message. The fix for bug 8024 should prevent this message
  18926. from displaying, but just in case, a warn that we can diagnose
  18927. is better than more assert crashes. Fixes bug 8065; bugfix on
  18928. 0.2.4.8-alpha.
  18929. - Lower path use bias thresholds to .80 for notice and .60 for warn.
  18930. Also make the rate limiting flags for the path use bias log messages
  18931. independent from the original path bias flags. Fixes bug 8161;
  18932. bugfix on 0.2.4.10-alpha.
  18933. o Minor bugfixes (relays):
  18934. - Stop trying to resolve our hostname so often (e.g. every time we
  18935. think about doing a directory fetch). Now we reuse the cached
  18936. answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
  18937. and 2410 (bugfix on 0.1.2.2-alpha).
  18938. - Stop sending a stray "(null)" in some cases for the server status
  18939. "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
  18940. on 0.1.2.6-alpha.
  18941. - When choosing which stream on a formerly stalled circuit to wake
  18942. first, make better use of the platform's weak RNG. Previously,
  18943. we had been using the % ("modulo") operator to try to generate a
  18944. 1/N chance of picking each stream, but this behaves badly with
  18945. many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
  18946. 0.2.2.20-alpha.
  18947. - Use our own weak RNG when we need a weak RNG. Windows's rand() and
  18948. Irix's random() only return 15 bits; Solaris's random() returns more
  18949. bits but its RAND_MAX says it only returns 15, and so on. Motivated
  18950. by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
  18951. o Minor bugfixes (directory authorities):
  18952. - Directory authorities now use less space when formatting identical
  18953. microdescriptor lines in directory votes. Fixes bug 8158; bugfix
  18954. on 0.2.4.1-alpha.
  18955. o Minor bugfixes (memory leaks spotted by Coverity -- bug 7816):
  18956. - Avoid leaking memory if we fail to compute a consensus signature
  18957. or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
  18958. - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
  18959. on 0.2.1.1-alpha.
  18960. - Fix a memory leak during safe-cookie controller authentication.
  18961. Bugfix on 0.2.3.13-alpha.
  18962. - Avoid memory leak of IPv6 policy content if we fail to format it into
  18963. a router descriptor. Bugfix on 0.2.4.7-alpha.
  18964. o Minor bugfixes (other code correctness issues):
  18965. - Avoid a crash if we fail to generate an extrainfo descriptor.
  18966. Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
  18967. this is CID 718634.
  18968. - When detecting the largest possible file descriptor (in order to
  18969. close all file descriptors when launching a new program), actually
  18970. use _SC_OPEN_MAX. The old code for doing this was very, very broken.
  18971. Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
  18972. is CID 743383.
  18973. - Fix a copy-and-paste error when adding a missing A1 to a routerset
  18974. because of GeoIPExcludeUnknown. Fix for Coverity CID 980650.
  18975. Bugfix on 0.2.4.10-alpha.
  18976. - Fix an impossible-to-trigger integer overflow when estimating how
  18977. long our onionskin queue would take. (This overflow would require us
  18978. to accept 4 million onionskins before processing 100 of them.) Fixes
  18979. bug 8210; bugfix on 0.2.4.10-alpha.
  18980. o Code simplification and refactoring:
  18981. - Add a wrapper function for the common "log a message with a
  18982. rate-limit" case.
  18983. Changes in version 0.2.4.10-alpha - 2013-02-04
  18984. Tor 0.2.4.10-alpha adds defenses at the directory authority level from
  18985. certain attacks that flood the network with relays; changes the queue
  18986. for circuit create requests from a sized-based limit to a time-based
  18987. limit; resumes building with MSVC on Windows; and fixes a wide variety
  18988. of other issues.
  18989. o Major bugfixes (directory authority):
  18990. - When computing directory thresholds, ignore any rejected-as-sybil
  18991. nodes during the computation so that they can't influence Fast,
  18992. Guard, etc. (We should have done this for proposal 109.) Fixes
  18993. bug 8146.
  18994. - When marking a node as a likely sybil, reset its uptime metrics
  18995. to zero, so that it cannot time towards getting marked as Guard,
  18996. Stable, or HSDir. (We should have done this for proposal 109.) Fixes
  18997. bug 8147.
  18998. o Major bugfixes:
  18999. - When a TLS write is partially successful but incomplete, remember
  19000. that the flushed part has been flushed, and notice that bytes were
  19001. actually written. Reported and fixed pseudonymously. Fixes bug
  19002. 7708; bugfix on Tor 0.1.0.5-rc.
  19003. - Reject bogus create and relay cells with 0 circuit ID or 0 stream
  19004. ID: these could be used to create unexpected streams and circuits
  19005. which would count as "present" to some parts of Tor but "absent"
  19006. to others, leading to zombie circuits and streams or to a bandwidth
  19007. denial-of-service. Fixes bug 7889; bugfix on every released version
  19008. of Tor. Reported by "oftc_must_be_destroyed".
  19009. - Rename all macros in our local copy of queue.h to begin with "TOR_".
  19010. This change seems the only good way to permanently prevent conflicts
  19011. with queue.h on various operating systems. Fixes bug 8107; bugfix
  19012. on 0.2.4.6-alpha.
  19013. o Major features (relay):
  19014. - Instead of limiting the number of queued onionskins (aka circuit
  19015. create requests) to a fixed, hard-to-configure number, we limit
  19016. the size of the queue based on how many we expect to be able to
  19017. process in a given amount of time. We estimate the time it will
  19018. take to process an onionskin based on average processing time
  19019. of previous onionskins. Closes ticket 7291. You'll never have to
  19020. configure MaxOnionsPending again.
  19021. o Major features (portability):
  19022. - Resume building correctly with MSVC and Makefile.nmake. This patch
  19023. resolves numerous bugs and fixes reported by ultramage, including
  19024. 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
  19025. - Make the ntor and curve25519 code build correctly with MSVC.
  19026. Fix on 0.2.4.8-alpha.
  19027. o Minor features:
  19028. - When directory authorities are computing thresholds for flags,
  19029. never let the threshold for the Fast flag fall below 4096
  19030. bytes. Also, do not consider nodes with extremely low bandwidths
  19031. when deciding thresholds for various directory flags. This change
  19032. should raise our threshold for Fast relays, possibly in turn
  19033. improving overall network performance; see ticket 1854. Resolves
  19034. ticket 8145.
  19035. - The Tor client now ignores sub-domain components of a .onion
  19036. address. This change makes HTTP "virtual" hosting
  19037. possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
  19038. http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
  19039. hosted on the same hidden service. Implements proposal 204.
  19040. - We compute the overhead from passing onionskins back and forth to
  19041. cpuworkers, and report it when dumping statistics in response to
  19042. SIGUSR1. Supports ticket 7291.
  19043. o Minor features (path selection):
  19044. - When deciding whether we have enough descriptors to build circuits,
  19045. instead of looking at raw relay counts, look at which fraction
  19046. of (bandwidth-weighted) paths we're able to build. This approach
  19047. keeps clients from building circuits if their paths are likely to
  19048. stand out statistically. The default fraction of paths needed is
  19049. taken from the consensus directory; you can override it with the
  19050. new PathsNeededToBuildCircuits option. Fixes ticket 5956.
  19051. - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
  19052. and we have GeoIP information, also exclude all nodes with unknown
  19053. countries "??" and "A1". This behavior is controlled by the
  19054. new GeoIPExcludeUnknown option: you can make such nodes always
  19055. excluded with "GeoIPExcludeUnknown 1", and disable the feature
  19056. with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
  19057. gets you the default behavior. Implements feature 7706.
  19058. - Path Use Bias: Perform separate accounting for successful circuit
  19059. use. Keep separate statistics on stream attempt rates versus stream
  19060. success rates for each guard. Provide configurable thresholds to
  19061. determine when to emit log messages or disable use of guards that
  19062. fail too many stream attempts. Resolves ticket 7802.
  19063. o Minor features (log messages):
  19064. - When learning a fingerprint for a bridge, log its corresponding
  19065. transport type. Implements ticket 7896.
  19066. - Improve the log message when "Bug/attack: unexpected sendme cell
  19067. from client" occurs, to help us track bug 8093.
  19068. o Minor bugfixes:
  19069. - Remove a couple of extraneous semicolons that were upsetting the
  19070. cparser library. Patch by Christian Grothoff. Fixes bug 7115;
  19071. bugfix on 0.2.2.1-alpha.
  19072. - Remove a source of rounding error during path bias count scaling;
  19073. don't count cannibalized circuits as used for path bias until we
  19074. actually try to use them; and fix a circuit_package_relay_cell()
  19075. warning message about n_chan==NULL. Fixes bug 7802.
  19076. - Detect nacl when its headers are in a nacl/ subdirectory. Also,
  19077. actually link against nacl when we're configured to use it. Fixes
  19078. bug 7972; bugfix on 0.2.4.8-alpha.
  19079. - Compile correctly with the --disable-curve25519 option. Fixes
  19080. bug 8153; bugfix on 0.2.4.8-alpha.
  19081. o Build improvements:
  19082. - Do not report status verbosely from autogen.sh unless the -v flag
  19083. is specified. Fixes issue 4664. Patch from Onizuka.
  19084. - Replace all calls to snprintf() outside of src/ext with
  19085. tor_snprintf(). Also remove the #define to replace snprintf with
  19086. _snprintf on Windows; they have different semantics, and all of
  19087. our callers should be using tor_snprintf() anyway. Fixes bug 7304.
  19088. - Try to detect if we are ever building on a platform where
  19089. memset(...,0,...) does not set the value of a double to 0.0. Such
  19090. platforms are permitted by the C standard, though in practice
  19091. they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
  19092. currently support them, but it's better to detect them and fail
  19093. than to perform erroneously.
  19094. o Removed features:
  19095. - Stop exporting estimates of v2 and v3 directory traffic shares
  19096. in extrainfo documents. They were unneeded and sometimes inaccurate.
  19097. Also stop exporting any v2 directory request statistics. Resolves
  19098. ticket 5823.
  19099. - Drop support for detecting and warning about versions of Libevent
  19100. before 1.3e. Nothing reasonable ships with them any longer;
  19101. warning the user about them shouldn't be needed. Resolves ticket
  19102. 6826.
  19103. o Code simplifications and refactoring:
  19104. - Rename "isin" functions to "contains", for grammar. Resolves
  19105. ticket 5285.
  19106. - Rename Tor's logging function log() to tor_log(), to avoid conflicts
  19107. with the natural logarithm function from the system libm. Resolves
  19108. ticket 7599.
  19109. Changes in version 0.2.4.9-alpha - 2013-01-15
  19110. Tor 0.2.4.9-alpha provides a quick fix to make the new ntor handshake
  19111. work more robustly.
  19112. o Major bugfixes:
  19113. - Fix backward compatibility logic when receiving an embedded ntor
  19114. handshake tunneled in a CREATE cell. This clears up the "Bug:
  19115. couldn't format CREATED cell" warning. Fixes bug 7959; bugfix
  19116. on 0.2.4.8-alpha.
  19117. Changes in version 0.2.4.8-alpha - 2013-01-14
  19118. Tor 0.2.4.8-alpha introduces directory guards to reduce user enumeration
  19119. risks, adds a new stronger and faster circuit handshake, and offers
  19120. stronger and faster link encryption when both sides support it.
  19121. o Major features:
  19122. - Preliminary support for directory guards (proposal 207): when
  19123. possible, clients now use their entry guards for non-anonymous
  19124. directory requests. This can help prevent client enumeration. Note
  19125. that this behavior only works when we have a usable consensus
  19126. directory, and when options about what to download are more or less
  19127. standard. In the future we should re-bootstrap from our guards,
  19128. rather than re-bootstrapping from the preconfigured list of
  19129. directory sources that ships with Tor. Resolves ticket 6526.
  19130. - Tor relays and clients now support a better CREATE/EXTEND cell
  19131. format, allowing the sender to specify multiple address, identity,
  19132. and handshake types. Implements Robert Ransom's proposal 200;
  19133. closes ticket 7199.
  19134. o Major features (new circuit handshake):
  19135. - Tor now supports a new circuit extension handshake designed by Ian
  19136. Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
  19137. circuit extension handshake, later called "TAP", was a bit slow
  19138. (especially on the relay side), had a fragile security proof, and
  19139. used weaker keys than we'd now prefer. The new circuit handshake
  19140. uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
  19141. function, making it significantly more secure than the older
  19142. handshake, and significantly faster. Tor can use one of two built-in
  19143. pure-C curve25519-donna implementations by Adam Langley, or it
  19144. can link against the "nacl" library for a tuned version if present.
  19145. The built-in version is very fast for 64-bit systems when building
  19146. with GCC. The built-in 32-bit version is still faster than the
  19147. old TAP protocol, but using libnacl is better on most such hosts.
  19148. Clients don't currently use this protocol by default, since
  19149. comparatively few clients support it so far. To try it, set
  19150. UseNTorHandshake to 1.
  19151. Implements proposal 216; closes ticket 7202.
  19152. o Major features (better link encryption):
  19153. - Relays can now enable the ECDHE TLS ciphersuites when available
  19154. and appropriate. These ciphersuites let us negotiate forward-secure
  19155. TLS secret keys more safely and more efficiently than with our
  19156. previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
  19157. public relays prefer the (faster) P224 group, and bridges prefer
  19158. the (more common) P256 group; you can override this with the
  19159. TLSECGroup option.
  19160. Enabling these ciphers was a little tricky, since for a long time,
  19161. clients had been claiming to support them without actually doing
  19162. so, in order to foil fingerprinting. But with the client-side
  19163. implementation of proposal 198 in 0.2.3.17-beta, clients can now
  19164. match the ciphers from recent Firefox versions *and* list the
  19165. ciphers they actually mean, so relays can believe such clients
  19166. when they advertise ECDHE support in their TLS ClientHello messages.
  19167. This feature requires clients running 0.2.3.17-beta or later,
  19168. and requires both sides to be running OpenSSL 1.0.0 or later
  19169. with ECC support. OpenSSL 1.0.1, with the compile-time option
  19170. "enable-ec_nistp_64_gcc_128", is highly recommended.
  19171. Implements the relay side of proposal 198; closes ticket 7200.
  19172. o Major bugfixes:
  19173. - Avoid crashing when, as a relay without IPv6-exit support, a
  19174. client insists on getting an IPv6 address or nothing. Fixes bug
  19175. 7814; bugfix on 0.2.4.7-alpha.
  19176. o Minor features:
  19177. - Improve circuit build timeout handling for hidden services.
  19178. In particular: adjust build timeouts more accurately depending
  19179. upon the number of hop-RTTs that a particular circuit type
  19180. undergoes. Additionally, launch intro circuits in parallel
  19181. if they timeout, and take the first one to reply as valid.
  19182. - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
  19183. separate error codes; or at least, don't break for that reason.
  19184. Fixes bug 7935. Reported by "oftc_must_be_destroyed".
  19185. - Update to the January 2 2013 Maxmind GeoLite Country database.
  19186. o Minor features (testing):
  19187. - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
  19188. (P-256) Diffie-Hellman handshakes to src/or/bench.
  19189. - Add benchmark functions to test onion handshake performance.
  19190. o Minor features (path bias detection):
  19191. - Alter the Path Bias log messages to be more descriptive in terms
  19192. of reporting timeouts and other statistics.
  19193. - Create three levels of Path Bias log messages, as opposed to just
  19194. two. These are configurable via consensus as well as via the torrc
  19195. options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
  19196. The default values are 0.70, 0.50, and 0.30 respectively.
  19197. - Separate the log message levels from the decision to drop guards,
  19198. which also is available via torrc option PathBiasDropGuards.
  19199. PathBiasDropGuards still defaults to 0 (off).
  19200. - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
  19201. in combination with PathBiasExtremeRate.
  19202. - Increase the default values for PathBiasScaleThreshold and
  19203. PathBiasCircThreshold from (200, 20) to (300, 150).
  19204. - Add in circuit usage accounting to path bias. If we try to use a
  19205. built circuit but fail for any reason, it counts as path bias.
  19206. Certain classes of circuits where the adversary gets to pick your
  19207. destination node are exempt from this accounting. Usage accounting
  19208. can be specifically disabled via consensus parameter or torrc.
  19209. - Convert all internal path bias state to double-precision floating
  19210. point, to avoid roundoff error and other issues.
  19211. - Only record path bias information for circuits that have completed
  19212. *two* hops. Assuming end-to-end tagging is the attack vector, this
  19213. makes us more resilient to ambient circuit failure without any
  19214. detection capability loss.
  19215. o Minor bugfixes (log messages):
  19216. - Rate-limit the "No circuits are opened. Relaxed timeout for a
  19217. circuit with channel state open..." message to once per hour to
  19218. keep it from filling the notice logs. Mitigates bug 7799 but does
  19219. not fix the underlying cause. Bugfix on 0.2.4.7-alpha.
  19220. - Avoid spurious warnings when configuring multiple client ports of
  19221. which only some are nonlocal. Previously, we had claimed that some
  19222. were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
  19223. 0.2.3.3-alpha.
  19224. o Code simplifications and refactoring:
  19225. - Get rid of a couple of harmless clang warnings, where we compared
  19226. enums to ints. These warnings are newly introduced in clang 3.2.
  19227. - Split the onion.c file into separate modules for the onion queue
  19228. and the different handshakes it supports.
  19229. - Remove the marshalling/unmarshalling code for sending requests to
  19230. cpuworkers over a socket, and instead just send structs. The
  19231. recipient will always be the same Tor binary as the sender, so
  19232. any encoding is overkill.
  19233. Changes in version 0.2.4.7-alpha - 2012-12-24
  19234. Tor 0.2.4.7-alpha introduces a new approach to providing fallback
  19235. directory mirrors for more robust bootstrapping; fixes more issues where
  19236. clients with changing network conditions refuse to make any circuits;
  19237. adds initial support for exiting to IPv6 addresses; resumes being able
  19238. to update our GeoIP database, and includes the geoip6 file this time;
  19239. turns off the client-side DNS cache by default due to privacy risks;
  19240. and fixes a variety of other issues.
  19241. o Major features (client resilience):
  19242. - Add a new "FallbackDir" torrc option to use when we can't use
  19243. a directory mirror from the consensus (either because we lack a
  19244. consensus, or because they're all down). Currently, all authorities
  19245. are fallbacks by default, and there are no other default fallbacks,
  19246. but that will change. This option will allow us to give clients a
  19247. longer list of servers to try to get a consensus from when first
  19248. connecting to the Tor network, and thereby reduce load on the
  19249. directory authorities. Implements proposal 206, "Preconfigured
  19250. directory sources for bootstrapping". We also removed the old
  19251. "FallbackNetworkstatus" option, since we never got it working well
  19252. enough to use it. Closes bug 572.
  19253. - If we have no circuits open, use a relaxed timeout (the
  19254. 95-percentile cutoff) until a circuit succeeds. This heuristic
  19255. should allow Tor to succeed at building circuits even when the
  19256. network connection drastically changes. Should help with bug 3443.
  19257. o Major features (IPv6):
  19258. - Relays can now exit to IPv6 addresses: make sure that you have IPv6
  19259. connectivity, then set the IPv6Exit flag to 1. Also make sure your
  19260. exit policy reads as you would like: the address * applies to all
  19261. address families, whereas *4 is IPv4 address only, and *6 is IPv6
  19262. addresses only. On the client side, you'll need to wait until the
  19263. authorities have upgraded, wait for enough exits to support IPv6,
  19264. apply the "IPv6Traffic" flag to a SocksPort, and use Socks5. Closes
  19265. ticket 5547, implements proposal 117 as revised in proposal 208.
  19266. We DO NOT recommend that clients with actual anonymity needs start
  19267. using IPv6 over Tor yet, since not enough exits support it yet.
  19268. o Major features (geoip database):
  19269. - Maxmind began labelling Tor relays as being in country "A1",
  19270. which breaks by-country node selection inside Tor. Now we use a
  19271. script to replace "A1" ("Anonymous Proxy") entries in our geoip
  19272. file with real country codes. This script fixes about 90% of "A1"
  19273. entries automatically and uses manual country code assignments to
  19274. fix the remaining 10%. See src/config/README.geoip for details.
  19275. Fixes bug 6266. Also update to the December 5 2012 Maxmind GeoLite
  19276. Country database, as modified above.
  19277. o Major bugfixes (client-side DNS):
  19278. - Turn off the client-side DNS cache by default. Updating and using
  19279. the DNS cache is now configurable on a per-client-port
  19280. level. SOCKSPort, DNSPort, etc lines may now contain
  19281. {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
  19282. cache these types of DNS answers when we receive them from an
  19283. exit node in response to an application request on this port, and
  19284. {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
  19285. cached DNS answers of these types, we shouldn't use them. It's
  19286. potentially risky to use cached DNS answers at the client, since
  19287. doing so can indicate to one exit what answers we've gotten
  19288. for DNS lookups in the past. With IPv6, this becomes especially
  19289. problematic. Using cached DNS answers for requests on the same
  19290. circuit would present less linkability risk, since all traffic
  19291. on a circuit is already linkable, but it would also provide
  19292. little performance benefit: the exit node caches DNS replies
  19293. too. Implements a simplified version of Proposal 205. Implements
  19294. ticket 7570.
  19295. o Major bugfixes (other):
  19296. - Alter circuit build timeout measurement to start at the point
  19297. where we begin the CREATE/CREATE_FAST step (as opposed to circuit
  19298. initialization). This should make our timeout measurements more
  19299. uniform. Previously, we were sometimes including ORconn setup time
  19300. in our circuit build time measurements. Should resolve bug 3443.
  19301. - Fix an assertion that could trigger in hibernate_go_dormant() when
  19302. closing an or_connection_t: call channel_mark_for_close() rather
  19303. than connection_mark_for_close(). Fixes bug 7267. Bugfix on
  19304. 0.2.4.4-alpha.
  19305. - Include the geoip6 IPv6 GeoIP database in the tarball. Fixes bug
  19306. 7655; bugfix on 0.2.4.6-alpha.
  19307. o Minor features:
  19308. - Add a new torrc option "ServerTransportListenAddr" to let bridge
  19309. operators select the address where their pluggable transports will
  19310. listen for connections. Resolves ticket 7013.
  19311. - Allow an optional $ before the node identity digest in the
  19312. controller command GETINFO ns/id/<identity>, for consistency with
  19313. md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
  19314. - Log packaged cell fullness as part of the heartbeat message.
  19315. Diagnosis to try to determine the extent of bug 7743.
  19316. o Minor features (IPv6):
  19317. - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
  19318. prefer to hand out virtual IPv6 addresses, since there are more of
  19319. them and we can't run out. To override this behavior and make IPv4
  19320. addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
  19321. or DNSPort you're using for resolving. Implements ticket 7571.
  19322. - AutomapHostsOnResolve responses are now randomized, to avoid
  19323. annoying situations where Tor is restarted and applications
  19324. connect to the wrong addresses.
  19325. - Never try more than 1000 times to pick a new virtual address when
  19326. AutomapHostsOnResolve is set. That's good enough so long as we
  19327. aren't close to handing out our entire virtual address space;
  19328. if you're getting there, it's best to switch to IPv6 virtual
  19329. addresses anyway.
  19330. o Minor bugfixes:
  19331. - The ADDRMAP command can no longer generate an ill-formed error
  19332. code on a failed MAPADDRESS. It now says "internal" rather than
  19333. an English sentence fragment with spaces in the middle. Bugfix on
  19334. Tor 0.2.0.19-alpha.
  19335. - Fix log messages and comments to avoid saying "GMT" when we mean
  19336. "UTC". Fixes bug 6113.
  19337. - Compile on win64 using mingw64. Fixes bug 7260; patches from
  19338. "yayooo".
  19339. - Fix a crash when debugging unit tests on Windows: deallocate a
  19340. shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
  19341. bugfix on 0.2.2.17-alpha. Reported by "ultramage".
  19342. o Renamed options:
  19343. - The DirServer option is now DirAuthority, for consistency with
  19344. current naming patterns. You can still use the old DirServer form.
  19345. o Code simplification and refactoring:
  19346. - Move the client-side address-map/virtual-address/DNS-cache code
  19347. out of connection_edge.c into a new addressmap.c module.
  19348. - Remove unused code for parsing v1 directories and "running routers"
  19349. documents. Fixes bug 6887.
  19350. Changes in version 0.2.3.25 - 2012-11-19
  19351. The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
  19352. Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
  19353. Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
  19354. programmer, and friend. Unstinting in his dedication to the cause of
  19355. freedom, he inspired and helped many of us as we began our work on
  19356. anonymity, and inspires us still. Please honor his memory by writing
  19357. software to protect people's freedoms, and by helping others to do so.
  19358. Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
  19359. significantly reduced directory overhead (via microdescriptors),
  19360. enormous crypto performance improvements for fast relays on new
  19361. enough hardware, a new v3 TLS handshake protocol that can better
  19362. resist fingerprinting, support for protocol obfuscation plugins (aka
  19363. pluggable transports), better scalability for hidden services, IPv6
  19364. support for bridges, performance improvements like allowing clients
  19365. to skip the first round-trip on the circuit ("optimistic data") and
  19366. refilling token buckets more often, a new "stream isolation" design
  19367. to isolate different applications on different circuits, and many
  19368. stability, security, and privacy fixes.
  19369. o Major bugfixes:
  19370. - Tor tries to wipe potentially sensitive data after using it, so
  19371. that if some subsequent security failure exposes Tor's memory,
  19372. the damage will be limited. But we had a bug where the compiler
  19373. was eliminating these wipe operations when it decided that the
  19374. memory was no longer visible to a (correctly running) program,
  19375. hence defeating our attempt at defense in depth. We fix that
  19376. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  19377. is unlikely to optimize away. Future versions of Tor may use
  19378. a less ridiculously heavy approach for this. Fixes bug 7352.
  19379. Reported in an article by Andrey Karpov.
  19380. o Minor bugfixes:
  19381. - Fix a harmless bug when opting against publishing a relay descriptor
  19382. because DisableNetwork is set. Fixes bug 7464; bugfix on
  19383. 0.2.3.9-alpha.
  19384. Changes in version 0.2.4.6-alpha - 2012-11-13
  19385. Tor 0.2.4.6-alpha fixes an assert bug that has been plaguing relays,
  19386. makes our defense-in-depth memory wiping more reliable, and begins to
  19387. count IPv6 addresses in bridge statistics,
  19388. o Major bugfixes:
  19389. - Fix an assertion failure that could occur when closing a connection
  19390. with a spliced rendezvous circuit. Fix for bug 7212; bugfix on
  19391. Tor 0.2.4.4-alpha.
  19392. - Tor tries to wipe potentially sensitive data after using it, so
  19393. that if some subsequent security failure exposes Tor's memory,
  19394. the damage will be limited. But we had a bug where the compiler
  19395. was eliminating these wipe operations when it decided that the
  19396. memory was no longer visible to a (correctly running) program,
  19397. hence defeating our attempt at defense in depth. We fix that
  19398. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  19399. is unlikely to optimize away. Future versions of Tor may use
  19400. a less ridiculously heavy approach for this. Fixes bug 7352.
  19401. Reported in an article by Andrey Karpov.
  19402. o Minor features:
  19403. - Add GeoIP database for IPv6 addresses. The new config option
  19404. is GeoIPv6File.
  19405. - Bridge statistics now count bridge clients connecting over IPv6:
  19406. bridge statistics files now list "bridge-ip-versions" and
  19407. extra-info documents list "geoip6-db-digest". The control protocol
  19408. "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
  19409. implementation by "shkoo", addressing ticket 5055.
  19410. o Minor bugfixes:
  19411. - Warn when we are binding low ports when hibernation is enabled;
  19412. previously we had warned when we were _advertising_ low ports with
  19413. hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
  19414. - Fix a harmless bug when opting against publishing a relay descriptor
  19415. because DisableNetwork is set. Fixes bug 7464; bugfix on
  19416. 0.2.3.9-alpha.
  19417. - Add warning message when a managed proxy dies during configuration.
  19418. Fixes bug 7195; bugfix on 0.2.4.2-alpha.
  19419. - Fix a linking error when building tor-fw-helper without miniupnp.
  19420. Fixes bug 7235; bugfix on 0.2.4.2-alpha. Fix by Anthony G. Basile.
  19421. - Check for closing an or_connection_t without going through correct
  19422. channel functions; emit a warning and then call
  19423. connection_or_close_for_error() so we don't assert as in bugs 7212
  19424. and 7267.
  19425. - Compile correctly on compilers without C99 designated initializer
  19426. support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.
  19427. - Avoid a possible assert that can occur when channel_send_destroy() is
  19428. called on a channel in CHANNEL_STATE_CLOSING, CHANNEL_STATE_CLOSED,
  19429. or CHANNEL_STATE_ERROR when the Tor process is resumed after being
  19430. blocked for a long interval. Fixes bug 7350; bugfix on 0.2.4.4-alpha.
  19431. - Fix a memory leak on failing cases of channel_tls_process_certs_cell.
  19432. Fixes bug 7422; bugfix on 0.2.4.4-alpha.
  19433. o Code simplification and refactoring:
  19434. - Start using OpenBSD's implementation of queue.h, so that we don't
  19435. need to hand-roll our own pointer and list structures whenever we
  19436. need them. (We can't rely on a sys/queue.h, since some operating
  19437. systems don't have them, and the ones that do have them don't all
  19438. present the same extensions.)
  19439. Changes in version 0.2.4.5-alpha - 2012-10-25
  19440. Tor 0.2.4.5-alpha comes hard at the heels of 0.2.4.4-alpha, to fix
  19441. two important security vulnerabilities that could lead to remotely
  19442. triggerable relay crashes, fix a major bug that was preventing clients
  19443. from choosing suitable exit nodes, and refactor some of our code.
  19444. o Major bugfixes (security, also in 0.2.3.24-rc):
  19445. - Fix a group of remotely triggerable assertion failures related to
  19446. incorrect link protocol negotiation. Found, diagnosed, and fixed
  19447. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  19448. 0.2.3.6-alpha.
  19449. - Fix a denial of service attack by which any directory authority
  19450. could crash all the others, or by which a single v2 directory
  19451. authority could crash everybody downloading v2 directory
  19452. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  19453. o Major bugfixes (also in 0.2.3.24-rc):
  19454. - When parsing exit policy summaries from microdescriptors, we had
  19455. previously been ignoring the last character in each one, so that
  19456. "accept 80,443,8080" would be treated by clients as indicating
  19457. a node that allows access to ports 80, 443, and 808. That would
  19458. lead to clients attempting connections that could never work,
  19459. and ignoring exit nodes that would support their connections. Now
  19460. clients parse these exit policy summaries correctly. Fixes bug 7192;
  19461. bugfix on 0.2.3.1-alpha.
  19462. o Minor bugfixes (also in 0.2.3.24-rc):
  19463. - Clients now consider the ClientRejectInternalAddresses config option
  19464. when using a microdescriptor consensus stanza to decide whether
  19465. an exit relay would allow exiting to an internal address. Fixes
  19466. bug 7190; bugfix on 0.2.3.1-alpha.
  19467. o Minor bugfixes:
  19468. - Only disable TLS session ticket support when running as a TLS
  19469. server. Now clients will blend better with regular Firefox
  19470. connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
  19471. o Code simplification and refactoring:
  19472. - Start using OpenBSD's implementation of queue.h (originally by
  19473. Niels Provos).
  19474. - Move the entry node code from circuitbuild.c to its own file.
  19475. - Move the circuit build timeout tracking code from circuitbuild.c
  19476. to its own file.
  19477. Changes in version 0.2.3.24-rc - 2012-10-25
  19478. Tor 0.2.3.24-rc fixes two important security vulnerabilities that
  19479. could lead to remotely triggerable relay crashes, and fixes
  19480. a major bug that was preventing clients from choosing suitable exit
  19481. nodes.
  19482. o Major bugfixes (security):
  19483. - Fix a group of remotely triggerable assertion failures related to
  19484. incorrect link protocol negotiation. Found, diagnosed, and fixed
  19485. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  19486. 0.2.3.6-alpha.
  19487. - Fix a denial of service attack by which any directory authority
  19488. could crash all the others, or by which a single v2 directory
  19489. authority could crash everybody downloading v2 directory
  19490. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  19491. o Major bugfixes:
  19492. - When parsing exit policy summaries from microdescriptors, we had
  19493. previously been ignoring the last character in each one, so that
  19494. "accept 80,443,8080" would be treated by clients as indicating
  19495. a node that allows access to ports 80, 443, and 808. That would
  19496. lead to clients attempting connections that could never work,
  19497. and ignoring exit nodes that would support their connections. Now
  19498. clients parse these exit policy summaries correctly. Fixes bug 7192;
  19499. bugfix on 0.2.3.1-alpha.
  19500. o Minor bugfixes:
  19501. - Clients now consider the ClientRejectInternalAddresses config option
  19502. when using a microdescriptor consensus stanza to decide whether
  19503. an exit relay would allow exiting to an internal address. Fixes
  19504. bug 7190; bugfix on 0.2.3.1-alpha.
  19505. Changes in version 0.2.4.4-alpha - 2012-10-20
  19506. Tor 0.2.4.4-alpha adds a new v3 directory authority, fixes a privacy
  19507. vulnerability introduced by a change in OpenSSL, fixes a remotely
  19508. triggerable assert, and adds new channel_t and circuitmux_t abstractions
  19509. that will make it easier to test new connection transport and cell
  19510. scheduling algorithms.
  19511. o New directory authorities (also in 0.2.3.23-rc):
  19512. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  19513. authority. Closes ticket 5749.
  19514. o Major bugfixes (security/privacy, also in 0.2.3.23-rc):
  19515. - Disable TLS session tickets. OpenSSL's implementation was giving
  19516. our TLS session keys the lifetime of our TLS context objects, when
  19517. perfect forward secrecy would want us to discard anything that
  19518. could decrypt a link connection as soon as the link connection
  19519. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  19520. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  19521. - Discard extraneous renegotiation attempts once the V3 link
  19522. protocol has been initiated. Failure to do so left us open to
  19523. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  19524. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  19525. o Internal abstraction features:
  19526. - Introduce new channel_t abstraction between circuits and
  19527. or_connection_t to allow for implementing alternate OR-to-OR
  19528. transports. A channel_t is an abstract object which can either be a
  19529. cell-bearing channel, which is responsible for authenticating and
  19530. handshaking with the remote OR and transmitting cells to and from
  19531. it, or a listening channel, which spawns new cell-bearing channels
  19532. at the request of remote ORs. Implements part of ticket 6465.
  19533. - Also new is the channel_tls_t subclass of channel_t, adapting it
  19534. to the existing or_connection_t code. The V2/V3 protocol handshaking
  19535. code which formerly resided in command.c has been moved below the
  19536. channel_t abstraction layer and may be found in channeltls.c now.
  19537. Implements the rest of ticket 6465.
  19538. - Introduce new circuitmux_t storing the queue of circuits for
  19539. a channel; this encapsulates and abstracts the queue logic and
  19540. circuit selection policy, and allows the latter to be overridden
  19541. easily by switching out a policy object. The existing EWMA behavior
  19542. is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
  19543. o Required libraries:
  19544. - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
  19545. strongly recommended.
  19546. o Minor features:
  19547. - Warn users who run hidden services on a Tor client with
  19548. UseEntryGuards disabled that their hidden services will be
  19549. vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
  19550. attack which motivated Tor to support entry guards in the first
  19551. place). Resolves ticket 6889.
  19552. - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
  19553. dhill. Resolves ticket 6982.
  19554. - Option OutboundBindAddress can be specified multiple times and
  19555. accepts IPv6 addresses. Resolves ticket 6876.
  19556. o Minor bugfixes (also in 0.2.3.23-rc):
  19557. - Don't serve or accept v2 hidden service descriptors over a
  19558. relay's DirPort. It's never correct to do so, and disabling it
  19559. might make it more annoying to exploit any bugs that turn up in the
  19560. descriptor-parsing code. Fixes bug 7149.
  19561. - Fix two cases in src/or/transports.c where we were calling
  19562. fmt_addr() twice in a parameter list. Bug found by David
  19563. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  19564. - Fix memory leaks whenever we logged any message about the "path
  19565. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  19566. - When relays refuse a "create" cell because their queue of pending
  19567. create cells is too big (typically because their cpu can't keep up
  19568. with the arrival rate), send back reason "resource limit" rather
  19569. than reason "internal", so network measurement scripts can get a
  19570. more accurate picture. Fixes bug 7037; bugfix on 0.1.1.11-alpha.
  19571. o Minor bugfixes:
  19572. - Command-line option "--version" implies "--quiet". Fixes bug 6997.
  19573. - Free some more still-in-use memory at exit, to make hunting for
  19574. memory leaks easier. Resolves bug 7029.
  19575. - When a Tor client gets a "truncated" relay cell, the first byte of
  19576. its payload specifies why the circuit was truncated. We were
  19577. ignoring this 'reason' byte when tearing down the circuit, resulting
  19578. in the controller not being told why the circuit closed. Now we
  19579. pass the reason from the truncated cell to the controller. Bugfix
  19580. on 0.1.2.3-alpha; fixes bug 7039.
  19581. - Downgrade "Failed to hand off onionskin" messages to "debug"
  19582. severity, since they're typically redundant with the "Your computer
  19583. is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
  19584. - Make clients running with IPv6 bridges connect over IPv6 again,
  19585. even without setting new config options ClientUseIPv6 and
  19586. ClientPreferIPv6ORPort. Fixes bug 6757; bugfix on 0.2.4.1-alpha.
  19587. - Use square brackets around IPv6 addresses in numerous places
  19588. that needed them, including log messages, HTTPS CONNECT proxy
  19589. requests, TransportProxy statefile entries, and pluggable transport
  19590. extra-info lines. Fixes bug 7011; patch by David Fifield.
  19591. o Code refactoring and cleanup:
  19592. - Source files taken from other packages now reside in src/ext;
  19593. previously they were scattered around the rest of Tor.
  19594. - Avoid use of reserved identifiers in our C code. The C standard
  19595. doesn't like us declaring anything that starts with an
  19596. underscore, so let's knock it off before we get in trouble. Fix
  19597. for bug 1031; bugfix on the first Tor commit.
  19598. Changes in version 0.2.3.23-rc - 2012-10-20
  19599. Tor 0.2.3.23-rc adds a new v3 directory authority, fixes a privacy
  19600. vulnerability introduced by a change in OpenSSL, and fixes a variety
  19601. of smaller bugs in preparation for the release.
  19602. o New directory authorities:
  19603. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  19604. authority. Closes ticket 5749.
  19605. o Major bugfixes (security/privacy):
  19606. - Disable TLS session tickets. OpenSSL's implementation was giving
  19607. our TLS session keys the lifetime of our TLS context objects, when
  19608. perfect forward secrecy would want us to discard anything that
  19609. could decrypt a link connection as soon as the link connection
  19610. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  19611. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  19612. - Discard extraneous renegotiation attempts once the V3 link
  19613. protocol has been initiated. Failure to do so left us open to
  19614. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  19615. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  19616. o Major bugfixes:
  19617. - Fix a possible crash bug when checking for deactivated circuits
  19618. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  19619. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  19620. o Minor bugfixes (on 0.2.3.x):
  19621. - Fix two cases in src/or/transports.c where we were calling
  19622. fmt_addr() twice in a parameter list. Bug found by David
  19623. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  19624. - Convert an assert in the pathbias code to a log message. The assert
  19625. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  19626. bugfix on 0.2.3.17-beta.
  19627. - Fix memory leaks whenever we logged any message about the "path
  19628. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  19629. o Minor bugfixes (on 0.2.2.x and earlier):
  19630. - Don't serve or accept v2 hidden service descriptors over a relay's
  19631. DirPort. It's never correct to do so, and disabling it might
  19632. make it more annoying to exploit any bugs that turn up in the
  19633. descriptor-parsing code. Fixes bug 7149.
  19634. - When relays refuse a "create" cell because their queue of pending
  19635. create cells is too big (typically because their cpu can't keep up
  19636. with the arrival rate), send back reason "resource limit" rather
  19637. than reason "internal", so network measurement scripts can get a
  19638. more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
  19639. - Correct file sizes when reading binary files on Cygwin, to avoid
  19640. a bug where Tor would fail to read its state file. Fixes bug 6844;
  19641. bugfix on 0.1.2.7-alpha.
  19642. - Avoid undefined behavior when parsing the list of supported
  19643. rendezvous/introduction protocols in a hidden service descriptor.
  19644. Previously, Tor would have confused (as-yet-unused) protocol version
  19645. numbers greater than 32 with lower ones on many platforms. Fixes
  19646. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  19647. o Documentation fixes:
  19648. - Clarify that hidden services are TCP only. Fixes bug 6024.
  19649. Changes in version 0.2.4.3-alpha - 2012-09-22
  19650. Tor 0.2.4.3-alpha fixes another opportunity for a remotely triggerable
  19651. assertion, resumes letting relays test reachability of their DirPort,
  19652. and cleans up a bunch of smaller bugs.
  19653. o Security fixes:
  19654. - Fix an assertion failure in tor_timegm() that could be triggered
  19655. by a badly formatted directory object. Bug found by fuzzing with
  19656. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  19657. o Major bugfixes:
  19658. - Fix a possible crash bug when checking for deactivated circuits
  19659. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  19660. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  19661. - Allow routers to detect that their own DirPorts are running. When
  19662. we removed support for versions_supports_begindir, we also
  19663. accidentally removed the mechanism we used to self-test our
  19664. DirPort. Diagnosed with help from kargig. Fixes bugs 6814 and 6815;
  19665. bugfix on 0.2.4.2-alpha.
  19666. o Security features:
  19667. - Switch to a completely time-invariant approach for picking nodes
  19668. weighted by bandwidth. Our old approach would run through the
  19669. part of the loop after it had made its choice slightly slower
  19670. than it ran through the part of the loop before it had made its
  19671. choice. Addresses ticket 6538.
  19672. - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
  19673. by tor2web clients allows hidden services to identify tor2web
  19674. clients through their repeated selection of the same rendezvous
  19675. and introduction point circuit endpoints (their guards). Resolves
  19676. ticket 6888.
  19677. o Minor features:
  19678. - Enable Tor to read configuration, state, and key information from
  19679. a FIFO. Previously Tor would only read from files with a positive
  19680. stat.st_size. Code from meejah; fixes bug 6044.
  19681. o Minor bugfixes:
  19682. - Correct file sizes when reading binary files on Cygwin, to avoid
  19683. a bug where Tor would fail to read its state file. Fixes bug 6844;
  19684. bugfix on 0.1.2.7-alpha.
  19685. - Correctly handle votes with more than 31 flags. Fixes bug 6853;
  19686. bugfix on 0.2.0.3-alpha.
  19687. - When complaining about a client port on a public address, log
  19688. which address we're complaining about. Fixes bug 4020; bugfix on
  19689. 0.2.3.3-alpha. Patch by Tom Fitzhenry.
  19690. - Convert an assert in the pathbias code to a log message. The assert
  19691. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  19692. bugfix on 0.2.3.17-beta.
  19693. - Our new buildsystem was overzealous about rebuilding manpages: it
  19694. would rebuild them all whenever any one of them changed. Now our
  19695. dependency checking should be correct. Fixes bug 6843; bugfix on
  19696. 0.2.4.1-alpha.
  19697. - Don't do reachability testing over IPv6 unless AuthDirPublishIPv6
  19698. is set. Fixes bug 6880. Bugfix on 0.2.4.1-alpha.
  19699. - Correct log printout about which address family is preferred
  19700. when connecting to a bridge with both an IPv4 and IPv6 OR port.
  19701. Fixes bug 6884; bugfix on 0.2.4.1-alpha.
  19702. o Minor bugfixes (code cleanliness):
  19703. - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
  19704. with large values. This situation was untriggered, but nevertheless
  19705. incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
  19706. - Reject consensus votes with more than 64 known-flags. We aren't even
  19707. close to that limit yet, and our code doesn't handle it correctly.
  19708. Fixes bug 6833; bugfix on 0.2.0.1-alpha.
  19709. - Avoid undefined behavior when parsing the list of supported
  19710. rendezvous/introduction protocols in a hidden service descriptor.
  19711. Previously, Tor would have confused (as-yet-unused) protocol version
  19712. numbers greater than 32 with lower ones on many platforms. Fixes
  19713. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  19714. - Fix handling of rendezvous client authorization types over 8.
  19715. Fixes bug 6861; bugfix on 0.2.1.5-alpha.
  19716. - Fix building with older versions of GCC (2.95, for one) that don't
  19717. like preprocessor directives inside macro arguments. Found by
  19718. grarpamp. Fixes bug 6842; bugfix on 0.2.4.2-alpha.
  19719. - Switch weighted node selection rule from using a list of doubles
  19720. to using a list of int64_t. This change should make the process
  19721. slightly easier to debug and maintain. Needed to finish ticket 6538.
  19722. o Code simplification and refactoring:
  19723. - Move the generic "config" code into a new file, and have "config.c"
  19724. hold only torrc- and state-related code. Resolves ticket 6823.
  19725. - Move the core of our "choose a weighted element at random" logic
  19726. into its own function, and give it unit tests. Now the logic is
  19727. testable, and a little less fragile too.
  19728. - Removed the testing_since field of node_t, which hasn't been used
  19729. for anything since 0.2.0.9-alpha.
  19730. o Documentation fixes:
  19731. - Clarify that hidden services are TCP only. Fixes bug 6024.
  19732. - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
  19733. 0.2.3.14-alpha.
  19734. Changes in version 0.2.3.22-rc - 2012-09-11
  19735. Tor 0.2.3.22-rc fixes another opportunity for a remotely triggerable
  19736. assertion.
  19737. o Security fixes:
  19738. - Fix an assertion failure in tor_timegm() that could be triggered
  19739. by a badly formatted directory object. Bug found by fuzzing with
  19740. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  19741. o Minor bugfixes:
  19742. - Avoid segfault when starting up having run with an extremely old
  19743. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  19744. on 0.2.2.23-alpha.
  19745. Changes in version 0.2.2.39 - 2012-09-11
  19746. Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
  19747. assertions.
  19748. o Security fixes:
  19749. - Fix an assertion failure in tor_timegm() that could be triggered
  19750. by a badly formatted directory object. Bug found by fuzzing with
  19751. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  19752. - Do not crash when comparing an address with port value 0 to an
  19753. address policy. This bug could have been used to cause a remote
  19754. assertion failure by or against directory authorities, or to
  19755. allow some applications to crash clients. Fixes bug 6690; bugfix
  19756. on 0.2.1.10-alpha.
  19757. Changes in version 0.2.4.2-alpha - 2012-09-10
  19758. Tor 0.2.4.2-alpha enables port forwarding for pluggable transports,
  19759. raises the default rate limiting even more, and makes the bootstrapping
  19760. log messages less noisy.
  19761. o Major features:
  19762. - Automatically forward the TCP ports of pluggable transport
  19763. proxies using tor-fw-helper if PortForwarding is enabled. Implements
  19764. ticket 4567.
  19765. o Major bugfixes:
  19766. - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
  19767. to 1GB/1GB. The previous defaults were intended to be "basically
  19768. infinite", but it turns out they're now limiting our 100mbit+
  19769. relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
  19770. last time we raised it).
  19771. o Minor features:
  19772. - Detect when we're running with a version of OpenSSL other than the
  19773. one we compiled with. This has occasionally given people hard-to-
  19774. track-down errors.
  19775. - Log fewer lines at level "notice" about our OpenSSL and Libevent
  19776. versions and capabilities when everything is going right. Resolves
  19777. part of ticket 6736.
  19778. - Directory authorities no long accept descriptors for any version of
  19779. Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
  19780. These versions are insecure, unsupported, or both. Implements
  19781. ticket 6789.
  19782. o Minor bugfixes:
  19783. - Rename the (internal-use-only) UsingTestingNetworkDefaults option
  19784. to start with a triple-underscore so the controller won't touch it.
  19785. Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
  19786. - Avoid segfault when starting up having run with an extremely old
  19787. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  19788. on 0.2.2.23-alpha.
  19789. - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
  19790. so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
  19791. - Don't follow the NULL pointer if microdescriptor generation fails.
  19792. (This does not appear to be triggerable, but it's best to be safe.)
  19793. Found by "f. tp.". Fixes bug 6797; bugfix on 0.2.4.1-alpha.
  19794. - Fix mis-declared dependencies on src/common/crypto.c and
  19795. src/or/tor_main.c that could break out-of-tree builds under some
  19796. circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
  19797. - Avoid a warning when building common_sha1.i out of tree. Fixes bug
  19798. 6778; bugfix on 0.2.4.1-alpha.
  19799. - Fix a harmless (in this case) build warning for implicitly
  19800. converting a strlen() to an int. Bugfix on 0.2.4.1-alpha.
  19801. o Removed features:
  19802. - Now that all versions before 0.2.2.x are disallowed, we no longer
  19803. need to work around their missing features. Thus we can remove a
  19804. bunch of compatibility code.
  19805. o Code refactoring:
  19806. - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
  19807. TCP ports to forward. In the past it only accepted two ports:
  19808. the ORPort and the DirPort.
  19809. Changes in version 0.2.4.1-alpha - 2012-09-05
  19810. Tor 0.2.4.1-alpha lets bridges publish their pluggable transports to
  19811. bridgedb; lets relays use IPv6 addresses and directory authorities
  19812. advertise them; and switches to a cleaner build interface.
  19813. This is the first alpha release in a new series, so expect there to
  19814. be bugs. Users who would rather test out a more stable branch should
  19815. stay with 0.2.3.x for now.
  19816. o Major features (bridges):
  19817. - Bridges now report the pluggable transports they support to the
  19818. bridge authority, so it can pass the supported transports on to
  19819. bridgedb and/or eventually do reachability testing. Implements
  19820. ticket 3589.
  19821. o Major features (IPv6):
  19822. - Bridge authorities now accept IPv6 bridge addresses and include
  19823. them in network status documents. Implements ticket 5534.
  19824. - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
  19825. IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
  19826. to happen. Implements ticket 5535.
  19827. - All kind of relays, not just bridges, can now advertise an IPv6
  19828. OR port. Implements ticket 6362.
  19829. - Directory authorities vote on IPv6 OR ports using the new consensus
  19830. method 14. Implements ticket 6363.
  19831. o Major features (build):
  19832. - Switch to a nonrecursive Makefile structure. Now instead of each
  19833. Makefile.am invoking other Makefile.am's, there is a master
  19834. Makefile.am that includes the others. This change makes our build
  19835. process slightly more maintainable, and improves parallelism for
  19836. building with make -j. Original patch by Stewart Smith; various
  19837. fixes by Jim Meyering.
  19838. - Where available, we now use automake's "silent" make rules by
  19839. default, so that warnings are easier to spot. You can get the old
  19840. behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
  19841. o Minor features (code security and spec conformance):
  19842. - Clear keys and key-derived material left on the stack in
  19843. rendservice.c and rendclient.c. Check return value of
  19844. crypto_pk_write_private_key_to_string() in rend_service_load_keys().
  19845. These fixes should make us more forward-secure against cold-boot
  19846. attacks and the like. Fixes bug 2385.
  19847. - Reject EXTEND cells sent to nonexistent streams. According to the
  19848. spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
  19849. we were only checking for stream IDs that were currently in use.
  19850. Found while hunting for more instances of bug 6271. Bugfix on
  19851. 0.0.2pre8, which introduced incremental circuit construction.
  19852. o Minor features (streamlining);
  19853. - No longer include the "opt" prefix when generating routerinfos
  19854. or v2 directories: it has been needless since Tor 0.1.2. Closes
  19855. ticket 5124.
  19856. - Remove some now-needless code that tried to aggressively flush
  19857. OR connections as data was added to them. Since 0.2.0.1-alpha, our
  19858. cell queue logic has saved us from the failure mode that this code
  19859. was supposed to prevent. Removing this code will limit the number
  19860. of baroque control flow paths through Tor's network logic. Reported
  19861. pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
  19862. o Minor features (controller):
  19863. - Add a "GETINFO signal/names" control port command. Implements
  19864. ticket 3842.
  19865. - Provide default values for all options via "GETINFO config/defaults".
  19866. Implements ticket 4971.
  19867. o Minor features (IPv6):
  19868. - New config option "AuthDirHasIPv6Connectivity 1" that directory
  19869. authorities should set if they have IPv6 connectivity and want to
  19870. do reachability tests for IPv6 relays. Implements feature 5974.
  19871. - A relay with an IPv6 OR port now sends that address in NETINFO
  19872. cells (in addition to its other address). Implements ticket 6364.
  19873. o Minor features (log messages):
  19874. - Omit the first heartbeat log message, because it never has anything
  19875. useful to say, and it clutters up the bootstrapping messages.
  19876. Resolves ticket 6758.
  19877. - Don't log about reloading the microdescriptor cache at startup. Our
  19878. bootstrap warnings are supposed to tell the user when there's a
  19879. problem, and our bootstrap notices say when there isn't. Resolves
  19880. ticket 6759; bugfix on 0.2.2.6-alpha.
  19881. - Don't log "I learned some more directory information" when we're
  19882. reading cached directory information. Reserve it for when new
  19883. directory information arrives in response to a fetch. Resolves
  19884. ticket 6760.
  19885. - Prevent rounding error in path bias counts when scaling
  19886. them down, and use the correct scale factor default. Also demote
  19887. some path bias related log messages down a level and make others
  19888. less scary sounding. Fixes bug 6647. Bugfix against 0.2.3.17-beta.
  19889. - We no longer warn so much when generating manpages from their
  19890. asciidoc source.
  19891. o Code simplifications and refactoring:
  19892. - Enhance our internal sscanf replacement so that we can eliminate
  19893. the last remaining uses of the system sscanf. (Though those uses
  19894. of sscanf were safe, sscanf itself is generally error prone, so
  19895. we want to eliminate when we can.) Fixes ticket 4195 and Coverity
  19896. CID 448.
  19897. - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
  19898. - Move last_reachable and testing_since from routerinfo_t to node_t.
  19899. Implements ticket 5529.
  19900. - Add replaycache_t structure, functions and unit tests, then refactor
  19901. rend_service_introduce() to be more clear to read, improve, debug,
  19902. and test. Resolves bug 6177.
  19903. - Finally remove support for malloc_good_size and malloc_usable_size.
  19904. We had hoped that these functions would let us eke a little more
  19905. memory out of our malloc implementation. Unfortunately, the only
  19906. implementations that provided these functions are also ones that
  19907. are already efficient about not overallocation: they never got us
  19908. more than 7 or so bytes per allocation. Removing them saves us a
  19909. little code complexity and a nontrivial amount of build complexity.
  19910. o New requirements:
  19911. - Tor maintainers now require Automake version 1.9 or later to build
  19912. Tor from the Git repository. (Automake is not required when building
  19913. from a source distribution.)
  19914. Changes in version 0.2.3.21-rc - 2012-09-05
  19915. Tor 0.2.3.21-rc is the fourth release candidate for the Tor 0.2.3.x
  19916. series. It fixes a trio of potential security bugs, fixes a bug where
  19917. we were leaving some of the fast relays out of the microdescriptor
  19918. consensus, resumes interpreting "ORPort 0" and "DirPort 0" correctly,
  19919. and cleans up other smaller issues.
  19920. o Major bugfixes (security):
  19921. - Tear down the circuit if we get an unexpected SENDME cell. Clients
  19922. could use this trick to make their circuits receive cells faster
  19923. than our flow control would have allowed, or to gum up the network,
  19924. or possibly to do targeted memory denial-of-service attacks on
  19925. entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
  19926. from July 2002, before the release of Tor 0.0.0. We had committed
  19927. this patch previously, but we had to revert it because of bug 6271.
  19928. Now that 6271 is fixed, this patch appears to work.
  19929. - Reject any attempt to extend to an internal address. Without
  19930. this fix, a router could be used to probe addresses on an internal
  19931. network to see whether they were accepting connections. Fixes bug
  19932. 6710; bugfix on 0.0.8pre1.
  19933. - Do not crash when comparing an address with port value 0 to an
  19934. address policy. This bug could have been used to cause a remote
  19935. assertion failure by or against directory authorities, or to
  19936. allow some applications to crash clients. Fixes bug 6690; bugfix
  19937. on 0.2.1.10-alpha.
  19938. o Major bugfixes:
  19939. - Remove the upper bound on microdescriptor length. We were hitting
  19940. the limit for routers with complex exit policies or family
  19941. declarations, causing clients to not use them. Fixes the first
  19942. piece of bug 6404; fix on 0.2.2.6-alpha.
  19943. - Detect "ORPort 0" as meaning, uniformly, that we're not running
  19944. as a relay. Previously, some of our code would treat the presence
  19945. of any ORPort line as meaning that we should act like a relay,
  19946. even though our new listener code would correctly not open any
  19947. ORPorts for ORPort 0. Similar bugs in other Port options are also
  19948. fixed. Fixes the first half of bug 6507; bugfix on 0.2.3.3-alpha.
  19949. o Minor bugfixes:
  19950. - Avoid a pair of double-free and use-after-mark bugs that can
  19951. occur with certain timings in canceled and re-received DNS
  19952. requests. Fixes bug 6472; bugfix on 0.0.7rc1.
  19953. - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
  19954. Fixes bug 6379. Bugfix on 0.2.0.20-rc.
  19955. - Allow one-hop directory fetching circuits the full "circuit build
  19956. timeout" period, rather than just half of it, before failing them
  19957. and marking the relay down. This fix should help reduce cases where
  19958. clients declare relays (or worse, bridges) unreachable because
  19959. the TLS handshake takes a few seconds to complete. Fixes bug 6743;
  19960. bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
  19961. 30 seconds.
  19962. - Authorities no longer include any router in their microdescriptor
  19963. consensuses for which they couldn't generate or agree on a
  19964. microdescriptor. Fixes the second piece of bug 6404; fix on
  19965. 0.2.2.6-alpha.
  19966. - Detect and reject attempts to specify both "FooPort" and
  19967. "FooPort 0" in the same configuration domain. (It's still okay
  19968. to have a FooPort in your configuration file, and use "FooPort 0"
  19969. on the command line to disable it.) Fixes the second half of bug
  19970. 6507; bugfix on 0.2.3.3-alpha.
  19971. - Make wildcarded addresses (that is, ones beginning with "*.") work
  19972. when provided via the controller's MapAddress command. Previously,
  19973. they were accepted, but we never actually noticed that they were
  19974. wildcards. Fixes bug 6244; bugfix on 0.2.3.9-alpha.
  19975. - Avoid crashing on a malformed state file where EntryGuardPathBias
  19976. precedes EntryGuard. Fix for bug 6774; bugfix on 0.2.3.17-beta.
  19977. - Add a (probably redundant) memory clear between iterations of
  19978. the router status voting loop, to prevent future coding errors
  19979. where data might leak between iterations of the loop. Resolves
  19980. ticket 6514.
  19981. o Minor bugfixes (log messages):
  19982. - Downgrade "set buildtimeout to low value" messages to "info"
  19983. severity; they were never an actual problem, there was never
  19984. anything reasonable to do about them, and they tended to spam logs
  19985. from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
  19986. - Downgrade path-bias warning messages to "info". We'll try to get
  19987. them working better in 0.2.4. Add internal circuit construction
  19988. state to protect against the noisy warn message "Unexpectedly high
  19989. circuit_successes". Also add some additional rate-limited notice
  19990. messages to help determine the root cause of the warn. Fixes bug
  19991. 6475. Bugfix against 0.2.3.17-beta.
  19992. - Move log message when unable to find a microdesc in a routerstatus
  19993. entry to parse time. Previously we'd spam this warning every time
  19994. we tried to figure out which microdescriptors to download. Fixes
  19995. the third piece of bug 6404; fix on 0.2.3.18-rc.
  19996. o Minor features:
  19997. - Consider new, removed or changed IPv6 OR ports a non-cosmetic
  19998. change when the authority is deciding whether to accept a newly
  19999. uploaded descriptor. Implements ticket 6423.
  20000. - Add missing documentation for consensus and microdesc files.
  20001. Resolves ticket 6732.
  20002. Changes in version 0.2.2.38 - 2012-08-12
  20003. Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
  20004. attack that could in theory leak path information.
  20005. o Security fixes:
  20006. - Avoid an uninitialized memory read when reading a vote or consensus
  20007. document that has an unrecognized flavor name. This read could
  20008. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  20009. - Try to leak less information about what relays a client is
  20010. choosing to a side-channel attacker. Previously, a Tor client would
  20011. stop iterating through the list of available relays as soon as it
  20012. had chosen one, thus finishing a little earlier when it picked
  20013. a router earlier in the list. If an attacker can recover this
  20014. timing information (nontrivial but not proven to be impossible),
  20015. they could learn some coarse-grained information about which relays
  20016. a client was picking (middle nodes in particular are likelier to
  20017. be affected than exits). The timing attack might be mitigated by
  20018. other factors (see bug 6537 for some discussion), but it's best
  20019. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  20020. Changes in version 0.2.3.20-rc - 2012-08-05
  20021. Tor 0.2.3.20-rc is the third release candidate for the Tor 0.2.3.x
  20022. series. It fixes a pair of code security bugs and a potential anonymity
  20023. issue, updates our RPM spec files, and cleans up other smaller issues.
  20024. o Security fixes:
  20025. - Avoid read-from-freed-memory and double-free bugs that could occur
  20026. when a DNS request fails while launching it. Fixes bug 6480;
  20027. bugfix on 0.2.0.1-alpha.
  20028. - Avoid an uninitialized memory read when reading a vote or consensus
  20029. document that has an unrecognized flavor name. This read could
  20030. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  20031. - Try to leak less information about what relays a client is
  20032. choosing to a side-channel attacker. Previously, a Tor client would
  20033. stop iterating through the list of available relays as soon as it
  20034. had chosen one, thus finishing a little earlier when it picked
  20035. a router earlier in the list. If an attacker can recover this
  20036. timing information (nontrivial but not proven to be impossible),
  20037. they could learn some coarse-grained information about which relays
  20038. a client was picking (middle nodes in particular are likelier to
  20039. be affected than exits). The timing attack might be mitigated by
  20040. other factors (see bug 6537 for some discussion), but it's best
  20041. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  20042. o Minor features:
  20043. - Try to make the warning when giving an obsolete SOCKSListenAddress
  20044. a little more useful.
  20045. - Terminate active server managed proxies if Tor stops being a
  20046. relay. Addresses parts of bug 6274; bugfix on 0.2.3.6-alpha.
  20047. - Provide a better error message about possible OSX Asciidoc failure
  20048. reasons. Fixes bug 6436.
  20049. - Warn when Tor is configured to use accounting in a way that can
  20050. link a hidden service to some other hidden service or public
  20051. address. Resolves ticket 6490.
  20052. o Minor bugfixes:
  20053. - Check return value of fputs() when writing authority certificate
  20054. file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
  20055. - Ignore ServerTransportPlugin lines when Tor is not configured as
  20056. a relay. Fixes bug 6274; bugfix on 0.2.3.6-alpha.
  20057. - When disabling guards for having too high a proportion of failed
  20058. circuits, make sure to look at each guard. Fixes bug 6397; bugfix
  20059. on 0.2.3.17-beta.
  20060. o Packaging (RPM):
  20061. - Update our default RPM spec files to work with mock and rpmbuild
  20062. on RHEL/Fedora. They have an updated set of dependencies and
  20063. conflicts, a fix for an ancient typo when creating the "_tor"
  20064. user, and better instructions. Thanks to Ondrej Mikle for the
  20065. patch series. Fixes bug 6043.
  20066. o Testing:
  20067. - Make it possible to set the TestingTorNetwork configuration
  20068. option using AlternateDirAuthority and AlternateBridgeAuthority
  20069. as an alternative to setting DirServer. Addresses ticket 6377.
  20070. o Documentation:
  20071. - Clarify the documentation for the Alternate*Authority options.
  20072. Fixes bug 6387.
  20073. - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
  20074. o Code simplification and refactoring:
  20075. - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
  20076. 10 lines. Also, don't nest them. Doing so in the past has
  20077. led to hard-to-debug code. The new style is to use the
  20078. SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
  20079. Changes in version 0.2.3.19-rc - 2012-07-06
  20080. Tor 0.2.3.19-rc is the second release candidate for the Tor 0.2.3.x
  20081. series. It fixes the compile on Windows, reverts to a GeoIP database
  20082. that isn't as broken, and fixes a flow control bug that has been around
  20083. since the beginning of Tor.
  20084. o Major bugfixes:
  20085. - Fix a bug handling SENDME cells on nonexistent streams that could
  20086. result in bizarre window values. Report and patch contributed
  20087. pseudonymously. Fixes part of bug 6271. This bug was introduced
  20088. before the first Tor release, in svn commit r152.
  20089. - Revert to the May 1 2012 Maxmind GeoLite Country database. In the
  20090. June 2012 database, Maxmind marked many Tor relays as country "A1",
  20091. which will cause risky behavior for clients that set EntryNodes
  20092. or ExitNodes. Addresses bug 6334; bugfix on 0.2.3.17-beta.
  20093. - Instead of ENOBUFS on Windows, say WSAENOBUFS. Fixes compilation
  20094. on Windows. Fixes bug 6296; bugfix on 0.2.3.18-rc.
  20095. o Minor bugfixes:
  20096. - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
  20097. bugfix on 0.2.1.10-alpha.
  20098. Changes in version 0.2.3.18-rc - 2012-06-28
  20099. Tor 0.2.3.18-rc is the first release candidate for the Tor 0.2.3.x
  20100. series. It fixes a few smaller bugs, but generally appears stable.
  20101. Please test it and let us know whether it is!
  20102. o Major bugfixes:
  20103. - Allow wildcarded mapaddress targets to be specified on the
  20104. controlport. Partially fixes bug 6244; bugfix on 0.2.3.9-alpha.
  20105. - Make our linker option detection code more robust against linkers
  20106. such as on FreeBSD 8, where a bad combination of options completes
  20107. successfully but makes an unrunnable binary. Fixes bug 6173;
  20108. bugfix on 0.2.3.17-beta.
  20109. o Minor bugfixes (on 0.2.2.x and earlier):
  20110. - Avoid a false positive in the util/threads unit test by increasing
  20111. the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
  20112. - Replace "Sending publish request" log messages with "Launching
  20113. upload", so that they no longer confusingly imply that we're
  20114. sending something to a directory we might not even be connected
  20115. to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
  20116. - Make sure to set *socket_error in all error cases in
  20117. connection_connect(), so it can't produce a warning about
  20118. errno being zero from errno_to_orconn_end_reason(). Bugfix on
  20119. 0.2.1.1-alpha; resolves ticket 6028.
  20120. - Downgrade "Got a certificate, but we already have it" log messages
  20121. from warning to info, except when we're a dirauth. Fixes bug 5238;
  20122. bugfix on 0.2.1.7-alpha.
  20123. - When checking for requested signatures on the latest consensus
  20124. before serving it to a client, make sure to check the right
  20125. consensus flavor. Bugfix on 0.2.2.6-alpha.
  20126. - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
  20127. Fixes bug 5932; bugfix on 0.2.2.7-alpha.
  20128. o Minor bugfixes (on 0.2.3.x):
  20129. - Make format_helper_exit_status() avoid unnecessary space padding
  20130. and stop confusing log_from_pipe(). Fixes ticket 5557; bugfix
  20131. on 0.2.3.1-alpha.
  20132. - Downgrade a message about cleaning the microdescriptor cache to
  20133. "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
  20134. - Log a BUG message at severity INFO if we have a networkstatus with
  20135. a missing entry for some microdescriptor. Continues on a patch
  20136. to 0.2.3.2-alpha.
  20137. - Improve the log message when a managed proxy fails to launch. Fixes
  20138. bug 5099; bugfix on 0.2.3.6-alpha.
  20139. - Don't do DNS lookups when parsing corrupted managed proxy protocol
  20140. messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
  20141. - When formatting wildcarded address mappings for the controller,
  20142. be sure to include "*." as appropriate. Partially fixes bug 6244;
  20143. bugfix on 0.2.3.9-alpha.
  20144. - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
  20145. Bugfix on 0.2.3.13-alpha.
  20146. - Stop logging messages about running with circuit timeout learning
  20147. enabled at severity LD_BUG. Fixes bug 6169; bugfix on 0.2.3.17-beta.
  20148. - Disable a spurious warning about reading on a marked and flushing
  20149. connection. We shouldn't be doing that, but apparently we
  20150. sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
  20151. - Fix a bug that stopped AllowDotExit from working on addresses
  20152. that had an entry in the DNS cache. Fixes bug 6211; bugfix on
  20153. 0.2.3.17-beta.
  20154. o Code simplification, refactoring, unit tests:
  20155. - Move tor_gettimeofday_cached() into compat_libevent.c, and use
  20156. Libevent's notion of cached time when possible.
  20157. - Remove duplicate code for invoking getrlimit() from control.c.
  20158. - Add a unit test for the environment_variable_names_equal function.
  20159. o Documentation:
  20160. - Document the --defaults-torrc option, and the new (in 0.2.3)
  20161. semantics for overriding, extending, and clearing lists of
  20162. options. Closes bug 4748.
  20163. Changes in version 0.2.3.17-beta - 2012-06-15
  20164. Tor 0.2.3.17-beta enables compiler and linker hardening by default,
  20165. gets our TLS handshake back on track for being able to blend in with
  20166. Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
  20167. with Vidalia, and otherwise continues to get us closer to a release
  20168. candidate.
  20169. o Major features:
  20170. - Enable gcc and ld hardening by default. Resolves ticket 5210.
  20171. - Update TLS cipher list to match Firefox 8 and later. Resolves
  20172. ticket 4744.
  20173. - Implement the client side of proposal 198: remove support for
  20174. clients falsely claiming to support standard ciphersuites that
  20175. they can actually provide. As of modern OpenSSL versions, it's not
  20176. necessary to fake any standard ciphersuite, and doing so prevents
  20177. us from using better ciphersuites in the future, since servers
  20178. can't know whether an advertised ciphersuite is really supported or
  20179. not. Some hosts -- notably, ones with very old versions of OpenSSL
  20180. or where OpenSSL has been built with ECC disabled -- will stand
  20181. out because of this change; TBB users should not be affected.
  20182. o Major bugfixes:
  20183. - Change the default value for DynamicDHGroups (introduced in
  20184. 0.2.3.9-alpha) to 0. This feature can make Tor relays less
  20185. identifiable by their use of the mod_ssl DH group, but at
  20186. the cost of some usability (#4721) and bridge tracing (#6087)
  20187. regressions. Resolves ticket 5598.
  20188. - Send a CRLF at the end of each STATUS_* control protocol event. This
  20189. bug tickled a bug in Vidalia which would make it freeze. Fixes
  20190. bug 6094; bugfix on 0.2.3.16-alpha.
  20191. o Minor bugfixes:
  20192. - Disable writing on marked-for-close connections when they are
  20193. blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
  20194. bug 5263; bugfix on 0.0.2pre13, where we first added a special
  20195. case for flushing marked connections.
  20196. - Detect SSL handshake even when the initial attempt to write the
  20197. server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
  20198. - Change the AllowDotExit rules so they should actually work.
  20199. We now enforce AllowDotExit only immediately after receiving an
  20200. address via SOCKS or DNSPort: other sources are free to provide
  20201. .exit addresses after the resolution occurs. Fixes bug 3940;
  20202. bugfix on 0.2.2.1-alpha.
  20203. - Fix a (harmless) integer overflow in cell statistics reported by
  20204. some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
  20205. - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
  20206. right places and never depends on the consensus parameters or
  20207. computes adaptive timeouts when it is disabled. Fixes bug 5049;
  20208. bugfix on 0.2.2.14-alpha.
  20209. - When building Tor on Windows with -DUNICODE (not default), ensure
  20210. that error messages, filenames, and DNS server names are always
  20211. NUL-terminated when we convert them to a single-byte encoding.
  20212. Fixes bug 5909; bugfix on 0.2.2.16-alpha.
  20213. - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
  20214. Fixes bug 6097; bugfix on 0.2.2.16-alpha.
  20215. - Fix an edge case where TestingTorNetwork is set but the authorities
  20216. and relays all have an uptime of zero, where the private Tor network
  20217. could briefly lack support for hidden services. Fixes bug 3886;
  20218. bugfix on 0.2.2.18-alpha.
  20219. - Correct the manpage's descriptions for the default values of
  20220. DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
  20221. on 0.2.3.1-alpha.
  20222. - Fix the documentation for the --hush and --quiet command line
  20223. options, which changed their behavior back in 0.2.3.3-alpha.
  20224. - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
  20225. 0.2.3.11-alpha.
  20226. o Minor features:
  20227. - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
  20228. more information to it, so that we can track it down in case it
  20229. returns again. Mitigates bug 5235.
  20230. - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
  20231. options_validate(); warn if LearnCircuitBuildTimeout is disabled and
  20232. CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
  20233. - Warn the user when HTTPProxy, but no other proxy type, is
  20234. configured. This can cause surprising behavior: it doesn't send
  20235. all of Tor's traffic over the HTTPProxy -- it sends unencrypted
  20236. directory traffic only. Resolves ticket 4663.
  20237. - Issue a notice if a guard completes less than 40% of your circuits.
  20238. Threshold is configurable by torrc option PathBiasNoticeRate and
  20239. consensus parameter pb_noticepct. There is additional, off-by-
  20240. default code to disable guards which fail too many circuits.
  20241. Addresses ticket 5458.
  20242. - Update to the June 6 2012 Maxmind GeoLite Country database.
  20243. o Code simplifications and refactoring:
  20244. - Remove validate_pluggable_transports_config(): its warning
  20245. message is now handled by connection_or_connect().
  20246. Changes in version 0.2.2.37 - 2012-06-06
  20247. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  20248. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  20249. currently).
  20250. o Major bugfixes:
  20251. - Work around a bug in OpenSSL that broke renegotiation with TLS
  20252. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  20253. the v2 Tor connection protocol when both sides were using OpenSSL
  20254. 1.0.1 would fail. Resolves ticket 6033.
  20255. - When waiting for a client to renegotiate, don't allow it to add
  20256. any bytes to the input buffer. This fixes a potential DoS issue.
  20257. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  20258. - Fix an edge case where if we fetch or publish a hidden service
  20259. descriptor, we might build a 4-hop circuit and then use that circuit
  20260. for exiting afterwards -- even if the new last hop doesn't obey our
  20261. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  20262. o Minor bugfixes:
  20263. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  20264. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  20265. o Minor features:
  20266. - Tell GCC and Clang to check for any errors in format strings passed
  20267. to the tor_v*(print|scan)f functions.
  20268. Changes in version 0.2.3.16-alpha - 2012-06-05
  20269. Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
  20270. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  20271. currently). It also fixes a variety of smaller bugs and other cleanups
  20272. that get us closer to a release candidate.
  20273. o Major bugfixes (general):
  20274. - Work around a bug in OpenSSL that broke renegotiation with TLS
  20275. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  20276. the v2 Tor connection protocol when both sides were using OpenSSL
  20277. 1.0.1 would fail. Resolves ticket 6033.
  20278. - When waiting for a client to renegotiate, don't allow it to add
  20279. any bytes to the input buffer. This fixes a potential DoS issue.
  20280. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  20281. - Pass correct OR address to managed proxies (like obfsproxy),
  20282. even when ORListenAddress is used. Fixes bug 4865; bugfix on
  20283. 0.2.3.9-alpha.
  20284. - The advertised platform of a router now includes only its operating
  20285. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
  20286. service pack level (for Windows) or its CPU architecture (for Unix).
  20287. We also no longer include the "git-XYZ" tag in the version. Resolves
  20288. part of bug 2988.
  20289. o Major bugfixes (clients):
  20290. - If we are unable to find any exit that supports our predicted ports,
  20291. stop calling them predicted, so that we don't loop and build
  20292. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  20293. which introduced predicted ports.
  20294. - Fix an edge case where if we fetch or publish a hidden service
  20295. descriptor, we might build a 4-hop circuit and then use that circuit
  20296. for exiting afterwards -- even if the new last hop doesn't obey our
  20297. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  20298. - Check at each new consensus whether our entry guards were picked
  20299. long enough ago that we should rotate them. Previously, we only
  20300. did this check at startup, which could lead to us holding a guard
  20301. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  20302. - When fetching a bridge descriptor from a bridge authority,
  20303. always do so anonymously, whether we have been able to open
  20304. circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
  20305. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  20306. but we'll need to wait for bug 6010 before it's actually usable.
  20307. o Major bugfixes (directory authorities):
  20308. - When computing weight parameters, behave more robustly in the
  20309. presence of a bad bwweightscale value. Previously, the authorities
  20310. would crash if they agreed on a sufficiently broken weight_scale
  20311. value: now, they use a reasonable default and carry on. Partial
  20312. fix for 5786; bugfix on 0.2.2.17-alpha.
  20313. - Check more thoroughly to prevent a rogue authority from
  20314. double-voting on any consensus directory parameter. Previously,
  20315. authorities would crash in this case if the total number of
  20316. votes for any parameter exceeded the number of active voters,
  20317. but would let it pass otherwise. Partial fix for bug 5786; bugfix
  20318. on 0.2.2.2-alpha.
  20319. o Minor features:
  20320. - Rate-limit log messages when asked to connect anonymously to
  20321. a private address. When these hit, they tended to hit fast and
  20322. often. Also, don't bother trying to connect to addresses that we
  20323. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  20324. reply makes us think we have been lied to, even when the address the
  20325. client tried to connect to was "localhost." Resolves ticket 2822.
  20326. - Allow packagers to insert an extra string in server descriptor
  20327. platform lines by setting the preprocessor variable TOR_BUILD_TAG.
  20328. Resolves the rest of ticket 2988.
  20329. - Raise the threshold of server descriptors needed (75%) and exit
  20330. server descriptors needed (50%) before we will declare ourselves
  20331. bootstrapped. This will make clients start building circuits a
  20332. little later, but makes the initially constructed circuits less
  20333. skewed and less in conflict with further directory fetches. Fixes
  20334. ticket 3196.
  20335. - Close any connection that sends unrecognized junk before the
  20336. handshake. Solves an issue noted in bug 4369.
  20337. - Improve log messages about managed transports. Resolves ticket 5070.
  20338. - Tag a bridge's descriptor as "never to be sent unencrypted".
  20339. This shouldn't matter, since bridges don't open non-anonymous
  20340. connections to the bridge authority and don't allow unencrypted
  20341. directory connections from clients, but we might as well make
  20342. sure. Closes bug 5139.
  20343. - Expose our view of whether we have gone dormant to the controller,
  20344. via a new "GETINFO dormant" value. Torbutton and other controllers
  20345. can use this to avoid doing periodic requests through Tor while
  20346. it's dormant (bug 4718). Fixes bug 5954.
  20347. - Tell GCC and Clang to check for any errors in format strings passed
  20348. to the tor_v*(print|scan)f functions.
  20349. - Update to the May 1 2012 Maxmind GeoLite Country database.
  20350. o Minor bugfixes (already included in 0.2.2.36):
  20351. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  20352. Fixes bug 5346; bugfix on 0.0.8pre3.
  20353. - Correct parsing of certain date types in parse_http_time().
  20354. Without this patch, If-Modified-Since would behave
  20355. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  20356. Esteban Manchado Velázques.
  20357. - Make our number-parsing functions always treat too-large values
  20358. as an error, even when those values exceed the width of the
  20359. underlying type. Previously, if the caller provided these
  20360. functions with minima or maxima set to the extreme values of the
  20361. underlying integer type, these functions would return those
  20362. values on overflow rather than treating overflow as an error.
  20363. Fixes part of bug 5786; bugfix on 0.0.9.
  20364. - If we hit the error case where routerlist_insert() replaces an
  20365. existing (old) server descriptor, make sure to remove that
  20366. server descriptor from the old_routers list. Fix related to bug
  20367. 1776. Bugfix on 0.2.2.18-alpha.
  20368. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  20369. circuits. Fixes issue 5259.
  20370. o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
  20371. - Prevent a null-pointer dereference when receiving a data cell
  20372. for a nonexistent stream when the circuit in question has an
  20373. empty deliver window. We don't believe this is triggerable,
  20374. since we don't currently allow deliver windows to become empty,
  20375. but the logic is tricky enough that it's better to make the code
  20376. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  20377. - Fix a memory leak when trying to launch a DNS request when the
  20378. network is disabled or the nameservers are unconfigurable. Fixes
  20379. bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
  20380. nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
  20381. - Don't hold a Windows file handle open for every file mapping;
  20382. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  20383. 0.1.2.1-alpha.
  20384. - Avoid O(n^2) performance characteristics when parsing a large
  20385. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  20386. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  20387. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  20388. Tor 0.2.0.8-alpha.
  20389. - Make our replacement implementation of strtok_r() compatible with
  20390. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  20391. bugfix on 0.2.2.1-alpha.
  20392. - Fix a NULL-pointer dereference on a badly formed
  20393. SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
  20394. bugfix on 0.2.2.9-alpha.
  20395. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  20396. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  20397. - Defensively refactor rend_mid_rendezvous() so that protocol
  20398. violations and length checks happen in the beginning. Fixes
  20399. bug 5645.
  20400. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  20401. that IPv6 stuff will compile on MSVC, and compilation issues
  20402. will be easier to track down. Fixes bug 5861.
  20403. o Minor bugfixes (correctness, on 0.2.2.x and earlier):
  20404. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  20405. resource exhaustion, so that clients can adjust their load to
  20406. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  20407. started using END_STREAM_REASON_RESOURCELIMIT.
  20408. - Don't check for whether the address we're using for outbound
  20409. connections has changed until after the outbound connection has
  20410. completed. On Windows, getsockname() doesn't succeed until the
  20411. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  20412. - If the configuration tries to set MyFamily on a bridge, refuse to
  20413. do so, and warn about the security implications. Fixes bug 4657;
  20414. bugfix on 0.2.0.3-alpha.
  20415. - If the client fails to set a reasonable set of ciphersuites
  20416. during its v2 handshake renegotiation, allow the renegotiation to
  20417. continue nevertheless (i.e. send all the required certificates).
  20418. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  20419. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  20420. option is set to 0 (which Vidalia version 0.2.16 now does when
  20421. a SAVECONF attempt fails), perform other actions that SIGHUP
  20422. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  20423. on 0.2.1.9-alpha.
  20424. - If we fail to write a microdescriptor to the disk cache, do not
  20425. continue replacing the old microdescriptor file. Fixes bug 2954;
  20426. bugfix on 0.2.2.6-alpha.
  20427. - Exit nodes don't need to fetch certificates for authorities that
  20428. they don't recognize; only directory authorities, bridges,
  20429. and caches need to do that. Fixes part of bug 2297; bugfix on
  20430. 0.2.2.11-alpha.
  20431. - Correctly handle checking the permissions on the parent
  20432. directory of a control socket in the root directory. Bug found
  20433. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  20434. 0.2.2.26-beta.
  20435. - When told to add a bridge with the same digest as a preexisting
  20436. bridge but a different addr:port, change the addr:port as
  20437. requested. Previously we would not notice the change. Fixes half
  20438. of bug 5603; fix on 0.2.2.26-beta.
  20439. - End AUTHCHALLENGE error messages (in the control protocol) with
  20440. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
  20441. o Minor bugfixes (on 0.2.3.x):
  20442. - Turn an assertion (that the number of handshakes received as a
  20443. server is not < 1) into a warning. Fixes bug 4873; bugfix on
  20444. 0.2.3.1-alpha.
  20445. - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
  20446. we had reversed them when the answer was cached.) Fixes bug
  20447. 5723; bugfix on 0.2.3.1-alpha.
  20448. - Work correctly on Linux systems with accept4 support advertised in
  20449. their headers, but without accept4 support in the kernel. Fix
  20450. by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
  20451. - When told to add a bridge with the same addr:port as a preexisting
  20452. bridge but a different transport, change the transport as
  20453. requested. Previously we would not notice the change. Fixes half
  20454. of bug 5603; fix on 0.2.3.2-alpha.
  20455. - Avoid a "double-reply" warning when replying to a SOCKS request
  20456. with a parse error. Patch from Fabian Keil. Fixes bug 4108;
  20457. bugfix on 0.2.3.4-alpha.
  20458. - Fix a bug where a bridge authority crashes if it has seen no
  20459. directory requests when it's time to write statistics to disk.
  20460. Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
  20461. a better way.
  20462. - Don't try to open non-control listeners when DisableNetwork is set.
  20463. Previously, we'd open all listeners, then immediately close them.
  20464. Fixes bug 5604; bugfix on 0.2.3.9-alpha.
  20465. - Don't abort the managed proxy protocol if the managed proxy
  20466. sends us an unrecognized line; ignore it instead. Fixes bug
  20467. 5910; bugfix on 0.2.3.9-alpha.
  20468. - Fix a compile warning in crypto.c when compiling with clang 3.1.
  20469. Fixes bug 5969, bugfix on 0.2.3.9-alpha.
  20470. - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
  20471. Fixes bug 5355; bugfix on 0.2.3.11-alpha.
  20472. - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
  20473. unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
  20474. - Resolve numerous small warnings and build issues with MSVC. Resolves
  20475. bug 5859.
  20476. o Documentation fixes:
  20477. - Improve the manual's documentation for the NT Service command-line
  20478. options. Addresses ticket 3964.
  20479. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  20480. - Document the changes to the ORPort and DirPort options, and the
  20481. fact that {OR/Dir}ListenAddress is now unnecessary (and
  20482. therefore deprecated). Resolves ticket 5597.
  20483. o Removed files:
  20484. - Remove the torrc.bridge file: we don't use it for anything, and
  20485. it had become badly desynchronized from torrc.sample. Resolves
  20486. bug 5622.
  20487. Changes in version 0.2.2.36 - 2012-05-24
  20488. Tor 0.2.2.36 updates the addresses for two of the eight directory
  20489. authorities, fixes some potential anonymity and security issues,
  20490. and fixes several crash bugs.
  20491. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  20492. known flaws, and nobody should be using them. You should upgrade. If
  20493. you're using a Linux or BSD and its packages are obsolete, stop using
  20494. those packages and upgrade anyway.
  20495. o Directory authority changes:
  20496. - Change IP address for maatuska (v3 directory authority).
  20497. - Change IP address for ides (v3 directory authority), and rename
  20498. it to turtles.
  20499. o Security fixes:
  20500. - When building or running with any version of OpenSSL earlier
  20501. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  20502. versions have a bug (CVE-2011-4576) in which their block cipher
  20503. padding includes uninitialized data, potentially leaking sensitive
  20504. information to any peer with whom they make a SSLv3 connection. Tor
  20505. does not use SSL v3 by default, but a hostile client or server
  20506. could force an SSLv3 connection in order to gain information that
  20507. they shouldn't have been able to get. The best solution here is to
  20508. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  20509. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  20510. to make sure that the bug can't happen.
  20511. - Never use a bridge or a controller-supplied node as an exit, even
  20512. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  20513. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  20514. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  20515. - Only build circuits if we have a sufficient threshold of the total
  20516. descriptors that are marked in the consensus with the "Exit"
  20517. flag. This mitigates an attack proposed by wanoskarnet, in which
  20518. all of a client's bridges collude to restrict the exit nodes that
  20519. the client knows about. Fixes bug 5343.
  20520. - Provide controllers with a safer way to implement the cookie
  20521. authentication mechanism. With the old method, if another locally
  20522. running program could convince a controller that it was the Tor
  20523. process, then that program could trick the controller into telling
  20524. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  20525. authentication method uses a challenge-response approach to prevent
  20526. this attack. Fixes bug 5185; implements proposal 193.
  20527. o Major bugfixes:
  20528. - Avoid logging uninitialized data when unable to decode a hidden
  20529. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  20530. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  20531. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  20532. 0.2.1.6-alpha.
  20533. - Fix builds when the path to sed, openssl, or sha1sum contains
  20534. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  20535. on 0.2.2.1-alpha.
  20536. - Correct our replacements for the timeradd() and timersub() functions
  20537. on platforms that lack them (for example, Windows). The timersub()
  20538. function is used when expiring circuits, while timeradd() is
  20539. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  20540. bugfix on 0.2.2.24-alpha.
  20541. - Fix the SOCKET_OK test that we use to tell when socket
  20542. creation fails so that it works on Win64. Fixes part of bug 4533;
  20543. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  20544. o Minor bugfixes:
  20545. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  20546. Fixes bug 5346; bugfix on 0.0.8pre3.
  20547. - Make our number-parsing functions always treat too-large values
  20548. as an error, even when those values exceed the width of the
  20549. underlying type. Previously, if the caller provided these
  20550. functions with minima or maxima set to the extreme values of the
  20551. underlying integer type, these functions would return those
  20552. values on overflow rather than treating overflow as an error.
  20553. Fixes part of bug 5786; bugfix on 0.0.9.
  20554. - Older Linux kernels erroneously respond to strange nmap behavior
  20555. by having accept() return successfully with a zero-length
  20556. socket. When this happens, just close the connection. Previously,
  20557. we would try harder to learn the remote address: but there was
  20558. no such remote address to learn, and our method for trying to
  20559. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  20560. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  20561. - Correct parsing of certain date types in parse_http_time().
  20562. Without this patch, If-Modified-Since would behave
  20563. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  20564. Esteban Manchado Velázques.
  20565. - Change the BridgePassword feature (part of the "bridge community"
  20566. design, which is not yet implemented) to use a time-independent
  20567. comparison. The old behavior might have allowed an adversary
  20568. to use timing to guess the BridgePassword value. Fixes bug 5543;
  20569. bugfix on 0.2.0.14-alpha.
  20570. - Detect and reject certain misformed escape sequences in
  20571. configuration values. Previously, these values would cause us
  20572. to crash if received in a torrc file or over an authenticated
  20573. control port. Bug found by Esteban Manchado Velázquez, and
  20574. independently by Robert Connolly from Matta Consulting who further
  20575. noted that it allows a post-authentication heap overflow. Patch
  20576. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  20577. bugfix on 0.2.0.16-alpha.
  20578. - Fix a compile warning when using the --enable-openbsd-malloc
  20579. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  20580. - During configure, detect when we're building with clang version
  20581. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  20582. CFLAGS. clang doesn't support them yet.
  20583. - When sending an HTTP/1.1 proxy request, include a Host header.
  20584. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  20585. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  20586. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  20587. - If we hit the error case where routerlist_insert() replaces an
  20588. existing (old) server descriptor, make sure to remove that
  20589. server descriptor from the old_routers list. Fix related to bug
  20590. 1776. Bugfix on 0.2.2.18-alpha.
  20591. o Minor bugfixes (documentation and log messages):
  20592. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  20593. Fixes bug 4856; bugfix on Tor 0.0.6.
  20594. - Update "ClientOnly" man page entry to explain that there isn't
  20595. really any point to messing with it. Resolves ticket 5005.
  20596. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  20597. directory authority option (introduced in Tor 0.2.2.34).
  20598. - Downgrade the "We're missing a certificate" message from notice
  20599. to info: people kept mistaking it for a real problem, whereas it
  20600. is seldom the problem even when we are failing to bootstrap. Fixes
  20601. bug 5067; bugfix on 0.2.0.10-alpha.
  20602. - Correctly spell "connect" in a log message on failure to create a
  20603. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  20604. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  20605. circuits. Fixes issue 5259.
  20606. o Minor features:
  20607. - Directory authorities now reject versions of Tor older than
  20608. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  20609. inclusive. These versions accounted for only a small fraction of
  20610. the Tor network, and have numerous known security issues. Resolves
  20611. issue 4788.
  20612. - Update to the May 1 2012 Maxmind GeoLite Country database.
  20613. o Feature removal:
  20614. - When sending or relaying a RELAY_EARLY cell, we used to convert
  20615. it to a RELAY cell if the connection was using the v1 link
  20616. protocol. This was a workaround for older versions of Tor, which
  20617. didn't handle RELAY_EARLY cells properly. Now that all supported
  20618. versions can handle RELAY_EARLY cells, and now that we're enforcing
  20619. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  20620. remove this workaround. Addresses bug 4786.
  20621. Changes in version 0.2.3.15-alpha - 2012-04-30
  20622. Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
  20623. the development branch build on Windows again.
  20624. o Minor bugfixes (on 0.2.2.x and earlier):
  20625. - Make sure that there are no unhandled pending TLS errors before
  20626. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  20627. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  20628. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  20629. - Fix an assert that directory authorities could trigger on sighup
  20630. during some configuration state transitions. We now don't treat
  20631. it as a fatal error when the new descriptor we just generated in
  20632. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  20633. - After we pick a directory mirror, we would refuse to use it if
  20634. it's in our ExcludeExitNodes list, resulting in mysterious failures
  20635. to bootstrap for people who just wanted to avoid exiting from
  20636. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  20637. - When building with --enable-static-tor on OpenBSD, do not
  20638. erroneously attempt to link -lrt. Fixes bug 5103.
  20639. o Minor bugfixes (on 0.2.3.x):
  20640. - When Tor is built with kernel headers from a recent (last few
  20641. years) Linux kernel, do not fail to run on older (pre-2.6.28
  20642. Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
  20643. - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
  20644. and 0.2.3.12-alpha.
  20645. - Fix compilation with miniupnpc version 1.6; patch from
  20646. Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
  20647. - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
  20648. on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
  20649. - Fix compilation on platforms without unistd.h, or where environ
  20650. is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
  20651. o Minor features:
  20652. - Directory authorities are now a little more lenient at accepting
  20653. older router descriptors, or newer router descriptors that don't
  20654. make big changes. This should help ameliorate past and future
  20655. issues where routers think they have uploaded valid descriptors,
  20656. but the authorities don't think so. Fix for ticket 2479.
  20657. - Make the code that clients use to detect an address change be
  20658. IPv6-aware, so that it won't fill clients' logs with error
  20659. messages when trying to get the IPv4 address of an IPv6
  20660. connection. Implements ticket 5537.
  20661. o Removed features:
  20662. - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
  20663. authorities needed to use it for a while to keep the network working
  20664. as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
  20665. that was six months ago. As of now, it should no longer be needed
  20666. or used.
  20667. Changes in version 0.2.3.14-alpha - 2012-04-23
  20668. Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
  20669. candidate. It also dramatically speeds up AES: fast relays should
  20670. consider switching to the newer OpenSSL library.
  20671. o Directory authority changes:
  20672. - Change IP address for ides (v3 directory authority), and rename
  20673. it to turtles.
  20674. o Major bugfixes:
  20675. - Avoid logging uninitialized data when unable to decode a hidden
  20676. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  20677. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  20678. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  20679. 0.2.1.6-alpha.
  20680. - If authorities are unable to get a v2 consensus document from other
  20681. directory authorities, they no longer fall back to fetching
  20682. them from regular directory caches. Fixes bug 5635; bugfix on
  20683. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  20684. documents entirely.
  20685. - When we start a Tor client with a normal consensus already cached,
  20686. be willing to download a microdescriptor consensus. Fixes bug 4011;
  20687. fix on 0.2.3.1-alpha.
  20688. o Major features (performance):
  20689. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  20690. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  20691. vectorized AES implementations as appropriate. These can be much,
  20692. much faster than other AES implementations.
  20693. o Minor bugfixes (0.2.2.x and earlier):
  20694. - Don't launch more than 10 service-side introduction-point circuits
  20695. for a hidden service in five minutes. Previously, we would consider
  20696. launching more introduction-point circuits if at least one second
  20697. had passed without any introduction-point circuits failing. Fixes
  20698. bug 4607; bugfix on 0.0.7pre1.
  20699. - Change the BridgePassword feature (part of the "bridge community"
  20700. design, which is not yet implemented) to use a time-independent
  20701. comparison. The old behavior might have allowed an adversary
  20702. to use timing to guess the BridgePassword value. Fixes bug 5543;
  20703. bugfix on 0.2.0.14-alpha.
  20704. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  20705. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  20706. - When sending an HTTP/1.1 proxy request, include a Host header.
  20707. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  20708. - Don't log that we have "decided to publish new relay descriptor"
  20709. unless we are actually publishing a descriptor. Fixes bug 3942;
  20710. bugfix on 0.2.2.28-beta.
  20711. o Minor bugfixes (0.2.3.x):
  20712. - Fix a bug where a bridge authority crashes (on a failed assert)
  20713. if it has seen no directory requests when it's time to write
  20714. statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
  20715. - Fix bug stomping on ORPort option NoListen and ignoring option
  20716. NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
  20717. - In the testsuite, provide a large enough buffer in the tor_sscanf
  20718. unit test. Otherwise we'd overrun that buffer and crash during
  20719. the unit tests. Found by weasel. Fixes bug 5449; bugfix on
  20720. 0.2.3.12-alpha.
  20721. - Make sure we create the keys directory if it doesn't exist and we're
  20722. about to store the dynamic Diffie-Hellman parameters. Fixes bug
  20723. 5572; bugfix on 0.2.3.13-alpha.
  20724. - Fix a small memory leak when trying to decode incorrect base16
  20725. authenticator during SAFECOOKIE authentication. Found by
  20726. Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
  20727. o Minor features:
  20728. - Add more information to a log statement that might help track down
  20729. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  20730. non-IP address" messages (or any Bug messages, for that matter!),
  20731. please let us know about it.
  20732. - Relays now understand an IPv6 address when they get one from a
  20733. directory server. Resolves ticket 4875.
  20734. - Resolve IPv6 addresses in bridge and entry statistics to country
  20735. code "??" which means we at least count them. Resolves ticket 5053;
  20736. improves on 0.2.3.9-alpha.
  20737. - Update to the April 3 2012 Maxmind GeoLite Country database.
  20738. - Begin a doc/state-contents.txt file to explain the contents of
  20739. the Tor state file. Fixes bug 2987.
  20740. o Default torrc changes:
  20741. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  20742. port on 9050 by default anyway, so this should not change anything
  20743. in practice.
  20744. - Stop mentioning the deprecated *ListenAddress options in
  20745. torrc.sample. Fixes bug 5438.
  20746. - Document unit of bandwidth related options in sample torrc.
  20747. Fixes bug 5621.
  20748. o Removed features:
  20749. - The "torify" script no longer supports the "tsocks" socksifier
  20750. tool, since tsocks doesn't support DNS and UDP right for Tor.
  20751. Everyone should be using torsocks instead. Fixes bugs 3530 and
  20752. 5180. Based on a patch by "ugh".
  20753. o Code refactoring:
  20754. - Change the symmetric cipher interface so that creating and
  20755. initializing a stream cipher are no longer separate functions.
  20756. - Remove all internal support for unpadded RSA. We never used it, and
  20757. it would be a bad idea to start.
  20758. Changes in version 0.2.3.13-alpha - 2012-03-26
  20759. Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
  20760. in managed pluggable transports, as well as providing other cleanups
  20761. that get us closer to a release candidate.
  20762. o Directory authority changes:
  20763. - Change IP address for maatuska (v3 directory authority).
  20764. o Security fixes:
  20765. - Provide controllers with a safer way to implement the cookie
  20766. authentication mechanism. With the old method, if another locally
  20767. running program could convince a controller that it was the Tor
  20768. process, then that program could trick the controller into telling
  20769. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  20770. authentication method uses a challenge-response approach to prevent
  20771. this attack. Fixes bug 5185, implements proposal 193.
  20772. - Never use a bridge or a controller-supplied node as an exit, even
  20773. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  20774. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  20775. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  20776. - Only build circuits if we have a sufficient threshold of the total
  20777. descriptors that are marked in the consensus with the "Exit"
  20778. flag. This mitigates an attack proposed by wanoskarnet, in which
  20779. all of a client's bridges collude to restrict the exit nodes that
  20780. the client knows about. Fixes bug 5343.
  20781. o Major bugfixes (on Tor 0.2.3.x):
  20782. - Avoid an assert when managed proxies like obfsproxy are configured,
  20783. and we receive HUP signals or setconf attempts too rapidly. This
  20784. situation happens most commonly when Vidalia tries to attach to
  20785. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  20786. bugfix on 0.2.3.6-alpha.
  20787. - Fix a relay-side pluggable transports bug where managed proxies were
  20788. unreachable from the Internet, because Tor asked them to bind on
  20789. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  20790. - Stop discarding command-line arguments when TestingTorNetwork
  20791. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  20792. 0.2.3.9-alpha, where task 4552 added support for two layers of
  20793. torrc files.
  20794. - Resume allowing the unit tests to run in gdb. This was accidentally
  20795. made impossible when the DisableDebuggerAttachment option was
  20796. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  20797. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  20798. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  20799. o Minor bugfixes (on 0.2.2.x and earlier):
  20800. - Ensure we don't cannibalize circuits that are longer than three hops
  20801. already, so we don't end up making circuits with 5 or more
  20802. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  20803. 0.1.0.1-rc which introduced cannibalization.
  20804. - Detect and reject certain misformed escape sequences in
  20805. configuration values. Previously, these values would cause us
  20806. to crash if received in a torrc file or over an authenticated
  20807. control port. Bug found by Esteban Manchado Velázquez, and
  20808. independently by Robert Connolly from Matta Consulting who further
  20809. noted that it allows a post-authentication heap overflow. Patch
  20810. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  20811. bugfix on 0.2.0.16-alpha.
  20812. - Fix a compile warning when using the --enable-openbsd-malloc
  20813. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  20814. - Directory caches no longer refuse to clean out descriptors because
  20815. of missing v2 networkstatus documents, unless they're configured
  20816. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  20817. 0.2.2.26-beta. Patch by Daniel Bryg.
  20818. - Update to the latest version of the tinytest unit testing framework.
  20819. This includes a couple of bugfixes that can be relevant for
  20820. running forked unit tests on Windows, and removes all reserved
  20821. identifiers.
  20822. o Minor bugfixes (on 0.2.3.x):
  20823. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  20824. 4296; bugfix on 0.2.3.1-alpha.
  20825. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  20826. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  20827. on 0.2.3.6-alpha. Patch by "frosty".
  20828. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  20829. option, so that the IP stack doesn't decide to use it for IPv4
  20830. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  20831. - Ensure that variables set in Tor's environment cannot override
  20832. environment variables that Tor passes to a managed
  20833. pluggable-transport proxy. Previously, Tor would pass every
  20834. variable in its environment to managed proxies along with the new
  20835. ones, in such a way that on many operating systems, the inherited
  20836. environment variables would override those which Tor tried to
  20837. explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
  20838. bugfix on 0.2.3.9-alpha for Windows.
  20839. o Minor features:
  20840. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  20841. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  20842. - Update to the March 6 2012 Maxmind GeoLite Country database.
  20843. Changes in version 0.2.3.12-alpha - 2012-02-13
  20844. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  20845. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  20846. when Tor is configured to use a pluggable transport like obfsproxy.
  20847. o Major bugfixes:
  20848. - Fix builds when the path to sed, openssl, or sha1sum contains
  20849. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  20850. on 0.2.2.1-alpha.
  20851. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  20852. connections. This change should allow busy exit relays to stop
  20853. running out of available sockets as quickly. Fixes bug 4950;
  20854. bugfix on 0.2.2.26-beta.
  20855. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  20856. would ask the bridge for microdescriptors, which are only supported
  20857. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  20858. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  20859. - Properly set up obfsproxy's environment when in managed mode. The
  20860. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  20861. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  20862. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  20863. o Minor features:
  20864. - Use the dead_strip option when building Tor on OS X. This reduces
  20865. binary size by almost 19% when linking openssl and libevent
  20866. statically, which we do for Tor Browser Bundle.
  20867. - Fix broken URLs in the sample torrc file, and tell readers about
  20868. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  20869. PublishServerDescriptor options. Addresses bug 4652.
  20870. - Update to the February 7 2012 Maxmind GeoLite Country database.
  20871. o Minor bugfixes:
  20872. - Downgrade the "We're missing a certificate" message from notice
  20873. to info: people kept mistaking it for a real problem, whereas it
  20874. is seldom the problem even when we are failing to bootstrap. Fixes
  20875. bug 5067; bugfix on 0.2.0.10-alpha.
  20876. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  20877. managed pluggable transport server proxy's environment.
  20878. Previously, we would put it there, even though Tor doesn't
  20879. implement an 'extended server port' yet, and even though Tor
  20880. almost certainly isn't listening at that address. For now, we set
  20881. it to an empty string to avoid crashing older obfsproxies. Bugfix
  20882. on 0.2.3.6-alpha.
  20883. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  20884. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  20885. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  20886. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  20887. bugfix on 0.2.3.11-alpha.
  20888. - Update "ClientOnly" man page entry to explain that there isn't
  20889. really any point to messing with it. Resolves ticket 5005.
  20890. - Use the correct CVE number for CVE-2011-4576 in our comments and
  20891. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  20892. 0.2.3.11-alpha.
  20893. o Code simplifications and refactoring:
  20894. - Use the _WIN32 macro throughout our code to detect Windows.
  20895. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  20896. 'MS_WINDOWS'.)
  20897. Changes in version 0.2.3.11-alpha - 2012-01-22
  20898. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  20899. the last step of the plan to limit maximum circuit length, includes
  20900. a wide variety of hidden service performance and correctness fixes,
  20901. works around an OpenSSL security flaw if your distro is too stubborn
  20902. to upgrade, and fixes a bunch of smaller issues.
  20903. o Major features:
  20904. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  20905. part of "Proposal 110: Avoiding infinite length circuits" by
  20906. refusing all circuit-extend requests that do not use a relay_early
  20907. cell. This change helps Tor resist a class of denial-of-service
  20908. attacks by limiting the maximum circuit length.
  20909. - Adjust the number of introduction points that a hidden service
  20910. will try to maintain based on how long its introduction points
  20911. remain in use and how many introductions they handle. Fixes
  20912. part of bug 3825.
  20913. - Try to use system facilities for enumerating local interface
  20914. addresses, before falling back to our old approach (which was
  20915. binding a UDP socket, and calling getsockname() on it). That
  20916. approach was scaring OS X users whose draconian firewall
  20917. software warned about binding to UDP sockets, regardless of
  20918. whether packets were sent. Now we try to use getifaddrs(),
  20919. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  20920. system supports. Resolves ticket 1827.
  20921. o Major security workaround:
  20922. - When building or running with any version of OpenSSL earlier
  20923. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  20924. versions have a bug (CVE-2011-4576) in which their block cipher
  20925. padding includes uninitialized data, potentially leaking sensitive
  20926. information to any peer with whom they make a SSLv3 connection. Tor
  20927. does not use SSL v3 by default, but a hostile client or server
  20928. could force an SSLv3 connection in order to gain information that
  20929. they shouldn't have been able to get. The best solution here is to
  20930. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  20931. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  20932. to make sure that the bug can't happen.
  20933. o Major bugfixes:
  20934. - Fix the SOCKET_OK test that we use to tell when socket
  20935. creation fails so that it works on Win64. Fixes part of bug 4533;
  20936. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  20937. - Correct our replacements for the timeradd() and timersub() functions
  20938. on platforms that lack them (for example, Windows). The timersub()
  20939. function is used when expiring circuits, while timeradd() is
  20940. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  20941. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  20942. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  20943. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  20944. bug at runtime, not compile time, because some distributions hack
  20945. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  20946. on 0.2.3.9-alpha. Found by Pascal.
  20947. o Minor features (controller):
  20948. - Use absolute path names when reporting the torrc filename in the
  20949. control protocol, so a controller can more easily find the torrc
  20950. file. Resolves bug 1101.
  20951. - Extend the control protocol to report flags that control a circuit's
  20952. path selection in CIRC events and in replies to 'GETINFO
  20953. circuit-status'. Implements part of ticket 2411.
  20954. - Extend the control protocol to report the hidden service address
  20955. and current state of a hidden-service-related circuit in CIRC
  20956. events and in replies to 'GETINFO circuit-status'. Implements part
  20957. of ticket 2411.
  20958. - When reporting the path to the cookie file to the controller,
  20959. give an absolute path. Resolves ticket 4881.
  20960. - Allow controllers to request an event notification whenever a
  20961. circuit is cannibalized or its purpose is changed. Implements
  20962. part of ticket 3457.
  20963. - Include the creation time of a circuit in CIRC and CIRC2
  20964. control-port events and the list produced by the 'GETINFO
  20965. circuit-status' control-port command.
  20966. o Minor features (directory authorities):
  20967. - Directory authorities now reject versions of Tor older than
  20968. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  20969. inclusive. These versions accounted for only a small fraction of
  20970. the Tor network, and have numerous known security issues. Resolves
  20971. issue 4788.
  20972. - Authority operators can now vote for all relays in a given
  20973. set of countries to be BadDir/BadExit/Invalid/Rejected.
  20974. - Provide two consensus parameters (FastFlagMinThreshold and
  20975. FastFlagMaxThreshold) to control the range of allowable bandwidths
  20976. for the Fast directory flag. These allow authorities to run
  20977. experiments on appropriate requirements for being a "Fast" node.
  20978. The AuthDirFastGuarantee config value still applies. Implements
  20979. ticket 3946.
  20980. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  20981. directory authority option (introduced in Tor 0.2.2.34).
  20982. o Minor features (other):
  20983. - Don't disable the DirPort when we cannot exceed our AccountingMax
  20984. limit during this interval because the effective bandwidthrate is
  20985. low enough. This is useful in a situation where AccountMax is only
  20986. used as an additional safeguard or to provide statistics.
  20987. - Prepend an informative header to generated dynamic_dh_params files.
  20988. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  20989. EntryNodes will have no effect. Resolves issue 2571.
  20990. - Log more useful messages when we fail to disable debugger
  20991. attachment.
  20992. - Log which authority we're missing votes from when we go to fetch
  20993. them from the other auths.
  20994. - Log (at debug level) whenever a circuit's purpose is changed.
  20995. - Add missing documentation for the MaxClientCircuitsPending,
  20996. UseMicrodescriptors, UserspaceIOCPBuffers, and
  20997. _UseFilteringSSLBufferevents options, all introduced during
  20998. the 0.2.3.x series.
  20999. - Update to the January 3 2012 Maxmind GeoLite Country database.
  21000. o Minor bugfixes (hidden services):
  21001. - Don't close hidden service client circuits which have almost
  21002. finished connecting to their destination when they reach
  21003. the normal circuit-build timeout. Previously, we would close
  21004. introduction circuits which are waiting for an acknowledgement
  21005. from the introduction point, and rendezvous circuits which have
  21006. been specified in an INTRODUCE1 cell sent to a hidden service,
  21007. after the normal CBT. Now, we mark them as 'timed out', and launch
  21008. another rendezvous attempt in parallel. This behavior change can
  21009. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  21010. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  21011. - Don't close hidden-service-side rendezvous circuits when they
  21012. reach the normal circuit-build timeout. This behavior change can
  21013. be disabled using the new
  21014. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  21015. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  21016. - Make sure we never mark the wrong rendezvous circuit as having
  21017. had its introduction cell acknowledged by the introduction-point
  21018. relay. Previously, when we received an INTRODUCE_ACK cell on a
  21019. client-side hidden-service introduction circuit, we might have
  21020. marked a rendezvous circuit other than the one we specified in
  21021. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  21022. a warning message and interfered with the hidden service
  21023. connection-establishment process. Fixes bug 4759; bugfix on
  21024. 0.2.3.3-alpha, when we added the stream-isolation feature which
  21025. might cause Tor to open multiple rendezvous circuits for the same
  21026. hidden service.
  21027. - Don't trigger an assertion failure when we mark a new client-side
  21028. hidden-service introduction circuit for close during the process
  21029. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  21030. by murb.
  21031. o Minor bugfixes (log messages):
  21032. - Correctly spell "connect" in a log message on failure to create a
  21033. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  21034. 0.2.3.2-alpha.
  21035. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  21036. Fixes bug 4856; bugfix on Tor 0.0.6.
  21037. - Fix the log message describing how we work around discovering
  21038. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  21039. 4837; bugfix on 0.2.2.9-alpha.
  21040. - When logging about a disallowed .exit name, do not also call it
  21041. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  21042. o Minor bugfixes (build fixes):
  21043. - During configure, detect when we're building with clang version
  21044. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  21045. CFLAGS. clang doesn't support them yet.
  21046. - During configure, search for library containing cos function as
  21047. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  21048. against libm was hard-coded before. Fixes the first part of bug
  21049. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  21050. Pedersen.
  21051. - Detect attempts to build Tor on (as yet hypothetical) versions
  21052. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  21053. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  21054. - Preprocessor directives should not be put inside the arguments
  21055. of a macro. This would break compilation with GCC releases prior
  21056. to version 3.3. We would never recommend such an old GCC version,
  21057. but it is apparently required for binary compatibility on some
  21058. platforms (namely, certain builds of Haiku). Fixes the other part
  21059. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  21060. Hebnes Pedersen.
  21061. o Minor bugfixes (other):
  21062. - Older Linux kernels erroneously respond to strange nmap behavior
  21063. by having accept() return successfully with a zero-length
  21064. socket. When this happens, just close the connection. Previously,
  21065. we would try harder to learn the remote address: but there was
  21066. no such remote address to learn, and our method for trying to
  21067. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  21068. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  21069. - Fix null-pointer access that could occur if TLS allocation failed.
  21070. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  21071. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  21072. accidentally been reverted.
  21073. - Fix our implementation of crypto_random_hostname() so it can't
  21074. overflow on ridiculously large inputs. (No Tor version has ever
  21075. provided this kind of bad inputs, but let's be correct in depth.)
  21076. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  21077. - Find more places in the code that should have been testing for
  21078. invalid sockets using the SOCKET_OK macro. Required for a fix
  21079. for bug 4533. Bugfix on 0.2.2.28-beta.
  21080. - Fix an assertion failure when, while running with bufferevents, a
  21081. connection finishes connecting after it is marked for close, but
  21082. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  21083. - test_util_spawn_background_ok() hardcoded the expected value
  21084. for ENOENT to 2. This isn't portable as error numbers are
  21085. platform specific, and particularly the hurd has ENOENT at
  21086. 0x40000002. Construct expected string at runtime, using the correct
  21087. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  21088. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  21089. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  21090. - Use an appropriate-width type for sockets in tor-fw-helper on
  21091. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  21092. o Feature removal:
  21093. - When sending or relaying a RELAY_EARLY cell, we used to convert
  21094. it to a RELAY cell if the connection was using the v1 link
  21095. protocol. This was a workaround for older versions of Tor, which
  21096. didn't handle RELAY_EARLY cells properly. Now that all supported
  21097. versions can handle RELAY_EARLY cells, and now that we're enforcing
  21098. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  21099. remove this workaround. Addresses bug 4786.
  21100. o Code simplifications and refactoring:
  21101. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  21102. own homebrewed ssl_state_to_string() replacement. Patch from
  21103. Emile Snyder. Fixes bug 4653.
  21104. - Use macros to indicate OpenSSL versions, so we don't need to worry
  21105. about accidental hexadecimal bit shifts.
  21106. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  21107. supported).
  21108. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  21109. - Use the smartlist_add_asprintf() alias more consistently.
  21110. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  21111. invalid value, rather than just -1.
  21112. - Rename a handful of old identifiers, mostly related to crypto
  21113. structures and crypto functions. By convention, our "create an
  21114. object" functions are called "type_new()", our "free an object"
  21115. functions are called "type_free()", and our types indicate that
  21116. they are types only with a final "_t". But a handful of older
  21117. types and functions broke these rules, with function names like
  21118. "type_create" or "subsystem_op_type", or with type names like
  21119. type_env_t.
  21120. Changes in version 0.2.3.10-alpha - 2011-12-16
  21121. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  21122. Tor's buffers code. Absolutely everybody should upgrade.
  21123. The bug relied on an incorrect calculation when making data continuous
  21124. in one of our IO buffers, if the first chunk of the buffer was
  21125. misaligned by just the wrong amount. The miscalculation would allow an
  21126. attacker to overflow a piece of heap-allocated memory. To mount this
  21127. attack, the attacker would need to either open a SOCKS connection to
  21128. Tor's SocksPort (usually restricted to localhost), or target a Tor
  21129. instance configured to make its connections through a SOCKS proxy
  21130. (which Tor does not do by default).
  21131. Good security practice requires that all heap-overflow bugs should be
  21132. presumed to be exploitable until proven otherwise, so we are treating
  21133. this as a potential code execution attack. Please upgrade immediately!
  21134. This bug does not affect bufferevents-based builds of Tor. Special
  21135. thanks to "Vektor" for reporting this issue to us!
  21136. This release also contains a few minor bugfixes for issues discovered
  21137. in 0.2.3.9-alpha.
  21138. o Major bugfixes:
  21139. - Fix a heap overflow bug that could occur when trying to pull
  21140. data into the first chunk of a buffer, when that chunk had
  21141. already had some data drained from it. Fixes CVE-2011-2778;
  21142. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  21143. o Minor bugfixes:
  21144. - If we can't attach streams to a rendezvous circuit when we
  21145. finish connecting to a hidden service, clear the rendezvous
  21146. circuit's stream-isolation state and try to attach streams
  21147. again. Previously, we cleared rendezvous circuits' isolation
  21148. state either too early (if they were freshly built) or not at all
  21149. (if they had been built earlier and were cannibalized). Bugfix on
  21150. 0.2.3.3-alpha; fixes bug 4655.
  21151. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  21152. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  21153. - Fix an assertion failure when a relay with accounting enabled
  21154. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  21155. o Minor features:
  21156. - Update to the December 6 2011 Maxmind GeoLite Country database.
  21157. Changes in version 0.2.2.35 - 2011-12-16
  21158. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  21159. buffers code. Absolutely everybody should upgrade.
  21160. The bug relied on an incorrect calculation when making data continuous
  21161. in one of our IO buffers, if the first chunk of the buffer was
  21162. misaligned by just the wrong amount. The miscalculation would allow an
  21163. attacker to overflow a piece of heap-allocated memory. To mount this
  21164. attack, the attacker would need to either open a SOCKS connection to
  21165. Tor's SocksPort (usually restricted to localhost), or target a Tor
  21166. instance configured to make its connections through a SOCKS proxy
  21167. (which Tor does not do by default).
  21168. Good security practice requires that all heap-overflow bugs should be
  21169. presumed to be exploitable until proven otherwise, so we are treating
  21170. this as a potential code execution attack. Please upgrade immediately!
  21171. This bug does not affect bufferevents-based builds of Tor. Special
  21172. thanks to "Vektor" for reporting this issue to us!
  21173. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  21174. crash bugs for unusual configurations, and a long-term bug that
  21175. would prevent Tor from starting on Windows machines with draconian
  21176. AV software.
  21177. With this release, we remind everyone that 0.2.0.x has reached its
  21178. formal end-of-life. Those Tor versions have many known flaws, and
  21179. nobody should be using them. You should upgrade -- ideally to the
  21180. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  21181. obsolete, stop using those packages and upgrade anyway.
  21182. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  21183. longer receive support after some time in early 2012.
  21184. o Major bugfixes:
  21185. - Fix a heap overflow bug that could occur when trying to pull
  21186. data into the first chunk of a buffer, when that chunk had
  21187. already had some data drained from it. Fixes CVE-2011-2778;
  21188. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  21189. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  21190. that it doesn't attempt to allocate a socketpair. This could cause
  21191. some problems on Windows systems with overzealous firewalls. Fix for
  21192. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  21193. 2.0.15-stable.
  21194. - If we mark an OR connection for close based on a cell we process,
  21195. don't process any further cells on it. We already avoid further
  21196. reads on marked-for-close connections, but now we also discard the
  21197. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  21198. which was the first version where we might mark a connection for
  21199. close based on processing a cell on it.
  21200. - Correctly sanity-check that we don't underflow on a memory
  21201. allocation (and then assert) for hidden service introduction
  21202. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  21203. bugfix on 0.2.1.5-alpha.
  21204. - Fix a memory leak when we check whether a hidden service
  21205. descriptor has any usable introduction points left. Fixes bug
  21206. 4424. Bugfix on 0.2.2.25-alpha.
  21207. - Don't crash when we're running as a relay and don't have a GeoIP
  21208. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  21209. we've had in the 0.2.3.x branch already.
  21210. - When running as a client, do not print a misleading (and plain
  21211. wrong) log message that we're collecting "directory request"
  21212. statistics: clients don't collect statistics. Also don't create a
  21213. useless (because empty) stats file in the stats/ directory. Fixes
  21214. bug 4353; bugfix on 0.2.2.34.
  21215. o Minor bugfixes:
  21216. - Detect failure to initialize Libevent. This fix provides better
  21217. detection for future instances of bug 4457.
  21218. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  21219. function. This was eating up hideously large amounts of time on some
  21220. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  21221. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  21222. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  21223. Mansour Moufid.
  21224. - Don't warn about unused log_mutex in log.c when building with
  21225. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  21226. 0.1.0.6-rc which introduced --disable-threads.
  21227. - When configuring, starting, or stopping an NT service, stop
  21228. immediately after the service configuration attempt has succeeded
  21229. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  21230. - When sending a NETINFO cell, include the original address
  21231. received for the other side, not its canonical address. Found
  21232. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  21233. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  21234. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  21235. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  21236. occurred when a client tried to fetch a descriptor for a bridge
  21237. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  21238. - Backport fixes for a pair of compilation warnings on Windows.
  21239. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  21240. - If we had ever tried to call tor_addr_to_str on an address of
  21241. unknown type, we would have done a strdup on an uninitialized
  21242. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  21243. Reported by "troll_un".
  21244. - Correctly detect and handle transient lookup failures from
  21245. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  21246. Reported by "troll_un".
  21247. - Fix null-pointer access that could occur if TLS allocation failed.
  21248. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  21249. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  21250. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  21251. o Minor features:
  21252. - Add two new config options for directory authorities:
  21253. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  21254. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  21255. that is always sufficient to satisfy the bandwidth requirement for
  21256. the Guard flag. Now it will be easier for researchers to simulate
  21257. Tor networks with different values. Resolves ticket 4484.
  21258. - When Tor ignores a hidden service specified in its configuration,
  21259. include the hidden service's directory in the warning message.
  21260. Previously, we would only tell the user that some hidden service
  21261. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  21262. - Update to the December 6 2011 Maxmind GeoLite Country database.
  21263. o Packaging changes:
  21264. - Make it easier to automate expert package builds on Windows,
  21265. by removing an absolute path from makensis.exe command.
  21266. Changes in version 0.2.1.32 - 2011-12-16
  21267. Tor 0.2.1.32 backports important security and privacy fixes for
  21268. oldstable. This release is intended only for package maintainers and
  21269. others who cannot use the 0.2.2 stable series. All others should be
  21270. using Tor 0.2.2.x or newer.
  21271. The Tor 0.2.1.x series will reach formal end-of-life some time in
  21272. early 2012; we will stop releasing patches for it then.
  21273. o Major bugfixes (also included in 0.2.2.x):
  21274. - Correctly sanity-check that we don't underflow on a memory
  21275. allocation (and then assert) for hidden service introduction
  21276. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  21277. bugfix on 0.2.1.5-alpha.
  21278. - Fix a heap overflow bug that could occur when trying to pull
  21279. data into the first chunk of a buffer, when that chunk had
  21280. already had some data drained from it. Fixes CVE-2011-2778;
  21281. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  21282. o Minor features:
  21283. - Update to the December 6 2011 Maxmind GeoLite Country database.
  21284. Changes in version 0.2.3.9-alpha - 2011-12-08
  21285. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  21286. a "DisableNetwork" security feature that bundles can use to avoid
  21287. touching the network until bridges are configured, moves forward on
  21288. the pluggable transport design, fixes a flaw in the hidden service
  21289. design that unnecessarily prevented clients with wrong clocks from
  21290. reaching hidden services, and fixes a wide variety of other issues.
  21291. o Major features:
  21292. - Clients can now connect to private bridges over IPv6. Bridges
  21293. still need at least one IPv4 address in order to connect to
  21294. other relays. Note that we don't yet handle the case where the
  21295. user has two bridge lines for the same bridge (one IPv4, one
  21296. IPv6). Implements parts of proposal 186.
  21297. - New "DisableNetwork" config option to prevent Tor from launching any
  21298. connections or accepting any connections except on a control port.
  21299. Bundles and controllers can set this option before letting Tor talk
  21300. to the rest of the network, for example to prevent any connections
  21301. to a non-bridge address. Packages like Orbot can also use this
  21302. option to instruct Tor to save power when the network is off.
  21303. - Clients and bridges can now be configured to use a separate
  21304. "transport" proxy. This approach makes the censorship arms race
  21305. easier by allowing bridges to use protocol obfuscation plugins. It
  21306. implements the "managed proxy" part of proposal 180 (ticket 3472).
  21307. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  21308. implementation. It makes AES_CTR about 7% faster than our old one
  21309. (which was about 10% faster than the one OpenSSL used to provide).
  21310. Resolves ticket 4526.
  21311. - Add a "tor2web mode" for clients that want to connect to hidden
  21312. services non-anonymously (and possibly more quickly). As a safety
  21313. measure to try to keep users from turning this on without knowing
  21314. what they are doing, tor2web mode must be explicitly enabled at
  21315. compile time, and a copy of Tor compiled to run in tor2web mode
  21316. cannot be used as a normal Tor client. Implements feature 2553.
  21317. - Add experimental support for running on Windows with IOCP and no
  21318. kernel-space socket buffers. This feature is controlled by a new
  21319. "UserspaceIOCPBuffers" config option (off by default), which has
  21320. no effect unless Tor has been built with support for bufferevents,
  21321. is running on Windows, and has enabled IOCP. This may, in the long
  21322. run, help solve or mitigate bug 98.
  21323. - Use a more secure consensus parameter voting algorithm. Now at
  21324. least three directory authorities or a majority of them must
  21325. vote on a given parameter before it will be included in the
  21326. consensus. Implements proposal 178.
  21327. o Major bugfixes:
  21328. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  21329. They used to check that the timestamp was within 30 minutes
  21330. of their system clock, so they could cap the size of their
  21331. replay-detection cache, but that approach unnecessarily refused
  21332. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  21333. the v3 intro-point protocol (the first one which sent a timestamp
  21334. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  21335. - Only use the EVP interface when AES acceleration is enabled,
  21336. to avoid a 5-7% performance regression. Resolves issue 4525;
  21337. bugfix on 0.2.3.8-alpha.
  21338. o Privacy/anonymity features (bridge detection):
  21339. - Make bridge SSL certificates a bit more stealthy by using random
  21340. serial numbers, in the same fashion as OpenSSL when generating
  21341. self-signed certificates. Implements ticket 4584.
  21342. - Introduce a new config option "DynamicDHGroups", enabled by
  21343. default, which provides each bridge with a unique prime DH modulus
  21344. to be used during SSL handshakes. This option attempts to help
  21345. against censors who might use the Apache DH modulus as a static
  21346. identifier for bridges. Addresses ticket 4548.
  21347. o Minor features (new/different config options):
  21348. - New configuration option "DisableDebuggerAttachment" (on by default)
  21349. to prevent basic debugging attachment attempts by other processes.
  21350. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  21351. - Allow MapAddress directives to specify matches against super-domains,
  21352. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  21353. Implements issue 933.
  21354. - Slightly change behavior of "list" options (that is, config
  21355. options that can appear more than once) when they appear both in
  21356. torrc and on the command line. Previously, the command-line options
  21357. would be appended to the ones from torrc. Now, the command-line
  21358. options override the torrc options entirely. This new behavior
  21359. allows the user to override list options (like exit policies and
  21360. ports to listen on) from the command line, rather than simply
  21361. appending to the list.
  21362. - You can get the old (appending) command-line behavior for "list"
  21363. options by prefixing the option name with a "+".
  21364. - You can remove all the values for a "list" option from the command
  21365. line without adding any new ones by prefixing the option name
  21366. with a "/".
  21367. - Add experimental support for a "defaults" torrc file to be parsed
  21368. before the regular torrc. Torrc options override the defaults file's
  21369. options in the same way that the command line overrides the torrc.
  21370. The SAVECONF controller command saves only those options which
  21371. differ between the current configuration and the defaults file. HUP
  21372. reloads both files. (Note: This is an experimental feature; its
  21373. behavior will probably be refined in future 0.2.3.x-alpha versions
  21374. to better meet packagers' needs.) Implements task 4552.
  21375. o Minor features:
  21376. - Try to make the introductory warning message that Tor prints on
  21377. startup more useful for actually finding help and information.
  21378. Resolves ticket 2474.
  21379. - Running "make version" now displays the version of Tor that
  21380. we're about to build. Idea from katmagic; resolves issue 4400.
  21381. - Expire old or over-used hidden service introduction points.
  21382. Required by fix for bug 3460.
  21383. - Move the replay-detection cache for the RSA-encrypted parts of
  21384. INTRODUCE2 cells to the introduction point data structures.
  21385. Previously, we would use one replay-detection cache per hidden
  21386. service. Required by fix for bug 3460.
  21387. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  21388. public key replay-detection cache from 60 minutes to 5 minutes. This
  21389. replay-detection cache is now used only to detect multiple
  21390. INTRODUCE2 cells specifying the same rendezvous point, so we can
  21391. avoid launching multiple simultaneous attempts to connect to it.
  21392. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  21393. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  21394. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  21395. Mansour Moufid.
  21396. - Fix a minor formatting issue in one of tor-gencert's error messages.
  21397. Fixes bug 4574.
  21398. - Prevent a false positive from the check-spaces script, by disabling
  21399. the "whitespace between function name and (" check for functions
  21400. named 'op()'.
  21401. - Fix a log message suggesting that people contact a non-existent
  21402. email address. Fixes bug 3448.
  21403. - Fix null-pointer access that could occur if TLS allocation failed.
  21404. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  21405. - Report a real bootstrap problem to the controller on router
  21406. identity mismatch. Previously we just said "foo", which probably
  21407. made a lot of sense at the time. Fixes bug 4169; bugfix on
  21408. 0.2.1.1-alpha.
  21409. - If we had ever tried to call tor_addr_to_str() on an address of
  21410. unknown type, we would have done a strdup() on an uninitialized
  21411. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  21412. Reported by "troll_un".
  21413. - Correctly detect and handle transient lookup failures from
  21414. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  21415. Reported by "troll_un".
  21416. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  21417. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  21418. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  21419. bug 4532; found by "troll_un".
  21420. o Minor bugfixes (on Tor 0.2.3.x):
  21421. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  21422. fixes bug 4554.
  21423. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  21424. circuit for use as a hidden service client's rendezvous point.
  21425. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  21426. with help from wanoskarnet.
  21427. - Restore behavior of overriding SocksPort, ORPort, and similar
  21428. options from the command line. Bugfix on 0.2.3.3-alpha.
  21429. o Build fixes:
  21430. - Properly handle the case where the build-tree is not the same
  21431. as the source tree when generating src/common/common_sha1.i,
  21432. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  21433. bugfix on 0.2.0.1-alpha.
  21434. o Code simplifications, cleanups, and refactorings:
  21435. - Remove the pure attribute from all functions that used it
  21436. previously. In many cases we assigned it incorrectly, because the
  21437. functions might assert or call impure functions, and we don't have
  21438. evidence that keeping the pure attribute is worthwhile. Implements
  21439. changes suggested in ticket 4421.
  21440. - Remove some dead code spotted by coverity. Fixes cid 432.
  21441. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  21442. Changes in version 0.2.3.8-alpha - 2011-11-22
  21443. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  21444. socketpair-related bug that has been bothering Windows users. It adds
  21445. support to serve microdescriptors to controllers, so Vidalia's network
  21446. map can resume listing relays (once Vidalia implements its side),
  21447. and adds better support for hardware AES acceleration. Finally, it
  21448. starts the process of adjusting the bandwidth cutoff for getting the
  21449. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  21450. that tiny relays harm performance more than they help network capacity.
  21451. o Major bugfixes:
  21452. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  21453. that it doesn't attempt to allocate a socketpair. This could cause
  21454. some problems on Windows systems with overzealous firewalls. Fix for
  21455. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  21456. 2.0.15-stable.
  21457. - Correctly sanity-check that we don't underflow on a memory
  21458. allocation (and then assert) for hidden service introduction
  21459. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  21460. bugfix on 0.2.1.5-alpha.
  21461. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  21462. flag. In the past few years the average relay speed has picked
  21463. up, and while the "top 7/8 of the network get the Fast flag" and
  21464. "all relays with 20KB or more of capacity get the Fast flag" rules
  21465. used to have the same result, now the top 7/8 of the network has
  21466. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  21467. - Fix a rare assertion failure when checking whether a v0 hidden
  21468. service descriptor has any usable introduction points left, and
  21469. we don't have enough information to build a circuit to the first
  21470. intro point named in the descriptor. The HS client code in
  21471. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  21472. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  21473. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  21474. - Make bridge authorities not crash when they are asked for their own
  21475. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  21476. - When running as a client, do not print a misleading (and plain
  21477. wrong) log message that we're collecting "directory request"
  21478. statistics: clients don't collect statistics. Also don't create a
  21479. useless (because empty) stats file in the stats/ directory. Fixes
  21480. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  21481. o Major features:
  21482. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  21483. for a relay by identity digest or nickname. Previously,
  21484. microdescriptors were only available by their own digests, so a
  21485. controller would have to ask for and parse the whole microdescriptor
  21486. consensus in order to look up a single relay's microdesc. Fixes
  21487. bug 3832; bugfix on 0.2.3.1-alpha.
  21488. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  21489. operations can use hardware acceleration (if present). Resolves
  21490. ticket 4442.
  21491. o Minor bugfixes (on 0.2.2.x and earlier):
  21492. - Detect failure to initialize Libevent. This fix provides better
  21493. detection for future instances of bug 4457.
  21494. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  21495. function. This was eating up hideously large amounts of time on some
  21496. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  21497. - Don't warn about unused log_mutex in log.c when building with
  21498. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  21499. 0.1.0.6-rc which introduced --disable-threads.
  21500. - Allow manual 'authenticate' commands to the controller interface
  21501. from netcat (nc) as well as telnet. We were rejecting them because
  21502. they didn't come with the expected whitespace at the end of the
  21503. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  21504. - Fix some (not actually triggerable) buffer size checks in usage of
  21505. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  21506. by Anders Sundman.
  21507. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  21508. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  21509. - When configuring, starting, or stopping an NT service, stop
  21510. immediately after the service configuration attempt has succeeded
  21511. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  21512. - When sending a NETINFO cell, include the original address
  21513. received for the other side, not its canonical address. Found
  21514. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  21515. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  21516. can pick them up when the tests aren't disabled. Bugfix on
  21517. 0.2.2.4-alpha which introduced tinytest.
  21518. - Fix a memory leak when we check whether a hidden service
  21519. descriptor has any usable introduction points left. Fixes bug
  21520. 4424. Bugfix on 0.2.2.25-alpha.
  21521. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  21522. occurred when a client tried to fetch a descriptor for a bridge
  21523. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  21524. o Minor bugfixes (on 0.2.3.x):
  21525. - Make util unit tests build correctly with MSVC. Bugfix on
  21526. 0.2.3.3-alpha. Patch by Gisle Vanem.
  21527. - Successfully detect AUTH_CHALLENGE cells with no recognized
  21528. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  21529. Found by frosty_un.
  21530. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  21531. it should still send a NETINFO cell to allow the connection to
  21532. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  21533. "frosty".
  21534. - Log less loudly when we get an invalid authentication certificate
  21535. from a source other than a directory authority: it's not unusual
  21536. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  21537. on 0.2.3.6-alpha.
  21538. - Tolerate servers with more clock skew in their authentication
  21539. certificates than previously. Fixes bug 4371; bugfix on
  21540. 0.2.3.6-alpha.
  21541. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  21542. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  21543. o Minor features:
  21544. - Add two new config options for directory authorities:
  21545. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  21546. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  21547. that is always sufficient to satisfy the bandwidth requirement for
  21548. the Guard flag. Now it will be easier for researchers to simulate
  21549. Tor networks with different values. Resolves ticket 4484.
  21550. - When Tor ignores a hidden service specified in its configuration,
  21551. include the hidden service's directory in the warning message.
  21552. Previously, we would only tell the user that some hidden service
  21553. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  21554. - When we fail to initialize Libevent, retry with IOCP disabled so we
  21555. don't need to turn on multi-threading support in Libevent, which in
  21556. turn requires a working socketpair(). This is a workaround for bug
  21557. 4457, which affects Libevent versions from 2.0.1-alpha through
  21558. 2.0.15-stable.
  21559. - Detect when we try to build on a platform that doesn't define
  21560. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  21561. - Update to the November 1 2011 Maxmind GeoLite Country database.
  21562. o Packaging changes:
  21563. - Make it easier to automate expert package builds on Windows,
  21564. by removing an absolute path from makensis.exe command.
  21565. o Code simplifications and refactoring:
  21566. - Remove some redundant #include directives throughout the code.
  21567. Patch from Andrea Gelmini.
  21568. - Unconditionally use OpenSSL's AES implementation instead of our
  21569. old built-in one. OpenSSL's AES has been better for a while, and
  21570. relatively few servers should still be on any version of OpenSSL
  21571. that doesn't have good optimized assembly AES.
  21572. - Use the name "CERTS" consistently to refer to the new cell type;
  21573. we were calling it CERT in some places and CERTS in others.
  21574. o Testing:
  21575. - Numerous new unit tests for functions in util.c and address.c by
  21576. Anders Sundman.
  21577. - The long-disabled benchmark tests are now split into their own
  21578. ./src/test/bench binary.
  21579. - The benchmark tests can now use more accurate timers than
  21580. gettimeofday() when such timers are available.
  21581. Changes in version 0.2.3.7-alpha - 2011-10-30
  21582. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  21583. the new v3 handshake. It also resolves yet another bridge address
  21584. enumeration issue.
  21585. o Major bugfixes:
  21586. - If we mark an OR connection for close based on a cell we process,
  21587. don't process any further cells on it. We already avoid further
  21588. reads on marked-for-close connections, but now we also discard the
  21589. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  21590. which was the first version where we might mark a connection for
  21591. close based on processing a cell on it.
  21592. - Fix a double-free bug that would occur when we received an invalid
  21593. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  21594. bugfix on 0.2.3.6-alpha.
  21595. - Bridges no longer include their address in NETINFO cells on outgoing
  21596. OR connections, to allow them to blend in better with clients.
  21597. Removes another avenue for enumerating bridges. Reported by
  21598. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  21599. cells were introduced.
  21600. o Trivial fixes:
  21601. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  21602. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  21603. Changes in version 0.2.3.6-alpha - 2011-10-26
  21604. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  21605. anonymity vulnerability where an attacker can deanonymize Tor
  21606. users. Everybody should upgrade.
  21607. This release also features support for a new v3 connection handshake
  21608. protocol, and fixes to make hidden service connections more robust.
  21609. o Major features:
  21610. - Implement a new handshake protocol (v3) for authenticating Tors to
  21611. each other over TLS. It should be more resistant to fingerprinting
  21612. than previous protocols, and should require less TLS hacking for
  21613. future Tor implementations. Implements proposal 176.
  21614. - Allow variable-length padding cells to disguise the length of
  21615. Tor's TLS records. Implements part of proposal 184.
  21616. o Privacy/anonymity fixes (clients):
  21617. - Clients and bridges no longer send TLS certificate chains on
  21618. outgoing OR connections. Previously, each client or bridge would
  21619. use the same cert chain for all outgoing OR connections until
  21620. its IP address changes, which allowed any relay that the client
  21621. or bridge contacted to determine which entry guards it is using.
  21622. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  21623. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  21624. no longer considers that connection as suitable for satisfying a
  21625. circuit EXTEND request. Now relays can protect clients from the
  21626. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  21627. - Directory authorities no longer assign the Guard flag to relays
  21628. that haven't upgraded to the above "refuse EXTEND requests
  21629. to client connections" fix. Now directory authorities can
  21630. protect clients from the CVE-2011-2768 issue even if neither
  21631. the clients nor the relays have upgraded yet. There's a new
  21632. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  21633. to let us transition smoothly, else tomorrow there would be no
  21634. guard relays.
  21635. o Major bugfixes (hidden services):
  21636. - Improve hidden service robustness: when an attempt to connect to
  21637. a hidden service ends, be willing to refetch its hidden service
  21638. descriptors from each of the HSDir relays responsible for them
  21639. immediately. Previously, we would not consider refetching the
  21640. service's descriptors from each HSDir for 15 minutes after the last
  21641. fetch, which was inconvenient if the hidden service was not running
  21642. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  21643. - When one of a hidden service's introduction points appears to be
  21644. unreachable, stop trying it. Previously, we would keep trying
  21645. to build circuits to the introduction point until we lost the
  21646. descriptor, usually because the user gave up and restarted Tor.
  21647. Partly fixes bug 3825.
  21648. - Don't launch a useless circuit after failing to use one of a
  21649. hidden service's introduction points. Previously, we would
  21650. launch a new introduction circuit, but not set the hidden service
  21651. which that circuit was intended to connect to, so it would never
  21652. actually be used. A different piece of code would then create a
  21653. new introduction circuit correctly. Bug reported by katmagic and
  21654. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  21655. o Major bugfixes (other):
  21656. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  21657. that they initiated. Relays could distinguish incoming bridge
  21658. connections from client connections, creating another avenue for
  21659. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  21660. Found by "frosty_un".
  21661. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  21662. tor gets started. This prevents a wrong average bandwidth
  21663. estimate, which would cause relays to always start a new accounting
  21664. interval at the earliest possible moment. Fixes bug 2003; bugfix
  21665. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  21666. immensely in tracking this bug down.
  21667. - Fix a crash bug when changing node restrictions while a DNS lookup
  21668. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  21669. by "Tey'".
  21670. o Minor bugfixes (on 0.2.2.x and earlier):
  21671. - When a hidden service turns an extra service-side introduction
  21672. circuit into a general-purpose circuit, free the rend_data and
  21673. intro_key fields first, so we won't leak memory if the circuit
  21674. is cannibalized for use as another service-side introduction
  21675. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  21676. - Rephrase the log message emitted if the TestSocks check is
  21677. successful. Patch from Fabian Keil; fixes bug 4094.
  21678. - Bridges now skip DNS self-tests, to act a little more stealthily.
  21679. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  21680. bridges. Patch by "warms0x".
  21681. - Remove a confusing dollar sign from the example fingerprint in the
  21682. man page, and also make the example fingerprint a valid one. Fixes
  21683. bug 4309; bugfix on 0.2.1.3-alpha.
  21684. - Fix internal bug-checking logic that was supposed to catch
  21685. failures in digest generation so that it will fail more robustly
  21686. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  21687. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  21688. - Report any failure in init_keys() calls launched because our
  21689. IP address has changed. Spotted by Coverity Scan. Bugfix on
  21690. 0.1.1.4-alpha; fixes CID 484.
  21691. o Minor bugfixes (on 0.2.3.x):
  21692. - Fix a bug in configure.in that kept it from building a configure
  21693. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  21694. bugfix on 0.2.3.1-alpha.
  21695. - Don't warn users that they are exposing a client port to the
  21696. Internet if they have specified an RFC1918 address. Previously,
  21697. we would warn if the user had specified any non-loopback
  21698. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  21699. - Fix memory leaks in the failing cases of the new SocksPort and
  21700. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  21701. fixes coverity CIDs 485, 486, and 487.
  21702. o Minor features:
  21703. - When a hidden service's introduction point times out, consider
  21704. trying it again during the next attempt to connect to the
  21705. HS. Previously, we would not try it again unless a newly fetched
  21706. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  21707. - The next version of Windows will be called Windows 8, and it has
  21708. a major version of 6, minor version of 2. Correctly identify that
  21709. version instead of calling it "Very recent version". Resolves
  21710. ticket 4153; reported by funkstar.
  21711. - The Bridge Authority now writes statistics on how many bridge
  21712. descriptors it gave out in total, and how many unique descriptors
  21713. it gave out. It also lists how often the most and least commonly
  21714. fetched descriptors were given out, as well as the median and
  21715. 25th/75th percentile. Implements tickets 4200 and 4294.
  21716. - Update to the October 4 2011 Maxmind GeoLite Country database.
  21717. o Code simplifications and refactoring:
  21718. - Remove some old code to remember statistics about which descriptors
  21719. we've served as a directory mirror. The feature wasn't used and
  21720. is outdated now that microdescriptors are around.
  21721. - Rename Tor functions that turn strings into addresses, so that
  21722. "parse" indicates that no hostname resolution occurs, and
  21723. "lookup" indicates that hostname resolution may occur. This
  21724. should help prevent mistakes in the future. Fixes bug 3512.
  21725. Changes in version 0.2.2.34 - 2011-10-26
  21726. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  21727. can deanonymize Tor users. Everybody should upgrade.
  21728. The attack relies on four components: 1) Clients reuse their TLS cert
  21729. when talking to different relays, so relays can recognize a user by
  21730. the identity key in her cert. 2) An attacker who knows the client's
  21731. identity key can probe each guard relay to see if that identity key
  21732. is connected to that guard relay right now. 3) A variety of active
  21733. attacks in the literature (starting from "Low-Cost Traffic Analysis
  21734. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  21735. discover the guard relays that a Tor user visiting the website is using.
  21736. 4) Clients typically pick three guards at random, so the set of guards
  21737. for a given user could well be a unique fingerprint for her. This
  21738. release fixes components #1 and #2, which is enough to block the attack;
  21739. the other two remain as open research problems. Special thanks to
  21740. "frosty_un" for reporting the issue to us!
  21741. Clients should upgrade so they are no longer recognizable by the TLS
  21742. certs they present. Relays should upgrade so they no longer allow a
  21743. remote attacker to probe them to test whether unpatched clients are
  21744. currently connected to them.
  21745. This release also fixes several vulnerabilities that allow an attacker
  21746. to enumerate bridge relays. Some bridge enumeration attacks still
  21747. remain; see for example proposal 188.
  21748. o Privacy/anonymity fixes (clients):
  21749. - Clients and bridges no longer send TLS certificate chains on
  21750. outgoing OR connections. Previously, each client or bridge would
  21751. use the same cert chain for all outgoing OR connections until
  21752. its IP address changes, which allowed any relay that the client
  21753. or bridge contacted to determine which entry guards it is using.
  21754. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  21755. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  21756. no longer considers that connection as suitable for satisfying a
  21757. circuit EXTEND request. Now relays can protect clients from the
  21758. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  21759. - Directory authorities no longer assign the Guard flag to relays
  21760. that haven't upgraded to the above "refuse EXTEND requests
  21761. to client connections" fix. Now directory authorities can
  21762. protect clients from the CVE-2011-2768 issue even if neither
  21763. the clients nor the relays have upgraded yet. There's a new
  21764. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  21765. to let us transition smoothly, else tomorrow there would be no
  21766. guard relays.
  21767. o Privacy/anonymity fixes (bridge enumeration):
  21768. - Bridge relays now do their directory fetches inside Tor TLS
  21769. connections, like all the other clients do, rather than connecting
  21770. directly to the DirPort like public relays do. Removes another
  21771. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  21772. - Bridges relays now build circuits for themselves in a more similar
  21773. way to how clients build them. Removes another avenue for
  21774. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  21775. when bridges were introduced.
  21776. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  21777. that they initiated. Relays could distinguish incoming bridge
  21778. connections from client connections, creating another avenue for
  21779. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  21780. Found by "frosty_un".
  21781. o Major bugfixes:
  21782. - Fix a crash bug when changing node restrictions while a DNS lookup
  21783. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  21784. by "Tey'".
  21785. - Don't launch a useless circuit after failing to use one of a
  21786. hidden service's introduction points. Previously, we would
  21787. launch a new introduction circuit, but not set the hidden service
  21788. which that circuit was intended to connect to, so it would never
  21789. actually be used. A different piece of code would then create a
  21790. new introduction circuit correctly. Bug reported by katmagic and
  21791. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  21792. o Minor bugfixes:
  21793. - Change an integer overflow check in the OpenBSD_Malloc code so
  21794. that GCC is less likely to eliminate it as impossible. Patch
  21795. from Mansour Moufid. Fixes bug 4059.
  21796. - When a hidden service turns an extra service-side introduction
  21797. circuit into a general-purpose circuit, free the rend_data and
  21798. intro_key fields first, so we won't leak memory if the circuit
  21799. is cannibalized for use as another service-side introduction
  21800. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  21801. - Bridges now skip DNS self-tests, to act a little more stealthily.
  21802. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  21803. bridges. Patch by "warms0x".
  21804. - Fix internal bug-checking logic that was supposed to catch
  21805. failures in digest generation so that it will fail more robustly
  21806. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  21807. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  21808. - Report any failure in init_keys() calls launched because our
  21809. IP address has changed. Spotted by Coverity Scan. Bugfix on
  21810. 0.1.1.4-alpha; fixes CID 484.
  21811. o Minor bugfixes (log messages and documentation):
  21812. - Remove a confusing dollar sign from the example fingerprint in the
  21813. man page, and also make the example fingerprint a valid one. Fixes
  21814. bug 4309; bugfix on 0.2.1.3-alpha.
  21815. - The next version of Windows will be called Windows 8, and it has
  21816. a major version of 6, minor version of 2. Correctly identify that
  21817. version instead of calling it "Very recent version". Resolves
  21818. ticket 4153; reported by funkstar.
  21819. - Downgrade log messages about circuit timeout calibration from
  21820. "notice" to "info": they don't require or suggest any human
  21821. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  21822. bugfix on 0.2.2.14-alpha.
  21823. o Minor features:
  21824. - Turn on directory request statistics by default and include them in
  21825. extra-info descriptors. Don't break if we have no GeoIP database.
  21826. Backported from 0.2.3.1-alpha; implements ticket 3951.
  21827. - Update to the October 4 2011 Maxmind GeoLite Country database.
  21828. Changes in version 0.2.1.31 - 2011-10-26
  21829. Tor 0.2.1.31 backports important security and privacy fixes for
  21830. oldstable. This release is intended only for package maintainers and
  21831. others who cannot use the 0.2.2 stable series. All others should be
  21832. using Tor 0.2.2.x or newer.
  21833. o Security fixes (also included in 0.2.2.x):
  21834. - Replace all potentially sensitive memory comparison operations
  21835. with versions whose runtime does not depend on the data being
  21836. compared. This will help resist a class of attacks where an
  21837. adversary can use variations in timing information to learn
  21838. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  21839. implementation by Robert Ransom based partially on code by DJB.)
  21840. - Fix an assert in parsing router descriptors containing IPv6
  21841. addresses. This one took down the directory authorities when
  21842. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  21843. o Privacy/anonymity fixes (also included in 0.2.2.x):
  21844. - Clients and bridges no longer send TLS certificate chains on
  21845. outgoing OR connections. Previously, each client or bridge would
  21846. use the same cert chain for all outgoing OR connections until
  21847. its IP address changes, which allowed any relay that the client
  21848. or bridge contacted to determine which entry guards it is using.
  21849. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  21850. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  21851. no longer considers that connection as suitable for satisfying a
  21852. circuit EXTEND request. Now relays can protect clients from the
  21853. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  21854. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  21855. that they initiated. Relays could distinguish incoming bridge
  21856. connections from client connections, creating another avenue for
  21857. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  21858. Found by "frosty_un".
  21859. - When receiving a hidden service descriptor, check that it is for
  21860. the hidden service we wanted. Previously, Tor would store any
  21861. hidden service descriptors that a directory gave it, whether it
  21862. wanted them or not. This wouldn't have let an attacker impersonate
  21863. a hidden service, but it did let directories pre-seed a client
  21864. with descriptors that it didn't want. Bugfix on 0.0.6.
  21865. - Avoid linkability based on cached hidden service descriptors: forget
  21866. all hidden service descriptors cached as a client when processing a
  21867. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  21868. - Make the bridge directory authority refuse to answer directory
  21869. requests for "all" descriptors. It used to include bridge
  21870. descriptors in its answer, which was a major information leak.
  21871. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  21872. - Don't attach new streams to old rendezvous circuits after SIGNAL
  21873. NEWNYM. Previously, we would keep using an existing rendezvous
  21874. circuit if it remained open (i.e. if it were kept open by a
  21875. long-lived stream, or if a new stream were attached to it before
  21876. Tor could notice that it was old and no longer in use). Bugfix on
  21877. 0.1.1.15-rc; fixes bug 3375.
  21878. o Minor bugfixes (also included in 0.2.2.x):
  21879. - When we restart our relay, we might get a successful connection
  21880. from the outside before we've started our reachability tests,
  21881. triggering a warning: "ORPort found reachable, but I have no
  21882. routerinfo yet. Failing to inform controller of success." This
  21883. bug was harmless unless Tor is running under a controller
  21884. like Vidalia, in which case the controller would never get a
  21885. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  21886. fixes bug 1172.
  21887. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  21888. enabled. Fixes bug 1526.
  21889. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  21890. anything since 0.2.1.16-rc.
  21891. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  21892. None of the cases where we did this before were wrong, but by making
  21893. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  21894. - Fix a rare crash bug that could occur when a client was configured
  21895. with a large number of bridges. Fixes bug 2629; bugfix on
  21896. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  21897. - Correct the warning displayed when a rendezvous descriptor exceeds
  21898. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  21899. John Brooks.
  21900. - Fix an uncommon assertion failure when running with DNSPort under
  21901. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  21902. - When warning about missing zlib development packages during compile,
  21903. give the correct package names. Bugfix on 0.2.0.1-alpha.
  21904. - Require that introduction point keys and onion keys have public
  21905. exponent 65537. Bugfix on 0.2.0.10-alpha.
  21906. - Do not crash when our configuration file becomes unreadable, for
  21907. example due to a permissions change, between when we start up
  21908. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  21909. on 0.0.9pre6.
  21910. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  21911. Fixes bug 3208.
  21912. - Always NUL-terminate the sun_path field of a sockaddr_un before
  21913. passing it to the kernel. (Not a security issue: kernels are
  21914. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  21915. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  21916. - Don't stack-allocate the list of supplementary GIDs when we're
  21917. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  21918. could take up to 256K, which is way too much stack. Found by
  21919. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  21920. o Minor bugfixes (only in 0.2.1.x):
  21921. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  21922. rely on them. Bugfix on 0.2.1.30.
  21923. - Use git revisions instead of svn revisions when generating our
  21924. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  21925. o Minor features (also included in 0.2.2.x):
  21926. - Adjust the expiration time on our SSL session certificates to
  21927. better match SSL certs seen in the wild. Resolves ticket 4014.
  21928. - Allow nameservers with IPv6 address. Resolves bug 2574.
  21929. - Update to the October 4 2011 Maxmind GeoLite Country database.
  21930. Changes in version 0.2.3.5-alpha - 2011-09-28
  21931. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  21932. bridge relays; fixes an assertion error that many users started hitting
  21933. today; and adds the ability to refill token buckets more often than
  21934. once per second, allowing significant performance improvements.
  21935. o Security fixes:
  21936. - Bridge relays now do their directory fetches inside Tor TLS
  21937. connections, like all the other clients do, rather than connecting
  21938. directly to the DirPort like public relays do. Removes another
  21939. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  21940. - Bridges relays now build circuits for themselves in a more similar
  21941. way to how clients build them. Removes another avenue for
  21942. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  21943. when bridges were introduced.
  21944. o Major bugfixes:
  21945. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  21946. occur when the same microdescriptor was referenced by two node_t
  21947. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  21948. o Major features (networking):
  21949. - Add a new TokenBucketRefillInterval option to refill token buckets
  21950. more frequently than once per second. This should improve network
  21951. performance, alleviate queueing problems, and make traffic less
  21952. bursty. Implements proposal 183; closes ticket 3630. Design by
  21953. Florian Tschorsch and Björn Scheuermann; implementation by
  21954. Florian Tschorsch.
  21955. o Minor bugfixes:
  21956. - Change an integer overflow check in the OpenBSD_Malloc code so
  21957. that GCC is less likely to eliminate it as impossible. Patch
  21958. from Mansour Moufid. Fixes bug 4059.
  21959. o Minor bugfixes (usability):
  21960. - Downgrade log messages about circuit timeout calibration from
  21961. "notice" to "info": they don't require or suggest any human
  21962. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  21963. bugfix on 0.2.2.14-alpha.
  21964. o Minor features (diagnostics):
  21965. - When the system call to create a listener socket fails, log the
  21966. error message explaining why. This may help diagnose bug 4027.
  21967. Changes in version 0.2.3.4-alpha - 2011-09-13
  21968. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  21969. tweak to Tor's TLS handshake that makes relays and bridges that run
  21970. this new version reachable from Iran again. It also fixes a few new
  21971. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  21972. listed in the network consensus and republish.
  21973. o Major bugfixes (also part of 0.2.2.33):
  21974. - Avoid an assertion failure when reloading a configuration with
  21975. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  21976. 3923; bugfix on 0.2.2.25-alpha.
  21977. o Minor features (security, also part of 0.2.2.33):
  21978. - Check for replays of the public-key encrypted portion of an
  21979. INTRODUCE1 cell, in addition to the current check for replays of
  21980. the g^x value. This prevents a possible class of active attacks
  21981. by an attacker who controls both an introduction point and a
  21982. rendezvous point, and who uses the malleability of AES-CTR to
  21983. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  21984. that these attacks are infeasible (requiring the attacker to send
  21985. on the order of zettabytes of altered cells in a short interval),
  21986. but we'd rather block them off in case there are any classes of
  21987. this attack that we missed. Reported by Willem Pinckaers.
  21988. o Minor features (also part of 0.2.2.33):
  21989. - Adjust the expiration time on our SSL session certificates to
  21990. better match SSL certs seen in the wild. Resolves ticket 4014.
  21991. - Change the default required uptime for a relay to be accepted as
  21992. a HSDir (hidden service directory) from 24 hours to 25 hours.
  21993. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  21994. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  21995. authorities to abstain from voting on assignment of the HSDir
  21996. consensus flag. Related to bug 2649.
  21997. - Update to the September 6 2011 Maxmind GeoLite Country database.
  21998. o Minor bugfixes (also part of 0.2.2.33):
  21999. - Demote the 'replay detected' log message emitted when a hidden
  22000. service receives the same Diffie-Hellman public key in two different
  22001. INTRODUCE2 cells to info level. A normal Tor client can cause that
  22002. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  22003. fixes part of bug 2442.
  22004. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  22005. level. There is nothing that a hidden service's operator can do
  22006. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  22007. of bug 2442.
  22008. - Clarify a log message specifying the characters permitted in
  22009. HiddenServiceAuthorizeClient client names. Previously, the log
  22010. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  22011. given the impression that every ASCII character between "+" and "_"
  22012. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  22013. o Build fixes (also part of 0.2.2.33):
  22014. - Clean up some code issues that prevented Tor from building on older
  22015. BSDs. Fixes bug 3894; reported by "grarpamp".
  22016. - Search for a platform-specific version of "ar" when cross-compiling.
  22017. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  22018. o Major bugfixes:
  22019. - Fix a bug where the SocksPort option (for example) would get
  22020. ignored and replaced by the default if a SocksListenAddress
  22021. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  22022. Fabian Keil.
  22023. o Major features:
  22024. - Relays now try regenerating and uploading their descriptor more
  22025. frequently if they are not listed in the consensus, or if the
  22026. version of their descriptor listed in the consensus is too
  22027. old. This fix should prevent situations where a server declines
  22028. to re-publish itself because it has done so too recently, even
  22029. though the authorities decided not to list its recent-enough
  22030. descriptor. Fix for bug 3327.
  22031. o Minor features:
  22032. - Relays now include a reason for regenerating their descriptors
  22033. in an HTTP header when uploading to the authorities. This will
  22034. make it easier to debug descriptor-upload issues in the future.
  22035. - When starting as root and then changing our UID via the User
  22036. control option, and we have a ControlSocket configured, make sure
  22037. that the ControlSocket is owned by the same account that Tor will
  22038. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  22039. o Minor bugfixes:
  22040. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  22041. utility function used in the control-port code). This shouldn't
  22042. ever happen unless Tor is completely out of memory, but if it did
  22043. happen and Tor somehow recovered from it, Tor could have sent a log
  22044. message to a control port in the middle of a reply to a controller
  22045. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  22046. - Make 'FetchUselessDescriptors' cause all descriptor types and
  22047. all consensus types (including microdescriptors) to get fetched.
  22048. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  22049. o Code refactoring:
  22050. - Make a new "entry connection" struct as an internal subtype of "edge
  22051. connection", to simplify the code and make exit connections smaller.
  22052. Changes in version 0.2.2.33 - 2011-09-13
  22053. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  22054. TLS handshake that makes relays and bridges that run this new version
  22055. reachable from Iran again.
  22056. o Major bugfixes:
  22057. - Avoid an assertion failure when reloading a configuration with
  22058. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  22059. 3923; bugfix on 0.2.2.25-alpha.
  22060. o Minor features (security):
  22061. - Check for replays of the public-key encrypted portion of an
  22062. INTRODUCE1 cell, in addition to the current check for replays of
  22063. the g^x value. This prevents a possible class of active attacks
  22064. by an attacker who controls both an introduction point and a
  22065. rendezvous point, and who uses the malleability of AES-CTR to
  22066. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  22067. that these attacks are infeasible (requiring the attacker to send
  22068. on the order of zettabytes of altered cells in a short interval),
  22069. but we'd rather block them off in case there are any classes of
  22070. this attack that we missed. Reported by Willem Pinckaers.
  22071. o Minor features:
  22072. - Adjust the expiration time on our SSL session certificates to
  22073. better match SSL certs seen in the wild. Resolves ticket 4014.
  22074. - Change the default required uptime for a relay to be accepted as
  22075. a HSDir (hidden service directory) from 24 hours to 25 hours.
  22076. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  22077. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  22078. authorities to abstain from voting on assignment of the HSDir
  22079. consensus flag. Related to bug 2649.
  22080. - Update to the September 6 2011 Maxmind GeoLite Country database.
  22081. o Minor bugfixes (documentation and log messages):
  22082. - Correct the man page to explain that HashedControlPassword and
  22083. CookieAuthentication can both be set, in which case either method
  22084. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  22085. when we decided to allow these config options to both be set. Issue
  22086. raised by bug 3898.
  22087. - Demote the 'replay detected' log message emitted when a hidden
  22088. service receives the same Diffie-Hellman public key in two different
  22089. INTRODUCE2 cells to info level. A normal Tor client can cause that
  22090. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  22091. fixes part of bug 2442.
  22092. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  22093. level. There is nothing that a hidden service's operator can do
  22094. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  22095. of bug 2442.
  22096. - Clarify a log message specifying the characters permitted in
  22097. HiddenServiceAuthorizeClient client names. Previously, the log
  22098. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  22099. given the impression that every ASCII character between "+" and "_"
  22100. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  22101. o Build fixes:
  22102. - Provide a substitute implementation of lround() for MSVC, which
  22103. apparently lacks it. Patch from Gisle Vanem.
  22104. - Clean up some code issues that prevented Tor from building on older
  22105. BSDs. Fixes bug 3894; reported by "grarpamp".
  22106. - Search for a platform-specific version of "ar" when cross-compiling.
  22107. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  22108. Changes in version 0.2.3.3-alpha - 2011-09-01
  22109. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  22110. security, and provides client-side support for the microdescriptor
  22111. and optimistic data features introduced earlier in the 0.2.3.x
  22112. series. It also includes numerous critical bugfixes in the (optional)
  22113. bufferevent-based networking backend.
  22114. o Major features (stream isolation):
  22115. - You can now configure Tor so that streams from different
  22116. applications are isolated on different circuits, to prevent an
  22117. attacker who sees your streams as they leave an exit node from
  22118. linking your sessions to one another. To do this, choose some way
  22119. to distinguish the applications: have them connect to different
  22120. SocksPorts, or have one of them use SOCKS4 while the other uses
  22121. SOCKS5, or have them pass different authentication strings to the
  22122. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  22123. degree of isolation you need. This implements Proposal 171.
  22124. - There's a new syntax for specifying multiple client ports (such as
  22125. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  22126. multiple *Port entries with full addr:port syntax on each.
  22127. The old *ListenAddress format is still supported, but you can't
  22128. mix it with the new *Port syntax.
  22129. o Major features (other):
  22130. - Enable microdescriptor fetching by default for clients. This allows
  22131. clients to download a much smaller amount of directory information.
  22132. To disable it (and go back to the old-style consensus and
  22133. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  22134. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  22135. "PortForwarding" config option), now supports Windows.
  22136. - When using an exit relay running 0.2.3.x, clients can now
  22137. "optimistically" send data before the exit relay reports that
  22138. the stream has opened. This saves a round trip when starting
  22139. connections where the client speaks first (such as web browsing).
  22140. This behavior is controlled by a consensus parameter (currently
  22141. disabled). To turn it on or off manually, use the "OptimisticData"
  22142. torrc option. Implements proposal 181; code by Ian Goldberg.
  22143. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  22144. - When using IOCP on Windows, we need to enable Libevent windows
  22145. threading support.
  22146. - The IOCP backend now works even when the user has not specified
  22147. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  22148. Fixes part of bug 3752.
  22149. - Correctly record the bytes we've read and written when using
  22150. bufferevents, so that we can include them in our bandwidth history
  22151. and advertised bandwidth. Fixes bug 3803.
  22152. - Apply rate-limiting only at the bottom of a chain of filtering
  22153. bufferevents. This prevents us from filling up internal read
  22154. buffers and violating rate-limits when filtering bufferevents
  22155. are enabled. Fixes part of bug 3804.
  22156. - Add high-watermarks to the output buffers for filtered
  22157. bufferevents. This prevents us from filling up internal write
  22158. buffers and wasting CPU cycles when filtering bufferevents are
  22159. enabled. Fixes part of bug 3804.
  22160. - Correctly notice when data has been written from a bufferevent
  22161. without flushing it completely. Fixes bug 3805.
  22162. - Fix a bug where server-side tunneled bufferevent-based directory
  22163. streams would get closed prematurely. Fixes bug 3814.
  22164. - Fix a use-after-free error with per-connection rate-limiting
  22165. buckets. Fixes bug 3888.
  22166. o Major bugfixes (also part of 0.2.2.31-rc):
  22167. - If we're configured to write our ControlPorts to disk, only write
  22168. them after switching UID and creating the data directory. This way,
  22169. we don't fail when starting up with a nonexistent DataDirectory
  22170. and a ControlPortWriteToFile setting based on that directory. Fixes
  22171. bug 3747; bugfix on Tor 0.2.2.26-beta.
  22172. o Minor features:
  22173. - Added a new CONF_CHANGED event so that controllers can be notified
  22174. of any configuration changes made by other controllers, or by the
  22175. user. Implements ticket 1692.
  22176. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  22177. leak when using bufferevents, and lets Libevent worry about how to
  22178. best copy data out of a buffer.
  22179. - Replace files in stats/ rather than appending to them. Now that we
  22180. include statistics in extra-info descriptors, it makes no sense to
  22181. keep old statistics forever. Implements ticket 2930.
  22182. o Minor features (build compatibility):
  22183. - Limited, experimental support for building with nmake and MSVC.
  22184. - Provide a substitute implementation of lround() for MSVC, which
  22185. apparently lacks it. Patch from Gisle Vanem.
  22186. o Minor features (also part of 0.2.2.31-rc):
  22187. - Update to the August 2 2011 Maxmind GeoLite Country database.
  22188. o Minor bugfixes (on 0.2.3.x-alpha):
  22189. - Fix a spurious warning when parsing SOCKS requests with
  22190. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  22191. - Get rid of a harmless warning that could happen on relays running
  22192. with bufferevents. The warning was caused by someone doing an http
  22193. request to a relay's orport. Also don't warn for a few related
  22194. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  22195. o Minor bugfixes (on 2.2.x and earlier):
  22196. - Correct the man page to explain that HashedControlPassword and
  22197. CookieAuthentication can both be set, in which case either method
  22198. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  22199. when we decided to allow these config options to both be set. Issue
  22200. raised by bug 3898.
  22201. - The "--quiet" and "--hush" options now apply not only to Tor's
  22202. behavior before logs are configured, but also to Tor's behavior in
  22203. the absence of configured logs. Fixes bug 3550; bugfix on
  22204. 0.2.0.10-alpha.
  22205. o Minor bugfixes (also part of 0.2.2.31-rc):
  22206. - Write several files in text mode, on OSes that distinguish text
  22207. mode from binary mode (namely, Windows). These files are:
  22208. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  22209. that collect those statistics; 'client_keys' and 'hostname' for
  22210. hidden services that use authentication; and (in the tor-gencert
  22211. utility) newly generated identity and signing keys. Previously,
  22212. we wouldn't specify text mode or binary mode, leading to an
  22213. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  22214. the DirRecordUsageByCountry option which would have triggered
  22215. the assertion failure was added), although this assertion failure
  22216. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  22217. - Selectively disable deprecation warnings on OS X because Lion
  22218. started deprecating the shipped copy of openssl. Fixes bug 3643.
  22219. - Remove an extra pair of quotation marks around the error
  22220. message in control-port STATUS_GENERAL BUG events. Bugfix on
  22221. 0.1.2.6-alpha; fixes bug 3732.
  22222. - When unable to format an address as a string, report its value
  22223. as "???" rather than reusing the last formatted address. Bugfix
  22224. on 0.2.1.5-alpha.
  22225. o Code simplifications and refactoring:
  22226. - Rewrite the listener-selection logic so that parsing which ports
  22227. we want to listen on is now separate from binding to the ports
  22228. we want.
  22229. o Build changes:
  22230. - Building Tor with bufferevent support now requires Libevent
  22231. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  22232. SSL-related bufferevents and related issues that would make Tor
  22233. work badly with bufferevents. Requiring 2.0.13-stable also allows
  22234. Tor with bufferevents to take advantage of Libevent APIs
  22235. introduced after 2.0.8-rc.
  22236. Changes in version 0.2.2.32 - 2011-08-27
  22237. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  22238. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  22239. a founder of the PETS community, a leader in our field, a mentor,
  22240. and a friend. He left us with these words: "I had the possibility
  22241. to contribute to this world that is not as it should be. I hope I
  22242. could help in some areas to make the world a better place, and that
  22243. I could also encourage other people to be engaged in improving the
  22244. world. Please, stay engaged. This world needs you, your love, your
  22245. initiative -- now I cannot be part of that anymore."
  22246. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  22247. ready. More than two years in the making, this release features improved
  22248. client performance and hidden service reliability, better compatibility
  22249. for Android, correct behavior for bridges that listen on more than
  22250. one address, more extensible and flexible directory object handling,
  22251. better reporting of network statistics, improved code security, and
  22252. many many other features and bugfixes.
  22253. Changes in version 0.2.2.31-rc - 2011-08-17
  22254. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  22255. for the Tor 0.2.2.x series.
  22256. o Major bugfixes:
  22257. - Remove an extra pair of quotation marks around the error
  22258. message in control-port STATUS_GENERAL BUG events. Bugfix on
  22259. 0.1.2.6-alpha; fixes bug 3732.
  22260. - If we're configured to write our ControlPorts to disk, only write
  22261. them after switching UID and creating the data directory. This way,
  22262. we don't fail when starting up with a nonexistent DataDirectory
  22263. and a ControlPortWriteToFile setting based on that directory. Fixes
  22264. bug 3747; bugfix on Tor 0.2.2.26-beta.
  22265. o Minor features:
  22266. - Update to the August 2 2011 Maxmind GeoLite Country database.
  22267. o Minor bugfixes:
  22268. - Allow GETINFO fingerprint to return a fingerprint even when
  22269. we have not yet built a router descriptor. Fixes bug 3577;
  22270. bugfix on 0.2.0.1-alpha.
  22271. - Write several files in text mode, on OSes that distinguish text
  22272. mode from binary mode (namely, Windows). These files are:
  22273. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  22274. that collect those statistics; 'client_keys' and 'hostname' for
  22275. hidden services that use authentication; and (in the tor-gencert
  22276. utility) newly generated identity and signing keys. Previously,
  22277. we wouldn't specify text mode or binary mode, leading to an
  22278. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  22279. the DirRecordUsageByCountry option which would have triggered
  22280. the assertion failure was added), although this assertion failure
  22281. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  22282. - Selectively disable deprecation warnings on OS X because Lion
  22283. started deprecating the shipped copy of openssl. Fixes bug 3643.
  22284. - When unable to format an address as a string, report its value
  22285. as "???" rather than reusing the last formatted address. Bugfix
  22286. on 0.2.1.5-alpha.
  22287. Changes in version 0.2.3.2-alpha - 2011-07-18
  22288. Tor 0.2.3.2-alpha introduces two new experimental features:
  22289. microdescriptors and pluggable transports. It also continues cleaning
  22290. up a variety of recently introduced features.
  22291. o Major features:
  22292. - Clients can now use microdescriptors instead of regular descriptors
  22293. to build circuits. Microdescriptors are authority-generated
  22294. summaries of regular descriptors' contents, designed to change
  22295. very rarely (see proposal 158 for details). This feature is
  22296. designed to save bandwidth, especially for clients on slow internet
  22297. connections. It's off by default for now, since nearly no caches
  22298. support it, but it will be on-by-default for clients in a future
  22299. version. You can use the UseMicrodescriptors option to turn it on.
  22300. - Tor clients using bridges can now be configured to use a separate
  22301. 'transport' proxy for each bridge. This approach helps to resist
  22302. censorship by allowing bridges to use protocol obfuscation
  22303. plugins. It implements part of proposal 180. Implements ticket 2841.
  22304. - While we're trying to bootstrap, record how many TLS connections
  22305. fail in each state, and report which states saw the most failures
  22306. in response to any bootstrap failures. This feature may speed up
  22307. diagnosis of censorship events. Implements ticket 3116.
  22308. o Major bugfixes (on 0.2.3.1-alpha):
  22309. - When configuring a large set of nodes in EntryNodes (as with
  22310. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  22311. random subset to be guards, and choose them in random
  22312. order. Fixes bug 2798.
  22313. - Tor could crash when remembering a consensus in a non-used consensus
  22314. flavor without having a current consensus set. Fixes bug 3361.
  22315. - Comparing an unknown address to a microdescriptor's shortened exit
  22316. policy would always give a "rejected" result. Fixes bug 3599.
  22317. - Using microdescriptors as a client no longer prevents Tor from
  22318. uploading and downloading hidden service descriptors. Fixes
  22319. bug 3601.
  22320. o Minor features:
  22321. - Allow nameservers with IPv6 address. Resolves bug 2574.
  22322. - Accept attempts to include a password authenticator in the
  22323. handshake, as supported by SOCKS5. This handles SOCKS clients that
  22324. don't know how to omit a password when authenticating. Resolves
  22325. bug 1666.
  22326. - When configuring a large set of nodes in EntryNodes, and there are
  22327. enough of them listed as Guard so that we don't need to consider
  22328. the non-guard entries, prefer the ones listed with the Guard flag.
  22329. - Check for and recover from inconsistency in the microdescriptor
  22330. cache. This will make it harder for us to accidentally free a
  22331. microdescriptor without removing it from the appropriate data
  22332. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  22333. - Log SSL state transitions at log level DEBUG, log domain
  22334. HANDSHAKE. This can be useful for debugging censorship events.
  22335. Implements ticket 3264.
  22336. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  22337. implements ticket 3439.
  22338. o Minor bugfixes (on 0.2.3.1-alpha):
  22339. - Do not free all general-purpose regular descriptors just
  22340. because microdescriptor use is enabled. Fixes bug 3113.
  22341. - Correctly link libevent_openssl when --enable-static-libevent
  22342. is passed to configure. Fixes bug 3118.
  22343. - Bridges should not complain during their heartbeat log messages that
  22344. they are unlisted in the consensus: that's more or less the point
  22345. of being a bridge. Fixes bug 3183.
  22346. - Report a SIGNAL event to controllers when acting on a delayed
  22347. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  22348. event to the controller if we acted on a SIGNAL NEWNYM command
  22349. immediately, and otherwise not report a SIGNAL event for the
  22350. command at all. Fixes bug 3349.
  22351. - Fix a crash when handling the SIGNAL controller command or
  22352. reporting ERR-level status events with bufferevents enabled. Found
  22353. by Robert Ransom. Fixes bug 3367.
  22354. - Always ship the tor-fw-helper manpage in our release tarballs.
  22355. Fixes bug 3389. Reported by Stephen Walker.
  22356. - Fix a class of double-mark-for-close bugs when bufferevents
  22357. are enabled. Fixes bug 3403.
  22358. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  22359. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  22360. control-port command. Fixes part of bug 3465.
  22361. - Prevent using negative indices during unit test runs when read_all()
  22362. fails. Spotted by coverity.
  22363. - Fix a rare memory leak when checking the nodelist without it being
  22364. present. Found by coverity.
  22365. - Only try to download a microdescriptor-flavored consensus from
  22366. a directory cache that provides them.
  22367. o Minor bugfixes (on 0.2.2.x and earlier):
  22368. - Assert that hidden-service-related operations are not performed
  22369. using single-hop circuits. Previously, Tor would assert that
  22370. client-side streams are not attached to single-hop circuits,
  22371. but not that other sensitive operations on the client and service
  22372. side are not performed using single-hop circuits. Fixes bug 3332;
  22373. bugfix on 0.0.6.
  22374. - Don't publish a new relay descriptor when we reload our onion key,
  22375. unless the onion key has actually changed. Fixes bug 3263 and
  22376. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  22377. - Allow GETINFO fingerprint to return a fingerprint even when
  22378. we have not yet built a router descriptor. Fixes bug 3577;
  22379. bugfix on 0.2.0.1-alpha.
  22380. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  22381. on 0.2.2.4-alpha; fixes bug 3427.
  22382. o Code simplification and refactoring:
  22383. - Use tor_sscanf() in place of scanf() in more places through the
  22384. code. This makes us a little more locale-independent, and
  22385. should help shut up code-analysis tools that can't tell
  22386. a safe sscanf string from a dangerous one.
  22387. - Use tt_assert(), not tor_assert(), for checking for test failures.
  22388. This makes the unit tests more able to go on in the event that
  22389. one of them fails.
  22390. - Split connection_about_to_close() into separate functions for each
  22391. connection type.
  22392. o Build changes:
  22393. - On Windows, we now define the _WIN32_WINNT macros only if they
  22394. are not already defined. This lets the person building Tor decide,
  22395. if they want, to require a later version of Windows.
  22396. Changes in version 0.2.2.30-rc - 2011-07-07
  22397. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  22398. series. It fixes a few smaller bugs, but generally appears stable.
  22399. Please test it and let us know whether it is!
  22400. o Minor bugfixes:
  22401. - Send a SUCCEEDED stream event to the controller when a reverse
  22402. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  22403. discovered by katmagic.
  22404. - Always NUL-terminate the sun_path field of a sockaddr_un before
  22405. passing it to the kernel. (Not a security issue: kernels are
  22406. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  22407. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  22408. - Don't stack-allocate the list of supplementary GIDs when we're
  22409. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  22410. could take up to 256K, which is way too much stack. Found by
  22411. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  22412. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  22413. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  22414. fixes part of bug 3465.
  22415. - Fix a memory leak when receiving a descriptor for a hidden
  22416. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  22417. on 0.2.2.26-beta.
  22418. o Minor features:
  22419. - Update to the July 1 2011 Maxmind GeoLite Country database.
  22420. Changes in version 0.2.2.29-beta - 2011-06-20
  22421. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  22422. have bridge lines in their torrc but don't want to use them; gets
  22423. us closer to having the control socket feature working on Debian;
  22424. and fixes a variety of smaller bugs.
  22425. o Major bugfixes:
  22426. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  22427. When we changed the default behavior to "use bridges if any
  22428. are listed in the torrc", we surprised users who had bridges
  22429. in their torrc files but who didn't actually want to use them.
  22430. Partial resolution for bug 3354.
  22431. o Privacy fixes:
  22432. - Don't attach new streams to old rendezvous circuits after SIGNAL
  22433. NEWNYM. Previously, we would keep using an existing rendezvous
  22434. circuit if it remained open (i.e. if it were kept open by a
  22435. long-lived stream, or if a new stream were attached to it before
  22436. Tor could notice that it was old and no longer in use). Bugfix on
  22437. 0.1.1.15-rc; fixes bug 3375.
  22438. o Minor bugfixes:
  22439. - Fix a bug when using ControlSocketsGroupWritable with User. The
  22440. directory's group would be checked against the current group, not
  22441. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  22442. bugfix on 0.2.2.26-beta.
  22443. - Make connection_printf_to_buf()'s behavior sane. Its callers
  22444. expect it to emit a CRLF iff the format string ends with CRLF;
  22445. it actually emitted a CRLF iff (a) the format string ended with
  22446. CRLF or (b) the resulting string was over 1023 characters long or
  22447. (c) the format string did not end with CRLF *and* the resulting
  22448. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  22449. fixes part of bug 3407.
  22450. - Make send_control_event_impl()'s behavior sane. Its callers
  22451. expect it to always emit a CRLF at the end of the string; it
  22452. might have emitted extra control characters as well. Bugfix on
  22453. 0.1.1.9-alpha; fixes another part of bug 3407.
  22454. - Make crypto_rand_int() check the value of its input correctly.
  22455. Previously, it accepted values up to UINT_MAX, but could return a
  22456. negative number if given a value above INT_MAX+1. Found by George
  22457. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  22458. - Avoid a segfault when reading a malformed circuit build state
  22459. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  22460. 0.2.2.4-alpha.
  22461. - When asked about a DNS record type we don't support via a
  22462. client DNSPort, reply with NOTIMPL rather than an empty
  22463. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  22464. - Fix a rare memory leak during stats writing. Found by coverity.
  22465. o Minor features:
  22466. - Update to the June 1 2011 Maxmind GeoLite Country database.
  22467. o Code simplifications and refactoring:
  22468. - Remove some dead code as indicated by coverity.
  22469. - Remove a few dead assignments during router parsing. Found by
  22470. coverity.
  22471. - Add some forgotten return value checks during unit tests. Found
  22472. by coverity.
  22473. - Don't use 1-bit wide signed bit fields. Found by coverity.
  22474. Changes in version 0.2.2.28-beta - 2011-06-04
  22475. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  22476. fixed a big bug in whether relays stay in the consensus consistently,
  22477. we moved closer to handling bridges and hidden services correctly,
  22478. and we started the process of better handling the dreaded "my Vidalia
  22479. died, and now my Tor demands a password when I try to reconnect to it"
  22480. usability issue.
  22481. o Major bugfixes:
  22482. - Don't decide to make a new descriptor when receiving a HUP signal.
  22483. This bug has caused a lot of 0.2.2.x relays to disappear from the
  22484. consensus periodically. Fixes the most common case of triggering
  22485. bug 1810; bugfix on 0.2.2.7-alpha.
  22486. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  22487. - Don't try to build descriptors if "ORPort auto" is set and we
  22488. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  22489. 0.2.2.26-beta.
  22490. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  22491. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  22492. - Apply circuit timeouts to opened hidden-service-related circuits
  22493. based on the correct start time. Previously, we would apply the
  22494. circuit build timeout based on time since the circuit's creation;
  22495. it was supposed to be applied based on time since the circuit
  22496. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  22497. - Use the same circuit timeout for client-side introduction
  22498. circuits as for other four-hop circuits, rather than the timeout
  22499. for single-hop directory-fetch circuits; the shorter timeout may
  22500. have been appropriate with the static circuit build timeout in
  22501. 0.2.1.x and earlier, but caused many hidden service access attempts
  22502. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  22503. on 0.2.2.2-alpha; fixes another part of bug 1297.
  22504. - In ticket 2511 we fixed a case where you could use an unconfigured
  22505. bridge if you had configured it as a bridge the last time you ran
  22506. Tor. Now fix another edge case: if you had configured it as a bridge
  22507. but then switched to a different bridge via the controller, you
  22508. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  22509. fixes bug 3321.
  22510. o Major features:
  22511. - Add an __OwningControllerProcess configuration option and a
  22512. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  22513. that when it exits, Tor will shut down. Implements feature 3049.
  22514. - If "UseBridges 1" is set and no bridges are configured, Tor will
  22515. now refuse to build any circuits until some bridges are set.
  22516. If "UseBridges auto" is set, Tor will use bridges if they are
  22517. configured and we are not running as a server, but otherwise will
  22518. make circuits as usual. The new default is "auto". Patch by anonym,
  22519. so the Tails LiveCD can stop automatically revealing you as a Tor
  22520. user on startup.
  22521. o Minor bugfixes:
  22522. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  22523. - Remove a trailing asterisk from "exit-policy/default" in the
  22524. output of the control port command "GETINFO info/names". Bugfix
  22525. on 0.1.2.5-alpha.
  22526. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  22527. Fixes bug 3270.
  22528. - Warn when the user configures two HiddenServiceDir lines that point
  22529. to the same directory. Bugfix on 0.0.6 (the version introducing
  22530. HiddenServiceDir); fixes bug 3289.
  22531. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  22532. part of bug 2748; bugfix on 0.2.0.10-alpha.
  22533. - Log malformed requests for rendezvous descriptors as protocol
  22534. warnings, not warnings. Also, use a more informative log message
  22535. in case someone sees it at log level warning without prior
  22536. info-level messages. Fixes the other part of bug 2748; bugfix
  22537. on 0.2.0.10-alpha.
  22538. - Clear the table recording the time of the last request for each
  22539. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  22540. Previously, we would clear our HS descriptor cache on SIGNAL
  22541. NEWNYM, but if we had previously retrieved a descriptor (or tried
  22542. to) from every directory responsible for it, we would refuse to
  22543. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  22544. fixes bug 3309.
  22545. - Fix a log message that said "bits" while displaying a value in
  22546. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  22547. 0.2.0.1-alpha.
  22548. - When checking for 1024-bit keys, check for 1024 bits, not 128
  22549. bytes. This allows Tor to correctly discard keys of length 1017
  22550. through 1023. Bugfix on 0.0.9pre5.
  22551. o Minor features:
  22552. - Relays now log the reason for publishing a new relay descriptor,
  22553. so we have a better chance of hunting down instances of bug 1810.
  22554. Resolves ticket 3252.
  22555. - Revise most log messages that refer to nodes by nickname to
  22556. instead use the "$key=nickname at address" format. This should be
  22557. more useful, especially since nicknames are less and less likely
  22558. to be unique. Resolves ticket 3045.
  22559. - Log (at info level) when purging pieces of hidden-service-client
  22560. state because of SIGNAL NEWNYM.
  22561. o Removed options:
  22562. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  22563. anything since 0.2.1.16-rc.
  22564. Changes in version 0.2.2.27-beta - 2011-05-18
  22565. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  22566. release, and also adds a few more general bugfixes.
  22567. o Major bugfixes:
  22568. - Fix a crash bug when changing bridges in a running Tor process.
  22569. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  22570. - When the controller configures a new bridge, don't wait 10 to 60
  22571. seconds before trying to fetch its descriptor. Bugfix on
  22572. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  22573. o Minor bugfixes:
  22574. - Require that onion keys have exponent 65537 in microdescriptors too.
  22575. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  22576. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  22577. Changed the limit to 512 characters by removing base64 newlines.
  22578. Fixes bug 2752. Fix by Michael Yakubovich.
  22579. - When a client starts or stops using bridges, never use a circuit
  22580. that was built before the configuration change. This behavior could
  22581. put at risk a user who uses bridges to ensure that her traffic
  22582. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  22583. bug 3200.
  22584. Changes in version 0.2.2.26-beta - 2011-05-17
  22585. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  22586. also introduces a new "socksport auto" approach that should make it
  22587. easier to run multiple Tors on the same system, and does a lot of
  22588. cleanup to get us closer to a release candidate.
  22589. o Security/privacy fixes:
  22590. - Replace all potentially sensitive memory comparison operations
  22591. with versions whose runtime does not depend on the data being
  22592. compared. This will help resist a class of attacks where an
  22593. adversary can use variations in timing information to learn
  22594. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  22595. implementation by Robert Ransom based partially on code by DJB.)
  22596. - When receiving a hidden service descriptor, check that it is for
  22597. the hidden service we wanted. Previously, Tor would store any
  22598. hidden service descriptors that a directory gave it, whether it
  22599. wanted them or not. This wouldn't have let an attacker impersonate
  22600. a hidden service, but it did let directories pre-seed a client
  22601. with descriptors that it didn't want. Bugfix on 0.0.6.
  22602. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  22603. DNS cache entries, and virtual address mappings: that's what
  22604. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  22605. o Major features:
  22606. - The options SocksPort, ControlPort, and so on now all accept a
  22607. value "auto" that opens a socket on an OS-selected port. A
  22608. new ControlPortWriteToFile option tells Tor to write its
  22609. actual control port or ports to a chosen file. If the option
  22610. ControlPortFileGroupReadable is set, the file is created as
  22611. group-readable. Now users can run two Tor clients on the same
  22612. system without needing to manually mess with parameters. Resolves
  22613. part of ticket 3076.
  22614. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  22615. help busy exit nodes avoid running out of useable ports just
  22616. because all the ports have been used in the near past. Resolves
  22617. issue 2850.
  22618. o Minor features:
  22619. - New "GETINFO net/listeners/(type)" controller command to return
  22620. a list of addresses and ports that are bound for listeners for a
  22621. given connection type. This is useful when the user has configured
  22622. "SocksPort auto" and the controller needs to know which port got
  22623. chosen. Resolves another part of ticket 3076.
  22624. - Add a new ControlSocketsGroupWritable configuration option: when
  22625. it is turned on, ControlSockets are group-writeable by the default
  22626. group of the current user. Patch by Jérémy Bobbio; implements
  22627. ticket 2972.
  22628. - Tor now refuses to create a ControlSocket in a directory that is
  22629. world-readable (or group-readable if ControlSocketsGroupWritable
  22630. is 0). This is necessary because some operating systems do not
  22631. enforce permissions on an AF_UNIX sockets. Permissions on the
  22632. directory holding the socket, however, seems to work everywhere.
  22633. - Rate-limit a warning about failures to download v2 networkstatus
  22634. documents. Resolves part of bug 1352.
  22635. - Backport code from 0.2.3.x that allows directory authorities to
  22636. clean their microdescriptor caches. Needed to resolve bug 2230.
  22637. - When an HTTPS proxy reports "403 Forbidden", we now explain
  22638. what it means rather than calling it an unexpected status code.
  22639. Closes bug 2503. Patch from Michael Yakubovich.
  22640. - Update to the May 1 2011 Maxmind GeoLite Country database.
  22641. o Minor bugfixes:
  22642. - Authorities now clean their microdesc cache periodically and when
  22643. reading from disk initially, not only when adding new descriptors.
  22644. This prevents a bug where we could lose microdescriptors. Bugfix
  22645. on 0.2.2.6-alpha. Fixes bug 2230.
  22646. - Do not crash when our configuration file becomes unreadable, for
  22647. example due to a permissions change, between when we start up
  22648. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  22649. on 0.0.9pre6.
  22650. - Avoid a bug that would keep us from replacing a microdescriptor
  22651. cache on Windows. (We would try to replace the file while still
  22652. holding it open. That's fine on Unix, but Windows doesn't let us
  22653. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  22654. - Add missing explanations for the authority-related torrc options
  22655. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  22656. man page. Resolves issue 2379.
  22657. - As an authority, do not upload our own vote or signature set to
  22658. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  22659. it would get flagged as a duplicate. Resolves bug 3026.
  22660. - Accept hidden service descriptors if we think we might be a hidden
  22661. service directory, regardless of what our consensus says. This
  22662. helps robustness, since clients and hidden services can sometimes
  22663. have a more up-to-date view of the network consensus than we do,
  22664. and if they think that the directory authorities list us a HSDir,
  22665. we might actually be one. Related to bug 2732; bugfix on
  22666. 0.2.0.10-alpha.
  22667. - When a controller changes TrackHostExits, remove mappings for
  22668. hosts that should no longer have their exits tracked. Bugfix on
  22669. 0.1.0.1-rc.
  22670. - When a controller changes VirtualAddrNetwork, remove any mappings
  22671. for hosts that were automapped to the old network. Bugfix on
  22672. 0.1.1.19-rc.
  22673. - When a controller changes one of the AutomapHosts* options, remove
  22674. any mappings for hosts that should no longer be automapped. Bugfix
  22675. on 0.2.0.1-alpha.
  22676. - Do not reset the bridge descriptor download status every time we
  22677. re-parse our configuration or get a configuration change. Fixes
  22678. bug 3019; bugfix on 0.2.0.3-alpha.
  22679. o Minor bugfixes (code cleanup):
  22680. - When loading the microdesc journal, remember its current size.
  22681. In 0.2.2, this helps prevent the microdesc journal from growing
  22682. without limit on authorities (who are the only ones to use it in
  22683. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  22684. Fix posted by "cypherpunks."
  22685. - The microdesc journal is supposed to get rebuilt only if it is
  22686. at least _half_ the length of the store, not _twice_ the length
  22687. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  22688. - Fix a potential null-pointer dereference while computing a
  22689. consensus. Bugfix on 0.2.0.3-alpha, found with the help of
  22690. clang's analyzer.
  22691. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  22692. cache without actually having any descriptors to cache. Bugfix on
  22693. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  22694. - If we fail to compute the identity digest of a v3 legacy keypair,
  22695. warn, and don't use a buffer-full of junk instead. Bugfix on
  22696. 0.2.1.1-alpha; fixes bug 3106.
  22697. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  22698. where if the function had ever in the future been used to check
  22699. for the presence of a too-large number, it would have given an
  22700. incorrect result. (Fortunately, we only used it for 16-bit
  22701. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  22702. - Require that introduction point keys and onion handshake keys
  22703. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  22704. on 0.2.0.10-alpha.
  22705. o Removed features:
  22706. - Caches no longer download and serve v2 networkstatus documents
  22707. unless FetchV2Networkstatus flag is set: these documents haven't
  22708. haven't been used by clients or relays since 0.2.0.x. Resolves
  22709. bug 3022.
  22710. Changes in version 0.2.3.1-alpha - 2011-05-05
  22711. Tor 0.2.3.1-alpha adds some new experimental features, including support
  22712. for an improved network IO backend, IOCP networking on Windows,
  22713. microdescriptor caching, "fast-start" support for streams, and automatic
  22714. home router configuration. There are also numerous internal improvements
  22715. to try to make the code easier for developers to work with.
  22716. This is the first alpha release in a new series, so expect there to be
  22717. bugs. Users who would rather test out a more stable branch should
  22718. stay with 0.2.2.x for now.
  22719. o Major features:
  22720. - Tor can now optionally build with the "bufferevents" buffered IO
  22721. backend provided by Libevent 2. To use this feature, make sure you
  22722. have the latest possible version of Libevent, and pass the
  22723. --enable-bufferevents flag to configure when building Tor from
  22724. source. This feature will make our networking code more flexible,
  22725. let us stack layers on each other, and let us use more efficient
  22726. zero-copy transports where available.
  22727. - As an experimental feature, Tor can use IOCP for networking on Windows.
  22728. Once this code is tuned and optimized, it promises much better
  22729. performance than the select-based backend we've used in the past. To
  22730. try this feature, you must build Tor with Libevent 2, configure Tor
  22731. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  22732. your torrc. There are known bugs here: only try this if you can help
  22733. debug it as it breaks.
  22734. - The EntryNodes option can now include country codes like {de} or IP
  22735. addresses or network masks. Previously we had disallowed these options
  22736. because we didn't have an efficient way to keep the list up to
  22737. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  22738. - Exit nodes now accept and queue data on not-yet-connected streams.
  22739. Previously, the client wasn't allowed to send data until the stream was
  22740. connected, which slowed down all connections. This change will enable
  22741. clients to perform a "fast-start" on streams and send data without
  22742. having to wait for a confirmation that the stream has opened. (Patch
  22743. from Ian Goldberg; implements the server side of Proposal 174.)
  22744. - Tor now has initial support for automatic port mapping on the many
  22745. home routers that support NAT-PMP or UPnP. (Not yet supported on
  22746. Windows). To build the support code, you'll need to have libnatpnp
  22747. library and/or the libminiupnpc library, and you'll need to enable the
  22748. feature specifically by passing "--enable-upnp" and/or
  22749. "--enable-natpnp" to configure. To turn it on, use the new
  22750. PortForwarding option.
  22751. - Caches now download, cache, and serve multiple "flavors" of the
  22752. consensus, including a flavor that describes microdescriptors.
  22753. - Caches now download, cache, and serve microdescriptors -- small
  22754. summaries of router descriptors that are authenticated by all of the
  22755. directory authorities. Once enough caches are running this code,
  22756. clients will be able to save significant amounts of directory bandwidth
  22757. by downloading microdescriptors instead of router descriptors.
  22758. o Minor features:
  22759. - Make logging resolution configurable with a new LogTimeGranularity
  22760. option, and change the default from 1 millisecond to 1 second.
  22761. Implements enhancement 1668.
  22762. - We log which torrc file we're using on startup. Implements ticket
  22763. 2444.
  22764. - Ordinarily, Tor does not count traffic from private addresses (like
  22765. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  22766. There is now a new option, CountPrivateBandwidth, to disable this
  22767. behavior. Patch from Daniel Cagara.
  22768. - New --enable-static-tor configure option for building Tor as
  22769. statically as possible. Idea, general hackery and thoughts from
  22770. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  22771. 2702.
  22772. - If you set the NumCPUs option to 0, Tor will now try to detect how
  22773. many CPUs you have. This is the new default behavior.
  22774. - Turn on directory request statistics by default and include them in
  22775. extra-info descriptors. Don't break if we have no GeoIP database.
  22776. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  22777. bidirectional use of connections to disk every 24 hours.
  22778. - Add a GeoIP file digest to the extra-info descriptor. Implements
  22779. enhancement 1883.
  22780. - The NodeFamily option -- which let you declare that you want to
  22781. consider nodes to be part of a family whether they list themselves
  22782. that way or not -- now allows IP address ranges and country codes.
  22783. - Add a new 'Heartbeat' log message type to periodically log a message
  22784. describing Tor's status at level Notice. This feature is meant for
  22785. operators who log at notice, and want to make sure that their Tor
  22786. server is still working. Implementation by George Kadianakis.
  22787. o Minor bugfixes (on 0.2.2.25-alpha):
  22788. - When loading the microdesc journal, remember its current size.
  22789. In 0.2.2, this helps prevent the microdesc journal from growing
  22790. without limit on authorities (who are the only ones to use it in
  22791. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  22792. Fix posted by "cypherpunks."
  22793. - The microdesc journal is supposed to get rebuilt only if it is
  22794. at least _half_ the length of the store, not _twice_ the length
  22795. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  22796. - If as an authority we fail to compute the identity digest of a v3
  22797. legacy keypair, warn, and don't use a buffer-full of junk instead.
  22798. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  22799. - Authorities now clean their microdesc cache periodically and when
  22800. reading from disk initially, not only when adding new descriptors.
  22801. This prevents a bug where we could lose microdescriptors. Bugfix
  22802. on 0.2.2.6-alpha.
  22803. o Minor features (controller):
  22804. - Add a new SIGNAL event to the controller interface so that
  22805. controllers can be notified when Tor handles a signal. Resolves
  22806. issue 1955. Patch by John Brooks.
  22807. - Add a new GETINFO option to get total bytes read and written. Patch
  22808. from pipe, revised by atagar. Resolves ticket 2345.
  22809. - Implement some GETINFO controller fields to provide information about
  22810. the Tor process's pid, euid, username, and resource limits.
  22811. o Build changes:
  22812. - Our build system requires automake 1.6 or later to create the
  22813. Makefile.in files. Previously, you could have used 1.4.
  22814. This only affects developers and people building Tor from git;
  22815. people who build Tor from the source distribution without changing
  22816. the Makefile.am files should be fine.
  22817. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  22818. so on. This is more robust against some of the failure modes
  22819. associated with running the autotools pieces on their own.
  22820. o Minor packaging issues:
  22821. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  22822. already created. Patch from Andreas Stieger. Fixes bug 2573.
  22823. o Code simplifications and refactoring:
  22824. - A major revision to our internal node-selecting and listing logic.
  22825. Tor already had at least two major ways to look at the question of
  22826. "which Tor servers do we know about": a list of router descriptors,
  22827. and a list of entries in the current consensus. With
  22828. microdescriptors, we're adding a third. Having so many systems
  22829. without an abstraction layer over them was hurting the codebase.
  22830. Now, we have a new "node_t" abstraction that presents a consistent
  22831. interface to a client's view of a Tor node, and holds (nearly) all
  22832. of the mutable state formerly in routerinfo_t and routerstatus_t.
  22833. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  22834. no longer link against Libevent: they never used it, but
  22835. our library structure used to force them to link it.
  22836. o Removed features:
  22837. - Remove some old code to work around even older versions of Tor that
  22838. used forked processes to handle DNS requests. Such versions of Tor
  22839. are no longer in use as servers.
  22840. o Documentation fixes:
  22841. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  22842. - Add missing documentation for the authority-related torrc options
  22843. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  22844. issue 2379.
  22845. Changes in version 0.2.2.25-alpha - 2011-04-29
  22846. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  22847. robust, routers no longer overreport their bandwidth, Win7 should crash
  22848. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  22849. now prevents hidden service-related activity from being linkable. It
  22850. provides more information to Vidalia so you can see if your bridge is
  22851. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  22852. StrictNodes configuration options to make them more reliable, more
  22853. understandable, and more regularly applied. If you use those options,
  22854. please see the revised documentation for them in the manual page.
  22855. o Major bugfixes:
  22856. - Relays were publishing grossly inflated bandwidth values because
  22857. they were writing their state files wrong--now they write the
  22858. correct value. Also, resume reading bandwidth history from the
  22859. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  22860. - Improve hidden service robustness: When we find that we have
  22861. extended a hidden service's introduction circuit to a relay not
  22862. listed as an introduction point in the HS descriptor we currently
  22863. have, retry with an introduction point from the current
  22864. descriptor. Previously we would just give up. Fixes bugs 1024 and
  22865. 1930; bugfix on 0.2.0.10-alpha.
  22866. - Clients now stop trying to use an exit node associated with a given
  22867. destination by TrackHostExits if they fail to reach that exit node.
  22868. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  22869. - Fix crash bug on platforms where gmtime and localtime can return
  22870. NULL. Windows 7 users were running into this one. Fixes part of bug
  22871. 2077. Bugfix on all versions of Tor. Found by boboper.
  22872. o Security and stability fixes:
  22873. - Don't double-free a parsable, but invalid, microdescriptor, even if
  22874. it is followed in the blob we're parsing by an unparsable
  22875. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  22876. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  22877. - If the Nickname configuration option isn't given, Tor would pick a
  22878. nickname based on the local hostname as the nickname for a relay.
  22879. Because nicknames are not very important in today's Tor and the
  22880. "Unnamed" nickname has been implemented, this is now problematic
  22881. behavior: It leaks information about the hostname without being
  22882. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  22883. introduced the Unnamed nickname. Reported by tagnaq.
  22884. - Fix an uncommon assertion failure when running with DNSPort under
  22885. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  22886. - Avoid linkability based on cached hidden service descriptors: forget
  22887. all hidden service descriptors cached as a client when processing a
  22888. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  22889. o Major features:
  22890. - Export GeoIP information on bridge usage to controllers even if we
  22891. have not yet been running for 24 hours. Now Vidalia bridge operators
  22892. can get more accurate and immediate feedback about their
  22893. contributions to the network.
  22894. o Major features and bugfixes (node selection):
  22895. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  22896. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  22897. options. Previously, we had been ambiguous in describing what
  22898. counted as an "exit" node, and what operations exactly "StrictNodes
  22899. 0" would permit. This created confusion when people saw nodes built
  22900. through unexpected circuits, and made it hard to tell real bugs from
  22901. surprises. Now the intended behavior is:
  22902. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  22903. a node that delivers user traffic outside the Tor network.
  22904. . "Entry", in the context of EntryNodes, means a node used as the
  22905. first hop of a multihop circuit. It doesn't include direct
  22906. connections to directory servers.
  22907. . "ExcludeNodes" applies to all nodes.
  22908. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  22909. StrictNodes is set, Tor should avoid all nodes listed in
  22910. ExcludeNodes, even when it will make user requests fail. When
  22911. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  22912. whenever it can, except when it must use an excluded node to
  22913. perform self-tests, connect to a hidden service, provide a
  22914. hidden service, fulfill a .exit request, upload directory
  22915. information, or fetch directory information.
  22916. Collectively, the changes to implement the behavior fix bug 1090.
  22917. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  22918. a node is listed in both, it's treated as excluded.
  22919. - ExcludeNodes now applies to directory nodes -- as a preference if
  22920. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  22921. Don't exclude all the directory authorities and set StrictNodes to 1
  22922. unless you really want your Tor to break.
  22923. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  22924. - ExcludeExitNodes now overrides .exit requests.
  22925. - We don't use bridges listed in ExcludeNodes.
  22926. - When StrictNodes is 1:
  22927. . We now apply ExcludeNodes to hidden service introduction points
  22928. and to rendezvous points selected by hidden service users. This
  22929. can make your hidden service less reliable: use it with caution!
  22930. . If we have used ExcludeNodes on ourself, do not try relay
  22931. reachability self-tests.
  22932. . If we have excluded all the directory authorities, we will not
  22933. even try to upload our descriptor if we're a relay.
  22934. . Do not honor .exit requests to an excluded node.
  22935. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  22936. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  22937. - When the set of permitted nodes changes, we now remove any mappings
  22938. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  22939. 0.1.0.1-rc.
  22940. - We never cannibalize a circuit that had excluded nodes on it, even
  22941. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  22942. - Revert a change where we would be laxer about attaching streams to
  22943. circuits than when building the circuits. This was meant to prevent
  22944. a set of bugs where streams were never attachable, but our improved
  22945. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  22946. - Keep track of how many times we launch a new circuit to handle a
  22947. given stream. Too many launches could indicate an inconsistency
  22948. between our "launch a circuit to handle this stream" logic and our
  22949. "attach this stream to one of the available circuits" logic.
  22950. - Improve log messages related to excluded nodes.
  22951. o Minor bugfixes:
  22952. - Fix a spurious warning when moving from a short month to a long
  22953. month on relays with month-based BandwidthAccounting. Bugfix on
  22954. 0.2.2.17-alpha; fixes bug 3020.
  22955. - When a client finds that an origin circuit has run out of 16-bit
  22956. stream IDs, we now mark it as unusable for new streams. Previously,
  22957. we would try to close the entire circuit. Bugfix on 0.0.6.
  22958. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  22959. Bugfix on 0.2.2.24-alpha.
  22960. - Be more careful about reporting the correct error from a failed
  22961. connect() system call. Under some circumstances, it was possible to
  22962. look at an incorrect value for errno when sending the end reason.
  22963. Bugfix on 0.1.0.1-rc.
  22964. - Correctly handle an "impossible" overflow cases in connection byte
  22965. counting, where we write or read more than 4GB on an edge connection
  22966. in a single second. Bugfix on 0.1.2.8-beta.
  22967. - Correct the warning displayed when a rendezvous descriptor exceeds
  22968. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  22969. John Brooks.
  22970. - Clients and hidden services now use HSDir-flagged relays for hidden
  22971. service descriptor downloads and uploads even if the relays have no
  22972. DirPort set and the client has disabled TunnelDirConns. This will
  22973. eventually allow us to give the HSDir flag to relays with no
  22974. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  22975. - Downgrade "no current certificates known for authority" message from
  22976. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  22977. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  22978. 2917. Bugfix on 0.1.1.1-alpha.
  22979. - Only limit the lengths of single HS descriptors, even when multiple
  22980. HS descriptors are published to an HSDir relay in a single POST
  22981. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  22982. - Write the current time into the LastWritten line in our state file,
  22983. rather than the time from the previous write attempt. Also, stop
  22984. trying to use a time of -1 in our log statements. Fixes bug 3039;
  22985. bugfix on 0.2.2.14-alpha.
  22986. - Be more consistent in our treatment of file system paths. "~" should
  22987. get expanded to the user's home directory in the Log config option.
  22988. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  22989. feature for the -f and --DataDirectory options.
  22990. o Minor features:
  22991. - Make sure every relay writes a state file at least every 12 hours.
  22992. Previously, a relay could go for weeks without writing its state
  22993. file, and on a crash could lose its bandwidth history, capacity
  22994. estimates, client country statistics, and so on. Addresses bug 3012.
  22995. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  22996. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  22997. clients are already deprecated because of security bugs.
  22998. - Don't allow v0 hidden service authorities to act as clients.
  22999. Required by fix for bug 3000.
  23000. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  23001. by fix for bug 3000.
  23002. - Ensure that no empty [dirreq-](read|write)-history lines are added
  23003. to an extrainfo document. Implements ticket 2497.
  23004. o Code simplification and refactoring:
  23005. - Remove workaround code to handle directory responses from servers
  23006. that had bug 539 (they would send HTTP status 503 responses _and_
  23007. send a body too). Since only server versions before
  23008. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  23009. keep the workaround in place.
  23010. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  23011. handling calculations where we have a known amount of clock skew and
  23012. an allowed amount of unknown skew. But we only used it in three
  23013. places, and we never adjusted the known/unknown skew values. This is
  23014. still something we might want to do someday, but if we do, we'll
  23015. want to do it differently.
  23016. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  23017. None of the cases where we did this before were wrong, but by making
  23018. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  23019. - Use GetTempDir to find the proper temporary directory location on
  23020. Windows when generating temporary files for the unit tests. Patch by
  23021. Gisle Vanem.
  23022. Changes in version 0.2.2.24-alpha - 2011-04-08
  23023. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  23024. prevented Tor clients from effectively using "multihomed" bridges,
  23025. that is, bridges that listen on multiple ports or IP addresses so users
  23026. can continue to use some of their addresses even if others get blocked.
  23027. o Major bugfixes:
  23028. - Fix a bug where bridge users who configure the non-canonical
  23029. address of a bridge automatically switch to its canonical
  23030. address. If a bridge listens at more than one address, it should be
  23031. able to advertise those addresses independently and any non-blocked
  23032. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  23033. bug 2510.
  23034. - If you configured Tor to use bridge A, and then quit and
  23035. configured Tor to use bridge B instead, it would happily continue
  23036. to use bridge A if it's still reachable. While this behavior is
  23037. a feature if your goal is connectivity, in some scenarios it's a
  23038. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  23039. - Directory authorities now use data collected from their own
  23040. uptime observations when choosing whether to assign the HSDir flag
  23041. to relays, instead of trusting the uptime value the relay reports in
  23042. its descriptor. This change helps prevent an attack where a small
  23043. set of nodes with frequently-changing identity keys can blackhole
  23044. a hidden service. (Only authorities need upgrade; others will be
  23045. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  23046. o Minor bugfixes:
  23047. - When we restart our relay, we might get a successful connection
  23048. from the outside before we've started our reachability tests,
  23049. triggering a warning: "ORPort found reachable, but I have no
  23050. routerinfo yet. Failing to inform controller of success." This
  23051. bug was harmless unless Tor is running under a controller
  23052. like Vidalia, in which case the controller would never get a
  23053. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  23054. fixes bug 1172.
  23055. - Make directory authorities more accurate at recording when
  23056. relays that have failed several reachability tests became
  23057. unreachable, so we can provide more accuracy at assigning Stable,
  23058. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  23059. - Fix an issue that prevented static linking of libevent on
  23060. some platforms (notably Linux). Fixes bug 2698; bugfix on
  23061. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  23062. the --with-static-libevent configure option).
  23063. - We now ask the other side of a stream (the client or the exit)
  23064. for more data on that stream when the amount of queued data on
  23065. that stream dips low enough. Previously, we wouldn't ask the
  23066. other side for more data until either it sent us more data (which
  23067. it wasn't supposed to do if it had exhausted its window!) or we
  23068. had completely flushed all our queued data. This flow control fix
  23069. should improve throughput. Fixes bug 2756; bugfix on the earliest
  23070. released versions of Tor (svn commit r152).
  23071. - Avoid a double-mark-for-free warning when failing to attach a
  23072. transparent proxy connection. (We thought we had fixed this in
  23073. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  23074. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  23075. bug) and 0.2.2.23-alpha (the incorrect fix).
  23076. - When warning about missing zlib development packages during compile,
  23077. give the correct package names. Bugfix on 0.2.0.1-alpha.
  23078. o Minor features:
  23079. - Directory authorities now log the source of a rejected POSTed v3
  23080. networkstatus vote.
  23081. - Make compilation with clang possible when using
  23082. --enable-gcc-warnings by removing two warning options that clang
  23083. hasn't implemented yet and by fixing a few warnings. Implements
  23084. ticket 2696.
  23085. - When expiring circuits, use microsecond timers rather than
  23086. one-second timers. This can avoid an unpleasant situation where a
  23087. circuit is launched near the end of one second and expired right
  23088. near the beginning of the next, and prevent fluctuations in circuit
  23089. timeout values.
  23090. - Use computed circuit-build timeouts to decide when to launch
  23091. parallel introduction circuits for hidden services. (Previously,
  23092. we would retry after 15 seconds.)
  23093. - Update to the April 1 2011 Maxmind GeoLite Country database.
  23094. o Packaging fixes:
  23095. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  23096. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  23097. o Documentation changes:
  23098. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  23099. - Resolve all doxygen warnings except those for missing documentation.
  23100. Fixes bug 2705.
  23101. - Add doxygen documentation for more functions, fields, and types.
  23102. Changes in version 0.2.2.23-alpha - 2011-03-08
  23103. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  23104. they restart they don't lose their bandwidth capacity estimate. This
  23105. release also fixes a diverse set of user-facing bugs, ranging from
  23106. relays overrunning their rate limiting to clients falsely warning about
  23107. clock skew to bridge descriptor leaks by our bridge directory authority.
  23108. o Major bugfixes:
  23109. - Stop sending a CLOCK_SKEW controller status event whenever
  23110. we fetch directory information from a relay that has a wrong clock.
  23111. Instead, only inform the controller when it's a trusted authority
  23112. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  23113. the rest of bug 1074.
  23114. - Fix an assert in parsing router descriptors containing IPv6
  23115. addresses. This one took down the directory authorities when
  23116. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  23117. - Make the bridge directory authority refuse to answer directory
  23118. requests for "all" descriptors. It used to include bridge
  23119. descriptors in its answer, which was a major information leak.
  23120. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  23121. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  23122. Tor would ignore their RelayBandwidthBurst setting,
  23123. potentially using more bandwidth than expected. Bugfix on
  23124. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  23125. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  23126. hidserv" in her torrc. The 'hidserv' argument never controlled
  23127. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  23128. o Major features:
  23129. - Relays now save observed peak bandwidth throughput rates to their
  23130. state file (along with total usage, which was already saved)
  23131. so that they can determine their correct estimated bandwidth on
  23132. restart. Resolves bug 1863, where Tor relays would reset their
  23133. estimated bandwidth to 0 after restarting.
  23134. - Directory authorities now take changes in router IP address and
  23135. ORPort into account when determining router stability. Previously,
  23136. if a router changed its IP or ORPort, the authorities would not
  23137. treat it as having any downtime for the purposes of stability
  23138. calculation, whereas clients would experience downtime since the
  23139. change could take a while to propagate to them. Resolves issue 1035.
  23140. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  23141. Prevention (DEP) by default on Windows to make it harder for
  23142. attackers to exploit vulnerabilities. Patch from John Brooks.
  23143. o Minor bugfixes (on 0.2.1.x and earlier):
  23144. - Fix a rare crash bug that could occur when a client was configured
  23145. with a large number of bridges. Fixes bug 2629; bugfix on
  23146. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  23147. - Avoid a double mark-for-free warning when failing to attach a
  23148. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  23149. bug 2279.
  23150. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  23151. found by "cypherpunks". This bug was introduced before the first
  23152. Tor release, in svn commit r110.
  23153. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  23154. don't mention them in the manpage. Fixes bug 2450; issue
  23155. spotted by keb and G-Lo.
  23156. - Fix a bug in bandwidth history state parsing that could have been
  23157. triggered if a future version of Tor ever changed the timing
  23158. granularity at which bandwidth history is measured. Bugfix on
  23159. Tor 0.1.1.11-alpha.
  23160. - When a relay decides that its DNS is too broken for it to serve
  23161. as an exit server, it advertised itself as a non-exit, but
  23162. continued to act as an exit. This could create accidental
  23163. partitioning opportunities for users. Instead, if a relay is
  23164. going to advertise reject *:* as its exit policy, it should
  23165. really act with exit policy "reject *:*". Fixes bug 2366.
  23166. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  23167. - In the special case where you configure a public exit relay as your
  23168. bridge, Tor would be willing to use that exit relay as the last
  23169. hop in your circuit as well. Now we fail that circuit instead.
  23170. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  23171. - Fix a bug with our locking implementation on Windows that couldn't
  23172. correctly detect when a file was already locked. Fixes bug 2504,
  23173. bugfix on 0.2.1.6-alpha.
  23174. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  23175. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  23176. "piebeer".
  23177. - Set target port in get_interface_address6() correctly. Bugfix
  23178. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  23179. - Directory authorities are now more robust to hops back in time
  23180. when calculating router stability. Previously, if a run of uptime
  23181. or downtime appeared to be negative, the calculation could give
  23182. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  23183. bug 1035.
  23184. - Fix an assert that got triggered when using the TestingTorNetwork
  23185. configuration option and then issuing a GETINFO config-text control
  23186. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  23187. o Minor bugfixes (on 0.2.2.x):
  23188. - Clients should not weight BadExit nodes as Exits in their node
  23189. selection. Similarly, directory authorities should not count BadExit
  23190. bandwidth as Exit bandwidth when computing bandwidth-weights.
  23191. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  23192. - Correctly clear our dir_read/dir_write history when there is an
  23193. error parsing any bw history value from the state file. Bugfix on
  23194. Tor 0.2.2.15-alpha.
  23195. - Resolve a bug in verifying signatures of directory objects
  23196. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  23197. Fixes bug 2409. Found by "piebeer".
  23198. - Bridge authorities no longer crash on SIGHUP when they try to
  23199. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  23200. on 0.2.2.22-alpha.
  23201. o Minor features:
  23202. - Log less aggressively about circuit timeout changes, and improve
  23203. some other circuit timeout messages. Resolves bug 2004.
  23204. - Log a little more clearly about the times at which we're no longer
  23205. accepting new connections. Resolves bug 2181.
  23206. - Reject attempts at the client side to open connections to private
  23207. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  23208. a randomly chosen exit node. Attempts to do so are always
  23209. ill-defined, generally prevented by exit policies, and usually
  23210. in error. This will also help to detect loops in transparent
  23211. proxy configurations. You can disable this feature by setting
  23212. "ClientRejectInternalAddresses 0" in your torrc.
  23213. - Always treat failure to allocate an RSA key as an unrecoverable
  23214. allocation error.
  23215. - Update to the March 1 2011 Maxmind GeoLite Country database.
  23216. o Minor features (log subsystem):
  23217. - Add documentation for configuring logging at different severities in
  23218. different log domains. We've had this feature since 0.2.1.1-alpha,
  23219. but for some reason it never made it into the manpage. Fixes
  23220. bug 2215.
  23221. - Make it simpler to specify "All log domains except for A and B".
  23222. Previously you needed to say "[*,~A,~B]". Now you can just say
  23223. "[~A,~B]".
  23224. - Add a "LogMessageDomains 1" option to include the domains of log
  23225. messages along with the messages. Without this, there's no way
  23226. to use log domains without reading the source or doing a lot
  23227. of guessing.
  23228. o Packaging changes:
  23229. - Stop shipping the Tor specs files and development proposal documents
  23230. in the tarball. They are now in a separate git repository at
  23231. git://git.torproject.org/torspec.git
  23232. Changes in version 0.2.1.30 - 2011-02-23
  23233. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  23234. change is a slight tweak to Tor's TLS handshake that makes relays
  23235. and bridges that run this new version reachable from Iran again.
  23236. We don't expect this tweak will win the arms race long-term, but it
  23237. buys us time until we roll out a better solution.
  23238. o Major bugfixes:
  23239. - Stop sending a CLOCK_SKEW controller status event whenever
  23240. we fetch directory information from a relay that has a wrong clock.
  23241. Instead, only inform the controller when it's a trusted authority
  23242. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  23243. the rest of bug 1074.
  23244. - Fix a bounds-checking error that could allow an attacker to
  23245. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  23246. Found by "piebeer".
  23247. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  23248. Tor would ignore their RelayBandwidthBurst setting,
  23249. potentially using more bandwidth than expected. Bugfix on
  23250. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  23251. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  23252. hidserv" in her torrc. The 'hidserv' argument never controlled
  23253. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  23254. o Minor features:
  23255. - Adjust our TLS Diffie-Hellman parameters to match those used by
  23256. Apache's mod_ssl.
  23257. - Update to the February 1 2011 Maxmind GeoLite Country database.
  23258. o Minor bugfixes:
  23259. - Check for and reject overly long directory certificates and
  23260. directory tokens before they have a chance to hit any assertions.
  23261. Bugfix on 0.2.1.28. Found by "doorss".
  23262. - Bring the logic that gathers routerinfos and assesses the
  23263. acceptability of circuits into line. This prevents a Tor OP from
  23264. getting locked in a cycle of choosing its local OR as an exit for a
  23265. path (due to a .exit request) and then rejecting the circuit because
  23266. its OR is not listed yet. It also prevents Tor clients from using an
  23267. OR running in the same instance as an exit (due to a .exit request)
  23268. if the OR does not meet the same requirements expected of an OR
  23269. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  23270. o Packaging changes:
  23271. - Stop shipping the Tor specs files and development proposal documents
  23272. in the tarball. They are now in a separate git repository at
  23273. git://git.torproject.org/torspec.git
  23274. - Do not include Git version tags as though they are SVN tags when
  23275. generating a tarball from inside a repository that has switched
  23276. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  23277. Changes in version 0.2.2.22-alpha - 2011-01-25
  23278. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  23279. main other change is a slight tweak to Tor's TLS handshake that makes
  23280. relays and bridges that run this new version reachable from Iran again.
  23281. We don't expect this tweak will win the arms race long-term, but it
  23282. will buy us a bit more time until we roll out a better solution.
  23283. o Major bugfixes:
  23284. - Fix a bounds-checking error that could allow an attacker to
  23285. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  23286. Found by "piebeer".
  23287. - Don't assert when changing from bridge to relay or vice versa
  23288. via the controller. The assert happened because we didn't properly
  23289. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  23290. bug 2433. Reported by bastik.
  23291. o Minor features:
  23292. - Adjust our TLS Diffie-Hellman parameters to match those used by
  23293. Apache's mod_ssl.
  23294. - Provide a log message stating which geoip file we're parsing
  23295. instead of just stating that we're parsing the geoip file.
  23296. Implements ticket 2432.
  23297. o Minor bugfixes:
  23298. - Check for and reject overly long directory certificates and
  23299. directory tokens before they have a chance to hit any assertions.
  23300. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  23301. Changes in version 0.2.2.21-alpha - 2011-01-15
  23302. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  23303. continues our recent code security audit work. The main fix resolves
  23304. a remote heap overflow vulnerability that can allow remote code
  23305. execution (CVE-2011-0427). Other fixes address a variety of assert
  23306. and crash bugs, most of which we think are hard to exploit remotely.
  23307. o Major bugfixes (security), also included in 0.2.1.29:
  23308. - Fix a heap overflow bug where an adversary could cause heap
  23309. corruption. This bug probably allows remote code execution
  23310. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  23311. 0.1.2.10-rc.
  23312. - Prevent a denial-of-service attack by disallowing any
  23313. zlib-compressed data whose compression factor is implausibly
  23314. high. Fixes part of bug 2324; reported by "doorss".
  23315. - Zero out a few more keys in memory before freeing them. Fixes
  23316. bug 2384 and part of bug 2385. These key instances found by
  23317. "cypherpunks", based on Andrew Case's report about being able
  23318. to find sensitive data in Tor's memory space if you have enough
  23319. permissions. Bugfix on 0.0.2pre9.
  23320. o Major bugfixes (crashes), also included in 0.2.1.29:
  23321. - Prevent calls to Libevent from inside Libevent log handlers.
  23322. This had potential to cause a nasty set of crashes, especially
  23323. if running Libevent with debug logging enabled, and running
  23324. Tor with a controller watching for low-severity log messages.
  23325. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  23326. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  23327. underflow errors there too. Fixes the other part of bug 2324.
  23328. - Fix a bug where we would assert if we ever had a
  23329. cached-descriptors.new file (or another file read directly into
  23330. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  23331. on 0.2.1.25. Found by doorss.
  23332. - Fix some potential asserts and parsing issues with grossly
  23333. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  23334. Found by doorss.
  23335. o Minor bugfixes (other), also included in 0.2.1.29:
  23336. - Fix a bug with handling misformed replies to reverse DNS lookup
  23337. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  23338. bug reported by doorss.
  23339. - Fix compilation on mingw when a pthreads compatibility library
  23340. has been installed. (We don't want to use it, so we shouldn't
  23341. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  23342. - Fix a bug where we would declare that we had run out of virtual
  23343. addresses when the address space was only half-exhausted. Bugfix
  23344. on 0.1.2.1-alpha.
  23345. - Correctly handle the case where AutomapHostsOnResolve is set but
  23346. no virtual addresses are available. Fixes bug 2328; bugfix on
  23347. 0.1.2.1-alpha. Bug found by doorss.
  23348. - Correctly handle wrapping around when we run out of virtual
  23349. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  23350. o Minor features, also included in 0.2.1.29:
  23351. - Update to the January 1 2011 Maxmind GeoLite Country database.
  23352. - Introduce output size checks on all of our decryption functions.
  23353. o Build changes, also included in 0.2.1.29:
  23354. - Tor does not build packages correctly with Automake 1.6 and earlier;
  23355. added a check to Makefile.am to make sure that we're building with
  23356. Automake 1.7 or later.
  23357. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  23358. because we built it with a too-old version of automake. Thus that
  23359. release broke ./configure --enable-openbsd-malloc, which is popular
  23360. among really fast exit relays on Linux.
  23361. o Major bugfixes, new in 0.2.2.21-alpha:
  23362. - Prevent crash/heap corruption when the cbtnummodes consensus
  23363. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  23364. on 0.2.2.14-alpha.
  23365. o Major features, new in 0.2.2.21-alpha:
  23366. - Introduce minimum/maximum values that clients will believe
  23367. from the consensus. Now we'll have a better chance to avoid crashes
  23368. or worse when a consensus param has a weird value.
  23369. o Minor features, new in 0.2.2.21-alpha:
  23370. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  23371. used on bridges, and it makes bridge scanning somewhat easier.
  23372. - If writing the state file to disk fails, wait up to an hour before
  23373. retrying again, rather than trying again each second. Fixes bug
  23374. 2346; bugfix on Tor 0.1.1.3-alpha.
  23375. - Make Libevent log messages get delivered to controllers later,
  23376. and not from inside the Libevent log handler. This prevents unsafe
  23377. reentrant Libevent calls while still letting the log messages
  23378. get through.
  23379. - Detect platforms that brokenly use a signed size_t, and refuse to
  23380. build there. Found and analyzed by doorss and rransom.
  23381. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  23382. Resolves bug 2314.
  23383. o Minor bugfixes, new in 0.2.2.21-alpha:
  23384. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  23385. than waiting forever for them to finish. Fixes bug 2330; bugfix
  23386. on 0.2.0.16-alpha. Found by doorss.
  23387. - Add assertions to check for overflow in arguments to
  23388. base32_encode() and base32_decode(); fix a signed-unsigned
  23389. comparison there too. These bugs are not actually reachable in Tor,
  23390. but it's good to prevent future errors too. Found by doorss.
  23391. - Correctly detect failures to create DNS requests when using Libevent
  23392. versions before v2. (Before Libevent 2, we used our own evdns
  23393. implementation. Its return values for Libevent's evdns_resolve_*()
  23394. functions are not consistent with those from Libevent.) Fixes bug
  23395. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  23396. o Documentation, new in 0.2.2.21-alpha:
  23397. - Document the default socks host and port (127.0.0.1:9050) for
  23398. tor-resolve.
  23399. Changes in version 0.2.1.29 - 2011-01-15
  23400. Tor 0.2.1.29 continues our recent code security audit work. The main
  23401. fix resolves a remote heap overflow vulnerability that can allow remote
  23402. code execution. Other fixes address a variety of assert and crash bugs,
  23403. most of which we think are hard to exploit remotely.
  23404. o Major bugfixes (security):
  23405. - Fix a heap overflow bug where an adversary could cause heap
  23406. corruption. This bug probably allows remote code execution
  23407. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  23408. 0.1.2.10-rc.
  23409. - Prevent a denial-of-service attack by disallowing any
  23410. zlib-compressed data whose compression factor is implausibly
  23411. high. Fixes part of bug 2324; reported by "doorss".
  23412. - Zero out a few more keys in memory before freeing them. Fixes
  23413. bug 2384 and part of bug 2385. These key instances found by
  23414. "cypherpunks", based on Andrew Case's report about being able
  23415. to find sensitive data in Tor's memory space if you have enough
  23416. permissions. Bugfix on 0.0.2pre9.
  23417. o Major bugfixes (crashes):
  23418. - Prevent calls to Libevent from inside Libevent log handlers.
  23419. This had potential to cause a nasty set of crashes, especially
  23420. if running Libevent with debug logging enabled, and running
  23421. Tor with a controller watching for low-severity log messages.
  23422. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  23423. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  23424. underflow errors there too. Fixes the other part of bug 2324.
  23425. - Fix a bug where we would assert if we ever had a
  23426. cached-descriptors.new file (or another file read directly into
  23427. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  23428. on 0.2.1.25. Found by doorss.
  23429. - Fix some potential asserts and parsing issues with grossly
  23430. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  23431. Found by doorss.
  23432. o Minor bugfixes (other):
  23433. - Fix a bug with handling misformed replies to reverse DNS lookup
  23434. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  23435. bug reported by doorss.
  23436. - Fix compilation on mingw when a pthreads compatibility library
  23437. has been installed. (We don't want to use it, so we shouldn't
  23438. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  23439. - Fix a bug where we would declare that we had run out of virtual
  23440. addresses when the address space was only half-exhausted. Bugfix
  23441. on 0.1.2.1-alpha.
  23442. - Correctly handle the case where AutomapHostsOnResolve is set but
  23443. no virtual addresses are available. Fixes bug 2328; bugfix on
  23444. 0.1.2.1-alpha. Bug found by doorss.
  23445. - Correctly handle wrapping around to when we run out of virtual
  23446. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  23447. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  23448. because we built it with a too-old version of automake. Thus that
  23449. release broke ./configure --enable-openbsd-malloc, which is popular
  23450. among really fast exit relays on Linux.
  23451. o Minor features:
  23452. - Update to the January 1 2011 Maxmind GeoLite Country database.
  23453. - Introduce output size checks on all of our decryption functions.
  23454. o Build changes:
  23455. - Tor does not build packages correctly with Automake 1.6 and earlier;
  23456. added a check to Makefile.am to make sure that we're building with
  23457. Automake 1.7 or later.
  23458. Changes in version 0.2.2.20-alpha - 2010-12-17
  23459. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  23460. exploitable bugs. We also fix a variety of other significant bugs,
  23461. change the IP address for one of our directory authorities, and update
  23462. the minimum version that Tor relays must run to join the network.
  23463. o Major bugfixes:
  23464. - Fix a remotely exploitable bug that could be used to crash instances
  23465. of Tor remotely by overflowing on the heap. Remote-code execution
  23466. hasn't been confirmed, but can't be ruled out. Everyone should
  23467. upgrade. Bugfix on the 0.1.1 series and later.
  23468. - Fix a bug that could break accounting on 64-bit systems with large
  23469. time_t values, making them hibernate for impossibly long intervals.
  23470. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  23471. - Fix a logic error in directory_fetches_from_authorities() that
  23472. would cause all _non_-exits refusing single-hop-like circuits
  23473. to fetch from authorities, when we wanted to have _exits_ fetch
  23474. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  23475. fix by boboper.
  23476. - Fix a stream fairness bug that would cause newer streams on a given
  23477. circuit to get preference when reading bytes from the origin or
  23478. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  23479. introduced before the first Tor release, in svn revision r152.
  23480. o Directory authority changes:
  23481. - Change IP address and ports for gabelmoo (v3 directory authority).
  23482. o Minor bugfixes:
  23483. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  23484. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  23485. - Fix an off-by-one error in calculating some controller command
  23486. argument lengths. Fortunately, this mistake is harmless since
  23487. the controller code does redundant NUL termination too. Found by
  23488. boboper. Bugfix on 0.1.1.1-alpha.
  23489. - Do not dereference NULL if a bridge fails to build its
  23490. extra-info descriptor. Found by an anonymous commenter on
  23491. Trac. Bugfix on 0.2.2.19-alpha.
  23492. o Minor features:
  23493. - Update to the December 1 2010 Maxmind GeoLite Country database.
  23494. - Directory authorities now reject relays running any versions of
  23495. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  23496. known bugs that keep RELAY_EARLY cells from working on rendezvous
  23497. circuits. Followup to fix for bug 2081.
  23498. - Directory authorities now reject relays running any version of Tor
  23499. older than 0.2.0.26-rc. That version is the earliest that fetches
  23500. current directory information correctly. Fixes bug 2156.
  23501. - Report only the top 10 ports in exit-port stats in order not to
  23502. exceed the maximum extra-info descriptor length of 50 KB. Implements
  23503. task 2196.
  23504. Changes in version 0.2.1.28 - 2010-12-17
  23505. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  23506. exploitable bugs. We also took this opportunity to change the IP address
  23507. for one of our directory authorities, and to update the geoip database
  23508. we ship.
  23509. o Major bugfixes:
  23510. - Fix a remotely exploitable bug that could be used to crash instances
  23511. of Tor remotely by overflowing on the heap. Remote-code execution
  23512. hasn't been confirmed, but can't be ruled out. Everyone should
  23513. upgrade. Bugfix on the 0.1.1 series and later.
  23514. o Directory authority changes:
  23515. - Change IP address and ports for gabelmoo (v3 directory authority).
  23516. o Minor features:
  23517. - Update to the December 1 2010 Maxmind GeoLite Country database.
  23518. Changes in version 0.2.1.27 - 2010-11-23
  23519. Yet another OpenSSL security patch broke its compatibility with Tor:
  23520. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  23521. also took this opportunity to fix several crash bugs, integrate a new
  23522. directory authority, and update the bundled GeoIP database.
  23523. o Major bugfixes:
  23524. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  23525. No longer set the tlsext_host_name extension on server SSL objects;
  23526. but continue to set it on client SSL objects. Our goal in setting
  23527. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  23528. bugfix on 0.2.1.1-alpha.
  23529. - Do not log messages to the controller while shrinking buffer
  23530. freelists. Doing so would sometimes make the controller connection
  23531. try to allocate a buffer chunk, which would mess up the internals
  23532. of the freelist and cause an assertion failure. Fixes bug 1125;
  23533. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  23534. - Learn our external IP address when we're a relay or bridge, even if
  23535. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  23536. where we introduced bridge relays that don't need to publish to
  23537. be useful. Fixes bug 2050.
  23538. - Do even more to reject (and not just ignore) annotations on
  23539. router descriptors received anywhere but from the cache. Previously
  23540. we would ignore such annotations at first, but cache them to disk
  23541. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  23542. - When you're using bridges and your network goes away and your
  23543. bridges get marked as down, recover when you attempt a new socks
  23544. connection (if the network is back), rather than waiting up to an
  23545. hour to try fetching new descriptors for your bridges. Bugfix on
  23546. 0.2.0.3-alpha; fixes bug 1981.
  23547. o Major features:
  23548. - Move to the November 2010 Maxmind GeoLite country db (rather
  23549. than the June 2009 ip-to-country GeoIP db) for our statistics that
  23550. count how many users relays are seeing from each country. Now we'll
  23551. have more accurate data, especially for many African countries.
  23552. o New directory authorities:
  23553. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  23554. authority.
  23555. o Minor bugfixes:
  23556. - Fix an assertion failure that could occur in directory caches or
  23557. bridge users when using a very short voting interval on a testing
  23558. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  23559. 0.2.0.8-alpha.
  23560. - Enforce multiplicity rules when parsing annotations. Bugfix on
  23561. 0.2.0.8-alpha. Found by piebeer.
  23562. - Allow handshaking OR connections to take a full KeepalivePeriod
  23563. seconds to handshake. Previously, we would close them after
  23564. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  23565. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  23566. for analysis help.
  23567. - When building with --enable-gcc-warnings on OpenBSD, disable
  23568. warnings in system headers. This makes --enable-gcc-warnings
  23569. pass on OpenBSD 4.8.
  23570. o Minor features:
  23571. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  23572. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  23573. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  23574. Servers can start sending this code when enough clients recognize
  23575. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  23576. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  23577. Patch from mingw-san.
  23578. o Removed files:
  23579. - Remove the old debian/ directory from the main Tor distribution.
  23580. The official Tor-for-debian git repository lives at the URL
  23581. https://git.torproject.org/debian/tor.git
  23582. - Stop shipping the old doc/website/ directory in the tarball. We
  23583. changed the website format in late 2010, and what we shipped in
  23584. 0.2.1.26 really wasn't that useful anyway.
  23585. Changes in version 0.2.2.19-alpha - 2010-11-22
  23586. Yet another OpenSSL security patch broke its compatibility with Tor:
  23587. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  23588. o Major bugfixes:
  23589. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  23590. No longer set the tlsext_host_name extension on server SSL objects;
  23591. but continue to set it on client SSL objects. Our goal in setting
  23592. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  23593. bugfix on 0.2.1.1-alpha.
  23594. o Minor bugfixes:
  23595. - Try harder not to exceed the maximum length of 50 KB when writing
  23596. statistics to extra-info descriptors. This bug was triggered by very
  23597. fast relays reporting exit-port, entry, and dirreq statistics.
  23598. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  23599. - Publish a router descriptor even if generating an extra-info
  23600. descriptor fails. Previously we would not publish a router
  23601. descriptor without an extra-info descriptor; this can cause fast
  23602. exit relays collecting exit-port statistics to drop from the
  23603. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  23604. Changes in version 0.2.2.18-alpha - 2010-11-16
  23605. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  23606. us lately, makes unpublished bridge relays able to detect their IP
  23607. address, and fixes a wide variety of other bugs to get us much closer
  23608. to a stable release.
  23609. o Major bugfixes:
  23610. - Do even more to reject (and not just ignore) annotations on
  23611. router descriptors received anywhere but from the cache. Previously
  23612. we would ignore such annotations at first, but cache them to disk
  23613. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  23614. - Do not log messages to the controller while shrinking buffer
  23615. freelists. Doing so would sometimes make the controller connection
  23616. try to allocate a buffer chunk, which would mess up the internals
  23617. of the freelist and cause an assertion failure. Fixes bug 1125;
  23618. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  23619. - Learn our external IP address when we're a relay or bridge, even if
  23620. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  23621. where we introduced bridge relays that don't need to publish to
  23622. be useful. Fixes bug 2050.
  23623. - Maintain separate TLS contexts and certificates for incoming and
  23624. outgoing connections in bridge relays. Previously we would use the
  23625. same TLS contexts and certs for incoming and outgoing connections.
  23626. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  23627. - Maintain separate identity keys for incoming and outgoing TLS
  23628. contexts in bridge relays. Previously we would use the same
  23629. identity keys for incoming and outgoing TLS contexts. Bugfix on
  23630. 0.2.0.3-alpha; addresses the other half of bug 988.
  23631. - Avoid an assertion failure when we as an authority receive a
  23632. duplicate upload of a router descriptor that we already have,
  23633. but which we previously considered an obsolete descriptor.
  23634. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  23635. - Avoid a crash bug triggered by looking at a dangling pointer while
  23636. setting the network status consensus. Found by Robert Ransom.
  23637. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  23638. - Fix a logic error where servers that _didn't_ act as exits would
  23639. try to keep their server lists more aggressively up to date than
  23640. exits, when it was supposed to be the other way around. Bugfix
  23641. on 0.2.2.17-alpha.
  23642. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  23643. - When we're trying to guess whether we know our IP address as
  23644. a relay, we would log various ways that we failed to guess
  23645. our address, but never log that we ended up guessing it
  23646. successfully. Now add a log line to help confused and anxious
  23647. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  23648. - Bring the logic that gathers routerinfos and assesses the
  23649. acceptability of circuits into line. This prevents a Tor OP from
  23650. getting locked in a cycle of choosing its local OR as an exit for a
  23651. path (due to a .exit request) and then rejecting the circuit because
  23652. its OR is not listed yet. It also prevents Tor clients from using an
  23653. OR running in the same instance as an exit (due to a .exit request)
  23654. if the OR does not meet the same requirements expected of an OR
  23655. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  23656. - Correctly describe errors that occur when generating a TLS object.
  23657. Previously we would attribute them to a failure while generating a
  23658. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  23659. bug 1994.
  23660. - Enforce multiplicity rules when parsing annotations. Bugfix on
  23661. 0.2.0.8-alpha. Found by piebeer.
  23662. - Fix warnings that newer versions of autoconf produced during
  23663. ./autogen.sh. These warnings appear to be harmless in our case,
  23664. but they were extremely verbose. Fixes bug 2020.
  23665. o Minor bugfixes (on Tor 0.2.2.x):
  23666. - Enable protection of small arrays whenever we build with gcc
  23667. hardening features, not only when also building with warnings
  23668. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  23669. o Minor features:
  23670. - Make hidden services work better in private Tor networks by not
  23671. requiring any uptime to join the hidden service descriptor
  23672. DHT. Implements ticket 2088.
  23673. - Rate-limit the "your application is giving Tor only an IP address"
  23674. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  23675. - When AllowSingleHopExits is set, print a warning to explain to the
  23676. relay operator why most clients are avoiding her relay.
  23677. - Update to the November 1 2010 Maxmind GeoLite Country database.
  23678. o Code simplifications and refactoring:
  23679. - When we fixed bug 1038 we had to put in a restriction not to send
  23680. RELAY_EARLY cells on rend circuits. This was necessary as long
  23681. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  23682. active. Now remove this obsolete check. Resolves bug 2081.
  23683. - Some options used different conventions for uppercasing of acronyms
  23684. when comparing manpage and source. Fix those in favor of the
  23685. manpage, as it makes sense to capitalize acronyms.
  23686. - Remove the torrc.complete file. It hasn't been kept up to date
  23687. and users will have better luck checking out the manpage.
  23688. - Remove the obsolete "NoPublish" option; it has been flagged
  23689. as obsolete and has produced a warning since 0.1.1.18-rc.
  23690. - Remove everything related to building the expert bundle for OS X.
  23691. It has confused many users, doesn't work right on OS X 10.6,
  23692. and is hard to get rid of once installed. Resolves bug 1274.
  23693. Changes in version 0.2.2.17-alpha - 2010-09-30
  23694. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  23695. to use one-hop circuits (which can put the exit relays at higher risk,
  23696. plus unbalance the network); fixes a big bug in bandwidth accounting
  23697. for relays that want to limit their monthly bandwidth use; fixes a
  23698. big pile of bugs in how clients tolerate temporary network failure;
  23699. and makes our adaptive circuit build timeout feature (which improves
  23700. client performance if your network is fast while not breaking things
  23701. if your network is slow) better handle bad networks.
  23702. o Major features:
  23703. - Exit relays now try harder to block exit attempts from unknown
  23704. relays, to make it harder for people to use them as one-hop proxies
  23705. a la tortunnel. Controlled by the refuseunknownexits consensus
  23706. parameter (currently enabled), or you can override it on your
  23707. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  23708. o Major bugfixes (0.2.1.x and earlier):
  23709. - Fix a bug in bandwidth accounting that could make us use twice
  23710. the intended bandwidth when our interval start changes due to
  23711. daylight saving time. Now we tolerate skew in stored vs computed
  23712. interval starts: if the start of the period changes by no more than
  23713. 50% of the period's duration, we remember bytes that we transferred
  23714. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  23715. - Always search the Windows system directory for system DLLs, and
  23716. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  23717. - When you're using bridges and your network goes away and your
  23718. bridges get marked as down, recover when you attempt a new socks
  23719. connection (if the network is back), rather than waiting up to an
  23720. hour to try fetching new descriptors for your bridges. Bugfix on
  23721. 0.2.0.3-alpha; fixes bug 1981.
  23722. o Major bugfixes (on 0.2.2.x):
  23723. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  23724. bug 1797.
  23725. - Fix a segfault that could happen when operating a bridge relay with
  23726. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  23727. - The consensus bandwidth-weights (used by clients to choose fast
  23728. relays) entered an unexpected edge case in September where
  23729. Exits were much scarcer than Guards, resulting in bad weight
  23730. recommendations. Now we compute them using new constraints that
  23731. should succeed in all cases. Also alter directory authorities to
  23732. not include the bandwidth-weights line if they fail to produce
  23733. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  23734. - When weighting bridges during path selection, we used to trust
  23735. the bandwidths they provided in their descriptor, only capping them
  23736. at 10MB/s. This turned out to be problematic for two reasons:
  23737. Bridges could claim to handle a lot more traffic then they
  23738. actually would, thus making more clients pick them and have a
  23739. pretty effective DoS attack. The other issue is that new bridges
  23740. that might not have a good estimate for their bw capacity yet
  23741. would not get used at all unless no other bridges are available
  23742. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  23743. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  23744. - Ignore cannibalized circuits when recording circuit build times.
  23745. This should provide for a minor performance improvement for hidden
  23746. service users using 0.2.2.14-alpha, and should remove two spurious
  23747. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  23748. - Simplify the logic that causes us to decide if the network is
  23749. unavailable for purposes of recording circuit build times. If we
  23750. receive no cells whatsoever for the entire duration of a circuit's
  23751. full measured lifetime, the network is probably down. Also ignore
  23752. one-hop directory fetching circuit timeouts when calculating our
  23753. circuit build times. These changes should hopefully reduce the
  23754. cases where we see ridiculous circuit build timeouts for people
  23755. with spotty wireless connections. Fixes part of bug 1772; bugfix
  23756. on 0.2.2.2-alpha.
  23757. - Prevent the circuit build timeout from becoming larger than
  23758. the maximum build time we have ever seen. Also, prevent the time
  23759. period for measurement circuits from becoming larger than twice that
  23760. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  23761. o Minor features:
  23762. - When we run out of directory information such that we can't build
  23763. circuits, but then get enough that we can build circuits, log when
  23764. we actually construct a circuit, so the user has a better chance of
  23765. knowing what's going on. Fixes bug 1362.
  23766. - Be more generous with how much bandwidth we'd use up (with
  23767. accounting enabled) before entering "soft hibernation". Previously,
  23768. we'd refuse new connections and circuits once we'd used up 95% of
  23769. our allotment. Now, we use up 95% of our allotment, AND make sure
  23770. that we have no more than 500MB (or 3 hours of expected traffic,
  23771. whichever is lower) remaining before we enter soft hibernation.
  23772. - If we've configured EntryNodes and our network goes away and/or all
  23773. our entrynodes get marked down, optimistically retry them all when
  23774. a new socks application request appears. Fixes bug 1882.
  23775. - Add some more defensive programming for architectures that can't
  23776. handle unaligned integer accesses. We don't know of any actual bugs
  23777. right now, but that's the best time to fix them. Fixes bug 1943.
  23778. - Support line continuations in the torrc config file. If a line
  23779. ends with a single backslash character, the newline is ignored, and
  23780. the configuration value is treated as continuing on the next line.
  23781. Resolves bug 1929.
  23782. o Minor bugfixes (on 0.2.1.x and earlier):
  23783. - For bandwidth accounting, calculate our expected bandwidth rate
  23784. based on the time during which we were active and not in
  23785. soft-hibernation during the last interval. Previously, we were
  23786. also considering the time spent in soft-hibernation. If this
  23787. was a long time, we would wind up underestimating our bandwidth
  23788. by a lot, and skewing our wakeup time towards the start of the
  23789. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  23790. o Minor bugfixes (on 0.2.2.x):
  23791. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  23792. which were disabled by the circuit build timeout changes in
  23793. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  23794. - Make sure we don't warn about missing bandwidth weights when
  23795. choosing bridges or other relays not in the consensus. Bugfix on
  23796. 0.2.2.10-alpha; fixes bug 1805.
  23797. - In our logs, do not double-report signatures from unrecognized
  23798. authorities both as "from unknown authority" and "not
  23799. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  23800. Changes in version 0.2.2.16-alpha - 2010-09-17
  23801. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  23802. evident at exit relays), and also continues to resolve all the little
  23803. bugs that have been filling up trac lately.
  23804. o Major bugfixes (stream-level fairness):
  23805. - When receiving a circuit-level SENDME for a blocked circuit, try
  23806. to package cells fairly from all the streams that had previously
  23807. been blocked on that circuit. Previously, we had started with the
  23808. oldest stream, and allowed each stream to potentially exhaust
  23809. the circuit's package window. This gave older streams on any
  23810. given circuit priority over newer ones. Fixes bug 1937. Detected
  23811. originally by Camilo Viecco. This bug was introduced before the
  23812. first Tor release, in svn commit r152: it is the new winner of
  23813. the longest-lived bug prize.
  23814. - When the exit relay got a circuit-level sendme cell, it started
  23815. reading on the exit streams, even if had 500 cells queued in the
  23816. circuit queue already, so the circuit queue just grew and grew in
  23817. some cases. We fix this by not re-enabling reading on receipt of a
  23818. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  23819. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  23820. "yetonetime".
  23821. - Newly created streams were allowed to read cells onto circuits,
  23822. even if the circuit's cell queue was blocked and waiting to drain.
  23823. This created potential unfairness, as older streams would be
  23824. blocked, but newer streams would gladly fill the queue completely.
  23825. We add code to detect this situation and prevent any stream from
  23826. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  23827. fixes bug 1298.
  23828. o Minor features:
  23829. - Update to the September 1 2010 Maxmind GeoLite Country database.
  23830. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  23831. not. This would lead to a cookie that is still not group readable.
  23832. Closes bug 1843. Suggested by katmagic.
  23833. - When logging a rate-limited warning, we now mention how many messages
  23834. got suppressed since the last warning.
  23835. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  23836. do individual connection-level rate limiting of clients. The torrc
  23837. config options with the same names trump the consensus params, if
  23838. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  23839. consensus params which were broken from 0.2.2.7-alpha through
  23840. 0.2.2.14-alpha. Closes bug 1947.
  23841. - When a router changes IP address or port, authorities now launch
  23842. a new reachability test for it. Implements ticket 1899.
  23843. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  23844. 2 no signature, 4 required" messages about consensus signatures
  23845. easier to read, and make sure they get logged at the same severity
  23846. as the messages explaining which keys are which. Fixes bug 1290.
  23847. - Don't warn when we have a consensus that we can't verify because
  23848. of missing certificates, unless those certificates are ones
  23849. that we have been trying and failing to download. Fixes bug 1145.
  23850. - If you configure your bridge with a known identity fingerprint,
  23851. and the bridge authority is unreachable (as it is in at least
  23852. one country now), fall back to directly requesting the descriptor
  23853. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  23854. closes bug 1138.
  23855. - When building with --enable-gcc-warnings on OpenBSD, disable
  23856. warnings in system headers. This makes --enable-gcc-warnings
  23857. pass on OpenBSD 4.8.
  23858. o Minor bugfixes (on 0.2.1.x and earlier):
  23859. - Authorities will now attempt to download consensuses if their
  23860. own efforts to make a live consensus have failed. This change
  23861. means authorities that restart will fetch a valid consensus, and
  23862. it means authorities that didn't agree with the current consensus
  23863. will still fetch and serve it if it has enough signatures. Bugfix
  23864. on 0.2.0.9-alpha; fixes bug 1300.
  23865. - Ensure DNS requests launched by "RESOLVE" commands from the
  23866. controller respect the __LeaveStreamsUnattached setconf options. The
  23867. same goes for requests launched via DNSPort or transparent
  23868. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  23869. - Allow handshaking OR connections to take a full KeepalivePeriod
  23870. seconds to handshake. Previously, we would close them after
  23871. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  23872. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  23873. for analysis help.
  23874. - Rate-limit "Failed to hand off onionskin" warnings.
  23875. - Never relay a cell for a circuit we have already destroyed.
  23876. Between marking a circuit as closeable and finally closing it,
  23877. it may have been possible for a few queued cells to get relayed,
  23878. even though they would have been immediately dropped by the next
  23879. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  23880. - Never queue a cell for a circuit that's already been marked
  23881. for close.
  23882. - Never vote for a server as "Running" if we have a descriptor for
  23883. it claiming to be hibernating, and that descriptor was published
  23884. more recently than our last contact with the server. Bugfix on
  23885. 0.2.0.3-alpha; fixes bug 911.
  23886. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  23887. bug 1848.
  23888. o Minor bugfixes (on 0.2.2.x):
  23889. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  23890. down if a directory fetch fails and you've configured either
  23891. bridges or EntryNodes. The intent was to mark the relay as down
  23892. _unless_ you're using bridges or EntryNodes, since if you are
  23893. then you could quickly run out of entry points.
  23894. - Fix the Windows directory-listing code. A bug introduced in
  23895. 0.2.2.14-alpha could make Windows directory servers forget to load
  23896. some of their cached v2 networkstatus files.
  23897. - Really allow clients to use relays as bridges. Fixes bug 1776;
  23898. bugfix on 0.2.2.15-alpha.
  23899. - Demote a warn to info that happens when the CellStatistics option
  23900. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  23901. Reported by Moritz Bartl.
  23902. - On Windows, build correctly either with or without Unicode support.
  23903. This is necessary so that Tor can support fringe platforms like
  23904. Windows 98 (which has no Unicode), or Windows CE (which has no
  23905. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  23906. o Testing
  23907. - Add a unit test for cross-platform directory-listing code.
  23908. Changes in version 0.2.2.15-alpha - 2010-08-18
  23909. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  23910. fixes a variety of other bugs that were preventing performance
  23911. experiments from moving forward, fixes several bothersome memory leaks,
  23912. and generally closes a lot of smaller bugs that have been filling up
  23913. trac lately.
  23914. o Major bugfixes:
  23915. - Stop assigning the HSDir flag to relays that disable their
  23916. DirPort (and thus will refuse to answer directory requests). This
  23917. fix should dramatically improve the reachability of hidden services:
  23918. hidden services and hidden service clients pick six HSDir relays
  23919. to store and retrieve the hidden service descriptor, and currently
  23920. about half of the HSDir relays will refuse to work. Bugfix on
  23921. 0.2.0.10-alpha; fixes part of bug 1693.
  23922. - The PerConnBWRate and Burst config options, along with the
  23923. bwconnrate and bwconnburst consensus params, initialized each conn's
  23924. token bucket values only when the connection is established. Now we
  23925. update them if the config options change, and update them every time
  23926. we get a new consensus. Otherwise we can encounter an ugly edge
  23927. case where we initialize an OR conn to client-level bandwidth,
  23928. but then later the relay joins the consensus and we leave it
  23929. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  23930. - Fix a regression that caused Tor to rebind its ports if it receives
  23931. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  23932. o Major features:
  23933. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  23934. should give us approximately 40-50% more Guard-flagged nodes,
  23935. improving the anonymity the Tor network can provide and also
  23936. decreasing the dropoff in throughput that relays experience when
  23937. they first get the Guard flag.
  23938. - Allow enabling or disabling the *Statistics config options while
  23939. Tor is running.
  23940. o Minor features:
  23941. - Update to the August 1 2010 Maxmind GeoLite Country database.
  23942. - Have the controller interface give a more useful message than
  23943. "Internal Error" in response to failed GETINFO requests.
  23944. - Warn when the same option is provided more than once in a torrc
  23945. file, on the command line, or in a single SETCONF statement, and
  23946. the option is one that only accepts a single line. Closes bug 1384.
  23947. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  23948. Patch from mingw-san.
  23949. - Add support for the country code "{??}" in torrc options like
  23950. ExcludeNodes, to indicate all routers of unknown country. Closes
  23951. bug 1094.
  23952. - Relays report the number of bytes spent on answering directory
  23953. requests in extra-info descriptors similar to {read,write}-history.
  23954. Implements enhancement 1790.
  23955. o Minor bugfixes (on 0.2.1.x and earlier):
  23956. - Complain if PublishServerDescriptor is given multiple arguments that
  23957. include 0 or 1. This configuration will be rejected in the future.
  23958. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  23959. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  23960. Bugfix on 0.2.0.13-alpha; closes bug 928.
  23961. - Change "Application request when we're believed to be offline."
  23962. notice to "Application request when we haven't used client
  23963. functionality lately.", to clarify that it's not an error. Bugfix
  23964. on 0.0.9.3; fixes bug 1222.
  23965. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  23966. would return "551 Internal error" rather than "552 Unrecognized key
  23967. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  23968. - Users can't configure a regular relay to be their bridge. It didn't
  23969. work because when Tor fetched the bridge descriptor, it found
  23970. that it already had it, and didn't realize that the purpose of the
  23971. descriptor had changed. Now we replace routers with a purpose other
  23972. than bridge with bridge descriptors when fetching them. Bugfix on
  23973. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  23974. refetch the descriptor with router purpose 'general', disabling
  23975. it as a bridge.
  23976. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  23977. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  23978. on 0.2.0.10-alpha; fixes bug 1808.
  23979. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  23980. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  23981. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  23982. Servers can start sending this code when enough clients recognize
  23983. it. Also update the spec to reflect this new reason. Bugfix on
  23984. 0.1.0.1-rc; fixes part of bug 1793.
  23985. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  23986. when we switch from being a public relay to a bridge. Otherwise
  23987. there will still be clients that see the relay in their consensus,
  23988. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  23989. 932 even more.
  23990. - Instead of giving an assertion failure on an internal mismatch
  23991. on estimated freelist size, just log a BUG warning and try later.
  23992. Mitigates but does not fix bug 1125.
  23993. - Fix an assertion failure that could occur in caches or bridge users
  23994. when using a very short voting interval on a testing network.
  23995. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  23996. o Minor bugfixes (on 0.2.2.x):
  23997. - Alter directory authorities to always consider Exit-flagged nodes
  23998. as potential Guard nodes in their votes. The actual decision to
  23999. use Exits as Guards is done in the consensus bandwidth weights.
  24000. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  24001. - When the controller is reporting the purpose of circuits that
  24002. didn't finish building before the circuit build timeout, it was
  24003. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  24004. - Our libevent version parsing code couldn't handle versions like
  24005. 1.4.14b-stable and incorrectly warned the user about using an
  24006. old and broken version of libevent. Treat 1.4.14b-stable like
  24007. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  24008. on 0.2.2.1-alpha.
  24009. - Don't use substitution references like $(VAR:MOD) when
  24010. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  24011. '$(:x)' to 'x' rather than the empty string. This bites us in
  24012. doc/ when configured with --disable-asciidoc. Bugfix on
  24013. 0.2.2.9-alpha; fixes bug 1773.
  24014. - Remove a spurious hidden service server-side log notice about
  24015. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  24016. bug 1741.
  24017. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  24018. fixes bug 1832.
  24019. - Correctly report written bytes on linked connections. Found while
  24020. implementing 1790. Bugfix on 0.2.2.4-alpha.
  24021. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  24022. one in dirvote_add_signatures_to_pending_consensus(), and one every
  24023. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  24024. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  24025. o Code simplifications and refactoring:
  24026. - Take a first step towards making or.h smaller by splitting out
  24027. function definitions for all source files in src/or/. Leave
  24028. structures and defines in or.h for now.
  24029. - Remove a bunch of unused function declarations as well as a block of
  24030. #if 0'd code from the unit tests. Closes bug 1824.
  24031. - New unit tests for exit-port history statistics; refactored exit
  24032. statistics code to be more easily tested.
  24033. - Remove the old debian/ directory from the main Tor distribution.
  24034. The official Tor-for-debian git repository lives at the URL
  24035. https://git.torproject.org/debian/tor.git
  24036. Changes in version 0.2.2.14-alpha - 2010-07-12
  24037. Tor 0.2.2.14-alpha greatly improves client-side handling of
  24038. circuit build timeouts, which are used to estimate speed and improve
  24039. performance. We also move to a much better GeoIP database, port Tor to
  24040. Windows CE, introduce new compile flags that improve code security,
  24041. add an eighth v3 directory authority, and address a lot of more
  24042. minor issues.
  24043. o Major bugfixes:
  24044. - Tor directory authorities no longer crash when started with a
  24045. cached-microdesc-consensus file in their data directory. Bugfix
  24046. on 0.2.2.6-alpha; fixes bug 1532.
  24047. - Treat an unset $HOME like an empty $HOME rather than triggering an
  24048. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  24049. - Ignore negative and large circuit build timeout values that can
  24050. happen during a suspend or hibernate. These values caused various
  24051. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  24052. - Alter calculation of Pareto distribution parameter 'Xm' for
  24053. Circuit Build Timeout learning to use the weighted average of the
  24054. top N=3 modes (because we have three entry guards). Considering
  24055. multiple modes should improve the timeout calculation in some cases,
  24056. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  24057. fixes bug 1335.
  24058. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  24059. right censored distribution model. This approach improves over the
  24060. synthetic timeout generation approach that was producing insanely
  24061. high timeout values. Now we calculate build timeouts using truncated
  24062. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  24063. - Do not close circuits that are under construction when they reach
  24064. the circuit build timeout. Instead, leave them building (but do not
  24065. use them) for up until the time corresponding to the 95th percentile
  24066. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  24067. to provide better data for the new Pareto model. This percentile
  24068. can be controlled by the consensus.
  24069. o Major features:
  24070. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  24071. June 2009 ip-to-country GeoIP db) for our statistics that count
  24072. how many users relays are seeing from each country. Now we have
  24073. more accurate data for many African countries.
  24074. - Port Tor to build and run correctly on Windows CE systems, using
  24075. the wcecompat library. Contributed by Valerio Lupi.
  24076. - New "--enable-gcc-hardening" ./configure flag (off by default)
  24077. to turn on gcc compile time hardening options. It ensures
  24078. that signed ints have defined behavior (-fwrapv), enables
  24079. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  24080. with canaries (-fstack-protector-all), turns on ASLR protection if
  24081. supported by the kernel (-fPIE, -pie), and adds additional security
  24082. related warnings. Verified to work on Mac OS X and Debian Lenny.
  24083. - New "--enable-linker-hardening" ./configure flag (off by default)
  24084. to turn on ELF specific hardening features (relro, now). This does
  24085. not work with Mac OS X or any other non-ELF binary format.
  24086. o New directory authorities:
  24087. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  24088. authority.
  24089. o Minor features:
  24090. - New config option "WarnUnsafeSocks 0" disables the warning that
  24091. occurs whenever Tor receives a socks handshake using a version of
  24092. the socks protocol that can only provide an IP address (rather
  24093. than a hostname). Setups that do DNS locally over Tor are fine,
  24094. and we shouldn't spam the logs in that case.
  24095. - Convert the HACKING file to asciidoc, and add a few new sections
  24096. to it, explaining how we use Git, how we make changelogs, and
  24097. what should go in a patch.
  24098. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  24099. event, to give information on the current rate of circuit timeouts
  24100. over our stored history.
  24101. - Add ability to disable circuit build time learning via consensus
  24102. parameter and via a LearnCircuitBuildTimeout config option. Also
  24103. automatically disable circuit build time calculation if we are
  24104. either a AuthoritativeDirectory, or if we fail to write our state
  24105. file. Fixes bug 1296.
  24106. - More gracefully handle corrupt state files, removing asserts
  24107. in favor of saving a backup and resetting state.
  24108. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  24109. system headers.
  24110. o Minor bugfixes:
  24111. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  24112. enabled.
  24113. - When a2x fails, mention that the user could disable manpages instead
  24114. of trying to fix their asciidoc installation.
  24115. - Where available, use Libevent 2.0's periodic timers so that our
  24116. once-per-second cleanup code gets called even more closely to
  24117. once per second than it would otherwise. Fixes bug 943.
  24118. - If you run a bridge that listens on multiple IP addresses, and
  24119. some user configures a bridge address that uses a different IP
  24120. address than your bridge writes in its router descriptor, and the
  24121. user doesn't specify an identity key, their Tor would discard the
  24122. descriptor because "it isn't one of our configured bridges", and
  24123. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  24124. Bugfix on 0.2.0.3-alpha.
  24125. - If OpenSSL fails to make a duplicate of a private or public key, log
  24126. an error message and try to exit cleanly. May help with debugging
  24127. if bug 1209 ever remanifests.
  24128. - Save a couple bytes in memory allocation every time we escape
  24129. certain characters in a string. Patch from Florian Zumbiehl.
  24130. - Make it explicit that we don't cannibalize one-hop circuits. This
  24131. happens in the wild, but doesn't turn out to be a problem because
  24132. we fortunately don't use those circuits. Many thanks to outofwords
  24133. for the initial analysis and to swissknife who confirmed that
  24134. two-hop circuits are actually created.
  24135. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  24136. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  24137. - Eliminate a case where a circuit build time warning was displayed
  24138. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  24139. Changes in version 0.2.1.26 - 2010-05-02
  24140. Tor 0.2.1.26 addresses the recent connection and memory overload
  24141. problems we've been seeing on relays, especially relays with their
  24142. DirPort open. If your relay has been crashing, or you turned it off
  24143. because it used too many resources, give this release a try.
  24144. This release also fixes yet another instance of broken OpenSSL libraries
  24145. that was causing some relays to drop out of the consensus.
  24146. o Major bugfixes:
  24147. - Teach relays to defend themselves from connection overload. Relays
  24148. now close idle circuits early if it looks like they were intended
  24149. for directory fetches. Relays are also more aggressive about closing
  24150. TLS connections that have no circuits on them. Such circuits are
  24151. unlikely to be re-used, and tens of thousands of them were piling
  24152. up at the fast relays, causing the relays to run out of sockets
  24153. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  24154. their directory fetches over TLS).
  24155. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  24156. that claim to be earlier than 0.9.8m, but which have in reality
  24157. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  24158. behavior. Possible fix for some cases of bug 1346.
  24159. - Directory mirrors were fetching relay descriptors only from v2
  24160. directory authorities, rather than v3 authorities like they should.
  24161. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  24162. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  24163. o Minor bugfixes:
  24164. - Finally get rid of the deprecated and now harmful notion of "clique
  24165. mode", where directory authorities maintain TLS connections to
  24166. every other relay.
  24167. o Testsuite fixes:
  24168. - In the util/threads test, no longer free the test_mutex before all
  24169. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  24170. - The master thread could starve the worker threads quite badly on
  24171. certain systems, causing them to run only partially in the allowed
  24172. window. This resulted in test failures. Now the master thread sleeps
  24173. occasionally for a few microseconds while the two worker-threads
  24174. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  24175. Changes in version 0.2.2.13-alpha - 2010-04-24
  24176. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  24177. problems we've been seeing on relays, especially relays with their
  24178. DirPort open. If your relay has been crashing, or you turned it off
  24179. because it used too many resources, give this release a try.
  24180. o Major bugfixes:
  24181. - Teach relays to defend themselves from connection overload. Relays
  24182. now close idle circuits early if it looks like they were intended
  24183. for directory fetches. Relays are also more aggressive about closing
  24184. TLS connections that have no circuits on them. Such circuits are
  24185. unlikely to be re-used, and tens of thousands of them were piling
  24186. up at the fast relays, causing the relays to run out of sockets
  24187. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  24188. their directory fetches over TLS).
  24189. o Minor features:
  24190. - Finally get rid of the deprecated and now harmful notion of "clique
  24191. mode", where directory authorities maintain TLS connections to
  24192. every other relay.
  24193. - Directory authorities now do an immediate reachability check as soon
  24194. as they hear about a new relay. This change should slightly reduce
  24195. the time between setting up a relay and getting listed as running
  24196. in the consensus. It should also improve the time between setting
  24197. up a bridge and seeing use by bridge users.
  24198. - Directory authorities no longer launch a TLS connection to every
  24199. relay as they startup. Now that we have 2k+ descriptors cached,
  24200. the resulting network hiccup is becoming a burden. Besides,
  24201. authorities already avoid voting about Running for the first half
  24202. hour of their uptime.
  24203. Changes in version 0.2.2.12-alpha - 2010-04-20
  24204. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  24205. handle and vote on descriptors. It was causing relays to drop out of
  24206. the consensus.
  24207. o Major bugfixes:
  24208. - Many relays have been falling out of the consensus lately because
  24209. not enough authorities know about their descriptor for them to get
  24210. a majority of votes. When we deprecated the v2 directory protocol,
  24211. we got rid of the only way that v3 authorities can hear from each
  24212. other about other descriptors. Now authorities examine every v3
  24213. vote for new descriptors, and fetch them from that authority. Bugfix
  24214. on 0.2.1.23.
  24215. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  24216. and a warning in or.h related to bandwidth_weight_rule_t that
  24217. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  24218. 0.2.2.11-alpha.
  24219. - Fix a segfault on relays when DirReqStatistics is enabled
  24220. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  24221. 0.2.2.11-alpha.
  24222. o Minor bugfixes:
  24223. - Demote a confusing TLS warning that relay operators might get when
  24224. someone tries to talk to their OrPort. It is neither the operator's
  24225. fault nor can they do anything about it. Fixes bug 1364; bugfix
  24226. on 0.2.0.14-alpha.
  24227. Changes in version 0.2.2.11-alpha - 2010-04-15
  24228. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  24229. libraries that was causing some relays to drop out of the consensus.
  24230. o Major bugfixes:
  24231. - Directory mirrors were fetching relay descriptors only from v2
  24232. directory authorities, rather than v3 authorities like they should.
  24233. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  24234. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  24235. - Fix a parsing error that made every possible value of
  24236. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  24237. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  24238. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  24239. about the option without breaking older ones.
  24240. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  24241. that claim to be earlier than 0.9.8m, but which have in reality
  24242. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  24243. behavior. Possible fix for some cases of bug 1346.
  24244. o Minor features:
  24245. - Experiment with a more aggressive approach to preventing clients
  24246. from making one-hop exit streams. Exit relays who want to try it
  24247. out can set "RefuseUnknownExits 1" in their torrc, and then look
  24248. for "Attempt by %s to open a stream" log messages. Let us know
  24249. how it goes!
  24250. - Add support for statically linking zlib by specifying
  24251. --enable-static-zlib, to go with our support for statically linking
  24252. openssl and libevent. Resolves bug 1358.
  24253. o Minor bugfixes:
  24254. - Fix a segfault that happens whenever a Tor client that is using
  24255. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  24256. fixes bug 1341.
  24257. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  24258. out the first line. Fixes bug 1295.
  24259. - When building the manpage from a tarball, we required asciidoc, but
  24260. the asciidoc -> roff/html conversion was already done for the
  24261. tarball. Make 'make' complain only when we need asciidoc (either
  24262. because we're compiling directly from git, or because we altered
  24263. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  24264. - When none of the directory authorities vote on any params, Tor
  24265. segfaulted when trying to make the consensus from the votes. We
  24266. didn't trigger the bug in practice, because authorities do include
  24267. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  24268. o Testsuite fixes:
  24269. - In the util/threads test, no longer free the test_mutex before all
  24270. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  24271. - The master thread could starve the worker threads quite badly on
  24272. certain systems, causing them to run only partially in the allowed
  24273. window. This resulted in test failures. Now the master thread sleeps
  24274. occasionally for a few microseconds while the two worker-threads
  24275. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  24276. Changes in version 0.2.2.10-alpha - 2010-03-07
  24277. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  24278. could prevent relays from guessing their IP address correctly. It also
  24279. starts the groundwork for another client-side performance boost, since
  24280. currently we're not making efficient use of relays that have both the
  24281. Guard flag and the Exit flag.
  24282. o Major bugfixes:
  24283. - Fix a regression from our patch for bug 1244 that caused relays
  24284. to guess their IP address incorrectly if they didn't set Address
  24285. in their torrc and/or their address fails to resolve. Bugfix on
  24286. 0.2.2.9-alpha; fixes bug 1269.
  24287. o Major features (performance):
  24288. - Directory authorities now compute consensus weightings that instruct
  24289. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  24290. and no flag. Clients that use these weightings will distribute
  24291. network load more evenly across these different relay types. The
  24292. weightings are in the consensus so we can change them globally in
  24293. the future. Extra thanks to "outofwords" for finding some nasty
  24294. security bugs in the first implementation of this feature.
  24295. o Minor features (performance):
  24296. - Always perform router selections using weighted relay bandwidth,
  24297. even if we don't need a high capacity circuit at the time. Non-fast
  24298. circuits now only differ from fast ones in that they can use relays
  24299. not marked with the Fast flag. This "feature" could turn out to
  24300. be a horrible bug; we should investigate more before it goes into
  24301. a stable release.
  24302. o Minor features:
  24303. - Allow disabling building of the manpages. Skipping the manpage
  24304. speeds up the build considerably.
  24305. o Minor bugfixes (on 0.2.2.x):
  24306. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  24307. Bugfix on 0.2.2.9-alpha.
  24308. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  24309. config option. Bugfix on 0.2.2.7-alpha.
  24310. - Ship the asciidoc-helper file in the tarball, so that people can
  24311. build from source if they want to, and touching the .1.txt files
  24312. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  24313. o Minor bugfixes (on 0.2.1.x or earlier):
  24314. - Fix a dereference-then-NULL-check sequence when publishing
  24315. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  24316. bug 1255.
  24317. - Fix another dereference-then-NULL-check sequence. Bugfix on
  24318. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  24319. - Make sure we treat potentially not NUL-terminated strings correctly.
  24320. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  24321. o Code simplifications and refactoring:
  24322. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  24323. compliant. Based on a patch from Christian Kujau.
  24324. - Don't use sed in asciidoc-helper anymore.
  24325. - Make the build process fail if asciidoc cannot be found and
  24326. building with asciidoc isn't disabled.
  24327. Changes in version 0.2.2.9-alpha - 2010-02-22
  24328. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  24329. location of a directory authority, and cleans up a bunch of small bugs.
  24330. o Directory authority changes:
  24331. - Change IP address for dannenberg (v3 directory authority), and
  24332. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  24333. service directory authority) from the list.
  24334. o Major bugfixes:
  24335. - Make Tor work again on the latest OS X: when deciding whether to
  24336. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  24337. version at run-time, not compile time. We need to do this because
  24338. Apple doesn't update its dev-tools headers when it updates its
  24339. libraries in a security patch.
  24340. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  24341. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  24342. a memory leak when requesting a hidden service descriptor we've
  24343. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  24344. by aakova.
  24345. - Authorities could be tricked into giving out the Exit flag to relays
  24346. that didn't allow exiting to any ports. This bug could screw
  24347. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  24348. 1238. Bug discovered by Martin Kowalczyk.
  24349. - When freeing a session key, zero it out completely. We only zeroed
  24350. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  24351. patched by ekir. Fixes bug 1254.
  24352. o Minor bugfixes:
  24353. - Fix static compilation by listing the openssl libraries in the right
  24354. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  24355. - Resume handling .exit hostnames in a special way: originally we
  24356. stripped the .exit part and used the requested exit relay. In
  24357. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  24358. if you use a .exit address then Tor will pass it on to the exit
  24359. relay. Now we reject the .exit stream outright, since that behavior
  24360. might be more expected by the user. Found and diagnosed by Scott
  24361. Bennett and Downie on or-talk.
  24362. - Don't spam the controller with events when we have no file
  24363. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  24364. for log messages was already solved from bug 748.)
  24365. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  24366. "memcpyfail".
  24367. - Make the DNSPort option work with libevent 2.x. Don't alter the
  24368. behavior for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  24369. - Emit a GUARD DROPPED controller event for a case we missed.
  24370. - Make more fields in the controller protocol case-insensitive, since
  24371. control-spec.txt said they were.
  24372. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  24373. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  24374. - Fix a spec conformance issue: the network-status-version token
  24375. must be the first token in a v3 consensus or vote. Discovered by
  24376. parakeep. Bugfix on 0.2.0.3-alpha.
  24377. o Code simplifications and refactoring:
  24378. - Generate our manpage and HTML documentation using Asciidoc. This
  24379. change should make it easier to maintain the documentation, and
  24380. produce nicer HTML.
  24381. - Remove the --enable-iphone option. According to reports from Marco
  24382. Bonetti, Tor builds fine without any special tweaking on recent
  24383. iPhone SDK versions.
  24384. - Removed some unnecessary files from the source distribution. The
  24385. AUTHORS file has now been merged into the people page on the
  24386. website. The roadmaps and design doc can now be found in the
  24387. projects directory in svn.
  24388. - Enabled various circuit build timeout constants to be controlled
  24389. by consensus parameters. Also set better defaults for these
  24390. parameters based on experimentation on broadband and simulated
  24391. high latency links.
  24392. o Minor features:
  24393. - The 'EXTENDCIRCUIT' control port command can now be used with
  24394. a circ id of 0 and no path. This feature will cause Tor to build
  24395. a new 'fast' general purpose circuit using its own path selection
  24396. algorithms.
  24397. - Added a BUILDTIMEOUT_SET controller event to describe changes
  24398. to the circuit build timeout.
  24399. - Future-proof the controller protocol a bit by ignoring keyword
  24400. arguments we do not recognize.
  24401. - Expand homedirs passed to tor-checkkey. This should silence a
  24402. coverity complaint about passing a user-supplied string into
  24403. open() without checking it.
  24404. Changes in version 0.2.1.25 - 2010-03-16
  24405. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  24406. prevent relays from guessing their IP address correctly. It also fixes
  24407. several minor potential security bugs.
  24408. o Major bugfixes:
  24409. - Fix a regression from our patch for bug 1244 that caused relays
  24410. to guess their IP address incorrectly if they didn't set Address
  24411. in their torrc and/or their address fails to resolve. Bugfix on
  24412. 0.2.1.23; fixes bug 1269.
  24413. - When freeing a session key, zero it out completely. We only zeroed
  24414. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  24415. patched by ekir. Fixes bug 1254.
  24416. o Minor bugfixes:
  24417. - Fix a dereference-then-NULL-check sequence when publishing
  24418. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  24419. bug 1255.
  24420. - Fix another dereference-then-NULL-check sequence. Bugfix on
  24421. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  24422. - Make sure we treat potentially not NUL-terminated strings correctly.
  24423. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  24424. Changes in version 0.2.1.24 - 2010-02-21
  24425. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  24426. for sure!
  24427. o Minor bugfixes:
  24428. - Work correctly out-of-the-box with even more vendor-patched versions
  24429. of OpenSSL. In particular, make it so Debian and OS X don't need
  24430. customized patches to run/build.
  24431. Changes in version 0.2.1.23 - 2010-02-13
  24432. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  24433. again on the latest OS X, and updates the location of a directory
  24434. authority.
  24435. o Major bugfixes (performance):
  24436. - We were selecting our guards uniformly at random, and then weighting
  24437. which of our guards we'd use uniformly at random. This imbalance
  24438. meant that Tor clients were severely limited on throughput (and
  24439. probably latency too) by the first hop in their circuit. Now we
  24440. select guards weighted by currently advertised bandwidth. We also
  24441. automatically discard guards picked using the old algorithm. Fixes
  24442. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  24443. o Major bugfixes:
  24444. - Make Tor work again on the latest OS X: when deciding whether to
  24445. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  24446. version at run-time, not compile time. We need to do this because
  24447. Apple doesn't update its dev-tools headers when it updates its
  24448. libraries in a security patch.
  24449. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  24450. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  24451. a memory leak when requesting a hidden service descriptor we've
  24452. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  24453. by aakova.
  24454. o Directory authority changes:
  24455. - Change IP address for dannenberg (v3 directory authority), and
  24456. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  24457. service directory authority) from the list.
  24458. o Minor bugfixes:
  24459. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  24460. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  24461. o Minor features:
  24462. - Avoid a mad rush at the beginning of each month when each client
  24463. rotates half of its guards. Instead we spread the rotation out
  24464. throughout the month, but we still avoid leaving a precise timestamp
  24465. in the state file about when we first picked the guard. Improves
  24466. over the behavior introduced in 0.1.2.17.
  24467. Changes in version 0.2.2.8-alpha - 2010-01-26
  24468. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  24469. causing bridge relays to disappear. If you're running a bridge,
  24470. please upgrade.
  24471. o Major bugfixes:
  24472. - Fix a memory corruption bug on bridges that occurred during the
  24473. inclusion of stats data in extra-info descriptors. Also fix the
  24474. interface for geoip_get_bridge_stats* to prevent similar bugs in
  24475. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  24476. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  24477. o Minor bugfixes:
  24478. - Ignore OutboundBindAddress when connecting to localhost.
  24479. Connections to localhost need to come _from_ localhost, or else
  24480. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  24481. refuse to listen.
  24482. Changes in version 0.2.2.7-alpha - 2010-01-19
  24483. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  24484. as laying the groundwork for further relay-side performance fixes. It
  24485. also starts cleaning up client behavior with respect to the EntryNodes,
  24486. ExitNodes, and StrictNodes config options.
  24487. This release also rotates two directory authority keys, due to a
  24488. security breach of some of the Torproject servers.
  24489. o Directory authority changes:
  24490. - Rotate keys (both v3 identity and relay identity) for moria1
  24491. and gabelmoo.
  24492. o Major features (performance):
  24493. - We were selecting our guards uniformly at random, and then weighting
  24494. which of our guards we'd use uniformly at random. This imbalance
  24495. meant that Tor clients were severely limited on throughput (and
  24496. probably latency too) by the first hop in their circuit. Now we
  24497. select guards weighted by currently advertised bandwidth. We also
  24498. automatically discard guards picked using the old algorithm. Fixes
  24499. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  24500. - When choosing which cells to relay first, relays can now favor
  24501. circuits that have been quiet recently, to provide lower latency
  24502. for low-volume circuits. By default, relays enable or disable this
  24503. feature based on a setting in the consensus. You can override
  24504. this default by using the new "CircuitPriorityHalflife" config
  24505. option. Design and code by Ian Goldberg, Can Tang, and Chris
  24506. Alexander.
  24507. - Add separate per-conn write limiting to go with the per-conn read
  24508. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  24509. but never per-conn write limits.
  24510. - New consensus params "bwconnrate" and "bwconnburst" to let us
  24511. rate-limit client connections as they enter the network. It's
  24512. controlled in the consensus so we can turn it on and off for
  24513. experiments. It's starting out off. Based on proposal 163.
  24514. o Major features (relay selection options):
  24515. - Switch to a StrictNodes config option, rather than the previous
  24516. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  24517. "StrictExcludeNodes" option.
  24518. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  24519. change during a config reload, mark and discard all our origin
  24520. circuits. This fix should address edge cases where we change the
  24521. config options and but then choose a circuit that we created before
  24522. the change.
  24523. - If EntryNodes or ExitNodes are set, be more willing to use an
  24524. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  24525. they get it.
  24526. - Make EntryNodes config option much more aggressive even when
  24527. StrictNodes is not set. Before it would prepend your requested
  24528. entrynodes to your list of guard nodes, but feel free to use others
  24529. after that. Now it chooses only from your EntryNodes if any of
  24530. those are available, and only falls back to others if a) they're
  24531. all down and b) StrictNodes is not set.
  24532. - Now we refresh your entry guards from EntryNodes at each consensus
  24533. fetch -- rather than just at startup and then they slowly rot as
  24534. the network changes.
  24535. o Major bugfixes:
  24536. - Stop bridge directory authorities from answering dbg-stability.txt
  24537. directory queries, which would let people fetch a list of all
  24538. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  24539. o Minor features:
  24540. - Log a notice when we get a new control connection. Now it's easier
  24541. for security-conscious users to recognize when a local application
  24542. is knocking on their controller door. Suggested by bug 1196.
  24543. - New config option "CircuitStreamTimeout" to override our internal
  24544. timeout schedule for how many seconds until we detach a stream from
  24545. a circuit and try a new circuit. If your network is particularly
  24546. slow, you might want to set this to a number like 60.
  24547. - New controller command "getinfo config-text". It returns the
  24548. contents that Tor would write if you send it a SAVECONF command,
  24549. so the controller can write the file to disk itself.
  24550. - New options for SafeLogging to allow scrubbing only log messages
  24551. generated while acting as a relay.
  24552. - Ship the bridges spec file in the tarball too.
  24553. - Avoid a mad rush at the beginning of each month when each client
  24554. rotates half of its guards. Instead we spread the rotation out
  24555. throughout the month, but we still avoid leaving a precise timestamp
  24556. in the state file about when we first picked the guard. Improves
  24557. over the behavior introduced in 0.1.2.17.
  24558. o Minor bugfixes (compiling):
  24559. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  24560. hides it. Bugfix on 0.2.2.6-alpha.
  24561. - Fix compilation on Solaris by removing support for the
  24562. DisableAllSwap config option. Solaris doesn't have an rlimit for
  24563. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  24564. 0.2.2.6-alpha.
  24565. o Minor bugfixes (crashes):
  24566. - Do not segfault when writing buffer stats when we haven't observed
  24567. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  24568. 0.2.2.1-alpha.
  24569. - If we're in the pathological case where there's no exit bandwidth
  24570. but there is non-exit bandwidth, or no guard bandwidth but there
  24571. is non-guard bandwidth, don't crash during path selection. Bugfix
  24572. on 0.2.0.3-alpha.
  24573. - Fix an impossible-to-actually-trigger buffer overflow in relay
  24574. descriptor generation. Bugfix on 0.1.0.15.
  24575. o Minor bugfixes (privacy):
  24576. - Fix an instance where a Tor directory mirror might accidentally
  24577. log the IP address of a misbehaving Tor client. Bugfix on
  24578. 0.1.0.1-rc.
  24579. - Don't list Windows capabilities in relay descriptors. We never made
  24580. use of them, and maybe it's a bad idea to publish them. Bugfix
  24581. on 0.1.1.8-alpha.
  24582. o Minor bugfixes (other):
  24583. - Resolve an edge case in path weighting that could make us misweight
  24584. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  24585. - Fix statistics on client numbers by country as seen by bridges that
  24586. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  24587. intervals instead of variable 12-to-48-hour intervals.
  24588. - After we free an internal connection structure, overwrite it
  24589. with a different memory value than we use for overwriting a freed
  24590. internal circuit structure. Should help with debugging. Suggested
  24591. by bug 1055.
  24592. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  24593. too.
  24594. o Removed features:
  24595. - Remove the HSAuthorityRecordStats option that version 0 hidden
  24596. service authorities could have used to track statistics of overall
  24597. hidden service usage.
  24598. Changes in version 0.2.1.22 - 2010-01-19
  24599. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  24600. authorities -- it would tell you its whole history of bridge descriptors
  24601. if you make the right directory request. This stable update also
  24602. rotates two of the seven v3 directory authority keys and locations.
  24603. o Directory authority changes:
  24604. - Rotate keys (both v3 identity and relay identity) for moria1
  24605. and gabelmoo.
  24606. o Major bugfixes:
  24607. - Stop bridge directory authorities from answering dbg-stability.txt
  24608. directory queries, which would let people fetch a list of all
  24609. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  24610. Changes in version 0.2.1.21 - 2009-12-21
  24611. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  24612. library. If you use Tor on Linux / Unix and you're getting SSL
  24613. renegotiation errors, upgrading should help. We also recommend an
  24614. upgrade if you're an exit relay.
  24615. o Major bugfixes:
  24616. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  24617. handshake from working unless we explicitly tell OpenSSL that we
  24618. are using SSL renegotiation safely. We are, of course, but OpenSSL
  24619. 0.9.8l won't work unless we say we are.
  24620. - Avoid crashing if the client is trying to upload many bytes and the
  24621. circuit gets torn down at the same time, or if the flip side
  24622. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  24623. o Minor bugfixes:
  24624. - Do not refuse to learn about authority certs and v2 networkstatus
  24625. documents that are older than the latest consensus. This bug might
  24626. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  24627. Spotted and fixed by xmux.
  24628. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  24629. trigger platform-specific option misparsing case found by Coverity
  24630. Scan.
  24631. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  24632. trigger assert. Fixes bug 1173.
  24633. Changes in version 0.2.2.6-alpha - 2009-11-19
  24634. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  24635. support for the new lower-footprint "microdescriptor" directory design,
  24636. future-proofing our consensus format against new hash functions or
  24637. other changes, and an Android port. It also makes Tor compatible with
  24638. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  24639. o Major features:
  24640. - Directory authorities can now create, vote on, and serve multiple
  24641. parallel formats of directory data as part of their voting process.
  24642. Partially implements Proposal 162: "Publish the consensus in
  24643. multiple flavors".
  24644. - Directory authorities can now agree on and publish small summaries
  24645. of router information that clients can use in place of regular
  24646. server descriptors. This transition will eventually allow clients
  24647. to use far less bandwidth for downloading information about the
  24648. network. Begins the implementation of Proposal 158: "Clients
  24649. download consensus + microdescriptors".
  24650. - The directory voting system is now extensible to use multiple hash
  24651. algorithms for signatures and resource selection. Newer formats
  24652. are signed with SHA256, with a possibility for moving to a better
  24653. hash algorithm in the future.
  24654. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  24655. current and future memory pages via mlockall(). On supported
  24656. platforms (modern Linux and probably BSD but not Windows or OS X),
  24657. this should effectively disable any and all attempts to page out
  24658. memory. This option requires that you start your Tor as root --
  24659. if you use DisableAllSwap, please consider using the User option
  24660. to properly reduce the privileges of your Tor.
  24661. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  24662. to help Tor build correctly for Android phones.
  24663. o Major bugfixes:
  24664. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  24665. handshake from working unless we explicitly tell OpenSSL that we
  24666. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  24667. won't work unless we say we are.
  24668. o Minor bugfixes:
  24669. - Fix a crash bug when trying to initialize the evdns module in
  24670. Libevent 2. Bugfix on 0.2.1.16-rc.
  24671. - Stop logging at severity 'warn' when some other Tor client tries
  24672. to establish a circuit with us using weak DH keys. It's a protocol
  24673. violation, but that doesn't mean ordinary users need to hear about
  24674. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  24675. - Do not refuse to learn about authority certs and v2 networkstatus
  24676. documents that are older than the latest consensus. This bug might
  24677. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  24678. Spotted and fixed by xmux.
  24679. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  24680. - If all authorities restart at once right before a consensus vote,
  24681. nobody will vote about "Running", and clients will get a consensus
  24682. with no usable relays. Instead, authorities refuse to build a
  24683. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  24684. - If your relay can't keep up with the number of incoming create
  24685. cells, it would log one warning per failure into your logs. Limit
  24686. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  24687. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  24688. on 0.2.0.3-alpha; fixes bug 1113.
  24689. - Fix a memory leak on directory authorities during voting that was
  24690. introduced in 0.2.2.1-alpha. Found via valgrind.
  24691. Changes in version 0.2.1.20 - 2009-10-15
  24692. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  24693. services at once, prepares for more performance improvements, and
  24694. fixes a bunch of smaller bugs.
  24695. The Windows and OS X bundles also include a more recent Vidalia,
  24696. and switch from Privoxy to Polipo.
  24697. The OS X installers are now drag and drop. It's best to un-install
  24698. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  24699. you want to upgrade, you'll need to update the paths for Tor and Polipo
  24700. in the Vidalia Settings window.
  24701. o Major bugfixes:
  24702. - Send circuit or stream sendme cells when our window has decreased
  24703. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  24704. by Karsten when testing the "reduce circuit window" performance
  24705. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  24706. before the release of Tor 0.0.0. This is the new winner of the
  24707. oldest-bug prize.
  24708. - Fix a remotely triggerable memory leak when a consensus document
  24709. contains more than one signature from the same voter. Bugfix on
  24710. 0.2.0.3-alpha.
  24711. - Avoid segfault in rare cases when finishing an introduction circuit
  24712. as a client and finding out that we don't have an introduction key
  24713. for it. Fixes bug 1073. Reported by Aaron Swartz.
  24714. o Major features:
  24715. - Tor now reads the "circwindow" parameter out of the consensus,
  24716. and uses that value for its circuit package window rather than the
  24717. default of 1000 cells. Begins the implementation of proposal 168.
  24718. o New directory authorities:
  24719. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  24720. authority.
  24721. - Move moria1 and tonga to alternate IP addresses.
  24722. o Minor bugfixes:
  24723. - Fix a signed/unsigned compile warning in 0.2.1.19.
  24724. - Fix possible segmentation fault on directory authorities. Bugfix on
  24725. 0.2.1.14-rc.
  24726. - Fix an extremely rare infinite recursion bug that could occur if
  24727. we tried to log a message after shutting down the log subsystem.
  24728. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  24729. - Fix an obscure bug where hidden services on 64-bit big-endian
  24730. systems might mis-read the timestamp in v3 introduce cells, and
  24731. refuse to connect back to the client. Discovered by "rotor".
  24732. Bugfix on 0.2.1.6-alpha.
  24733. - We were triggering a CLOCK_SKEW controller status event whenever
  24734. we connect via the v2 connection protocol to any relay that has
  24735. a wrong clock. Instead, we should only inform the controller when
  24736. it's a trusted authority that claims our clock is wrong. Bugfix
  24737. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  24738. - We were telling the controller about CHECKING_REACHABILITY and
  24739. REACHABILITY_FAILED status events whenever we launch a testing
  24740. circuit or notice that one has failed. Instead, only tell the
  24741. controller when we want to inform the user of overall success or
  24742. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  24743. by SwissTorExit.
  24744. - Don't warn when we're using a circuit that ends with a node
  24745. excluded in ExcludeExitNodes, but the circuit is not used to access
  24746. the outside world. This should help fix bug 1090. Bugfix on
  24747. 0.2.1.6-alpha.
  24748. - Work around a small memory leak in some versions of OpenSSL that
  24749. stopped the memory used by the hostname TLS extension from being
  24750. freed.
  24751. o Minor features:
  24752. - Add a "getinfo status/accepted-server-descriptor" controller
  24753. command, which is the recommended way for controllers to learn
  24754. whether our server descriptor has been successfully received by at
  24755. least on directory authority. Un-recommend good-server-descriptor
  24756. getinfo and status events until we have a better design for them.
  24757. Changes in version 0.2.2.5-alpha - 2009-10-11
  24758. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  24759. o Major bugfixes:
  24760. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  24761. o Directory authorities:
  24762. - Temporarily (just for this release) move dizum to an alternate
  24763. IP address.
  24764. Changes in version 0.2.2.4-alpha - 2009-10-10
  24765. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  24766. introduces a new unit test framework, shifts directry authority
  24767. addresses around to reduce the impact from recent blocking events,
  24768. and fixes a few smaller bugs.
  24769. o Major bugfixes:
  24770. - Fix several more asserts in the circuit_build_times code, for
  24771. example one that causes Tor to fail to start once we have
  24772. accumulated 5000 build times in the state file. Bugfixes on
  24773. 0.2.2.2-alpha; fixes bug 1108.
  24774. o New directory authorities:
  24775. - Move moria1 and Tonga to alternate IP addresses.
  24776. o Minor features:
  24777. - Log SSL state transitions at debug level during handshake, and
  24778. include SSL states in error messages. This may help debug future
  24779. SSL handshake issues.
  24780. - Add a new "Handshake" log domain for activities that happen
  24781. during the TLS handshake.
  24782. - Revert to the "June 3 2009" ip-to-country file. The September one
  24783. seems to have removed most US IP addresses.
  24784. - Directory authorities now reject Tor relays with versions less than
  24785. 0.1.2.14. This step cuts out four relays from the current network,
  24786. none of which are very big.
  24787. o Minor bugfixes:
  24788. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  24789. on 0.2.2.1-alpha.
  24790. - Fix two memory leaks in the error case of
  24791. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  24792. - Don't count one-hop circuits when we're estimating how long it
  24793. takes circuits to build on average. Otherwise we'll set our circuit
  24794. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  24795. - Directory authorities no longer change their opinion of, or vote on,
  24796. whether a router is Running, unless they have themselves been
  24797. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  24798. Fixes bug 1023.
  24799. o Code simplifications and refactoring:
  24800. - Revise our unit tests to use the "tinytest" framework, so we
  24801. can run tests in their own processes, have smarter setup/teardown
  24802. code, and so on. The unit test code has moved to its own
  24803. subdirectory, and has been split into multiple modules.
  24804. Changes in version 0.2.2.3-alpha - 2009-09-23
  24805. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  24806. o Major bugfixes:
  24807. - Fix an overzealous assert in our new circuit build timeout code.
  24808. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  24809. o Minor bugfixes:
  24810. - If the networkstatus consensus tells us that we should use a
  24811. negative circuit package window, ignore it. Otherwise we'll
  24812. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  24813. Changes in version 0.2.2.2-alpha - 2009-09-21
  24814. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  24815. clients: Tor tracks the average time it takes to build a circuit, and
  24816. avoids using circuits that take too long to build. For fast connections,
  24817. this feature can cut your expected latency in half. For slow or flaky
  24818. connections, it could ruin your Tor experience. Let us know if it does!
  24819. o Major features:
  24820. - Tor now tracks how long it takes to build client-side circuits
  24821. over time, and adapts its timeout to local network performance.
  24822. Since a circuit that takes a long time to build will also provide
  24823. bad performance, we get significant latency improvements by
  24824. discarding the slowest 20% of circuits. Specifically, Tor creates
  24825. circuits more aggressively than usual until it has enough data
  24826. points for a good timeout estimate. Implements proposal 151.
  24827. We are especially looking for reports (good and bad) from users with
  24828. both EDGE and broadband connections that can move from broadband
  24829. to EDGE and find out if the build-time data in the .tor/state gets
  24830. reset without loss of Tor usability. You should also see a notice
  24831. log message telling you that Tor has reset its timeout.
  24832. - Directory authorities can now vote on arbitrary integer values as
  24833. part of the consensus process. This is designed to help set
  24834. network-wide parameters. Implements proposal 167.
  24835. - Tor now reads the "circwindow" parameter out of the consensus,
  24836. and uses that value for its circuit package window rather than the
  24837. default of 1000 cells. Begins the implementation of proposal 168.
  24838. o Major bugfixes:
  24839. - Fix a remotely triggerable memory leak when a consensus document
  24840. contains more than one signature from the same voter. Bugfix on
  24841. 0.2.0.3-alpha.
  24842. o Minor bugfixes:
  24843. - Fix an extremely rare infinite recursion bug that could occur if
  24844. we tried to log a message after shutting down the log subsystem.
  24845. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  24846. - Fix parsing for memory or time units given without a space between
  24847. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  24848. - A networkstatus vote must contain exactly one signature. Spec
  24849. conformance issue. Bugfix on 0.2.0.3-alpha.
  24850. - Fix an obscure bug where hidden services on 64-bit big-endian
  24851. systems might mis-read the timestamp in v3 introduce cells, and
  24852. refuse to connect back to the client. Discovered by "rotor".
  24853. Bugfix on 0.2.1.6-alpha.
  24854. - We were triggering a CLOCK_SKEW controller status event whenever
  24855. we connect via the v2 connection protocol to any relay that has
  24856. a wrong clock. Instead, we should only inform the controller when
  24857. it's a trusted authority that claims our clock is wrong. Bugfix
  24858. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  24859. - We were telling the controller about CHECKING_REACHABILITY and
  24860. REACHABILITY_FAILED status events whenever we launch a testing
  24861. circuit or notice that one has failed. Instead, only tell the
  24862. controller when we want to inform the user of overall success or
  24863. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  24864. by SwissTorExit.
  24865. - Don't warn when we're using a circuit that ends with a node
  24866. excluded in ExcludeExitNodes, but the circuit is not used to access
  24867. the outside world. This should help fix bug 1090, but more problems
  24868. remain. Bugfix on 0.2.1.6-alpha.
  24869. - Work around a small memory leak in some versions of OpenSSL that
  24870. stopped the memory used by the hostname TLS extension from being
  24871. freed.
  24872. - Make our 'torify' script more portable; if we have only one of
  24873. 'torsocks' or 'tsocks' installed, don't complain to the user;
  24874. and explain our warning about tsocks better.
  24875. o Minor features:
  24876. - Add a "getinfo status/accepted-server-descriptor" controller
  24877. command, which is the recommended way for controllers to learn
  24878. whether our server descriptor has been successfully received by at
  24879. least on directory authority. Un-recommend good-server-descriptor
  24880. getinfo and status events until we have a better design for them.
  24881. - Update to the "September 4 2009" ip-to-country file.
  24882. Changes in version 0.2.2.1-alpha - 2009-08-26
  24883. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  24884. Tor clients to bootstrap on networks where only port 80 is reachable,
  24885. makes it more straightforward to support hardware crypto accelerators,
  24886. and starts the groundwork for gathering stats safely at relays.
  24887. o Security fixes:
  24888. - Start the process of disabling ".exit" address notation, since it
  24889. can be used for a variety of esoteric application-level attacks
  24890. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  24891. on 0.0.9rc5.
  24892. o New directory authorities:
  24893. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  24894. authority.
  24895. o Major features:
  24896. - New AccelName and AccelDir options add support for dynamic OpenSSL
  24897. hardware crypto acceleration engines.
  24898. - Tor now supports tunneling all of its outgoing connections over
  24899. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  24900. configuration options. Code by Christopher Davis.
  24901. o Major bugfixes:
  24902. - Send circuit or stream sendme cells when our window has decreased
  24903. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  24904. by Karsten when testing the "reduce circuit window" performance
  24905. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  24906. before the release of Tor 0.0.0. This is the new winner of the
  24907. oldest-bug prize.
  24908. o New options for gathering stats safely:
  24909. - Directory mirrors that set "DirReqStatistics 1" write statistics
  24910. about directory requests to disk every 24 hours. As compared to the
  24911. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  24912. 1) stats are written to disk exactly every 24 hours; 2) estimated
  24913. shares of v2 and v3 requests are determined as mean values, not at
  24914. the end of a measurement period; 3) unresolved requests are listed
  24915. with country code '??'; 4) directories also measure download times.
  24916. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  24917. number of exit streams and transferred bytes per port to disk every
  24918. 24 hours.
  24919. - Relays that set "CellStatistics 1" write statistics on how long
  24920. cells spend in their circuit queues to disk every 24 hours.
  24921. - Entry nodes that set "EntryStatistics 1" write statistics on the
  24922. rough number and origins of connecting clients to disk every 24
  24923. hours.
  24924. - Relays that write any of the above statistics to disk and set
  24925. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  24926. their extra-info documents.
  24927. o Minor features:
  24928. - New --digests command-line switch to output the digests of the
  24929. source files Tor was built with.
  24930. - The "torify" script now uses torsocks where available.
  24931. - The memarea code now uses a sentinel value at the end of each area
  24932. to make sure nothing writes beyond the end of an area. This might
  24933. help debug some conceivable causes of bug 930.
  24934. - Time and memory units in the configuration file can now be set to
  24935. fractional units. For example, "2.5 GB" is now a valid value for
  24936. AccountingMax.
  24937. - Certain Tor clients (such as those behind check.torproject.org) may
  24938. want to fetch the consensus in an extra early manner. To enable this
  24939. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  24940. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  24941. as only certain clients who must have this information sooner should
  24942. set this option.
  24943. - Instead of adding the svn revision to the Tor version string, report
  24944. the git commit (when we're building from a git checkout).
  24945. o Minor bugfixes:
  24946. - If any of the v3 certs we download are unparseable, we should
  24947. actually notice the failure so we don't retry indefinitely. Bugfix
  24948. on 0.2.0.x; reported by "rotator".
  24949. - If the cached cert file is unparseable, warn but don't exit.
  24950. - Fix possible segmentation fault on directory authorities. Bugfix on
  24951. 0.2.1.14-rc.
  24952. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  24953. Might help diagnosing bug 1051.
  24954. o Deprecated and removed features:
  24955. - The controller no longer accepts the old obsolete "addr-mappings/"
  24956. or "unregistered-servers-" GETINFO values.
  24957. - Hidden services no longer publish version 0 descriptors, and clients
  24958. do not request or use version 0 descriptors. However, the old hidden
  24959. service authorities still accept and serve version 0 descriptors
  24960. when contacted by older hidden services/clients.
  24961. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  24962. always on; using them is necessary for correct forward-compatible
  24963. controllers.
  24964. - Remove support for .noconnect style addresses. Nobody was using
  24965. them, and they provided another avenue for detecting Tor users
  24966. via application-level web tricks.
  24967. o Packaging changes:
  24968. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  24969. installer bundles. See
  24970. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  24971. for details of what's new in Vidalia 0.2.3.
  24972. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  24973. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  24974. configuration file, rather than the old Privoxy.
  24975. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  24976. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  24977. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  24978. better compatibility with OS X 10.6, aka Snow Leopard.
  24979. - OS X Vidalia Bundle: The multi-package installer is now replaced
  24980. by a simple drag and drop to the /Applications folder. This change
  24981. occurred with the upgrade to Vidalia 0.2.3.
  24982. Changes in version 0.2.1.19 - 2009-07-28
  24983. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  24984. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  24985. o Major bugfixes:
  24986. - Make accessing hidden services on 0.2.1.x work right again.
  24987. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  24988. part of patch provided by "optimist".
  24989. o Minor features:
  24990. - When a relay/bridge is writing out its identity key fingerprint to
  24991. the "fingerprint" file and to its logs, write it without spaces. Now
  24992. it will look like the fingerprints in our bridges documentation,
  24993. and confuse fewer users.
  24994. o Minor bugfixes:
  24995. - Relays no longer publish a new server descriptor if they change
  24996. their MaxAdvertisedBandwidth config option but it doesn't end up
  24997. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  24998. fixes bug 1026. Patch from Sebastian.
  24999. - Avoid leaking memory every time we get a create cell but we have
  25000. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  25001. fixes bug 1034. Reported by BarkerJr.
  25002. Changes in version 0.2.1.18 - 2009-07-24
  25003. Tor 0.2.1.18 lays the foundations for performance improvements,
  25004. adds status events to help users diagnose bootstrap problems, adds
  25005. optional authentication/authorization for hidden services, fixes a
  25006. variety of potential anonymity problems, and includes a huge pile of
  25007. other features and bug fixes.
  25008. o Build fixes:
  25009. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  25010. Changes in version 0.2.1.17-rc - 2009-07-07
  25011. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  25012. candidate for the 0.2.1.x series. It lays the groundwork for further
  25013. client performance improvements, and also fixes a big bug with directory
  25014. authorities that were causing them to assign Guard and Stable flags
  25015. poorly.
  25016. The Windows bundles also finally include the geoip database that we
  25017. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  25018. should actually install Torbutton rather than giving you a cryptic
  25019. failure message (oops).
  25020. o Major features:
  25021. - Clients now use the bandwidth values in the consensus, rather than
  25022. the bandwidth values in each relay descriptor. This approach opens
  25023. the door to more accurate bandwidth estimates once the directory
  25024. authorities start doing active measurements. Implements more of
  25025. proposal 141.
  25026. o Major bugfixes:
  25027. - When Tor clients restart after 1-5 days, they discard all their
  25028. cached descriptors as too old, but they still use the cached
  25029. consensus document. This approach is good for robustness, but
  25030. bad for performance: since they don't know any bandwidths, they
  25031. end up choosing at random rather than weighting their choice by
  25032. speed. Fixed by the above feature of putting bandwidths in the
  25033. consensus. Bugfix on 0.2.0.x.
  25034. - Directory authorities were neglecting to mark relays down in their
  25035. internal histories if the relays fall off the routerlist without
  25036. ever being found unreachable. So there were relays in the histories
  25037. that haven't been seen for eight months, and are listed as being
  25038. up for eight months. This wreaked havoc on the "median wfu"
  25039. and "median mtbf" calculations, in turn making Guard and Stable
  25040. flags very wrong, hurting network performance. Fixes bugs 696 and
  25041. 969. Bugfix on 0.2.0.6-alpha.
  25042. o Minor bugfixes:
  25043. - Serve the DirPortFrontPage page even when we have been approaching
  25044. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  25045. - The control port would close the connection before flushing long
  25046. replies, such as the network consensus, if a QUIT command was issued
  25047. before the reply had completed. Now, the control port flushes all
  25048. pending replies before closing the connection. Also fixed a spurious
  25049. warning when a QUIT command is issued after a malformed or rejected
  25050. AUTHENTICATE command, but before the connection was closed. Patch
  25051. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  25052. - When we can't find an intro key for a v2 hidden service descriptor,
  25053. fall back to the v0 hidden service descriptor and log a bug message.
  25054. Workaround for bug 1024.
  25055. - Fix a log message that did not respect the SafeLogging option.
  25056. Resolves bug 1027.
  25057. o Minor features:
  25058. - If we're a relay and we change our IP address, be more verbose
  25059. about the reason that made us change. Should help track down
  25060. further bugs for relays on dynamic IP addresses.
  25061. Changes in version 0.2.0.35 - 2009-06-24
  25062. o Security fix:
  25063. - Avoid crashing in the presence of certain malformed descriptors.
  25064. Found by lark, and by automated fuzzing.
  25065. - Fix an edge case where a malicious exit relay could convince a
  25066. controller that the client's DNS question resolves to an internal IP
  25067. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  25068. o Major bugfixes:
  25069. - Finally fix the bug where dynamic-IP relays disappear when their
  25070. IP address changes: directory mirrors were mistakenly telling
  25071. them their old address if they asked via begin_dir, so they
  25072. never got an accurate answer about their new address, so they
  25073. just vanished after a day. For belt-and-suspenders, relays that
  25074. don't set Address in their config now avoid using begin_dir for
  25075. all direct connections. Should fix bugs 827, 883, and 900.
  25076. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  25077. that would occur on some exit nodes when DNS failures and timeouts
  25078. occurred in certain patterns. Fix for bug 957.
  25079. o Minor bugfixes:
  25080. - When starting with a cache over a few days old, do not leak
  25081. memory for the obsolete router descriptors in it. Bugfix on
  25082. 0.2.0.33; fixes bug 672.
  25083. - Hidden service clients didn't use a cached service descriptor that
  25084. was older than 15 minutes, but wouldn't fetch a new one either,
  25085. because there was already one in the cache. Now, fetch a v2
  25086. descriptor unless the same descriptor was added to the cache within
  25087. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  25088. Changes in version 0.2.1.16-rc - 2009-06-20
  25089. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  25090. a bunch of minor bugs.
  25091. o Security fixes:
  25092. - Fix an edge case where a malicious exit relay could convince a
  25093. controller that the client's DNS question resolves to an internal IP
  25094. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  25095. o Major performance improvements (on 0.2.0.x):
  25096. - Disable and refactor some debugging checks that forced a linear scan
  25097. over the whole server-side DNS cache. These accounted for over 50%
  25098. of CPU time on a relatively busy exit node's gprof profile. Found
  25099. by Jacob.
  25100. - Disable some debugging checks that appeared in exit node profile
  25101. data.
  25102. o Minor features:
  25103. - Update to the "June 3 2009" ip-to-country file.
  25104. - Do not have tor-resolve automatically refuse all .onion addresses;
  25105. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  25106. o Minor bugfixes (on 0.2.0.x):
  25107. - Log correct error messages for DNS-related network errors on
  25108. Windows.
  25109. - Fix a race condition that could cause crashes or memory corruption
  25110. when running as a server with a controller listening for log
  25111. messages.
  25112. - Avoid crashing when we have a policy specified in a DirPolicy or
  25113. SocksPolicy or ReachableAddresses option with ports set on it,
  25114. and we re-load the policy. May fix bug 996.
  25115. - Hidden service clients didn't use a cached service descriptor that
  25116. was older than 15 minutes, but wouldn't fetch a new one either,
  25117. because there was already one in the cache. Now, fetch a v2
  25118. descriptor unless the same descriptor was added to the cache within
  25119. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  25120. o Minor bugfixes (on 0.2.1.x):
  25121. - Don't warn users about low port and hibernation mix when they
  25122. provide a *ListenAddress directive to fix that. Bugfix on
  25123. 0.2.1.15-rc.
  25124. - When switching back and forth between bridge mode, do not start
  25125. gathering GeoIP data until two hours have passed.
  25126. - Do not complain that the user has requested an excluded node as
  25127. an exit when the node is not really an exit. This could happen
  25128. because the circuit was for testing, or an introduction point.
  25129. Fix for bug 984.
  25130. Changes in version 0.2.1.15-rc - 2009-05-25
  25131. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  25132. series. It fixes a major bug on fast exit relays, as well as a variety
  25133. of more minor bugs.
  25134. o Major bugfixes (on 0.2.0.x):
  25135. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  25136. that would occur on some exit nodes when DNS failures and timeouts
  25137. occurred in certain patterns. Fix for bug 957.
  25138. o Minor bugfixes (on 0.2.0.x):
  25139. - Actually return -1 in the error case for read_bandwidth_usage().
  25140. Harmless bug, since we currently don't care about the return value
  25141. anywhere. Bugfix on 0.2.0.9-alpha.
  25142. - Provide a more useful log message if bug 977 (related to buffer
  25143. freelists) ever reappears, and do not crash right away.
  25144. - Fix an assertion failure on 64-bit platforms when we allocated
  25145. memory right up to the end of a memarea, then realigned the memory
  25146. one step beyond the end. Fixes a possible cause of bug 930.
  25147. - Protect the count of open sockets with a mutex, so we can't
  25148. corrupt it when two threads are closing or opening sockets at once.
  25149. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  25150. - Don't allow a bridge to publish its router descriptor to a
  25151. non-bridge directory authority. Fixes part of bug 932.
  25152. - When we change to or from being a bridge, reset our counts of
  25153. client usage by country. Fixes bug 932.
  25154. - Fix a bug that made stream bandwidth get misreported to the
  25155. controller.
  25156. - Stop using malloc_usable_size() to use more area than we had
  25157. actually allocated: it was safe, but made valgrind really unhappy.
  25158. - Fix a memory leak when v3 directory authorities load their keys
  25159. and cert from disk. Bugfix on 0.2.0.1-alpha.
  25160. o Minor bugfixes (on 0.2.1.x):
  25161. - Fix use of freed memory when deciding to mark a non-addable
  25162. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  25163. Changes in version 0.2.1.14-rc - 2009-04-12
  25164. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  25165. series. It begins fixing some major performance problems, and also
  25166. finally addresses the bug that was causing relays on dynamic IP
  25167. addresses to fall out of the directory.
  25168. o Major features:
  25169. - Clients replace entry guards that were chosen more than a few months
  25170. ago. This change should significantly improve client performance,
  25171. especially once more people upgrade, since relays that have been
  25172. a guard for a long time are currently overloaded.
  25173. o Major bugfixes (on 0.2.0):
  25174. - Finally fix the bug where dynamic-IP relays disappear when their
  25175. IP address changes: directory mirrors were mistakenly telling
  25176. them their old address if they asked via begin_dir, so they
  25177. never got an accurate answer about their new address, so they
  25178. just vanished after a day. For belt-and-suspenders, relays that
  25179. don't set Address in their config now avoid using begin_dir for
  25180. all direct connections. Should fix bugs 827, 883, and 900.
  25181. - Relays were falling out of the networkstatus consensus for
  25182. part of a day if they changed their local config but the
  25183. authorities discarded their new descriptor as "not sufficiently
  25184. different". Now directory authorities accept a descriptor as changed
  25185. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  25186. patch by Sebastian.
  25187. - Avoid crashing in the presence of certain malformed descriptors.
  25188. Found by lark, and by automated fuzzing.
  25189. o Minor features:
  25190. - When generating circuit events with verbose nicknames for
  25191. controllers, try harder to look up nicknames for routers on a
  25192. circuit. (Previously, we would look in the router descriptors we had
  25193. for nicknames, but not in the consensus.) Partial fix for bug 941.
  25194. - If the bridge config line doesn't specify a port, assume 443.
  25195. This makes bridge lines a bit smaller and easier for users to
  25196. understand.
  25197. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  25198. bytes (aka 20KB/s), to match our documentation. Also update
  25199. directory authorities so they always assign the Fast flag to relays
  25200. with 20KB/s of capacity. Now people running relays won't suddenly
  25201. find themselves not seeing any use, if the network gets faster
  25202. on average.
  25203. - Update to the "April 3 2009" ip-to-country file.
  25204. o Minor bugfixes:
  25205. - Avoid trying to print raw memory to the logs when we decide to
  25206. give up on downloading a given relay descriptor. Bugfix on
  25207. 0.2.1.9-alpha.
  25208. - In tor-resolve, when the Tor client to use is specified by
  25209. <hostname>:<port>, actually use the specified port rather than
  25210. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  25211. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  25212. - When starting with a cache over a few days old, do not leak
  25213. memory for the obsolete router descriptors in it. Bugfix on
  25214. 0.2.0.33.
  25215. - Avoid double-free on list of successfully uploaded hidden
  25216. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  25217. - Change memarea_strndup() implementation to work even when
  25218. duplicating a string at the end of a page. This bug was
  25219. harmless for now, but could have meant crashes later. Fix by
  25220. lark. Bugfix on 0.2.1.1-alpha.
  25221. - Limit uploaded directory documents to be 16M rather than 500K.
  25222. The directory authorities were refusing v3 consensus votes from
  25223. other authorities, since the votes are now 504K. Fixes bug 959;
  25224. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  25225. - Directory authorities should never send a 503 "busy" response to
  25226. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  25227. bug 959.
  25228. Changes in version 0.2.1.13-alpha - 2009-03-09
  25229. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  25230. cleanups. We're finally getting close to a release candidate.
  25231. o Major bugfixes:
  25232. - Correctly update the list of which countries we exclude as
  25233. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  25234. lark. Bugfix on 0.2.1.6-alpha.
  25235. o Minor bugfixes (on 0.2.0.x and earlier):
  25236. - Automatically detect MacOSX versions earlier than 10.4.0, and
  25237. disable kqueue from inside Tor when running with these versions.
  25238. We previously did this from the startup script, but that was no
  25239. help to people who didn't use the startup script. Resolves bug 863.
  25240. - When we had picked an exit node for a connection, but marked it as
  25241. "optional", and it turned out we had no onion key for the exit,
  25242. stop wanting that exit and try again. This situation may not
  25243. be possible now, but will probably become feasible with proposal
  25244. 158. Spotted by rovv. Fixes another case of bug 752.
  25245. - Clients no longer cache certificates for authorities they do not
  25246. recognize. Bugfix on 0.2.0.9-alpha.
  25247. - When we can't transmit a DNS request due to a network error, retry
  25248. it after a while, and eventually transmit a failing response to
  25249. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  25250. - If the controller claimed responsibility for a stream, but that
  25251. stream never finished making its connection, it would live
  25252. forever in circuit_wait state. Now we close it after SocksTimeout
  25253. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  25254. - Drop begin cells to a hidden service if they come from the middle
  25255. of a circuit. Patch from lark.
  25256. - When we erroneously receive two EXTEND cells for the same circuit
  25257. ID on the same connection, drop the second. Patch from lark.
  25258. - Fix a crash that occurs on exit nodes when a nameserver request
  25259. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  25260. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  25261. bug 929.
  25262. - Do not assume that a stack-allocated character array will be
  25263. 64-bit aligned on platforms that demand that uint64_t access is
  25264. aligned. Possible fix for bug 604.
  25265. - Parse dates and IPv4 addresses in a locale- and libc-independent
  25266. manner, to avoid platform-dependent behavior on malformed input.
  25267. - Build correctly when configured to build outside the main source
  25268. path. Patch from Michael Gold.
  25269. - We were already rejecting relay begin cells with destination port
  25270. of 0. Now also reject extend cells with destination port or address
  25271. of 0. Suggested by lark.
  25272. o Minor bugfixes (on 0.2.1.x):
  25273. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  25274. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  25275. - If we're an exit node, scrub the IP address to which we are exiting
  25276. in the logs. Bugfix on 0.2.1.8-alpha.
  25277. o Minor features:
  25278. - On Linux, use the prctl call to re-enable core dumps when the user
  25279. is option is set.
  25280. - New controller event NEWCONSENSUS that lists the networkstatus
  25281. lines for every recommended relay. Now controllers like Torflow
  25282. can keep up-to-date on which relays they should be using.
  25283. - Update to the "February 26 2009" ip-to-country file.
  25284. Changes in version 0.2.0.34 - 2009-02-08
  25285. Tor 0.2.0.34 features several more security-related fixes. You should
  25286. upgrade, especially if you run an exit relay (remote crash) or a
  25287. directory authority (remote infinite loop), or you're on an older
  25288. (pre-XP) or not-recently-patched Windows (remote exploit).
  25289. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  25290. have many known flaws, and nobody should be using them. You should
  25291. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  25292. stop using those packages and upgrade anyway.
  25293. o Security fixes:
  25294. - Fix an infinite-loop bug on handling corrupt votes under certain
  25295. circumstances. Bugfix on 0.2.0.8-alpha.
  25296. - Fix a temporary DoS vulnerability that could be performed by
  25297. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  25298. - Avoid a potential crash on exit nodes when processing malformed
  25299. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  25300. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  25301. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  25302. o Minor bugfixes:
  25303. - Fix compilation on systems where time_t is a 64-bit integer.
  25304. Patch from Matthias Drochner.
  25305. - Don't consider expiring already-closed client connections. Fixes
  25306. bug 893. Bugfix on 0.0.2pre20.
  25307. Changes in version 0.2.1.12-alpha - 2009-02-08
  25308. Tor 0.2.1.12-alpha features several more security-related fixes. You
  25309. should upgrade, especially if you run an exit relay (remote crash) or
  25310. a directory authority (remote infinite loop), or you're on an older
  25311. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  25312. includes a big pile of minor bugfixes and cleanups.
  25313. o Security fixes:
  25314. - Fix an infinite-loop bug on handling corrupt votes under certain
  25315. circumstances. Bugfix on 0.2.0.8-alpha.
  25316. - Fix a temporary DoS vulnerability that could be performed by
  25317. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  25318. - Avoid a potential crash on exit nodes when processing malformed
  25319. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  25320. o Minor bugfixes:
  25321. - Let controllers actually ask for the "clients_seen" event for
  25322. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  25323. reported by Matt Edman.
  25324. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  25325. 0.2.1.11-alpha.
  25326. - Fix a bug in address parsing that was preventing bridges or hidden
  25327. service targets from being at IPv6 addresses.
  25328. - Solve a bug that kept hardware crypto acceleration from getting
  25329. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  25330. 0.0.9pre6.
  25331. - Remove a bash-ism from configure.in to build properly on non-Linux
  25332. platforms. Bugfix on 0.2.1.1-alpha.
  25333. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  25334. headers. Bugfix on 0.2.0.10-alpha.
  25335. - Don't consider expiring already-closed client connections. Fixes
  25336. bug 893. Bugfix on 0.0.2pre20.
  25337. - Fix another interesting corner-case of bug 891 spotted by rovv:
  25338. Previously, if two hosts had different amounts of clock drift, and
  25339. one of them created a new connection with just the wrong timing,
  25340. the other might decide to deprecate the new connection erroneously.
  25341. Bugfix on 0.1.1.13-alpha.
  25342. - Resolve a very rare crash bug that could occur when the user forced
  25343. a nameserver reconfiguration during the middle of a nameserver
  25344. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  25345. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  25346. Bugfix on 0.2.1.7-alpha.
  25347. - If we're using bridges and our network goes away, be more willing
  25348. to forgive our bridges and try again when we get an application
  25349. request. Bugfix on 0.2.0.x.
  25350. o Minor features:
  25351. - Support platforms where time_t is 64 bits long. (Congratulations,
  25352. NetBSD!) Patch from Matthias Drochner.
  25353. - Add a 'getinfo status/clients-seen' controller command, in case
  25354. controllers want to hear clients_seen events but connect late.
  25355. o Build changes:
  25356. - Disable GCC's strict alias optimization by default, to avoid the
  25357. likelihood of its introducing subtle bugs whenever our code violates
  25358. the letter of C99's alias rules.
  25359. Changes in version 0.2.0.33 - 2009-01-21
  25360. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  25361. useful to users. It also finally fixes a bug where a relay or client
  25362. that's been off for many days would take a long time to bootstrap.
  25363. This update also fixes an important security-related bug reported by
  25364. Ilja van Sprundel. You should upgrade. (We'll send out more details
  25365. about the bug once people have had some time to upgrade.)
  25366. o Security fixes:
  25367. - Fix a heap-corruption bug that may be remotely triggerable on
  25368. some platforms. Reported by Ilja van Sprundel.
  25369. o Major bugfixes:
  25370. - When a stream at an exit relay is in state "resolving" or
  25371. "connecting" and it receives an "end" relay cell, the exit relay
  25372. would silently ignore the end cell and not close the stream. If
  25373. the client never closes the circuit, then the exit relay never
  25374. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  25375. reported by "wood".
  25376. - When sending CREATED cells back for a given circuit, use a 64-bit
  25377. connection ID to find the right connection, rather than an addr:port
  25378. combination. Now that we can have multiple OR connections between
  25379. the same ORs, it is no longer possible to use addr:port to uniquely
  25380. identify a connection.
  25381. - Bridge relays that had DirPort set to 0 would stop fetching
  25382. descriptors shortly after startup, and then briefly resume
  25383. after a new bandwidth test and/or after publishing a new bridge
  25384. descriptor. Bridge users that try to bootstrap from them would
  25385. get a recent networkstatus but would get descriptors from up to
  25386. 18 hours earlier, meaning most of the descriptors were obsolete
  25387. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  25388. - Prevent bridge relays from serving their 'extrainfo' document
  25389. to anybody who asks, now that extrainfo docs include potentially
  25390. sensitive aggregated client geoip summaries. Bugfix on
  25391. 0.2.0.13-alpha.
  25392. - If the cached networkstatus consensus is more than five days old,
  25393. discard it rather than trying to use it. In theory it could be
  25394. useful because it lists alternate directory mirrors, but in practice
  25395. it just means we spend many minutes trying directory mirrors that
  25396. are long gone from the network. Also discard router descriptors as
  25397. we load them if they are more than five days old, since the onion
  25398. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  25399. o Minor bugfixes:
  25400. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  25401. could make gcc generate non-functional binary search code. Bugfix
  25402. on 0.2.0.10-alpha.
  25403. - Build correctly on platforms without socklen_t.
  25404. - Compile without warnings on solaris.
  25405. - Avoid potential crash on internal error during signature collection.
  25406. Fixes bug 864. Patch from rovv.
  25407. - Correct handling of possible malformed authority signing key
  25408. certificates with internal signature types. Fixes bug 880.
  25409. Bugfix on 0.2.0.3-alpha.
  25410. - Fix a hard-to-trigger resource leak when logging credential status.
  25411. CID 349.
  25412. - When we can't initialize DNS because the network is down, do not
  25413. automatically stop Tor from starting. Instead, we retry failed
  25414. dns_init() every 10 minutes, and change the exit policy to reject
  25415. *:* until one succeeds. Fixes bug 691.
  25416. - Use 64 bits instead of 32 bits for connection identifiers used with
  25417. the controller protocol, to greatly reduce risk of identifier reuse.
  25418. - When we're choosing an exit node for a circuit, and we have
  25419. no pending streams, choose a good general exit rather than one that
  25420. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  25421. - Fix another case of assuming, when a specific exit is requested,
  25422. that we know more than the user about what hosts it allows.
  25423. Fixes one case of bug 752. Patch from rovv.
  25424. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  25425. seconds. Warn the user if lower values are given in the
  25426. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  25427. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  25428. user if lower values are given in the configuration. Bugfix on
  25429. 0.1.1.17-rc. Patch by Sebastian.
  25430. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  25431. the cache because we already had a v0 descriptor with the same ID.
  25432. Bugfix on 0.2.0.18-alpha.
  25433. - Fix a race condition when freeing keys shared between main thread
  25434. and CPU workers that could result in a memory leak. Bugfix on
  25435. 0.1.0.1-rc. Fixes bug 889.
  25436. - Send a valid END cell back when a client tries to connect to a
  25437. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  25438. 840. Patch from rovv.
  25439. - Check which hops rendezvous stream cells are associated with to
  25440. prevent possible guess-the-streamid injection attacks from
  25441. intermediate hops. Fixes another case of bug 446. Based on patch
  25442. from rovv.
  25443. - If a broken client asks a non-exit router to connect somewhere,
  25444. do not even do the DNS lookup before rejecting the connection.
  25445. Fixes another case of bug 619. Patch from rovv.
  25446. - When a relay gets a create cell it can't decrypt (e.g. because it's
  25447. using the wrong onion key), we were dropping it and letting the
  25448. client time out. Now actually answer with a destroy cell. Fixes
  25449. bug 904. Bugfix on 0.0.2pre8.
  25450. o Minor bugfixes (hidden services):
  25451. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  25452. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  25453. o Minor features:
  25454. - Report the case where all signatures in a detached set are rejected
  25455. differently than the case where there is an error handling the
  25456. detached set.
  25457. - When we realize that another process has modified our cached
  25458. descriptors, print out a more useful error message rather than
  25459. triggering an assertion. Fixes bug 885. Patch from Karsten.
  25460. - Implement the 0x20 hack to better resist DNS poisoning: set the
  25461. case on outgoing DNS requests randomly, and reject responses that do
  25462. not match the case correctly. This logic can be disabled with the
  25463. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  25464. of servers that do not reliably preserve case in replies. See
  25465. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  25466. for more info.
  25467. - Check DNS replies for more matching fields to better resist DNS
  25468. poisoning.
  25469. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  25470. compress cells, which are basically all encrypted, compressed, or
  25471. both.
  25472. Changes in version 0.2.1.11-alpha - 2009-01-20
  25473. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  25474. week it will take a long time to bootstrap again" bug. It also fixes
  25475. an important security-related bug reported by Ilja van Sprundel. You
  25476. should upgrade. (We'll send out more details about the bug once people
  25477. have had some time to upgrade.)
  25478. o Security fixes:
  25479. - Fix a heap-corruption bug that may be remotely triggerable on
  25480. some platforms. Reported by Ilja van Sprundel.
  25481. o Major bugfixes:
  25482. - Discard router descriptors as we load them if they are more than
  25483. five days old. Otherwise if Tor is off for a long time and then
  25484. starts with cached descriptors, it will try to use the onion
  25485. keys in those obsolete descriptors when building circuits. Bugfix
  25486. on 0.2.0.x. Fixes bug 887.
  25487. o Minor features:
  25488. - Try to make sure that the version of Libevent we're running with
  25489. is binary-compatible with the one we built with. May address bug
  25490. 897 and others.
  25491. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  25492. for bug 905. Bugfix on 0.2.1.7-alpha.
  25493. - Add a new --enable-local-appdata configuration switch to change
  25494. the default location of the datadir on win32 from APPDATA to
  25495. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  25496. entirely. Patch from coderman.
  25497. o Minor bugfixes:
  25498. - Make outbound DNS packets respect the OutboundBindAddress setting.
  25499. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  25500. - When our circuit fails at the first hop (e.g. we get a destroy
  25501. cell back), avoid using that OR connection anymore, and also
  25502. tell all the one-hop directory requests waiting for it that they
  25503. should fail. Bugfix on 0.2.1.3-alpha.
  25504. - In the torify(1) manpage, mention that tsocks will leak your
  25505. DNS requests.
  25506. Changes in version 0.2.1.10-alpha - 2009-01-06
  25507. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  25508. would make the bridge relay not so useful if it had DirPort set to 0,
  25509. and one that could let an attacker learn a little bit of information
  25510. about the bridge's users), and a bug that would cause your Tor relay
  25511. to ignore a circuit create request it can't decrypt (rather than reply
  25512. with an error). It also fixes a wide variety of other bugs.
  25513. o Major bugfixes:
  25514. - If the cached networkstatus consensus is more than five days old,
  25515. discard it rather than trying to use it. In theory it could
  25516. be useful because it lists alternate directory mirrors, but in
  25517. practice it just means we spend many minutes trying directory
  25518. mirrors that are long gone from the network. Helps bug 887 a bit;
  25519. bugfix on 0.2.0.x.
  25520. - Bridge relays that had DirPort set to 0 would stop fetching
  25521. descriptors shortly after startup, and then briefly resume
  25522. after a new bandwidth test and/or after publishing a new bridge
  25523. descriptor. Bridge users that try to bootstrap from them would
  25524. get a recent networkstatus but would get descriptors from up to
  25525. 18 hours earlier, meaning most of the descriptors were obsolete
  25526. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  25527. - Prevent bridge relays from serving their 'extrainfo' document
  25528. to anybody who asks, now that extrainfo docs include potentially
  25529. sensitive aggregated client geoip summaries. Bugfix on
  25530. 0.2.0.13-alpha.
  25531. o Minor features:
  25532. - New controller event "clients_seen" to report a geoip-based summary
  25533. of which countries we've seen clients from recently. Now controllers
  25534. like Vidalia can show bridge operators that they're actually making
  25535. a difference.
  25536. - Build correctly against versions of OpenSSL 0.9.8 or later built
  25537. without support for deprecated functions.
  25538. - Update to the "December 19 2008" ip-to-country file.
  25539. o Minor bugfixes (on 0.2.0.x):
  25540. - Authorities now vote for the Stable flag for any router whose
  25541. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  25542. - Do not remove routers as too old if we do not have any consensus
  25543. document. Bugfix on 0.2.0.7-alpha.
  25544. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  25545. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  25546. - When an exit relay resolves a stream address to a local IP address,
  25547. do not just keep retrying that same exit relay over and
  25548. over. Instead, just close the stream. Addresses bug 872. Bugfix
  25549. on 0.2.0.32. Patch from rovv.
  25550. - If a hidden service sends us an END cell, do not consider
  25551. retrying the connection; just close it. Patch from rovv.
  25552. - When we made bridge authorities stop serving bridge descriptors over
  25553. unencrypted links, we also broke DirPort reachability testing for
  25554. bridges. So bridges with a non-zero DirPort were printing spurious
  25555. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  25556. - When a relay gets a create cell it can't decrypt (e.g. because it's
  25557. using the wrong onion key), we were dropping it and letting the
  25558. client time out. Now actually answer with a destroy cell. Fixes
  25559. bug 904. Bugfix on 0.0.2pre8.
  25560. - Squeeze 2-5% out of client performance (according to oprofile) by
  25561. improving the implementation of some policy-manipulation functions.
  25562. o Minor bugfixes (on 0.2.1.x):
  25563. - Make get_interface_address() function work properly again; stop
  25564. guessing the wrong parts of our address as our address.
  25565. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  25566. send on that circuit. Otherwise we might violate the proposal-110
  25567. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  25568. thanks to Karsten.
  25569. - When we're sending non-EXTEND cells to the first hop in a circuit,
  25570. for example to use an encrypted directory connection, we don't need
  25571. to use RELAY_EARLY cells: the first hop knows what kind of cell
  25572. it is, and nobody else can even see the cell type. Conserving
  25573. RELAY_EARLY cells makes it easier to cannibalize circuits like
  25574. this later.
  25575. - Stop logging nameserver addresses in reverse order.
  25576. - If we are retrying a directory download slowly over and over, do
  25577. not automatically give up after the 254th failure. Bugfix on
  25578. 0.2.1.9-alpha.
  25579. - Resume reporting accurate "stream end" reasons to the local control
  25580. port. They were lost in the changes for Proposal 148. Bugfix on
  25581. 0.2.1.9-alpha.
  25582. o Deprecated and removed features:
  25583. - The old "tor --version --version" command, which would print out
  25584. the subversion "Id" of most of the source files, is now removed. It
  25585. turned out to be less useful than we'd expected, and harder to
  25586. maintain.
  25587. o Code simplifications and refactoring:
  25588. - Change our header file guard macros to be less likely to conflict
  25589. with system headers. Adam Langley noticed that we were conflicting
  25590. with log.h on Android.
  25591. - Tool-assisted documentation cleanup. Nearly every function or
  25592. static variable in Tor should have its own documentation now.
  25593. Changes in version 0.2.1.9-alpha - 2008-12-25
  25594. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  25595. o New directory authorities:
  25596. - gabelmoo (the authority run by Karsten Loesing) now has a new
  25597. IP address.
  25598. o Security fixes:
  25599. - Never use a connection with a mismatched address to extend a
  25600. circuit, unless that connection is canonical. A canonical
  25601. connection is one whose address is authenticated by the router's
  25602. identity key, either in a NETINFO cell or in a router descriptor.
  25603. - Avoid a possible memory corruption bug when receiving hidden service
  25604. descriptors. Bugfix on 0.2.1.6-alpha.
  25605. o Major bugfixes:
  25606. - Fix a logic error that would automatically reject all but the first
  25607. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  25608. part of bug 813/868. Bug spotted by coderman.
  25609. - When a stream at an exit relay is in state "resolving" or
  25610. "connecting" and it receives an "end" relay cell, the exit relay
  25611. would silently ignore the end cell and not close the stream. If
  25612. the client never closes the circuit, then the exit relay never
  25613. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  25614. reported by "wood".
  25615. - When we can't initialize DNS because the network is down, do not
  25616. automatically stop Tor from starting. Instead, retry failed
  25617. dns_init() every 10 minutes, and change the exit policy to reject
  25618. *:* until one succeeds. Fixes bug 691.
  25619. o Minor features:
  25620. - Give a better error message when an overzealous init script says
  25621. "sudo -u username tor --user username". Makes Bug 882 easier for
  25622. users to diagnose.
  25623. - When a directory authority gives us a new guess for our IP address,
  25624. log which authority we used. Hopefully this will help us debug
  25625. the recent complaints about bad IP address guesses.
  25626. - Detect svn revision properly when we're using git-svn.
  25627. - Try not to open more than one descriptor-downloading connection
  25628. to an authority at once. This should reduce load on directory
  25629. authorities. Fixes bug 366.
  25630. - Add cross-certification to newly generated certificates, so that
  25631. a signing key is enough information to look up a certificate.
  25632. Partial implementation of proposal 157.
  25633. - Start serving certificates by <identity digest, signing key digest>
  25634. pairs. Partial implementation of proposal 157.
  25635. - Clients now never report any stream end reason except 'MISC'.
  25636. Implements proposal 148.
  25637. - On platforms with a maximum syslog string length, truncate syslog
  25638. messages to that length ourselves, rather than relying on the
  25639. system to do it for us.
  25640. - Optimize out calls to time(NULL) that occur for every IO operation,
  25641. or for every cell. On systems where time() is a slow syscall,
  25642. this fix will be slightly helpful.
  25643. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  25644. - When we download a descriptor that we then immediately (as
  25645. a directory authority) reject, do not retry downloading it right
  25646. away. Should save some bandwidth on authorities. Fix for bug
  25647. 888. Patch by Sebastian Hahn.
  25648. - When a download gets us zero good descriptors, do not notify
  25649. Tor that new directory information has arrived.
  25650. - Avoid some nasty corner cases in the logic for marking connections
  25651. as too old or obsolete or noncanonical for circuits. Partial
  25652. bugfix on bug 891.
  25653. o Minor features (controller):
  25654. - New CONSENSUS_ARRIVED event to note when a new consensus has
  25655. been fetched and validated.
  25656. - When we realize that another process has modified our cached
  25657. descriptors file, print out a more useful error message rather
  25658. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  25659. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  25660. controllers to prevent SIGHUP from reloading the
  25661. configuration. Fixes bug 856.
  25662. o Minor bugfixes:
  25663. - Resume using the correct "REASON=" stream when telling the
  25664. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  25665. - When a canonical connection appears later in our internal list
  25666. than a noncanonical one for a given OR ID, always use the
  25667. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  25668. Spotted by rovv.
  25669. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  25670. seconds. Warn the user if lower values are given in the
  25671. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  25672. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  25673. user if lower values are given in the configuration. Bugfix on
  25674. 0.1.1.17-rc. Patch by Sebastian.
  25675. - Fix a race condition when freeing keys shared between main thread
  25676. and CPU workers that could result in a memory leak. Bugfix on
  25677. 0.1.0.1-rc. Fixes bug 889.
  25678. o Minor bugfixes (hidden services):
  25679. - Do not throw away existing introduction points on SIGHUP (bugfix on
  25680. 0.0.6pre1); also, do not stall hidden services because we're
  25681. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  25682. by John Brooks. Patch by Karsten. Fixes bug 874.
  25683. - Fix a memory leak when we decline to add a v2 rendezvous
  25684. descriptor to the cache because we already had a v0 descriptor
  25685. with the same ID. Bugfix on 0.2.0.18-alpha.
  25686. o Deprecated and removed features:
  25687. - RedirectExits has been removed. It was deprecated since
  25688. 0.2.0.3-alpha.
  25689. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  25690. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  25691. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  25692. o Code simplifications and refactoring:
  25693. - Rename the confusing or_is_obsolete field to the more appropriate
  25694. is_bad_for_new_circs, and move it to or_connection_t where it
  25695. belongs.
  25696. - Move edge-only flags from connection_t to edge_connection_t: not
  25697. only is this better coding, but on machines of plausible alignment,
  25698. it should save 4-8 bytes per connection_t. "Every little bit helps."
  25699. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  25700. for consistency; keep old option working for backward compatibility.
  25701. - Simplify the code for finding connections to use for a circuit.
  25702. Changes in version 0.2.1.8-alpha - 2008-12-08
  25703. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  25704. builds better on unusual platforms like Solaris and old OS X, and
  25705. fixes a variety of other issues.
  25706. o Major features:
  25707. - New DirPortFrontPage option that takes an html file and publishes
  25708. it as "/" on the DirPort. Now relay operators can provide a
  25709. disclaimer without needing to set up a separate webserver. There's
  25710. a sample disclaimer in contrib/tor-exit-notice.html.
  25711. o Security fixes:
  25712. - When the client is choosing entry guards, now it selects at most
  25713. one guard from a given relay family. Otherwise we could end up with
  25714. all of our entry points into the network run by the same operator.
  25715. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  25716. o Major bugfixes:
  25717. - Fix a DOS opportunity during the voting signature collection process
  25718. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  25719. - Fix a possible segfault when establishing an exit connection. Bugfix
  25720. on 0.2.1.5-alpha.
  25721. o Minor bugfixes:
  25722. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  25723. bug 859.
  25724. - Made Tor a little less aggressive about deleting expired
  25725. certificates. Partial fix for bug 854.
  25726. - Stop doing unaligned memory access that generated bus errors on
  25727. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  25728. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  25729. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  25730. - Make USR2 log-level switch take effect immediately. Bugfix on
  25731. 0.1.2.8-beta.
  25732. - If one win32 nameserver fails to get added, continue adding the
  25733. rest, and don't automatically fail.
  25734. - Use fcntl() for locking when flock() is not available. Should fix
  25735. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  25736. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  25737. could make gcc generate non-functional binary search code. Bugfix
  25738. on 0.2.0.10-alpha.
  25739. - Build correctly on platforms without socklen_t.
  25740. - Avoid potential crash on internal error during signature collection.
  25741. Fixes bug 864. Patch from rovv.
  25742. - Do not use C's stdio library for writing to log files. This will
  25743. improve logging performance by a minute amount, and will stop
  25744. leaking fds when our disk is full. Fixes bug 861.
  25745. - Stop erroneous use of O_APPEND in cases where we did not in fact
  25746. want to re-seek to the end of a file before every last write().
  25747. - Correct handling of possible malformed authority signing key
  25748. certificates with internal signature types. Fixes bug 880. Bugfix
  25749. on 0.2.0.3-alpha.
  25750. - Fix a hard-to-trigger resource leak when logging credential status.
  25751. CID 349.
  25752. o Minor features:
  25753. - Directory mirrors no longer fetch the v1 directory or
  25754. running-routers files. They are obsolete, and nobody asks for them
  25755. anymore. This is the first step to making v1 authorities obsolete.
  25756. o Minor features (controller):
  25757. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  25758. bug 858.
  25759. Changes in version 0.2.0.32 - 2008-11-20
  25760. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  25761. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  25762. a smaller security flaw that might allow an attacker to access local
  25763. services, further improves hidden service performance, and fixes a
  25764. variety of other issues.
  25765. o Security fixes:
  25766. - The "User" and "Group" config options did not clear the
  25767. supplementary group entries for the Tor process. The "User" option
  25768. is now more robust, and we now set the groups to the specified
  25769. user's primary group. The "Group" option is now ignored. For more
  25770. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  25771. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  25772. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  25773. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  25774. consistently obeyed: if an exit relay refuses a stream because its
  25775. exit policy doesn't allow it, we would remember what IP address
  25776. the relay said the destination address resolves to, even if it's
  25777. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  25778. o Major bugfixes:
  25779. - Fix a DOS opportunity during the voting signature collection process
  25780. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  25781. o Major bugfixes (hidden services):
  25782. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  25783. we were failing the whole hidden service request when the v0
  25784. descriptor fetch fails, even if the v2 fetch is still pending and
  25785. might succeed. Similarly, if the last v2 fetch fails, we were
  25786. failing the whole hidden service request even if a v0 fetch is
  25787. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  25788. - When extending a circuit to a hidden service directory to upload a
  25789. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  25790. requests failed, because the router descriptor has not been
  25791. downloaded yet. In these cases, do not attempt to upload the
  25792. rendezvous descriptor, but wait until the router descriptor is
  25793. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  25794. descriptor from a hidden service directory for which the router
  25795. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  25796. on 0.2.0.10-alpha.
  25797. o Minor bugfixes:
  25798. - Fix several infrequent memory leaks spotted by Coverity.
  25799. - When testing for libevent functions, set the LDFLAGS variable
  25800. correctly. Found by Riastradh.
  25801. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  25802. bootstrapping with tunneled directory connections. Bugfix on
  25803. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  25804. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  25805. and we know that server B rejects most-but-not all connections to
  25806. port 80, we would previously reject the connection. Now, we assume
  25807. the user knows what they were asking for. Fixes bug 752. Bugfix
  25808. on 0.0.9rc5. Diagnosed by BarkerJr.
  25809. - If we overrun our per-second write limits a little, count this as
  25810. having used up our write allocation for the second, and choke
  25811. outgoing directory writes. Previously, we had only counted this when
  25812. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  25813. Bugfix on 0.2.0.x (??).
  25814. - Remove the old v2 directory authority 'lefkada' from the default
  25815. list. It has been gone for many months.
  25816. - Stop doing unaligned memory access that generated bus errors on
  25817. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  25818. - Make USR2 log-level switch take effect immediately. Bugfix on
  25819. 0.1.2.8-beta.
  25820. o Minor bugfixes (controller):
  25821. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  25822. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  25823. Changes in version 0.2.1.7-alpha - 2008-11-08
  25824. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  25825. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  25826. a smaller security flaw that might allow an attacker to access local
  25827. services, adds better defense against DNS poisoning attacks on exit
  25828. relays, further improves hidden service performance, and fixes a
  25829. variety of other issues.
  25830. o Security fixes:
  25831. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  25832. consistently obeyed: if an exit relay refuses a stream because its
  25833. exit policy doesn't allow it, we would remember what IP address
  25834. the relay said the destination address resolves to, even if it's
  25835. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  25836. - The "User" and "Group" config options did not clear the
  25837. supplementary group entries for the Tor process. The "User" option
  25838. is now more robust, and we now set the groups to the specified
  25839. user's primary group. The "Group" option is now ignored. For more
  25840. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  25841. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  25842. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  25843. - Do not use or believe expired v3 authority certificates. Patch
  25844. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  25845. o Minor features:
  25846. - Now NodeFamily and MyFamily config options allow spaces in
  25847. identity fingerprints, so it's easier to paste them in.
  25848. Suggested by Lucky Green.
  25849. - Implement the 0x20 hack to better resist DNS poisoning: set the
  25850. case on outgoing DNS requests randomly, and reject responses that do
  25851. not match the case correctly. This logic can be disabled with the
  25852. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  25853. of servers that do not reliably preserve case in replies. See
  25854. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  25855. for more info.
  25856. - Preserve case in replies to DNSPort requests in order to support
  25857. the 0x20 hack for resisting DNS poisoning attacks.
  25858. o Hidden service performance improvements:
  25859. - When the client launches an introduction circuit, retry with a
  25860. new circuit after 30 seconds rather than 60 seconds.
  25861. - Launch a second client-side introduction circuit in parallel
  25862. after a delay of 15 seconds (based on work by Christian Wilms).
  25863. - Hidden services start out building five intro circuits rather
  25864. than three, and when the first three finish they publish a service
  25865. descriptor using those. Now we publish our service descriptor much
  25866. faster after restart.
  25867. o Minor bugfixes:
  25868. - Minor fix in the warning messages when you're having problems
  25869. bootstrapping; also, be more forgiving of bootstrap problems when
  25870. we're still making incremental progress on a given bootstrap phase.
  25871. - When we're choosing an exit node for a circuit, and we have
  25872. no pending streams, choose a good general exit rather than one that
  25873. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  25874. - Send a valid END cell back when a client tries to connect to a
  25875. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  25876. 840. Patch from rovv.
  25877. - If a broken client asks a non-exit router to connect somewhere,
  25878. do not even do the DNS lookup before rejecting the connection.
  25879. Fixes another case of bug 619. Patch from rovv.
  25880. - Fix another case of assuming, when a specific exit is requested,
  25881. that we know more than the user about what hosts it allows.
  25882. Fixes another case of bug 752. Patch from rovv.
  25883. - Check which hops rendezvous stream cells are associated with to
  25884. prevent possible guess-the-streamid injection attacks from
  25885. intermediate hops. Fixes another case of bug 446. Based on patch
  25886. from rovv.
  25887. - Avoid using a negative right-shift when comparing 32-bit
  25888. addresses. Possible fix for bug 845 and bug 811.
  25889. - Make the assert_circuit_ok() function work correctly on circuits that
  25890. have already been marked for close.
  25891. - Fix read-off-the-end-of-string error in unit tests when decoding
  25892. introduction points.
  25893. - Fix uninitialized size field for memory area allocation: may improve
  25894. memory performance during directory parsing.
  25895. - Treat duplicate certificate fetches as failures, so that we do
  25896. not try to re-fetch an expired certificate over and over and over.
  25897. - Do not say we're fetching a certificate when we'll in fact skip it
  25898. because of a pending download.
  25899. Changes in version 0.2.1.6-alpha - 2008-09-30
  25900. Tor 0.2.1.6-alpha further improves performance and robustness of
  25901. hidden services, starts work on supporting per-country relay selection,
  25902. and fixes a variety of smaller issues.
  25903. o Major features:
  25904. - Implement proposal 121: make it possible to build hidden services
  25905. that only certain clients are allowed to connect to. This is
  25906. enforced at several points, so that unauthorized clients are unable
  25907. to send INTRODUCE cells to the service, or even (depending on the
  25908. type of authentication) to learn introduction points. This feature
  25909. raises the bar for certain kinds of active attacks against hidden
  25910. services. Code by Karsten Loesing.
  25911. - Relays now store and serve v2 hidden service descriptors by default,
  25912. i.e., the new default value for HidServDirectoryV2 is 1. This is
  25913. the last step in proposal 114, which aims to make hidden service
  25914. lookups more reliable.
  25915. - Start work to allow node restrictions to include country codes. The
  25916. syntax to exclude nodes in a country with country code XX is
  25917. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  25918. refinement to decide what config options should take priority if
  25919. you ask to both use a particular node and exclude it.
  25920. - Allow ExitNodes list to include IP ranges and country codes, just
  25921. like the Exclude*Nodes lists. Patch from Robert Hogan.
  25922. o Major bugfixes:
  25923. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  25924. Tor to fail to start if you had it configured to use a bridge
  25925. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  25926. - When extending a circuit to a hidden service directory to upload a
  25927. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  25928. requests failed, because the router descriptor had not been
  25929. downloaded yet. In these cases, we now wait until the router
  25930. descriptor is downloaded, and then retry. Likewise, clients
  25931. now skip over a hidden service directory if they don't yet have
  25932. its router descriptor, rather than futilely requesting it and
  25933. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  25934. on 0.2.0.10-alpha.
  25935. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  25936. we were failing the whole hidden service request when the v0
  25937. descriptor fetch fails, even if the v2 fetch is still pending and
  25938. might succeed. Similarly, if the last v2 fetch fails, we were
  25939. failing the whole hidden service request even if a v0 fetch is
  25940. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  25941. - DNS replies need to have names matching their requests, but
  25942. these names should be in the questions section, not necessarily
  25943. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  25944. o Minor features:
  25945. - Update to the "September 1 2008" ip-to-country file.
  25946. - Allow ports 465 and 587 in the default exit policy again. We had
  25947. rejected them in 0.1.0.15, because back in 2005 they were commonly
  25948. misconfigured and ended up as spam targets. We hear they are better
  25949. locked down these days.
  25950. - Use a lockfile to make sure that two Tor processes are not
  25951. simultaneously running with the same datadir.
  25952. - Serve the latest v3 networkstatus consensus via the control
  25953. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  25954. - Better logging about stability/reliability calculations on directory
  25955. servers.
  25956. - Drop the requirement to have an open dir port for storing and
  25957. serving v2 hidden service descriptors.
  25958. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  25959. help debug WFU and MTBF calculations.
  25960. - Implement most of Proposal 152: allow specialized servers to permit
  25961. single-hop circuits, and clients to use those servers to build
  25962. single-hop circuits when using a specialized controller. Patch
  25963. from Josh Albrecht. Resolves feature request 768.
  25964. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  25965. people find host:port too confusing.
  25966. - Make TrackHostExit mappings expire a while after their last use, not
  25967. after their creation. Patch from Robert Hogan.
  25968. - Provide circuit purposes along with circuit events to the controller.
  25969. o Minor bugfixes:
  25970. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  25971. Reported by Tas.
  25972. - Fixed some memory leaks -- some quite frequent, some almost
  25973. impossible to trigger -- based on results from Coverity.
  25974. - When testing for libevent functions, set the LDFLAGS variable
  25975. correctly. Found by Riastradh.
  25976. - Fix an assertion bug in parsing policy-related options; possible fix
  25977. for bug 811.
  25978. - Catch and report a few more bootstrapping failure cases when Tor
  25979. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  25980. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  25981. bootstrapping with tunneled directory connections. Bugfix on
  25982. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  25983. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  25984. and we know that server B rejects most-but-not all connections to
  25985. port 80, we would previously reject the connection. Now, we assume
  25986. the user knows what they were asking for. Fixes bug 752. Bugfix
  25987. on 0.0.9rc5. Diagnosed by BarkerJr.
  25988. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  25989. service directories if they have no advertised dir port. Bugfix
  25990. on 0.2.0.10-alpha.
  25991. - If we overrun our per-second write limits a little, count this as
  25992. having used up our write allocation for the second, and choke
  25993. outgoing directory writes. Previously, we had only counted this when
  25994. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  25995. Bugfix on 0.2.0.x (??).
  25996. - Avoid a "0 divided by 0" calculation when calculating router uptime
  25997. at directory authorities. Bugfix on 0.2.0.8-alpha.
  25998. - Make DNS resolved controller events into "CLOSED", not
  25999. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  26000. bug 807.
  26001. - Fix a bug where an unreachable relay would establish enough
  26002. reachability testing circuits to do a bandwidth test -- if
  26003. we already have a connection to the middle hop of the testing
  26004. circuit, then it could establish the last hop by using the existing
  26005. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  26006. circuits no longer use entry guards in 0.2.1.3-alpha.
  26007. - If we have correct permissions on $datadir, we complain to stdout
  26008. and fail to start. But dangerous permissions on
  26009. $datadir/cached-status/ would cause us to open a log and complain
  26010. there. Now complain to stdout and fail to start in both cases. Fixes
  26011. bug 820, reported by seeess.
  26012. - Remove the old v2 directory authority 'lefkada' from the default
  26013. list. It has been gone for many months.
  26014. o Code simplifications and refactoring:
  26015. - Revise the connection_new functions so that a more typesafe variant
  26016. exists. This will work better with Coverity, and let us find any
  26017. actual mistakes we're making here.
  26018. - Refactor unit testing logic so that dmalloc can be used sensibly
  26019. with unit tests to check for memory leaks.
  26020. - Move all hidden-service related fields from connection and circuit
  26021. structure to substructures: this way they won't eat so much memory.
  26022. Changes in version 0.2.0.31 - 2008-09-03
  26023. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  26024. a big bug we're seeing where in rare cases traffic from one Tor stream
  26025. gets mixed into another stream, and fixes a variety of smaller issues.
  26026. o Major bugfixes:
  26027. - Make sure that two circuits can never exist on the same connection
  26028. with the same circuit ID, even if one is marked for close. This
  26029. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  26030. - Relays now reject risky extend cells: if the extend cell includes
  26031. a digest of all zeroes, or asks to extend back to the relay that
  26032. sent the extend cell, tear down the circuit. Ideas suggested
  26033. by rovv.
  26034. - If not enough of our entry guards are available so we add a new
  26035. one, we might use the new one even if it overlapped with the
  26036. current circuit's exit relay (or its family). Anonymity bugfix
  26037. pointed out by rovv.
  26038. o Minor bugfixes:
  26039. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  26040. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  26041. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  26042. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  26043. - Pick size of default geoip filename string correctly on windows.
  26044. Fixes bug 806. Bugfix on 0.2.0.30.
  26045. - Make the autoconf script accept the obsolete --with-ssl-dir
  26046. option as an alias for the actually-working --with-openssl-dir
  26047. option. Fix the help documentation to recommend --with-openssl-dir.
  26048. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  26049. - When using the TransPort option on OpenBSD, and using the User
  26050. option to change UID and drop privileges, make sure to open
  26051. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  26052. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  26053. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  26054. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  26055. on the client side when connecting to a hidden service. Bugfix
  26056. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  26057. - When closing an application-side connection because its circuit is
  26058. getting torn down, generate the stream event correctly. Bugfix on
  26059. 0.1.2.x. Anonymous patch.
  26060. Changes in version 0.2.1.5-alpha - 2008-08-31
  26061. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  26062. in a lot of the infrastructure for adding authorization to hidden
  26063. services, lays the groundwork for having clients read their load
  26064. balancing information out of the networkstatus consensus rather than
  26065. the individual router descriptors, addresses two potential anonymity
  26066. issues, and fixes a variety of smaller issues.
  26067. o Major features:
  26068. - Convert many internal address representations to optionally hold
  26069. IPv6 addresses.
  26070. - Generate and accept IPv6 addresses in many protocol elements.
  26071. - Make resolver code handle nameservers located at ipv6 addresses.
  26072. - Begin implementation of proposal 121 ("Client authorization for
  26073. hidden services"): configure hidden services with client
  26074. authorization, publish descriptors for them, and configure
  26075. authorization data for hidden services at clients. The next
  26076. step is to actually access hidden services that perform client
  26077. authorization.
  26078. - More progress toward proposal 141: Network status consensus
  26079. documents and votes now contain bandwidth information for each
  26080. router and a summary of that router's exit policy. Eventually this
  26081. will be used by clients so that they do not have to download every
  26082. known descriptor before building circuits.
  26083. o Major bugfixes (on 0.2.0.x and before):
  26084. - When sending CREATED cells back for a given circuit, use a 64-bit
  26085. connection ID to find the right connection, rather than an addr:port
  26086. combination. Now that we can have multiple OR connections between
  26087. the same ORs, it is no longer possible to use addr:port to uniquely
  26088. identify a connection.
  26089. - Relays now reject risky extend cells: if the extend cell includes
  26090. a digest of all zeroes, or asks to extend back to the relay that
  26091. sent the extend cell, tear down the circuit. Ideas suggested
  26092. by rovv.
  26093. - If not enough of our entry guards are available so we add a new
  26094. one, we might use the new one even if it overlapped with the
  26095. current circuit's exit relay (or its family). Anonymity bugfix
  26096. pointed out by rovv.
  26097. o Minor bugfixes:
  26098. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  26099. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  26100. - When using the TransPort option on OpenBSD, and using the User
  26101. option to change UID and drop privileges, make sure to open /dev/pf
  26102. before dropping privileges. Fixes bug 782. Patch from Christopher
  26103. Davis. Bugfix on 0.1.2.1-alpha.
  26104. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  26105. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  26106. - Add a missing safe_str() call for a debug log message.
  26107. - Use 64 bits instead of 32 bits for connection identifiers used with
  26108. the controller protocol, to greatly reduce risk of identifier reuse.
  26109. - Make the autoconf script accept the obsolete --with-ssl-dir
  26110. option as an alias for the actually-working --with-openssl-dir
  26111. option. Fix the help documentation to recommend --with-openssl-dir.
  26112. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  26113. o Minor features:
  26114. - Rate-limit too-many-sockets messages: when they happen, they happen
  26115. a lot. Resolves bug 748.
  26116. - Resist DNS poisoning a little better by making sure that names in
  26117. answer sections match.
  26118. - Print the SOCKS5 error message string as well as the error code
  26119. when a tor-resolve request fails. Patch from Jacob.
  26120. Changes in version 0.2.1.4-alpha - 2008-08-04
  26121. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  26122. o Major bugfixes:
  26123. - The address part of exit policies was not correctly written
  26124. to router descriptors. This generated router descriptors that failed
  26125. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  26126. on 0.2.1.3-alpha.
  26127. - Tor triggered a false assert when extending a circuit to a relay
  26128. but we already have a connection open to that relay. Noticed by
  26129. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  26130. o Minor bugfixes:
  26131. - Fix a hidden service logging bug: in some edge cases, the router
  26132. descriptor of a previously picked introduction point becomes
  26133. obsolete and we need to give up on it rather than continually
  26134. complaining that it has become obsolete. Observed by xiando. Bugfix
  26135. on 0.2.1.3-alpha.
  26136. o Removed features:
  26137. - Take out the TestVia config option, since it was a workaround for
  26138. a bug that was fixed in Tor 0.1.1.21.
  26139. Changes in version 0.2.1.3-alpha - 2008-08-03
  26140. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  26141. infinite-length circuit attacks (see proposal 110); fixes a bug that
  26142. might cause exit relays to corrupt streams they send back; allows
  26143. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  26144. ExcludeExitNodes config options; and fixes a big pile of bugs.
  26145. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  26146. - Send a bootstrap problem "warn" event on the first problem if the
  26147. reason is NO_ROUTE (that is, our network is down).
  26148. o Major features:
  26149. - Implement most of proposal 110: The first K cells to be sent
  26150. along a circuit are marked as special "early" cells; only K "early"
  26151. cells will be allowed. Once this code is universal, we can block
  26152. certain kinds of DOS attack by requiring that EXTEND commands must
  26153. be sent using an "early" cell.
  26154. o Major bugfixes:
  26155. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  26156. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  26157. on the client side when connecting to a hidden service. Bugfix
  26158. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  26159. - Ensure that two circuits can never exist on the same connection
  26160. with the same circuit ID, even if one is marked for close. This
  26161. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  26162. o Minor features:
  26163. - When relays do their initial bandwidth measurement, don't limit
  26164. to just our entry guards for the test circuits. Otherwise we tend
  26165. to have multiple test circuits going through a single entry guard,
  26166. which makes our bandwidth test less accurate. Fixes part of bug 654;
  26167. patch contributed by Josh Albrecht.
  26168. - Add an ExcludeExitNodes option so users can list a set of nodes
  26169. that should be be excluded from the exit node position, but
  26170. allowed elsewhere. Implements proposal 151.
  26171. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  26172. ExcludeNodes and ExcludeExitNodes lists.
  26173. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  26174. be more efficient. Formerly it was quadratic in the number of
  26175. servers; now it should be linear. Fixes bug 509.
  26176. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  26177. and n_conn_id_digest fields into a separate structure that's
  26178. only needed when the circuit has not yet attached to an n_conn.
  26179. o Minor bugfixes:
  26180. - Change the contrib/tor.logrotate script so it makes the new
  26181. logs as "_tor:_tor" rather than the default, which is generally
  26182. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  26183. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  26184. warnings (occasionally), but it can also cause the compiler to
  26185. eliminate error-checking code. Suggested by Peter Gutmann.
  26186. - When a hidden service is giving up on an introduction point candidate
  26187. that was not included in the last published rendezvous descriptor,
  26188. don't reschedule publication of the next descriptor. Fixes bug 763.
  26189. Bugfix on 0.0.9.3.
  26190. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  26191. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  26192. and nobody claims to be using them. Fixes bug 754. Bugfix on
  26193. 0.1.0.1-rc. Patch from Christian Wilms.
  26194. - Fix a small alignment and memory-wasting bug on buffer chunks.
  26195. Spotted by rovv.
  26196. o Minor bugfixes (controller):
  26197. - When closing an application-side connection because its circuit
  26198. is getting torn down, generate the stream event correctly.
  26199. Bugfix on 0.1.2.x. Anonymous patch.
  26200. o Removed features:
  26201. - Remove all backward-compatibility code to support relays running
  26202. versions of Tor so old that they no longer work at all on the
  26203. Tor network.
  26204. Changes in version 0.2.0.30 - 2008-07-15
  26205. o Minor bugfixes:
  26206. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  26207. warnings (occasionally), but it can also cause the compiler to
  26208. eliminate error-checking code. Suggested by Peter Gutmann.
  26209. Changes in version 0.2.0.29-rc - 2008-07-08
  26210. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  26211. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  26212. o Major bugfixes:
  26213. - If you have more than one bridge but don't know their keys,
  26214. you would only launch a request for the descriptor of the first one
  26215. on your list. (Tor considered launching requests for the others, but
  26216. found that it already had a connection on the way for $0000...0000
  26217. so it didn't open another.) Bugfix on 0.2.0.x.
  26218. - If you have more than one bridge but don't know their keys, and the
  26219. connection to one of the bridges failed, you would cancel all
  26220. pending bridge connections. (After all, they all have the same
  26221. digest.) Bugfix on 0.2.0.x.
  26222. - When a hidden service was trying to establish an introduction point,
  26223. and Tor had built circuits preemptively for such purposes, we
  26224. were ignoring all the preemptive circuits and launching a new one
  26225. instead. Bugfix on 0.2.0.14-alpha.
  26226. - When a hidden service was trying to establish an introduction point,
  26227. and Tor *did* manage to reuse one of the preemptively built
  26228. circuits, it didn't correctly remember which one it used,
  26229. so it asked for another one soon after, until there were no
  26230. more preemptive circuits, at which point it launched one from
  26231. scratch. Bugfix on 0.0.9.x.
  26232. - Make directory servers include the X-Your-Address-Is: http header in
  26233. their responses even for begin_dir conns. Now clients who only
  26234. ever use begin_dir connections still have a way to learn their IP
  26235. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  26236. o Minor bugfixes:
  26237. - Fix a macro/CPP interaction that was confusing some compilers:
  26238. some GCCs don't like #if/#endif pairs inside macro arguments.
  26239. Fixes bug 707.
  26240. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  26241. Fixes bug 704; fix from Steven Murdoch.
  26242. - When opening /dev/null in finish_daemonize(), do not pass the
  26243. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  26244. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  26245. - Correctly detect transparent proxy support on Linux hosts that
  26246. require in.h to be included before netfilter_ipv4.h. Patch
  26247. from coderman.
  26248. - Disallow session resumption attempts during the renegotiation
  26249. stage of the v2 handshake protocol. Clients should never be trying
  26250. session resumption at this point, but apparently some did, in
  26251. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  26252. found by Geoff Goodell.
  26253. Changes in version 0.2.1.2-alpha - 2008-06-20
  26254. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  26255. make it easier to set up your own private Tor network; fixes several
  26256. big bugs with using more than one bridge relay; fixes a big bug with
  26257. offering hidden services quickly after Tor starts; and uses a better
  26258. API for reporting potential bootstrapping problems to the controller.
  26259. o Major features:
  26260. - New TestingTorNetwork config option to allow adjustment of
  26261. previously constant values that, while reasonable, could slow
  26262. bootstrapping. Implements proposal 135. Patch from Karsten.
  26263. o Major bugfixes:
  26264. - If you have more than one bridge but don't know their digests,
  26265. you would only learn a request for the descriptor of the first one
  26266. on your list. (Tor considered launching requests for the others, but
  26267. found that it already had a connection on the way for $0000...0000
  26268. so it didn't open another.) Bugfix on 0.2.0.x.
  26269. - If you have more than one bridge but don't know their digests,
  26270. and the connection to one of the bridges failed, you would cancel
  26271. all pending bridge connections. (After all, they all have the
  26272. same digest.) Bugfix on 0.2.0.x.
  26273. - When establishing a hidden service, introduction points that
  26274. originate from cannibalized circuits are completely ignored and not
  26275. included in rendezvous service descriptors. This might be another
  26276. reason for delay in making a hidden service available. Bugfix
  26277. from long ago (0.0.9.x?)
  26278. o Minor features:
  26279. - Allow OpenSSL to use dynamic locks if it wants.
  26280. - When building a consensus, do not include routers that are down.
  26281. This will cut down 30% to 40% on consensus size. Implements
  26282. proposal 138.
  26283. - In directory authorities' approved-routers files, allow
  26284. fingerprints with or without space.
  26285. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  26286. controller can query our current bootstrap state in case it attaches
  26287. partway through and wants to catch up.
  26288. - Send an initial "Starting" bootstrap status event, so we have a
  26289. state to start out in.
  26290. o Minor bugfixes:
  26291. - Asking for a conditional consensus at .../consensus/<fingerprints>
  26292. would crash a dirserver if it did not already have a
  26293. consensus. Bugfix on 0.2.1.1-alpha.
  26294. - Clean up some macro/CPP interactions: some GCC versions don't like
  26295. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  26296. 0.2.0.x.
  26297. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  26298. - Directory authorities shouldn't complain about bootstrapping
  26299. problems just because they do a lot of reachability testing and
  26300. some of the connection attempts fail.
  26301. - Start sending "count" and "recommendation" key/value pairs in
  26302. bootstrap problem status events, so the controller can hear about
  26303. problems even before Tor decides they're worth reporting for sure.
  26304. - If you're using bridges, generate "bootstrap problem" warnings
  26305. as soon as you run out of working bridges, rather than waiting
  26306. for ten failures -- which will never happen if you have less than
  26307. ten bridges.
  26308. - If we close our OR connection because there's been a circuit
  26309. pending on it for too long, we were telling our bootstrap status
  26310. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  26311. Changes in version 0.2.1.1-alpha - 2008-06-13
  26312. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  26313. were making the Tor process bloat especially on Linux; makes our TLS
  26314. handshake blend in better; sends "bootstrap phase" status events to
  26315. the controller, so it can keep the user informed of progress (and
  26316. problems) fetching directory information and establishing circuits;
  26317. and adds a variety of smaller features.
  26318. o Major features:
  26319. - More work on making our TLS handshake blend in: modify the list
  26320. of ciphers advertised by OpenSSL in client mode to even more
  26321. closely resemble a common web browser. We cheat a little so that
  26322. we can advertise ciphers that the locally installed OpenSSL doesn't
  26323. know about.
  26324. - Start sending "bootstrap phase" status events to the controller,
  26325. so it can keep the user informed of progress fetching directory
  26326. information and establishing circuits. Also inform the controller
  26327. if we think we're stuck at a particular bootstrap phase. Implements
  26328. proposal 137.
  26329. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  26330. cross-platform entropy collection again. We used to use it, then
  26331. stopped using it because of a bug that could crash systems that
  26332. called RAND_poll when they had a lot of fds open. It looks like the
  26333. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  26334. at startup, and to call RAND_poll() when we reseed later only if
  26335. we have a non-buggy OpenSSL version.
  26336. o Major bugfixes:
  26337. - When we choose to abandon a new entry guard because we think our
  26338. older ones might be better, close any circuits pending on that
  26339. new entry guard connection. This fix should make us recover much
  26340. faster when our network is down and then comes back. Bugfix on
  26341. 0.1.2.8-beta; found by lodger.
  26342. o Memory fixes and improvements:
  26343. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  26344. to avoid unused RAM in buffer chunks and memory pools.
  26345. - Speed up parsing and cut down on memory fragmentation by using
  26346. stack-style allocations for parsing directory objects. Previously,
  26347. this accounted for over 40% of allocations from within Tor's code
  26348. on a typical directory cache.
  26349. - Use a Bloom filter rather than a digest-based set to track which
  26350. descriptors we need to keep around when we're cleaning out old
  26351. router descriptors. This speeds up the computation significantly,
  26352. and may reduce fragmentation.
  26353. - Reduce the default smartlist size from 32 to 16; it turns out that
  26354. most smartlists hold around 8-12 elements tops.
  26355. - Make dumpstats() log the fullness and size of openssl-internal
  26356. buffers.
  26357. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  26358. patch to their OpenSSL, turn it on to save memory on servers. This
  26359. patch will (with any luck) get included in a mainline distribution
  26360. before too long.
  26361. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  26362. compress cells, which are basically all encrypted, compressed,
  26363. or both.
  26364. o Minor bugfixes:
  26365. - Stop reloading the router list from disk for no reason when we
  26366. run out of reachable directory mirrors. Once upon a time reloading
  26367. it would set the 'is_running' flag back to 1 for them. It hasn't
  26368. done that for a long time.
  26369. - In very rare situations new hidden service descriptors were
  26370. published earlier than 30 seconds after the last change to the
  26371. service. (We currently think that a hidden service descriptor
  26372. that's been stable for 30 seconds is worth publishing.)
  26373. o Minor features:
  26374. - Allow separate log levels to be configured for different logging
  26375. domains. For example, this allows one to log all notices, warnings,
  26376. or errors, plus all memory management messages of level debug or
  26377. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  26378. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  26379. and stop using a warning that had become unfixably verbose under
  26380. GCC 4.3.
  26381. - New --hush command-line option similar to --quiet. While --quiet
  26382. disables all logging to the console on startup, --hush limits the
  26383. output to messages of warning and error severity.
  26384. - Servers support a new URL scheme for consensus downloads that
  26385. allows the client to specify which authorities are trusted.
  26386. The server then only sends the consensus if the client will trust
  26387. it. Otherwise a 404 error is sent back. Clients use this
  26388. new scheme when the server supports it (meaning it's running
  26389. 0.2.1.1-alpha or later). Implements proposal 134.
  26390. - New configure/torrc options (--enable-geoip-stats,
  26391. DirRecordUsageByCountry) to record how many IPs we've served
  26392. directory info to in each country code, how many status documents
  26393. total we've sent to each country code, and what share of the total
  26394. directory requests we should expect to see.
  26395. - Use the TLS1 hostname extension to more closely resemble browser
  26396. behavior.
  26397. - Lots of new unit tests.
  26398. - Add a macro to implement the common pattern of iterating through
  26399. two parallel lists in lockstep.
  26400. Changes in version 0.2.0.28-rc - 2008-06-13
  26401. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  26402. performance bug, and fixes a bunch of smaller bugs.
  26403. o Anonymity fixes:
  26404. - Fix a bug where, when we were choosing the 'end stream reason' to
  26405. put in our relay end cell that we send to the exit relay, Tor
  26406. clients on Windows were sometimes sending the wrong 'reason'. The
  26407. anonymity problem is that exit relays may be able to guess whether
  26408. the client is running Windows, thus helping partition the anonymity
  26409. set. Down the road we should stop sending reasons to exit relays,
  26410. or otherwise prevent future versions of this bug.
  26411. o Major bugfixes:
  26412. - While setting up a hidden service, some valid introduction circuits
  26413. were overlooked and abandoned. This might be the reason for
  26414. the long delay in making a hidden service available. Bugfix on
  26415. 0.2.0.14-alpha.
  26416. o Minor features:
  26417. - Update to the "June 9 2008" ip-to-country file.
  26418. - Run 'make test' as part of 'make dist', so we stop releasing so
  26419. many development snapshots that fail their unit tests.
  26420. o Minor bugfixes:
  26421. - When we're checking if we have enough dir info for each relay
  26422. to begin establishing circuits, make sure that we actually have
  26423. the descriptor listed in the consensus, not just any descriptor.
  26424. Bugfix on 0.1.2.x.
  26425. - Bridge relays no longer print "xx=0" in their extrainfo document
  26426. for every single country code in the geoip db. Bugfix on
  26427. 0.2.0.27-rc.
  26428. - Only warn when we fail to load the geoip file if we were planning to
  26429. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  26430. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  26431. Tor won't realize it should publish a new relay descriptor. Fixes
  26432. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  26433. - When we haven't had any application requests lately, don't bother
  26434. logging that we have expired a bunch of descriptors. Bugfix
  26435. on 0.1.2.x.
  26436. - Make relay cells written on a connection count as non-padding when
  26437. tracking how long a connection has been in use. Bugfix on
  26438. 0.2.0.1-alpha. Spotted by lodger.
  26439. - Fix unit tests in 0.2.0.27-rc.
  26440. - Fix compile on Windows.
  26441. Changes in version 0.2.0.27-rc - 2008-06-03
  26442. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  26443. release candidates. In particular, we now include an IP-to-country
  26444. GeoIP database, so controllers can easily look up what country a
  26445. given relay is in, and so bridge relays can give us some sanitized
  26446. summaries about which countries are making use of bridges. (See proposal
  26447. 126-geoip-fetching.txt for details.)
  26448. o Major features:
  26449. - Include an IP-to-country GeoIP file in the tarball, so bridge
  26450. relays can report sanitized summaries of the usage they're seeing.
  26451. o Minor features:
  26452. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  26453. Robert Hogan. Fixes the first part of bug 681.
  26454. - Make bridge authorities never serve extrainfo docs.
  26455. - Add support to detect Libevent versions in the 1.4.x series
  26456. on mingw.
  26457. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  26458. - Include a new contrib/tor-exit-notice.html file that exit relay
  26459. operators can put on their website to help reduce abuse queries.
  26460. o Minor bugfixes:
  26461. - When tunneling an encrypted directory connection, and its first
  26462. circuit fails, do not leave it unattached and ask the controller
  26463. to deal. Fixes the second part of bug 681.
  26464. - Make bridge authorities correctly expire old extrainfo documents
  26465. from time to time.
  26466. Changes in version 0.2.0.26-rc - 2008-05-13
  26467. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  26468. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  26469. should upgrade, whether they're running Debian or not.
  26470. o Major security fixes:
  26471. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  26472. moria1 V3 directory authorities. The old keys were generated with
  26473. a vulnerable version of Debian's OpenSSL package, and must be
  26474. considered compromised. Other authorities' keys were not generated
  26475. with an affected version of OpenSSL.
  26476. o Major bugfixes:
  26477. - List authority signatures as "unrecognized" based on DirServer
  26478. lines, not on cert cache. Bugfix on 0.2.0.x.
  26479. o Minor features:
  26480. - Add a new V3AuthUseLegacyKey option to make it easier for
  26481. authorities to change their identity keys if they have to.
  26482. Changes in version 0.2.0.25-rc - 2008-04-23
  26483. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  26484. o Major bugfixes:
  26485. - Remember to initialize threading before initializing logging.
  26486. Otherwise, many BSD-family implementations will crash hard on
  26487. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  26488. o Minor bugfixes:
  26489. - Authorities correctly free policies on bad servers on
  26490. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  26491. Changes in version 0.2.0.24-rc - 2008-04-22
  26492. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  26493. v3 directory authority, makes relays with dynamic IP addresses and no
  26494. DirPort notice more quickly when their IP address changes, fixes a few
  26495. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  26496. o New directory authorities:
  26497. - Take lefkada out of the list of v3 directory authorities, since
  26498. it has been down for months.
  26499. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  26500. authority.
  26501. o Major bugfixes:
  26502. - Detect address changes more quickly on non-directory mirror
  26503. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  26504. o Minor features (security):
  26505. - Reject requests for reverse-dns lookup of names that are in
  26506. a private address space. Patch from lodger.
  26507. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  26508. from lodger.
  26509. o Minor bugfixes (crashes):
  26510. - Avoid a rare assert that can trigger when Tor doesn't have much
  26511. directory information yet and it tries to fetch a v2 hidden
  26512. service descriptor. Fixes bug 651, reported by nwf.
  26513. - Initialize log mutex before initializing dmalloc. Otherwise,
  26514. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  26515. - Use recursive pthread mutexes in order to avoid deadlock when
  26516. logging debug-level messages to a controller. Bug spotted by nwf,
  26517. bugfix on 0.2.0.16-alpha.
  26518. o Minor bugfixes (resource management):
  26519. - Keep address policies from leaking memory: start their refcount
  26520. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  26521. - Free authority certificates on exit, so they don't look like memory
  26522. leaks. Bugfix on 0.2.0.19-alpha.
  26523. - Free static hashtables for policy maps and for TLS connections on
  26524. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  26525. - Avoid allocating extra space when computing consensuses on 64-bit
  26526. platforms. Bug spotted by aakova.
  26527. o Minor bugfixes (misc):
  26528. - Do not read the configuration file when we've only been told to
  26529. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  26530. based on patch from Sebastian Hahn.
  26531. - Exit relays that are used as a client can now reach themselves
  26532. using the .exit notation, rather than just launching an infinite
  26533. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  26534. - When attempting to open a logfile fails, tell us why.
  26535. - Fix a dumb bug that was preventing us from knowing that we should
  26536. preemptively build circuits to handle expected directory requests.
  26537. Fixes bug 660. Bugfix on 0.1.2.x.
  26538. - Warn less verbosely about clock skew from netinfo cells from
  26539. untrusted sources. Fixes bug 663.
  26540. - Make controller stream events for DNS requests more consistent,
  26541. by adding "new stream" events for DNS requests, and removing
  26542. spurious "stream closed" events" for cached reverse resolves.
  26543. Patch from mwenge. Fixes bug 646.
  26544. - Correctly notify one-hop connections when a circuit build has
  26545. failed. Possible fix for bug 669. Found by lodger.
  26546. Changes in version 0.2.0.23-rc - 2008-03-24
  26547. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  26548. makes bootstrapping faster if the first directory mirror you contact
  26549. is down. The bundles also include the new Vidalia 0.1.2 release.
  26550. o Major bugfixes:
  26551. - When a tunneled directory request is made to a directory server
  26552. that's down, notice after 30 seconds rather than 120 seconds. Also,
  26553. fail any begindir streams that are pending on it, so they can
  26554. retry elsewhere. This was causing multi-minute delays on bootstrap.
  26555. Changes in version 0.2.0.22-rc - 2008-03-18
  26556. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  26557. enables encrypted directory connections by default for non-relays, fixes
  26558. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  26559. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  26560. o Major features:
  26561. - Enable encrypted directory connections by default for non-relays,
  26562. so censor tools that block Tor directory connections based on their
  26563. plaintext patterns will no longer work. This means Tor works in
  26564. certain censored countries by default again.
  26565. o Major bugfixes:
  26566. - Make sure servers always request certificates from clients during
  26567. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  26568. - Do not enter a CPU-eating loop when a connection is closed in
  26569. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  26570. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  26571. - Fix assertion failure that could occur when a blocked circuit
  26572. became unblocked, and it had pending client DNS requests. Bugfix
  26573. on 0.2.0.1-alpha. Fixes bug 632.
  26574. o Minor bugfixes (on 0.1.2.x):
  26575. - Generate "STATUS_SERVER" events rather than misspelled
  26576. "STATUS_SEVER" events. Caught by mwenge.
  26577. - When counting the number of bytes written on a TLS connection,
  26578. look at the BIO actually used for writing to the network, not
  26579. at the BIO used (sometimes) to buffer data for the network.
  26580. Looking at different BIOs could result in write counts on the
  26581. order of ULONG_MAX. Fixes bug 614.
  26582. - On Windows, correctly detect errors when listing the contents of
  26583. a directory. Fix from lodger.
  26584. o Minor bugfixes (on 0.2.0.x):
  26585. - Downgrade "sslv3 alert handshake failure" message to INFO.
  26586. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  26587. left BandwidthRate and BandwidthBurst at the default, we would be
  26588. silently limited by those defaults. Now raise them to match the
  26589. RelayBandwidth* values.
  26590. - Fix the SVK version detection logic to work correctly on a branch.
  26591. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  26592. CPUs. Fixes bug 625.
  26593. - Logging functions now check that the passed severity is sane.
  26594. - Use proper log levels in the testsuite call of
  26595. get_interface_address6().
  26596. - When using a nonstandard malloc, do not use the platform values for
  26597. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  26598. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  26599. 16k pages on ia64.
  26600. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  26601. - Avoid double-marked-for-close warning when certain kinds of invalid
  26602. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  26603. for bug 617. Bugfix on 0.2.0.1-alpha.
  26604. - Make sure that the "NULL-means-reject *:*" convention is followed by
  26605. all the policy manipulation functions, avoiding some possible crash
  26606. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  26607. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  26608. actually works, and doesn't warn about every single reverse lookup.
  26609. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  26610. o Minor features:
  26611. - Only log guard node status when guard node status has changed.
  26612. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  26613. make "INFO" 75% less verbose.
  26614. Changes in version 0.2.0.21-rc - 2008-03-02
  26615. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  26616. makes Tor work well with Vidalia again, fixes a rare assert bug,
  26617. and fixes a pair of more minor bugs. The bundles also include Vidalia
  26618. 0.1.0 and Torbutton 1.1.16.
  26619. o Major bugfixes:
  26620. - The control port should declare that it requires password auth
  26621. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  26622. bugfix on 0.2.0.20-rc. Fixes bug 615.
  26623. - Downgrade assert in connection_buckets_decrement() to a log message.
  26624. This may help us solve bug 614, and in any case will make its
  26625. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  26626. - We were sometimes miscounting the number of bytes read from the
  26627. network, causing our rate limiting to not be followed exactly.
  26628. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  26629. o Minor bugfixes:
  26630. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  26631. OpenSSL versions should have been working fine. Diagnosis and patch
  26632. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  26633. Bugfix on 0.2.0.20-rc.
  26634. Changes in version 0.2.0.20-rc - 2008-02-24
  26635. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  26636. makes more progress towards normalizing Tor's TLS handshake, makes
  26637. hidden services work better again, helps relays bootstrap if they don't
  26638. know their IP address, adds optional support for linking in openbsd's
  26639. allocator or tcmalloc, allows really fast relays to scale past 15000
  26640. sockets, and fixes a bunch of minor bugs reported by Veracode.
  26641. o Major features:
  26642. - Enable the revised TLS handshake based on the one designed by
  26643. Steven Murdoch in proposal 124, as revised in proposal 130. It
  26644. includes version negotiation for OR connections as described in
  26645. proposal 105. The new handshake is meant to be harder for censors
  26646. to fingerprint, and it adds the ability to detect certain kinds of
  26647. man-in-the-middle traffic analysis attacks. The version negotiation
  26648. feature will allow us to improve Tor's link protocol more safely
  26649. in the future.
  26650. - Choose which bridge to use proportional to its advertised bandwidth,
  26651. rather than uniformly at random. This should speed up Tor for
  26652. bridge users. Also do this for people who set StrictEntryNodes.
  26653. - When a TrackHostExits-chosen exit fails too many times in a row,
  26654. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  26655. o Major bugfixes:
  26656. - Resolved problems with (re-)fetching hidden service descriptors.
  26657. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  26658. and 0.2.0.19-alpha.
  26659. - If we only ever used Tor for hidden service lookups or posts, we
  26660. would stop building circuits and start refusing connections after
  26661. 24 hours, since we falsely believed that Tor was dormant. Reported
  26662. by nwf; bugfix on 0.1.2.x.
  26663. - Servers that don't know their own IP address should go to the
  26664. authorities for their first directory fetch, even if their DirPort
  26665. is off or if they don't know they're reachable yet. This will help
  26666. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  26667. - When counting the number of open sockets, count not only the number
  26668. of sockets we have received from the socket() call, but also
  26669. the number we've gotten from accept() and socketpair(). This bug
  26670. made us fail to count all sockets that we were using for incoming
  26671. connections. Bugfix on 0.2.0.x.
  26672. - Fix code used to find strings within buffers, when those strings
  26673. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  26674. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  26675. - Add a new __HashedControlSessionPassword option for controllers
  26676. to use for one-off session password hashes that shouldn't get
  26677. saved to disk by SAVECONF --- Vidalia users were accumulating a
  26678. pile of HashedControlPassword lines in their torrc files, one for
  26679. each time they had restarted Tor and then clicked Save. Make Tor
  26680. automatically convert "HashedControlPassword" to this new option but
  26681. only when it's given on the command line. Partial fix for bug 586.
  26682. o Minor features (performance):
  26683. - Tune parameters for cell pool allocation to minimize amount of
  26684. RAM overhead used.
  26685. - Add OpenBSD malloc code from phk as an optional malloc
  26686. replacement on Linux: some glibc libraries do very poorly
  26687. with Tor's memory allocation patterns. Pass
  26688. --enable-openbsd-malloc to get the replacement malloc code.
  26689. - Add a --with-tcmalloc option to the configure script to link
  26690. against tcmalloc (if present). Does not yet search for
  26691. non-system include paths.
  26692. - Stop imposing an arbitrary maximum on the number of file descriptors
  26693. used for busy servers. Bug reported by Olaf Selke; patch from
  26694. Sebastian Hahn.
  26695. o Minor features (other):
  26696. - When SafeLogging is disabled, log addresses along with all TLS
  26697. errors.
  26698. - When building with --enable-gcc-warnings, check for whether Apple's
  26699. warning "-Wshorten-64-to-32" is available.
  26700. - Add a --passphrase-fd argument to the tor-gencert command for
  26701. scriptability.
  26702. o Minor bugfixes (memory leaks and code problems):
  26703. - We were leaking a file descriptor if Tor started with a zero-length
  26704. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  26705. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  26706. Dan Kaminsky.
  26707. - We were comparing the raw BridgePassword entry with a base64'ed
  26708. version of it, when handling a "/tor/networkstatus-bridges"
  26709. directory request. Now compare correctly. Noticed by Veracode.
  26710. - Recover from bad tracked-since value in MTBF-history file.
  26711. Should fix bug 537.
  26712. - Alter the code that tries to recover from unhandled write
  26713. errors, to not try to flush onto a socket that's given us
  26714. unhandled errors. Bugfix on 0.1.2.x.
  26715. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  26716. tup. Bugfix on 0.2.0.3-alpha.
  26717. o Minor bugfixes (other):
  26718. - If we have an extra-info document for our server, always make
  26719. it available on the control port, even if we haven't gotten
  26720. a copy of it from an authority yet. Patch from mwenge.
  26721. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  26722. - Directory mirrors no longer include a guess at the client's IP
  26723. address if the connection appears to be coming from the same /24
  26724. network; it was producing too many wrong guesses.
  26725. - Make the new hidden service code respect the SafeLogging setting.
  26726. Bugfix on 0.2.0.x. Patch from Karsten.
  26727. - When starting as an authority, do not overwrite all certificates
  26728. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  26729. - If we're trying to flush the last bytes on a connection (for
  26730. example, when answering a directory request), reset the
  26731. time-to-give-up timeout every time we manage to write something
  26732. on the socket. Bugfix on 0.1.2.x.
  26733. - Change the behavior of "getinfo status/good-server-descriptor"
  26734. so it doesn't return failure when any authority disappears.
  26735. - Even though the man page said that "TrackHostExits ." should
  26736. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  26737. - Report TLS "zero return" case as a "clean close" and "IO error"
  26738. as a "close". Stop calling closes "unexpected closes": existing
  26739. Tors don't use SSL_close(), so having a connection close without
  26740. the TLS shutdown handshake is hardly unexpected.
  26741. - Send NAMESERVER_STATUS messages for a single failed nameserver
  26742. correctly.
  26743. o Code simplifications and refactoring:
  26744. - Remove the tor_strpartition function: its logic was confused,
  26745. and it was only used for one thing that could be implemented far
  26746. more easily.
  26747. Changes in version 0.2.0.19-alpha - 2008-02-09
  26748. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  26749. handshake, makes path selection for relays more secure and IP address
  26750. guessing more robust, and generally fixes a lot of bugs in preparation
  26751. for calling the 0.2.0 branch stable.
  26752. o Major features:
  26753. - Do not include recognizeable strings in the commonname part of
  26754. Tor's x509 certificates.
  26755. o Major bugfixes:
  26756. - If we're a relay, avoid picking ourselves as an introduction point,
  26757. a rendezvous point, or as the final hop for internal circuits. Bug
  26758. reported by taranis and lodger. Bugfix on 0.1.2.x.
  26759. - Patch from "Andrew S. Lists" to catch when we contact a directory
  26760. mirror at IP address X and he says we look like we're coming from
  26761. IP address X. Bugfix on 0.1.2.x.
  26762. o Minor features (security):
  26763. - Be more paranoid about overwriting sensitive memory on free(),
  26764. as a defensive programming tactic to ensure forward secrecy.
  26765. o Minor features (directory authority):
  26766. - Actually validate the options passed to AuthDirReject,
  26767. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  26768. - Reject router descriptors with out-of-range bandwidthcapacity or
  26769. bandwidthburst values.
  26770. o Minor features (controller):
  26771. - Reject controller commands over 1MB in length. This keeps rogue
  26772. processes from running us out of memory.
  26773. o Minor features (misc):
  26774. - Give more descriptive well-formedness errors for out-of-range
  26775. hidden service descriptor/protocol versions.
  26776. - Make memory debugging information describe more about history
  26777. of cell allocation, so we can help reduce our memory use.
  26778. o Deprecated features (controller):
  26779. - The status/version/num-versioning and status/version/num-concurring
  26780. GETINFO options are no longer useful in the v3 directory protocol:
  26781. treat them as deprecated, and warn when they're used.
  26782. o Minor bugfixes:
  26783. - When our consensus networkstatus has been expired for a while, stop
  26784. being willing to build circuits using it. Fixes bug 401. Bugfix
  26785. on 0.1.2.x.
  26786. - Directory caches now fetch certificates from all authorities
  26787. listed in a networkstatus consensus, even when they do not
  26788. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  26789. - When connecting to a bridge without specifying its key, insert
  26790. the connection into the identity-to-connection map as soon as
  26791. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  26792. - Detect versions of OS X where malloc_good_size() is present in the
  26793. library but never actually declared. Resolves bug 587. Bugfix
  26794. on 0.2.0.x.
  26795. - Stop incorrectly truncating zlib responses to directory authority
  26796. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  26797. - Stop recommending that every server operator send mail to tor-ops.
  26798. Resolves bug 597. Bugfix on 0.1.2.x.
  26799. - Don't trigger an assert if we start a directory authority with a
  26800. private IP address (like 127.0.0.1).
  26801. - Avoid possible failures when generating a directory with routers
  26802. with over-long versions strings, or too many flags set. Bugfix
  26803. on 0.1.2.x.
  26804. - If an attempt to launch a DNS resolve request over the control
  26805. port fails because we have overrun the limit on the number of
  26806. connections, tell the controller that the request has failed.
  26807. - Avoid using too little bandwidth when our clock skips a few
  26808. seconds. Bugfix on 0.1.2.x.
  26809. - Fix shell error when warning about missing packages in configure
  26810. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  26811. - Do not become confused when receiving a spurious VERSIONS-like
  26812. cell from a confused v1 client. Bugfix on 0.2.0.x.
  26813. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  26814. introduction points for a hidden service have failed. Patch from
  26815. Karsten Loesing. Bugfix on 0.2.0.x.
  26816. o Code simplifications and refactoring:
  26817. - Remove some needless generality from cpuworker code, for improved
  26818. type-safety.
  26819. - Stop overloading the circuit_t.onionskin field for both "onionskin
  26820. from a CREATE cell that we are waiting for a cpuworker to be
  26821. assigned" and "onionskin from an EXTEND cell that we are going to
  26822. send to an OR as soon as we are connected". Might help with bug 600.
  26823. - Add an in-place version of aes_crypt() so that we can avoid doing a
  26824. needless memcpy() call on each cell payload.
  26825. Changes in version 0.2.0.18-alpha - 2008-01-25
  26826. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  26827. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  26828. that can warn or reject connections to ports generally associated with
  26829. vulnerable-plaintext protocols.
  26830. o New directory authorities:
  26831. - Set up dannenberg (run by CCC) as the sixth v3 directory
  26832. authority.
  26833. o Major bugfixes:
  26834. - Fix a major memory leak when attempting to use the v2 TLS
  26835. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  26836. - We accidentally enabled the under-development v2 TLS handshake
  26837. code, which was causing log entries like "TLS error while
  26838. renegotiating handshake". Disable it again. Resolves bug 590.
  26839. - We were computing the wrong Content-Length: header for directory
  26840. responses that need to be compressed on the fly, causing clients
  26841. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  26842. fixes bug 593.
  26843. o Major features:
  26844. - Avoid going directly to the directory authorities even if you're a
  26845. relay, if you haven't found yourself reachable yet or if you've
  26846. decided not to advertise your dirport yet. Addresses bug 556.
  26847. - If we've gone 12 hours since our last bandwidth check, and we
  26848. estimate we have less than 50KB bandwidth capacity but we could
  26849. handle more, do another bandwidth test.
  26850. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  26851. Tor can warn and/or refuse connections to ports commonly used with
  26852. vulnerable-plaintext protocols. Currently we warn on ports 23,
  26853. 109, 110, and 143, but we don't reject any.
  26854. o Minor bugfixes:
  26855. - When we setconf ClientOnly to 1, close any current OR and Dir
  26856. listeners. Reported by mwenge.
  26857. - When we get a consensus that's been signed by more people than
  26858. we expect, don't log about it; it's not a big deal. Reported
  26859. by Kyle Williams.
  26860. o Minor features:
  26861. - Don't answer "/tor/networkstatus-bridges" directory requests if
  26862. the request isn't encrypted.
  26863. - Make "ClientOnly 1" config option disable directory ports too.
  26864. - Patches from Karsten Loesing to make v2 hidden services more
  26865. robust: work even when there aren't enough HSDir relays available;
  26866. retry when a v2 rend desc fetch fails; but don't retry if we
  26867. already have a usable v0 rend desc.
  26868. Changes in version 0.2.0.17-alpha - 2008-01-17
  26869. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  26870. o Compile fixes:
  26871. - Make the tor-gencert man page get included correctly in the tarball.
  26872. Changes in version 0.2.0.16-alpha - 2008-01-17
  26873. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  26874. Loesing, and generally cleans up a lot of features and minor bugs.
  26875. o New directory authorities:
  26876. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  26877. authority.
  26878. o Major performance improvements:
  26879. - Switch our old ring buffer implementation for one more like that
  26880. used by free Unix kernels. The wasted space in a buffer with 1mb
  26881. of data will now be more like 8k than 1mb. The new implementation
  26882. also avoids realloc();realloc(); patterns that can contribute to
  26883. memory fragmentation.
  26884. o Minor features:
  26885. - Configuration files now accept C-style strings as values. This
  26886. helps encode characters not allowed in the current configuration
  26887. file format, such as newline or #. Addresses bug 557.
  26888. - Although we fixed bug 539 (where servers would send HTTP status 503
  26889. responses _and_ send a body too), there are still servers out
  26890. there that haven't upgraded. Therefore, make clients parse such
  26891. bodies when they receive them.
  26892. - When we're not serving v2 directory information, there is no reason
  26893. to actually keep any around. Remove the obsolete files and directory
  26894. on startup if they are very old and we aren't going to serve them.
  26895. o Minor performance improvements:
  26896. - Reference-count and share copies of address policy entries; only 5%
  26897. of them were actually distinct.
  26898. - Never walk through the list of logs if we know that no log is
  26899. interested in a given message.
  26900. o Minor bugfixes:
  26901. - When an authority has not signed a consensus, do not try to
  26902. download a nonexistent "certificate with key 00000000". Bugfix
  26903. on 0.2.0.x. Fixes bug 569.
  26904. - Fix a rare assert error when we're closing one of our threads:
  26905. use a mutex to protect the list of logs, so we never write to the
  26906. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  26907. bug 575, which is kind of the revenge of bug 222.
  26908. - Patch from Karsten Loesing to complain less at both the client
  26909. and the relay when a relay used to have the HSDir flag but doesn't
  26910. anymore, and we try to upload a hidden service descriptor.
  26911. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  26912. 0.2.0.15-alpha.
  26913. - Do not try to download missing certificates until we have tried
  26914. to check our fallback consensus. Fixes bug 583.
  26915. - Make bridges round reported GeoIP stats info up to the nearest
  26916. estimate, not down. Now we can distinguish between "0 people from
  26917. this country" and "1 person from this country".
  26918. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  26919. - Avoid possible segfault if key generation fails in
  26920. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  26921. - Avoid segfault in the case where a badly behaved v2 versioning
  26922. directory sends a signed networkstatus with missing client-versions.
  26923. Bugfix on 0.1.2.
  26924. - Avoid segfaults on certain complex invocations of
  26925. router_get_by_hexdigest(). Bugfix on 0.1.2.
  26926. - Correct bad index on array access in parse_http_time(). Bugfix
  26927. on 0.2.0.
  26928. - Fix possible bug in vote generation when server versions are present
  26929. but client versions are not.
  26930. - Fix rare bug on REDIRECTSTREAM control command when called with no
  26931. port set: it could erroneously report an error when none had
  26932. happened.
  26933. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  26934. compressing large objects and find ourselves with more than 4k
  26935. left over. Bugfix on 0.2.0.
  26936. - Fix a small memory leak when setting up a hidden service.
  26937. - Fix a few memory leaks that could in theory happen under bizarre
  26938. error conditions.
  26939. - Fix an assert if we post a general-purpose descriptor via the
  26940. control port but that descriptor isn't mentioned in our current
  26941. network consensus. Bug reported by Jon McLachlan; bugfix on
  26942. 0.2.0.9-alpha.
  26943. o Minor features (controller):
  26944. - Get NS events working again. Patch from tup.
  26945. - The GETCONF command now escapes and quotes configuration values
  26946. that don't otherwise fit into the torrc file.
  26947. - The SETCONF command now handles quoted values correctly.
  26948. o Minor features (directory authorities):
  26949. - New configuration options to override default maximum number of
  26950. servers allowed on a single IP address. This is important for
  26951. running a test network on a single host.
  26952. - Actually implement the -s option to tor-gencert.
  26953. - Add a manual page for tor-gencert.
  26954. o Minor features (bridges):
  26955. - Bridge authorities no longer serve bridge descriptors over
  26956. unencrypted connections.
  26957. o Minor features (other):
  26958. - Add hidden services and DNSPorts to the list of things that make
  26959. Tor accept that it has running ports. Change starting Tor with no
  26960. ports from a fatal error to a warning; we might change it back if
  26961. this turns out to confuse anybody. Fixes bug 579.
  26962. Changes in version 0.1.2.19 - 2008-01-17
  26963. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  26964. exit policy a little bit more conservative so it's safer to run an
  26965. exit relay on a home system, and fixes a variety of smaller issues.
  26966. o Security fixes:
  26967. - Exit policies now reject connections that are addressed to a
  26968. relay's public (external) IP address too, unless
  26969. ExitPolicyRejectPrivate is turned off. We do this because too
  26970. many relays are running nearby to services that trust them based
  26971. on network address.
  26972. o Major bugfixes:
  26973. - When the clock jumps forward a lot, do not allow the bandwidth
  26974. buckets to become negative. Fixes bug 544.
  26975. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  26976. on every successful resolve. Reported by Mike Perry.
  26977. - Purge old entries from the "rephist" database and the hidden
  26978. service descriptor database even when DirPort is zero.
  26979. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  26980. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  26981. crashing or mis-answering these requests.
  26982. - When we decide to send a 503 response to a request for servers, do
  26983. not then also send the server descriptors: this defeats the whole
  26984. purpose. Fixes bug 539.
  26985. o Minor bugfixes:
  26986. - Changing the ExitPolicyRejectPrivate setting should cause us to
  26987. rebuild our server descriptor.
  26988. - Fix handling of hex nicknames when answering controller requests for
  26989. networkstatus by name, or when deciding whether to warn about
  26990. unknown routers in a config option. (Patch from mwenge.)
  26991. - Fix a couple of hard-to-trigger autoconf problems that could result
  26992. in really weird results on platforms whose sys/types.h files define
  26993. nonstandard integer types.
  26994. - Don't try to create the datadir when running --verify-config or
  26995. --hash-password. Resolves bug 540.
  26996. - If we were having problems getting a particular descriptor from the
  26997. directory caches, and then we learned about a new descriptor for
  26998. that router, we weren't resetting our failure count. Reported
  26999. by lodger.
  27000. - Although we fixed bug 539 (where servers would send HTTP status 503
  27001. responses _and_ send a body too), there are still servers out there
  27002. that haven't upgraded. Therefore, make clients parse such bodies
  27003. when they receive them.
  27004. - Run correctly on systems where rlim_t is larger than unsigned long.
  27005. This includes some 64-bit systems.
  27006. - Run correctly on platforms (like some versions of OS X 10.5) where
  27007. the real limit for number of open files is OPEN_FILES, not rlim_max
  27008. from getrlimit(RLIMIT_NOFILES).
  27009. - Avoid a spurious free on base64 failure.
  27010. - Avoid segfaults on certain complex invocations of
  27011. router_get_by_hexdigest().
  27012. - Fix rare bug on REDIRECTSTREAM control command when called with no
  27013. port set: it could erroneously report an error when none had
  27014. happened.
  27015. Changes in version 0.2.0.15-alpha - 2007-12-25
  27016. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  27017. features added in 0.2.0.13-alpha.
  27018. o Major bugfixes:
  27019. - Fix several remotely triggerable asserts based on DirPort requests
  27020. for a v2 or v3 networkstatus object before we were prepared. This
  27021. was particularly bad for 0.2.0.13 and later bridge relays, who
  27022. would never have a v2 networkstatus and would thus always crash
  27023. when used. Bugfixes on 0.2.0.x.
  27024. - Estimate the v3 networkstatus size more accurately, rather than
  27025. estimating it at zero bytes and giving it artificially high priority
  27026. compared to other directory requests. Bugfix on 0.2.0.x.
  27027. o Minor bugfixes:
  27028. - Fix configure.in logic for cross-compilation.
  27029. - When we load a bridge descriptor from the cache, and it was
  27030. previously unreachable, mark it as retriable so we won't just
  27031. ignore it. Also, try fetching a new copy immediately. Bugfixes
  27032. on 0.2.0.13-alpha.
  27033. - The bridge GeoIP stats were counting other relays, for example
  27034. self-reachability and authority-reachability tests.
  27035. o Minor features:
  27036. - Support compilation to target iPhone; patch from cjacker huang.
  27037. To build for iPhone, pass the --enable-iphone option to configure.
  27038. Changes in version 0.2.0.14-alpha - 2007-12-23
  27039. o Major bugfixes:
  27040. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  27041. without a datadirectory from a previous Tor install. Reported
  27042. by Zax.
  27043. - Fix a crash when we fetch a descriptor that turns out to be
  27044. unexpected (it used to be in our networkstatus when we started
  27045. fetching it, but it isn't in our current networkstatus), and we
  27046. aren't using bridges. Bugfix on 0.2.0.x.
  27047. - Fix a crash when accessing hidden services: it would work the first
  27048. time you use a given introduction point for your service, but
  27049. on subsequent requests we'd be using garbage memory. Fixed by
  27050. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  27051. - Fix a crash when we load a bridge descriptor from disk but we don't
  27052. currently have a Bridge line for it in our torrc. Bugfix on
  27053. 0.2.0.13-alpha.
  27054. o Major features:
  27055. - If bridge authorities set BridgePassword, they will serve a
  27056. snapshot of known bridge routerstatuses from their DirPort to
  27057. anybody who knows that password. Unset by default.
  27058. o Minor bugfixes:
  27059. - Make the unit tests build again.
  27060. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  27061. - Make PublishServerDescriptor default to 1, so the default doesn't
  27062. have to change as we invent new directory protocol versions.
  27063. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  27064. be included unless sys/time.h is already included. Fixes
  27065. bug 553. Bugfix on 0.2.0.x.
  27066. - If we receive a general-purpose descriptor and then receive an
  27067. identical bridge-purpose descriptor soon after, don't discard
  27068. the next one as a duplicate.
  27069. o Minor features:
  27070. - If BridgeRelay is set to 1, then the default for
  27071. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  27072. - If the user sets RelayBandwidthRate but doesn't set
  27073. RelayBandwidthBurst, then make them equal rather than erroring out.
  27074. Changes in version 0.2.0.13-alpha - 2007-12-21
  27075. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  27076. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  27077. upcoming features.
  27078. o New directory authorities:
  27079. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  27080. authority.
  27081. o Major bugfixes:
  27082. - Only update guard status (usable / not usable) once we have
  27083. enough directory information. This was causing us to always pick
  27084. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  27085. causing us to discard all our guards on startup if we hadn't been
  27086. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  27087. - Purge old entries from the "rephist" database and the hidden
  27088. service descriptor databases even when DirPort is zero. Bugfix
  27089. on 0.1.2.x.
  27090. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  27091. after opening a circuit -- even a relayed circuit. Bugfix on
  27092. 0.2.0.3-alpha.
  27093. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  27094. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  27095. crashing or mis-answering these types of requests.
  27096. - Relays were publishing their server descriptor to v1 and v2
  27097. directory authorities, but they didn't try publishing to v3-only
  27098. authorities. Fix this; and also stop publishing to v1 authorities.
  27099. Bugfix on 0.2.0.x.
  27100. - When we were reading router descriptors from cache, we were ignoring
  27101. the annotations -- so for example we were reading in bridge-purpose
  27102. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  27103. - When we decided to send a 503 response to a request for servers, we
  27104. were then also sending the server descriptors: this defeats the
  27105. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  27106. o Major features:
  27107. - Bridge relays now behave like clients with respect to time
  27108. intervals for downloading new consensus documents -- otherwise they
  27109. stand out. Bridge users now wait until the end of the interval,
  27110. so their bridge relay will be sure to have a new consensus document.
  27111. - Three new config options (AlternateDirAuthority,
  27112. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  27113. user selectively replace the default directory authorities by type,
  27114. rather than the all-or-nothing replacement that DirServer offers.
  27115. - Tor can now be configured to read a GeoIP file from disk in one
  27116. of two formats. This can be used by controllers to map IP addresses
  27117. to countries. Eventually, it may support exit-by-country.
  27118. - When possible, bridge relays remember which countries users
  27119. are coming from, and report aggregate information in their
  27120. extra-info documents, so that the bridge authorities can learn
  27121. where Tor is blocked.
  27122. - Bridge directory authorities now do reachability testing on the
  27123. bridges they know. They provide router status summaries to the
  27124. controller via "getinfo ns/purpose/bridge", and also dump summaries
  27125. to a file periodically.
  27126. - Stop fetching directory info so aggressively if your DirPort is
  27127. on but your ORPort is off; stop fetching v2 dir info entirely.
  27128. You can override these choices with the new FetchDirInfoEarly
  27129. config option.
  27130. o Minor bugfixes:
  27131. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  27132. consensus documents when there are too many relays at a single
  27133. IP address. Now clear it in v2 network status documents too, and
  27134. also clear it in routerinfo_t when the relay is no longer listed
  27135. in the relevant networkstatus document.
  27136. - Don't crash if we get an unexpected value for the
  27137. PublishServerDescriptor config option. Reported by Matt Edman;
  27138. bugfix on 0.2.0.9-alpha.
  27139. - Our new v2 hidden service descriptor format allows descriptors
  27140. that have no introduction points. But Tor crashed when we tried
  27141. to build a descriptor with no intro points (and it would have
  27142. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  27143. by Karsten Loesing.
  27144. - Fix building with dmalloc 5.5.2 with glibc.
  27145. - Reject uploaded descriptors and extrainfo documents if they're
  27146. huge. Otherwise we'll cache them all over the network and it'll
  27147. clog everything up. Reported by Aljosha Judmayer.
  27148. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  27149. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  27150. - When the DANGEROUS_VERSION controller status event told us we're
  27151. running an obsolete version, it used the string "OLD" to describe
  27152. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  27153. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  27154. - If we can't expand our list of entry guards (e.g. because we're
  27155. using bridges or we have StrictEntryNodes set), don't mark relays
  27156. down when they fail a directory request. Otherwise we're too quick
  27157. to mark all our entry points down. Bugfix on 0.1.2.x.
  27158. - Fix handling of hex nicknames when answering controller requests for
  27159. networkstatus by name, or when deciding whether to warn about unknown
  27160. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  27161. - Fix a couple of hard-to-trigger autoconf problems that could result
  27162. in really weird results on platforms whose sys/types.h files define
  27163. nonstandard integer types. Bugfix on 0.1.2.x.
  27164. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  27165. - Don't crash on name lookup when we have no current consensus. Fixes
  27166. bug 538; bugfix on 0.2.0.x.
  27167. - Only Tors that want to mirror the v2 directory info should
  27168. create the "cached-status" directory in their datadir. (All Tors
  27169. used to create it.) Bugfix on 0.2.0.9-alpha.
  27170. - Directory authorities should only automatically download Extra Info
  27171. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  27172. o Minor features:
  27173. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  27174. consumers. (We already do this on HUP.)
  27175. - Authorities and caches fetch the v2 networkstatus documents
  27176. less often, now that v3 is encouraged.
  27177. - Add a new config option BridgeRelay that specifies you want to
  27178. be a bridge relay. Right now the only difference is that it makes
  27179. you answer begin_dir requests, and it makes you cache dir info,
  27180. even if your DirPort isn't on.
  27181. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  27182. ask about source, timestamp of arrival, purpose, etc. We need
  27183. something like this to help Vidalia not do GeoIP lookups on bridge
  27184. addresses.
  27185. - Allow multiple HashedControlPassword config lines, to support
  27186. multiple controller passwords.
  27187. - Authorities now decide whether they're authoritative for a given
  27188. router based on the router's purpose.
  27189. - New config options AuthDirBadDir and AuthDirListBadDirs for
  27190. authorities to mark certain relays as "bad directories" in the
  27191. networkstatus documents. Also supports the "!baddir" directive in
  27192. the approved-routers file.
  27193. Changes in version 0.2.0.12-alpha - 2007-11-16
  27194. This twelfth development snapshot fixes some more build problems as
  27195. well as a few minor bugs.
  27196. o Compile fixes:
  27197. - Make it build on OpenBSD again. Patch from tup.
  27198. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  27199. package-building for Red Hat, OS X, etc.
  27200. o Minor bugfixes (on 0.1.2.x):
  27201. - Changing the ExitPolicyRejectPrivate setting should cause us to
  27202. rebuild our server descriptor.
  27203. o Minor bugfixes (on 0.2.0.x):
  27204. - When we're lacking a consensus, don't try to perform rendezvous
  27205. operations. Reported by Karsten Loesing.
  27206. - Fix a small memory leak whenever we decide against using a
  27207. newly picked entry guard. Reported by Mike Perry.
  27208. - When authorities detected more than two relays running on the same
  27209. IP address, they were clearing all the status flags but forgetting
  27210. to clear the "hsdir" flag. So clients were being told that a
  27211. given relay was the right choice for a v2 hsdir lookup, yet they
  27212. never had its descriptor because it was marked as 'not running'
  27213. in the consensus.
  27214. - If we're trying to fetch a bridge descriptor and there's no way
  27215. the bridge authority could help us (for example, we don't know
  27216. a digest, or there is no bridge authority), don't be so eager to
  27217. fall back to asking the bridge authority.
  27218. - If we're using bridges or have strictentrynodes set, and our
  27219. chosen exit is in the same family as all our bridges/entry guards,
  27220. then be flexible about families.
  27221. o Minor features:
  27222. - When we negotiate a v2 link-layer connection (not yet implemented),
  27223. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  27224. negotiated a v1 connection for their next step. Initial code for
  27225. proposal 110.
  27226. Changes in version 0.2.0.11-alpha - 2007-11-12
  27227. This eleventh development snapshot fixes some build problems with
  27228. the previous snapshot. It also includes a more secure-by-default exit
  27229. policy for relays, fixes an enormous memory leak for exit relays, and
  27230. fixes another bug where servers were falling out of the directory list.
  27231. o Security fixes:
  27232. - Exit policies now reject connections that are addressed to a
  27233. relay's public (external) IP address too, unless
  27234. ExitPolicyRejectPrivate is turned off. We do this because too
  27235. many relays are running nearby to services that trust them based
  27236. on network address. Bugfix on 0.1.2.x.
  27237. o Major bugfixes:
  27238. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  27239. on every successful resolve. Reported by Mike Perry; bugfix
  27240. on 0.1.2.x.
  27241. - On authorities, never downgrade to old router descriptors simply
  27242. because they're listed in the consensus. This created a catch-22
  27243. where we wouldn't list a new descriptor because there was an
  27244. old one in the consensus, and we couldn't get the new one in the
  27245. consensus because we wouldn't list it. Possible fix for bug 548.
  27246. Also, this might cause bug 543 to appear on authorities; if so,
  27247. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  27248. o Packaging fixes on 0.2.0.10-alpha:
  27249. - We were including instructions about what to do with the
  27250. src/config/fallback-consensus file, but we weren't actually
  27251. including it in the tarball. Disable all of that for now.
  27252. o Minor features:
  27253. - Allow people to say PreferTunnelledDirConns rather than
  27254. PreferTunneledDirConns, for those alternate-spellers out there.
  27255. o Minor bugfixes:
  27256. - Don't reevaluate all the information from our consensus document
  27257. just because we've downloaded a v2 networkstatus that we intend
  27258. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  27259. Changes in version 0.2.0.10-alpha - 2007-11-10
  27260. This tenth development snapshot adds a third v3 directory authority
  27261. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  27262. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  27263. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  27264. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  27265. addresses many more minor issues.
  27266. o New directory authorities:
  27267. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  27268. o Major features:
  27269. - Allow tunnelled directory connections to ask for an encrypted
  27270. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  27271. connection independently. Now we can make anonymized begin_dir
  27272. connections for (e.g.) more secure hidden service posting and
  27273. fetching.
  27274. - More progress on proposal 114: code from Karsten Loesing to
  27275. implement new hidden service descriptor format.
  27276. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  27277. accommodate the growing number of servers that use the default
  27278. and are reaching it.
  27279. - Directory authorities use a new formula for selecting which nodes
  27280. to advertise as Guards: they must be in the top 7/8 in terms of
  27281. how long we have known about them, and above the median of those
  27282. nodes in terms of weighted fractional uptime.
  27283. - Make "not enough dir info yet" warnings describe *why* Tor feels
  27284. it doesn't have enough directory info yet.
  27285. o Major bugfixes:
  27286. - Stop servers from crashing if they set a Family option (or
  27287. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  27288. by Fabian Keil.
  27289. - Make bridge users work again -- the move to v3 directories in
  27290. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  27291. no longer work for clients.
  27292. - When the clock jumps forward a lot, do not allow the bandwidth
  27293. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  27294. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  27295. - When the consensus lists a router descriptor that we previously were
  27296. mirroring, but that we considered non-canonical, reload the
  27297. descriptor as canonical. This fixes bug 543 where Tor servers
  27298. would start complaining after a few days that they don't have
  27299. enough directory information to build a circuit.
  27300. - Consider replacing the current consensus when certificates arrive
  27301. that make the pending consensus valid. Previously, we were only
  27302. considering replacement when the new certs _didn't_ help.
  27303. - Fix an assert error on startup if we didn't already have the
  27304. consensus and certs cached in our datadirectory: we were caching
  27305. the consensus in consensus_waiting_for_certs but then free'ing it
  27306. right after.
  27307. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  27308. Request) if we need more v3 certs but we've already got pending
  27309. requests for all of them.
  27310. - Correctly back off from failing certificate downloads. Fixes
  27311. bug 546.
  27312. - Authorities don't vote on the Running flag if they have been running
  27313. for less than 30 minutes themselves. Fixes bug 547, where a newly
  27314. started authority would vote that everyone was down.
  27315. o New requirements:
  27316. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  27317. it, it had no AES, and it hasn't seen any security patches since
  27318. 2004.
  27319. o Minor features:
  27320. - Clients now hold circuitless TLS connections open for 1.5 times
  27321. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  27322. rebuild a new circuit over them within that timeframe. Previously,
  27323. they held them open only for KeepalivePeriod (5 minutes).
  27324. - Use "If-Modified-Since" to avoid retrieving consensus
  27325. networkstatuses that we already have.
  27326. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  27327. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  27328. we start knowing some directory caches.
  27329. - When we receive a consensus from the future, warn about skew.
  27330. - Improve skew reporting: try to give the user a better log message
  27331. about how skewed they are, and how much this matters.
  27332. - When we have a certificate for an authority, believe that
  27333. certificate's claims about the authority's IP address.
  27334. - New --quiet command-line option to suppress the default console log.
  27335. Good in combination with --hash-password.
  27336. - Authorities send back an X-Descriptor-Not-New header in response to
  27337. an accepted-but-discarded descriptor upload. Partially implements
  27338. fix for bug 535.
  27339. - Make the log message for "tls error. breaking." more useful.
  27340. - Better log messages about certificate downloads, to attempt to
  27341. track down the second incarnation of bug 546.
  27342. o Minor features (bridges):
  27343. - If bridge users set UpdateBridgesFromAuthority, but the digest
  27344. they ask for is a 404 from the bridge authority, they now fall
  27345. back to trying the bridge directly.
  27346. - Bridges now use begin_dir to publish their server descriptor to
  27347. the bridge authority, even when they haven't set TunnelDirConns.
  27348. o Minor features (controller):
  27349. - When reporting clock skew, and we know that the clock is _at least
  27350. as skewed_ as some value, but we don't know the actual value,
  27351. report the value as a "minimum skew."
  27352. o Utilities:
  27353. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  27354. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  27355. Perry.
  27356. o Minor bugfixes:
  27357. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  27358. on 0.2.0.x, suggested by Matt Edman.
  27359. - Don't stop fetching descriptors when FetchUselessDescriptors is
  27360. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  27361. reported by tup and ioerror.
  27362. - Better log message on vote from unknown authority.
  27363. - Don't log "Launching 0 request for 0 router" message.
  27364. o Minor bugfixes (memory leaks):
  27365. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  27366. on 0.2.0.1-alpha.
  27367. - Stop leaking memory every time we load a v3 certificate. Bugfix
  27368. on 0.2.0.1-alpha. Fixes bug 536.
  27369. - Stop leaking a cached networkstatus on exit. Bugfix on
  27370. 0.2.0.3-alpha.
  27371. - Stop leaking voter information every time we free a consensus.
  27372. Bugfix on 0.2.0.3-alpha.
  27373. - Stop leaking signed data every time we check a voter signature.
  27374. Bugfix on 0.2.0.3-alpha.
  27375. - Stop leaking a signature every time we fail to parse a consensus or
  27376. a vote. Bugfix on 0.2.0.3-alpha.
  27377. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  27378. 0.2.0.9-alpha.
  27379. - Stop leaking conn->nickname every time we make a connection to a
  27380. Tor relay without knowing its expected identity digest (e.g. when
  27381. using bridges). Bugfix on 0.2.0.3-alpha.
  27382. - Minor bugfixes (portability):
  27383. - Run correctly on platforms where rlim_t is larger than unsigned
  27384. long, and/or where the real limit for number of open files is
  27385. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  27386. particular, these may be needed for OS X 10.5.
  27387. Changes in version 0.1.2.18 - 2007-10-28
  27388. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  27389. hidden service introduction that were causing huge delays, and a big
  27390. bug that was causing some servers to disappear from the network status
  27391. lists for a few hours each day.
  27392. o Major bugfixes (crashes):
  27393. - If a connection is shut down abruptly because of something that
  27394. happened inside connection_flushed_some(), do not call
  27395. connection_finished_flushing(). Should fix bug 451:
  27396. "connection_stop_writing: Assertion conn->write_event failed"
  27397. Bugfix on 0.1.2.7-alpha.
  27398. - Fix possible segfaults in functions called from
  27399. rend_process_relay_cell().
  27400. o Major bugfixes (hidden services):
  27401. - Hidden services were choosing introduction points uniquely by
  27402. hexdigest, but when constructing the hidden service descriptor
  27403. they merely wrote the (potentially ambiguous) nickname.
  27404. - Clients now use the v2 intro format for hidden service
  27405. connections: they specify their chosen rendezvous point by identity
  27406. digest rather than by (potentially ambiguous) nickname. These
  27407. changes could speed up hidden service connections dramatically.
  27408. o Major bugfixes (other):
  27409. - Stop publishing a new server descriptor just because we get a
  27410. HUP signal. This led (in a roundabout way) to some servers getting
  27411. dropped from the networkstatus lists for a few hours each day.
  27412. - When looking for a circuit to cannibalize, consider family as well
  27413. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  27414. circuit cannibalization).
  27415. - When a router wasn't listed in a new networkstatus, we were leaving
  27416. the flags for that router alone -- meaning it remained Named,
  27417. Running, etc -- even though absence from the networkstatus means
  27418. that it shouldn't be considered to exist at all anymore. Now we
  27419. clear all the flags for routers that fall out of the networkstatus
  27420. consensus. Fixes bug 529.
  27421. o Minor bugfixes:
  27422. - Don't try to access (or alter) the state file when running
  27423. --list-fingerprint or --verify-config or --hash-password. Resolves
  27424. bug 499.
  27425. - When generating information telling us how to extend to a given
  27426. router, do not try to include the nickname if it is
  27427. absent. Resolves bug 467.
  27428. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  27429. a way to trigger this remotely.)
  27430. - When sending a status event to the controller telling it that an
  27431. OR address is reachable, set the port correctly. (Previously we
  27432. were reporting the dir port.)
  27433. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  27434. command. Bugfix on 0.1.2.17.
  27435. - When loading bandwidth history, do not believe any information in
  27436. the future. Fixes bug 434.
  27437. - When loading entry guard information, do not believe any information
  27438. in the future.
  27439. - When we have our clock set far in the future and generate an
  27440. onion key, then re-set our clock to be correct, we should not stop
  27441. the onion key from getting rotated.
  27442. - On some platforms, accept() can return a broken address. Detect
  27443. this more quietly, and deal accordingly. Fixes bug 483.
  27444. - It's not actually an error to find a non-pending entry in the DNS
  27445. cache when canceling a pending resolve. Don't log unless stuff
  27446. is fishy. Resolves bug 463.
  27447. - Don't reset trusted dir server list when we set a configuration
  27448. option. Patch from Robert Hogan.
  27449. - Don't try to create the datadir when running --verify-config or
  27450. --hash-password. Resolves bug 540.
  27451. Changes in version 0.2.0.9-alpha - 2007-10-24
  27452. This ninth development snapshot switches clients to the new v3 directory
  27453. system; allows servers to be listed in the network status even when they
  27454. have the same nickname as a registered server; and fixes many other
  27455. bugs including a big one that was causing some servers to disappear
  27456. from the network status lists for a few hours each day.
  27457. o Major features (directory system):
  27458. - Clients now download v3 consensus networkstatus documents instead
  27459. of v2 networkstatus documents. Clients and caches now base their
  27460. opinions about routers on these consensus documents. Clients only
  27461. download router descriptors listed in the consensus.
  27462. - Authorities now list servers who have the same nickname as
  27463. a different named server, but list them with a new flag,
  27464. "Unnamed". Now we can list servers that happen to pick the same
  27465. nickname as a server that registered two years ago and then
  27466. disappeared. Partially implements proposal 122.
  27467. - If the consensus lists a router as "Unnamed", the name is assigned
  27468. to a different router: do not identify the router by that name.
  27469. Partially implements proposal 122.
  27470. - Authorities can now come to a consensus on which method to use to
  27471. compute the consensus. This gives us forward compatibility.
  27472. o Major bugfixes:
  27473. - Stop publishing a new server descriptor just because we HUP or
  27474. when we find our DirPort to be reachable but won't actually publish
  27475. it. New descriptors without any real changes are dropped by the
  27476. authorities, and can screw up our "publish every 18 hours" schedule.
  27477. Bugfix on 0.1.2.x.
  27478. - When a router wasn't listed in a new networkstatus, we were leaving
  27479. the flags for that router alone -- meaning it remained Named,
  27480. Running, etc -- even though absence from the networkstatus means
  27481. that it shouldn't be considered to exist at all anymore. Now we
  27482. clear all the flags for routers that fall out of the networkstatus
  27483. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  27484. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  27485. extrainfo documents and then discard them immediately for not
  27486. matching the latest router. Bugfix on 0.2.0.1-alpha.
  27487. o Minor features (v3 directory protocol):
  27488. - Allow tor-gencert to generate a new certificate without replacing
  27489. the signing key.
  27490. - Allow certificates to include an address.
  27491. - When we change our directory-cache settings, reschedule all voting
  27492. and download operations.
  27493. - Reattempt certificate downloads immediately on failure, as long as
  27494. we haven't failed a threshold number of times yet.
  27495. - Delay retrying consensus downloads while we're downloading
  27496. certificates to verify the one we just got. Also, count getting a
  27497. consensus that we already have (or one that isn't valid) as a failure,
  27498. and count failing to get the certificates after 20 minutes as a
  27499. failure.
  27500. - Build circuits and download descriptors even if our consensus is a
  27501. little expired. (This feature will go away once authorities are
  27502. more reliable.)
  27503. o Minor features (router descriptor cache):
  27504. - If we find a cached-routers file that's been sitting around for more
  27505. than 28 days unmodified, then most likely it's a leftover from
  27506. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  27507. routers anyway.
  27508. - When we (as a cache) download a descriptor because it was listed
  27509. in a consensus, remember when the consensus was supposed to expire,
  27510. and don't expire the descriptor until then.
  27511. o Minor features (performance):
  27512. - Call routerlist_remove_old_routers() much less often. This should
  27513. speed startup, especially on directory caches.
  27514. - Don't try to launch new descriptor downloads quite so often when we
  27515. already have enough directory information to build circuits.
  27516. - Base64 decoding was actually showing up on our profile when parsing
  27517. the initial descriptor file; switch to an in-process all-at-once
  27518. implementation that's about 3.5x times faster than calling out to
  27519. OpenSSL.
  27520. o Minor features (compilation):
  27521. - Detect non-ASCII platforms (if any still exist) and refuse to
  27522. build there: some of our code assumes that 'A' is 65 and so on.
  27523. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  27524. - Make the "next period" votes into "current period" votes immediately
  27525. after publishing the consensus; avoid a heisenbug that made them
  27526. stick around indefinitely.
  27527. - When we discard a vote as a duplicate, do not report this as
  27528. an error.
  27529. - Treat missing v3 keys or certificates as an error when running as a
  27530. v3 directory authority.
  27531. - When we're configured to be a v3 authority, but we're only listed
  27532. as a non-v3 authority in our DirServer line for ourself, correct
  27533. the listing.
  27534. - If an authority doesn't have a qualified hostname, just put
  27535. its address in the vote. This fixes the problem where we referred to
  27536. "moria on moria:9031."
  27537. - Distinguish between detached signatures for the wrong period, and
  27538. detached signatures for a divergent vote.
  27539. - Fix a small memory leak when computing a consensus.
  27540. - When there's no consensus, we were forming a vote every 30
  27541. minutes, but writing the "valid-after" line in our vote based
  27542. on our configured V3AuthVotingInterval: so unless the intervals
  27543. matched up, we immediately rejected our own vote because it didn't
  27544. start at the voting interval that caused us to construct a vote.
  27545. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  27546. - Delete unverified-consensus when the real consensus is set.
  27547. - Consider retrying a consensus networkstatus fetch immediately
  27548. after one fails: don't wait 60 seconds to notice.
  27549. - When fetching a consensus as a cache, wait until a newer consensus
  27550. should exist before trying to replace the current one.
  27551. - Use a more forgiving schedule for retrying failed consensus
  27552. downloads than for other types.
  27553. o Minor bugfixes (other directory issues):
  27554. - Correct the implementation of "download votes by digest." Bugfix on
  27555. 0.2.0.8-alpha.
  27556. - Authorities no longer send back "400 you're unreachable please fix
  27557. it" errors to Tor servers that aren't online all the time. We're
  27558. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  27559. o Minor bugfixes (controller):
  27560. - Don't reset trusted dir server list when we set a configuration
  27561. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  27562. - Respond to INT and TERM SIGNAL commands before we execute the
  27563. signal, in case the signal shuts us down. We had a patch in
  27564. 0.1.2.1-alpha that tried to do this by queueing the response on
  27565. the connection's buffer before shutting down, but that really
  27566. isn't the same thing at all. Bug located by Matt Edman.
  27567. o Minor bugfixes (misc):
  27568. - Correctly check for bad options to the "PublishServerDescriptor"
  27569. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  27570. - Stop leaking memory on failing case of base32_decode, and make
  27571. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  27572. - Don't try to download extrainfo documents when we're trying to
  27573. fetch enough directory info to build a circuit: having enough
  27574. info should get priority. Bugfix on 0.2.0.x.
  27575. - Don't complain that "your server has not managed to confirm that its
  27576. ports are reachable" if we haven't been able to build any circuits
  27577. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  27578. on 0.1.2.x.
  27579. - Detect the reason for failing to mmap a descriptor file we just
  27580. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  27581. on 0.1.2.x.
  27582. o Code simplifications and refactoring:
  27583. - Remove support for the old bw_accounting file: we've been storing
  27584. bandwidth accounting information in the state file since
  27585. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  27586. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  27587. downgrade to 0.1.1.x or earlier.
  27588. - New convenience code to locate a file within the DataDirectory.
  27589. - Move non-authority functionality out of dirvote.c.
  27590. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  27591. so that they all take the same named flags.
  27592. o Utilities
  27593. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  27594. Unix users an easy way to script their Tor process (e.g. by
  27595. adjusting bandwidth based on the time of the day).
  27596. Changes in version 0.2.0.8-alpha - 2007-10-12
  27597. This eighth development snapshot fixes a crash bug that's been bothering
  27598. us since February 2007, lets bridge authorities store a list of bridge
  27599. descriptors they've seen, gets v3 directory voting closer to working,
  27600. starts caching v3 directory consensus documents on directory mirrors,
  27601. and fixes a variety of smaller issues including some minor memory leaks.
  27602. o Major features (router descriptor cache):
  27603. - Store routers in a file called cached-descriptors instead of in
  27604. cached-routers. Initialize cached-descriptors from cached-routers
  27605. if the old format is around. The new format allows us to store
  27606. annotations along with descriptors.
  27607. - Use annotations to record the time we received each descriptor, its
  27608. source, and its purpose.
  27609. - Disable the SETROUTERPURPOSE controller command: it is now
  27610. obsolete.
  27611. - Controllers should now specify cache=no or cache=yes when using
  27612. the +POSTDESCRIPTOR command.
  27613. - Bridge authorities now write bridge descriptors to disk, meaning
  27614. we can export them to other programs and begin distributing them
  27615. to blocked users.
  27616. o Major features (directory authorities):
  27617. - When a v3 authority is missing votes or signatures, it now tries
  27618. to fetch them.
  27619. - Directory authorities track weighted fractional uptime as well as
  27620. weighted mean-time-between failures. WFU is suitable for deciding
  27621. whether a node is "usually up", while MTBF is suitable for deciding
  27622. whether a node is "likely to stay up." We need both, because
  27623. "usually up" is a good requirement for guards, while "likely to
  27624. stay up" is a good requirement for long-lived connections.
  27625. o Major features (v3 directory system):
  27626. - Caches now download v3 network status documents as needed,
  27627. and download the descriptors listed in them.
  27628. - All hosts now attempt to download and keep fresh v3 authority
  27629. certificates, and re-attempt after failures.
  27630. - More internal-consistency checks for vote parsing.
  27631. o Major bugfixes (crashes):
  27632. - If a connection is shut down abruptly because of something that
  27633. happened inside connection_flushed_some(), do not call
  27634. connection_finished_flushing(). Should fix bug 451. Bugfix on
  27635. 0.1.2.7-alpha.
  27636. o Major bugfixes (performance):
  27637. - Fix really bad O(n^2) performance when parsing a long list of
  27638. routers: Instead of searching the entire list for an "extra-info "
  27639. string which usually wasn't there, once for every routerinfo
  27640. we read, just scan lines forward until we find one we like.
  27641. Bugfix on 0.2.0.1.
  27642. - When we add data to a write buffer in response to the data on that
  27643. write buffer getting low because of a flush, do not consider the
  27644. newly added data as a candidate for immediate flushing, but rather
  27645. make it wait until the next round of writing. Otherwise, we flush
  27646. and refill recursively, and a single greedy TLS connection can
  27647. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  27648. o Minor features (v3 authority system):
  27649. - Add more ways for tools to download the votes that lead to the
  27650. current consensus.
  27651. - Send a 503 when low on bandwidth and a vote, consensus, or
  27652. certificate is requested.
  27653. - If-modified-since is now implemented properly for all kinds of
  27654. certificate requests.
  27655. o Minor bugfixes (network statuses):
  27656. - Tweak the implementation of proposal 109 slightly: allow at most
  27657. two Tor servers on the same IP address, except if it's the location
  27658. of a directory authority, in which case allow five. Bugfix on
  27659. 0.2.0.3-alpha.
  27660. o Minor bugfixes (controller):
  27661. - When sending a status event to the controller telling it that an
  27662. OR address is reachable, set the port correctly. (Previously we
  27663. were reporting the dir port.) Bugfix on 0.1.2.x.
  27664. o Minor bugfixes (v3 directory system):
  27665. - Fix logic to look up a cert by its signing key digest. Bugfix on
  27666. 0.2.0.7-alpha.
  27667. - Only change the reply to a vote to "OK" if it's not already
  27668. set. This gets rid of annoying "400 OK" log messages, which may
  27669. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  27670. - When we get a valid consensus, recompute the voting schedule.
  27671. - Base the valid-after time of a vote on the consensus voting
  27672. schedule, not on our preferred schedule.
  27673. - Make the return values and messages from signature uploads and
  27674. downloads more sensible.
  27675. - Fix a memory leak when serving votes and consensus documents, and
  27676. another when serving certificates.
  27677. o Minor bugfixes (performance):
  27678. - Use a slightly simpler string hashing algorithm (copying Python's
  27679. instead of Java's) and optimize our digest hashing algorithm to take
  27680. advantage of 64-bit platforms and to remove some possibly-costly
  27681. voodoo.
  27682. - Fix a minor memory leak whenever we parse guards from our state
  27683. file. Bugfix on 0.2.0.7-alpha.
  27684. - Fix a minor memory leak whenever we write out a file. Bugfix on
  27685. 0.2.0.7-alpha.
  27686. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  27687. command. Bugfix on 0.2.0.5-alpha.
  27688. o Minor bugfixes (portability):
  27689. - On some platforms, accept() can return a broken address. Detect
  27690. this more quietly, and deal accordingly. Fixes bug 483.
  27691. - Stop calling tor_strlower() on uninitialized memory in some cases.
  27692. Bugfix in 0.2.0.7-alpha.
  27693. o Minor bugfixes (usability):
  27694. - Treat some 403 responses from directory servers as INFO rather than
  27695. WARN-severity events.
  27696. - It's not actually an error to find a non-pending entry in the DNS
  27697. cache when canceling a pending resolve. Don't log unless stuff is
  27698. fishy. Resolves bug 463.
  27699. o Minor bugfixes (anonymity):
  27700. - Never report that we've used more bandwidth than we're willing to
  27701. relay: it leaks how much non-relay traffic we're using. Resolves
  27702. bug 516.
  27703. - When looking for a circuit to cannibalize, consider family as well
  27704. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  27705. circuit cannibalization).
  27706. o Code simplifications and refactoring:
  27707. - Make a bunch of functions static. Remove some dead code.
  27708. - Pull out about a third of the really big routerlist.c; put it in a
  27709. new module, networkstatus.c.
  27710. - Merge the extra fields in local_routerstatus_t back into
  27711. routerstatus_t: we used to need one routerstatus_t for each
  27712. authority's opinion, plus a local_routerstatus_t for the locally
  27713. computed consensus opinion. To save space, we put the locally
  27714. modified fields into local_routerstatus_t, and only the common
  27715. stuff into routerstatus_t. But once v3 directories are in use,
  27716. clients and caches will no longer need to hold authority opinions;
  27717. thus, the rationale for keeping the types separate is now gone.
  27718. - Make the code used to reschedule and reattempt downloads more
  27719. uniform.
  27720. - Turn all 'Are we a directory server/mirror?' logic into a call to
  27721. dirserver_mode().
  27722. - Remove the code to generate the oldest (v1) directory format.
  27723. The code has been disabled since 0.2.0.5-alpha.
  27724. Changes in version 0.2.0.7-alpha - 2007-09-21
  27725. This seventh development snapshot makes bridges work again, makes bridge
  27726. authorities work for the first time, fixes two huge performance flaws
  27727. in hidden services, and fixes a variety of minor issues.
  27728. o New directory authorities:
  27729. - Set up moria1 and tor26 as the first v3 directory authorities. See
  27730. doc/spec/dir-spec.txt for details on the new directory design.
  27731. o Major bugfixes (crashes):
  27732. - Fix possible segfaults in functions called from
  27733. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  27734. o Major bugfixes (bridges):
  27735. - Fix a bug that made servers send a "404 Not found" in response to
  27736. attempts to fetch their server descriptor. This caused Tor servers
  27737. to take many minutes to establish reachability for their DirPort,
  27738. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  27739. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  27740. users configure that and specify a bridge with an identity
  27741. fingerprint, now they will lookup the bridge descriptor at the
  27742. default bridge authority via a one-hop tunnel, but once circuits
  27743. are established they will switch to a three-hop tunnel for later
  27744. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  27745. o Major bugfixes (hidden services):
  27746. - Hidden services were choosing introduction points uniquely by
  27747. hexdigest, but when constructing the hidden service descriptor
  27748. they merely wrote the (potentially ambiguous) nickname.
  27749. - Clients now use the v2 intro format for hidden service
  27750. connections: they specify their chosen rendezvous point by identity
  27751. digest rather than by (potentially ambiguous) nickname. Both
  27752. are bugfixes on 0.1.2.x, and they could speed up hidden service
  27753. connections dramatically. Thanks to Karsten Loesing.
  27754. o Minor features (security):
  27755. - As a client, do not believe any server that tells us that an
  27756. address maps to an internal address space.
  27757. - Make it possible to enable HashedControlPassword and
  27758. CookieAuthentication at the same time.
  27759. o Minor features (guard nodes):
  27760. - Tag every guard node in our state file with the version that
  27761. we believe added it, or with our own version if we add it. This way,
  27762. if a user temporarily runs an old version of Tor and then switches
  27763. back to a new one, she doesn't automatically lose her guards.
  27764. o Minor features (speed):
  27765. - When implementing AES counter mode, update only the portions of the
  27766. counter buffer that need to change, and don't keep separate
  27767. network-order and host-order counters when they are the same (i.e.,
  27768. on big-endian hosts.)
  27769. o Minor features (controller):
  27770. - Accept LF instead of CRLF on controller, since some software has a
  27771. hard time generating real Internet newlines.
  27772. - Add GETINFO values for the server status events
  27773. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  27774. Robert Hogan.
  27775. o Removed features:
  27776. - Routers no longer include bandwidth-history lines in their
  27777. descriptors; this information is already available in extra-info
  27778. documents, and including it in router descriptors took up 60%
  27779. (!) of compressed router descriptor downloads. Completes
  27780. implementation of proposal 104.
  27781. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  27782. and TorControl.py, as they use the old v0 controller protocol,
  27783. and are obsoleted by TorFlow anyway.
  27784. - Drop support for v1 rendezvous descriptors, since we never used
  27785. them anyway, and the code has probably rotted by now. Based on
  27786. patch from Karsten Loesing.
  27787. - On OSX, stop warning the user that kqueue support in libevent is
  27788. "experimental", since it seems to have worked fine for ages.
  27789. o Minor bugfixes:
  27790. - When generating information telling us how to extend to a given
  27791. router, do not try to include the nickname if it is absent. Fixes
  27792. bug 467. Bugfix on 0.2.0.3-alpha.
  27793. - Fix a user-triggerable (but not remotely-triggerable) segfault
  27794. in expand_filename(). Bugfix on 0.1.2.x.
  27795. - Fix a memory leak when freeing incomplete requests from DNSPort.
  27796. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  27797. - Don't try to access (or alter) the state file when running
  27798. --list-fingerprint or --verify-config or --hash-password. (Resolves
  27799. bug 499.) Bugfix on 0.1.2.x.
  27800. - Servers used to decline to publish their DirPort if their
  27801. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  27802. were below a threshold. Now they only look at BandwidthRate and
  27803. RelayBandwidthRate. Bugfix on 0.1.2.x.
  27804. - Remove an optimization in the AES counter-mode code that assumed
  27805. that the counter never exceeded 2^68. When the counter can be set
  27806. arbitrarily as an IV (as it is by Karsten's new hidden services
  27807. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  27808. - Resume listing "AUTHORITY" flag for authorities in network status.
  27809. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  27810. o Code simplifications and refactoring:
  27811. - Revamp file-writing logic so we don't need to have the entire
  27812. contents of a file in memory at once before we write to disk. Tor,
  27813. meet stdio.
  27814. - Turn "descriptor store" into a full-fledged type.
  27815. - Move all NT services code into a separate source file.
  27816. - Unify all code that computes medians, percentile elements, etc.
  27817. - Get rid of a needless malloc when parsing address policies.
  27818. Changes in version 0.1.2.17 - 2007-08-30
  27819. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  27820. X bundles. Vidalia 0.0.14 makes authentication required for the
  27821. ControlPort in the default configuration, which addresses important
  27822. security risks. Everybody who uses Vidalia (or another controller)
  27823. should upgrade.
  27824. In addition, this Tor update fixes major load balancing problems with
  27825. path selection, which should speed things up a lot once many people
  27826. have upgraded.
  27827. o Major bugfixes (security):
  27828. - We removed support for the old (v0) control protocol. It has been
  27829. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  27830. become more of a headache than it's worth.
  27831. o Major bugfixes (load balancing):
  27832. - When choosing nodes for non-guard positions, weight guards
  27833. proportionally less, since they already have enough load. Patch
  27834. from Mike Perry.
  27835. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  27836. will allow fast Tor servers to get more attention.
  27837. - When we're upgrading from an old Tor version, forget our current
  27838. guards and pick new ones according to the new weightings. These
  27839. three load balancing patches could raise effective network capacity
  27840. by a factor of four. Thanks to Mike Perry for measurements.
  27841. o Major bugfixes (stream expiration):
  27842. - Expire not-yet-successful application streams in all cases if
  27843. they've been around longer than SocksTimeout. Right now there are
  27844. some cases where the stream will live forever, demanding a new
  27845. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  27846. o Minor features (controller):
  27847. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  27848. is valid before any authentication has been received. It tells
  27849. a controller what kind of authentication is expected, and what
  27850. protocol is spoken. Implements proposal 119.
  27851. o Minor bugfixes (performance):
  27852. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  27853. greatly speeding up loading cached-routers from disk on startup.
  27854. - Disable sentinel-based debugging for buffer code: we squashed all
  27855. the bugs that this was supposed to detect a long time ago, and now
  27856. its only effect is to change our buffer sizes from nice powers of
  27857. two (which platform mallocs tend to like) to values slightly over
  27858. powers of two (which make some platform mallocs sad).
  27859. o Minor bugfixes (misc):
  27860. - If exit bandwidth ever exceeds one third of total bandwidth, then
  27861. use the correct formula to weight exit nodes when choosing paths.
  27862. Based on patch from Mike Perry.
  27863. - Choose perfectly fairly among routers when choosing by bandwidth and
  27864. weighting by fraction of bandwidth provided by exits. Previously, we
  27865. would choose with only approximate fairness, and correct ourselves
  27866. if we ran off the end of the list.
  27867. - If we require CookieAuthentication but we fail to write the
  27868. cookie file, we would warn but not exit, and end up in a state
  27869. where no controller could authenticate. Now we exit.
  27870. - If we require CookieAuthentication, stop generating a new cookie
  27871. every time we change any piece of our config.
  27872. - Refuse to start with certain directory authority keys, and
  27873. encourage people using them to stop.
  27874. - Terminate multi-line control events properly. Original patch
  27875. from tup.
  27876. - Fix a minor memory leak when we fail to find enough suitable
  27877. servers to choose a circuit.
  27878. - Stop leaking part of the descriptor when we run into a particularly
  27879. unparseable piece of it.
  27880. Changes in version 0.2.0.6-alpha - 2007-08-26
  27881. This sixth development snapshot features a new Vidalia version in the
  27882. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  27883. the ControlPort in the default configuration, which addresses important
  27884. security risks.
  27885. In addition, this snapshot fixes major load balancing problems
  27886. with path selection, which should speed things up a lot once many
  27887. people have upgraded. The directory authorities also use a new
  27888. mean-time-between-failure approach to tracking which servers are stable,
  27889. rather than just looking at the most recent uptime.
  27890. o New directory authorities:
  27891. - Set up Tonga as the default bridge directory authority.
  27892. o Major features:
  27893. - Directory authorities now track servers by weighted
  27894. mean-times-between-failures. When we have 4 or more days of data,
  27895. use measured MTBF rather than declared uptime to decide whether
  27896. to call a router Stable. Implements proposal 108.
  27897. o Major bugfixes (load balancing):
  27898. - When choosing nodes for non-guard positions, weight guards
  27899. proportionally less, since they already have enough load. Patch
  27900. from Mike Perry.
  27901. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  27902. will allow fast Tor servers to get more attention.
  27903. - When we're upgrading from an old Tor version, forget our current
  27904. guards and pick new ones according to the new weightings. These
  27905. three load balancing patches could raise effective network capacity
  27906. by a factor of four. Thanks to Mike Perry for measurements.
  27907. o Major bugfixes (descriptor parsing):
  27908. - Handle unexpected whitespace better in malformed descriptors. Bug
  27909. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  27910. o Minor features:
  27911. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  27912. GETINFO for Torstat to use until it can switch to using extrainfos.
  27913. - Optionally (if built with -DEXPORTMALLINFO) export the output
  27914. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  27915. from localhost.
  27916. o Minor bugfixes:
  27917. - Do not intermix bridge routers with controller-added
  27918. routers. (Bugfix on 0.2.0.x)
  27919. - Do not fail with an assert when accept() returns an unexpected
  27920. address family. Addresses but does not wholly fix bug 483. (Bugfix
  27921. on 0.2.0.x)
  27922. - Let directory authorities startup even when they can't generate
  27923. a descriptor immediately, e.g. because they don't know their
  27924. address.
  27925. - Stop putting the authentication cookie in a file called "0"
  27926. in your working directory if you don't specify anything for the
  27927. new CookieAuthFile option. Reported by Matt Edman.
  27928. - Make it possible to read the PROTOCOLINFO response in a way that
  27929. conforms to our control-spec. Reported by Matt Edman.
  27930. - Fix a minor memory leak when we fail to find enough suitable
  27931. servers to choose a circuit. Bugfix on 0.1.2.x.
  27932. - Stop leaking part of the descriptor when we run into a particularly
  27933. unparseable piece of it. Bugfix on 0.1.2.x.
  27934. - Unmap the extrainfo cache file on exit.
  27935. Changes in version 0.2.0.5-alpha - 2007-08-19
  27936. This fifth development snapshot fixes compilation on Windows again;
  27937. fixes an obnoxious client-side bug that slowed things down and put
  27938. extra load on the network; gets us closer to using the v3 directory
  27939. voting scheme; makes it easier for Tor controllers to use cookie-based
  27940. authentication; and fixes a variety of other bugs.
  27941. o Removed features:
  27942. - Version 1 directories are no longer generated in full. Instead,
  27943. authorities generate and serve "stub" v1 directories that list
  27944. no servers. This will stop Tor versions 0.1.0.x and earlier from
  27945. working, but (for security reasons) nobody should be running those
  27946. versions anyway.
  27947. o Major bugfixes (compilation, 0.2.0.x):
  27948. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  27949. - Try to fix MSVC compilation: build correctly on platforms that do
  27950. not define s6_addr16 or s6_addr32.
  27951. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  27952. Zhou.
  27953. o Major bugfixes (stream expiration):
  27954. - Expire not-yet-successful application streams in all cases if
  27955. they've been around longer than SocksTimeout. Right now there are
  27956. some cases where the stream will live forever, demanding a new
  27957. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  27958. reported by lodger.
  27959. o Minor features (directory servers):
  27960. - When somebody requests a list of statuses or servers, and we have
  27961. none of those, return a 404 rather than an empty 200.
  27962. o Minor features (directory voting):
  27963. - Store v3 consensus status consensuses on disk, and reload them
  27964. on startup.
  27965. o Minor features (security):
  27966. - Warn about unsafe ControlPort configurations.
  27967. - Refuse to start with certain directory authority keys, and
  27968. encourage people using them to stop.
  27969. o Minor features (controller):
  27970. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  27971. is valid before any authentication has been received. It tells
  27972. a controller what kind of authentication is expected, and what
  27973. protocol is spoken. Implements proposal 119.
  27974. - New config option CookieAuthFile to choose a new location for the
  27975. cookie authentication file, and config option
  27976. CookieAuthFileGroupReadable to make it group-readable.
  27977. o Minor features (unit testing):
  27978. - Add command-line arguments to unit-test executable so that we can
  27979. invoke any chosen test from the command line rather than having
  27980. to run the whole test suite at once; and so that we can turn on
  27981. logging for the unit tests.
  27982. o Minor bugfixes (on 0.1.2.x):
  27983. - If we require CookieAuthentication but we fail to write the
  27984. cookie file, we would warn but not exit, and end up in a state
  27985. where no controller could authenticate. Now we exit.
  27986. - If we require CookieAuthentication, stop generating a new cookie
  27987. every time we change any piece of our config.
  27988. - When loading bandwidth history, do not believe any information in
  27989. the future. Fixes bug 434.
  27990. - When loading entry guard information, do not believe any information
  27991. in the future.
  27992. - When we have our clock set far in the future and generate an
  27993. onion key, then re-set our clock to be correct, we should not stop
  27994. the onion key from getting rotated.
  27995. - Clean up torrc sample config file.
  27996. - Do not automatically run configure from autogen.sh. This
  27997. non-standard behavior tended to annoy people who have built other
  27998. programs.
  27999. o Minor bugfixes (on 0.2.0.x):
  28000. - Fix a bug with AutomapHostsOnResolve that would always cause
  28001. the second request to fail. Bug reported by Kate. Bugfix on
  28002. 0.2.0.3-alpha.
  28003. - Fix a bug in ADDRMAP controller replies that would sometimes
  28004. try to print a NULL. Patch from tup.
  28005. - Read v3 directory authority keys from the right location.
  28006. - Numerous bugfixes to directory voting code.
  28007. Changes in version 0.1.2.16 - 2007-08-01
  28008. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  28009. remote attacker in certain situations to rewrite the user's torrc
  28010. configuration file. This can completely compromise anonymity of users
  28011. in most configurations, including those running the Vidalia bundles,
  28012. TorK, etc. Or worse.
  28013. o Major security fixes:
  28014. - Close immediately after missing authentication on control port;
  28015. do not allow multiple authentication attempts.
  28016. Changes in version 0.2.0.4-alpha - 2007-08-01
  28017. This fourth development snapshot fixes a critical security vulnerability
  28018. for most users, specifically those running Vidalia, TorK, etc. Everybody
  28019. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  28020. o Major security fixes:
  28021. - Close immediately after missing authentication on control port;
  28022. do not allow multiple authentication attempts.
  28023. o Major bugfixes (compilation):
  28024. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  28025. defined there.
  28026. o Minor features (performance):
  28027. - Be even more aggressive about releasing RAM from small
  28028. empty buffers. Thanks to our free-list code, this shouldn't be too
  28029. performance-intensive.
  28030. - Disable sentinel-based debugging for buffer code: we squashed all
  28031. the bugs that this was supposed to detect a long time ago, and
  28032. now its only effect is to change our buffer sizes from nice
  28033. powers of two (which platform mallocs tend to like) to values
  28034. slightly over powers of two (which make some platform mallocs sad).
  28035. - Log malloc statistics from mallinfo() on platforms where it
  28036. exists.
  28037. Changes in version 0.2.0.3-alpha - 2007-07-29
  28038. This third development snapshot introduces new experimental
  28039. blocking-resistance features and a preliminary version of the v3
  28040. directory voting design, and includes many other smaller features
  28041. and bugfixes.
  28042. o Major features:
  28043. - The first pieces of our "bridge" design for blocking-resistance
  28044. are implemented. People can run bridge directory authorities;
  28045. people can run bridges; and people can configure their Tor clients
  28046. with a set of bridges to use as the first hop into the Tor network.
  28047. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  28048. details.
  28049. - Create listener connections before we setuid to the configured
  28050. User and Group. Now non-Windows users can choose port values
  28051. under 1024, start Tor as root, and have Tor bind those ports
  28052. before it changes to another UID. (Windows users could already
  28053. pick these ports.)
  28054. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  28055. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  28056. on "vserver" accounts. (Patch from coderman.)
  28057. - Be even more aggressive about separating local traffic from relayed
  28058. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  28059. o Major features (experimental):
  28060. - First cut of code for "v3 dir voting": directory authorities will
  28061. vote on a common network status document rather than each publishing
  28062. their own opinion. This code needs more testing and more corner-case
  28063. handling before it's ready for use.
  28064. o Security fixes:
  28065. - Directory authorities now call routers Fast if their bandwidth is
  28066. at least 100KB/s, and consider their bandwidth adequate to be a
  28067. Guard if it is at least 250KB/s, no matter the medians. This fix
  28068. complements proposal 107. [Bugfix on 0.1.2.x]
  28069. - Directory authorities now never mark more than 3 servers per IP as
  28070. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  28071. Damon McCoy.)
  28072. - Minor change to organizationName and commonName generation
  28073. procedures in TLS certificates during Tor handshakes, to invalidate
  28074. some earlier censorware approaches. This is not a long-term
  28075. solution, but applying it will give us a bit of time to look into
  28076. the epidemiology of countermeasures as they spread.
  28077. o Major bugfixes (directory):
  28078. - Rewrite directory tokenization code to never run off the end of
  28079. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  28080. o Minor features (controller):
  28081. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  28082. match requests to applications. (Patch from Robert Hogan.)
  28083. - Report address and port correctly on connections to DNSPort. (Patch
  28084. from Robert Hogan.)
  28085. - Add a RESOLVE command to launch hostname lookups. (Original patch
  28086. from Robert Hogan.)
  28087. - Add GETINFO status/enough-dir-info to let controllers tell whether
  28088. Tor has downloaded sufficient directory information. (Patch
  28089. from Tup.)
  28090. - You can now use the ControlSocket option to tell Tor to listen for
  28091. controller connections on Unix domain sockets on systems that
  28092. support them. (Patch from Peter Palfrader.)
  28093. - STREAM NEW events are generated for DNSPort requests and for
  28094. tunneled directory connections. (Patch from Robert Hogan.)
  28095. - New "GETINFO address-mappings/*" command to get address mappings
  28096. with expiry information. "addr-mappings/*" is now deprecated.
  28097. (Patch from Tup.)
  28098. o Minor features (misc):
  28099. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  28100. from croup.)
  28101. - The tor-gencert tool for v3 directory authorities now creates all
  28102. files as readable to the file creator only, and write-protects
  28103. the authority identity key.
  28104. - When dumping memory usage, list bytes used in buffer memory
  28105. free-lists.
  28106. - When running with dmalloc, dump more stats on hup and on exit.
  28107. - Directory authorities now fail quickly and (relatively) harmlessly
  28108. if they generate a network status document that is somehow
  28109. malformed.
  28110. o Traffic load balancing improvements:
  28111. - If exit bandwidth ever exceeds one third of total bandwidth, then
  28112. use the correct formula to weight exit nodes when choosing paths.
  28113. (Based on patch from Mike Perry.)
  28114. - Choose perfectly fairly among routers when choosing by bandwidth and
  28115. weighting by fraction of bandwidth provided by exits. Previously, we
  28116. would choose with only approximate fairness, and correct ourselves
  28117. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  28118. o Performance improvements:
  28119. - Be more aggressive with freeing buffer RAM or putting it on the
  28120. memory free lists.
  28121. - Use Critical Sections rather than Mutexes for synchronizing threads
  28122. on win32; Mutexes are heavier-weight, and designed for synchronizing
  28123. between processes.
  28124. o Deprecated and removed features:
  28125. - RedirectExits is now deprecated.
  28126. - Stop allowing address masks that do not correspond to bit prefixes.
  28127. We have warned about these for a really long time; now it's time
  28128. to reject them. (Patch from croup.)
  28129. o Minor bugfixes (directory):
  28130. - Fix another crash bug related to extra-info caching. (Bug found by
  28131. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  28132. - Directories no longer return a "304 not modified" when they don't
  28133. have the networkstatus the client asked for. Also fix a memory
  28134. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  28135. - We had accidentally labelled 0.1.2.x directory servers as not
  28136. suitable for begin_dir requests, and had labelled no directory
  28137. servers as suitable for uploading extra-info documents. [Bugfix
  28138. on 0.2.0.1-alpha]
  28139. o Minor bugfixes (dns):
  28140. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  28141. Hogan.) [Bugfix on 0.2.0.2-alpha]
  28142. - Add DNSPort connections to the global connection list, so that we
  28143. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  28144. on 0.2.0.2-alpha]
  28145. - Fix a dangling reference that could lead to a crash when DNSPort is
  28146. changed or closed (Patch from Robert Hogan.) [Bugfix on
  28147. 0.2.0.2-alpha]
  28148. o Minor bugfixes (controller):
  28149. - Provide DNS expiry times in GMT, not in local time. For backward
  28150. compatibility, ADDRMAP events only provide GMT expiry in an extended
  28151. field. "GETINFO address-mappings" always does the right thing.
  28152. - Use CRLF line endings properly in NS events.
  28153. - Terminate multi-line control events properly. (Original patch
  28154. from tup.) [Bugfix on 0.1.2.x-alpha]
  28155. - Do not include spaces in SOURCE_ADDR fields in STREAM
  28156. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  28157. Changes in version 0.1.2.15 - 2007-07-17
  28158. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  28159. problems, fixes compilation on BSD, and fixes a variety of other
  28160. bugs. Everybody should upgrade.
  28161. o Major bugfixes (compilation):
  28162. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  28163. o Major bugfixes (crashes):
  28164. - Try even harder not to dereference the first character after
  28165. an mmap(). Reported by lodger.
  28166. - Fix a crash bug in directory authorities when we re-number the
  28167. routerlist while inserting a new router.
  28168. - When the cached-routers file is an even multiple of the page size,
  28169. don't run off the end and crash. (Fixes bug 455; based on idea
  28170. from croup.)
  28171. - Fix eventdns.c behavior on Solaris: It is critical to include
  28172. orconfig.h _before_ sys/types.h, so that we can get the expected
  28173. definition of _FILE_OFFSET_BITS.
  28174. o Major bugfixes (security):
  28175. - Fix a possible buffer overrun when using BSD natd support. Bug
  28176. found by croup.
  28177. - When sending destroy cells from a circuit's origin, don't include
  28178. the reason for tearing down the circuit. The spec says we didn't,
  28179. and now we actually don't. Reported by lodger.
  28180. - Keep streamids from different exits on a circuit separate. This
  28181. bug may have allowed other routers on a given circuit to inject
  28182. cells into streams. Reported by lodger; fixes bug 446.
  28183. - If there's a never-before-connected-to guard node in our list,
  28184. never choose any guards past it. This way we don't expand our
  28185. guard list unless we need to.
  28186. o Minor bugfixes (guard nodes):
  28187. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  28188. don't get overused as guards.
  28189. o Minor bugfixes (directory):
  28190. - Correctly count the number of authorities that recommend each
  28191. version. Previously, we were under-counting by 1.
  28192. - Fix a potential crash bug when we load many server descriptors at
  28193. once and some of them make others of them obsolete. Fixes bug 458.
  28194. o Minor bugfixes (hidden services):
  28195. - Stop tearing down the whole circuit when the user asks for a
  28196. connection to a port that the hidden service didn't configure.
  28197. Resolves bug 444.
  28198. o Minor bugfixes (misc):
  28199. - On Windows, we were preventing other processes from reading
  28200. cached-routers while Tor was running. Reported by janbar.
  28201. - Fix a possible (but very unlikely) bug in picking routers by
  28202. bandwidth. Add a log message to confirm that it is in fact
  28203. unlikely. Patch from lodger.
  28204. - Backport a couple of memory leak fixes.
  28205. - Backport miscellaneous cosmetic bugfixes.
  28206. Changes in version 0.2.0.2-alpha - 2007-06-02
  28207. o Major bugfixes on 0.2.0.1-alpha:
  28208. - Fix an assertion failure related to servers without extra-info digests.
  28209. Resolves bugs 441 and 442.
  28210. o Minor features (directory):
  28211. - Support "If-Modified-Since" when answering HTTP requests for
  28212. directories, running-routers documents, and network-status documents.
  28213. (There's no need to support it for router descriptors, since those
  28214. are downloaded by descriptor digest.)
  28215. o Minor build issues:
  28216. - Clear up some MIPSPro compiler warnings.
  28217. - When building from a tarball on a machine that happens to have SVK
  28218. installed, report the micro-revision as whatever version existed
  28219. in the tarball, not as "x".
  28220. Changes in version 0.2.0.1-alpha - 2007-06-01
  28221. This early development snapshot provides new features for people running
  28222. Tor as both a client and a server (check out the new RelayBandwidth
  28223. config options); lets Tor run as a DNS proxy; and generally moves us
  28224. forward on a lot of fronts.
  28225. o Major features, server usability:
  28226. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  28227. a separate set of token buckets for relayed traffic. Right now
  28228. relayed traffic is defined as answers to directory requests, and
  28229. OR connections that don't have any local circuits on them.
  28230. o Major features, client usability:
  28231. - A client-side DNS proxy feature to replace the need for
  28232. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  28233. for DNS requests on port 9999, use the Tor network to resolve them
  28234. anonymously, and send the reply back like a regular DNS server.
  28235. The code still only implements a subset of DNS.
  28236. - Make PreferTunneledDirConns and TunnelDirConns work even when
  28237. we have no cached directory info. This means Tor clients can now
  28238. do all of their connections protected by TLS.
  28239. o Major features, performance and efficiency:
  28240. - Directory authorities accept and serve "extra info" documents for
  28241. routers. These documents contain fields from router descriptors
  28242. that aren't usually needed, and that use a lot of excess
  28243. bandwidth. Once these fields are removed from router descriptors,
  28244. the bandwidth savings should be about 60%. [Partially implements
  28245. proposal 104.]
  28246. - Servers upload extra-info documents to any authority that accepts
  28247. them. Authorities (and caches that have been configured to download
  28248. extra-info documents) download them as needed. [Partially implements
  28249. proposal 104.]
  28250. - Change the way that Tor buffers data that it is waiting to write.
  28251. Instead of queueing data cells in an enormous ring buffer for each
  28252. client->OR or OR->OR connection, we now queue cells on a separate
  28253. queue for each circuit. This lets us use less slack memory, and
  28254. will eventually let us be smarter about prioritizing different kinds
  28255. of traffic.
  28256. - Use memory pools to allocate cells with better speed and memory
  28257. efficiency, especially on platforms where malloc() is inefficient.
  28258. - Stop reading on edge connections when their corresponding circuit
  28259. buffers are full; start again as the circuits empty out.
  28260. o Major features, other:
  28261. - Add an HSAuthorityRecordStats option that hidden service authorities
  28262. can use to track statistics of overall hidden service usage without
  28263. logging information that would be very useful to an attacker.
  28264. - Start work implementing multi-level keys for directory authorities:
  28265. Add a standalone tool to generate key certificates. (Proposal 103.)
  28266. o Security fixes:
  28267. - Directory authorities now call routers Stable if they have an
  28268. uptime of at least 30 days, even if that's not the median uptime
  28269. in the network. Implements proposal 107, suggested by Kevin Bauer
  28270. and Damon McCoy.
  28271. o Minor fixes (resource management):
  28272. - Count the number of open sockets separately from the number
  28273. of active connection_t objects. This will let us avoid underusing
  28274. our allocated connection limit.
  28275. - We no longer use socket pairs to link an edge connection to an
  28276. anonymous directory connection or a DirPort test connection.
  28277. Instead, we track the link internally and transfer the data
  28278. in-process. This saves two sockets per "linked" connection (at the
  28279. client and at the server), and avoids the nasty Windows socketpair()
  28280. workaround.
  28281. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  28282. for every single inactive connection_t. Free items from the
  28283. 4k/16k-buffer free lists when they haven't been used for a while.
  28284. o Minor features (build):
  28285. - Make autoconf search for libevent, openssl, and zlib consistently.
  28286. - Update deprecated macros in configure.in.
  28287. - When warning about missing headers, tell the user to let us
  28288. know if the compile succeeds anyway, so we can downgrade the
  28289. warning.
  28290. - Include the current subversion revision as part of the version
  28291. string: either fetch it directly if we're in an SVN checkout, do
  28292. some magic to guess it if we're in an SVK checkout, or use
  28293. the last-detected version if we're building from a .tar.gz.
  28294. Use this version consistently in log messages.
  28295. o Minor features (logging):
  28296. - Always prepend "Bug: " to any log message about a bug.
  28297. - Put a platform string (e.g. "Linux i686") in the startup log
  28298. message, so when people paste just their logs, we know if it's
  28299. OpenBSD or Windows or what.
  28300. - When logging memory usage, break down memory used in buffers by
  28301. buffer type.
  28302. o Minor features (directory system):
  28303. - New config option V2AuthoritativeDirectory that all directory
  28304. authorities should set. This will let future authorities choose
  28305. not to serve V2 directory information.
  28306. - Directory authorities allow multiple router descriptors and/or extra
  28307. info documents to be uploaded in a single go. This will make
  28308. implementing proposal 104 simpler.
  28309. o Minor features (controller):
  28310. - Add a new config option __DisablePredictedCircuits designed for
  28311. use by the controller, when we don't want Tor to build any circuits
  28312. preemptively.
  28313. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  28314. so we can exit from the middle of the circuit.
  28315. - Implement "getinfo status/circuit-established".
  28316. - Implement "getinfo status/version/..." so a controller can tell
  28317. whether the current version is recommended, and whether any versions
  28318. are good, and how many authorities agree. (Patch from shibz.)
  28319. o Minor features (hidden services):
  28320. - Allow multiple HiddenServicePort directives with the same virtual
  28321. port; when they occur, the user is sent round-robin to one
  28322. of the target ports chosen at random. Partially fixes bug 393 by
  28323. adding limited ad-hoc round-robining.
  28324. o Minor features (other):
  28325. - More unit tests.
  28326. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  28327. resolve request for hosts matching a given pattern causes Tor to
  28328. generate an internal virtual address mapping for that host. This
  28329. allows DNSPort to work sensibly with hidden service users. By
  28330. default, .exit and .onion addresses are remapped; the list of
  28331. patterns can be reconfigured with AutomapHostsSuffixes.
  28332. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  28333. address. Thanks to the AutomapHostsOnResolve option, this is no
  28334. longer a completely silly thing to do.
  28335. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  28336. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  28337. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  28338. minus 1 byte: the actual maximum declared bandwidth.
  28339. o Removed features:
  28340. - Removed support for the old binary "version 0" controller protocol.
  28341. This has been deprecated since 0.1.1, and warnings have been issued
  28342. since 0.1.2. When we encounter a v0 control message, we now send
  28343. back an error and close the connection.
  28344. - Remove the old "dns worker" server DNS code: it hasn't been default
  28345. since 0.1.2.2-alpha, and all the servers seem to be using the new
  28346. eventdns code.
  28347. o Minor bugfixes (portability):
  28348. - Even though Windows is equally happy with / and \ as path separators,
  28349. try to use \ consistently on Windows and / consistently on Unix: it
  28350. makes the log messages nicer.
  28351. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  28352. - Read resolv.conf files correctly on platforms where read() returns
  28353. partial results on small file reads.
  28354. o Minor bugfixes (directory):
  28355. - Correctly enforce that elements of directory objects do not appear
  28356. more often than they are allowed to appear.
  28357. - When we are reporting the DirServer line we just parsed, we were
  28358. logging the second stanza of the key fingerprint, not the first.
  28359. o Minor bugfixes (logging):
  28360. - When we hit an EOF on a log (probably because we're shutting down),
  28361. don't try to remove the log from the list: just mark it as
  28362. unusable. (Bulletproofs against bug 222.)
  28363. o Minor bugfixes (other):
  28364. - In the exitlist script, only consider the most recently published
  28365. server descriptor for each server. Also, when the user requests
  28366. a list of servers that _reject_ connections to a given address,
  28367. explicitly exclude the IPs that also have servers that accept
  28368. connections to that address. (Resolves bug 405.)
  28369. - Stop allowing hibernating servers to be "stable" or "fast".
  28370. - On Windows, we were preventing other processes from reading
  28371. cached-routers while Tor was running. (Reported by janbar)
  28372. - Make the NodeFamilies config option work. (Reported by
  28373. lodger -- it has never actually worked, even though we added it
  28374. in Oct 2004.)
  28375. - Check return values from pthread_mutex functions.
  28376. - Don't save non-general-purpose router descriptors to the disk cache,
  28377. because we have no way of remembering what their purpose was when
  28378. we restart.
  28379. - Add even more asserts to hunt down bug 417.
  28380. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  28381. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  28382. Add a log message to confirm that it is in fact unlikely.
  28383. o Minor bugfixes (controller):
  28384. - Make 'getinfo fingerprint' return a 551 error if we're not a
  28385. server, so we match what the control spec claims we do. Reported
  28386. by daejees.
  28387. - Fix a typo in an error message when extendcircuit fails that
  28388. caused us to not follow the \r\n-based delimiter protocol. Reported
  28389. by daejees.
  28390. o Code simplifications and refactoring:
  28391. - Stop passing around circuit_t and crypt_path_t pointers that are
  28392. implicit in other procedure arguments.
  28393. - Drop the old code to choke directory connections when the
  28394. corresponding OR connections got full: thanks to the cell queue
  28395. feature, OR conns don't get full any more.
  28396. - Make dns_resolve() handle attaching connections to circuits
  28397. properly, so the caller doesn't have to.
  28398. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  28399. - Keep the connection array as a dynamic smartlist_t, rather than as
  28400. a fixed-sized array. This is important, as the number of connections
  28401. is becoming increasingly decoupled from the number of sockets.
  28402. Changes in version 0.1.2.14 - 2007-05-25
  28403. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  28404. change especially affects those who serve or use hidden services),
  28405. and fixes several other crash- and security-related bugs.
  28406. o Directory authority changes:
  28407. - Two directory authorities (moria1 and moria2) just moved to new
  28408. IP addresses. This change will particularly affect those who serve
  28409. or use hidden services.
  28410. o Major bugfixes (crashes):
  28411. - If a directory server runs out of space in the connection table
  28412. as it's processing a begin_dir request, it will free the exit stream
  28413. but leave it attached to the circuit, leading to unpredictable
  28414. behavior. (Reported by seeess, fixes bug 425.)
  28415. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  28416. to corrupt memory under some really unlikely scenarios.
  28417. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  28418. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  28419. by lodger.)
  28420. o Major bugfixes (security):
  28421. - When choosing an entry guard for a circuit, avoid using guards
  28422. that are in the same family as the chosen exit -- not just guards
  28423. that are exactly the chosen exit. (Reported by lodger.)
  28424. o Major bugfixes (resource management):
  28425. - If a directory authority is down, skip it when deciding where to get
  28426. networkstatus objects or descriptors. Otherwise we keep asking
  28427. every 10 seconds forever. Fixes bug 384.
  28428. - Count it as a failure if we fetch a valid network-status but we
  28429. don't want to keep it. Otherwise we'll keep fetching it and keep
  28430. not wanting to keep it. Fixes part of bug 422.
  28431. - If all of our dirservers have given us bad or no networkstatuses
  28432. lately, then stop hammering them once per minute even when we
  28433. think they're failed. Fixes another part of bug 422.
  28434. o Minor bugfixes:
  28435. - Actually set the purpose correctly for descriptors inserted with
  28436. purpose=controller.
  28437. - When we have k non-v2 authorities in our DirServer config,
  28438. we ignored the last k authorities in the list when updating our
  28439. network-statuses.
  28440. - Correctly back-off from requesting router descriptors that we are
  28441. having a hard time downloading.
  28442. - Read resolv.conf files correctly on platforms where read() returns
  28443. partial results on small file reads.
  28444. - Don't rebuild the entire router store every time we get 32K of
  28445. routers: rebuild it when the journal gets very large, or when
  28446. the gaps in the store get very large.
  28447. o Minor features:
  28448. - When routers publish SVN revisions in their router descriptors,
  28449. authorities now include those versions correctly in networkstatus
  28450. documents.
  28451. - Warn when using a version of libevent before 1.3b to run a server on
  28452. OSX or BSD: these versions interact badly with userspace threads.
  28453. Changes in version 0.1.2.13 - 2007-04-24
  28454. This release features some major anonymity fixes, such as safer path
  28455. selection; better client performance; faster bootstrapping, better
  28456. address detection, and better DNS support for servers; write limiting as
  28457. well as read limiting to make servers easier to run; and a huge pile of
  28458. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  28459. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  28460. of the Freenode IRC network, remembering his patience and vision for
  28461. free speech on the Internet.
  28462. o Minor fixes:
  28463. - Fix a memory leak when we ask for "all" networkstatuses and we
  28464. get one we don't recognize.
  28465. - Add more asserts to hunt down bug 417.
  28466. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  28467. Changes in version 0.1.2.12-rc - 2007-03-16
  28468. o Major bugfixes:
  28469. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  28470. directory information requested inside Tor connections (i.e. via
  28471. begin_dir cells). It only triggered when the same connection was
  28472. serving other data at the same time. Reported by seeess.
  28473. o Minor bugfixes:
  28474. - When creating a circuit via the controller, send a 'launched'
  28475. event when we're done, so we follow the spec better.
  28476. Changes in version 0.1.2.11-rc - 2007-03-15
  28477. o Minor bugfixes (controller), reported by daejees:
  28478. - Correct the control spec to match how the code actually responds
  28479. to 'getinfo addr-mappings/*'.
  28480. - The control spec described a GUARDS event, but the code
  28481. implemented a GUARD event. Standardize on GUARD, but let people
  28482. ask for GUARDS too.
  28483. Changes in version 0.1.2.10-rc - 2007-03-07
  28484. o Major bugfixes (Windows):
  28485. - Do not load the NT services library functions (which may not exist)
  28486. just to detect if we're a service trying to shut down. Now we run
  28487. on Win98 and friends again.
  28488. o Minor bugfixes (other):
  28489. - Clarify a couple of log messages.
  28490. - Fix a misleading socks5 error number.
  28491. Changes in version 0.1.2.9-rc - 2007-03-02
  28492. o Major bugfixes (Windows):
  28493. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  28494. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  28495. int configuration values: the high-order 32 bits would get
  28496. truncated. In particular, we were being bitten by the default
  28497. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  28498. and maybe also bug 397.)
  28499. o Minor bugfixes (performance):
  28500. - Use OpenSSL's AES implementation on platforms where it's faster.
  28501. This could save us as much as 10% CPU usage.
  28502. o Minor bugfixes (server):
  28503. - Do not rotate onion key immediately after setting it for the first
  28504. time.
  28505. o Minor bugfixes (directory authorities):
  28506. - Stop calling servers that have been hibernating for a long time
  28507. "stable". Also, stop letting hibernating or obsolete servers affect
  28508. uptime and bandwidth cutoffs.
  28509. - Stop listing hibernating servers in the v1 directory.
  28510. o Minor bugfixes (hidden services):
  28511. - Upload hidden service descriptors slightly less often, to reduce
  28512. load on authorities.
  28513. o Minor bugfixes (other):
  28514. - Fix an assert that could trigger if a controller quickly set then
  28515. cleared EntryNodes. Bug found by Udo van den Heuvel.
  28516. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  28517. to INT32_MAX.
  28518. - Fix a potential race condition in the rpm installer. Found by
  28519. Stefan Nordhausen.
  28520. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  28521. of 2 as indicating that the server is completely bad; it sometimes
  28522. means that the server is just bad for the request in question. (may fix
  28523. the last of bug 326.)
  28524. - Disable encrypted directory connections when we don't have a server
  28525. descriptor for the destination. We'll get this working again in
  28526. the 0.2.0 branch.
  28527. Changes in version 0.1.2.8-beta - 2007-02-26
  28528. o Major bugfixes (crashes):
  28529. - Stop crashing when the controller asks us to resetconf more than
  28530. one config option at once. (Vidalia 0.0.11 does this.)
  28531. - Fix a crash that happened on Win98 when we're given command-line
  28532. arguments: don't try to load NT service functions from advapi32.dll
  28533. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  28534. resolves bug 389.)
  28535. - Fix a longstanding obscure crash bug that could occur when
  28536. we run out of DNS worker processes. (Resolves bug 390.)
  28537. o Major bugfixes (hidden services):
  28538. - Correctly detect whether hidden service descriptor downloads are
  28539. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  28540. o Major bugfixes (accounting):
  28541. - When we start during an accounting interval before it's time to wake
  28542. up, remember to wake up at the correct time. (May fix bug 342.)
  28543. o Minor bugfixes (controller):
  28544. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  28545. clear the corresponding on_circuit variable, and remember later
  28546. that we don't need to send a redundant CLOSED event. Resolves part
  28547. 3 of bug 367.
  28548. - Report events where a resolve succeeded or where we got a socks
  28549. protocol error correctly, rather than calling both of them
  28550. "INTERNAL".
  28551. - Change reported stream target addresses to IP consistently when
  28552. we finally get the IP from an exit node.
  28553. - Send log messages to the controller even if they happen to be very
  28554. long.
  28555. o Minor bugfixes (other):
  28556. - Display correct results when reporting which versions are
  28557. recommended, and how recommended they are. (Resolves bug 383.)
  28558. - Improve our estimates for directory bandwidth to be less random:
  28559. guess that an unrecognized directory will have the average bandwidth
  28560. from all known directories, not that it will have the average
  28561. bandwidth from those directories earlier than it on the list.
  28562. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  28563. and hup, stop triggering an assert based on an empty onion_key.
  28564. - On platforms with no working mmap() equivalent, don't warn the
  28565. user when cached-routers doesn't exist.
  28566. - Warn the user when mmap() [or its equivalent] fails for some reason
  28567. other than file-not-found.
  28568. - Don't warn the user when cached-routers.new doesn't exist: that's
  28569. perfectly fine when starting up for the first time.
  28570. - When EntryNodes are configured, rebuild the guard list to contain,
  28571. in order: the EntryNodes that were guards before; the rest of the
  28572. EntryNodes; the nodes that were guards before.
  28573. - Mask out all signals in sub-threads; only the libevent signal
  28574. handler should be processing them. This should prevent some crashes
  28575. on some machines using pthreads. (Patch from coderman.)
  28576. - Fix switched arguments on memset in the implementation of
  28577. tor_munmap() for systems with no mmap() call.
  28578. - When Tor receives a router descriptor that it asked for, but
  28579. no longer wants (because it has received fresh networkstatuses
  28580. in the meantime), do not warn the user. Cache the descriptor if
  28581. we're a cache; drop it if we aren't.
  28582. - Make earlier entry guards _really_ get retried when the network
  28583. comes back online.
  28584. - On a malformed DNS reply, always give an error to the corresponding
  28585. DNS request.
  28586. - Build with recent libevents on platforms that do not define the
  28587. nonstandard types "u_int8_t" and friends.
  28588. o Minor features (controller):
  28589. - Warn the user when an application uses the obsolete binary v0
  28590. control protocol. We're planning to remove support for it during
  28591. the next development series, so it's good to give people some
  28592. advance warning.
  28593. - Add STREAM_BW events to report per-entry-stream bandwidth
  28594. use. (Patch from Robert Hogan.)
  28595. - Rate-limit SIGNEWNYM signals in response to controllers that
  28596. impolitely generate them for every single stream. (Patch from
  28597. mwenge; closes bug 394.)
  28598. - Make REMAP stream events have a SOURCE (cache or exit), and
  28599. make them generated in every case where we get a successful
  28600. connected or resolved cell.
  28601. o Minor bugfixes (performance):
  28602. - Call router_have_min_dir_info half as often. (This is showing up in
  28603. some profiles, but not others.)
  28604. - When using GCC, make log_debug never get called at all, and its
  28605. arguments never get evaluated, when no debug logs are configured.
  28606. (This is showing up in some profiles, but not others.)
  28607. o Minor features:
  28608. - Remove some never-implemented options. Mark PathlenCoinWeight as
  28609. obsolete.
  28610. - Implement proposal 106: Stop requiring clients to have well-formed
  28611. certificates; stop checking nicknames in certificates. (Clients
  28612. have certificates so that they can look like Tor servers, but in
  28613. the future we might want to allow them to look like regular TLS
  28614. clients instead. Nicknames in certificates serve no purpose other
  28615. than making our protocol easier to recognize on the wire.)
  28616. - Revise messages on handshake failure again to be even more clear about
  28617. which are incoming connections and which are outgoing.
  28618. - Discard any v1 directory info that's over 1 month old (for
  28619. directories) or over 1 week old (for running-routers lists).
  28620. - Do not warn when individual nodes in the configuration's EntryNodes,
  28621. ExitNodes, etc are down: warn only when all possible nodes
  28622. are down. (Fixes bug 348.)
  28623. - Always remove expired routers and networkstatus docs before checking
  28624. whether we have enough information to build circuits. (Fixes
  28625. bug 373.)
  28626. - Put a lower-bound on MaxAdvertisedBandwidth.
  28627. Changes in version 0.1.2.7-alpha - 2007-02-06
  28628. o Major bugfixes (rate limiting):
  28629. - Servers decline directory requests much more aggressively when
  28630. they're low on bandwidth. Otherwise they end up queueing more and
  28631. more directory responses, which can't be good for latency.
  28632. - But never refuse directory requests from local addresses.
  28633. - Fix a memory leak when sending a 503 response for a networkstatus
  28634. request.
  28635. - Be willing to read or write on local connections (e.g. controller
  28636. connections) even when the global rate limiting buckets are empty.
  28637. - If our system clock jumps back in time, don't publish a negative
  28638. uptime in the descriptor. Also, don't let the global rate limiting
  28639. buckets go absurdly negative.
  28640. - Flush local controller connection buffers periodically as we're
  28641. writing to them, so we avoid queueing 4+ megabytes of data before
  28642. trying to flush.
  28643. o Major bugfixes (NT services):
  28644. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  28645. command-line flag so that admins can override the default by saying
  28646. "tor --service install --user "SomeUser"". This will not affect
  28647. existing installed services. Also, warn the user that the service
  28648. will look for its configuration file in the service user's
  28649. %appdata% directory. (We can't do the 'hardwire the user's appdata
  28650. directory' trick any more, since we may not have read access to that
  28651. directory.)
  28652. o Major bugfixes (other):
  28653. - Previously, we would cache up to 16 old networkstatus documents
  28654. indefinitely, if they came from nontrusted authorities. Now we
  28655. discard them if they are more than 10 days old.
  28656. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  28657. Del Vecchio).
  28658. - Detect and reject malformed DNS responses containing circular
  28659. pointer loops.
  28660. - If exits are rare enough that we're not marking exits as guards,
  28661. ignore exit bandwidth when we're deciding the required bandwidth
  28662. to become a guard.
  28663. - When we're handling a directory connection tunneled over Tor,
  28664. don't fill up internal memory buffers with all the data we want
  28665. to tunnel; instead, only add it if the OR connection that will
  28666. eventually receive it has some room for it. (This can lead to
  28667. slowdowns in tunneled dir connections; a better solution will have
  28668. to wait for 0.2.0.)
  28669. o Minor bugfixes (dns):
  28670. - Add some defensive programming to eventdns.c in an attempt to catch
  28671. possible memory-stomping bugs.
  28672. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  28673. an incorrect number of bytes. (Previously, we would ignore the
  28674. extra bytes.)
  28675. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  28676. in the correct order, and doesn't crash.
  28677. - Free memory held in recently-completed DNS lookup attempts on exit.
  28678. This was not a memory leak, but may have been hiding memory leaks.
  28679. - Handle TTL values correctly on reverse DNS lookups.
  28680. - Treat failure to parse resolv.conf as an error.
  28681. o Minor bugfixes (other):
  28682. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  28683. - When computing clock skew from directory HTTP headers, consider what
  28684. time it was when we finished asking for the directory, not what
  28685. time it is now.
  28686. - Expire socks connections if they spend too long waiting for the
  28687. handshake to finish. Previously we would let them sit around for
  28688. days, if the connecting application didn't close them either.
  28689. - And if the socks handshake hasn't started, don't send a
  28690. "DNS resolve socks failed" handshake reply; just close it.
  28691. - Stop using C functions that OpenBSD's linker doesn't like.
  28692. - Don't launch requests for descriptors unless we have networkstatuses
  28693. from at least half of the authorities. This delays the first
  28694. download slightly under pathological circumstances, but can prevent
  28695. us from downloading a bunch of descriptors we don't need.
  28696. - Do not log IPs with TLS failures for incoming TLS
  28697. connections. (Fixes bug 382.)
  28698. - If the user asks to use invalid exit nodes, be willing to use
  28699. unstable ones.
  28700. - Stop using the reserved ac_cv namespace in our configure script.
  28701. - Call stat() slightly less often; use fstat() when possible.
  28702. - Refactor the way we handle pending circuits when an OR connection
  28703. completes or fails, in an attempt to fix a rare crash bug.
  28704. - Only rewrite a conn's address based on X-Forwarded-For: headers
  28705. if it's a parseable public IP address; and stop adding extra quotes
  28706. to the resulting address.
  28707. o Major features:
  28708. - Weight directory requests by advertised bandwidth. Now we can
  28709. let servers enable write limiting but still allow most clients to
  28710. succeed at their directory requests. (We still ignore weights when
  28711. choosing a directory authority; I hope this is a feature.)
  28712. o Minor features:
  28713. - Create a new file ReleaseNotes which was the old ChangeLog. The
  28714. new ChangeLog file now includes the summaries for all development
  28715. versions too.
  28716. - Check for addresses with invalid characters at the exit as well
  28717. as at the client, and warn less verbosely when they fail. You can
  28718. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  28719. - Adapt a patch from goodell to let the contrib/exitlist script
  28720. take arguments rather than require direct editing.
  28721. - Inform the server operator when we decide not to advertise a
  28722. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  28723. was confusing Zax, so now we're hopefully more helpful.
  28724. - Bring us one step closer to being able to establish an encrypted
  28725. directory tunnel without knowing a descriptor first. Still not
  28726. ready yet. As part of the change, now assume we can use a
  28727. create_fast cell if we don't know anything about a router.
  28728. - Allow exit nodes to use nameservers running on ports other than 53.
  28729. - Servers now cache reverse DNS replies.
  28730. - Add an --ignore-missing-torrc command-line option so that we can
  28731. get the "use sensible defaults if the configuration file doesn't
  28732. exist" behavior even when specifying a torrc location on the command
  28733. line.
  28734. o Minor features (controller):
  28735. - Track reasons for OR connection failure; make these reasons
  28736. available via the controller interface. (Patch from Mike Perry.)
  28737. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  28738. can learn when clients are sending malformed hostnames to Tor.
  28739. - Clean up documentation for controller status events.
  28740. - Add a REMAP status to stream events to note that a stream's
  28741. address has changed because of a cached address or a MapAddress
  28742. directive.
  28743. Changes in version 0.1.2.6-alpha - 2007-01-09
  28744. o Major bugfixes:
  28745. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  28746. connection handles more than 4 gigs in either direction, we crash.
  28747. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  28748. advertised exit node, somebody might try to exit from us when
  28749. we're bootstrapping and before we've built our descriptor yet.
  28750. Refuse the connection rather than crashing.
  28751. o Minor bugfixes:
  28752. - Warn if we (as a server) find that we've resolved an address that we
  28753. weren't planning to resolve.
  28754. - Warn that using select() on any libevent version before 1.1 will be
  28755. unnecessarily slow (even for select()).
  28756. - Flush ERR-level controller status events just like we currently
  28757. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  28758. the controller from learning about current events.
  28759. o Minor features (more controller status events):
  28760. - Implement EXTERNAL_ADDRESS server status event so controllers can
  28761. learn when our address changes.
  28762. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  28763. can learn when directories reject our descriptor.
  28764. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  28765. can learn when a client application is speaking a non-socks protocol
  28766. to our SocksPort.
  28767. - Implement DANGEROUS_SOCKS client status event so controllers
  28768. can learn when a client application is leaking DNS addresses.
  28769. - Implement BUG general status event so controllers can learn when
  28770. Tor is unhappy about its internal invariants.
  28771. - Implement CLOCK_SKEW general status event so controllers can learn
  28772. when Tor thinks the system clock is set incorrectly.
  28773. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  28774. server status events so controllers can learn when their descriptors
  28775. are accepted by a directory.
  28776. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  28777. server status events so controllers can learn about Tor's progress in
  28778. deciding whether it's reachable from the outside.
  28779. - Implement BAD_LIBEVENT general status event so controllers can learn
  28780. when we have a version/method combination in libevent that needs to
  28781. be changed.
  28782. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  28783. and DNS_USELESS server status events so controllers can learn
  28784. about changes to DNS server status.
  28785. o Minor features (directory):
  28786. - Authorities no longer recommend exits as guards if this would shift
  28787. too much load to the exit nodes.
  28788. Changes in version 0.1.2.5-alpha - 2007-01-06
  28789. o Major features:
  28790. - Enable write limiting as well as read limiting. Now we sacrifice
  28791. capacity if we're pushing out lots of directory traffic, rather
  28792. than overrunning the user's intended bandwidth limits.
  28793. - Include TLS overhead when counting bandwidth usage; previously, we
  28794. would count only the bytes sent over TLS, but not the bytes used
  28795. to send them.
  28796. - Support running the Tor service with a torrc not in the same
  28797. directory as tor.exe and default to using the torrc located in
  28798. the %appdata%\Tor\ of the user who installed the service. Patch
  28799. from Matt Edman.
  28800. - Servers now check for the case when common DNS requests are going to
  28801. wildcarded addresses (i.e. all getting the same answer), and change
  28802. their exit policy to reject *:* if it's happening.
  28803. - Implement BEGIN_DIR cells, so we can connect to the directory
  28804. server via TLS to do encrypted directory requests rather than
  28805. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  28806. config options if you like.
  28807. o Minor features (config and docs):
  28808. - Start using the state file to store bandwidth accounting data:
  28809. the bw_accounting file is now obsolete. We'll keep generating it
  28810. for a while for people who are still using 0.1.2.4-alpha.
  28811. - Try to batch changes to the state file so that we do as few
  28812. disk writes as possible while still storing important things in
  28813. a timely fashion.
  28814. - The state file and the bw_accounting file get saved less often when
  28815. the AvoidDiskWrites config option is set.
  28816. - Make PIDFile work on Windows (untested).
  28817. - Add internal descriptions for a bunch of configuration options:
  28818. accessible via controller interface and in comments in saved
  28819. options files.
  28820. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  28821. NNTP by default, so this seems like a sensible addition.
  28822. - Clients now reject hostnames with invalid characters. This should
  28823. avoid some inadvertent info leaks. Add an option
  28824. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  28825. is running a private network with hosts called @, !, and #.
  28826. - Add a maintainer script to tell us which options are missing
  28827. documentation: "make check-docs".
  28828. - Add a new address-spec.txt document to describe our special-case
  28829. addresses: .exit, .onion, and .noconnnect.
  28830. o Minor features (DNS):
  28831. - Ongoing work on eventdns infrastructure: now it has dns server
  28832. and ipv6 support. One day Tor will make use of it.
  28833. - Add client-side caching for reverse DNS lookups.
  28834. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  28835. - When we change nameservers or IP addresses, reset and re-launch
  28836. our tests for DNS hijacking.
  28837. o Minor features (directory):
  28838. - Authorities now specify server versions in networkstatus. This adds
  28839. about 2% to the size of compressed networkstatus docs, and allows
  28840. clients to tell which servers support BEGIN_DIR and which don't.
  28841. The implementation is forward-compatible with a proposed future
  28842. protocol version scheme not tied to Tor versions.
  28843. - DirServer configuration lines now have an orport= option so
  28844. clients can open encrypted tunnels to the authorities without
  28845. having downloaded their descriptors yet. Enabled for moria1,
  28846. moria2, tor26, and lefkada now in the default configuration.
  28847. - Directory servers are more willing to send a 503 "busy" if they
  28848. are near their write limit, especially for v1 directory requests.
  28849. Now they can use their limited bandwidth for actual Tor traffic.
  28850. - Clients track responses with status 503 from dirservers. After a
  28851. dirserver has given us a 503, we try not to use it until an hour has
  28852. gone by, or until we have no dirservers that haven't given us a 503.
  28853. - When we get a 503 from a directory, and we're not a server, we don't
  28854. count the failure against the total number of failures allowed
  28855. for the thing we're trying to download.
  28856. - Report X-Your-Address-Is correctly from tunneled directory
  28857. connections; don't report X-Your-Address-Is when it's an internal
  28858. address; and never believe reported remote addresses when they're
  28859. internal.
  28860. - Protect against an unlikely DoS attack on directory servers.
  28861. - Add a BadDirectory flag to network status docs so that authorities
  28862. can (eventually) tell clients about caches they believe to be
  28863. broken.
  28864. o Minor features (controller):
  28865. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  28866. - Reimplement GETINFO so that info/names stays in sync with the
  28867. actual keys.
  28868. - Implement "GETINFO fingerprint".
  28869. - Implement "SETEVENTS GUARD" so controllers can get updates on
  28870. entry guard status as it changes.
  28871. o Minor features (clean up obsolete pieces):
  28872. - Remove some options that have been deprecated since at least
  28873. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  28874. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  28875. to set log options.
  28876. - We no longer look for identity and onion keys in "identity.key" and
  28877. "onion.key" -- these were replaced by secret_id_key and
  28878. secret_onion_key in 0.0.8pre1.
  28879. - We no longer require unrecognized directory entries to be
  28880. preceded by "opt".
  28881. o Major bugfixes (security):
  28882. - Stop sending the HttpProxyAuthenticator string to directory
  28883. servers when directory connections are tunnelled through Tor.
  28884. - Clients no longer store bandwidth history in the state file.
  28885. - Do not log introduction points for hidden services if SafeLogging
  28886. is set.
  28887. - When generating bandwidth history, round down to the nearest
  28888. 1k. When storing accounting data, round up to the nearest 1k.
  28889. - When we're running as a server, remember when we last rotated onion
  28890. keys, so that we will rotate keys once they're a week old even if
  28891. we never stay up for a week ourselves.
  28892. o Major bugfixes (other):
  28893. - Fix a longstanding bug in eventdns that prevented the count of
  28894. timed-out resolves from ever being reset. This bug caused us to
  28895. give up on a nameserver the third time it timed out, and try it
  28896. 10 seconds later... and to give up on it every time it timed out
  28897. after that.
  28898. - Take out the '5 second' timeout from the connection retry
  28899. schedule. Now the first connect attempt will wait a full 10
  28900. seconds before switching to a new circuit. Perhaps this will help
  28901. a lot. Based on observations from Mike Perry.
  28902. - Fix a bug on the Windows implementation of tor_mmap_file() that
  28903. would prevent the cached-routers file from ever loading. Reported
  28904. by John Kimble.
  28905. o Minor bugfixes:
  28906. - Fix an assert failure when a directory authority sets
  28907. AuthDirRejectUnlisted and then receives a descriptor from an
  28908. unlisted router. Reported by seeess.
  28909. - Avoid a double-free when parsing malformed DirServer lines.
  28910. - Fix a bug when a BSD-style PF socket is first used. Patch from
  28911. Fabian Keil.
  28912. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  28913. to resolve an address at a given exit node even when they ask for
  28914. it by name.
  28915. - Servers no longer ever list themselves in their "family" line,
  28916. even if configured to do so. This makes it easier to configure
  28917. family lists conveniently.
  28918. - When running as a server, don't fall back to 127.0.0.1 when no
  28919. nameservers are configured in /etc/resolv.conf; instead, make the
  28920. user fix resolv.conf or specify nameservers explicitly. (Resolves
  28921. bug 363.)
  28922. - Stop accepting certain malformed ports in configured exit policies.
  28923. - Don't re-write the fingerprint file every restart, unless it has
  28924. changed.
  28925. - Stop warning when a single nameserver fails: only warn when _all_ of
  28926. our nameservers have failed. Also, when we only have one nameserver,
  28927. raise the threshold for deciding that the nameserver is dead.
  28928. - Directory authorities now only decide that routers are reachable
  28929. if their identity keys are as expected.
  28930. - When the user uses bad syntax in the Log config line, stop
  28931. suggesting other bad syntax as a replacement.
  28932. - Correctly detect ipv6 DNS capability on OpenBSD.
  28933. o Minor bugfixes (controller):
  28934. - Report the circuit number correctly in STREAM CLOSED events. Bug
  28935. reported by Mike Perry.
  28936. - Do not report bizarre values for results of accounting GETINFOs
  28937. when the last second's write or read exceeds the allotted bandwidth.
  28938. - Report "unrecognized key" rather than an empty string when the
  28939. controller tries to fetch a networkstatus that doesn't exist.
  28940. Changes in version 0.1.1.26 - 2006-12-14
  28941. o Security bugfixes:
  28942. - Stop sending the HttpProxyAuthenticator string to directory
  28943. servers when directory connections are tunnelled through Tor.
  28944. - Clients no longer store bandwidth history in the state file.
  28945. - Do not log introduction points for hidden services if SafeLogging
  28946. is set.
  28947. o Minor bugfixes:
  28948. - Fix an assert failure when a directory authority sets
  28949. AuthDirRejectUnlisted and then receives a descriptor from an
  28950. unlisted router (reported by seeess).
  28951. Changes in version 0.1.2.4-alpha - 2006-12-03
  28952. o Major features:
  28953. - Add support for using natd; this allows FreeBSDs earlier than
  28954. 5.1.2 to have ipfw send connections through Tor without using
  28955. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  28956. o Minor features:
  28957. - Make all connections to addresses of the form ".noconnect"
  28958. immediately get closed. This lets application/controller combos
  28959. successfully test whether they're talking to the same Tor by
  28960. watching for STREAM events.
  28961. - Make cross.sh cross-compilation script work even when autogen.sh
  28962. hasn't been run. (Patch from Michael Mohr.)
  28963. - Statistics dumped by -USR2 now include a breakdown of public key
  28964. operations, for profiling.
  28965. o Major bugfixes:
  28966. - Fix a major leak when directory authorities parse their
  28967. approved-routers list, a minor memory leak when we fail to pick
  28968. an exit node, and a few rare leaks on errors.
  28969. - Handle TransPort connections even when the server sends data before
  28970. the client sends data. Previously, the connection would just hang
  28971. until the client sent data. (Patch from tup based on patch from
  28972. Zajcev Evgeny.)
  28973. - Avoid assert failure when our cached-routers file is empty on
  28974. startup.
  28975. o Minor bugfixes:
  28976. - Don't log spurious warnings when we see a circuit close reason we
  28977. don't recognize; it's probably just from a newer version of Tor.
  28978. - Have directory authorities allow larger amounts of drift in uptime
  28979. without replacing the server descriptor: previously, a server that
  28980. restarted every 30 minutes could have 48 "interesting" descriptors
  28981. per day.
  28982. - Start linking to the Tor specification and Tor reference manual
  28983. correctly in the Windows installer.
  28984. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  28985. Tor/Privoxy we also uninstall Vidalia.
  28986. - Resume building on Irix64, and fix a lot of warnings from its
  28987. MIPSpro C compiler.
  28988. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  28989. when we're running as a client.
  28990. Changes in version 0.1.1.25 - 2006-11-04
  28991. o Major bugfixes:
  28992. - When a client asks us to resolve (rather than connect to)
  28993. an address, and we have a cached answer, give them the cached
  28994. answer. Previously, we would give them no answer at all.
  28995. - We were building exactly the wrong circuits when we predict
  28996. hidden service requirements, meaning Tor would have to build all
  28997. its circuits on demand.
  28998. - If none of our live entry guards have a high uptime, but we
  28999. require a guard with a high uptime, try adding a new guard before
  29000. we give up on the requirement. This patch should make long-lived
  29001. connections more stable on average.
  29002. - When testing reachability of our DirPort, don't launch new
  29003. tests when there's already one in progress -- unreachable
  29004. servers were stacking up dozens of testing streams.
  29005. o Security bugfixes:
  29006. - When the user sends a NEWNYM signal, clear the client-side DNS
  29007. cache too. Otherwise we continue to act on previous information.
  29008. o Minor bugfixes:
  29009. - Avoid a memory corruption bug when creating a hash table for
  29010. the first time.
  29011. - Avoid possibility of controller-triggered crash when misusing
  29012. certain commands from a v0 controller on platforms that do not
  29013. handle printf("%s",NULL) gracefully.
  29014. - Avoid infinite loop on unexpected controller input.
  29015. - Don't log spurious warnings when we see a circuit close reason we
  29016. don't recognize; it's probably just from a newer version of Tor.
  29017. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  29018. Tor/Privoxy we also uninstall Vidalia.
  29019. Changes in version 0.1.2.3-alpha - 2006-10-29
  29020. o Minor features:
  29021. - Prepare for servers to publish descriptors less often: never
  29022. discard a descriptor simply for being too old until either it is
  29023. recommended by no authorities, or until we get a better one for
  29024. the same router. Make caches consider retaining old recommended
  29025. routers for even longer.
  29026. - If most authorities set a BadExit flag for a server, clients
  29027. don't think of it as a general-purpose exit. Clients only consider
  29028. authorities that advertise themselves as listing bad exits.
  29029. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  29030. headers for content, so that we can work better in the presence of
  29031. caching HTTP proxies.
  29032. - Allow authorities to list nodes as bad exits by fingerprint or by
  29033. address.
  29034. o Minor features, controller:
  29035. - Add a REASON field to CIRC events; for backward compatibility, this
  29036. field is sent only to controllers that have enabled the extended
  29037. event format. Also, add additional reason codes to explain why
  29038. a given circuit has been destroyed or truncated. (Patches from
  29039. Mike Perry)
  29040. - Add a REMOTE_REASON field to extended CIRC events to tell the
  29041. controller about why a remote OR told us to close a circuit.
  29042. - Stream events also now have REASON and REMOTE_REASON fields,
  29043. working much like those for circuit events.
  29044. - There's now a GETINFO ns/... field so that controllers can ask Tor
  29045. about the current status of a router.
  29046. - A new event type "NS" to inform a controller when our opinion of
  29047. a router's status has changed.
  29048. - Add a GETINFO events/names and GETINFO features/names so controllers
  29049. can tell which events and features are supported.
  29050. - A new CLEARDNSCACHE signal to allow controllers to clear the
  29051. client-side DNS cache without expiring circuits.
  29052. o Security bugfixes:
  29053. - When the user sends a NEWNYM signal, clear the client-side DNS
  29054. cache too. Otherwise we continue to act on previous information.
  29055. o Minor bugfixes:
  29056. - Avoid sending junk to controllers or segfaulting when a controller
  29057. uses EVENT_NEW_DESC with verbose nicknames.
  29058. - Stop triggering asserts if the controller tries to extend hidden
  29059. service circuits (reported by mwenge).
  29060. - Avoid infinite loop on unexpected controller input.
  29061. - When the controller does a "GETINFO network-status", tell it
  29062. about even those routers whose descriptors are very old, and use
  29063. long nicknames where appropriate.
  29064. - Change NT service functions to be loaded on demand. This lets us
  29065. build with MinGW without breaking Tor for Windows 98 users.
  29066. - Do DirPort reachability tests less often, since a single test
  29067. chews through many circuits before giving up.
  29068. - In the hidden service example in torrc.sample, stop recommending
  29069. esoteric and discouraged hidden service options.
  29070. - When stopping an NT service, wait up to 10 sec for it to actually
  29071. stop. Patch from Matt Edman; resolves bug 295.
  29072. - Fix handling of verbose nicknames with ORCONN controller events:
  29073. make them show up exactly when requested, rather than exactly when
  29074. not requested.
  29075. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  29076. printing a duplicate "$" in the keys we send (reported by mwenge).
  29077. - Correctly set maximum connection limit on Cygwin. (This time
  29078. for sure!)
  29079. - Try to detect Windows correctly when cross-compiling.
  29080. - Detect the size of the routers file correctly even if it is
  29081. corrupted (on systems without mmap) or not page-aligned (on systems
  29082. with mmap). This bug was harmless.
  29083. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  29084. to open a stream fails; now we do in more cases. This should
  29085. make clients able to find a good exit faster in some cases, since
  29086. unhandleable requests will now get an error rather than timing out.
  29087. - Resolve two memory leaks when rebuilding the on-disk router cache
  29088. (reported by fookoowa).
  29089. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  29090. and reported by some Centos users.
  29091. - Controller signals now work on non-Unix platforms that don't define
  29092. SIGUSR1 and SIGUSR2 the way we expect.
  29093. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  29094. values before failing, and always enables eventdns.
  29095. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  29096. Try to fix this in configure.in by checking for most functions
  29097. before we check for libevent.
  29098. Changes in version 0.1.2.2-alpha - 2006-10-07
  29099. o Major features:
  29100. - Make our async eventdns library on-by-default for Tor servers,
  29101. and plan to deprecate the separate dnsworker threads.
  29102. - Add server-side support for "reverse" DNS lookups (using PTR
  29103. records so clients can determine the canonical hostname for a given
  29104. IPv4 address). Only supported by servers using eventdns; servers
  29105. now announce in their descriptors whether they support eventdns.
  29106. - Specify and implement client-side SOCKS5 interface for reverse DNS
  29107. lookups (see doc/socks-extensions.txt).
  29108. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  29109. connect to directory servers through Tor. Previously, clients needed
  29110. to find Tor exits to make private connections to directory servers.
  29111. - Avoid choosing Exit nodes for entry or middle hops when the
  29112. total bandwidth available from non-Exit nodes is much higher than
  29113. the total bandwidth available from Exit nodes.
  29114. - Workaround for name servers (like Earthlink's) that hijack failing
  29115. DNS requests and replace the no-such-server answer with a "helpful"
  29116. redirect to an advertising-driven search portal. Also work around
  29117. DNS hijackers who "helpfully" decline to hijack known-invalid
  29118. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  29119. lets you turn it off.
  29120. - Send out a burst of long-range padding cells once we've established
  29121. that we're reachable. Spread them over 4 circuits, so hopefully
  29122. a few will be fast. This exercises our bandwidth and bootstraps
  29123. us into the directory more quickly.
  29124. o New/improved config options:
  29125. - Add new config option "ResolvConf" to let the server operator
  29126. choose an alternate resolve.conf file when using eventdns.
  29127. - Add an "EnforceDistinctSubnets" option to control our "exclude
  29128. servers on the same /16" behavior. It's still on by default; this
  29129. is mostly for people who want to operate private test networks with
  29130. all the machines on the same subnet.
  29131. - If one of our entry guards is on the ExcludeNodes list, or the
  29132. directory authorities don't think it's a good guard, treat it as
  29133. if it were unlisted: stop using it as a guard, and throw it off
  29134. the guards list if it stays that way for a long time.
  29135. - Allow directory authorities to be marked separately as authorities
  29136. for the v1 directory protocol, the v2 directory protocol, and
  29137. as hidden service directories, to make it easier to retire old
  29138. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  29139. to continue being hidden service authorities too.
  29140. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  29141. o Minor features, controller:
  29142. - Fix CIRC controller events so that controllers can learn the
  29143. identity digests of non-Named servers used in circuit paths.
  29144. - Let controllers ask for more useful identifiers for servers. Instead
  29145. of learning identity digests for un-Named servers and nicknames
  29146. for Named servers, the new identifiers include digest, nickname,
  29147. and indication of Named status. Off by default; see control-spec.txt
  29148. for more information.
  29149. - Add a "getinfo address" controller command so it can display Tor's
  29150. best guess to the user.
  29151. - New controller event to alert the controller when our server
  29152. descriptor has changed.
  29153. - Give more meaningful errors on controller authentication failure.
  29154. o Minor features, other:
  29155. - When asked to resolve a hostname, don't use non-exit servers unless
  29156. requested to do so. This allows servers with broken DNS to be
  29157. useful to the network.
  29158. - Divide eventdns log messages into warn and info messages.
  29159. - Reserve the nickname "Unnamed" for routers that can't pick
  29160. a hostname: any router can call itself Unnamed; directory
  29161. authorities will never allocate Unnamed to any particular router;
  29162. clients won't believe that any router is the canonical Unnamed.
  29163. - Only include function names in log messages for info/debug messages.
  29164. For notice/warn/err, the content of the message should be clear on
  29165. its own, and printing the function name only confuses users.
  29166. - Avoid some false positives during reachability testing: don't try
  29167. to test via a server that's on the same /24 as us.
  29168. - If we fail to build a circuit to an intended enclave, and it's
  29169. not mandatory that we use that enclave, stop wanting it.
  29170. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  29171. OpenBSD. (We had previously disabled threads on these platforms
  29172. because they didn't have working thread-safe resolver functions.)
  29173. o Major bugfixes, anonymity/security:
  29174. - If a client asked for a server by name, and there's a named server
  29175. in our network-status but we don't have its descriptor yet, we
  29176. could return an unnamed server instead.
  29177. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  29178. to be sent to a server's DNS resolver. This only affects NetBSD
  29179. and other platforms that do not bounds-check tolower().
  29180. - Reject (most) attempts to use Tor circuits with length one. (If
  29181. many people start using Tor as a one-hop proxy, exit nodes become
  29182. a more attractive target for compromise.)
  29183. - Just because your DirPort is open doesn't mean people should be
  29184. able to remotely teach you about hidden service descriptors. Now
  29185. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  29186. o Major bugfixes, other:
  29187. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  29188. - When a client asks the server to resolve (not connect to)
  29189. an address, and it has a cached answer, give them the cached answer.
  29190. Previously, the server would give them no answer at all.
  29191. - Allow really slow clients to not hang up five minutes into their
  29192. directory downloads (suggested by Adam J. Richter).
  29193. - We were building exactly the wrong circuits when we anticipated
  29194. hidden service requirements, meaning Tor would have to build all
  29195. its circuits on demand.
  29196. - Avoid crashing when we mmap a router cache file of size 0.
  29197. - When testing reachability of our DirPort, don't launch new
  29198. tests when there's already one in progress -- unreachable
  29199. servers were stacking up dozens of testing streams.
  29200. o Minor bugfixes, correctness:
  29201. - If we're a directory mirror and we ask for "all" network status
  29202. documents, we would discard status documents from authorities
  29203. we don't recognize.
  29204. - Avoid a memory corruption bug when creating a hash table for
  29205. the first time.
  29206. - Avoid controller-triggered crash when misusing certain commands
  29207. from a v0 controller on platforms that do not handle
  29208. printf("%s",NULL) gracefully.
  29209. - Don't crash when a controller sends a third argument to an
  29210. "extendcircuit" request.
  29211. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  29212. response; fix error code when "getinfo dir/status/" fails.
  29213. - Avoid crash when telling controller stream-status and a stream
  29214. is detached.
  29215. - Patch from Adam Langley to fix assert() in eventdns.c.
  29216. - Fix a debug log message in eventdns to say "X resolved to Y"
  29217. instead of "X resolved to X".
  29218. - Make eventdns give strings for DNS errors, not just error numbers.
  29219. - Track unreachable entry guards correctly: don't conflate
  29220. 'unreachable by us right now' with 'listed as down by the directory
  29221. authorities'. With the old code, if a guard was unreachable by
  29222. us but listed as running, it would clog our guard list forever.
  29223. - Behave correctly in case we ever have a network with more than
  29224. 2GB/s total advertised capacity.
  29225. - Make TrackExitHosts case-insensitive, and fix the behavior of
  29226. ".suffix" TrackExitHosts items to avoid matching in the middle of
  29227. an address.
  29228. - Finally fix the openssl warnings from newer gccs that believe that
  29229. ignoring a return value is okay, but casting a return value and
  29230. then ignoring it is a sign of madness.
  29231. - Prevent the contrib/exitlist script from printing the same
  29232. result more than once.
  29233. - Patch from Steve Hildrey: Generate network status correctly on
  29234. non-versioning dirservers.
  29235. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  29236. via Tor; otherwise you'll think you're the exit node's IP address.
  29237. o Minor bugfixes, performance:
  29238. - Two small performance improvements on parsing descriptors.
  29239. - Major performance improvement on inserting descriptors: change
  29240. algorithm from O(n^2) to O(n).
  29241. - Make the common memory allocation path faster on machines where
  29242. malloc(0) returns a pointer.
  29243. - Start remembering X-Your-Address-Is directory hints even if you're
  29244. a client, so you can become a server more smoothly.
  29245. - Avoid duplicate entries on MyFamily line in server descriptor.
  29246. o Packaging, features:
  29247. - Remove architecture from OS X builds. The official builds are
  29248. now universal binaries.
  29249. - The Debian package now uses --verify-config when (re)starting,
  29250. to distinguish configuration errors from other errors.
  29251. - Update RPMs to require libevent 1.1b.
  29252. o Packaging, bugfixes:
  29253. - Patches so Tor builds with MinGW on Windows.
  29254. - Patches so Tor might run on Cygwin again.
  29255. - Resume building on non-gcc compilers and ancient gcc. Resume
  29256. building with the -O0 compile flag. Resume building cleanly on
  29257. Debian woody.
  29258. - Run correctly on OS X platforms with case-sensitive filesystems.
  29259. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  29260. - Add autoconf checks so Tor can build on Solaris x86 again.
  29261. o Documentation
  29262. - Documented (and renamed) ServerDNSSearchDomains and
  29263. ServerDNSResolvConfFile options.
  29264. - Be clearer that the *ListenAddress directives can be repeated
  29265. multiple times.
  29266. Changes in version 0.1.1.24 - 2006-09-29
  29267. o Major bugfixes:
  29268. - Allow really slow clients to not hang up five minutes into their
  29269. directory downloads (suggested by Adam J. Richter).
  29270. - Fix major performance regression from 0.1.0.x: instead of checking
  29271. whether we have enough directory information every time we want to
  29272. do something, only check when the directory information has changed.
  29273. This should improve client CPU usage by 25-50%.
  29274. - Don't crash if, after a server has been running for a while,
  29275. it can't resolve its hostname.
  29276. o Minor bugfixes:
  29277. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  29278. - Don't crash when the controller receives a third argument to an
  29279. "extendcircuit" request.
  29280. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  29281. response; fix error code when "getinfo dir/status/" fails.
  29282. - Fix configure.in to not produce broken configure files with
  29283. more recent versions of autoconf. Thanks to Clint for his auto*
  29284. voodoo.
  29285. - Fix security bug on NetBSD that could allow someone to force
  29286. uninitialized RAM to be sent to a server's DNS resolver. This
  29287. only affects NetBSD and other platforms that do not bounds-check
  29288. tolower().
  29289. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  29290. methods: these are known to be buggy.
  29291. - If we're a directory mirror and we ask for "all" network status
  29292. documents, we would discard status documents from authorities
  29293. we don't recognize.
  29294. Changes in version 0.1.2.1-alpha - 2006-08-27
  29295. o Major features:
  29296. - Add "eventdns" async dns library from Adam Langley, tweaked to
  29297. build on OSX and Windows. Only enabled if you pass the
  29298. --enable-eventdns argument to configure.
  29299. - Allow servers with no hostname or IP address to learn their
  29300. IP address by asking the directory authorities. This code only
  29301. kicks in when you would normally have exited with a "no address"
  29302. error. Nothing's authenticated, so use with care.
  29303. - Rather than waiting a fixed amount of time between retrying
  29304. application connections, we wait only 5 seconds for the first,
  29305. 10 seconds for the second, and 15 seconds for each retry after
  29306. that. Hopefully this will improve the expected user experience.
  29307. - Patch from Tup to add support for transparent AP connections:
  29308. this basically bundles the functionality of trans-proxy-tor
  29309. into the Tor mainline. Now hosts with compliant pf/netfilter
  29310. implementations can redirect TCP connections straight to Tor
  29311. without diverting through SOCKS. Needs docs.
  29312. - Busy directory servers save lots of memory by spooling server
  29313. descriptors, v1 directories, and v2 networkstatus docs to buffers
  29314. as needed rather than en masse. Also mmap the cached-routers
  29315. files, so we don't need to keep the whole thing in memory too.
  29316. - Automatically avoid picking more than one node from the same
  29317. /16 network when constructing a circuit.
  29318. - Revise and clean up the torrc.sample that we ship with; add
  29319. a section for BandwidthRate and BandwidthBurst.
  29320. o Minor features:
  29321. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  29322. split connection_t into edge, or, dir, control, and base structs.
  29323. These will save quite a bit of memory on busy servers, and they'll
  29324. also help us track down bugs in the code and bugs in the spec.
  29325. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  29326. or later. Log when we are doing this, so we can diagnose it when
  29327. it fails. (Also, recommend libevent 1.1b for kqueue and
  29328. win32 methods; deprecate libevent 1.0b harder; make libevent
  29329. recommendation system saner.)
  29330. - Start being able to build universal binaries on OS X (thanks
  29331. to Phobos).
  29332. - Export the default exit policy via the control port, so controllers
  29333. don't need to guess what it is / will be later.
  29334. - Add a man page entry for ProtocolWarnings.
  29335. - Add TestVia config option to the man page.
  29336. - Remove even more protocol-related warnings from Tor server logs,
  29337. such as bad TLS handshakes and malformed begin cells.
  29338. - Stop fetching descriptors if you're not a dir mirror and you
  29339. haven't tried to establish any circuits lately. [This currently
  29340. causes some dangerous behavior, because when you start up again
  29341. you'll use your ancient server descriptors.]
  29342. - New DirPort behavior: if you have your dirport set, you download
  29343. descriptors aggressively like a directory mirror, whether or not
  29344. your ORPort is set.
  29345. - Get rid of the router_retry_connections notion. Now routers
  29346. no longer try to rebuild long-term connections to directory
  29347. authorities, and directory authorities no longer try to rebuild
  29348. long-term connections to all servers. We still don't hang up
  29349. connections in these two cases though -- we need to look at it
  29350. more carefully to avoid flapping, and we likely need to wait til
  29351. 0.1.1.x is obsolete.
  29352. - Drop compatibility with obsolete Tors that permit create cells
  29353. to have the wrong circ_id_type.
  29354. - Re-enable per-connection rate limiting. Get rid of the "OP
  29355. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  29356. separate global buckets that apply depending on what sort of conn
  29357. it is.
  29358. - Start publishing one minute or so after we find our ORPort
  29359. to be reachable. This will help reduce the number of descriptors
  29360. we have for ourselves floating around, since it's quite likely
  29361. other things (e.g. DirPort) will change during that minute too.
  29362. - Fork the v1 directory protocol into its own spec document,
  29363. and mark dir-spec.txt as the currently correct (v2) spec.
  29364. o Major bugfixes:
  29365. - When we find our DirPort to be reachable, publish a new descriptor
  29366. so we'll tell the world (reported by pnx).
  29367. - Publish a new descriptor after we hup/reload. This is important
  29368. if our config has changed such that we'll want to start advertising
  29369. our DirPort now, etc.
  29370. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  29371. - When we have a state file we cannot parse, tell the user and
  29372. move it aside. Now we avoid situations where the user starts
  29373. Tor in 1904, Tor writes a state file with that timestamp in it,
  29374. the user fixes her clock, and Tor refuses to start.
  29375. - Fix configure.in to not produce broken configure files with
  29376. more recent versions of autoconf. Thanks to Clint for his auto*
  29377. voodoo.
  29378. - "tor --verify-config" now exits with -1(255) or 0 depending on
  29379. whether the config options are bad or good.
  29380. - Resolve bug 321 when using dnsworkers: append a period to every
  29381. address we resolve at the exit node, so that we do not accidentally
  29382. pick up local addresses, and so that failing searches are retried
  29383. in the resolver search domains. (This is already solved for
  29384. eventdns.) (This breaks Blossom servers for now.)
  29385. - If we are using an exit enclave and we can't connect, e.g. because
  29386. its webserver is misconfigured to not listen on localhost, then
  29387. back off and try connecting from somewhere else before we fail.
  29388. o Minor bugfixes:
  29389. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  29390. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  29391. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  29392. when the IP address is mapped through MapAddress to a hostname.
  29393. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  29394. useless IPv6 DNS resolves.
  29395. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  29396. before we execute the signal, in case the signal shuts us down.
  29397. - Clean up AllowInvalidNodes man page entry.
  29398. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  29399. - Add more asserts to track down an assert error on a windows Tor
  29400. server with connection_add being called with socket == -1.
  29401. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  29402. - Fix misleading log messages: an entry guard that is "unlisted",
  29403. as well as not known to be "down" (because we've never heard
  29404. of it), is not therefore "up".
  29405. - Remove code to special-case "-cvs" ending, since it has not
  29406. actually mattered since 0.0.9.
  29407. - Make our socks5 handling more robust to broken socks clients:
  29408. throw out everything waiting on the buffer in between socks
  29409. handshake phases, since they can't possibly (so the theory
  29410. goes) have predicted what we plan to respond to them.
  29411. Changes in version 0.1.1.23 - 2006-07-30
  29412. o Major bugfixes:
  29413. - Fast Tor servers, especially exit nodes, were triggering asserts
  29414. due to a bug in handling the list of pending DNS resolves. Some
  29415. bugs still remain here; we're hunting them.
  29416. - Entry guards could crash clients by sending unexpected input.
  29417. - More fixes on reachability testing: if you find yourself reachable,
  29418. then don't ever make any client requests (so you stop predicting
  29419. circuits), then hup or have your clock jump, then later your IP
  29420. changes, you won't think circuits are working, so you won't try to
  29421. test reachability, so you won't publish.
  29422. o Minor bugfixes:
  29423. - Avoid a crash if the controller does a resetconf firewallports
  29424. and then a setconf fascistfirewall=1.
  29425. - Avoid an integer underflow when the dir authority decides whether
  29426. a router is stable: we might wrongly label it stable, and compute
  29427. a slightly wrong median stability, when a descriptor is published
  29428. later than now.
  29429. - Fix a place where we might trigger an assert if we can't build our
  29430. own server descriptor yet.
  29431. Changes in version 0.1.1.22 - 2006-07-05
  29432. o Major bugfixes:
  29433. - Fix a big bug that was causing servers to not find themselves
  29434. reachable if they changed IP addresses. Since only 0.1.1.22+
  29435. servers can do reachability testing correctly, now we automatically
  29436. make sure to test via one of these.
  29437. - Fix to allow clients and mirrors to learn directory info from
  29438. descriptor downloads that get cut off partway through.
  29439. - Directory authorities had a bug in deciding if a newly published
  29440. descriptor was novel enough to make everybody want a copy -- a few
  29441. servers seem to be publishing new descriptors many times a minute.
  29442. o Minor bugfixes:
  29443. - Fix a rare bug that was causing some servers to complain about
  29444. "closing wedged cpuworkers" and skip some circuit create requests.
  29445. - Make the Exit flag in directory status documents actually work.
  29446. Changes in version 0.1.1.21 - 2006-06-10
  29447. o Crash and assert fixes from 0.1.1.20:
  29448. - Fix a rare crash on Tor servers that have enabled hibernation.
  29449. - Fix a seg fault on startup for Tor networks that use only one
  29450. directory authority.
  29451. - Fix an assert from a race condition that occurs on Tor servers
  29452. while exiting, where various threads are trying to log that they're
  29453. exiting, and delete the logs, at the same time.
  29454. - Make our unit tests pass again on certain obscure platforms.
  29455. o Other fixes:
  29456. - Add support for building SUSE RPM packages.
  29457. - Speed up initial bootstrapping for clients: if we are making our
  29458. first ever connection to any entry guard, then don't mark it down
  29459. right after that.
  29460. - When only one Tor server in the network is labelled as a guard,
  29461. and we've already picked him, we would cycle endlessly picking him
  29462. again, being unhappy about it, etc. Now we specifically exclude
  29463. current guards when picking a new guard.
  29464. - Servers send create cells more reliably after the TLS connection
  29465. is established: we were sometimes forgetting to send half of them
  29466. when we had more than one pending.
  29467. - If we get a create cell that asks us to extend somewhere, but the
  29468. Tor server there doesn't match the expected digest, we now send
  29469. a destroy cell back, rather than silently doing nothing.
  29470. - Make options->RedirectExit work again.
  29471. - Make cookie authentication for the controller work again.
  29472. - Stop being picky about unusual characters in the arguments to
  29473. mapaddress. It's none of our business.
  29474. - Add a new config option "TestVia" that lets you specify preferred
  29475. middle hops to use for test circuits. Perhaps this will let me
  29476. debug the reachability problems better.
  29477. o Log / documentation fixes:
  29478. - If we're a server and some peer has a broken TLS certificate, don't
  29479. log about it unless ProtocolWarnings is set, i.e., we want to hear
  29480. about protocol violations by others.
  29481. - Fix spelling of VirtualAddrNetwork in man page.
  29482. - Add a better explanation at the top of the autogenerated torrc file
  29483. about what happened to our old torrc.
  29484. Changes in version 0.1.1.20 - 2006-05-23
  29485. o Bugfixes:
  29486. - Downgrade a log severity where servers complain that they're
  29487. invalid.
  29488. - Avoid a compile warning on FreeBSD.
  29489. - Remove string size limit on NEWDESC messages; solve bug 291.
  29490. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  29491. more thoroughly when we're running on windows.
  29492. Changes in version 0.1.1.19-rc - 2006-05-03
  29493. o Minor bugs:
  29494. - Regenerate our local descriptor if it's dirty and we try to use
  29495. it locally (e.g. if it changes during reachability detection).
  29496. - If we setconf our ORPort to 0, we continued to listen on the
  29497. old ORPort and receive connections.
  29498. - Avoid a second warning about machine/limits.h on Debian
  29499. GNU/kFreeBSD.
  29500. - Be willing to add our own routerinfo into the routerlist.
  29501. Now authorities will include themselves in their directories
  29502. and network-statuses.
  29503. - Stop trying to upload rendezvous descriptors to every
  29504. directory authority: only try the v1 authorities.
  29505. - Servers no longer complain when they think they're not
  29506. registered with the directory authorities. There were too many
  29507. false positives.
  29508. - Backport dist-rpm changes so rpms can be built without errors.
  29509. o Features:
  29510. - Implement an option, VirtualAddrMask, to set which addresses
  29511. get handed out in response to mapaddress requests. This works
  29512. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  29513. Changes in version 0.1.1.18-rc - 2006-04-10
  29514. o Major fixes:
  29515. - Work harder to download live network-statuses from all the
  29516. directory authorities we know about. Improve the threshold
  29517. decision logic so we're more robust to edge cases.
  29518. - When fetching rendezvous descriptors, we were willing to ask
  29519. v2 authorities too, which would always return 404.
  29520. o Minor fixes:
  29521. - Stop listing down or invalid nodes in the v1 directory. This will
  29522. reduce its bulk by about 1/3, and reduce load on directory
  29523. mirrors.
  29524. - When deciding whether a router is Fast or Guard-worthy, consider
  29525. his advertised BandwidthRate and not just the BandwidthCapacity.
  29526. - No longer ship INSTALL and README files -- they are useless now.
  29527. - Force rpmbuild to behave and honor target_cpu.
  29528. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  29529. - Start to include translated versions of the tor-doc-*.html
  29530. files, along with the screenshots. Still needs more work.
  29531. - Start sending back 512 and 451 errors if mapaddress fails,
  29532. rather than not sending anything back at all.
  29533. - When we fail to bind or listen on an incoming or outgoing
  29534. socket, we should close it before failing. otherwise we just
  29535. leak it. (thanks to weasel for finding.)
  29536. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  29537. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  29538. - Make NoPublish (even though deprecated) work again.
  29539. - Fix a minor security flaw where a versioning auth dirserver
  29540. could list a recommended version many times in a row to make
  29541. clients more convinced that it's recommended.
  29542. - Fix crash bug if there are two unregistered servers running
  29543. with the same nickname, one of them is down, and you ask for
  29544. them by nickname in your EntryNodes or ExitNodes. Also, try
  29545. to pick the one that's running rather than an arbitrary one.
  29546. - Fix an infinite loop we could hit if we go offline for too long.
  29547. - Complain when we hit WSAENOBUFS on recv() or write() too.
  29548. Perhaps this will help us hunt the bug.
  29549. - If you're not a versioning dirserver, don't put the string
  29550. "client-versions \nserver-versions \n" in your network-status.
  29551. - Lower the minimum required number of file descriptors to 1000,
  29552. so we can have some overhead for Valgrind on Linux, where the
  29553. default ulimit -n is 1024.
  29554. o New features:
  29555. - Add tor.dizum.com as the fifth authoritative directory server.
  29556. - Add a new config option FetchUselessDescriptors, off by default,
  29557. for when you plan to run "exitlist" on your client and you want
  29558. to know about even the non-running descriptors.
  29559. Changes in version 0.1.1.17-rc - 2006-03-28
  29560. o Major fixes:
  29561. - Clients and servers since 0.1.1.10-alpha have been expiring
  29562. connections whenever they are idle for 5 minutes and they *do*
  29563. have circuits on them. Oops. With this new version, clients will
  29564. discard their previous entry guard choices and avoid choosing
  29565. entry guards running these flawed versions.
  29566. - Fix memory leak when uncompressing concatenated zlib streams. This
  29567. was causing substantial leaks over time on Tor servers.
  29568. - The v1 directory was including servers as much as 48 hours old,
  29569. because that's how the new routerlist->routers works. Now only
  29570. include them if they're 20 hours old or less.
  29571. o Minor fixes:
  29572. - Resume building on irix64, netbsd 2.0, etc.
  29573. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  29574. "-Wall -g -O2".
  29575. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  29576. and it is confusing some users.
  29577. - Mirrors stop caching the v1 directory so often.
  29578. - Make the max number of old descriptors that a cache will hold
  29579. rise with the number of directory authorities, so we can scale.
  29580. - Change our win32 uname() hack to be more forgiving about what
  29581. win32 versions it thinks it's found.
  29582. o New features:
  29583. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  29584. server.
  29585. - When the controller's *setconf commands fail, collect an error
  29586. message in a string and hand it back to the controller.
  29587. - Make the v2 dir's "Fast" flag based on relative capacity, just
  29588. like "Stable" is based on median uptime. Name everything in the
  29589. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  29590. - Log server fingerprint on startup, so new server operators don't
  29591. have to go hunting around their filesystem for it.
  29592. - Return a robots.txt on our dirport to discourage google indexing.
  29593. - Let the controller ask for GETINFO dir/status/foo so it can ask
  29594. directly rather than connecting to the dir port. Only works when
  29595. dirport is set for now.
  29596. o New config options rather than constants in the code:
  29597. - SocksTimeout: How long do we let a socks connection wait
  29598. unattached before we fail it?
  29599. - CircuitBuildTimeout: Cull non-open circuits that were born
  29600. at least this many seconds ago.
  29601. - CircuitIdleTimeout: Cull open clean circuits that were born
  29602. at least this many seconds ago.
  29603. Changes in version 0.1.1.16-rc - 2006-03-18
  29604. o Bugfixes on 0.1.1.15-rc:
  29605. - Fix assert when the controller asks to attachstream a connect-wait
  29606. or resolve-wait stream.
  29607. - Now do address rewriting when the controller asks us to attach
  29608. to a particular circuit too. This will let Blossom specify
  29609. "moria2.exit" without having to learn what moria2's IP address is.
  29610. - Make the "tor --verify-config" command-line work again, so people
  29611. can automatically check if their torrc will parse.
  29612. - Authoritative dirservers no longer require an open connection from
  29613. a server to consider him "reachable". We need this change because
  29614. when we add new auth dirservers, old servers won't know not to
  29615. hang up on them.
  29616. - Let Tor build on Sun CC again.
  29617. - Fix an off-by-one buffer size in dirserv.c that magically never
  29618. hit our three authorities but broke sjmurdoch's own tor network.
  29619. - If we as a directory mirror don't know of any v1 directory
  29620. authorities, then don't try to cache any v1 directories.
  29621. - Stop warning about unknown servers in our family when they are
  29622. given as hex digests.
  29623. - Stop complaining as quickly to the server operator that he
  29624. hasn't registered his nickname/key binding.
  29625. - Various cleanups so we can add new V2 Auth Dirservers.
  29626. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  29627. reflect the updated flags in our v2 dir protocol.
  29628. - Resume allowing non-printable characters for exit streams (both
  29629. for connecting and for resolving). Now we tolerate applications
  29630. that don't follow the RFCs. But continue to block malformed names
  29631. at the socks side.
  29632. o Bugfixes on 0.1.0.x:
  29633. - Fix assert bug in close_logs(): when we close and delete logs,
  29634. remove them all from the global "logfiles" list.
  29635. - Fix minor integer overflow in calculating when we expect to use up
  29636. our bandwidth allocation before hibernating.
  29637. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  29638. there are multiple SSLs installed with different versions.
  29639. - When we try to be a server and Address is not explicitly set and
  29640. our hostname resolves to a private IP address, try to use an
  29641. interface address if it has a public address. Now Windows machines
  29642. that think of themselves as localhost can work by default.
  29643. o New features:
  29644. - Let the controller ask for GETINFO dir/server/foo so it can ask
  29645. directly rather than connecting to the dir port.
  29646. - Let the controller tell us about certain router descriptors
  29647. that it doesn't want Tor to use in circuits. Implement
  29648. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  29649. - New config option SafeSocks to reject all application connections
  29650. using unsafe socks protocols. Defaults to off.
  29651. Changes in version 0.1.1.15-rc - 2006-03-11
  29652. o Bugfixes and cleanups:
  29653. - When we're printing strings from the network, don't try to print
  29654. non-printable characters. This protects us against shell escape
  29655. sequence exploits, and also against attacks to fool humans into
  29656. misreading their logs.
  29657. - Fix a bug where Tor would fail to establish any connections if you
  29658. left it off for 24 hours and then started it: we were happy with
  29659. the obsolete network statuses, but they all referred to router
  29660. descriptors that were too old to fetch, so we ended up with no
  29661. valid router descriptors.
  29662. - Fix a seg fault in the controller's "getinfo orconn-status"
  29663. command while listing status on incoming handshaking connections.
  29664. Introduce a status name "NEW" for these connections.
  29665. - If we get a linelist or linelist_s config option from the torrc
  29666. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  29667. silently resetting it to its default.
  29668. - Don't abandon entry guards until they've been down or gone for
  29669. a whole month.
  29670. - Cleaner and quieter log messages.
  29671. o New features:
  29672. - New controller signal NEWNYM that makes new application requests
  29673. use clean circuits.
  29674. - Add a new circuit purpose 'controller' to let the controller ask
  29675. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  29676. controller command to let you specify the purpose if you're
  29677. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  29678. command to let you change a circuit's purpose after it's been
  29679. created.
  29680. - Accept "private:*" in routerdesc exit policies; not generated yet
  29681. because older Tors do not understand it.
  29682. - Add BSD-style contributed startup script "rc.subr" from Peter
  29683. Thoenen.
  29684. Changes in version 0.1.1.14-alpha - 2006-02-20
  29685. o Bugfixes on 0.1.1.x:
  29686. - Don't die if we ask for a stdout or stderr log (even implicitly)
  29687. and we're set to RunAsDaemon -- just warn.
  29688. - We still had a few bugs in the OR connection rotation code that
  29689. caused directory servers to slowly aggregate connections to other
  29690. fast Tor servers. This time for sure!
  29691. - Make log entries on Win32 include the name of the function again.
  29692. - We were treating a pair of exit policies if they were equal even
  29693. if one said accept and the other said reject -- causing us to
  29694. not always publish a new descriptor since we thought nothing
  29695. had changed.
  29696. - Retry pending server downloads as well as pending networkstatus
  29697. downloads when we unexpectedly get a socks request.
  29698. - We were ignoring the IS_FAST flag in the directory status,
  29699. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  29700. connections.
  29701. - If the controller's SAVECONF command fails (e.g. due to file
  29702. permissions), let the controller know that it failed.
  29703. o Features:
  29704. - If we're trying to be a Tor server and running Windows 95/98/ME
  29705. as a server, explain that we'll likely crash.
  29706. - When we're a server, a client asks for an old-style directory,
  29707. and our write bucket is empty, don't give it to him. This way
  29708. small servers can continue to serve the directory *sometimes*,
  29709. without getting overloaded.
  29710. - Compress exit policies even more -- look for duplicate lines
  29711. and remove them.
  29712. - Clients now honor the "guard" flag in the router status when
  29713. picking entry guards, rather than looking at is_fast or is_stable.
  29714. - Retain unrecognized lines in $DATADIR/state file, so that we can
  29715. be forward-compatible.
  29716. - Generate 18.0.0.0/8 address policy format in descs when we can;
  29717. warn when the mask is not reducible to a bit-prefix.
  29718. - Let the user set ControlListenAddress in the torrc. This can be
  29719. dangerous, but there are some cases (like a secured LAN) where it
  29720. makes sense.
  29721. - Split ReachableAddresses into ReachableDirAddresses and
  29722. ReachableORAddresses, so we can restrict Dir conns to port 80
  29723. and OR conns to port 443.
  29724. - Now we can target arch and OS in rpm builds (contributed by
  29725. Phobos). Also make the resulting dist-rpm filename match the
  29726. target arch.
  29727. - New config options to help controllers: FetchServerDescriptors
  29728. and FetchHidServDescriptors for whether to fetch server
  29729. info and hidserv info or let the controller do it, and
  29730. PublishServerDescriptor and PublishHidServDescriptors.
  29731. - Also let the controller set the __AllDirActionsPrivate config
  29732. option if you want all directory fetches/publishes to happen via
  29733. Tor (it assumes your controller bootstraps your circuits).
  29734. Changes in version 0.1.0.17 - 2006-02-17
  29735. o Crash bugfixes on 0.1.0.x:
  29736. - When servers with a non-zero DirPort came out of hibernation,
  29737. sometimes they would trigger an assert.
  29738. o Other important bugfixes:
  29739. - On platforms that don't have getrlimit (like Windows), we were
  29740. artificially constraining ourselves to a max of 1024
  29741. connections. Now just assume that we can handle as many as 15000
  29742. connections. Hopefully this won't cause other problems.
  29743. o Backported features:
  29744. - When we're a server, a client asks for an old-style directory,
  29745. and our write bucket is empty, don't give it to him. This way
  29746. small servers can continue to serve the directory *sometimes*,
  29747. without getting overloaded.
  29748. - Whenever you get a 503 in response to a directory fetch, try
  29749. once more. This will become important once servers start sending
  29750. 503's whenever they feel busy.
  29751. - Fetch a new directory every 120 minutes, not every 40 minutes.
  29752. Now that we have hundreds of thousands of users running the old
  29753. directory algorithm, it's starting to hurt a lot.
  29754. - Bump up the period for forcing a hidden service descriptor upload
  29755. from 20 minutes to 1 hour.
  29756. Changes in version 0.1.1.13-alpha - 2006-02-09
  29757. o Crashes in 0.1.1.x:
  29758. - When you tried to setconf ORPort via the controller, Tor would
  29759. crash. So people using TorCP to become a server were sad.
  29760. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  29761. servers. The problem appears to be something do with OpenSSL's
  29762. random number generation, or how we call it, or something. Let me
  29763. know if the crashes continue.
  29764. - Turn crypto hardware acceleration off by default, until we find
  29765. somebody smart who can test it for us. (It appears to produce
  29766. seg faults in at least some cases.)
  29767. - Fix a rare assert error when we've tried all intro points for
  29768. a hidden service and we try fetching the service descriptor again:
  29769. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  29770. o Major fixes:
  29771. - Fix a major load balance bug: we were round-robining in 16 KB
  29772. chunks, and servers with bandwidthrate of 20 KB, while downloading
  29773. a 600 KB directory, would starve their other connections. Now we
  29774. try to be a bit more fair.
  29775. - Dir authorities and mirrors were never expiring the newest
  29776. descriptor for each server, causing memory and directory bloat.
  29777. - Fix memory-bloating and connection-bloating bug on servers: We
  29778. were never closing any connection that had ever had a circuit on
  29779. it, because we were checking conn->n_circuits == 0, yet we had a
  29780. bug that let it go negative.
  29781. - Make Tor work using squid as your http proxy again -- squid
  29782. returns an error if you ask for a URL that's too long, and it uses
  29783. a really generic error message. Plus, many people are behind a
  29784. transparent squid so they don't even realize it.
  29785. - On platforms that don't have getrlimit (like Windows), we were
  29786. artificially constraining ourselves to a max of 1024
  29787. connections. Now just assume that we can handle as many as 15000
  29788. connections. Hopefully this won't cause other problems.
  29789. - Add a new config option ExitPolicyRejectPrivate which defaults to
  29790. 1. This means all exit policies will begin with rejecting private
  29791. addresses, unless the server operator explicitly turns it off.
  29792. o Major features:
  29793. - Clients no longer download descriptors for non-running
  29794. descriptors.
  29795. - Before we add new directory authorities, we should make it
  29796. clear that only v1 authorities should receive/publish hidden
  29797. service descriptors.
  29798. o Minor features:
  29799. - As soon as we've fetched some more directory info, immediately
  29800. try to download more server descriptors. This way we don't have
  29801. a 10 second pause during initial bootstrapping.
  29802. - Remove even more loud log messages that the server operator can't
  29803. do anything about.
  29804. - When we're running an obsolete or un-recommended version, make
  29805. the log message more clear about what the problem is and what
  29806. versions *are* still recommended.
  29807. - Provide a more useful warn message when our onion queue gets full:
  29808. the CPU is too slow or the exit policy is too liberal.
  29809. - Don't warn when we receive a 503 from a dirserver/cache -- this
  29810. will pave the way for them being able to refuse if they're busy.
  29811. - When we fail to bind a listener, try to provide a more useful
  29812. log message: e.g., "Is Tor already running?"
  29813. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  29814. Goldberg can prove things about our handshake protocol more
  29815. easily.
  29816. - MaxConn has been obsolete for a while now. Document the ConnLimit
  29817. config option, which is a *minimum* number of file descriptors
  29818. that must be available else Tor refuses to start.
  29819. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  29820. if you log to syslog and want something other than LOG_DAEMON.
  29821. - Make dirservers generate a separate "guard" flag to mean,
  29822. "would make a good entry guard". Make clients parse it and vote
  29823. on it. Not used by clients yet.
  29824. - Implement --with-libevent-dir option to ./configure. Also, improve
  29825. search techniques to find libevent, and use those for openssl too.
  29826. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  29827. - Only start testing reachability once we've established a
  29828. circuit. This will make startup on dirservers less noisy.
  29829. - Don't try to upload hidden service descriptors until we have
  29830. established a circuit.
  29831. - Fix the controller's "attachstream 0" command to treat conn like
  29832. it just connected, doing address remapping, handling .exit and
  29833. .onion idioms, and so on. Now we're more uniform in making sure
  29834. that the controller hears about new and closing connections.
  29835. Changes in version 0.1.1.12-alpha - 2006-01-11
  29836. o Bugfixes on 0.1.1.x:
  29837. - The fix to close duplicate server connections was closing all
  29838. Tor client connections if they didn't establish a circuit
  29839. quickly enough. Oops.
  29840. - Fix minor memory issue (double-free) that happened on exit.
  29841. o Bugfixes on 0.1.0.x:
  29842. - Tor didn't warn when it failed to open a log file.
  29843. Changes in version 0.1.1.11-alpha - 2006-01-10
  29844. o Crashes in 0.1.1.x:
  29845. - Include all the assert/crash fixes from 0.1.0.16.
  29846. - If you start Tor and then quit very quickly, there were some
  29847. races that tried to free things that weren't allocated yet.
  29848. - Fix a rare memory stomp if you're running hidden services.
  29849. - Fix segfault when specifying DirServer in config without nickname.
  29850. - Fix a seg fault when you finish connecting to a server but at
  29851. that moment you dump his server descriptor.
  29852. - Extendcircuit and Attachstream controller commands would
  29853. assert/crash if you don't give them enough arguments.
  29854. - Fix an assert error when we're out of space in the connection_list
  29855. and we try to post a hidden service descriptor (reported by weasel).
  29856. - If you specify a relative torrc path and you set RunAsDaemon in
  29857. your torrc, then it chdir()'s to the new directory. If you HUP,
  29858. it tries to load the new torrc location, fails, and exits.
  29859. The fix: no longer allow a relative path to torrc using -f.
  29860. o Major features:
  29861. - Implement "entry guards": automatically choose a handful of entry
  29862. nodes and stick with them for all circuits. Only pick new guards
  29863. when the ones you have are unsuitable, and if the old guards
  29864. become suitable again, switch back. This will increase security
  29865. dramatically against certain end-point attacks. The EntryNodes
  29866. config option now provides some hints about which entry guards you
  29867. want to use most; and StrictEntryNodes means to only use those.
  29868. - New directory logic: download by descriptor digest, not by
  29869. fingerprint. Caches try to download all listed digests from
  29870. authorities; clients try to download "best" digests from caches.
  29871. This avoids partitioning and isolating attacks better.
  29872. - Make the "stable" router flag in network-status be the median of
  29873. the uptimes of running valid servers, and make clients pay
  29874. attention to the network-status flags. Thus the cutoff adapts
  29875. to the stability of the network as a whole, making IRC, IM, etc
  29876. connections more reliable.
  29877. o Major fixes:
  29878. - Tor servers with dynamic IP addresses were needing to wait 18
  29879. hours before they could start doing reachability testing using
  29880. the new IP address and ports. This is because they were using
  29881. the internal descriptor to learn what to test, yet they were only
  29882. rebuilding the descriptor once they decided they were reachable.
  29883. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  29884. to download certain server descriptors, throw them away, and then
  29885. fetch them again after 30 minutes. Now mirrors throw away these
  29886. server descriptors so clients can't get them.
  29887. - We were leaving duplicate connections to other ORs open for a week,
  29888. rather than closing them once we detect a duplicate. This only
  29889. really affected authdirservers, but it affected them a lot.
  29890. - Spread the authdirservers' reachability testing over the entire
  29891. testing interval, so we don't try to do 500 TLS's at once every
  29892. 20 minutes.
  29893. o Minor fixes:
  29894. - If the network is down, and we try to connect to a conn because
  29895. we have a circuit in mind, and we timeout (30 seconds) because the
  29896. network never answers, we were expiring the circuit, but we weren't
  29897. obsoleting the connection or telling the entry_guards functions.
  29898. - Some Tor servers process billions of cells per day. These statistics
  29899. need to be uint64_t's.
  29900. - Check for integer overflows in more places, when adding elements
  29901. to smartlists. This could possibly prevent a buffer overflow
  29902. on malicious huge inputs. I don't see any, but I haven't looked
  29903. carefully.
  29904. - ReachableAddresses kept growing new "reject *:*" lines on every
  29905. setconf/reload.
  29906. - When you "setconf log" via the controller, it should remove all
  29907. logs. We were automatically adding back in a "log notice stdout".
  29908. - Newly bootstrapped Tor networks couldn't establish hidden service
  29909. circuits until they had nodes with high uptime. Be more tolerant.
  29910. - We were marking servers down when they could not answer every piece
  29911. of the directory request we sent them. This was far too harsh.
  29912. - Fix the torify (tsocks) config file to not use Tor for localhost
  29913. connections.
  29914. - Directory authorities now go to the proper authority when asking for
  29915. a networkstatus, even when they want a compressed one.
  29916. - Fix a harmless bug that was causing Tor servers to log
  29917. "Got an end because of misc error, but we're not an AP. Closing."
  29918. - Authorities were treating their own descriptor changes as cosmetic,
  29919. meaning the descriptor available in the network-status and the
  29920. descriptor that clients downloaded were different.
  29921. - The OS X installer was adding a symlink for tor_resolve but
  29922. the binary was called tor-resolve (reported by Thomas Hardly).
  29923. - Workaround a problem with some http proxies where they refuse GET
  29924. requests that specify "Content-Length: 0" (reported by Adrian).
  29925. - Fix wrong log message when you add a "HiddenServiceNodes" config
  29926. line without any HiddenServiceDir line (reported by Chris Thomas).
  29927. o Minor features:
  29928. - Write the TorVersion into the state file so we have a prayer of
  29929. keeping forward and backward compatibility.
  29930. - Revive the FascistFirewall config option rather than eliminating it:
  29931. now it's a synonym for ReachableAddresses *:80,*:443.
  29932. - Clients choose directory servers from the network status lists,
  29933. not from their internal list of router descriptors. Now they can
  29934. go to caches directly rather than needing to go to authorities
  29935. to bootstrap.
  29936. - Directory authorities ignore router descriptors that have only
  29937. cosmetic differences: do this for 0.1.0.x servers now too.
  29938. - Add a new flag to network-status indicating whether the server
  29939. can answer v2 directory requests too.
  29940. - Authdirs now stop whining so loudly about bad descriptors that
  29941. they fetch from other dirservers. So when there's a log complaint,
  29942. it's for sure from a freshly uploaded descriptor.
  29943. - Reduce memory requirements in our structs by changing the order
  29944. of fields.
  29945. - There used to be two ways to specify your listening ports in a
  29946. server descriptor: on the "router" line and with a separate "ports"
  29947. line. Remove support for the "ports" line.
  29948. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  29949. a panic button: if we get flooded with unusable servers we can
  29950. revert to only listing servers in the approved-routers file.
  29951. - Auth dir servers can now mark a fingerprint as "!reject" or
  29952. "!invalid" in the approved-routers file (as its nickname), to
  29953. refuse descriptors outright or include them but marked as invalid.
  29954. - Servers store bandwidth history across restarts/crashes.
  29955. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  29956. get a better idea of why their circuits failed. Not used yet.
  29957. - Directory mirrors now cache up to 16 unrecognized network-status
  29958. docs. Now we can add new authdirservers and they'll be cached too.
  29959. - When picking a random directory, prefer non-authorities if any
  29960. are known.
  29961. - New controller option "getinfo desc/all-recent" to fetch the
  29962. latest server descriptor for every router that Tor knows about.
  29963. Changes in version 0.1.0.16 - 2006-01-02
  29964. o Crash bugfixes on 0.1.0.x:
  29965. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  29966. corrupting the heap, losing FDs, or crashing when we need to resize
  29967. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  29968. - It turns out sparc64 platforms crash on unaligned memory access
  29969. too -- so detect and avoid this.
  29970. - Handle truncated compressed data correctly (by detecting it and
  29971. giving an error).
  29972. - Fix possible-but-unlikely free(NULL) in control.c.
  29973. - When we were closing connections, there was a rare case that
  29974. stomped on memory, triggering seg faults and asserts.
  29975. - Avoid potential infinite recursion when building a descriptor. (We
  29976. don't know that it ever happened, but better to fix it anyway.)
  29977. - We were neglecting to unlink marked circuits from soon-to-close OR
  29978. connections, which caused some rare scribbling on freed memory.
  29979. - Fix a memory stomping race bug when closing the joining point of two
  29980. rendezvous circuits.
  29981. - Fix an assert in time parsing found by Steven Murdoch.
  29982. o Other bugfixes on 0.1.0.x:
  29983. - When we're doing reachability testing, provide more useful log
  29984. messages so the operator knows what to expect.
  29985. - Do not check whether DirPort is reachable when we are suppressing
  29986. advertising it because of hibernation.
  29987. - When building with -static or on Solaris, we sometimes needed -ldl.
  29988. - When we're deciding whether a stream has enough circuits around
  29989. that can handle it, count the freshly dirty ones and not the ones
  29990. that are so dirty they won't be able to handle it.
  29991. - When we're expiring old circuits, we had a logic error that caused
  29992. us to close new rendezvous circuits rather than old ones.
  29993. - Give a more helpful log message when you try to change ORPort via
  29994. the controller: you should upgrade Tor if you want that to work.
  29995. - We were failing to parse Tor versions that start with "Tor ".
  29996. - Tolerate faulty streams better: when a stream fails for reason
  29997. exitpolicy, stop assuming that the router is lying about his exit
  29998. policy. When a stream fails for reason misc, allow it to retry just
  29999. as if it was resolvefailed. When a stream has failed three times,
  30000. reset its failure count so we can try again and get all three tries.
  30001. Changes in version 0.1.1.10-alpha - 2005-12-11
  30002. o Correctness bugfixes on 0.1.0.x:
  30003. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  30004. corrupting the heap, losing FDs, or crashing when we need to resize
  30005. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  30006. - Stop doing the complex voodoo overkill checking for insecure
  30007. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  30008. - When we were closing connections, there was a rare case that
  30009. stomped on memory, triggering seg faults and asserts.
  30010. - We were neglecting to unlink marked circuits from soon-to-close OR
  30011. connections, which caused some rare scribbling on freed memory.
  30012. - When we're deciding whether a stream has enough circuits around
  30013. that can handle it, count the freshly dirty ones and not the ones
  30014. that are so dirty they won't be able to handle it.
  30015. - Recover better from TCP connections to Tor servers that are
  30016. broken but don't tell you (it happens!); and rotate TLS
  30017. connections once a week.
  30018. - When we're expiring old circuits, we had a logic error that caused
  30019. us to close new rendezvous circuits rather than old ones.
  30020. - Fix a scary-looking but apparently harmless bug where circuits
  30021. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  30022. servers, and never switch to state CIRCUIT_STATE_OPEN.
  30023. - When building with -static or on Solaris, we sometimes needed to
  30024. build with -ldl.
  30025. - Give a useful message when people run Tor as the wrong user,
  30026. rather than telling them to start chowning random directories.
  30027. - We were failing to inform the controller about new .onion streams.
  30028. o Security bugfixes on 0.1.0.x:
  30029. - Refuse server descriptors if the fingerprint line doesn't match
  30030. the included identity key. Tor doesn't care, but other apps (and
  30031. humans) might actually be trusting the fingerprint line.
  30032. - We used to kill the circuit when we receive a relay command we
  30033. don't recognize. Now we just drop it.
  30034. - Start obeying our firewall options more rigorously:
  30035. . If we can't get to a dirserver directly, try going via Tor.
  30036. . Don't ever try to connect (as a client) to a place our
  30037. firewall options forbid.
  30038. . If we specify a proxy and also firewall options, obey the
  30039. firewall options even when we're using the proxy: some proxies
  30040. can only proxy to certain destinations.
  30041. - Fix a bug found by Lasse Overlier: when we were making internal
  30042. circuits (intended to be cannibalized later for rendezvous and
  30043. introduction circuits), we were picking them so that they had
  30044. useful exit nodes. There was no need for this, and it actually
  30045. aids some statistical attacks.
  30046. - Start treating internal circuits and exit circuits separately.
  30047. It's important to keep them separate because internal circuits
  30048. have their last hops picked like middle hops, rather than like
  30049. exit hops. So exiting on them will break the user's expectations.
  30050. o Bugfixes on 0.1.1.x:
  30051. - Take out the mis-feature where we tried to detect IP address
  30052. flapping for people with DynDNS, and chose not to upload a new
  30053. server descriptor sometimes.
  30054. - Try to be compatible with OpenSSL 0.9.6 again.
  30055. - Log fix: when the controller is logging about .onion addresses,
  30056. sometimes it didn't include the ".onion" part of the address.
  30057. - Don't try to modify options->DirServers internally -- if the
  30058. user didn't specify any, just add the default ones directly to
  30059. the trusted dirserver list. This fixes a bug where people running
  30060. controllers would use SETCONF on some totally unrelated config
  30061. option, and Tor would start yelling at them about changing their
  30062. DirServer lines.
  30063. - Let the controller's redirectstream command specify a port, in
  30064. case the controller wants to change that too.
  30065. - When we requested a pile of server descriptors, we sometimes
  30066. accidentally launched a duplicate request for the first one.
  30067. - Bugfix for trackhostexits: write down the fingerprint of the
  30068. chosen exit, not its nickname, because the chosen exit might not
  30069. be verified.
  30070. - When parsing foo.exit, if foo is unknown, and we are leaving
  30071. circuits unattached, set the chosen_exit field and leave the
  30072. address empty. This matters because controllers got confused
  30073. otherwise.
  30074. - Directory authorities no longer try to download server
  30075. descriptors that they know they will reject.
  30076. o Features and updates:
  30077. - Replace balanced trees with hash tables: this should make stuff
  30078. significantly faster.
  30079. - Resume using the AES counter-mode implementation that we ship,
  30080. rather than OpenSSL's. Ours is significantly faster.
  30081. - Many other CPU and memory improvements.
  30082. - Add a new config option FastFirstHopPK (on by default) so clients
  30083. do a trivial crypto handshake for their first hop, since TLS has
  30084. already taken care of confidentiality and authentication.
  30085. - Add a new config option TestSocks so people can see if their
  30086. applications are using socks4, socks4a, socks5-with-ip, or
  30087. socks5-with-hostname. This way they don't have to keep mucking
  30088. with tcpdump and wondering if something got cached somewhere.
  30089. - Warn when listening on a public address for socks. I suspect a
  30090. lot of people are setting themselves up as open socks proxies,
  30091. and they have no idea that jerks on the Internet are using them,
  30092. since they simply proxy the traffic into the Tor network.
  30093. - Add "private:*" as an alias in configuration for policies. Now
  30094. you can simplify your exit policy rather than needing to list
  30095. every single internal or nonroutable network space.
  30096. - Add a new controller event type that allows controllers to get
  30097. all server descriptors that were uploaded to a router in its role
  30098. as authoritative dirserver.
  30099. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  30100. tor-doc-server.html, and stylesheet.css in the tarball.
  30101. - Stop shipping tor-doc.html in the tarball.
  30102. Changes in version 0.1.1.9-alpha - 2005-11-15
  30103. o Usability improvements:
  30104. - Start calling it FooListenAddress rather than FooBindAddress,
  30105. since few of our users know what it means to bind an address
  30106. or port.
  30107. - Reduce clutter in server logs. We're going to try to make
  30108. them actually usable now. New config option ProtocolWarnings that
  30109. lets you hear about how _other Tors_ are breaking the protocol. Off
  30110. by default.
  30111. - Divide log messages into logging domains. Once we put some sort
  30112. of interface on this, it will let people looking at more verbose
  30113. log levels specify the topics they want to hear more about.
  30114. - Make directory servers return better http 404 error messages
  30115. instead of a generic "Servers unavailable".
  30116. - Check for even more Windows version flags when writing the platform
  30117. string in server descriptors, and note any we don't recognize.
  30118. - Clean up more of the OpenSSL memory when exiting, so we can detect
  30119. memory leaks better.
  30120. - Make directory authorities be non-versioning, non-naming by
  30121. default. Now we can add new directory servers without requiring
  30122. their operators to pay close attention.
  30123. - When logging via syslog, include the pid whenever we provide
  30124. a log entry. Suggested by Todd Fries.
  30125. o Performance improvements:
  30126. - Directory servers now silently throw away new descriptors that
  30127. haven't changed much if the timestamps are similar. We do this to
  30128. tolerate older Tor servers that upload a new descriptor every 15
  30129. minutes. (It seemed like a good idea at the time.)
  30130. - Inline bottleneck smartlist functions; use fast versions by default.
  30131. - Add a "Map from digest to void*" abstraction digestmap_t so we
  30132. can do less hex encoding/decoding. Use it in router_get_by_digest()
  30133. to resolve a performance bottleneck.
  30134. - Allow tor_gzip_uncompress to extract as much as possible from
  30135. truncated compressed data. Try to extract as many
  30136. descriptors as possible from truncated http responses (when
  30137. DIR_PURPOSE_FETCH_ROUTERDESC).
  30138. - Make circ->onionskin a pointer, not a static array. moria2 was using
  30139. 125000 circuit_t's after it had been up for a few weeks, which
  30140. translates to 20+ megs of wasted space.
  30141. - The private half of our EDH handshake keys are now chosen out
  30142. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  30143. o Security improvements:
  30144. - Start making directory caches retain old routerinfos, so soon
  30145. clients can start asking by digest of descriptor rather than by
  30146. fingerprint of server.
  30147. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  30148. to use egd (if present), openbsd weirdness (if present), vms/os2
  30149. weirdness (if we ever port there), and more in the future.
  30150. o Bugfixes on 0.1.0.x:
  30151. - Do round-robin writes of at most 16 kB per write. This might be
  30152. more fair on loaded Tor servers, and it might resolve our Windows
  30153. crash bug. It might also slow things down.
  30154. - Our TLS handshakes were generating a single public/private
  30155. keypair for the TLS context, rather than making a new one for
  30156. each new connections. Oops. (But we were still rotating them
  30157. periodically, so it's not so bad.)
  30158. - When we were cannibalizing a circuit with a particular exit
  30159. node in mind, we weren't checking to see if that exit node was
  30160. already present earlier in the circuit. Oops.
  30161. - When a Tor server's IP changes (e.g. from a dyndns address),
  30162. upload a new descriptor so clients will learn too.
  30163. - Really busy servers were keeping enough circuits open on stable
  30164. connections that they were wrapping around the circuit_id
  30165. space. (It's only two bytes.) This exposed a bug where we would
  30166. feel free to reuse a circuit_id even if it still exists but has
  30167. been marked for close. Try to fix this bug. Some bug remains.
  30168. - If we would close a stream early (e.g. it asks for a .exit that
  30169. we know would refuse it) but the LeaveStreamsUnattached config
  30170. option is set by the controller, then don't close it.
  30171. o Bugfixes on 0.1.1.8-alpha:
  30172. - Fix a big pile of memory leaks, some of them serious.
  30173. - Do not try to download a routerdesc if we would immediately reject
  30174. it as obsolete.
  30175. - Resume inserting a newline between all router descriptors when
  30176. generating (old style) signed directories, since our spec says
  30177. we do.
  30178. - When providing content-type application/octet-stream for
  30179. server descriptors using .z, we were leaving out the
  30180. content-encoding header. Oops. (Everything tolerated this just
  30181. fine, but that doesn't mean we need to be part of the problem.)
  30182. - Fix a potential seg fault in getconf and getinfo using version 1
  30183. of the controller protocol.
  30184. - Avoid crash: do not check whether DirPort is reachable when we
  30185. are suppressing it because of hibernation.
  30186. - Make --hash-password not crash on exit.
  30187. Changes in version 0.1.1.8-alpha - 2005-10-07
  30188. o New features (major):
  30189. - Clients don't download or use the directory anymore. Now they
  30190. download and use network-statuses from the trusted dirservers,
  30191. and fetch individual server descriptors as needed from mirrors.
  30192. See dir-spec.txt for all the gory details.
  30193. - Be more conservative about whether to advertise our DirPort.
  30194. The main change is to not advertise if we're running at capacity
  30195. and either a) we could hibernate or b) our capacity is low and
  30196. we're using a default DirPort.
  30197. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  30198. o New features (minor):
  30199. - Try to be smart about when to retry network-status and
  30200. server-descriptor fetches. Still needs some tuning.
  30201. - Stop parsing, storing, or using running-routers output (but
  30202. mirrors still cache and serve it).
  30203. - Consider a threshold of versioning dirservers (dirservers who have
  30204. an opinion about which Tor versions are still recommended) before
  30205. deciding whether to warn the user that he's obsolete.
  30206. - Dirservers can now reject/invalidate by key and IP, with the
  30207. config options "AuthDirInvalid" and "AuthDirReject". This is
  30208. useful since currently we automatically list servers as running
  30209. and usable even if we know they're jerks.
  30210. - Provide dire warnings to any users who set DirServer; move it out
  30211. of torrc.sample and into torrc.complete.
  30212. - Add MyFamily to torrc.sample in the server section.
  30213. - Add nicknames to the DirServer line, so we can refer to them
  30214. without requiring all our users to memorize their IP addresses.
  30215. - When we get an EOF or a timeout on a directory connection, note
  30216. how many bytes of serverdesc we are dropping. This will help
  30217. us determine whether it is smart to parse incomplete serverdesc
  30218. responses.
  30219. - Add a new function to "change pseudonyms" -- that is, to stop
  30220. using any currently-dirty circuits for new streams, so we don't
  30221. link new actions to old actions. Currently it's only called on
  30222. HUP (or SIGNAL RELOAD).
  30223. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  30224. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  30225. OpenSSL. Also, reseed our entropy every hour, not just at
  30226. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  30227. o Fixes on 0.1.1.7-alpha:
  30228. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  30229. version 0, so don't let version 0 controllers ask for it.
  30230. - If you requested something with too many newlines via the
  30231. v1 controller protocol, you could crash tor.
  30232. - Fix a number of memory leaks, including some pretty serious ones.
  30233. - Re-enable DirPort testing again, so Tor servers will be willing
  30234. to advertise their DirPort if it's reachable.
  30235. - On TLS handshake, only check the other router's nickname against
  30236. its expected nickname if is_named is set.
  30237. o Fixes forward-ported from 0.1.0.15:
  30238. - Don't crash when we don't have any spare file descriptors and we
  30239. try to spawn a dns or cpu worker.
  30240. - Make the numbers in read-history and write-history into uint64s,
  30241. so they don't overflow and publish negatives in the descriptor.
  30242. o Fixes on 0.1.0.x:
  30243. - For the OS X package's modified privoxy config file, comment
  30244. out the "logfile" line so we don't log everything passed
  30245. through privoxy.
  30246. - We were whining about using socks4 or socks5-with-local-lookup
  30247. even when it's an IP in the "virtual" range we designed exactly
  30248. for this case.
  30249. - We were leaking some memory every time the client changes IPs.
  30250. - Never call free() on tor_malloc()d memory. This will help us
  30251. use dmalloc to detect memory leaks.
  30252. - Check for named servers when looking them up by nickname;
  30253. warn when we'recalling a non-named server by its nickname;
  30254. don't warn twice about the same name.
  30255. - Try to list MyFamily elements by key, not by nickname, and warn
  30256. if we've not heard of the server.
  30257. - Make windows platform detection (uname equivalent) smarter.
  30258. - It turns out sparc64 doesn't like unaligned access either.
  30259. Changes in version 0.1.0.15 - 2005-09-23
  30260. o Bugfixes on 0.1.0.x:
  30261. - Reject ports 465 and 587 (spam targets) in default exit policy.
  30262. - Don't crash when we don't have any spare file descriptors and we
  30263. try to spawn a dns or cpu worker.
  30264. - Get rid of IgnoreVersion undocumented config option, and make us
  30265. only warn, never exit, when we're running an obsolete version.
  30266. - Don't try to print a null string when your server finds itself to
  30267. be unreachable and the Address config option is empty.
  30268. - Make the numbers in read-history and write-history into uint64s,
  30269. so they don't overflow and publish negatives in the descriptor.
  30270. - Fix a minor memory leak in smartlist_string_remove().
  30271. - We were only allowing ourselves to upload a server descriptor at
  30272. most every 20 minutes, even if it changed earlier than that.
  30273. - Clean up log entries that pointed to old URLs.
  30274. Changes in version 0.1.1.7-alpha - 2005-09-14
  30275. o Fixes on 0.1.1.6-alpha:
  30276. - Exit servers were crashing when people asked them to make a
  30277. connection to an address not in their exit policy.
  30278. - Looking up a non-existent stream for a v1 control connection would
  30279. cause a segfault.
  30280. - Fix a seg fault if we ask a dirserver for a descriptor by
  30281. fingerprint but he doesn't know about him.
  30282. - SETCONF was appending items to linelists, not clearing them.
  30283. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  30284. out and refuse the setconf if it would fail.
  30285. - Downgrade the dirserver log messages when whining about
  30286. unreachability.
  30287. o New features:
  30288. - Add Peter Palfrader's check-tor script to tor/contrib/
  30289. It lets you easily check whether a given server (referenced by
  30290. nickname) is reachable by you.
  30291. - Numerous changes to move towards client-side v2 directories. Not
  30292. enabled yet.
  30293. o Fixes on 0.1.0.x:
  30294. - If the user gave tor an odd number of command-line arguments,
  30295. we were silently ignoring the last one. Now we complain and fail.
  30296. [This wins the oldest-bug prize -- this bug has been present since
  30297. November 2002, as released in Tor 0.0.0.]
  30298. - Do not use unaligned memory access on alpha, mips, or mipsel.
  30299. It *works*, but is very slow, so we treat them as if it doesn't.
  30300. - Retry directory requests if we fail to get an answer we like
  30301. from a given dirserver (we were retrying before, but only if
  30302. we fail to connect).
  30303. - When writing the RecommendedVersions line, sort them first.
  30304. - When the client asked for a rendezvous port that the hidden
  30305. service didn't want to provide, we were sending an IP address
  30306. back along with the end cell. Fortunately, it was zero. But stop
  30307. that anyway.
  30308. - Correct "your server is reachable" log entries to indicate that
  30309. it was self-testing that told us so.
  30310. Changes in version 0.1.1.6-alpha - 2005-09-09
  30311. o Fixes on 0.1.1.5-alpha:
  30312. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  30313. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  30314. - Fix bug with tor_memmem finding a match at the end of the string.
  30315. - Make unit tests run without segfaulting.
  30316. - Resolve some solaris x86 compile warnings.
  30317. - Handle duplicate lines in approved-routers files without warning.
  30318. - Fix bug where as soon as a server refused any requests due to his
  30319. exit policy (e.g. when we ask for localhost and he tells us that's
  30320. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  30321. exit policy using him for any exits.
  30322. - Only do openssl hardware accelerator stuff if openssl version is
  30323. at least 0.9.7.
  30324. o New controller features/fixes:
  30325. - Add a "RESETCONF" command so you can set config options like
  30326. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  30327. a config option in the torrc with no value, then it clears it
  30328. entirely (rather than setting it to its default).
  30329. - Add a "GETINFO config-file" to tell us where torrc is.
  30330. - Avoid sending blank lines when GETINFO replies should be empty.
  30331. - Add a QUIT command for the controller (for using it manually).
  30332. - Fix a bug in SAVECONF that was adding default dirservers and
  30333. other redundant entries to the torrc file.
  30334. o Start on the new directory design:
  30335. - Generate, publish, cache, serve new network-status format.
  30336. - Publish individual descriptors (by fingerprint, by "all", and by
  30337. "tell me yours").
  30338. - Publish client and server recommended versions separately.
  30339. - Allow tor_gzip_uncompress() to handle multiple concatenated
  30340. compressed strings. Serve compressed groups of router
  30341. descriptors. The compression logic here could be more
  30342. memory-efficient.
  30343. - Distinguish v1 authorities (all currently trusted directories)
  30344. from v2 authorities (all trusted directories).
  30345. - Change DirServers config line to note which dirs are v1 authorities.
  30346. - Add configuration option "V1AuthoritativeDirectory 1" which
  30347. moria1, moria2, and tor26 should set.
  30348. - Remove option when getting directory cache to see whether they
  30349. support running-routers; they all do now. Replace it with one
  30350. to see whether caches support v2 stuff.
  30351. o New features:
  30352. - Dirservers now do their own external reachability testing of each
  30353. Tor server, and only list them as running if they've been found to
  30354. be reachable. We also send back warnings to the server's logs if
  30355. it uploads a descriptor that we already believe is unreachable.
  30356. - Implement exit enclaves: if we know an IP address for the
  30357. destination, and there's a running Tor server at that address
  30358. which allows exit to the destination, then extend the circuit to
  30359. that exit first. This provides end-to-end encryption and end-to-end
  30360. authentication. Also, if the user wants a .exit address or enclave,
  30361. use 4 hops rather than 3, and cannibalize a general circ for it
  30362. if you can.
  30363. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  30364. controller. Also, rotate dns and cpu workers if the controller
  30365. changes options that will affect them; and initialize the dns
  30366. worker cache tree whether or not we start out as a server.
  30367. - Only upload a new server descriptor when options change, 18
  30368. hours have passed, uptime is reset, or bandwidth changes a lot.
  30369. - Check [X-]Forwarded-For headers in HTTP requests when generating
  30370. log messages. This lets people run dirservers (and caches) behind
  30371. Apache but still know which IP addresses are causing warnings.
  30372. o Config option changes:
  30373. - Replace (Fascist)Firewall* config options with a new
  30374. ReachableAddresses option that understands address policies.
  30375. For example, "ReachableAddresses *:80,*:443"
  30376. - Get rid of IgnoreVersion undocumented config option, and make us
  30377. only warn, never exit, when we're running an obsolete version.
  30378. - Make MonthlyAccountingStart config option truly obsolete now.
  30379. o Fixes on 0.1.0.x:
  30380. - Reject ports 465 and 587 in the default exit policy, since
  30381. people have started using them for spam too.
  30382. - It turns out we couldn't bootstrap a network since we added
  30383. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  30384. has never gone down. Add an AssumeReachable config option to let
  30385. servers and dirservers bootstrap. When we're trying to build a
  30386. high-uptime or high-bandwidth circuit but there aren't enough
  30387. suitable servers, try being less picky rather than simply failing.
  30388. - Our logic to decide if the OR we connected to was the right guy
  30389. was brittle and maybe open to a mitm for unverified routers.
  30390. - We weren't cannibalizing circuits correctly for
  30391. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  30392. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  30393. build those from scratch. This should make hidden services faster.
  30394. - Predict required circuits better, with an eye toward making hidden
  30395. services faster on the service end.
  30396. - Retry streams if the exit node sends back a 'misc' failure. This
  30397. should result in fewer random failures. Also, after failing
  30398. from resolve failed or misc, reset the num failures, so we give
  30399. it a fair shake next time we try.
  30400. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  30401. - Reduce severity on logs about dns worker spawning and culling.
  30402. - When we're shutting down and we do something like try to post a
  30403. server descriptor or rendezvous descriptor, don't complain that
  30404. we seem to be unreachable. Of course we are, we're shutting down.
  30405. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  30406. We don't use them yet, but maybe one day our DNS resolver will be
  30407. able to discover them.
  30408. - Make ContactInfo mandatory for authoritative directory servers.
  30409. - Require server descriptors to list IPv4 addresses -- hostnames
  30410. are no longer allowed. This also fixes some potential security
  30411. problems with people providing hostnames as their address and then
  30412. preferentially resolving them to partition users.
  30413. - Change log line for unreachability to explicitly suggest /etc/hosts
  30414. as the culprit. Also make it clearer what IP address and ports we're
  30415. testing for reachability.
  30416. - Put quotes around user-supplied strings when logging so users are
  30417. more likely to realize if they add bad characters (like quotes)
  30418. to the torrc.
  30419. - Let auth dir servers start without specifying an Address config
  30420. option.
  30421. - Make unit tests (and other invocations that aren't the real Tor)
  30422. run without launching listeners, creating subdirectories, and so on.
  30423. Changes in version 0.1.1.5-alpha - 2005-08-08
  30424. o Bugfixes included in 0.1.0.14.
  30425. o Bugfixes on 0.1.0.x:
  30426. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  30427. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  30428. it would silently using ignore the 6668.
  30429. Changes in version 0.1.0.14 - 2005-08-08
  30430. o Bugfixes on 0.1.0.x:
  30431. - Fix the other half of the bug with crypto handshakes
  30432. (CVE-2005-2643).
  30433. - Fix an assert trigger if you send a 'signal term' via the
  30434. controller when it's listening for 'event info' messages.
  30435. Changes in version 0.1.1.4-alpha - 2005-08-04
  30436. o Bugfixes included in 0.1.0.13.
  30437. o Features:
  30438. - Improve tor_gettimeofday() granularity on windows.
  30439. - Make clients regenerate their keys when their IP address changes.
  30440. - Implement some more GETINFO goodness: expose helper nodes, config
  30441. options, getinfo keys.
  30442. Changes in version 0.1.0.13 - 2005-08-04
  30443. o Bugfixes on 0.1.0.x:
  30444. - Fix a critical bug in the security of our crypto handshakes.
  30445. - Fix a size_t underflow in smartlist_join_strings2() that made
  30446. it do bad things when you hand it an empty smartlist.
  30447. - Fix Windows installer to ship Tor license (thanks to Aphex for
  30448. pointing out this oversight) and put a link to the doc directory
  30449. in the start menu.
  30450. - Explicitly set no-unaligned-access for sparc: it turns out the
  30451. new gcc's let you compile broken code, but that doesn't make it
  30452. not-broken.
  30453. Changes in version 0.1.1.3-alpha - 2005-07-23
  30454. o Bugfixes on 0.1.1.2-alpha:
  30455. - Fix a bug in handling the controller's "post descriptor"
  30456. function.
  30457. - Fix several bugs in handling the controller's "extend circuit"
  30458. function.
  30459. - Fix a bug in handling the controller's "stream status" event.
  30460. - Fix an assert failure if we have a controller listening for
  30461. circuit events and we go offline.
  30462. - Re-allow hidden service descriptors to publish 0 intro points.
  30463. - Fix a crash when generating your hidden service descriptor if
  30464. you don't have enough intro points already.
  30465. o New features on 0.1.1.2-alpha:
  30466. - New controller function "getinfo accounting", to ask how
  30467. many bytes we've used in this time period.
  30468. - Experimental support for helper nodes: a lot of the risk from
  30469. a small static adversary comes because users pick new random
  30470. nodes every time they rebuild a circuit. Now users will try to
  30471. stick to the same small set of entry nodes if they can. Not
  30472. enabled by default yet.
  30473. o Bugfixes on 0.1.0.12:
  30474. - If you're an auth dir server, always publish your dirport,
  30475. even if you haven't yet found yourself to be reachable.
  30476. - Fix a size_t underflow in smartlist_join_strings2() that made
  30477. it do bad things when you hand it an empty smartlist.
  30478. Changes in version 0.1.0.12 - 2005-07-18
  30479. o New directory servers:
  30480. - tor26 has changed IP address.
  30481. o Bugfixes on 0.1.0.x:
  30482. - Fix a possible double-free in tor_gzip_uncompress().
  30483. - When --disable-threads is set, do not search for or link against
  30484. pthreads libraries.
  30485. - Don't trigger an assert if an authoritative directory server
  30486. claims its dirport is 0.
  30487. - Fix bug with removing Tor as an NT service: some people were
  30488. getting "The service did not return an error." Thanks to Matt
  30489. Edman for the fix.
  30490. Changes in version 0.1.1.2-alpha - 2005-07-15
  30491. o New directory servers:
  30492. - tor26 has changed IP address.
  30493. o Bugfixes on 0.1.0.x, crashes/leaks:
  30494. - Port the servers-not-obeying-their-exit-policies fix from
  30495. 0.1.0.11.
  30496. - Fix an fd leak in start_daemon().
  30497. - On Windows, you can't always reopen a port right after you've
  30498. closed it. So change retry_listeners() to only close and re-open
  30499. ports that have changed.
  30500. - Fix a possible double-free in tor_gzip_uncompress().
  30501. o Bugfixes on 0.1.0.x, usability:
  30502. - When tor_socketpair() fails in Windows, give a reasonable
  30503. Windows-style errno back.
  30504. - Let people type "tor --install" as well as "tor -install" when
  30505. they
  30506. want to make it an NT service.
  30507. - NT service patch from Matt Edman to improve error messages.
  30508. - When the controller asks for a config option with an abbreviated
  30509. name, give the full name in our response.
  30510. - Correct the man page entry on TrackHostExitsExpire.
  30511. - Looks like we were never delivering deflated (i.e. compressed)
  30512. running-routers lists, even when asked. Oops.
  30513. - When --disable-threads is set, do not search for or link against
  30514. pthreads libraries.
  30515. o Bugfixes on 0.1.1.x:
  30516. - Fix a seg fault with autodetecting which controller version is
  30517. being used.
  30518. o Features:
  30519. - New hidden service descriptor format: put a version in it, and
  30520. let people specify introduction/rendezvous points that aren't
  30521. in "the directory" (which is subjective anyway).
  30522. - Allow the DEBUG controller event to work again. Mark certain log
  30523. entries as "don't tell this to controllers", so we avoid cycles.
  30524. Changes in version 0.1.0.11 - 2005-06-30
  30525. o Bugfixes on 0.1.0.x:
  30526. - Fix major security bug: servers were disregarding their
  30527. exit policies if clients behaved unexpectedly.
  30528. - Make OS X init script check for missing argument, so we don't
  30529. confuse users who invoke it incorrectly.
  30530. - Fix a seg fault in "tor --hash-password foo".
  30531. - The MAPADDRESS control command was broken.
  30532. Changes in version 0.1.1.1-alpha - 2005-06-29
  30533. o Bugfixes:
  30534. - Make OS X init script check for missing argument, so we don't
  30535. confuse users who invoke it incorrectly.
  30536. - Fix a seg fault in "tor --hash-password foo".
  30537. - Fix a possible way to DoS dirservers.
  30538. - When we complain that your exit policy implicitly allows local or
  30539. private address spaces, name them explicitly so operators can
  30540. fix it.
  30541. - Make the log message less scary when all the dirservers are
  30542. temporarily unreachable.
  30543. - We were printing the number of idle dns workers incorrectly when
  30544. culling them.
  30545. o Features:
  30546. - Revised controller protocol (version 1) that uses ascii rather
  30547. than binary. Add supporting libraries in python and java so you
  30548. can use the controller from your applications without caring how
  30549. our protocol works.
  30550. - Spiffy new support for crypto hardware accelerators. Can somebody
  30551. test this?
  30552. Changes in version 0.0.9.10 - 2005-06-16
  30553. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  30554. - Refuse relay cells that claim to have a length larger than the
  30555. maximum allowed. This prevents a potential attack that could read
  30556. arbitrary memory (e.g. keys) from an exit server's process
  30557. (CVE-2005-2050).
  30558. Changes in version 0.1.0.10 - 2005-06-14
  30559. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  30560. libevent before 1.1a.
  30561. Changes in version 0.1.0.9-rc - 2005-06-09
  30562. o Bugfixes:
  30563. - Reset buf->highwater every time buf_shrink() is called, not just on
  30564. a successful shrink. This was causing significant memory bloat.
  30565. - Fix buffer overflow when checking hashed passwords.
  30566. - Security fix: if seeding the RNG on Win32 fails, quit.
  30567. - Allow seeding the RNG on Win32 even when you're not running as
  30568. Administrator.
  30569. - Disable threading on Solaris too. Something is wonky with it,
  30570. cpuworkers, and reentrant libs.
  30571. - Reenable the part of the code that tries to flush as soon as an
  30572. OR outbuf has a full TLS record available. Perhaps this will make
  30573. OR outbufs not grow as huge except in rare cases, thus saving lots
  30574. of CPU time plus memory.
  30575. - Reject malformed .onion addresses rather then passing them on as
  30576. normal web requests.
  30577. - Adapt patch from Adam Langley: fix possible memory leak in
  30578. tor_lookup_hostname().
  30579. - Initialize libevent later in the startup process, so the logs are
  30580. already established by the time we start logging libevent warns.
  30581. - Use correct errno on win32 if libevent fails.
  30582. - Check and warn about known-bad/slow libevent versions.
  30583. - Pay more attention to the ClientOnly config option.
  30584. - Have torctl.in/tor.sh.in check for location of su binary (needed
  30585. on FreeBSD)
  30586. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  30587. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  30588. HttpProxyAuthenticator
  30589. - Stop warning about sigpipes in the logs. We're going to
  30590. pretend that getting these occasionally is normal and fine.
  30591. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  30592. certain
  30593. installer screens; and don't put stuff into StartupItems unless
  30594. the user asks you to.
  30595. - Require servers that use the default dirservers to have public IP
  30596. addresses. We have too many servers that are configured with private
  30597. IPs and their admins never notice the log entries complaining that
  30598. their descriptors are being rejected.
  30599. - Add OSX uninstall instructions. An actual uninstall script will
  30600. come later.
  30601. Changes in version 0.1.0.8-rc - 2005-05-23
  30602. o Bugfixes:
  30603. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  30604. panics. Disable kqueue on all OS X Tors.
  30605. - Fix RPM: remove duplicate line accidentally added to the rpm
  30606. spec file.
  30607. - Disable threads on openbsd too, since its gethostaddr is not
  30608. reentrant either.
  30609. - Tolerate libevent 0.8 since it still works, even though it's
  30610. ancient.
  30611. - Enable building on Red Hat 9.0 again.
  30612. - Allow the middle hop of the testing circuit to be running any
  30613. version, now that most of them have the bugfix to let them connect
  30614. to unknown servers. This will allow reachability testing to work
  30615. even when 0.0.9.7-0.0.9.9 become obsolete.
  30616. - Handle relay cells with rh.length too large. This prevents
  30617. a potential attack that could read arbitrary memory (maybe even
  30618. keys) from the exit server's process.
  30619. - We screwed up the dirport reachability testing when we don't yet
  30620. have a cached version of the directory. Hopefully now fixed.
  30621. - Clean up router_load_single_router() (used by the controller),
  30622. so it doesn't seg fault on error.
  30623. - Fix a minor memory leak when somebody establishes an introduction
  30624. point at your Tor server.
  30625. - If a socks connection ends because read fails, don't warn that
  30626. you're not sending a socks reply back.
  30627. o Features:
  30628. - Add HttpProxyAuthenticator config option too, that works like
  30629. the HttpsProxyAuthenticator config option.
  30630. - Encode hashed controller passwords in hex instead of base64,
  30631. to make it easier to write controllers.
  30632. Changes in version 0.1.0.7-rc - 2005-05-17
  30633. o Bugfixes:
  30634. - Fix a bug in the OS X package installer that prevented it from
  30635. installing on Tiger.
  30636. - Fix a script bug in the OS X package installer that made it
  30637. complain during installation.
  30638. - Find libevent even if it's hiding in /usr/local/ and your
  30639. CFLAGS and LDFLAGS don't tell you to look there.
  30640. - Be able to link with libevent as a shared library (the default
  30641. after 1.0d), even if it's hiding in /usr/local/lib and even
  30642. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  30643. assuming you're running gcc. Otherwise fail and give a useful
  30644. error message.
  30645. - Fix a bug in the RPM packager: set home directory for _tor to
  30646. something more reasonable when first installing.
  30647. - Free a minor amount of memory that is still reachable on exit.
  30648. Changes in version 0.1.0.6-rc - 2005-05-14
  30649. o Bugfixes:
  30650. - Implement --disable-threads configure option. Disable threads on
  30651. netbsd by default, because it appears to have no reentrant resolver
  30652. functions.
  30653. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  30654. release (1.1) detects and disables kqueue if it's broken.
  30655. - Append default exit policy before checking for implicit internal
  30656. addresses. Now we don't log a bunch of complaints on startup
  30657. when using the default exit policy.
  30658. - Some people were putting "Address " in their torrc, and they had
  30659. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  30660. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  30661. LOCALSTATEDIR/tor instead.
  30662. - Fix fragmented-message bug in TorControl.py.
  30663. - Resolve a minor bug which would prevent unreachable dirports
  30664. from getting suppressed in the published descriptor.
  30665. - When the controller gave us a new descriptor, we weren't resolving
  30666. it immediately, so Tor would think its address was 0.0.0.0 until
  30667. we fetched a new directory.
  30668. - Fix an uppercase/lowercase case error in suppressing a bogus
  30669. libevent warning on some Linuxes.
  30670. o Features:
  30671. - Begin scrubbing sensitive strings from logs by default. Turn off
  30672. the config option SafeLogging if you need to do debugging.
  30673. - Switch to a new buffer management algorithm, which tries to avoid
  30674. reallocing and copying quite as much. In first tests it looks like
  30675. it uses *more* memory on average, but less cpu.
  30676. - First cut at support for "create-fast" cells. Clients can use
  30677. these when extending to their first hop, since the TLS already
  30678. provides forward secrecy and authentication. Not enabled on
  30679. clients yet.
  30680. - When dirservers refuse a router descriptor, we now log its
  30681. contactinfo, platform, and the poster's IP address.
  30682. - Call tor_free_all instead of connections_free_all after forking, to
  30683. save memory on systems that need to fork.
  30684. - Whine at you if you're a server and you don't set your contactinfo.
  30685. - Implement --verify-config command-line option to check if your torrc
  30686. is valid without actually launching Tor.
  30687. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  30688. rather than just rejecting it.
  30689. Changes in version 0.1.0.5-rc - 2005-04-27
  30690. o Bugfixes:
  30691. - Stop trying to print a null pointer if an OR conn fails because
  30692. we didn't like its cert.
  30693. o Features:
  30694. - Switch our internal buffers implementation to use a ring buffer,
  30695. to hopefully improve performance for fast servers a lot.
  30696. - Add HttpsProxyAuthenticator support (basic auth only), based
  30697. on patch from Adam Langley.
  30698. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  30699. the fast servers that have been joining lately.
  30700. - Give hidden service accesses extra time on the first attempt,
  30701. since 60 seconds is often only barely enough. This might improve
  30702. robustness more.
  30703. - Improve performance for dirservers: stop re-parsing the whole
  30704. directory every time you regenerate it.
  30705. - Add more debugging info to help us find the weird dns freebsd
  30706. pthreads bug; cleaner debug messages to help track future issues.
  30707. Changes in version 0.0.9.9 - 2005-04-23
  30708. o Bugfixes on 0.0.9.x:
  30709. - If unofficial Tor clients connect and send weird TLS certs, our
  30710. Tor server triggers an assert. This release contains a minimal
  30711. backport from the broader fix that we put into 0.1.0.4-rc.
  30712. Changes in version 0.1.0.4-rc - 2005-04-23
  30713. o Bugfixes:
  30714. - If unofficial Tor clients connect and send weird TLS certs, our
  30715. Tor server triggers an assert. Stop asserting, and start handling
  30716. TLS errors better in other situations too.
  30717. - When the controller asks us to tell it about all the debug-level
  30718. logs, it turns out we were generating debug-level logs while
  30719. telling it about them, which turns into a bad loop. Now keep
  30720. track of whether you're sending a debug log to the controller,
  30721. and don't log when you are.
  30722. - Fix the "postdescriptor" feature of the controller interface: on
  30723. non-complete success, only say "done" once.
  30724. o Features:
  30725. - Clients are now willing to load balance over up to 2mB, not 1mB,
  30726. of advertised bandwidth capacity.
  30727. - Add a NoPublish config option, so you can be a server (e.g. for
  30728. testing running Tor servers in other Tor networks) without
  30729. publishing your descriptor to the primary dirservers.
  30730. Changes in version 0.1.0.3-rc - 2005-04-08
  30731. o Improvements on 0.1.0.2-rc:
  30732. - Client now retries when streams end early for 'hibernating' or
  30733. 'resource limit' reasons, rather than failing them.
  30734. - More automated handling for dirserver operators:
  30735. - Automatically approve nodes running 0.1.0.2-rc or later,
  30736. now that the the reachability detection stuff is working.
  30737. - Now we allow two unverified servers with the same nickname
  30738. but different keys. But if a nickname is verified, only that
  30739. nickname+key are allowed.
  30740. - If you're an authdirserver connecting to an address:port,
  30741. and it's not the OR you were expecting, forget about that
  30742. descriptor. If he *was* the one you were expecting, then forget
  30743. about all other descriptors for that address:port.
  30744. - Allow servers to publish descriptors from 12 hours in the future.
  30745. Corollary: only whine about clock skew from the dirserver if
  30746. he's a trusted dirserver (since now even verified servers could
  30747. have quite wrong clocks).
  30748. - Adjust maximum skew and age for rendezvous descriptors: let skew
  30749. be 48 hours rather than 90 minutes.
  30750. - Efficiency improvements:
  30751. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  30752. it much faster to look up a circuit for each relay cell.
  30753. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  30754. since they're eating our cpu on exit nodes.
  30755. - Stop wasting time doing a case insensitive comparison for every
  30756. dns name every time we do any lookup. Canonicalize the names to
  30757. lowercase and be done with it.
  30758. - Start sending 'truncated' cells back rather than destroy cells,
  30759. if the circuit closes in front of you. This means we won't have
  30760. to abandon partially built circuits.
  30761. - Only warn once per nickname from add_nickname_list_to_smartlist
  30762. per failure, so an entrynode or exitnode choice that's down won't
  30763. yell so much.
  30764. - Put a note in the torrc about abuse potential with the default
  30765. exit policy.
  30766. - Revise control spec and implementation to allow all log messages to
  30767. be sent to controller with their severities intact (suggested by
  30768. Matt Edman). Update TorControl to handle new log event types.
  30769. - Provide better explanation messages when controller's POSTDESCRIPTOR
  30770. fails.
  30771. - Stop putting nodename in the Platform string in server descriptors.
  30772. It doesn't actually help, and it is confusing/upsetting some people.
  30773. o Bugfixes on 0.1.0.2-rc:
  30774. - We were printing the host mask wrong in exit policies in server
  30775. descriptors. This isn't a critical bug though, since we were still
  30776. obeying the exit policy internally.
  30777. - Fix Tor when compiled with libevent but without pthreads: move
  30778. connection_unregister() from _connection_free() to
  30779. connection_free().
  30780. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  30781. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  30782. when we look through the connection array, we'll find any of the
  30783. cpu/dnsworkers. This is no good.
  30784. o Bugfixes on 0.0.9.8:
  30785. - Fix possible bug on threading platforms (e.g. win32) which was
  30786. leaking a file descriptor whenever a cpuworker or dnsworker died.
  30787. - When using preferred entry or exit nodes, ignore whether the
  30788. circuit wants uptime or capacity. They asked for the nodes, they
  30789. get the nodes.
  30790. - chdir() to your datadirectory at the *end* of the daemonize process,
  30791. not the beginning. This was a problem because the first time you
  30792. run tor, if your datadir isn't there, and you have runasdaemon set
  30793. to 1, it will try to chdir to it before it tries to create it. Oops.
  30794. - Handle changed router status correctly when dirserver reloads
  30795. fingerprint file. We used to be dropping all unverified descriptors
  30796. right then. The bug was hidden because we would immediately
  30797. fetch a directory from another dirserver, which would include the
  30798. descriptors we just dropped.
  30799. - When we're connecting to an OR and he's got a different nickname/key
  30800. than we were expecting, only complain loudly if we're an OP or a
  30801. dirserver. Complaining loudly to the OR admins just confuses them.
  30802. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  30803. artificially capped at 500kB.
  30804. Changes in version 0.0.9.8 - 2005-04-07
  30805. o Bugfixes on 0.0.9.x:
  30806. - We have a bug that I haven't found yet. Sometimes, very rarely,
  30807. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  30808. thinks of itself as idle. This meant that no new circuits ever got
  30809. established. Here's a workaround to kill any cpuworker that's been
  30810. busy for more than 100 seconds.
  30811. Changes in version 0.1.0.2-rc - 2005-04-01
  30812. o Bugfixes on 0.1.0.1-rc:
  30813. - Fixes on reachability detection:
  30814. - Don't check for reachability while hibernating.
  30815. - If ORPort is reachable but DirPort isn't, still publish the
  30816. descriptor, but zero out DirPort until it's found reachable.
  30817. - When building testing circs for ORPort testing, use only
  30818. high-bandwidth nodes, so fewer circuits fail.
  30819. - Complain about unreachable ORPort separately from unreachable
  30820. DirPort, so the user knows what's going on.
  30821. - Make sure we only conclude ORPort reachability if we didn't
  30822. initiate the conn. Otherwise we could falsely conclude that
  30823. we're reachable just because we connected to the guy earlier
  30824. and he used that same pipe to extend to us.
  30825. - Authdirservers shouldn't do ORPort reachability detection,
  30826. since they're in clique mode, so it will be rare to find a
  30827. server not already connected to them.
  30828. - When building testing circuits, always pick middle hops running
  30829. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  30830. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  30831. obsolete.)
  30832. - When we decide we're reachable, actually publish our descriptor
  30833. right then.
  30834. - Fix bug in redirectstream in the controller.
  30835. - Fix the state descriptor strings so logs don't claim edge streams
  30836. are in a different state than they actually are.
  30837. - Use recent libevent features when possible (this only really affects
  30838. win32 and osx right now, because the new libevent with these
  30839. features hasn't been released yet). Add code to suppress spurious
  30840. libevent log msgs.
  30841. - Prevent possible segfault in connection_close_unattached_ap().
  30842. - Fix newlines on torrc in win32.
  30843. - Improve error msgs when tor-resolve fails.
  30844. o Improvements on 0.0.9.x:
  30845. - New experimental script tor/contrib/ExerciseServer.py (needs more
  30846. work) that uses the controller interface to build circuits and
  30847. fetch pages over them. This will help us bootstrap servers that
  30848. have lots of capacity but haven't noticed it yet.
  30849. - New experimental script tor/contrib/PathDemo.py (needs more work)
  30850. that uses the controller interface to let you choose whole paths
  30851. via addresses like
  30852. "<hostname>.<path,separated by dots>.<length of path>.path"
  30853. - When we've connected to an OR and handshaked but didn't like
  30854. the result, we were closing the conn without sending destroy
  30855. cells back for pending circuits. Now send those destroys.
  30856. Changes in version 0.0.9.7 - 2005-04-01
  30857. o Bugfixes on 0.0.9.x:
  30858. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  30859. - Compare identity to identity, not to nickname, when extending to
  30860. a router not already in the directory. This was preventing us from
  30861. extending to unknown routers. Oops.
  30862. - Make sure to create OS X Tor user in <500 range, so we aren't
  30863. creating actual system users.
  30864. - Note where connection-that-hasn't-sent-end was marked, and fix
  30865. a few really loud instances of this harmless bug (it's fixed more
  30866. in 0.1.0.x).
  30867. Changes in version 0.1.0.1-rc - 2005-03-28
  30868. o New features:
  30869. - Add reachability testing. Your Tor server will automatically try
  30870. to see if its ORPort and DirPort are reachable from the outside,
  30871. and it won't upload its descriptor until it decides they are.
  30872. - Handle unavailable hidden services better. Handle slow or busy
  30873. hidden services better.
  30874. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  30875. config option.
  30876. - New exit policy: accept most low-numbered ports, rather than
  30877. rejecting most low-numbered ports.
  30878. - More Tor controller support (still experimental). See
  30879. http://tor.eff.org/doc/control-spec.txt for all the new features,
  30880. including signals to emulate unix signals from any platform;
  30881. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  30882. closestream; closecircuit; etc.
  30883. - Make nt services work and start on startup on win32 (based on
  30884. patch by Matt Edman).
  30885. - Add a new AddressMap config directive to rewrite incoming socks
  30886. addresses. This lets you, for example, declare an implicit
  30887. required exit node for certain sites.
  30888. - Add a new TrackHostExits config directive to trigger addressmaps
  30889. for certain incoming socks addresses -- for sites that break when
  30890. your exit keeps changing (based on patch by Mike Perry).
  30891. - Redo the client-side dns cache so it's just an addressmap too.
  30892. - Notice when our IP changes, and reset stats/uptime/reachability.
  30893. - When an application is using socks5, give him the whole variety of
  30894. potential socks5 responses (connect refused, host unreachable, etc),
  30895. rather than just "success" or "failure".
  30896. - A more sane version numbering system. See
  30897. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  30898. - New contributed script "exitlist": a simple python script to
  30899. parse directories and find Tor nodes that exit to listed
  30900. addresses/ports.
  30901. - New contributed script "privoxy-tor-toggle" to toggle whether
  30902. Privoxy uses Tor. Seems to be configured for Debian by default.
  30903. - Report HTTP reasons to client when getting a response from directory
  30904. servers -- so you can actually know what went wrong.
  30905. - New config option MaxAdvertisedBandwidth which lets you advertise
  30906. a low bandwidthrate (to not attract as many circuits) while still
  30907. allowing a higher bandwidthrate in reality.
  30908. o Robustness/stability fixes:
  30909. - Make Tor use Niels Provos's libevent instead of its current
  30910. poll-but-sometimes-select mess. This will let us use faster async
  30911. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  30912. on Windows too.
  30913. - pthread support now too. This was forced because when we forked,
  30914. we ended up wasting a lot of duplicate ram over time. Also switch
  30915. to foo_r versions of some library calls to allow reentry and
  30916. threadsafeness.
  30917. - Better handling for heterogeneous / unreliable nodes:
  30918. - Annotate circuits w/ whether they aim to contain high uptime nodes
  30919. and/or high capacity nodes. When building circuits, choose
  30920. appropriate nodes.
  30921. - This means that every single node in an intro rend circuit,
  30922. not just the last one, will have a minimum uptime.
  30923. - New config option LongLivedPorts to indicate application streams
  30924. that will want high uptime circuits.
  30925. - Servers reset uptime when a dir fetch entirely fails. This
  30926. hopefully reflects stability of the server's network connectivity.
  30927. - If somebody starts his tor server in Jan 2004 and then fixes his
  30928. clock, don't make his published uptime be a year.
  30929. - Reset published uptime when you wake up from hibernation.
  30930. - Introduce a notion of 'internal' circs, which are chosen without
  30931. regard to the exit policy of the last hop. Intro and rendezvous
  30932. circs must be internal circs, to avoid leaking information. Resolve
  30933. and connect streams can use internal circs if they want.
  30934. - New circuit pooling algorithm: make sure to have enough circs around
  30935. to satisfy any predicted ports, and also make sure to have 2 internal
  30936. circs around if we've required internal circs lately (and with high
  30937. uptime if we've seen that lately too).
  30938. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  30939. which describes how often we retry making new circuits if current
  30940. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  30941. how long we're willing to make use of an already-dirty circuit.
  30942. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  30943. circ as necessary, if there are any completed ones lying around
  30944. when we try to launch one.
  30945. - Make hidden services try to establish a rendezvous for 30 seconds,
  30946. rather than for n (where n=3) attempts to build a circuit.
  30947. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  30948. "ShutdownWaitLength".
  30949. - Try to be more zealous about calling connection_edge_end when
  30950. things go bad with edge conns in connection.c.
  30951. - Revise tor-spec to add more/better stream end reasons.
  30952. - Revise all calls to connection_edge_end to avoid sending "misc",
  30953. and to take errno into account where possible.
  30954. o Bug fixes:
  30955. - Fix a race condition that can trigger an assert, when we have a
  30956. pending create cell and an OR connection fails right then.
  30957. - Fix several double-mark-for-close bugs, e.g. where we were finding
  30958. a conn for a cell even if that conn is already marked for close.
  30959. - Make sequence of log messages when starting on win32 with no config
  30960. file more reasonable.
  30961. - When choosing an exit node for a new non-internal circ, don't take
  30962. into account whether it'll be useful for any pending x.onion
  30963. addresses -- it won't.
  30964. - Turn addr_policy_compare from a tristate to a quadstate; this should
  30965. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  30966. for google.com" problem.
  30967. - Make "platform" string in descriptor more accurate for Win32 servers,
  30968. so it's not just "unknown platform".
  30969. - Fix an edge case in parsing config options (thanks weasel).
  30970. If they say "--" on the commandline, it's not an option.
  30971. - Reject odd-looking addresses at the client (e.g. addresses that
  30972. contain a colon), rather than having the server drop them because
  30973. they're malformed.
  30974. - tor-resolve requests were ignoring .exit if there was a working circuit
  30975. they could use instead.
  30976. - REUSEADDR on normal platforms means you can rebind to the port
  30977. right after somebody else has let it go. But REUSEADDR on win32
  30978. means to let you bind to the port _even when somebody else
  30979. already has it bound_! So, don't do that on Win32.
  30980. - Change version parsing logic: a version is "obsolete" if it is not
  30981. recommended and (1) there is a newer recommended version in the
  30982. same series, or (2) there are no recommended versions in the same
  30983. series, but there are some recommended versions in a newer series.
  30984. A version is "new" if it is newer than any recommended version in
  30985. the same series.
  30986. - Stop most cases of hanging up on a socks connection without sending
  30987. the socks reject.
  30988. o Helpful fixes:
  30989. - Require BandwidthRate to be at least 20kB/s for servers.
  30990. - When a dirserver causes you to give a warn, mention which dirserver
  30991. it was.
  30992. - New config option DirAllowPrivateAddresses for authdirservers.
  30993. Now by default they refuse router descriptors that have non-IP or
  30994. private-IP addresses.
  30995. - Stop publishing socksport in the directory, since it's not
  30996. actually meant to be public. For compatibility, publish a 0 there
  30997. for now.
  30998. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  30999. smart" value, that is low for servers and high for clients.
  31000. - If our clock jumps forward by 100 seconds or more, assume something
  31001. has gone wrong with our network and abandon all not-yet-used circs.
  31002. - Warn when exit policy implicitly allows local addresses.
  31003. - If we get an incredibly skewed timestamp from a dirserver mirror
  31004. that isn't a verified OR, don't warn -- it's probably him that's
  31005. wrong.
  31006. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  31007. cookies to disk and doesn't log each web request to disk. (Thanks
  31008. to Brett Carrington for pointing this out.)
  31009. - When a client asks us for a dir mirror and we don't have one,
  31010. launch an attempt to get a fresh one.
  31011. - If we're hibernating and we get a SIGINT, exit immediately.
  31012. - Add --with-dmalloc ./configure option, to track memory leaks.
  31013. - And try to free all memory on closing, so we can detect what
  31014. we're leaking.
  31015. - Cache local dns resolves correctly even when they're .exit
  31016. addresses.
  31017. - Give a better warning when some other server advertises an
  31018. ORPort that is actually an apache running ssl.
  31019. - Add "opt hibernating 1" to server descriptor to make it clearer
  31020. whether the server is hibernating.
  31021. Changes in version 0.0.9.6 - 2005-03-24
  31022. o Bugfixes on 0.0.9.x (crashes and asserts):
  31023. - Add new end stream reasons to maintenance branch. Fix bug where
  31024. reason (8) could trigger an assert. Prevent bug from recurring.
  31025. - Apparently win32 stat wants paths to not end with a slash.
  31026. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  31027. blowing away the circuit that conn->cpath_layer points to, then
  31028. checking to see if the circ is well-formed. Backport check to make
  31029. sure we dont use the cpath on a closed connection.
  31030. - Prevent circuit_resume_edge_reading_helper() from trying to package
  31031. inbufs for marked-for-close streams.
  31032. - Don't crash on hup if your options->address has become unresolvable.
  31033. - Some systems (like OS X) sometimes accept() a connection and tell
  31034. you the remote host is 0.0.0.0:0. If this happens, due to some
  31035. other mis-features, we get confused; so refuse the conn for now.
  31036. o Bugfixes on 0.0.9.x (other):
  31037. - Fix harmless but scary "Unrecognized content encoding" warn message.
  31038. - Add new stream error reason: TORPROTOCOL reason means "you are not
  31039. speaking a version of Tor I understand; say bye-bye to your stream."
  31040. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  31041. into the future, now that we are more tolerant of skew. This
  31042. resolves a bug where a Tor server would refuse to cache a directory
  31043. because all the directories it gets are too far in the future;
  31044. yet the Tor server never logs any complaints about clock skew.
  31045. - Mac packaging magic: make man pages useable, and do not overwrite
  31046. existing torrc files.
  31047. - Make OS X log happily to /var/log/tor/tor.log
  31048. Changes in version 0.0.9.5 - 2005-02-22
  31049. o Bugfixes on 0.0.9.x:
  31050. - Fix an assert race at exit nodes when resolve requests fail.
  31051. - Stop picking unverified dir mirrors--it only leads to misery.
  31052. - Patch from Matt Edman to make NT services work better. Service
  31053. support is still not compiled into the executable by default.
  31054. - Patch from Dmitri Bely so the Tor service runs better under
  31055. the win32 SYSTEM account.
  31056. - Make tor-resolve actually work (?) on Win32.
  31057. - Fix a sign bug when getrlimit claims to have 4+ billion
  31058. file descriptors available.
  31059. - Stop refusing to start when bandwidthburst == bandwidthrate.
  31060. - When create cells have been on the onion queue more than five
  31061. seconds, just send back a destroy and take them off the list.
  31062. Changes in version 0.0.9.4 - 2005-02-03
  31063. o Bugfixes on 0.0.9:
  31064. - Fix an assert bug that took down most of our servers: when
  31065. a server claims to have 1 GB of bandwidthburst, don't
  31066. freak out.
  31067. - Don't crash as badly if we have spawned the max allowed number
  31068. of dnsworkers, or we're out of file descriptors.
  31069. - Block more file-sharing ports in the default exit policy.
  31070. - MaxConn is now automatically set to the hard limit of max
  31071. file descriptors we're allowed (ulimit -n), minus a few for
  31072. logs, etc.
  31073. - Give a clearer message when servers need to raise their
  31074. ulimit -n when they start running out of file descriptors.
  31075. - SGI Compatibility patches from Jan Schaumann.
  31076. - Tolerate a corrupt cached directory better.
  31077. - When a dirserver hasn't approved your server, list which one.
  31078. - Go into soft hibernation after 95% of the bandwidth is used,
  31079. not 99%. This is especially important for daily hibernators who
  31080. have a small accounting max. Hopefully it will result in fewer
  31081. cut connections when the hard hibernation starts.
  31082. - Load-balance better when using servers that claim more than
  31083. 800kB/s of capacity.
  31084. - Make NT services work (experimental, only used if compiled in).
  31085. Changes in version 0.0.9.3 - 2005-01-21
  31086. o Bugfixes on 0.0.9:
  31087. - Backport the cpu use fixes from main branch, so busy servers won't
  31088. need as much processor time.
  31089. - Work better when we go offline and then come back, or when we
  31090. run Tor at boot before the network is up. We do this by
  31091. optimistically trying to fetch a new directory whenever an
  31092. application request comes in and we think we're offline -- the
  31093. human is hopefully a good measure of when the network is back.
  31094. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  31095. long as you keep using them; actually publish hidserv descriptors
  31096. shortly after they change, rather than waiting 20-40 minutes.
  31097. - Enable Mac startup script by default.
  31098. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  31099. - When you update AllowUnverifiedNodes or FirewallPorts via the
  31100. controller's setconf feature, we were always appending, never
  31101. resetting.
  31102. - When you update HiddenServiceDir via setconf, it was screwing up
  31103. the order of reading the lines, making it fail.
  31104. - Do not rewrite a cached directory back to the cache; otherwise we
  31105. will think it is recent and not fetch a newer one on startup.
  31106. - Workaround for webservers that lie about Content-Encoding: Tor
  31107. now tries to autodetect compressed directories and compression
  31108. itself. This lets us Proxypass dir fetches through apache.
  31109. Changes in version 0.0.9.2 - 2005-01-04
  31110. o Bugfixes on 0.0.9 (crashes and asserts):
  31111. - Fix an assert on startup when the disk is full and you're logging
  31112. to a file.
  31113. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  31114. style address, then we'd crash.
  31115. - Fix an assert trigger when the running-routers string we get from
  31116. a dirserver is broken.
  31117. - Make worker threads start and run on win32. Now win32 servers
  31118. may work better.
  31119. - Bandaid (not actually fix, but now it doesn't crash) an assert
  31120. where the dns worker dies mysteriously and the main Tor process
  31121. doesn't remember anything about the address it was resolving.
  31122. o Bugfixes on 0.0.9 (Win32):
  31123. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  31124. name out of the warning/assert messages.
  31125. - Fix a superficial "unhandled error on read" bug on win32.
  31126. - The win32 installer no longer requires a click-through for our
  31127. license, since our Free Software license grants rights but does not
  31128. take any away.
  31129. - Win32: When connecting to a dirserver fails, try another one
  31130. immediately. (This was already working for non-win32 Tors.)
  31131. - Stop trying to parse $HOME on win32 when hunting for default
  31132. DataDirectory.
  31133. - Make tor-resolve.c work on win32 by calling network_init().
  31134. o Bugfixes on 0.0.9 (other):
  31135. - Make 0.0.9.x build on Solaris again.
  31136. - Due to a fencepost error, we were blowing away the \n when reporting
  31137. confvalue items in the controller. So asking for multiple config
  31138. values at once couldn't work.
  31139. - When listing circuits that are pending on an opening OR connection,
  31140. if we're an OR we were listing circuits that *end* at us as
  31141. being pending on every listener, dns/cpu worker, etc. Stop that.
  31142. - Dirservers were failing to create 'running-routers' or 'directory'
  31143. strings if we had more than some threshold of routers. Fix them so
  31144. they can handle any number of routers.
  31145. - Fix a superficial "Duplicate mark for close" bug.
  31146. - Stop checking for clock skew for OR connections, even for servers.
  31147. - Fix a fencepost error that was chopping off the last letter of any
  31148. nickname that is the maximum allowed nickname length.
  31149. - Update URLs in log messages so they point to the new website.
  31150. - Fix a potential problem in mangling server private keys while
  31151. writing to disk (not triggered yet, as far as we know).
  31152. - Include the licenses for other free software we include in Tor,
  31153. now that we're shipping binary distributions more regularly.
  31154. Changes in version 0.0.9.1 - 2004-12-15
  31155. o Bugfixes on 0.0.9:
  31156. - Make hibernation actually work.
  31157. - Make HashedControlPassword config option work.
  31158. - When we're reporting event circuit status to a controller,
  31159. don't use the stream status code.
  31160. Changes in version 0.0.9 - 2004-12-12
  31161. o Cleanups:
  31162. - Clean up manpage and torrc.sample file.
  31163. - Clean up severities and text of log warnings.
  31164. o Mistakes:
  31165. - Make servers trigger an assert when they enter hibernation.
  31166. Changes in version 0.0.9rc7 - 2004-12-08
  31167. o Bugfixes on 0.0.9rc:
  31168. - Fix a stack-trashing crash when an exit node begins hibernating.
  31169. - Avoid looking at unallocated memory while considering which
  31170. ports we need to build circuits to cover.
  31171. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  31172. we shouldn't hold-open-until-flush if the eof arrived first.
  31173. - Fix a bug with init_cookie_authentication() in the controller.
  31174. - When recommending new-format log lines, if the upper bound is
  31175. LOG_ERR, leave it implicit.
  31176. o Bugfixes on 0.0.8.1:
  31177. - Fix a whole slew of memory leaks.
  31178. - Fix isspace() and friends so they still make Solaris happy
  31179. but also so they don't trigger asserts on win32.
  31180. - Fix parse_iso_time on platforms without strptime (eg win32).
  31181. - win32: tolerate extra "readable" events better.
  31182. - win32: when being multithreaded, leave parent fdarray open.
  31183. - Make unit tests work on win32.
  31184. Changes in version 0.0.9rc6 - 2004-12-06
  31185. o Bugfixes on 0.0.9pre:
  31186. - Clean up some more integer underflow opportunities (not exploitable
  31187. we think).
  31188. - While hibernating, hup should not regrow our listeners.
  31189. - Send an end to the streams we close when we hibernate, rather
  31190. than just chopping them off.
  31191. - React to eof immediately on non-open edge connections.
  31192. o Bugfixes on 0.0.8.1:
  31193. - Calculate timeout for waiting for a connected cell from the time
  31194. we sent the begin cell, not from the time the stream started. If
  31195. it took a long time to establish the circuit, we would time out
  31196. right after sending the begin cell.
  31197. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  31198. of * as always matching, so we were picking reject *:* nodes as
  31199. exit nodes too. Oops.
  31200. o Features:
  31201. - New circuit building strategy: keep a list of ports that we've
  31202. used in the past 6 hours, and always try to have 2 circuits open
  31203. or on the way that will handle each such port. Seed us with port
  31204. 80 so web users won't complain that Tor is "slow to start up".
  31205. - Make kill -USR1 dump more useful stats about circuits.
  31206. - When warning about retrying or giving up, print the address, so
  31207. the user knows which one it's talking about.
  31208. - If you haven't used a clean circuit in an hour, throw it away,
  31209. just to be on the safe side. (This means after 6 hours a totally
  31210. unused Tor client will have no circuits open.)
  31211. Changes in version 0.0.9rc5 - 2004-12-01
  31212. o Bugfixes on 0.0.8.1:
  31213. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  31214. - Let resolve conns retry/expire also, rather than sticking around
  31215. forever.
  31216. - If we are using select, make sure we stay within FD_SETSIZE.
  31217. o Bugfixes on 0.0.9pre:
  31218. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  31219. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  31220. finding it.
  31221. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  31222. instead. Impose minima and maxima for all *Period options; impose
  31223. even tighter maxima for fetching if we are a caching dirserver.
  31224. Clip rather than rejecting.
  31225. - Fetch cached running-routers from servers that serve it (that is,
  31226. authdirservers and servers running 0.0.9rc5-cvs or later.)
  31227. o Features:
  31228. - Accept *:706 (silc) in default exit policy.
  31229. - Implement new versioning format for post 0.1.
  31230. - Support "foo.nickname.exit" addresses, to let Alice request the
  31231. address "foo" as viewed by exit node "nickname". Based on a patch
  31232. by Geoff Goodell.
  31233. - Make tor --version --version dump the cvs Id of every file.
  31234. Changes in version 0.0.9rc4 - 2004-11-28
  31235. o Bugfixes on 0.0.8.1:
  31236. - Make windows sockets actually non-blocking (oops), and handle
  31237. win32 socket errors better.
  31238. o Bugfixes on 0.0.9rc1:
  31239. - Actually catch the -USR2 signal.
  31240. Changes in version 0.0.9rc3 - 2004-11-25
  31241. o Bugfixes on 0.0.8.1:
  31242. - Flush the log file descriptor after we print "Tor opening log file",
  31243. so we don't see those messages days later.
  31244. o Bugfixes on 0.0.9rc1:
  31245. - Make tor-resolve work again.
  31246. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  31247. - Fix an assert trigger for clients/servers handling resolves.
  31248. Changes in version 0.0.9rc2 - 2004-11-24
  31249. o Bugfixes on 0.0.9rc1:
  31250. - I broke socks5 support while fixing the eof bug.
  31251. - Allow unitless bandwidths and intervals; they default to bytes
  31252. and seconds.
  31253. - New servers don't start out hibernating; they are active until
  31254. they run out of bytes, so they have a better estimate of how
  31255. long it takes, and so their operators can know they're working.
  31256. Changes in version 0.0.9rc1 - 2004-11-23
  31257. o Bugfixes on 0.0.8.1:
  31258. - Finally fix a bug that's been plaguing us for a year:
  31259. With high load, circuit package window was reaching 0. Whenever
  31260. we got a circuit-level sendme, we were reading a lot on each
  31261. socket, but only writing out a bit. So we would eventually reach
  31262. eof. This would be noticed and acted on even when there were still
  31263. bytes sitting in the inbuf.
  31264. - When poll() is interrupted, we shouldn't believe the revents values.
  31265. o Bugfixes on 0.0.9pre6:
  31266. - Fix hibernate bug that caused pre6 to be broken.
  31267. - Don't keep rephist info for routers that haven't had activity for
  31268. 24 hours. (This matters now that clients have keys, since we track
  31269. them too.)
  31270. - Never call close_temp_logs while validating log options.
  31271. - Fix backslash-escaping on tor.sh.in and torctl.in.
  31272. o Features:
  31273. - Implement weekly/monthly/daily accounting: now you specify your
  31274. hibernation properties by
  31275. AccountingMax N bytes|KB|MB|GB|TB
  31276. AccountingStart day|week|month [day] HH:MM
  31277. Defaults to "month 1 0:00".
  31278. - Let bandwidth and interval config options be specified as 5 bytes,
  31279. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  31280. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  31281. get back to normal.)
  31282. - If your requested entry or exit node has advertised bandwidth 0,
  31283. pick it anyway.
  31284. - Be more greedy about filling up relay cells -- we try reading again
  31285. once we've processed the stuff we read, in case enough has arrived
  31286. to fill the last cell completely.
  31287. - Apply NT service patch from Osamu Fujino. Still needs more work.
  31288. Changes in version 0.0.9pre6 - 2004-11-15
  31289. o Bugfixes on 0.0.8.1:
  31290. - Fix assert failure on malformed socks4a requests.
  31291. - Use identity comparison, not nickname comparison, to choose which
  31292. half of circuit-ID-space each side gets to use. This is needed
  31293. because sometimes we think of a router as a nickname, and sometimes
  31294. as a hex ID, and we can't predict what the other side will do.
  31295. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  31296. write() call will fail and we handle it there.
  31297. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  31298. and smartlist_len, which are two major profiling offenders.
  31299. o Bugfixes on 0.0.9pre5:
  31300. - Fix a bug in read_all that was corrupting config files on windows.
  31301. - When we're raising the max number of open file descriptors to
  31302. 'unlimited', don't log that we just raised it to '-1'.
  31303. - Include event code with events, as required by control-spec.txt.
  31304. - Don't give a fingerprint when clients do --list-fingerprint:
  31305. it's misleading, because it will never be the same again.
  31306. - Stop using strlcpy in tor_strndup, since it was slowing us
  31307. down a lot.
  31308. - Remove warn on startup about missing cached-directory file.
  31309. - Make kill -USR1 work again.
  31310. - Hibernate if we start tor during the "wait for wakeup-time" phase
  31311. of an accounting interval. Log our hibernation plans better.
  31312. - Authoritative dirservers now also cache their directory, so they
  31313. have it on start-up.
  31314. o Features:
  31315. - Fetch running-routers; cache running-routers; compress
  31316. running-routers; serve compressed running-routers.z
  31317. - Add NSI installer script contributed by J Doe.
  31318. - Commit VC6 and VC7 workspace/project files.
  31319. - Commit a tor.spec for making RPM files, with help from jbash.
  31320. - Add contrib/torctl.in contributed by Glenn Fink.
  31321. - Implement the control-spec's SAVECONF command, to write your
  31322. configuration to torrc.
  31323. - Get cookie authentication for the controller closer to working.
  31324. - Include control-spec.txt in the tarball.
  31325. - When set_conf changes our server descriptor, upload a new copy.
  31326. But don't upload it too often if there are frequent changes.
  31327. - Document authentication config in man page, and document signals
  31328. we catch.
  31329. - Clean up confusing parts of man page and torrc.sample.
  31330. - Make expand_filename handle ~ and ~username.
  31331. - Use autoconf to enable largefile support where necessary. Use
  31332. ftello where available, since ftell can fail at 2GB.
  31333. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  31334. log more informatively.
  31335. - Give a slightly more useful output for "tor -h".
  31336. - Refuse application socks connections to port 0.
  31337. - Check clock skew for verified servers, but allow unverified
  31338. servers and clients to have any clock skew.
  31339. - Break DirFetchPostPeriod into:
  31340. - DirFetchPeriod for fetching full directory,
  31341. - StatusFetchPeriod for fetching running-routers,
  31342. - DirPostPeriod for posting server descriptor,
  31343. - RendPostPeriod for posting hidden service descriptors.
  31344. - Make sure the hidden service descriptors are at a random offset
  31345. from each other, to hinder linkability.
  31346. Changes in version 0.0.9pre5 - 2004-11-09
  31347. o Bugfixes on 0.0.9pre4:
  31348. - Fix a seg fault in unit tests (doesn't affect main program).
  31349. - Fix an assert bug where a hidden service provider would fail if
  31350. the first hop of his rendezvous circuit was down.
  31351. - Hidden service operators now correctly handle version 1 style
  31352. INTRODUCE1 cells (nobody generates them still, so not a critical
  31353. bug).
  31354. - If do_hup fails, actually notice.
  31355. - Handle more errnos from accept() without closing the listener.
  31356. Some OpenBSD machines were closing their listeners because
  31357. they ran out of file descriptors.
  31358. - Send resolve cells to exit routers that are running a new
  31359. enough version of the resolve code to work right.
  31360. - Better handling of winsock includes on non-MSV win32 compilers.
  31361. - Some people had wrapped their tor client/server in a script
  31362. that would restart it whenever it died. This did not play well
  31363. with our "shut down if your version is obsolete" code. Now people
  31364. don't fetch a new directory if their local cached version is
  31365. recent enough.
  31366. - Make our autogen.sh work on ksh as well as bash.
  31367. o Major Features:
  31368. - Hibernation: New config option "AccountingMaxKB" lets you
  31369. set how many KBytes per month you want to allow your server to
  31370. consume. Rather than spreading those bytes out evenly over the
  31371. month, we instead hibernate for some of the month and pop up
  31372. at a deterministic time, work until the bytes are consumed, then
  31373. hibernate again. Config option "MonthlyAccountingStart" lets you
  31374. specify which day of the month your billing cycle starts on.
  31375. - Control interface: a separate program can now talk to your
  31376. client/server over a socket, and get/set config options, receive
  31377. notifications of circuits and streams starting/finishing/dying,
  31378. bandwidth used, etc. The next step is to get some GUIs working.
  31379. Let us know if you want to help out. See doc/control-spec.txt .
  31380. - Ship a contrib/tor-control.py as an example script to interact
  31381. with the control port.
  31382. - "tor --hash-password zzyxz" will output a salted password for
  31383. use in authenticating to the control interface.
  31384. - New log format in config:
  31385. "Log minsev[-maxsev] stdout|stderr|syslog" or
  31386. "Log minsev[-maxsev] file /var/foo"
  31387. o Minor Features:
  31388. - DirPolicy config option, to let people reject incoming addresses
  31389. from their dirserver.
  31390. - "tor --list-fingerprint" will list your identity key fingerprint
  31391. and then exit.
  31392. - Add "pass" target for RedirectExit, to make it easier to break
  31393. out of a sequence of RedirectExit rules.
  31394. - Clients now generate a TLS cert too, in preparation for having
  31395. them act more like real nodes.
  31396. - Ship src/win32/ in the tarball, so people can use it to build.
  31397. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  31398. is broken.
  31399. - New "router-status" line in directory, to better bind each verified
  31400. nickname to its identity key.
  31401. - Deprecate unofficial config option abbreviations, and abbreviations
  31402. not on the command line.
  31403. - Add a pure-C tor-resolve implementation.
  31404. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  31405. 1024) file descriptors.
  31406. o Code security improvements, inspired by Ilja:
  31407. - Replace sprintf with snprintf. (I think they were all safe, but
  31408. hey.)
  31409. - Replace strcpy/strncpy with strlcpy in more places.
  31410. - Avoid strcat; use snprintf or strlcat instead.
  31411. - snprintf wrapper with consistent (though not C99) overflow behavior.
  31412. Changes in version 0.0.9pre4 - 2004-10-17
  31413. o Bugfixes on 0.0.9pre3:
  31414. - If the server doesn't specify an exit policy, use the real default
  31415. exit policy, not reject *:*.
  31416. - Ignore fascistfirewall when uploading/downloading hidden service
  31417. descriptors, since we go through Tor for those; and when using
  31418. an HttpProxy, since we assume it can reach them all.
  31419. - When looking for an authoritative dirserver, use only the ones
  31420. configured at boot. Don't bother looking in the directory.
  31421. - The rest of the fix for get_default_conf_file() on older win32.
  31422. - Make 'Routerfile' config option obsolete.
  31423. o Features:
  31424. - New 'MyFamily nick1,...' config option for a server to
  31425. specify other servers that shouldn't be used in the same circuit
  31426. with it. Only believed if nick1 also specifies us.
  31427. - New 'NodeFamily nick1,nick2,...' config option for a client to
  31428. specify nodes that it doesn't want to use in the same circuit.
  31429. - New 'Redirectexit pattern address:port' config option for a
  31430. server to redirect exit connections, e.g. to a local squid.
  31431. Changes in version 0.0.9pre3 - 2004-10-13
  31432. o Bugfixes on 0.0.8.1:
  31433. - Better torrc example lines for dirbindaddress and orbindaddress.
  31434. - Improved bounds checking on parsed ints (e.g. config options and
  31435. the ones we find in directories.)
  31436. - Better handling of size_t vs int, so we're more robust on 64
  31437. bit platforms.
  31438. - Fix the rest of the bug where a newly started OR would appear
  31439. as unverified even after we've added his fingerprint and hupped
  31440. the dirserver.
  31441. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  31442. close it without sending back an end. So 'connection refused'
  31443. would simply be ignored and the user would get no response.
  31444. o Bugfixes on 0.0.9pre2:
  31445. - Serving the cached-on-disk directory to people is bad. We now
  31446. provide no directory until we've fetched a fresh one.
  31447. - Workaround for bug on windows where cached-directories get crlf
  31448. corruption.
  31449. - Make get_default_conf_file() work on older windows too.
  31450. - If we write a *:* exit policy line in the descriptor, don't write
  31451. any more exit policy lines.
  31452. o Features:
  31453. - Use only 0.0.9pre1 and later servers for resolve cells.
  31454. - Make the dirservers file obsolete.
  31455. - Include a dir-signing-key token in directories to tell the
  31456. parsing entity which key is being used to sign.
  31457. - Remove the built-in bulky default dirservers string.
  31458. - New config option "Dirserver %s:%d [fingerprint]", which can be
  31459. repeated as many times as needed. If no dirservers specified,
  31460. default to moria1,moria2,tor26.
  31461. - Make moria2 advertise a dirport of 80, so people behind firewalls
  31462. will be able to get a directory.
  31463. - Http proxy support
  31464. - Dirservers translate requests for http://%s:%d/x to /x
  31465. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  31466. be routed through this host.
  31467. - Clients ask for /tor/x rather than /x for new enough dirservers.
  31468. This way we can one day coexist peacefully with apache.
  31469. - Clients specify a "Host: %s%d" http header, to be compatible
  31470. with more proxies, and so running squid on an exit node can work.
  31471. Changes in version 0.0.8.1 - 2004-10-13
  31472. o Bugfixes:
  31473. - Fix a seg fault that can be triggered remotely for Tor
  31474. clients/servers with an open dirport.
  31475. - Fix a rare assert trigger, where routerinfos for entries in
  31476. our cpath would expire while we're building the path.
  31477. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  31478. - Fix a rare seg fault for people running hidden services on
  31479. intermittent connections.
  31480. - Fix a bug in parsing opt keywords with objects.
  31481. - Fix a stale pointer assert bug when a stream detaches and
  31482. reattaches.
  31483. - Fix a string format vulnerability (probably not exploitable)
  31484. in reporting stats locally.
  31485. - Fix an assert trigger: sometimes launching circuits can fail
  31486. immediately, e.g. because too many circuits have failed recently.
  31487. - Fix a compile warning on 64 bit platforms.
  31488. Changes in version 0.0.9pre2 - 2004-10-03
  31489. o Bugfixes:
  31490. - Make fetching a cached directory work for 64-bit platforms too.
  31491. - Make zlib.h a required header, not an optional header.
  31492. Changes in version 0.0.9pre1 - 2004-10-01
  31493. o Bugfixes:
  31494. - Stop using separate defaults for no-config-file and
  31495. empty-config-file. Now you have to explicitly turn off SocksPort,
  31496. if you don't want it open.
  31497. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  31498. - Improve man page to mention more of the 0.0.8 features.
  31499. - Fix a rare seg fault for people running hidden services on
  31500. intermittent connections.
  31501. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  31502. happier.
  31503. - Fix more dns related bugs: send back resolve_failed and end cells
  31504. more reliably when the resolve fails, rather than closing the
  31505. circuit and then trying to send the cell. Also attach dummy resolve
  31506. connections to a circuit *before* calling dns_resolve(), to fix
  31507. a bug where cached answers would never be sent in RESOLVED cells.
  31508. - When we run out of disk space, or other log writing error, don't
  31509. crash. Just stop logging to that log and continue.
  31510. - We were starting to daemonize before we opened our logs, so if
  31511. there were any problems opening logs, we would complain to stderr,
  31512. which wouldn't work, and then mysteriously exit.
  31513. - Fix a rare bug where sometimes a verified OR would connect to us
  31514. before he'd uploaded his descriptor, which would cause us to
  31515. assign conn->nickname as though he's unverified. Now we look through
  31516. the fingerprint list to see if he's there.
  31517. - Fix a rare assert trigger, where routerinfos for entries in
  31518. our cpath would expire while we're building the path.
  31519. o Features:
  31520. - Clients can ask dirservers for /dir.z to get a compressed version
  31521. of the directory. Only works for servers running 0.0.9, of course.
  31522. - Make clients cache directories and use them to seed their router
  31523. lists at startup. This means clients have a datadir again.
  31524. - Configuration infrastructure support for warning on obsolete
  31525. options.
  31526. - Respond to content-encoding headers by trying to uncompress as
  31527. appropriate.
  31528. - Reply with a deflated directory when a client asks for "dir.z".
  31529. We could use allow-encodings instead, but allow-encodings isn't
  31530. specified in HTTP 1.0.
  31531. - Raise the max dns workers from 50 to 100.
  31532. - Discourage people from setting their dirfetchpostperiod more often
  31533. than once per minute.
  31534. - Protect dirservers from overzealous descriptor uploading -- wait
  31535. 10 seconds after directory gets dirty, before regenerating.
  31536. Changes in version 0.0.8 - 2004-08-25
  31537. o Port it to SunOS 5.9 / Athena
  31538. Changes in version 0.0.8rc2 - 2004-08-20
  31539. o Make it compile on cygwin again.
  31540. o When picking unverified routers, skip those with low uptime and/or
  31541. low bandwidth, depending on what properties you care about.
  31542. Changes in version 0.0.8rc1 - 2004-08-18
  31543. o Changes from 0.0.7.3:
  31544. - Bugfixes:
  31545. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  31546. don't put it into the client dns cache.
  31547. - If a begin failed due to exit policy, but we believe the IP address
  31548. should have been allowed, switch that router to exitpolicy reject *:*
  31549. until we get our next directory.
  31550. - Features:
  31551. - Clients choose nodes proportional to advertised bandwidth.
  31552. - Avoid using nodes with low uptime as introduction points.
  31553. - Handle servers with dynamic IP addresses: don't replace
  31554. options->Address with the resolved one at startup, and
  31555. detect our address right before we make a routerinfo each time.
  31556. - 'FascistFirewall' option to pick dirservers and ORs on specific
  31557. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  31558. which ports are open. (Defaults to 80,443)
  31559. - Be more aggressive about trying to make circuits when the network
  31560. has changed (e.g. when you unsuspend your laptop).
  31561. - Check for time skew on http headers; report date in response to
  31562. "GET /".
  31563. - If the entrynode config line has only one node, don't pick it as
  31564. an exitnode.
  31565. - Add strict{entry|exit}nodes config options. If set to 1, then
  31566. we refuse to build circuits that don't include the specified entry
  31567. or exit nodes.
  31568. - OutboundBindAddress config option, to bind to a specific
  31569. IP address for outgoing connect()s.
  31570. - End truncated log entries (e.g. directories) with "[truncated]".
  31571. o Patches to 0.0.8preX:
  31572. - Bugfixes:
  31573. - Patches to compile and run on win32 again (maybe)?
  31574. - Fix crash when looking for ~/.torrc with no $HOME set.
  31575. - Fix a race bug in the unit tests.
  31576. - Handle verified/unverified name collisions better when new
  31577. routerinfo's arrive in a directory.
  31578. - Sometimes routers were getting entered into the stats before
  31579. we'd assigned their identity_digest. Oops.
  31580. - Only pick and establish intro points after we've gotten a
  31581. directory.
  31582. - Features:
  31583. - AllowUnverifiedNodes config option to let circuits choose no-name
  31584. routers in entry,middle,exit,introduction,rendezvous positions.
  31585. Allow middle and rendezvous positions by default.
  31586. - Add a man page for tor-resolve.
  31587. Changes in version 0.0.7.3 - 2004-08-12
  31588. o Stop dnsworkers from triggering an assert failure when you
  31589. ask them to resolve the host "".
  31590. Changes in version 0.0.8pre3 - 2004-08-09
  31591. o Changes from 0.0.7.2:
  31592. - Allow multiple ORs with same nickname in routerlist -- now when
  31593. people give us one identity key for a nickname, then later
  31594. another, we don't constantly complain until the first expires.
  31595. - Remember used bandwidth (both in and out), and publish 15-minute
  31596. snapshots for the past day into our descriptor.
  31597. - You can now fetch $DIRURL/running-routers to get just the
  31598. running-routers line, not the whole descriptor list. (But
  31599. clients don't use this yet.)
  31600. - When people mistakenly use Tor as an http proxy, point them
  31601. at the tor-doc.html rather than the INSTALL.
  31602. - Remove our mostly unused -- and broken -- hex_encode()
  31603. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  31604. for pointing out this bug.)
  31605. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  31606. fewer problems with people using the wrong key.
  31607. - Change the default exit policy to reject the default edonkey,
  31608. kazaa, gnutella ports.
  31609. - Add replace_file() to util.[ch] to handle win32's rename().
  31610. o Changes from 0.0.8preX:
  31611. - Fix two bugs in saving onion keys to disk when rotating, so
  31612. hopefully we'll get fewer people using old onion keys.
  31613. - Fix an assert error that was making SocksPolicy not work.
  31614. - Be willing to expire routers that have an open dirport -- it's
  31615. just the authoritative dirservers we want to not forget.
  31616. - Reject tor-resolve requests for .onion addresses early, so we
  31617. don't build a whole rendezvous circuit and then fail.
  31618. - When you're warning a server that he's unverified, don't cry
  31619. wolf unpredictably.
  31620. - Fix a race condition: don't try to extend onto a connection
  31621. that's still handshaking.
  31622. - For servers in clique mode, require the conn to be open before
  31623. you'll choose it for your path.
  31624. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  31625. end relay cell, etc.
  31626. - Measure bandwidth capacity over the last 24 hours, not just 12
  31627. - Bugfix: authoritative dirservers were making and signing a new
  31628. directory for each client, rather than reusing the cached one.
  31629. Changes in version 0.0.8pre2 - 2004-08-04
  31630. o Changes from 0.0.7.2:
  31631. - Security fixes:
  31632. - Check directory signature _before_ you decide whether you're
  31633. you're running an obsolete version and should exit.
  31634. - Check directory signature _before_ you parse the running-routers
  31635. list to decide who's running or verified.
  31636. - Bugfixes and features:
  31637. - Check return value of fclose while writing to disk, so we don't
  31638. end up with broken files when servers run out of disk space.
  31639. - Log a warning if the user uses an unsafe socks variant, so people
  31640. are more likely to learn about privoxy or socat.
  31641. - Dirservers now include RFC1123-style dates in the HTTP headers,
  31642. which one day we will use to better detect clock skew.
  31643. o Changes from 0.0.8pre1:
  31644. - Make it compile without warnings again on win32.
  31645. - Log a warning if you're running an unverified server, to let you
  31646. know you might want to get it verified.
  31647. - Only pick a default nickname if you plan to be a server.
  31648. Changes in version 0.0.8pre1 - 2004-07-23
  31649. o Bugfixes:
  31650. - Made our unit tests compile again on OpenBSD 3.5, and tor
  31651. itself compile again on OpenBSD on a sparc64.
  31652. - We were neglecting milliseconds when logging on win32, so
  31653. everything appeared to happen at the beginning of each second.
  31654. o Protocol changes:
  31655. - 'Extend' relay cell payloads now include the digest of the
  31656. intended next hop's identity key. Now we can verify that we're
  31657. extending to the right router, and also extend to routers we
  31658. hadn't heard of before.
  31659. o Features:
  31660. - Tor nodes can now act as relays (with an advertised ORPort)
  31661. without being manually verified by the dirserver operators.
  31662. - Uploaded descriptors of unverified routers are now accepted
  31663. by the dirservers, and included in the directory.
  31664. - Verified routers are listed by nickname in the running-routers
  31665. list; unverified routers are listed as "$<fingerprint>".
  31666. - We now use hash-of-identity-key in most places rather than
  31667. nickname or addr:port, for improved security/flexibility.
  31668. - To avoid Sybil attacks, paths still use only verified servers.
  31669. But now we have a chance to play around with hybrid approaches.
  31670. - Nodes track bandwidth usage to estimate capacity (not used yet).
  31671. - ClientOnly option for nodes that never want to become servers.
  31672. - Directory caching.
  31673. - "AuthoritativeDir 1" option for the official dirservers.
  31674. - Now other nodes (clients and servers) will cache the latest
  31675. directory they've pulled down.
  31676. - They can enable their DirPort to serve it to others.
  31677. - Clients will pull down a directory from any node with an open
  31678. DirPort, and check the signature/timestamp correctly.
  31679. - Authoritative dirservers now fetch directories from other
  31680. authdirservers, to stay better synced.
  31681. - Running-routers list tells who's down also, along with noting
  31682. if they're verified (listed by nickname) or unverified (listed
  31683. by hash-of-key).
  31684. - Allow dirservers to serve running-router list separately.
  31685. This isn't used yet.
  31686. - ORs connect-on-demand to other ORs
  31687. - If you get an extend cell to an OR you're not connected to,
  31688. connect, handshake, and forward the create cell.
  31689. - The authoritative dirservers stay connected to everybody,
  31690. and everybody stays connected to 0.0.7 servers, but otherwise
  31691. clients/servers expire unused connections after 5 minutes.
  31692. - When servers get a sigint, they delay 30 seconds (refusing new
  31693. connections) then exit. A second sigint causes immediate exit.
  31694. - File and name management:
  31695. - Look for .torrc if no CONFDIR "torrc" is found.
  31696. - If no datadir is defined, then choose, make, and secure ~/.tor
  31697. as datadir.
  31698. - If torrc not found, exitpolicy reject *:*.
  31699. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  31700. - If no nickname is defined, derive default from hostname.
  31701. - Rename secret key files, e.g. identity.key -> secret_id_key,
  31702. to discourage people from mailing their identity key to tor-ops.
  31703. - Refuse to build a circuit before the directory has arrived --
  31704. it won't work anyway, since you won't know the right onion keys
  31705. to use.
  31706. - Try other dirservers immediately if the one you try is down. This
  31707. should tolerate down dirservers better now.
  31708. - Parse tor version numbers so we can do an is-newer-than check
  31709. rather than an is-in-the-list check.
  31710. - New socks command 'resolve', to let us shim gethostbyname()
  31711. locally.
  31712. - A 'tor_resolve' script to access the socks resolve functionality.
  31713. - A new socks-extensions.txt doc file to describe our
  31714. interpretation and extensions to the socks protocols.
  31715. - Add a ContactInfo option, which gets published in descriptor.
  31716. - Publish OR uptime in descriptor (and thus in directory) too.
  31717. - Write tor version at the top of each log file
  31718. - New docs in the tarball:
  31719. - tor-doc.html.
  31720. - Document that you should proxy your SSL traffic too.
  31721. Changes in version 0.0.7.2 - 2004-07-07
  31722. o A better fix for the 0.0.0.0 problem, that will hopefully
  31723. eliminate the remaining related assertion failures.
  31724. Changes in version 0.0.7.1 - 2004-07-04
  31725. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  31726. since internally we use 0.0.0.0 to signify "not yet resolved".
  31727. Changes in version 0.0.7 - 2004-06-07
  31728. o Updated the man page to reflect the new features.
  31729. Changes in version 0.0.7rc2 - 2004-06-06
  31730. o Changes from 0.0.7rc1:
  31731. - Make it build on Win32 again.
  31732. o Changes from 0.0.6.2:
  31733. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  31734. settings too.
  31735. Changes in version 0.0.7rc1 - 2004-06-02
  31736. o Bugfixes:
  31737. - On sighup, we were adding another log without removing the first
  31738. one. So log messages would get duplicated n times for n sighups.
  31739. - Several cases of using a connection after we'd freed it. The
  31740. problem was that connections that are pending resolve are in both
  31741. the pending_resolve tree, and also the circuit's resolving_streams
  31742. list. When you want to remove one, you must remove it from both.
  31743. - Fix a double-mark-for-close where an end cell arrived for a
  31744. resolving stream, and then the resolve failed.
  31745. - Check directory signatures based on name of signer, not on whom
  31746. we got the directory from. This will let us cache directories more
  31747. easily.
  31748. o Features:
  31749. - Crank up some of our constants to handle more users.
  31750. Changes in version 0.0.7pre1 - 2004-06-02
  31751. o Fixes for crashes and other obnoxious bugs:
  31752. - Fix an epipe bug: sometimes when directory connections failed
  31753. to connect, we would give them a chance to flush before closing
  31754. them.
  31755. - When we detached from a circuit because of resolvefailed, we
  31756. would immediately try the same circuit twice more, and then
  31757. give up on the resolve thinking we'd tried three different
  31758. exit nodes.
  31759. - Limit the number of intro circuits we'll attempt to build for a
  31760. hidden service per 15-minute period.
  31761. - Check recommended-software string *early*, before actually parsing
  31762. the directory. Thus we can detect an obsolete version and exit,
  31763. even if the new directory format doesn't parse.
  31764. o Fixes for security bugs:
  31765. - Remember which nodes are dirservers when you startup, and if a
  31766. random OR enables his dirport, don't automatically assume he's
  31767. a trusted dirserver.
  31768. o Other bugfixes:
  31769. - Directory connections were asking the wrong poll socket to
  31770. start writing, and not asking themselves to start writing.
  31771. - When we detached from a circuit because we sent a begin but
  31772. didn't get a connected, we would use it again the first time;
  31773. but after that we would correctly switch to a different one.
  31774. - Stop warning when the first onion decrypt attempt fails; they
  31775. will sometimes legitimately fail now that we rotate keys.
  31776. - Override unaligned-access-ok check when $host_cpu is ia64 or
  31777. arm. Apparently they allow it but the kernel whines.
  31778. - Dirservers try to reconnect periodically too, in case connections
  31779. have failed.
  31780. - Fix some memory leaks in directory servers.
  31781. - Allow backslash in Win32 filenames.
  31782. - Made Tor build complain-free on FreeBSD, hopefully without
  31783. breaking other BSD builds. We'll see.
  31784. o Features:
  31785. - Doxygen markup on all functions and global variables.
  31786. - Make directory functions update routerlist, not replace it. So
  31787. now directory disagreements are not so critical a problem.
  31788. - Remove the upper limit on number of descriptors in a dirserver's
  31789. directory (not that we were anywhere close).
  31790. - Allow multiple logfiles at different severity ranges.
  31791. - Allow *BindAddress to specify ":port" rather than setting *Port
  31792. separately. Allow multiple instances of each BindAddress config
  31793. option, so you can bind to multiple interfaces if you want.
  31794. - Allow multiple exit policy lines, which are processed in order.
  31795. Now we don't need that huge line with all the commas in it.
  31796. - Enable accept/reject policies on SOCKS connections, so you can bind
  31797. to 0.0.0.0 but still control who can use your OP.
  31798. Changes in version 0.0.6.2 - 2004-05-16
  31799. o Our integrity-checking digest was checking only the most recent cell,
  31800. not the previous cells like we'd thought.
  31801. Thanks to Stefan Mark for finding the flaw!
  31802. Changes in version 0.0.6.1 - 2004-05-06
  31803. o Fix two bugs in our AES counter-mode implementation (this affected
  31804. onion-level stream encryption, but not TLS-level). It turns
  31805. out we were doing something much more akin to a 16-character
  31806. polyalphabetic cipher. Oops.
  31807. Thanks to Stefan Mark for finding the flaw!
  31808. o Retire moria3 as a directory server, and add tor26 as a directory
  31809. server.
  31810. Changes in version 0.0.6 - 2004-05-02
  31811. [version bump only]
  31812. Changes in version 0.0.6rc4 - 2004-05-01
  31813. o Update the built-in dirservers list to use the new directory format
  31814. o Fix a rare seg fault: if a node offering a hidden service attempts
  31815. to build a circuit to Alice's rendezvous point and fails before it
  31816. reaches the last hop, it retries with a different circuit, but
  31817. then dies.
  31818. o Handle windows socket errors correctly.
  31819. Changes in version 0.0.6rc3 - 2004-04-28
  31820. o Don't expire non-general excess circuits (if we had enough
  31821. circuits open, we were expiring rendezvous circuits -- even
  31822. when they had a stream attached. oops.)
  31823. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  31824. o Better debugging for tls errors
  31825. o Some versions of openssl have an SSL_pending function that erroneously
  31826. returns bytes when there is a non-application record pending.
  31827. o Set Content-Type on the directory and hidserv descriptor.
  31828. o Remove IVs from cipher code, since AES-ctr has none.
  31829. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  31830. o We were using an array of length zero in a few places.
  31831. o win32's gethostbyname can't resolve an IP to an IP.
  31832. o win32's close can't close a socket.
  31833. Changes in version 0.0.6rc2 - 2004-04-26
  31834. o Fix a bug where we were closing tls connections intermittently.
  31835. It turns out openssl keeps its errors around -- so if an error
  31836. happens, and you don't ask about it, and then another openssl
  31837. operation happens and succeeds, and you ask if there was an error,
  31838. it tells you about the first error. Fun fun.
  31839. o Fix a bug that's been lurking since 27 may 03 (!)
  31840. When passing back a destroy cell, we would use the wrong circ id.
  31841. 'Mostly harmless', but still worth fixing.
  31842. o Since we don't support truncateds much, don't bother sending them;
  31843. just close the circ.
  31844. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  31845. o don't crash if a conn that sent a begin has suddenly lost its circuit
  31846. (this was quite rare).
  31847. Changes in version 0.0.6rc1 - 2004-04-25
  31848. o We now rotate link (tls context) keys and onion keys.
  31849. o CREATE cells now include oaep padding, so you can tell
  31850. if you decrypted them correctly.
  31851. o Add bandwidthburst to server descriptor.
  31852. o Directories now say which dirserver signed them.
  31853. o Use a tor_assert macro that logs failed assertions too.
  31854. Changes in version 0.0.6pre5 - 2004-04-18
  31855. o changes from 0.0.6pre4:
  31856. - make tor build on broken freebsd 5.2 installs
  31857. - fix a failed assert when you try an intro point, get a nack, and try
  31858. a second one and it works.
  31859. - when alice uses a port that the hidden service doesn't accept,
  31860. it now sends back an end cell (denied by exit policy). otherwise
  31861. alice would just have to wait to time out.
  31862. - fix another rare bug: when we had tried all the intro
  31863. points for a hidden service, we fetched the descriptor
  31864. again, but we left our introcirc thinking it had already
  31865. sent an intro, so it kept waiting for a response...
  31866. - bugfix: when you sleep your hidden-service laptop, as soon
  31867. as it wakes up it tries to upload a service descriptor, but
  31868. socketpair fails for some reason (localhost not up yet?).
  31869. now we simply give up on that upload, and we'll try again later.
  31870. i'd still like to find the bug though.
  31871. - if an intro circ waiting for an ack dies before getting one, then
  31872. count it as a nack
  31873. - we were reusing stale service descriptors and refetching usable
  31874. ones. oops.
  31875. Changes in version 0.0.6pre4 - 2004-04-14
  31876. o changes from 0.0.6pre3:
  31877. - when bob fails to connect to the rendezvous point, and his
  31878. circ didn't fail because of the rendezvous point itself, then
  31879. he retries a couple of times
  31880. - we expire introduction and rendezvous circs more thoroughly
  31881. (sometimes they were hanging around forever)
  31882. - we expire unattached rendezvous streams that have been around
  31883. too long (they were sticking around forever).
  31884. - fix a measly fencepost error that was crashing everybody with
  31885. a strict glibc.
  31886. Changes in version 0.0.6pre3 - 2004-04-14
  31887. o changes from 0.0.6pre2:
  31888. - make hup work again
  31889. - fix some memory leaks for dirservers
  31890. - allow more skew in rendezvous descriptor timestamps, to help
  31891. handle people like blanu who don't know what time it is
  31892. - normal circs are 3 hops, but some rend/intro circs are 4, if
  31893. the initiator doesn't get to choose the last hop
  31894. - send acks for introductions, so alice can know whether to try
  31895. again
  31896. - bob publishes intro points more correctly
  31897. o changes from 0.0.5:
  31898. - fix an assert trigger that's been plaguing us since the days
  31899. of 0.0.2prexx (thanks weasel!)
  31900. - retry stream correctly when we fail to connect because of
  31901. exit-policy-reject (should try another) or can't-resolve-address
  31902. (also should try another, because dns on random internet servers
  31903. is flaky).
  31904. - when we hup a dirserver and we've *removed* a server from the
  31905. approved-routers list, now we remove that server from the
  31906. in-memory directories too
  31907. Changes in version 0.0.6pre2 - 2004-04-08
  31908. o We fixed our base32 implementation. Now it works on all architectures.
  31909. Changes in version 0.0.6pre1 - 2004-04-08
  31910. o Features:
  31911. - Hidden services and rendezvous points are implemented. Go to
  31912. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  31913. hidden services. (This only works via a socks4a proxy such as
  31914. Privoxy, and currently it's quite slow.)
  31915. Changes in version 0.0.5 - 2004-03-30
  31916. [version bump only]
  31917. Changes in version 0.0.5rc3 - 2004-03-29
  31918. o Install torrc as torrc.sample -- we no longer clobber your
  31919. torrc. (Woo!)
  31920. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  31921. o Add in a 'notice' log level for things the operator should hear
  31922. but that aren't warnings
  31923. Changes in version 0.0.5rc2 - 2004-03-29
  31924. o Hold socks connection open until reply is flushed (if possible)
  31925. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  31926. the dns farm to do it.
  31927. o Fix c99 aliasing warnings in rephist.c
  31928. o Don't include server descriptors that are older than 24 hours in the
  31929. directory.
  31930. o Give socks 'reject' replies their whole 15s to attempt to flush,
  31931. rather than seeing the 60s timeout and assuming the flush had failed.
  31932. o Clean automake droppings from the cvs repository
  31933. Changes in version 0.0.5rc1 - 2004-03-28
  31934. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  31935. o Only build circuits after we've fetched the directory: clients were
  31936. using only the directory servers before they'd fetched a directory.
  31937. This also means longer startup time; so it goes.
  31938. o Fix an assert trigger where an OP would fail to handshake, and we'd
  31939. expect it to have a nickname.
  31940. o Work around a tsocks bug: do a socks reject when AP connection dies
  31941. early, else tsocks goes into an infinite loop.
  31942. Changes in version 0.0.4 - 2004-03-26
  31943. o When connecting to a dirserver or OR and the network is down,
  31944. we would crash.
  31945. Changes in version 0.0.3 - 2004-03-26
  31946. o Warn and fail if server chose a nickname with illegal characters
  31947. o Port to Solaris and Sparc:
  31948. - include missing header fcntl.h
  31949. - have autoconf find -lsocket -lnsl automatically
  31950. - deal with hardware word alignment
  31951. - make uname() work (solaris has a different return convention)
  31952. - switch from using signal() to sigaction()
  31953. o Preliminary work on reputation system:
  31954. - Keep statistics on success/fail of connect attempts; they're published
  31955. by kill -USR1 currently.
  31956. - Add a RunTesting option to try to learn link state by creating test
  31957. circuits, even when SocksPort is off.
  31958. - Remove unused open circuits when there are too many.
  31959. Changes in version 0.0.2 - 2004-03-19
  31960. - Include strlcpy and strlcat for safer string ops
  31961. - define INADDR_NONE so we compile (but still not run) on solaris
  31962. Changes in version 0.0.2pre27 - 2004-03-14
  31963. o Bugfixes:
  31964. - Allow internal tor networks (we were rejecting internal IPs,
  31965. now we allow them if they're set explicitly).
  31966. - And fix a few endian issues.
  31967. Changes in version 0.0.2pre26 - 2004-03-14
  31968. o New features:
  31969. - If a stream times out after 15s without a connected cell, don't
  31970. try that circuit again: try a new one.
  31971. - Retry streams at most 4 times. Then give up.
  31972. - When a dirserver gets a descriptor from an unknown router, it
  31973. logs its fingerprint (so the dirserver operator can choose to
  31974. accept it even without mail from the server operator).
  31975. - Inform unapproved servers when we reject their descriptors.
  31976. - Make tor build on Windows again. It works as a client, who knows
  31977. about as a server.
  31978. - Clearer instructions in the torrc for how to set up a server.
  31979. - Be more efficient about reading fd's when our global token bucket
  31980. (used for rate limiting) becomes empty.
  31981. o Bugfixes:
  31982. - Stop asserting that computers always go forward in time. It's
  31983. simply not true.
  31984. - When we sent a cell (e.g. destroy) and then marked an OR connection
  31985. expired, we might close it before finishing a flush if the other
  31986. side isn't reading right then.
  31987. - Don't allow dirservers to start if they haven't defined
  31988. RecommendedVersions
  31989. - We were caching transient dns failures. Oops.
  31990. - Prevent servers from publishing an internal IP as their address.
  31991. - Address a strcat vulnerability in circuit.c
  31992. Changes in version 0.0.2pre25 - 2004-03-04
  31993. o New features:
  31994. - Put the OR's IP in its router descriptor, not its fqdn. That way
  31995. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  31996. e.g. poblano.
  31997. o Bugfixes:
  31998. - If the user typed in an address that didn't resolve, the server
  31999. crashed.
  32000. Changes in version 0.0.2pre24 - 2004-03-03
  32001. o Bugfixes:
  32002. - Fix an assertion failure in dns.c, where we were trying to dequeue
  32003. a pending dns resolve even if it wasn't pending
  32004. - Fix a spurious socks5 warning about still trying to write after the
  32005. connection is finished.
  32006. - Hold certain marked_for_close connections open until they're finished
  32007. flushing, rather than losing bytes by closing them too early.
  32008. - Correctly report the reason for ending a stream
  32009. - Remove some duplicate calls to connection_mark_for_close
  32010. - Put switch_id and start_daemon earlier in the boot sequence, so it
  32011. will actually try to chdir() to options.DataDirectory
  32012. - Make 'make test' exit(1) if a test fails; fix some unit tests
  32013. - Make tor fail when you use a config option it doesn't know about,
  32014. rather than warn and continue.
  32015. - Make --version work
  32016. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  32017. Changes in version 0.0.2pre23 - 2004-02-29
  32018. o New features:
  32019. - Print a statement when the first circ is finished, so the user
  32020. knows it's working.
  32021. - If a relay cell is unrecognized at the end of the circuit,
  32022. send back a destroy. (So attacks to mutate cells are more
  32023. clearly thwarted.)
  32024. - New config option 'excludenodes' to avoid certain nodes for circuits.
  32025. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  32026. so you can collect coredumps there.
  32027. o Bugfixes:
  32028. - Fix a bug in tls flushing where sometimes data got wedged and
  32029. didn't flush until more data got sent. Hopefully this bug was
  32030. a big factor in the random delays we were seeing.
  32031. - Make 'connected' cells include the resolved IP, so the client
  32032. dns cache actually gets populated.
  32033. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  32034. - When we time-out on a stream and detach from the circuit, send an
  32035. end cell down it first.
  32036. - Only warn about an unknown router (in exitnodes, entrynodes,
  32037. excludenodes) after we've fetched a directory.
  32038. Changes in version 0.0.2pre22 - 2004-02-26
  32039. o New features:
  32040. - Servers publish less revealing uname information in descriptors.
  32041. - More memory tracking and assertions, to crash more usefully when
  32042. errors happen.
  32043. - If the default torrc isn't there, just use some default defaults.
  32044. Plus provide an internal dirservers file if they don't have one.
  32045. - When the user tries to use Tor as an http proxy, give them an http
  32046. 501 failure explaining that we're a socks proxy.
  32047. - Dump a new router.desc on hup, to help confused people who change
  32048. their exit policies and then wonder why router.desc doesn't reflect
  32049. it.
  32050. - Clean up the generic tor.sh init script that we ship with.
  32051. o Bugfixes:
  32052. - If the exit stream is pending on the resolve, and a destroy arrives,
  32053. then the stream wasn't getting removed from the pending list. I
  32054. think this was the one causing recent server crashes.
  32055. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  32056. - When it couldn't resolve any dirservers, it was useless from then on.
  32057. Now it reloads the RouterFile (or default dirservers) if it has no
  32058. dirservers.
  32059. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  32060. many users don't even *have* a /usr/local/sbin/.
  32061. Changes in version 0.0.2pre21 - 2004-02-18
  32062. o New features:
  32063. - There's a ChangeLog file that actually reflects the changelog.
  32064. - There's a 'torify' wrapper script, with an accompanying
  32065. tor-tsocks.conf, that simplifies the process of using tsocks for
  32066. tor. It even has a man page.
  32067. - The tor binary gets installed to sbin rather than bin now.
  32068. - Retry streams where the connected cell hasn't arrived in 15 seconds
  32069. - Clean up exit policy handling -- get the default out of the torrc,
  32070. so we can update it without forcing each server operator to fix
  32071. his/her torrc.
  32072. - Allow imaps and pop3s in default exit policy
  32073. o Bugfixes:
  32074. - Prevent picking middleman nodes as the last node in the circuit
  32075. Changes in version 0.0.2pre20 - 2004-01-30
  32076. o New features:
  32077. - We now have a deb package, and it's in debian unstable. Go to
  32078. it, apt-getters. :)
  32079. - I've split the TotalBandwidth option into BandwidthRate (how many
  32080. bytes per second you want to allow, long-term) and
  32081. BandwidthBurst (how many bytes you will allow at once before the cap
  32082. kicks in). This better token bucket approach lets you, say, set
  32083. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  32084. performance while not exceeding your monthly bandwidth quota.
  32085. - Push out a tls record's worth of data once you've got it, rather
  32086. than waiting until you've read everything waiting to be read. This
  32087. may improve performance by pipelining better. We'll see.
  32088. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  32089. from failed circuits (if they haven't been connected yet) and attach
  32090. to new ones.
  32091. - Expire old streams that haven't managed to connect. Some day we'll
  32092. have them reattach to new circuits instead.
  32093. o Bugfixes:
  32094. - Fix several memory leaks that were causing servers to become bloated
  32095. after a while.
  32096. - Fix a few very rare assert triggers. A few more remain.
  32097. - Setuid to User _before_ complaining about running as root.
  32098. Changes in version 0.0.2pre19 - 2004-01-07
  32099. o Bugfixes:
  32100. - Fix deadlock condition in dns farm. We were telling a child to die by
  32101. closing the parent's file descriptor to him. But newer children were
  32102. inheriting the open file descriptor from the parent, and since they
  32103. weren't closing it, the socket never closed, so the child never read
  32104. eof, so he never knew to exit. Similarly, dns workers were holding
  32105. open other sockets, leading to all sorts of chaos.
  32106. - New cleaner daemon() code for forking and backgrounding.
  32107. - If you log to a file, it now prints an entry at the top of the
  32108. logfile so you know it's working.
  32109. - The onionskin challenge length was 30 bytes longer than necessary.
  32110. - Started to patch up the spec so it's not quite so out of date.
  32111. Changes in version 0.0.2pre18 - 2004-01-02
  32112. o Bugfixes:
  32113. - Fix endian issues with the 'integrity' field in the relay header.
  32114. - Fix a potential bug where connections in state
  32115. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  32116. Changes in version 0.0.2pre17 - 2003-12-30
  32117. o Bugfixes:
  32118. - Made --debuglogfile (or any second log file, actually) work.
  32119. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  32120. adversary could force us into an infinite loop.
  32121. o Features:
  32122. - Each onionskin handshake now includes a hash of the computed key,
  32123. to prove the server's identity and help perfect forward secrecy.
  32124. - Changed cell size from 256 to 512 bytes (working toward compatibility
  32125. with MorphMix).
  32126. - Changed cell length to 2 bytes, and moved it to the relay header.
  32127. - Implemented end-to-end integrity checking for the payloads of
  32128. relay cells.
  32129. - Separated streamid from 'recognized' (otherwise circuits will get
  32130. messed up when we try to have streams exit from the middle). We
  32131. use the integrity-checking to confirm that a cell is addressed to
  32132. this hop.
  32133. - Randomize the initial circid and streamid values, so an adversary who
  32134. breaks into a node can't learn how many circuits or streams have
  32135. been made so far.
  32136. Changes in version 0.0.2pre16 - 2003-12-14
  32137. o Bugfixes:
  32138. - Fixed a bug that made HUP trigger an assert
  32139. - Fixed a bug where a circuit that immediately failed wasn't being
  32140. counted as a failed circuit in counting retries.
  32141. o Features:
  32142. - Now we close the circuit when we get a truncated cell: otherwise we're
  32143. open to an anonymity attack where a bad node in the path truncates
  32144. the circuit and then we open streams at him.
  32145. - Add port ranges to exit policies
  32146. - Add a conservative default exit policy
  32147. - Warn if you're running tor as root
  32148. - on HUP, retry OR connections and close/rebind listeners
  32149. - options.EntryNodes: try these nodes first when picking the first node
  32150. - options.ExitNodes: if your best choices happen to include any of
  32151. your preferred exit nodes, you choose among just those preferred
  32152. exit nodes.
  32153. - options.ExcludedNodes: nodes that are never picked in path building
  32154. Changes in version 0.0.2pre15 - 2003-12-03
  32155. o Robustness and bugfixes:
  32156. - Sometimes clients would cache incorrect DNS resolves, which would
  32157. really screw things up.
  32158. - An OP that goes offline would slowly leak all its sockets and stop
  32159. working.
  32160. - A wide variety of bugfixes in exit node selection, exit policy
  32161. handling, and processing pending streams when a new circuit is
  32162. established.
  32163. - Pick nodes for a path only from those the directory says are up
  32164. - Choose randomly from all running dirservers, not always the first one
  32165. - Increase allowed http header size for directory fetch.
  32166. - Stop writing to stderr (if we're daemonized it will be closed).
  32167. - Enable -g always, so cores will be more useful to me.
  32168. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  32169. o Documentation:
  32170. - Wrote a man page. It lists commonly used options.
  32171. o Configuration:
  32172. - Change default loglevel to warn.
  32173. - Make PidFile default to null rather than littering in your CWD.
  32174. - OnionRouter config option is now obsolete. Instead it just checks
  32175. ORPort>0.
  32176. - Moved to a single unified torrc file for both clients and servers.
  32177. Changes in version 0.0.2pre14 - 2003-11-29
  32178. o Robustness and bugfixes:
  32179. - Force the admin to make the DataDirectory himself
  32180. - to get ownership/permissions right
  32181. - so clients no longer make a DataDirectory and then never use it
  32182. - fix bug where a client who was offline for 45 minutes would never
  32183. pull down a directory again
  32184. - fix (or at least hide really well) the dns assert bug that was
  32185. causing server crashes
  32186. - warnings and improved robustness wrt clockskew for certs
  32187. - use the native daemon(3) to daemonize, when available
  32188. - exit if bind() fails
  32189. - exit if neither socksport nor orport is defined
  32190. - include our own tor_timegm (Win32 doesn't have its own)
  32191. - bugfix for win32 with lots of connections
  32192. - fix minor bias in PRNG
  32193. - make dirserver more robust to corrupt cached directory
  32194. o Documentation:
  32195. - Wrote the design document (woo)
  32196. o Circuit building and exit policies:
  32197. - Circuits no longer try to use nodes that the directory has told them
  32198. are down.
  32199. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  32200. bitcounts (18.0.0.0/8).
  32201. - Make AP connections standby for a circuit if no suitable circuit
  32202. exists, rather than failing
  32203. - Circuits choose exit node based on addr/port, exit policies, and
  32204. which AP connections are standing by
  32205. - Bump min pathlen from 2 to 3
  32206. - Relay end cells have a payload to describe why the stream ended.
  32207. - If the stream failed because of exit policy, try again with a new
  32208. circuit.
  32209. - Clients have a dns cache to remember resolved addresses.
  32210. - Notice more quickly when we have no working circuits
  32211. o Configuration:
  32212. - APPort is now called SocksPort
  32213. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  32214. where to bind
  32215. - RecommendedVersions is now a config variable rather than
  32216. hardcoded (for dirservers)
  32217. - Reloads config on HUP
  32218. - Usage info on -h or --help
  32219. - If you set User and Group config vars, it'll setu/gid to them.
  32220. Changes in version 0.0.2pre13 - 2003-10-19
  32221. o General stability:
  32222. - SSL_write no longer fails when it returns WANTWRITE and the number
  32223. of bytes in the buf has changed by the next SSL_write call.
  32224. - Fix segfault fetching directory when network is down
  32225. - Fix a variety of minor memory leaks
  32226. - Dirservers reload the fingerprints file on HUP, so I don't have
  32227. to take down the network when I approve a new router
  32228. - Default server config file has explicit Address line to specify fqdn
  32229. o Buffers:
  32230. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  32231. - Make listener connections not ever alloc bufs
  32232. o Autoconf improvements:
  32233. - don't clobber an external CFLAGS in ./configure
  32234. - Make install now works
  32235. - create var/lib/tor on make install
  32236. - autocreate a tor.sh initscript to help distribs
  32237. - autocreate the torrc and sample-server-torrc with correct paths
  32238. o Log files and Daemonizing now work:
  32239. - If --DebugLogFile is specified, log to it at -l debug
  32240. - If --LogFile is specified, use it instead of commandline
  32241. - If --RunAsDaemon is set, tor forks and backgrounds on startup