ReleaseNotes 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521
  1. This document summarizes new features and bugfixes in each stable
  2. release of Tor. If you want to see more detailed descriptions of the
  3. changes in each development snapshot, see the ChangeLog file.
  4. Changes in version 0.4.3.5 - 2020-05-15
  5. Tor 0.4.3.5 is the first stable release in the 0.4.3.x series. This
  6. series adds support for building without relay code enabled, and
  7. implements functionality needed for OnionBalance with v3 onion
  8. services. It includes significant refactoring of our configuration and
  9. controller functionality, and fixes numerous smaller bugs and
  10. performance issues.
  11. Per our support policy, we support each stable release series for nine
  12. months after its first stable release, or three months after the first
  13. stable release of the next series: whichever is longer. This means
  14. that 0.4.3.x will be supported until around February 2021--later, if
  15. 0.4.4.x is later than anticipated.
  16. Note also that support for 0.4.1.x is about to end on May 20 of this
  17. year; 0.4.2.x will be supported until September 15. We still plan to
  18. continue supporting 0.3.5.x, our long-term stable series, until
  19. Feb 2022.
  20. Below are the changes since 0.4.2.6. For a list of only the changes
  21. since 0.4.3.4-rc, see the ChangeLog file.
  22. o New system requirements:
  23. - When building Tor, you now need to have Python 3 in order to run
  24. the integration tests. (Python 2 is officially unsupported
  25. upstream, as of 1 Jan 2020.) Closes ticket 32608.
  26. o Major features (build system):
  27. - The relay code can now be disabled using the --disable-module-relay
  28. configure option. When this option is set, we also disable the
  29. dirauth module. Closes ticket 32123.
  30. - When Tor is compiled --disable-module-relay, we also omit the code
  31. used to act as a directory cache. Closes ticket 32487.
  32. o Major features (directory authority, ed25519):
  33. - Add support for banning a relay's ed25519 keys in the approved-
  34. routers file. This will help us migrate away from RSA keys in the
  35. future. Previously, only RSA keys could be banned in approved-
  36. routers. Resolves ticket 22029. Patch by Neel Chauhan.
  37. o Major features (onion services):
  38. - New control port commands to manage client-side onion service
  39. authorization credentials. The ONION_CLIENT_AUTH_ADD command adds
  40. a credential, ONION_CLIENT_AUTH_REMOVE deletes a credential, and
  41. ONION_CLIENT_AUTH_VIEW lists the credentials. Closes ticket 30381.
  42. - Introduce a new SocksPort flag, ExtendedErrors, to support more
  43. detailed error codes in information for applications that support
  44. them. Closes ticket 30382; implements proposal 304.
  45. o Major features (proxy):
  46. - In addition to its current supported proxy types (HTTP CONNECT,
  47. SOCKS4, and SOCKS5), Tor can now make its OR connections through a
  48. HAProxy server. A new torrc option was added to specify the
  49. address/port of the server: TCPProxy <protocol> <host>:<port>.
  50. Currently the only supported protocol for the option is haproxy.
  51. Closes ticket 31518. Patch done by Suphanat Chunhapanya (haxxpop).
  52. o Major bugfixes (security, denial-of-service):
  53. - Fix a denial-of-service bug that could be used by anyone to
  54. consume a bunch of CPU on any Tor relay or authority, or by
  55. directories to consume a bunch of CPU on clients or hidden
  56. services. Because of the potential for CPU consumption to
  57. introduce observable timing patterns, we are treating this as a
  58. high-severity security issue. Fixes bug 33119; bugfix on
  59. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  60. as TROVE-2020-002 and CVE-2020-10592.
  61. o Major bugfixes (circuit padding, memory leak):
  62. - Avoid a remotely triggered memory leak in the case that a circuit
  63. padding machine is somehow negotiated twice on the same circuit.
  64. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
  65. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
  66. o Major bugfixes (directory authority):
  67. - Directory authorities will now send a 503 (not enough bandwidth)
  68. code to clients when under bandwidth pressure. Known relays and
  69. other authorities will always be answered regardless of the
  70. bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
  71. o Major bugfixes (DoS defenses, bridges, pluggable transport):
  72. - Fix a bug that was preventing DoS defenses from running on bridges
  73. with a pluggable transport. Previously, the DoS subsystem was not
  74. given the transport name of the client connection, thus failed to
  75. find the GeoIP cache entry for that client address. Fixes bug
  76. 33491; bugfix on 0.3.3.2-alpha.
  77. o Major bugfixes (networking):
  78. - Correctly handle IPv6 addresses in SOCKS5 RESOLVE_PTR requests,
  79. and accept strings as well as binary addresses. Fixes bug 32315;
  80. bugfix on 0.3.5.1-alpha.
  81. o Major bugfixes (onion service):
  82. - Report HS circuit failure back into the HS subsystem so we take
  83. appropriate action with regards to the client introduction point
  84. failure cache. This improves reachability of onion services, since
  85. now clients notice failing introduction circuits properly. Fixes
  86. bug 32020; bugfix on 0.3.2.1-alpha.
  87. o Minor feature (heartbeat, onion service):
  88. - Add the DoS INTRODUCE2 defenses counter to the heartbeat DoS
  89. message. Closes ticket 31371.
  90. o Minor feature (sendme, flow control):
  91. - Default to sending SENDME version 1 cells. (Clients are already
  92. sending these, because of a consensus parameter telling them to do
  93. so: this change only affects what clients would do if the
  94. consensus didn't contain a recommendation.) Closes ticket 33623.
  95. o Minor features (best practices tracker):
  96. - Practracker now supports a --regen-overbroad option to regenerate
  97. the exceptions file, but only to revise exceptions to be _less_
  98. tolerant of best-practices violations. Closes ticket 32372.
  99. o Minor features (configuration validation):
  100. - Configuration validation can now be done by per-module callbacks,
  101. rather than a global validation function. This will let us reduce
  102. the size of config.c and some of its more cumbersome functions.
  103. Closes ticket 31241.
  104. o Minor features (configuration):
  105. - If a configured hardware crypto accelerator in AccelName is
  106. prefixed with "!", Tor now exits when it cannot be found. Closes
  107. ticket 32406.
  108. - We now use flag-driven logic to warn about obsolete configuration
  109. fields, so that we can include their names. In 0.4.2, we used a
  110. special type, which prevented us from generating good warnings.
  111. Implements ticket 32404.
  112. o Minor features (configure, build system):
  113. - Output a list of enabled/disabled features at the end of the
  114. configure process in a pleasing way. Closes ticket 31373.
  115. o Minor features (continuous integration):
  116. - Run Doxygen Makefile target on Travis, so we can learn about
  117. regressions in our internal documentation. Closes ticket 32455.
  118. - Stop allowing failures on the Travis CI stem tests job. It looks
  119. like all the stem hangs we were seeing before are now fixed.
  120. Closes ticket 33075.
  121. o Minor features (controller):
  122. - Add stream isolation data to STREAM event. Closes ticket 19859.
  123. - Implement a new GETINFO command to fetch microdescriptor
  124. consensus. Closes ticket 31684.
  125. o Minor features (debugging, directory system):
  126. - Don't crash when we find a non-guard with a guard-fraction value
  127. set. Instead, log a bug warning, in an attempt to figure out how
  128. this happened. Diagnostic for ticket 32868.
  129. o Minor features (defense in depth):
  130. - Add additional checks around tor_vasprintf() usage, in case the
  131. function returns an error. Patch by Tobias Stoeckmann. Fixes
  132. ticket 31147.
  133. o Minor features (developer tools):
  134. - Remove the 0.2.9.x series branches from git scripts (git-merge-
  135. forward.sh, git-pull-all.sh, git-push-all.sh, git-setup-dirs.sh).
  136. Closes ticket 32772.
  137. - Add a check_cocci_parse.sh script that checks that new code is
  138. parseable by Coccinelle. Add an exceptions file for unparseable
  139. files, and run the script from travis CI. Closes ticket 31919.
  140. - Call the check_cocci_parse.sh script from a 'check-cocci' Makefile
  141. target. Closes ticket 31919.
  142. - Add a rename_c_identifiers.py tool to rename a bunch of C
  143. identifiers at once, and generate a well-formed commit message
  144. describing the change. This should help with refactoring. Closes
  145. ticket 32237.
  146. - Add some scripts in "scripts/coccinelle" to invoke the Coccinelle
  147. semantic patching tool with the correct flags. These flags are
  148. fairly easy to forget, and these scripts should help us use
  149. Coccinelle more effectively in the future. Closes ticket 31705.
  150. o Minor features (diagnostic):
  151. - Improve assertions and add some memory-poisoning code to try to
  152. track down possible causes of a rare crash (32564) in the EWMA
  153. code. Closes ticket 33290.
  154. o Minor features (directory authorities):
  155. - Directory authorities now reject descriptors from relays running
  156. Tor versions from the 0.2.9 and 0.4.0 series. The 0.3.5 series is
  157. still allowed. Resolves ticket 32672. Patch by Neel Chauhan.
  158. o Minor features (Doxygen):
  159. - Update Doxygen configuration file to a more recent template (from
  160. 1.8.15). Closes ticket 32110.
  161. - "make doxygen" now works with out-of-tree builds. Closes
  162. ticket 32113.
  163. - Make sure that doxygen outputs documentation for all of our C
  164. files. Previously, some were missing @file declarations, causing
  165. them to be ignored. Closes ticket 32307.
  166. - Our "make doxygen" target now respects --enable-fatal-warnings by
  167. default, and does not warn about items that are missing
  168. documentation. To warn about missing documentation, run configure
  169. with the "--enable-missing-doc-warnings" flag: doing so suspends
  170. fatal warnings for doxygen. Closes ticket 32385.
  171. o Minor features (git scripts):
  172. - Add TOR_EXTRA_CLONE_ARGS to git-setup-dirs.sh for git clone
  173. customisation. Closes ticket 32347.
  174. - Add git-setup-dirs.sh, which sets up an upstream git repository
  175. and worktrees for tor maintainers. Closes ticket 29603.
  176. - Add TOR_EXTRA_REMOTE_* to git-setup-dirs.sh for a custom extra
  177. remote. Closes ticket 32347.
  178. - Call the check_cocci_parse.sh script from the git commit and push
  179. hooks. Closes ticket 31919.
  180. - Make git-push-all.sh skip unchanged branches when pushing to
  181. upstream. The script already skipped unchanged test branches.
  182. Closes ticket 32216.
  183. - Make git-setup-dirs.sh create a master symlink in the worktree
  184. directory. Closes ticket 32347.
  185. - Skip unmodified source files when doing some existing git hook
  186. checks. Related to ticket 31919.
  187. o Minor features (IPv6, client):
  188. - Make Tor clients tell dual-stack exits that they prefer IPv6
  189. connections. This change is equivalent to setting the PreferIPv6
  190. flag on SOCKSPorts (and most other listener ports). Tor Browser
  191. has been setting this flag for some time, and we want to remove a
  192. client distinguisher at exits. Closes ticket 32637.
  193. o Minor features (portability, android):
  194. - When building for Android, disable some tests that depend on $HOME
  195. and/or pwdb, which Android doesn't have. Closes ticket 32825.
  196. Patch from Hans-Christoph Steiner.
  197. o Minor features (relay modularity):
  198. - Split the relay and server pluggable transport config code into
  199. separate files in the relay module. Disable this code when the
  200. relay module is disabled. Closes part of ticket 32213.
  201. - When the relay module is disabled, reject attempts to set the
  202. ORPort, DirPort, DirCache, BridgeRelay, ExtORPort, or
  203. ServerTransport* options, rather than ignoring the values of these
  204. options. Closes part of ticket 32213.
  205. - When the relay module is disabled, change the default config so
  206. that DirCache is 0, and ClientOnly is 1. Closes ticket 32410.
  207. o Minor features (release tools):
  208. - Port our ChangeLog formatting and sorting tools to Python 3.
  209. Closes ticket 32704.
  210. o Minor features (testing):
  211. - The unit tests now support a "TOR_SKIP_TESTCASES" environment
  212. variable to specify a list of space-separated test cases that
  213. should not be executed. We will use this to disable certain tests
  214. that are failing on Appveyor because of mismatched OpenSSL
  215. libraries. Part of ticket 33643.
  216. - Detect some common failure cases for test_parseconf.sh in
  217. src/test/conf_failures. Closes ticket 32451.
  218. - Allow test_parseconf.sh to test expected log outputs for successful
  219. configs, as well as failed configs. Closes ticket 32451.
  220. - The test_parseconf.sh script now supports result variants for any
  221. combination of the optional libraries lzma, nss, and zstd. Closes
  222. ticket 32397.
  223. - When running the unit tests on Android, create temporary files in
  224. a subdirectory of /data/local/tmp. Closes ticket 32172. Based on a
  225. patch from Hans-Christoph Steiner.
  226. o Minor features (usability):
  227. - Include more information when failing to parse a configuration
  228. value. This should make it easier to tell what's going wrong when
  229. a configuration file doesn't parse. Closes ticket 33460.
  230. o Minor bugfix (relay, configuration):
  231. - Warn if the ContactInfo field is not set, and tell the relay
  232. operator that not having a ContactInfo field set might cause their
  233. relay to get rejected in the future. Fixes bug 33361; bugfix
  234. on 0.1.1.10-alpha.
  235. o Minor bugfixes (bridges):
  236. - Lowercase the configured value of BridgeDistribution before adding
  237. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  238. o Minor bugfixes (build system):
  239. - Fix "make autostyle" for out-of-tree builds. Fixes bug 32370;
  240. bugfix on 0.4.1.2-alpha.
  241. o Minor bugfixes (compiler compatibility):
  242. - Avoid compiler warnings from Clang 10 related to the use of GCC-
  243. style "/* falls through */" comments. Both Clang and GCC allow
  244. __attribute__((fallthrough)) instead, so that's what we're using
  245. now. Fixes bug 34078; bugfix on 0.3.1.3-alpha.
  246. - Fix compilation warnings with GCC 10.0.1. Fixes bug 34077; bugfix
  247. on 0.4.0.3-alpha.
  248. o Minor bugfixes (configuration handling):
  249. - Make control_event_conf_changed() take in a config_line_t instead
  250. of a smartlist of alternating key/value entries. Fixes bug 31531;
  251. bugfix on 0.2.3.3-alpha. Patch by Neel Chauhan.
  252. - Check for multiplication overflow when parsing memory units inside
  253. configuration. Fixes bug 30920; bugfix on 0.0.9rc1.
  254. - When dumping the configuration, stop adding a trailing space after
  255. the option name when there is no option value. This issue only
  256. affects options that accept an empty value or list. (Most options
  257. reject empty values, or delete the entire line from the dumped
  258. options.) Fixes bug 32352; bugfix on 0.0.9pre6.
  259. - Avoid changing the user's value of HardwareAccel as stored by
  260. SAVECONF, when AccelName is set but HardwareAccel is not. Fixes
  261. bug 32382; bugfix on 0.2.2.1-alpha.
  262. - When creating a KeyDirectory with the same location as the
  263. DataDirectory (not recommended), respect the DataDirectory's
  264. group-readable setting if one has not been set for the
  265. KeyDirectory. Fixes bug 27992; bugfix on 0.3.3.1-alpha.
  266. o Minor bugfixes (continuous integration):
  267. - Remove the buggy and unused mirroring job. Fixes bug 33213; bugfix
  268. on 0.3.2.2-alpha.
  269. o Minor bugfixes (controller protocol):
  270. - When receiving "ACTIVE" or "DORMANT" signals on the control port,
  271. report them as SIGNAL events. Previously we would log a bug
  272. warning. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
  273. o Minor bugfixes (controller):
  274. - In routerstatus_has_changed(), check all the fields that are
  275. output over the control port. Fixes bug 20218; bugfix
  276. on 0.1.1.11-alpha.
  277. o Minor bugfixes (developer tools):
  278. - Allow paths starting with ./ in scripts/add_c_file.py. Fixes bug
  279. 31336; bugfix on 0.4.1.2-alpha.
  280. o Minor bugfixes (dirauth module):
  281. - Split the dirauth config code into a separate file in the dirauth
  282. module. Disable this code when the dirauth module is disabled.
  283. Closes ticket 32213.
  284. - When the dirauth module is disabled, reject attempts to set the
  285. AuthoritativeDir option, rather than ignoring the value of the
  286. option. Fixes bug 32213; bugfix on 0.3.4.1-alpha.
  287. o Minor bugfixes (embedded Tor):
  288. - When starting Tor any time after the first time in a process,
  289. register the thread in which it is running as the main thread.
  290. Previously, we only did this on Windows, which could lead to bugs
  291. like 23081 on non-Windows platforms. Fixes bug 32884; bugfix
  292. on 0.3.3.1-alpha.
  293. o Minor bugfixes (git scripts):
  294. - Avoid sleeping before the last push in git-push-all.sh. Closes
  295. ticket 32216.
  296. - Forward all unrecognised arguments in git-push-all.sh to git push.
  297. Closes ticket 32216.
  298. o Minor bugfixes (key portability):
  299. - When reading PEM-encoded key data, tolerate CRLF line-endings even
  300. if we are not running on Windows. Previously, non-Windows hosts
  301. would reject these line-endings in certain positions, making
  302. certain key files hard to move from one host to another. Fixes bug
  303. 33032; bugfix on 0.3.5.1-alpha.
  304. o Minor bugfixes (logging):
  305. - Stop truncating IPv6 addresses and ports in channel and connection
  306. logs. Fixes bug 33918; bugfix on 0.2.4.4-alpha.
  307. - Flush stderr, stdout, and file logs during shutdown, if supported
  308. by the OS. This change helps make sure that any final logs are
  309. recorded. Fixes bug 33087; bugfix on 0.4.1.6.
  310. - Stop closing stderr and stdout during shutdown. Closing these file
  311. descriptors can hide sanitiser logs. Fixes bug 33087; bugfix
  312. on 0.4.1.6.
  313. - If we encounter a bug when flushing a buffer to a TLS connection,
  314. only log the bug once per invocation of the Tor process.
  315. Previously we would log with every occurrence, which could cause
  316. us to run out of disk space. Fixes bug 33093; bugfix
  317. on 0.3.2.2-alpha.
  318. - When logging a bug, do not say "Future instances of this warning
  319. will be silenced" unless we are actually going to silence them.
  320. Previously we would say this whenever a BUG() check failed in the
  321. code. Fixes bug 33095; bugfix on 0.4.1.1-alpha.
  322. o Minor bugfixes (onion services v2):
  323. - Move a series of v2 onion service warnings to protocol-warning
  324. level because they can all be triggered remotely by a malformed
  325. request. Fixes bug 32706; bugfix on 0.1.1.14-alpha.
  326. - When sending the INTRO cell for a v2 Onion Service, look at the
  327. failure cache alongside timeout values to check if the intro point
  328. is marked as failed. Previously, we only looked at the relay
  329. timeout values. Fixes bug 25568; bugfix on 0.2.7.3-rc. Patch by
  330. Neel Chauhan.
  331. o Minor bugfixes (onion services v3):
  332. - Remove a BUG() warning that would cause a stack trace if an onion
  333. service descriptor was freed while we were waiting for a
  334. rendezvous circuit to complete. Fixes bug 28992; bugfix
  335. on 0.3.2.1-alpha.
  336. - Relax severity of a log message that can appear naturally when
  337. decoding onion service descriptors as a relay. Also add some
  338. diagnostics to debug any future bugs in that area. Fixes bug
  339. 31669; bugfix on 0.3.0.1-alpha.
  340. - Fix an assertion failure that could result from a corrupted
  341. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  342. bugfix on 0.3.3.1-alpha. This issue is also tracked
  343. as TROVE-2020-003.
  344. - Properly handle the client rendezvous circuit timeout. Previously
  345. Tor would sometimes timeout a rendezvous circuit awaiting the
  346. introduction ACK, and find itself unable to re-establish all
  347. circuits because the rendezvous circuit timed out too early. Fixes
  348. bug 32021; bugfix on 0.3.2.1-alpha.
  349. o Minor bugfixes (onion services):
  350. - Do not rely on a "circuit established" flag for intro circuits but
  351. instead always query the HS circuit map. This is to avoid sync
  352. issue with that flag and the map. Fixes bug 32094; bugfix
  353. on 0.3.2.1-alpha.
  354. o Minor bugfixes (onion services, all):
  355. - In cancel_descriptor_fetches(), use
  356. connection_list_by_type_purpose() instead of
  357. connection_list_by_type_state(). Fixes bug 32639; bugfix on
  358. 0.3.2.1-alpha. Patch by Neel Chauhan.
  359. o Minor bugfixes (pluggable transports):
  360. - When receiving a message on standard error from a pluggable
  361. transport, log it at info level, rather than as a warning. Fixes
  362. bug 33005; bugfix on 0.4.0.1-alpha.
  363. o Minor bugfixes (rust, build):
  364. - Fix a syntax warning given by newer versions of Rust that was
  365. creating problems for our continuous integration. Fixes bug 33212;
  366. bugfix on 0.3.5.1-alpha.
  367. o Minor bugfixes (scripts):
  368. - Fix update_versions.py for out-of-tree builds. Fixes bug 32371;
  369. bugfix on 0.4.0.1-alpha.
  370. o Minor bugfixes (testing):
  371. - Use the same code to find the tor binary in all of our test
  372. scripts. This change makes sure we are always using the coverage
  373. binary when coverage is enabled. Fixes bug 32368; bugfix
  374. on 0.2.7.3-rc.
  375. - Stop ignoring "tor --dump-config" errors in test_parseconf.sh.
  376. Fixes bug 32468; bugfix on 0.4.2.1-alpha.
  377. - Our option-validation tests no longer depend on specially
  378. configured non-default, non-passing sets of options. Previously,
  379. the tests had been written to assume that options would _not_ be
  380. set to their defaults, which led to needless complexity and
  381. verbosity. Fixes bug 32175; bugfix on 0.2.8.1-alpha.
  382. o Minor bugfixes (TLS bug handling):
  383. - When encountering a bug in buf_read_from_tls(), return a "MISC"
  384. error code rather than "WANTWRITE". This change might help avoid
  385. some CPU-wasting loops if the bug is ever triggered. Bug reported
  386. by opara. Fixes bug 32673; bugfix on 0.3.0.4-alpha.
  387. o Deprecated features:
  388. - Deprecate the ClientAutoIPv6ORPort option. This option was not
  389. true "Happy Eyeballs", and often failed on connections that
  390. weren't reliably dual-stack. Closes ticket 32942. Patch by
  391. Neel Chauhan.
  392. o Documentation:
  393. - Provide a quickstart guide for a Circuit Padding Framework, and
  394. documentation for researchers to implement and study circuit
  395. padding machines. Closes ticket 28804.
  396. - Add documentation in 'HelpfulTools.md' to describe how to build a
  397. tag file. Closes ticket 32779.
  398. - Create a high-level description of the long-term software
  399. architecture goals. Closes ticket 32206.
  400. - Describe the --dump-config command in the manual page. Closes
  401. ticket 32467.
  402. - Unite coding advice from this_not_that.md in torguts repo into our
  403. coding standards document. Resolves ticket 31853.
  404. o Removed features:
  405. - Our Doxygen configuration no longer generates LaTeX output. The
  406. reference manual produced by doing this was over 4000 pages long,
  407. and generally unusable. Closes ticket 32099.
  408. - The option "TestingEstimatedDescriptorPropagationTime" is now
  409. marked as obsolete. It has had no effect since 0.3.0.7, when
  410. clients stopped rejecting consensuses "from the future". Closes
  411. ticket 32807.
  412. - We no longer support consensus methods before method 28; these
  413. methods were only used by authorities running versions of Tor that
  414. are now at end-of-life. In effect, this means that clients,
  415. relays, and authorities now assume that authorities will be
  416. running version 0.3.5.x or later. Closes ticket 32695.
  417. o Testing:
  418. - Avoid conflicts between the fake sockets in tor's unit tests, and
  419. real file descriptors. Resolves issues running unit tests with
  420. GitHub Actions, where the process that embeds or launches the
  421. tests has already opened a large number of file descriptors. Fixes
  422. bug 33782; bugfix on 0.2.8.1-alpha. Found and fixed by
  423. Putta Khunchalee.
  424. - Add more test cases for tor's UTF-8 validation function. Also,
  425. check the arguments passed to the function for consistency. Closes
  426. ticket 32845.
  427. - Improve test coverage for relay and dirauth config code, focusing
  428. on option validation and normalization. Closes ticket 32213.
  429. - Improve the consistency of test_parseconf.sh output, and run all
  430. the tests, even if one fails. Closes ticket 32213.
  431. - Run the practracker unit tests in the pre-commit git hook. Closes
  432. ticket 32609.
  433. o Code simplification and refactoring (channel):
  434. - Channel layer had a variable length cell handler that was not used
  435. and thus removed. Closes ticket 32892.
  436. o Code simplification and refactoring (configuration):
  437. - Immutability is now implemented as a flag on individual
  438. configuration options rather than as part of the option-transition
  439. checking code. Closes ticket 32344.
  440. - Instead of keeping a list of configuration options to check for
  441. relative paths, check all the options whose type is "FILENAME".
  442. Solves part of ticket 32339.
  443. - Our default log (which ordinarily sends NOTICE-level messages to
  444. standard output) is now handled in a more logical manner.
  445. Previously, we replaced the configured log options if they were
  446. empty. Now, we interpret an empty set of log options as meaning
  447. "use the default log". Closes ticket 31999.
  448. - Remove some unused arguments from the options_validate() function,
  449. to simplify our code and tests. Closes ticket 32187.
  450. - Simplify the options_validate() code so that it looks at the
  451. default options directly, rather than taking default options as an
  452. argument. This change lets us simplify its interface. Closes
  453. ticket 32185.
  454. - Use our new configuration architecture to move most authority-
  455. related options to the directory authority module. Closes
  456. ticket 32806.
  457. - When parsing the command line, handle options that determine our
  458. "quiet level" and our mode of operation (e.g., --dump-config and
  459. so on) all in one table. Closes ticket 32003.
  460. o Code simplification and refactoring (controller):
  461. - Create a new abstraction for formatting control protocol reply
  462. lines based on key-value pairs. Refactor some existing control
  463. protocol code to take advantage of this. Closes ticket 30984.
  464. - Create a helper function that can fetch network status or
  465. microdesc consensuses. Closes ticket 31684.
  466. o Code simplification and refactoring (dirauth modularization):
  467. - Remove the last remaining HAVE_MODULE_DIRAUTH inside a function.
  468. Closes ticket 32163.
  469. - Replace some confusing identifiers in process_descs.c. Closes
  470. ticket 29826.
  471. - Simplify some relay and dirauth config code. Closes ticket 32213.
  472. o Code simplification and refactoring (mainloop):
  473. - Simplify the ip_address_changed() function by removing redundant
  474. checks. Closes ticket 33091.
  475. o Code simplification and refactoring (misc):
  476. - Make all the structs we declare follow the same naming convention
  477. of ending with "_t". Closes ticket 32415.
  478. - Move and rename some configuration-related code for clarity.
  479. Closes ticket 32304.
  480. - Our include.am files are now broken up by subdirectory.
  481. Previously, src/core/include.am covered all of the subdirectories
  482. in "core", "feature", and "app". Closes ticket 32137.
  483. - Remove underused NS*() macros from test code: they make our tests
  484. more confusing, especially for code-formatting tools. Closes
  485. ticket 32887.
  486. o Code simplification and refactoring (relay modularization):
  487. - Disable relay_periodic when the relay module is disabled. Closes
  488. ticket 32244.
  489. - Disable relay_sys when the relay module is disabled. Closes
  490. ticket 32245.
  491. o Code simplification and refactoring (tool support):
  492. - Add numerous missing dependencies to our include files, so that
  493. they can be included in different reasonable orders and still
  494. compile. Addresses part of ticket 32764.
  495. - Fix some parts of our code that were difficult for Coccinelle to
  496. parse. Related to ticket 31705.
  497. - Fix some small issues in our code that prevented automatic
  498. formatting tools from working. Addresses part of ticket 32764.
  499. o Documentation (manpage):
  500. - Alphabetize the Server and Directory server sections of the tor
  501. manpage. Also split Statistics options into their own section of
  502. the manpage. Closes ticket 33188. Work by Swati Thacker as part of
  503. Google Season of Docs.
  504. - Document the __OwningControllerProcess torrc option and specify
  505. its polling interval. Resolves issue 32971.
  506. - Split "Circuit Timeout" options and "Node Selection" options into
  507. their own sections of the tor manpage. Closes tickets 32928 and
  508. 32929. Work by Swati Thacker as part of Google Season of Docs.
  509. - Alphabetize the Client Options section of the tor manpage. Closes
  510. ticket 32846.
  511. - Alphabetize the General Options section of the tor manpage. Closes
  512. ticket 32708.
  513. - In the tor(1) manpage, reword and improve formatting of the
  514. COMMAND-LINE OPTIONS and DESCRIPTION sections. Closes ticket
  515. 32277. Based on work by Swati Thacker as part of Google Season
  516. of Docs.
  517. - In the tor(1) manpage, reword and improve formatting of the FILES,
  518. SEE ALSO, and BUGS sections. Closes ticket 32176. Based on work by
  519. Swati Thacker as part of Google Season of Docs.
  520. o Testing (Appveyor CI):
  521. - In our Appveyor Windows CI, copy required DLLs to test and app
  522. directories, before running tor's tests. This ensures that tor.exe
  523. and test*.exe use the correct version of each DLL. This fix is not
  524. required, but we hope it will avoid DLL search issues in future.
  525. Fixes bug 33673; bugfix on 0.3.4.2-alpha.
  526. - On Appveyor, skip the crypto/openssl_version test, which is
  527. failing because of a mismatched library installation. Fix
  528. for 33643.
  529. o Testing (circuit, EWMA):
  530. - Add unit tests for circuitmux and EWMA subsystems. Closes
  531. ticket 32196.
  532. o Testing (Travis CI):
  533. - Remove a redundant distcheck job. Closes ticket 33194.
  534. - Sort the Travis jobs in order of speed: putting the slowest jobs
  535. first takes full advantage of Travis job concurrency. Closes
  536. ticket 33194.
  537. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  538. previously configured to fast_finish (which requires
  539. allow_failure), to speed up the build. Closes ticket 33195.
  540. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  541. tool to produce detailed diagnostic output. Closes ticket 32792.
  542. Changes in version 0.4.2.7 - 2020-03-18
  543. This is the third stable release in the 0.4.2.x series. It backports
  544. numerous fixes from later releases, including a fix for TROVE-2020-
  545. 002, a major denial-of-service vulnerability that affected all
  546. released Tor instances since 0.2.1.5-alpha. Using this vulnerability,
  547. an attacker could cause Tor instances to consume a huge amount of CPU,
  548. disrupting their operations for several seconds or minutes. This
  549. attack could be launched by anybody against a relay, or by a directory
  550. cache against any client that had connected to it. The attacker could
  551. launch this attack as much as they wanted, thereby disrupting service
  552. or creating patterns that could aid in traffic analysis. This issue
  553. was found by OSS-Fuzz, and is also tracked as CVE-2020-10592.
  554. We do not have reason to believe that this attack is currently being
  555. exploited in the wild, but nonetheless we advise everyone to upgrade
  556. as soon as packages are available.
  557. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  558. - Fix a denial-of-service bug that could be used by anyone to
  559. consume a bunch of CPU on any Tor relay or authority, or by
  560. directories to consume a bunch of CPU on clients or hidden
  561. services. Because of the potential for CPU consumption to
  562. introduce observable timing patterns, we are treating this as a
  563. high-severity security issue. Fixes bug 33119; bugfix on
  564. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  565. as TROVE-2020-002 and CVE-2020-10592.
  566. o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
  567. - Avoid a remotely triggered memory leak in the case that a circuit
  568. padding machine is somehow negotiated twice on the same circuit.
  569. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
  570. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
  571. o Major bugfixes (directory authority, backport from 0.4.3.3-alpha):
  572. - Directory authorities will now send a 503 (not enough bandwidth)
  573. code to clients when under bandwidth pressure. Known relays and
  574. other authorities will always be answered regardless of the
  575. bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
  576. o Minor features (continuous integration, backport from 0.4.3.2-alpha):
  577. - Stop allowing failures on the Travis CI stem tests job. It looks
  578. like all the stem hangs we were seeing before are now fixed.
  579. Closes ticket 33075.
  580. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  581. - Lowercase the configured value of BridgeDistribution before adding
  582. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  583. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  584. - If we encounter a bug when flushing a buffer to a TLS connection,
  585. only log the bug once per invocation of the Tor process.
  586. Previously we would log with every occurrence, which could cause
  587. us to run out of disk space. Fixes bug 33093; bugfix
  588. on 0.3.2.2-alpha.
  589. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  590. - Fix an assertion failure that could result from a corrupted
  591. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  592. bugfix on 0.3.3.1-alpha. This issue is also tracked
  593. as TROVE-2020-003.
  594. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  595. - Fix a syntax warning given by newer versions of Rust that was
  596. creating problems for our continuous integration. Fixes bug 33212;
  597. bugfix on 0.3.5.1-alpha.
  598. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  599. - Remove a redundant distcheck job. Closes ticket 33194.
  600. - Sort the Travis jobs in order of speed: putting the slowest jobs
  601. first takes full advantage of Travis job concurrency. Closes
  602. ticket 33194.
  603. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  604. previously configured to fast_finish (which requires
  605. allow_failure), to speed up the build. Closes ticket 33195.
  606. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  607. tool to produce detailed diagnostic output. Closes ticket 32792.
  608. Changes in version 0.4.1.9 - 2020-03-18
  609. Tor 0.4.1.9 backports important fixes from later Tor releases,
  610. including a fix for TROVE-2020-002, a major denial-of-service
  611. vulnerability that affected all released Tor instances since
  612. 0.2.1.5-alpha. Using this vulnerability, an attacker could cause Tor
  613. instances to consume a huge amount of CPU, disrupting their operations
  614. for several seconds or minutes. This attack could be launched by
  615. anybody against a relay, or by a directory cache against any client
  616. that had connected to it. The attacker could launch this attack as
  617. much as they wanted, thereby disrupting service or creating patterns
  618. that could aid in traffic analysis. This issue was found by OSS-Fuzz,
  619. and is also tracked as CVE-2020-10592.
  620. We do not have reason to believe that this attack is currently being
  621. exploited in the wild, but nonetheless we advise everyone to upgrade
  622. as soon as packages are available.
  623. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  624. - Fix a denial-of-service bug that could be used by anyone to
  625. consume a bunch of CPU on any Tor relay or authority, or by
  626. directories to consume a bunch of CPU on clients or hidden
  627. services. Because of the potential for CPU consumption to
  628. introduce observable timing patterns, we are treating this as a
  629. high-severity security issue. Fixes bug 33119; bugfix on
  630. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  631. as TROVE-2020-002 and CVE-2020-10592.
  632. o Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
  633. - Avoid a remotely triggered memory leak in the case that a circuit
  634. padding machine is somehow negotiated twice on the same circuit.
  635. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls.
  636. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
  637. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  638. - Lowercase the configured value of BridgeDistribution before adding
  639. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  640. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  641. - If we encounter a bug when flushing a buffer to a TLS connection,
  642. only log the bug once per invocation of the Tor process.
  643. Previously we would log with every occurrence, which could cause
  644. us to run out of disk space. Fixes bug 33093; bugfix
  645. on 0.3.2.2-alpha.
  646. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  647. - Fix an assertion failure that could result from a corrupted
  648. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  649. bugfix on 0.3.3.1-alpha. This issue is also tracked
  650. as TROVE-2020-003.
  651. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  652. - Fix a syntax warning given by newer versions of Rust that was
  653. creating problems for our continuous integration. Fixes bug 33212;
  654. bugfix on 0.3.5.1-alpha.
  655. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  656. - Remove a redundant distcheck job. Closes ticket 33194.
  657. - Sort the Travis jobs in order of speed: putting the slowest jobs
  658. first takes full advantage of Travis job concurrency. Closes
  659. ticket 33194.
  660. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  661. previously configured to fast_finish (which requires
  662. allow_failure), to speed up the build. Closes ticket 33195.
  663. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  664. tool to produce detailed diagnostic output. Closes ticket 32792.
  665. Changes in version 0.3.5.10 - 2020-03-18
  666. Tor 0.3.5.10 backports many fixes from later Tor releases, including a
  667. fix for TROVE-2020-002, a major denial-of-service vulnerability that
  668. affected all released Tor instances since 0.2.1.5-alpha. Using this
  669. vulnerability, an attacker could cause Tor instances to consume a huge
  670. amount of CPU, disrupting their operations for several seconds or
  671. minutes. This attack could be launched by anybody against a relay, or
  672. by a directory cache against any client that had connected to it. The
  673. attacker could launch this attack as much as they wanted, thereby
  674. disrupting service or creating patterns that could aid in traffic
  675. analysis. This issue was found by OSS-Fuzz, and is also tracked
  676. as CVE-2020-10592.
  677. We do not have reason to believe that this attack is currently being
  678. exploited in the wild, but nonetheless we advise everyone to upgrade
  679. as soon as packages are available.
  680. o Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
  681. - Fix a denial-of-service bug that could be used by anyone to
  682. consume a bunch of CPU on any Tor relay or authority, or by
  683. directories to consume a bunch of CPU on clients or hidden
  684. services. Because of the potential for CPU consumption to
  685. introduce observable timing patterns, we are treating this as a
  686. high-severity security issue. Fixes bug 33119; bugfix on
  687. 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue
  688. as TROVE-2020-002 and CVE-2020-10592.
  689. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  690. - Correct how we use libseccomp. Particularly, stop assuming that
  691. rules are applied in a particular order or that more rules are
  692. processed after the first match. Neither is the case! In
  693. libseccomp <2.4.0 this lead to some rules having no effect.
  694. libseccomp 2.4.0 changed how rules are generated, leading to a
  695. different ordering, which in turn led to a fatal crash during
  696. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  697. Peter Gerber.
  698. o Minor features (continuous integration, backport from 0.4.3.2-alpha):
  699. - Stop allowing failures on the Travis CI stem tests job. It looks
  700. like all the stem hangs we were seeing before are now fixed.
  701. Closes ticket 33075.
  702. o Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
  703. - Lowercase the configured value of BridgeDistribution before adding
  704. it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
  705. o Minor bugfixes (crash, backport from 0.4.2.4-rc):
  706. - When running Tor with an option like --verify-config or
  707. --dump-config that does not start the event loop, avoid crashing
  708. if we try to exit early because of an error. Fixes bug 32407;
  709. bugfix on 0.3.3.1-alpha.
  710. o Minor bugfixes (logging, backport from 0.4.3.2-alpha):
  711. - If we encounter a bug when flushing a buffer to a TLS connection,
  712. only log the bug once per invocation of the Tor process.
  713. Previously we would log with every occurrence, which could cause
  714. us to run out of disk space. Fixes bug 33093; bugfix
  715. on 0.3.2.2-alpha.
  716. o Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
  717. - Fix an assertion failure that could result from a corrupted
  718. ADD_ONION control port command. Found by Saibato. Fixes bug 33137;
  719. bugfix on 0.3.3.1-alpha. This issue is also tracked
  720. as TROVE-2020-003.
  721. o Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
  722. - Fix a syntax warning given by newer versions of Rust that was
  723. creating problems for our continuous integration. Fixes bug 33212;
  724. bugfix on 0.3.5.1-alpha.
  725. o Testing (backport from 0.4.3.1-alpha):
  726. - Re-enable the Travis CI macOS Chutney build, but don't let it
  727. prevent the Travis job from finishing. (The Travis macOS jobs are
  728. slow, so we don't want to have it delay the whole CI process.)
  729. Closes ticket 32629.
  730. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  731. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  732. fix the sandbox errors in 32722. Closes ticket 32240.
  733. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  734. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  735. o Testing (Travis CI, backport from 0.4.3.3-alpha):
  736. - Remove a redundant distcheck job. Closes ticket 33194.
  737. - Sort the Travis jobs in order of speed: putting the slowest jobs
  738. first takes full advantage of Travis job concurrency. Closes
  739. ticket 33194.
  740. - Stop allowing the Chutney IPv6 Travis job to fail. This job was
  741. previously configured to fast_finish (which requires
  742. - When a Travis chutney job fails, use chutney's new "diagnostics.sh"
  743. tool to produce detailed diagnostic output. Closes ticket 32792.
  744. Changes in version 0.4.2.6 - 2020-01-30
  745. This is the second stable release in the 0.4.2.x series. It backports
  746. several bugfixes from 0.4.3.1-alpha, including some that had affected
  747. the Linux seccomp2 sandbox or Windows services. If you're running with
  748. one of those configurations, you'll probably want to upgrade;
  749. otherwise, you should be fine with 0.4.2.5.
  750. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  751. - Correct how we use libseccomp. Particularly, stop assuming that
  752. rules are applied in a particular order or that more rules are
  753. processed after the first match. Neither is the case! In
  754. libseccomp <2.4.0 this led to some rules having no effect.
  755. libseccomp 2.4.0 changed how rules are generated, leading to a
  756. different ordering, which in turn led to a fatal crash during
  757. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  758. Peter Gerber.
  759. - Fix crash when reloading logging configuration while the
  760. experimental sandbox is enabled. Fixes bug 32841; bugfix on
  761. 0.4.1.7. Patch by Peter Gerber.
  762. o Minor bugfixes (correctness checks, backport from 0.4.3.1-alpha):
  763. - Use GCC/Clang's printf-checking feature to make sure that
  764. tor_assertf() arguments are correctly typed. Fixes bug 32765;
  765. bugfix on 0.4.1.1-alpha.
  766. o Minor bugfixes (logging, crash, backport from 0.4.3.1-alpha):
  767. - Avoid a possible crash when trying to log a (fatal) assertion
  768. failure about mismatched magic numbers in configuration objects.
  769. Fixes bug 32771; bugfix on 0.4.2.1-alpha.
  770. o Minor bugfixes (testing, backport from 0.4.3.1-alpha):
  771. - When TOR_DISABLE_PRACTRACKER is set, do not apply it to the
  772. test_practracker.sh script. Doing so caused a test failure. Fixes
  773. bug 32705; bugfix on 0.4.2.1-alpha.
  774. - When TOR_DISABLE_PRACTRACKER is set, log a notice to stderr when
  775. skipping practracker checks. Fixes bug 32705; bugfix
  776. on 0.4.2.1-alpha.
  777. o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
  778. - Initialize the publish/subscribe system when running as a windows
  779. service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
  780. o Testing (backport from 0.4.3.1-alpha):
  781. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  782. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  783. fix the sandbox errors in 32722. Closes ticket 32240.
  784. - Re-enable the Travis CI macOS Chutney build, but don't let it
  785. prevent the Travis job from finishing. (The Travis macOS jobs are
  786. slow, so we don't want to have it delay the whole CI process.)
  787. Closes ticket 32629.
  788. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  789. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  790. Changes in version 0.4.1.8 - 2020-01-30
  791. This release backports several bugfixes from later release series,
  792. including some that had affected the Linux seccomp2 sandbox or Windows
  793. services. If you're running with one of those configurations, you'll
  794. probably want to upgrade; otherwise, you should be fine with your
  795. current version of 0.4.1.x.
  796. o Major bugfixes (linux seccomp sandbox, backport from 0.4.3.1-alpha):
  797. - Correct how we use libseccomp. Particularly, stop assuming that
  798. rules are applied in a particular order or that more rules are
  799. processed after the first match. Neither is the case! In
  800. libseccomp <2.4.0 this led to some rules having no effect.
  801. libseccomp 2.4.0 changed how rules are generated, leading to a
  802. different ordering, which in turn led to a fatal crash during
  803. startup. Fixes bug 29819; bugfix on 0.2.5.1-alpha. Patch by
  804. Peter Gerber.
  805. - Fix crash when reloading logging configuration while the
  806. experimental sandbox is enabled. Fixes bug 32841; bugfix on
  807. 0.4.1.7. Patch by Peter Gerber.
  808. o Minor bugfixes (crash, backport form 0.4.2.4-rc):
  809. - When running Tor with an option like --verify-config or
  810. --dump-config that does not start the event loop, avoid crashing
  811. if we try to exit early because of an error. Fixes bug 32407;
  812. bugfix on 0.3.3.1-alpha.
  813. o Minor bugfixes (windows service, backport from 0.4.3.1-alpha):
  814. - Initialize the publish/subscribe system when running as a windows
  815. service. Fixes bug 32778; bugfix on 0.4.1.1-alpha.
  816. o Testing (backport from 0.4.3.1-alpha):
  817. - Turn off Tor's Sandbox in Chutney jobs, and run those jobs on
  818. Ubuntu Bionic. Turning off the Sandbox is a work-around, until we
  819. fix the sandbox errors in 32722. Closes ticket 32240.
  820. - Re-enable the Travis CI macOS Chutney build, but don't let it
  821. prevent the Travis job from finishing. (The Travis macOS jobs are
  822. slow, so we don't want to have it delay the whole CI process.)
  823. Closes ticket 32629.
  824. o Testing (continuous integration, backport from 0.4.3.1-alpha):
  825. - Use zstd in our Travis Linux builds. Closes ticket 32242.
  826. Changes in version 0.4.2.5 - 2019-12-09
  827. This is the first stable release in the 0.4.2.x series. This series
  828. improves reliability and stability, and includes several stability and
  829. correctness improvements for onion services. It also fixes many smaller
  830. bugs present in previous series.
  831. Per our support policy, we will support the 0.4.2.x series for nine
  832. months, or until three months after the release of a stable 0.4.3.x:
  833. whichever is longer. If you need longer-term support, please stick
  834. with 0.3.5.x, which will we plan to support until Feb 2022.
  835. Below are the changes since 0.4.1.4-rc. For a complete list of only
  836. the changes since 0.4.2.4-rc, see the ChangeLog file.
  837. o Major features (directory authorities):
  838. - Directory authorities now reject relays running all currently
  839. deprecated release series. The currently supported release series
  840. are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
  841. o Major features (onion service v3, denial of service):
  842. - Add onion service introduction denial of service defenses. Intro
  843. points can now rate-limit client introduction requests, using
  844. parameters that can be sent by the service within the
  845. ESTABLISH_INTRO cell. If the cell extension for this is not used,
  846. the intro point will honor the consensus parameters. Closes
  847. ticket 30924.
  848. o Major bugfixes (circuit build, guard):
  849. - When considering upgrading circuits from "waiting for guard" to
  850. "open", always ignore circuits that are marked for close.
  851. Previously we could end up in the situation where a subsystem is
  852. notified of a circuit opening, but the circuit is still marked for
  853. close, leading to undesirable behavior. Fixes bug 30871; bugfix
  854. on 0.3.0.1-alpha.
  855. o Major bugfixes (crash, Linux, Android):
  856. - Tolerate systems (including some Android installations) where
  857. madvise and MADV_DONTDUMP are available at build-time, but not at
  858. run time. Previously, these systems would notice a failed syscall
  859. and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
  860. - Tolerate systems (including some Linux installations) where
  861. madvise and/or MADV_DONTFORK are available at build-time, but not
  862. at run time. Previously, these systems would notice a failed
  863. syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
  864. o Major bugfixes (embedded Tor):
  865. - Avoid a possible crash when restarting Tor in embedded mode and
  866. enabling a different set of publish/subscribe messages. Fixes bug
  867. 31898; bugfix on 0.4.1.1-alpha.
  868. o Major bugfixes (relay):
  869. - Relays now respect their AccountingMax bandwidth again. When
  870. relays entered "soft" hibernation (which typically starts when
  871. we've hit 90% of our AccountingMax), we had stopped checking
  872. whether we should enter hard hibernation. Soft hibernation refuses
  873. new connections and new circuits, but the existing circuits can
  874. continue, meaning that relays could have exceeded their configured
  875. AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
  876. o Major bugfixes (torrc parsing):
  877. - Stop ignoring torrc options after an %include directive, when the
  878. included directory ends with a file that does not contain any
  879. config options (but does contain comments or whitespace). Fixes
  880. bug 31408; bugfix on 0.3.1.1-alpha.
  881. o Major bugfixes (v3 onion services):
  882. - Onion services now always use the exact number of intro points
  883. configured with the HiddenServiceNumIntroductionPoints option (or
  884. fewer if nodes are excluded). Before, a service could sometimes
  885. pick more intro points than configured. Fixes bug 31548; bugfix
  886. on 0.3.2.1-alpha.
  887. o Minor feature (onion services, control port):
  888. - The ADD_ONION command's keyword "BEST" now defaults to ED25519-V3
  889. (v3) onion services. Previously it defaulted to RSA1024 (v2).
  890. Closes ticket 29669.
  891. o Minor features (auto-formatting scripts):
  892. - When annotating C macros, never generate a line that our check-
  893. spaces script would reject. Closes ticket 31759.
  894. - When annotating C macros, try to remove cases of double-negation.
  895. Closes ticket 31779.
  896. o Minor features (best practices tracker):
  897. - Our best-practices tracker now integrates with our include-checker
  898. tool to keep track of how many layering violations we have not yet
  899. fixed. We hope to reduce this number over time to improve Tor's
  900. modularity. Closes ticket 31176.
  901. - Add a TOR_PRACTRACKER_OPTIONS variable for passing arguments to
  902. practracker from the environment. We may want this for continuous
  903. integration. Closes ticket 31309.
  904. - Give a warning rather than an error when a practracker exception
  905. is violated by a small amount, add a --list-overbroad option to
  906. practracker that lists exceptions that are stricter than they need
  907. to be, and provide an environment variable for disabling
  908. practracker. Closes ticket 30752.
  909. - Our best-practices tracker now looks at headers as well as C
  910. files. Closes ticket 31175.
  911. o Minor features (build system):
  912. - Make pkg-config use --prefix when cross-compiling, if
  913. PKG_CONFIG_PATH is not set. Closes ticket 32191.
  914. - Add --disable-manpage and --disable-html-manual options to
  915. configure script. This will enable shortening build times by not
  916. building documentation. Resolves issue 19381.
  917. o Minor features (compilation):
  918. - Log a more useful error message when we are compiling and one of
  919. the compile-time hardening options we have selected can be linked
  920. but not executed. Closes ticket 27530.
  921. o Minor features (configuration):
  922. - The configuration code has been extended to allow splitting
  923. configuration data across multiple objects. Previously, all
  924. configuration data needed to be kept in a single object, which
  925. tended to become bloated. Closes ticket 31240.
  926. o Minor features (continuous integration):
  927. - When building on Appveyor and Travis, pass the "-k" flag to make,
  928. so that we are informed of all compilation failures, not just the
  929. first one or two. Closes ticket 31372.
  930. - When running CI builds on Travis, put some random data in
  931. ~/.torrc, to make sure no tests are reading the Tor configuration
  932. file from its default location. Resolves issue 30102.
  933. o Minor features (debugging):
  934. - Log a nonfatal assertion failure if we encounter a configuration
  935. line whose command is "CLEAR" but which has a nonempty value. This
  936. should be impossible, according to the rules of our configuration
  937. line parsing. Closes ticket 31529.
  938. o Minor features (geoip):
  939. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  940. Country database. Closes ticket 32685.
  941. o Minor features (git hooks):
  942. - Our pre-commit git hook now checks for a special file before
  943. running practracker, so that practracker only runs on branches
  944. that are based on master. Since the pre-push hook calls the pre-
  945. commit hook, practracker will also only run before pushes of
  946. branches based on master. Closes ticket 30979.
  947. o Minor features (git scripts):
  948. - Add a "--" command-line argument, to separate git-push-all.sh
  949. script arguments from arguments that are passed through to git
  950. push. Closes ticket 31314.
  951. - Add a -r <remote-name> argument to git-push-all.sh, so the script
  952. can push test branches to a personal remote. Closes ticket 31314.
  953. - Add a -t <test-branch-prefix> argument to git-merge-forward.sh and
  954. git-push-all.sh, which makes these scripts create, merge forward,
  955. and push test branches. Closes ticket 31314.
  956. - Add a -u argument to git-merge-forward.sh, so that the script can
  957. re-use existing test branches after a merge failure and fix.
  958. Closes ticket 31314.
  959. - Add a TOR_GIT_PUSH env var, which sets the default git push
  960. command and arguments for git-push-all.sh. Closes ticket 31314.
  961. - Add a TOR_PUSH_DELAY variable to git-push-all.sh, which makes the
  962. script push master and maint branches with a delay between each
  963. branch. These delays trigger the CI jobs in a set order, which
  964. should show the most likely failures first. Also make pushes
  965. atomic by default, and make the script pass any command-line
  966. arguments to git push. Closes ticket 29879.
  967. - Call the shellcheck script from the pre-commit hook. Closes
  968. ticket 30967.
  969. - Skip pushing test branches that are the same as a remote
  970. maint/release/master branch in git-push-all.sh by default. Add a
  971. -s argument, so git-push-all.sh can push all test branches. Closes
  972. ticket 31314.
  973. o Minor features (IPv6, logging):
  974. - Log IPv6 addresses as well as IPv4 addresses when describing
  975. routerinfos, routerstatuses, and nodes. Closes ticket 21003.
  976. o Minor features (maintenance scripts):
  977. - Add a Coccinelle script to detect bugs caused by incrementing or
  978. decrementing a variable inside a call to log_debug(). Since
  979. log_debug() is a macro whose arguments are conditionally
  980. evaluated, it is usually an error to do this. One such bug was
  981. 30628, in which SENDME cells were miscounted by a decrement
  982. operator inside a log_debug() call. Closes ticket 30743.
  983. o Minor features (onion service v3):
  984. - Do not allow single hop clients to fetch or post an HS descriptor
  985. from an HSDir. Closes ticket 24964.
  986. o Minor features (onion service):
  987. - Disallow single-hop clients at the introduction point. We've
  988. removed Tor2web support a while back and single-hop rendezvous
  989. attempts are blocked at the relays. This change should remove load
  990. off the network from spammy clients. Close ticket 24963.
  991. o Minor features (onion services v3):
  992. - Assist users who try to setup v2 client authorization in v3 onion
  993. services by pointing them to the right documentation. Closes
  994. ticket 28966.
  995. o Minor features (stem tests):
  996. - Change "make test-stem" so it only runs the stem tests that use
  997. tor. This change makes test-stem faster and more reliable. Closes
  998. ticket 31554.
  999. o Minor features (testing):
  1000. - When running tests that attempt to look up hostnames, replace the
  1001. libc name lookup functions with ones that do not actually touch
  1002. the network. This way, the tests complete more quickly in the
  1003. presence of a slow or missing DNS resolver. Closes ticket 31841.
  1004. - Add a script to invoke "tor --dump-config" and "tor
  1005. --verify-config" with various configuration options, and see
  1006. whether tor's resulting configuration or error messages are what
  1007. we expect. Use it for integration testing of our +Option and
  1008. /Option flags. Closes ticket 31637.
  1009. - Improve test coverage for our existing configuration parsing and
  1010. management API. Closes ticket 30893.
  1011. - Add integration tests to make sure that practracker gives the
  1012. outputs we expect. Closes ticket 31477.
  1013. - The practracker self-tests are now run as part of the Tor test
  1014. suite. Closes ticket 31304.
  1015. o Minor features (testing, continuous integration):
  1016. - Disable all but one Travis CI macOS build, to mitigate slow
  1017. scheduling of Travis macOS jobs. Closes ticket 32177.
  1018. - Run the chutney IPv6 networks as part of Travis CI. Closes
  1019. ticket 30860.
  1020. - Simplify the Travis CI build matrix, and optimise for build time.
  1021. Closes ticket 31859.
  1022. - Use Windows Server 2019 instead of Windows Server 2016 in our
  1023. Appveyor builds. Closes ticket 32086.
  1024. o Minor features (token bucket):
  1025. - Implement a generic token bucket that uses a single counter, for
  1026. use in anti-DoS onion service work. Closes ticket 30687.
  1027. o Minor bugfixes (Appveyor continuous integration):
  1028. - Avoid spurious errors when Appveyor CI fails before the install
  1029. step. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  1030. o Minor bugfixes (best practices tracker):
  1031. - Fix a few issues in the best-practices script, including tests,
  1032. tab tolerance, error reporting, and directory-exclusion logic.
  1033. Fixes bug 29746; bugfix on 0.4.1.1-alpha.
  1034. - When running check-best-practices, only consider files in the src
  1035. subdirectory. Previously we had recursively considered all
  1036. subdirectories, which made us get confused by the temporary
  1037. directories made by "make distcheck". Fixes bug 31578; bugfix
  1038. on 0.4.1.1-alpha.
  1039. o Minor bugfixes (build system):
  1040. - Interpret "--disable-module-dirauth=no" correctly. Fixes bug
  1041. 32124; bugfix on 0.3.4.1-alpha.
  1042. - Interpret "--with-tcmalloc=no" correctly. Fixes bug 32124; bugfix
  1043. on 0.2.0.20-rc.
  1044. - Stop failing when jemalloc is requested, but tcmalloc is not
  1045. found. Fixes bug 32124; bugfix on 0.3.5.1-alpha.
  1046. - When pkg-config is not installed, or a library that depends on
  1047. pkg-config is not found, tell the user what to do to fix the
  1048. problem. Fixes bug 31922; bugfix on 0.3.1.1-alpha.
  1049. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  1050. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  1051. o Minor bugfixes (chutney, makefiles, documentation):
  1052. - "make test-network-all" now shows the warnings from each test-
  1053. network.sh run on the console, so developers see new warnings
  1054. early. We've also improved the documentation for this feature, and
  1055. renamed a Makefile variable so the code is self-documenting. Fixes
  1056. bug 30455; bugfix on 0.3.0.4-rc.
  1057. o Minor bugfixes (client, onion service v3):
  1058. - Fix a BUG() assertion that occurs within a very small race window
  1059. between when a client intro circuit opens and when its descriptor
  1060. gets cleaned up from the cache. The circuit is now closed early,
  1061. which will trigger a re-fetch of the descriptor and continue the
  1062. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  1063. o Minor bugfixes (code quality):
  1064. - Fix "make check-includes" so it runs correctly on out-of-tree
  1065. builds. Fixes bug 31335; bugfix on 0.3.5.1-alpha.
  1066. o Minor bugfixes (compilation):
  1067. - Add more stub functions to fix compilation on Android with link-
  1068. time optimization when --disable-module-dirauth is used.
  1069. Previously, these compilation settings would make the compiler
  1070. look for functions that didn't exist. Fixes bug 31552; bugfix
  1071. on 0.4.1.1-alpha.
  1072. - Suppress spurious float-conversion warnings from GCC when calling
  1073. floating-point classifier functions on FreeBSD. Fixes part of bug
  1074. 31687; bugfix on 0.3.1.5-alpha.
  1075. o Minor bugfixes (configuration):
  1076. - Invalid floating-point values in the configuration file are now
  1077. treated as errors in the configuration. Previously, they were
  1078. ignored and treated as zero. Fixes bug 31475; bugfix on 0.0.1.
  1079. o Minor bugfixes (connections):
  1080. - Avoid trying to read data from closed connections, which can cause
  1081. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  1082. 30344; bugfix on 0.1.1.1-alpha.
  1083. o Minor bugfixes (controller protocol):
  1084. - Fix the MAPADDRESS controller command to accept one or more
  1085. arguments. Previously, it required two or more arguments, and
  1086. ignored the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
  1087. o Minor bugfixes (coverity):
  1088. - Add an assertion when parsing a BEGIN cell so that coverity can be
  1089. sure that we are not about to dereference a NULL address. Fixes
  1090. bug 31026; bugfix on 0.2.4.7-alpha. This is CID 1447296.
  1091. - In our siphash implementation, when building for coverity, use
  1092. memcpy in place of a switch statement, so that coverity can tell
  1093. we are not accessing out-of-bounds memory. Fixes bug 31025; bugfix
  1094. on 0.2.8.1-alpha. This is tracked as CID 1447293 and 1447295.
  1095. - Fix several coverity warnings from our unit tests. Fixes bug
  1096. 31030; bugfix on 0.2.4.1-alpha, 0.3.2.1-alpha, and 0.4.0.1-alpha.
  1097. o Minor bugfixes (crash):
  1098. - When running Tor with an option like --verify-config or
  1099. --dump-config that does not start the event loop, avoid crashing
  1100. if we try to exit early because of an error. Fixes bug 32407;
  1101. bugfix on 0.3.3.1-alpha.
  1102. o Minor bugfixes (developer tooling):
  1103. - Only log git script changes in the post-merge script when the
  1104. merge was to the master branch. Fixes bug 31040; bugfix
  1105. on 0.4.1.1-alpha.
  1106. o Minor bugfixes (directory authorities):
  1107. - Return a distinct status when formatting annotations fails. Fixes
  1108. bug 30780; bugfix on 0.2.0.8-alpha.
  1109. o Minor bugfixes (error handling):
  1110. - Always lock the backtrace buffer before it is used. Fixes bug
  1111. 31734; bugfix on 0.2.5.3-alpha.
  1112. - On abort, try harder to flush the output buffers of log messages.
  1113. On some platforms (macOS), log messages could be discarded when
  1114. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  1115. - Report the tor version whenever an assertion fails. Previously, we
  1116. only reported the Tor version on some crashes, and some non-fatal
  1117. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  1118. - When tor aborts due to an error, close log file descriptors before
  1119. aborting. Closing the logs makes some OSes flush log file buffers,
  1120. rather than deleting buffered log lines. Fixes bug 31594; bugfix
  1121. on 0.2.5.2-alpha.
  1122. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6):
  1123. - When extracting an IPv6 address from a PF-based proxy, verify that
  1124. we are actually configured to receive an IPv6 address, and log an
  1125. internal error if not. Fixes part of bug 31687; bugfix
  1126. on 0.2.3.4-alpha.
  1127. o Minor bugfixes (git hooks):
  1128. - Remove a duplicate call to practracker from the pre-push hook. The
  1129. pre-push hook already calls the pre-commit hook, which calls
  1130. practracker. Fixes bug 31462; bugfix on 0.4.1.1-alpha.
  1131. o Minor bugfixes (git scripts):
  1132. - Stop hard-coding the bash path in the git scripts. Some OSes don't
  1133. have bash in /usr/bin, others have an ancient bash at this path.
  1134. Fixes bug 30840; bugfix on 0.4.0.1-alpha.
  1135. - Stop hard-coding the tor master branch name and worktree path in
  1136. the git scripts. Fixes bug 30841; bugfix on 0.4.0.1-alpha.
  1137. - Allow git-push-all.sh to be run from any directory. Previously,
  1138. the script only worked if run from an upstream worktree directory.
  1139. Closes ticket 31678.
  1140. o Minor bugfixes (guards):
  1141. - When tor is missing descriptors for some primary entry guards,
  1142. make the log message less alarming. It's normal for descriptors to
  1143. expire, as long as tor fetches new ones soon after. Fixes bug
  1144. 31657; bugfix on 0.3.3.1-alpha.
  1145. o Minor bugfixes (ipv6):
  1146. - Check for private IPv6 addresses alongside their IPv4 equivalents
  1147. when authorities check descriptors. Previously, we only checked
  1148. for private IPv4 addresses. Fixes bug 31088; bugfix on
  1149. 0.2.3.21-rc. Patch by Neel Chauhan.
  1150. - When parsing microdescriptors, we should check the IPv6 exit
  1151. policy alongside IPv4. Previously, we checked both exit policies
  1152. for only router info structures, while microdescriptors were
  1153. IPv4-only. Fixes bug 27284; bugfix on 0.2.3.1-alpha. Patch by
  1154. Neel Chauhan.
  1155. o Minor bugfixes (logging):
  1156. - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
  1157. uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
  1158. - Disable backtrace signal handlers when shutting down tor. Fixes
  1159. bug 31614; bugfix on 0.2.5.2-alpha.
  1160. - Rate-limit our the logging message about the obsolete .exit
  1161. notation. Previously, there was no limit on this warning, which
  1162. could potentially be triggered many times by a hostile website.
  1163. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  1164. - When initialising log domain masks, only set known log domains.
  1165. Fixes bug 31854; bugfix on 0.2.1.1-alpha.
  1166. - Change log level of message "Hash of session info was not as
  1167. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  1168. on 0.1.1.10-alpha.
  1169. - Fix a code issue that would have broken our parsing of log domains
  1170. as soon as we had 33 of them. Fortunately, we still only have 29.
  1171. Fixes bug 31451; bugfix on 0.4.1.4-rc.
  1172. o Minor bugfixes (logging, protocol violations):
  1173. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  1174. cell on a connection using the obsolete v1 link protocol. Log a
  1175. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  1176. o Minor bugfixes (mainloop, periodic events, in-process API):
  1177. - Reset the periodic events' "enabled" flag when Tor is shut down
  1178. cleanly. Previously, this flag was left on, which caused periodic
  1179. events not to be re-enabled when Tor was relaunched in-process
  1180. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  1181. on 0.3.3.1-alpha.
  1182. o Minor bugfixes (memory management):
  1183. - Stop leaking a small amount of memory in nt_service_install(), in
  1184. unreachable code. Fixes bug 30799; bugfix on 0.2.0.7-alpha. Patch
  1185. by Xiaoyin Liu.
  1186. o Minor bugfixes (modules):
  1187. - Explain what the optional Directory Authority module is, and what
  1188. happens when it is disabled. Fixes bug 31825; bugfix
  1189. on 0.3.4.1-alpha.
  1190. o Minor bugfixes (multithreading):
  1191. - Avoid some undefined behaviour when freeing mutexes. Fixes bug
  1192. 31736; bugfix on 0.0.7.
  1193. o Minor bugfixes (networking, IP addresses):
  1194. - When parsing addresses via Tor's internal DNS lookup API, reject
  1195. IPv4 addresses in square brackets, and accept IPv6 addresses in
  1196. square brackets. This change completes the work started in 23082,
  1197. making address parsing consistent between tor's internal DNS
  1198. lookup and address parsing APIs. Fixes bug 30721; bugfix
  1199. on 0.2.1.5-alpha.
  1200. - When parsing addresses via Tor's internal address:port parsing and
  1201. DNS lookup APIs, require IPv6 addresses with ports to have square
  1202. brackets. But allow IPv6 addresses without ports, whether or not
  1203. they have square brackets. Fixes bug 30721; bugfix
  1204. on 0.2.1.5-alpha.
  1205. o Minor bugfixes (onion service v3):
  1206. - When purging the client descriptor cache, close any introduction
  1207. point circuits associated with purged cache entries. This avoids
  1208. picking those circuits later when connecting to the same
  1209. introduction points. Fixes bug 30921; bugfix on 0.3.2.1-alpha.
  1210. o Minor bugfixes (onion services):
  1211. - In the hs_ident_circuit_t data structure, remove the unused field
  1212. circuit_type and the respective argument in hs_ident_circuit_new().
  1213. This field was set by clients (for introduction) and services (for
  1214. introduction and rendezvous) but was never used afterwards. Fixes
  1215. bug 31490; bugfix on 0.3.2.1-alpha. Patch by Neel Chauhan.
  1216. o Minor bugfixes (operator tools):
  1217. - Make tor-print-ed-signing-cert(1) print certificate expiration
  1218. date in RFC 1123 and UNIX timestamp formats, to make output
  1219. machine readable. Fixes bug 31012; bugfix on 0.3.5.1-alpha.
  1220. o Minor bugfixes (process management):
  1221. - Remove overly strict assertions that triggered when a pluggable
  1222. transport failed to launch. Fixes bug 31091; bugfix
  1223. on 0.4.0.1-alpha.
  1224. - Remove an assertion in the Unix process backend. This assertion
  1225. would trigger when we failed to find the executable for a child
  1226. process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
  1227. o Minor bugfixes (relay):
  1228. - Avoid crashing when starting with a corrupt keys directory where
  1229. the old ntor key and the new ntor key are identical. Fixes bug
  1230. 30916; bugfix on 0.2.4.8-alpha.
  1231. o Minor bugfixes (rust):
  1232. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  1233. 31463; bugfix on 0.3.5.4-alpha.
  1234. - Raise the minimum rustc version to 1.31.0, as checked by configure
  1235. and CI. Fixes bug 31442; bugfix on 0.3.5.4-alpha.
  1236. o Minor bugfixes (sendme, code structure):
  1237. - Rename the trunnel SENDME file definition from sendme.trunnel to
  1238. sendme_cell.trunnel to avoid having twice sendme.{c|h} in the
  1239. repository. Fixes bug 30769; bugfix on 0.4.1.1-alpha.
  1240. o Minor bugfixes (statistics):
  1241. - Stop removing the ed25519 signature if the extra info file is too
  1242. big. If the signature data was removed, but the keyword was kept,
  1243. this could result in an unparseable extra info file. Fixes bug
  1244. 30958; bugfix on 0.2.7.2-alpha.
  1245. o Minor bugfixes (subsystems):
  1246. - Make the subsystem init order match the subsystem module
  1247. dependencies. Call windows process security APIs as early as
  1248. possible. Initialize logging before network and time, so that
  1249. network and time can use logging. Fixes bug 31615; bugfix
  1250. on 0.4.0.1-alpha.
  1251. o Minor bugfixes (testing):
  1252. - Avoid intermittent test failures due to a test that had relied on
  1253. inconsistent timing sources. Fixes bug 31995; bugfix
  1254. on 0.3.1.3-alpha.
  1255. - When testing port rebinding, don't busy-wait for tor to log.
  1256. Instead, actually sleep for a short time before polling again.
  1257. Also improve the formatting of control commands and log messages.
  1258. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  1259. - Teach the util/socketpair_ersatz test to work correctly when we
  1260. have no network stack configured. Fixes bug 30804; bugfix
  1261. on 0.2.5.1-alpha.
  1262. o Minor bugfixes (tests, SunOS):
  1263. - Avoid a map_anon_nofork test failure due to a signed/unsigned
  1264. integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
  1265. o Minor bugfixes (tls, logging):
  1266. - Log bugs about the TLS read buffer's length only once, rather than
  1267. filling the logs with similar warnings. Fixes bug 31939; bugfix
  1268. on 0.3.0.4-rc.
  1269. o Minor bugfixes (v2 single onion services):
  1270. - Always retry v2 single onion service intro and rend circuits with
  1271. a 3-hop path. Previously, v2 single onion services used a 3-hop
  1272. path when rendezvous circuits were retried after a remote or
  1273. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  1274. 23818; bugfix on 0.2.9.3-alpha.
  1275. o Minor bugfixes (v3 onion services):
  1276. - When cleaning up intro circuits for a v3 onion service, don't
  1277. remove circuits that have an established or pending circuit, even
  1278. if they ran out of retries. This way, we don't remove a circuit on
  1279. its last retry. Fixes bug 31652; bugfix on 0.3.2.1-alpha.
  1280. o Minor bugfixes (v3 single onion services):
  1281. - Always retry v3 single onion service intro and rend circuits with
  1282. a 3-hop path. Previously, v3 single onion services used a 3-hop
  1283. path when rend circuits were retried after a remote or delayed
  1284. failure, but a 1-hop path for immediate retries. Fixes bug 23818;
  1285. bugfix on 0.3.2.1-alpha.
  1286. - Make v3 single onion services fall back to a 3-hop intro, when all
  1287. intro points are unreachable via a 1-hop path. Previously, v3
  1288. single onion services failed when all intro nodes were unreachable
  1289. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  1290. o Code simplification and refactoring:
  1291. - Refactor connection_control_process_inbuf() to reduce the size of
  1292. a practracker exception. Closes ticket 31840.
  1293. - Refactor the microdescs_parse_from_string() function into smaller
  1294. pieces, for better comprehensibility. Closes ticket 31675.
  1295. - Use SEVERITY_MASK_IDX() to find the LOG_* mask indexes in the unit
  1296. tests and fuzzers, rather than using hard-coded values. Closes
  1297. ticket 31334.
  1298. - Interface for function `decrypt_desc_layer` cleaned up. Closes
  1299. ticket 31589.
  1300. o Documentation:
  1301. - Correct the description of "GuardLifetime". Fixes bug 31189;
  1302. bugfix on 0.3.0.1-alpha.
  1303. - Make clear in the man page, in both the bandwidth section and the
  1304. AccountingMax section, that Tor counts in powers of two, not
  1305. powers of ten: 1 GByte is 1024*1024*1024 bytes, not one billion
  1306. bytes. Resolves ticket 32106.
  1307. - Document the signal-safe logging behaviour in the tor man page.
  1308. Also add some comments to the relevant functions. Closes
  1309. ticket 31839.
  1310. - Explain why we can't destroy the backtrace buffer mutex. Explain
  1311. why we don't need to destroy the log mutex. Closes ticket 31736.
  1312. - The Tor source code repository now includes a (somewhat dated)
  1313. description of Tor's modular architecture, in doc/HACKING/design.
  1314. This is based on the old "tor-guts.git" repository, which we are
  1315. adopting and superseding. Closes ticket 31849.
  1316. - Improve documentation in circuit padding subsystem. Patch by
  1317. Tobias Pulls. Closes ticket 31113.
  1318. - Include an example usage for IPv6 ORPort in our sample torrc.
  1319. Closes ticket 31320; patch from Ali Raheem.
  1320. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  1321. notice.html so that operators no longer have to host it
  1322. themselves. Closes ticket 31089.
  1323. o Removed features:
  1324. - No longer include recommended package digests in votes as detailed
  1325. in proposal 301. The RecommendedPackages torrc option is
  1326. deprecated and will no longer have any effect. "package" lines
  1327. will still be considered when computing consensuses for consensus
  1328. methods that include them. (This change has no effect on the list
  1329. of recommended Tor versions, which is still in use.) Closes
  1330. ticket 29738.
  1331. - Remove torctl.in from contrib/dist directory. Resolves
  1332. ticket 30550.
  1333. o Testing:
  1334. - Require C99 standards-conforming code in Travis CI, but allow GNU
  1335. gcc extensions. Also activates clang's -Wtypedef-redefinition
  1336. warnings. Build some jobs with -std=gnu99, and some jobs without.
  1337. Closes ticket 32500.
  1338. - Run shellcheck for all non-third-party shell scripts that are
  1339. shipped with Tor. Closes ticket 29533.
  1340. - When checking shell scripts, ignore any user-created directories.
  1341. Closes ticket 30967.
  1342. o Code simplification and refactoring (config handling):
  1343. - Extract our variable manipulation code from confparse.c to a new
  1344. lower-level typedvar.h module. Closes ticket 30864.
  1345. - Lower another layer of object management from confparse.c to a
  1346. more general tool. Now typed structure members are accessible via
  1347. an abstract type. Implements ticket 30914.
  1348. - Move our backend logic for working with configuration and state
  1349. files into a lower-level library, since it no longer depends on
  1350. any tor-specific functionality. Closes ticket 31626.
  1351. - Numerous simplifications in configuration-handling logic: remove
  1352. duplicated macro definitions, replace magical names with flags,
  1353. and refactor "TestingTorNetwork" to use the same default-option
  1354. logic as the rest of Tor. Closes ticket 30935.
  1355. - Replace our ad-hoc set of flags for configuration variables and
  1356. configuration variable types with fine-grained orthogonal flags
  1357. corresponding to the actual behavior we want. Closes ticket 31625.
  1358. o Code simplification and refactoring (misc):
  1359. - Eliminate some uses of lower-level control reply abstractions,
  1360. primarily in the onion_helper functions. Closes ticket 30889.
  1361. - Rework bootstrap tracking to use the new publish-subscribe
  1362. subsystem. Closes ticket 29976.
  1363. - Rewrite format_node_description() and router_get_verbose_nickname()
  1364. to use strlcpy() and strlcat(). The previous implementation used
  1365. memcpy() and pointer arithmetic, which was error-prone. Closes
  1366. ticket 31545. This is CID 1452819.
  1367. - Split extrainfo_dump_to_string() into smaller functions. Closes
  1368. ticket 30956.
  1369. - Use the ptrdiff_t type consistently for expressing variable
  1370. offsets and pointer differences. Previously we incorrectly (but
  1371. harmlessly) used int and sometimes off_t for these cases. Closes
  1372. ticket 31532.
  1373. - Use the subsystems mechanism to manage the main event loop code.
  1374. Closes ticket 30806.
  1375. - Various simplifications and minor improvements to the circuit
  1376. padding machines. Patch by Tobias Pulls. Closes tickets 31112
  1377. and 31098.
  1378. o Documentation (hard-coded directories):
  1379. - Improve the documentation for the DirAuthority and FallbackDir
  1380. torrc options. Closes ticket 30955.
  1381. o Documentation (tor.1 man page):
  1382. - Fix typo in tor.1 man page: the option is "--help", not "-help".
  1383. Fixes bug 31008; bugfix on 0.2.2.9-alpha.
  1384. o Testing (continuous integration):
  1385. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  1386. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  1387. until we can fix some Bionic permissions issues (see ticket
  1388. 32240). Related to ticket 31919.
  1389. - Install the mingw OpenSSL package in Appveyor. This makes sure
  1390. that the OpenSSL headers and libraries match in Tor's Appveyor
  1391. builds. (This bug was triggered by an Appveyor image update.)
  1392. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  1393. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  1394. Changes in version 0.4.1.7 - 2019-12-09
  1395. This release backports several bugfixes to improve stability and
  1396. correctness. Anyone experiencing build problems or crashes with 0.4.1.6,
  1397. including all relays relying on AccountingMax, should upgrade.
  1398. o Major features (directory authorities, backport from 0.4.2.2-alpha):
  1399. - Directory authorities now reject relays running all currently
  1400. deprecated release series. The currently supported release series
  1401. are: 0.2.9, 0.3.5, 0.4.0, 0.4.1, and 0.4.2. Closes ticket 31549.
  1402. o Major bugfixes (embedded Tor, backport from 0.4.2.2-alpha):
  1403. - Avoid a possible crash when restarting Tor in embedded mode and
  1404. enabling a different set of publish/subscribe messages. Fixes bug
  1405. 31898; bugfix on 0.4.1.1-alpha.
  1406. o Major bugfixes (relay, backport from 0.4.2.3-alpha):
  1407. - Relays now respect their AccountingMax bandwidth again. When
  1408. relays entered "soft" hibernation (which typically starts when
  1409. we've hit 90% of our AccountingMax), we had stopped checking
  1410. whether we should enter hard hibernation. Soft hibernation refuses
  1411. new connections and new circuits, but the existing circuits can
  1412. continue, meaning that relays could have exceeded their configured
  1413. AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
  1414. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  1415. - Stop ignoring torrc options after an %include directive, when the
  1416. included directory ends with a file that does not contain any
  1417. config options (but does contain comments or whitespace). Fixes
  1418. bug 31408; bugfix on 0.3.1.1-alpha.
  1419. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  1420. - Onion services now always use the exact number of intro points
  1421. configured with the HiddenServiceNumIntroductionPoints option (or
  1422. fewer if nodes are excluded). Before, a service could sometimes
  1423. pick more intro points than configured. Fixes bug 31548; bugfix
  1424. on 0.3.2.1-alpha.
  1425. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  1426. - When building on Appveyor and Travis, pass the "-k" flag to make,
  1427. so that we are informed of all compilation failures, not just the
  1428. first one or two. Closes ticket 31372.
  1429. o Minor features (geoip, backport from 0.4.2.5):
  1430. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  1431. Country database. Closes ticket 32685.
  1432. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  1433. - Avoid spurious errors when Appveyor CI fails before the install step.
  1434. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  1435. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  1436. - Fix a BUG() assertion that occurs within a very small race window
  1437. between when a client intro circuit opens and when its descriptor
  1438. gets cleaned up from the cache. The circuit is now closed early,
  1439. which will trigger a re-fetch of the descriptor and continue the
  1440. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  1441. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  1442. - Avoid trying to read data from closed connections, which can cause
  1443. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  1444. 30344; bugfix on 0.1.1.1-alpha.
  1445. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  1446. - On abort, try harder to flush the output buffers of log messages.
  1447. On some platforms (macOS), log messages could be discarded when
  1448. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  1449. - Report the tor version whenever an assertion fails. Previously, we
  1450. only reported the Tor version on some crashes, and some non-fatal
  1451. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  1452. - When tor aborts due to an error, close log file descriptors before
  1453. aborting. Closing the logs makes some OSes flush log file buffers,
  1454. rather than deleting buffered log lines. Fixes bug 31594; bugfix
  1455. on 0.2.5.2-alpha.
  1456. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  1457. - Add a missing check for HAVE_PTHREAD_H, because the backtrace code
  1458. uses mutexes. Fixes bug 31614; bugfix on 0.2.5.2-alpha.
  1459. - Disable backtrace signal handlers when shutting down tor. Fixes
  1460. bug 31614; bugfix on 0.2.5.2-alpha.
  1461. - Rate-limit our the logging message about the obsolete .exit
  1462. notation. Previously, there was no limit on this warning, which
  1463. could potentially be triggered many times by a hostile website.
  1464. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  1465. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  1466. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  1467. cell on a connection using the obsolete v1 link protocol. Log a
  1468. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  1469. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  1470. - Reset the periodic events' "enabled" flag when Tor is shut down
  1471. cleanly. Previously, this flag was left on, which caused periodic
  1472. events not to be re-enabled when Tor was relaunched in-process
  1473. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  1474. on 0.3.3.1-alpha.
  1475. o Minor bugfixes (multithreading, backport from 0.4.2.2-alpha):
  1476. - Avoid some undefined behaviour when freeing mutexes. Fixes bug
  1477. 31736; bugfix on 0.0.7.
  1478. o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
  1479. - Remove overly strict assertions that triggered when a pluggable
  1480. transport failed to launch. Fixes bug 31091; bugfix
  1481. on 0.4.0.1-alpha.
  1482. - Remove an assertion in the Unix process backend. This assertion
  1483. would trigger when we failed to find the executable for a child
  1484. process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
  1485. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  1486. - Avoid crashing when starting with a corrupt keys directory where
  1487. the old ntor key and the new ntor key are identical. Fixes bug
  1488. 30916; bugfix on 0.2.4.8-alpha.
  1489. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  1490. - When testing port rebinding, don't busy-wait for tor to log.
  1491. Instead, actually sleep for a short time before polling again.
  1492. Also improve the formatting of control commands and log messages.
  1493. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  1494. o Minor bugfixes (tests, SunOS, backport from 0.4.2.2-alpha):
  1495. - Avoid a map_anon_nofork test failure due to a signed/unsigned
  1496. integer comparison. Fixes bug 31897; bugfix on 0.4.1.1-alpha.
  1497. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  1498. - Log bugs about the TLS read buffer's length only once, rather than
  1499. filling the logs with similar warnings. Fixes bug 31939; bugfix
  1500. on 0.3.0.4-rc.
  1501. o Documentation (backport from 0.4.2.2-alpha):
  1502. - Explain why we can't destroy the backtrace buffer mutex. Explain
  1503. why we don't need to destroy the log mutex. Closes ticket 31736.
  1504. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  1505. - Disable all but one Travis CI macOS build, to mitigate slow
  1506. scheduling of Travis macOS jobs. Closes ticket 32177.
  1507. - Run the chutney IPv6 networks as part of Travis CI. Closes
  1508. ticket 30860.
  1509. - Simplify the Travis CI build matrix, and optimise for build time.
  1510. Closes ticket 31859.
  1511. - Use Windows Server 2019 instead of Windows Server 2016 in our
  1512. Appveyor builds. Closes ticket 32086.
  1513. o Testing (continuous integration, backport from 0.4.2.4-rc):
  1514. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  1515. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  1516. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  1517. until we can fix some Bionic permissions issues (see ticket
  1518. 32240). Related to ticket 31919.
  1519. - Install the mingw OpenSSL package in Appveyor. This makes sure
  1520. that the OpenSSL headers and libraries match in Tor's Appveyor
  1521. builds. (This bug was triggered by an Appveyor image update.)
  1522. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  1523. o Testing (continuous integration, backport from 0.4.2.5):
  1524. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  1525. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  1526. Build some jobs with -std=gnu99, and some jobs without.
  1527. Closes ticket 32500.
  1528. Changes in version 0.4.0.6 - 2019-12-09
  1529. This is the second stable release in the 0.4.0.x series. This release
  1530. backports several bugfixes to improve stability and correctness. Anyone
  1531. experiencing build problems or crashes with 0.4.0.5, including all relays
  1532. relying on AccountingMax, should upgrade.
  1533. Note that, per our support policy, support for the 0.4.0.x series will end
  1534. on 2 Feb 2020. Anyone still running 0.4.0.x should plan to upgrade to the
  1535. latest stable release, or downgrade to 0.3.5.x, which will get long-term
  1536. support until 1 Feb 2022.
  1537. o Directory authority changes (backport from 0.4.1.5):
  1538. - The directory authority "dizum" has a new IP address. Closes
  1539. ticket 31406.
  1540. o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
  1541. - Consider our directory information to have changed when our list
  1542. of bridges changes. Previously, Tor would not re-compute the
  1543. status of its directory information when bridges changed, and
  1544. therefore would not realize that it was no longer able to build
  1545. circuits. Fixes part of bug 29875.
  1546. - Do not count previously configured working bridges towards our
  1547. total of working bridges. Previously, when Tor's list of bridges
  1548. changed, it would think that the old bridges were still usable,
  1549. and delay fetching router descriptors for the new ones. Fixes part
  1550. of bug 29875; bugfix on 0.3.0.1-alpha.
  1551. o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
  1552. - When considering upgrading circuits from "waiting for guard" to
  1553. "open", always ignore circuits that are marked for close. Otherwise,
  1554. we can end up in the situation where a subsystem is notified that
  1555. a closing circuit has just opened, leading to undesirable
  1556. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  1557. o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
  1558. - Properly clean up the introduction point map when circuits change
  1559. purpose from onion service circuits to pathbias, measurement, or
  1560. other circuit types. This should fix some service-side instances
  1561. of introduction point failure. Fixes bug 29034; bugfix
  1562. on 0.3.2.1-alpha.
  1563. o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
  1564. - Fix an unreachable bug in which an introduction point could try to
  1565. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  1566. to encode, leading the relay to assert(). We've consolidated the
  1567. ABI values into Trunnel now. Fixes bug 30454; bugfix
  1568. on 0.3.0.1-alpha.
  1569. - Clients can now handle unknown status codes from INTRODUCE_ACK
  1570. cells. (The NACK behavior will stay the same.) This will allow us
  1571. to extend status codes in the future without breaking the normal
  1572. client behavior. Fixes another part of bug 30454; bugfix
  1573. on 0.3.0.1-alpha.
  1574. o Major bugfixes (relay, backport from 0.4.2.3-alpha):
  1575. - Relays now respect their AccountingMax bandwidth again. When
  1576. relays entered "soft" hibernation (which typically starts when
  1577. we've hit 90% of our AccountingMax), we had stopped checking
  1578. whether we should enter hard hibernation. Soft hibernation refuses
  1579. new connections and new circuits, but the existing circuits can
  1580. continue, meaning that relays could have exceeded their configured
  1581. AccountingMax. Fixes bug 32108; bugfix on 0.4.0.1-alpha.
  1582. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  1583. - Stop ignoring torrc options after an %include directive, when the
  1584. included directory ends with a file that does not contain any
  1585. config options (but does contain comments or whitespace). Fixes
  1586. bug 31408; bugfix on 0.3.1.1-alpha.
  1587. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  1588. - Onion services now always use the exact number of intro points
  1589. configured with the HiddenServiceNumIntroductionPoints option (or
  1590. fewer if nodes are excluded). Before, a service could sometimes
  1591. pick more intro points than configured. Fixes bug 31548; bugfix
  1592. on 0.3.2.1-alpha.
  1593. o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
  1594. - Add a "--list-modules" command to print a list of which compile-
  1595. time modules are enabled. Closes ticket 30452.
  1596. o Minor features (continuous integration, backport from 0.4.1.1-alpha):
  1597. - Remove sudo configuration lines from .travis.yml as they are no
  1598. longer needed with current Travis build environment. Resolves
  1599. issue 30213.
  1600. o Minor features (continuous integration, backport from 0.4.1.4-rc):
  1601. - Our Travis configuration now uses Chutney to run some network
  1602. integration tests automatically. Closes ticket 29280.
  1603. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  1604. - When building on Appveyor and Travis, pass the "-k" flag to make,
  1605. so that we are informed of all compilation failures, not just the
  1606. first one or two. Closes ticket 31372.
  1607. o Minor features (fallback directory list, backport from 0.4.1.4-rc):
  1608. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  1609. in December 2018 (of which ~122 were still functional), with a
  1610. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  1611. in June 2019. Closes ticket 28795.
  1612. o Minor features (geoip, backport from 0.4.2.5):
  1613. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  1614. Country database. Closes ticket 32685.
  1615. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  1616. - Change "make test-stem" so it only runs the stem tests that use
  1617. tor. This change makes test-stem faster and more reliable. Closes
  1618. ticket 31554.
  1619. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  1620. - Avoid spurious errors when Appveyor CI fails before the install step.
  1621. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  1622. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  1623. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  1624. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  1625. o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
  1626. - Fix a logic error that prevented the SessionGroup sub-option from
  1627. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  1628. o Minor bugfixes (circuit padding, backport from 0.4.1.4-rc):
  1629. - On relays, properly check that a padding machine is absent before
  1630. logging a warning about it being absent. Fixes bug 30649; bugfix
  1631. on 0.4.0.1-alpha.
  1632. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  1633. - Fix a BUG() assertion that occurs within a very small race window
  1634. between when a client intro circuit opens and when its descriptor
  1635. gets cleaned up from the cache. The circuit is now closed early,
  1636. which will trigger a re-fetch of the descriptor and continue the
  1637. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  1638. o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
  1639. - Don't believe clock skew results from NETINFO cells that appear to
  1640. arrive before we sent the VERSIONS cells they are responding to.
  1641. Previously, we would accept them up to 3 minutes "in the past".
  1642. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  1643. o Minor bugfixes (compilation warning, backport from 0.4.1.5):
  1644. - Fix a compilation warning on Windows about casting a function
  1645. pointer for GetTickCount64(). Fixes bug 31374; bugfix
  1646. on 0.2.9.1-alpha.
  1647. o Minor bugfixes (compilation, backport from 0.4.1.5):
  1648. - Avoid using labs() on time_t, which can cause compilation warnings
  1649. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  1650. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  1651. - Suppress spurious float-conversion warnings from GCC when calling
  1652. floating-point classifier functions on FreeBSD. Fixes part of bug
  1653. 31687; bugfix on 0.3.1.5-alpha.
  1654. o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
  1655. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  1656. due to missing declarations of abort(), and prevent other such
  1657. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  1658. o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
  1659. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  1660. want authentication along with configured (but unused!)
  1661. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  1662. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  1663. - Avoid trying to read data from closed connections, which can cause
  1664. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  1665. 30344; bugfix on 0.1.1.1-alpha.
  1666. o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
  1667. - Allow the test-stem job to fail in Travis, because it sometimes
  1668. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  1669. - Skip test_rebind on macOS in Travis, because it is unreliable on
  1670. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  1671. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  1672. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  1673. o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
  1674. - Avoid a set of possible code paths that could try to use freed
  1675. memory in routerlist_free() while Tor was exiting. Fixes bug
  1676. 31003; bugfix on 0.1.2.2-alpha.
  1677. o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
  1678. - Stop crashing after parsing an unknown descriptor purpose
  1679. annotation. We think this bug can only be triggered by modifying a
  1680. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  1681. o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
  1682. - Move the "bandwidth-file-headers" line in directory authority
  1683. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  1684. on 0.3.5.1-alpha.
  1685. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  1686. - On abort, try harder to flush the output buffers of log messages.
  1687. On some platforms (macOS), log messages could be discarded when
  1688. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  1689. - Report the tor version whenever an assertion fails. Previously, we
  1690. only reported the Tor version on some crashes, and some non-fatal
  1691. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  1692. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  1693. - When extracting an IPv6 address from a PF-based proxy, verify that
  1694. we are actually configured to receive an IPv6 address, and log an
  1695. internal error if not. Fixes part of bug 31687; bugfix
  1696. on 0.2.3.4-alpha.
  1697. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  1698. - When tor is missing descriptors for some primary entry guards,
  1699. make the log message less alarming. It's normal for descriptors to
  1700. expire, as long as tor fetches new ones soon after. Fixes bug
  1701. 31657; bugfix on 0.3.3.1-alpha.
  1702. o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
  1703. - Do not log a warning when running with an OpenSSL version other
  1704. than the one Tor was compiled with, if the two versions should be
  1705. compatible. Previously, we would warn whenever the version was
  1706. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  1707. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  1708. - Change log level of message "Hash of session info was not as
  1709. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  1710. on 0.1.1.10-alpha.
  1711. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  1712. - Rate-limit our the logging message about the obsolete .exit
  1713. notation. Previously, there was no limit on this warning, which
  1714. could potentially be triggered many times by a hostile website.
  1715. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  1716. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  1717. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  1718. cell on a connection using the obsolete v1 link protocol. Log a
  1719. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  1720. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  1721. - Reset the periodic events' "enabled" flag when Tor is shut down
  1722. cleanly. Previously, this flag was left on, which caused periodic
  1723. events not to be re-enabled when Tor was relaunched in-process
  1724. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  1725. on 0.3.3.1-alpha.
  1726. o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
  1727. - Avoid a minor memory leak that could occur on relays when failing
  1728. to create a "keys" directory. Fixes bug 30148; bugfix
  1729. on 0.3.3.1-alpha.
  1730. o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
  1731. - Fix a trivial memory leak when parsing an invalid value
  1732. from a download schedule in the configuration. Fixes bug
  1733. 30894; bugfix on 0.3.4.1-alpha.
  1734. o Minor bugfixes (NetBSD, backport from 0.4.1.2-alpha):
  1735. - Fix usage of minherit() on NetBSD and other platforms that define
  1736. MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
  1737. 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
  1738. o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
  1739. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  1740. implemenation) when failing to load an onion service client
  1741. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  1742. o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
  1743. - When purging the DNS cache because of an out-of-memory condition,
  1744. try purging just the older entries at first. Previously, we would
  1745. always purge the whole thing. Fixes bug 29617; bugfix
  1746. on 0.3.5.1-alpha.
  1747. o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
  1748. - Avoid crashing in our tor_vasprintf() implementation on systems
  1749. that define neither vasprintf() nor _vscprintf(). (This bug has
  1750. been here long enough that we question whether people are running
  1751. Tor on such systems, but we're applying the fix out of caution.)
  1752. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  1753. Tobias Stoeckmann.
  1754. o Minor bugfixes (process management, backport from 0.4.2.3-alpha):
  1755. - Remove overly strict assertions that triggered when a pluggable
  1756. transport failed to launch. Fixes bug 31091; bugfix
  1757. on 0.4.0.1-alpha.
  1758. - Remove an assertion in the Unix process backend. This assertion
  1759. would trigger when we failed to find the executable for a child
  1760. process. Fixes bug 31810; bugfix on 0.4.0.1-alpha.
  1761. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  1762. - Avoid crashing when starting with a corrupt keys directory where
  1763. the old ntor key and the new ntor key are identical. Fixes bug
  1764. 30916; bugfix on 0.2.4.8-alpha.
  1765. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  1766. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  1767. 31463; bugfix on 0.3.5.4-alpha.
  1768. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  1769. - When testing port rebinding, don't busy-wait for tor to log.
  1770. Instead, actually sleep for a short time before polling again.
  1771. Also improve the formatting of control commands and log messages.
  1772. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  1773. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  1774. - Log bugs about the TLS read buffer's length only once, rather than
  1775. filling the logs with similar warnings. Fixes bug 31939; bugfix
  1776. on 0.3.0.4-rc.
  1777. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  1778. - Always retry v2 single onion service intro and rend circuits with
  1779. a 3-hop path. Previously, v2 single onion services used a 3-hop
  1780. path when rendezvous circuits were retried after a remote or
  1781. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  1782. 23818; bugfix on 0.2.9.3-alpha.
  1783. - Make v3 single onion services fall back to a 3-hop intro, when all
  1784. intro points are unreachable via a 1-hop path. Previously, v3
  1785. single onion services failed when all intro nodes were unreachable
  1786. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  1787. o Documentation (backport from 0.4.2.1-alpha):
  1788. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  1789. notice.html so that operators no longer have to host it
  1790. themselves. Closes ticket 31089.
  1791. o Testing (backport from 0.4.1.2-alpha):
  1792. - Specify torrc paths (with empty files) when launching tor in
  1793. integration tests; refrain from reading user and system torrcs.
  1794. Resolves issue 29702.
  1795. o Testing (continuous integration, backport from 0.4.1.1-alpha):
  1796. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  1797. o Testing (continuous integration, backport from 0.4.1.5):
  1798. - In Travis, make stem log a controller trace to the console, and
  1799. tail stem's tor log after failure. Closes ticket 30591.
  1800. - In Travis, only run the stem tests that use a tor binary. Closes
  1801. ticket 30694.
  1802. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  1803. - Disable all but one Travis CI macOS build, to mitigate slow
  1804. scheduling of Travis macOS jobs. Closes ticket 32177.
  1805. - Run the chutney IPv6 networks as part of Travis CI. Closes
  1806. ticket 30860.
  1807. - Simplify the Travis CI build matrix, and optimise for build time.
  1808. Closes ticket 31859.
  1809. - Use Windows Server 2019 instead of Windows Server 2016 in our
  1810. Appveyor builds. Closes ticket 32086.
  1811. o Testing (continuous integration, backport from 0.4.2.4-rc):
  1812. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  1813. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  1814. until we can fix some Bionic permissions issues (see ticket
  1815. 32240). Related to ticket 31919.
  1816. - Install the mingw OpenSSL package in Appveyor. This makes sure
  1817. that the OpenSSL headers and libraries match in Tor's Appveyor
  1818. builds. (This bug was triggered by an Appveyor image update.)
  1819. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  1820. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  1821. o Testing (continuous integration, backport from 0.4.2.5):
  1822. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  1823. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  1824. Build some jobs with -std=gnu99, and some jobs without.
  1825. Closes ticket 32500.
  1826. Changes in version 0.3.5.9 - 2019-12-09
  1827. Tor 0.3.5.9 backports serveral fixes from later releases, including
  1828. several that affect bridge users, relay stability, onion services,
  1829. and much more.
  1830. o Directory authority changes (backport from 0.4.1.5):
  1831. - The directory authority "dizum" has a new IP address. Closes
  1832. ticket 31406.
  1833. o Major bugfixes (bridges, backport from 0.4.1.2-alpha):
  1834. - Consider our directory information to have changed when our list
  1835. of bridges changes. Previously, Tor would not re-compute the
  1836. status of its directory information when bridges changed, and
  1837. therefore would not realize that it was no longer able to build
  1838. circuits. Fixes part of bug 29875.
  1839. - Do not count previously configured working bridges towards our
  1840. total of working bridges. Previously, when Tor's list of bridges
  1841. changed, it would think that the old bridges were still usable,
  1842. and delay fetching router descriptors for the new ones. Fixes part
  1843. of bug 29875; bugfix on 0.3.0.1-alpha.
  1844. o Major bugfixes (circuit build, guard, backport from 0.4.1.4-rc):
  1845. - When considering upgrading circuits from "waiting for guard" to
  1846. "open", always ignore circuits that are marked for close. Otherwise,
  1847. we can end up in the situation where a subsystem is notified that
  1848. a closing circuit has just opened, leading to undesirable
  1849. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  1850. o Major bugfixes (NSS, relay, backport from 0.4.0.4-rc):
  1851. - When running with NSS, disable TLS 1.2 ciphersuites that use
  1852. SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
  1853. these ciphersuites don't work -- which caused relays to fail to
  1854. handshake with one another when these ciphersuites were enabled.
  1855. Fixes bug 29241; bugfix on 0.3.5.1-alpha.
  1856. o Major bugfixes (Onion service reachability, backport from 0.4.1.3-alpha):
  1857. - Properly clean up the introduction point map when circuits change
  1858. purpose from onion service circuits to pathbias, measurement, or
  1859. other circuit types. This should fix some service-side instances
  1860. of introduction point failure. Fixes bug 29034; bugfix
  1861. on 0.3.2.1-alpha.
  1862. o Major bugfixes (onion service v3, backport from 0.4.1.1-alpha):
  1863. - Fix an unreachable bug in which an introduction point could try to
  1864. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  1865. to encode, leading the relay to assert(). We've consolidated the
  1866. ABI values into Trunnel now. Fixes bug 30454; bugfix
  1867. on 0.3.0.1-alpha.
  1868. - Clients can now handle unknown status codes from INTRODUCE_ACK
  1869. cells. (The NACK behavior will stay the same.) This will allow us
  1870. to extend status codes in the future without breaking the normal
  1871. client behavior. Fixes another part of bug 30454; bugfix
  1872. on 0.3.0.1-alpha.
  1873. o Major bugfixes (torrc parsing, backport from 0.4.2.2-alpha):
  1874. - Stop ignoring torrc options after an %include directive, when the
  1875. included directory ends with a file that does not contain any
  1876. config options (but does contain comments or whitespace). Fixes
  1877. bug 31408; bugfix on 0.3.1.1-alpha.
  1878. o Major bugfixes (v3 onion services, backport from 0.4.2.3-alpha):
  1879. - Onion services now always use the exact number of intro points
  1880. configured with the HiddenServiceNumIntroductionPoints option (or
  1881. fewer if nodes are excluded). Before, a service could sometimes
  1882. pick more intro points than configured. Fixes bug 31548; bugfix
  1883. on 0.3.2.1-alpha.
  1884. o Minor features (address selection, backport from 0.4.0.3-alpha):
  1885. - Treat the subnet 100.64.0.0/10 as public for some purposes;
  1886. private for others. This subnet is the RFC 6598 (Carrier Grade
  1887. NAT) IP range, and is deployed by many ISPs as an alternative to
  1888. RFC 1918 that does not break existing internal networks. Tor now
  1889. blocks SOCKS and control ports on these addresses and warns users
  1890. if client ports or ExtORPorts are listening on a RFC 6598 address.
  1891. Closes ticket 28525. Patch by Neel Chauhan.
  1892. o Minor features (bandwidth authority, backport from 0.4.0.4-rc):
  1893. - Make bandwidth authorities ignore relays that are reported in the
  1894. bandwidth file with the flag "vote=0". This change allows us to
  1895. report unmeasured relays for diagnostic reasons without including
  1896. their bandwidth in the bandwidth authorities' vote. Closes
  1897. ticket 29806.
  1898. o Minor features (compile-time modules, backport from version 0.4.1.1-alpha):
  1899. - Add a "--list-modules" command to print a list of which compile-
  1900. time modules are enabled. Closes ticket 30452.
  1901. o Minor features (continuous integration, backport from 0.4.0.4-rc):
  1902. - On Travis Rust builds, cleanup Rust registry and refrain from
  1903. caching the "target/" directory to speed up builds. Resolves
  1904. issue 29962.
  1905. o Minor features (continuous integration, backport from 0.4.0.5):
  1906. - In Travis, tell timelimit to use stem's backtrace signals, and
  1907. launch python directly from timelimit, so python receives the
  1908. signals from timelimit, rather than make. Closes ticket 30117.
  1909. o Minor features (continuous integration, backport from 0.4.1.1-alpha):
  1910. - Remove sudo configuration lines from .travis.yml as they are no
  1911. longer needed with current Travis build environment. Resolves
  1912. issue 30213.
  1913. o Minor features (continuous integration, backport from 0.4.1.4-rc):
  1914. - Our Travis configuration now uses Chutney to run some network
  1915. integration tests automatically. Closes ticket 29280.
  1916. o Minor features (continuous integration, backport from 0.4.2.2-alpha):
  1917. - When building on Appveyor and Travis, pass the "-k" flag to make,
  1918. so that we are informed of all compilation failures, not just the
  1919. first one or two. Closes ticket 31372.
  1920. o Minor features (fallback directory list, backport from 0.4.1.4-rc):
  1921. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  1922. in December 2018 (of which ~122 were still functional), with a
  1923. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  1924. in June 2019. Closes ticket 28795.
  1925. o Minor features (geoip, backport from 0.4.2.5):
  1926. - Update geoip and geoip6 to the December 3 2019 Maxmind GeoLite2
  1927. Country database. Closes ticket 32685.
  1928. o Minor features (NSS, diagnostic, backport from 0.4.0.4-rc):
  1929. - Try to log an error from NSS (if there is any) and a more useful
  1930. description of our situation if we are using NSS and a call to
  1931. SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
  1932. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  1933. - Change "make test-stem" so it only runs the stem tests that use
  1934. tor. This change makes test-stem faster and more reliable. Closes
  1935. ticket 31554.
  1936. o Minor bugfixes (security, backport from 0.4.0.4-rc):
  1937. - Verify in more places that we are not about to create a buffer
  1938. with more than INT_MAX bytes, to avoid possible OOB access in the
  1939. event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
  1940. fixed by Tobias Stoeckmann.
  1941. - Fix a potential double free bug when reading huge bandwidth files.
  1942. The issue is not exploitable in the current Tor network because
  1943. the vulnerable code is only reached when directory authorities
  1944. read bandwidth files, but bandwidth files come from a trusted
  1945. source (usually the authorities themselves). Furthermore, the
  1946. issue is only exploitable in rare (non-POSIX) 32-bit architectures,
  1947. which are not used by any of the current authorities. Fixes bug
  1948. 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
  1949. Tobias Stoeckmann.
  1950. o Minor bugfix (continuous integration, backport from 0.4.0.4-rc):
  1951. - Reset coverage state on disk after Travis CI has finished. This
  1952. should prevent future coverage merge errors from causing the test
  1953. suite for the "process" subsystem to fail. The process subsystem
  1954. was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
  1955. on 0.2.9.15.
  1956. - Terminate test-stem if it takes more than 9.5 minutes to run.
  1957. (Travis terminates the job after 10 minutes of no output.)
  1958. Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
  1959. o Minor bugfixes (Appveyor CI, backport from 0.4.2.2-alpha):
  1960. - Avoid spurious errors when Appveyor CI fails before the install step.
  1961. Fixes bug 31884; bugfix on 0.3.4.2-alpha.
  1962. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  1963. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  1964. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  1965. o Minor bugfixes (C correctness, backport from 0.4.0.4-rc):
  1966. - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
  1967. 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
  1968. CID 1444119.
  1969. o Minor bugfixes (circuit isolation, backport from 0.4.1.3-alpha):
  1970. - Fix a logic error that prevented the SessionGroup sub-option from
  1971. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  1972. o Minor bugfixes (client, onion service v3, backport from 0.4.2.4-rc):
  1973. - Fix a BUG() assertion that occurs within a very small race window
  1974. between when a client intro circuit opens and when its descriptor
  1975. gets cleaned up from the cache. The circuit is now closed early,
  1976. which will trigger a re-fetch of the descriptor and continue the
  1977. connection. Fixes bug 28970; bugfix on 0.3.2.1-alpha.
  1978. o Minor bugfixes (clock skew detection, backport from 0.4.1.5):
  1979. - Don't believe clock skew results from NETINFO cells that appear to
  1980. arrive before we sent the VERSIONS cells they are responding to.
  1981. Previously, we would accept them up to 3 minutes "in the past".
  1982. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  1983. o Minor bugfixes (compilation warning, backport from 0.4.1.5):
  1984. - Fix a compilation warning on Windows about casting a function
  1985. pointer for GetTickCount64(). Fixes bug 31374; bugfix
  1986. on 0.2.9.1-alpha.
  1987. o Minor bugfixes (compilation, backport from 0.4.0.2-alpha):
  1988. - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
  1989. 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
  1990. o Minor bugfixes (compilation, backport from 0.4.1.5):
  1991. - Avoid using labs() on time_t, which can cause compilation warnings
  1992. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  1993. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  1994. - Suppress spurious float-conversion warnings from GCC when calling
  1995. floating-point classifier functions on FreeBSD. Fixes part of bug
  1996. 31687; bugfix on 0.3.1.5-alpha.
  1997. o Minor bugfixes (compilation, unusual configurations, backport from 0.4.1.1-alpha):
  1998. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  1999. due to missing declarations of abort(), and prevent other such
  2000. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  2001. o Minor bugfixes (configuration, proxies, backport from 0.4.1.2-alpha):
  2002. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  2003. want authentication along with configured (but unused!)
  2004. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  2005. o Minor bugfixes (connections, backport from 0.4.2.3-rc):
  2006. - Avoid trying to read data from closed connections, which can cause
  2007. needless loops in Libevent and infinite loops in Shadow. Fixes bug
  2008. 30344; bugfix on 0.1.1.1-alpha.
  2009. o Minor bugfixes (continuous integration, backport from 0.4.1.3-alpha):
  2010. - Allow the test-stem job to fail in Travis, because it sometimes
  2011. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  2012. - Skip test_rebind on macOS in Travis, because it is unreliable on
  2013. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  2014. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  2015. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  2016. o Minor bugfixes (crash on exit, backport from 0.4.1.4-rc):
  2017. - Avoid a set of possible code paths that could try to use freed
  2018. memory in routerlist_free() while Tor was exiting. Fixes bug
  2019. 31003; bugfix on 0.1.2.2-alpha.
  2020. o Minor bugfixes (directory authorities, backport from 0.4.1.3-alpha):
  2021. - Stop crashing after parsing an unknown descriptor purpose
  2022. annotation. We think this bug can only be triggered by modifying a
  2023. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  2024. o Minor bugfixes (directory authority, backport from 0.4.1.2-alpha):
  2025. - Move the "bandwidth-file-headers" line in directory authority
  2026. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  2027. on 0.3.5.1-alpha.
  2028. o Minor bugfixes (error handling, backport from 0.4.2.1-alpha):
  2029. - On abort, try harder to flush the output buffers of log messages.
  2030. On some platforms (macOS), log messages could be discarded when
  2031. the process terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  2032. - Report the tor version whenever an assertion fails. Previously, we
  2033. only reported the Tor version on some crashes, and some non-fatal
  2034. assertions. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
  2035. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  2036. - When extracting an IPv6 address from a PF-based proxy, verify that
  2037. we are actually configured to receive an IPv6 address, and log an
  2038. internal error if not. Fixes part of bug 31687; bugfix
  2039. on 0.2.3.4-alpha.
  2040. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  2041. - When tor is missing descriptors for some primary entry guards,
  2042. make the log message less alarming. It's normal for descriptors to
  2043. expire, as long as tor fetches new ones soon after. Fixes bug
  2044. 31657; bugfix on 0.3.3.1-alpha.
  2045. o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
  2046. - Avoid logging that we are relaxing a circuit timeout when that
  2047. timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
  2048. o Minor bugfixes (logging, backport from 0.4.0.3-alpha):
  2049. - Correct a misleading error message when IPv4Only or IPv6Only is
  2050. used but the resolved address can not be interpreted as an address
  2051. of the specified IP version. Fixes bug 13221; bugfix on
  2052. 0.2.3.9-alpha. Patch from Kris Katterjohn.
  2053. - Log the correct port number for listening sockets when "auto" is
  2054. used to let Tor pick the port number. Previously, port 0 was
  2055. logged instead of the actual port number. Fixes bug 29144; bugfix
  2056. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  2057. - Stop logging a BUG() warning when Tor is waiting for exit
  2058. descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
  2059. o Minor bugfixes (logging, backport from 0.4.1.1-alpha):
  2060. - Do not log a warning when running with an OpenSSL version other
  2061. than the one Tor was compiled with, if the two versions should be
  2062. compatible. Previously, we would warn whenever the version was
  2063. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  2064. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  2065. - Change log level of message "Hash of session info was not as
  2066. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  2067. on 0.1.1.10-alpha.
  2068. o Minor bugfixes (logging, backport from 0.4.2.2-alpha):
  2069. - Rate-limit our the logging message about the obsolete .exit
  2070. notation. Previously, there was no limit on this warning, which
  2071. could potentially be triggered many times by a hostile website.
  2072. Fixes bug 31466; bugfix on 0.2.2.1-alpha.
  2073. o Minor bugfixes (logging, protocol violations, backport from 0.4.2.2-alpha):
  2074. - Do not log a nonfatal assertion failure when receiving a VERSIONS
  2075. cell on a connection using the obsolete v1 link protocol. Log a
  2076. protocol_warn instead. Fixes bug 31107; bugfix on 0.2.4.4-alpha.
  2077. o Minor bugfixes (mainloop, periodic events, in-process API, backport from 0.4.2.3-alpha):
  2078. - Reset the periodic events' "enabled" flag when Tor is shut down
  2079. cleanly. Previously, this flag was left on, which caused periodic
  2080. events not to be re-enabled when Tor was relaunched in-process
  2081. with tor_api.h after a shutdown. Fixes bug 32058; bugfix
  2082. on 0.3.3.1-alpha.
  2083. o Minor bugfixes (memory leak, backport from 0.4.1.1-alpha):
  2084. - Avoid a minor memory leak that could occur on relays when failing
  2085. to create a "keys" directory. Fixes bug 30148; bugfix
  2086. on 0.3.3.1-alpha.
  2087. o Minor bugfixes (memory leak, backport from 0.4.1.4-rc):
  2088. - Fix a trivial memory leak when parsing an invalid value
  2089. from a download schedule in the configuration. Fixes bug
  2090. 30894; bugfix on 0.3.4.1-alpha.
  2091. o Minor bugfixes (memory management, backport from 0.4.0.3-alpha):
  2092. - Refactor the shared random state's memory management so that it
  2093. actually takes ownership of the shared random value pointers.
  2094. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
  2095. o Minor bugfixes (memory management, testing, backport from 0.4.0.3-alpha):
  2096. - Stop leaking parts of the shared random state in the shared-random
  2097. unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
  2098. o Minor bugfixes (onion services, backport from 0.4.1.1-alpha):
  2099. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  2100. implemenation) when failing to load an onion service client
  2101. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  2102. o Minor bugfixes (out-of-memory handler, backport from 0.4.1.2-alpha):
  2103. - When purging the DNS cache because of an out-of-memory condition,
  2104. try purging just the older entries at first. Previously, we would
  2105. always purge the whole thing. Fixes bug 29617; bugfix
  2106. on 0.3.5.1-alpha.
  2107. o Minor bugfixes (portability, backport from 0.4.1.2-alpha):
  2108. - Avoid crashing in our tor_vasprintf() implementation on systems
  2109. that define neither vasprintf() nor _vscprintf(). (This bug has
  2110. been here long enough that we question whether people are running
  2111. Tor on such systems, but we're applying the fix out of caution.)
  2112. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  2113. Tobias Stoeckmann.
  2114. o Minor bugfixes (relay, backport from 0.4.2.2-alpha):
  2115. - Avoid crashing when starting with a corrupt keys directory where
  2116. the old ntor key and the new ntor key are identical. Fixes bug
  2117. 30916; bugfix on 0.2.4.8-alpha.
  2118. o Minor bugfixes (rust, backport from 0.4.0.5):
  2119. - Abort on panic in all build profiles, instead of potentially
  2120. unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
  2121. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  2122. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  2123. 31463; bugfix on 0.3.5.4-alpha.
  2124. o Minor bugfixes (single onion services, backport from 0.4.0.3-alpha):
  2125. - Allow connections to single onion services to remain idle without
  2126. being disconnected. Previously, relays acting as rendezvous points
  2127. for single onion services were mistakenly closing idle rendezvous
  2128. circuits after 60 seconds, thinking that they were unused
  2129. directory-fetching circuits that had served their purpose. Fixes
  2130. bug 29665; bugfix on 0.2.1.26.
  2131. o Minor bugfixes (stats, backport from 0.4.0.3-alpha):
  2132. - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
  2133. relay and bridge extra-info documents. Fixes bug 29017; bugfix
  2134. on 0.3.1.1-alpha.
  2135. o Minor bugfixes (testing, backport from 0.4.0.3-alpha):
  2136. - Downgrade some LOG_ERR messages in the address/* tests to
  2137. warnings. The LOG_ERR messages were occurring when we had no
  2138. configured network. We were failing the unit tests, because we
  2139. backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
  2140. 29530; bugfix on 0.3.5.8.
  2141. - Fix our gcov wrapper script to look for object files at the
  2142. correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
  2143. o Minor bugfixes (testing, backport from 0.4.0.4-rc):
  2144. - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
  2145. recent test-network.sh to use new chutney features in CI. Fixes
  2146. bug 29703; bugfix on 0.2.9.1-alpha.
  2147. - Fix a test failure on Windows caused by an unexpected "BUG"
  2148. warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
  2149. on 0.2.9.3-alpha.
  2150. o Minor bugfixes (testing, backport from 0.4.2.3-alpha):
  2151. - When testing port rebinding, don't busy-wait for tor to log.
  2152. Instead, actually sleep for a short time before polling again.
  2153. Also improve the formatting of control commands and log messages.
  2154. Fixes bug 31837; bugfix on 0.3.5.1-alpha.
  2155. o Minor bugfixes (TLS protocol, backport form 0.4.0.4-rc):
  2156. - When classifying a client's selection of TLS ciphers, if the
  2157. client ciphers are not yet available, do not cache the result.
  2158. Previously, we had cached the unavailability of the cipher list
  2159. and never looked again, which in turn led us to assume that the
  2160. client only supported the ancient V1 link protocol. This, in turn,
  2161. was causing Stem integration tests to stall in some cases. Fixes
  2162. bug 30021; bugfix on 0.2.4.8-alpha.
  2163. o Minor bugfixes (tls, logging, backport from 0.4.2.3-alpha):
  2164. - Log bugs about the TLS read buffer's length only once, rather than
  2165. filling the logs with similar warnings. Fixes bug 31939; bugfix
  2166. on 0.3.0.4-rc.
  2167. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  2168. - Always retry v2 single onion service intro and rend circuits with
  2169. a 3-hop path. Previously, v2 single onion services used a 3-hop
  2170. path when rendezvous circuits were retried after a remote or
  2171. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  2172. 23818; bugfix on 0.2.9.3-alpha.
  2173. - Make v3 single onion services fall back to a 3-hop intro, when all
  2174. intro points are unreachable via a 1-hop path. Previously, v3
  2175. single onion services failed when all intro nodes were unreachable
  2176. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  2177. o Minor bugfixes (Windows, CI, backport from 0.4.0.3-alpha):
  2178. - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
  2179. Windows Server 2012 R2 job. The remaining 2 jobs still provide
  2180. coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
  2181. fast_finish, so failed jobs terminate the build immediately. Fixes
  2182. bug 29601; bugfix on 0.3.5.4-alpha.
  2183. o Documentation (backport from 0.4.2.1-alpha):
  2184. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  2185. notice.html so that operators no longer have to host it
  2186. themselves. Closes ticket 31089.
  2187. o Testing (backport from 0.4.1.2-alpha):
  2188. - Specify torrc paths (with empty files) when launching tor in
  2189. integration tests; refrain from reading user and system torrcs.
  2190. Resolves issue 29702.
  2191. o Testing (continuous integration, backport from 0.4.1.1-alpha):
  2192. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  2193. o Testing (continuous integration, backport from 0.4.1.5):
  2194. - In Travis, make stem log a controller trace to the console, and
  2195. tail stem's tor log after failure. Closes ticket 30591.
  2196. - In Travis, only run the stem tests that use a tor binary. Closes
  2197. ticket 30694.
  2198. o Testing (continuous integration, backport from 0.4.2.3-alpha):
  2199. - Disable all but one Travis CI macOS build, to mitigate slow
  2200. scheduling of Travis macOS jobs. Closes ticket 32177.
  2201. - Run the chutney IPv6 networks as part of Travis CI. Closes
  2202. ticket 30860.
  2203. - Simplify the Travis CI build matrix, and optimise for build time.
  2204. Closes ticket 31859.
  2205. - Use Windows Server 2019 instead of Windows Server 2016 in our
  2206. Appveyor builds. Closes ticket 32086.
  2207. o Testing (continuous integration, backport from 0.4.2.4-rc):
  2208. - Use Ubuntu Bionic images for our Travis CI builds, so we can get a
  2209. recent version of coccinelle. But leave chutney on Ubuntu Trusty,
  2210. until we can fix some Bionic permissions issues (see ticket
  2211. 32240). Related to ticket 31919.
  2212. - Install the mingw OpenSSL package in Appveyor. This makes sure
  2213. that the OpenSSL headers and libraries match in Tor's Appveyor
  2214. builds. (This bug was triggered by an Appveyor image update.)
  2215. Fixes bug 32449; bugfix on 0.3.5.6-rc.
  2216. - In Travis, use Xcode 11.2 on macOS 10.14. Closes ticket 32241.
  2217. o Testing (continuous integration, backport from 0.4.2.5):
  2218. - Require C99 standards-conforming code in Travis CI, but allow GNU gcc
  2219. extensions. Also activates clang's -Wtypedef-redefinition warnings.
  2220. Build some jobs with -std=gnu99, and some jobs without.
  2221. Closes ticket 32500.
  2222. Changes in version 0.4.1.6 - 2019-09-19
  2223. This release backports several bugfixes to improve stability and
  2224. correctness. Anyone experiencing build problems or crashes with 0.4.1.5,
  2225. or experiencing reliability issues with single onion services, should
  2226. upgrade.
  2227. o Major bugfixes (crash, Linux, Android, backport from 0.4.2.1-alpha):
  2228. - Tolerate systems (including some Android installations) where
  2229. madvise and MADV_DONTDUMP are available at build-time, but not at
  2230. run time. Previously, these systems would notice a failed syscall
  2231. and abort. Fixes bug 31570; bugfix on 0.4.1.1-alpha.
  2232. - Tolerate systems (including some Linux installations) where
  2233. madvise and/or MADV_DONTFORK are available at build-time, but not
  2234. at run time. Previously, these systems would notice a failed
  2235. syscall and abort. Fixes bug 31696; bugfix on 0.4.1.1-alpha.
  2236. o Minor features (stem tests, backport from 0.4.2.1-alpha):
  2237. - Change "make test-stem" so it only runs the stem tests that use
  2238. tor. This change makes test-stem faster and more reliable. Closes
  2239. ticket 31554.
  2240. o Minor bugfixes (build system, backport form 0.4.2.1-alpha):
  2241. - Do not include the deprecated <sys/sysctl.h> on Linux or Windows
  2242. systems. Fixes bug 31673; bugfix on 0.2.5.4-alpha.
  2243. o Minor bugfixes (compilation, backport from 0.4.2.1-alpha):
  2244. - Add more stub functions to fix compilation on Android with link-
  2245. time optimization when --disable-module-dirauth is used.
  2246. Previously, these compilation settings would make the compiler
  2247. look for functions that didn't exist. Fixes bug 31552; bugfix
  2248. on 0.4.1.1-alpha.
  2249. - Suppress spurious float-conversion warnings from GCC when calling
  2250. floating-point classifier functions on FreeBSD. Fixes part of bug
  2251. 31687; bugfix on 0.3.1.5-alpha.
  2252. o Minor bugfixes (controller protocol):
  2253. - Fix the MAPADDRESS controller command to accept one or more
  2254. arguments. Previously, it required two or more arguments, and ignored
  2255. the first. Fixes bug 31772; bugfix on 0.4.1.1-alpha.
  2256. o Minor bugfixes (FreeBSD, PF-based proxy, IPv6, backport from 0.4.2.1-alpha):
  2257. - When extracting an IPv6 address from a PF-based proxy, verify that
  2258. we are actually configured to receive an IPv6 address, and log an
  2259. internal error if not. Fixes part of bug 31687; bugfix
  2260. on 0.2.3.4-alpha.
  2261. o Minor bugfixes (guards, backport from 0.4.2.1-alpha):
  2262. - When tor is missing descriptors for some primary entry guards,
  2263. make the log message less alarming. It's normal for descriptors to
  2264. expire, as long as tor fetches new ones soon after. Fixes bug
  2265. 31657; bugfix on 0.3.3.1-alpha.
  2266. o Minor bugfixes (logging, backport from 0.4.2.1-alpha):
  2267. - Change log level of message "Hash of session info was not as
  2268. expected" to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix
  2269. on 0.1.1.10-alpha.
  2270. o Minor bugfixes (rust, backport from 0.4.2.1-alpha):
  2271. - Correctly exclude a redundant rust build job in Travis. Fixes bug
  2272. 31463; bugfix on 0.3.5.4-alpha.
  2273. o Minor bugfixes (v2 single onion services, backport from 0.4.2.1-alpha):
  2274. - Always retry v2 single onion service intro and rend circuits with
  2275. a 3-hop path. Previously, v2 single onion services used a 3-hop
  2276. path when rendezvous circuits were retried after a remote or
  2277. delayed failure, but a 1-hop path for immediate retries. Fixes bug
  2278. 23818; bugfix on 0.2.9.3-alpha.
  2279. o Minor bugfixes (v3 single onion services, backport from 0.4.2.1-alpha):
  2280. - Always retry v3 single onion service intro and rend circuits with
  2281. a 3-hop path. Previously, v3 single onion services used a 3-hop
  2282. path when rend circuits were retried after a remote or delayed
  2283. failure, but a 1-hop path for immediate retries. Fixes bug 23818;
  2284. bugfix on 0.3.2.1-alpha.
  2285. - Make v3 single onion services fall back to a 3-hop intro, when all
  2286. intro points are unreachable via a 1-hop path. Previously, v3
  2287. single onion services failed when all intro nodes were unreachable
  2288. via a 1-hop path. Fixes bug 23507; bugfix on 0.3.2.1-alpha.
  2289. o Documentation (backport from 0.4.2.1-alpha):
  2290. - Use RFC 2397 data URL scheme to embed an image into tor-exit-
  2291. notice.html so that operators no longer have to host it
  2292. themselves. Closes ticket 31089.
  2293. Changes in version 0.4.1.5 - 2019-08-20
  2294. This is the first stable release in the 0.4.1.x series. This series
  2295. adds experimental circuit-level padding, authenticated SENDME cells to
  2296. defend against certain attacks, and several performance improvements
  2297. to save on CPU consumption. It fixes bugs in bootstrapping and v3
  2298. onion services. It also includes numerous smaller features and
  2299. bugfixes on earlier versions.
  2300. Per our support policy, we will support the 0.4.1.x series for nine
  2301. months, or until three months after the release of a stable 0.4.2.x:
  2302. whichever is longer. If you need longer-term support, please stick
  2303. with 0.3.5.x, which will we plan to support until Feb 2022.
  2304. Below are the changes since 0.4.0.5. For a list of only the changes
  2305. since 0.4.1.4-rc, see the ChangeLog file.
  2306. o Directory authority changes:
  2307. - The directory authority "dizum" has a new IP address. Closes
  2308. ticket 31406.
  2309. o Major features (circuit padding):
  2310. - Onion service clients now add padding cells at the start of their
  2311. INTRODUCE and RENDEZVOUS circuits, to make those circuits' traffic
  2312. look more like general purpose Exit traffic. The overhead for this
  2313. is 2 extra cells in each direction for RENDEZVOUS circuits, and 1
  2314. extra upstream cell and 10 downstream cells for INTRODUCE
  2315. circuits. This feature is only enabled when also supported by the
  2316. circuit's middle node. (Clients may specify fixed middle nodes
  2317. with the MiddleNodes option, and may force-disable this feature
  2318. with the CircuitPadding option.) Closes ticket 28634.
  2319. o Major features (code organization):
  2320. - Tor now includes a generic publish-subscribe message-passing
  2321. subsystem that we can use to organize intermodule dependencies. We
  2322. hope to use this to reduce dependencies between modules that don't
  2323. need to be related, and to generally simplify our codebase. Closes
  2324. ticket 28226.
  2325. o Major features (controller protocol):
  2326. - Controller commands are now parsed using a generalized parsing
  2327. subsystem. Previously, each controller command was responsible for
  2328. parsing its own input, which led to strange inconsistencies.
  2329. Closes ticket 30091.
  2330. o Major features (flow control):
  2331. - Implement authenticated SENDMEs as detailed in proposal 289. A
  2332. SENDME cell now includes the digest of the traffic that it
  2333. acknowledges, so that once an end point receives the SENDME, it
  2334. can confirm the other side's knowledge of the previous cells that
  2335. were sent, and prevent certain types of denial-of-service attacks.
  2336. This behavior is controlled by two new consensus parameters: see
  2337. the proposal for more details. Fixes ticket 26288.
  2338. o Major features (performance):
  2339. - Our node selection algorithm now excludes nodes in linear time.
  2340. Previously, the algorithm was quadratic, which could slow down
  2341. heavily used onion services. Closes ticket 30307.
  2342. o Major features (performance, RNG):
  2343. - Tor now constructs a fast secure pseudorandom number generator for
  2344. each thread, to use when performance is critical. This PRNG is
  2345. based on AES-CTR, using a buffering construction similar to
  2346. libottery and the (newer) OpenBSD arc4random() code. It
  2347. outperforms OpenSSL 1.1.1a's CSPRNG by roughly a factor of 100 for
  2348. small outputs. Although we believe it to be cryptographically
  2349. strong, we are only using it when necessary for performance.
  2350. Implements tickets 29023 and 29536.
  2351. o Major bugfixes (bridges):
  2352. - Consider our directory information to have changed when our list
  2353. of bridges changes. Previously, Tor would not re-compute the
  2354. status of its directory information when bridges changed, and
  2355. therefore would not realize that it was no longer able to build
  2356. circuits. Fixes part of bug 29875.
  2357. - Do not count previously configured working bridges towards our
  2358. total of working bridges. Previously, when Tor's list of bridges
  2359. changed, it would think that the old bridges were still usable,
  2360. and delay fetching router descriptors for the new ones. Fixes part
  2361. of bug 29875; bugfix on 0.3.0.1-alpha.
  2362. o Major bugfixes (circuit build, guard):
  2363. - On relays, properly check that a padding machine is absent before
  2364. logging a warning about it being absent. Fixes bug 30649; bugfix
  2365. on 0.4.0.1-alpha.
  2366. - When considering upgrading circuits from "waiting for guard" to
  2367. "open", always ignore circuits that are marked for close. Otherwise,
  2368. we can end up in the situation where a subsystem is notified that
  2369. a closing circuit has just opened, leading to undesirable
  2370. behavior. Fixes bug 30871; bugfix on 0.3.0.1-alpha.
  2371. o Major bugfixes (onion service reachability):
  2372. - Properly clean up the introduction point map when circuits change
  2373. purpose from onion service circuits to pathbias, measurement, or
  2374. other circuit types. This should fix some service-side instances
  2375. of introduction point failure. Fixes bug 29034; bugfix
  2376. on 0.3.2.1-alpha.
  2377. o Major bugfixes (onion service v3):
  2378. - Fix an unreachable bug in which an introduction point could try to
  2379. send an INTRODUCE_ACK with a status code that Trunnel would refuse
  2380. to encode, leading the relay to assert(). We've consolidated the
  2381. ABI values into Trunnel now. Fixes bug 30454; bugfix
  2382. on 0.3.0.1-alpha.
  2383. - Clients can now handle unknown status codes from INTRODUCE_ACK
  2384. cells. (The NACK behavior will stay the same.) This will allow us
  2385. to extend status codes in the future without breaking the normal
  2386. client behavior. Fixes another part of bug 30454; bugfix
  2387. on 0.3.0.1-alpha.
  2388. o Minor features (authenticated SENDME):
  2389. - Ensure that there is enough randomness on every circuit to prevent
  2390. an attacker from successfully predicting the hashes they will need
  2391. to include in authenticated SENDME cells. At a random interval, if
  2392. we have not sent randomness already, we now leave some extra space
  2393. at the end of a cell that we can fill with random bytes. Closes
  2394. ticket 26846.
  2395. o Minor features (circuit padding logging):
  2396. - Demote noisy client-side warn logs about circuit padding to protocol
  2397. warnings. Add additional log messages and circuit ID fields to help
  2398. with bug 30992 and any other future issues.
  2399. o Minor features (circuit padding):
  2400. - We now use a fast PRNG when scheduling circuit padding. Part of
  2401. ticket 28636.
  2402. - Allow the padding machine designer to pick the edges of their
  2403. histogram instead of trying to compute them automatically using an
  2404. exponential formula. Resolves some undefined behavior in the case
  2405. of small histograms and allows greater flexibility on machine
  2406. design. Closes ticket 29298; bugfix on 0.4.0.1-alpha.
  2407. - Allow circuit padding machines to hold a circuit open until they
  2408. are done padding it. Closes ticket 28780.
  2409. o Minor features (compile-time modules):
  2410. - Add a "--list-modules" command to print a list of which compile-
  2411. time modules are enabled. Closes ticket 30452.
  2412. o Minor features (continuous integration):
  2413. - Our Travis configuration now uses Chutney to run some network
  2414. integration tests automatically. Closes ticket 29280.
  2415. - When running coverage builds on Travis, we now set
  2416. TOR_TEST_RNG_SEED, to avoid RNG-based coverage differences. Part
  2417. of ticket 28878.
  2418. - Remove sudo configuration lines from .travis.yml as they are no
  2419. longer needed with current Travis build environment. Resolves
  2420. issue 30213.
  2421. - In Travis, show stem's tor log after failure. Closes ticket 30234.
  2422. o Minor features (controller):
  2423. - Add onion service version 3 support to the HSFETCH command.
  2424. Previously, only version 2 onion services were supported. Closes
  2425. ticket 25417. Patch by Neel Chauhan.
  2426. o Minor features (debugging):
  2427. - Introduce tor_assertf() and tor_assertf_nonfatal() to enable
  2428. logging of additional information during assert failure. Now we
  2429. can use format strings to include information for trouble
  2430. shooting. Resolves ticket 29662.
  2431. o Minor features (defense in depth):
  2432. - In smartlist_remove_keeporder(), set unused pointers to NULL, in
  2433. case a bug causes them to be used later. Closes ticket 30176.
  2434. Patch from Tobias Stoeckmann.
  2435. - Tor now uses a cryptographically strong PRNG even for decisions
  2436. that we do not believe are security-sensitive. Previously, for
  2437. performance reasons, we had used a trivially predictable linear
  2438. congruential generator algorithm for certain load-balancing and
  2439. statistical sampling decisions. Now we use our fast RNG in those
  2440. cases. Closes ticket 29542.
  2441. o Minor features (developer tools):
  2442. - Tor's "practracker" test script now checks for files and functions
  2443. that seem too long and complicated. Existing overlong functions
  2444. and files are accepted for now, but should eventually be
  2445. refactored. Closes ticket 29221.
  2446. - Add some scripts used for git maintenance to scripts/git. Closes
  2447. ticket 29391.
  2448. - Call practracker from pre-push and pre-commit git hooks to let
  2449. developers know if they made any code style violations. Closes
  2450. ticket 30051.
  2451. - Add a script to check that each header has a well-formed and
  2452. unique guard macro. Closes ticket 29756.
  2453. o Minor features (fallback directory list):
  2454. - Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
  2455. in December 2018 (of which ~122 were still functional), with a
  2456. list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
  2457. in June 2019. Closes ticket 28795.
  2458. o Minor features (geoip):
  2459. - Update geoip and geoip6 to the June 10 2019 Maxmind GeoLite2
  2460. Country database. Closes ticket 30852.
  2461. - Update geoip and geoip6 to the May 13 2019 Maxmind GeoLite2
  2462. Country database. Closes ticket 30522.
  2463. o Minor features (HTTP tunnel):
  2464. - Return an informative web page when the HTTPTunnelPort is used as
  2465. an HTTP proxy. Closes ticket 27821, patch by "eighthave".
  2466. o Minor features (IPv6, v3 onion services):
  2467. - Make v3 onion services put IPv6 addresses in service descriptors.
  2468. Before this change, service descriptors only contained IPv4
  2469. addresses. Implements 26992.
  2470. o Minor features (logging):
  2471. - Give a more useful assertion failure message if we think we have
  2472. minherit() but we fail to make a region non-inheritable. Give a
  2473. compile-time warning if our support for minherit() is incomplete.
  2474. Closes ticket 30686.
  2475. o Minor features (maintenance):
  2476. - Add a new "make autostyle" target that developers can use to apply
  2477. all automatic Tor style and consistency conversions to the
  2478. codebase. Closes ticket 30539.
  2479. o Minor features (modularity):
  2480. - The "--disable-module-dirauth" compile-time option now disables
  2481. even more dirauth-only code. Closes ticket 30345.
  2482. o Minor features (performance):
  2483. - Use OpenSSL's implementations of SHA3 when available (in OpenSSL
  2484. 1.1.1 and later), since they tend to be faster than tiny-keccak.
  2485. Closes ticket 28837.
  2486. o Minor features (testing):
  2487. - The circuitpadding tests now use a reproducible RNG implementation,
  2488. so that if a test fails, we can learn why. Part of ticket 28878.
  2489. - Tor's tests now support an environment variable, TOR_TEST_RNG_SEED,
  2490. to set the RNG seed for tests that use a reproducible RNG. Part of
  2491. ticket 28878.
  2492. - When running tests in coverage mode, take additional care to make
  2493. our coverage deterministic, so that we can accurately track
  2494. changes in code coverage. Closes ticket 30519.
  2495. - Tor's unit test code now contains helper functions to replace the
  2496. PRNG with a deterministic or reproducible version for testing.
  2497. Previously, various tests implemented this in various ways.
  2498. Implements ticket 29732.
  2499. - We now have a script, cov-test-determinism.sh, to identify places
  2500. where our unit test coverage has become nondeterministic. Closes
  2501. ticket 29436.
  2502. - Check that representative subsets of values of `int` and `unsigned
  2503. int` can be represented by `void *`. Resolves issue 29537.
  2504. o Minor bugfixes (bridge authority):
  2505. - Bridge authorities now set bridges as running or non-running when
  2506. about to dump their status to a file. Previously, they set bridges
  2507. as running in response to a GETINFO command, but those shouldn't
  2508. modify data structures. Fixes bug 24490; bugfix on 0.2.0.13-alpha.
  2509. Patch by Neel Chauhan.
  2510. o Minor bugfixes (channel padding statistics):
  2511. - Channel padding write totals and padding-enabled totals are now
  2512. counted properly in relay extrainfo descriptors. Fixes bug 29231;
  2513. bugfix on 0.3.1.1-alpha.
  2514. o Minor bugfixes (circuit isolation):
  2515. - Fix a logic error that prevented the SessionGroup sub-option from
  2516. being accepted. Fixes bug 22619; bugfix on 0.2.7.2-alpha.
  2517. o Minor bugfixes (circuit padding):
  2518. - Add a "CircuitPadding" torrc option to disable circuit padding.
  2519. Fixes bug 28693; bugfix on 0.4.0.1-alpha.
  2520. - Allow circuit padding machines to specify that they do not
  2521. contribute much overhead, and provide consensus flags and torrc
  2522. options to force clients to only use these low overhead machines.
  2523. Fixes bug 29203; bugfix on 0.4.0.1-alpha.
  2524. - Provide a consensus parameter to fully disable circuit padding, to
  2525. be used in emergency network overload situations. Fixes bug 30173;
  2526. bugfix on 0.4.0.1-alpha.
  2527. - The circuit padding subsystem will no longer schedule padding if
  2528. dormant mode is enabled. Fixes bug 28636; bugfix on 0.4.0.1-alpha.
  2529. - Inspect a circuit-level cell queue before sending padding, to
  2530. avoid sending padding while too much data is already queued. Fixes
  2531. bug 29204; bugfix on 0.4.0.1-alpha.
  2532. - Avoid calling monotime_absolute_usec() in circuit padding machines
  2533. that do not use token removal or circuit RTT estimation. Fixes bug
  2534. 29085; bugfix on 0.4.0.1-alpha.
  2535. o Minor bugfixes (clock skew detection):
  2536. - Don't believe clock skew results from NETINFO cells that appear to
  2537. arrive before we sent the VERSIONS cells they are responding to.
  2538. Previously, we would accept them up to 3 minutes "in the past".
  2539. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  2540. o Minor bugfixes (compatibility, standards compliance):
  2541. - Fix a bug that would invoke undefined behavior on certain
  2542. operating systems when trying to asprintf() a string exactly
  2543. INT_MAX bytes long. We don't believe this is exploitable, but it's
  2544. better to fix it anyway. Fixes bug 31001; bugfix on 0.2.2.11-alpha.
  2545. Found and fixed by Tobias Stoeckmann.
  2546. o Minor bugfixes (compilation warning):
  2547. - Fix a compilation warning on Windows about casting a function
  2548. pointer for GetTickCount64(). Fixes bug 31374; bugfix on
  2549. 0.2.9.1-alpha.
  2550. o Minor bugfixes (compilation):
  2551. - Avoid using labs() on time_t, which can cause compilation warnings
  2552. on 64-bit Windows builds. Fixes bug 31343; bugfix on 0.2.4.4-alpha.
  2553. o Minor bugfixes (compilation, unusual configurations):
  2554. - Avoid failures when building with the ALL_BUGS_ARE_FATAL option
  2555. due to missing declarations of abort(), and prevent other such
  2556. failures in the future. Fixes bug 30189; bugfix on 0.3.4.1-alpha.
  2557. o Minor bugfixes (configuration, proxies):
  2558. - Fix a bug that prevented us from supporting SOCKS5 proxies that
  2559. want authentication along with configured (but unused!)
  2560. ClientTransportPlugins. Fixes bug 29670; bugfix on 0.2.6.1-alpha.
  2561. o Minor bugfixes (continuous integration):
  2562. - Allow the test-stem job to fail in Travis, because it sometimes
  2563. hangs. Fixes bug 30744; bugfix on 0.3.5.4-alpha.
  2564. - Skip test_rebind on macOS in Travis, because it is unreliable on
  2565. macOS on Travis. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  2566. - Skip test_rebind when the TOR_SKIP_TEST_REBIND environment
  2567. variable is set. Fixes bug 30713; bugfix on 0.3.5.1-alpha.
  2568. o Minor bugfixes (controller protocol):
  2569. - Teach the controller parser to distinguish an object preceded by
  2570. an argument list from one without. Previously, it couldn't
  2571. distinguish an argument list from the first line of a multiline
  2572. object. Fixes bug 29984; bugfix on 0.2.3.8-alpha.
  2573. o Minor bugfixes (crash on exit):
  2574. - Avoid a set of possible code paths that could try to use freed
  2575. memory in routerlist_free() while Tor was exiting. Fixes bug
  2576. 31003; bugfix on 0.1.2.2-alpha.
  2577. o Minor bugfixes (developer tooling):
  2578. - Fix pre-push hook to allow fixup and squash commits when pushing
  2579. to non-upstream git remote. Fixes bug 30286; bugfix
  2580. on 0.4.0.1-alpha.
  2581. o Minor bugfixes (directory authorities):
  2582. - Stop crashing after parsing an unknown descriptor purpose
  2583. annotation. We think this bug can only be triggered by modifying a
  2584. local file. Fixes bug 30781; bugfix on 0.2.0.8-alpha.
  2585. - Move the "bandwidth-file-headers" line in directory authority
  2586. votes so that it conforms to dir-spec.txt. Fixes bug 30316; bugfix
  2587. on 0.3.5.1-alpha.
  2588. - Directory authorities with IPv6 support now always mark themselves
  2589. as reachable via IPv6. Fixes bug 24338; bugfix on 0.2.4.1-alpha.
  2590. Patch by Neel Chauhan.
  2591. o Minor bugfixes (documentation):
  2592. - Improve the documentation for using MapAddress with ".exit". Fixes
  2593. bug 30109; bugfix on 0.1.0.1-rc.
  2594. - Improve the monotonic time module and function documentation to
  2595. explain what "monotonic" actually means, and document some results
  2596. that have surprised people. Fixes bug 29640; bugfix
  2597. on 0.2.9.1-alpha.
  2598. - Use proper formatting when providing an example on quoting options
  2599. that contain whitespace. Fixes bug 29635; bugfix on 0.2.3.18-rc.
  2600. o Minor bugfixes (logging):
  2601. - Do not log a warning when running with an OpenSSL version other
  2602. than the one Tor was compiled with, if the two versions should be
  2603. compatible. Previously, we would warn whenever the version was
  2604. different. Fixes bug 30190; bugfix on 0.2.4.2-alpha.
  2605. - Warn operators when the MyFamily option is set but ContactInfo is
  2606. missing, as the latter should be set too. Fixes bug 25110; bugfix
  2607. on 0.3.3.1-alpha.
  2608. o Minor bugfixes (memory leaks):
  2609. - Avoid a minor memory leak that could occur on relays when failing
  2610. to create a "keys" directory. Fixes bug 30148; bugfix
  2611. on 0.3.3.1-alpha.
  2612. - Fix a trivial memory leak when parsing an invalid value from a
  2613. download schedule in the configuration. Fixes bug 30894; bugfix
  2614. on 0.3.4.1-alpha.
  2615. o Minor bugfixes (NetBSD):
  2616. - Fix usage of minherit() on NetBSD and other platforms that define
  2617. MAP_INHERIT_{ZERO,NONE} instead of INHERIT_{ZERO,NONE}. Fixes bug
  2618. 30614; bugfix on 0.4.0.2-alpha. Patch from Taylor Campbell.
  2619. o Minor bugfixes (onion services):
  2620. - Avoid a GCC 9.1.1 warning (and possible crash depending on libc
  2621. implemenation) when failing to load an onion service client
  2622. authorization file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
  2623. - When refusing to launch a controller's HSFETCH request because of
  2624. rate-limiting, respond to the controller with a new response,
  2625. "QUERY_RATE_LIMITED". Previously, we would log QUERY_NO_HSDIR for
  2626. this case. Fixes bug 28269; bugfix on 0.3.1.1-alpha. Patch by
  2627. Neel Chauhan.
  2628. - When relaunching a circuit to a rendezvous service, mark the
  2629. circuit as needing high-uptime routers as appropriate. Fixes bug
  2630. 17357; bugfix on 0.1.0.1-rc. Patch by Neel Chauhan.
  2631. - Stop ignoring IPv6 link specifiers sent to v3 onion services.
  2632. (IPv6 support for v3 onion services is still incomplete: see
  2633. ticket 23493 for details.) Fixes bug 23588; bugfix on
  2634. 0.3.2.1-alpha. Patch by Neel Chauhan.
  2635. o Minor bugfixes (onion services, performance):
  2636. - When building circuits to onion services, call tor_addr_parse()
  2637. less often. Previously, we called tor_addr_parse() in
  2638. circuit_is_acceptable() even if its output wasn't used. This
  2639. change should improve performance when building circuits. Fixes
  2640. bug 22210; bugfix on 0.2.8.12. Patch by Neel Chauhan.
  2641. o Minor bugfixes (out-of-memory handler):
  2642. - When purging the DNS cache because of an out-of-memory condition,
  2643. try purging just the older entries at first. Previously, we would
  2644. always purge the whole thing. Fixes bug 29617; bugfix
  2645. on 0.3.5.1-alpha.
  2646. o Minor bugfixes (performance):
  2647. - When checking whether a node is a bridge, use a fast check to make
  2648. sure that its identity is set. Previously, we used a constant-time
  2649. check, which is not necessary in this case. Fixes bug 30308;
  2650. bugfix on 0.3.5.1-alpha.
  2651. o Minor bugfixes (pluggable transports):
  2652. - Tor now sets TOR_PT_EXIT_ON_STDIN_CLOSE=1 for client transports as
  2653. well as servers. Fixes bug 25614; bugfix on 0.2.7.1-alpha.
  2654. o Minor bugfixes (portability):
  2655. - Avoid crashing in our tor_vasprintf() implementation on systems
  2656. that define neither vasprintf() nor _vscprintf(). (This bug has
  2657. been here long enough that we question whether people are running
  2658. Tor on such systems, but we're applying the fix out of caution.)
  2659. Fixes bug 30561; bugfix on 0.2.8.2-alpha. Found and fixed by
  2660. Tobias Stoeckmann.
  2661. o Minor bugfixes (probability distributions):
  2662. - Refactor and improve parts of the probability distribution code
  2663. that made Coverity complain. Fixes bug 29805; bugfix
  2664. on 0.4.0.1-alpha.
  2665. o Minor bugfixes (python):
  2666. - Stop assuming that /usr/bin/python3 exists. For scripts that work
  2667. with python2, use /usr/bin/python. Otherwise, use /usr/bin/env
  2668. python3. Fixes bug 29913; bugfix on 0.2.5.3-alpha.
  2669. o Minor bugfixes (relay):
  2670. - When running as a relay, if IPv6Exit is set to 1 while ExitRelay
  2671. is auto, act as if ExitRelay is 1. Previously, we would ignore
  2672. IPv6Exit if ExitRelay was 0 or auto. Fixes bug 29613; bugfix on
  2673. 0.3.5.1-alpha. Patch by Neel Chauhan.
  2674. o Minor bugfixes (static analysis):
  2675. - Fix several spurious Coverity warnings about the unit tests, to
  2676. lower our chances of missing real warnings in the future. Fixes
  2677. bug 30150; bugfix on 0.3.5.1-alpha and various other Tor versions.
  2678. o Minor bugfixes (stats):
  2679. - When ExtraInfoStatistics is 0, stop including bandwidth usage
  2680. statistics, GeoIPFile hashes, ServerTransportPlugin lines, and
  2681. bridge statistics by country in extra-info documents. Fixes bug
  2682. 29018; bugfix on 0.2.4.1-alpha.
  2683. o Minor bugfixes (testing):
  2684. - Call setrlimit() to disable core dumps in test_bt_cl.c. Previously
  2685. we used `ulimit -c` in test_bt.sh, which violates POSIX shell
  2686. compatibility. Fixes bug 29061; bugfix on 0.3.5.1-alpha.
  2687. - Fix some incorrect code in the v3 onion service unit tests. Fixes
  2688. bug 29243; bugfix on 0.3.2.1-alpha.
  2689. - In the "routerkeys/*" tests, check the return values of mkdir()
  2690. for possible failures. Fixes bug 29939; bugfix on 0.2.7.2-alpha.
  2691. Found by Coverity as CID 1444254.
  2692. - Split test_utils_general() into several smaller test functions.
  2693. This makes it easier to perform resource deallocation on assert
  2694. failure, and fixes Coverity warnings CID 1444117 and CID 1444118.
  2695. Fixes bug 29823; bugfix on 0.2.9.1-alpha.
  2696. o Minor bugfixes (tor-resolve):
  2697. - Fix a memory leak in tor-resolve that could happen if Tor gave it
  2698. a malformed SOCKS response. (Memory leaks in tor-resolve don't
  2699. actually matter, but it's good to fix them anyway.) Fixes bug
  2700. 30151; bugfix on 0.4.0.1-alpha.
  2701. o Code simplification and refactoring:
  2702. - Abstract out the low-level formatting of replies on the control
  2703. port. Implements ticket 30007.
  2704. - Add several assertions in an attempt to fix some Coverity
  2705. warnings. Closes ticket 30149.
  2706. - Introduce a connection_dir_buf_add() helper function that checks
  2707. for compress_state of dir_connection_t and automatically writes a
  2708. string to directory connection with or without compression.
  2709. Resolves issue 28816.
  2710. - Make the base32_decode() API return the number of bytes written,
  2711. for consistency with base64_decode(). Closes ticket 28913.
  2712. - Move most relay-only periodic events out of mainloop.c into the
  2713. relay subsystem. Closes ticket 30414.
  2714. - Refactor and encapsulate parts of the codebase that manipulate
  2715. crypt_path_t objects. Resolves issue 30236.
  2716. - Refactor several places in our code that Coverity incorrectly
  2717. believed might have memory leaks. Closes ticket 30147.
  2718. - Remove redundant return values in crypto_format, and the
  2719. associated return value checks elsewhere in the code. Make the
  2720. implementations in crypto_format consistent, and remove redundant
  2721. code. Resolves ticket 29660.
  2722. - Rename tor_mem_is_zero() to fast_mem_is_zero(), to emphasize that
  2723. it is not a constant-time function. Closes ticket 30309.
  2724. - Replace hs_desc_link_specifier_t with link_specifier_t, and remove
  2725. all hs_desc_link_specifier_t-specific code. Fixes bug 22781;
  2726. bugfix on 0.3.2.1-alpha.
  2727. - Simplify v3 onion service link specifier handling code. Fixes bug
  2728. 23576; bugfix on 0.3.2.1-alpha.
  2729. - Split crypto_digest.c into NSS code, OpenSSL code, and shared
  2730. code. Resolves ticket 29108.
  2731. - Split control.c into several submodules, in preparation for
  2732. distributing its current responsibilities throughout the codebase.
  2733. Closes ticket 29894.
  2734. - Start to move responsibility for knowing about periodic events to
  2735. the appropriate subsystems, so that the mainloop doesn't need to
  2736. know all the periodic events in the rest of the codebase.
  2737. Implements tickets 30293 and 30294.
  2738. o Documentation:
  2739. - Mention URLs for Travis/Appveyor/Jenkins in ReleasingTor.md.
  2740. Closes ticket 30630.
  2741. - Document how to find git commits and tags for bug fixes in
  2742. CodingStandards.md. Update some file documentation. Closes
  2743. ticket 30261.
  2744. o Removed features:
  2745. - Remove the linux-tor-prio.sh script from contrib/operator-tools
  2746. directory. Resolves issue 29434.
  2747. - Remove the obsolete OpenSUSE initscript. Resolves issue 30076.
  2748. - Remove the obsolete script at contrib/dist/tor.sh.in. Resolves
  2749. issue 30075.
  2750. o Testing:
  2751. - Specify torrc paths (with empty files) when launching tor in
  2752. integration tests; refrain from reading user and system torrcs.
  2753. Resolves issue 29702.
  2754. o Code simplification and refactoring (shell scripts):
  2755. - Clean up many of our shell scripts to fix shellcheck warnings.
  2756. These include autogen.sh (ticket 26069), test_keygen.sh (ticket
  2757. 29062), test_switch_id.sh (ticket 29065), test_rebind.sh (ticket
  2758. 29063), src/test/fuzz/minimize.sh (ticket 30079), test_rust.sh
  2759. (ticket 29064), torify (ticket 29070), asciidoc-helper.sh (29926),
  2760. fuzz_multi.sh (30077), fuzz_static_testcases.sh (ticket 29059),
  2761. nagios-check-tor-authority-cert (ticket 29071),
  2762. src/test/fuzz/fixup_filenames.sh (ticket 30078), test-network.sh
  2763. (ticket 29060), test_key_expiration.sh (ticket 30002),
  2764. zero_length_keys.sh (ticket 29068), and test_workqueue_*.sh
  2765. (ticket 29067).
  2766. o Testing (chutney):
  2767. - In "make test-network-all", test IPv6-only v3 single onion
  2768. services, using the chutney network single-onion-v23-ipv6-md.
  2769. Closes ticket 27251.
  2770. o Testing (continuous integration):
  2771. - In Travis, make stem log a controller trace to the console, and tail
  2772. stem's tor log after failure. Closes ticket 30591.
  2773. - In Travis, only run the stem tests that use a tor binary.
  2774. Closes ticket 30694.
  2775. Changes in version 0.4.0.5 - 2019-05-02
  2776. This is the first stable release in the 0.4.0.x series. It contains
  2777. improvements for power management and bootstrap reporting, as well as
  2778. preliminary backend support for circuit padding to prevent some kinds
  2779. of traffic analysis. It also continues our work in refactoring Tor for
  2780. long-term maintainability.
  2781. Per our support policy, we will support the 0.4.0.x series for nine
  2782. months, or until three months after the release of a stable 0.4.1.x:
  2783. whichever is longer. If you need longer-term support, please stick
  2784. with 0.3.5.x, which will we plan to support until Feb 2022.
  2785. Below are the changes since 0.3.5.7. For a complete list of changes
  2786. since 0.4.0.4-rc, see the ChangeLog file.
  2787. o Major features (battery management, client, dormant mode):
  2788. - When Tor is running as a client, and it is unused for a long time,
  2789. it can now enter a "dormant" state. When Tor is dormant, it avoids
  2790. network and CPU activity until it is reawoken either by a user
  2791. request or by a controller command. For more information, see the
  2792. configuration options starting with "Dormant". Implements tickets
  2793. 2149 and 28335.
  2794. - The client's memory of whether it is "dormant", and how long it
  2795. has spent idle, persists across invocations. Implements
  2796. ticket 28624.
  2797. - There is a DormantOnFirstStartup option that integrators can use
  2798. if they expect that in many cases, Tor will be installed but
  2799. not used.
  2800. o Major features (bootstrap reporting):
  2801. - When reporting bootstrap progress, report the first connection
  2802. uniformly, regardless of whether it's a connection for building
  2803. application circuits. This allows finer-grained reporting of early
  2804. progress than previously possible, with the improvements of ticket
  2805. 27169. Closes tickets 27167 and 27103. Addresses ticket 27308.
  2806. - When reporting bootstrap progress, treat connecting to a proxy or
  2807. pluggable transport as separate from having successfully used that
  2808. proxy or pluggable transport to connect to a relay. Closes tickets
  2809. 27100 and 28884.
  2810. o Major features (circuit padding):
  2811. - Implement preliminary support for the circuit padding portion of
  2812. Proposal 254. The implementation supports Adaptive Padding (aka
  2813. WTF-PAD) state machines for use between experimental clients and
  2814. relays. Support is also provided for APE-style state machines that
  2815. use probability distributions instead of histograms to specify
  2816. inter-packet delay. At the moment, Tor does not provide any
  2817. padding state machines that are used in normal operation: for now,
  2818. this feature exists solely for experimentation. Closes
  2819. ticket 28142.
  2820. o Major features (refactoring):
  2821. - Tor now uses an explicit list of its own subsystems when
  2822. initializing and shutting down. Previously, these systems were
  2823. managed implicitly in various places throughout the codebase.
  2824. (There may still be some subsystems using the old system.) Closes
  2825. ticket 28330.
  2826. o Major bugfixes (cell scheduler, KIST, security):
  2827. - Make KIST consider the outbuf length when computing what it can
  2828. put in the outbuf. Previously, KIST acted as though the outbuf
  2829. were empty, which could lead to the outbuf becoming too full. It
  2830. is possible that an attacker could exploit this bug to cause a Tor
  2831. client or relay to run out of memory and crash. Fixes bug 29168;
  2832. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  2833. TROVE-2019-001 and CVE-2019-8955.
  2834. o Major bugfixes (networking):
  2835. - Gracefully handle empty username/password fields in SOCKS5
  2836. username/password auth message and allow SOCKS5 handshake to
  2837. continue. Previously, we had rejected these handshakes, breaking
  2838. certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
  2839. o Major bugfixes (NSS, relay):
  2840. - When running with NSS, disable TLS 1.2 ciphersuites that use
  2841. SHA384 for their PRF. Due to an NSS bug, the TLS key exporters for
  2842. these ciphersuites don't work -- which caused relays to fail to
  2843. handshake with one another when these ciphersuites were enabled.
  2844. Fixes bug 29241; bugfix on 0.3.5.1-alpha.
  2845. o Major bugfixes (windows, startup):
  2846. - When reading a consensus file from disk, detect whether it was
  2847. written in text mode, and re-read it in text mode if so. Always
  2848. write consensus files in binary mode so that we can map them into
  2849. memory later. Previously, we had written in text mode, which
  2850. confused us when we tried to map the file on windows. Fixes bug
  2851. 28614; bugfix on 0.4.0.1-alpha.
  2852. o Minor features (address selection):
  2853. - Treat the subnet 100.64.0.0/10 as public for some purposes;
  2854. private for others. This subnet is the RFC 6598 (Carrier Grade
  2855. NAT) IP range, and is deployed by many ISPs as an alternative to
  2856. RFC 1918 that does not break existing internal networks. Tor now
  2857. blocks SOCKS and control ports on these addresses and warns users
  2858. if client ports or ExtORPorts are listening on a RFC 6598 address.
  2859. Closes ticket 28525. Patch by Neel Chauhan.
  2860. o Minor features (bandwidth authority):
  2861. - Make bandwidth authorities ignore relays that are reported in the
  2862. bandwidth file with the flag "vote=0". This change allows us to
  2863. report unmeasured relays for diagnostic reasons without including
  2864. their bandwidth in the bandwidth authorities' vote. Closes
  2865. ticket 29806.
  2866. - When a directory authority is using a bandwidth file to obtain the
  2867. bandwidth values that will be included in the next vote, serve
  2868. this bandwidth file at /tor/status-vote/next/bandwidth. Closes
  2869. ticket 21377.
  2870. o Minor features (bootstrap reporting):
  2871. - When reporting bootstrap progress, stop distinguishing between
  2872. situations where only internal paths are available and situations
  2873. where external paths are available. Previously, Tor would often
  2874. erroneously report that it had only internal paths. Closes
  2875. ticket 27402.
  2876. o Minor features (compilation):
  2877. - Compile correctly when OpenSSL is built with engine support
  2878. disabled, or with deprecated APIs disabled. Closes ticket 29026.
  2879. Patches from "Mangix".
  2880. o Minor features (continuous integration):
  2881. - On Travis Rust builds, cleanup Rust registry and refrain from
  2882. caching the "target/" directory to speed up builds. Resolves
  2883. issue 29962.
  2884. - Log Python version during each Travis CI job. Resolves
  2885. issue 28551.
  2886. - In Travis, tell timelimit to use stem's backtrace signals, and
  2887. launch python directly from timelimit, so python receives the
  2888. signals from timelimit, rather than make. Closes ticket 30117.
  2889. o Minor features (controller):
  2890. - Add a DROPOWNERSHIP command to undo the effects of TAKEOWNERSHIP.
  2891. Implements ticket 28843.
  2892. o Minor features (developer tooling):
  2893. - Check that bugfix versions in changes files look like Tor versions
  2894. from the versions spec. Warn when bugfixes claim to be on a future
  2895. release. Closes ticket 27761.
  2896. - Provide a git pre-commit hook that disallows committing if we have
  2897. any failures in our code and changelog formatting checks. It is
  2898. now available in scripts/maint/pre-commit.git-hook. Implements
  2899. feature 28976.
  2900. - Provide a git hook script to prevent "fixup!" and "squash!"
  2901. commits from ending up in the master branch, as scripts/main/pre-
  2902. push.git-hook. Closes ticket 27993.
  2903. o Minor features (diagnostic):
  2904. - Add more diagnostic log messages in an attempt to solve the issue
  2905. of NUL bytes appearing in a microdescriptor cache. Related to
  2906. ticket 28223.
  2907. o Minor features (directory authority):
  2908. - When a directory authority is using a bandwidth file to obtain
  2909. bandwidth values, include the digest of that file in the vote.
  2910. Closes ticket 26698.
  2911. - Directory authorities support a new consensus algorithm, under
  2912. which the family lines in microdescriptors are encoded in a
  2913. canonical form. This change makes family lines more compressible
  2914. in transit, and on the client. Closes ticket 28266; implements
  2915. proposal 298.
  2916. o Minor features (directory authority, relay):
  2917. - Authorities now vote on a "StaleDesc" flag to indicate that a
  2918. relay's descriptor is so old that the relay should upload again
  2919. soon. Relays treat this flag as a signal to upload a new
  2920. descriptor. This flag will eventually let us remove the
  2921. 'published' date from routerstatus entries, and make our consensus
  2922. diffs much smaller. Closes ticket 26770; implements proposal 293.
  2923. o Minor features (dormant mode):
  2924. - Add a DormantCanceledByStartup option to tell Tor that it should
  2925. treat a startup event as cancelling any previous dormant state.
  2926. Integrators should use this option with caution: it should only be
  2927. used if Tor is being started because of something that the user
  2928. did, and not if Tor is being automatically started in the
  2929. background. Closes ticket 29357.
  2930. o Minor features (fallback directory mirrors):
  2931. - Update the fallback whitelist based on operator opt-ins and opt-
  2932. outs. Closes ticket 24805, patch by Phoul.
  2933. o Minor features (FreeBSD):
  2934. - On FreeBSD-based systems, warn relay operators if the
  2935. "net.inet.ip.random_id" sysctl (IP ID randomization) is disabled.
  2936. Closes ticket 28518.
  2937. o Minor features (geoip):
  2938. - Update geoip and geoip6 to the April 2 2019 Maxmind GeoLite2
  2939. Country database. Closes ticket 29992.
  2940. o Minor features (HTTP standards compliance):
  2941. - Stop sending the header "Content-type: application/octet-stream"
  2942. along with transparently compressed documents: this confused
  2943. browsers. Closes ticket 28100.
  2944. o Minor features (IPv6):
  2945. - We add an option ClientAutoIPv6ORPort, to make clients randomly
  2946. prefer a node's IPv4 or IPv6 ORPort. The random preference is set
  2947. every time a node is loaded from a new consensus or bridge config.
  2948. We expect that this option will enable clients to bootstrap more
  2949. quickly without having to determine whether they support IPv4,
  2950. IPv6, or both. Closes ticket 27490. Patch by Neel Chauhan.
  2951. - When using addrs_in_same_network_family(), avoid choosing circuit
  2952. paths that pass through the same IPv6 subnet more than once.
  2953. Previously, we only checked IPv4 subnets. Closes ticket 24393.
  2954. Patch by Neel Chauhan.
  2955. o Minor features (log messages):
  2956. - Improve log message in v3 onion services that could print out
  2957. negative revision counters. Closes ticket 27707. Patch
  2958. by "ffmancera".
  2959. o Minor features (memory usage):
  2960. - Save memory by storing microdescriptor family lists with a more
  2961. compact representation. Closes ticket 27359.
  2962. - Tor clients now use mmap() to read consensus files from disk, so
  2963. that they no longer need keep the full text of a consensus in
  2964. memory when parsing it or applying a diff. Closes ticket 27244.
  2965. o Minor features (NSS, diagnostic):
  2966. - Try to log an error from NSS (if there is any) and a more useful
  2967. description of our situation if we are using NSS and a call to
  2968. SSL_ExportKeyingMaterial() fails. Diagnostic for ticket 29241.
  2969. o Minor features (parsing):
  2970. - Directory authorities now validate that router descriptors and
  2971. ExtraInfo documents are in a valid subset of UTF-8, and reject
  2972. them if they are not. Closes ticket 27367.
  2973. o Minor features (performance):
  2974. - Cache the results of summarize_protocol_flags(), so that we don't
  2975. have to parse the same protocol-versions string over and over.
  2976. This should save us a huge number of malloc calls on startup, and
  2977. may reduce memory fragmentation with some allocators. Closes
  2978. ticket 27225.
  2979. - Remove a needless memset() call from get_token_arguments, thereby
  2980. speeding up the tokenization of directory objects by about 20%.
  2981. Closes ticket 28852.
  2982. - Replace parse_short_policy() with a faster implementation, to
  2983. improve microdescriptor parsing time. Closes ticket 28853.
  2984. - Speed up directory parsing a little by avoiding use of the non-
  2985. inlined strcmp_len() function. Closes ticket 28856.
  2986. - Speed up microdescriptor parsing by about 30%, to help improve
  2987. startup time. Closes ticket 28839.
  2988. o Minor features (pluggable transports):
  2989. - Add support for emitting STATUS updates to Tor's control port from
  2990. a pluggable transport process. Closes ticket 28846.
  2991. - Add support for logging to Tor's logging subsystem from a
  2992. pluggable transport process. Closes ticket 28180.
  2993. o Minor features (process management):
  2994. - Add a new process API for handling child processes. This new API
  2995. allows Tor to have bi-directional communication with child
  2996. processes on both Unix and Windows. Closes ticket 28179.
  2997. - Use the subsystem manager to initialize and shut down the process
  2998. module. Closes ticket 28847.
  2999. o Minor features (relay):
  3000. - When listing relay families, list them in canonical form including
  3001. the relay's own identity, and try to give a more useful set of
  3002. warnings. Part of ticket 28266 and proposal 298.
  3003. o Minor features (required protocols):
  3004. - Before exiting because of a missing required protocol, Tor will
  3005. now check the publication time of the consensus, and not exit
  3006. unless the consensus is newer than the Tor program's own release
  3007. date. Previously, Tor would not check the consensus publication
  3008. time, and so might exit because of a missing protocol that might
  3009. no longer be required in a current consensus. Implements proposal
  3010. 297; closes ticket 27735.
  3011. o Minor features (testing):
  3012. - Treat all unexpected ERR and BUG messages as test failures. Closes
  3013. ticket 28668.
  3014. - Allow a HeartbeatPeriod of less than 30 minutes in testing Tor
  3015. networks. Closes ticket 28840. Patch by Rob Jansen.
  3016. - Use the approx_time() function when setting the "Expires" header
  3017. in directory replies, to make them more testable. Needed for
  3018. ticket 30001.
  3019. o Minor bugfixes (security):
  3020. - Fix a potential double free bug when reading huge bandwidth files.
  3021. The issue is not exploitable in the current Tor network because
  3022. the vulnerable code is only reached when directory authorities
  3023. read bandwidth files, but bandwidth files come from a trusted
  3024. source (usually the authorities themselves). Furthermore, the
  3025. issue is only exploitable in rare (non-POSIX) 32-bit architectures,
  3026. which are not used by any of the current authorities. Fixes bug
  3027. 30040; bugfix on 0.3.5.1-alpha. Bug found and fixed by
  3028. Tobias Stoeckmann.
  3029. - Verify in more places that we are not about to create a buffer
  3030. with more than INT_MAX bytes, to avoid possible OOB access in the
  3031. event of bugs. Fixes bug 30041; bugfix on 0.2.0.16. Found and
  3032. fixed by Tobias Stoeckmann.
  3033. o Minor bugfix (continuous integration):
  3034. - Reset coverage state on disk after Travis CI has finished. This
  3035. should prevent future coverage merge errors from causing the test
  3036. suite for the "process" subsystem to fail. The process subsystem
  3037. was introduced in 0.4.0.1-alpha. Fixes bug 29036; bugfix
  3038. on 0.2.9.15.
  3039. - Terminate test-stem if it takes more than 9.5 minutes to run.
  3040. (Travis terminates the job after 10 minutes of no output.)
  3041. Diagnostic for 29437. Fixes bug 30011; bugfix on 0.3.5.4-alpha.
  3042. o Minor bugfixes (build, compatibility, rust):
  3043. - Update Cargo.lock file to match the version made by the latest
  3044. version of Rust, so that "make distcheck" will pass again. Fixes
  3045. bug 29244; bugfix on 0.3.3.4-alpha.
  3046. o Minor bugfixes (C correctness):
  3047. - Fix an unlikely memory leak in consensus_diff_apply(). Fixes bug
  3048. 29824; bugfix on 0.3.1.1-alpha. This is Coverity warning
  3049. CID 1444119.
  3050. o Minor bugfixes (client, clock skew):
  3051. - Bootstrap successfully even when Tor's clock is behind the clocks
  3052. on the authorities. Fixes bug 28591; bugfix on 0.2.0.9-alpha.
  3053. - Select guards even if the consensus has expired, as long as the
  3054. consensus is still reasonably live. Fixes bug 24661; bugfix
  3055. on 0.3.0.1-alpha.
  3056. o Minor bugfixes (compilation):
  3057. - Fix compilation warnings in test_circuitpadding.c. Fixes bug
  3058. 29169; bugfix on 0.4.0.1-alpha.
  3059. - Silence a compiler warning in test-memwipe.c on OpenBSD. Fixes bug
  3060. 29145; bugfix on 0.2.9.3-alpha. Patch from Kris Katterjohn.
  3061. - Compile correctly on OpenBSD; previously, we were missing some
  3062. headers required in order to detect it properly. Fixes bug 28938;
  3063. bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  3064. o Minor bugfixes (directory clients):
  3065. - Mark outdated dirservers when Tor only has a reasonably live
  3066. consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
  3067. o Minor bugfixes (directory mirrors):
  3068. - Even when a directory mirror's clock is behind the clocks on the
  3069. authorities, we now allow the mirror to serve "future"
  3070. consensuses. Fixes bug 28654; bugfix on 0.3.0.1-alpha.
  3071. o Minor bugfixes (DNS):
  3072. - Gracefully handle an empty or absent resolve.conf file by falling
  3073. back to using "localhost" as a DNS server (and hoping it works).
  3074. Previously, we would just stop running as an exit. Fixes bug
  3075. 21900; bugfix on 0.2.1.10-alpha.
  3076. o Minor bugfixes (documentation):
  3077. - Describe the contents of the v3 onion service client authorization
  3078. files correctly: They hold public keys, not private keys. Fixes
  3079. bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
  3080. o Minor bugfixes (guards):
  3081. - In count_acceptable_nodes(), the minimum number is now one bridge
  3082. or guard node, and two non-guard nodes for a circuit. Previously,
  3083. we had added up the sum of all nodes with a descriptor, but that
  3084. could cause us to build failing circuits when we had either too
  3085. many bridges or not enough guard nodes. Fixes bug 25885; bugfix on
  3086. 0.2.3.1-alpha. Patch by Neel Chauhan.
  3087. o Minor bugfixes (IPv6):
  3088. - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
  3089. IPv6 socket was bound using an address family of AF_INET instead
  3090. of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
  3091. Kris Katterjohn.
  3092. o Minor bugfixes (linux seccomp sandbox):
  3093. - Fix startup crash when experimental sandbox support is enabled.
  3094. Fixes bug 29150; bugfix on 0.4.0.1-alpha. Patch by Peter Gerber.
  3095. o Minor bugfixes (logging):
  3096. - Correct a misleading error message when IPv4Only or IPv6Only is
  3097. used but the resolved address can not be interpreted as an address
  3098. of the specified IP version. Fixes bug 13221; bugfix on
  3099. 0.2.3.9-alpha. Patch from Kris Katterjohn.
  3100. - Log the correct port number for listening sockets when "auto" is
  3101. used to let Tor pick the port number. Previously, port 0 was
  3102. logged instead of the actual port number. Fixes bug 29144; bugfix
  3103. on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  3104. - Stop logging a BUG() warning when Tor is waiting for exit
  3105. descriptors. Fixes bug 28656; bugfix on 0.3.5.1-alpha.
  3106. - Avoid logging that we are relaxing a circuit timeout when that
  3107. timeout is fixed. Fixes bug 28698; bugfix on 0.2.4.7-alpha.
  3108. - Log more information at "warning" level when unable to read a
  3109. private key; log more information at "info" level when unable to
  3110. read a public key. We had warnings here before, but they were lost
  3111. during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
  3112. - Rework rep_hist_log_link_protocol_counts() to iterate through all
  3113. link protocol versions when logging incoming/outgoing connection
  3114. counts. Tor no longer skips version 5, and we won't have to
  3115. remember to update this function when new link protocol version is
  3116. developed. Fixes bug 28920; bugfix on 0.2.6.10.
  3117. o Minor bugfixes (memory management):
  3118. - Refactor the shared random state's memory management so that it
  3119. actually takes ownership of the shared random value pointers.
  3120. Fixes bug 29706; bugfix on 0.2.9.1-alpha.
  3121. - Stop leaking parts of the shared random state in the shared-random
  3122. unit tests. Fixes bug 29599; bugfix on 0.2.9.1-alpha.
  3123. o Minor bugfixes (misc):
  3124. - The amount of total available physical memory is now determined
  3125. using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
  3126. when it is defined and a 64-bit variant is not available. Fixes
  3127. bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
  3128. o Minor bugfixes (networking):
  3129. - Introduce additional checks into tor_addr_parse() to reject
  3130. certain incorrect inputs that previously were not detected. Fixes
  3131. bug 23082; bugfix on 0.2.0.10-alpha.
  3132. o Minor bugfixes (onion service v3, client):
  3133. - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
  3134. connection waiting for a descriptor that we actually have in the
  3135. cache. It turns out that this can actually happen, though it is
  3136. rare. Now, tor will recover and retry the descriptor. Fixes bug
  3137. 28669; bugfix on 0.3.2.4-alpha.
  3138. o Minor bugfixes (onion services):
  3139. - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
  3140. than one private key for a hidden service. Fixes bug 29040; bugfix
  3141. on 0.3.5.1-alpha.
  3142. - In hs_cache_store_as_client() log an HSDesc we failed to parse at
  3143. "debug" level. Tor used to log it as a warning, which caused very
  3144. long log lines to appear for some users. Fixes bug 29135; bugfix
  3145. on 0.3.2.1-alpha.
  3146. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  3147. as a warning. Instead, log it as a protocol warning, because there
  3148. is nothing that relay operators can do to fix it. Fixes bug 29029;
  3149. bugfix on 0.2.5.7-rc.
  3150. o Minor bugfixes (periodic events):
  3151. - Refrain from calling routerlist_remove_old_routers() from
  3152. check_descriptor_callback(). Instead, create a new hourly periodic
  3153. event. Fixes bug 27929; bugfix on 0.2.8.1-alpha.
  3154. o Minor bugfixes (pluggable transports):
  3155. - Make sure that data is continously read from standard output and
  3156. standard error pipes of a pluggable transport child-process, to
  3157. avoid deadlocking when a pipe's buffer is full. Fixes bug 26360;
  3158. bugfix on 0.2.3.6-alpha.
  3159. o Minor bugfixes (rust):
  3160. - Abort on panic in all build profiles, instead of potentially
  3161. unwinding into C code. Fixes bug 27199; bugfix on 0.3.3.1-alpha.
  3162. o Minor bugfixes (scheduler):
  3163. - When re-adding channels to the pending list, check the correct
  3164. channel's sched_heap_idx. This issue has had no effect in mainline
  3165. Tor, but could have led to bugs down the road in improved versions
  3166. of our circuit scheduling code. Fixes bug 29508; bugfix
  3167. on 0.3.2.10.
  3168. o Minor bugfixes (shellcheck):
  3169. - Look for scripts in their correct locations during "make
  3170. shellcheck". Previously we had looked in the wrong place during
  3171. out-of-tree builds. Fixes bug 30263; bugfix on 0.4.0.1-alpha.
  3172. o Minor bugfixes (single onion services):
  3173. - Allow connections to single onion services to remain idle without
  3174. being disconnected. Previously, relays acting as rendezvous points
  3175. for single onion services were mistakenly closing idle rendezvous
  3176. circuits after 60 seconds, thinking that they were unused
  3177. directory-fetching circuits that had served their purpose. Fixes
  3178. bug 29665; bugfix on 0.2.1.26.
  3179. o Minor bugfixes (stats):
  3180. - When ExtraInfoStatistics is 0, stop including PaddingStatistics in
  3181. relay and bridge extra-info documents. Fixes bug 29017; bugfix
  3182. on 0.3.1.1-alpha.
  3183. o Minor bugfixes (testing):
  3184. - Backport the 0.3.4 src/test/test-network.sh to 0.2.9. We need a
  3185. recent test-network.sh to use new chutney features in CI. Fixes
  3186. bug 29703; bugfix on 0.2.9.1-alpha.
  3187. - Fix a test failure on Windows caused by an unexpected "BUG"
  3188. warning in our tests for tor_gmtime_r(-1). Fixes bug 29922; bugfix
  3189. on 0.2.9.3-alpha.
  3190. - Downgrade some LOG_ERR messages in the address/* tests to
  3191. warnings. The LOG_ERR messages were occurring when we had no
  3192. configured network. We were failing the unit tests, because we
  3193. backported 28668 to 0.3.5.8, but did not backport 29530. Fixes bug
  3194. 29530; bugfix on 0.3.5.8.
  3195. - Fix our gcov wrapper script to look for object files at the
  3196. correct locations. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
  3197. - Decrease the false positive rate of stochastic probability
  3198. distribution tests. Fixes bug 29693; bugfix on 0.4.0.1-alpha.
  3199. - Fix intermittent failures on an adaptive padding test. Fixes one
  3200. case of bug 29122; bugfix on 0.4.0.1-alpha.
  3201. - Disable an unstable circuit-padding test that was failing
  3202. intermittently because of an ill-defined small histogram. Such
  3203. histograms will be allowed again after 29298 is implemented. Fixes
  3204. a second case of bug 29122; bugfix on 0.4.0.1-alpha.
  3205. - Detect and suppress "bug" warnings from the util/time test on
  3206. Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
  3207. - Do not log an error-level message if we fail to find an IPv6
  3208. network interface from the unit tests. Fixes bug 29160; bugfix
  3209. on 0.2.7.3-rc.
  3210. - Instead of relying on hs_free_all() to clean up all onion service
  3211. objects in test_build_descriptors(), we now deallocate them one by
  3212. one. This lets Coverity know that we are not leaking memory there
  3213. and fixes CID 1442277. Fixes bug 28989; bugfix on 0.3.5.1-alpha.
  3214. - Check the time in the "Expires" header using approx_time(). Fixes
  3215. bug 30001; bugfix on 0.4.0.4-rc.
  3216. o Minor bugfixes (TLS protocol):
  3217. - When classifying a client's selection of TLS ciphers, if the
  3218. client ciphers are not yet available, do not cache the result.
  3219. Previously, we had cached the unavailability of the cipher list
  3220. and never looked again, which in turn led us to assume that the
  3221. client only supported the ancient V1 link protocol. This, in turn,
  3222. was causing Stem integration tests to stall in some cases. Fixes
  3223. bug 30021; bugfix on 0.2.4.8-alpha.
  3224. o Minor bugfixes (UI):
  3225. - Lower log level of unlink() errors during bootstrap. Fixes bug
  3226. 29930; bugfix on 0.4.0.1-alpha.
  3227. o Minor bugfixes (usability):
  3228. - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
  3229. Some users took this phrasing to mean that the mentioned guard was
  3230. under their control or responsibility, which it is not. Fixes bug
  3231. 28895; bugfix on Tor 0.3.0.1-alpha.
  3232. o Minor bugfixes (Windows, CI):
  3233. - Skip the Appveyor 32-bit Windows Server 2016 job, and 64-bit
  3234. Windows Server 2012 R2 job. The remaining 2 jobs still provide
  3235. coverage of 64/32-bit, and Windows Server 2016/2012 R2. Also set
  3236. fast_finish, so failed jobs terminate the build immediately. Fixes
  3237. bug 29601; bugfix on 0.3.5.4-alpha.
  3238. o Code simplification and refactoring:
  3239. - Introduce a connection_dir_buf_add() helper function that detects
  3240. whether compression is in use, and adds a string accordingly.
  3241. Resolves issue 28816.
  3242. - Refactor handle_get_next_bandwidth() to use
  3243. connection_dir_buf_add(). Implements ticket 29897.
  3244. - Reimplement NETINFO cell parsing and generation to rely on
  3245. trunnel-generated wire format handling code. Closes ticket 27325.
  3246. - Remove unnecessary unsafe code from the Rust macro "cstr!". Closes
  3247. ticket 28077.
  3248. - Rework SOCKS wire format handling to rely on trunnel-generated
  3249. parsing/generation code. Resolves ticket 27620.
  3250. - Split out bootstrap progress reporting from control.c into a
  3251. separate file. Part of ticket 27402.
  3252. - The .may_include files that we use to describe our directory-by-
  3253. directory dependency structure now describe a noncircular
  3254. dependency graph over the directories that they cover. Our
  3255. checkIncludes.py tool now enforces this noncircularity. Closes
  3256. ticket 28362.
  3257. o Documentation:
  3258. - Clarify that Tor performs stream isolation among *Port listeners
  3259. by default. Resolves issue 29121.
  3260. - In the manpage entry describing MapAddress torrc setting, use
  3261. example IP addresses from ranges specified for use in documentation
  3262. by RFC 5737. Resolves issue 28623.
  3263. - Mention that you cannot add a new onion service if Tor is already
  3264. running with Sandbox enabled. Closes ticket 28560.
  3265. - Improve ControlPort documentation. Mention that it accepts
  3266. address:port pairs, and can be used multiple times. Closes
  3267. ticket 28805.
  3268. - Document the exact output of "tor --version". Closes ticket 28889.
  3269. o Removed features:
  3270. - Remove the old check-tor script. Resolves issue 29072.
  3271. - Stop responding to the 'GETINFO status/version/num-concurring' and
  3272. 'GETINFO status/version/num-versioning' control port commands, as
  3273. those were deprecated back in 0.2.0.30. Also stop listing them in
  3274. output of 'GETINFO info/names'. Resolves ticket 28757.
  3275. - The scripts used to generate and maintain the list of fallback
  3276. directories have been extracted into a new "fallback-scripts"
  3277. repository. Closes ticket 27914.
  3278. o Testing:
  3279. - Run shellcheck for scripts in the in scripts/ directory. Closes
  3280. ticket 28058.
  3281. - Add unit tests for tokenize_string() and get_next_token()
  3282. functions. Resolves ticket 27625.
  3283. o Code simplification and refactoring (onion service v3):
  3284. - Consolidate the authorized client descriptor cookie computation
  3285. code from client and service into one function. Closes
  3286. ticket 27549.
  3287. o Code simplification and refactoring (shell scripts):
  3288. - Cleanup scan-build.sh to silence shellcheck warnings. Closes
  3289. ticket 28007.
  3290. - Fix issues that shellcheck found in chutney-git-bisect.sh.
  3291. Resolves ticket 28006.
  3292. - Fix issues that shellcheck found in updateRustDependencies.sh.
  3293. Resolves ticket 28012.
  3294. - Fix shellcheck warnings in cov-diff script. Resolves issue 28009.
  3295. - Fix shellcheck warnings in run_calltool.sh. Resolves ticket 28011.
  3296. - Fix shellcheck warnings in run_trunnel.sh. Resolves issue 28010.
  3297. - Fix shellcheck warnings in scripts/test/coverage. Resolves
  3298. issue 28008.
  3299. Changes in version 0.3.5.8 - 2019-02-21
  3300. Tor 0.3.5.8 backports several fixes from later releases, including fixes
  3301. for an annoying SOCKS-parsing bug that affected users in earlier 0.3.5.x
  3302. releases.
  3303. It also includes a fix for a medium-severity security bug affecting Tor
  3304. 0.3.2.1-alpha and later. All Tor instances running an affected release
  3305. should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  3306. o Major bugfixes (cell scheduler, KIST, security):
  3307. - Make KIST consider the outbuf length when computing what it can
  3308. put in the outbuf. Previously, KIST acted as though the outbuf
  3309. were empty, which could lead to the outbuf becoming too full. It
  3310. is possible that an attacker could exploit this bug to cause a Tor
  3311. client or relay to run out of memory and crash. Fixes bug 29168;
  3312. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  3313. TROVE-2019-001 and CVE-2019-8955.
  3314. o Major bugfixes (networking, backport from 0.4.0.2-alpha):
  3315. - Gracefully handle empty username/password fields in SOCKS5
  3316. username/password auth messsage and allow SOCKS5 handshake to
  3317. continue. Previously, we had rejected these handshakes, breaking
  3318. certain applications. Fixes bug 29175; bugfix on 0.3.5.1-alpha.
  3319. o Minor features (compilation, backport from 0.4.0.2-alpha):
  3320. - Compile correctly when OpenSSL is built with engine support
  3321. disabled, or with deprecated APIs disabled. Closes ticket 29026.
  3322. Patches from "Mangix".
  3323. o Minor features (geoip):
  3324. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  3325. Country database. Closes ticket 29478.
  3326. o Minor features (testing, backport from 0.4.0.2-alpha):
  3327. - Treat all unexpected ERR and BUG messages as test failures. Closes
  3328. ticket 28668.
  3329. o Minor bugfixes (onion service v3, client, backport from 0.4.0.1-alpha):
  3330. - Stop logging a "BUG()" warning and stacktrace when we find a SOCKS
  3331. connection waiting for a descriptor that we actually have in the
  3332. cache. It turns out that this can actually happen, though it is
  3333. rare. Now, tor will recover and retry the descriptor. Fixes bug
  3334. 28669; bugfix on 0.3.2.4-alpha.
  3335. o Minor bugfixes (IPv6, backport from 0.4.0.1-alpha):
  3336. - Fix tor_ersatz_socketpair on IPv6-only systems. Previously, the
  3337. IPv6 socket was bound using an address family of AF_INET instead
  3338. of AF_INET6. Fixes bug 28995; bugfix on 0.3.5.1-alpha. Patch from
  3339. Kris Katterjohn.
  3340. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  3341. - Update Cargo.lock file to match the version made by the latest
  3342. version of Rust, so that "make distcheck" will pass again. Fixes
  3343. bug 29244; bugfix on 0.3.3.4-alpha.
  3344. o Minor bugfixes (client, clock skew, backport from 0.4.0.1-alpha):
  3345. - Select guards even if the consensus has expired, as long as the
  3346. consensus is still reasonably live. Fixes bug 24661; bugfix
  3347. on 0.3.0.1-alpha.
  3348. o Minor bugfixes (compilation, backport from 0.4.0.1-alpha):
  3349. - Compile correctly on OpenBSD; previously, we were missing some
  3350. headers required in order to detect it properly. Fixes bug 28938;
  3351. bugfix on 0.3.5.1-alpha. Patch from Kris Katterjohn.
  3352. o Minor bugfixes (documentation, backport from 0.4.0.2-alpha):
  3353. - Describe the contents of the v3 onion service client authorization
  3354. files correctly: They hold public keys, not private keys. Fixes
  3355. bug 28979; bugfix on 0.3.5.1-alpha. Spotted by "Felixix".
  3356. o Minor bugfixes (logging, backport from 0.4.0.1-alpha):
  3357. - Rework rep_hist_log_link_protocol_counts() to iterate through all
  3358. link protocol versions when logging incoming/outgoing connection
  3359. counts. Tor no longer skips version 5, and we won't have to
  3360. remember to update this function when new link protocol version is
  3361. developed. Fixes bug 28920; bugfix on 0.2.6.10.
  3362. o Minor bugfixes (logging, backport from 0.4.0.2-alpha):
  3363. - Log more information at "warning" level when unable to read a
  3364. private key; log more information at "info" level when unable to
  3365. read a public key. We had warnings here before, but they were lost
  3366. during our NSS work. Fixes bug 29042; bugfix on 0.3.5.1-alpha.
  3367. o Minor bugfixes (misc, backport from 0.4.0.2-alpha):
  3368. - The amount of total available physical memory is now determined
  3369. using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
  3370. when it is defined and a 64-bit variant is not available. Fixes
  3371. bug 28981; bugfix on 0.2.5.4-alpha. Patch from Kris Katterjohn.
  3372. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  3373. - Avoid crashing if ClientOnionAuthDir (incorrectly) contains more
  3374. than one private key for a hidden service. Fixes bug 29040; bugfix
  3375. on 0.3.5.1-alpha.
  3376. - In hs_cache_store_as_client() log an HSDesc we failed to parse at
  3377. "debug" level. Tor used to log it as a warning, which caused very
  3378. long log lines to appear for some users. Fixes bug 29135; bugfix
  3379. on 0.3.2.1-alpha.
  3380. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  3381. as a warning. Instead, log it as a protocol warning, because there
  3382. is nothing that relay operators can do to fix it. Fixes bug 29029;
  3383. bugfix on 0.2.5.7-rc.
  3384. o Minor bugfixes (tests, directory clients, backport from 0.4.0.1-alpha):
  3385. - Mark outdated dirservers when Tor only has a reasonably live
  3386. consensus. Fixes bug 28569; bugfix on 0.3.2.5-alpha.
  3387. o Minor bugfixes (tests, backport from 0.4.0.2-alpha):
  3388. - Detect and suppress "bug" warnings from the util/time test on
  3389. Windows. Fixes bug 29161; bugfix on 0.2.9.3-alpha.
  3390. - Do not log an error-level message if we fail to find an IPv6
  3391. network interface from the unit tests. Fixes bug 29160; bugfix
  3392. on 0.2.7.3-rc.
  3393. o Minor bugfixes (usability, backport from 0.4.0.1-alpha):
  3394. - Stop saying "Your Guard ..." in pathbias_measure_{use,close}_rate().
  3395. Some users took this phrasing to mean that the mentioned guard was
  3396. under their control or responsibility, which it is not. Fixes bug
  3397. 28895; bugfix on Tor 0.3.0.1-alpha.
  3398. Changes in version 0.3.4.11 - 2019-02-21
  3399. Tor 0.3.4.11 is the third stable release in its series. It includes
  3400. a fix for a medium-severity security bug affecting Tor 0.3.2.1-alpha and
  3401. later. All Tor instances running an affected release should upgrade to
  3402. 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  3403. o Major bugfixes (cell scheduler, KIST, security):
  3404. - Make KIST consider the outbuf length when computing what it can
  3405. put in the outbuf. Previously, KIST acted as though the outbuf
  3406. were empty, which could lead to the outbuf becoming too full. It
  3407. is possible that an attacker could exploit this bug to cause a Tor
  3408. client or relay to run out of memory and crash. Fixes bug 29168;
  3409. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  3410. TROVE-2019-001 and CVE-2019-8955.
  3411. o Minor features (geoip):
  3412. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  3413. Country database. Closes ticket 29478.
  3414. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  3415. - Update Cargo.lock file to match the version made by the latest
  3416. version of Rust, so that "make distcheck" will pass again. Fixes
  3417. bug 29244; bugfix on 0.3.3.4-alpha.
  3418. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  3419. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  3420. as a warning. Instead, log it as a protocol warning, because there
  3421. is nothing that relay operators can do to fix it. Fixes bug 29029;
  3422. bugfix on 0.2.5.7-rc.
  3423. Changes in version 0.3.3.12 - 2019-02-21
  3424. Tor 0.3.3.12 fixes a medium-severity security bug affecting Tor
  3425. 0.3.2.1-alpha and later. All Tor instances running an affected release
  3426. should upgrade to 0.3.3.12, 0.3.4.11, 0.3.5.8, or 0.4.0.2-alpha.
  3427. This release marks the end of support for the Tor 0.3.3.x series. We
  3428. recommend that users switch to either the Tor 0.3.4 series (supported
  3429. until at least 10 June 2019), or the Tor 0.3.5 series, which will
  3430. receive long-term support until at least 1 Feb 2022.
  3431. o Major bugfixes (cell scheduler, KIST, security):
  3432. - Make KIST consider the outbuf length when computing what it can
  3433. put in the outbuf. Previously, KIST acted as though the outbuf
  3434. were empty, which could lead to the outbuf becoming too full. It
  3435. is possible that an attacker could exploit this bug to cause a Tor
  3436. client or relay to run out of memory and crash. Fixes bug 29168;
  3437. bugfix on 0.3.2.1-alpha. This issue is also being tracked as
  3438. TROVE-2019-001 and CVE-2019-8955.
  3439. o Minor features (geoip):
  3440. - Update geoip and geoip6 to the February 5 2019 Maxmind GeoLite2
  3441. Country database. Closes ticket 29478.
  3442. o Minor bugfixes (build, compatibility, rust, backport from 0.4.0.2-alpha):
  3443. - Update Cargo.lock file to match the version made by the latest
  3444. version of Rust, so that "make distcheck" will pass again. Fixes
  3445. bug 29244; bugfix on 0.3.3.4-alpha.
  3446. o Minor bugfixes (onion services, backport from 0.4.0.2-alpha):
  3447. - Stop logging "Tried to establish rendezvous on non-OR circuit..."
  3448. as a warning. Instead, log it as a protocol warning, because there
  3449. is nothing that relay operators can do to fix it. Fixes bug 29029;
  3450. bugfix on 0.2.5.7-rc.
  3451. Changes in version 0.3.3.11 - 2019-01-07
  3452. Tor 0.3.3.11 backports numerous fixes from later versions of Tor.
  3453. numerous fixes, including an important fix for anyone using OpenSSL
  3454. 1.1.1. Anyone running an earlier version of Tor 0.3.3 should upgrade
  3455. to this version, or to a later series.
  3456. As a reminder, support the Tor 0.3.3 series will end on 22 Feb 2019.
  3457. We anticipate that this will be the last release of Tor 0.3.3, unless
  3458. some major bug is before then. Some time between now and then, users
  3459. should switch to either the Tor 0.3.4 series (supported until at least
  3460. 10 June 2019), or the Tor 0.3.5 series, which will receive long-term
  3461. support until at least 1 Feb 2022.
  3462. o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
  3463. - Fix our usage of named groups when running as a TLS 1.3 client in
  3464. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  3465. running as a relay, which caused clients to fail to negotiate TLS
  3466. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  3467. support was added).
  3468. o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
  3469. - Fix a use-after-free error that could be caused by passing Tor an
  3470. impossible set of options that would fail during options_act().
  3471. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  3472. o Minor features (continuous integration, backport from 0.3.5.1-alpha):
  3473. - Only run one online rust build in Travis, to reduce network
  3474. errors. Skip offline rust builds on Travis for Linux gcc, because
  3475. they're redundant. Implements ticket 27252.
  3476. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  3477. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  3478. Linux with default settings, because all the non-default builds
  3479. use gcc on Linux. Implements ticket 27252.
  3480. o Minor features (continuous integration, backport from 0.3.5.3-alpha):
  3481. - Use the Travis Homebrew addon to install packages on macOS during
  3482. Travis CI. The package list is the same, but the Homebrew addon
  3483. does not do a `brew update` by default. Implements ticket 27738.
  3484. o Minor features (fallback directory list, backport from 0.3.5.6-rc):
  3485. - Replace the 150 fallbacks originally introduced in Tor
  3486. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  3487. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  3488. removed) generated in December 2018. Closes ticket 24803.
  3489. o Minor features (geoip):
  3490. - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
  3491. Country database. Closes ticket 29012.
  3492. o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
  3493. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  3494. key export function from handling long labels. When this bug is
  3495. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  3496. version of OpenSSL without this bug when it becomes available.
  3497. Closes ticket 28973.
  3498. o Minor bugfixes (relay statistics, backport from 0.3.5.7):
  3499. - Update relay descriptor on bandwidth changes only when the uptime
  3500. is smaller than 24h, in order to reduce the efficiency of guard
  3501. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  3502. o Minor bugfixes (C correctness, backport from 0.3.5.4-alpha):
  3503. - Avoid undefined behavior in an end-of-string check when parsing
  3504. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  3505. on 0.2.0.3-alpha.
  3506. o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
  3507. - Rewrite our assertion macros so that they no longer suppress the
  3508. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  3509. o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
  3510. - Initialize a variable unconditionally in aes_new_cipher(), since
  3511. some compilers cannot tell that we always initialize it before
  3512. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  3513. o Minor bugfixes (directory authority, backport from 0.3.5.4-alpha):
  3514. - Log additional info when we get a relay that shares an ed25519 ID
  3515. with a different relay, instead making a BUG() warning. Fixes bug
  3516. 27800; bugfix on 0.3.2.1-alpha.
  3517. o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
  3518. - When a user requests a group-readable DataDirectory, give it to
  3519. them. Previously, when the DataDirectory and the CacheDirectory
  3520. were the same, the default setting (0) for
  3521. CacheDirectoryGroupReadable would override the setting for
  3522. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  3523. on 0.3.3.1-alpha.
  3524. o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
  3525. - When the onion service directory can't be created or has the wrong
  3526. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  3527. on 0.3.2.1-alpha.
  3528. o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
  3529. - Close all SOCKS request (for the same .onion) if the newly fetched
  3530. descriptor is unusable. Before that, we would close only the first
  3531. one leaving the other hanging and let to time out by themselves.
  3532. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  3533. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  3534. - Don't warn so loudly when Tor is unable to decode an onion
  3535. descriptor. This can now happen as a normal use case if a client
  3536. gets a descriptor with client authorization but the client is not
  3537. authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
  3538. o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
  3539. - When deleting an ephemeral onion service (DEL_ONION), do not close
  3540. any rendezvous circuits in order to let the existing client
  3541. connections finish by themselves or closed by the application. The
  3542. HS v2 is doing that already so now we have the same behavior for
  3543. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  3544. o Minor bugfixes (HTTP tunnel):
  3545. - Fix a bug warning when closing an HTTP tunnel connection due to
  3546. an HTTP request we couldn't handle. Fixes bug 26470; bugfix on
  3547. 0.3.2.1-alpha.
  3548. o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
  3549. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  3550. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  3551. o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
  3552. - Ensure circuitmux queues are empty before scheduling or sending
  3553. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  3554. o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
  3555. - Reject protocol names containing bytes other than alphanumeric
  3556. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  3557. on 0.2.9.4-alpha.
  3558. o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
  3559. - Compute protover votes correctly in the rust version of the
  3560. protover code. Previously, the protover rewrite in 24031 allowed
  3561. repeated votes from the same voter for the same protocol version
  3562. to be counted multiple times in protover_compute_vote(). Fixes bug
  3563. 27649; bugfix on 0.3.3.5-rc.
  3564. - Reject protover names that contain invalid characters. Fixes bug
  3565. 27687; bugfix on 0.3.3.1-alpha.
  3566. o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
  3567. - protover_all_supported() would attempt to allocate up to 16GB on
  3568. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  3569. bugfix on 0.3.3.5-rc.
  3570. o Minor bugfixes (rust, backport from 0.3.5.4-alpha):
  3571. - Fix a potential null dereference in protover_all_supported(). Add
  3572. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  3573. - Return a string that can be safely freed by C code, not one
  3574. created by the rust allocator, in protover_all_supported(). Fixes
  3575. bug 27740; bugfix on 0.3.3.1-alpha.
  3576. - Fix an API mismatch in the rust implementation of
  3577. protover_compute_vote(). This bug could have caused crashes on any
  3578. directory authorities running Tor with Rust (which we do not yet
  3579. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  3580. o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
  3581. - If a unit test running in a subprocess exits abnormally or with a
  3582. nonzero status code, treat the test as having failed, even if the
  3583. test reported success. Without this fix, memory leaks don't cause
  3584. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  3585. bugfix on 0.2.2.4-alpha.
  3586. o Minor bugfixes (testing, backport from 0.3.5.4-alpha):
  3587. - Treat backtrace test failures as expected on BSD-derived systems
  3588. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  3589. (FreeBSD failures have been treated as expected since 18204 in
  3590. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  3591. o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
  3592. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  3593. bugfix on 0.3.0.1-alpha.
  3594. Changes in version 0.3.4.10 - 2019-01-07
  3595. Tor 0.3.4.9 is the second stable release in its series; it backports
  3596. numerous fixes, including an important fix for relays, and for anyone
  3597. using OpenSSL 1.1.1. Anyone running an earlier version of Tor 0.3.4
  3598. should upgrade.
  3599. As a reminder, the Tor 0.3.4 series will be supported until 10 June
  3600. 2019. Some time between now and then, users should switch to the Tor
  3601. 0.3.5 series, which will receive long-term support until at least 1
  3602. Feb 2022.
  3603. o Major bugfixes (OpenSSL, portability, backport from 0.3.5.5-alpha):
  3604. - Fix our usage of named groups when running as a TLS 1.3 client in
  3605. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  3606. running as a relay, which caused clients to fail to negotiate TLS
  3607. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  3608. support was added).
  3609. o Major bugfixes (relay, directory, backport from 0.3.5.7):
  3610. - Always reactivate linked connections in the main loop so long as
  3611. any linked connection has been active. Previously, connections
  3612. serving directory information wouldn't get reactivated after the
  3613. first chunk of data was sent (usually 32KB), which would prevent
  3614. clients from bootstrapping. Fixes bug 28912; bugfix on
  3615. 0.3.4.1-alpha. Patch by "cypherpunks3".
  3616. o Minor features (continuous integration, Windows, backport from 0.3.5.6-rc):
  3617. - Always show the configure and test logs, and upload them as build
  3618. artifacts, when building for Windows using Appveyor CI.
  3619. Implements 28459.
  3620. o Minor features (controller, backport from 0.3.5.1-alpha):
  3621. - For purposes of CIRC_BW-based dropped cell detection, track half-
  3622. closed stream ids, and allow their ENDs, SENDMEs, DATA and path
  3623. bias check cells to arrive without counting it as dropped until
  3624. either the END arrives, or the windows are empty. Closes
  3625. ticket 25573.
  3626. o Minor features (fallback directory list, backport from 0.3.5.6-rc):
  3627. - Replace the 150 fallbacks originally introduced in Tor
  3628. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  3629. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  3630. removed) generated in December 2018. Closes ticket 24803.
  3631. o Minor features (geoip):
  3632. - Update geoip and geoip6 to the November 6 2018 Maxmind GeoLite2
  3633. Country database. Closes ticket 28395.
  3634. o Minor features (OpenSSL bug workaround, backport from 0.3.5.7):
  3635. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  3636. key export function from handling long labels. When this bug is
  3637. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  3638. version of OpenSSL without this bug when it becomes available.
  3639. Closes ticket 28973.
  3640. o Minor bugfixes (compilation, backport from 0.3.5.5-alpha):
  3641. - Initialize a variable unconditionally in aes_new_cipher(), since
  3642. some compilers cannot tell that we always initialize it before
  3643. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  3644. o Minor bugfixes (connection, relay, backport from 0.3.5.5-alpha):
  3645. - Avoid a logging a BUG() stacktrace when closing connection held
  3646. open because the write side is rate limited but not the read side.
  3647. Now, the connection read side is simply shut down until Tor is
  3648. able to flush the connection and close it. Fixes bug 27750; bugfix
  3649. on 0.3.4.1-alpha.
  3650. o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.5-alpha):
  3651. - Manually configure the zstd compiler options, when building using
  3652. mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
  3653. not come with a pkg-config file. Fixes bug 28454; bugfix
  3654. on 0.3.4.1-alpha.
  3655. - Stop using an external OpenSSL install, and stop installing MSYS2
  3656. packages, when building using mingw on Appveyor Windows CI. Fixes
  3657. bug 28399; bugfix on 0.3.4.1-alpha.
  3658. o Minor bugfixes (continuous integration, Windows, backport from 0.3.5.6-rc):
  3659. - Explicitly specify the path to the OpenSSL library and do not
  3660. download OpenSSL from Pacman, but instead use the library that is
  3661. already provided by AppVeyor. Fixes bug 28574; bugfix on master.
  3662. o Minor bugfixes (directory permissions, backport form 0.3.5.3-alpha):
  3663. - When a user requests a group-readable DataDirectory, give it to
  3664. them. Previously, when the DataDirectory and the CacheDirectory
  3665. were the same, the default setting (0) for
  3666. CacheDirectoryGroupReadable would override the setting for
  3667. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  3668. on 0.3.3.1-alpha.
  3669. o Minor bugfixes (memory leaks, backport from 0.3.5.5-alpha):
  3670. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  3671. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  3672. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  3673. - Don't warn so loudly when Tor is unable to decode an onion
  3674. descriptor. This can now happen as a normal use case if a client
  3675. gets a descriptor with client authorization but the client is not
  3676. authorized. Fixes bug 27550; bugfix on 0.3.5.1-alpha.
  3677. o Minor bugfixes (onion service v3, backport from 0.3.5.6-rc):
  3678. - When deleting an ephemeral onion service (DEL_ONION), do not close
  3679. any rendezvous circuits in order to let the existing client
  3680. connections finish by themselves or closed by the application. The
  3681. HS v2 is doing that already so now we have the same behavior for
  3682. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  3683. o Minor bugfixes (relay statistics, backport from 0.3.5.7):
  3684. - Update relay descriptor on bandwidth changes only when the uptime
  3685. is smaller than 24h, in order to reduce the efficiency of guard
  3686. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  3687. o Minor bugfixes (unit tests, guard selection, backport from 0.3.5.6-rc):
  3688. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  3689. bugfix on 0.3.0.1-alpha.
  3690. Changes in version 0.3.5.7 - 2019-01-07
  3691. Tor 0.3.5.7 is the first stable release in its series; it includes
  3692. compilation and portability fixes, and a fix for a severe problem
  3693. affecting directory caches.
  3694. The Tor 0.3.5 series includes several new features and performance
  3695. improvements, including client authorization for v3 onion services,
  3696. cleanups to bootstrap reporting, support for improved bandwidth-
  3697. measurement tools, experimental support for NSS in place of OpenSSL,
  3698. and much more. It also begins a full reorganization of Tor's code
  3699. layout, for improved modularity and maintainability in the future.
  3700. Finally, there is the usual set of performance improvements and
  3701. bugfixes that we try to do in every release series.
  3702. There are a couple of changes in the 0.3.5 that may affect
  3703. compatibility. First, the default version for newly created onion
  3704. services is now v3. Use the HiddenServiceVersion option if you want to
  3705. override this. Second, some log messages related to bootstrapping have
  3706. changed; if you use stem, you may need to update to the latest version
  3707. so it will recognize them.
  3708. We have designated 0.3.5 as a "long-term support" (LTS) series: we
  3709. will continue to patch major bugs in typical configurations of 0.3.5
  3710. until at least 1 Feb 2022. (We do not plan to provide long-term
  3711. support for embedding, Rust support, NSS support, running a directory
  3712. authority, or unsupported platforms. For these, you will need to stick
  3713. with the latest stable release.)
  3714. Below are the changes since 0.3.4.9. For a complete list of changes
  3715. since 0.3.5.6-rc, see the ChangeLog file.
  3716. o Major features (bootstrap):
  3717. - Don't report directory progress until after a connection to a
  3718. relay or bridge has succeeded. Previously, we'd report 80%
  3719. progress based on cached directory information when we couldn't
  3720. even connect to the network. Closes ticket 27169.
  3721. o Major features (new code layout):
  3722. - Nearly all of Tor's source code has been moved around into more
  3723. logical places. The "common" directory is now divided into a set
  3724. of libraries in "lib", and files in the "or" directory have been
  3725. split into "core" (logic absolutely needed for onion routing),
  3726. "feature" (independent modules in Tor), and "app" (to configure
  3727. and invoke the rest of Tor). See doc/HACKING/CodeStructure.md for
  3728. more information. Closes ticket 26481.
  3729. This refactoring is not complete: although the libraries have been
  3730. refactored to be acyclic, the main body of Tor is still too
  3731. interconnected. We will attempt to improve this in the future.
  3732. o Major features (onion services v3):
  3733. - Implement onion service client authorization at the descriptor
  3734. level: only authorized clients can decrypt a service's descriptor
  3735. to find out how to contact it. A new torrc option was added to
  3736. control this client side: ClientOnionAuthDir <path>. On the
  3737. service side, if the "authorized_clients/" directory exists in the
  3738. onion service directory path, client configurations are read from
  3739. the files within. See the manpage for more details. Closes ticket
  3740. 27547. Patch done by Suphanat Chunhapanya (haxxpop).
  3741. - Improve revision counter generation in next-gen onion services.
  3742. Onion services can now scale by hosting multiple instances on
  3743. different hosts without synchronization between them, which was
  3744. previously impossible because descriptors would get rejected by
  3745. HSDirs. Addresses ticket 25552.
  3746. - Version 3 onion services can now use the per-service
  3747. HiddenServiceExportCircuitID option to differentiate client
  3748. circuits. It communicates with the service by using the HAProxy
  3749. protocol to assign virtual IP addresses to inbound client
  3750. circuits. Closes ticket 4700. Patch by Mahrud Sayrafi.
  3751. o Major features (onion services, UI change):
  3752. - For a newly created onion service, the default version is now 3.
  3753. Tor still supports existing version 2 services, but the operator
  3754. now needs to set "HiddenServiceVersion 2" in order to create a new
  3755. version 2 service. For existing services, Tor now learns the
  3756. version by reading the key file. Closes ticket 27215.
  3757. o Major features (portability, cryptography, experimental, TLS):
  3758. - Tor now has the option to compile with the NSS library instead of
  3759. OpenSSL. This feature is experimental, and we expect that bugs may
  3760. remain. It is mainly intended for environments where Tor's
  3761. performance is not CPU-bound, and where NSS is already known to be
  3762. installed. To try it out, configure Tor with the --enable-nss
  3763. flag. Closes tickets 26631, 26815, and 26816.
  3764. If you are experimenting with this option and using an old cached
  3765. consensus, Tor may fail to start. To solve this, delete your
  3766. "cached-consensus" and "cached-microdesc-consensus" files,
  3767. (if present), and restart Tor.
  3768. o Major features (relay, UI change):
  3769. - Relays no longer run as exits by default. If the "ExitRelay"
  3770. option is auto (or unset), and no exit policy is specified with
  3771. ExitPolicy or ReducedExitPolicy, we now treat ExitRelay as 0.
  3772. Previously in this case, we allowed exit traffic and logged a
  3773. warning message. Closes ticket 21530. Patch by Neel Chauhan.
  3774. - Tor now validates that the ContactInfo config option is valid UTF-
  3775. 8 when parsing torrc. Closes ticket 27428.
  3776. o Major bugfixes (compilation):
  3777. - Fix compilation on ARM (and other less-used CPUs) when compiling
  3778. with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
  3779. o Major bugfixes (compilation, rust):
  3780. - Rust tests can now build and run successfully with the
  3781. --enable-fragile-hardening option enabled. Doing this currently
  3782. requires the rust beta channel; it will be possible with stable
  3783. rust once Rust version 1.31 is released. Patch from Alex Crichton.
  3784. Fixes bugs 27272, 27273, and 27274. Bugfix on 0.3.1.1-alpha.
  3785. o Major bugfixes (directory authority):
  3786. - Actually check that the address we get from DirAuthority
  3787. configuration line is valid IPv4. Explicitly disallow DirAuthority
  3788. address to be a DNS hostname. Fixes bug 26488; bugfix
  3789. on 0.1.2.10-rc.
  3790. o Major bugfixes (embedding, main loop):
  3791. - When DisableNetwork becomes set, actually disable periodic events
  3792. that are already enabled. (Previously, we would refrain from
  3793. enabling new ones, but we would leave the old ones turned on.)
  3794. Fixes bug 28348; bugfix on 0.3.4.1-alpha.
  3795. o Major bugfixes (main loop, bootstrap):
  3796. - Make sure Tor bootstraps and works properly if only the
  3797. ControlPort is set. Prior to this fix, Tor would only bootstrap
  3798. when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
  3799. port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
  3800. o Major bugfixes (onion service v3):
  3801. - On an intro point for a version 3 onion service, stop closing
  3802. introduction circuits on a NACK. This lets the client decide
  3803. whether to reuse the circuit or discard it. Previously, we closed
  3804. intro circuits when sending NACKs. Fixes bug 27841; bugfix on
  3805. 0.3.2.1-alpha. Patch by Neel Chaunan.
  3806. o Major bugfixes (OpenSSL, portability):
  3807. - Fix our usage of named groups when running as a TLS 1.3 client in
  3808. OpenSSL 1.1.1. Previously, we only initialized EC groups when
  3809. running as a relay, which caused clients to fail to negotiate TLS
  3810. 1.3 with relays. Fixes bug 28245; bugfix on 0.2.9.15 (when TLS 1.3
  3811. support was added).
  3812. o Major bugfixes (relay bandwidth statistics):
  3813. - When we close relayed circuits, report the data in the circuit
  3814. queues as being written in our relay bandwidth stats. This
  3815. mitigates guard discovery and other attacks that close circuits
  3816. for the explicit purpose of noticing this discrepancy in
  3817. statistics. Fixes bug 23512; bugfix on 0.0.8pre3.
  3818. o Major bugfixes (relay):
  3819. - When our write bandwidth limit is exhausted, stop writing on the
  3820. connection. Previously, we had a typo in the code that would make
  3821. us stop reading instead, leading to relay connections being stuck
  3822. indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
  3823. on 0.3.4.1-alpha.
  3824. - Always reactivate linked connections in the main loop so long as
  3825. any linked connection has been active. Previously, connections
  3826. serving directory information wouldn't get reactivated after the
  3827. first chunk of data was sent (usually 32KB), which would prevent
  3828. clients from bootstrapping. Fixes bug 28912; bugfix on
  3829. 0.3.4.1-alpha. Patch by "cypherpunks3".
  3830. o Major bugfixes (restart-in-process):
  3831. - Fix a use-after-free error that could be caused by passing Tor an
  3832. impossible set of options that would fail during options_act().
  3833. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  3834. o Minor features (admin tools):
  3835. - Add a new --key-expiration option to print the expiration date of
  3836. the signing cert in an ed25519_signing_cert file. Resolves
  3837. issue 19506.
  3838. o Minor features (build):
  3839. - If you pass the "--enable-pic" option to configure, Tor will try
  3840. to tell the compiler to build position-independent code suitable
  3841. to link into a dynamic library. (The default remains -fPIE, for
  3842. code suitable for a relocatable executable.) Closes ticket 23846.
  3843. o Minor features (code correctness, testing):
  3844. - Tor's build process now includes a "check-includes" make target to
  3845. verify that no module of Tor relies on any headers from a higher-
  3846. level module. We hope to use this feature over time to help
  3847. refactor our codebase. Closes ticket 26447.
  3848. o Minor features (code layout):
  3849. - We have a new "lowest-level" error-handling API for use by code
  3850. invoked from within the logging module. With this interface, the
  3851. logging code is no longer at risk of calling into itself if a
  3852. failure occurs while it is trying to log something. Closes
  3853. ticket 26427.
  3854. o Minor features (compilation):
  3855. - When possible, place our warning flags in a separate file, to
  3856. avoid flooding verbose build logs. Closes ticket 28924.
  3857. - Tor's configure script now supports a --with-malloc= option to
  3858. select your malloc implementation. Supported options are
  3859. "tcmalloc", "jemalloc", "openbsd" (deprecated), and "system" (the
  3860. default). Addresses part of ticket 20424. Based on a patch from
  3861. Alex Xu.
  3862. o Minor features (config):
  3863. - The "auto" keyword in torrc is now case-insensitive. Closes
  3864. ticket 26663.
  3865. o Minor features (continuous integration):
  3866. - Add a Travis CI build for --enable-nss on Linux gcc. Closes
  3867. ticket 27751.
  3868. - Add new CI job to Travis configuration to run stem-based
  3869. integration tests. Closes ticket 27913.
  3870. - Use the Travis Homebrew addon to install packages on macOS during
  3871. Travis CI. The package list is the same, but the Homebrew addon
  3872. does not do a `brew update` by default. Implements ticket 27738.
  3873. - Report what program produced the mysterious core file that we
  3874. occasionally see on Travis CI during make distcheck. Closes
  3875. ticket 28024.
  3876. - Don't do a distcheck with --disable-module-dirauth in Travis.
  3877. Implements ticket 27252.
  3878. - Install libcap-dev and libseccomp2-dev so these optional
  3879. dependencies get tested on Travis CI. Closes ticket 26560.
  3880. - Only run one online rust build in Travis, to reduce network
  3881. errors. Skip offline rust builds on Travis for Linux gcc, because
  3882. they're redundant. Implements ticket 27252.
  3883. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  3884. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  3885. Linux with default settings, because all the non-default builds
  3886. use gcc on Linux. Implements ticket 27252.
  3887. o Minor features (continuous integration, Windows):
  3888. - Always show the configure and test logs, and upload them as build
  3889. artifacts, when building for Windows using Appveyor CI.
  3890. Implements 28459.
  3891. - Build tor on Windows Server 2012 R2 and Windows Server 2016 using
  3892. Appveyor's CI. Closes ticket 28318.
  3893. o Minor features (controller):
  3894. - Emit CIRC_BW events as soon as we detect that we processed an
  3895. invalid or otherwise dropped cell on a circuit. This allows
  3896. vanguards and other controllers to react more quickly to dropped
  3897. cells. Closes ticket 27678.
  3898. - For purposes of CIRC_BW-based dropped cell detection, track half-
  3899. closed stream ids, and allow their ENDs, SENDMEs, DATA and path
  3900. bias check cells to arrive without counting it as dropped until
  3901. either the END arrives, or the windows are empty. Closes
  3902. ticket 25573.
  3903. - Implement a 'GETINFO md/all' controller command to enable getting
  3904. all known microdescriptors. Closes ticket 8323.
  3905. - The GETINFO command now support an "uptime" argument, to return
  3906. Tor's uptime in seconds. Closes ticket 25132.
  3907. o Minor features (denial-of-service avoidance):
  3908. - Make our OOM handler aware of the DNS cache so that it doesn't
  3909. fill up the memory. This check is important for our DoS mitigation
  3910. subsystem. Closes ticket 18642. Patch by Neel Chauhan.
  3911. o Minor features (development):
  3912. - Tor's makefile now supports running the "clippy" Rust style tool
  3913. on our Rust code. Closes ticket 22156.
  3914. o Minor features (directory authority):
  3915. - There is no longer an artificial upper limit on the length of
  3916. bandwidth lines. Closes ticket 26223.
  3917. - When a bandwidth file is used to obtain the bandwidth measurements,
  3918. include this bandwidth file headers in the votes. Closes
  3919. ticket 3723.
  3920. - Improved support for networks with only a single authority or a
  3921. single fallback directory. Patch from Gabriel Somlo. Closes
  3922. ticket 25928.
  3923. o Minor features (embedding API):
  3924. - The Tor controller API now supports a function to launch Tor with
  3925. a preconstructed owning controller FD, so that embedding
  3926. applications don't need to manage controller ports and
  3927. authentication. Closes ticket 24204.
  3928. - The Tor controller API now has a function that returns the name
  3929. and version of the backend implementing the API. Closes
  3930. ticket 26947.
  3931. o Minor features (fallback directory list):
  3932. - Replace the 150 fallbacks originally introduced in Tor
  3933. 0.3.3.1-alpha in January 2018 (of which ~115 were still
  3934. functional), with a list of 157 fallbacks (92 new, 65 existing, 85
  3935. removed) generated in December 2018. Closes ticket 24803.
  3936. o Minor features (geoip):
  3937. - Update geoip and geoip6 to the January 3 2019 Maxmind GeoLite2
  3938. Country database. Closes ticket 29012.
  3939. o Minor features (memory management):
  3940. - Get Libevent to use the same memory allocator as Tor, by calling
  3941. event_set_mem_functions() during initialization. Resolves
  3942. ticket 8415.
  3943. o Minor features (memory usage):
  3944. - When not using them, store legacy TAP public onion keys in DER-
  3945. encoded format, rather than as expanded public keys. This should
  3946. save several megabytes on typical clients. Closes ticket 27246.
  3947. o Minor features (OpenSSL bug workaround):
  3948. - Work around a bug in OpenSSL 1.1.1a, which prevented the TLS 1.3
  3949. key export function from handling long labels. When this bug is
  3950. detected, Tor will disable TLS 1.3. We recommend upgrading to a
  3951. version of OpenSSL without this bug when it becomes available.
  3952. Closes ticket 28973.
  3953. o Minor features (OpenSSL):
  3954. - When possible, use RFC5869 HKDF implementation from OpenSSL rather
  3955. than our own. Resolves ticket 19979.
  3956. o Minor features (performance):
  3957. - Remove about 96% of the work from the function that we run at
  3958. startup to test our curve25519_basepoint implementation. Since
  3959. this function has yet to find an actual failure, we now only run
  3960. it for 8 iterations instead of 200. Based on our profile
  3961. information, this change should save around 8% of our startup time
  3962. on typical desktops, and may have a similar effect on other
  3963. platforms. Closes ticket 28838.
  3964. - Stop re-validating our hardcoded Diffie-Hellman parameters on
  3965. every startup. Doing this wasted time and cycles, especially on
  3966. low-powered devices. Closes ticket 28851.
  3967. o Minor features (Rust, code quality):
  3968. - Improve rust code quality in the rust protover implementation by
  3969. making it more idiomatic. Includes changing an internal API to
  3970. take &str instead of &String. Closes ticket 26492.
  3971. o Minor features (testing):
  3972. - Add scripts/test/chutney-git-bisect.sh, for bisecting using
  3973. chutney. Implements ticket 27211.
  3974. o Minor features (tor-resolve):
  3975. - The tor-resolve utility can now be used with IPv6 SOCKS proxies.
  3976. Side-effect of the refactoring for ticket 26526.
  3977. o Minor features (UI):
  3978. - Log each included configuration file or directory as we read it,
  3979. to provide more visibility about where Tor is reading from. Patch
  3980. from Unto Sten; closes ticket 27186.
  3981. - Lower log level of "Scheduler type KIST has been enabled" to INFO.
  3982. Closes ticket 26703.
  3983. o Minor bugfixes (32-bit OSX and iOS, timing):
  3984. - Fix an integer overflow bug in our optimized 32-bit millisecond-
  3985. difference algorithm for 32-bit Apple platforms. Previously, it
  3986. would overflow when calculating the difference between two times
  3987. more than 47 days apart. Fixes part of bug 27139; bugfix
  3988. on 0.3.4.1-alpha.
  3989. - Improve the precision of our 32-bit millisecond difference
  3990. algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
  3991. bugfix on 0.3.4.1-alpha.
  3992. - Relax the tolerance on the mainloop/update_time_jumps test when
  3993. running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
  3994. on 0.3.4.1-alpha.
  3995. o Minor bugfixes (bootstrap):
  3996. - Try harder to get descriptors in non-exit test networks, by using
  3997. the mid weight for the third hop when there are no exits. Fixes
  3998. bug 27237; bugfix on 0.2.6.2-alpha.
  3999. o Minor bugfixes (C correctness):
  4000. - Avoid casting smartlist index to int implicitly, as it may trigger
  4001. a warning (-Wshorten-64-to-32). Fixes bug 26282; bugfix on
  4002. 0.2.3.13-alpha, 0.2.7.1-alpha and 0.2.1.1-alpha.
  4003. - Use time_t for all values in
  4004. predicted_ports_prediction_time_remaining(). Rework the code that
  4005. computes difference between durations/timestamps. Fixes bug 27165;
  4006. bugfix on 0.3.1.1-alpha.
  4007. o Minor bugfixes (client, memory usage):
  4008. - When not running as a directory cache, there is no need to store
  4009. the text of the current consensus networkstatus in RAM.
  4010. Previously, however, clients would store it anyway, at a cost of
  4011. over 5 MB. Now, they do not. Fixes bug 27247; bugfix
  4012. on 0.3.0.1-alpha.
  4013. o Minor bugfixes (client, ReachableAddresses):
  4014. - Instead of adding a "reject *:*" line to ReachableAddresses when
  4015. loading the configuration, add one to the policy after parsing it
  4016. in parse_reachable_addresses(). This prevents extra "reject *.*"
  4017. lines from accumulating on reloads. Fixes bug 20874; bugfix on
  4018. 0.1.1.5-alpha. Patch by Neel Chauhan.
  4019. o Minor bugfixes (code quality):
  4020. - Rename sandbox_getaddrinfo() and other functions to no longer
  4021. misleadingly suggest that they are sandbox-only. Fixes bug 26525;
  4022. bugfix on 0.2.7.1-alpha.
  4023. o Minor bugfixes (code safety):
  4024. - Rewrite our assertion macros so that they no longer suppress the
  4025. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  4026. on 0.0.6.
  4027. o Minor bugfixes (compilation):
  4028. - Initialize a variable unconditionally in aes_new_cipher(), since
  4029. some compilers cannot tell that we always initialize it before
  4030. use. Fixes bug 28413; bugfix on 0.2.9.3-alpha.
  4031. o Minor bugfixes (configuration):
  4032. - Refuse to start with relative file paths and RunAsDaemon set
  4033. (regression from the fix for bug 22731). Fixes bug 28298; bugfix
  4034. on 0.3.3.1-alpha.
  4035. o Minor bugfixes (configuration, Onion Services):
  4036. - In rend_service_parse_port_config(), disallow any input to remain
  4037. after address-port pair was parsed. This will catch address and
  4038. port being whitespace-separated by mistake of the user. Fixes bug
  4039. 27044; bugfix on 0.2.9.10.
  4040. o Minor bugfixes (connection, relay):
  4041. - Avoid a logging a BUG() stacktrace when closing connection held
  4042. open because the write side is rate limited but not the read side.
  4043. Now, the connection read side is simply shut down until Tor is
  4044. able to flush the connection and close it. Fixes bug 27750; bugfix
  4045. on 0.3.4.1-alpha.
  4046. o Minor bugfixes (continuous integration, Windows):
  4047. - Stop reinstalling identical packages in our Windows CI. Fixes bug
  4048. 27464; bugfix on 0.3.4.1-alpha.
  4049. - Install only the necessary mingw packages during our appveyor
  4050. builds. This change makes the build a little faster, and prevents
  4051. a conflict with a preinstalled mingw openssl that appveyor now
  4052. ships. Fixes bugs 27765 and 27943; bugfix on 0.3.4.2-alpha.
  4053. - Explicitly specify the path to the OpenSSL library and do not
  4054. download OpenSSL from Pacman, but instead use the library that is
  4055. already provided by AppVeyor. Fixes bug 28574; bugfix on master.
  4056. - Manually configure the zstd compiler options, when building using
  4057. mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does
  4058. not come with a pkg-config file. Fixes bug 28454; bugfix
  4059. on 0.3.4.1-alpha.
  4060. - Stop using an external OpenSSL install, and stop installing MSYS2
  4061. packages, when building using mingw on Appveyor Windows CI. Fixes
  4062. bug 28399; bugfix on 0.3.4.1-alpha.
  4063. o Minor bugfixes (controller):
  4064. - Consider all routerinfo errors other than "not a server" to be
  4065. transient for the purpose of "GETINFO exit-policy/*" controller
  4066. request. Print stacktrace in the unlikely case of failing to
  4067. recompute routerinfo digest. Fixes bug 27034; bugfix
  4068. on 0.3.4.1-alpha.
  4069. o Minor bugfixes (correctness):
  4070. - Fix an unreached code path where we checked the value of
  4071. "hostname" inside send_resolved_hostname_cell(). Previously, we
  4072. used it before checking it; now we check it first. Fixes bug
  4073. 28879; bugfix on 0.1.2.7-alpha.
  4074. o Minor bugfixes (directory connection shutdown):
  4075. - Avoid a double-close when shutting down a stalled directory
  4076. connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
  4077. o Minor bugfixes (directory permissions):
  4078. - When a user requests a group-readable DataDirectory, give it to
  4079. them. Previously, when the DataDirectory and the CacheDirectory
  4080. were the same, the default setting (0) for
  4081. CacheDirectoryGroupReadable would override the setting for
  4082. DataDirectoryGroupReadable. Fixes bug 26913; bugfix
  4083. on 0.3.3.1-alpha.
  4084. o Minor bugfixes (HTTP tunnel):
  4085. - Fix a bug warning when closing an HTTP tunnel connection due to an
  4086. HTTP request we couldn't handle. Fixes bug 26470; bugfix
  4087. on 0.3.2.1-alpha.
  4088. o Minor bugfixes (ipv6):
  4089. - In addrs_in_same_network_family(), we choose the subnet size based
  4090. on the IP version (IPv4 or IPv6). Previously, we chose a fixed
  4091. subnet size of /16 for both IPv4 and IPv6 addresses. Fixes bug
  4092. 15518; bugfix on 0.2.3.1-alpha. Patch by Neel Chauhan.
  4093. o Minor bugfixes (Linux seccomp2 sandbox):
  4094. - Permit the "shutdown()" system call, which is apparently used by
  4095. OpenSSL under some circumstances. Fixes bug 28183; bugfix
  4096. on 0.2.5.1-alpha.
  4097. o Minor bugfixes (logging):
  4098. - Stop talking about the Named flag in log messages. Clients have
  4099. ignored the Named flag since 0.3.2. Fixes bug 28441; bugfix
  4100. on 0.3.2.1-alpha.
  4101. - As a precaution, do an early return from log_addr_has_changed() if
  4102. Tor is running as client. Also, log a stack trace for debugging as
  4103. this function should only be called when Tor runs as server. Fixes
  4104. bug 26892; bugfix on 0.1.1.9-alpha.
  4105. - Refrain from mentioning bug 21018 in the logs, as it is already
  4106. fixed. Fixes bug 25477; bugfix on 0.2.9.8.
  4107. o Minor bugfixes (logging, documentation):
  4108. - When SafeLogging is enabled, scrub IP address in
  4109. channel_tls_process_netinfo_cell(). Also, add a note to manpage
  4110. that scrubbing is not guaranteed on loglevels below Notice. Fixes
  4111. bug 26882; bugfix on 0.2.4.10-alpha.
  4112. o Minor bugfixes (memory leaks):
  4113. - Fix a harmless memory leak in libtorrunner.a. Fixes bug 28419;
  4114. bugfix on 0.3.3.1-alpha. Patch from Martin Kepplinger.
  4115. - Fix a small memory leak when calling Tor with --dump-config. Fixes
  4116. bug 27893; bugfix on 0.3.2.1-alpha.
  4117. o Minor bugfixes (netflow padding):
  4118. - Ensure circuitmux queues are empty before scheduling or sending
  4119. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  4120. o Minor bugfixes (onion service v2):
  4121. - Log at level "info", not "warning", in the case that we do not
  4122. have a consensus when a .onion request comes in. This can happen
  4123. normally while bootstrapping. Fixes bug 27040; bugfix
  4124. on 0.2.8.2-alpha.
  4125. o Minor bugfixes (onion service v3):
  4126. - When deleting an ephemeral onion service (DEL_ONION), do not close
  4127. any rendezvous circuits in order to let the existing client
  4128. connections finish by themselves or closed by the application. The
  4129. HS v2 is doing that already so now we have the same behavior for
  4130. all versions. Fixes bug 28619; bugfix on 0.3.3.1-alpha.
  4131. - Build the service descriptor's signing key certificate before
  4132. uploading, so we always have a fresh one: leaving no chances for
  4133. it to expire service side. Fixes bug 27838; bugfix
  4134. on 0.3.2.1-alpha.
  4135. - Stop dumping a stack trace when trying to connect to an intro
  4136. point without having a descriptor for it. Fixes bug 27774; bugfix
  4137. on 0.3.2.1-alpha.
  4138. - When selecting a v3 rendezvous point, don't only look at the
  4139. protover, but also check whether the curve25519 onion key is
  4140. present. This way we avoid picking a relay that supports the v3
  4141. rendezvous but for which we don't have the microdescriptor. Fixes
  4142. bug 27797; bugfix on 0.3.2.1-alpha.
  4143. - Close all SOCKS request (for the same .onion) if the newly fetched
  4144. descriptor is unusable. Before that, we would close only the first
  4145. one leaving the other hanging and let to time out by themselves.
  4146. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  4147. - When the onion service directory can't be created or has the wrong
  4148. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  4149. on 0.3.2.1-alpha.
  4150. - When replacing a descriptor in the client cache, make sure to
  4151. close all client introduction circuits for the old descriptor, so
  4152. we don't end up with unusable leftover circuits. Fixes bug 27471;
  4153. bugfix on 0.3.2.1-alpha.
  4154. o Minor bugfixes (OS compatibility):
  4155. - Properly handle configuration changes that move a listener to/from
  4156. wildcard IP address. If the first attempt to bind a socket fails,
  4157. close the old listener and try binding the socket again. Fixes bug
  4158. 17873; bugfix on 0.0.8pre-1.
  4159. o Minor bugfixes (performance)::
  4160. - Rework node_is_a_configured_bridge() to no longer call
  4161. node_get_all_orports(), which was performing too many memory
  4162. allocations. Fixes bug 27224; bugfix on 0.2.3.9.
  4163. o Minor bugfixes (protover):
  4164. - Reject protocol names containing bytes other than alphanumeric
  4165. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  4166. on 0.2.9.4-alpha.
  4167. o Minor bugfixes (protover, rust):
  4168. - Reject extra commas in version strings. Fixes bug 27197; bugfix
  4169. on 0.3.3.3-alpha.
  4170. - protover_all_supported() would attempt to allocate up to 16GB on
  4171. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  4172. bugfix on 0.3.3.5-rc.
  4173. - Compute protover votes correctly in the rust version of the
  4174. protover code. Previously, the protover rewrite in 24031 allowed
  4175. repeated votes from the same voter for the same protocol version
  4176. to be counted multiple times in protover_compute_vote(). Fixes bug
  4177. 27649; bugfix on 0.3.3.5-rc.
  4178. - Reject protover names that contain invalid characters. Fixes bug
  4179. 27687; bugfix on 0.3.3.1-alpha.
  4180. o Minor bugfixes (relay shutdown, systemd):
  4181. - Notify systemd of ShutdownWaitLength so it can be set to longer
  4182. than systemd's TimeoutStopSec. In Tor's systemd service file, set
  4183. TimeoutSec to 60 seconds to allow Tor some time to shut down.
  4184. Fixes bug 28113; bugfix on 0.2.6.2-alpha.
  4185. o Minor bugfixes (relay statistics):
  4186. - Update relay descriptor on bandwidth changes only when the uptime
  4187. is smaller than 24h, in order to reduce the efficiency of guard
  4188. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  4189. o Minor bugfixes (relay):
  4190. - Consider the fact that we'll be making direct connections to our
  4191. entry and guard nodes when computing the fraction of nodes that
  4192. have their descriptors. Also, if we are using bridges and there is
  4193. at least one bridge with a full descriptor, treat the fraction of
  4194. guards available as 100%. Fixes bug 25886; bugfix on 0.2.4.10-alpha.
  4195. Patch by Neel Chauhan.
  4196. - Update the message logged on relays when DirCache is disabled.
  4197. Since 0.3.3.5-rc, authorities require DirCache (V2Dir) for the
  4198. Guard flag. Fixes bug 24312; bugfix on 0.3.3.5-rc.
  4199. o Minor bugfixes (testing):
  4200. - Stop running stem's unit tests as part of "make test-stem", but
  4201. continue to run stem's unit and online tests during "make test-
  4202. stem-full". Fixes bug 28568; bugfix on 0.2.6.3-alpha.
  4203. - Stop leaking memory in an entry guard unit test. Fixes bug 28554;
  4204. bugfix on 0.3.0.1-alpha.
  4205. - Make the hs_service tests use the same time source when creating
  4206. the introduction point and when testing it. Now tests work better
  4207. on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
  4208. on 0.3.2.1-alpha.
  4209. - Revise the "conditionvar_timeout" test so that it succeeds even on
  4210. heavily loaded systems where the test threads are not scheduled
  4211. within 200 msec. Fixes bug 27073; bugfix on 0.2.6.3-alpha.
  4212. - Fix two unit tests to work when HOME environment variable is not
  4213. set. Fixes bug 27096; bugfix on 0.2.8.1-alpha.
  4214. - If a unit test running in a subprocess exits abnormally or with a
  4215. nonzero status code, treat the test as having failed, even if the
  4216. test reported success. Without this fix, memory leaks don't cause
  4217. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  4218. bugfix on 0.2.2.4-alpha.
  4219. - When logging a version mismatch in our openssl_version tests,
  4220. report the actual offending version strings. Fixes bug 26152;
  4221. bugfix on 0.2.9.1-alpha.
  4222. - Fix forking tests on Windows when there is a space somewhere in
  4223. the path. Fixes bug 26437; bugfix on 0.2.2.4-alpha.
  4224. o Minor bugfixes (Windows):
  4225. - Correctly identify Windows 8.1, Windows 10, and Windows Server
  4226. 2008 and later from their NT versions. Fixes bug 28096; bugfix on
  4227. 0.2.2.34; reported by Keifer Bly.
  4228. - On recent Windows versions, the GetVersionEx() function may report
  4229. an earlier Windows version than the running OS. To avoid user
  4230. confusion, add "[or later]" to Tor's version string on affected
  4231. versions of Windows. Fixes bug 28096; bugfix on 0.2.2.34; reported
  4232. by Keifer Bly.
  4233. - Remove Windows versions that were never supported by the
  4234. GetVersionEx() function. Stop duplicating the latest Windows
  4235. version in get_uname(). Fixes bug 28096; bugfix on 0.2.2.34;
  4236. reported by Keifer Bly.
  4237. o Code simplification and refactoring:
  4238. - When parsing a port configuration, make it more obvious to static
  4239. analyzer tools that we always initialize the address. Closes
  4240. ticket 28881.
  4241. - Divide more large Tor source files -- especially ones that span
  4242. multiple areas of functionality -- into smaller parts, including
  4243. onion.c and main.c. Closes ticket 26747.
  4244. - Divide the "routerparse.c" module into separate modules for each
  4245. group of parsed objects. Closes ticket 27924.
  4246. - Move protover_rust.c to the same place protover.c was moved to.
  4247. Closes ticket 27814.
  4248. - Split directory.c into separate pieces for client, server, and
  4249. common functionality. Closes ticket 26744.
  4250. - Split the non-statistics-related parts from the rephist.c and
  4251. geoip.c modules. Closes ticket 27892.
  4252. - Split the router.c file into relay-only and shared components, to
  4253. help with future modularization. Closes ticket 27864.
  4254. - Divide the routerlist.c and dirserv.c modules into smaller parts.
  4255. Closes ticket 27799.
  4256. - 'updateFallbackDirs.py' now ignores the blacklist file, as it's not
  4257. longer needed. Closes ticket 26502.
  4258. - Include paths to header files within Tor are now qualified by
  4259. directory within the top-level src directory.
  4260. - Many structures have been removed from the centralized "or.h"
  4261. header, and moved into their own headers. This will allow us to
  4262. reduce the number of places in the code that rely on each
  4263. structure's contents and layout. Closes ticket 26383.
  4264. - Remove ATTR_NONNULL macro from codebase. Resolves ticket 26527.
  4265. - Remove GetAdaptersAddresses_fn_t. The code that used it was
  4266. removed as part of the 26481 refactor. Closes ticket 27467.
  4267. - Rework Tor SOCKS server code to use Trunnel and benefit from
  4268. autogenerated functions for parsing and generating SOCKS wire
  4269. format. New implementation is cleaner, more maintainable and
  4270. should be less prone to heartbleed-style vulnerabilities.
  4271. Implements a significant fraction of ticket 3569.
  4272. - Split sampled_guards_update_from_consensus() and
  4273. select_entry_guard_for_circuit() into subfunctions. In
  4274. entry_guards_update_primary() unite three smartlist enumerations
  4275. into one and move smartlist comparison code out of the function.
  4276. Closes ticket 21349.
  4277. - Tor now assumes that you have standards-conformant stdint.h and
  4278. inttypes.h headers when compiling. Closes ticket 26626.
  4279. - Unify our bloom filter logic. Previously we had two copies of this
  4280. code: one for routerlist filtering, and one for address set
  4281. calculations. Closes ticket 26510.
  4282. - Use the simpler strcmpstart() helper in
  4283. rend_parse_v2_service_descriptor instead of strncmp(). Closes
  4284. ticket 27630.
  4285. - Utility functions that can perform a DNS lookup are now wholly
  4286. separated from those that can't, in separate headers and C
  4287. modules. Closes ticket 26526.
  4288. o Documentation:
  4289. - In the tor-resolve(1) manpage, fix the reference to socks-
  4290. extensions.txt by adding a web URL. Resolves ticket 27853.
  4291. - Mention that we require Python to be 2.7 or newer for some
  4292. integration tests that we ship with Tor. Resolves ticket 27677.
  4293. - Copy paragraph and URL to Tor's code of conduct document from
  4294. CONTRIBUTING to new CODE_OF_CONDUCT file. Resolves ticket 26638.
  4295. - Remove old instructions from INSTALL document. Closes ticket 26588.
  4296. - Warn users that they should not include MyFamily line(s) in their
  4297. torrc when running Tor bridge. Closes ticket 26908.
  4298. o Removed features:
  4299. - Tor no longer supports building with the dmalloc library. For
  4300. debugging memory issues, we suggest using gperftools or msan
  4301. instead. Closes ticket 26426.
  4302. - Tor no longer attempts to run on Windows environments without the
  4303. GetAdaptersAddresses() function. This function has existed since
  4304. Windows XP, which is itself already older than we support.
  4305. - Remove Tor2web functionality for version 2 onion services. The
  4306. Tor2webMode and Tor2webRendezvousPoints options are now obsolete.
  4307. (This feature was never shipped in vanilla Tor and it was only
  4308. possible to use this feature by building the support at compile
  4309. time. Tor2webMode is not implemented for version 3 onion services.)
  4310. Closes ticket 26367.
  4311. o Testing:
  4312. - Increase logging and tag all log entries with timestamps in
  4313. test_rebind.py. Provides diagnostics for issue 28229.
  4314. o Code simplification and refactoring (shared random, dirauth):
  4315. - Change many tor_assert() to use BUG() instead. The idea is to not
  4316. crash a dirauth but rather scream loudly with a stacktrace and let
  4317. it continue run. The shared random subsystem is very resilient and
  4318. if anything wrong happens with it, at worst a non coherent value
  4319. will be put in the vote and discarded by the other authorities.
  4320. Closes ticket 19566.
  4321. o Documentation (onion services):
  4322. - Improve HSv3 client authorization by making some options more
  4323. explicit and detailed. Closes ticket 28026. Patch by Mike Tigas.
  4324. - Document in the man page that changing ClientOnionAuthDir value or
  4325. adding a new file in the directory will not work at runtime upon
  4326. sending a HUP if Sandbox 1. Closes ticket 28128.
  4327. - Note in the man page that the only real way to fully revoke an
  4328. onion service v3 client authorization is by restarting the tor
  4329. process. Closes ticket 28275.
  4330. Changes in version 0.3.4.9 - 2018-11-02
  4331. Tor 0.3.4.9 is the second stable release in its series; it backports
  4332. numerous fixes, including a fix for a bandwidth management bug that
  4333. was causing memory exhaustion on relays. Anyone running an earlier
  4334. version of Tor 0.3.4.9 should upgrade.
  4335. o Major bugfixes (compilation, backport from 0.3.5.3-alpha):
  4336. - Fix compilation on ARM (and other less-used CPUs) when compiling
  4337. with OpenSSL before 1.1. Fixes bug 27781; bugfix on 0.3.4.1-alpha.
  4338. o Major bugfixes (mainloop, bootstrap, backport from 0.3.5.3-alpha):
  4339. - Make sure Tor bootstraps and works properly if only the
  4340. ControlPort is set. Prior to this fix, Tor would only bootstrap
  4341. when a client port was set (Socks, Trans, NATD, DNS or HTTPTunnel
  4342. port). Fixes bug 27849; bugfix on 0.3.4.1-alpha.
  4343. o Major bugfixes (relay, backport from 0.3.5.3-alpha):
  4344. - When our write bandwidth limit is exhausted, stop writing on the
  4345. connection. Previously, we had a typo in the code that would make
  4346. us stop reading instead, leading to relay connections being stuck
  4347. indefinitely and consuming kernel RAM. Fixes bug 28089; bugfix
  4348. on 0.3.4.1-alpha.
  4349. o Major bugfixes (restart-in-process, backport from 0.3.5.1-alpha):
  4350. - Fix a use-after-free error that could be caused by passing Tor an
  4351. impossible set of options that would fail during options_act().
  4352. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  4353. o Minor features (continuous integration, backport from 0.3.5.1-alpha):
  4354. - Don't do a distcheck with --disable-module-dirauth in Travis.
  4355. Implements ticket 27252.
  4356. - Only run one online rust build in Travis, to reduce network
  4357. errors. Skip offline rust builds on Travis for Linux gcc, because
  4358. they're redundant. Implements ticket 27252.
  4359. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  4360. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  4361. Linux with default settings, because all the non-default builds
  4362. use gcc on Linux. Implements ticket 27252.
  4363. o Minor features (continuous integration, backport from 0.3.5.3-alpha):
  4364. - Use the Travis Homebrew addon to install packages on macOS during
  4365. Travis CI. The package list is the same, but the Homebrew addon
  4366. does not do a `brew update` by default. Implements ticket 27738.
  4367. o Minor features (geoip):
  4368. - Update geoip and geoip6 to the October 9 2018 Maxmind GeoLite2
  4369. Country database. Closes ticket 27991.
  4370. o Minor bugfixes (32-bit OSX and iOS, timing, backport from 0.3.5.2-alpha):
  4371. - Fix an integer overflow bug in our optimized 32-bit millisecond-
  4372. difference algorithm for 32-bit Apple platforms. Previously, it
  4373. would overflow when calculating the difference between two times
  4374. more than 47 days apart. Fixes part of bug 27139; bugfix
  4375. on 0.3.4.1-alpha.
  4376. - Improve the precision of our 32-bit millisecond difference
  4377. algorithm for 32-bit Apple platforms. Fixes part of bug 27139;
  4378. bugfix on 0.3.4.1-alpha.
  4379. - Relax the tolerance on the mainloop/update_time_jumps test when
  4380. running on 32-bit Apple platforms. Fixes part of bug 27139; bugfix
  4381. on 0.3.4.1-alpha.
  4382. o Minor bugfixes (C correctness, to appear in 0.3.5.4-alpha):
  4383. - Avoid undefined behavior in an end-of-string check when parsing
  4384. the BEGIN line in a directory object. Fixes bug 28202; bugfix
  4385. on 0.2.0.3-alpha.
  4386. o Minor bugfixes (CI, appveyor, to appear in 0.3.5.4-alpha):
  4387. - Only install the necessary mingw packages during our appveyor
  4388. builds. This change makes the build a little faster, and prevents
  4389. a conflict with a preinstalled mingw openssl that appveyor now
  4390. ships. Fixes bugs 27943 and 27765; bugfix on 0.3.4.2-alpha.
  4391. o Minor bugfixes (code safety, backport from 0.3.5.3-alpha):
  4392. - Rewrite our assertion macros so that they no longer suppress the
  4393. compiler's -Wparentheses warnings. Fixes bug 27709; bugfix
  4394. o Minor bugfixes (continuous integration, backport from 0.3.5.1-alpha):
  4395. - Stop reinstalling identical packages in our Windows CI. Fixes bug
  4396. 27464; bugfix on 0.3.4.1-alpha.
  4397. o Minor bugfixes (directory authority, to appear in 0.3.5.4-alpha):
  4398. - Log additional info when we get a relay that shares an ed25519 ID
  4399. with a different relay, instead making a BUG() warning. Fixes bug
  4400. 27800; bugfix on 0.3.2.1-alpha.
  4401. o Minor bugfixes (directory connection shutdown, backport from 0.3.5.1-alpha):
  4402. - Avoid a double-close when shutting down a stalled directory
  4403. connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
  4404. o Minor bugfixes (HTTP tunnel, backport from 0.3.5.1-alpha):
  4405. - Fix a bug warning when closing an HTTP tunnel connection due to an
  4406. HTTP request we couldn't handle. Fixes bug 26470; bugfix
  4407. on 0.3.2.1-alpha.
  4408. o Minor bugfixes (netflow padding, backport from 0.3.5.1-alpha):
  4409. - Ensure circuitmux queues are empty before scheduling or sending
  4410. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  4411. o Minor bugfixes (onion service v3, backport from 0.3.5.1-alpha):
  4412. - When the onion service directory can't be created or has the wrong
  4413. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  4414. on 0.3.2.1-alpha.
  4415. o Minor bugfixes (onion service v3, backport from 0.3.5.2-alpha):
  4416. - Close all SOCKS request (for the same .onion) if the newly fetched
  4417. descriptor is unusable. Before that, we would close only the first
  4418. one leaving the other hanging and let to time out by themselves.
  4419. Fixes bug 27410; bugfix on 0.3.2.1-alpha.
  4420. o Minor bugfixes (onion service v3, backport from 0.3.5.3-alpha):
  4421. - When selecting a v3 rendezvous point, don't only look at the
  4422. protover, but also check whether the curve25519 onion key is
  4423. present. This way we avoid picking a relay that supports the v3
  4424. rendezvous but for which we don't have the microdescriptor. Fixes
  4425. bug 27797; bugfix on 0.3.2.1-alpha.
  4426. o Minor bugfixes (protover, backport from 0.3.5.3-alpha):
  4427. - Reject protocol names containing bytes other than alphanumeric
  4428. characters and hyphens ([A-Za-z0-9-]). Fixes bug 27316; bugfix
  4429. on 0.2.9.4-alpha.
  4430. o Minor bugfixes (rust, backport from 0.3.5.1-alpha):
  4431. - Compute protover votes correctly in the rust version of the
  4432. protover code. Previously, the protover rewrite in 24031 allowed
  4433. repeated votes from the same voter for the same protocol version
  4434. to be counted multiple times in protover_compute_vote(). Fixes bug
  4435. 27649; bugfix on 0.3.3.5-rc.
  4436. - Reject protover names that contain invalid characters. Fixes bug
  4437. 27687; bugfix on 0.3.3.1-alpha.
  4438. o Minor bugfixes (rust, backport from 0.3.5.2-alpha):
  4439. - protover_all_supported() would attempt to allocate up to 16GB on
  4440. some inputs, leading to a potential memory DoS. Fixes bug 27206;
  4441. bugfix on 0.3.3.5-rc.
  4442. o Minor bugfixes (rust, directory authority, to appear in 0.3.5.4-alpha):
  4443. - Fix an API mismatch in the rust implementation of
  4444. protover_compute_vote(). This bug could have caused crashes on any
  4445. directory authorities running Tor with Rust (which we do not yet
  4446. recommend). Fixes bug 27741; bugfix on 0.3.3.6.
  4447. o Minor bugfixes (rust, to appear in 0.3.5.4-alpha):
  4448. - Fix a potential null dereference in protover_all_supported(). Add
  4449. a test for it. Fixes bug 27804; bugfix on 0.3.3.1-alpha.
  4450. - Return a string that can be safely freed by C code, not one
  4451. created by the rust allocator, in protover_all_supported(). Fixes
  4452. bug 27740; bugfix on 0.3.3.1-alpha.
  4453. o Minor bugfixes (testing, backport from 0.3.5.1-alpha):
  4454. - If a unit test running in a subprocess exits abnormally or with a
  4455. nonzero status code, treat the test as having failed, even if the
  4456. test reported success. Without this fix, memory leaks don't cause
  4457. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  4458. bugfix on 0.2.2.4-alpha.
  4459. o Minor bugfixes (testing, backport from 0.3.5.3-alpha):
  4460. - Make the hs_service tests use the same time source when creating
  4461. the introduction point and when testing it. Now tests work better
  4462. on very slow systems like ARM or Travis. Fixes bug 27810; bugfix
  4463. on 0.3.2.1-alpha.
  4464. o Minor bugfixes (testing, to appear in 0.3.5.4-alpha):
  4465. - Treat backtrace test failures as expected on BSD-derived systems
  4466. (NetBSD, OpenBSD, and macOS/Darwin) until we solve bug 17808.
  4467. (FreeBSD failures have been treated as expected since 18204 in
  4468. 0.2.8.) Fixes bug 27948; bugfix on 0.2.5.2-alpha.
  4469. Changes in version 0.2.9.17 - 2018-09-10
  4470. Tor 0.2.9.17 backports numerous bugfixes from later versions of Tor.
  4471. o Minor features (compatibility, backport from 0.3.4.8):
  4472. - Tell OpenSSL to maintain backward compatibility with previous
  4473. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  4474. ciphers are disabled by default. Closes ticket 27344.
  4475. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  4476. - Enable macOS builds in our Travis CI configuration. Closes
  4477. ticket 24629.
  4478. - Install libcap-dev and libseccomp2-dev so these optional
  4479. dependencies get tested on Travis CI. Closes ticket 26560.
  4480. - Run asciidoc during Travis CI. Implements ticket 27087.
  4481. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  4482. o Minor features (geoip):
  4483. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  4484. Country database. Closes ticket 27089.
  4485. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  4486. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  4487. tell the compiler not to include the system malloc implementation.
  4488. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  4489. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  4490. - Silence a spurious compiler warning on the GetAdaptersAddresses
  4491. function pointer cast. This issue is already fixed by 26481 in
  4492. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  4493. bugfix on 0.2.3.11-alpha.
  4494. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  4495. supported, and always fails. Some compilers warn about the
  4496. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  4497. on 0.2.2.23-alpha.
  4498. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  4499. - Don't link or search for pthreads when building for Windows, even
  4500. if we are using build environment (like mingw) that provides a
  4501. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  4502. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  4503. - Skip a pair of unreliable key generation tests on Windows, until
  4504. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  4505. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  4506. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  4507. - Pass the module flags to distcheck configure, and log the flags
  4508. before running configure. (Backported to 0.2.9 and later as a
  4509. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  4510. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  4511. - When a Travis build fails, and showing a log fails, keep trying to
  4512. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  4513. - When we use echo in Travis, don't pass a --flag as the first
  4514. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  4515. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  4516. - When voting for recommended versions, make sure that all of the
  4517. versions are well-formed and parsable. Fixes bug 26485; bugfix
  4518. on 0.1.1.6-alpha.
  4519. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  4520. - Fix a bug in out sandboxing rules for the openat() syscall.
  4521. Previously, no openat() call would be permitted, which would break
  4522. filesystem operations on recent glibc versions. Fixes bug 25440;
  4523. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  4524. o Minor bugfixes (onion services, backport from 0.3.4.8):
  4525. - Silence a spurious compiler warning in
  4526. rend_client_send_introduction(). Fixes bug 27463; bugfix
  4527. on 0.1.1.2-alpha.
  4528. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  4529. - Log a protocol warning when single onion services or Tor2web clients
  4530. fail to authenticate direct connections to relays.
  4531. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  4532. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  4533. - Disable core dumps in test_bt.sh, to avoid failures in "make
  4534. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  4535. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  4536. - Before running make test-network-all, delete old logs and test
  4537. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  4538. on 0.2.7.3-rc.
  4539. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  4540. - Our "tortls/cert_matches_key" unit test no longer relies on
  4541. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  4542. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  4543. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  4544. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  4545. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  4546. 27185; bugfix on 0.2.2.2-alpha.
  4547. Changes in version 0.3.2.12 - 2018-09-10
  4548. Tor 0.3.2.12 backport numerous fixes from later versions of Tor.
  4549. o Minor features (compatibility, backport from 0.3.4.8):
  4550. - Tell OpenSSL to maintain backward compatibility with previous
  4551. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  4552. ciphers are disabled by default. Closes ticket 27344.
  4553. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  4554. - Enable macOS builds in our Travis CI configuration. Closes
  4555. ticket 24629.
  4556. - Install libcap-dev and libseccomp2-dev so these optional
  4557. dependencies get tested on Travis CI. Closes ticket 26560.
  4558. - Run asciidoc during Travis CI. Implements ticket 27087.
  4559. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  4560. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  4561. - Use cargo cache in our Travis CI configuration. Closes
  4562. ticket 26952.
  4563. o Minor features (controller, backport from 0.3.4.6-rc):
  4564. - The control port now exposes the list of HTTPTunnelPorts and
  4565. ExtOrPorts via GETINFO net/listeners/httptunnel and
  4566. net/listeners/extor respectively. Closes ticket 26647.
  4567. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  4568. - Authorities no longer vote to make the subprotocol version
  4569. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  4570. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  4571. o Minor features (geoip):
  4572. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  4573. Country database. Closes ticket 27089.
  4574. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  4575. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  4576. tell the compiler not to include the system malloc implementation.
  4577. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  4578. - Don't try to use a pragma to temporarily disable the
  4579. -Wunused-const-variable warning if the compiler doesn't support
  4580. it. Fixes bug 26785; bugfix on 0.3.2.11.
  4581. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  4582. - Silence a spurious compiler warning on the GetAdaptersAddresses
  4583. function pointer cast. This issue is already fixed by 26481 in
  4584. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  4585. bugfix on 0.2.3.11-alpha.
  4586. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  4587. supported, and always fails. Some compilers warn about the
  4588. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  4589. on 0.2.2.23-alpha.
  4590. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  4591. - Don't link or search for pthreads when building for Windows, even
  4592. if we are using build environment (like mingw) that provides a
  4593. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  4594. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  4595. - Skip a pair of unreliable key generation tests on Windows, until
  4596. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  4597. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  4598. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  4599. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  4600. - Pass the module flags to distcheck configure, and log the flags
  4601. before running configure. (Backported to 0.2.9 and later as a
  4602. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  4603. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  4604. - When a Travis build fails, and showing a log fails, keep trying to
  4605. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  4606. - When we use echo in Travis, don't pass a --flag as the first
  4607. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  4608. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  4609. - When voting for recommended versions, make sure that all of the
  4610. versions are well-formed and parsable. Fixes bug 26485; bugfix
  4611. on 0.1.1.6-alpha.
  4612. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  4613. - Fix a bug in out sandboxing rules for the openat() syscall.
  4614. Previously, no openat() call would be permitted, which would break
  4615. filesystem operations on recent glibc versions. Fixes bug 25440;
  4616. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  4617. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  4618. - Improve the log message when connection initiators fail to
  4619. authenticate direct connections to relays. Fixes bug 26927; bugfix
  4620. on 0.3.0.1-alpha.
  4621. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  4622. - Fix bug that causes services to not ever rotate their descriptors
  4623. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  4624. on 0.3.2.1-alpha.
  4625. o Minor bugfixes (onion services, backport from 0.3.4.8):
  4626. - Silence a spurious compiler warning in
  4627. rend_client_send_introduction(). Fixes bug 27463; bugfix
  4628. on 0.1.1.2-alpha.
  4629. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  4630. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  4631. on 0.3.1.5-alpha.
  4632. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  4633. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  4634. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  4635. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  4636. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  4637. - Log a protocol warning when single onion services or Tor2web clients
  4638. fail to authenticate direct connections to relays.
  4639. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  4640. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  4641. - Disable core dumps in test_bt.sh, to avoid failures in "make
  4642. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  4643. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  4644. - When running make test-network-all, use the mixed+hs-v2 network.
  4645. (A previous fix to chutney removed v3 onion services from the
  4646. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  4647. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  4648. - Before running make test-network-all, delete old logs and test
  4649. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  4650. on 0.2.7.3-rc.
  4651. o Minor bugfixes (testing, openssl compatibility):
  4652. - Our "tortls/cert_matches_key" unit test no longer relies on OpenSSL
  4653. internals. Previously, it relied on unsupported OpenSSL behavior in
  4654. a way that caused it to crash with OpenSSL 1.0.2p. Fixes bug 27226;
  4655. bugfix on 0.2.5.1-alpha.
  4656. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  4657. - Our "tortls/cert_matches_key" unit test no longer relies on
  4658. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  4659. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  4660. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  4661. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  4662. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  4663. 27185; bugfix on 0.2.2.2-alpha.
  4664. Changes in version 0.3.3.10 - 2018-09-10
  4665. Tor 0.3.3.10 backports numerous fixes from later versions of Tor.
  4666. o Minor features (bug workaround, backport from 0.3.4.7-rc):
  4667. - Compile correctly on systems that provide the C11 stdatomic.h
  4668. header, but where C11 atomic functions don't actually compile.
  4669. Closes ticket 26779; workaround for Debian issue 903709.
  4670. o Minor features (compatibility, backport from 0.3.4.8):
  4671. - Tell OpenSSL to maintain backward compatibility with previous
  4672. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  4673. ciphers are disabled by default. Closes ticket 27344.
  4674. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  4675. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  4676. - Enable macOS builds in our Travis CI configuration. Closes
  4677. ticket 24629.
  4678. - Install libcap-dev and libseccomp2-dev so these optional
  4679. dependencies get tested on Travis CI. Closes ticket 26560.
  4680. - Run asciidoc during Travis CI. Implements ticket 27087.
  4681. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  4682. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  4683. - Use cargo cache in our Travis CI configuration. Closes
  4684. ticket 26952.
  4685. o Minor features (controller, backport from 0.3.4.6-rc):
  4686. - The control port now exposes the list of HTTPTunnelPorts and
  4687. ExtOrPorts via GETINFO net/listeners/httptunnel and
  4688. net/listeners/extor respectively. Closes ticket 26647.
  4689. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  4690. - Authorities no longer vote to make the subprotocol version
  4691. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  4692. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  4693. o Minor features (geoip):
  4694. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  4695. Country database. Closes ticket 27089.
  4696. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  4697. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  4698. tell the compiler not to include the system malloc implementation.
  4699. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  4700. - Don't try to use a pragma to temporarily disable the
  4701. -Wunused-const-variable warning if the compiler doesn't support
  4702. it. Fixes bug 26785; bugfix on 0.3.2.11.
  4703. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  4704. - Silence a spurious compiler warning on the GetAdaptersAddresses
  4705. function pointer cast. This issue is already fixed by 26481 in
  4706. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  4707. bugfix on 0.2.3.11-alpha.
  4708. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  4709. supported, and always fails. Some compilers warn about the
  4710. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  4711. on 0.2.2.23-alpha.
  4712. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  4713. - Don't link or search for pthreads when building for Windows, even
  4714. if we are using build environment (like mingw) that provides a
  4715. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  4716. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  4717. - Skip a pair of unreliable key generation tests on Windows, until
  4718. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  4719. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  4720. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  4721. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  4722. - Pass the module flags to distcheck configure, and log the flags
  4723. before running configure. (Backported to 0.2.9 and later as a
  4724. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  4725. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  4726. - When a Travis build fails, and showing a log fails, keep trying to
  4727. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  4728. - When we use echo in Travis, don't pass a --flag as the first
  4729. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  4730. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  4731. - When voting for recommended versions, make sure that all of the
  4732. versions are well-formed and parsable. Fixes bug 26485; bugfix
  4733. on 0.1.1.6-alpha.
  4734. o Minor bugfixes (in-process restart, backport from 0.3.4.7-rc):
  4735. - Always call tor_free_all() when leaving tor_run_main(). When we
  4736. did not, restarting tor in-process would cause an assertion
  4737. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  4738. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  4739. - Fix a bug in our sandboxing rules for the openat() syscall.
  4740. Previously, no openat() call would be permitted, which would break
  4741. filesystem operations on recent glibc versions. Fixes bug 25440;
  4742. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  4743. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  4744. - Improve the log message when connection initiators fail to
  4745. authenticate direct connections to relays. Fixes bug 26927; bugfix
  4746. on 0.3.0.1-alpha.
  4747. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  4748. - Fix bug that causes services to not ever rotate their descriptors
  4749. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  4750. on 0.3.2.1-alpha.
  4751. o Minor bugfixes (onion services, backport from 0.3.4.8):
  4752. - Silence a spurious compiler warning in
  4753. rend_client_send_introduction(). Fixes bug 27463; bugfix
  4754. on 0.1.1.2-alpha.
  4755. o Minor bugfixes (portability, backport from 0.3.4.6-rc):
  4756. - Work around two different bugs in the OS X 10.10 and later SDKs
  4757. that would prevent us from successfully targeting earlier versions
  4758. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  4759. o Minor bugfixes (portability, backport from 0.3.4.7-rc):
  4760. - Fix compilation of the unit tests on GNU/Hurd, which does not
  4761. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  4762. from "paulusASol".
  4763. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  4764. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  4765. on 0.3.1.5-alpha.
  4766. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  4767. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  4768. - Protover parsing was accepting the presence of whitespace in
  4769. version strings, which the C implementation would choke on, e.g.
  4770. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  4771. - Protover parsing was ignoring a 2nd hyphen and everything after
  4772. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  4773. on 0.3.3.1-alpha.
  4774. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  4775. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  4776. - cd to ${abs_top_builddir}/src/rust before running cargo in
  4777. src/test/test_rust.sh. This makes the working directory consistent
  4778. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  4779. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  4780. - Log a protocol warning when single onion services or Tor2web clients
  4781. fail to authenticate direct connections to relays.
  4782. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  4783. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  4784. - Disable core dumps in test_bt.sh, to avoid failures in "make
  4785. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  4786. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  4787. - When running make test-network-all, use the mixed+hs-v2 network.
  4788. (A previous fix to chutney removed v3 onion services from the
  4789. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  4790. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  4791. - Before running make test-network-all, delete old logs and test
  4792. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  4793. on 0.2.7.3-rc.
  4794. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  4795. - Our "tortls/cert_matches_key" unit test no longer relies on
  4796. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  4797. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  4798. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  4799. o Minor bugfixes (v3 onion services, backport from 0.3.4.6-rc):
  4800. - Stop sending ed25519 link specifiers in v3 onion service introduce
  4801. cells and descriptors, when the rendezvous or introduction point
  4802. doesn't support ed25519 link authentication. Fixes bug 26627;
  4803. bugfix on 0.3.2.4-alpha.
  4804. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  4805. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  4806. 27185; bugfix on 0.2.2.2-alpha.
  4807. Changes in version 0.3.4.8 - 2018-09-10
  4808. Tor 0.3.4.8 is the first stable release in its series; it includes
  4809. compilation and portability fixes.
  4810. The Tor 0.3.4 series includes improvements for running Tor in
  4811. low-power and embedded environments, which should help performance in
  4812. general. We've begun work on better modularity, and included preliminary
  4813. changes on the directory authority side to accommodate a new bandwidth
  4814. measurement system. We've also integrated more continuous-integration
  4815. systems into our development process, and made corresponding changes to
  4816. Tor's testing infrastructure. Finally, we've continued to refine
  4817. our anti-denial-of-service code.
  4818. Below are the changes since 0.3.3.9. For a list of only the changes
  4819. since 0.3.4.7-rc, see the ChangeLog file.
  4820. o New system requirements:
  4821. - Tor no longer tries to support old operating systems without
  4822. mmap() or some local equivalent. Apparently, compilation on such
  4823. systems has been broken for some time, without anybody noticing or
  4824. complaining. Closes ticket 25398.
  4825. o Major features (directory authority, modularization):
  4826. - The directory authority subsystem has been modularized. The code
  4827. is now located in src/or/dirauth/, and is compiled in by default.
  4828. To disable the module, the configure option
  4829. --disable-module-dirauth has been added. This module may be
  4830. disabled by default in some future release. Closes ticket 25610.
  4831. o Major features (main loop, CPU usage):
  4832. - When Tor is disabled (via DisableNetwork or via hibernation), it
  4833. no longer needs to run any per-second events. This change should
  4834. make it easier for mobile applications to disable Tor while the
  4835. device is sleeping, or Tor is not running. Closes ticket 26063.
  4836. - Tor no longer enables all of its periodic events by default.
  4837. Previously, Tor would enable all possible main loop events,
  4838. regardless of whether it needed them. Furthermore, many of these
  4839. events are now disabled when Tor is hibernating or DisableNetwork
  4840. is set. This is a big step towards reducing client CPU usage by
  4841. reducing the amount of wake-ups the daemon does. Closes tickets
  4842. 25376 and 25762.
  4843. - The bandwidth-limitation logic has been refactored so that
  4844. bandwidth calculations are performed on-demand, rather than every
  4845. TokenBucketRefillInterval milliseconds. This change should improve
  4846. the granularity of our bandwidth calculations, and limit the
  4847. number of times that the Tor process needs to wake up when it is
  4848. idle. Closes ticket 25373.
  4849. - Move responsibility for many operations from a once-per-second
  4850. callback to a callback that is only scheduled as needed. Moving
  4851. this functionality has allowed us to disable the callback when
  4852. Tor's network is disabled. Once enough items are removed from our
  4853. once-per-second callback, we can eliminate it entirely to conserve
  4854. CPU when idle. The functionality removed includes: closing
  4855. connections, circuits, and channels (ticket 25932); consensus
  4856. voting (25937); flushing log callbacks (25951); honoring delayed
  4857. SIGNEWNYM requests (25949); rescanning the consensus cache
  4858. (25931); saving the state file to disk (25948); warning relay
  4859. operators about unreachable ports (25952); and keeping track of
  4860. Tor's uptime (26009).
  4861. o Minor features (accounting):
  4862. - When Tor becomes dormant, it now uses a scheduled event to wake up
  4863. at the right time. Previously, we would use the per-second timer
  4864. to check whether to wake up, but we no longer have any per-second
  4865. timers enabled when the network is disabled. Closes ticket 26064.
  4866. o Minor features (bug workaround):
  4867. - Compile correctly on systems that provide the C11 stdatomic.h
  4868. header, but where C11 atomic functions don't actually compile.
  4869. Closes ticket 26779; workaround for Debian issue 903709.
  4870. o Minor features (code quality):
  4871. - Add optional spell-checking for the Tor codebase, using the
  4872. "misspell" program. To use this feature, run "make check-typos".
  4873. Closes ticket 25024.
  4874. o Minor features (compatibility):
  4875. - Tell OpenSSL to maintain backward compatibility with previous
  4876. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  4877. ciphers are disabled by default. Closes ticket 27344.
  4878. - Tor now detects versions of OpenSSL 1.1.0 and later compiled with
  4879. the no-deprecated option, and builds correctly with them. Closes
  4880. tickets 19429, 19981, and 25353.
  4881. o Minor features (compilation):
  4882. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  4883. tell the compiler not to include the system malloc implementation.
  4884. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  4885. - Don't try to use a pragma to temporarily disable the
  4886. -Wunused-const-variable warning if the compiler doesn't support
  4887. it. Fixes bug 26785; bugfix on 0.3.2.11.
  4888. - When building Tor, prefer to use Python 3 over Python 2, and more
  4889. recent (contemplated) versions over older ones. Closes
  4890. ticket 26372.
  4891. o Minor features (compression, zstd):
  4892. - When running with zstd, Tor now considers using advanced functions
  4893. that the zstd maintainers have labeled as potentially unstable. To
  4894. prevent breakage, Tor will only use this functionality when the
  4895. runtime version of the zstd library matches the version with which
  4896. Tor was compiled. Closes ticket 25162.
  4897. o Minor features (configuration):
  4898. - The "DownloadSchedule" options have been renamed to end with
  4899. "DownloadInitialDelay". The old names are still allowed, but will
  4900. produce a warning. Comma-separated lists are still permitted for
  4901. these options, but all values after the first are ignored (as they
  4902. have been since 0.2.9). Closes ticket 23354.
  4903. o Minor features (continuous integration):
  4904. - Log the compiler path and version during Appveyor builds.
  4905. Implements ticket 27449.
  4906. - Show config.log and test-suite.log after failed Appveyor builds.
  4907. Also upload the zipped full logs as a build artifact. Implements
  4908. ticket 27430.
  4909. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  4910. - Enable macOS builds in our Travis CI configuration. Closes
  4911. ticket 24629.
  4912. - Install libcap-dev and libseccomp2-dev so these optional
  4913. dependencies get tested on Travis CI. Closes ticket 26560.
  4914. - Only post Appveyor IRC notifications when the build fails.
  4915. Implements ticket 27275.
  4916. - Run asciidoc during Travis CI. Implements ticket 27087.
  4917. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  4918. - Add the necessary configuration files for continuous integration
  4919. testing on Windows, via the Appveyor platform. Closes ticket
  4920. 25549. Patches from Marcin Cieślak and Isis Lovecruft.
  4921. o Minor features (continuous integration, rust):
  4922. - Use cargo cache in our Travis CI configuration. Closes
  4923. ticket 26952.
  4924. o Minor features (control port):
  4925. - Introduce GETINFO "current-time/{local,utc}" to return the local
  4926. and UTC times respectively in ISO format. This helps a controller
  4927. like Tor Browser detect a time-related error. Closes ticket 25511.
  4928. Patch by Neel Chauhan.
  4929. - Introduce new fields to the CIRC_BW event. There are two new
  4930. fields in each of the read and written directions. The DELIVERED
  4931. fields report the total valid data on the circuit, as measured by
  4932. the payload sizes of verified and error-checked relay command
  4933. cells. The OVERHEAD fields report the total unused bytes in each
  4934. of these cells. Closes ticket 25903.
  4935. o Minor features (controller):
  4936. - The control port now exposes the list of HTTPTunnelPorts and
  4937. ExtOrPorts via GETINFO net/listeners/httptunnel and
  4938. net/listeners/extor respectively. Closes ticket 26647.
  4939. o Minor features (directory authorities):
  4940. - Stop warning about incomplete bw lines before the first complete
  4941. bw line has been found, so that additional header lines can be
  4942. ignored. Fixes bug 25960; bugfix on 0.2.2.1-alpha
  4943. - Authorities no longer vote to make the subprotocol version
  4944. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  4945. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  4946. o Minor features (directory authority):
  4947. - Directory authorities now open their key-pinning files as O_SYNC,
  4948. to limit their chances of accidentally writing partial lines.
  4949. Closes ticket 23909.
  4950. o Minor features (directory authority, forward compatibility):
  4951. - Make the lines of the measured bandwidth file able to contain
  4952. their entries in any order. Previously, the node_id entry needed
  4953. to come first. Closes ticket 26004.
  4954. o Minor features (entry guards):
  4955. - Introduce a new torrc option NumPrimaryGuards for controlling the
  4956. number of primary guards. Closes ticket 25843.
  4957. o Minor features (geoip):
  4958. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  4959. Country database. Closes ticket 27089.
  4960. o Minor features (performance):
  4961. - Avoid a needless call to malloc() when processing an incoming
  4962. relay cell. Closes ticket 24914.
  4963. - Make our timing-wheel code run a tiny bit faster on 32-bit
  4964. platforms, by preferring 32-bit math to 64-bit. Closes
  4965. ticket 24688.
  4966. - Avoid a needless malloc()/free() pair every time we handle an ntor
  4967. handshake. Closes ticket 25150.
  4968. o Minor features (Rust, portability):
  4969. - Rust cross-compilation is now supported. Closes ticket 25895.
  4970. o Minor features (testing):
  4971. - Add a unit test for voting_schedule_get_start_of_next_interval().
  4972. Closes ticket 26014, and helps make unit test coverage
  4973. more deterministic.
  4974. - A new unittests module specifically for testing the functions in
  4975. the (new-ish) bridges.c module has been created with new
  4976. unittests, raising the code coverage percentages. Closes 25425.
  4977. - We now have improved testing for addressmap_get_virtual_address()
  4978. function. This should improve our test coverage, and make our test
  4979. coverage more deterministic. Closes ticket 25993.
  4980. o Minor features (timekeeping, circuit scheduling):
  4981. - When keeping track of how busy each circuit have been recently on
  4982. a given connection, use coarse-grained monotonic timers rather
  4983. than gettimeofday(). This change should marginally increase
  4984. accuracy and performance. Implements part of ticket 25927.
  4985. o Minor features (unit tests):
  4986. - Test complete bandwidth measurements files, and test that
  4987. incomplete bandwidth lines only give warnings when the end of the
  4988. header has not been detected. Fixes bug 25947; bugfix
  4989. on 0.2.2.1-alpha
  4990. o Minor bugfixes (bandwidth management):
  4991. - Consider ourselves "low on write bandwidth" if we have exhausted
  4992. our write bandwidth some time in the last second. This was the
  4993. documented behavior before, but the actual behavior was to change
  4994. this value every TokenBucketRefillInterval. Fixes bug 25828;
  4995. bugfix on 0.2.3.5-alpha.
  4996. o Minor bugfixes (C correctness):
  4997. - Add a missing lock acquisition in the shutdown code of the control
  4998. subsystem. Fixes bug 25675; bugfix on 0.2.7.3-rc. Found by
  4999. Coverity; this is CID 1433643.
  5000. o Minor bugfixes (code style):
  5001. - Fixed multiple includes of transports.h in src/or/connection.c
  5002. Fixes bug 25261; bugfix on 0.2.5.1-alpha.
  5003. - Remove the unused variable n_possible from the function
  5004. channel_get_for_extend(). Fixes bug 25645; bugfix on 0.2.4.4-alpha
  5005. o Minor bugfixes (compilation):
  5006. - Silence a spurious compiler warning on the GetAdaptersAddresses
  5007. function pointer cast. This issue is already fixed by 26481 in
  5008. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  5009. bugfix on 0.2.3.11-alpha.
  5010. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  5011. supported, and always fails. Some compilers warn about the
  5012. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  5013. on 0.2.2.23-alpha.
  5014. - Fix a compilation warning on some versions of GCC when building
  5015. code that calls routerinfo_get_my_routerinfo() twice, assuming
  5016. that the second call will succeed if the first one did. Fixes bug
  5017. 26269; bugfix on 0.2.8.2-alpha.
  5018. - Refrain from compiling unit testing related object files when
  5019. --disable-unittests is set to configure script. Fixes bug 24891;
  5020. bugfix on 0.2.5.1-alpha.
  5021. - The --enable-fatal-warnings flag now affects Rust code as well.
  5022. Closes ticket 26245.
  5023. - Avoid a compiler warning when casting the return value of
  5024. smartlist_len() to double with DEBUG_SMARTLIST enabled. Fixes bug
  5025. 26283; bugfix on 0.2.4.10-alpha.
  5026. o Minor bugfixes (compilation, windows):
  5027. - Don't link or search for pthreads when building for Windows, even
  5028. if we are using build environment (like mingw) that provides a
  5029. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  5030. o Minor bugfixes (continuous integration):
  5031. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  5032. - Skip a pair of unreliable key generation tests on Windows, until
  5033. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  5034. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  5035. o Minor bugfixes (control port):
  5036. - Respond with more human-readable error messages to GETINFO exit-
  5037. policy/* requests. Also, let controller know if an error is
  5038. transient (response code 551) or not (response code 552). Fixes
  5039. bug 25852; bugfix on 0.2.8.1-alpha.
  5040. - Parse the "HSADDRESS=" parameter in HSPOST commands properly.
  5041. Previously, it was misparsed and ignored. Fixes bug 26523; bugfix
  5042. on 0.3.3.1-alpha. Patch by "akwizgran".
  5043. - Make CIRC_BW event reflect the total of all data sent on a
  5044. circuit, including padding and dropped cells. Also fix a mis-
  5045. counting bug when STREAM_BW events were enabled. Fixes bug 25400;
  5046. bugfix on 0.2.5.2-alpha.
  5047. o Minor bugfixes (correctness, flow control):
  5048. - Upon receiving a stream-level SENDME cell, verify that our window
  5049. has not grown too large. Fixes bug 26214; bugfix on svn
  5050. r54 (pre-0.0.1).
  5051. o Minor bugfixes (directory authority):
  5052. - When voting for recommended versions, make sure that all of the
  5053. versions are well-formed and parsable. Fixes bug 26485; bugfix
  5054. on 0.1.1.6-alpha.
  5055. o Minor bugfixes (directory client):
  5056. - When unverified-consensus is verified, rename it to cached-
  5057. consenus. Fixes bug 4187; bugfix on 0.2.0.3-alpha.
  5058. - Fixed launching a certificate fetch always during the scheduled
  5059. periodic consensus fetch by fetching only in those cases when
  5060. consensus are waiting for certs. Fixes bug 24740; bugfix
  5061. on 0.2.9.1-alpha.
  5062. o Minor bugfixes (error reporting):
  5063. - Improve tolerance for directory authorities with skewed clocks.
  5064. Previously, an authority with a clock more than 60 seconds ahead
  5065. could cause a client with a correct clock to warn that the
  5066. client's clock was behind. Now the clocks of a majority of
  5067. directory authorities have to be ahead of the client before this
  5068. warning will occur. Fixes bug 25756; bugfix on 0.2.2.25-alpha.
  5069. o Minor bugfixes (in-process restart):
  5070. - Always call tor_free_all() when leaving tor_run_main(). When we
  5071. did not, restarting tor in-process would cause an assertion
  5072. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  5073. o Minor bugfixes (Linux seccomp2 sandbox):
  5074. - Fix a bug in our sandboxing rules for the openat() syscall.
  5075. Previously, no openat() call would be permitted, which would break
  5076. filesystem operations on recent glibc versions. Fixes bug 25440;
  5077. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  5078. o Minor bugfixes (logging):
  5079. - Improve the log message when connection initiators fail to
  5080. authenticate direct connections to relays. Fixes bug 26927; bugfix
  5081. on 0.3.0.1-alpha.
  5082. o Minor bugfixes (onion services):
  5083. - Silence a spurious compiler warning in
  5084. rend_client_send_introduction(). Fixes bug 27463; bugfix
  5085. on 0.1.1.2-alpha.
  5086. - Fix bug that causes services to not ever rotate their descriptors
  5087. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  5088. on 0.3.2.1-alpha.
  5089. - Recompute some consensus information after detecting a clock jump,
  5090. or after transitioning from a non-live consensus to a live
  5091. consensus. We do this to avoid having an outdated state, and
  5092. miscalculating the index for next-generation onion services. Fixes
  5093. bug 24977; bugfix on 0.3.2.1-alpha.
  5094. o Minor bugfixes (portability):
  5095. - Fix compilation of the unit tests on GNU/Hurd, which does not
  5096. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  5097. from "paulusASol".
  5098. - Work around two different bugs in the OS X 10.10 and later SDKs
  5099. that would prevent us from successfully targeting earlier versions
  5100. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  5101. - Do not align mmap length, as it is not required by POSIX, and the
  5102. getpagesize function is deprecated. Fixes bug 25399; bugfix
  5103. on 0.1.1.23.
  5104. o Minor bugfixes (portability, FreeBSD):
  5105. - In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB
  5106. does not stringify on FreeBSD, so we switch to tor_asprintf().
  5107. Fixes bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan.
  5108. o Minor bugfixes (relay statistics):
  5109. - When a relay is collecting internal statistics about how many
  5110. create cell requests it has seen of each type, accurately count
  5111. the requests from relays that temporarily fall out of the
  5112. consensus. (To be extra conservative, we were already ignoring
  5113. requests from clients in our counts, and we continue ignoring them
  5114. here.) Fixes bug 24910; bugfix on 0.2.4.17-rc.
  5115. o Minor bugfixes (rust):
  5116. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  5117. on 0.3.1.5-alpha.
  5118. - Protover parsing was accepting the presence of whitespace in
  5119. version strings, which the C implementation would choke on, e.g.
  5120. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  5121. - Protover parsing was ignoring a 2nd hyphen and everything after
  5122. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  5123. on 0.3.3.1-alpha.
  5124. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  5125. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  5126. - cd to ${abs_top_builddir}/src/rust before running cargo in
  5127. src/test/test_rust.sh. This makes the working directory consistent
  5128. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  5129. o Minor bugfixes (single onion services, Tor2web):
  5130. - Log a protocol warning when single onion services or Tor2web
  5131. clients fail to authenticate direct connections to relays. Fixes
  5132. bug 26924; bugfix on 0.2.9.1-alpha.
  5133. o Minor bugfixes (test coverage tools):
  5134. - Update our "cov-diff" script to handle output from the latest
  5135. version of gcov, and to remove extraneous timestamp information
  5136. from its output. Fixes bugs 26101 and 26102; bugfix
  5137. on 0.2.5.1-alpha.
  5138. o Minor bugfixes (testing):
  5139. - Disable core dumps in test_bt.sh, to avoid failures in "make
  5140. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  5141. - When testing workqueue event-cancellation, make sure that we
  5142. actually cancel an event, and that cancel each event with equal
  5143. probability. (It was previously possible, though extremely
  5144. unlikely, for our event-canceling test not to cancel any events.)
  5145. Fixes bug 26008; bugfix on 0.2.6.3-alpha.
  5146. - Repeat part of the test in test_client_pick_intro() a number of
  5147. times, to give it consistent coverage. Fixes bug 25996; bugfix
  5148. on 0.3.2.1-alpha.
  5149. - Remove randomness from the hs_common/responsible_hsdirs test, so
  5150. that it always takes the same path through the function it tests.
  5151. Fixes bug 25997; bugfix on 0.3.2.1-alpha.
  5152. - Change the behavior of the "channel/outbound" test so that it
  5153. never causes a 10-second rollover for the EWMA circuitmux code.
  5154. Previously, this behavior would happen randomly, and result in
  5155. fluctuating test coverage. Fixes bug 25994; bugfix
  5156. on 0.3.3.1-alpha.
  5157. - Use X509_new() to allocate certificates that will be freed later
  5158. with X509_free(). Previously, some parts of the unit tests had
  5159. used tor_malloc_zero(), which is incorrect, and which caused test
  5160. failures on Windows when they were built with extra hardening.
  5161. Fixes bugs 25943 and 25944; bugfix on 0.2.8.1-alpha. Patch by
  5162. Marcin Cieślak.
  5163. - While running the circuit_timeout test, fix the PRNG to a
  5164. deterministic AES stream, so that the test coverage from this test
  5165. will itself be deterministic. Fixes bug 25995; bugfix
  5166. on 0.2.2.2-alpha.
  5167. o Minor bugfixes (testing, bootstrap):
  5168. - When calculating bootstrap progress, check exit policies and the
  5169. exit flag. Previously, Tor would only check the exit flag, which
  5170. caused race conditions in small and fast networks like chutney.
  5171. Fixes bug 27236; bugfix on 0.2.6.3-alpha.
  5172. o Minor bugfixes (testing, chutney):
  5173. - When running make test-network-all, use the mixed+hs-v2 network.
  5174. (A previous fix to chutney removed v3 onion services from the
  5175. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  5176. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  5177. - Before running make test-network-all, delete old logs and test
  5178. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  5179. on 0.2.7.3-rc.
  5180. o Minor bugfixes (testing, openssl compatibility):
  5181. - Our "tortls/cert_matches_key" unit test no longer relies on
  5182. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  5183. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  5184. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  5185. o Minor bugfixes (v3 onion services):
  5186. - Stop sending ed25519 link specifiers in v3 onion service introduce
  5187. cells and descriptors, when the rendezvous or introduction point
  5188. doesn't support ed25519 link authentication. Fixes bug 26627;
  5189. bugfix on 0.3.2.4-alpha.
  5190. o Minor bugfixes (vanguards):
  5191. - Allow the last hop in a vanguard circuit to be the same as our
  5192. first, to prevent the adversary from influencing guard node choice
  5193. by choice of last hop. Also prevent the creation of A - B - A
  5194. paths, or A - A paths, which are forbidden by relays. Fixes bug
  5195. 25870; bugfix on 0.3.3.1-alpha.
  5196. o Minor bugfixes (Windows, compilation):
  5197. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  5198. 27185; bugfix on 0.2.2.2-alpha.
  5199. o Code simplification and refactoring:
  5200. - Remove duplicate code in parse_{c,s}method_line and bootstrap
  5201. their functionalities into a single function. Fixes bug 6236;
  5202. bugfix on 0.2.3.6-alpha.
  5203. - We remove the PortForwarding and PortForwardingHelper options,
  5204. related functions, and the port_forwarding tests. These options
  5205. were used by the now-deprecated Vidalia to help ordinary users
  5206. become Tor relays or bridges. Closes ticket 25409. Patch by
  5207. Neel Chauhan.
  5208. - In order to make the OR and dir checking function in router.c less
  5209. confusing we renamed some functions and
  5210. consider_testing_reachability() has been split into
  5211. router_should_check_reachability() and
  5212. router_do_reachability_checks(). Also we improved the documentation
  5213. in some functions. Closes ticket 18918.
  5214. - Initial work to isolate Libevent usage to a handful of modules in
  5215. our codebase, to simplify our call structure, and so that we can
  5216. more easily change event loops in the future if needed. Closes
  5217. ticket 23750.
  5218. - Introduce a function to call getsockname() and return tor_addr_t,
  5219. to save a little complexity throughout the codebase. Closes
  5220. ticket 18105.
  5221. - Make hsdir_index in node_t a hsdir_index_t rather than a pointer
  5222. as hsdir_index is always present. Also, we move hsdir_index_t into
  5223. or.h. Closes ticket 23094. Patch by Neel Chauhan.
  5224. - Merge functions used for describing nodes and suppress the
  5225. functions that do not allocate memory for the output buffer
  5226. string. NODE_DESC_BUF_LEN constant and format_node_description()
  5227. function cannot be used externally from router.c module anymore.
  5228. Closes ticket 25432. Patch by valentecaio.
  5229. - Our main loop has been simplified so that all important operations
  5230. happen inside events. Previously, some operations had to happen
  5231. outside the event loop, to prevent infinite sequences of event
  5232. activations. Closes ticket 25374.
  5233. - Put a SHA1 public key digest in hs_service_intro_point_t, and use
  5234. it in register_intro_circ() and service_intro_point_new(). This
  5235. prevents the digest from being re-calculated each time. Closes
  5236. ticket 23107. Patch by Neel Chauhan.
  5237. - Refactor token-bucket implementations to use a common backend.
  5238. Closes ticket 25766.
  5239. - Remove extern declaration of stats_n_seconds_working variable from
  5240. main, protecting its accesses with get_uptime() and reset_uptime()
  5241. functions. Closes ticket 25081, patch by “valentecaio”.
  5242. - Remove our previous logic for "cached gettimeofday()" -- our
  5243. coarse monotonic timers are fast enough for this purpose, and far
  5244. less error-prone. Implements part of ticket 25927.
  5245. - Remove the return value for fascist_firewall_choose_address_base(),
  5246. and sister functions such as fascist_firewall_choose_address_node()
  5247. and fascist_firewall_choose_address_rs(). Also, while we're here,
  5248. initialize the ap argument as leaving it uninitialized can pose a
  5249. security hazard. Closes ticket 24734. Patch by Neel Chauhan.
  5250. - Rename two fields of connection_t struct. timestamp_lastwritten is
  5251. renamed to timestamp_last_write_allowed and timestamp_lastread is
  5252. renamed to timestamp_last_read_allowed. Closes ticket 24714, patch
  5253. by "valentecaio".
  5254. - Since Tor requires C99, remove our old workaround code for libc
  5255. implementations where free(NULL) doesn't work. Closes ticket 24484.
  5256. - Use our standard rate-limiting code to deal with excessive
  5257. libevent failures, rather than the hand-rolled logic we had
  5258. before. Closes ticket 26016.
  5259. - We remove the return value of node_get_prim_orport() and
  5260. node_get_prim_dirport(), and introduce node_get_prim_orport() in
  5261. node_ipv6_or_preferred() and node_ipv6_dir_preferred() in order to
  5262. check for a null address. Closes ticket 23873. Patch by
  5263. Neel Chauhan.
  5264. - We switch to should_record_bridge_info() in
  5265. geoip_note_client_seen() and options_need_geoip_info() instead of
  5266. accessing the configuration values directly. Fixes bug 25290;
  5267. bugfix on 0.2.1.6-alpha. Patch by Neel Chauhan.
  5268. o Deprecated features:
  5269. - As we are not recommending 0.2.5 anymore, we require relays that
  5270. once had an ed25519 key associated with their RSA key to always
  5271. have that key, instead of allowing them to drop back to a version
  5272. that didn't support ed25519. This means they need to use a new RSA
  5273. key if they want to downgrade to an older version of tor without
  5274. ed25519. Closes ticket 20522.
  5275. o Removed features:
  5276. - Directory authorities will no longer support voting according to
  5277. any consensus method before consensus method 25. This keeps
  5278. authorities compatible with all authorities running 0.2.9.8 and
  5279. later, and does not break any clients or relays. Implements ticket
  5280. 24378 and proposal 290.
  5281. - The PortForwarding and PortForwardingHelper features have been
  5282. removed. The reasoning is, given that implementations of NAT
  5283. traversal protocols within common consumer grade routers are
  5284. frequently buggy, and that the target audience for a NAT punching
  5285. feature is a perhaps less-technically-inclined relay operator,
  5286. when the helper fails to setup traversal the problems are usually
  5287. deep, ugly, and very router specific, making them horrendously
  5288. impossible for technical support to reliable assist with, and thus
  5289. resulting in frustration all around. Unfortunately, relay
  5290. operators who would like to run relays behind NATs will need to
  5291. become more familiar with the port forwarding configurations on
  5292. their local router. Closes 25409.
  5293. - The TestingEnableTbEmptyEvent option has been removed. It was used
  5294. in testing simulations to measure how often connection buckets
  5295. were emptied, in order to improve our scheduling, but it has not
  5296. been actively used in years. Closes ticket 25760.
  5297. - The old "round-robin" circuit multiplexer (circuitmux)
  5298. implementation has been removed, along with a fairly large set of
  5299. code that existed to support it. It has not been the default
  5300. circuitmux since we introduced the "EWMA" circuitmux in 0.2.4.x,
  5301. but it still required an unreasonable amount of memory and CPU.
  5302. Closes ticket 25268.
  5303. Changes in version 0.3.3.9 - 2018-07-13
  5304. Tor 0.3.3.9 moves to a new bridge authority, meaning people running
  5305. bridge relays should upgrade.
  5306. o Directory authority changes:
  5307. - The "Bifroest" bridge authority has been retired; the new bridge
  5308. authority is "Serge", and it is operated by George from the
  5309. TorBSD project. Closes ticket 26771.
  5310. Changes in version 0.3.2.11 - 2018-07-13
  5311. Tor 0.3.2.11 moves to a new bridge authority, meaning people running
  5312. bridge relays should upgrade. We also take this opportunity to backport
  5313. other minor fixes.
  5314. o Directory authority changes:
  5315. - The "Bifroest" bridge authority has been retired; the new bridge
  5316. authority is "Serge", and it is operated by George from the
  5317. TorBSD project. Closes ticket 26771.
  5318. o Directory authority changes (backport from 0.3.3.7):
  5319. - Add an IPv6 address for the "dannenberg" directory authority.
  5320. Closes ticket 26343.
  5321. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  5322. - When directory authorities read a zero-byte bandwidth file, they
  5323. would previously log a warning with the contents of an
  5324. uninitialised buffer. They now log a warning about the empty file
  5325. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  5326. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  5327. - Correctly detect when onion services get disabled after HUP. Fixes
  5328. bug 25761; bugfix on 0.3.2.1.
  5329. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  5330. - Explicitly permit the poll() system call when the Linux
  5331. seccomp2-based sandbox is enabled: apparently, some versions of
  5332. libc use poll() when calling getpwnam(). Closes ticket 25313.
  5333. o Minor feature (continuous integration, backport from 0.3.3.5-rc):
  5334. - Update the Travis CI configuration to use the stable Rust channel,
  5335. now that we have decided to require that. Closes ticket 25714.
  5336. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  5337. - Our .travis.yml configuration now includes support for testing the
  5338. results of "make distcheck". (It's not uncommon for "make check"
  5339. to pass but "make distcheck" to fail.) Closes ticket 25814.
  5340. - Our Travis CI configuration now integrates with the Coveralls
  5341. coverage analysis tool. Closes ticket 25818.
  5342. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  5343. - Add several checks to detect whether Tor relays are uploading
  5344. their descriptors without specifying why they regenerated them.
  5345. Diagnostic for ticket 25686.
  5346. o Minor features (compilation, backport from 0.3.4.4-rc):
  5347. - When building Tor, prefer to use Python 3 over Python 2, and more
  5348. recent (contemplated) versions over older ones. Closes
  5349. ticket 26372.
  5350. o Minor features (geoip):
  5351. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  5352. Country database. Closes ticket 26674.
  5353. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  5354. - Upon receiving a malformed connected cell, stop processing the
  5355. cell immediately. Previously we would mark the connection for
  5356. close, but continue processing the cell as if the connection were
  5357. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  5358. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  5359. - Allow the nanosleep() system call, which glibc uses to implement
  5360. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  5361. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  5362. - When running the hs_ntor_ref.py test, make sure only to pass
  5363. strings (rather than "bytes" objects) to the Python subprocess
  5364. module. Python 3 on Windows seems to require this. Fixes bug
  5365. 26535; bugfix on 0.3.1.1-alpha.
  5366. - When running the ntor_ref.py test, make sure only to pass strings
  5367. (rather than "bytes" objects) to the Python subprocess module.
  5368. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  5369. on 0.2.5.5-alpha.
  5370. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  5371. - Work around a change in OpenSSL 1.1.1 where return values that
  5372. would previously indicate "no password" now indicate an empty
  5373. password. Without this workaround, Tor instances running with
  5374. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  5375. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  5376. o Minor bugfixes (documentation, backport from 0.3.3.5-rc):
  5377. - Document that the PerConnBW{Rate,Burst} options will fall back to
  5378. their corresponding consensus parameters only if those parameters
  5379. are set. Previously we had claimed that these values would always
  5380. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  5381. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  5382. - Fix a compilation warning on some versions of GCC when building
  5383. code that calls routerinfo_get_my_routerinfo() twice, assuming
  5384. that the second call will succeed if the first one did. Fixes bug
  5385. 26269; bugfix on 0.2.8.2-alpha.
  5386. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  5387. - Don't consider Tor running as a client if the ControlPort is open,
  5388. but no actual client ports are open. Fixes bug 26062; bugfix
  5389. on 0.2.9.4-alpha.
  5390. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  5391. - Prevent a possible out-of-bounds smartlist read in
  5392. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  5393. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  5394. - Fix a very unlikely (impossible, we believe) null pointer
  5395. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  5396. Coverity; this is CID 1430932.
  5397. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  5398. - Fix a memory leak when a v3 onion service is configured and gets a
  5399. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  5400. - When parsing the descriptor signature, look for the token plus an
  5401. extra white-space at the end. This is more correct but also will
  5402. allow us to support new fields that might start with "signature".
  5403. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  5404. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  5405. - Relays now correctly block attempts to re-extend to the previous
  5406. relay by Ed25519 identity. Previously they would warn in this
  5407. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  5408. on 0.3.0.1-alpha.
  5409. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  5410. - Avoid a crash when running with DirPort set but ORPort turned off.
  5411. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  5412. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  5413. - Silence unused-const-variable warnings in zstd.h with some GCC
  5414. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  5415. o Minor bugfixes (testing, backport from 0.3.3.4-alpha):
  5416. - Avoid intermittent test failures due to a test that had relied on
  5417. onion service introduction point creation finishing within 5
  5418. seconds of real clock time. Fixes bug 25450; bugfix
  5419. on 0.3.1.3-alpha.
  5420. o Minor bugfixes (compilation, backport from 0.3.3.4-alpha):
  5421. - Fix a C99 compliance issue in our configuration script that caused
  5422. compilation issues when compiling Tor with certain versions of
  5423. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  5424. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  5425. - Fix a number of small memory leaks identified by coverity. Fixes
  5426. bug 26467; bugfix on numerous Tor versions.
  5427. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  5428. - Move the list of default directory authorities to its own file.
  5429. Closes ticket 24854. Patch by "beastr0".
  5430. Changes in version 0.2.9.16 - 2018-07-13
  5431. Tor 0.2.9.16 moves to a new bridge authority, meaning people running
  5432. bridge relays should upgrade. We also take this opportunity to backport
  5433. other minor fixes.
  5434. o Directory authority changes:
  5435. - The "Bifroest" bridge authority has been retired; the new bridge
  5436. authority is "Serge", and it is operated by George from the
  5437. TorBSD project. Closes ticket 26771.
  5438. o Directory authority changes (backport from 0.3.3.7):
  5439. - Add an IPv6 address for the "dannenberg" directory authority.
  5440. Closes ticket 26343.
  5441. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  5442. - When directory authorities read a zero-byte bandwidth file, they
  5443. would previously log a warning with the contents of an
  5444. uninitialised buffer. They now log a warning about the empty file
  5445. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  5446. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  5447. - Explicitly permit the poll() system call when the Linux
  5448. seccomp2-based sandbox is enabled: apparently, some versions of
  5449. libc use poll() when calling getpwnam(). Closes ticket 25313.
  5450. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  5451. - Our .travis.yml configuration now includes support for testing the
  5452. results of "make distcheck". (It's not uncommon for "make check"
  5453. to pass but "make distcheck" to fail.) Closes ticket 25814.
  5454. - Our Travis CI configuration now integrates with the Coveralls
  5455. coverage analysis tool. Closes ticket 25818.
  5456. o Minor features (compilation, backport from 0.3.4.4-rc):
  5457. - When building Tor, prefer to use Python 3 over Python 2, and more
  5458. recent (contemplated) versions over older ones. Closes
  5459. ticket 26372.
  5460. o Minor features (geoip):
  5461. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  5462. Country database. Closes ticket 26674.
  5463. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  5464. - Upon receiving a malformed connected cell, stop processing the
  5465. cell immediately. Previously we would mark the connection for
  5466. close, but continue processing the cell as if the connection were
  5467. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  5468. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  5469. - Allow the nanosleep() system call, which glibc uses to implement
  5470. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  5471. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  5472. - When running the ntor_ref.py test, make sure only to pass strings
  5473. (rather than "bytes" objects) to the Python subprocess module.
  5474. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  5475. on 0.2.5.5-alpha.
  5476. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  5477. - Work around a change in OpenSSL 1.1.1 where return values that
  5478. would previously indicate "no password" now indicate an empty
  5479. password. Without this workaround, Tor instances running with
  5480. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  5481. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  5482. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  5483. - Fix a compilation warning on some versions of GCC when building
  5484. code that calls routerinfo_get_my_routerinfo() twice, assuming
  5485. that the second call will succeed if the first one did. Fixes bug
  5486. 26269; bugfix on 0.2.8.2-alpha.
  5487. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  5488. - Don't consider Tor running as a client if the ControlPort is open,
  5489. but no actual client ports are open. Fixes bug 26062; bugfix
  5490. on 0.2.9.4-alpha.
  5491. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  5492. - Prevent a possible out-of-bounds smartlist read in
  5493. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  5494. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  5495. - Fix a very unlikely (impossible, we believe) null pointer
  5496. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  5497. Coverity; this is CID 1430932.
  5498. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  5499. - Fix a number of small memory leaks identified by coverity. Fixes
  5500. bug 26467; bugfix on numerous Tor versions.
  5501. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  5502. - Move the list of default directory authorities to its own file.
  5503. Closes ticket 24854. Patch by "beastr0".
  5504. Changes in version 0.3.3.8 - 2018-07-09
  5505. Tor 0.3.3.8 backports several changes from the 0.3.4.x series, including
  5506. fixes for a memory leak affecting directory authorities.
  5507. o Major bugfixes (directory authority, backport from 0.3.4.3-alpha):
  5508. - Stop leaking memory on directory authorities when planning to
  5509. vote. This bug was crashing authorities by exhausting their
  5510. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  5511. o Major bugfixes (rust, testing, backport from 0.3.4.3-alpha):
  5512. - Make sure that failing tests in Rust will actually cause the build
  5513. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  5514. on 0.3.3.4-alpha.
  5515. o Minor features (compilation, backport from 0.3.4.4-rc):
  5516. - When building Tor, prefer to use Python 3 over Python 2, and more
  5517. recent (contemplated) versions over older ones. Closes
  5518. ticket 26372.
  5519. o Minor features (geoip):
  5520. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  5521. Country database. Closes ticket 26674.
  5522. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  5523. - Add several checks to detect whether Tor relays are uploading
  5524. their descriptors without specifying why they regenerated them.
  5525. Diagnostic for ticket 25686.
  5526. o Minor bugfixes (circuit path selection, backport from 0.3.4.1-alpha):
  5527. - Don't count path selection failures as circuit build failures.
  5528. This change should eliminate cases where Tor blames its guard or
  5529. the network for situations like insufficient microdescriptors
  5530. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  5531. on 0.3.3.1-alpha.
  5532. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  5533. - Fix a compilation warning on some versions of GCC when building
  5534. code that calls routerinfo_get_my_routerinfo() twice, assuming
  5535. that the second call will succeed if the first one did. Fixes bug
  5536. 26269; bugfix on 0.2.8.2-alpha.
  5537. o Minor bugfixes (control port, backport from 0.3.4.4-rc):
  5538. - Handle the HSADDRESS= argument to the HSPOST command properly.
  5539. (Previously, this argument was misparsed and thus ignored.) Fixes
  5540. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  5541. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  5542. - Fix a number of small memory leaks identified by coverity. Fixes
  5543. bug 26467; bugfix on numerous Tor versions.
  5544. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  5545. - Relays now correctly block attempts to re-extend to the previous
  5546. relay by Ed25519 identity. Previously they would warn in this
  5547. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  5548. on 0.3.0.1-alpha.
  5549. o Minor bugfixes (restart-in-process, backport from 0.3.4.1-alpha):
  5550. - When shutting down, Tor now clears all the flags in the control.c
  5551. module. This should prevent a bug where authentication cookies are
  5552. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  5553. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  5554. - When running the hs_ntor_ref.py test, make sure only to pass
  5555. strings (rather than "bytes" objects) to the Python subprocess
  5556. module. Python 3 on Windows seems to require this. Fixes bug
  5557. 26535; bugfix on 0.3.1.1-alpha.
  5558. - When running the ntor_ref.py test, make sure only to pass strings
  5559. (rather than "bytes" objects) to the Python subprocess module.
  5560. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  5561. on 0.2.5.5-alpha.
  5562. Changes in version 0.3.3.7 - 2018-06-12
  5563. Tor 0.3.3.7 backports several changes from the 0.3.4.x series, including
  5564. fixes for bugs affecting compatibility and stability.
  5565. o Directory authority changes:
  5566. - Add an IPv6 address for the "dannenberg" directory authority.
  5567. Closes ticket 26343.
  5568. o Minor features (geoip):
  5569. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  5570. Country database. Closes ticket 26351.
  5571. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  5572. - Work around a change in OpenSSL 1.1.1 where return values that
  5573. would previously indicate "no password" now indicate an empty
  5574. password. Without this workaround, Tor instances running with
  5575. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  5576. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  5577. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  5578. - Silence unused-const-variable warnings in zstd.h with some GCC
  5579. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  5580. o Minor bugfixes (controller, backport from 0.3.4.2-alpha):
  5581. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  5582. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  5583. miscounting the total number of circuits for these field values.)
  5584. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  5585. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  5586. - Prevent a possible out-of-bounds smartlist read in
  5587. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  5588. o Minor bugfixes (path selection, backport from 0.3.4.1-alpha):
  5589. - Only select relays when they have the descriptors we prefer to use
  5590. for them. This change fixes a bug where we could select a relay
  5591. because it had _some_ descriptor, but reject it later with a
  5592. nonfatal assertion error because it didn't have the exact one we
  5593. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  5594. Changes in version 0.3.3.6 - 2018-05-22
  5595. Tor 0.3.3.6 is the first stable release in the 0.3.3 series. It
  5596. backports several important fixes from the 0.3.4.1-alpha.
  5597. The Tor 0.3.3 series includes controller support and other
  5598. improvements for v3 onion services, official support for embedding Tor
  5599. within other applications, and our first non-trivial module written in
  5600. the Rust programming language. (Rust is still not enabled by default
  5601. when building Tor.) And as usual, there are numerous other smaller
  5602. bugfixes, features, and improvements.
  5603. Below are the changes since 0.3.2.10. For a list of only the changes
  5604. since 0.3.3.5-rc, see the ChangeLog file.
  5605. o New system requirements:
  5606. - When built with Rust, Tor now depends on version 0.2.39 of the
  5607. libc crate. Closes tickets 25310 and 25664.
  5608. o Major features (embedding):
  5609. - There is now a documented stable API for programs that need to
  5610. embed Tor. See tor_api.h for full documentation and known bugs.
  5611. Closes ticket 23684.
  5612. - Tor now has support for restarting in the same process.
  5613. Controllers that run Tor using the "tor_api.h" interface can now
  5614. restart Tor after Tor has exited. This support is incomplete,
  5615. however: we fixed crash bugs that prevented it from working at
  5616. all, but many bugs probably remain, including a possibility of
  5617. security issues. Implements ticket 24581.
  5618. o Major features (IPv6, directory documents):
  5619. - Add consensus method 27, which adds IPv6 ORPorts to the microdesc
  5620. consensus. This information makes it easier for IPv6 clients to
  5621. bootstrap and choose reachable entry guards. Implements
  5622. ticket 23826.
  5623. - Add consensus method 28, which removes IPv6 ORPorts from
  5624. microdescriptors. Now that the consensus contains IPv6 ORPorts,
  5625. they are redundant in microdescs. This change will be used by Tor
  5626. clients on 0.2.8.x and later. (That is to say, with all Tor
  5627. clients that have IPv6 bootstrap and guard support.) Implements
  5628. ticket 23828.
  5629. - Expand the documentation for AuthDirHasIPv6Connectivity when it is
  5630. set by different numbers of authorities. Fixes 23870
  5631. on 0.2.4.1-alpha.
  5632. o Major features (onion service v3, control port):
  5633. - The control port now supports commands and events for v3 onion
  5634. services. It is now possible to create ephemeral v3 services using
  5635. ADD_ONION. Additionally, several events (HS_DESC, HS_DESC_CONTENT,
  5636. CIRC and CIRC_MINOR) and commands (GETINFO, HSPOST, ADD_ONION and
  5637. DEL_ONION) have been extended to support v3 onion services. Closes
  5638. ticket 20699; implements proposal 284.
  5639. o Major features (onion services):
  5640. - Provide torrc options to pin the second and third hops of onion
  5641. service circuits to a list of nodes. The option HSLayer2Guards
  5642. pins the second hop, and the option HSLayer3Guards pins the third
  5643. hop. These options are for use in conjunction with experiments
  5644. with "vanguards" for preventing guard enumeration attacks. Closes
  5645. ticket 13837.
  5646. - When v3 onion service clients send introduce cells, they now
  5647. include the IPv6 address of the rendezvous point, if it has one.
  5648. Current v3 onion services running 0.3.2 ignore IPv6 addresses, but
  5649. in future Tor versions, IPv6-only v3 single onion services will be
  5650. able to use IPv6 addresses to connect directly to the rendezvous
  5651. point. Closes ticket 23577. Patch by Neel Chauhan.
  5652. o Major features (relay):
  5653. - Implement an option, ReducedExitPolicy, to allow an Tor exit relay
  5654. operator to use a more reasonable ("reduced") exit policy, rather
  5655. than the default one. If you want to run an exit node without
  5656. thinking too hard about which ports to allow, this one is for you.
  5657. Closes ticket 13605. Patch from Neel Chauhan.
  5658. o Major features (rust, portability, experimental):
  5659. - Tor now ships with an optional implementation of one of its
  5660. smaller modules (protover.c) in the Rust programming language. To
  5661. try it out, install a Rust build environment, and configure Tor
  5662. with "--enable-rust --enable-cargo-online-mode". This should not
  5663. cause any user-visible changes, but should help us gain more
  5664. experience with Rust, and plan future Rust integration work.
  5665. Implementation by Chelsea Komlo. Closes ticket 22840.
  5666. o Major bugfixes (directory authorities, security, backport from 0.3.4.1-alpha):
  5667. - When directory authorities read a zero-byte bandwidth file, they
  5668. would previously log a warning with the contents of an
  5669. uninitialised buffer. They now log a warning about the empty file
  5670. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  5671. o Major bugfixes (security, directory authority, denial-of-service):
  5672. - Fix a bug that could have allowed an attacker to force a directory
  5673. authority to use up all its RAM by passing it a maliciously
  5674. crafted protocol versions string. Fixes bug 25517; bugfix on
  5675. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  5676. o Major bugfixes (crash, backport from 0.3.4.1-alpha):
  5677. - Avoid a rare assertion failure in the circuit build timeout code
  5678. if we fail to allow any circuits to actually complete. Fixes bug
  5679. 25733; bugfix on 0.2.2.2-alpha.
  5680. o Major bugfixes (netflow padding):
  5681. - Stop adding unneeded channel padding right after we finish
  5682. flushing to a connection that has been trying to flush for many
  5683. seconds. Instead, treat all partial or complete flushes as
  5684. activity on the channel, which will defer the time until we need
  5685. to add padding. This fix should resolve confusing and scary log
  5686. messages like "Channel padding timeout scheduled 221453ms in the
  5687. past." Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  5688. o Major bugfixes (networking):
  5689. - Tor will no longer reject IPv6 address strings from Tor Browser
  5690. when they are passed as hostnames in SOCKS5 requests. Fixes bug
  5691. 25036, bugfix on Tor 0.3.1.2.
  5692. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  5693. - Correctly detect when onion services get disabled after HUP. Fixes
  5694. bug 25761; bugfix on 0.3.2.1.
  5695. o Major bugfixes (performance, load balancing):
  5696. - Directory authorities no longer vote in favor of the Guard flag
  5697. for relays without directory support. Starting in Tor
  5698. 0.3.0.1-alpha, clients have been avoiding using such relays in the
  5699. Guard position, leading to increasingly broken load balancing for
  5700. the 5%-or-so of Guards that don't advertise directory support.
  5701. Fixes bug 22310; bugfix on 0.3.0.6.
  5702. o Major bugfixes (relay):
  5703. - If we have failed to connect to a relay and received a connection
  5704. refused, timeout, or similar error (at the TCP level), do not try
  5705. that same address/port again for 60 seconds after the failure has
  5706. occurred. Fixes bug 24767; bugfix on 0.0.6.
  5707. o Major bugfixes (relay, denial of service, backport from 0.3.4.1-alpha):
  5708. - Impose a limit on circuit cell queue size. The limit can be
  5709. controlled by a consensus parameter. Fixes bug 25226; bugfix
  5710. on 0.2.4.14-alpha.
  5711. o Minor features (cleanup):
  5712. - Tor now deletes the CookieAuthFile and ExtORPortCookieAuthFile
  5713. when it stops. Closes ticket 23271.
  5714. o Minor features (compatibility, backport from 0.3.4.1-alpha):
  5715. - Avoid some compilation warnings with recent versions of LibreSSL.
  5716. Closes ticket 26006.
  5717. o Minor features (config options):
  5718. - Change the way the default value for MaxMemInQueues is calculated.
  5719. We now use 40% of the hardware RAM if the system has 8 GB RAM or
  5720. more. Otherwise we use the former value of 75%. Closes
  5721. ticket 24782.
  5722. o Minor features (continuous integration):
  5723. - Update the Travis CI configuration to use the stable Rust channel,
  5724. now that we have decided to require that. Closes ticket 25714.
  5725. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  5726. - Our .travis.yml configuration now includes support for testing the
  5727. results of "make distcheck". (It's not uncommon for "make check"
  5728. to pass but "make distcheck" to fail.) Closes ticket 25814.
  5729. - Our Travis CI configuration now integrates with the Coveralls
  5730. coverage analysis tool. Closes ticket 25818.
  5731. o Minor features (defensive programming):
  5732. - Most of the functions in Tor that free objects have been replaced
  5733. with macros that free the objects and set the corresponding
  5734. pointers to NULL. This change should help prevent a large class of
  5735. dangling pointer bugs. Closes ticket 24337.
  5736. - Where possible, the tor_free() macro now only evaluates its input
  5737. once. Part of ticket 24337.
  5738. - Check that microdesc ed25519 ids are non-zero in
  5739. node_get_ed25519_id() before returning them. Implements ticket
  5740. 24001, patch by "aruna1234".
  5741. o Minor features (directory authority):
  5742. - When directory authorities are unable to add signatures to a
  5743. pending consensus, log the reason why. Closes ticket 24849.
  5744. o Minor features (embedding):
  5745. - Tor can now start with a preauthenticated control connection
  5746. created by the process that launched it. This feature is meant for
  5747. use by programs that want to launch and manage a Tor process
  5748. without allowing other programs to manage it as well. For more
  5749. information, see the __OwningControllerFD option documented in
  5750. control-spec.txt. Closes ticket 23900.
  5751. - On most errors that would cause Tor to exit, it now tries to
  5752. return from the tor_main() function, rather than calling the
  5753. system exit() function. Most users won't notice a difference here,
  5754. but it should be significant for programs that run Tor inside a
  5755. separate thread: they should now be able to survive Tor's exit
  5756. conditions rather than having Tor shut down the entire process.
  5757. Closes ticket 23848.
  5758. - Applications that want to embed Tor can now tell Tor not to
  5759. register any of its own POSIX signal handlers, using the
  5760. __DisableSignalHandlers option. Closes ticket 24588.
  5761. o Minor features (fallback directory list):
  5762. - Avoid selecting fallbacks that change their IP addresses too
  5763. often. Select more fallbacks by ignoring the Guard flag, and
  5764. allowing lower cutoffs for the Running and V2Dir flags. Also allow
  5765. a lower bandwidth, and a higher number of fallbacks per operator
  5766. (5% of the list). Implements ticket 24785.
  5767. - Update the fallback whitelist and blacklist based on opt-ins and
  5768. relay changes. Closes tickets 22321, 24678, 22527, 24135,
  5769. and 24695.
  5770. o Minor features (fallback directory mirror configuration):
  5771. - Add a nickname to each fallback in a C comment. This makes it
  5772. easier for operators to find their relays, and allows stem to use
  5773. nicknames to identify fallbacks. Implements ticket 24600.
  5774. - Add a type and version header to the fallback directory mirror
  5775. file. Also add a delimiter to the end of each fallback entry. This
  5776. helps external parsers like stem and Relay Search. Implements
  5777. ticket 24725.
  5778. - Add an extrainfo cache flag for each fallback in a C comment. This
  5779. allows stem to use fallbacks to fetch extra-info documents, rather
  5780. than using authorities. Implements ticket 22759.
  5781. - Add the generateFallbackDirLine.py script for automatically
  5782. generating fallback directory mirror lines from relay fingerprints.
  5783. No more typos! Add the lookupFallbackDirContact.py script for
  5784. automatically looking up operator contact info from relay
  5785. fingerprints. Implements ticket 24706, patch by teor and atagar.
  5786. - Reject any fallback directory mirror that serves an expired
  5787. consensus. Implements ticket 20942, patch by "minik".
  5788. - Remove commas and equals signs from external string inputs to the
  5789. fallback list. This avoids format confusion attacks. Implements
  5790. ticket 24726.
  5791. - Remove the "weight=10" line from fallback directory mirror
  5792. entries. Ticket 24681 will maintain the current fallback weights
  5793. by changing Tor's default fallback weight to 10. Implements
  5794. ticket 24679.
  5795. - Stop logging excessive information about fallback netblocks.
  5796. Implements ticket 24791.
  5797. o Minor features (forward-compatibility):
  5798. - If a relay supports some link authentication protocol that we do
  5799. not recognize, then include that relay's ed25519 key when telling
  5800. other relays to extend to it. Previously, we treated future
  5801. versions as if they were too old to support ed25519 link
  5802. authentication. Closes ticket 20895.
  5803. o Minor features (geoip):
  5804. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  5805. database. Closes ticket 26104.
  5806. o Minor features (heartbeat):
  5807. - Add onion service information to our heartbeat logs, displaying
  5808. stats about the activity of configured onion services. Closes
  5809. ticket 24896.
  5810. o Minor features (instrumentation, development):
  5811. - Add the MainloopStats option to allow developers to get
  5812. instrumentation information from the main event loop via the
  5813. heartbeat messages. We hope to use this to improve Tor's behavior
  5814. when it's trying to sleep. Closes ticket 24605.
  5815. o Minor features (IPv6):
  5816. - Make IPv6-only clients wait for microdescs for relays, even if we
  5817. were previously using descriptors (or were using them as a bridge)
  5818. and have a cached descriptor for them. Implements ticket 23827.
  5819. - When a consensus has IPv6 ORPorts, make IPv6-only clients use
  5820. them, rather than waiting to download microdescriptors. Implements
  5821. ticket 23827.
  5822. o Minor features (log messages):
  5823. - Improve log message in the out-of-memory handler to include
  5824. information about memory usage from the different compression
  5825. backends. Closes ticket 25372.
  5826. - Improve a warning message that happens when we fail to re-parse an
  5827. old router because of an expired certificate. Closes ticket 20020.
  5828. - Make the log more quantitative when we hit MaxMemInQueues
  5829. threshold exposing some values. Closes ticket 24501.
  5830. o Minor features (logging):
  5831. - Clarify the log messages produced when getrandom() or a related
  5832. entropy-generation mechanism gives an error. Closes ticket 25120.
  5833. - Added support for the Android logging subsystem. Closes
  5834. ticket 24362.
  5835. o Minor features (performance):
  5836. - Support predictive circuit building for onion service circuits
  5837. with multiple layers of guards. Closes ticket 23101.
  5838. - Use stdatomic.h where available, rather than mutexes, to implement
  5839. atomic_counter_t. Closes ticket 23953.
  5840. o Minor features (performance, 32-bit):
  5841. - Improve performance on 32-bit systems by avoiding 64-bit division
  5842. when calculating the timestamp in milliseconds for channel padding
  5843. computations. Implements ticket 24613.
  5844. - Improve performance on 32-bit systems by avoiding 64-bit division
  5845. when timestamping cells and buffer chunks for OOM calculations.
  5846. Implements ticket 24374.
  5847. o Minor features (performance, OSX, iOS):
  5848. - Use the mach_approximate_time() function (when available) to
  5849. implement coarse monotonic time. Having a coarse time function
  5850. should avoid a large number of system calls, and improve
  5851. performance slightly, especially under load. Closes ticket 24427.
  5852. o Minor features (performance, windows):
  5853. - Improve performance on Windows Vista and Windows 7 by adjusting
  5854. TCP send window size according to the recommendation from
  5855. SIO_IDEAL_SEND_BACKLOG_QUERY. Closes ticket 22798. Patch
  5856. from Vort.
  5857. o Minor features (sandbox):
  5858. - Explicitly permit the poll() system call when the Linux
  5859. seccomp2-based sandbox is enabled: apparently, some versions of
  5860. libc use poll() when calling getpwnam(). Closes ticket 25313.
  5861. o Minor features (storage, configuration):
  5862. - Users can store cached directory documents somewhere other than
  5863. the DataDirectory by using the CacheDirectory option. Similarly,
  5864. the storage location for relay's keys can be overridden with the
  5865. KeyDirectory option. Closes ticket 22703.
  5866. o Minor features (testing):
  5867. - Add a "make test-rust" target to run the rust tests only. Closes
  5868. ticket 25071.
  5869. o Minor features (testing, debugging, embedding):
  5870. - For development purposes, Tor now has a mode in which it runs for
  5871. a few seconds, then stops, and starts again without exiting the
  5872. process. This mode is meant to help us debug various issues with
  5873. ticket 23847. To use this feature, compile with
  5874. --enable-restart-debugging, and set the TOR_DEBUG_RESTART
  5875. environment variable. This is expected to crash a lot, and is
  5876. really meant for developers only. It will likely be removed in a
  5877. future release. Implements ticket 24583.
  5878. o Minor bugfixes (build, rust):
  5879. - Fix output of autoconf checks to display success messages for Rust
  5880. dependencies and a suitable rustc compiler version. Fixes bug
  5881. 24612; bugfix on 0.3.1.3-alpha.
  5882. - Don't pass the --quiet option to cargo: it seems to suppress some
  5883. errors, which is not what we want to do when building. Fixes bug
  5884. 24518; bugfix on 0.3.1.7.
  5885. - Build correctly when building from outside Tor's source tree with
  5886. the TOR_RUST_DEPENDENCIES option set. Fixes bug 22768; bugfix
  5887. on 0.3.1.7.
  5888. o Minor bugfixes (C correctness):
  5889. - Fix a very unlikely (impossible, we believe) null pointer
  5890. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  5891. Coverity; this is CID 1430932.
  5892. o Minor bugfixes (channel, client):
  5893. - Better identify client connection when reporting to the geoip
  5894. client cache. Fixes bug 24904; bugfix on 0.3.1.7.
  5895. o Minor bugfixes (circuit, cannibalization):
  5896. - Don't cannibalize preemptively-built circuits if we no longer
  5897. recognize their first hop. This situation can happen if our Guard
  5898. relay went off the consensus after the circuit was created. Fixes
  5899. bug 24469; bugfix on 0.0.6.
  5900. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  5901. - Don't consider Tor running as a client if the ControlPort is open,
  5902. but no actual client ports are open. Fixes bug 26062; bugfix
  5903. on 0.2.9.4-alpha.
  5904. o Minor bugfixes (compilation):
  5905. - Fix a C99 compliance issue in our configuration script that caused
  5906. compilation issues when compiling Tor with certain versions of
  5907. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  5908. o Minor bugfixes (controller):
  5909. - Restore the correct operation of the RESOLVE command, which had
  5910. been broken since we added the ability to enable/disable DNS on
  5911. specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha.
  5912. - Avoid a (nonfatal) assertion failure when extending a one-hop
  5913. circuit from the controller to become a multihop circuit. Fixes
  5914. bug 24903; bugfix on 0.2.5.2-alpha.
  5915. o Minor bugfixes (correctness):
  5916. - Remove a nonworking, unnecessary check to see whether a circuit
  5917. hop's identity digest was set when the circuit failed. Fixes bug
  5918. 24927; bugfix on 0.2.4.4-alpha.
  5919. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  5920. - Upon receiving a malformed connected cell, stop processing the
  5921. cell immediately. Previously we would mark the connection for
  5922. close, but continue processing the cell as if the connection were
  5923. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  5924. o Minor bugfixes (directory authorities, IPv6):
  5925. - When creating a routerstatus (vote) from a routerinfo (descriptor),
  5926. set the IPv6 address to the unspecified IPv6 address, and
  5927. explicitly initialize the port to zero. Fixes bug 24488; bugfix
  5928. on 0.2.4.1-alpha.
  5929. o Minor bugfixes (documentation):
  5930. - Document that the PerConnBW{Rate,Burst} options will fall back to
  5931. their corresponding consensus parameters only if those parameters
  5932. are set. Previously we had claimed that these values would always
  5933. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  5934. o Minor bugfixes (documentation, backport from 0.3.4.1-alpha):
  5935. - Stop saying in the manual that clients cache ipv4 dns answers from
  5936. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  5937. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  5938. we forgot to say so in the man page. Fixes bug 26052; bugfix
  5939. on 0.3.2.6-alpha.
  5940. o Minor bugfixes (exit relay DNS retries):
  5941. - Re-attempt timed-out DNS queries 3 times before failure, since our
  5942. timeout is 5 seconds for them, but clients wait 10-15. Also allow
  5943. slightly more timeouts per resolver when an exit has multiple
  5944. resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
  5945. o Minor bugfixes (fallback directory mirrors):
  5946. - Make updateFallbackDirs.py search harder for python. (Some OSs
  5947. don't put it in /usr/bin.) Fixes bug 24708; bugfix
  5948. on 0.2.8.1-alpha.
  5949. o Minor bugfixes (hibernation, bandwidth accounting, shutdown):
  5950. - When hibernating, close connections normally and allow them to
  5951. flush. Fixes bug 23571; bugfix on 0.2.4.7-alpha. Also fixes
  5952. bug 7267.
  5953. - Do not attempt to launch self-reachability tests when entering
  5954. hibernation. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  5955. - Resolve several bugs related to descriptor fetching on bridge
  5956. clients with bandwidth accounting enabled. (This combination is
  5957. not recommended!) Fixes a case of bug 12062; bugfix
  5958. on 0.2.0.3-alpha.
  5959. - When hibernating, do not attempt to launch DNS checks. Fixes a
  5960. case of bug 12062; bugfix on 0.1.2.2-alpha.
  5961. - When hibernating, do not try to upload or download descriptors.
  5962. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  5963. o Minor bugfixes (IPv6, bridges):
  5964. - Tor now always sets IPv6 preferences for bridges. Fixes bug 24573;
  5965. bugfix on 0.2.8.2-alpha.
  5966. - Tor now sets IPv6 address in the routerstatus as well as in the
  5967. router descriptors when updating addresses for a bridge. Closes
  5968. ticket 24572; bugfix on 0.2.4.5-alpha. Patch by "ffmancera".
  5969. o Minor bugfixes (Linux seccomp2 sandbox):
  5970. - When running with the sandbox enabled, reload configuration files
  5971. correctly even when %include was used. Previously we would crash.
  5972. Fixes bug 22605; bugfix on 0.3.1. Patch from Daniel Pinto.
  5973. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  5974. - Allow the nanosleep() system call, which glibc uses to implement
  5975. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  5976. o Minor bugfixes (logging):
  5977. - Fix a (mostly harmless) race condition when invoking
  5978. LOG_PROTOCOL_WARN message from a subthread while the torrc options
  5979. are changing. Fixes bug 23954; bugfix on 0.1.1.9-alpha.
  5980. o Minor bugfixes (man page, SocksPort):
  5981. - Remove dead code from the old "SocksSocket" option, and rename
  5982. SocksSocketsGroupWritable to UnixSocksGroupWritable. The old
  5983. option still works, but is deprecated. Fixes bug 24343; bugfix
  5984. on 0.2.6.3.
  5985. o Minor bugfixes (memory leaks):
  5986. - Avoid possible at-exit memory leaks related to use of Libevent's
  5987. event_base_once() function. (This function tends to leak memory if
  5988. the event_base is closed before the event fires.) Fixes bug 24584;
  5989. bugfix on 0.2.8.1-alpha.
  5990. - Fix a harmless memory leak in tor-resolve. Fixes bug 24582; bugfix
  5991. on 0.2.1.1-alpha.
  5992. o Minor bugfixes (network IPv6 test):
  5993. - Tor's test scripts now check if "ping -6 ::1" works when the user
  5994. runs "make test-network-all". Fixes bug 24677; bugfix on
  5995. 0.2.9.3-alpha. Patch by "ffmancera".
  5996. o Minor bugfixes (networking):
  5997. - string_is_valid_hostname() will not consider IP strings to be
  5998. valid hostnames. Fixes bug 25055; bugfix on Tor 0.2.5.5.
  5999. o Minor bugfixes (onion service v3):
  6000. - Avoid an assertion failure when the next onion service descriptor
  6001. rotation type is out of sync with the consensus's valid-after
  6002. time. Instead, log a warning message with extra information, so we
  6003. can better hunt down the cause of this assertion. Fixes bug 25306;
  6004. bugfix on 0.3.2.1-alpha.
  6005. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  6006. - Fix a memory leak when a v3 onion service is configured and gets a
  6007. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  6008. - When parsing the descriptor signature, look for the token plus an
  6009. extra white-space at the end. This is more correct but also will
  6010. allow us to support new fields that might start with "signature".
  6011. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  6012. o Minor bugfixes (onion services):
  6013. - If we are configured to offer a single onion service, don't log
  6014. long-term established one hop rendezvous points in the heartbeat.
  6015. Fixes bug 25116; bugfix on 0.2.9.6-rc.
  6016. o Minor bugfixes (performance):
  6017. - Reduce the number of circuits that will be opened at once during
  6018. the circuit build timeout phase. This is done by increasing the
  6019. idle timeout to 3 minutes, and lowering the maximum number of
  6020. concurrent learning circuits to 10. Fixes bug 24769; bugfix
  6021. on 0.3.1.1-alpha.
  6022. - Avoid calling protocol_list_supports_protocol() from inside tight
  6023. loops when running with cached routerinfo_t objects. Instead,
  6024. summarize the relevant protocols as flags in the routerinfo_t, as
  6025. we do for routerstatus_t objects. This change simplifies our code
  6026. a little, and saves a large amount of short-term memory allocation
  6027. operations. Fixes bug 25008; bugfix on 0.2.9.4-alpha.
  6028. o Minor bugfixes (performance, timeouts):
  6029. - Consider circuits for timeout as soon as they complete a hop. This
  6030. is more accurate than applying the timeout in
  6031. circuit_expire_building() because that function is only called
  6032. once per second, which is now too slow for typical timeouts on the
  6033. current network. Fixes bug 23114; bugfix on 0.2.2.2-alpha.
  6034. - Use onion service circuits (and other circuits longer than 3 hops)
  6035. to calculate a circuit build timeout. Previously, Tor only
  6036. calculated its build timeout based on circuits that planned to be
  6037. exactly 3 hops long. With this change, we include measurements
  6038. from all circuits at the point where they complete their third
  6039. hop. Fixes bug 23100; bugfix on 0.2.2.2-alpha.
  6040. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  6041. - Avoid a crash when running with DirPort set but ORPort turned off.
  6042. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  6043. o Minor bugfixes (Rust FFI):
  6044. - Fix a minor memory leak which would happen whenever the C code
  6045. would call the Rust implementation of
  6046. protover_get_supported_protocols(). This was due to the C version
  6047. returning a static string, whereas the Rust version newly allocated
  6048. a CString to pass across the FFI boundary. Consequently, the C
  6049. code was not expecting to need to free() what it was given. Fixes
  6050. bug 25127; bugfix on 0.3.2.1-alpha.
  6051. o Minor bugfixes (spelling):
  6052. - Use the "misspell" tool to detect and fix typos throughout the
  6053. source code. Fixes bug 23650; bugfix on various versions of Tor.
  6054. Patch from Deepesh Pathak.
  6055. o Minor bugfixes (testing):
  6056. - Avoid intermittent test failures due to a test that had relied on
  6057. onion service introduction point creation finishing within 5
  6058. seconds of real clock time. Fixes bug 25450; bugfix
  6059. on 0.3.1.3-alpha.
  6060. - Give out Exit flags in bootstrapping networks. Fixes bug 24137;
  6061. bugfix on 0.2.3.1-alpha.
  6062. o Minor bugfixes (unit test, monotonic time):
  6063. - Increase a constant (1msec to 10msec) in the monotonic time test
  6064. that makes sure the nsec/usec/msec times read are synchronized.
  6065. This change was needed to accommodate slow systems like armel or
  6066. when the clock_gettime() is not a VDSO on the running kernel.
  6067. Fixes bug 25113; bugfix on 0.2.9.1.
  6068. o Code simplification and refactoring:
  6069. - Move the list of default directory authorities to its own file.
  6070. Closes ticket 24854. Patch by "beastr0".
  6071. - Remove the old (deterministic) directory retry logic entirely:
  6072. We've used exponential backoff exclusively for some time. Closes
  6073. ticket 23814.
  6074. - Remove the unused nodelist_recompute_all_hsdir_indices(). Closes
  6075. ticket 25108.
  6076. - Remove a series of counters used to track circuit extend attempts
  6077. and connection status but that in reality we aren't using for
  6078. anything other than stats logged by a SIGUSR1 signal. Closes
  6079. ticket 25163.
  6080. - Remove /usr/athena from search path in configure.ac. Closes
  6081. ticket 24363.
  6082. - Remove duplicate code in node_has_curve25519_onion_key() and
  6083. node_get_curve25519_onion_key(), and add a check for a zero
  6084. microdesc curve25519 onion key. Closes ticket 23966, patch by
  6085. "aruna1234" and teor.
  6086. - Rewrite channel_rsa_id_group_set_badness to reduce temporary
  6087. memory allocations with large numbers of OR connections (e.g.
  6088. relays). Closes ticket 24119.
  6089. - Separate the function that deletes ephemeral files when Tor
  6090. stops gracefully.
  6091. - Small changes to Tor's buf_t API to make it suitable for use as a
  6092. general-purpose safe string constructor. Closes ticket 22342.
  6093. - Switch -Wnormalized=id to -Wnormalized=nfkc in configure.ac to
  6094. avoid source code identifier confusion. Closes ticket 24467.
  6095. - The tor_git_revision[] constant no longer needs to be redeclared
  6096. by everything that links against the rest of Tor. Done as part of
  6097. ticket 23845, to simplify our external API.
  6098. - We make extend_info_from_node() use node_get_curve25519_onion_key()
  6099. introduced in ticket 23577 to access the curve25519 public keys
  6100. rather than accessing it directly. Closes ticket 23760. Patch by
  6101. Neel Chauhan.
  6102. - Add a function to log channels' scheduler state changes to aid
  6103. debugging efforts. Closes ticket 24531.
  6104. o Documentation:
  6105. - Improved the documentation of AccountingStart parameter. Closes
  6106. ticket 23635.
  6107. - Update the documentation for "Log" to include the current list of
  6108. logging domains. Closes ticket 25378.
  6109. - Add documentation on how to build tor with Rust dependencies
  6110. without having to be online. Closes ticket 22907; bugfix
  6111. on 0.3.0.3-alpha.
  6112. - Clarify the behavior of RelayBandwidth{Rate,Burst} with client
  6113. traffic. Closes ticket 24318.
  6114. - Document that OutboundBindAddress doesn't apply to DNS requests.
  6115. Closes ticket 22145. Patch from Aruna Maurya.
  6116. o Code simplification and refactoring (channels):
  6117. - Remove the incoming and outgoing channel queues. These were never
  6118. used, but still took up a step in our fast path.
  6119. - The majority of the channel unit tests have been rewritten and the
  6120. code coverage has now been raised to 83.6% for channel.c. Closes
  6121. ticket 23709.
  6122. - Remove other dead code from the channel subsystem: All together,
  6123. this cleanup has removed more than 1500 lines of code overall and
  6124. adding very little except for unit test.
  6125. o Code simplification and refactoring (circuit rendezvous):
  6126. - Split the client-side rendezvous circuit lookup into two
  6127. functions: one that returns only established circuits and another
  6128. that returns all kinds of circuits. Closes ticket 23459.
  6129. o Code simplification and refactoring (controller):
  6130. - Make most of the variables in networkstatus_getinfo_by_purpose()
  6131. const. Implements ticket 24489.
  6132. o Documentation (backport from 0.3.4.1-alpha):
  6133. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  6134. ticket 25857. Patch from "CTassisF".
  6135. o Documentation (man page):
  6136. - The HiddenServiceVersion torrc option accepts only one number:
  6137. either version 2 or 3. Closes ticket 25026; bugfix
  6138. on 0.3.2.2-alpha.
  6139. o Documentation (manpage, denial of service):
  6140. - Provide more detail about the denial-of-service options, by
  6141. listing each mitigation and explaining how they relate. Closes
  6142. ticket 25248.
  6143. Changes in version 0.3.1.10 - 2018-03-03
  6144. Tor 0.3.1.10 backports a number of bugfixes, including important fixes for
  6145. security issues.
  6146. It includes an important security fix for a remote crash attack
  6147. against directory authorities, tracked as TROVE-2018-001.
  6148. This release also backports our new system for improved resistance to
  6149. denial-of-service attacks against relays.
  6150. This release also fixes several minor bugs and annoyances from
  6151. earlier releases.
  6152. All directory authorities should upgrade to one of the versions
  6153. released today. Relays running 0.3.1.x may wish to update to one of
  6154. the versions released today, for the DoS mitigations.
  6155. Please note: according to our release calendar, Tor 0.3.1 will no
  6156. longer be supported after 1 July 2018. If you will be running Tor
  6157. after that date, you should make sure to plan to upgrade to the latest
  6158. stable version, or downgrade to 0.2.9 (which will receive long-term
  6159. support).
  6160. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  6161. - Fix a protocol-list handling bug that could be used to remotely crash
  6162. directory authorities with a null-pointer exception. Fixes bug 25074;
  6163. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  6164. CVE-2018-0490.
  6165. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  6166. - Give relays some defenses against the recent network overload. We
  6167. start with three defenses (default parameters in parentheses).
  6168. First: if a single client address makes too many concurrent
  6169. connections (>100), hang up on further connections. Second: if a
  6170. single client address makes circuits too quickly (more than 3 per
  6171. second, with an allowed burst of 90) while also having too many
  6172. connections open (3), refuse new create cells for the next while
  6173. (1-2 hours). Third: if a client asks to establish a rendezvous
  6174. point to you directly, ignore the request. These defenses can be
  6175. manually controlled by new torrc options, but relays will also
  6176. take guidance from consensus parameters, so there's no need to
  6177. configure anything manually. Implements ticket 24902.
  6178. o Minor features (linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  6179. - Update the sandbox rules so that they should now work correctly
  6180. with Glibc 2.26. Closes ticket 24315.
  6181. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  6182. - Fix an "off by 2" error in counting rendezvous failures on the
  6183. onion service side. While we thought we would stop the rendezvous
  6184. attempt after one failed circuit, we were actually making three
  6185. circuit attempts before giving up. Now switch to a default of 2,
  6186. and allow the consensus parameter "hs_service_max_rdv_failures" to
  6187. override. Fixes bug 24895; bugfix on 0.0.6.
  6188. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  6189. - Add Link protocol version 5 to the supported protocols list. Fixes
  6190. bug 25070; bugfix on 0.3.1.1-alpha.
  6191. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  6192. - Fix a set of false positives where relays would consider
  6193. connections to other relays as being client-only connections (and
  6194. thus e.g. deserving different link padding schemes) if those
  6195. relays fell out of the consensus briefly. Now we look only at the
  6196. initial handshake and whether the connection authenticated as a
  6197. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  6198. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  6199. - Make our OOM handler aware of the geoip client history cache so it
  6200. doesn't fill up the memory. This check is important for IPv6 and
  6201. our DoS mitigation subsystem. Closes ticket 25122.
  6202. o Minor feature (relay statistics, backport from 0.3.2.6-alpha):
  6203. - Change relay bandwidth reporting stats interval from 4 hours to 24
  6204. hours in order to reduce the efficiency of guard discovery
  6205. attacks. Fixes ticket 23856.
  6206. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  6207. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  6208. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  6209. since they neither disabled TLS 1.3 nor enabled any of the
  6210. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  6211. Closes ticket 24978.
  6212. o Minor features (fallback directory mirrors, backport from 0.3.2.9):
  6213. - The fallback directory list has been re-generated based on the
  6214. current status of the network. Tor uses fallback directories to
  6215. bootstrap when it doesn't yet have up-to-date directory
  6216. information. Closes ticket 24801.
  6217. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  6218. prefer to bootstrap from fallback directory mirrors. This is a
  6219. follow-up to 24679, which removed weights from the default
  6220. fallbacks. Implements ticket 24681.
  6221. o Minor features (geoip):
  6222. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  6223. Country database.
  6224. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  6225. - Use the actual observed address of an incoming relay connection,
  6226. not the canonical address of the relay from its descriptor, when
  6227. making decisions about how to handle the incoming connection.
  6228. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  6229. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  6230. - Directory authorities, when refusing a descriptor from a rejected
  6231. relay, now explicitly tell the relay (in its logs) to set a valid
  6232. ContactInfo address and contact the bad-relays@ mailing list.
  6233. Fixes bug 25170; bugfix on 0.2.9.1.
  6234. o Minor bugfixes (address selection, backport from 0.3.2.9):
  6235. - When the fascist_firewall_choose_address_ functions don't find a
  6236. reachable address, set the returned address to the null address
  6237. and port. This is a precautionary measure, because some callers do
  6238. not check the return value. Fixes bug 24736; bugfix
  6239. on 0.2.8.2-alpha.
  6240. o Major bugfixes (bootstrapping, backport from 0.3.2.5-alpha):
  6241. - Fetch descriptors aggressively whenever we lack enough to build
  6242. circuits, regardless of how many descriptors we are missing.
  6243. Previously, we would delay launching the fetch when we had fewer
  6244. than 15 missing descriptors, even if some of those descriptors
  6245. were blocking circuits from building. Fixes bug 23985; bugfix on
  6246. 0.1.1.11-alpha. The effects of this bug became worse in
  6247. 0.3.0.3-alpha, when we began treating missing descriptors from our
  6248. primary guards as a reason to delay circuits.
  6249. - Don't try fetching microdescriptors from relays that have failed
  6250. to deliver them in the past. Fixes bug 23817; bugfix
  6251. on 0.3.0.1-alpha.
  6252. o Minor bugfixes (compilation, backport from 0.3.2.7-rc):
  6253. - Fix a signed/unsigned comparison warning introduced by our fix to
  6254. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  6255. o Minor bugfixes (control port, linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  6256. - Avoid a crash when attempting to use the seccomp2 sandbox together
  6257. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  6258. on 0.2.5.1-alpha.
  6259. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  6260. - Fix a possible crash on malformed consensus. If a consensus had
  6261. contained an unparseable protocol line, it could have made clients
  6262. and relays crash with a null-pointer exception. To exploit this
  6263. issue, however, an attacker would need to be able to subvert the
  6264. directory authority system. Fixes bug 25251; bugfix on
  6265. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  6266. o Minor bugfixes (directory cache, backport from 0.3.2.5-alpha):
  6267. - Recover better from empty or corrupt files in the consensus cache
  6268. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  6269. - When a consensus diff calculation is only partially successful,
  6270. only record the successful parts as having succeeded. Partial
  6271. success can happen if (for example) one compression method fails
  6272. but the others succeed. Previously we misrecorded all the
  6273. calculations as having succeeded, which would later cause a
  6274. nonfatal assertion failure. Fixes bug 24086; bugfix
  6275. on 0.3.1.1-alpha.
  6276. o Minor bugfixes (entry guards, backport from 0.3.2.3-alpha):
  6277. - Tor now updates its guard state when it reads a consensus
  6278. regardless of whether it's missing descriptors. That makes tor use
  6279. its primary guards to fetch descriptors in some edge cases where
  6280. it would previously have used fallback directories. Fixes bug
  6281. 23862; bugfix on 0.3.0.1-alpha.
  6282. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  6283. - Don't treat inability to store a cached consensus object as a bug:
  6284. it can happen normally when we are out of disk space. Fixes bug
  6285. 24859; bugfix on 0.3.1.1-alpha.
  6286. o Minor bugfixes (memory usage, backport from 0.3.2.8-rc):
  6287. - When queuing DESTROY cells on a channel, only queue the circuit-id
  6288. and reason fields: not the entire 514-byte cell. This fix should
  6289. help mitigate any bugs or attacks that fill up these queues, and
  6290. free more RAM for other uses. Fixes bug 24666; bugfix
  6291. on 0.2.5.1-alpha.
  6292. o Minor bugfixes (network layer, backport from 0.3.2.5-alpha):
  6293. - When closing a connection via close_connection_immediately(), we
  6294. mark it as "not blocked on bandwidth", to prevent later calls from
  6295. trying to unblock it, and give it permission to read. This fixes a
  6296. backtrace warning that can happen on relays under various
  6297. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  6298. o Minor bugfixes (path selection, backport from 0.3.2.4-alpha):
  6299. - When selecting relays by bandwidth, avoid a rounding error that
  6300. could sometimes cause load to be imbalanced incorrectly.
  6301. Previously, we would always round upwards; now, we round towards
  6302. the nearest integer. This had the biggest effect when a relay's
  6303. weight adjustments should have given it weight 0, but it got
  6304. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  6305. - When calculating the fraction of nodes that have descriptors, and
  6306. all nodes in the network have zero bandwidths, count the number of
  6307. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  6308. - Actually log the total bandwidth in compute_weighted_bandwidths().
  6309. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  6310. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  6311. - Improve the performance of our consensus-diff application code
  6312. when Tor is built with the --enable-fragile-hardening option set.
  6313. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  6314. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  6315. - Don't exit the Tor process if setrlimit() fails to change the file
  6316. limit (which can happen sometimes on some versions of OSX). Fixes
  6317. bug 21074; bugfix on 0.0.9pre5.
  6318. o Minor bugfixes (portability, msvc, backport from 0.3.2.9):
  6319. - Fix a bug in the bit-counting parts of our timing-wheel code on
  6320. MSVC. (Note that MSVC is still not a supported build platform, due
  6321. to cyptographic timing channel risks.) Fixes bug 24633; bugfix
  6322. on 0.2.9.1-alpha.
  6323. o Minor bugfixes (relay, partial backport):
  6324. - Make the internal channel_is_client() function look at what sort
  6325. of connection handshake the other side used, rather than whether
  6326. the other side ever sent a create_fast cell to us. Backports part
  6327. of the fixes from bugs 22805 and 24898.
  6328. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  6329. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  6330. 0.2.9.4-alpha.
  6331. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  6332. bugfix on 0.2.9.4-alpha.
  6333. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  6334. - Update the "rust dependencies" submodule to be a project-level
  6335. repository, rather than a user repository. Closes ticket 25323.
  6336. Changes in version 0.2.9.15 - 2018-03-03
  6337. Tor 0.2.9.15 backports important security and stability bugfixes from
  6338. later Tor releases.
  6339. It includes an important security fix for a remote crash attack
  6340. against directory authorities, tracked as TROVE-2018-001.
  6341. This release also backports our new system for improved resistance to
  6342. denial-of-service attacks against relays.
  6343. This release also fixes several minor bugs and annoyances from
  6344. earlier releases.
  6345. All directory authorities should upgrade to one of the versions
  6346. released today. Relays running 0.2.9.x may wish to update to one of
  6347. the versions released today, for the DoS mitigations.
  6348. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  6349. - Fix a protocol-list handling bug that could be used to remotely crash
  6350. directory authorities with a null-pointer exception. Fixes bug 25074;
  6351. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  6352. CVE-2018-0490.
  6353. o Major features (denial-of-service mitigation):
  6354. - Give relays some defenses against the recent network overload. We
  6355. start with three defenses (default parameters in parentheses).
  6356. First: if a single client address makes too many concurrent
  6357. connections (>100), hang up on further connections. Second: if a
  6358. single client address makes circuits too quickly (more than 3 per
  6359. second, with an allowed burst of 90) while also having too many
  6360. connections open (3), refuse new create cells for the next while
  6361. (1-2 hours). Third: if a client asks to establish a rendezvous
  6362. point to you directly, ignore the request. These defenses can be
  6363. manually controlled by new torrc options, but relays will also
  6364. take guidance from consensus parameters, so there's no need to
  6365. configure anything manually. Implements ticket 24902.
  6366. o Major bugfixes (bootstrapping):
  6367. - Fetch descriptors aggressively whenever we lack enough to build
  6368. circuits, regardless of how many descriptors we are missing.
  6369. Previously, we would delay launching the fetch when we had fewer
  6370. than 15 missing descriptors, even if some of those descriptors
  6371. were blocking circuits from building. Fixes bug 23985; bugfix on
  6372. 0.1.1.11-alpha. The effects of this bug became worse in
  6373. 0.3.0.3-alpha, when we began treating missing descriptors from our
  6374. primary guards as a reason to delay circuits.
  6375. o Major bugfixes (onion services, retry behavior):
  6376. - Fix an "off by 2" error in counting rendezvous failures on the
  6377. onion service side. While we thought we would stop the rendezvous
  6378. attempt after one failed circuit, we were actually making three
  6379. circuit attempts before giving up. Now switch to a default of 2,
  6380. and allow the consensus parameter "hs_service_max_rdv_failures" to
  6381. override. Fixes bug 24895; bugfix on 0.0.6.
  6382. o Minor feature (relay statistics):
  6383. - Change relay bandwidth reporting stats interval from 4 hours to 24
  6384. hours in order to reduce the efficiency of guard discovery
  6385. attacks. Fixes ticket 23856.
  6386. o Minor features (compatibility, OpenSSL):
  6387. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  6388. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  6389. since they neither disabled TLS 1.3 nor enabled any of the
  6390. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  6391. Closes ticket 24978.
  6392. o Minor features (denial-of-service avoidance):
  6393. - Make our OOM handler aware of the geoip client history cache so it
  6394. doesn't fill up the memory. This check is important for IPv6 and
  6395. our DoS mitigation subsystem. Closes ticket 25122.
  6396. o Minor features (fallback directory mirrors):
  6397. - The fallback directory list has been re-generated based on the
  6398. current status of the network. Tor uses fallback directories to
  6399. bootstrap when it doesn't yet have up-to-date directory
  6400. information. Closes ticket 24801.
  6401. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  6402. prefer to bootstrap from fallback directory mirrors. This is a
  6403. follow-up to 24679, which removed weights from the default
  6404. fallbacks. Implements ticket 24681.
  6405. o Minor features (geoip):
  6406. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  6407. Country database.
  6408. o Minor features (linux seccomp2 sandbox):
  6409. - Update the sandbox rules so that they should now work correctly
  6410. with Glibc 2.26. Closes ticket 24315.
  6411. o Minor bugfix (channel connection):
  6412. - Use the actual observed address of an incoming relay connection,
  6413. not the canonical address of the relay from its descriptor, when
  6414. making decisions about how to handle the incoming connection.
  6415. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  6416. o Minor bugfix (directory authority):
  6417. - Directory authorities, when refusing a descriptor from a rejected
  6418. relay, now explicitly tell the relay (in its logs) to set a valid
  6419. ContactInfo address and contact the bad-relays@ mailing list.
  6420. Fixes bug 25170; bugfix on 0.2.9.1.
  6421. o Minor bugfixes (address selection):
  6422. - When the fascist_firewall_choose_address_ functions don't find a
  6423. reachable address, set the returned address to the null address
  6424. and port. This is a precautionary measure, because some callers do
  6425. not check the return value. Fixes bug 24736; bugfix
  6426. on 0.2.8.2-alpha.
  6427. o Minor bugfixes (compilation):
  6428. - Fix a signed/unsigned comparison warning introduced by our fix to
  6429. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  6430. o Minor bugfixes (control port, linux seccomp2 sandbox):
  6431. - Avoid a crash when attempting to use the seccomp2 sandbox together
  6432. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  6433. on 0.2.5.1-alpha.
  6434. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  6435. - Fix a possible crash on malformed consensus. If a consensus had
  6436. contained an unparseable protocol line, it could have made clients
  6437. and relays crash with a null-pointer exception. To exploit this
  6438. issue, however, an attacker would need to be able to subvert the
  6439. directory authority system. Fixes bug 25251; bugfix on
  6440. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  6441. o Minor bugfixes (memory usage):
  6442. - When queuing DESTROY cells on a channel, only queue the circuit-id
  6443. and reason fields: not the entire 514-byte cell. This fix should
  6444. help mitigate any bugs or attacks that fill up these queues, and
  6445. free more RAM for other uses. Fixes bug 24666; bugfix
  6446. on 0.2.5.1-alpha.
  6447. o Minor bugfixes (network layer):
  6448. - When closing a connection via close_connection_immediately(), we
  6449. mark it as "not blocked on bandwidth", to prevent later calls from
  6450. trying to unblock it, and give it permission to read. This fixes a
  6451. backtrace warning that can happen on relays under various
  6452. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  6453. o Minor bugfixes (OSX):
  6454. - Don't exit the Tor process if setrlimit() fails to change the file
  6455. limit (which can happen sometimes on some versions of OSX). Fixes
  6456. bug 21074; bugfix on 0.0.9pre5.
  6457. o Minor bugfixes (path selection):
  6458. - When selecting relays by bandwidth, avoid a rounding error that
  6459. could sometimes cause load to be imbalanced incorrectly.
  6460. Previously, we would always round upwards; now, we round towards
  6461. the nearest integer. This had the biggest effect when a relay's
  6462. weight adjustments should have given it weight 0, but it got
  6463. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  6464. - When calculating the fraction of nodes that have descriptors, and
  6465. all nodes in the network have zero bandwidths, count the number of
  6466. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  6467. - Actually log the total bandwidth in compute_weighted_bandwidths().
  6468. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  6469. o Minor bugfixes (portability, msvc):
  6470. - Fix a bug in the bit-counting parts of our timing-wheel code on
  6471. MSVC. (Note that MSVC is still not a supported build platform, due
  6472. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  6473. on 0.2.9.1-alpha.
  6474. o Minor bugfixes (relay):
  6475. - Make the internal channel_is_client() function look at what sort
  6476. of connection handshake the other side used, rather than whether
  6477. the other side ever sent a create_fast cell to us. Backports part
  6478. of the fixes from bugs 22805 and 24898.
  6479. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  6480. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  6481. 0.2.9.4-alpha.
  6482. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  6483. bugfix on 0.2.9.4-alpha.
  6484. Changes in version 0.3.2.10 - 2018-03-03
  6485. Tor 0.3.2.10 is the second stable release in the 0.3.2 series. It
  6486. backports a number of bugfixes, including important fixes for security
  6487. issues.
  6488. It includes an important security fix for a remote crash attack
  6489. against directory authorities, tracked as TROVE-2018-001.
  6490. Additionally, it backports a fix for a bug whose severity we have
  6491. upgraded: Bug 24700, which was fixed in 0.3.3.2-alpha, can be remotely
  6492. triggered in order to crash relays with a use-after-free pattern. As
  6493. such, we are now tracking that bug as TROVE-2018-002 and
  6494. CVE-2018-0491, and backporting it to earlier releases. This bug
  6495. affected versions 0.3.2.1-alpha through 0.3.2.9, as well as version
  6496. 0.3.3.1-alpha.
  6497. This release also backports our new system for improved resistance to
  6498. denial-of-service attacks against relays.
  6499. This release also fixes several minor bugs and annoyances from
  6500. earlier releases.
  6501. Relays running 0.3.2.x SHOULD upgrade to one of the versions released
  6502. today, for the fix to TROVE-2018-002. Directory authorities should
  6503. also upgrade. (Relays on earlier versions might want to update too for
  6504. the DoS mitigations.)
  6505. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  6506. - Fix a protocol-list handling bug that could be used to remotely crash
  6507. directory authorities with a null-pointer exception. Fixes bug 25074;
  6508. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  6509. CVE-2018-0490.
  6510. o Major bugfixes (scheduler, KIST, denial-of-service, backport from 0.3.3.2-alpha):
  6511. - Avoid adding the same channel twice in the KIST scheduler pending
  6512. list, which could lead to remote denial-of-service use-after-free
  6513. attacks against relays. Fixes bug 24700; bugfix on 0.3.2.1-alpha.
  6514. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  6515. - Give relays some defenses against the recent network overload. We
  6516. start with three defenses (default parameters in parentheses).
  6517. First: if a single client address makes too many concurrent
  6518. connections (>100), hang up on further connections. Second: if a
  6519. single client address makes circuits too quickly (more than 3 per
  6520. second, with an allowed burst of 90) while also having too many
  6521. connections open (3), refuse new create cells for the next while
  6522. (1-2 hours). Third: if a client asks to establish a rendezvous
  6523. point to you directly, ignore the request. These defenses can be
  6524. manually controlled by new torrc options, but relays will also
  6525. take guidance from consensus parameters, so there's no need to
  6526. configure anything manually. Implements ticket 24902.
  6527. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  6528. - Fix an "off by 2" error in counting rendezvous failures on the
  6529. onion service side. While we thought we would stop the rendezvous
  6530. attempt after one failed circuit, we were actually making three
  6531. circuit attempts before giving up. Now switch to a default of 2,
  6532. and allow the consensus parameter "hs_service_max_rdv_failures" to
  6533. override. Fixes bug 24895; bugfix on 0.0.6.
  6534. - New-style (v3) onion services now obey the "max rendezvous circuit
  6535. attempts" logic. Previously they would make as many rendezvous
  6536. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  6537. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  6538. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  6539. - Add Link protocol version 5 to the supported protocols list. Fixes
  6540. bug 25070; bugfix on 0.3.1.1-alpha.
  6541. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  6542. - Fix a set of false positives where relays would consider
  6543. connections to other relays as being client-only connections (and
  6544. thus e.g. deserving different link padding schemes) if those
  6545. relays fell out of the consensus briefly. Now we look only at the
  6546. initial handshake and whether the connection authenticated as a
  6547. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  6548. o Major bugfixes (scheduler, consensus, backport from 0.3.3.2-alpha):
  6549. - The scheduler subsystem was failing to promptly notice changes in
  6550. consensus parameters, making it harder to switch schedulers
  6551. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  6552. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  6553. - Make our OOM handler aware of the geoip client history cache so it
  6554. doesn't fill up the memory. This check is important for IPv6 and
  6555. our DoS mitigation subsystem. Closes ticket 25122.
  6556. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  6557. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  6558. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  6559. since they neither disabled TLS 1.3 nor enabled any of the
  6560. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  6561. Closes ticket 24978.
  6562. o Minor features (geoip):
  6563. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  6564. Country database.
  6565. o Minor features (logging, diagnostic, backport from 0.3.3.2-alpha):
  6566. - When logging a failure to create an onion service's descriptor,
  6567. also log what the problem with the descriptor was. Diagnostic
  6568. for ticket 24972.
  6569. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  6570. - Use the actual observed address of an incoming relay connection,
  6571. not the canonical address of the relay from its descriptor, when
  6572. making decisions about how to handle the incoming connection.
  6573. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  6574. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  6575. - Fix a possible crash on malformed consensus. If a consensus had
  6576. contained an unparseable protocol line, it could have made clients
  6577. and relays crash with a null-pointer exception. To exploit this
  6578. issue, however, an attacker would need to be able to subvert the
  6579. directory authority system. Fixes bug 25251; bugfix on
  6580. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  6581. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  6582. - Directory authorities, when refusing a descriptor from a rejected
  6583. relay, now explicitly tell the relay (in its logs) to set a valid
  6584. ContactInfo address and contact the bad-relays@ mailing list.
  6585. Fixes bug 25170; bugfix on 0.2.9.1.
  6586. o Minor bugfixes (build, rust, backport from 0.3.3.1-alpha):
  6587. - When building with Rust on OSX, link against libresolv, to work
  6588. around the issue at https://github.com/rust-lang/rust/issues/46797.
  6589. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  6590. o Minor bugfixes (onion services, backport from 0.3.3.2-alpha):
  6591. - Remove a BUG() statement when a client fetches an onion descriptor
  6592. that has a lower revision counter than the one in its cache. This
  6593. can happen in normal circumstances due to HSDir desync. Fixes bug
  6594. 24976; bugfix on 0.3.2.1-alpha.
  6595. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  6596. - Don't treat inability to store a cached consensus object as a bug:
  6597. it can happen normally when we are out of disk space. Fixes bug
  6598. 24859; bugfix on 0.3.1.1-alpha.
  6599. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  6600. - Improve the performance of our consensus-diff application code
  6601. when Tor is built with the --enable-fragile-hardening option set.
  6602. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  6603. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  6604. - Don't exit the Tor process if setrlimit() fails to change the file
  6605. limit (which can happen sometimes on some versions of OSX). Fixes
  6606. bug 21074; bugfix on 0.0.9pre5.
  6607. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  6608. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  6609. 0.2.9.4-alpha.
  6610. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  6611. bugfix on 0.2.9.4-alpha.
  6612. o Minor bugfixes (testing, backport from 0.3.3.1-alpha):
  6613. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  6614. 25005; bugfix on 0.3.2.7-rc.
  6615. o Minor bugfixes (v3 onion services, backport from 0.3.3.2-alpha):
  6616. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  6617. version, when deciding whether a consensus entry can support the
  6618. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  6619. bugfix on 0.3.2.1-alpha.
  6620. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  6621. - Update the "rust dependencies" submodule to be a project-level
  6622. repository, rather than a user repository. Closes ticket 25323.
  6623. o Documentation (backport from 0.3.3.1-alpha)
  6624. - Document that operators who run more than one relay or bridge are
  6625. expected to set MyFamily and ContactInfo correctly. Closes
  6626. ticket 24526.
  6627. Changes in version 0.3.2.9 - 2018-01-09
  6628. Tor 0.3.2.9 is the first stable release in the 0.3.2 series.
  6629. The 0.3.2 series includes our long-anticipated new onion service
  6630. design, with numerous security features. (For more information, see
  6631. our blog post at https://blog.torproject.org/fall-harvest.) We also
  6632. have a new circuit scheduler algorithm for improved performance on
  6633. relays everywhere (see https://blog.torproject.org/kist-and-tell),
  6634. along with many smaller features and bugfixes.
  6635. Per our stable release policy, we plan to support each stable release
  6636. series for at least the next nine months, or for three months after
  6637. the first stable release of the next series: whichever is longer. If
  6638. you need a release with long-term support, we recommend that you stay
  6639. with the 0.2.9 series.
  6640. Below is a list of the changes since 0.3.1.7. For a list of all
  6641. changes since 0.3.2.8-rc, see the ChangeLog file.
  6642. o Directory authority changes:
  6643. - Add "Bastet" as a ninth directory authority to the default list.
  6644. Closes ticket 23910.
  6645. - The directory authority "Longclaw" has changed its IP address.
  6646. Closes ticket 23592.
  6647. - Remove longclaw's IPv6 address, as it will soon change. Authority
  6648. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  6649. 3/8 directory authorities with IPv6 addresses, but there are also
  6650. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  6651. - Add an IPv6 address for the "bastet" directory authority. Closes
  6652. ticket 24394.
  6653. o Major features (next-generation onion services):
  6654. - Tor now supports the next-generation onion services protocol for
  6655. clients and services! As part of this release, the core of
  6656. proposal 224 has been implemented and is available for
  6657. experimentation and testing by our users. This newer version of
  6658. onion services ("v3") features many improvements over the legacy
  6659. system, including:
  6660. a) Better crypto (replaced SHA1/DH/RSA1024
  6661. with SHA3/ed25519/curve25519)
  6662. b) Improved directory protocol, leaking much less information to
  6663. directory servers.
  6664. c) Improved directory protocol, with smaller surface for
  6665. targeted attacks.
  6666. d) Better onion address security against impersonation.
  6667. e) More extensible introduction/rendezvous protocol.
  6668. f) A cleaner and more modular codebase.
  6669. You can identify a next-generation onion address by its length:
  6670. they are 56 characters long, as in
  6671. "4acth47i6kxnvkewtm6q7ib2s3ufpo5sqbsnzjpbi7utijcltosqemad.onion".
  6672. In the future, we will release more options and features for v3
  6673. onion services, but we first need a testing period, so that the
  6674. current codebase matures and becomes more robust. Planned features
  6675. include: offline keys, advanced client authorization, improved
  6676. guard algorithms, and statistics. For full details, see
  6677. proposal 224.
  6678. Legacy ("v2") onion services will still work for the foreseeable
  6679. future, and will remain the default until this new codebase gets
  6680. tested and hardened. Service operators who want to experiment with
  6681. the new system can use the 'HiddenServiceVersion 3' torrc
  6682. directive along with the regular onion service configuration
  6683. options. For more information, see our blog post at
  6684. "https://blog.torproject.org/fall-harvest". Enjoy!
  6685. o Major feature (scheduler, channel):
  6686. - Tor now uses new schedulers to decide which circuits should
  6687. deliver cells first, in order to improve congestion at relays. The
  6688. first type is called "KIST" ("Kernel Informed Socket Transport"),
  6689. and is only available on Linux-like systems: it uses feedback from
  6690. the kernel to prevent the kernel's TCP buffers from growing too
  6691. full. The second new scheduler type is called "KISTLite": it
  6692. behaves the same as KIST, but runs on systems without kernel
  6693. support for inspecting TCP implementation details. The old
  6694. scheduler is still available, under the name "Vanilla". To change
  6695. the default scheduler preference order, use the new "Schedulers"
  6696. option. (The default preference order is "KIST,KISTLite,Vanilla".)
  6697. Matt Traudt implemented KIST, based on research by Rob Jansen,
  6698. John Geddes, Christ Wacek, Micah Sherr, and Paul Syverson. For
  6699. more information, see the design paper at
  6700. http://www.robgjansen.com/publications/kist-sec2014.pdf and the
  6701. followup implementation paper at https://arxiv.org/abs/1709.01044.
  6702. Closes ticket 12541. For more information, see our blog post at
  6703. "https://blog.torproject.org/kist-and-tell".
  6704. o Major bugfixes (security, general):
  6705. - Fix a denial of service bug where an attacker could use a
  6706. malformed directory object to cause a Tor instance to pause while
  6707. OpenSSL would try to read a passphrase from the terminal. (Tor
  6708. instances run without a terminal, which is the case for most Tor
  6709. packages, are not impacted.) Fixes bug 24246; bugfix on every
  6710. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  6711. Found by OSS-Fuzz as testcase 6360145429790720.
  6712. o Major bugfixes (security, directory authority):
  6713. - Fix a denial of service issue where an attacker could crash a
  6714. directory authority using a malformed router descriptor. Fixes bug
  6715. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  6716. and CVE-2017-8820.
  6717. o Major bugfixes (security, onion service v2):
  6718. - Fix a use-after-free error that could crash v2 Tor onion services
  6719. when they failed to open circuits while expiring introduction
  6720. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  6721. also tracked as TROVE-2017-013 and CVE-2017-8823.
  6722. - When checking for replays in the INTRODUCE1 cell data for a
  6723. (legacy) onion service, correctly detect replays in the RSA-
  6724. encrypted part of the cell. We were previously checking for
  6725. replays on the entire cell, but those can be circumvented due to
  6726. the malleability of Tor's legacy hybrid encryption. This fix helps
  6727. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  6728. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  6729. and CVE-2017-8819.
  6730. o Major bugfixes (security, relay):
  6731. - When running as a relay, make sure that we never build a path
  6732. through ourselves, even in the case where we have somehow lost the
  6733. version of our descriptor appearing in the consensus. Fixes part
  6734. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  6735. as TROVE-2017-012 and CVE-2017-8822.
  6736. - When running as a relay, make sure that we never choose ourselves
  6737. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  6738. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  6739. o Major bugfixes (bootstrapping):
  6740. - Fetch descriptors aggressively whenever we lack enough to build
  6741. circuits, regardless of how many descriptors we are missing.
  6742. Previously, we would delay launching the fetch when we had fewer
  6743. than 15 missing descriptors, even if some of those descriptors
  6744. were blocking circuits from building. Fixes bug 23985; bugfix on
  6745. 0.1.1.11-alpha. The effects of this bug became worse in
  6746. 0.3.0.3-alpha, when we began treating missing descriptors from our
  6747. primary guards as a reason to delay circuits.
  6748. - Don't try fetching microdescriptors from relays that have failed
  6749. to deliver them in the past. Fixes bug 23817; bugfix
  6750. on 0.3.0.1-alpha.
  6751. o Major bugfixes (circuit prediction):
  6752. - Fix circuit prediction logic so that a client doesn't treat a port
  6753. as being "handled" by a circuit if that circuit already has
  6754. isolation settings on it. This change should make Tor clients more
  6755. responsive by improving their chances of having a pre-created
  6756. circuit ready for use when a request arrives. Fixes bug 18859;
  6757. bugfix on 0.2.3.3-alpha.
  6758. o Major bugfixes (exit relays, DNS):
  6759. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  6760. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  6761. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  6762. identifying and finding a workaround to this bug and to Moritz,
  6763. Arthur Edelstein, and Roger for helping to track it down and
  6764. analyze it.
  6765. o Major bugfixes (relay, crash, assertion failure):
  6766. - Fix a timing-based assertion failure that could occur when the
  6767. circuit out-of-memory handler freed a connection's output buffer.
  6768. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  6769. o Major bugfixes (usability, control port):
  6770. - Report trusted clock skew indications as bootstrap errors, so
  6771. controllers can more easily alert users when their clocks are
  6772. wrong. Fixes bug 23506; bugfix on 0.1.2.6-alpha.
  6773. o Minor features (bridge):
  6774. - Bridge relays can now set the BridgeDistribution config option to
  6775. add a "bridge-distribution-request" line to their bridge
  6776. descriptor, which tells BridgeDB how they'd like their bridge
  6777. address to be given out. (Note that as of Oct 2017, BridgeDB does
  6778. not yet implement this feature.) As a side benefit, this feature
  6779. provides a way to distinguish bridge descriptors from non-bridge
  6780. descriptors. Implements tickets 18329.
  6781. - When handling the USERADDR command on an ExtOrPort, warn when the
  6782. transports provides a USERADDR with no port. In a future version,
  6783. USERADDR commands of this format may be rejected. Detects problems
  6784. related to ticket 23080.
  6785. o Minor features (bug detection):
  6786. - Log a warning message with a stack trace for any attempt to call
  6787. get_options() during option validation. This pattern has caused
  6788. subtle bugs in the past. Closes ticket 22281.
  6789. o Minor features (build, compilation):
  6790. - The "check-changes" feature is now part of the "make check" tests;
  6791. we'll use it to try to prevent misformed changes files from
  6792. accumulating. Closes ticket 23564.
  6793. - Tor builds should now fail if there are any mismatches between the
  6794. C type representing a configuration variable and the C type the
  6795. data-driven parser uses to store a value there. Previously, we
  6796. needed to check these by hand, which sometimes led to mistakes.
  6797. Closes ticket 23643.
  6798. o Minor features (client):
  6799. - You can now use Tor as a tunneled HTTP proxy: use the new
  6800. HTTPTunnelPort option to open a port that accepts HTTP CONNECT
  6801. requests. Closes ticket 22407.
  6802. - Add an extra check to make sure that we always use the newer guard
  6803. selection code for picking our guards. Closes ticket 22779.
  6804. - When downloading (micro)descriptors, don't split the list into
  6805. multiple requests unless we want at least 32 descriptors.
  6806. Previously, we split at 4, not 32, which led to significant
  6807. overhead in HTTP request size and degradation in compression
  6808. performance. Closes ticket 23220.
  6809. - Improve log messages when missing descriptors for primary guards.
  6810. Resolves ticket 23670.
  6811. o Minor features (command line):
  6812. - Add a new commandline option, --key-expiration, which prints when
  6813. the current signing key is going to expire. Implements ticket
  6814. 17639; patch by Isis Lovecruft.
  6815. o Minor features (control port):
  6816. - If an application tries to use the control port as an HTTP proxy,
  6817. respond with a meaningful "This is the Tor control port" message,
  6818. and log the event. Closes ticket 1667. Patch from Ravi
  6819. Chandra Padmala.
  6820. - Provide better error message for GETINFO desc/(id|name) when not
  6821. fetching router descriptors. Closes ticket 5847. Patch by
  6822. Kevin Butler.
  6823. - Add GETINFO "{desc,md}/download-enabled", to inform the controller
  6824. whether Tor will try to download router descriptors and
  6825. microdescriptors respectively. Closes ticket 22684.
  6826. - Added new GETINFO targets "ip-to-country/{ipv4,ipv6}-available",
  6827. so controllers can tell whether the geoip databases are loaded.
  6828. Closes ticket 23237.
  6829. - Adds a timestamp field to the CIRC_BW and STREAM_BW bandwidth
  6830. events. Closes ticket 19254. Patch by "DonnchaC".
  6831. o Minor features (development support):
  6832. - Developers can now generate a call-graph for Tor using the
  6833. "calltool" python program, which post-processes object dumps. It
  6834. should work okay on many Linux and OSX platforms, and might work
  6835. elsewhere too. To run it, install calltool from
  6836. https://gitweb.torproject.org/user/nickm/calltool.git and run
  6837. "make callgraph". Closes ticket 19307.
  6838. o Minor features (directory authority):
  6839. - Make the "Exit" flag assignment only depend on whether the exit
  6840. policy allows connections to ports 80 and 443. Previously relays
  6841. would get the Exit flag if they allowed connections to one of
  6842. these ports and also port 6667. Resolves ticket 23637.
  6843. o Minor features (ed25519):
  6844. - Add validation function to checks for torsion components in
  6845. ed25519 public keys, used by prop224 client-side code. Closes
  6846. ticket 22006. Math help by Ian Goldberg.
  6847. o Minor features (exit relay, DNS):
  6848. - Improve the clarity and safety of the log message from evdns when
  6849. receiving an apparently spoofed DNS reply. Closes ticket 3056.
  6850. o Minor features (fallback directory mirrors):
  6851. - The fallback directory list has been re-generated based on the
  6852. current status of the network. Tor uses fallback directories to
  6853. bootstrap when it doesn't yet have up-to-date directory
  6854. information. Closes ticket 24801.
  6855. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  6856. prefer to bootstrap from fallback directory mirrors. This is a
  6857. follow-up to 24679, which removed weights from the default
  6858. fallbacks. Implements ticket 24681.
  6859. o Minor features (geoip):
  6860. - Update geoip and geoip6 to the January 5 2018 Maxmind GeoLite2
  6861. Country database.
  6862. o Minor features (integration, hardening):
  6863. - Add a new NoExec option to prevent Tor from running other
  6864. programs. When this option is set to 1, Tor will never try to run
  6865. another program, regardless of the settings of
  6866. PortForwardingHelper, ClientTransportPlugin, or
  6867. ServerTransportPlugin. Once NoExec is set, it cannot be disabled
  6868. without restarting Tor. Closes ticket 22976.
  6869. o Minor features (linux seccomp2 sandbox):
  6870. - Update the sandbox rules so that they should now work correctly
  6871. with Glibc 2.26. Closes ticket 24315.
  6872. o Minor features (logging):
  6873. - Provide better warnings when the getrandom() syscall fails. Closes
  6874. ticket 24500.
  6875. - Downgrade a pair of log messages that could occur when an exit's
  6876. resolver gave us an unusual (but not forbidden) response. Closes
  6877. ticket 24097.
  6878. - Improve the message we log when re-enabling circuit build timeouts
  6879. after having received a consensus. Closes ticket 20963.
  6880. - Log more circuit information whenever we are about to try to
  6881. package a relay cell on a circuit with a nonexistent n_chan.
  6882. Attempt to diagnose ticket 8185.
  6883. - Improve info-level log identification of particular circuits, to
  6884. help with debugging. Closes ticket 23645.
  6885. - Improve the warning message for specifying a relay by nickname.
  6886. The previous message implied that nickname registration was still
  6887. part of the Tor network design, which it isn't. Closes
  6888. ticket 20488.
  6889. - If the sandbox filter fails to load, suggest to the user that
  6890. their kernel might not support seccomp2. Closes ticket 23090.
  6891. o Minor features (onion service, circuit, logging):
  6892. - Improve logging of many callsite in the circuit subsystem to print
  6893. the circuit identifier(s).
  6894. - Log when we cleanup an intro point from a service so we know when
  6895. and for what reason it happened. Closes ticket 23604.
  6896. o Minor features (portability):
  6897. - Tor now compiles correctly on arm64 with libseccomp-dev installed.
  6898. (It doesn't yet work with the sandbox enabled.) Closes
  6899. ticket 24424.
  6900. - Check at configure time whether uint8_t is the same type as
  6901. unsigned char. Lots of existing code already makes this
  6902. assumption, and there could be strict aliasing issues if the
  6903. assumption is violated. Closes ticket 22410.
  6904. o Minor features (relay):
  6905. - When choosing which circuits can be expired as unused, consider
  6906. circuits from clients even if those clients used regular CREATE
  6907. cells to make them; and do not consider circuits from relays even
  6908. if they were made with CREATE_FAST. Part of ticket 22805.
  6909. - Reject attempts to use relative file paths when RunAsDaemon is
  6910. set. Previously, Tor would accept these, but the directory-
  6911. changing step of RunAsDaemon would give strange and/or confusing
  6912. results. Closes ticket 22731.
  6913. o Minor features (relay statistics):
  6914. - Change relay bandwidth reporting stats interval from 4 hours to 24
  6915. hours in order to reduce the efficiency of guard discovery
  6916. attacks. Fixes ticket 23856.
  6917. o Minor features (reverted deprecations):
  6918. - The ClientDNSRejectInternalAddresses flag can once again be set in
  6919. non-testing Tor networks, so long as they do not use the default
  6920. directory authorities. This change also removes the deprecation of
  6921. this flag from 0.2.9.2-alpha. Closes ticket 21031.
  6922. o Minor features (robustness):
  6923. - Change several fatal assertions when flushing buffers into non-
  6924. fatal assertions, to prevent any recurrence of 23690.
  6925. o Minor features (startup, safety):
  6926. - When configured to write a PID file, Tor now exits if it is unable
  6927. to do so. Previously, it would warn and continue. Closes
  6928. ticket 20119.
  6929. o Minor features (static analysis):
  6930. - The BUG() macro has been changed slightly so that Coverity no
  6931. longer complains about dead code if the bug is impossible. Closes
  6932. ticket 23054.
  6933. o Minor features (testing):
  6934. - Our fuzzing tests now test the encrypted portions of v3 onion
  6935. service descriptors. Implements more of 21509.
  6936. - Add a unit test to make sure that our own generated platform
  6937. string will be accepted by directory authorities. Closes
  6938. ticket 22109.
  6939. - The default chutney network tests now include tests for the v3
  6940. onion service design. Make sure you have the latest version of
  6941. chutney if you want to run these. Closes ticket 22437.
  6942. - Add a unit test to verify that we can parse a hardcoded v2 onion
  6943. service descriptor. Closes ticket 15554.
  6944. o Minor bugfixes (address selection):
  6945. - When the fascist_firewall_choose_address_ functions don't find a
  6946. reachable address, set the returned address to the null address
  6947. and port. This is a precautionary measure, because some callers do
  6948. not check the return value. Fixes bug 24736; bugfix
  6949. on 0.2.8.2-alpha.
  6950. o Minor bugfixes (bootstrapping):
  6951. - When warning about state file clock skew, report the correct
  6952. direction for the detected skew. Fixes bug 23606; bugfix
  6953. on 0.2.8.1-alpha.
  6954. o Minor bugfixes (bridge clients, bootstrap):
  6955. - Retry directory downloads when we get our first bridge descriptor
  6956. during bootstrap or while reconnecting to the network. Keep
  6957. retrying every time we get a bridge descriptor, until we have a
  6958. reachable bridge. Fixes part of bug 24367; bugfix on 0.2.0.3-alpha.
  6959. - Stop delaying bridge descriptor fetches when we have cached bridge
  6960. descriptors. Instead, only delay bridge descriptor fetches when we
  6961. have at least one reachable bridge. Fixes part of bug 24367;
  6962. bugfix on 0.2.0.3-alpha.
  6963. - Stop delaying directory fetches when we have cached bridge
  6964. descriptors. Instead, only delay bridge descriptor fetches when
  6965. all our bridges are definitely unreachable. Fixes part of bug
  6966. 24367; bugfix on 0.2.0.3-alpha.
  6967. o Minor bugfixes (bridge):
  6968. - Overwrite the bridge address earlier in the process of retrieving
  6969. its descriptor, to make sure we reach it on the configured
  6970. address. Fixes bug 20532; bugfix on 0.2.0.10-alpha.
  6971. o Minor bugfixes (build, compilation):
  6972. - Fix a compilation warning when building with zstd support on
  6973. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  6974. and fixed by Andreas Stieger.
  6975. - When searching for OpenSSL, don't accept any OpenSSL library that
  6976. lacks TLSv1_1_method(): Tor doesn't build with those versions.
  6977. Additionally, look in /usr/local/opt/openssl, if it's present.
  6978. These changes together repair the default build on OSX systems
  6979. with Homebrew installed. Fixes bug 23602; bugfix on 0.2.7.2-alpha.
  6980. - Fix a signed/unsigned comparison warning introduced by our fix to
  6981. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  6982. - Fix a memory leak warning in one of the libevent-related
  6983. configuration tests that could occur when manually specifying
  6984. -fsanitize=address. Fixes bug 24279; bugfix on 0.3.0.2-alpha.
  6985. Found and patched by Alex Xu.
  6986. - Fix unused-variable warnings in donna's Curve25519 SSE2 code.
  6987. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  6988. o Minor bugfixes (certificate handling):
  6989. - Fix a time handling bug in Tor certificates set to expire after
  6990. the year 2106. Fixes bug 23055; bugfix on 0.3.0.1-alpha. Found by
  6991. Coverity as CID 1415728.
  6992. o Minor bugfixes (client):
  6993. - By default, do not enable storage of client-side DNS values. These
  6994. values were unused by default previously, but they should not have
  6995. been cached at all. Fixes bug 24050; bugfix on 0.2.6.3-alpha.
  6996. o Minor bugfixes (client, usability):
  6997. - Refrain from needlessly rejecting SOCKS5-with-hostnames and
  6998. SOCKS4a requests that contain IP address strings, even when
  6999. SafeSocks in enabled, as this prevents user from connecting to
  7000. known IP addresses without relying on DNS for resolving. SafeSocks
  7001. still rejects SOCKS connections that connect to IP addresses when
  7002. those addresses are _not_ encoded as hostnames. Fixes bug 22461;
  7003. bugfix on Tor 0.2.6.2-alpha.
  7004. o Minor bugfixes (code correctness):
  7005. - Call htons() in extend_cell_format() for encoding a 16-bit value.
  7006. Previously we used ntohs(), which happens to behave the same on
  7007. all the platforms we support, but which isn't really correct.
  7008. Fixes bug 23106; bugfix on 0.2.4.8-alpha.
  7009. - For defense-in-depth, make the controller's write_escaped_data()
  7010. function robust to extremely long inputs. Fixes bug 19281; bugfix
  7011. on 0.1.1.1-alpha. Reported by Guido Vranken.
  7012. - Fix several places in our codebase where a C compiler would be
  7013. likely to eliminate a check, based on assuming that undefined
  7014. behavior had not happened elsewhere in the code. These cases are
  7015. usually a sign of redundant checking or dubious arithmetic. Found
  7016. by Georg Koppen using the "STACK" tool from Wang, Zeldovich,
  7017. Kaashoek, and Solar-Lezama. Fixes bug 24423; bugfix on various
  7018. Tor versions.
  7019. o Minor bugfixes (compression):
  7020. - Handle a pathological case when decompressing Zstandard data when
  7021. the output buffer size is zero. Fixes bug 23551; bugfix
  7022. on 0.3.1.1-alpha.
  7023. o Minor bugfixes (consensus expiry):
  7024. - Check for adequate directory information correctly. Previously, Tor
  7025. would reconsider whether it had sufficient directory information
  7026. every 2 minutes. Fixes bug 23091; bugfix on 0.2.0.19-alpha.
  7027. o Minor bugfixes (control port, linux seccomp2 sandbox):
  7028. - Avoid a crash when attempting to use the seccomp2 sandbox together
  7029. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  7030. on 0.2.5.1-alpha.
  7031. o Minor bugfixes (control port, onion services):
  7032. - Report "FAILED" instead of "UPLOAD_FAILED" "FAILED" for the
  7033. HS_DESC event when a service is not able to upload a descriptor.
  7034. Fixes bug 24230; bugfix on 0.2.7.1-alpha.
  7035. o Minor bugfixes (directory cache):
  7036. - Recover better from empty or corrupt files in the consensus cache
  7037. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  7038. - When a consensus diff calculation is only partially successful,
  7039. only record the successful parts as having succeeded. Partial
  7040. success can happen if (for example) one compression method fails
  7041. but the others succeed. Previously we misrecorded all the
  7042. calculations as having succeeded, which would later cause a
  7043. nonfatal assertion failure. Fixes bug 24086; bugfix
  7044. on 0.3.1.1-alpha.
  7045. o Minor bugfixes (directory client):
  7046. - On failure to download directory information, delay retry attempts
  7047. by a random amount based on the "decorrelated jitter" algorithm.
  7048. Our previous delay algorithm tended to produce extra-long delays
  7049. too easily. Fixes bug 23816; bugfix on 0.2.9.1-alpha.
  7050. o Minor bugfixes (directory protocol):
  7051. - Directory servers now include a "Date:" http header for response
  7052. codes other than 200. Clients starting with a skewed clock and a
  7053. recent consensus were getting "304 Not modified" responses from
  7054. directory authorities, so without the Date header, the client
  7055. would never hear about a wrong clock. Fixes bug 23499; bugfix
  7056. on 0.0.8rc1.
  7057. - Make clients wait for 6 seconds before trying to download a
  7058. consensus from an authority. Fixes bug 17750; bugfix
  7059. on 0.2.8.1-alpha.
  7060. o Minor bugfixes (documentation):
  7061. - Document better how to read gcov, and what our gcov postprocessing
  7062. scripts do. Fixes bug 23739; bugfix on 0.2.9.1-alpha.
  7063. - Fix manpage to not refer to the obsolete (and misspelled)
  7064. UseEntryGuardsAsDirectoryGuards parameter in the description of
  7065. NumDirectoryGuards. Fixes bug 23611; bugfix on 0.2.4.8-alpha.
  7066. o Minor bugfixes (DoS-resistance):
  7067. - If future code asks if there are any running bridges, without
  7068. checking if bridges are enabled, log a BUG warning rather than
  7069. crashing. Fixes bug 23524; bugfix on 0.3.0.1-alpha.
  7070. o Minor bugfixes (entry guards):
  7071. - Tor now updates its guard state when it reads a consensus
  7072. regardless of whether it's missing descriptors. That makes tor use
  7073. its primary guards to fetch descriptors in some edge cases where
  7074. it would previously have used fallback directories. Fixes bug
  7075. 23862; bugfix on 0.3.0.1-alpha.
  7076. o Minor bugfixes (format strictness):
  7077. - Restrict several data formats to decimal. Previously, the
  7078. BuildTimeHistogram entries in the state file, the "bw=" entries in
  7079. the bandwidth authority file, and the process IDs passed to the
  7080. __OwningControllerProcess option could all be specified in hex or
  7081. octal as well as in decimal. This was not an intentional feature.
  7082. Fixes bug 22802; bugfixes on 0.2.2.1-alpha, 0.2.2.2-alpha,
  7083. and 0.2.2.28-beta.
  7084. o Minor bugfixes (heartbeat):
  7085. - If we fail to write a heartbeat message, schedule a retry for the
  7086. minimum heartbeat interval number of seconds in the future. Fixes
  7087. bug 19476; bugfix on 0.2.3.1-alpha.
  7088. o Minor bugfixes (logging):
  7089. - Suppress a log notice when relay descriptors arrive. We already
  7090. have a bootstrap progress for this so no need to log notice
  7091. everytime tor receives relay descriptors. Microdescriptors behave
  7092. the same. Fixes bug 23861; bugfix on 0.2.8.2-alpha.
  7093. - Remove duplicate log messages regarding opening non-local
  7094. SocksPorts upon parsing config and opening listeners at startup.
  7095. Fixes bug 4019; bugfix on 0.2.3.3-alpha.
  7096. - Use a more comprehensible log message when telling the user
  7097. they've excluded every running exit node. Fixes bug 7890; bugfix
  7098. on 0.2.2.25-alpha.
  7099. - When logging the number of descriptors we intend to download per
  7100. directory request, do not log a number higher than then the number
  7101. of descriptors we're fetching in total. Fixes bug 19648; bugfix
  7102. on 0.1.1.8-alpha.
  7103. - When warning about a directory owned by the wrong user, log the
  7104. actual name of the user owning the directory. Previously, we'd log
  7105. the name of the process owner twice. Fixes bug 23487; bugfix
  7106. on 0.2.9.1-alpha.
  7107. - Fix some messages on unexpected errors from the seccomp2 library.
  7108. Fixes bug 22750; bugfix on 0.2.5.1-alpha. Patch from "cypherpunks".
  7109. - The tor specification says hop counts are 1-based, so fix two log
  7110. messages that mistakenly logged 0-based hop counts. Fixes bug
  7111. 18982; bugfix on 0.2.6.2-alpha and 0.2.4.5-alpha. Patch by teor.
  7112. Credit to Xiaofan Li for reporting this issue.
  7113. o Minor bugfixes (logging, relay shutdown, annoyance):
  7114. - When a circuit is marked for close, do not attempt to package any
  7115. cells for channels on that circuit. Previously, we would detect
  7116. this condition lower in the call stack, when we noticed that the
  7117. circuit had no attached channel, and log an annoying message.
  7118. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  7119. o Minor bugfixes (memory safety, defensive programming):
  7120. - Clear the target address when node_get_prim_orport() returns
  7121. early. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  7122. o Minor bugfixes (memory usage):
  7123. - When queuing DESTROY cells on a channel, only queue the circuit-id
  7124. and reason fields: not the entire 514-byte cell. This fix should
  7125. help mitigate any bugs or attacks that fill up these queues, and
  7126. free more RAM for other uses. Fixes bug 24666; bugfix
  7127. on 0.2.5.1-alpha.
  7128. o Minor bugfixes (network layer):
  7129. - When closing a connection via close_connection_immediately(), we
  7130. mark it as "not blocked on bandwidth", to prevent later calls from
  7131. trying to unblock it, and give it permission to read. This fixes a
  7132. backtrace warning that can happen on relays under various
  7133. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  7134. o Minor bugfixes (onion services):
  7135. - The introduction circuit was being timed out too quickly while
  7136. waiting for the rendezvous circuit to complete. Keep the intro
  7137. circuit around longer instead of timing out and reopening new ones
  7138. constantly. Fixes bug 23681; bugfix on 0.2.4.8-alpha.
  7139. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  7140. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  7141. on 0.3.1.1-alpha.
  7142. - When handling multiple SOCKS request for the same .onion address,
  7143. only fetch the service descriptor once.
  7144. - Avoid a possible double close of a circuit by the intro point on
  7145. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  7146. bugfix on 0.3.0.1-alpha.
  7147. - When reloading configured onion services, copy all information
  7148. from the old service object. Previously, some data was omitted,
  7149. causing delays in descriptor upload, and other bugs. Fixes bug
  7150. 23790; bugfix on 0.2.1.9-alpha.
  7151. o Minor bugfixes (path selection):
  7152. - When selecting relays by bandwidth, avoid a rounding error that
  7153. could sometimes cause load to be imbalanced incorrectly.
  7154. Previously, we would always round upwards; now, we round towards
  7155. the nearest integer. This had the biggest effect when a relay's
  7156. weight adjustments should have given it weight 0, but it got
  7157. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  7158. - When calculating the fraction of nodes that have descriptors, and
  7159. all nodes in the network have zero bandwidths, count the number of
  7160. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  7161. - Actually log the total bandwidth in compute_weighted_bandwidths().
  7162. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  7163. o Minor bugfixes (portability):
  7164. - Stop using the PATH_MAX variable, which is not defined on GNU
  7165. Hurd. Fixes bug 23098; bugfix on 0.3.1.1-alpha.
  7166. - Fix a bug in the bit-counting parts of our timing-wheel code on
  7167. MSVC. (Note that MSVC is still not a supported build platform, due
  7168. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  7169. on 0.2.9.1-alpha.
  7170. o Minor bugfixes (relay):
  7171. - When uploading our descriptor for the first time after startup,
  7172. report the reason for uploading as "Tor just started" rather than
  7173. leaving it blank. Fixes bug 22885; bugfix on 0.2.3.4-alpha.
  7174. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  7175. relays, to prevent spurious address resolutions and descriptor
  7176. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  7177. bugfix on in 0.2.8.1-alpha.
  7178. - Avoid a crash when transitioning from client mode to bridge mode.
  7179. Previously, we would launch the worker threads whenever our
  7180. "public server" mode changed, but not when our "server" mode
  7181. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  7182. o Minor bugfixes (testing):
  7183. - Fix a spurious fuzzing-only use of an uninitialized value. Found
  7184. by Brian Carpenter. Fixes bug 24082; bugfix on 0.3.0.3-alpha.
  7185. - Test that IPv6-only clients can use microdescriptors when running
  7186. "make test-network-all". Requires chutney master 61c28b9 or later.
  7187. Closes ticket 24109.
  7188. - Prevent scripts/test/coverage from attempting to move gcov output
  7189. to the root directory. Fixes bug 23741; bugfix on 0.2.5.1-alpha.
  7190. - Capture and detect several "Result does not fit" warnings in unit
  7191. tests on platforms with 32-bit time_t. Fixes bug 21800; bugfix
  7192. on 0.2.9.3-alpha.
  7193. - Fix additional channelpadding unit test failures by using mocked
  7194. time instead of actual time for all tests. Fixes bug 23608; bugfix
  7195. on 0.3.1.1-alpha.
  7196. - Fix a bug in our fuzzing mock replacement for crypto_pk_checksig(),
  7197. to correctly handle cases where a caller gives it an RSA key of
  7198. under 160 bits. (This is not actually a bug in Tor itself, but
  7199. rather in our fuzzing code.) Fixes bug 24247; bugfix on
  7200. 0.3.0.3-alpha. Found by OSS-Fuzz as issue 4177.
  7201. - Fix a broken unit test for the OutboundAddress option: the parsing
  7202. function was never returning an error on failure. Fixes bug 23366;
  7203. bugfix on 0.3.0.3-alpha.
  7204. - Fix a signed-integer overflow in the unit tests for
  7205. dir/download_status_random_backoff, which was untriggered until we
  7206. fixed bug 17750. Fixes bug 22924; bugfix on 0.2.9.1-alpha.
  7207. o Minor bugfixes (usability, control port):
  7208. - Stop making an unnecessary routerlist check in NETINFO clock skew
  7209. detection; this was preventing clients from reporting NETINFO clock
  7210. skew to controllers. Fixes bug 23532; bugfix on 0.2.4.4-alpha.
  7211. o Code simplification and refactoring:
  7212. - Remove various ways of testing circuits and connections for
  7213. "clientness"; instead, favor channel_is_client(). Part of
  7214. ticket 22805.
  7215. - Extract the code for handling newly-open channels into a separate
  7216. function from the general code to handle channel state
  7217. transitions. This change simplifies our callgraph, reducing the
  7218. size of the largest strongly connected component by roughly a
  7219. factor of two. Closes ticket 22608.
  7220. - Remove dead code for largely unused statistics on the number of
  7221. times we've attempted various public key operations. Fixes bug
  7222. 19871; bugfix on 0.1.2.4-alpha. Fix by Isis Lovecruft.
  7223. - Remove several now-obsolete functions for asking about old
  7224. variants directory authority status. Closes ticket 22311; patch
  7225. from "huyvq".
  7226. - Remove some of the code that once supported "Named" and "Unnamed"
  7227. routers. Authorities no longer vote for these flags. Closes
  7228. ticket 22215.
  7229. - Rename the obsolete malleable hybrid_encrypt functions used in TAP
  7230. and old hidden services, to indicate that they aren't suitable for
  7231. new protocols or formats. Closes ticket 23026.
  7232. - Replace our STRUCT_OFFSET() macro with offsetof(). Closes ticket
  7233. 22521. Patch from Neel Chauhan.
  7234. - Split the enormous circuit_send_next_onion_skin() function into
  7235. multiple subfunctions. Closes ticket 22804.
  7236. - Split the portions of the buffer.c module that handle particular
  7237. protocols into separate modules. Part of ticket 23149.
  7238. - Use our test macros more consistently, to produce more useful
  7239. error messages when our unit tests fail. Add coccinelle patches to
  7240. allow us to re-check for test macro uses. Closes ticket 22497.
  7241. o Deprecated features:
  7242. - The ReachableDirAddresses and ClientPreferIPv6DirPort options are
  7243. now deprecated; they do not apply to relays, and they have had no
  7244. effect on clients since 0.2.8.x. Closes ticket 19704.
  7245. - Deprecate HTTPProxy/HTTPProxyAuthenticator config options. They
  7246. only applies to direct unencrypted HTTP connections to your
  7247. directory server, which your Tor probably isn't using. Closes
  7248. ticket 20575.
  7249. o Documentation:
  7250. - Add notes in man page regarding OS support for the various
  7251. scheduler types. Attempt to use less jargon in the scheduler
  7252. section. Closes ticket 24254.
  7253. - Clarify that the Address option is entirely about setting an
  7254. advertised IPv4 address. Closes ticket 18891.
  7255. - Clarify the manpage's use of the term "address" to clarify what
  7256. kind of address is intended. Closes ticket 21405.
  7257. - Document that onion service subdomains are allowed, and ignored.
  7258. Closes ticket 18736.
  7259. - Clarify in the manual that "Sandbox 1" is only supported on Linux
  7260. kernels. Closes ticket 22677.
  7261. - Document all values of PublishServerDescriptor in the manpage.
  7262. Closes ticket 15645.
  7263. - Improve the documentation for the directory port part of the
  7264. DirAuthority line. Closes ticket 20152.
  7265. - Restore documentation for the authorities' "approved-routers"
  7266. file. Closes ticket 21148.
  7267. o Removed features:
  7268. - The AllowDotExit option has been removed as unsafe. It has been
  7269. deprecated since 0.2.9.2-alpha. Closes ticket 23426.
  7270. - The ClientDNSRejectInternalAddresses flag can no longer be set on
  7271. non-testing networks. It has been deprecated since 0.2.9.2-alpha.
  7272. Closes ticket 21031.
  7273. - The controller API no longer includes an AUTHDIR_NEWDESCS event:
  7274. nobody was using it any longer. Closes ticket 22377.
  7275. Changes in version 0.3.1.9 - 2017-12-01:
  7276. Tor 0.3.1.9 backports important security and stability fixes from the
  7277. 0.3.2 development series. All Tor users should upgrade to this
  7278. release, or to another of the releases coming out today.
  7279. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  7280. - Fix a denial of service bug where an attacker could use a
  7281. malformed directory object to cause a Tor instance to pause while
  7282. OpenSSL would try to read a passphrase from the terminal. (Tor
  7283. instances run without a terminal, which is the case for most Tor
  7284. packages, are not impacted.) Fixes bug 24246; bugfix on every
  7285. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  7286. Found by OSS-Fuzz as testcase 6360145429790720.
  7287. - Fix a denial of service issue where an attacker could crash a
  7288. directory authority using a malformed router descriptor. Fixes bug
  7289. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  7290. and CVE-2017-8820.
  7291. - When checking for replays in the INTRODUCE1 cell data for a
  7292. (legacy) onion service, correctly detect replays in the RSA-
  7293. encrypted part of the cell. We were previously checking for
  7294. replays on the entire cell, but those can be circumvented due to
  7295. the malleability of Tor's legacy hybrid encryption. This fix helps
  7296. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  7297. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  7298. and CVE-2017-8819.
  7299. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  7300. - Fix a use-after-free error that could crash v2 Tor onion services
  7301. when they failed to open circuits while expiring introduction
  7302. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  7303. also tracked as TROVE-2017-013 and CVE-2017-8823.
  7304. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  7305. - When running as a relay, make sure that we never build a path
  7306. through ourselves, even in the case where we have somehow lost the
  7307. version of our descriptor appearing in the consensus. Fixes part
  7308. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  7309. as TROVE-2017-012 and CVE-2017-8822.
  7310. - When running as a relay, make sure that we never choose ourselves
  7311. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  7312. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  7313. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  7314. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  7315. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  7316. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  7317. identifying and finding a workaround to this bug and to Moritz,
  7318. Arthur Edelstein, and Roger for helping to track it down and
  7319. analyze it.
  7320. o Minor features (bridge):
  7321. - Bridges now include notice in their descriptors that they are
  7322. bridges, and notice of their distribution status, based on their
  7323. publication settings. Implements ticket 18329. For more fine-
  7324. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  7325. or later.
  7326. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  7327. - Add an IPv6 address for the "bastet" directory authority. Closes
  7328. ticket 24394.
  7329. o Minor features (geoip):
  7330. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  7331. Country database.
  7332. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  7333. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  7334. relays, to prevent spurious address resolutions and descriptor
  7335. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  7336. bugfix on in 0.2.8.1-alpha.
  7337. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  7338. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  7339. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  7340. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  7341. - When a circuit is marked for close, do not attempt to package any
  7342. cells for channels on that circuit. Previously, we would detect
  7343. this condition lower in the call stack, when we noticed that the
  7344. circuit had no attached channel, and log an annoying message.
  7345. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  7346. o Minor bugfixes (onion service, backport from 0.3.2.5-alpha):
  7347. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  7348. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  7349. on 0.3.1.1-alpha.
  7350. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  7351. - Avoid a crash when transitioning from client mode to bridge mode.
  7352. Previously, we would launch the worker threads whenever our
  7353. "public server" mode changed, but not when our "server" mode
  7354. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  7355. Changes in version 0.3.0.13 - 2017-12-01
  7356. Tor 0.3.0.13 backports important security and stability bugfixes from
  7357. later Tor releases. All Tor users should upgrade to this release, or
  7358. to another of the releases coming out today.
  7359. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  7360. 2018. If you need a release with long-term support, please stick with
  7361. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  7362. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  7363. - Fix a denial of service bug where an attacker could use a
  7364. malformed directory object to cause a Tor instance to pause while
  7365. OpenSSL would try to read a passphrase from the terminal. (Tor
  7366. instances run without a terminal, which is the case for most Tor
  7367. packages, are not impacted.) Fixes bug 24246; bugfix on every
  7368. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  7369. Found by OSS-Fuzz as testcase 6360145429790720.
  7370. - Fix a denial of service issue where an attacker could crash a
  7371. directory authority using a malformed router descriptor. Fixes bug
  7372. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  7373. and CVE-2017-8820.
  7374. - When checking for replays in the INTRODUCE1 cell data for a
  7375. (legacy) onion service, correctly detect replays in the RSA-
  7376. encrypted part of the cell. We were previously checking for
  7377. replays on the entire cell, but those can be circumvented due to
  7378. the malleability of Tor's legacy hybrid encryption. This fix helps
  7379. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  7380. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  7381. and CVE-2017-8819.
  7382. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  7383. - Fix a use-after-free error that could crash v2 Tor onion services
  7384. when they failed to open circuits while expiring introduction
  7385. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  7386. also tracked as TROVE-2017-013 and CVE-2017-8823.
  7387. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  7388. - When running as a relay, make sure that we never build a path
  7389. through ourselves, even in the case where we have somehow lost the
  7390. version of our descriptor appearing in the consensus. Fixes part
  7391. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  7392. as TROVE-2017-012 and CVE-2017-8822.
  7393. - When running as a relay, make sure that we never choose ourselves
  7394. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  7395. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  7396. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  7397. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  7398. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  7399. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  7400. identifying and finding a workaround to this bug and to Moritz,
  7401. Arthur Edelstein, and Roger for helping to track it down and
  7402. analyze it.
  7403. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  7404. - Enable a couple of pieces of Windows hardening: one
  7405. (HeapEnableTerminationOnCorruption) that has been on-by-default
  7406. since Windows 8, and unavailable before Windows 7; and one
  7407. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  7408. affect us, but shouldn't do any harm. Closes ticket 21953.
  7409. o Minor features (bridge, backport from 0.3.1.9):
  7410. - Bridges now include notice in their descriptors that they are
  7411. bridges, and notice of their distribution status, based on their
  7412. publication settings. Implements ticket 18329. For more fine-
  7413. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  7414. or later.
  7415. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  7416. - Add an IPv6 address for the "bastet" directory authority. Closes
  7417. ticket 24394.
  7418. o Minor features (geoip):
  7419. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  7420. Country database.
  7421. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  7422. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  7423. relays, to prevent spurious address resolutions and descriptor
  7424. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  7425. bugfix on in 0.2.8.1-alpha.
  7426. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  7427. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  7428. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  7429. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  7430. - When a circuit is marked for close, do not attempt to package any
  7431. cells for channels on that circuit. Previously, we would detect
  7432. this condition lower in the call stack, when we noticed that the
  7433. circuit had no attached channel, and log an annoying message.
  7434. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  7435. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  7436. - Avoid a crash when transitioning from client mode to bridge mode.
  7437. Previously, we would launch the worker threads whenever our
  7438. "public server" mode changed, but not when our "server" mode
  7439. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  7440. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  7441. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  7442. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  7443. Changes in version 0.2.9.14 - 2017-12-01
  7444. Tor 0.3.0.13 backports important security and stability bugfixes from
  7445. later Tor releases. All Tor users should upgrade to this release, or
  7446. to another of the releases coming out today.
  7447. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  7448. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  7449. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  7450. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  7451. identifying and finding a workaround to this bug and to Moritz,
  7452. Arthur Edelstein, and Roger for helping to track it down and
  7453. analyze it.
  7454. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  7455. - Fix a denial of service bug where an attacker could use a
  7456. malformed directory object to cause a Tor instance to pause while
  7457. OpenSSL would try to read a passphrase from the terminal. (Tor
  7458. instances run without a terminal, which is the case for most Tor
  7459. packages, are not impacted.) Fixes bug 24246; bugfix on every
  7460. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  7461. Found by OSS-Fuzz as testcase 6360145429790720.
  7462. - Fix a denial of service issue where an attacker could crash a
  7463. directory authority using a malformed router descriptor. Fixes bug
  7464. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  7465. and CVE-2017-8820.
  7466. - When checking for replays in the INTRODUCE1 cell data for a
  7467. (legacy) onion service, correctly detect replays in the RSA-
  7468. encrypted part of the cell. We were previously checking for
  7469. replays on the entire cell, but those can be circumvented due to
  7470. the malleability of Tor's legacy hybrid encryption. This fix helps
  7471. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  7472. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  7473. and CVE-2017-8819.
  7474. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  7475. - Fix a use-after-free error that could crash v2 Tor onion services
  7476. when they failed to open circuits while expiring introduction
  7477. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  7478. also tracked as TROVE-2017-013 and CVE-2017-8823.
  7479. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  7480. - When running as a relay, make sure that we never build a path
  7481. through ourselves, even in the case where we have somehow lost the
  7482. version of our descriptor appearing in the consensus. Fixes part
  7483. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  7484. as TROVE-2017-012 and CVE-2017-8822.
  7485. o Minor features (bridge, backport from 0.3.1.9):
  7486. - Bridges now include notice in their descriptors that they are
  7487. bridges, and notice of their distribution status, based on their
  7488. publication settings. Implements ticket 18329. For more fine-
  7489. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  7490. or later.
  7491. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  7492. - Add an IPv6 address for the "bastet" directory authority. Closes
  7493. ticket 24394.
  7494. o Minor features (geoip):
  7495. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  7496. Country database.
  7497. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  7498. - Enable a couple of pieces of Windows hardening: one
  7499. (HeapEnableTerminationOnCorruption) that has been on-by-default
  7500. since Windows 8, and unavailable before Windows 7; and one
  7501. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  7502. affect us, but shouldn't do any harm. Closes ticket 21953.
  7503. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  7504. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  7505. relays, to prevent spurious address resolutions and descriptor
  7506. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  7507. bugfix on in 0.2.8.1-alpha.
  7508. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  7509. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  7510. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  7511. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  7512. - When a circuit is marked for close, do not attempt to package any
  7513. cells for channels on that circuit. Previously, we would detect
  7514. this condition lower in the call stack, when we noticed that the
  7515. circuit had no attached channel, and log an annoying message.
  7516. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  7517. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  7518. - Avoid a crash when transitioning from client mode to bridge mode.
  7519. Previously, we would launch the worker threads whenever our
  7520. "public server" mode changed, but not when our "server" mode
  7521. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  7522. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  7523. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  7524. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  7525. Changes in version 0.2.8.17 - 2017-12-01
  7526. Tor 0.2.8.17 backports important security and stability bugfixes from
  7527. later Tor releases. All Tor users should upgrade to this release, or
  7528. to another of the releases coming out today.
  7529. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  7530. 2018. If you need a release with long-term support, please upgrade with
  7531. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  7532. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  7533. - Fix a denial of service bug where an attacker could use a
  7534. malformed directory object to cause a Tor instance to pause while
  7535. OpenSSL would try to read a passphrase from the terminal. (Tor
  7536. instances run without a terminal, which is the case for most Tor
  7537. packages, are not impacted.) Fixes bug 24246; bugfix on every
  7538. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  7539. Found by OSS-Fuzz as testcase 6360145429790720.
  7540. - When checking for replays in the INTRODUCE1 cell data for a
  7541. (legacy) onion service, correctly detect replays in the RSA-
  7542. encrypted part of the cell. We were previously checking for
  7543. replays on the entire cell, but those can be circumvented due to
  7544. the malleability of Tor's legacy hybrid encryption. This fix helps
  7545. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  7546. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  7547. and CVE-2017-8819.
  7548. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  7549. - Fix a use-after-free error that could crash v2 Tor onion services
  7550. when they failed to open circuits while expiring introduction
  7551. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  7552. also tracked as TROVE-2017-013 and CVE-2017-8823.
  7553. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  7554. - When running as a relay, make sure that we never build a path through
  7555. ourselves, even in the case where we have somehow lost the version of
  7556. our descriptor appearing in the consensus. Fixes part of bug 21534;
  7557. bugfix on 0.2.0.1-alpha. This issue is also tracked as TROVE-2017-012
  7558. and CVE-2017-8822.
  7559. o Minor features (bridge, backport from 0.3.1.9):
  7560. - Bridges now include notice in their descriptors that they are
  7561. bridges, and notice of their distribution status, based on their
  7562. publication settings. Implements ticket 18329. For more fine-
  7563. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  7564. or later.
  7565. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  7566. - Add an IPv6 address for the "bastet" directory authority. Closes
  7567. ticket 24394.
  7568. o Minor features (geoip):
  7569. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  7570. Country database.
  7571. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  7572. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  7573. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  7574. Changes in version 0.2.5.16 - 2017-12-01
  7575. Tor 0.2.5.13 backports important security and stability bugfixes from
  7576. later Tor releases. All Tor users should upgrade to this release, or
  7577. to another of the releases coming out today.
  7578. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  7579. 2018. If you need a release with long-term support, please upgrade to
  7580. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  7581. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  7582. - Fix a denial of service bug where an attacker could use a
  7583. malformed directory object to cause a Tor instance to pause while
  7584. OpenSSL would try to read a passphrase from the terminal. (Tor
  7585. instances run without a terminal, which is the case for most Tor
  7586. packages, are not impacted.) Fixes bug 24246; bugfix on every
  7587. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  7588. Found by OSS-Fuzz as testcase 6360145429790720.
  7589. - When checking for replays in the INTRODUCE1 cell data for a
  7590. (legacy) onion service, correctly detect replays in the RSA-
  7591. encrypted part of the cell. We were previously checking for
  7592. replays on the entire cell, but those can be circumvented due to
  7593. the malleability of Tor's legacy hybrid encryption. This fix helps
  7594. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  7595. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  7596. and CVE-2017-8819.
  7597. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  7598. - When running as a relay, make sure that we never build a path
  7599. through ourselves, even in the case where we have somehow lost the
  7600. version of our descriptor appearing in the consensus. Fixes part
  7601. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  7602. as TROVE-2017-012 and CVE-2017-8822.
  7603. o Minor features (bridge, backport from 0.3.1.9):
  7604. - Bridges now include notice in their descriptors that they are
  7605. bridges, and notice of their distribution status, based on their
  7606. publication settings. Implements ticket 18329. For more fine-
  7607. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  7608. or later.
  7609. o Minor features (geoip):
  7610. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  7611. Country database.
  7612. Changes in version 0.2.5.15 - 2017-10-25
  7613. Tor 0.2.5.15 backports a collection of bugfixes from later Tor release
  7614. series. It also adds a new directory authority, Bastet.
  7615. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  7616. 2018. If you need a release with long-term support, please upgrade to
  7617. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  7618. o Directory authority changes:
  7619. - Add "Bastet" as a ninth directory authority to the default list.
  7620. Closes ticket 23910.
  7621. - The directory authority "Longclaw" has changed its IP address.
  7622. Closes ticket 23592.
  7623. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  7624. - Avoid an assertion failure bug affecting our implementation of
  7625. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  7626. handling of "0xx" differs from what we had expected. Fixes bug
  7627. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  7628. o Minor features (geoip):
  7629. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  7630. Country database.
  7631. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  7632. - Fix a memset() off the end of an array when packing cells. This
  7633. bug should be harmless in practice, since the corrupted bytes are
  7634. still in the same structure, and are always padding bytes,
  7635. ignored, or immediately overwritten, depending on compiler
  7636. behavior. Nevertheless, because the memset()'s purpose is to make
  7637. sure that any other cell-handling bugs can't expose bytes to the
  7638. network, we need to fix it. Fixes bug 22737; bugfix on
  7639. 0.2.4.11-alpha. Fixes CID 1401591.
  7640. o Build features (backport from 0.3.1.5-alpha):
  7641. - Tor's repository now includes a Travis Continuous Integration (CI)
  7642. configuration file (.travis.yml). This is meant to help new
  7643. developers and contributors who fork Tor to a Github repository be
  7644. better able to test their changes, and understand what we expect
  7645. to pass. To use this new build feature, you must fork Tor to your
  7646. Github account, then go into the "Integrations" menu in the
  7647. repository settings for your fork and enable Travis, then push
  7648. your changes. Closes ticket 22636.
  7649. Changes in version 0.2.8.16 - 2017-10-25
  7650. Tor 0.2.8.16 backports a collection of bugfixes from later Tor release
  7651. series, including a bugfix for a crash issue that had affected relays
  7652. under memory pressure. It also adds a new directory authority, Bastet.
  7653. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  7654. 2018. If you need a release with long-term support, please stick with
  7655. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  7656. o Directory authority changes:
  7657. - Add "Bastet" as a ninth directory authority to the default list.
  7658. Closes ticket 23910.
  7659. - The directory authority "Longclaw" has changed its IP address.
  7660. Closes ticket 23592.
  7661. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  7662. - Fix a timing-based assertion failure that could occur when the
  7663. circuit out-of-memory handler freed a connection's output buffer.
  7664. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  7665. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  7666. - Remove longclaw's IPv6 address, as it will soon change. Authority
  7667. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  7668. 3/8 directory authorities with IPv6 addresses, but there are also
  7669. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  7670. o Minor features (geoip):
  7671. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  7672. Country database.
  7673. Changes in version 0.2.9.13 - 2017-10-25
  7674. Tor 0.2.9.13 backports a collection of bugfixes from later Tor release
  7675. series, including a bugfix for a crash issue that had affected relays
  7676. under memory pressure. It also adds a new directory authority, Bastet.
  7677. o Directory authority changes:
  7678. - Add "Bastet" as a ninth directory authority to the default list.
  7679. Closes ticket 23910.
  7680. - The directory authority "Longclaw" has changed its IP address.
  7681. Closes ticket 23592.
  7682. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  7683. - Fix a timing-based assertion failure that could occur when the
  7684. circuit out-of-memory handler freed a connection's output buffer.
  7685. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  7686. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  7687. - Remove longclaw's IPv6 address, as it will soon change. Authority
  7688. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  7689. 3/8 directory authorities with IPv6 addresses, but there are also
  7690. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  7691. o Minor features (geoip):
  7692. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  7693. Country database.
  7694. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  7695. - When a directory authority rejects a descriptor or extrainfo with
  7696. a given digest, mark that digest as undownloadable, so that we do
  7697. not attempt to download it again over and over. We previously
  7698. tried to avoid downloading such descriptors by other means, but we
  7699. didn't notice if we accidentally downloaded one anyway. This
  7700. behavior became problematic in 0.2.7.2-alpha, when authorities
  7701. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  7702. on 0.2.1.19-alpha.
  7703. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  7704. - Clear the address when node_get_prim_orport() returns early.
  7705. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  7706. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  7707. - When running as a Windows service, set the ID of the main thread
  7708. correctly. Failure to do so made us fail to send log messages to
  7709. the controller in 0.2.1.16-rc, slowed down controller event
  7710. delivery in 0.2.7.3-rc and later, and crash with an assertion
  7711. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  7712. Patch and diagnosis from "Vort".
  7713. Changes in version 0.3.0.12 - 2017-10-25
  7714. Tor 0.3.0.12 backports a collection of bugfixes from later Tor release
  7715. series, including a bugfix for a crash issue that had affected relays
  7716. under memory pressure. It also adds a new directory authority, Bastet.
  7717. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  7718. 2018. If you need a release with long-term support, please stick with
  7719. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  7720. o Directory authority changes:
  7721. - Add "Bastet" as a ninth directory authority to the default list.
  7722. Closes ticket 23910.
  7723. - The directory authority "Longclaw" has changed its IP address.
  7724. Closes ticket 23592.
  7725. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  7726. - Fix a timing-based assertion failure that could occur when the
  7727. circuit out-of-memory handler freed a connection's output buffer.
  7728. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  7729. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  7730. - Remove longclaw's IPv6 address, as it will soon change. Authority
  7731. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  7732. 3/8 directory authorities with IPv6 addresses, but there are also
  7733. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  7734. o Minor features (geoip):
  7735. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  7736. Country database.
  7737. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  7738. - When a directory authority rejects a descriptor or extrainfo with
  7739. a given digest, mark that digest as undownloadable, so that we do
  7740. not attempt to download it again over and over. We previously
  7741. tried to avoid downloading such descriptors by other means, but we
  7742. didn't notice if we accidentally downloaded one anyway. This
  7743. behavior became problematic in 0.2.7.2-alpha, when authorities
  7744. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  7745. on 0.2.1.19-alpha.
  7746. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  7747. - Avoid a possible double close of a circuit by the intro point on
  7748. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  7749. bugfix on 0.3.0.1-alpha.
  7750. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  7751. - Clear the address when node_get_prim_orport() returns early.
  7752. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  7753. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  7754. - When running as a Windows service, set the ID of the main thread
  7755. correctly. Failure to do so made us fail to send log messages to
  7756. the controller in 0.2.1.16-rc, slowed down controller event
  7757. delivery in 0.2.7.3-rc and later, and crash with an assertion
  7758. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  7759. Patch and diagnosis from "Vort".
  7760. Changes in version 0.3.1.8 - 2017-10-25
  7761. Tor 0.3.1.8 is the second stable release in the 0.3.1 series.
  7762. It includes several bugfixes, including a bugfix for a crash issue
  7763. that had affected relays under memory pressure. It also adds
  7764. a new directory authority, Bastet.
  7765. o Directory authority changes:
  7766. - Add "Bastet" as a ninth directory authority to the default list.
  7767. Closes ticket 23910.
  7768. - The directory authority "Longclaw" has changed its IP address.
  7769. Closes ticket 23592.
  7770. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  7771. - Fix a timing-based assertion failure that could occur when the
  7772. circuit out-of-memory handler freed a connection's output buffer.
  7773. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  7774. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  7775. - Remove longclaw's IPv6 address, as it will soon change. Authority
  7776. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  7777. 3/8 directory authorities with IPv6 addresses, but there are also
  7778. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  7779. o Minor features (geoip):
  7780. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  7781. Country database.
  7782. o Minor bugfixes (compilation, backport from 0.3.2.2-alpha):
  7783. - Fix a compilation warning when building with zstd support on
  7784. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  7785. and fixed by Andreas Stieger.
  7786. o Minor bugfixes (compression, backport from 0.3.2.2-alpha):
  7787. - Handle a pathological case when decompressing Zstandard data when
  7788. the output buffer size is zero. Fixes bug 23551; bugfix
  7789. on 0.3.1.1-alpha.
  7790. o Minor bugfixes (directory authority, backport from 0.3.2.1-alpha):
  7791. - Remove the length limit on HTTP status lines that authorities can
  7792. send in their replies. Fixes bug 23499; bugfix on 0.3.1.6-rc.
  7793. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  7794. - Avoid a possible double close of a circuit by the intro point on
  7795. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  7796. bugfix on 0.3.0.1-alpha.
  7797. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  7798. - Clear the address when node_get_prim_orport() returns early.
  7799. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  7800. o Minor bugfixes (unit tests, backport from 0.3.2.2-alpha):
  7801. - Fix additional channelpadding unit test failures by using mocked
  7802. time instead of actual time for all tests. Fixes bug 23608; bugfix
  7803. on 0.3.1.1-alpha.
  7804. Changes in version 0.2.8.15 - 2017-09-18
  7805. Tor 0.2.8.15 backports a collection of bugfixes from later
  7806. Tor series.
  7807. Most significantly, it includes a fix for TROVE-2017-008, a
  7808. security bug that affects hidden services running with the
  7809. SafeLogging option disabled. For more information, see
  7810. https://trac.torproject.org/projects/tor/ticket/23490
  7811. Note that Tor 0.2.8.x will no longer be supported after 1 Jan
  7812. 2018. We suggest that you upgrade to the latest stable release if
  7813. possible. If you can't, we recommend that you upgrade at least to
  7814. 0.2.9, which will be supported until 2020.
  7815. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  7816. - Avoid an assertion failure bug affecting our implementation of
  7817. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  7818. handling of "0xx" differs from what we had expected. Fixes bug
  7819. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  7820. o Minor features:
  7821. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  7822. Country database.
  7823. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  7824. - Backport a fix for an "unused variable" warning that appeared
  7825. in some versions of mingw. Fixes bug 22838; bugfix on
  7826. 0.2.8.1-alpha.
  7827. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  7828. - Fix a memset() off the end of an array when packing cells. This
  7829. bug should be harmless in practice, since the corrupted bytes are
  7830. still in the same structure, and are always padding bytes,
  7831. ignored, or immediately overwritten, depending on compiler
  7832. behavior. Nevertheless, because the memset()'s purpose is to make
  7833. sure that any other cell-handling bugs can't expose bytes to the
  7834. network, we need to fix it. Fixes bug 22737; bugfix on
  7835. 0.2.4.11-alpha. Fixes CID 1401591.
  7836. o Build features (backport from 0.3.1.5-alpha):
  7837. - Tor's repository now includes a Travis Continuous Integration (CI)
  7838. configuration file (.travis.yml). This is meant to help new
  7839. developers and contributors who fork Tor to a Github repository be
  7840. better able to test their changes, and understand what we expect
  7841. to pass. To use this new build feature, you must fork Tor to your
  7842. Github account, then go into the "Integrations" menu in the
  7843. repository settings for your fork and enable Travis, then push
  7844. your changes. Closes ticket 22636.
  7845. Changes in version 0.2.9.12 - 2017-09-18
  7846. Tor 0.2.9.12 backports a collection of bugfixes from later
  7847. Tor series.
  7848. Most significantly, it includes a fix for TROVE-2017-008, a
  7849. security bug that affects hidden services running with the
  7850. SafeLogging option disabled. For more information, see
  7851. https://trac.torproject.org/projects/tor/ticket/23490
  7852. o Major features (security, backport from 0.3.0.2-alpha):
  7853. - Change the algorithm used to decide DNS TTLs on client and server
  7854. side, to better resist DNS-based correlation attacks like the
  7855. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  7856. Feamster. Now relays only return one of two possible DNS TTL
  7857. values, and clients are willing to believe DNS TTL values up to 3
  7858. hours long. Closes ticket 19769.
  7859. o Major bugfixes (crash, directory connections, backport from 0.3.0.5-rc):
  7860. - Fix a rare crash when sending a begin cell on a circuit whose
  7861. linked directory connection had already been closed. Fixes bug
  7862. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  7863. o Major bugfixes (DNS, backport from 0.3.0.2-alpha):
  7864. - Fix a bug that prevented exit nodes from caching DNS records for
  7865. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  7866. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  7867. - Fix a typo that had prevented TPROXY-based transparent proxying
  7868. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  7869. Patch from "d4fq0fQAgoJ".
  7870. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  7871. - Avoid an assertion failure bug affecting our implementation of
  7872. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  7873. handling of "0xx" differs from what we had expected. Fixes bug
  7874. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  7875. o Minor features (code style, backport from 0.3.1.3-alpha):
  7876. - Add "Falls through" comments to our codebase, in order to silence
  7877. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  7878. Stieger. Closes ticket 22446.
  7879. o Minor features (geoip):
  7880. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  7881. Country database.
  7882. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.1-alpha):
  7883. - Roll over monthly accounting at the configured hour and minute,
  7884. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  7885. Found by Andrey Karpov with PVS-Studio.
  7886. o Minor bugfixes (compilation, backport from 0.3.1.5-alpha):
  7887. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  7888. bugfix on 0.2.8.1-alpha.
  7889. - Fix warnings when building with libscrypt and openssl scrypt support
  7890. on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  7891. - When building with certain versions the mingw C header files, avoid
  7892. float-conversion warnings when calling the C functions isfinite(),
  7893. isnan(), and signbit(). Fixes bug 22801; bugfix on 0.2.8.1-alpha.
  7894. o Minor bugfixes (compilation, backport from 0.3.1.7):
  7895. - Avoid compiler warnings in the unit tests for running tor_sscanf()
  7896. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  7897. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  7898. - Backport a fix for an "unused variable" warning that appeared
  7899. in some versions of mingw. Fixes bug 22838; bugfix on
  7900. 0.2.8.1-alpha.
  7901. o Minor bugfixes (controller, backport from 0.3.1.7):
  7902. - Do not crash when receiving a HSPOST command with an empty body.
  7903. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  7904. - Do not crash when receiving a POSTDESCRIPTOR command with an
  7905. empty body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  7906. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  7907. - Avoid Coverity build warnings related to our BUG() macro. By
  7908. default, Coverity treats BUG() as the Linux kernel does: an
  7909. instant abort(). We need to override that so our BUG() macro
  7910. doesn't prevent Coverity from analyzing functions that use it.
  7911. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  7912. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  7913. - Fix a memset() off the end of an array when packing cells. This
  7914. bug should be harmless in practice, since the corrupted bytes are
  7915. still in the same structure, and are always padding bytes,
  7916. ignored, or immediately overwritten, depending on compiler
  7917. behavior. Nevertheless, because the memset()'s purpose is to make
  7918. sure that any other cell-handling bugs can't expose bytes to the
  7919. network, we need to fix it. Fixes bug 22737; bugfix on
  7920. 0.2.4.11-alpha. Fixes CID 1401591.
  7921. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  7922. - When setting the maximum number of connections allowed by the OS,
  7923. always allow some extra file descriptors for other files. Fixes
  7924. bug 22797; bugfix on 0.2.0.10-alpha.
  7925. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  7926. - Avoid a sandbox failure when trying to re-bind to a socket and
  7927. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  7928. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  7929. - Permit the fchmod system call, to avoid crashing on startup when
  7930. starting with the seccomp2 sandbox and an unexpected set of
  7931. permissions on the data directory or its contents. Fixes bug
  7932. 22516; bugfix on 0.2.5.4-alpha.
  7933. o Minor bugfixes (relay, backport from 0.3.0.5-rc):
  7934. - Avoid a double-marked-circuit warning that could happen when we
  7935. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  7936. on 0.1.0.1-rc.
  7937. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  7938. - Reject version numbers with non-numeric prefixes (such as +, -, or
  7939. whitespace). Disallowing whitespace prevents differential version
  7940. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  7941. and part of 21508; bugfix on 0.0.8pre1.
  7942. o Build features (backport from 0.3.1.5-alpha):
  7943. - Tor's repository now includes a Travis Continuous Integration (CI)
  7944. configuration file (.travis.yml). This is meant to help new
  7945. developers and contributors who fork Tor to a Github repository be
  7946. better able to test their changes, and understand what we expect
  7947. to pass. To use this new build feature, you must fork Tor to your
  7948. Github account, then go into the "Integrations" menu in the
  7949. repository settings for your fork and enable Travis, then push
  7950. your changes. Closes ticket 22636.
  7951. Changes in version 0.3.0.11 - 2017-09-18
  7952. Tor 0.3.0.11 backports a collection of bugfixes from Tor the 0.3.1
  7953. series.
  7954. Most significantly, it includes a fix for TROVE-2017-008, a
  7955. security bug that affects hidden services running with the
  7956. SafeLogging option disabled. For more information, see
  7957. https://trac.torproject.org/projects/tor/ticket/23490
  7958. o Minor features (code style, backport from 0.3.1.7):
  7959. - Add "Falls through" comments to our codebase, in order to silence
  7960. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  7961. Stieger. Closes ticket 22446.
  7962. o Minor features:
  7963. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  7964. Country database.
  7965. o Minor bugfixes (compilation, backport from 0.3.1.7):
  7966. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  7967. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  7968. o Minor bugfixes (controller, backport from 0.3.1.7):
  7969. - Do not crash when receiving a HSPOST command with an empty body.
  7970. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  7971. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  7972. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  7973. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  7974. - When setting the maximum number of connections allowed by the OS,
  7975. always allow some extra file descriptors for other files. Fixes
  7976. bug 22797; bugfix on 0.2.0.10-alpha.
  7977. o Minor bugfixes (logging, relay, backport from 0.3.1.6-rc):
  7978. - Remove a forgotten debugging message when an introduction point
  7979. successfully establishes a hidden service prop224 circuit with
  7980. a client.
  7981. - Change three other log_warn() for an introduction point to
  7982. protocol warnings, because they can be failure from the network
  7983. and are not relevant to the operator. Fixes bug 23078; bugfix on
  7984. 0.3.0.1-alpha and 0.3.0.2-alpha.
  7985. Changes in version 0.3.1.7 - 2017-09-18
  7986. Tor 0.3.1.7 is the first stable release in the 0.3.1 series.
  7987. With the 0.3.1 series, Tor now serves and downloads directory
  7988. information in more compact formats, to save on bandwidth overhead. It
  7989. also contains a new padding system to resist netflow-based traffic
  7990. analysis, and experimental support for building parts of Tor in Rust
  7991. (though no parts of Tor are in Rust yet). There are also numerous
  7992. small features, bugfixes on earlier release series, and groundwork for
  7993. the hidden services revamp of 0.3.2.
  7994. This release also includes a fix for TROVE-2017-008, a security bug
  7995. that affects hidden services running with the SafeLogging option
  7996. disabled. For more information, see
  7997. https://trac.torproject.org/projects/tor/ticket/23490
  7998. Per our stable release policy, we plan to support each stable release
  7999. series for at least the next nine months, or for three months after
  8000. the first stable release of the next series: whichever is longer. If
  8001. you need a release with long-term support, we recommend that you stay
  8002. with the 0.2.9 series.
  8003. Below is a list of the changes since 0.3.0. For a list of all
  8004. changes since 0.3.1.6-rc, see the ChangeLog file.
  8005. o New dependencies:
  8006. - To build with zstd and lzma support, Tor now requires the
  8007. pkg-config tool at build time.
  8008. o Major bugfixes (security, hidden services, loggging):
  8009. - Fix a bug where we could log uninitialized stack when a certain
  8010. hidden service error occurred while SafeLogging was disabled.
  8011. Fixes bug #23490; bugfix on 0.2.7.2-alpha.
  8012. This is also tracked as TROVE-2017-008 and CVE-2017-0380.
  8013. o Major features (build system, continuous integration):
  8014. - Tor's repository now includes a Travis Continuous Integration (CI)
  8015. configuration file (.travis.yml). This is meant to help new
  8016. developers and contributors who fork Tor to a Github repository be
  8017. better able to test their changes, and understand what we expect
  8018. to pass. To use this new build feature, you must fork Tor to your
  8019. Github account, then go into the "Integrations" menu in the
  8020. repository settings for your fork and enable Travis, then push
  8021. your changes. Closes ticket 22636.
  8022. o Major features (directory protocol):
  8023. - Tor relays and authorities can now serve clients an abbreviated
  8024. version of the consensus document, containing only the changes
  8025. since an older consensus document that the client holds. Clients
  8026. now request these documents when available. When both client and
  8027. server use this new protocol, they will use far less bandwidth (up
  8028. to 94% less) to keep the client's consensus up-to-date. Implements
  8029. proposal 140; closes ticket 13339. Based on work by Daniel Martí.
  8030. - Tor can now compress directory traffic with lzma or with zstd
  8031. compression algorithms, which can deliver better bandwidth
  8032. performance. Because lzma is computationally expensive, it's only
  8033. used for documents that can be compressed once and served many
  8034. times. Support for these algorithms requires that tor is built
  8035. with the libzstd and/or liblzma libraries available. Implements
  8036. proposal 278; closes ticket 21662.
  8037. - Relays now perform the more expensive compression operations, and
  8038. consensus diff generation, in worker threads. This separation
  8039. avoids delaying the main thread when a new consensus arrives.
  8040. o Major features (experimental):
  8041. - Tor can now build modules written in Rust. To turn this on, pass
  8042. the "--enable-rust" flag to the configure script. It's not time to
  8043. get excited yet: currently, there is no actual Rust functionality
  8044. beyond some simple glue code, and a notice at startup to tell you
  8045. that Rust is running. Still, we hope that programmers and
  8046. packagers will try building Tor with Rust support, so that we can
  8047. find issues and solve portability problems. Closes ticket 22106.
  8048. o Major features (traffic analysis resistance):
  8049. - Connections between clients and relays now send a padding cell in
  8050. each direction every 1.5 to 9.5 seconds (tunable via consensus
  8051. parameters). This padding will not resist specialized
  8052. eavesdroppers, but it should be enough to make many ISPs' routine
  8053. network flow logging less useful in traffic analysis against
  8054. Tor users.
  8055. Padding is negotiated using Tor's link protocol, so both relays
  8056. and clients must upgrade for this to take effect. Clients may
  8057. still send padding despite the relay's version by setting
  8058. ConnectionPadding 1 in torrc, and may disable padding by setting
  8059. ConnectionPadding 0 in torrc. Padding may be minimized for mobile
  8060. users with the torrc option ReducedConnectionPadding. Implements
  8061. Proposal 251 and Section 2 of Proposal 254; closes ticket 16861.
  8062. - Relays will publish 24 hour totals of padding and non-padding cell
  8063. counts to their extra-info descriptors, unless PaddingStatistics 0
  8064. is set in torrc. These 24 hour totals are also rounded to
  8065. multiples of 10000.
  8066. o Major bugfixes (hidden service, relay, security):
  8067. - Fix a remotely triggerable assertion failure when a hidden service
  8068. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  8069. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  8070. - Fix a remotely triggerable assertion failure caused by receiving a
  8071. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  8072. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  8073. on 0.2.2.1-alpha.
  8074. o Major bugfixes (path selection, security):
  8075. - When choosing which guard to use for a circuit, avoid the exit's
  8076. family along with the exit itself. Previously, the new guard
  8077. selection logic avoided the exit, but did not consider its family.
  8078. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  8079. 006 and CVE-2017-0377.
  8080. o Major bugfixes (connection usage):
  8081. - We use NETINFO cells to try to determine if both relays involved
  8082. in a connection will agree on the canonical status of that
  8083. connection. We prefer the connections where this is the case for
  8084. extend cells, and try to close connections where relays disagree
  8085. on their canonical status early. Also, we now prefer the oldest
  8086. valid connection for extend cells. These two changes should reduce
  8087. the number of long-term connections that are kept open between
  8088. relays. Fixes bug 17604; bugfix on 0.2.5.5-alpha.
  8089. - Relays now log hourly statistics (look for
  8090. "channel_check_for_duplicates" lines) on the total number of
  8091. connections to other relays. If the number of connections per
  8092. relay is unexpectedly large, this log message is at notice level.
  8093. Otherwise it is at info.
  8094. o Major bugfixes (entry guards):
  8095. - When starting with an old consensus, do not add new entry guards
  8096. unless the consensus is "reasonably live" (under 1 day old). Fixes
  8097. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  8098. - Don't block bootstrapping when a primary bridge is offline and we
  8099. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  8100. 21969; bugfix on 0.3.0.3-alpha.
  8101. o Major bugfixes (linux TPROXY support):
  8102. - Fix a typo that had prevented TPROXY-based transparent proxying
  8103. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  8104. Patch from "d4fq0fQAgoJ".
  8105. o Major bugfixes (openbsd, denial-of-service):
  8106. - Avoid an assertion failure bug affecting our implementation of
  8107. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  8108. handling of "0xx" differs from what we had expected. Fixes bug
  8109. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  8110. o Major bugfixes (relay, link handshake):
  8111. - When performing the v3 link handshake on a TLS connection, report
  8112. that we have the x509 certificate that we actually used on that
  8113. connection, even if we have changed certificates since that
  8114. connection was first opened. Previously, we would claim to have
  8115. used our most recent x509 link certificate, which would sometimes
  8116. make the link handshake fail. Fixes one case of bug 22460; bugfix
  8117. on 0.2.3.6-alpha.
  8118. o Major bugfixes (relays, key management):
  8119. - Regenerate link and authentication certificates whenever the key
  8120. that signs them changes; also, regenerate link certificates
  8121. whenever the signed key changes. Previously, these processes were
  8122. only weakly coupled, and we relays could (for minutes to hours)
  8123. wind up with an inconsistent set of keys and certificates, which
  8124. other relays would not accept. Fixes two cases of bug 22460;
  8125. bugfix on 0.3.0.1-alpha.
  8126. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  8127. send the certificate that matches the x509 certificate that we
  8128. used on the TLS connection. Previously, there was a race condition
  8129. if the TLS context rotated after we began the TLS handshake but
  8130. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  8131. on 0.3.0.1-alpha.
  8132. o Minor features (security, windows):
  8133. - Enable a couple of pieces of Windows hardening: one
  8134. (HeapEnableTerminationOnCorruption) that has been on-by-default
  8135. since Windows 8, and unavailable before Windows 7; and one
  8136. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  8137. affect us, but shouldn't do any harm. Closes ticket 21953.
  8138. o Minor features (bridge authority):
  8139. - Add "fingerprint" lines to the networkstatus-bridges file produced
  8140. by bridge authorities. Closes ticket 22207.
  8141. o Minor features (code style):
  8142. - Add "Falls through" comments to our codebase, in order to silence
  8143. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  8144. Stieger. Closes ticket 22446.
  8145. o Minor features (config options):
  8146. - Allow "%include" directives in torrc configuration files. These
  8147. directives import the settings from other files, or from all the
  8148. files in a directory. Closes ticket 1922. Code by Daniel Pinto.
  8149. - Make SAVECONF return an error when overwriting a torrc that has
  8150. includes. Using SAVECONF with the FORCE option will allow it to
  8151. overwrite torrc even if includes are used. Related to ticket 1922.
  8152. - Add "GETINFO config-can-saveconf" to tell controllers if SAVECONF
  8153. will work without the FORCE option. Related to ticket 1922.
  8154. o Minor features (controller):
  8155. - Warn the first time that a controller requests data in the long-
  8156. deprecated 'GETINFO network-status' format. Closes ticket 21703.
  8157. o Minor features (defaults):
  8158. - The default value for UseCreateFast is now 0: clients which
  8159. haven't yet received a consensus document will now use a proper
  8160. ntor handshake to talk to their directory servers whenever they
  8161. can. Closes ticket 21407.
  8162. - Onion key rotation and expiry intervals are now defined as a
  8163. network consensus parameter, per proposal 274. The default
  8164. lifetime of an onion key is increased from 7 to 28 days. Old onion
  8165. keys will expire after 7 days by default. This change will make
  8166. consensus diffs much smaller, and save significant bandwidth.
  8167. Closes ticket 21641.
  8168. o Minor features (defensive programming):
  8169. - Create a pair of consensus parameters, nf_pad_tor2web and
  8170. nf_pad_single_onion, to disable netflow padding in the consensus
  8171. for non-anonymous connections in case the overhead is high. Closes
  8172. ticket 17857.
  8173. o Minor features (diagnostic):
  8174. - Add a stack trace to the bug warnings that can be logged when
  8175. trying to send an outgoing relay cell with n_chan == 0. Diagnostic
  8176. attempt for bug 23105.
  8177. - Add logging messages to try to diagnose a rare bug that seems to
  8178. generate RSA->Ed25519 cross-certificates dated in the 1970s. We
  8179. think this is happening because of incorrect system clocks, but
  8180. we'd like to know for certain. Diagnostic for bug 22466.
  8181. - Avoid an assertion failure, and log a better error message, when
  8182. unable to remove a file from the consensus cache on Windows.
  8183. Attempts to mitigate and diagnose bug 22752.
  8184. o Minor features (directory authority):
  8185. - Improve the message that authorities report to relays that present
  8186. RSA/Ed25519 keypairs that conflict with previously pinned keys.
  8187. Closes ticket 22348.
  8188. o Minor features (directory cache, consensus diff):
  8189. - Add a new MaxConsensusAgeForDiffs option to allow directory cache
  8190. operators with low-resource environments to adjust the number of
  8191. consensuses they'll store and generate diffs from. Most cache
  8192. operators should leave it unchanged. Helps to work around
  8193. bug 22883.
  8194. o Minor features (fallback directory list):
  8195. - Update the fallback directory mirror whitelist and blacklist based
  8196. on operator emails. Closes task 21121.
  8197. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  8198. December 2016 (of which ~126 were still functional) with a list of
  8199. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  8200. 2017. Resolves ticket 21564.
  8201. o Minor features (geoip):
  8202. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  8203. Country database.
  8204. o Minor features (hidden services, logging):
  8205. - Log a message when a hidden service descriptor has fewer
  8206. introduction points than specified in
  8207. HiddenServiceNumIntroductionPoints. Closes tickets 21598.
  8208. - Log a message when a hidden service reaches its introduction point
  8209. circuit limit, and when that limit is reset. Follow up to ticket
  8210. 21594; closes ticket 21622.
  8211. - Warn user if multiple entries in EntryNodes and at least one
  8212. HiddenService are used together. Pinning EntryNodes along with a
  8213. hidden service can be possibly harmful; for instance see ticket
  8214. 14917 or 21155. Closes ticket 21155.
  8215. o Minor features (linux seccomp2 sandbox):
  8216. - We now have a document storage backend compatible with the Linux
  8217. seccomp2 sandbox. This backend is used for consensus documents and
  8218. diffs between them; in the long term, we'd like to use it for
  8219. unparseable directory material too. Closes ticket 21645
  8220. - Increase the maximum allowed size passed to mprotect(PROT_WRITE)
  8221. from 1MB to 16MB. This was necessary with the glibc allocator in
  8222. order to allow worker threads to allocate more memory -- which in
  8223. turn is necessary because of our new use of worker threads for
  8224. compression. Closes ticket 22096.
  8225. o Minor features (logging):
  8226. - Log files are no longer created world-readable by default.
  8227. (Previously, most distributors would store the logs in a non-
  8228. world-readable location to prevent inappropriate access. This
  8229. change is an extra precaution.) Closes ticket 21729; patch
  8230. from toralf.
  8231. o Minor features (performance):
  8232. - Our Keccak (SHA-3) implementation now accesses memory more
  8233. efficiently, especially on little-endian systems. Closes
  8234. ticket 21737.
  8235. - Add an O(1) implementation of channel_find_by_global_id(), to
  8236. speed some controller functions.
  8237. o Minor features (relay, configuration):
  8238. - The MyFamily option may now be repeated as many times as desired,
  8239. for relays that want to configure large families. Closes ticket
  8240. 4998; patch by Daniel Pinto.
  8241. o Minor features (relay, performance):
  8242. - Always start relays with at least two worker threads, to prevent
  8243. priority inversion on slow tasks. Part of the fix for bug 22883.
  8244. - Allow background work to be queued with different priorities, so
  8245. that a big pile of slow low-priority jobs will not starve out
  8246. higher priority jobs. This lays the groundwork for a fix for
  8247. bug 22883.
  8248. o Minor features (safety):
  8249. - Add an explicit check to extrainfo_parse_entry_from_string() for
  8250. NULL inputs. We don't believe this can actually happen, but it may
  8251. help silence a warning from the Clang analyzer. Closes
  8252. ticket 21496.
  8253. o Minor features (testing):
  8254. - Add more tests for compression backend initialization. Closes
  8255. ticket 22286.
  8256. - Add a "--disable-memory-sentinels" feature to help with fuzzing.
  8257. When Tor is compiled with this option, we disable a number of
  8258. redundant memory-safety failsafes that are intended to stop bugs
  8259. from becoming security issues. This makes it easier to hunt for
  8260. bugs that would be security issues without the failsafes turned
  8261. on. Closes ticket 21439.
  8262. - Add a general event-tracing instrumentation support to Tor. This
  8263. subsystem will enable developers and researchers to add fine-
  8264. grained instrumentation to their Tor instances, for use when
  8265. examining Tor network performance issues. There are no trace
  8266. events yet, and event-tracing is off by default unless enabled at
  8267. compile time. Implements ticket 13802.
  8268. - Improve our version parsing tests: add tests for typical version
  8269. components, add tests for invalid versions, including numeric
  8270. range and non-numeric prefixes. Unit tests 21278, 21450, and
  8271. 21507. Partially implements 21470.
  8272. o Minor bugfixes (bandwidth accounting):
  8273. - Roll over monthly accounting at the configured hour and minute,
  8274. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  8275. Found by Andrey Karpov with PVS-Studio.
  8276. o Minor bugfixes (code correctness):
  8277. - Accurately identify client connections by their lack of peer
  8278. authentication. This means that we bail out earlier if asked to
  8279. extend to a client. Follow-up to 21407. Fixes bug 21406; bugfix
  8280. on 0.2.4.23.
  8281. o Minor bugfixes (compilation warnings):
  8282. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug
  8283. 22915; bugfix on 0.2.8.1-alpha.
  8284. - Fix warnings when building with libscrypt and openssl scrypt
  8285. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  8286. - When building with certain versions of the mingw C header files,
  8287. avoid float-conversion warnings when calling the C functions
  8288. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  8289. on 0.2.8.1-alpha.
  8290. o Minor bugfixes (compilation):
  8291. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  8292. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  8293. o Minor bugfixes (compression):
  8294. - When spooling compressed data to an output buffer, don't try to
  8295. spool more data when there is no more data to spool and we are not
  8296. trying to flush the input. Previously, we would sometimes launch
  8297. compression requests with nothing to do, which interferes with our
  8298. 22672 checks. Fixes bug 22719; bugfix on 0.2.0.16-alpha.
  8299. o Minor bugfixes (configuration):
  8300. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  8301. bug 22252; bugfix on 0.2.9.3-alpha.
  8302. o Minor bugfixes (connection lifespan):
  8303. - Allow more control over how long TLS connections are kept open:
  8304. unify CircuitIdleTimeout and PredictedPortsRelevanceTime into a
  8305. single option called CircuitsAvailableTimeout. Also, allow the
  8306. consensus to control the default values for both this preference
  8307. and the lifespan of relay-to-relay connections. Fixes bug 17592;
  8308. bugfix on 0.2.5.5-alpha.
  8309. - Increase the initial circuit build timeout testing frequency, to
  8310. help ensure that ReducedConnectionPadding clients finish learning
  8311. a timeout before their orconn would expire. The initial testing
  8312. rate was set back in the days of TAP and before the Tor Browser
  8313. updater, when we had to be much more careful about new clients
  8314. making lots of circuits. With this change, a circuit build timeout
  8315. is learned in about 15-20 minutes, instead of 100-120 minutes.
  8316. o Minor bugfixes (controller):
  8317. - Do not crash when receiving a HSPOST command with an empty body.
  8318. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  8319. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  8320. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  8321. - GETINFO onions/current and onions/detached no longer respond with
  8322. 551 on empty lists. Fixes bug 21329; bugfix on 0.2.7.1-alpha.
  8323. - Trigger HS descriptor events on the control port when the client
  8324. fails to pick a hidden service directory for a hidden service.
  8325. This can happen if all the hidden service directories are in
  8326. ExcludeNodes, or they have all been queried within the last 15
  8327. minutes. Fixes bug 22042; bugfix on 0.2.5.2-alpha.
  8328. o Minor bugfixes (correctness):
  8329. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  8330. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  8331. o Minor bugfixes (coverity build support):
  8332. - Avoid Coverity build warnings related to our BUG() macro. By
  8333. default, Coverity treats BUG() as the Linux kernel does: an
  8334. instant abort(). We need to override that so our BUG() macro
  8335. doesn't prevent Coverity from analyzing functions that use it.
  8336. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  8337. o Minor bugfixes (defensive programming):
  8338. - Detect and break out of infinite loops in our compression code. We
  8339. don't think that any such loops exist now, but it's best to be
  8340. safe. Closes ticket 22672.
  8341. - Fix a memset() off the end of an array when packing cells. This
  8342. bug should be harmless in practice, since the corrupted bytes are
  8343. still in the same structure, and are always padding bytes,
  8344. ignored, or immediately overwritten, depending on compiler
  8345. behavior. Nevertheless, because the memset()'s purpose is to make
  8346. sure that any other cell-handling bugs can't expose bytes to the
  8347. network, we need to fix it. Fixes bug 22737; bugfix on
  8348. 0.2.4.11-alpha. Fixes CID 1401591.
  8349. o Minor bugfixes (directory authority):
  8350. - When a directory authority rejects a descriptor or extrainfo with
  8351. a given digest, mark that digest as undownloadable, so that we do
  8352. not attempt to download it again over and over. We previously
  8353. tried to avoid downloading such descriptors by other means, but we
  8354. didn't notice if we accidentally downloaded one anyway. This
  8355. behavior became problematic in 0.2.7.2-alpha, when authorities
  8356. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  8357. on 0.2.1.19-alpha.
  8358. - When rejecting a router descriptor for running an obsolete version
  8359. of Tor without ntor support, warn about the obsolete tor version,
  8360. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  8361. - Prevent the shared randomness subsystem from asserting when
  8362. initialized by a bridge authority with an incomplete configuration
  8363. file. Fixes bug 21586; bugfix on 0.2.9.8.
  8364. o Minor bugfixes (error reporting, windows):
  8365. - When formatting Windows error messages, use the English format to
  8366. avoid codepage issues. Fixes bug 22520; bugfix on 0.1.2.8-alpha.
  8367. Patch from "Vort".
  8368. o Minor bugfixes (exit-side DNS):
  8369. - Fix an untriggerable assertion that checked the output of a
  8370. libevent DNS error, so that the assertion actually behaves as
  8371. expected. Fixes bug 22244; bugfix on 0.2.0.20-rc. Found by Andrey
  8372. Karpov using PVS-Studio.
  8373. o Minor bugfixes (fallback directories):
  8374. - Make the usage example in updateFallbackDirs.py actually work, and
  8375. explain what it does. Fixes bug 22270; bugfix on 0.3.0.3-alpha.
  8376. - Decrease the guard flag average required to be a fallback. This
  8377. allows us to keep relays that have their guard flag removed when
  8378. they restart. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  8379. - Decrease the minimum number of fallbacks to 100. Fixes bug 20913;
  8380. bugfix on 0.2.8.1-alpha.
  8381. - Make sure fallback directory mirrors have the same address, port,
  8382. and relay identity key for at least 30 days before they are
  8383. selected. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  8384. o Minor bugfixes (file limits, osx):
  8385. - When setting the maximum number of connections allowed by the OS,
  8386. always allow some extra file descriptors for other files. Fixes
  8387. bug 22797; bugfix on 0.2.0.10-alpha.
  8388. o Minor bugfixes (hidden services):
  8389. - Increase the number of circuits that a service is allowed to
  8390. open over a specific period of time. The value was lower than it
  8391. should be (8 vs 12) in the normal case of 3 introduction points.
  8392. Fixes bug 22159; bugfix on 0.3.0.5-rc.
  8393. - Fix a BUG warning during HSv3 descriptor decoding that could be
  8394. cause by a specially crafted descriptor. Fixes bug 23233; bugfix
  8395. on 0.3.0.1-alpha. Bug found by "haxxpop".
  8396. - Stop printing a cryptic warning when a hidden service gets a
  8397. request to connect to a virtual port that it hasn't configured.
  8398. Fixes bug 16706; bugfix on 0.2.6.3-alpha.
  8399. - Simplify hidden service descriptor creation by using an existing
  8400. flag to check if an introduction point is established. Fixes bug
  8401. 21599; bugfix on 0.2.7.2-alpha.
  8402. o Minor bugfixes (link handshake):
  8403. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  8404. months, and regenerate it when it is within one month of expiring.
  8405. Previously, we had generated this certificate at startup with a
  8406. ten-year lifetime, but that could lead to weird behavior when Tor
  8407. was started with a grossly inaccurate clock. Mitigates bug 22466;
  8408. mitigation on 0.3.0.1-alpha.
  8409. o Minor bugfixes (linux seccomp2 sandbox):
  8410. - Avoid a sandbox failure when trying to re-bind to a socket and
  8411. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  8412. - Permit the fchmod system call, to avoid crashing on startup when
  8413. starting with the seccomp2 sandbox and an unexpected set of
  8414. permissions on the data directory or its contents. Fixes bug
  8415. 22516; bugfix on 0.2.5.4-alpha.
  8416. o Minor bugfixes (logging):
  8417. - When decompressing, do not warn if we fail to decompress using a
  8418. compression method that we merely guessed. Fixes part of bug
  8419. 22670; bugfix on 0.1.1.14-alpha.
  8420. - When decompressing, treat mismatch between content-encoding and
  8421. actual compression type as a protocol warning. Fixes part of bug
  8422. 22670; bugfix on 0.1.1.9-alpha.
  8423. - Downgrade "assigned_to_cpuworker failed" message to info-level
  8424. severity. In every case that can reach it, either a better warning
  8425. has already been logged, or no warning is warranted. Fixes bug
  8426. 22356; bugfix on 0.2.6.3-alpha.
  8427. - Log a better message when a directory authority replies to an
  8428. upload with an unexpected status code. Fixes bug 11121; bugfix
  8429. on 0.1.0.1-rc.
  8430. - Downgrade a log statement about unexpected relay cells from "bug"
  8431. to "protocol warning", because there is at least one use case
  8432. where it can be triggered by a buggy tor implementation. Fixes bug
  8433. 21293; bugfix on 0.1.1.14-alpha.
  8434. o Minor bugfixes (logging, relay):
  8435. - Remove a forgotten debugging message when an introduction point
  8436. successfully establishes a hidden service prop224 circuit with
  8437. a client.
  8438. - Change three other log_warn() for an introduction point to
  8439. protocol warnings, because they can be failure from the network
  8440. and are not relevant to the operator. Fixes bug 23078; bugfix on
  8441. 0.3.0.1-alpha and 0.3.0.2-alpha.
  8442. o Minor bugfixes (relay):
  8443. - Inform the geoip and rephist modules about all requests, even on
  8444. relays that are only fetching microdescriptors. Fixes a bug
  8445. related to 21585; bugfix on 0.3.0.1-alpha.
  8446. o Minor bugfixes (memory leaks):
  8447. - Fix a small memory leak at exit from the backtrace handler code.
  8448. Fixes bug 21788; bugfix on 0.2.5.2-alpha. Patch from Daniel Pinto.
  8449. - When directory authorities reject a router descriptor due to
  8450. keypinning, free the router descriptor rather than leaking the
  8451. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  8452. - Fix a small memory leak when validating a configuration that uses
  8453. two or more AF_UNIX sockets for the same port type. Fixes bug
  8454. 23053; bugfix on 0.2.6.3-alpha. This is CID 1415725.
  8455. o Minor bugfixes (process behavior):
  8456. - When exiting because of an error, always exit with a nonzero exit
  8457. status. Previously, we would fail to report an error in our exit
  8458. status in cases related to __OwningControllerProcess failure,
  8459. lockfile contention, and Ed25519 key initialization. Fixes bug
  8460. 22720; bugfix on versions 0.2.1.6-alpha, 0.2.2.28-beta, and
  8461. 0.2.7.2-alpha respectively. Reported by "f55jwk4f"; patch
  8462. from "huyvq".
  8463. o Minor bugfixes (robustness, error handling):
  8464. - Improve our handling of the cases where OpenSSL encounters a
  8465. memory error while encoding keys and certificates. We haven't
  8466. observed these errors in the wild, but if they do happen, we now
  8467. detect and respond better. Fixes bug 19418; bugfix on all versions
  8468. of Tor. Reported by Guido Vranken.
  8469. o Minor bugfixes (testing):
  8470. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  8471. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  8472. - Use unbuffered I/O for utility functions around the
  8473. process_handle_t type. This fixes unit test failures reported on
  8474. OpenBSD and FreeBSD. Fixes bug 21654; bugfix on 0.2.3.1-alpha.
  8475. - Make display of captured unit test log messages consistent. Fixes
  8476. bug 21510; bugfix on 0.2.9.3-alpha.
  8477. - Make test-network.sh always call chutney's test-network.sh.
  8478. Previously, this only worked on systems which had bash installed,
  8479. due to some bash-specific code in the script. Fixes bug 19699;
  8480. bugfix on 0.3.0.4-rc. Follow-up to ticket 21581.
  8481. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  8482. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  8483. - The unit tests now pass on systems where localhost is misconfigured
  8484. to some IPv4 address other than 127.0.0.1. Fixes bug 6298; bugfix
  8485. on 0.0.9pre2.
  8486. o Minor bugfixes (voting consistency):
  8487. - Reject version numbers with non-numeric prefixes (such as +, -, or
  8488. whitespace). Disallowing whitespace prevents differential version
  8489. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  8490. and part of 21508; bugfix on 0.0.8pre1.
  8491. o Minor bugfixes (Windows service):
  8492. - When running as a Windows service, set the ID of the main thread
  8493. correctly. Failure to do so made us fail to send log messages to
  8494. the controller in 0.2.1.16-rc, slowed down controller event
  8495. delivery in 0.2.7.3-rc and later, and crash with an assertion
  8496. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  8497. Patch and diagnosis from "Vort".
  8498. o Minor bugfixes (windows, relay):
  8499. - Resolve "Failure from drain_fd: No error" warnings on Windows
  8500. relays. Fixes bug 21540; bugfix on 0.2.6.3-alpha.
  8501. o Code simplification and refactoring:
  8502. - Break up the 630-line function connection_dir_client_reached_eof()
  8503. into a dozen smaller functions. This change should help
  8504. maintainability and readability of the client directory code.
  8505. - Isolate our use of the openssl headers so that they are only
  8506. included from our crypto wrapper modules, and from tests that
  8507. examine those modules' internals. Closes ticket 21841.
  8508. - Simplify our API to launch directory requests, making it more
  8509. extensible and less error-prone. Now it's easier to add extra
  8510. headers to directory requests. Closes ticket 21646.
  8511. - Our base64 decoding functions no longer overestimate the output
  8512. space that they need when parsing unpadded inputs. Closes
  8513. ticket 17868.
  8514. - Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value.
  8515. Resolves ticket 22213.
  8516. - The logic that directory caches use to spool request to clients,
  8517. serving them one part at a time so as not to allocate too much
  8518. memory, has been refactored for consistency. Previously there was
  8519. a separate spooling implementation per type of spoolable data. Now
  8520. there is one common spooling implementation, with extensible data
  8521. types. Closes ticket 21651.
  8522. - Tor's compression module now supports multiple backends. Part of
  8523. the implementation for proposal 278; closes ticket 21663.
  8524. o Documentation:
  8525. - Add a manpage description for the key-pinning-journal file. Closes
  8526. ticket 22347.
  8527. - Correctly note that bandwidth accounting values are stored in the
  8528. state file, and the bw_accounting file is now obsolete. Closes
  8529. ticket 16082.
  8530. - Document more of the files in the Tor data directory, including
  8531. cached-extrainfo, secret_onion_key{,_ntor}.old, hidserv-stats,
  8532. approved-routers, sr-random, and diff-cache. Found while fixing
  8533. ticket 22347.
  8534. - Clarify the manpage for the (deprecated) torify script. Closes
  8535. ticket 6892.
  8536. - Clarify the behavior of the KeepAliveIsolateSOCKSAuth sub-option.
  8537. Closes ticket 21873.
  8538. - Correct documentation about the default DataDirectory value.
  8539. Closes ticket 21151.
  8540. - Document the default behavior of NumEntryGuards and
  8541. NumDirectoryGuards correctly. Fixes bug 21715; bugfix
  8542. on 0.3.0.1-alpha.
  8543. - Document key=value pluggable transport arguments for Bridge lines
  8544. in torrc. Fixes bug 20341; bugfix on 0.2.5.1-alpha.
  8545. - Note that bandwidth-limiting options don't affect TCP headers or
  8546. DNS. Closes ticket 17170.
  8547. o Removed features (configuration options, all in ticket 22060):
  8548. - These configuration options are now marked Obsolete, and no longer
  8549. have any effect: AllowInvalidNodes, AllowSingleHopCircuits,
  8550. AllowSingleHopExits, ExcludeSingleHopRelays, FastFirstHopPK,
  8551. TLSECGroup, WarnUnsafeSocks. They were first marked as deprecated
  8552. in 0.2.9.2-alpha and have now been removed. The previous default
  8553. behavior is now always chosen; the previous (less secure) non-
  8554. default behavior is now unavailable.
  8555. - CloseHSClientCircuitsImmediatelyOnTimeout and
  8556. CloseHSServiceRendCircuitsImmediatelyOnTimeout were deprecated in
  8557. 0.2.9.2-alpha and now have been removed. HS circuits never close
  8558. on circuit build timeout; they have a longer timeout period.
  8559. - {Control,DNS,Dir,Socks,Trans,NATD,OR}ListenAddress were deprecated
  8560. in 0.2.9.2-alpha and now have been removed. Use the ORPort option
  8561. (and others) to configure listen-only and advertise-only addresses.
  8562. o Removed features (tools):
  8563. - We've removed the tor-checkkey tool from src/tools. Long ago, we
  8564. used it to help people detect RSA keys that were generated by
  8565. versions of Debian affected by CVE-2008-0166. But those keys have
  8566. been out of circulation for ages, and this tool is no longer
  8567. required. Closes ticket 21842.
  8568. Changes in version 0.3.0.10 - 2017-08-02
  8569. Tor 0.3.0.10 backports a collection of small-to-medium bugfixes
  8570. from the current Tor alpha series. OpenBSD users and TPROXY users
  8571. should upgrade; others are probably okay sticking with 0.3.0.9.
  8572. o Major features (build system, continuous integration, backport from 0.3.1.5-alpha):
  8573. - Tor's repository now includes a Travis Continuous Integration (CI)
  8574. configuration file (.travis.yml). This is meant to help new
  8575. developers and contributors who fork Tor to a Github repository be
  8576. better able to test their changes, and understand what we expect
  8577. to pass. To use this new build feature, you must fork Tor to your
  8578. Github account, then go into the "Integrations" menu in the
  8579. repository settings for your fork and enable Travis, then push
  8580. your changes. Closes ticket 22636.
  8581. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  8582. - Fix a typo that had prevented TPROXY-based transparent proxying
  8583. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  8584. Patch from "d4fq0fQAgoJ".
  8585. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  8586. - Avoid an assertion failure bug affecting our implementation of
  8587. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  8588. handling of "0xbar" differs from what we had expected. Fixes bug
  8589. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  8590. o Minor features (backport from 0.3.1.5-alpha):
  8591. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  8592. Country database.
  8593. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.2-alpha):
  8594. - Roll over monthly accounting at the configured hour and minute,
  8595. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  8596. Found by Andrey Karpov with PVS-Studio.
  8597. o Minor bugfixes (compilation warnings, backport from 0.3.1.5-alpha):
  8598. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  8599. bugfix on 0.2.8.1-alpha.
  8600. - Fix warnings when building with libscrypt and openssl scrypt
  8601. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  8602. - When building with certain versions of the mingw C header files,
  8603. avoid float-conversion warnings when calling the C functions
  8604. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  8605. on 0.2.8.1-alpha.
  8606. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  8607. - Backport a fix for an "unused variable" warning that appeared
  8608. in some versions of mingw. Fixes bug 22838; bugfix on
  8609. 0.2.8.1-alpha.
  8610. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  8611. - Avoid Coverity build warnings related to our BUG() macro. By
  8612. default, Coverity treats BUG() as the Linux kernel does: an
  8613. instant abort(). We need to override that so our BUG() macro
  8614. doesn't prevent Coverity from analyzing functions that use it.
  8615. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  8616. o Minor bugfixes (directory authority, backport from 0.3.1.1-alpha):
  8617. - When rejecting a router descriptor for running an obsolete version
  8618. of Tor without ntor support, warn about the obsolete tor version,
  8619. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  8620. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  8621. - Avoid a sandbox failure when trying to re-bind to a socket and
  8622. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  8623. o Minor bugfixes (unit tests, backport from 0.3.1.5-alpha)
  8624. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  8625. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  8626. Changes in version 0.3.0.9 - 2017-06-29
  8627. Tor 0.3.0.9 fixes a path selection bug that would allow a client
  8628. to use a guard that was in the same network family as a chosen exit
  8629. relay. This is a security regression; all clients running earlier
  8630. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9 or
  8631. 0.3.1.4-alpha.
  8632. This release also backports several other bugfixes from the 0.3.1.x
  8633. series.
  8634. o Major bugfixes (path selection, security, backport from 0.3.1.4-alpha):
  8635. - When choosing which guard to use for a circuit, avoid the exit's
  8636. family along with the exit itself. Previously, the new guard
  8637. selection logic avoided the exit, but did not consider its family.
  8638. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  8639. 006 and CVE-2017-0377.
  8640. o Major bugfixes (entry guards, backport from 0.3.1.1-alpha):
  8641. - Don't block bootstrapping when a primary bridge is offline and we
  8642. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  8643. 21969; bugfix on 0.3.0.3-alpha.
  8644. o Major bugfixes (entry guards, backport from 0.3.1.4-alpha):
  8645. - When starting with an old consensus, do not add new entry guards
  8646. unless the consensus is "reasonably live" (under 1 day old). Fixes
  8647. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  8648. o Minor features (geoip):
  8649. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  8650. Country database.
  8651. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  8652. - Reject version numbers with non-numeric prefixes (such as +, -, or
  8653. whitespace). Disallowing whitespace prevents differential version
  8654. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  8655. and part of 21508; bugfix on 0.0.8pre1.
  8656. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  8657. - Permit the fchmod system call, to avoid crashing on startup when
  8658. starting with the seccomp2 sandbox and an unexpected set of
  8659. permissions on the data directory or its contents. Fixes bug
  8660. 22516; bugfix on 0.2.5.4-alpha.
  8661. o Minor bugfixes (defensive programming, backport from 0.3.1.4-alpha):
  8662. - Fix a memset() off the end of an array when packing cells. This
  8663. bug should be harmless in practice, since the corrupted bytes are
  8664. still in the same structure, and are always padding bytes,
  8665. ignored, or immediately overwritten, depending on compiler
  8666. behavior. Nevertheless, because the memset()'s purpose is to make
  8667. sure that any other cell-handling bugs can't expose bytes to the
  8668. network, we need to fix it. Fixes bug 22737; bugfix on
  8669. 0.2.4.11-alpha. Fixes CID 1401591.
  8670. Changes in version 0.3.0.8 - 2017-06-08
  8671. Tor 0.3.0.8 fixes a pair of bugs that would allow an attacker to
  8672. remotely crash a hidden service with an assertion failure. Anyone
  8673. running a hidden service should upgrade to this version, or to some
  8674. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  8675. Tor 0.3.0.8 also includes fixes for several key management bugs
  8676. that sometimes made relays unreliable, as well as several other
  8677. bugfixes described below.
  8678. o Major bugfixes (hidden service, relay, security, backport
  8679. from 0.3.1.3-alpha):
  8680. - Fix a remotely triggerable assertion failure when a hidden service
  8681. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  8682. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  8683. - Fix a remotely triggerable assertion failure caused by receiving a
  8684. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  8685. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  8686. on 0.2.2.1-alpha.
  8687. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  8688. - When performing the v3 link handshake on a TLS connection, report
  8689. that we have the x509 certificate that we actually used on that
  8690. connection, even if we have changed certificates since that
  8691. connection was first opened. Previously, we would claim to have
  8692. used our most recent x509 link certificate, which would sometimes
  8693. make the link handshake fail. Fixes one case of bug 22460; bugfix
  8694. on 0.2.3.6-alpha.
  8695. o Major bugfixes (relays, key management, backport from 0.3.1.3-alpha):
  8696. - Regenerate link and authentication certificates whenever the key
  8697. that signs them changes; also, regenerate link certificates
  8698. whenever the signed key changes. Previously, these processes were
  8699. only weakly coupled, and we relays could (for minutes to hours)
  8700. wind up with an inconsistent set of keys and certificates, which
  8701. other relays would not accept. Fixes two cases of bug 22460;
  8702. bugfix on 0.3.0.1-alpha.
  8703. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  8704. send the certificate that matches the x509 certificate that we
  8705. used on the TLS connection. Previously, there was a race condition
  8706. if the TLS context rotated after we began the TLS handshake but
  8707. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  8708. on 0.3.0.1-alpha.
  8709. o Major bugfixes (hidden service v3, backport from 0.3.1.1-alpha):
  8710. - Stop rejecting v3 hidden service descriptors because their size
  8711. did not match an old padding rule. Fixes bug 22447; bugfix on
  8712. tor-0.3.0.1-alpha.
  8713. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  8714. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  8715. December 2016 (of which ~126 were still functional) with a list of
  8716. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  8717. 2017. Resolves ticket 21564.
  8718. o Minor bugfixes (configuration, backport from 0.3.1.1-alpha):
  8719. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  8720. bug 22252; bugfix on 0.2.9.3-alpha.
  8721. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  8722. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  8723. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  8724. o Minor bugfixes (link handshake, backport from 0.3.1.3-alpha):
  8725. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  8726. months, and regenerate it when it is within one month of expiring.
  8727. Previously, we had generated this certificate at startup with a
  8728. ten-year lifetime, but that could lead to weird behavior when Tor
  8729. was started with a grossly inaccurate clock. Mitigates bug 22466;
  8730. mitigation on 0.3.0.1-alpha.
  8731. o Minor bugfixes (memory leak, directory authority, backport from
  8732. 0.3.1.2-alpha):
  8733. - When directory authorities reject a router descriptor due to
  8734. keypinning, free the router descriptor rather than leaking the
  8735. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  8736. Changes in version 0.2.9.11 - 2017-06-08
  8737. Tor 0.2.9.11 backports a fix for a bug that would allow an attacker to
  8738. remotely crash a hidden service with an assertion failure. Anyone
  8739. running a hidden service should upgrade to this version, or to some
  8740. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  8741. are not affected by TROVE-2017-004.)
  8742. Tor 0.2.9.11 also backports fixes for several key management bugs
  8743. that sometimes made relays unreliable, as well as several other
  8744. bugfixes described below.
  8745. o Major bugfixes (hidden service, relay, security, backport
  8746. from 0.3.1.3-alpha):
  8747. - Fix a remotely triggerable assertion failure caused by receiving a
  8748. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  8749. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  8750. on 0.2.2.1-alpha.
  8751. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  8752. - When performing the v3 link handshake on a TLS connection, report
  8753. that we have the x509 certificate that we actually used on that
  8754. connection, even if we have changed certificates since that
  8755. connection was first opened. Previously, we would claim to have
  8756. used our most recent x509 link certificate, which would sometimes
  8757. make the link handshake fail. Fixes one case of bug 22460; bugfix
  8758. on 0.2.3.6-alpha.
  8759. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  8760. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  8761. December 2016 (of which ~126 were still functional) with a list of
  8762. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  8763. 2017. Resolves ticket 21564.
  8764. o Minor features (future-proofing, backport from 0.3.0.7):
  8765. - Tor no longer refuses to download microdescriptors or descriptors if
  8766. they are listed as "published in the future". This change will
  8767. eventually allow us to stop listing meaningful "published" dates
  8768. in microdescriptor consensuses, and thereby allow us to reduce the
  8769. resources required to download consensus diffs by over 50%.
  8770. Implements part of ticket 21642; implements part of proposal 275.
  8771. o Minor features (directory authorities, backport from 0.3.0.4-rc)
  8772. - Directory authorities now reject relays running versions
  8773. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  8774. suffer from bug 20499 and don't keep their consensus cache
  8775. up-to-date. Resolves ticket 20509.
  8776. o Minor features (geoip):
  8777. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  8778. Country database.
  8779. o Minor bugfixes (control port, backport from 0.3.0.6):
  8780. - The GETINFO extra-info/digest/<digest> command was broken because
  8781. of a wrong base16 decode return value check, introduced when
  8782. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  8783. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  8784. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  8785. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  8786. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.0.7):
  8787. - The getpid() system call is now permitted under the Linux seccomp2
  8788. sandbox, to avoid crashing with versions of OpenSSL (and other
  8789. libraries) that attempt to learn the process's PID by using the
  8790. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  8791. on 0.2.5.1-alpha.
  8792. o Minor bugfixes (memory leak, directory authority, backport
  8793. from 0.3.1.2-alpha):
  8794. - When directory authorities reject a router descriptor due to
  8795. keypinning, free the router descriptor rather than leaking the
  8796. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  8797. Changes in version 0.2.8.14 - 2017-06-08
  8798. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  8799. remotely crash a hidden service with an assertion failure. Anyone
  8800. running a hidden service should upgrade to this version, or to some
  8801. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  8802. are not affected by TROVE-2017-004.)
  8803. o Major bugfixes (hidden service, relay, security):
  8804. - Fix a remotely triggerable assertion failure caused by receiving a
  8805. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  8806. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  8807. on 0.2.2.1-alpha.
  8808. o Minor features (geoip):
  8809. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  8810. Country database.
  8811. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  8812. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  8813. December 2016 (of which ~126 were still functional) with a list of
  8814. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  8815. 2017. Resolves ticket 21564.
  8816. o Minor bugfixes (correctness):
  8817. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  8818. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  8819. Changes in version 0.2.7.8 - 2017-06-08
  8820. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  8821. remotely crash a hidden service with an assertion failure. Anyone
  8822. running a hidden service should upgrade to this version, or to some
  8823. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  8824. are not affected by TROVE-2017-004.)
  8825. o Major bugfixes (hidden service, relay, security):
  8826. - Fix a remotely triggerable assertion failure caused by receiving a
  8827. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  8828. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  8829. on 0.2.2.1-alpha.
  8830. o Minor features (geoip):
  8831. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  8832. Country database.
  8833. o Minor bugfixes (correctness):
  8834. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  8835. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  8836. Changes in version 0.2.6.12 - 2017-06-08
  8837. Tor 0.2.6.12 backports a fix for a bug that would allow an attacker to
  8838. remotely crash a hidden service with an assertion failure. Anyone
  8839. running a hidden service should upgrade to this version, or to some
  8840. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  8841. are not affected by TROVE-2017-004.)
  8842. o Major bugfixes (hidden service, relay, security):
  8843. - Fix a remotely triggerable assertion failure caused by receiving a
  8844. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  8845. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  8846. on 0.2.2.1-alpha.
  8847. o Minor features (geoip):
  8848. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  8849. Country database.
  8850. o Minor bugfixes (correctness):
  8851. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  8852. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  8853. Changes in version 0.2.5.14 - 2017-06-08
  8854. Tor 0.2.5.14 backports a fix for a bug that would allow an attacker to
  8855. remotely crash a hidden service with an assertion failure. Anyone
  8856. running a hidden service should upgrade to this version, or to some
  8857. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  8858. are not affected by TROVE-2017-004.)
  8859. o Major bugfixes (hidden service, relay, security):
  8860. - Fix a remotely triggerable assertion failure caused by receiving a
  8861. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  8862. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  8863. on 0.2.2.1-alpha.
  8864. o Minor features (geoip):
  8865. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  8866. Country database.
  8867. o Minor bugfixes (correctness):
  8868. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  8869. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  8870. Changes in version 0.2.4.29 - 2017-06-08
  8871. Tor 0.2.4.29 backports a fix for a bug that would allow an attacker to
  8872. remotely crash a hidden service with an assertion failure. Anyone
  8873. running a hidden service should upgrade to this version, or to some
  8874. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  8875. are not affected by TROVE-2017-004.)
  8876. o Major bugfixes (hidden service, relay, security):
  8877. - Fix a remotely triggerable assertion failure caused by receiving a
  8878. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  8879. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  8880. on 0.2.2.1-alpha.
  8881. o Minor features (geoip):
  8882. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  8883. Country database.
  8884. o Minor bugfixes (correctness):
  8885. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  8886. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  8887. Changes in version 0.3.0.7 - 2017-05-15
  8888. Tor 0.3.0.7 fixes a medium-severity security bug in earlier versions
  8889. of Tor 0.3.0.x, where an attacker could cause a Tor relay process
  8890. to exit. Relays running earlier versions of Tor 0.3.0.x should upgrade;
  8891. clients are not affected.
  8892. o Major bugfixes (hidden service directory, security):
  8893. - Fix an assertion failure in the hidden service directory code, which
  8894. could be used by an attacker to remotely cause a Tor relay process to
  8895. exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
  8896. should upgrade. This security issue is tracked as TROVE-2017-002.
  8897. Fixes bug 22246; bugfix on 0.3.0.1-alpha.
  8898. o Minor features:
  8899. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  8900. Country database.
  8901. o Minor features (future-proofing):
  8902. - Tor no longer refuses to download microdescriptors or descriptors
  8903. if they are listed as "published in the future". This change will
  8904. eventually allow us to stop listing meaningful "published" dates
  8905. in microdescriptor consensuses, and thereby allow us to reduce the
  8906. resources required to download consensus diffs by over 50%.
  8907. Implements part of ticket 21642; implements part of proposal 275.
  8908. o Minor bugfixes (Linux seccomp2 sandbox):
  8909. - The getpid() system call is now permitted under the Linux seccomp2
  8910. sandbox, to avoid crashing with versions of OpenSSL (and other
  8911. libraries) that attempt to learn the process's PID by using the
  8912. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  8913. on 0.2.5.1-alpha.
  8914. Changes in version 0.3.0.6 - 2017-04-26
  8915. Tor 0.3.0.6 is the first stable release of the Tor 0.3.0 series.
  8916. With the 0.3.0 series, clients and relays now use Ed25519 keys to
  8917. authenticate their link connections to relays, rather than the old
  8918. RSA1024 keys that they used before. (Circuit crypto has been
  8919. Curve25519-authenticated since 0.2.4.8-alpha.) We have also replaced
  8920. the guard selection and replacement algorithm to behave more robustly
  8921. in the presence of unreliable networks, and to resist guard-
  8922. capture attacks.
  8923. This series also includes numerous other small features and bugfixes,
  8924. along with more groundwork for the upcoming hidden-services revamp.
  8925. Per our stable release policy, we plan to support the Tor 0.3.0
  8926. release series for at least the next nine months, or for three months
  8927. after the first stable release of the 0.3.1 series: whichever is
  8928. longer. If you need a release with long-term support, we recommend
  8929. that you stay with the 0.2.9 series.
  8930. Below are the changes since 0.2.9.10. For a list of only the changes
  8931. since 0.3.0.5-rc, see the ChangeLog file.
  8932. o Major features (directory authority, security):
  8933. - The default for AuthDirPinKeys is now 1: directory authorities
  8934. will reject relays where the RSA identity key matches a previously
  8935. seen value, but the Ed25519 key has changed. Closes ticket 18319.
  8936. o Major features (guard selection algorithm):
  8937. - Tor's guard selection algorithm has been redesigned from the
  8938. ground up, to better support unreliable networks and restrictive
  8939. sets of entry nodes, and to better resist guard-capture attacks by
  8940. hostile local networks. Implements proposal 271; closes
  8941. ticket 19877.
  8942. o Major features (next-generation hidden services):
  8943. - Relays can now handle v3 ESTABLISH_INTRO cells as specified by
  8944. prop224 aka "Next Generation Hidden Services". Service and clients
  8945. don't use this functionality yet. Closes ticket 19043. Based on
  8946. initial code by Alec Heifetz.
  8947. - Relays now support the HSDir version 3 protocol, so that they can
  8948. can store and serve v3 descriptors. This is part of the next-
  8949. generation onion service work detailed in proposal 224. Closes
  8950. ticket 17238.
  8951. o Major features (protocol, ed25519 identity keys):
  8952. - Clients now support including Ed25519 identity keys in the EXTEND2
  8953. cells they generate. By default, this is controlled by a consensus
  8954. parameter, currently disabled. You can turn this feature on for
  8955. testing by setting ExtendByEd25519ID in your configuration. This
  8956. might make your traffic appear different than the traffic
  8957. generated by other users, however. Implements part of ticket
  8958. 15056; part of proposal 220.
  8959. - Relays now understand requests to extend to other relays by their
  8960. Ed25519 identity keys. When an Ed25519 identity key is included in
  8961. an EXTEND2 cell, the relay will only extend the circuit if the
  8962. other relay can prove ownership of that identity. Implements part
  8963. of ticket 15056; part of proposal 220.
  8964. - Relays now use Ed25519 to prove their Ed25519 identities and to
  8965. one another, and to clients. This algorithm is faster and more
  8966. secure than the RSA-based handshake we've been doing until now.
  8967. Implements the second big part of proposal 220; Closes
  8968. ticket 15055.
  8969. o Major features (security):
  8970. - Change the algorithm used to decide DNS TTLs on client and server
  8971. side, to better resist DNS-based correlation attacks like the
  8972. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  8973. Feamster. Now relays only return one of two possible DNS TTL
  8974. values, and clients are willing to believe DNS TTL values up to 3
  8975. hours long. Closes ticket 19769.
  8976. o Major bugfixes (client, onion service, also in 0.2.9.9):
  8977. - Fix a client-side onion service reachability bug, where multiple
  8978. socks requests to an onion service (or a single slow request)
  8979. could cause us to mistakenly mark some of the service's
  8980. introduction points as failed, and we cache that failure so
  8981. eventually we run out and can't reach the service. Also resolves a
  8982. mysterious "Remote server sent bogus reason code 65021" log
  8983. warning. The bug was introduced in ticket 17218, where we tried to
  8984. remember the circuit end reason as a uint16_t, which mangled
  8985. negative values. Partially fixes bug 21056 and fixes bug 20307;
  8986. bugfix on 0.2.8.1-alpha.
  8987. o Major bugfixes (crash, directory connections):
  8988. - Fix a rare crash when sending a begin cell on a circuit whose
  8989. linked directory connection had already been closed. Fixes bug
  8990. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  8991. o Major bugfixes (directory authority):
  8992. - During voting, when marking a relay as a probable sybil, do not
  8993. clear its BadExit flag: sybils can still be bad in other ways
  8994. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  8995. on 0.2.0.13-alpha.
  8996. o Major bugfixes (DNS):
  8997. - Fix a bug that prevented exit nodes from caching DNS records for
  8998. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  8999. o Major bugfixes (IPv6 Exits):
  9000. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  9001. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  9002. exit policy rejects that port on more than an IPv6 /16 of
  9003. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  9004. which rejected a relay's own IPv6 address by default. Fixes bug
  9005. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  9006. o Major bugfixes (parsing):
  9007. - Fix an integer underflow bug when comparing malformed Tor
  9008. versions. This bug could crash Tor when built with
  9009. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  9010. 0.2.9.8, which were built with -ftrapv by default. In other cases
  9011. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  9012. on 0.0.8pre1. Found by OSS-Fuzz.
  9013. - When parsing a malformed content-length field from an HTTP
  9014. message, do not read off the end of the buffer. This bug was a
  9015. potential remote denial-of-service attack against Tor clients and
  9016. relays. A workaround was released in October 2016, to prevent this
  9017. bug from crashing Tor. This is a fix for the underlying issue,
  9018. which should no longer matter (if you applied the earlier patch).
  9019. Fixes bug 20894; bugfix on 0.2.0.16-alpha. Bug found by fuzzing
  9020. using AFL (http://lcamtuf.coredump.cx/afl/).
  9021. o Major bugfixes (scheduler):
  9022. - Actually compare circuit policies in ewma_cmp_cmux(). This bug
  9023. caused the channel scheduler to behave more or less randomly,
  9024. rather than preferring channels with higher-priority circuits.
  9025. Fixes bug 20459; bugfix on 0.2.6.2-alpha.
  9026. o Major bugfixes (security, also in 0.2.9.9):
  9027. - Downgrade the "-ftrapv" option from "always on" to "only on when
  9028. --enable-expensive-hardening is provided." This hardening option,
  9029. like others, can turn survivable bugs into crashes--and having it
  9030. on by default made a (relatively harmless) integer overflow bug
  9031. into a denial-of-service bug. Fixes bug 21278 (TROVE-2017-001);
  9032. bugfix on 0.2.9.1-alpha.
  9033. o Minor feature (client):
  9034. - Enable IPv6 traffic on the SocksPort by default. To disable this,
  9035. a user will have to specify "NoIPv6Traffic". Closes ticket 21269.
  9036. o Minor feature (fallback scripts):
  9037. - Add a check_existing mode to updateFallbackDirs.py, which checks
  9038. if fallbacks in the hard-coded list are working. Closes ticket
  9039. 20174. Patch by haxxpop.
  9040. o Minor feature (protocol versioning):
  9041. - Add new protocol version for proposal 224. HSIntro now advertises
  9042. version "3-4" and HSDir version "1-2". Fixes ticket 20656.
  9043. o Minor features (ciphersuite selection):
  9044. - Allow relays to accept a wider range of ciphersuites, including
  9045. chacha20-poly1305 and AES-CCM. Closes the other part of 15426.
  9046. - Clients now advertise a list of ciphersuites closer to the ones
  9047. preferred by Firefox. Closes part of ticket 15426.
  9048. o Minor features (controller):
  9049. - Add "GETINFO sr/current" and "GETINFO sr/previous" keys, to expose
  9050. shared-random values to the controller. Closes ticket 19925.
  9051. - When HSFETCH arguments cannot be parsed, say "Invalid argument"
  9052. rather than "unrecognized." Closes ticket 20389; patch from
  9053. Ivan Markin.
  9054. o Minor features (controller, configuration):
  9055. - Each of the *Port options, such as SocksPort, ORPort, ControlPort,
  9056. and so on, now comes with a __*Port variant that will not be saved
  9057. to the torrc file by the controller's SAVECONF command. This
  9058. change allows TorBrowser to set up a single-use domain socket for
  9059. each time it launches Tor. Closes ticket 20956.
  9060. - The GETCONF command can now query options that may only be
  9061. meaningful in context-sensitive lists. This allows the controller
  9062. to query the mixed SocksPort/__SocksPort style options introduced
  9063. in feature 20956. Implements ticket 21300.
  9064. o Minor features (diagnostic, directory client):
  9065. - Warn when we find an unexpected inconsistency in directory
  9066. download status objects. Prevents some negative consequences of
  9067. bug 20593.
  9068. o Minor features (directory authorities):
  9069. - Directory authorities now reject descriptors that claim to be
  9070. malformed versions of Tor. Helps prevent exploitation of
  9071. bug 21278.
  9072. - Reject version numbers with components that exceed INT32_MAX.
  9073. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  9074. Fixes bug 21450; bugfix on 0.0.8pre1.
  9075. o Minor features (directory authority):
  9076. - Add a new authority-only AuthDirTestEd25519LinkKeys option (on by
  9077. default) to control whether authorities should try to probe relays
  9078. by their Ed25519 link keys. This option will go away in a few
  9079. releases--unless we encounter major trouble in our ed25519 link
  9080. protocol rollout, in which case it will serve as a safety option.
  9081. o Minor features (directory cache):
  9082. - Relays and bridges will now refuse to serve the consensus they
  9083. have if they know it is too old for a client to use. Closes
  9084. ticket 20511.
  9085. o Minor features (ed25519 link handshake):
  9086. - Advertise support for the ed25519 link handshake using the
  9087. subprotocol-versions mechanism, so that clients can tell which
  9088. relays can identity themselves by Ed25519 ID. Closes ticket 20552.
  9089. o Minor features (entry guards):
  9090. - Add UseEntryGuards to TEST_OPTIONS_DEFAULT_VALUES in order to not
  9091. break regression tests.
  9092. - Require UseEntryGuards when UseBridges is set, in order to make
  9093. sure bridges aren't bypassed. Resolves ticket 20502.
  9094. o Minor features (fallback directories):
  9095. - Allow 3 fallback relays per operator, which is safe now that we
  9096. are choosing 200 fallback relays. Closes ticket 20912.
  9097. - Annotate updateFallbackDirs.py with the bandwidth and consensus
  9098. weight for each candidate fallback. Closes ticket 20878.
  9099. - Display the relay fingerprint when downloading consensuses from
  9100. fallbacks. Closes ticket 20908.
  9101. - Exclude relays affected by bug 20499 from the fallback list.
  9102. Exclude relays from the fallback list if they are running versions
  9103. known to be affected by bug 20499, or if in our tests they deliver
  9104. a stale consensus (i.e. one that expired more than 24 hours ago).
  9105. Closes ticket 20539.
  9106. - Make it easier to change the output sort order of fallbacks.
  9107. Closes ticket 20822.
  9108. - Reduce the minimum fallback bandwidth to 1 MByte/s. Part of
  9109. ticket 18828.
  9110. - Require fallback directories to have the same address and port for
  9111. 7 days (now that we have enough relays with this stability).
  9112. Relays whose OnionOO stability timer is reset on restart by bug
  9113. 18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for
  9114. this issue. Closes ticket 20880; maintains short-term fix
  9115. in 0.2.8.2-alpha.
  9116. - Require fallbacks to have flags for 90% of the time (weighted
  9117. decaying average), rather than 95%. This allows at least 73% of
  9118. clients to bootstrap in the first 5 seconds without contacting an
  9119. authority. Part of ticket 18828.
  9120. - Select 200 fallback directories for each release. Closes
  9121. ticket 20881.
  9122. o Minor features (fingerprinting resistance, authentication):
  9123. - Extend the length of RSA keys used for TLS link authentication to
  9124. 2048 bits. (These weren't used for forward secrecy; for forward
  9125. secrecy, we used P256.) Closes ticket 13752.
  9126. o Minor features (geoip):
  9127. - Update geoip and geoip6 to the April 4 2017 Maxmind GeoLite2
  9128. Country database.
  9129. o Minor features (geoip, also in 0.2.9.9):
  9130. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  9131. Country database.
  9132. o Minor features (infrastructure):
  9133. - Implement smartlist_add_strdup() function. Replaces the use of
  9134. smartlist_add(sl, tor_strdup(str)). Closes ticket 20048.
  9135. o Minor features (linting):
  9136. - Enhance the changes file linter to warn on Tor versions that are
  9137. prefixed with "tor-". Closes ticket 21096.
  9138. o Minor features (logging):
  9139. - In several places, describe unset ed25519 keys as "<unset>",
  9140. rather than the scary "AAAAAAAA...AAA". Closes ticket 21037.
  9141. o Minor features (portability, compilation):
  9142. - Autoconf now checks to determine if OpenSSL structures are opaque,
  9143. instead of explicitly checking for OpenSSL version numbers. Part
  9144. of ticket 21359.
  9145. - Support building with recent LibreSSL code that uses opaque
  9146. structures. Closes ticket 21359.
  9147. o Minor features (relay):
  9148. - We now allow separation of exit and relay traffic to different
  9149. source IP addresses, using the OutboundBindAddressExit and
  9150. OutboundBindAddressOR options respectively. Closes ticket 17975.
  9151. Written by Michael Sonntag.
  9152. o Minor features (reliability, crash):
  9153. - Try better to detect problems in buffers where they might grow (or
  9154. think they have grown) over 2 GB in size. Diagnostic for
  9155. bug 21369.
  9156. o Minor features (testing):
  9157. - During 'make test-network-all', if tor logs any warnings, ask
  9158. chutney to output them. Requires a recent version of chutney with
  9159. the 21572 patch. Implements 21570.
  9160. o Minor bugfix (control protocol):
  9161. - The reply to a "GETINFO config/names" request via the control
  9162. protocol now spells the type "Dependent" correctly. This is a
  9163. breaking change in the control protocol. (The field seems to be
  9164. ignored by the most common known controllers.) Fixes bug 18146;
  9165. bugfix on 0.1.1.4-alpha.
  9166. - The GETINFO extra-info/digest/<digest> command was broken because
  9167. of a wrong base16 decode return value check, introduced when
  9168. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  9169. o Minor bugfix (logging):
  9170. - Don't recommend the use of Tor2web in non-anonymous mode.
  9171. Recommending Tor2web is a bad idea because the client loses all
  9172. anonymity. Tor2web should only be used in specific cases by users
  9173. who *know* and understand the issues. Fixes bug 21294; bugfix
  9174. on 0.2.9.3-alpha.
  9175. o Minor bugfixes (bug resilience):
  9176. - Fix an unreachable size_t overflow in base64_decode(). Fixes bug
  9177. 19222; bugfix on 0.2.0.9-alpha. Found by Guido Vranken; fixed by
  9178. Hans Jerry Illikainen.
  9179. o Minor bugfixes (build):
  9180. - Replace obsolete Autoconf macros with their modern equivalent and
  9181. prevent similar issues in the future. Fixes bug 20990; bugfix
  9182. on 0.1.0.1-rc.
  9183. o Minor bugfixes (certificate expiration time):
  9184. - Avoid using link certificates that don't become valid till some
  9185. time in the future. Fixes bug 21420; bugfix on 0.2.4.11-alpha
  9186. o Minor bugfixes (client):
  9187. - Always recover from failures in extend_info_from_node(), in an
  9188. attempt to prevent any recurrence of bug 21242. Fixes bug 21372;
  9189. bugfix on 0.2.3.1-alpha.
  9190. - When clients that use bridges start up with a cached consensus on
  9191. disk, they were ignoring it and downloading a new one. Now they
  9192. use the cached one. Fixes bug 20269; bugfix on 0.2.3.12-alpha.
  9193. o Minor bugfixes (code correctness):
  9194. - Repair a couple of (unreachable or harmless) cases of the risky
  9195. comparison-by-subtraction pattern that caused bug 21278.
  9196. o Minor bugfixes (config):
  9197. - Don't assert on startup when trying to get the options list and
  9198. LearnCircuitBuildTimeout is set to 0: we are currently parsing the
  9199. options so of course they aren't ready yet. Fixes bug 21062;
  9200. bugfix on 0.2.9.3-alpha.
  9201. o Minor bugfixes (configuration):
  9202. - Accept non-space whitespace characters after the severity level in
  9203. the `Log` option. Fixes bug 19965; bugfix on 0.2.1.1-alpha.
  9204. - Support "TByte" and "TBytes" units in options given in bytes.
  9205. "TB", "terabyte(s)", "TBit(s)" and "terabit(s)" were already
  9206. supported. Fixes bug 20622; bugfix on 0.2.0.14-alpha.
  9207. o Minor bugfixes (configure, autoconf):
  9208. - Rename the configure option --enable-expensive-hardening to
  9209. --enable-fragile-hardening. Expensive hardening makes the tor
  9210. daemon abort when some kinds of issues are detected. Thus, it
  9211. makes tor more at risk of remote crashes but safer against RCE or
  9212. heartbleed bug category. We now try to explain this issue in a
  9213. message from the configure script. Fixes bug 21290; bugfix
  9214. on 0.2.5.4-alpha.
  9215. o Minor bugfixes (consensus weight):
  9216. - Add new consensus method that initializes bw weights to 1 instead
  9217. of 0. This prevents a zero weight from making it all the way to
  9218. the end (happens in small testing networks) and causing an error.
  9219. Fixes bug 14881; bugfix on 0.2.2.17-alpha.
  9220. o Minor bugfixes (crash prevention):
  9221. - Fix an (currently untriggerable, but potentially dangerous) crash
  9222. bug when base32-encoding inputs whose sizes are not a multiple of
  9223. 5. Fixes bug 21894; bugfix on 0.2.9.1-alpha.
  9224. o Minor bugfixes (dead code):
  9225. - Remove a redundant check for PidFile changes at runtime in
  9226. options_transition_allowed(): this check is already performed
  9227. regardless of whether the sandbox is active. Fixes bug 21123;
  9228. bugfix on 0.2.5.4-alpha.
  9229. o Minor bugfixes (descriptors):
  9230. - Correctly recognise downloaded full descriptors as valid, even
  9231. when using microdescriptors as circuits. This affects clients with
  9232. FetchUselessDescriptors set, and may affect directory authorities.
  9233. Fixes bug 20839; bugfix on 0.2.3.2-alpha.
  9234. o Minor bugfixes (directory mirrors):
  9235. - Allow relays to use directory mirrors without a DirPort: these
  9236. relays need to be contacted over their ORPorts using a begindir
  9237. connection. Fixes one case of bug 20711; bugfix on 0.2.8.2-alpha.
  9238. - Clarify the message logged when a remote relay is unexpectedly
  9239. missing an ORPort or DirPort: users were confusing this with a
  9240. local port. Fixes another case of bug 20711; bugfix
  9241. on 0.2.8.2-alpha.
  9242. o Minor bugfixes (directory system):
  9243. - Bridges and relays now use microdescriptors (like clients do)
  9244. rather than old-style router descriptors. Now bridges will blend
  9245. in with clients in terms of the circuits they build. Fixes bug
  9246. 6769; bugfix on 0.2.3.2-alpha.
  9247. - Download all consensus flavors, descriptors, and authority
  9248. certificates when FetchUselessDescriptors is set, regardless of
  9249. whether tor is a directory cache or not. Fixes bug 20667; bugfix
  9250. on all recent tor versions.
  9251. o Minor bugfixes (documentation):
  9252. - Update the tor manual page to document every option that can not
  9253. be changed while tor is running. Fixes bug 21122.
  9254. o Minor bugfixes (ed25519 certificates):
  9255. - Correctly interpret ed25519 certificates that would expire some
  9256. time after 19 Jan 2038. Fixes bug 20027; bugfix on 0.2.7.2-alpha.
  9257. o Minor bugfixes (fallback directories):
  9258. - Avoid checking fallback candidates' DirPorts if they are down in
  9259. OnionOO. When a relay operator has multiple relays, this
  9260. prioritizes relays that are up over relays that are down. Fixes
  9261. bug 20926; bugfix on 0.2.8.3-alpha.
  9262. - Stop failing when OUTPUT_COMMENTS is True in updateFallbackDirs.py.
  9263. Fixes bug 20877; bugfix on 0.2.8.3-alpha.
  9264. - Stop failing when a relay has no uptime data in
  9265. updateFallbackDirs.py. Fixes bug 20945; bugfix on 0.2.8.1-alpha.
  9266. o Minor bugfixes (hidden service):
  9267. - Clean up the code for expiring intro points with no associated
  9268. circuits. It was causing, rarely, a service with some expiring
  9269. introduction points to not open enough additional introduction
  9270. points. Fixes part of bug 21302; bugfix on 0.2.7.2-alpha.
  9271. - Resolve two possible underflows which could lead to creating and
  9272. closing a lot of introduction point circuits in a non-stop loop.
  9273. Fixes bug 21302; bugfix on 0.2.7.2-alpha.
  9274. - Stop setting the torrc option HiddenServiceStatistics to "0" just
  9275. because we're not a bridge or relay. Instead, we preserve whatever
  9276. value the user set (or didn't set). Fixes bug 21150; bugfix
  9277. on 0.2.6.2-alpha.
  9278. o Minor bugfixes (hidden services):
  9279. - Make hidden services check for failed intro point connections,
  9280. even when they have exceeded their intro point creation limit.
  9281. Fixes bug 21596; bugfix on 0.2.7.2-alpha. Reported by Alec Muffett.
  9282. - Make hidden services with 8 to 10 introduction points check for
  9283. failed circuits immediately after startup. Previously, they would
  9284. wait for 5 minutes before performing their first checks. Fixes bug
  9285. 21594; bugfix on 0.2.3.9-alpha. Reported by Alec Muffett.
  9286. - Stop ignoring misconfigured hidden services. Instead, refuse to
  9287. start tor until the misconfigurations have been corrected. Fixes
  9288. bug 20559; bugfix on multiple commits in 0.2.7.1-alpha
  9289. and earlier.
  9290. o Minor bugfixes (IPv6):
  9291. - Make IPv6-using clients try harder to find an IPv6 directory
  9292. server. Fixes bug 20999; bugfix on 0.2.8.2-alpha.
  9293. - When IPv6 addresses have not been downloaded yet (microdesc
  9294. consensus documents don't list relay IPv6 addresses), use hard-
  9295. coded addresses for authorities, fallbacks, and configured
  9296. bridges. Now IPv6-only clients can use microdescriptors. Fixes bug
  9297. 20996; bugfix on b167e82 from 19608 in 0.2.8.5-alpha.
  9298. o Minor bugfixes (memory leak at exit):
  9299. - Fix a small harmless memory leak at exit of the previously unused
  9300. RSA->Ed identity cross-certificate. Fixes bug 17779; bugfix
  9301. on 0.2.7.2-alpha.
  9302. o Minor bugfixes (onion services):
  9303. - Allow the number of introduction points to be as low as 0, rather
  9304. than as low as 3. Fixes bug 21033; bugfix on 0.2.7.2-alpha.
  9305. o Minor bugfixes (portability):
  9306. - Use "OpenBSD" compiler macro instead of "OPENBSD" or "__OpenBSD__".
  9307. It is supported by OpenBSD itself, and also by most OpenBSD
  9308. variants (such as Bitrig). Fixes bug 20980; bugfix
  9309. on 0.1.2.1-alpha.
  9310. o Minor bugfixes (portability, also in 0.2.9.9):
  9311. - Avoid crashing when Tor is built using headers that contain
  9312. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  9313. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  9314. on 0.2.9.1-alpha.
  9315. - Fix Libevent detection on platforms without Libevent 1 headers
  9316. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  9317. o Minor bugfixes (relay):
  9318. - Avoid a double-marked-circuit warning that could happen when we
  9319. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  9320. on 0.1.0.1-rc.
  9321. - Honor DataDirectoryGroupReadable when tor is a relay. Previously,
  9322. initializing the keys would reset the DataDirectory to 0700
  9323. instead of 0750 even if DataDirectoryGroupReadable was set to 1.
  9324. Fixes bug 19953; bugfix on 0.0.2pre16. Patch by "redfish".
  9325. o Minor bugfixes (testing):
  9326. - Fix Raspbian build issues related to missing socket errno in
  9327. test_util.c. Fixes bug 21116; bugfix on 0.2.8.2. Patch by "hein".
  9328. - Remove undefined behavior from the backtrace generator by removing
  9329. its signal handler. Fixes bug 21026; bugfix on 0.2.5.2-alpha.
  9330. - Use bash in src/test/test-network.sh. This ensures we reliably
  9331. call chutney's newer tools/test-network.sh when available. Fixes
  9332. bug 21562; bugfix on 0.2.9.1-alpha.
  9333. o Minor bugfixes (tor-resolve):
  9334. - The tor-resolve command line tool now rejects hostnames over 255
  9335. characters in length. Previously, it would silently truncate them,
  9336. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  9337. Patch by "junglefowl".
  9338. o Minor bugfixes (unit tests):
  9339. - Allow the unit tests to pass even when DNS lookups of bogus
  9340. addresses do not fail as expected. Fixes bug 20862 and 20863;
  9341. bugfix on unit tests introduced in 0.2.8.1-alpha
  9342. through 0.2.9.4-alpha.
  9343. o Minor bugfixes (util):
  9344. - When finishing writing a file to disk, if we were about to replace
  9345. the file with the temporary file created before and we fail to
  9346. replace it, remove the temporary file so it doesn't stay on disk.
  9347. Fixes bug 20646; bugfix on 0.2.0.7-alpha. Patch by fk.
  9348. o Minor bugfixes (Windows services):
  9349. - Be sure to initialize the monotonic time subsystem before using
  9350. it, even when running as an NT service. Fixes bug 21356; bugfix
  9351. on 0.2.9.1-alpha.
  9352. o Minor bugfixes (Windows):
  9353. - Check for getpagesize before using it to mmap files. This fixes
  9354. compilation in some MinGW environments. Fixes bug 20530; bugfix on
  9355. 0.1.2.1-alpha. Reported by "ice".
  9356. o Code simplification and refactoring:
  9357. - Abolish all global guard context in entrynodes.c; replace with new
  9358. guard_selection_t structure as preparation for proposal 271.
  9359. Closes ticket 19858.
  9360. - Extract magic numbers in circuituse.c into defined variables.
  9361. - Introduce rend_service_is_ephemeral() that tells if given onion
  9362. service is ephemeral. Replace unclear NULL-checkings for service
  9363. directory with this function. Closes ticket 20526.
  9364. - Refactor circuit_is_available_for_use to remove unnecessary check.
  9365. - Refactor circuit_predict_and_launch_new for readability and
  9366. testability. Closes ticket 18873.
  9367. - Refactor code to manipulate global_origin_circuit_list into
  9368. separate functions. Closes ticket 20921.
  9369. - Refactor large if statement in purpose_needs_anonymity to use
  9370. switch statement instead. Closes part of ticket 20077.
  9371. - Refactor the hashing API to return negative values for errors, as
  9372. is done as throughout the codebase. Closes ticket 20717.
  9373. - Remove data structures that were used to index or_connection
  9374. objects by their RSA identity digests. These structures are fully
  9375. redundant with the similar structures used in the
  9376. channel abstraction.
  9377. - Remove duplicate code in the channel_write_*cell() functions.
  9378. Closes ticket 13827; patch from Pingl.
  9379. - Remove redundant behavior of is_sensitive_dir_purpose, refactor to
  9380. use only purpose_needs_anonymity. Closes part of ticket 20077.
  9381. - The code to generate and parse EXTEND and EXTEND2 cells has been
  9382. replaced with code automatically generated by the
  9383. "trunnel" utility.
  9384. o Documentation (formatting):
  9385. - Clean up formatting of tor.1 man page and HTML doc, where <pre>
  9386. blocks were incorrectly appearing. Closes ticket 20885.
  9387. o Documentation (man page):
  9388. - Clarify many options in tor.1 and add some min/max values for
  9389. HiddenService options. Closes ticket 21058.
  9390. o Documentation:
  9391. - Change '1' to 'weight_scale' in consensus bw weights calculation
  9392. comments, as that is reality. Closes ticket 20273. Patch
  9393. from pastly.
  9394. - Clarify that when ClientRejectInternalAddresses is enabled (which
  9395. is the default), multicast DNS hostnames for machines on the local
  9396. network (of the form *.local) are also rejected. Closes
  9397. ticket 17070.
  9398. - Correct the value for AuthDirGuardBWGuarantee in the manpage, from
  9399. 250 KBytes to 2 MBytes. Fixes bug 20435; bugfix on 0.2.5.6-alpha.
  9400. - Include the "TBits" unit in Tor's man page. Fixes part of bug
  9401. 20622; bugfix on 0.2.5.1-alpha.
  9402. - Small fixes to the fuzzing documentation. Closes ticket 21472.
  9403. - Stop the man page from incorrectly stating that HiddenServiceDir
  9404. must already exist. Fixes 20486.
  9405. - Update the description of the directory server options in the
  9406. manual page, to clarify that a relay no longer needs to set
  9407. DirPort in order to be a directory cache. Closes ticket 21720.
  9408. o Removed features:
  9409. - The AuthDirMaxServersPerAuthAddr option no longer exists: The same
  9410. limit for relays running on a single IP applies to authority IP
  9411. addresses as well as to non-authority IP addresses. Closes
  9412. ticket 20960.
  9413. - The UseDirectoryGuards torrc option no longer exists: all users
  9414. that use entry guards will also use directory guards. Related to
  9415. proposal 271; implements part of ticket 20831.
  9416. o Testing:
  9417. - Add tests for networkstatus_compute_bw_weights_v10.
  9418. - Add unit tests circuit_predict_and_launch_new.
  9419. - Extract dummy_origin_circuit_new so it can be used by other
  9420. test functions.
  9421. - New unit tests for tor_htonll(). Closes ticket 19563. Patch
  9422. from "overcaffeinated".
  9423. - Perform the coding style checks when running the tests and fail
  9424. when coding style violations are found. Closes ticket 5500.
  9425. Changes in version 0.2.8.13 - 2017-03-03
  9426. Tor 0.2.8.13 backports a security fix from later Tor
  9427. releases. Anybody running Tor 0.2.8.12 or earlier should upgrade to this
  9428. this release, if for some reason they cannot upgrade to a later
  9429. release series, and if they build Tor with the --enable-expensive-hardening
  9430. option.
  9431. Note that support for Tor 0.2.8.x is ending next year: we will not issue
  9432. any fixes for the Tor 0.2.8.x series after 1 Jan 2018. If you need
  9433. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  9434. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  9435. - Fix an integer underflow bug when comparing malformed Tor
  9436. versions. This bug could crash Tor when built with
  9437. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  9438. 0.2.9.8, which were built with -ftrapv by default. In other cases
  9439. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  9440. on 0.0.8pre1. Found by OSS-Fuzz.
  9441. o Minor features (geoip):
  9442. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  9443. Country database.
  9444. Changes in version 0.2.7.7 - 2017-03-03
  9445. Tor 0.2.7.7 backports a number of security fixes from later Tor
  9446. releases. Anybody running Tor 0.2.7.6 or earlier should upgrade to
  9447. this release, if for some reason they cannot upgrade to a later
  9448. release series.
  9449. Note that support for Tor 0.2.7.x is ending this year: we will not issue
  9450. any fixes for the Tor 0.2.7.x series after 1 August 2017. If you need
  9451. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  9452. o Directory authority changes (backport from 0.2.8.5-rc):
  9453. - Urras is no longer a directory authority. Closes ticket 19271.
  9454. o Directory authority changes (backport from 0.2.9.2-alpha):
  9455. - The "Tonga" bridge authority has been retired; the new bridge
  9456. authority is "Bifroest". Closes tickets 19728 and 19690.
  9457. o Directory authority key updates (backport from 0.2.8.1-alpha):
  9458. - Update the V3 identity key for the dannenberg directory authority:
  9459. it was changed on 18 November 2015. Closes task 17906. Patch
  9460. by "teor".
  9461. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  9462. - Fix a bug in parsing that could cause clients to read a single
  9463. byte past the end of an allocated region. This bug could be used
  9464. to cause hardened clients (built with --enable-expensive-hardening)
  9465. to crash if they tried to visit a hostile hidden service. Non-
  9466. hardened clients are only affected depending on the details of
  9467. their platform's memory allocator. Fixes bug 21018; bugfix on
  9468. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  9469. 2016-12-002 and as CVE-2016-1254.
  9470. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  9471. - Stop a crash that could occur when a client running with DNSPort
  9472. received a query with multiple address types, and the first
  9473. address type was not supported. Found and fixed by Scott Dial.
  9474. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  9475. - Prevent a class of security bugs caused by treating the contents
  9476. of a buffer chunk as if they were a NUL-terminated string. At
  9477. least one such bug seems to be present in all currently used
  9478. versions of Tor, and would allow an attacker to remotely crash
  9479. most Tor instances, especially those compiled with extra compiler
  9480. hardening. With this defense in place, such bugs can't crash Tor,
  9481. though we should still fix them as they occur. Closes ticket
  9482. 20384 (TROVE-2016-10-001).
  9483. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  9484. - Avoid a difficult-to-trigger heap corruption attack when extending
  9485. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  9486. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  9487. Reported by Guido Vranken.
  9488. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  9489. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  9490. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  9491. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  9492. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  9493. pointer to the previous (uninitialized) key value. The impact here
  9494. should be limited to a difficult-to-trigger crash, if OpenSSL is
  9495. running an engine that makes key generation failures possible, or
  9496. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  9497. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  9498. Baishakhi Ray.
  9499. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  9500. - Fix an integer underflow bug when comparing malformed Tor
  9501. versions. This bug could crash Tor when built with
  9502. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  9503. 0.2.9.8, which were built with -ftrapv by default. In other cases
  9504. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  9505. on 0.0.8pre1. Found by OSS-Fuzz.
  9506. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  9507. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  9508. zero size. Check size argument to memwipe() for underflow. Fixes
  9509. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  9510. patch by "teor".
  9511. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  9512. - Make Tor survive errors involving connections without a
  9513. corresponding event object. Previously we'd fail with an
  9514. assertion; now we produce a log message. Related to bug 16248.
  9515. o Minor features (geoip):
  9516. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  9517. Country database.
  9518. Changes in version 0.2.6.11 - 2017-03-03
  9519. Tor 0.2.6.11 backports a number of security fixes from later Tor
  9520. releases. Anybody running Tor 0.2.6.10 or earlier should upgrade to
  9521. this release, if for some reason they cannot upgrade to a later
  9522. release series.
  9523. Note that support for Tor 0.2.6.x is ending this year: we will not issue
  9524. any fixes for the Tor 0.2.6.x series after 1 August 2017. If you need
  9525. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  9526. o Directory authority changes (backport from 0.2.8.5-rc):
  9527. - Urras is no longer a directory authority. Closes ticket 19271.
  9528. o Directory authority changes (backport from 0.2.9.2-alpha):
  9529. - The "Tonga" bridge authority has been retired; the new bridge
  9530. authority is "Bifroest". Closes tickets 19728 and 19690.
  9531. o Directory authority key updates (backport from 0.2.8.1-alpha):
  9532. - Update the V3 identity key for the dannenberg directory authority:
  9533. it was changed on 18 November 2015. Closes task 17906. Patch
  9534. by "teor".
  9535. o Major features (security fixes, backport from 0.2.9.4-alpha):
  9536. - Prevent a class of security bugs caused by treating the contents
  9537. of a buffer chunk as if they were a NUL-terminated string. At
  9538. least one such bug seems to be present in all currently used
  9539. versions of Tor, and would allow an attacker to remotely crash
  9540. most Tor instances, especially those compiled with extra compiler
  9541. hardening. With this defense in place, such bugs can't crash Tor,
  9542. though we should still fix them as they occur. Closes ticket
  9543. 20384 (TROVE-2016-10-001).
  9544. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  9545. - Fix a bug in parsing that could cause clients to read a single
  9546. byte past the end of an allocated region. This bug could be used
  9547. to cause hardened clients (built with --enable-expensive-hardening)
  9548. to crash if they tried to visit a hostile hidden service. Non-
  9549. hardened clients are only affected depending on the details of
  9550. their platform's memory allocator. Fixes bug 21018; bugfix on
  9551. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  9552. 2016-12-002 and as CVE-2016-1254.
  9553. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  9554. - Stop a crash that could occur when a client running with DNSPort
  9555. received a query with multiple address types, and the first
  9556. address type was not supported. Found and fixed by Scott Dial.
  9557. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  9558. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  9559. - Fix an error that could cause us to read 4 bytes before the
  9560. beginning of an openssl string. This bug could be used to cause
  9561. Tor to crash on systems with unusual malloc implementations, or
  9562. systems with unusual hardening installed. Fixes bug 17404; bugfix
  9563. on 0.2.3.6-alpha.
  9564. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  9565. - Avoid a difficult-to-trigger heap corruption attack when extending
  9566. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  9567. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  9568. Reported by Guido Vranken.
  9569. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  9570. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  9571. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  9572. o Major bugfixes (guard selection, backport from 0.2.7.6):
  9573. - Actually look at the Guard flag when selecting a new directory
  9574. guard. When we implemented the directory guard design, we
  9575. accidentally started treating all relays as if they have the Guard
  9576. flag during guard selection, leading to weaker anonymity and worse
  9577. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  9578. by Mohsen Imani.
  9579. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  9580. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  9581. pointer to the previous (uninitialized) key value. The impact here
  9582. should be limited to a difficult-to-trigger crash, if OpenSSL is
  9583. running an engine that makes key generation failures possible, or
  9584. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  9585. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  9586. Baishakhi Ray.
  9587. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  9588. - Fix an integer underflow bug when comparing malformed Tor
  9589. versions. This bug could crash Tor when built with
  9590. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  9591. 0.2.9.8, which were built with -ftrapv by default. In other cases
  9592. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  9593. on 0.0.8pre1. Found by OSS-Fuzz.
  9594. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  9595. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  9596. zero size. Check size argument to memwipe() for underflow. Fixes
  9597. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  9598. patch by "teor".
  9599. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  9600. - Make Tor survive errors involving connections without a
  9601. corresponding event object. Previously we'd fail with an
  9602. assertion; now we produce a log message. Related to bug 16248.
  9603. o Minor features (geoip):
  9604. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  9605. Country database.
  9606. o Minor bugfixes (compilation, backport from 0.2.7.6):
  9607. - Fix a compilation warning with Clang 3.6: Do not check the
  9608. presence of an address which can never be NULL. Fixes bug 17781.
  9609. Changes in version 0.2.5.13 - 2017-03-03
  9610. Tor 0.2.5.13 backports a number of security fixes from later Tor
  9611. releases. Anybody running Tor 0.2.5.13 or earlier should upgrade to
  9612. this release, if for some reason they cannot upgrade to a later
  9613. release series.
  9614. Note that support for Tor 0.2.5.x is ending next year: we will not issue
  9615. any fixes for the Tor 0.2.5.x series after 1 May 2018. If you need
  9616. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  9617. o Directory authority changes (backport from 0.2.8.5-rc):
  9618. - Urras is no longer a directory authority. Closes ticket 19271.
  9619. o Directory authority changes (backport from 0.2.9.2-alpha):
  9620. - The "Tonga" bridge authority has been retired; the new bridge
  9621. authority is "Bifroest". Closes tickets 19728 and 19690.
  9622. o Directory authority key updates (backport from 0.2.8.1-alpha):
  9623. - Update the V3 identity key for the dannenberg directory authority:
  9624. it was changed on 18 November 2015. Closes task 17906. Patch
  9625. by "teor".
  9626. o Major features (security fixes, backport from 0.2.9.4-alpha):
  9627. - Prevent a class of security bugs caused by treating the contents
  9628. of a buffer chunk as if they were a NUL-terminated string. At
  9629. least one such bug seems to be present in all currently used
  9630. versions of Tor, and would allow an attacker to remotely crash
  9631. most Tor instances, especially those compiled with extra compiler
  9632. hardening. With this defense in place, such bugs can't crash Tor,
  9633. though we should still fix them as they occur. Closes ticket
  9634. 20384 (TROVE-2016-10-001).
  9635. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  9636. - Fix a bug in parsing that could cause clients to read a single
  9637. byte past the end of an allocated region. This bug could be used
  9638. to cause hardened clients (built with --enable-expensive-hardening)
  9639. to crash if they tried to visit a hostile hidden service. Non-
  9640. hardened clients are only affected depending on the details of
  9641. their platform's memory allocator. Fixes bug 21018; bugfix on
  9642. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  9643. 2016-12-002 and as CVE-2016-1254.
  9644. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  9645. - Stop a crash that could occur when a client running with DNSPort
  9646. received a query with multiple address types, and the first
  9647. address type was not supported. Found and fixed by Scott Dial.
  9648. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  9649. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  9650. - Fix an error that could cause us to read 4 bytes before the
  9651. beginning of an openssl string. This bug could be used to cause
  9652. Tor to crash on systems with unusual malloc implementations, or
  9653. systems with unusual hardening installed. Fixes bug 17404; bugfix
  9654. on 0.2.3.6-alpha.
  9655. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  9656. - Avoid a difficult-to-trigger heap corruption attack when extending
  9657. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  9658. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  9659. Reported by Guido Vranken.
  9660. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  9661. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  9662. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  9663. o Major bugfixes (guard selection, backport from 0.2.7.6):
  9664. - Actually look at the Guard flag when selecting a new directory
  9665. guard. When we implemented the directory guard design, we
  9666. accidentally started treating all relays as if they have the Guard
  9667. flag during guard selection, leading to weaker anonymity and worse
  9668. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  9669. by Mohsen Imani.
  9670. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  9671. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  9672. pointer to the previous (uninitialized) key value. The impact here
  9673. should be limited to a difficult-to-trigger crash, if OpenSSL is
  9674. running an engine that makes key generation failures possible, or
  9675. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  9676. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  9677. Baishakhi Ray.
  9678. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  9679. - Fix an integer underflow bug when comparing malformed Tor
  9680. versions. This bug could crash Tor when built with
  9681. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  9682. 0.2.9.8, which were built with -ftrapv by default. In other cases
  9683. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  9684. on 0.0.8pre1. Found by OSS-Fuzz.
  9685. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  9686. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  9687. zero size. Check size argument to memwipe() for underflow. Fixes
  9688. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  9689. patch by "teor".
  9690. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  9691. - Make Tor survive errors involving connections without a
  9692. corresponding event object. Previously we'd fail with an
  9693. assertion; now we produce a log message. Related to bug 16248.
  9694. o Minor features (geoip):
  9695. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  9696. Country database.
  9697. o Minor bugfixes (compilation, backport from 0.2.7.6):
  9698. - Fix a compilation warning with Clang 3.6: Do not check the
  9699. presence of an address which can never be NULL. Fixes bug 17781.
  9700. o Minor bugfixes (crypto error-handling, backport from 0.2.7.2-alpha):
  9701. - Check for failures from crypto_early_init, and refuse to continue.
  9702. A previous typo meant that we could keep going with an
  9703. uninitialized crypto library, and would have OpenSSL initialize
  9704. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  9705. when implementing ticket 4900. Patch by "teor".
  9706. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  9707. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  9708. a client authorized hidden service. Fixes bug 15823; bugfix
  9709. on 0.2.1.6-alpha.
  9710. Changes in version 0.2.4.28 - 2017-03-03
  9711. Tor 0.2.4.28 backports a number of security fixes from later Tor
  9712. releases. Anybody running Tor 0.2.4.27 or earlier should upgrade to
  9713. this release, if for some reason they cannot upgrade to a later
  9714. release series.
  9715. Note that support for Tor 0.2.4.x is ending soon: we will not issue
  9716. any fixes for the Tor 0.2.4.x series after 1 August 2017. If you need
  9717. a Tor release series with long-term support, we recommend Tor 0.2.9.x.
  9718. o Directory authority changes (backport from 0.2.8.5-rc):
  9719. - Urras is no longer a directory authority. Closes ticket 19271.
  9720. o Directory authority changes (backport from 0.2.9.2-alpha):
  9721. - The "Tonga" bridge authority has been retired; the new bridge
  9722. authority is "Bifroest". Closes tickets 19728 and 19690.
  9723. o Directory authority key updates (backport from 0.2.8.1-alpha):
  9724. - Update the V3 identity key for the dannenberg directory authority:
  9725. it was changed on 18 November 2015. Closes task 17906. Patch
  9726. by "teor".
  9727. o Major features (security fixes, backport from 0.2.9.4-alpha):
  9728. - Prevent a class of security bugs caused by treating the contents
  9729. of a buffer chunk as if they were a NUL-terminated string. At
  9730. least one such bug seems to be present in all currently used
  9731. versions of Tor, and would allow an attacker to remotely crash
  9732. most Tor instances, especially those compiled with extra compiler
  9733. hardening. With this defense in place, such bugs can't crash Tor,
  9734. though we should still fix them as they occur. Closes ticket
  9735. 20384 (TROVE-2016-10-001).
  9736. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  9737. - Fix a bug in parsing that could cause clients to read a single
  9738. byte past the end of an allocated region. This bug could be used
  9739. to cause hardened clients (built with --enable-expensive-hardening)
  9740. to crash if they tried to visit a hostile hidden service. Non-
  9741. hardened clients are only affected depending on the details of
  9742. their platform's memory allocator. Fixes bug 21018; bugfix on
  9743. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  9744. 2016-12-002 and as CVE-2016-1254.
  9745. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  9746. - Fix an error that could cause us to read 4 bytes before the
  9747. beginning of an openssl string. This bug could be used to cause
  9748. Tor to crash on systems with unusual malloc implementations, or
  9749. systems with unusual hardening installed. Fixes bug 17404; bugfix
  9750. on 0.2.3.6-alpha.
  9751. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  9752. - Avoid a difficult-to-trigger heap corruption attack when extending
  9753. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  9754. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  9755. Reported by Guido Vranken.
  9756. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  9757. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  9758. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  9759. o Major bugfixes (guard selection, backport from 0.2.7.6):
  9760. - Actually look at the Guard flag when selecting a new directory
  9761. guard. When we implemented the directory guard design, we
  9762. accidentally started treating all relays as if they have the Guard
  9763. flag during guard selection, leading to weaker anonymity and worse
  9764. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  9765. by Mohsen Imani.
  9766. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  9767. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  9768. pointer to the previous (uninitialized) key value. The impact here
  9769. should be limited to a difficult-to-trigger crash, if OpenSSL is
  9770. running an engine that makes key generation failures possible, or
  9771. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  9772. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  9773. Baishakhi Ray.
  9774. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  9775. - Fix an integer underflow bug when comparing malformed Tor
  9776. versions. This bug could crash Tor when built with
  9777. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  9778. 0.2.9.8, which were built with -ftrapv by default. In other cases
  9779. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  9780. on 0.0.8pre1. Found by OSS-Fuzz.
  9781. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  9782. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  9783. zero size. Check size argument to memwipe() for underflow. Fixes
  9784. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  9785. patch by "teor".
  9786. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  9787. - Make Tor survive errors involving connections without a
  9788. corresponding event object. Previously we'd fail with an
  9789. assertion; now we produce a log message. Related to bug 16248.
  9790. o Minor features (DoS-resistance, backport from 0.2.7.1-alpha):
  9791. - Make it harder for attackers to overload hidden services with
  9792. introductions, by blocking multiple introduction requests on the
  9793. same circuit. Resolves ticket 15515.
  9794. o Minor features (geoip):
  9795. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  9796. Country database.
  9797. o Minor bugfixes (compilation, backport from 0.2.7.6):
  9798. - Fix a compilation warning with Clang 3.6: Do not check the
  9799. presence of an address which can never be NULL. Fixes bug 17781.
  9800. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  9801. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  9802. a client authorized hidden service. Fixes bug 15823; bugfix
  9803. on 0.2.1.6-alpha.
  9804. Changes in version 0.2.9.10 - 2017-03-01
  9805. Tor 0.2.9.10 backports a security fix from later Tor release. It also
  9806. includes fixes for some major issues affecting directory authorities,
  9807. LibreSSL compatibility, and IPv6 correctness.
  9808. The Tor 0.2.9.x release series is now marked as a long-term-support
  9809. series. We intend to backport security fixes to 0.2.9.x until at
  9810. least January of 2020.
  9811. o Major bugfixes (directory authority, 0.3.0.3-alpha):
  9812. - During voting, when marking a relay as a probable sybil, do not
  9813. clear its BadExit flag: sybils can still be bad in other ways
  9814. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  9815. on 0.2.0.13-alpha.
  9816. o Major bugfixes (IPv6 Exits, backport from 0.3.0.3-alpha):
  9817. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  9818. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  9819. exit policy rejects that port on more than an IPv6 /16 of
  9820. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  9821. which rejected a relay's own IPv6 address by default. Fixes bug
  9822. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  9823. o Major bugfixes (parsing, also in 0.3.0.4-rc):
  9824. - Fix an integer underflow bug when comparing malformed Tor
  9825. versions. This bug could crash Tor when built with
  9826. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  9827. 0.2.9.8, which were built with -ftrapv by default. In other cases
  9828. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  9829. on 0.0.8pre1. Found by OSS-Fuzz.
  9830. o Minor features (directory authorities, also in 0.3.0.4-rc):
  9831. - Directory authorities now reject descriptors that claim to be
  9832. malformed versions of Tor. Helps prevent exploitation of
  9833. bug 21278.
  9834. - Reject version numbers with components that exceed INT32_MAX.
  9835. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  9836. Fixes bug 21450; bugfix on 0.0.8pre1.
  9837. o Minor features (geoip):
  9838. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  9839. Country database.
  9840. o Minor features (portability, compilation, backport from 0.3.0.3-alpha):
  9841. - Autoconf now checks to determine if OpenSSL structures are opaque,
  9842. instead of explicitly checking for OpenSSL version numbers. Part
  9843. of ticket 21359.
  9844. - Support building with recent LibreSSL code that uses opaque
  9845. structures. Closes ticket 21359.
  9846. o Minor bugfixes (code correctness, also in 0.3.0.4-rc):
  9847. - Repair a couple of (unreachable or harmless) cases of the risky
  9848. comparison-by-subtraction pattern that caused bug 21278.
  9849. o Minor bugfixes (tor-resolve, backport from 0.3.0.3-alpha):
  9850. - The tor-resolve command line tool now rejects hostnames over 255
  9851. characters in length. Previously, it would silently truncate them,
  9852. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  9853. Patch by "junglefowl".
  9854. Changes in version 0.2.9.9 - 2017-01-23
  9855. Tor 0.2.9.9 fixes a denial-of-service bug where an attacker could
  9856. cause relays and clients to crash, even if they were not built with
  9857. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  9858. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  9859. version should upgrade.
  9860. This release also resolves a client-side onion service reachability
  9861. bug, and resolves a pair of small portability issues.
  9862. o Major bugfixes (security):
  9863. - Downgrade the "-ftrapv" option from "always on" to "only on when
  9864. --enable-expensive-hardening is provided." This hardening option,
  9865. like others, can turn survivable bugs into crashes -- and having
  9866. it on by default made a (relatively harmless) integer overflow bug
  9867. into a denial-of-service bug. Fixes bug 21278 (TROVE-2017-001);
  9868. bugfix on 0.2.9.1-alpha.
  9869. o Major bugfixes (client, onion service):
  9870. - Fix a client-side onion service reachability bug, where multiple
  9871. socks requests to an onion service (or a single slow request)
  9872. could cause us to mistakenly mark some of the service's
  9873. introduction points as failed, and we cache that failure so
  9874. eventually we run out and can't reach the service. Also resolves a
  9875. mysterious "Remote server sent bogus reason code 65021" log
  9876. warning. The bug was introduced in ticket 17218, where we tried to
  9877. remember the circuit end reason as a uint16_t, which mangled
  9878. negative values. Partially fixes bug 21056 and fixes bug 20307;
  9879. bugfix on 0.2.8.1-alpha.
  9880. o Minor features (geoip):
  9881. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  9882. Country database.
  9883. o Minor bugfixes (portability):
  9884. - Avoid crashing when Tor is built using headers that contain
  9885. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  9886. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  9887. on 0.2.9.1-alpha.
  9888. - Fix Libevent detection on platforms without Libevent 1 headers
  9889. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  9890. Changes in version 0.2.8.12 - 2016-12-19
  9891. Tor 0.2.8.12 backports a fix for a medium-severity issue (bug 21018
  9892. below) where Tor clients could crash when attempting to visit a
  9893. hostile hidden service. Clients are recommended to upgrade as packages
  9894. become available for their systems.
  9895. It also includes an updated list of fallback directories, backported
  9896. from 0.2.9.
  9897. Now that the Tor 0.2.9 series is stable, only major bugfixes will be
  9898. backported to 0.2.8 in the future.
  9899. o Major bugfixes (parsing, security, backported from 0.2.9.8):
  9900. - Fix a bug in parsing that could cause clients to read a single
  9901. byte past the end of an allocated region. This bug could be used
  9902. to cause hardened clients (built with --enable-expensive-hardening)
  9903. to crash if they tried to visit a hostile hidden service. Non-
  9904. hardened clients are only affected depending on the details of
  9905. their platform's memory allocator. Fixes bug 21018; bugfix on
  9906. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  9907. 2016-12-002 and as CVE-2016-1254.
  9908. o Minor features (fallback directory list, backported from 0.2.9.8):
  9909. - Replace the 81 remaining fallbacks of the 100 originally
  9910. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  9911. fallbacks (123 new, 54 existing, 27 removed) generated in December
  9912. 2016. Resolves ticket 20170.
  9913. o Minor features (geoip, backported from 0.2.9.7-rc):
  9914. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  9915. Country database.
  9916. Changes in version 0.2.9.8 - 2016-12-19
  9917. Tor 0.2.9.8 is the first stable release of the Tor 0.2.9 series.
  9918. The Tor 0.2.9 series makes mandatory a number of security features
  9919. that were formerly optional. It includes support for a new shared-
  9920. randomness protocol that will form the basis for next generation
  9921. hidden services, includes a single-hop hidden service mode for
  9922. optimizing .onion services that don't actually want to be hidden,
  9923. tries harder not to overload the directory authorities with excessive
  9924. downloads, and supports a better protocol versioning scheme for
  9925. improved compatibility with other implementations of the Tor protocol.
  9926. And of course, there are numerous other bugfixes and improvements.
  9927. This release also includes a fix for a medium-severity issue (bug
  9928. 21018 below) where Tor clients could crash when attempting to visit a
  9929. hostile hidden service. Clients are recommended to upgrade as packages
  9930. become available for their systems.
  9931. Below are listed the changes since Tor 0.2.8.11. For a list of
  9932. changes since 0.2.9.7-rc, see the ChangeLog file.
  9933. o New system requirements:
  9934. - When building with OpenSSL, Tor now requires version 1.0.1 or
  9935. later. OpenSSL 1.0.0 and earlier are no longer supported by the
  9936. OpenSSL team, and should not be used. Closes ticket 20303.
  9937. - Tor now requires Libevent version 2.0.10-stable or later. Older
  9938. versions of Libevent have less efficient backends for several
  9939. platforms, and lack the DNS code that we use for our server-side
  9940. DNS support. This implements ticket 19554.
  9941. - Tor now requires zlib version 1.2 or later, for security,
  9942. efficiency, and (eventually) gzip support. (Back when we started,
  9943. zlib 1.1 and zlib 1.0 were still found in the wild. 1.2 was
  9944. released in 2003. We recommend the latest version.)
  9945. o Deprecated features:
  9946. - A number of DNS-cache-related sub-options for client ports are now
  9947. deprecated for security reasons, and may be removed in a future
  9948. version of Tor. (We believe that client-side DNS caching is a bad
  9949. idea for anonymity, and you should not turn it on.) The options
  9950. are: CacheDNS, CacheIPv4DNS, CacheIPv6DNS, UseDNSCache,
  9951. UseIPv4Cache, and UseIPv6Cache.
  9952. - A number of options are deprecated for security reasons, and may
  9953. be removed in a future version of Tor. The options are:
  9954. AllowDotExit, AllowInvalidNodes, AllowSingleHopCircuits,
  9955. AllowSingleHopExits, ClientDNSRejectInternalAddresses,
  9956. CloseHSClientCircuitsImmediatelyOnTimeout,
  9957. CloseHSServiceRendCircuitsImmediatelyOnTimeout,
  9958. ExcludeSingleHopRelays, FastFirstHopPK, TLSECGroup,
  9959. UseNTorHandshake, and WarnUnsafeSocks.
  9960. - The *ListenAddress options are now deprecated as unnecessary: the
  9961. corresponding *Port options should be used instead. These options
  9962. may someday be removed. The affected options are:
  9963. ControlListenAddress, DNSListenAddress, DirListenAddress,
  9964. NATDListenAddress, ORListenAddress, SocksListenAddress,
  9965. and TransListenAddress.
  9966. o Major bugfixes (parsing, security, new since 0.2.9.7-rc):
  9967. - Fix a bug in parsing that could cause clients to read a single
  9968. byte past the end of an allocated region. This bug could be used
  9969. to cause hardened clients (built with --enable-expensive-hardening)
  9970. to crash if they tried to visit a hostile hidden service. Non-
  9971. hardened clients are only affected depending on the details of
  9972. their platform's memory allocator. Fixes bug 21018; bugfix on
  9973. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  9974. 2016-12-002 and as CVE-2016-1254.
  9975. o Major features (build, hardening):
  9976. - Tor now builds with -ftrapv by default on compilers that support
  9977. it. This option detects signed integer overflow (which C forbids),
  9978. and turns it into a hard-failure. We do not apply this option to
  9979. code that needs to run in constant time to avoid side-channels;
  9980. instead, we use -fwrapv in that code. Closes ticket 17983.
  9981. - When --enable-expensive-hardening is selected, stop applying the
  9982. clang/gcc sanitizers to code that needs to run in constant time.
  9983. Although we are aware of no introduced side-channels, we are not
  9984. able to prove that there are none. Related to ticket 17983.
  9985. o Major features (circuit building, security):
  9986. - Authorities, relays, and clients now require ntor keys in all
  9987. descriptors, for all hops (except for rare hidden service protocol
  9988. cases), for all circuits, and for all other roles. Part of
  9989. ticket 19163.
  9990. - Authorities, relays, and clients only use ntor, except for
  9991. rare cases in the hidden service protocol. Part of ticket 19163.
  9992. o Major features (compilation):
  9993. - Our big list of extra GCC warnings is now enabled by default when
  9994. building with GCC (or with anything like Clang that claims to be
  9995. GCC-compatible). To make all warnings into fatal compilation
  9996. errors, pass --enable-fatal-warnings to configure. Closes
  9997. ticket 19044.
  9998. - Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS to automatically
  9999. turn on C and POSIX extensions. (Previously, we attempted to do
  10000. this on an ad hoc basis.) Closes ticket 19139.
  10001. o Major features (directory authorities, hidden services):
  10002. - Directory authorities can now perform the shared randomness
  10003. protocol specified by proposal 250. Using this protocol, directory
  10004. authorities generate a global fresh random value every day. In the
  10005. future, this value will be used by hidden services to select
  10006. HSDirs. This release implements the directory authority feature;
  10007. the hidden service side will be implemented in the future as part
  10008. of proposal 224. Resolves ticket 16943; implements proposal 250.
  10009. o Major features (downloading, random exponential backoff):
  10010. - When we fail to download an object from a directory service, wait
  10011. for an (exponentially increasing) randomized amount of time before
  10012. retrying, rather than a fixed interval as we did before. This
  10013. prevents a group of Tor instances from becoming too synchronized,
  10014. or a single Tor instance from becoming too predictable, in its
  10015. download schedule. Closes ticket 15942.
  10016. o Major features (resource management):
  10017. - Tor can now notice it is about to run out of sockets, and
  10018. preemptively close connections of lower priority. (This feature is
  10019. off by default for now, since the current prioritizing method is
  10020. yet not mature enough. You can enable it by setting
  10021. "DisableOOSCheck 0", but watch out: it might close some sockets
  10022. you would rather have it keep.) Closes ticket 18640.
  10023. o Major features (single-hop "hidden" services):
  10024. - Add experimental HiddenServiceSingleHopMode and
  10025. HiddenServiceNonAnonymousMode options. When both are set to 1,
  10026. every hidden service on that Tor instance becomes a non-anonymous
  10027. Single Onion Service. Single Onions make one-hop (direct)
  10028. connections to their introduction and rendezvous points. One-hop
  10029. circuits make Single Onion servers easily locatable, but clients
  10030. remain location-anonymous. This is compatible with the existing
  10031. hidden service implementation, and works on the current Tor
  10032. network without any changes to older relays or clients. Implements
  10033. proposal 260, completes ticket 17178. Patch by teor and asn.
  10034. o Major features (subprotocol versions):
  10035. - Tor directory authorities now vote on a set of recommended
  10036. "subprotocol versions", and on a set of required subprotocol
  10037. versions. Clients and relays that lack support for a _required_
  10038. subprotocol version will not start; those that lack support for a
  10039. _recommended_ subprotocol version will warn the user to upgrade.
  10040. This change allows compatible implementations of the Tor protocol(s)
  10041. to exist without pretending to be 100% bug-compatible with
  10042. particular releases of Tor itself. Closes ticket 19958; implements
  10043. part of proposal 264.
  10044. o Major bugfixes (circuit building):
  10045. - Hidden service client-to-intro-point and service-to-rendezvous-
  10046. point circuits use the TAP key supplied by the protocol, to avoid
  10047. epistemic attacks. Fixes bug 19163; bugfix on 0.2.4.18-rc.
  10048. o Major bugfixes (download scheduling):
  10049. - Avoid resetting download status for consensuses hourly, since we
  10050. already have another, smarter retry mechanism. Fixes bug 8625;
  10051. bugfix on 0.2.0.9-alpha.
  10052. - If a consensus expires while we are waiting for certificates to
  10053. download, stop waiting for certificates.
  10054. - If we stop waiting for certificates less than a minute after we
  10055. started downloading them, do not consider the certificate download
  10056. failure a separate failure. Fixes bug 20533; bugfix
  10057. on 0.2.0.9-alpha.
  10058. - When using exponential backoff in test networks, use a lower
  10059. exponent, so the delays do not vary as much. This helps test
  10060. networks bootstrap consistently. Fixes bug 20597; bugfix on 20499.
  10061. o Major bugfixes (exit policies):
  10062. - Avoid disclosing exit outbound bind addresses, configured port
  10063. bind addresses, and local interface addresses in relay descriptors
  10064. by default under ExitPolicyRejectPrivate. Instead, only reject
  10065. these (otherwise unlisted) addresses if
  10066. ExitPolicyRejectLocalInterfaces is set. Fixes bug 18456; bugfix on
  10067. 0.2.7.2-alpha. Patch by teor.
  10068. o Major bugfixes (hidden services):
  10069. - Allow Tor clients with appropriate controllers to work with
  10070. FetchHidServDescriptors set to 0. Previously, this option also
  10071. disabled descriptor cache lookup, thus breaking hidden services
  10072. entirely. Fixes bug 18704; bugfix on 0.2.0.20-rc. Patch by "twim".
  10073. - Clients now require hidden services to include the TAP keys for
  10074. their intro points in the hidden service descriptor. This prevents
  10075. an inadvertent upgrade to ntor, which a malicious hidden service
  10076. could use to distinguish clients by consensus version. Fixes bug
  10077. 20012; bugfix on 0.2.4.8-alpha. Patch by teor.
  10078. o Major bugfixes (relay, resolver, logging):
  10079. - For relays that don't know their own address, avoid attempting a
  10080. local hostname resolve for each descriptor we download. This
  10081. will cut down on the number of "Success: chose address 'x.x.x.x'"
  10082. log lines, and also avoid confusing clock jumps if the resolver
  10083. is slow. Fixes bugs 20423 and 20610; bugfix on 0.2.8.1-alpha.
  10084. o Minor features (port flags):
  10085. - Add new flags to the *Port options to give finer control over which
  10086. requests are allowed. The flags are NoDNSRequest, NoOnionTraffic,
  10087. and the synthetic flag OnionTrafficOnly, which is equivalent to
  10088. NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic. Closes enhancement
  10089. 18693; patch by "teor".
  10090. o Minor features (build, hardening):
  10091. - Detect and work around a libclang_rt problem that would prevent
  10092. clang from finding __mulodi4() on some 32-bit platforms, and thus
  10093. keep -ftrapv from linking on those systems. Closes ticket 19079.
  10094. - When building on a system without runtime support for the runtime
  10095. hardening options, try to log a useful warning at configuration
  10096. time, rather than an incomprehensible warning at link time. If
  10097. expensive hardening was requested, this warning becomes an error.
  10098. Closes ticket 18895.
  10099. o Minor features (client, directory):
  10100. - Since authorities now omit all routers that lack the Running and
  10101. Valid flags, we assume that any relay listed in the consensus must
  10102. have those flags. Closes ticket 20001; implements part of
  10103. proposal 272.
  10104. o Minor features (code safety):
  10105. - In our integer-parsing functions, ensure that the maximum value we
  10106. allow is no smaller than the minimum value. Closes ticket 19063;
  10107. patch from "U+039b".
  10108. o Minor features (compilation, portability):
  10109. - Compile correctly on MacOS 10.12 (aka "Sierra"). Closes
  10110. ticket 20241.
  10111. o Minor features (config):
  10112. - Warn users when descriptor and port addresses are inconsistent.
  10113. Mitigates bug 13953; patch by teor.
  10114. o Minor features (controller):
  10115. - Allow controllers to configure basic client authorization on
  10116. hidden services when they create them with the ADD_ONION controller
  10117. command. Implements ticket 15588. Patch by "special".
  10118. - Fire a STATUS_SERVER controller event whenever the hibernation
  10119. status changes between "awake"/"soft"/"hard". Closes ticket 18685.
  10120. - Implement new GETINFO queries for all downloads that use
  10121. download_status_t to schedule retries. This allows controllers to
  10122. examine the schedule for pending downloads. Closes ticket 19323.
  10123. o Minor features (development tools, etags):
  10124. - Teach the "make tags" Makefile target how to correctly find
  10125. "MOCK_IMPL" function definitions. Patch from nherring; closes
  10126. ticket 16869.
  10127. o Minor features (directory authority):
  10128. - After voting, if the authorities decide that a relay is not
  10129. "Valid", they no longer include it in the consensus at all. Closes
  10130. ticket 20002; implements part of proposal 272.
  10131. - Directory authorities now only give the Guard flag to a relay if
  10132. they are also giving it the Stable flag. This change allows us to
  10133. simplify path selection for clients. It should have minimal effect
  10134. in practice, since >99% of Guards already have the Stable flag.
  10135. Implements ticket 18624.
  10136. - Directory authorities now write their v3-status-votes file out to
  10137. disk earlier in the consensus process, so we have a record of the
  10138. votes even if we abort the consensus process. Resolves
  10139. ticket 19036.
  10140. o Minor features (fallback directory list, new since 0.2.9.7-rc):
  10141. - Replace the 81 remaining fallbacks of the 100 originally
  10142. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  10143. fallbacks (123 new, 54 existing, 27 removed) generated in December
  10144. 2016. Resolves ticket 20170.
  10145. o Minor features (hidden service):
  10146. - Stop being so strict about the payload length of "rendezvous1"
  10147. cells. We used to be locked in to the "TAP" handshake length, and
  10148. now we can handle better handshakes like "ntor". Resolves
  10149. ticket 18998.
  10150. o Minor features (infrastructure, time):
  10151. - Tor now includes an improved timer backend, so that we can
  10152. efficiently support tens or hundreds of thousands of concurrent
  10153. timers, as will be needed for some of our planned anti-traffic-
  10154. analysis work. This code is based on William Ahern's "timeout.c"
  10155. project, which implements a "tickless hierarchical timing wheel".
  10156. Closes ticket 18365.
  10157. - Tor now uses the operating system's monotonic timers (where
  10158. available) for internal fine-grained timing. Previously we would
  10159. look at the system clock, and then attempt to compensate for the
  10160. clock running backwards. Closes ticket 18908.
  10161. o Minor features (logging):
  10162. - Add a set of macros to check nonfatal assertions, for internal
  10163. use. Migrating more of our checks to these should help us avoid
  10164. needless crash bugs. Closes ticket 18613.
  10165. - Provide a more useful warning message when configured with an
  10166. invalid Nickname. Closes ticket 18300; patch from "icanhasaccount".
  10167. - When dumping unparseable router descriptors, optionally store them
  10168. in separate files, named by digest, up to a configurable size
  10169. limit. You can change the size limit by setting the
  10170. MaxUnparseableDescSizeToLog option, and disable this feature by
  10171. setting that option to 0. Closes ticket 18322.
  10172. o Minor features (performance):
  10173. - Change the "optimistic data" extension from "off by default" to
  10174. "on by default". The default was ordinarily overridden by a
  10175. consensus option, but when clients were bootstrapping for the
  10176. first time, they would not have a consensus to get the option
  10177. from. Changing this default saves a round-trip during startup.
  10178. Closes ticket 18815.
  10179. o Minor features (relay, usability):
  10180. - When the directory authorities refuse a bad relay's descriptor,
  10181. encourage the relay operator to contact us. Many relay operators
  10182. won't notice this line in their logs, but it's a win if even a few
  10183. learn why we don't like what their relay was doing. Resolves
  10184. ticket 18760.
  10185. o Minor features (security, TLS):
  10186. - Servers no longer support clients that lack AES ciphersuites.
  10187. (3DES is no longer considered an acceptable cipher.) We believe
  10188. that no such Tor clients currently exist, since Tor has required
  10189. OpenSSL 0.9.7 or later since 2009. Closes ticket 19998.
  10190. o Minor features (testing):
  10191. - Disable memory protections on OpenBSD when performing our unit
  10192. tests for memwipe(). The test deliberately invokes undefined
  10193. behavior, and the OpenBSD protections interfere with this. Patch
  10194. from "rubiate". Closes ticket 20066.
  10195. - Move the test-network.sh script to chutney, and modify tor's test-
  10196. network.sh to call the (newer) chutney version when available.
  10197. Resolves ticket 19116. Patch by teor.
  10198. - Use the lcov convention for marking lines as unreachable, so that
  10199. we don't count them when we're generating test coverage data.
  10200. Update our coverage tools to understand this convention. Closes
  10201. ticket 16792.
  10202. - Our link-handshake unit tests now check that when invalid
  10203. handshakes fail, they fail with the error messages we expected.
  10204. - Our unit testing code that captures log messages no longer
  10205. prevents them from being written out if the user asked for them
  10206. (by passing --debug or --info or --notice or --warn to the "test"
  10207. binary). This change prevents us from missing unexpected log
  10208. messages simply because we were looking for others. Related to
  10209. ticket 19999.
  10210. - The unit tests now log all warning messages with the "BUG" flag.
  10211. Previously, they only logged errors by default. This change will
  10212. help us make our testing code more correct, and make sure that we
  10213. only hit this code when we mean to. In the meantime, however,
  10214. there will be more warnings in the unit test logs than before.
  10215. This is preparatory work for ticket 19999.
  10216. - The unit tests now treat any failure of a "tor_assert_nonfatal()"
  10217. assertion as a test failure.
  10218. - We've done significant work to make the unit tests run faster.
  10219. o Minor features (testing, ipv6):
  10220. - Add the hs-ipv6 chutney target to make test-network-all's IPv6
  10221. tests. Remove bridges+hs, as it's somewhat redundant. This
  10222. requires a recent chutney version that supports IPv6 clients,
  10223. relays, and authorities. Closes ticket 20069; patch by teor.
  10224. - Add the single-onion and single-onion-ipv6 chutney targets to
  10225. "make test-network-all". This requires a recent chutney version
  10226. with the single onion network flavors (git c72a652 or later).
  10227. Closes ticket 20072; patch by teor.
  10228. o Minor features (Tor2web):
  10229. - Make Tor2web clients respect ReachableAddresses. This feature was
  10230. inadvertently enabled in 0.2.8.6, then removed by bugfix 19973 on
  10231. 0.2.8.7. Implements feature 20034. Patch by teor.
  10232. o Minor features (unix domain sockets):
  10233. - When configuring a unix domain socket for a SocksPort,
  10234. ControlPort, or Hidden service, you can now wrap the address in
  10235. quotes, using C-style escapes inside the quotes. This allows unix
  10236. domain socket paths to contain spaces. Resolves ticket 18753.
  10237. o Minor features (user interface):
  10238. - Tor now supports the ability to declare options deprecated, so
  10239. that we can recommend that people stop using them. Previously, this
  10240. was done in an ad-hoc way. There is a new --list-deprecated-options
  10241. command-line option to list all of the deprecated options. Closes
  10242. ticket 19820.
  10243. o Minor features (virtual addresses):
  10244. - Increase the maximum number of bits for the IPv6 virtual network
  10245. prefix from 16 to 104. In this way, the condition for address
  10246. allocation is less restrictive. Closes ticket 20151; feature
  10247. on 0.2.4.7-alpha.
  10248. o Minor bug fixes (circuits):
  10249. - Use the CircuitBuildTimeout option whenever
  10250. LearnCircuitBuildTimeout is disabled. Previously, we would respect
  10251. the option when a user disabled it, but not when it was disabled
  10252. because some other option was set. Fixes bug 20073; bugfix on
  10253. 0.2.4.12-alpha. Patch by teor.
  10254. o Minor bugfixes (build):
  10255. - The current Git revision when building from a local repository is
  10256. now detected correctly when using git worktrees. Fixes bug 20492;
  10257. bugfix on 0.2.3.9-alpha.
  10258. o Minor bugfixes (relay address discovery):
  10259. - Stop reordering IP addresses returned by the OS. This makes it
  10260. more likely that Tor will guess the same relay IP address every
  10261. time. Fixes issue 20163; bugfix on 0.2.7.1-alpha, ticket 17027.
  10262. Reported by René Mayrhofer, patch by "cypherpunks".
  10263. o Minor bugfixes (memory allocation):
  10264. - Change how we allocate memory for large chunks on buffers, to
  10265. avoid a (currently impossible) integer overflow, and to waste less
  10266. space when allocating unusually large chunks. Fixes bug 20081;
  10267. bugfix on 0.2.0.16-alpha. Issue identified by Guido Vranken.
  10268. o Minor bugfixes (bootstrap):
  10269. - Remember the directory server we fetched the consensus or previous
  10270. certificates from, and use it to fetch future authority
  10271. certificates. This change improves bootstrapping performance.
  10272. Fixes bug 18963; bugfix on 0.2.8.1-alpha.
  10273. o Minor bugfixes (circuits):
  10274. - Make sure extend_info_from_router() is only called on servers.
  10275. Fixes bug 19639; bugfix on 0.2.8.1-alpha.
  10276. o Minor bugfixes (client, fascistfirewall):
  10277. - Avoid spurious warnings when ReachableAddresses or FascistFirewall
  10278. is set. Fixes bug 20306; bugfix on 0.2.8.2-alpha.
  10279. o Minor bugfixes (client, unix domain sockets):
  10280. - Disable IsolateClientAddr when using AF_UNIX backed SocksPorts as
  10281. the client address is meaningless. Fixes bug 20261; bugfix
  10282. on 0.2.6.3-alpha.
  10283. o Minor bugfixes (code style):
  10284. - Fix an integer signedness conversion issue in the case conversion
  10285. tables. Fixes bug 19168; bugfix on 0.2.1.11-alpha.
  10286. o Minor bugfixes (compilation):
  10287. - Build correctly on versions of libevent2 without support for
  10288. evutil_secure_rng_add_bytes(). Fixes bug 19904; bugfix
  10289. on 0.2.5.4-alpha.
  10290. - When building with Clang, use a full set of GCC warnings.
  10291. (Previously, we included only a subset, because of the way we
  10292. detected them.) Fixes bug 19216; bugfix on 0.2.0.1-alpha.
  10293. - Detect Libevent2 functions correctly on systems that provide
  10294. libevent2, but where libevent1 is linked with -levent. Fixes bug
  10295. 19904; bugfix on 0.2.2.24-alpha. Patch from Rubiate.
  10296. - Run correctly when built on Windows build environments that
  10297. require _vcsprintf(). Fixes bug 20560; bugfix on 0.2.2.11-alpha.
  10298. o Minor bugfixes (configuration):
  10299. - When parsing quoted configuration values from the torrc file,
  10300. handle Windows line endings correctly. Fixes bug 19167; bugfix on
  10301. 0.2.0.16-alpha. Patch from "Pingl".
  10302. o Minor bugfixes (directory authority):
  10303. - Authorities now sort the "package" lines in their votes, for ease
  10304. of debugging. (They are already sorted in consensus documents.)
  10305. Fixes bug 18840; bugfix on 0.2.6.3-alpha.
  10306. - Die with a more useful error when the operator forgets to place
  10307. the authority_signing_key file into the keys directory. This
  10308. avoids an uninformative assert & traceback about having an invalid
  10309. key. Fixes bug 20065; bugfix on 0.2.0.1-alpha.
  10310. - When allowing private addresses, mark Exits that only exit to
  10311. private locations as such. Fixes bug 20064; bugfix
  10312. on 0.2.2.9-alpha.
  10313. - When parsing a detached signature, make sure we use the length of
  10314. the digest algorithm instead of a hardcoded DIGEST256_LEN in
  10315. order to avoid comparing bytes out-of-bounds with a smaller digest
  10316. length such as SHA1. Fixes bug 19066; bugfix on 0.2.2.6-alpha.
  10317. o Minor bugfixes (getpass):
  10318. - Defensively fix a non-triggerable heap corruption at do_getpass()
  10319. to protect ourselves from mistakes in the future. Fixes bug
  10320. 19223; bugfix on 0.2.7.3-rc. Bug found by Guido Vranken, patch
  10321. by nherring.
  10322. o Minor bugfixes (guard selection):
  10323. - Don't mark guards as unreachable if connection_connect() fails.
  10324. That function fails for local reasons, so it shouldn't reveal
  10325. anything about the status of the guard. Fixes bug 14334; bugfix
  10326. on 0.2.3.10-alpha.
  10327. - Use a single entry guard even if the NumEntryGuards consensus
  10328. parameter is not provided. Fixes bug 17688; bugfix
  10329. on 0.2.5.6-alpha.
  10330. o Minor bugfixes (hidden services):
  10331. - Increase the minimum number of internal circuits we preemptively
  10332. build from 2 to 3, so a circuit is available when a client
  10333. connects to another onion service. Fixes bug 13239; bugfix
  10334. on 0.1.0.1-rc.
  10335. - Allow hidden services to run on IPv6 addresses even when the
  10336. IPv6Exit option is not set. Fixes bug 18357; bugfix
  10337. on 0.2.4.7-alpha.
  10338. - Stop logging intro point details to the client log on certain
  10339. error conditions. Fixed as part of bug 20012; bugfix on
  10340. 0.2.4.8-alpha. Patch by teor.
  10341. - When deleting an ephemeral hidden service, close its intro points
  10342. even if they are not completely open. Fixes bug 18604; bugfix
  10343. on 0.2.7.1-alpha.
  10344. - When configuring hidden services, check every hidden service
  10345. directory's permissions. Previously, we only checked the last
  10346. hidden service. Fixes bug 20529; bugfix on 0.2.6.2-alpha.
  10347. o Minor bugfixes (IPv6, testing):
  10348. - Check for IPv6 correctly on Linux when running test networks.
  10349. Fixes bug 19905; bugfix on 0.2.7.3-rc; patch by teor.
  10350. o Minor bugfixes (Linux seccomp2 sandbox):
  10351. - Add permission to run the sched_yield() and sigaltstack() system
  10352. calls, in order to support versions of Tor compiled with asan or
  10353. ubsan code that use these calls. Now "sandbox 1" and
  10354. "--enable-expensive-hardening" should be compatible on more
  10355. systems. Fixes bug 20063; bugfix on 0.2.5.1-alpha.
  10356. o Minor bugfixes (logging):
  10357. - Downgrade a harmless log message about the
  10358. pending_entry_connections list from "warn" to "info". Mitigates
  10359. bug 19926.
  10360. - Log a more accurate message when we fail to dump a microdescriptor.
  10361. Fixes bug 17758; bugfix on 0.2.2.8-alpha. Patch from Daniel Pinto.
  10362. - When logging a directory ownership mismatch, log the owning
  10363. username correctly. Fixes bug 19578; bugfix on 0.2.2.29-beta.
  10364. - When we are unable to remove the bw_accounting file, do not warn
  10365. if the reason we couldn't remove it was that it didn't exist.
  10366. Fixes bug 19964; bugfix on 0.2.5.4-alpha. Patch from pastly.
  10367. o Minor bugfixes (memory leak):
  10368. - Fix a series of slow memory leaks related to parsing torrc files
  10369. and options. Fixes bug 19466; bugfix on 0.2.1.6-alpha.
  10370. - Avoid a small memory leak when informing worker threads about
  10371. rotated onion keys. Fixes bug 20401; bugfix on 0.2.6.3-alpha.
  10372. - Fix a small memory leak when receiving AF_UNIX connections on a
  10373. SocksPort. Fixes bug 20716; bugfix on 0.2.6.3-alpha.
  10374. - When moving a signed descriptor object from a source to an
  10375. existing destination, free the allocated memory inside that
  10376. destination object. Fixes bug 20715; bugfix on 0.2.8.3-alpha.
  10377. - Fix a memory leak and use-after-free error when removing entries
  10378. from the sandbox's getaddrinfo() cache. Fixes bug 20710; bugfix on
  10379. 0.2.5.5-alpha. Patch from "cypherpunks".
  10380. - Fix a small, uncommon memory leak that could occur when reading a
  10381. truncated ed25519 key file. Fixes bug 18956; bugfix
  10382. on 0.2.6.1-alpha.
  10383. o Minor bugfixes (option parsing):
  10384. - Count unix sockets when counting client listeners (SOCKS, Trans,
  10385. NATD, and DNS). This has no user-visible behavior changes: these
  10386. options are set once, and never read. Required for correct
  10387. behavior in ticket 17178. Fixes bug 19677; bugfix on
  10388. 0.2.6.3-alpha. Patch by teor.
  10389. o Minor bugfixes (options):
  10390. - Check the consistency of UseEntryGuards and EntryNodes more
  10391. reliably. Fixes bug 20074; bugfix on 0.2.4.12-alpha. Patch
  10392. by teor.
  10393. - Stop changing the configured value of UseEntryGuards on
  10394. authorities and Tor2web clients. Fixes bug 20074; bugfix on
  10395. commits 51fc6799 in 0.1.1.16-rc and acda1735 in 0.2.4.3-alpha.
  10396. Patch by teor.
  10397. o Minor bugfixes (relay):
  10398. - Ensure relays don't make multiple connections during bootstrap.
  10399. Fixes bug 20591; bugfix on 0.2.8.1-alpha.
  10400. - Do not try to parallelize workers more than 16x without the user
  10401. explicitly configuring us to do so, even if we do detect more than
  10402. 16 CPU cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  10403. o Minor bugfixes (testing):
  10404. - The test-stem and test-network makefile targets now depend only on
  10405. the tor binary that they are testing. Previously, they depended on
  10406. "make all". Fixes bug 18240; bugfix on 0.2.8.2-alpha. Based on a
  10407. patch from "cypherpunks".
  10408. - Allow clients to retry HSDirs much faster in test networks. Fixes
  10409. bug 19702; bugfix on 0.2.7.1-alpha. Patch by teor.
  10410. - Avoid a unit test failure on systems with over 16 detectable CPU
  10411. cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  10412. - Let backtrace tests work correctly under AddressSanitizer:
  10413. disable ASAN's detection of segmentation faults while running
  10414. test_bt.sh, so that we can make sure that our own backtrace
  10415. generation code works. Fixes bug 18934; bugfix
  10416. on 0.2.5.2-alpha. Patch from "cypherpunks".
  10417. - Fix the test-network-all target on out-of-tree builds by using the
  10418. correct path to the test driver script. Fixes bug 19421; bugfix
  10419. on 0.2.7.3-rc.
  10420. - Stop spurious failures in the local interface address discovery
  10421. unit tests. Fixes bug 20634; bugfix on 0.2.8.1-alpha; patch by
  10422. Neel Chauhan.
  10423. - Use ECDHE ciphers instead of ECDH in tortls tests. LibreSSL has
  10424. removed the ECDH ciphers which caused the tests to fail on
  10425. platforms which use it. Fixes bug 20460; bugfix on 0.2.8.1-alpha.
  10426. - The tor_tls_server_info_callback unit test no longer crashes when
  10427. debug-level logging is turned on. Fixes bug 20041; bugfix
  10428. on 0.2.8.1-alpha.
  10429. o Minor bugfixes (time):
  10430. - Improve overflow checks in tv_udiff and tv_mdiff. Fixes bug 19483;
  10431. bugfix on all released tor versions.
  10432. - When computing the difference between two times in milliseconds,
  10433. we now round to the nearest millisecond correctly. Previously, we
  10434. could sometimes round in the wrong direction. Fixes bug 19428;
  10435. bugfix on 0.2.2.2-alpha.
  10436. o Minor bugfixes (Tor2web):
  10437. - Prevent Tor2web clients from running hidden services: these services
  10438. are not anonymous due to the one-hop client paths. Fixes bug
  10439. 19678. Patch by teor.
  10440. o Minor bugfixes (user interface):
  10441. - Display a more accurate number of suppressed messages in the log
  10442. rate-limiter. Previously, there was a potential integer overflow
  10443. in the counter. Now, if the number of messages hits a maximum, the
  10444. rate-limiter doesn't count any further. Fixes bug 19435; bugfix
  10445. on 0.2.4.11-alpha.
  10446. - Fix a typo in the passphrase prompt for the ed25519 identity key.
  10447. Fixes bug 19503; bugfix on 0.2.7.2-alpha.
  10448. o Code simplification and refactoring:
  10449. - Remove redundant declarations of the MIN macro. Closes
  10450. ticket 18889.
  10451. - Rename tor_dup_addr() to tor_addr_to_str_dup() to avoid confusion.
  10452. Closes ticket 18462; patch from "icanhasaccount".
  10453. - Split the 600-line directory_handle_command_get function into
  10454. separate functions for different URL types. Closes ticket 16698.
  10455. o Documentation:
  10456. - Add module-level internal documentation for 36 C files that
  10457. previously didn't have a high-level overview. Closes ticket 20385.
  10458. - Correct the IPv6 syntax in our documentation for the
  10459. VirtualAddrNetworkIPv6 torrc option. Closes ticket 19743.
  10460. - Correct the minimum bandwidth value in torrc.sample, and queue a
  10461. corresponding change for torrc.minimal. Closes ticket 20085.
  10462. - Fix spelling of "--enable-tor2web-mode" in the manpage. Closes
  10463. ticket 19153. Patch from "U+039b".
  10464. - Module-level documentation for several more modules. Closes
  10465. tickets 19287 and 19290.
  10466. - Document the --passphrase-fd option in the tor manpage. Fixes bug
  10467. 19504; bugfix on 0.2.7.3-rc.
  10468. - Document the default PathsNeededToBuildCircuits value that's used
  10469. by clients when the directory authorities don't set
  10470. min_paths_for_circs_pct. Fixes bug 20117; bugfix on 0.2.4.10-alpha.
  10471. Patch by teor, reported by Jesse V.
  10472. - Fix manual for the User option: it takes a username, not a UID.
  10473. Fixes bug 19122; bugfix on 0.0.2pre16 (the first version to have
  10474. a manpage!).
  10475. - Fix the description of the --passphrase-fd option in the
  10476. tor-gencert manpage. The option is used to pass the number of a
  10477. file descriptor to read the passphrase from, not to read the file
  10478. descriptor from. Fixes bug 19505; bugfix on 0.2.0.20-alpha.
  10479. o Removed code:
  10480. - We no longer include the (dead, deprecated) bufferevent code in
  10481. Tor. Closes ticket 19450. Based on a patch from "U+039b".
  10482. o Removed features:
  10483. - Remove support for "GET /tor/bytes.txt" DirPort request, and
  10484. "GETINFO dir-usage" controller request, which were only available
  10485. via a compile-time option in Tor anyway. Feature was added in
  10486. 0.2.2.1-alpha. Resolves ticket 19035.
  10487. - There is no longer a compile-time option to disable support for
  10488. TransPort. (If you don't want TransPort, just don't use it.) Patch
  10489. from "U+039b". Closes ticket 19449.
  10490. o Testing:
  10491. - Run more workqueue tests as part of "make check". These had
  10492. previously been implemented, but you needed to know special
  10493. command-line options to enable them.
  10494. - We now have unit tests for our code to reject zlib "compression
  10495. bombs". (Fortunately, the code works fine.)
  10496. Changes in version 0.2.8.11 - 2016-12-08
  10497. Tor 0.2.8.11 backports fixes for additional portability issues that
  10498. could prevent Tor from building correctly on OSX Sierra, or with
  10499. OpenSSL 1.1. Affected users should upgrade; others can safely stay
  10500. with 0.2.8.10.
  10501. o Minor bugfixes (portability):
  10502. - Avoid compilation errors when building on OSX Sierra. Sierra began
  10503. to support the getentropy() and clock_gettime() APIs, but created
  10504. a few problems in doing so. Tor 0.2.9 has a more thorough set of
  10505. workarounds; in 0.2.8, we are just using the /dev/urandom and mach
  10506. monotonic time interfaces. Fixes bug 20865. Bugfix
  10507. on 0.2.8.1-alpha.
  10508. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  10509. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  10510. architectures. Closes ticket 20588.
  10511. Changes in version 0.2.8.10 - 2016-12-02
  10512. Tor 0.2.8.10 backports a fix for a bug that would sometimes make clients
  10513. unusable after they left standby mode. It also backports fixes for
  10514. a few portability issues and a small but problematic memory leak.
  10515. o Major bugfixes (client reliability, backport from 0.2.9.5-alpha):
  10516. - When Tor leaves standby because of a new application request, open
  10517. circuits as needed to serve that request. Previously, we would
  10518. potentially wait a very long time. Fixes part of bug 19969; bugfix
  10519. on 0.2.8.1-alpha.
  10520. o Major bugfixes (client performance, backport from 0.2.9.5-alpha):
  10521. - Clients now respond to new application stream requests immediately
  10522. when they arrive, rather than waiting up to one second before
  10523. starting to handle them. Fixes part of bug 19969; bugfix
  10524. on 0.2.8.1-alpha.
  10525. o Minor bugfixes (portability, backport from 0.2.9.6-rc):
  10526. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  10527. successfully targeting earlier versions of OSX. Resolves
  10528. ticket 20235.
  10529. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  10530. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  10531. 20551; bugfix on 0.2.1.1-alpha.
  10532. o Minor bugfixes (relay, backport from 0.2.9.5-alpha):
  10533. - Work around a memory leak in OpenSSL 1.1 when encoding public
  10534. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  10535. o Minor features (geoip):
  10536. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  10537. Country database.
  10538. Changes in version 0.2.8.9 - 2016-10-17
  10539. Tor 0.2.8.9 backports a fix for a security hole in previous versions
  10540. of Tor that would allow a remote attacker to crash a Tor client,
  10541. hidden service, relay, or authority. All Tor users should upgrade to
  10542. this version, or to 0.2.9.4-alpha. Patches will be released for older
  10543. versions of Tor.
  10544. o Major features (security fixes, also in 0.2.9.4-alpha):
  10545. - Prevent a class of security bugs caused by treating the contents
  10546. of a buffer chunk as if they were a NUL-terminated string. At
  10547. least one such bug seems to be present in all currently used
  10548. versions of Tor, and would allow an attacker to remotely crash
  10549. most Tor instances, especially those compiled with extra compiler
  10550. hardening. With this defense in place, such bugs can't crash Tor,
  10551. though we should still fix them as they occur. Closes ticket
  10552. 20384 (TROVE-2016-10-001).
  10553. o Minor features (geoip):
  10554. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  10555. Country database.
  10556. Changes in version 0.2.8.8 - 2016-09-23
  10557. Tor 0.2.8.8 fixes two crash bugs present in previous versions of the
  10558. 0.2.8.x series. Relays running 0.2.8.x should upgrade, as should users
  10559. who select public relays as their bridges.
  10560. o Major bugfixes (crash):
  10561. - Fix a complicated crash bug that could affect Tor clients
  10562. configured to use bridges when replacing a networkstatus consensus
  10563. in which one of their bridges was mentioned. OpenBSD users saw
  10564. more crashes here, but all platforms were potentially affected.
  10565. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  10566. o Major bugfixes (relay, OOM handler):
  10567. - Fix a timing-dependent assertion failure that could occur when we
  10568. tried to flush from a circuit after having freed its cells because
  10569. of an out-of-memory condition. Fixes bug 20203; bugfix on
  10570. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  10571. this one.
  10572. o Minor feature (fallback directories):
  10573. - Remove broken fallbacks from the hard-coded fallback directory
  10574. list. Closes ticket 20190; patch by teor.
  10575. o Minor features (geoip):
  10576. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  10577. Country database.
  10578. Changes in version 0.2.8.7 - 2016-08-24
  10579. Tor 0.2.8.7 fixes an important bug related to the ReachableAddresses
  10580. option in 0.2.8.6, and replaces a retiring bridge authority. Everyone
  10581. who sets the ReachableAddresses option, and all bridges, are strongly
  10582. encouraged to upgrade.
  10583. o Directory authority changes:
  10584. - The "Tonga" bridge authority has been retired; the new bridge
  10585. authority is "Bifroest". Closes tickets 19728 and 19690.
  10586. o Major bugfixes (client, security):
  10587. - Only use the ReachableAddresses option to restrict the first hop
  10588. in a path. In earlier versions of 0.2.8.x, it would apply to
  10589. every hop in the path, with a possible degradation in anonymity
  10590. for anyone using an uncommon ReachableAddress setting. Fixes bug
  10591. 19973; bugfix on 0.2.8.2-alpha.
  10592. o Minor features (geoip):
  10593. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  10594. Country database.
  10595. o Minor bugfixes (compilation):
  10596. - Remove an inappropriate "inline" in tortls.c that was causing
  10597. warnings on older versions of GCC. Fixes bug 19903; bugfix
  10598. on 0.2.8.1-alpha.
  10599. o Minor bugfixes (fallback directories):
  10600. - Avoid logging a NULL string pointer when loading fallback
  10601. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  10602. and 0.2.8.1-alpha. Report and patch by "rubiate".
  10603. Changes in version 0.2.8.6 - 2016-08-02
  10604. Tor 0.2.8.6 is the first stable version of the Tor 0.2.8 series.
  10605. The Tor 0.2.8 series improves client bootstrapping performance,
  10606. completes the authority-side implementation of improved identity
  10607. keys for relays, and includes numerous bugfixes and performance
  10608. improvements throughout the program. This release continues to
  10609. improve the coverage of Tor's test suite. For a full list of
  10610. changes since Tor 0.2.7, see the ReleaseNotes file.
  10611. Below is a list of the changes since Tor 0.2.7.
  10612. o New system requirements:
  10613. - Tor no longer attempts to support platforms where the "time_t"
  10614. type is unsigned. (To the best of our knowledge, only OpenVMS does
  10615. this, and Tor has never actually built on OpenVMS.) Closes
  10616. ticket 18184.
  10617. - Tor no longer supports versions of OpenSSL with a broken
  10618. implementation of counter mode. (This bug was present in OpenSSL
  10619. 1.0.0, and was fixed in OpenSSL 1.0.0a.) Tor still detects, but no
  10620. longer runs with, these versions.
  10621. - Tor now uses Autoconf version 2.63 or later, and Automake 1.11 or
  10622. later (released in 2008 and 2009 respectively). If you are
  10623. building Tor from the git repository instead of from the source
  10624. distribution, and your tools are older than this, you will need to
  10625. upgrade. Closes ticket 17732.
  10626. o Directory authority changes:
  10627. - Update the V3 identity key for the dannenberg directory authority:
  10628. it was changed on 18 November 2015. Closes task 17906. Patch
  10629. by teor.
  10630. - Urras is no longer a directory authority. Closes ticket 19271.
  10631. o Major features (directory system):
  10632. - Include a trial list of default fallback directories, based on an
  10633. opt-in survey of suitable relays. Doing this should make clients
  10634. bootstrap more quickly and reliably, and reduce the load on the
  10635. directory authorities. Closes ticket 15775. Patch by teor.
  10636. Candidates identified using an OnionOO script by weasel, teor,
  10637. gsathya, and karsten.
  10638. - Previously only relays that explicitly opened a directory port
  10639. (DirPort) accepted directory requests from clients. Now all
  10640. relays, with and without a DirPort, accept and serve tunneled
  10641. directory requests that they receive through their ORPort. You can
  10642. disable this behavior using the new DirCache option. Closes
  10643. ticket 12538.
  10644. - When bootstrapping multiple consensus downloads at a time, use the
  10645. first one that starts downloading, and close the rest. This
  10646. reduces failures when authorities or fallback directories are slow
  10647. or down. Together with the code for feature 15775, this feature
  10648. should reduces failures due to fallback churn. Implements ticket
  10649. 4483. Patch by teor. Implements IPv4 portions of proposal 210 by
  10650. mikeperry and teor.
  10651. o Major features (security, Linux):
  10652. - When Tor starts as root on Linux and is told to switch user ID, it
  10653. can now retain the capability to bind to low ports. By default,
  10654. Tor will do this only when it's switching user ID and some low
  10655. ports have been configured. You can change this behavior with the
  10656. new option KeepBindCapabilities. Closes ticket 8195.
  10657. o Major bugfixes (client, bootstrapping):
  10658. - Check if bootstrap consensus downloads are still needed when the
  10659. linked connection attaches. This prevents tor making unnecessary
  10660. begindir-style connections, which are the only directory
  10661. connections tor clients make since the fix for 18483 was merged.
  10662. - Fix some edge cases where consensus download connections may not
  10663. have been closed, even though they were not needed. Related to fix
  10664. for 18809.
  10665. - Make relays retry consensus downloads the correct number of times,
  10666. rather than the more aggressive client retry count. Fixes part of
  10667. ticket 18809.
  10668. o Major bugfixes (dns proxy mode, crash):
  10669. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  10670. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  10671. o Major bugfixes (ed25519, voting):
  10672. - Actually enable support for authorities to match routers by their
  10673. Ed25519 identities. Previously, the code had been written, but
  10674. some debugging code that had accidentally been left in the
  10675. codebase made it stay turned off. Fixes bug 17702; bugfix
  10676. on 0.2.7.2-alpha.
  10677. - When collating votes by Ed25519 identities, authorities now
  10678. include a "NoEdConsensus" flag if the ed25519 value (or lack
  10679. thereof) for a server does not reflect the majority consensus.
  10680. Related to bug 17668; bugfix on 0.2.7.2-alpha.
  10681. - When generating a vote with keypinning disabled, never include two
  10682. entries for the same ed25519 identity. This bug was causing
  10683. authorities to generate votes that they could not parse when a
  10684. router violated key pinning by changing its RSA identity but
  10685. keeping its Ed25519 identity. Fixes bug 17668; fixes part of bug
  10686. 18318. Bugfix on 0.2.7.2-alpha.
  10687. o Major bugfixes (key management):
  10688. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  10689. pointer to the previous (uninitialized) key value. The impact here
  10690. should be limited to a difficult-to-trigger crash, if OpenSSL is
  10691. running an engine that makes key generation failures possible, or
  10692. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  10693. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  10694. Baishakhi Ray.
  10695. o Major bugfixes (security, client, DNS proxy):
  10696. - Stop a crash that could occur when a client running with DNSPort
  10697. received a query with multiple address types, and the first
  10698. address type was not supported. Found and fixed by Scott Dial.
  10699. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  10700. o Major bugfixes (security, compilation):
  10701. - Correctly detect compiler flags on systems where _FORTIFY_SOURCE
  10702. is predefined. Previously, our use of -D_FORTIFY_SOURCE would
  10703. cause a compiler warning, thereby making other checks fail, and
  10704. needlessly disabling compiler-hardening support. Fixes one case of
  10705. bug 18841; bugfix on 0.2.3.17-beta. Patch from "trudokal".
  10706. - Repair hardened builds under the clang compiler. Previously, our
  10707. use of _FORTIFY_SOURCE would conflict with clang's address
  10708. sanitizer. Fixes bug 14821; bugfix on 0.2.5.4-alpha.
  10709. o Major bugfixes (security, pointers):
  10710. - Avoid a difficult-to-trigger heap corruption attack when extending
  10711. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  10712. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  10713. Reported by Guido Vranken.
  10714. o Major bugfixes (testing):
  10715. - Fix a bug that would block 'make test-network-all' on systems where
  10716. IPv6 packets were lost. Fixes bug 19008; bugfix on 0.2.7.3-rc.
  10717. o Major bugfixes (user interface):
  10718. - Correctly give a warning in the cases where a relay is specified
  10719. by nickname, and one such relay is found, but it is not officially
  10720. Named. Fixes bug 19203; bugfix on 0.2.3.1-alpha.
  10721. o Minor features (accounting):
  10722. - Added two modes to the AccountingRule option: One for limiting
  10723. only the number of bytes sent ("AccountingRule out"), and one for
  10724. limiting only the number of bytes received ("AccountingRule in").
  10725. Closes ticket 15989; patch from "unixninja92".
  10726. o Minor features (bug-resistance):
  10727. - Make Tor survive errors involving connections without a
  10728. corresponding event object. Previously we'd fail with an
  10729. assertion; now we produce a log message. Related to bug 16248.
  10730. - Use tor_snprintf() and tor_vsnprintf() even in external and low-
  10731. level code, to harden against accidental failures to NUL-
  10732. terminate. Part of ticket 17852. Patch from jsturgix. Found
  10733. with Flawfinder.
  10734. o Minor features (build):
  10735. - Detect systems with FreeBSD-derived kernels (such as GNU/kFreeBSD)
  10736. as having possible IPFW support. Closes ticket 18448. Patch from
  10737. Steven Chamberlain.
  10738. - Since our build process now uses "make distcheck", we no longer
  10739. force "make dist" to depend on "make check". Closes ticket 17893;
  10740. patch from "cypherpunks".
  10741. - Tor now builds once again with the recent OpenSSL 1.1 development
  10742. branch (tested against 1.1.0-pre5 and 1.1.0-pre6-dev). We have been
  10743. tracking OpenSSL 1.1 development as it has progressed, and fixing
  10744. numerous compatibility issues as they arose. See tickets
  10745. 17549, 17921, 17984, 19499, and 18286.
  10746. - When building manual pages, set the timezone to "UTC", so that the
  10747. output is reproducible. Fixes bug 19558; bugfix on 0.2.2.9-alpha.
  10748. Patch from intrigeri.
  10749. o Minor features (clients):
  10750. - Make clients, onion services, and bridge relays always use an
  10751. encrypted begindir connection for directory requests. Resolves
  10752. ticket 18483. Patch by teor.
  10753. o Minor features (controller):
  10754. - Add 'GETINFO exit-policy/reject-private/[default,relay]', so
  10755. controllers can examine the the reject rules added by
  10756. ExitPolicyRejectPrivate. This makes it easier for stem to display
  10757. exit policies.
  10758. - Adds the FallbackDir entries to 'GETINFO config/defaults'. Closes
  10759. tickets 16774 and 17817. Patch by George Tankersley.
  10760. - New 'GETINFO hs/service/desc/id/' command to retrieve a hidden
  10761. service descriptor from a service's local hidden service
  10762. descriptor cache. Closes ticket 14846.
  10763. o Minor features (crypto):
  10764. - Add SHA3 and SHAKE support to crypto.c. Closes ticket 17783.
  10765. - Add SHA512 support to crypto.c. Closes ticket 17663; patch from
  10766. George Tankersley.
  10767. - Improve performance when hashing non-multiple of 8 sized buffers,
  10768. based on Andrew Moon's public domain SipHash-2-4 implementation.
  10769. Fixes bug 17544; bugfix on 0.2.5.3-alpha.
  10770. - Validate the hard-coded Diffie-Hellman parameters and ensure that
  10771. p is a safe prime, and g is a suitable generator. Closes
  10772. ticket 18221.
  10773. - When allocating a digest state object, allocate no more space than
  10774. we actually need. Previously, we would allocate as much space as
  10775. the state for the largest algorithm would need. This change saves
  10776. up to 672 bytes per circuit. Closes ticket 17796.
  10777. o Minor features (directory downloads):
  10778. - Add UseDefaultFallbackDirs, which enables any hard-coded fallback
  10779. directory mirrors. The default is 1; set it to 0 to disable
  10780. fallbacks. Implements ticket 17576. Patch by teor.
  10781. - Wait for busy authorities and fallback directories to become non-
  10782. busy when bootstrapping. (A similar change was made in 6c443e987d
  10783. for directory caches chosen from the consensus.) Closes ticket
  10784. 17864; patch by teor.
  10785. o Minor features (geoip):
  10786. - Update geoip and geoip6 to the July 6 2016 Maxmind GeoLite2
  10787. Country database.
  10788. o Minor features (hidden service directory):
  10789. - Streamline relay-side hsdir handling: when relays consider whether
  10790. to accept an uploaded hidden service descriptor, they no longer
  10791. check whether they are one of the relays in the network that is
  10792. "supposed" to handle that descriptor. Implements ticket 18332.
  10793. o Minor features (IPv6):
  10794. - Add ClientPreferIPv6DirPort, which is set to 0 by default. If set
  10795. to 1, tor prefers IPv6 directory addresses.
  10796. - Add ClientUseIPv4, which is set to 1 by default. If set to 0, tor
  10797. avoids using IPv4 for client OR and directory connections.
  10798. - Add address policy assume_action support for IPv6 addresses.
  10799. - Add an argument 'ipv6=address:orport' to the DirAuthority and
  10800. FallbackDir torrc options, to specify an IPv6 address for an
  10801. authority or fallback directory. Add hard-coded ipv6 addresses for
  10802. directory authorities that have them. Closes ticket 17327; patch
  10803. from Nick Mathewson and teor.
  10804. - Allow users to configure directory authorities and fallback
  10805. directory servers with IPv6 addresses and ORPorts. Resolves
  10806. ticket 6027.
  10807. - Limit IPv6 mask bits to 128.
  10808. - Make tor_ersatz_socketpair work on IPv6-only systems. Fixes bug
  10809. 17638; bugfix on 0.0.2pre8. Patch by teor.
  10810. - Try harder to obey the IP version restrictions "ClientUseIPv4 0",
  10811. "ClientUseIPv6 0", "ClientPreferIPv6ORPort", and
  10812. "ClientPreferIPv6DirPort". Closes ticket 17840; patch by teor.
  10813. - Warn when comparing against an AF_UNSPEC address in a policy, it's
  10814. almost always a bug. Closes ticket 17863; patch by teor.
  10815. - routerset_parse now accepts IPv6 literal addresses. Fixes bug
  10816. 17060; bugfix on 0.2.1.3-alpha. Patch by teor.
  10817. o Minor features (Linux seccomp2 sandbox):
  10818. - Reject attempts to change our Address with "Sandbox 1" enabled.
  10819. Changing Address with Sandbox turned on would never actually work,
  10820. but previously it would fail in strange and confusing ways. Found
  10821. while fixing 18548.
  10822. o Minor features (logging):
  10823. - When logging to syslog, allow a tag to be added to the syslog
  10824. identity (the string prepended to every log message). The tag can
  10825. be configured with SyslogIdentityTag and defaults to none. Setting
  10826. it to "foo" will cause logs to be tagged as "Tor-foo". Closes
  10827. ticket 17194.
  10828. o Minor features (portability):
  10829. - Use timingsafe_memcmp() where available. Closes ticket 17944;
  10830. patch from <logan@hackers.mu>.
  10831. o Minor features (relay, address discovery):
  10832. - Add a family argument to get_interface_addresses_raw() and
  10833. subfunctions to make network interface address interogation more
  10834. efficient. Now Tor can specifically ask for IPv4, IPv6 or both
  10835. types of interfaces from the operating system. Resolves
  10836. ticket 17950.
  10837. - When get_interface_address6_list(.,AF_UNSPEC,.) is called and
  10838. fails to enumerate interface addresses using the platform-specific
  10839. API, have it rely on the UDP socket fallback technique to try and
  10840. find out what IP addresses (both IPv4 and IPv6) our machine has.
  10841. Resolves ticket 17951.
  10842. o Minor features (replay cache):
  10843. - The replay cache now uses SHA256 instead of SHA1. Implements
  10844. feature 8961. Patch by teor, issue reported by rransom.
  10845. o Minor features (robustness):
  10846. - Exit immediately with an error message if the code attempts to use
  10847. Libevent without having initialized it. This should resolve some
  10848. frequently-made mistakes in our unit tests. Closes ticket 18241.
  10849. o Minor features (security, clock):
  10850. - Warn when the system clock appears to move back in time (when the
  10851. state file was last written in the future). Tor doesn't know that
  10852. consensuses have expired if the clock is in the past. Patch by
  10853. teor. Implements ticket 17188.
  10854. o Minor features (security, exit policies):
  10855. - ExitPolicyRejectPrivate now rejects more private addresses by
  10856. default. Specifically, it now rejects the relay's outbound bind
  10857. addresses (if configured), and the relay's configured port
  10858. addresses (such as ORPort and DirPort). Fixes bug 17027; bugfix on
  10859. 0.2.0.11-alpha. Patch by teor.
  10860. o Minor features (security, memory erasure):
  10861. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  10862. zero size. Check size argument to memwipe() for underflow. Fixes
  10863. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  10864. patch by teor.
  10865. - Set the unused entries in a smartlist to NULL. This helped catch
  10866. a (harmless) bug, and shouldn't affect performance too much.
  10867. Implements ticket 17026.
  10868. - Use SecureMemoryWipe() function to securely clean memory on
  10869. Windows. Previously we'd use OpenSSL's OPENSSL_cleanse() function.
  10870. Implements feature 17986.
  10871. - Use explicit_bzero or memset_s when present. Previously, we'd use
  10872. OpenSSL's OPENSSL_cleanse() function. Closes ticket 7419; patches
  10873. from <logan@hackers.mu> and <selven@hackers.mu>.
  10874. o Minor features (security, RNG):
  10875. - Adjust Tor's use of OpenSSL's RNG APIs so that they absolutely,
  10876. positively are not allowed to fail. Previously we depended on
  10877. internal details of OpenSSL's behavior. Closes ticket 17686.
  10878. - Never use the system entropy output directly for anything besides
  10879. seeding the PRNG. When we want to generate important keys, instead
  10880. of using system entropy directly, we now hash it with the PRNG
  10881. stream. This may help resist certain attacks based on broken OS
  10882. entropy implementations. Closes part of ticket 17694.
  10883. - Use modern system calls (like getentropy() or getrandom()) to
  10884. generate strong entropy on platforms that have them. Closes
  10885. ticket 13696.
  10886. o Minor features (security, win32):
  10887. - Set SO_EXCLUSIVEADDRUSE on Win32 to avoid a local port-stealing
  10888. attack. Fixes bug 18123; bugfix on all tor versions. Patch
  10889. by teor.
  10890. o Minor features (unix domain sockets):
  10891. - Add a new per-socket option, RelaxDirModeCheck, to allow creating
  10892. Unix domain sockets without checking the permissions on the parent
  10893. directory. (Tor checks permissions by default because some
  10894. operating systems only check permissions on the parent directory.
  10895. However, some operating systems do look at permissions on the
  10896. socket, and tor's default check is unneeded.) Closes ticket 18458.
  10897. Patch by weasel.
  10898. o Minor features (unix file permissions):
  10899. - Defer creation of Unix sockets until after setuid. This avoids
  10900. needing CAP_CHOWN and CAP_FOWNER when using systemd's
  10901. CapabilityBoundingSet, or chown and fowner when using SELinux.
  10902. Implements part of ticket 17562. Patch from Jamie Nguyen.
  10903. - If any directory created by Tor is marked as group readable, the
  10904. filesystem group is allowed to be either the default GID or the
  10905. root user. Allowing root to read the DataDirectory prevents the
  10906. need for CAP_READ_SEARCH when using systemd's
  10907. CapabilityBoundingSet, or dac_read_search when using SELinux.
  10908. Implements part of ticket 17562. Patch from Jamie Nguyen.
  10909. - Introduce a new DataDirectoryGroupReadable option. If it is set to
  10910. 1, the DataDirectory will be made readable by the default GID.
  10911. Implements part of ticket 17562. Patch from Jamie Nguyen.
  10912. o Minor bugfixes (accounting):
  10913. - The max bandwidth when using 'AccountRule sum' is now correctly
  10914. logged. Fixes bug 18024; bugfix on 0.2.6.1-alpha. Patch
  10915. from "unixninja92".
  10916. o Minor bugfixes (assert, portability):
  10917. - Fix an assertion failure in memarea.c on systems where "long" is
  10918. shorter than the size of a pointer. Fixes bug 18716; bugfix
  10919. on 0.2.1.1-alpha.
  10920. o Minor bugfixes (bootstrap):
  10921. - Consistently use the consensus download schedule for authority
  10922. certificates. Fixes bug 18816; bugfix on 0.2.4.13-alpha.
  10923. o Minor bugfixes (build):
  10924. - Avoid spurious failures from configure files related to calling
  10925. exit(0) in TOR_SEARCH_LIBRARY. Fixes bug 18626; bugfix on
  10926. 0.2.0.1-alpha. Patch from "cypherpunks".
  10927. - Do not link the unit tests against both the testing and non-
  10928. testing versions of the static libraries. Fixes bug 18490; bugfix
  10929. on 0.2.7.1-alpha.
  10930. - Resolve warnings when building on systems that are concerned with
  10931. signed char. Fixes bug 18728; bugfix on 0.2.7.2-alpha
  10932. and 0.2.6.1-alpha.
  10933. - Silence spurious clang-scan warnings in the ed25519_donna code by
  10934. explicitly initializing some objects. Fixes bug 18384; bugfix on
  10935. 0.2.7.2-alpha. Patch by teor.
  10936. - When libscrypt.h is found, but no libscrypt library can be linked,
  10937. treat libscrypt as absent. Fixes bug 19161; bugfix
  10938. on 0.2.6.1-alpha.
  10939. - Cause the unit tests to compile correctly on mingw64 versions that
  10940. lack sscanf. Fixes bug 19213; bugfix on 0.2.7.1-alpha.
  10941. - Don't try to use the pthread_condattr_setclock() function unless
  10942. it actually exists. Fixes compilation on NetBSD-6.x. Fixes bug
  10943. 17819; bugfix on 0.2.6.3-alpha.
  10944. - Fix backtrace compilation on FreeBSD. Fixes bug 17827; bugfix
  10945. on 0.2.5.2-alpha.
  10946. - Fix search for libevent libraries on OpenBSD (and other systems
  10947. that install libevent 1 and libevent 2 in parallel). Fixes bug
  10948. 16651; bugfix on 0.1.0.7-rc. Patch from "rubiate".
  10949. - Isolate environment variables meant for tests from the rest of the
  10950. build system. Fixes bug 17818; bugfix on 0.2.7.3-rc.
  10951. - Mark all object files that include micro-revision.i as depending
  10952. on it, so as to make parallel builds more reliable. Fixes bug
  10953. 17826; bugfix on 0.2.5.1-alpha.
  10954. - Remove config.log only from make distclean, not from make clean.
  10955. Fixes bug 17924; bugfix on 0.2.4.1-alpha.
  10956. - Replace usage of 'INLINE' with 'inline'. Fixes bug 17804; bugfix
  10957. on 0.0.2pre8.
  10958. - Remove an #endif from configure.ac so that we correctly detect the
  10959. presence of in6_addr.s6_addr32. Fixes bug 17923; bugfix
  10960. on 0.2.0.13-alpha.
  10961. o Minor bugfixes (client, bootstrap):
  10962. - Count receipt of new microdescriptors as progress towards
  10963. bootstrapping. Previously, with EntryNodes set, Tor might not
  10964. successfully repopulate the guard set on bootstrapping. Fixes bug
  10965. 16825; bugfix on 0.2.3.1-alpha.
  10966. o Minor bugfixes (code correctness):
  10967. - Fix a bad memory handling bug that would occur if we had queued a
  10968. cell on a channel's incoming queue. Fortunately, we can't actually
  10969. queue a cell like that as our code is constructed today, but it's
  10970. best to avoid this kind of error, even if there isn't any code
  10971. that triggers it today. Fixes bug 18570; bugfix on 0.2.4.4-alpha.
  10972. - Assert that allocated memory held by the reputation code is freed
  10973. according to its internal counters. Fixes bug 17753; bugfix
  10974. on 0.1.1.1-alpha.
  10975. - Assert when the TLS contexts fail to initialize. Fixes bug 17683;
  10976. bugfix on 0.0.6.
  10977. - Update to the latest version of Trunnel, which tries harder to
  10978. avoid generating code that can invoke memcpy(p,NULL,0). Bug found
  10979. by clang address sanitizer. Fixes bug 18373; bugfix
  10980. on 0.2.7.2-alpha.
  10981. - When closing an entry connection, generate a warning if we should
  10982. have sent an end cell for it but we haven't. Fixes bug 17876;
  10983. bugfix on 0.2.3.2-alpha.
  10984. o Minor bugfixes (configuration):
  10985. - Fix a tiny memory leak when parsing a port configuration ending in
  10986. ":auto". Fixes bug 18374; bugfix on 0.2.3.3-alpha.
  10987. o Minor bugfixes (containers):
  10988. - If we somehow attempt to construct a heap with more than
  10989. 1073741822 elements, avoid an integer overflow when maintaining
  10990. the heap property. Fixes bug 18296; bugfix on 0.1.2.1-alpha.
  10991. o Minor bugfixes (controller, microdescriptors):
  10992. - Make GETINFO dir/status-vote/current/consensus conform to the
  10993. control specification by returning "551 Could not open cached
  10994. consensus..." when not caching consensuses. Fixes bug 18920;
  10995. bugfix on 0.2.2.6-alpha.
  10996. o Minor bugfixes (crypto):
  10997. - Check the return value of HMAC() and assert on failure. Fixes bug
  10998. 17658; bugfix on 0.2.3.6-alpha. Patch by teor.
  10999. o Minor bugfixes (directories):
  11000. - When fetching extrainfo documents, compare their SHA256 digests
  11001. and Ed25519 signing key certificates with the routerinfo that led
  11002. us to fetch them, rather than with the most recent routerinfo.
  11003. Otherwise we generate many spurious warnings about mismatches.
  11004. Fixes bug 17150; bugfix on 0.2.7.2-alpha.
  11005. - When generating a URL for a directory server on an IPv6 address,
  11006. wrap the IPv6 address in square brackets. Fixes bug 18051; bugfix
  11007. on 0.2.3.9-alpha. Patch from Malek.
  11008. o Minor bugfixes (downloading):
  11009. - Predict more correctly whether we'll be downloading over HTTP when
  11010. we determine the maximum length of a URL. This should avoid a
  11011. "BUG" warning about the Squid HTTP proxy and its URL limits. Fixes
  11012. bug 19191.
  11013. o Minor bugfixes (exit policies, security):
  11014. - Refresh an exit relay's exit policy when interface addresses
  11015. change. Previously, tor only refreshed the exit policy when the
  11016. configured external address changed. Fixes bug 18208; bugfix on
  11017. 0.2.7.3-rc. Patch by teor.
  11018. o Minor bugfixes (fallback directories):
  11019. - Mark fallbacks as "too busy" when they return a 503 response,
  11020. rather than just marking authorities. Fixes bug 17572; bugfix on
  11021. 0.2.4.7-alpha. Patch by teor.
  11022. - When requesting extrainfo descriptors from a trusted directory
  11023. server, check whether it is an authority or a fallback directory
  11024. which supports extrainfo descriptors. Fixes bug 18489; bugfix on
  11025. 0.2.4.7-alpha. Reported by atagar, patch by teor.
  11026. o Minor bugfixes (hidden service, client):
  11027. - Handle the case where the user makes several fast consecutive
  11028. requests to the same .onion address. Previously, the first six
  11029. requests would each trigger a descriptor fetch, each picking a
  11030. directory (there are 6 overall) and the seventh one would fail
  11031. because no directories were left, thereby triggering a close on
  11032. all current directory connections asking for the hidden service.
  11033. The solution here is to not close the connections if we have
  11034. pending directory fetches. Fixes bug 15937; bugfix
  11035. on 0.2.7.1-alpha.
  11036. o Minor bugfixes (hidden service, control port):
  11037. - Add the onion address to the HS_DESC event for the UPLOADED action
  11038. both on success or failure. It was previously hardcoded with
  11039. UNKNOWN. Fixes bug 16023; bugfix on 0.2.7.2-alpha.
  11040. o Minor bugfixes (hidden service, directory):
  11041. - Bridges now refuse "rendezvous2" (hidden service descriptor)
  11042. publish attempts. Suggested by ticket 18332.
  11043. o Minor bugfixes (IPv6):
  11044. - Update the limits in max_dl_per_request for IPv6 address length.
  11045. Fixes bug 17573; bugfix on 0.2.1.5-alpha.
  11046. o Minor bugfixes (Linux seccomp2 sandbox):
  11047. - Allow more syscalls when running with "Sandbox 1" enabled:
  11048. sysinfo, getsockopt(SO_SNDBUF), and setsockopt(SO_SNDBUFFORCE). On
  11049. some systems, these are required for Tor to start. Fixes bug
  11050. 18397; bugfix on 0.2.5.1-alpha. Patch from Daniel Pinto.
  11051. - Allow IPPROTO_UDP datagram sockets when running with "Sandbox 1",
  11052. so that get_interface_address6_via_udp_socket_hack() can work.
  11053. Fixes bug 19660; bugfix on 0.2.5.1-alpha.
  11054. - Allow the setrlimit syscall, and the prlimit and prlimit64
  11055. syscalls, which some libc implementations use under the hood.
  11056. Fixes bug 15221; bugfix on 0.2.5.1-alpha.
  11057. - Avoid a 10-second delay when starting as a client with "Sandbox 1"
  11058. enabled and no DNS resolvers configured. This should help TAILS
  11059. start up faster. Fixes bug 18548; bugfix on 0.2.5.1-alpha.
  11060. - Fix a crash when using offline master ed25519 keys with the Linux
  11061. seccomp2 sandbox enabled. Fixes bug 17675; bugfix on 0.2.7.3-rc.
  11062. - Allow statistics to be written to disk when "Sandbox 1" is
  11063. enabled. Fixes bugs 19556 and 19957; bugfix on 0.2.5.1-alpha and
  11064. 0.2.6.1-alpha respectively.
  11065. o Minor bugfixes (logging):
  11066. - In log messages that include a function name, use __FUNCTION__
  11067. instead of __PRETTY_FUNCTION__. In GCC, these are synonymous, but
  11068. with clang __PRETTY_FUNCTION__ has extra information we don't
  11069. need. Fixes bug 16563; bugfix on 0.0.2pre8. Fix by Tom van
  11070. der Woerdt.
  11071. - Remove needless quotes from a log message about unparseable
  11072. addresses. Fixes bug 17843; bugfix on 0.2.3.3-alpha.
  11073. - Scrub service name in "unrecognized service ID" log messages.
  11074. Fixes bug 18600; bugfix on 0.2.4.11-alpha.
  11075. - When logging information about an unparsable networkstatus vote or
  11076. consensus, do not say "vote" when we mean consensus. Fixes bug
  11077. 18368; bugfix on 0.2.0.8-alpha.
  11078. - When we can't generate a signing key because OfflineMasterKey is
  11079. set, do not imply that we should have been able to load it. Fixes
  11080. bug 18133; bugfix on 0.2.7.2-alpha.
  11081. - When logging a malformed hostname received through socks4, scrub
  11082. it if SafeLogging says we should. Fixes bug 17419; bugfix
  11083. on 0.1.1.16-rc.
  11084. o Minor bugfixes (memory safety):
  11085. - Avoid freeing an uninitialized pointer when opening a socket fails
  11086. in get_interface_addresses_ioctl(). Fixes bug 18454; bugfix on
  11087. 0.2.3.11-alpha. Reported by toralf and "cypherpunks", patch
  11088. by teor.
  11089. - Fix a memory leak in "tor --list-fingerprint". Fixes part of bug
  11090. 18672; bugfix on 0.2.5.1-alpha.
  11091. - Fix a memory leak in tor-gencert. Fixes part of bug 18672; bugfix
  11092. on 0.2.0.1-alpha.
  11093. o Minor bugfixes (pluggable transports):
  11094. - Avoid reporting a spurious error when we decide that we don't need
  11095. to terminate a pluggable transport because it has already exited.
  11096. Fixes bug 18686; bugfix on 0.2.5.5-alpha.
  11097. o Minor bugfixes (pointer arithmetic):
  11098. - Fix a bug in memarea_alloc() that could have resulted in remote
  11099. heap write access, if Tor had ever passed an unchecked size to
  11100. memarea_alloc(). Fortunately, all the sizes we pass to
  11101. memarea_alloc() are pre-checked to be less than 128 kilobytes.
  11102. Fixes bug 19150; bugfix on 0.2.1.1-alpha. Bug found by
  11103. Guido Vranken.
  11104. o Minor bugfixes (private directory):
  11105. - Prevent a race condition when creating private directories. Fixes
  11106. part of bug 17852; bugfix on 0.0.2pre13. Part of ticket 17852.
  11107. Patch from jsturgix. Found with Flawfinder.
  11108. o Minor bugfixes (relays):
  11109. - Check that both the ORPort and DirPort (if present) are reachable
  11110. before publishing a relay descriptor. Otherwise, relays publish a
  11111. descriptor with DirPort 0 when the DirPort reachability test takes
  11112. longer than the ORPort reachability test. Fixes bug 18050; bugfix
  11113. on 0.1.0.1-rc. Reported by "starlight", patch by teor.
  11114. - Resolve some edge cases where we might launch an ORPort
  11115. reachability check even when DisableNetwork is set. Noticed while
  11116. fixing bug 18616; bugfix on 0.2.3.9-alpha.
  11117. o Minor bugfixes (relays, hidden services):
  11118. - Refuse connection requests to private OR addresses unless
  11119. ExtendAllowPrivateAddresses is set. Previously, tor would connect,
  11120. then refuse to send any cells to a private address. Fixes bugs
  11121. 17674 and 8976; bugfix on 0.2.3.21-rc. Patch by teor.
  11122. o Minor bugfixes (security, hidden services):
  11123. - Prevent hidden services connecting to client-supplied rendezvous
  11124. addresses that are reserved as internal or multicast. Fixes bug
  11125. 8976; bugfix on 0.2.3.21-rc. Patch by dgoulet and teor.
  11126. o Minor bugfixes (statistics):
  11127. - Consistently check for overflow in round_*_to_next_multiple_of
  11128. functions, and add unit tests with additional and maximal values.
  11129. Fixes part of bug 13192; bugfix on 0.2.2.1-alpha.
  11130. - Handle edge cases in the laplace functions: avoid division by
  11131. zero, avoid taking the log of zero, and silence clang type
  11132. conversion warnings using round and trunc. Add unit tests for edge
  11133. cases with maximal values. Fixes part of bug 13192; bugfix
  11134. on 0.2.6.2-alpha.
  11135. - We now include consensus downloads via IPv6 in our directory-
  11136. request statistics. Fixes bug 18460; bugfix on 0.2.3.14-alpha.
  11137. o Minor bugfixes (test networks, IPv6):
  11138. - Allow internal IPv6 addresses in descriptors in test networks.
  11139. Fixes bug 17153; bugfix on 0.2.3.16-alpha. Patch by teor, reported
  11140. by karsten.
  11141. o Minor bugfixes (testing):
  11142. - Check the full results of SHA256 and SHA512 digests in the unit
  11143. tests. Bugfix on 0.2.2.4-alpha. Patch by teor.
  11144. - Fix a memory leak in the ntor test. Fixes bug 17778; bugfix
  11145. on 0.2.4.8-alpha.
  11146. - Fix a small memory leak that would occur when the
  11147. TestingEnableCellStatsEvent option was turned on. Fixes bug 18673;
  11148. bugfix on 0.2.5.2-alpha.
  11149. - Make unit tests pass on IPv6-only systems, and systems without
  11150. localhost addresses (like some FreeBSD jails). Fixes bug 17632;
  11151. bugfix on 0.2.7.3-rc. Patch by teor.
  11152. - The test for log_heartbeat was incorrectly failing in timezones
  11153. with non-integer offsets. Instead of comparing the end of the time
  11154. string against a constant, compare it to the output of
  11155. format_local_iso_time when given the correct input. Fixes bug
  11156. 18039; bugfix on 0.2.5.4-alpha.
  11157. - We no longer disable assertions in the unit tests when coverage is
  11158. enabled. Instead, we require you to say --disable-asserts-in-tests
  11159. to the configure script if you need assertions disabled in the
  11160. unit tests (for example, if you want to perform branch coverage).
  11161. Fixes bug 18242; bugfix on 0.2.7.1-alpha.
  11162. o Minor bugfixes (time handling):
  11163. - When correcting a corrupt 'struct tm' value, fill in the tm_wday
  11164. field. Otherwise, our unit tests crash on Windows. Fixes bug
  11165. 18977; bugfix on 0.2.2.25-alpha.
  11166. - Avoid overflow in tor_timegm when parsing dates in and after 2038
  11167. on platforms with 32-bit time_t. Fixes bug 18479; bugfix on
  11168. 0.0.2pre14. Patch by teor.
  11169. o Minor bugfixes (tor-gencert):
  11170. - Correctly handle the case where an authority operator enters a
  11171. passphrase but sends an EOF before sending a newline. Fixes bug
  11172. 17443; bugfix on 0.2.0.20-rc. Found by junglefowl.
  11173. o Code simplification and refactoring:
  11174. - Clean up a little duplicated code in
  11175. crypto_expand_key_material_TAP(). Closes ticket 17587; patch
  11176. from "pfrankw".
  11177. - Decouple the list of streams waiting to be attached to circuits
  11178. from the overall connection list. This change makes it possible to
  11179. attach streams quickly while simplifying Tor's callgraph and
  11180. avoiding O(N) scans of the entire connection list. Closes
  11181. ticket 17590.
  11182. - Extract the more complicated parts of circuit_mark_for_close()
  11183. into a new function that we run periodically before circuits are
  11184. freed. This change removes more than half of the functions
  11185. currently in the "blob". Closes ticket 17218.
  11186. - Move logging of redundant policy entries in
  11187. policies_parse_exit_policy_internal into its own function. Closes
  11188. ticket 17608; patch from "juce".
  11189. - Quote all the string interpolations in configure.ac -- even those
  11190. which we are pretty sure can't contain spaces. Closes ticket
  11191. 17744. Patch from zerosion.
  11192. - Remove code for configuring OpenSSL dynamic locks; OpenSSL doesn't
  11193. use them. Closes ticket 17926.
  11194. - Remove specialized code for non-inplace AES_CTR. 99% of our AES is
  11195. inplace, so there's no need to have a separate implementation for
  11196. the non-inplace code. Closes ticket 18258. Patch from Malek.
  11197. - Simplify return types for some crypto functions that can't
  11198. actually fail. Patch from Hassan Alsibyani. Closes ticket 18259.
  11199. - When a direct directory request fails immediately on launch,
  11200. instead of relaunching that request from inside the code that
  11201. launches it, instead mark the connection for teardown. This change
  11202. simplifies Tor's callback and prevents the directory-request
  11203. launching code from invoking itself recursively. Closes
  11204. ticket 17589.
  11205. o Documentation:
  11206. - Add a description of the correct use of the '--keygen' command-
  11207. line option. Closes ticket 17583; based on text by 's7r'.
  11208. - Change build messages to refer to "Fedora" instead of "Fedora
  11209. Core", and "dnf" instead of "yum". Closes tickets 18459 and 18426.
  11210. Patches from "icanhasaccount" and "cypherpunks".
  11211. - Document the contents of the 'datadir/keys' subdirectory in the
  11212. manual page. Closes ticket 17621.
  11213. - Document the minimum HeartbeatPeriod value. Closes ticket 15638.
  11214. - Explain actual minima for BandwidthRate. Closes ticket 16382.
  11215. - Fix a minor formatting typo in the manpage. Closes ticket 17791.
  11216. - Mention torspec URL in the manpage and point the reader to it
  11217. whenever we mention a document that belongs in torspce. Fixes
  11218. issue 17392.
  11219. - Stop recommending use of nicknames to identify relays in our
  11220. MapAddress documentation. Closes ticket 18312.
  11221. o Removed features:
  11222. - Remove client-side support for connecting to Tor relays running
  11223. versions of Tor before 0.2.3.6-alpha. These relays didn't support
  11224. the v3 TLS handshake protocol, and are no longer allowed on the
  11225. Tor network. Implements the client side of ticket 11150. Based on
  11226. patches by Tom van der Woerdt.
  11227. - We no longer maintain an internal freelist in memarea.c.
  11228. Allocators should be good enough to make this code unnecessary,
  11229. and it's doubtful that it ever had any performance benefit.
  11230. o Testing:
  11231. - Add unit tests to check for common RNG failure modes, such as
  11232. returning all zeroes, identical values, or incrementing values
  11233. (OpenSSL's rand_predictable feature). Patch by teor.
  11234. - Always test both ed25519 backends, so that we can be sure that our
  11235. batch-open replacement code works. Part of ticket 16794.
  11236. - Cover dns_resolve_impl() in dns.c with unit tests. Implements a
  11237. portion of ticket 16831.
  11238. - Fix several warnings from clang's address sanitizer produced in
  11239. the unit tests.
  11240. - Log more information when the backtrace tests fail. Closes ticket
  11241. 17892. Patch from "cypherpunks."
  11242. - More unit tests for compat_libevent.c, procmon.c, tortls.c,
  11243. util_format.c, directory.c, and options_validate.c. Closes tickets
  11244. 17075, 17082, 17084, 17003, and 17076 respectively. Patches from
  11245. Ola Bini.
  11246. - Treat backtrace test failures as expected on FreeBSD until we
  11247. solve bug 17808. Closes ticket 18204.
  11248. - Unit tests for directory_handle_command_get. Closes ticket 17004.
  11249. Patch from Reinaldo de Souza Jr.
  11250. Changes in version 0.2.7.6 - 2015-12-10
  11251. Tor version 0.2.7.6 fixes a major bug in entry guard selection, as
  11252. well as a minor bug in hidden service reliability.
  11253. o Major bugfixes (guard selection):
  11254. - Actually look at the Guard flag when selecting a new directory
  11255. guard. When we implemented the directory guard design, we
  11256. accidentally started treating all relays as if they have the Guard
  11257. flag during guard selection, leading to weaker anonymity and worse
  11258. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  11259. by Mohsen Imani.
  11260. o Minor features (geoip):
  11261. - Update geoip and geoip6 to the December 1 2015 Maxmind GeoLite2
  11262. Country database.
  11263. o Minor bugfixes (compilation):
  11264. - When checking for net/pfvar.h, include netinet/in.h if possible.
  11265. This fixes transparent proxy detection on OpenBSD. Fixes bug
  11266. 17551; bugfix on 0.1.2.1-alpha. Patch from "rubiate".
  11267. - Fix a compilation warning with Clang 3.6: Do not check the
  11268. presence of an address which can never be NULL. Fixes bug 17781.
  11269. o Minor bugfixes (correctness):
  11270. - When displaying an IPv6 exit policy, include the mask bits
  11271. correctly even when the number is greater than 31. Fixes bug
  11272. 16056; bugfix on 0.2.4.7-alpha. Patch from "gturner".
  11273. - The wrong list was used when looking up expired intro points in a
  11274. rend service object, causing what we think could be reachability
  11275. issues for hidden services, and triggering a BUG log. Fixes bug
  11276. 16702; bugfix on 0.2.7.2-alpha.
  11277. - Fix undefined behavior in the tor_cert_checksig function. Fixes
  11278. bug 17722; bugfix on 0.2.7.2-alpha.
  11279. Changes in version 0.2.7.5 - 2015-11-20
  11280. The Tor 0.2.7 release series is dedicated to the memory of Tor user
  11281. and privacy advocate Caspar Bowden (1961-2015). Caspar worked
  11282. tirelessly to advocate human rights regardless of national borders,
  11283. and oppose the encroachments of mass surveillance. He opposed national
  11284. exceptionalism, he brought clarity to legal and policy debates, he
  11285. understood and predicted the impact of mass surveillance on the world,
  11286. and he laid the groundwork for resisting it. While serving on the Tor
  11287. Project's board of directors, he brought us his uncompromising focus
  11288. on technical excellence in the service of humankind. Caspar was an
  11289. inimitable force for good and a wonderful friend. He was kind,
  11290. humorous, generous, gallant, and believed we should protect one
  11291. another without exception. We honor him here for his ideals, his
  11292. efforts, and his accomplishments. Please honor his memory with works
  11293. that would make him proud.
  11294. Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series.
  11295. The 0.2.7 series adds a more secure identity key type for relays,
  11296. improves cryptography performance, resolves several longstanding
  11297. hidden-service performance issues, improves controller support for
  11298. hidden services, and includes small bugfixes and performance
  11299. improvements throughout the program. This release series also includes
  11300. more tests than before, and significant simplifications to which parts
  11301. of Tor invoke which others. For a full list of changes, see below.
  11302. o New system requirements:
  11303. - Tor no longer includes workarounds to support Libevent versions
  11304. before 1.3e. Libevent 2.0 or later is recommended. Closes
  11305. ticket 15248.
  11306. - Tor no longer supports copies of OpenSSL that are missing support
  11307. for Elliptic Curve Cryptography. (We began using ECC when
  11308. available in 0.2.4.8-alpha, for more safe and efficient key
  11309. negotiation.) In particular, support for at least one of P256 or
  11310. P224 is now required, with manual configuration needed if only
  11311. P224 is available. Resolves ticket 16140.
  11312. - Tor no longer supports versions of OpenSSL before 1.0. (If you are
  11313. on an operating system that has not upgraded to OpenSSL 1.0 or
  11314. later, and you compile Tor from source, you will need to install a
  11315. more recent OpenSSL to link Tor against.) These versions of
  11316. OpenSSL are still supported by the OpenSSL, but the numerous
  11317. cryptographic improvements in later OpenSSL releases makes them a
  11318. clear choice. Resolves ticket 16034.
  11319. o Major features (controller):
  11320. - Add the ADD_ONION and DEL_ONION commands that allow the creation
  11321. and management of hidden services via the controller. Closes
  11322. ticket 6411.
  11323. - New "GETINFO onions/current" and "GETINFO onions/detached"
  11324. commands to get information about hidden services created via the
  11325. controller. Part of ticket 6411.
  11326. - New HSFETCH command to launch a request for a hidden service
  11327. descriptor. Closes ticket 14847.
  11328. - New HSPOST command to upload a hidden service descriptor. Closes
  11329. ticket 3523. Patch by "DonnchaC".
  11330. o Major features (Ed25519 identity keys, Proposal 220):
  11331. - Add support for offline encrypted Ed25519 master keys. To use this
  11332. feature on your tor relay, run "tor --keygen" to make a new master
  11333. key (or to make a new signing key if you already have a master
  11334. key). Closes ticket 13642.
  11335. - All relays now maintain a stronger identity key, using the Ed25519
  11336. elliptic curve signature format. This master key is designed so
  11337. that it can be kept offline. Relays also generate an online
  11338. signing key, and a set of other Ed25519 keys and certificates.
  11339. These are all automatically regenerated and rotated as needed.
  11340. Implements part of ticket 12498.
  11341. - Directory authorities now vote on Ed25519 identity keys along with
  11342. RSA1024 keys. Implements part of ticket 12498.
  11343. - Directory authorities track which Ed25519 identity keys have been
  11344. used with which RSA1024 identity keys, and do not allow them to
  11345. vary freely. Implements part of ticket 12498.
  11346. - Microdescriptors now include Ed25519 identity keys. Implements
  11347. part of ticket 12498.
  11348. - Add a --newpass option to allow changing or removing the
  11349. passphrase of an encrypted key with tor --keygen. Implements part
  11350. of ticket 16769.
  11351. - Add a new OfflineMasterKey option to tell Tor never to try loading
  11352. or generating a secret Ed25519 identity key. You can use this in
  11353. combination with tor --keygen to manage offline and/or encrypted
  11354. Ed25519 keys. Implements ticket 16944.
  11355. - On receiving a HUP signal, check to see whether the Ed25519
  11356. signing key has changed, and reload it if so. Closes ticket 16790.
  11357. - Significant usability improvements for Ed25519 key management. Log
  11358. messages are better, and the code can recover from far more
  11359. failure conditions. Thanks to "s7r" for reporting and diagnosing
  11360. so many of these!
  11361. o Major features (ECC performance):
  11362. - Improve the runtime speed of Ed25519 signature verification by
  11363. using Ed25519-donna's batch verification support. Implements
  11364. ticket 16533.
  11365. - Improve the speed of Ed25519 operations and Curve25519 keypair
  11366. generation when built targeting 32 bit x86 platforms with SSE2
  11367. available. Implements ticket 16535.
  11368. - Improve the runtime speed of Ed25519 operations by using the
  11369. public-domain Ed25519-donna by Andrew M. ("floodyberry").
  11370. Implements ticket 16467.
  11371. - Improve the runtime speed of the ntor handshake by using an
  11372. optimized curve25519 basepoint scalarmult implementation from the
  11373. public-domain Ed25519-donna by Andrew M. ("floodyberry"), based on
  11374. ideas by Adam Langley. Implements ticket 9663.
  11375. o Major features (Hidden services):
  11376. - Hidden services, if using the EntryNodes option, are required to
  11377. use more than one EntryNode, in order to avoid a guard discovery
  11378. attack. (This would only affect people who had configured hidden
  11379. services and manually specified the EntryNodes option with a
  11380. single entry-node. The impact was that it would be easy to
  11381. remotely identify the guard node used by such a hidden service.
  11382. See ticket for more information.) Fixes ticket 14917.
  11383. - Add the torrc option HiddenServiceNumIntroductionPoints, to
  11384. specify a fixed number of introduction points. Its maximum value
  11385. is 10 and default is 3. Using this option can increase a hidden
  11386. service's reliability under load, at the cost of making it more
  11387. visible that the hidden service is facing extra load. Closes
  11388. ticket 4862.
  11389. - Remove the adaptive algorithm for choosing the number of
  11390. introduction points, which used to change the number of
  11391. introduction points (poorly) depending on the number of
  11392. connections the HS sees. Closes ticket 4862.
  11393. o Major features (onion key cross-certification):
  11394. - Relay descriptors now include signatures of their own identity
  11395. keys, made using the TAP and ntor onion keys. These signatures
  11396. allow relays to prove ownership of their own onion keys. Because
  11397. of this change, microdescriptors will no longer need to include
  11398. RSA identity keys. Implements proposal 228; closes ticket 12499.
  11399. o Major bugfixes (client-side privacy, also in 0.2.6.9):
  11400. - Properly separate out each SOCKSPort when applying stream
  11401. isolation. The error occurred because each port's session group
  11402. was being overwritten by a default value when the listener
  11403. connection was initialized. Fixes bug 16247; bugfix on
  11404. 0.2.6.3-alpha. Patch by "jojelino".
  11405. o Major bugfixes (hidden service clients, stability, also in 0.2.6.10):
  11406. - Stop refusing to store updated hidden service descriptors on a
  11407. client. This reverts commit 9407040c59218 (which indeed fixed bug
  11408. 14219, but introduced a major hidden service reachability
  11409. regression detailed in bug 16381). This is a temporary fix since
  11410. we can live with the minor issue in bug 14219 (it just results in
  11411. some load on the network) but the regression of 16381 is too much
  11412. of a setback. First-round fix for bug 16381; bugfix
  11413. on 0.2.6.3-alpha.
  11414. o Major bugfixes (hidden services):
  11415. - Revert commit that made directory authorities assign the HSDir
  11416. flag to relays without a DirPort; this was bad because such relays
  11417. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  11418. on 0.2.6.3-alpha.
  11419. - When cannibalizing a circuit for an introduction point, always
  11420. extend to the chosen exit node (creating a 4 hop circuit).
  11421. Previously Tor would use the current circuit exit node, which
  11422. changed the original choice of introduction point, and could cause
  11423. the hidden service to skip excluded introduction points or
  11424. reconnect to a skipped introduction point. Fixes bug 16260; bugfix
  11425. on 0.1.0.1-rc.
  11426. o Major bugfixes (memory leaks):
  11427. - Fix a memory leak in ed25519 batch signature checking. Fixes bug
  11428. 17398; bugfix on 0.2.6.1-alpha.
  11429. o Major bugfixes (open file limit):
  11430. - The open file limit wasn't checked before calling
  11431. tor_accept_socket_nonblocking(), which would make Tor exceed the
  11432. limit. Now, before opening a new socket, Tor validates the open
  11433. file limit just before, and if the max has been reached, return an
  11434. error. Fixes bug 16288; bugfix on 0.1.1.1-alpha.
  11435. o Major bugfixes (security, correctness):
  11436. - Fix an error that could cause us to read 4 bytes before the
  11437. beginning of an openssl string. This bug could be used to cause
  11438. Tor to crash on systems with unusual malloc implementations, or
  11439. systems with unusual hardening installed. Fixes bug 17404; bugfix
  11440. on 0.2.3.6-alpha.
  11441. o Major bugfixes (stability, also in 0.2.6.10):
  11442. - Stop crashing with an assertion failure when parsing certain kinds
  11443. of malformed or truncated microdescriptors. Fixes bug 16400;
  11444. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  11445. by "cypherpunks_backup".
  11446. - Stop random client-side assertion failures that could occur when
  11447. connecting to a busy hidden service, or connecting to a hidden
  11448. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  11449. on 0.1.0.1-rc.
  11450. o Minor features (client, SOCKS):
  11451. - Add GroupWritable and WorldWritable options to unix-socket based
  11452. SocksPort and ControlPort options. These options apply to a single
  11453. socket, and override {Control,Socks}SocketsGroupWritable. Closes
  11454. ticket 15220.
  11455. - Relax the validation done to hostnames in SOCKS5 requests, and
  11456. allow a single trailing '.' to cope with clients that pass FQDNs
  11457. using that syntax to explicitly indicate that the domain name is
  11458. fully-qualified. Fixes bug 16674; bugfix on 0.2.6.2-alpha.
  11459. - Relax the validation of hostnames in SOCKS5 requests, allowing the
  11460. character '_' to appear, in order to cope with domains observed in
  11461. the wild that are serving non-RFC compliant records. Resolves
  11462. ticket 16430.
  11463. o Minor features (client-side privacy):
  11464. - New KeepAliveIsolateSOCKSAuth option to indefinitely extend circuit
  11465. lifespan when IsolateSOCKSAuth and streams with SOCKS
  11466. authentication are attached to the circuit. This allows
  11467. applications like TorBrowser to manage circuit lifetime on their
  11468. own. Implements feature 15482.
  11469. - When logging malformed hostnames from SOCKS5 requests, respect
  11470. SafeLogging configuration. Fixes bug 16891; bugfix on 0.1.1.16-rc.
  11471. o Minor features (clock-jump tolerance):
  11472. - Recover better when our clock jumps back many hours, like might
  11473. happen for Tails or Whonix users who start with a very wrong
  11474. hardware clock, use Tor to discover a more accurate time, and then
  11475. fix their clock. Resolves part of ticket 8766.
  11476. o Minor features (command-line interface):
  11477. - Make --hash-password imply --hush to prevent unnecessary noise.
  11478. Closes ticket 15542. Patch from "cypherpunks".
  11479. - Print a warning whenever we find a relative file path being used
  11480. as torrc option. Resolves issue 14018.
  11481. o Minor features (compilation):
  11482. - Give a warning as early as possible when trying to build with an
  11483. unsupported OpenSSL version. Closes ticket 16901.
  11484. - Use C99 variadic macros when the compiler is not GCC. This avoids
  11485. failing compilations on MSVC, and fixes a log-file-based race
  11486. condition in our old workarounds. Original patch from Gisle Vanem.
  11487. o Minor features (control protocol):
  11488. - Support network-liveness GETINFO key and NETWORK_LIVENESS event in
  11489. the control protocol. Resolves ticket 15358.
  11490. o Minor features (controller):
  11491. - Add DirAuthority lines for default directory authorities to the
  11492. output of the "GETINFO config/defaults" command if not already
  11493. present. Implements ticket 14840.
  11494. - Controllers can now use "GETINFO hs/client/desc/id/..." to
  11495. retrieve items from the client's hidden service descriptor cache.
  11496. Closes ticket 14845.
  11497. - Implement a new controller command "GETINFO status/fresh-relay-
  11498. descs" to fetch a descriptor/extrainfo pair that was generated on
  11499. demand just for the controller's use. Implements ticket 14784.
  11500. o Minor features (directory authorities):
  11501. - Directory authorities no longer vote against the "Fast", "Stable",
  11502. and "HSDir" flags just because they were going to vote against
  11503. "Running": if the consensus turns out to be that the router was
  11504. running, then the authority's vote should count. Patch from Peter
  11505. Retzlaff; closes issue 8712.
  11506. o Minor features (directory authorities, security, also in 0.2.6.9):
  11507. - The HSDir flag given by authorities now requires the Stable flag.
  11508. For the current network, this results in going from 2887 to 2806
  11509. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  11510. attack by raising the effort for a relay to become Stable to
  11511. require at the very least 7 days, while maintaining the 96 hours
  11512. uptime requirement for HSDir. Implements ticket 8243.
  11513. o Minor features (DoS-resistance):
  11514. - Make it harder for attackers to overload hidden services with
  11515. introductions, by blocking multiple introduction requests on the
  11516. same circuit. Resolves ticket 15515.
  11517. o Minor features (geoip):
  11518. - Update geoip and geoip6 to the October 9 2015 Maxmind GeoLite2
  11519. Country database.
  11520. o Minor features (hidden services):
  11521. - Add the new options "HiddenServiceMaxStreams" and
  11522. "HiddenServiceMaxStreamsCloseCircuit" to allow hidden services to
  11523. limit the maximum number of simultaneous streams per circuit, and
  11524. optionally tear down the circuit when the limit is exceeded. Part
  11525. of ticket 16052.
  11526. - Client now uses an introduction point failure cache to know when
  11527. to fetch or keep a descriptor in their cache. Previously, failures
  11528. were recorded implicitly, but not explicitly remembered. Closes
  11529. ticket 16389.
  11530. - Relays need to have the Fast flag to get the HSDir flag. As this
  11531. is being written, we'll go from 2745 HSDirs down to 2342, a ~14%
  11532. drop. This change should make some attacks against the hidden
  11533. service directory system harder. Fixes ticket 15963.
  11534. - Turn on hidden service statistics collection by setting the torrc
  11535. option HiddenServiceStatistics to "1" by default. (This keeps
  11536. track only of the fraction of traffic used by hidden services, and
  11537. the total number of hidden services in existence.) Closes
  11538. ticket 15254.
  11539. - To avoid leaking HS popularity, don't cycle the introduction point
  11540. when we've handled a fixed number of INTRODUCE2 cells but instead
  11541. cycle it when a random number of introductions is reached, thus
  11542. making it more difficult for an attacker to find out the amount of
  11543. clients that have used the introduction point for a specific HS.
  11544. Closes ticket 15745.
  11545. o Minor features (logging):
  11546. - Include the Tor version in all LD_BUG log messages, since people
  11547. tend to cut and paste those into the bugtracker. Implements
  11548. ticket 15026.
  11549. o Minor features (pluggable transports):
  11550. - When launching managed pluggable transports on Linux systems,
  11551. attempt to have the kernel deliver a SIGTERM on tor exit if the
  11552. pluggable transport process is still running. Resolves
  11553. ticket 15471.
  11554. - When launching managed pluggable transports, setup a valid open
  11555. stdin in the child process that can be used to detect if tor has
  11556. terminated. The "TOR_PT_EXIT_ON_STDIN_CLOSE" environment variable
  11557. can be used by implementations to detect this new behavior.
  11558. Resolves ticket 15435.
  11559. o Minor bugfixes (torrc exit policies):
  11560. - In each instance above, usage advice is provided to avoid the
  11561. message. Resolves ticket 16069. Patch by "teor". Fixes part of bug
  11562. 16069; bugfix on 0.2.4.7-alpha.
  11563. - In torrc, "accept6 *" and "reject6 *" ExitPolicy lines now only
  11564. produce IPv6 wildcard addresses. Previously they would produce
  11565. both IPv4 and IPv6 wildcard addresses. Patch by "teor". Fixes part
  11566. of bug 16069; bugfix on 0.2.4.7-alpha.
  11567. - When parsing torrc ExitPolicies, we now issue an info-level
  11568. message when expanding an "accept/reject *" line to include both
  11569. IPv4 and IPv6 wildcard addresses. Related to ticket 16069.
  11570. - When parsing torrc ExitPolicies, we now warn for a number of cases
  11571. where the user's intent is likely to differ from Tor's actual
  11572. behavior. These include: using an IPv4 address with an accept6 or
  11573. reject6 line; using "private" on an accept6 or reject6 line; and
  11574. including any ExitPolicy lines after accept *:* or reject *:*.
  11575. Related to ticket 16069.
  11576. o Minor bugfixes (command-line interface):
  11577. - When "--quiet" is provided along with "--validate-config", do not
  11578. write anything to stdout on success. Fixes bug 14994; bugfix
  11579. on 0.2.3.3-alpha.
  11580. - When complaining about bad arguments to "--dump-config", use
  11581. stderr, not stdout.
  11582. - Print usage information for --dump-config when it is used without
  11583. an argument. Also, fix the error message to use different wording
  11584. and add newline at the end. Fixes bug 15541; bugfix
  11585. on 0.2.5.1-alpha.
  11586. o Minor bugfixes (compilation):
  11587. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  11588. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  11589. - Repair compilation with the most recent (unreleased, alpha)
  11590. vesions of OpenSSL 1.1. Fixes part of ticket 17237.
  11591. o Minor bugfixes (compilation, also in 0.2.6.9):
  11592. - Build with --enable-systemd correctly when libsystemd is
  11593. installed, but systemd is not. Fixes bug 16164; bugfix on
  11594. 0.2.6.3-alpha. Patch from Peter Palfrader.
  11595. o Minor bugfixes (configuration, unit tests):
  11596. - Only add the default fallback directories when the DirAuthorities,
  11597. AlternateDirAuthority, and FallbackDir directory config options
  11598. are set to their defaults. The default fallback directory list is
  11599. currently empty, this fix will only change tor's behavior when it
  11600. has default fallback directories. Includes unit tests for
  11601. consider_adding_dir_servers(). Fixes bug 15642; bugfix on
  11602. 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor".
  11603. o Minor bugfixes (controller):
  11604. - Add the descriptor ID in each HS_DESC control event. It was
  11605. missing, but specified in control-spec.txt. Fixes bug 15881;
  11606. bugfix on 0.2.5.2-alpha.
  11607. o Minor bugfixes (correctness):
  11608. - For correctness, avoid modifying a constant string in
  11609. handle_control_postdescriptor. Fixes bug 15546; bugfix
  11610. on 0.1.1.16-rc.
  11611. - Remove side-effects from tor_assert() calls. This was harmless,
  11612. because we never disable assertions, but it is bad style and
  11613. unnecessary. Fixes bug 15211; bugfix on 0.2.5.5, 0.2.2.36,
  11614. and 0.2.0.10.
  11615. - When calling channel_free_list(), avoid calling smartlist_remove()
  11616. while inside a FOREACH loop. This partially reverts commit
  11617. 17356fe7fd96af where the correct SMARTLIST_DEL_CURRENT was
  11618. incorrectly removed. Fixes bug 16924; bugfix on 0.2.4.4-alpha.
  11619. o Minor bugfixes (crypto error-handling, also in 0.2.6.10):
  11620. - Check for failures from crypto_early_init, and refuse to continue.
  11621. A previous typo meant that we could keep going with an
  11622. uninitialized crypto library, and would have OpenSSL initialize
  11623. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  11624. when implementing ticket 4900. Patch by "teor".
  11625. o Minor bugfixes (hidden service):
  11626. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  11627. a client authorized hidden service. Fixes bug 15823; bugfix
  11628. on 0.2.1.6-alpha.
  11629. - Remove an extraneous newline character from the end of hidden
  11630. service descriptors. Fixes bug 15296; bugfix on 0.2.0.10-alpha.
  11631. o Minor bugfixes (Linux seccomp2 sandbox):
  11632. - Use the sandbox in tor_open_cloexec whether or not O_CLOEXEC is
  11633. defined. Patch by "teor". Fixes bug 16515; bugfix on 0.2.3.1-alpha.
  11634. - Allow bridge authorities to run correctly under the seccomp2
  11635. sandbox. Fixes bug 16964; bugfix on 0.2.5.1-alpha.
  11636. - Add the "hidserv-stats" filename to our sandbox filter for the
  11637. HiddenServiceStatistics option to work properly. Fixes bug 17354;
  11638. bugfix on 0.2.6.2-alpha. Patch from David Goulet.
  11639. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.10):
  11640. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  11641. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  11642. on 0.2.6.3-alpha. Patch from "teor".
  11643. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.9):
  11644. - Allow systemd connections to work with the Linux seccomp2 sandbox
  11645. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  11646. Peter Palfrader.
  11647. - Fix sandboxing to work when running as a relay, by allowing the
  11648. renaming of secret_id_key, and allowing the eventfd2 and futex
  11649. syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha. Patch by
  11650. Peter Palfrader.
  11651. o Minor bugfixes (logging):
  11652. - When building Tor under Clang, do not include an extra set of
  11653. parentheses in log messages that include function names. Fixes bug
  11654. 15269; bugfix on every released version of Tor when compiled with
  11655. recent enough Clang.
  11656. o Minor bugfixes (network):
  11657. - When attempting to use fallback technique for network interface
  11658. lookup, disregard loopback and multicast addresses since they are
  11659. unsuitable for public communications.
  11660. o Minor bugfixes (open file limit):
  11661. - Fix set_max_file_descriptors() to set by default the max open file
  11662. limit to the current limit when setrlimit() fails. Fixes bug
  11663. 16274; bugfix on tor- 0.2.0.10-alpha. Patch by dgoulet.
  11664. o Minor bugfixes (portability):
  11665. - Check correctly for Windows socket errors in the workqueue
  11666. backend. Fixes bug 16741; bugfix on 0.2.6.3-alpha.
  11667. - Try harder to normalize the exit status of the Tor process to the
  11668. standard-provided range. Fixes bug 16975; bugfix on every version
  11669. of Tor ever.
  11670. - Use libexecinfo on FreeBSD to enable backtrace support. Fixes part
  11671. of bug 17151; bugfix on 0.2.5.2-alpha. Patch from Marcin Cieślak.
  11672. o Minor bugfixes (relay):
  11673. - Ensure that worker threads actually exit when a fatal error or
  11674. shutdown is indicated. This fix doesn't currently affect the
  11675. behavior of Tor, because Tor workers never indicates fatal error
  11676. or shutdown except in the unit tests. Fixes bug 16868; bugfix
  11677. on 0.2.6.3-alpha.
  11678. - Fix a rarely-encountered memory leak when failing to initialize
  11679. the thread pool. Fixes bug 16631; bugfix on 0.2.6.3-alpha. Patch
  11680. from "cypherpunks".
  11681. - Unblock threads before releasing the work queue mutex to ensure
  11682. predictable scheduling behavior. Fixes bug 16644; bugfix
  11683. on 0.2.6.3-alpha.
  11684. o Minor bugfixes (security, exit policies):
  11685. - ExitPolicyRejectPrivate now also rejects the relay's published
  11686. IPv6 address (if any), and any publicly routable IPv4 or IPv6
  11687. addresses on any local interfaces. ticket 17027. Patch by "teor".
  11688. Fixes bug 17027; bugfix on 0.2.0.11-alpha.
  11689. o Minor bugfixes (statistics):
  11690. - Disregard the ConnDirectionStatistics torrc options when Tor is
  11691. not a relay since in that mode of operation no sensible data is
  11692. being collected and because Tor might run into measurement hiccups
  11693. when running as a client for some time, then becoming a relay.
  11694. Fixes bug 15604; bugfix on 0.2.2.35.
  11695. o Minor bugfixes (systemd):
  11696. - Tor's systemd unit file no longer contains extraneous spaces.
  11697. These spaces would sometimes confuse tools like deb-systemd-
  11698. helper. Fixes bug 16162; bugfix on 0.2.5.5-alpha.
  11699. o Minor bugfixes (test networks):
  11700. - When self-testing reachability, use ExtendAllowPrivateAddresses to
  11701. determine if local/private addresses imply reachability. The
  11702. previous fix used TestingTorNetwork, which implies
  11703. ExtendAllowPrivateAddresses, but this excluded rare configurations
  11704. where ExtendAllowPrivateAddresses is set but TestingTorNetwork is
  11705. not. Fixes bug 15771; bugfix on 0.2.6.1-alpha. Patch by "teor",
  11706. issue discovered by CJ Ess.
  11707. o Minor bugfixes (tests, also in 0.2.6.9):
  11708. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  11709. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  11710. o Code simplification and refactoring:
  11711. - Change the function that's called when we need to retry all
  11712. downloads so that it only reschedules the downloads to happen
  11713. immediately, rather than launching them all at once itself. This
  11714. further simplifies Tor's callgraph.
  11715. - Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
  11716. to ensure they remain consistent and visible everywhere.
  11717. - Move some format-parsing functions out of crypto.c and
  11718. crypto_curve25519.c into crypto_format.c and/or util_format.c.
  11719. - Move the client-only parts of init_keys() into a separate
  11720. function. Closes ticket 16763.
  11721. - Move the hacky fallback code out of get_interface_address6() into
  11722. separate function and get it covered with unit-tests. Resolves
  11723. ticket 14710.
  11724. - Refactor hidden service client-side cache lookup to intelligently
  11725. report its various failure cases, and disentangle failure cases
  11726. involving a lack of introduction points. Closes ticket 14391.
  11727. - Remove some vestigial workarounds for the MSVC6 compiler. We
  11728. haven't supported that in ages.
  11729. - Remove the unused "nulterminate" argument from buf_pullup().
  11730. - Simplify the microdesc_free() implementation so that it no longer
  11731. appears (to code analysis tools) to potentially invoke a huge
  11732. suite of other microdesc functions.
  11733. - Simply the control graph further by deferring the inner body of
  11734. directory_all_unreachable() into a callback. Closes ticket 16762.
  11735. - The link authentication code has been refactored for better
  11736. testability and reliability. It now uses code generated with the
  11737. "trunnel" binary encoding generator, to reduce the risk of bugs
  11738. due to programmer error. Done as part of ticket 12498.
  11739. - Treat the loss of an owning controller as equivalent to a SIGTERM
  11740. signal. This removes a tiny amount of duplicated code, and
  11741. simplifies our callgraph. Closes ticket 16788.
  11742. - Use our own Base64 encoder instead of OpenSSL's, to allow more
  11743. control over the output. Part of ticket 15652.
  11744. - When generating an event to send to the controller, we no longer
  11745. put the event over the network immediately. Instead, we queue
  11746. these events, and use a Libevent callback to deliver them. This
  11747. change simplifies Tor's callgraph by reducing the number of
  11748. functions from which all other Tor functions are reachable. Closes
  11749. ticket 16695.
  11750. - Wrap Windows-only C files inside '#ifdef _WIN32' so that tools
  11751. that try to scan or compile every file on Unix won't decide that
  11752. they are broken.
  11753. o Documentation:
  11754. - Fix capitalization of SOCKS in sample torrc. Closes ticket 15609.
  11755. - Improve the descriptions of statistics-related torrc options in
  11756. the manpage to describe rationale and possible uses cases. Fixes
  11757. issue 15550.
  11758. - Improve the layout and formatting of ./configure --help messages.
  11759. Closes ticket 15024. Patch from "cypherpunks".
  11760. - Include a specific and (hopefully) accurate documentation of the
  11761. torrc file's meta-format in doc/torrc_format.txt. This is mainly
  11762. of interest to people writing programs to parse or generate torrc
  11763. files. This document is not a commitment to long-term
  11764. compatibility; some aspects of the current format are a bit
  11765. ridiculous. Closes ticket 2325.
  11766. - Include the TUNING document in our source tarball. It is referred
  11767. to in the ChangeLog and an error message. Fixes bug 16929; bugfix
  11768. on 0.2.6.1-alpha.
  11769. - Note that HiddenServicePorts can take a unix domain socket. Closes
  11770. ticket 17364.
  11771. - Recommend a 40 GB example AccountingMax in torrc.sample rather
  11772. than a 4 GB max. Closes ticket 16742.
  11773. - Standardize on the term "server descriptor" in the manual page.
  11774. Previously, we had used "router descriptor", "server descriptor",
  11775. and "relay descriptor" interchangeably. Part of ticket 14987.
  11776. - Advise users on how to configure separate IPv4 and IPv6 exit
  11777. policies in the manpage and sample torrcs. Related to ticket 16069.
  11778. - Fix an error in the manual page and comments for
  11779. TestingDirAuthVoteHSDir[IsStrict], which suggested that a HSDir
  11780. required "ORPort connectivity". While this is true, it is in no
  11781. way unique to the HSDir flag. Of all the flags, only HSDirs need a
  11782. DirPort configured in order for the authorities to assign that
  11783. particular flag. Patch by "teor". Fixed as part of 14882; bugfix
  11784. on 0.2.6.3-alpha.
  11785. - Fix the usage message of tor-resolve(1) so that it no longer lists
  11786. the removed -F option. Fixes bug 16913; bugfix on 0.2.2.28-beta.
  11787. o Removed code:
  11788. - Remove `USE_OPENSSL_BASE64` and the corresponding fallback code
  11789. and always use the internal Base64 decoder. The internal decoder
  11790. has been part of tor since 0.2.0.10-alpha, and no one should
  11791. be using the OpenSSL one. Part of ticket 15652.
  11792. - Remove the 'tor_strclear()' function; use memwipe() instead.
  11793. Closes ticket 14922.
  11794. - Remove the code that would try to aggressively flush controller
  11795. connections while writing to them. This code was introduced in
  11796. 0.1.2.7-alpha, in order to keep output buffers from exceeding
  11797. their limits. But there is no longer a maximum output buffer size,
  11798. and flushing data in this way caused some undesirable recursions
  11799. in our call graph. Closes ticket 16480.
  11800. - The internal pure-C tor-fw-helper tool is now removed from the Tor
  11801. distribution, in favor of the pure-Go clone available from
  11802. https://gitweb.torproject.org/tor-fw-helper.git/ . The libraries
  11803. used by the C tor-fw-helper are not, in our opinion, very
  11804. confidence- inspiring in their secure-programming techniques.
  11805. Closes ticket 13338.
  11806. o Removed features:
  11807. - Remove the (seldom-used) DynamicDHGroups feature. For anti-
  11808. fingerprinting we now recommend pluggable transports; for forward-
  11809. secrecy in TLS, we now use the P-256 group. Closes ticket 13736.
  11810. - Remove the HidServDirectoryV2 option. Now all relays offer to
  11811. store hidden service descriptors. Related to 16543.
  11812. - Remove the VoteOnHidServDirectoriesV2 option, since all
  11813. authorities have long set it to 1. Closes ticket 16543.
  11814. - Remove the undocumented "--digests" command-line option. It
  11815. complicated our build process, caused subtle build issues on
  11816. multiple platforms, and is now redundant since we started
  11817. including git version identifiers. Closes ticket 14742.
  11818. - Tor no longer contains checks for ancient directory cache versions
  11819. that didn't know about microdescriptors.
  11820. - Tor no longer contains workarounds for stat files generated by
  11821. super-old versions of Tor that didn't choose guards sensibly.
  11822. o Testing:
  11823. - The test-network.sh script now supports performance testing.
  11824. Requires corresponding chutney performance testing changes. Patch
  11825. by "teor". Closes ticket 14175.
  11826. - Add a new set of callgraph analysis scripts that use clang to
  11827. produce a list of which Tor functions are reachable from which
  11828. other Tor functions. We're planning to use these to help simplify
  11829. our code structure by identifying illogical dependencies.
  11830. - Add new 'test-full' and 'test-full-online' targets to run all
  11831. tests, including integration tests with stem and chutney.
  11832. - Autodetect CHUTNEY_PATH if the chutney and Tor sources are side-
  11833. by-side in the same parent directory. Closes ticket 16903. Patch
  11834. by "teor".
  11835. - Document use of coverity, clang static analyzer, and clang dynamic
  11836. undefined behavior and address sanitizers in doc/HACKING. Include
  11837. detailed usage instructions in the blacklist. Patch by "teor".
  11838. Closes ticket 15817.
  11839. - Make "bridges+hs" the default test network. This tests almost all
  11840. tor functionality during make test-network, while allowing tests
  11841. to succeed on non-IPv6 systems. Requires chutney commit 396da92 in
  11842. test-network-bridges-hs. Closes tickets 16945 (tor) and 16946
  11843. (chutney). Patches by "teor".
  11844. - Make the test-workqueue test work on Windows by initializing the
  11845. network before we begin.
  11846. - New make target (make test-network-all) to run multiple applicable
  11847. chutney test cases. Patch from Teor; closes 16953.
  11848. - Now that OpenSSL has its own scrypt implementation, add an unit
  11849. test that checks for interoperability between libscrypt_scrypt()
  11850. and OpenSSL's EVP_PBE_scrypt() so that we could not use libscrypt
  11851. and rely on EVP_PBE_scrypt() whenever possible. Resolves
  11852. ticket 16189.
  11853. - The link authentication protocol code now has extensive tests.
  11854. - The relay descriptor signature testing code now has
  11855. extensive tests.
  11856. - The test_workqueue program now runs faster, and is enabled by
  11857. default as a part of "make check".
  11858. - Unit test dns_resolve(), dns_clip_ttl() and dns_get_expiry_ttl()
  11859. functions in dns.c. Implements a portion of ticket 16831.
  11860. - Use environment variables rather than autoconf substitutions to
  11861. send variables from the build system to the test scripts. This
  11862. change should be easier to maintain, and cause 'make distcheck' to
  11863. work better than before. Fixes bug 17148.
  11864. - When building Tor with testing coverage enabled, run Chutney tests
  11865. (if any) using the 'tor-cov' coverage binary.
  11866. - When running test-network or test-stem, check for the absence of
  11867. stem/chutney before doing any build operations.
  11868. - Add a test to verify that the compiler does not eliminate our
  11869. memwipe() implementation. Closes ticket 15377.
  11870. - Add make rule `check-changes` to verify the format of changes
  11871. files. Closes ticket 15180.
  11872. - Add unit tests for control_event_is_interesting(). Add a compile-
  11873. time check that the number of events doesn't exceed the capacity
  11874. of control_event_t.event_mask. Closes ticket 15431, checks for
  11875. bugs similar to 13085. Patch by "teor".
  11876. - Command-line argument tests moved to Stem. Resolves ticket 14806.
  11877. - Integrate the ntor, backtrace, and zero-length keys tests into the
  11878. automake test suite. Closes ticket 15344.
  11879. - Remove assertions during builds to determine Tor's test coverage.
  11880. We don't want to trigger these even in assertions, so including
  11881. them artificially makes our branch coverage look worse than it is.
  11882. This patch provides the new test-stem-full and coverage-html-full
  11883. configure options. Implements ticket 15400.
  11884. - New TestingDirAuthVote{Exit,Guard,HSDir}IsStrict flags to
  11885. explicitly manage consensus flags in testing networks. Patch by
  11886. "robgjansen", modified by "teor". Implements part of ticket 14882.
  11887. - Check for matching value in server response in ntor_ref.py. Fixes
  11888. bug 15591; bugfix on 0.2.4.8-alpha. Reported and fixed
  11889. by "joelanders".
  11890. - Set the severity correctly when testing
  11891. get_interface_addresses_ifaddrs() and
  11892. get_interface_addresses_win32(), so that the tests fail gracefully
  11893. instead of triggering an assertion. Fixes bug 15759; bugfix on
  11894. 0.2.6.3-alpha. Reported by Nicolas Derive.
  11895. Changes in version 0.2.6.10 - 2015-07-12
  11896. Tor version 0.2.6.10 fixes some significant stability and hidden
  11897. service client bugs, bulletproofs the cryptography init process, and
  11898. fixes a bug when using the sandbox code with some older versions of
  11899. Linux. Everyone running an older version, especially an older version
  11900. of 0.2.6, should upgrade.
  11901. o Major bugfixes (hidden service clients, stability):
  11902. - Stop refusing to store updated hidden service descriptors on a
  11903. client. This reverts commit 9407040c59218 (which indeed fixed bug
  11904. 14219, but introduced a major hidden service reachability
  11905. regression detailed in bug 16381). This is a temporary fix since
  11906. we can live with the minor issue in bug 14219 (it just results in
  11907. some load on the network) but the regression of 16381 is too much
  11908. of a setback. First-round fix for bug 16381; bugfix
  11909. on 0.2.6.3-alpha.
  11910. o Major bugfixes (stability):
  11911. - Stop crashing with an assertion failure when parsing certain kinds
  11912. of malformed or truncated microdescriptors. Fixes bug 16400;
  11913. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  11914. by "cypherpunks_backup".
  11915. - Stop random client-side assertion failures that could occur when
  11916. connecting to a busy hidden service, or connecting to a hidden
  11917. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  11918. on 0.1.0.1-rc.
  11919. o Minor features (geoip):
  11920. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  11921. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  11922. o Minor bugfixes (crypto error-handling):
  11923. - Check for failures from crypto_early_init, and refuse to continue.
  11924. A previous typo meant that we could keep going with an
  11925. uninitialized crypto library, and would have OpenSSL initialize
  11926. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  11927. when implementing ticket 4900. Patch by "teor".
  11928. o Minor bugfixes (Linux seccomp2 sandbox):
  11929. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  11930. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  11931. on 0.2.6.3-alpha. Patch from "teor".
  11932. Changes in version 0.2.6.9 - 2015-06-11
  11933. Tor 0.2.6.9 fixes a regression in the circuit isolation code, increases the
  11934. requirements for receiving an HSDir flag, and addresses some other small
  11935. bugs in the systemd and sandbox code. Clients using circuit isolation
  11936. should upgrade; all directory authorities should upgrade.
  11937. o Major bugfixes (client-side privacy):
  11938. - Properly separate out each SOCKSPort when applying stream
  11939. isolation. The error occurred because each port's session group was
  11940. being overwritten by a default value when the listener connection
  11941. was initialized. Fixes bug 16247; bugfix on 0.2.6.3-alpha. Patch
  11942. by "jojelino".
  11943. o Minor feature (directory authorities, security):
  11944. - The HSDir flag given by authorities now requires the Stable flag.
  11945. For the current network, this results in going from 2887 to 2806
  11946. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  11947. attack by raising the effort for a relay to become Stable which
  11948. takes at the very least 7 days to do so and by keeping the 96
  11949. hours uptime requirement for HSDir. Implements ticket 8243.
  11950. o Minor bugfixes (compilation):
  11951. - Build with --enable-systemd correctly when libsystemd is
  11952. installed, but systemd is not. Fixes bug 16164; bugfix on
  11953. 0.2.6.3-alpha. Patch from Peter Palfrader.
  11954. o Minor bugfixes (Linux seccomp2 sandbox):
  11955. - Fix sandboxing to work when running as a relaymby renaming of
  11956. secret_id_key, and allowing the eventfd2 and futex syscalls. Fixes
  11957. bug 16244; bugfix on 0.2.6.1-alpha. Patch by Peter Palfrader.
  11958. - Allow systemd connections to work with the Linux seccomp2 sandbox
  11959. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  11960. Peter Palfrader.
  11961. o Minor bugfixes (tests):
  11962. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  11963. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  11964. Changes in version 0.2.6.8 - 2015-05-21
  11965. Tor 0.2.6.8 fixes a bit of dodgy code in parsing INTRODUCE2 cells, and
  11966. fixes an authority-side bug in assigning the HSDir flag. All directory
  11967. authorities should upgrade.
  11968. o Major bugfixes (hidden services, backport from 0.2.7.1-alpha):
  11969. - Revert commit that made directory authorities assign the HSDir
  11970. flag to relays without a DirPort; this was bad because such relays
  11971. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  11972. on 0.2.6.3-alpha.
  11973. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  11974. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  11975. a client authorized hidden service. Fixes bug 15823; bugfix
  11976. on 0.2.1.6-alpha.
  11977. o Minor features (geoip):
  11978. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  11979. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  11980. Country database.
  11981. Changes in version 0.2.6.7 - 2015-04-06
  11982. Tor 0.2.6.7 fixes two security issues that could be used by an
  11983. attacker to crash hidden services, or crash clients visiting hidden
  11984. services. Hidden services should upgrade as soon as possible; clients
  11985. should upgrade whenever packages become available.
  11986. This release also contains two simple improvements to make hidden
  11987. services a bit less vulnerable to denial-of-service attacks.
  11988. o Major bugfixes (security, hidden service):
  11989. - Fix an issue that would allow a malicious client to trigger an
  11990. assertion failure and halt a hidden service. Fixes bug 15600;
  11991. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  11992. - Fix a bug that could cause a client to crash with an assertion
  11993. failure when parsing a malformed hidden service descriptor. Fixes
  11994. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  11995. o Minor features (DoS-resistance, hidden service):
  11996. - Introduction points no longer allow multiple INTRODUCE1 cells to
  11997. arrive on the same circuit. This should make it more expensive for
  11998. attackers to overwhelm hidden services with introductions.
  11999. Resolves ticket 15515.
  12000. - Decrease the amount of reattempts that a hidden service performs
  12001. when its rendezvous circuits fail. This reduces the computational
  12002. cost for running a hidden service under heavy load. Resolves
  12003. ticket 11447.
  12004. Changes in version 0.2.5.12 - 2015-04-06
  12005. Tor 0.2.5.12 backports two fixes from 0.2.6.7 for security issues that
  12006. could be used by an attacker to crash hidden services, or crash clients
  12007. visiting hidden services. Hidden services should upgrade as soon as
  12008. possible; clients should upgrade whenever packages become available.
  12009. This release also backports a simple improvement to make hidden
  12010. services a bit less vulnerable to denial-of-service attacks.
  12011. o Major bugfixes (security, hidden service):
  12012. - Fix an issue that would allow a malicious client to trigger an
  12013. assertion failure and halt a hidden service. Fixes bug 15600;
  12014. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  12015. - Fix a bug that could cause a client to crash with an assertion
  12016. failure when parsing a malformed hidden service descriptor. Fixes
  12017. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  12018. o Minor features (DoS-resistance, hidden service):
  12019. - Introduction points no longer allow multiple INTRODUCE1 cells to
  12020. arrive on the same circuit. This should make it more expensive for
  12021. attackers to overwhelm hidden services with introductions.
  12022. Resolves ticket 15515.
  12023. Changes in version 0.2.4.27 - 2015-04-06
  12024. Tor 0.2.4.27 backports two fixes from 0.2.6.7 for security issues that
  12025. could be used by an attacker to crash hidden services, or crash clients
  12026. visiting hidden services. Hidden services should upgrade as soon as
  12027. possible; clients should upgrade whenever packages become available.
  12028. This release also backports a simple improvement to make hidden
  12029. services a bit less vulnerable to denial-of-service attacks.
  12030. o Major bugfixes (security, hidden service):
  12031. - Fix an issue that would allow a malicious client to trigger an
  12032. assertion failure and halt a hidden service. Fixes bug 15600;
  12033. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  12034. - Fix a bug that could cause a client to crash with an assertion
  12035. failure when parsing a malformed hidden service descriptor. Fixes
  12036. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  12037. o Minor features (DoS-resistance, hidden service):
  12038. - Introduction points no longer allow multiple INTRODUCE1 cells to
  12039. arrive on the same circuit. This should make it more expensive for
  12040. attackers to overwhelm hidden services with introductions.
  12041. Resolves ticket 15515.
  12042. Changes in version 0.2.6.6 - 2015-03-24
  12043. Tor 0.2.6.6 is the first stable release in the 0.2.6 series.
  12044. It adds numerous safety, security, correctness, and performance
  12045. improvements. Client programs can be configured to use more kinds of
  12046. sockets, AutomapHosts works better, the multithreading backend is
  12047. improved, cell transmission is refactored, test coverage is much
  12048. higher, more denial-of-service attacks are handled, guard selection is
  12049. improved to handle long-term guards better, pluggable transports
  12050. should work a bit better, and some annoying hidden service performance
  12051. bugs should be addressed.
  12052. o New compiler and system requirements:
  12053. - Tor 0.2.6.x requires that your compiler support more of the C99
  12054. language standard than before. The 'configure' script now detects
  12055. whether your compiler supports C99 mid-block declarations and
  12056. designated initializers. If it does not, Tor will not compile.
  12057. We may revisit this requirement if it turns out that a significant
  12058. number of people need to build Tor with compilers that don't
  12059. bother implementing a 15-year-old standard. Closes ticket 13233.
  12060. - Tor no longer supports systems without threading support. When we
  12061. began working on Tor, there were several systems that didn't have
  12062. threads, or where the thread support wasn't able to run the
  12063. threads of a single process on multiple CPUs. That no longer
  12064. holds: every system where Tor needs to run well now has threading
  12065. support. Resolves ticket 12439.
  12066. o Deprecated versions and removed support:
  12067. - Tor relays older than 0.2.4.18-rc are no longer allowed to
  12068. advertise themselves on the network. Closes ticket 13555.
  12069. - Tor clients no longer support connecting to hidden services
  12070. running on Tor 0.2.2.x and earlier; the Support022HiddenServices
  12071. option has been removed. (There shouldn't be any hidden services
  12072. running these versions on the network.) Closes ticket 7803.
  12073. o Directory authority changes:
  12074. - The directory authority Faravahar has a new IP address. This
  12075. closes ticket 14487.
  12076. - Remove turtles as a directory authority.
  12077. - Add longclaw as a new (v3) directory authority. This implements
  12078. ticket 13296. This keeps the directory authority count at 9.
  12079. o Major features (bridges):
  12080. - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
  12081. transports if they are configured via the "TOR_PT_PROXY"
  12082. environment variable. Implements proposal 232. Resolves
  12083. ticket 8402.
  12084. o Major features (changed defaults):
  12085. - Prevent relay operators from unintentionally running exits: When a
  12086. relay is configured as an exit node, we now warn the user unless
  12087. the "ExitRelay" option is set to 1. We warn even more loudly if
  12088. the relay is configured with the default exit policy, since this
  12089. can indicate accidental misconfiguration. Setting "ExitRelay 0"
  12090. stops Tor from running as an exit relay. Closes ticket 10067.
  12091. o Major features (client performance, hidden services):
  12092. - Allow clients to use optimistic data when connecting to a hidden
  12093. service, which should remove a round-trip from hidden service
  12094. initialization. See proposal 181 for details. Implements
  12095. ticket 13211.
  12096. o Major features (directory system):
  12097. - Upon receiving an unparseable directory object, if its digest
  12098. matches what we expected, then don't try to download it again.
  12099. Previously, when we got a descriptor we didn't like, we would keep
  12100. trying to download it over and over. Closes ticket 11243.
  12101. - When downloading server- or microdescriptors from a directory
  12102. server, we no longer launch multiple simultaneous requests to the
  12103. same server. This reduces load on the directory servers,
  12104. especially when directory guards are in use. Closes ticket 9969.
  12105. - When downloading server- or microdescriptors over a tunneled
  12106. connection, do not limit the length of our requests to what the
  12107. Squid proxy is willing to handle. Part of ticket 9969.
  12108. - Authorities can now vote on the correct digests and latest
  12109. versions for different software packages. This allows packages
  12110. that include Tor to use the Tor authority system as a way to get
  12111. notified of updates and their correct digests. Implements proposal
  12112. 227. Closes ticket 10395.
  12113. o Major features (guards):
  12114. - Introduce the Guardfraction feature to improves load balancing on
  12115. guard nodes. Specifically, it aims to reduce the traffic gap that
  12116. guard nodes experience when they first get the Guard flag. This is
  12117. a required step if we want to increase the guard lifetime to 9
  12118. months or greater. Closes ticket 9321.
  12119. o Major features (hidden services):
  12120. - Make HS port scanning more difficult by immediately closing the
  12121. circuit when a user attempts to connect to a nonexistent port.
  12122. Closes ticket 13667.
  12123. - Add a HiddenServiceStatistics option that allows Tor relays to
  12124. gather and publish statistics about the overall size and volume of
  12125. hidden service usage. Specifically, when this option is turned on,
  12126. an HSDir will publish an approximate number of hidden services
  12127. that have published descriptors to it the past 24 hours. Also, if
  12128. a relay has acted as a hidden service rendezvous point, it will
  12129. publish the approximate amount of rendezvous cells it has relayed
  12130. the past 24 hours. The statistics themselves are obfuscated so
  12131. that the exact values cannot be derived. For more details see
  12132. proposal 238, "Better hidden service stats from Tor relays". This
  12133. feature is currently disabled by default. Implements feature 13192.
  12134. o Major features (performance):
  12135. - Make the CPU worker implementation more efficient by avoiding the
  12136. kernel and lengthening pipelines. The original implementation used
  12137. sockets to transfer data from the main thread to the workers, and
  12138. didn't allow any thread to be assigned more than a single piece of
  12139. work at once. The new implementation avoids communications
  12140. overhead by making requests in shared memory, avoiding kernel IO
  12141. where possible, and keeping more requests in flight at once.
  12142. Implements ticket 9682.
  12143. o Major features (relay):
  12144. - Raise the minimum acceptable configured bandwidth rate for bridges
  12145. to 50 KiB/sec and for relays to 75 KiB/sec. (The old values were
  12146. 20 KiB/sec.) Closes ticket 13822.
  12147. - Complete revision of the code that relays use to decide which cell
  12148. to send next. Formerly, we selected the best circuit to write on
  12149. each channel, but we didn't select among channels in any
  12150. sophisticated way. Now, we choose the best circuits globally from
  12151. among those whose channels are ready to deliver traffic.
  12152. This patch implements a new inter-cmux comparison API, a global
  12153. high/low watermark mechanism and a global scheduler loop for
  12154. transmission prioritization across all channels as well as among
  12155. circuits on one channel. This schedule is currently tuned to
  12156. (tolerantly) avoid making changes in network performance, but it
  12157. should form the basis for major circuit performance increases in
  12158. the future. Code by Andrea; tuning by Rob Jansen; implements
  12159. ticket 9262.
  12160. o Major features (sample torrc):
  12161. - Add a new, infrequently-changed "torrc.minimal". This file is
  12162. similar to torrc.sample, but it will change as infrequently as
  12163. possible, for the benefit of users whose systems prompt them for
  12164. intervention whenever a default configuration file is changed.
  12165. Making this change allows us to update torrc.sample to be a more
  12166. generally useful "sample torrc".
  12167. o Major features (security, unix domain sockets):
  12168. - Allow SocksPort to be an AF_UNIX Unix Domain Socket. Now high risk
  12169. applications can reach Tor without having to create AF_INET or
  12170. AF_INET6 sockets, meaning they can completely disable their
  12171. ability to make non-Tor network connections. To create a socket of
  12172. this type, use "SocksPort unix:/path/to/socket". Implements
  12173. ticket 12585.
  12174. - Support mapping hidden service virtual ports to AF_UNIX sockets.
  12175. The syntax is "HiddenServicePort 80 unix:/path/to/socket".
  12176. Implements ticket 11485.
  12177. o Major bugfixes (client, automap):
  12178. - Repair automapping with IPv6 addresses. This automapping should
  12179. have worked previously, but one piece of debugging code that we
  12180. inserted to detect a regression actually caused the regression to
  12181. manifest itself again. Fixes bug 13811 and bug 12831; bugfix on
  12182. 0.2.4.7-alpha. Diagnosed and fixed by Francisco Blas
  12183. Izquierdo Riera.
  12184. o Major bugfixes (crash, OSX, security):
  12185. - Fix a remote denial-of-service opportunity caused by a bug in
  12186. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  12187. in OSX 10.9.
  12188. o Major bugfixes (directory authorities):
  12189. - Do not assign the HSDir flag to relays if they are not Valid, or
  12190. currently hibernating. Fixes 12573; bugfix on 0.2.0.10-alpha.
  12191. o Major bugfixes (directory bandwidth performance):
  12192. - Don't flush the zlib buffer aggressively when compressing
  12193. directory information for clients. This should save about 7% of
  12194. the bandwidth currently used for compressed descriptors and
  12195. microdescriptors. Fixes bug 11787; bugfix on 0.1.1.23.
  12196. o Major bugfixes (exit node stability):
  12197. - Fix an assertion failure that could occur under high DNS load.
  12198. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  12199. diagnosed and fixed by "cypherpunks".
  12200. o Major bugfixes (FreeBSD IPFW transparent proxy):
  12201. - Fix address detection with FreeBSD transparent proxies, when
  12202. "TransProxyType ipfw" is in use. Fixes bug 15064; bugfix
  12203. on 0.2.5.4-alpha.
  12204. o Major bugfixes (hidden services):
  12205. - When closing an introduction circuit that was opened in parallel
  12206. with others, don't mark the introduction point as unreachable.
  12207. Previously, the first successful connection to an introduction
  12208. point would make the other introduction points get marked as
  12209. having timed out. Fixes bug 13698; bugfix on 0.0.6rc2.
  12210. o Major bugfixes (Linux seccomp2 sandbox):
  12211. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  12212. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  12213. 0.2.5.1-alpha. Patch from "sanic".
  12214. o Major bugfixes (mixed relay-client operation):
  12215. - When running as a relay and client at the same time (not
  12216. recommended), if we decide not to use a new guard because we want
  12217. to retry older guards, only close the locally-originating circuits
  12218. passing through that guard. Previously we would close all the
  12219. circuits through that guard. Fixes bug 9819; bugfix on
  12220. 0.2.1.1-alpha. Reported by "skruffy".
  12221. o Major bugfixes (pluggable transports):
  12222. - Initialize the extended OR Port authentication cookie before
  12223. launching pluggable transports. This prevents a race condition
  12224. that occurred when server-side pluggable transports would cache the
  12225. authentication cookie before it has been (re)generated. Fixes bug
  12226. 15240; bugfix on 0.2.5.1-alpha.
  12227. o Major bugfixes (relay, stability, possible security):
  12228. - Fix a bug that could lead to a relay crashing with an assertion
  12229. failure if a buffer of exactly the wrong layout is passed to
  12230. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  12231. 0.2.0.10-alpha. Patch from "cypherpunks".
  12232. - Do not assert if the 'data' pointer on a buffer is advanced to the
  12233. very end of the buffer; log a BUG message instead. Only assert if
  12234. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  12235. o Minor features (build):
  12236. - New --disable-system-torrc compile-time option to prevent Tor from
  12237. looking for the system-wide torrc or torrc-defaults files.
  12238. Resolves ticket 13037.
  12239. o Minor features (client):
  12240. - Clients are now willing to send optimistic data (before they
  12241. receive a 'connected' cell) to relays of any version. (Relays
  12242. without support for optimistic data are no longer supported on the
  12243. Tor network.) Resolves ticket 13153.
  12244. o Minor features (client):
  12245. - Validate hostnames in SOCKS5 requests more strictly. If SafeSocks
  12246. is enabled, reject requests with IP addresses as hostnames.
  12247. Resolves ticket 13315.
  12248. o Minor features (controller):
  12249. - Add a "SIGNAL HEARTBEAT" controller command that tells Tor to
  12250. write an unscheduled heartbeat message to the log. Implements
  12251. feature 9503.
  12252. - Include SOCKS_USERNAME and SOCKS_PASSWORD values in controller
  12253. events so controllers can observe circuit isolation inputs. Closes
  12254. ticket 8405.
  12255. - ControlPort now supports the unix:/path/to/socket syntax as an
  12256. alternative to the ControlSocket option, for consistency with
  12257. SocksPort and HiddenServicePort. Closes ticket 14451.
  12258. - New "GETINFO bw-event-cache" to get information about recent
  12259. bandwidth events. Closes ticket 14128. Useful for controllers to
  12260. get recent bandwidth history after the fix for ticket 13988.
  12261. - Messages about problems in the bootstrap process now include
  12262. information about the server we were trying to connect to when we
  12263. noticed the problem. Closes ticket 15006.
  12264. o Minor features (Denial of service resistance):
  12265. - Count the total number of bytes used storing hidden service
  12266. descriptors against the value of MaxMemInQueues. If we're low on
  12267. memory, and more than 20% of our memory is used holding hidden
  12268. service descriptors, free them until no more than 10% of our
  12269. memory holds hidden service descriptors. Free the least recently
  12270. fetched descriptors first. Resolves ticket 13806.
  12271. - When we have recently been under memory pressure (over 3/4 of
  12272. MaxMemInQueues is allocated), then allocate smaller zlib objects
  12273. for small requests. Closes ticket 11791.
  12274. o Minor features (directory authorities):
  12275. - Don't list relays with a bandwidth estimate of 0 in the consensus.
  12276. Implements a feature proposed during discussion of bug 13000.
  12277. - In tor-gencert, report an error if the user provides the same
  12278. argument more than once.
  12279. - If a directory authority can't find a best consensus method in the
  12280. votes that it holds, it now falls back to its favorite consensus
  12281. method. Previously, it fell back to method 1. Neither of these is
  12282. likely to get enough signatures, but "fall back to favorite"
  12283. doesn't require us to maintain support an obsolete consensus
  12284. method. Implements part of proposal 215.
  12285. o Minor features (geoip):
  12286. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  12287. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  12288. Country database.
  12289. o Minor features (guard nodes):
  12290. - Reduce the time delay before saving guard status to disk from 10
  12291. minutes to 30 seconds (or from one hour to 10 minutes if
  12292. AvoidDiskWrites is set). Closes ticket 12485.
  12293. o Minor features (heartbeat):
  12294. - On relays, report how many connections we negotiated using each
  12295. version of the Tor link protocols. This information will let us
  12296. know if removing support for very old versions of the Tor
  12297. protocols is harming the network. Closes ticket 15212.
  12298. o Minor features (hidden service):
  12299. - Make Sybil attacks against hidden services harder by changing the
  12300. minimum time required to get the HSDir flag from 25 hours up to 96
  12301. hours. Addresses ticket 14149.
  12302. - New option "HiddenServiceAllowUnknownPorts" to allow hidden
  12303. services to disable the anti-scanning feature introduced in
  12304. 0.2.6.2-alpha. With this option not set, a connection to an
  12305. unlisted port closes the circuit. With this option set, only a
  12306. RELAY_DONE cell is sent. Closes ticket 14084.
  12307. - When re-enabling the network, don't try to build introduction
  12308. circuits until we have successfully built a circuit. This makes
  12309. hidden services come up faster when the network is re-enabled.
  12310. Patch from "akwizgran". Closes ticket 13447.
  12311. - When we fail to retrieve a hidden service descriptor, send the
  12312. controller an "HS_DESC FAILED" controller event. Implements
  12313. feature 13212.
  12314. - New HiddenServiceDirGroupReadable option to cause hidden service
  12315. directories and hostname files to be created group-readable. Patch
  12316. from "anon", David Stainton, and "meejah". Closes ticket 11291.
  12317. o Minor features (interface):
  12318. - Implement "-f -" command-line option to read torrc configuration
  12319. from standard input, if you don't want to store the torrc file in
  12320. the file system. Implements feature 13865.
  12321. o Minor features (logging):
  12322. - Add a count of unique clients to the bridge heartbeat message.
  12323. Resolves ticket 6852.
  12324. - Suppress "router info incompatible with extra info" message when
  12325. reading extrainfo documents from cache. (This message got loud
  12326. around when we closed bug 9812 in 0.2.6.2-alpha.) Closes
  12327. ticket 13762.
  12328. - Elevate hidden service authorized-client message from DEBUG to
  12329. INFO. Closes ticket 14015.
  12330. - On Unix-like systems, you can now use named pipes as the target of
  12331. the Log option, and other options that try to append to files.
  12332. Closes ticket 12061. Patch from "carlo von lynX".
  12333. - When opening a log file at startup, send it every log message that
  12334. we generated between startup and opening it. Previously, log
  12335. messages that were generated before opening the log file were only
  12336. logged to stdout. Closes ticket 6938.
  12337. - Add a TruncateLogFile option to overwrite logs instead of
  12338. appending to them. Closes ticket 5583.
  12339. - Quiet some log messages in the heartbeat and at startup. Closes
  12340. ticket 14950.
  12341. o Minor features (portability, Solaris):
  12342. - Threads are no longer disabled by default on Solaris; we believe
  12343. that the versions of Solaris with broken threading support are all
  12344. obsolete by now. Resolves ticket 9495.
  12345. o Minor features (relay):
  12346. - Re-check our address after we detect a changed IP address from
  12347. getsockname(). This ensures that the controller command "GETINFO
  12348. address" will report the correct value. Resolves ticket 11582.
  12349. Patch from "ra".
  12350. - A new AccountingRule option lets Relays set whether they'd like
  12351. AccountingMax to be applied separately to inbound and outbound
  12352. traffic, or applied to the sum of inbound and outbound traffic.
  12353. Resolves ticket 961. Patch by "chobe".
  12354. - When identity keypair is generated for first time, log a
  12355. congratulatory message that links to the new relay lifecycle
  12356. document. Implements feature 10427.
  12357. o Minor features (security, memory wiping):
  12358. - Ensure we securely wipe keys from memory after
  12359. crypto_digest_get_digest and init_curve25519_keypair_from_file
  12360. have finished using them. Resolves ticket 13477.
  12361. o Minor features (security, out-of-memory handling):
  12362. - When handling an out-of-memory condition, allocate less memory for
  12363. temporary data structures. Fixes issue 10115.
  12364. - When handling an out-of-memory condition, consider more types of
  12365. buffers, including those on directory connections, and zlib
  12366. buffers. Resolves ticket 11792.
  12367. o Minor features (stability):
  12368. - Add assertions in our hash-table iteration code to check for
  12369. corrupted values that could cause infinite loops. Closes
  12370. ticket 11737.
  12371. o Minor features (systemd):
  12372. - Various improvements and modernizations in systemd hardening
  12373. support. Closes ticket 13805. Patch from Craig Andrews.
  12374. - Where supported, when running with systemd, report successful
  12375. startup to systemd. Part of ticket 11016. Patch by Michael Scherer.
  12376. - When running with systemd, support systemd watchdog messages. Part
  12377. of ticket 11016. Patch by Michael Scherer.
  12378. o Minor features (testing networks):
  12379. - Add the TestingDirAuthVoteExit option, which lists nodes to assign
  12380. the "Exit" flag regardless of their uptime, bandwidth, or exit
  12381. policy. TestingTorNetwork must be set for this option to have any
  12382. effect. Previously, authorities would take up to 35 minutes to
  12383. give nodes the Exit flag in a test network. Partially implements
  12384. ticket 13161.
  12385. - Drop the minimum RendPostPeriod on a testing network to 5 seconds,
  12386. and the default on a testing network to 2 minutes. Drop the
  12387. MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but
  12388. keep the default on a testing network at 30 seconds. This reduces
  12389. HS bootstrap time to around 25 seconds. Also, change the default
  12390. time in test-network.sh to match. Closes ticket 13401. Patch
  12391. by "teor".
  12392. - Create TestingDirAuthVoteHSDir to correspond to
  12393. TestingDirAuthVoteExit/Guard. Ensures that authorities vote the
  12394. HSDir flag for the listed relays regardless of uptime or ORPort
  12395. connectivity. Respects the value of VoteOnHidServDirectoriesV2.
  12396. Partial implementation for ticket 14067. Patch by "teor".
  12397. o Minor features (tor2web mode):
  12398. - Introduce the config option Tor2webRendezvousPoints, which allows
  12399. clients in Tor2webMode to select a specific Rendezvous Point to be
  12400. used in HS circuits. This might allow better performance for
  12401. Tor2Web nodes. Implements ticket 12844.
  12402. o Minor features (transparent proxy):
  12403. - Update the transparent proxy option checks to allow for both ipfw
  12404. and pf on OS X. Closes ticket 14002.
  12405. - Use the correct option when using IPv6 with transparent proxy
  12406. support on Linux. Resolves 13808. Patch by Francisco Blas
  12407. Izquierdo Riera.
  12408. o Minor features (validation):
  12409. - Check all date/time values passed to tor_timegm and
  12410. parse_rfc1123_time for validity, taking leap years into account.
  12411. Improves HTTP header validation. Implemented with bug 13476.
  12412. - In correct_tm(), limit the range of values returned by system
  12413. localtime(_r) and gmtime(_r) to be between the years 1 and 8099.
  12414. This means we don't have to deal with negative or too large dates,
  12415. even if a clock is wrong. Otherwise we might fail to read a file
  12416. written by us which includes such a date. Fixes bug 13476.
  12417. - Stop allowing invalid address patterns like "*/24" that contain
  12418. both a wildcard address and a bit prefix length. This affects all
  12419. our address-range parsing code. Fixes bug 7484; bugfix
  12420. on 0.0.2pre14.
  12421. o Minor bugfixes (bridge clients):
  12422. - When configured to use a bridge without an identity digest (not
  12423. recommended), avoid launching an extra channel to it when
  12424. bootstrapping. Fixes bug 7733; bugfix on 0.2.4.4-alpha.
  12425. o Minor bugfixes (bridges):
  12426. - When DisableNetwork is set, do not launch pluggable transport
  12427. plugins, and if any are running, terminate them. Fixes bug 13213;
  12428. bugfix on 0.2.3.6-alpha.
  12429. o Minor bugfixes (C correctness):
  12430. - Fix several instances of possible integer overflow/underflow/NaN.
  12431. Fixes bug 13104; bugfix on 0.2.3.1-alpha and later. Patches
  12432. from "teor".
  12433. - In circuit_build_times_calculate_timeout() in circuitstats.c,
  12434. avoid dividing by zero in the pareto calculations. This traps
  12435. under clang's "undefined-trap" sanitizer. Fixes bug 13290; bugfix
  12436. on 0.2.2.2-alpha.
  12437. - Fix an integer overflow in format_time_interval(). Fixes bug
  12438. 13393; bugfix on 0.2.0.10-alpha.
  12439. - Set the correct day of year value when the system's localtime(_r)
  12440. or gmtime(_r) functions fail to set struct tm. Not externally
  12441. visible. Fixes bug 13476; bugfix on 0.0.2pre14.
  12442. - Avoid unlikely signed integer overflow in tor_timegm on systems
  12443. with 32-bit time_t. Fixes bug 13476; bugfix on 0.0.2pre14.
  12444. o Minor bugfixes (certificate handling):
  12445. - If an authority operator accidentally makes a signing certificate
  12446. with a future publication time, do not discard its real signing
  12447. certificates. Fixes bug 11457; bugfix on 0.2.0.3-alpha.
  12448. - Remove any old authority certificates that have been superseded
  12449. for at least two days. Previously, we would keep superseded
  12450. certificates until they expired, if they were published close in
  12451. time to the certificate that superseded them. Fixes bug 11454;
  12452. bugfix on 0.2.1.8-alpha.
  12453. o Minor bugfixes (client):
  12454. - Fix smartlist_choose_node_by_bandwidth() so that relays with the
  12455. BadExit flag are not considered worthy candidates. Fixes bug
  12456. 13066; bugfix on 0.1.2.3-alpha.
  12457. - Use the consensus schedule for downloading consensuses, and not
  12458. the generic schedule. Fixes bug 11679; bugfix on 0.2.2.6-alpha.
  12459. - Handle unsupported or malformed SOCKS5 requests properly by
  12460. responding with the appropriate error message before closing the
  12461. connection. Fixes bugs 12971 and 13314; bugfix on 0.0.2pre13.
  12462. o Minor bugfixes (client, automapping):
  12463. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  12464. no value follows the option. Fixes bug 14142; bugfix on
  12465. 0.2.4.7-alpha. Patch by "teor".
  12466. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  12467. 14195; bugfix on 0.1.0.1-rc.
  12468. - Prevent changes to other options from removing the wildcard value
  12469. "." from "AutomapHostsSuffixes". Fixes bug 12509; bugfix
  12470. on 0.2.0.1-alpha.
  12471. - Allow MapAddress and AutomapHostsOnResolve to work together when
  12472. an address is mapped into another address type (like .onion) that
  12473. must be automapped at resolve time. Fixes bug 7555; bugfix
  12474. on 0.2.0.1-alpha.
  12475. o Minor bugfixes (client, bridges):
  12476. - When we are using bridges and we had a network connectivity
  12477. problem, only retry connecting to our currently configured
  12478. bridges, not all bridges we know about and remember using. Fixes
  12479. bug 14216; bugfix on 0.2.2.17-alpha.
  12480. o Minor bugfixes (client, DNS):
  12481. - Report the correct cached DNS expiration times on SOCKS port or in
  12482. DNS replies. Previously, we would report everything as "never
  12483. expires." Fixes bug 14193; bugfix on 0.2.3.17-beta.
  12484. - Avoid a small memory leak when we find a cached answer for a
  12485. reverse DNS lookup in a client-side DNS cache. (Remember, client-
  12486. side DNS caching is off by default, and is not recommended.) Fixes
  12487. bug 14259; bugfix on 0.2.0.1-alpha.
  12488. o Minor bugfixes (client, IPv6):
  12489. - Reject socks requests to literal IPv6 addresses when IPv6Traffic
  12490. flag is not set; and not because the NoIPv4Traffic flag was set.
  12491. Previously we'd looked at the NoIPv4Traffic flag for both types of
  12492. literal addresses. Fixes bug 14280; bugfix on 0.2.4.7-alpha.
  12493. o Minor bugfixes (client, microdescriptors):
  12494. - Use a full 256 bits of the SHA256 digest of a microdescriptor when
  12495. computing which microdescriptors to download. This keeps us from
  12496. erroneous download behavior if two microdescriptor digests ever
  12497. have the same first 160 bits. Fixes part of bug 13399; bugfix
  12498. on 0.2.3.1-alpha.
  12499. - Reset a router's status if its microdescriptor digest changes,
  12500. even if the first 160 bits remain the same. Fixes part of bug
  12501. 13399; bugfix on 0.2.3.1-alpha.
  12502. o Minor bugfixes (client, torrc):
  12503. - Stop modifying the value of our DirReqStatistics torrc option just
  12504. because we're not a bridge or relay. This bug was causing Tor
  12505. Browser users to write "DirReqStatistics 0" in their torrc files
  12506. as if they had chosen to change the config. Fixes bug 4244; bugfix
  12507. on 0.2.3.1-alpha.
  12508. - When GeoIPExcludeUnknown is enabled, do not incorrectly decide
  12509. that our options have changed every time we SIGHUP. Fixes bug
  12510. 9801; bugfix on 0.2.4.10-alpha. Patch from "qwerty1".
  12511. o Minor bugfixes (compilation):
  12512. - Fix a compilation warning on s390. Fixes bug 14988; bugfix
  12513. on 0.2.5.2-alpha.
  12514. - Silence clang warnings under --enable-expensive-hardening,
  12515. including implicit truncation of 64 bit values to 32 bit, const
  12516. char assignment to self, tautological compare, and additional
  12517. parentheses around equality tests. Fixes bug 13577; bugfix
  12518. on 0.2.5.4-alpha.
  12519. - Fix a clang warning about checking whether an address in the
  12520. middle of a structure is NULL. Fixes bug 14001; bugfix
  12521. on 0.2.1.2-alpha.
  12522. - The address of an array in the middle of a structure will always
  12523. be non-NULL. clang recognises this and complains. Disable the
  12524. tautologous and redundant check to silence this warning. Fixes bug
  12525. 14001; bugfix on 0.2.1.2-alpha.
  12526. - Compile correctly with (unreleased) OpenSSL 1.1.0 headers.
  12527. Addresses ticket 14188.
  12528. - Build without warnings with the stock OpenSSL srtp.h header, which
  12529. has a duplicate declaration of SSL_get_selected_srtp_profile().
  12530. Fixes bug 14220; this is OpenSSL's bug, not ours.
  12531. - Do not compile any code related to Tor2Web mode when Tor2Web mode
  12532. is not enabled at compile time. Previously, this code was included
  12533. in a disabled state. See discussion on ticket 12844.
  12534. - Allow our configure script to build correctly with autoconf 2.62
  12535. again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
  12536. - Improve the error message from ./configure to make it clear that
  12537. when asciidoc has not been found, the user will have to either add
  12538. --disable-asciidoc argument or install asciidoc. Resolves
  12539. ticket 13228.
  12540. o Minor bugfixes (controller):
  12541. - Report "down" in response to the "GETINFO entry-guards" command
  12542. when relays are down with an unreachable_since value. Previously,
  12543. we would report "up". Fixes bug 14184; bugfix on 0.1.2.2-alpha.
  12544. - Avoid crashing on a malformed EXTENDCIRCUIT command. Fixes bug
  12545. 14116; bugfix on 0.2.2.9-alpha.
  12546. o Minor bugfixes (controller):
  12547. - Return an error when the second or later arguments of the
  12548. "setevents" controller command are invalid events. Previously we
  12549. would return success while silently skipping invalid events. Fixes
  12550. bug 13205; bugfix on 0.2.3.2-alpha. Reported by "fpxnns".
  12551. o Minor bugfixes (directory authority):
  12552. - Allow directory authorities to fetch more data from one another if
  12553. they find themselves missing lots of votes. Previously, they had
  12554. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  12555. bugfix on 0.1.2.5-alpha.
  12556. - Do not attempt to download extrainfo documents which we will be
  12557. unable to validate with a matching server descriptor. Fixes bug
  12558. 13762; bugfix on 0.2.0.1-alpha.
  12559. - Fix a bug that was truncating AUTHDIR_NEWDESC events sent to the
  12560. control port. Fixes bug 14953; bugfix on 0.2.0.1-alpha.
  12561. - Enlarge the buffer to read bwauth generated files to avoid an
  12562. issue when parsing the file in dirserv_read_measured_bandwidths().
  12563. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  12564. - When running as a v3 directory authority, advertise that you serve
  12565. extra-info documents so that clients who want them can find them
  12566. from you too. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  12567. o Minor bugfixes (directory system):
  12568. - Always believe that v3 directory authorities serve extra-info
  12569. documents, whether they advertise "caches-extra-info" or not.
  12570. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  12571. - Check the BRIDGE_DIRINFO flag bitwise rather than using equality.
  12572. Previously, directories offering BRIDGE_DIRINFO and some other
  12573. flag (i.e. microdescriptors or extrainfo) would be ignored when
  12574. looking for bridges. Partially fixes bug 13163; bugfix
  12575. on 0.2.0.7-alpha.
  12576. o Minor bugfixes (file handling):
  12577. - Stop failing when key files are zero-length. Instead, generate new
  12578. keys, and overwrite the empty key files. Fixes bug 13111; bugfix
  12579. on all versions of Tor. Patch by "teor".
  12580. - Stop generating a fresh .old RSA onion key file when the .old file
  12581. is missing. Fixes part of 13111; bugfix on 0.0.6rc1.
  12582. - Avoid overwriting .old key files with empty key files.
  12583. - Skip loading zero-length extrainfo store, router store, stats,
  12584. state, and key files.
  12585. - Avoid crashing when trying to reload a torrc specified as a
  12586. relative path with RunAsDaemon turned on. Fixes bug 13397; bugfix
  12587. on 0.2.3.11-alpha.
  12588. o Minor bugfixes (hidden services):
  12589. - Close the introduction circuit when we have no more usable intro
  12590. points, instead of waiting for it to time out. This also ensures
  12591. that no follow-up HS descriptor fetch is triggered when the
  12592. circuit eventually times out. Fixes bug 14224; bugfix on 0.0.6.
  12593. - When fetching a hidden service descriptor for a down service that
  12594. was recently up, do not keep refetching until we try the same
  12595. replica twice in a row. Fixes bug 14219; bugfix on 0.2.0.10-alpha.
  12596. - Correctly send a controller event when we find that a rendezvous
  12597. circuit has finished. Fixes bug 13936; bugfix on 0.1.1.5-alpha.
  12598. - Pre-check directory permissions for new hidden-services to avoid
  12599. at least one case of "Bug: Acting on config options left us in a
  12600. broken state. Dying." Fixes bug 13942; bugfix on 0.0.6pre1.
  12601. - When fetching hidden service descriptors, we now check not only
  12602. for whether we got the hidden service we had in mind, but also
  12603. whether we got the particular descriptors we wanted. This prevents
  12604. a class of inefficient but annoying DoS attacks by hidden service
  12605. directories. Fixes bug 13214; bugfix on 0.2.1.6-alpha. Reported
  12606. by "special".
  12607. o Minor bugfixes (Linux seccomp2 sandbox):
  12608. - Make transparent proxy support work along with the seccomp2
  12609. sandbox. Fixes part of bug 13808; bugfix on 0.2.5.1-alpha. Patch
  12610. by Francisco Blas Izquierdo Riera.
  12611. - Fix a memory leak in tor-resolve when running with the sandbox
  12612. enabled. Fixes bug 14050; bugfix on 0.2.5.9-rc.
  12613. - Allow glibc fatal errors to be sent to stderr before Tor exits.
  12614. Previously, glibc would try to write them to /dev/tty, and the
  12615. sandbox would trap the call and make Tor exit prematurely. Fixes
  12616. bug 14759; bugfix on 0.2.5.1-alpha.
  12617. o Minor bugfixes (logging):
  12618. - Avoid crashing when there are more log domains than entries in
  12619. domain_list. Bugfix on 0.2.3.1-alpha.
  12620. - Downgrade warnings about RSA signature failures to info log level.
  12621. Emit a warning when an extra info document is found incompatible
  12622. with a corresponding router descriptor. Fixes bug 9812; bugfix
  12623. on 0.0.6rc3.
  12624. - Make connection_ap_handshake_attach_circuit() log the circuit ID
  12625. correctly. Fixes bug 13701; bugfix on 0.0.6.
  12626. o Minor bugfixes (networking):
  12627. - Check for orconns and use connection_or_close_for_error() rather
  12628. than connection_mark_for_close() directly in the getsockopt()
  12629. failure case of connection_handle_write_impl(). Fixes bug 11302;
  12630. bugfix on 0.2.4.4-alpha.
  12631. o Minor bugfixes (parsing):
  12632. - Stop accepting milliseconds (or other junk) at the end of
  12633. descriptor publication times. Fixes bug 9286; bugfix on 0.0.2pre25.
  12634. - Support two-number and three-number version numbers correctly, in
  12635. case we change the Tor versioning system in the future. Fixes bug
  12636. 13661; bugfix on 0.0.8pre1.
  12637. o Minor bugfixes (portability):
  12638. - Fix the ioctl()-based network interface lookup code so that it
  12639. will work on systems that have variable-length struct ifreq, for
  12640. example Mac OS X.
  12641. - Use the correct datatype in the SipHash-2-4 function to prevent
  12642. compilers from assuming any sort of alignment. Fixes bug 15436;
  12643. bugfix on 0.2.5.3-alpha.
  12644. o Minor bugfixes (preventative security, C safety):
  12645. - When reading a hexadecimal, base-32, or base-64 encoded value from
  12646. a string, always overwrite the whole output buffer. This prevents
  12647. some bugs where we would look at (but fortunately, not reveal)
  12648. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  12649. versions of Tor.
  12650. - Clear all memory targeted by tor_addr_{to,from}_sockaddr(), not
  12651. just the part that's used. This makes it harder for data leak bugs
  12652. to occur in the event of other programming failures. Resolves
  12653. ticket 14041.
  12654. o Minor bugfixes (relay):
  12655. - When generating our family list, remove spaces from around the
  12656. entries. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
  12657. - If our previous bandwidth estimate was 0 bytes, allow publishing a
  12658. new relay descriptor immediately. Fixes bug 13000; bugfix
  12659. on 0.1.1.6-alpha.
  12660. o Minor bugfixes (shutdown):
  12661. - When shutting down, always call event_del() on lingering read or
  12662. write events before freeing them. Otherwise, we risk double-frees
  12663. or read-after-frees in event_base_free(). Fixes bug 12985; bugfix
  12664. on 0.1.0.2-rc.
  12665. o Minor bugfixes (small memory leaks):
  12666. - Avoid leaking memory when using IPv6 virtual address mappings.
  12667. Fixes bug 14123; bugfix on 0.2.4.7-alpha. Patch by Tom van
  12668. der Woerdt.
  12669. o Minor bugfixes (statistics):
  12670. - Increase period over which bandwidth observations are aggregated
  12671. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  12672. o Minor bugfixes (systemd support):
  12673. - Run correctly under systemd with the RunAsDaemon option set. Fixes
  12674. part of bug 14141; bugfix on 0.2.5.7-rc. Patch from Tomasz Torcz.
  12675. - Inform the systemd supervisor about more changes in the Tor
  12676. process status. Implements part of ticket 14141. Patch from
  12677. Tomasz Torcz.
  12678. o Minor bugfixes (testing networks):
  12679. - Fix TestingDirAuthVoteGuard to properly give out Guard flags in a
  12680. testing network. Fixes bug 13064; bugfix on 0.2.5.2-alpha.
  12681. - Stop using the default authorities in networks which provide both
  12682. AlternateDirAuthority and AlternateBridgeAuthority. Partially
  12683. fixes bug 13163; bugfix on 0.2.0.13-alpha.
  12684. o Minor bugfixes (testing networks, fast startup):
  12685. - Allow Tor to build circuits using a consensus with no exits. If
  12686. the consensus has no exits (typical of a bootstrapping test
  12687. network), allow Tor to build circuits once enough descriptors have
  12688. been downloaded. This assists in bootstrapping a testing Tor
  12689. network. Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch
  12690. by "teor".
  12691. - When V3AuthVotingInterval is low, give a lower If-Modified-Since
  12692. header to directory servers. This allows us to obtain consensuses
  12693. promptly when the consensus interval is very short. This assists
  12694. in bootstrapping a testing Tor network. Fixes parts of bugs 13718
  12695. and 13963; bugfix on 0.2.0.3-alpha. Patch by "teor".
  12696. - Stop assuming that private addresses are local when checking
  12697. reachability in a TestingTorNetwork. Instead, when testing, assume
  12698. all OR connections are remote. (This is necessary due to many test
  12699. scenarios running all relays on localhost.) This assists in
  12700. bootstrapping a testing Tor network. Fixes bug 13924; bugfix on
  12701. 0.1.0.1-rc. Patch by "teor".
  12702. - Avoid building exit circuits from a consensus with no exits. Now
  12703. thanks to our fix for 13718, we accept a no-exit network as not
  12704. wholly lost, but we need to remember not to try to build exit
  12705. circuits on it. Closes ticket 13814; patch by "teor".
  12706. - Stop requiring exits to have non-zero bandwithcapacity in a
  12707. TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
  12708. ignore exit bandwidthcapacity. This assists in bootstrapping a
  12709. testing Tor network. Fixes parts of bugs 13718 and 13839; bugfix
  12710. on 0.2.0.3-alpha. Patch by "teor".
  12711. - Add "internal" to some bootstrap statuses when no exits are
  12712. available. If the consensus does not contain Exits, Tor will only
  12713. build internal circuits. In this case, relevant statuses will
  12714. contain the word "internal" as indicated in the Tor control-
  12715. spec.txt. When bootstrap completes, Tor will be ready to build
  12716. internal circuits. If a future consensus contains Exits, exit
  12717. circuits may become available. Fixes part of bug 13718; bugfix on
  12718. 0.2.4.10-alpha. Patch by "teor".
  12719. - Decrease minimum consensus interval to 10 seconds when
  12720. TestingTorNetwork is set, or 5 seconds for the first consensus.
  12721. Fix assumptions throughout the code that assume larger intervals.
  12722. Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha. Patch
  12723. by "teor".
  12724. - Avoid excluding guards from path building in minimal test
  12725. networks, when we're in a test network and excluding guards would
  12726. exclude all relays. This typically occurs in incredibly small tor
  12727. networks, and those using "TestingAuthVoteGuard *". Fixes part of
  12728. bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
  12729. o Minor bugfixes (testing):
  12730. - Avoid a side-effect in a tor_assert() in the unit tests. Fixes bug
  12731. 15188; bugfix on 0.1.2.3-alpha. Patch from Tom van der Woerdt.
  12732. - Stop spawn test failures due to a race condition between the
  12733. SIGCHLD handler updating the process status, and the test reading
  12734. it. Fixes bug 13291; bugfix on 0.2.3.3-alpha.
  12735. - Avoid passing an extra backslash when creating a temporary
  12736. directory for running the unit tests on Windows. Fixes bug 12392;
  12737. bugfix on 0.2.2.25-alpha. Patch from Gisle Vanem.
  12738. o Minor bugfixes (TLS):
  12739. - Check more thoroughly throughout the TLS code for possible
  12740. unlogged TLS errors. Possible diagnostic or fix for bug 13319.
  12741. o Minor bugfixes (transparent proxy):
  12742. - Use getsockname, not getsockopt, to retrieve the address for a
  12743. TPROXY-redirected connection. Fixes bug 13796; bugfix
  12744. on 0.2.5.2-alpha.
  12745. o Minor bugfixes (windows):
  12746. - Remove code to special-case handling of NTE_BAD_KEYSET when
  12747. acquiring windows CryptoAPI context. This error can't actually
  12748. occur for the parameters we're providing. Fixes bug 10816; bugfix
  12749. on 0.0.2pre26.
  12750. o Minor bugfixes (zlib):
  12751. - Avoid truncating a zlib stream when trying to finalize it with an
  12752. empty output buffer. Fixes bug 11824; bugfix on 0.1.1.23.
  12753. o Code simplification and refactoring:
  12754. - Change the entry_is_live() function to take named bitfield
  12755. elements instead of an unnamed list of booleans. Closes
  12756. ticket 12202.
  12757. - Refactor and unit-test entry_is_time_to_retry() in entrynodes.c.
  12758. Resolves ticket 12205.
  12759. - Use calloc and reallocarray functions instead of multiply-
  12760. then-malloc. This makes it less likely for us to fall victim to an
  12761. integer overflow attack when allocating. Resolves ticket 12855.
  12762. - Use the standard macro name SIZE_MAX, instead of our
  12763. own SIZE_T_MAX.
  12764. - Document usage of the NO_DIRINFO and ALL_DIRINFO flags clearly in
  12765. functions which take them as arguments. Replace 0 with NO_DIRINFO
  12766. in a function call for clarity. Seeks to prevent future issues
  12767. like 13163.
  12768. - Avoid 4 null pointer errors under clang static analysis by using
  12769. tor_assert() to prove that the pointers aren't null. Fixes
  12770. bug 13284.
  12771. - Rework the API of policies_parse_exit_policy() to use a bitmask to
  12772. represent parsing options, instead of a confusing mess of
  12773. booleans. Resolves ticket 8197.
  12774. - Introduce a helper function to parse ExitPolicy in
  12775. or_options_t structure.
  12776. - Move fields related to isolating and configuring client ports into
  12777. a shared structure. Previously, they were duplicated across
  12778. port_cfg_t, listener_connection_t, and edge_connection_t. Failure
  12779. to copy them correctly had been the cause of at least one bug in
  12780. the past. Closes ticket 8546.
  12781. - Refactor the get_interface_addresses_raw() doom-function into
  12782. multiple smaller and simpler subfunctions. Cover the resulting
  12783. subfunctions with unit-tests. Fixes a significant portion of
  12784. issue 12376.
  12785. - Remove workaround in dirserv_thinks_router_is_hs_dir() that was
  12786. only for version <= 0.2.2.24 which is now deprecated. Closes
  12787. ticket 14202.
  12788. - Remove a test for a long-defunct broken version-one
  12789. directory server.
  12790. - Refactor main loop to extract the 'loop' part. This makes it
  12791. easier to run Tor under Shadow. Closes ticket 15176.
  12792. - Stop using can_complete_circuits as a global variable; access it
  12793. with a function instead.
  12794. - Avoid using operators directly as macro arguments: this lets us
  12795. apply coccinelle transformations to our codebase more directly.
  12796. Closes ticket 13172.
  12797. - Combine the functions used to parse ClientTransportPlugin and
  12798. ServerTransportPlugin into a single function. Closes ticket 6456.
  12799. - Add inline functions and convenience macros for inspecting channel
  12800. state. Refactor the code to use convenience macros instead of
  12801. checking channel state directly. Fixes issue 7356.
  12802. - Document all members of was_router_added_t and rename
  12803. ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN to make it less
  12804. confusable with ROUTER_WAS_TOO_OLD. Fixes issue 13644.
  12805. - In connection_exit_begin_conn(), use END_CIRC_REASON_TORPROTOCOL
  12806. constant instead of hardcoded value. Fixes issue 13840.
  12807. - Refactor our generic strmap and digestmap types into a single
  12808. implementation, so that we can add a new digest256map
  12809. type trivially.
  12810. o Documentation:
  12811. - Add a doc/TUNING document with tips for handling large numbers of
  12812. TCP connections when running busy Tor relay. Update the warning
  12813. message to point to this file when running out of sockets
  12814. operating system is allowing to use simultaneously. Resolves
  12815. ticket 9708.
  12816. - Adding section on OpenBSD to our TUNING document. Thanks to mmcc
  12817. for writing the OpenBSD-specific tips. Resolves ticket 13702.
  12818. - Make the tor-resolve documentation match its help string and its
  12819. options. Resolves part of ticket 14325.
  12820. - Log a more useful error message from tor-resolve when failing to
  12821. look up a hidden service address. Resolves part of ticket 14325.
  12822. - Document the bridge-authority-only 'networkstatus-bridges' file.
  12823. Closes ticket 13713; patch from "tom".
  12824. - Fix typo in PredictedPortsRelevanceTime option description in
  12825. manpage. Resolves issue 13707.
  12826. - Stop suggesting that users specify relays by nickname: it isn't a
  12827. good idea. Also, properly cross-reference how to specify relays in
  12828. all parts of manual documenting options that take a list of
  12829. relays. Closes ticket 13381.
  12830. - Clarify the HiddenServiceDir option description in manpage to make
  12831. it clear that relative paths are taken with respect to the current
  12832. working directory. Also clarify that this behavior is not
  12833. guaranteed to remain indefinitely. Fixes issue 13913.
  12834. o Distribution (systemd):
  12835. - systemd unit file: only allow tor to write to /var/lib/tor and
  12836. /var/log/tor. The rest of the filesystem is accessible for reading
  12837. only. Patch by intrigeri; resolves ticket 12751.
  12838. - systemd unit file: ensure that the process and all its children
  12839. can never gain new privileges. Patch by intrigeri; resolves
  12840. ticket 12939.
  12841. - systemd unit file: set up /var/run/tor as writable for the Tor
  12842. service. Patch by intrigeri; resolves ticket 13196.
  12843. o Downgraded warnings:
  12844. - Don't warn when we've attempted to contact a relay using the wrong
  12845. ntor onion key. Closes ticket 9635.
  12846. o Removed code:
  12847. - Remove some lingering dead code that once supported mempools.
  12848. Mempools were disabled by default in 0.2.5, and removed entirely
  12849. in 0.2.6.3-alpha. Closes more of ticket 14848; patch
  12850. by "cypherpunks".
  12851. o Removed features (directory authorities):
  12852. - Remove code that prevented authorities from listing Tor relays
  12853. affected by CVE-2011-2769 as guards. These relays are already
  12854. rejected altogether due to the minimum version requirement of
  12855. 0.2.3.16-alpha. Closes ticket 13152.
  12856. - The "AuthDirRejectUnlisted" option no longer has any effect, as
  12857. the fingerprints file (approved-routers) has been deprecated.
  12858. - Directory authorities do not support being Naming dirauths anymore.
  12859. The "NamingAuthoritativeDir" config option is now obsolete.
  12860. - Directory authorities do not support giving out the BadDirectory
  12861. flag anymore.
  12862. - Directory authorities no longer advertise or support consensus
  12863. methods 1 through 12 inclusive. These consensus methods were
  12864. obsolete and/or insecure: maintaining the ability to support them
  12865. served no good purpose. Implements part of proposal 215; closes
  12866. ticket 10163.
  12867. o Removed features:
  12868. - To avoid confusion with the "ExitRelay" option, "ExitNode" is no
  12869. longer silently accepted as an alias for "ExitNodes".
  12870. - The --enable-mempool and --enable-buf-freelists options, which
  12871. were originally created to work around bad malloc implementations,
  12872. no longer exist. They were off-by-default in 0.2.5. Closes
  12873. ticket 14848.
  12874. - We no longer remind the user about configuration options that have
  12875. been obsolete since 0.2.3.x or earlier. Patch by Adrien Bak.
  12876. - Remove our old, non-weighted bandwidth-based node selection code.
  12877. Previously, we used it as a fallback when we couldn't perform
  12878. weighted bandwidth-based node selection. But that would only
  12879. happen in the cases where we had no consensus, or when we had a
  12880. consensus generated by buggy or ancient directory authorities. In
  12881. either case, it's better to use the more modern, better maintained
  12882. algorithm, with reasonable defaults for the weights. Closes
  12883. ticket 13126.
  12884. - Remove the --disable-curve25519 configure option. Relays and
  12885. clients now are required to support curve25519 and the
  12886. ntor handshake.
  12887. - The old "StrictEntryNodes" and "StrictExitNodes" options, which
  12888. used to be deprecated synonyms for "StrictNodes", are now marked
  12889. obsolete. Resolves ticket 12226.
  12890. - Clients don't understand the BadDirectory flag in the consensus
  12891. anymore, and ignore it.
  12892. o Removed platform support:
  12893. - We no longer include special code to build on Windows CE; as far
  12894. as we know, nobody has used Tor on Windows CE in a very long time.
  12895. Closes ticket 11446.
  12896. o Testing (test-network.sh):
  12897. - Stop using "echo -n", as some shells' built-in echo doesn't
  12898. support "-n". Instead, use "/bin/echo -n". Partially fixes
  12899. bug 13161.
  12900. - Stop an apparent test-network hang when used with make -j2. Fixes
  12901. bug 13331.
  12902. - Add a --delay option to test-network.sh, which configures the
  12903. delay before the chutney network tests for data transmission.
  12904. Partially implements ticket 13161.
  12905. o Testing:
  12906. - Test that tor does not fail when key files are zero-length. Check
  12907. that tor generates new keys, and overwrites the empty key files.
  12908. - Test that tor generates new keys when keys are missing
  12909. (existing behavior).
  12910. - Test that tor does not overwrite key files that already contain
  12911. data (existing behavior). Tests bug 13111. Patch by "teor".
  12912. - New "make test-stem" target to run stem integration tests.
  12913. Requires that the "STEM_SOURCE_DIR" environment variable be set.
  12914. Closes ticket 14107.
  12915. - Make the test_cmdline_args.py script work correctly on Windows.
  12916. Patch from Gisle Vanem.
  12917. - Move the slower unit tests into a new "./src/test/test-slow"
  12918. binary that can be run independently of the other tests. Closes
  12919. ticket 13243.
  12920. - New tests for many parts of channel, relay, and circuitmux
  12921. functionality. Code by Andrea; part of 9262.
  12922. - New tests for parse_transport_line(). Part of ticket 6456.
  12923. - In the unit tests, use chgrp() to change the group of the unit
  12924. test temporary directory to the current user, so that the sticky
  12925. bit doesn't interfere with tests that check directory groups.
  12926. Closes 13678.
  12927. - Add unit tests for resolve_my_addr(). Part of ticket 12376; patch
  12928. by 'rl1987'.
  12929. - Refactor the function that chooses guard nodes so that it can more
  12930. easily be tested; write some tests for it.
  12931. - Fix and re-enable the fgets_eagain unit test. Fixes bug 12503;
  12932. bugfix on 0.2.3.1-alpha. Patch from "cypherpunks."
  12933. - Create unit tests for format_time_interval(). With bug 13393.
  12934. - Add unit tests for tor_timegm signed overflow, tor_timegm and
  12935. parse_rfc1123_time validity checks, correct_tm year clamping. Unit
  12936. tests (visible) fixes in bug 13476.
  12937. - Add a "coverage-html" make target to generate HTML-visualized
  12938. coverage results when building with --enable-coverage. (Requires
  12939. lcov.) Patch from Kevin Murray.
  12940. - Enable the backtrace handler (where supported) when running the
  12941. unit tests.
  12942. - Revise all unit tests that used the legacy test_* macros to
  12943. instead use the recommended tt_* macros. This patch was generated
  12944. with coccinelle, to avoid manual errors. Closes ticket 13119.
  12945. Changes in version 0.2.5.11 - 2015-03-17
  12946. Tor 0.2.5.11 is the second stable release in the 0.2.5 series.
  12947. It backports several bugfixes from the 0.2.6 branch, including a
  12948. couple of medium-level security fixes for relays and exit nodes.
  12949. It also updates the list of directory authorities.
  12950. o Directory authority changes:
  12951. - Remove turtles as a directory authority.
  12952. - Add longclaw as a new (v3) directory authority. This implements
  12953. ticket 13296. This keeps the directory authority count at 9.
  12954. - The directory authority Faravahar has a new IP address. This
  12955. closes ticket 14487.
  12956. o Major bugfixes (crash, OSX, security):
  12957. - Fix a remote denial-of-service opportunity caused by a bug in
  12958. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  12959. in OSX 10.9.
  12960. o Major bugfixes (relay, stability, possible security):
  12961. - Fix a bug that could lead to a relay crashing with an assertion
  12962. failure if a buffer of exactly the wrong layout was passed to
  12963. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  12964. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  12965. - Do not assert if the 'data' pointer on a buffer is advanced to the
  12966. very end of the buffer; log a BUG message instead. Only assert if
  12967. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  12968. o Major bugfixes (exit node stability):
  12969. - Fix an assertion failure that could occur under high DNS load.
  12970. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  12971. diagnosed and fixed by "cypherpunks".
  12972. o Major bugfixes (Linux seccomp2 sandbox):
  12973. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  12974. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  12975. 0.2.5.1-alpha. Patch from "sanic".
  12976. o Minor features (controller):
  12977. - New "GETINFO bw-event-cache" to get information about recent
  12978. bandwidth events. Closes ticket 14128. Useful for controllers to
  12979. get recent bandwidth history after the fix for ticket 13988.
  12980. o Minor features (geoip):
  12981. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  12982. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  12983. Country database.
  12984. o Minor bugfixes (client, automapping):
  12985. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  12986. no value follows the option. Fixes bug 14142; bugfix on
  12987. 0.2.4.7-alpha. Patch by "teor".
  12988. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  12989. 14195; bugfix on 0.1.0.1-rc.
  12990. o Minor bugfixes (compilation):
  12991. - Build without warnings with the stock OpenSSL srtp.h header, which
  12992. has a duplicate declaration of SSL_get_selected_srtp_profile().
  12993. Fixes bug 14220; this is OpenSSL's bug, not ours.
  12994. o Minor bugfixes (directory authority):
  12995. - Allow directory authorities to fetch more data from one another if
  12996. they find themselves missing lots of votes. Previously, they had
  12997. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  12998. bugfix on 0.1.2.5-alpha.
  12999. - Enlarge the buffer to read bwauth generated files to avoid an
  13000. issue when parsing the file in dirserv_read_measured_bandwidths().
  13001. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  13002. o Minor bugfixes (statistics):
  13003. - Increase period over which bandwidth observations are aggregated
  13004. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  13005. o Minor bugfixes (preventative security, C safety):
  13006. - When reading a hexadecimal, base-32, or base-64 encoded value from
  13007. a string, always overwrite the whole output buffer. This prevents
  13008. some bugs where we would look at (but fortunately, not reveal)
  13009. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  13010. versions of Tor.
  13011. Changes in version 0.2.4.26 - 2015-03-17
  13012. Tor 0.2.4.26 includes an updated list of directory authorities. It
  13013. also backports a couple of stability and security bugfixes from 0.2.5
  13014. and beyond.
  13015. o Directory authority changes:
  13016. - Remove turtles as a directory authority.
  13017. - Add longclaw as a new (v3) directory authority. This implements
  13018. ticket 13296. This keeps the directory authority count at 9.
  13019. - The directory authority Faravahar has a new IP address. This
  13020. closes ticket 14487.
  13021. o Major bugfixes (exit node stability, also in 0.2.6.3-alpha):
  13022. - Fix an assertion failure that could occur under high DNS load.
  13023. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  13024. diagnosed and fixed by "cypherpunks".
  13025. o Major bugfixes (relay, stability, possible security, also in 0.2.6.4-rc):
  13026. - Fix a bug that could lead to a relay crashing with an assertion
  13027. failure if a buffer of exactly the wrong layout was passed to
  13028. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  13029. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  13030. - Do not assert if the 'data' pointer on a buffer is advanced to the
  13031. very end of the buffer; log a BUG message instead. Only assert if
  13032. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  13033. o Minor features (geoip):
  13034. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  13035. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  13036. Country database.
  13037. Changes in version 0.2.5.10 - 2014-10-24
  13038. Tor 0.2.5.10 is the first stable release in the 0.2.5 series.
  13039. It adds several new security features, including improved
  13040. denial-of-service resistance for relays, new compiler hardening
  13041. options, and a system-call sandbox for hardened installations on Linux
  13042. (requires seccomp2). The controller protocol has several new features,
  13043. resolving IPv6 addresses should work better than before, and relays
  13044. should be a little more CPU-efficient. We've added support for more
  13045. OpenBSD and FreeBSD transparent proxy types. We've improved the build
  13046. system and testing infrastructure to allow unit testing of more parts
  13047. of the Tor codebase. Finally, we've addressed several nagging pluggable
  13048. transport usability issues, and included numerous other small bugfixes
  13049. and features mentioned below.
  13050. This release marks end-of-life for Tor 0.2.3.x; those Tor versions
  13051. have accumulated many known flaws; everyone should upgrade.
  13052. o Major features (security):
  13053. - The ntor handshake is now on-by-default, no matter what the
  13054. directory authorities recommend. Implements ticket 8561.
  13055. - Make the "tor-gencert" tool used by directory authority operators
  13056. create 2048-bit signing keys by default (rather than 1024-bit, since
  13057. 1024-bit is uncomfortably small these days). Addresses ticket 10324.
  13058. - Warn about attempts to run hidden services and relays in the same
  13059. process: that's probably not a good idea. Closes ticket 12908.
  13060. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  13061. today support TLS 1.0 or later, so we can safely turn off support
  13062. for this old (and insecure) protocol. Fixes bug 13426.
  13063. o Major features (relay security, DoS-resistance):
  13064. - When deciding whether we have run out of memory and we need to
  13065. close circuits, also consider memory allocated in buffers for
  13066. streams attached to each circuit.
  13067. This change, which extends an anti-DoS feature introduced in
  13068. 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
  13069. better resist more memory-based DoS attacks than before. Since the
  13070. MaxMemInCellQueues option now applies to all queues, it is renamed
  13071. to MaxMemInQueues. This feature fixes bug 10169.
  13072. - Avoid hash-flooding denial-of-service attacks by using the secure
  13073. SipHash-2-4 hash function for our hashtables. Without this
  13074. feature, an attacker could degrade performance of a targeted
  13075. client or server by flooding their data structures with a large
  13076. number of entries to be stored at the same hash table position,
  13077. thereby slowing down the Tor instance. With this feature, hash
  13078. table positions are derived from a randomized cryptographic key,
  13079. and an attacker cannot predict which entries will collide. Closes
  13080. ticket 4900.
  13081. - If you don't specify MaxMemInQueues yourself, Tor now tries to
  13082. pick a good value based on your total system memory. Previously,
  13083. the default was always 8 GB. You can still override the default by
  13084. setting MaxMemInQueues yourself. Resolves ticket 11396.
  13085. o Major features (bridges and pluggable transports):
  13086. - Add support for passing arguments to managed pluggable transport
  13087. proxies. Implements ticket 3594.
  13088. - Bridges now track GeoIP information and the number of their users
  13089. even when pluggable transports are in use, and report usage
  13090. statistics in their extra-info descriptors. Resolves tickets 4773
  13091. and 5040.
  13092. - Don't launch pluggable transport proxies if we don't have any
  13093. bridges configured that would use them. Now we can list many
  13094. pluggable transports, and Tor will dynamically start one when it
  13095. hears a bridge address that needs it. Resolves ticket 5018.
  13096. - The bridge directory authority now assigns status flags (Stable,
  13097. Guard, etc) to bridges based on thresholds calculated over all
  13098. Running bridges. Now bridgedb can finally make use of its features
  13099. to e.g. include at least one Stable bridge in its answers. Fixes
  13100. bug 9859.
  13101. o Major features (controller):
  13102. - Extend ORCONN controller event to include an "ID" parameter,
  13103. and add four new controller event types CONN_BW, CIRC_BW,
  13104. CELL_STATS, and TB_EMPTY that show connection and circuit usage.
  13105. The new events are emitted in private Tor networks only, with the
  13106. goal of being able to better track performance and load during
  13107. full-network simulations. Implements proposal 218 and ticket 7359.
  13108. o Major features (relay performance):
  13109. - Speed up server-side lookups of rendezvous and introduction point
  13110. circuits by using hashtables instead of linear searches. These
  13111. functions previously accounted between 3 and 7% of CPU usage on
  13112. some busy relays. Resolves ticket 9841.
  13113. - Avoid wasting CPU when extending a circuit over a channel that is
  13114. nearly out of circuit IDs. Previously, we would do a linear scan
  13115. over possible circuit IDs before finding one or deciding that we
  13116. had exhausted our possibilities. Now, we try at most 64 random
  13117. circuit IDs before deciding that we probably won't succeed. Fixes
  13118. a possible root cause of ticket 11553.
  13119. o Major features (seccomp2 sandbox, Linux only):
  13120. - Use the seccomp2 syscall filtering facility on Linux to limit
  13121. which system calls Tor can invoke. This is an experimental,
  13122. Linux-only feature to provide defense-in-depth against unknown
  13123. attacks. To try turning it on, set "Sandbox 1" in your torrc
  13124. file. Please be ready to report bugs. We hope to add support
  13125. for better sandboxing in the future, including more fine-grained
  13126. filters, better division of responsibility, and support for more
  13127. platforms. This work has been done by Cristian-Matei Toader for
  13128. Google Summer of Code. Resolves tickets 11351 and 11465.
  13129. o Major features (testing networks):
  13130. - Make testing Tor networks bootstrap better: lower directory fetch
  13131. retry schedules and maximum interval without directory requests,
  13132. and raise maximum download tries. Implements ticket 6752.
  13133. - Add make target 'test-network' to run tests on a Chutney network.
  13134. Implements ticket 8530.
  13135. o Major features (other):
  13136. - On some platforms (currently: recent OSX versions, glibc-based
  13137. platforms that support the ELF format, and a few other
  13138. Unix-like operating systems), Tor can now dump stack traces
  13139. when a crash occurs or an assertion fails. By default, traces
  13140. are dumped to stderr (if possible) and to any logs that are
  13141. reporting errors. Implements ticket 9299.
  13142. o Deprecated versions:
  13143. - Tor 0.2.3.x has reached end-of-life; it has received no patches or
  13144. attention for some while.
  13145. o Major bugfixes (security, directory authorities):
  13146. - Directory authorities now include a digest of each relay's
  13147. identity key as a part of its microdescriptor.
  13148. This is a workaround for bug 11743 (reported by "cypherpunks"),
  13149. where Tor clients do not support receiving multiple
  13150. microdescriptors with the same SHA256 digest in the same
  13151. consensus. When clients receive a consensus like this, they only
  13152. use one of the relays. Without this fix, a hostile relay could
  13153. selectively disable some client use of target relays by
  13154. constructing a router descriptor with a different identity and the
  13155. same microdescriptor parameters and getting the authorities to
  13156. list it in a microdescriptor consensus. This fix prevents an
  13157. attacker from causing a microdescriptor collision, because the
  13158. router's identity is not forgeable.
  13159. o Major bugfixes (openssl bug workaround):
  13160. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  13161. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes
  13162. bug 13471. This is a workaround for an OpenSSL bug.
  13163. o Major bugfixes (client):
  13164. - Perform circuit cleanup operations even when circuit
  13165. construction operations are disabled (because the network is
  13166. disabled, or because there isn't enough directory information).
  13167. Previously, when we were not building predictive circuits, we
  13168. were not closing expired circuits either. Fixes bug 8387; bugfix on
  13169. 0.1.1.11-alpha. This bug became visible in 0.2.4.10-alpha when we
  13170. became more strict about when we have "enough directory information
  13171. to build circuits".
  13172. o Major bugfixes (client, pluggable transports):
  13173. - When managing pluggable transports, use OS notification facilities
  13174. to learn if they have crashed, and don't attempt to kill any
  13175. process that has already exited. Fixes bug 8746; bugfix
  13176. on 0.2.3.6-alpha.
  13177. o Major bugfixes (relay denial of service):
  13178. - Instead of writing destroy cells directly to outgoing connection
  13179. buffers, queue them and intersperse them with other outgoing cells.
  13180. This can prevent a set of resource starvation conditions where too
  13181. many pending destroy cells prevent data cells from actually getting
  13182. delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
  13183. bugfix on 0.2.0.1-alpha.
  13184. o Major bugfixes (relay):
  13185. - Avoid queuing or sending destroy cells for circuit ID zero when we
  13186. fail to send a CREATE cell. Fixes bug 12848; bugfix on 0.0.8pre1.
  13187. Found and fixed by "cypherpunks".
  13188. - Fix ORPort reachability detection on relays running behind a
  13189. proxy, by correctly updating the "local" mark on the controlling
  13190. channel when changing the address of an or_connection_t after the
  13191. handshake. Fixes bug 12160; bugfix on 0.2.4.4-alpha.
  13192. - Use a direct dirport connection when uploading non-anonymous
  13193. descriptors to the directory authorities. Previously, relays would
  13194. incorrectly use tunnel connections under a fairly wide variety of
  13195. circumstances. Fixes bug 11469; bugfix on 0.2.4.3-alpha.
  13196. - When a circuit accidentally has the same circuit ID for its
  13197. forward and reverse direction, correctly detect the direction of
  13198. cells using that circuit. Previously, this bug made roughly one
  13199. circuit in a million non-functional. Fixes bug 12195; this is a
  13200. bugfix on every version of Tor.
  13201. o Minor features (security):
  13202. - New --enable-expensive-hardening option to enable security
  13203. hardening options that consume nontrivial amounts of CPU and
  13204. memory. Right now, this includes AddressSanitizer and UbSan, which
  13205. are supported in newer versions of GCC and Clang. Closes ticket
  13206. 11477.
  13207. - Authorities now assign the Guard flag to the fastest 25% of the
  13208. network (it used to be the fastest 50%). Also raise the consensus
  13209. weight that guarantees the Guard flag from 250 to 2000. For the
  13210. current network, this results in about 1100 guards, down from 2500.
  13211. This step paves the way for moving the number of entry guards
  13212. down to 1 (proposal 236) while still providing reasonable expected
  13213. performance for most users. Implements ticket 12690.
  13214. o Minor features (security, memory management):
  13215. - Memory allocation tricks (mempools and buffer freelists) are now
  13216. disabled by default. You can turn them back on with
  13217. --enable-mempools and --enable-buf-freelists respectively. We're
  13218. disabling these features because malloc performance is good enough
  13219. on most platforms, and a similar feature in OpenSSL exacerbated
  13220. exploitation of the Heartbleed attack. Resolves ticket 11476.
  13221. o Minor features (bridge client):
  13222. - Report a more useful failure message when we can't connect to a
  13223. bridge because we don't have the right pluggable transport
  13224. configured. Resolves ticket 9665. Patch from Fábio J. Bertinatto.
  13225. o Minor features (bridge):
  13226. - Add an ExtORPortCookieAuthFileGroupReadable option to make the
  13227. cookie file for the ExtORPort g+r by default.
  13228. o Minor features (bridges, pluggable transports):
  13229. - Bridges now write the SHA1 digest of their identity key
  13230. fingerprint (that is, a hash of a hash of their public key) to
  13231. notice-level logs, and to a new hashed-fingerprint file. This
  13232. information will help bridge operators look up their bridge in
  13233. Globe and similar tools. Resolves ticket 10884.
  13234. - Improve the message that Tor displays when running as a bridge
  13235. using pluggable transports without an Extended ORPort listener.
  13236. Also, log the message in the log file too. Resolves ticket 11043.
  13237. - Add threshold cutoffs to the networkstatus document created by
  13238. the Bridge Authority. Fixes bug 1117.
  13239. - On Windows, spawn background processes using the CREATE_NO_WINDOW
  13240. flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
  13241. doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
  13242. Vidalia set this option for us.) Implements ticket 10297.
  13243. o Minor features (build):
  13244. - The configure script has a --disable-seccomp option to turn off
  13245. support for libseccomp on systems that have it, in case it (or
  13246. Tor's use of it) is broken. Resolves ticket 11628.
  13247. - Assume that a user using ./configure --host wants to cross-compile,
  13248. and give an error if we cannot find a properly named
  13249. tool-chain. Add a --disable-tool-name-check option to proceed
  13250. nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
  13251. - If we run ./configure and the compiler recognizes -fstack-protector
  13252. but the linker rejects it, warn the user about a potentially missing
  13253. libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
  13254. - Add support for `--library-versions` flag. Implements ticket 6384.
  13255. - Return the "unexpected sendme" warnings to a warn severity, but make
  13256. them rate limited, to help diagnose ticket 8093.
  13257. - Detect a missing asciidoc, and warn the user about it, during
  13258. configure rather than at build time. Fixes issue 6506. Patch from
  13259. Arlo Breault.
  13260. o Minor features (client):
  13261. - Add a new option, PredictedPortsRelevanceTime, to control how long
  13262. after having received a request to connect to a given port Tor
  13263. will try to keep circuits ready in anticipation of future requests
  13264. for that port. Patch from "unixninja92"; implements ticket 9176.
  13265. o Minor features (config options and command line):
  13266. - Add an --allow-missing-torrc commandline option that tells Tor to
  13267. run even if the configuration file specified by -f is not available.
  13268. Implements ticket 10060.
  13269. - Add support for the TPROXY transparent proxying facility on Linux.
  13270. See documentation for the new TransProxyType option for more
  13271. details. Implementation by "thomo". Closes ticket 10582.
  13272. o Minor features (config options):
  13273. - Config (torrc) lines now handle fingerprints which are missing
  13274. their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
  13275. - Support a --dump-config option to print some or all of the
  13276. configured options. Mainly useful for debugging the command-line
  13277. option parsing code. Helps resolve ticket 4647.
  13278. - Raise awareness of safer logging: notify user of potentially
  13279. unsafe config options, like logging more verbosely than severity
  13280. "notice" or setting SafeLogging to 0. Resolves ticket 5584.
  13281. - Add a new configuration option TestingV3AuthVotingStartOffset
  13282. that bootstraps a network faster by changing the timing for
  13283. consensus votes. Addresses ticket 8532.
  13284. - Add a new torrc option "ServerTransportOptions" that allows
  13285. bridge operators to pass configuration parameters to their
  13286. pluggable transports. Resolves ticket 8929.
  13287. - The config (torrc) file now accepts bandwidth and space limits in
  13288. bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
  13289. you can now say "16 kilobits", and so on.) Resolves ticket 9214.
  13290. Patch by CharlieB.
  13291. o Minor features (controller):
  13292. - Make the entire exit policy available from the control port via
  13293. GETINFO exit-policy/*. Implements enhancement 7952. Patch from
  13294. "rl1987".
  13295. - Because of the fix for ticket 11396, the real limit for memory
  13296. usage may no longer match the configured MaxMemInQueues value. The
  13297. real limit is now exposed via GETINFO limits/max-mem-in-queues.
  13298. - Add a new "HS_DESC" controller event that reports activities
  13299. related to hidden service descriptors. Resolves ticket 8510.
  13300. - New "DROPGUARDS" controller command to forget all current entry
  13301. guards. Not recommended for ordinary use, since replacing guards
  13302. too frequently makes several attacks easier. Resolves ticket 9934;
  13303. patch from "ra".
  13304. - Implement the TRANSPORT_LAUNCHED control port event that
  13305. notifies controllers about new launched pluggable
  13306. transports. Resolves ticket 5609.
  13307. o Minor features (diagnostic):
  13308. - When logging a warning because of bug 7164, additionally check the
  13309. hash table for consistency (as proposed on ticket 11737). This may
  13310. help diagnose bug 7164.
  13311. - When we log a heartbeat, log how many one-hop circuits we have
  13312. that are at least 30 minutes old, and log status information about
  13313. a few of them. This is an attempt to track down bug 8387.
  13314. - When encountering an unexpected CR while writing text to a file on
  13315. Windows, log the name of the file. Should help diagnosing
  13316. bug 11233.
  13317. - Give more specific warnings when a client notices that an onion
  13318. handshake has failed. Fixes ticket 9635.
  13319. - Add significant new logging code to attempt to diagnose bug 12184,
  13320. where relays seem to run out of available circuit IDs.
  13321. - Improve the diagnostic log message for bug 8387 even further to
  13322. try to improve our odds of figuring out why one-hop directory
  13323. circuits sometimes do not get closed.
  13324. - Add more log messages to diagnose bug 7164, which causes
  13325. intermittent "microdesc_free() called but md was still referenced"
  13326. warnings. We now include more information, to figure out why we
  13327. might be cleaning a microdescriptor for being too old if it's
  13328. still referenced by a live node_t object.
  13329. - Log current accounting state (bytes sent and received + remaining
  13330. time for the current accounting period) in the relay's heartbeat
  13331. message. Implements ticket 5526; patch from Peter Retzlaff.
  13332. o Minor features (geoip):
  13333. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  13334. Country database.
  13335. o Minor features (interface):
  13336. - Generate a warning if any ports are listed in the SocksPolicy,
  13337. DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
  13338. AuthDirBadExit options. (These options only support address
  13339. ranges.) Fixes part of ticket 11108.
  13340. o Minor features (kernel API usage):
  13341. - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
  13342. sockets in a single system call. Implements ticket 5129.
  13343. o Minor features (log messages):
  13344. - When ServerTransportPlugin is set on a bridge, Tor can write more
  13345. useful statistics about bridge use in its extrainfo descriptors,
  13346. but only if the Extended ORPort ("ExtORPort") is set too. Add a
  13347. log message to inform the user in this case. Resolves ticket 9651.
  13348. - When receiving a new controller connection, log the origin address.
  13349. Resolves ticket 9698; patch from "sigpipe".
  13350. - When logging OpenSSL engine status at startup, log the status of
  13351. more engines. Fixes ticket 10043; patch from Joshua Datko.
  13352. o Minor features (log verbosity):
  13353. - Demote the message that we give when a flushing connection times
  13354. out for too long from NOTICE to INFO. It was usually meaningless.
  13355. Resolves ticket 5286.
  13356. - Don't log so many notice-level bootstrapping messages at startup
  13357. about downloading descriptors. Previously, we'd log a notice
  13358. whenever we learned about more routers. Now, we only log a notice
  13359. at every 5% of progress. Fixes bug 9963.
  13360. - Warn less verbosely when receiving a malformed
  13361. ESTABLISH_RENDEZVOUS cell. Fixes ticket 11279.
  13362. o Minor features (performance):
  13363. - If we're using the pure-C 32-bit curve25519_donna implementation
  13364. of curve25519, build it with the -fomit-frame-pointer option to
  13365. make it go faster on register-starved hosts. This improves our
  13366. handshake performance by about 6% on i386 hosts without nacl.
  13367. Closes ticket 8109.
  13368. o Minor features (relay):
  13369. - If a circuit timed out for at least 3 minutes, check if we have a
  13370. new external IP address, and publish a new descriptor with the new
  13371. IP address if it changed. Resolves ticket 2454.
  13372. o Minor features (testing):
  13373. - If Python is installed, "make check" now runs extra tests beyond
  13374. the unit test scripts.
  13375. - When bootstrapping a test network, sometimes very few relays get
  13376. the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
  13377. specify a set of relays which should be voted Guard regardless of
  13378. their uptime or bandwidth. Addresses ticket 9206.
  13379. o Minor features (transparent proxy, *BSD):
  13380. - Support FreeBSD's ipfw firewall interface for TransPort ports on
  13381. FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket
  13382. 10267; patch from "yurivict".
  13383. - Support OpenBSD's divert-to rules with the pf firewall for
  13384. transparent proxy ports. To enable it, set "TransProxyType
  13385. pf-divert". This allows Tor to run a TransPort transparent proxy
  13386. port on OpenBSD 4.4 or later without root privileges. See the
  13387. pf.conf(5) manual page for information on configuring pf to use
  13388. divert-to rules. Closes ticket 10896; patch from Dana Koch.
  13389. o Minor bugfixes (bridge client):
  13390. - Stop accepting bridge lines containing hostnames. Doing so would
  13391. cause clients to perform DNS requests on the hostnames, which was
  13392. not sensible behavior. Fixes bug 10801; bugfix on 0.2.0.1-alpha.
  13393. o Minor bugfixes (bridges):
  13394. - Avoid potential crashes or bad behavior when launching a
  13395. server-side managed proxy with ORPort or ExtORPort temporarily
  13396. disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha.
  13397. - Fix a bug where the first connection works to a bridge that uses a
  13398. pluggable transport with client-side parameters, but we don't send
  13399. the client-side parameters on subsequent connections. (We don't
  13400. use any pluggable transports with client-side parameters yet,
  13401. but ScrambleSuit will soon become the first one.) Fixes bug 9162;
  13402. bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
  13403. o Minor bugfixes (build, auxiliary programs):
  13404. - Stop preprocessing the "torify" script with autoconf, since
  13405. it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
  13406. from Guilhem.
  13407. - The tor-fw-helper program now follows the standard convention and
  13408. exits with status code "0" on success. Fixes bug 9030; bugfix on
  13409. 0.2.3.1-alpha. Patch by Arlo Breault.
  13410. - Corrected ./configure advice for what openssl dev package you should
  13411. install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
  13412. o Minor bugfixes (client):
  13413. - Avoid "Tried to open a socket with DisableNetwork set" warnings
  13414. when starting a client with bridges configured and DisableNetwork
  13415. set. (Tor launcher starts Tor with DisableNetwork set the first
  13416. time it runs.) Fixes bug 10405; bugfix on 0.2.3.9-alpha.
  13417. - Improve the log message when we can't connect to a hidden service
  13418. because all of the hidden service directory nodes hosting its
  13419. descriptor are excluded. Improves on our fix for bug 10722, which
  13420. was a bugfix on 0.2.0.10-alpha.
  13421. - Raise a control port warning when we fail to connect to all of
  13422. our bridges. Previously, we didn't inform the controller, and
  13423. the bootstrap process would stall. Fixes bug 11069; bugfix on
  13424. 0.2.1.2-alpha.
  13425. - Exit immediately when a process-owning controller exits.
  13426. Previously, tor relays would wait for a little while after their
  13427. controller exited, as if they had gotten an INT signal -- but this
  13428. was problematic, since there was no feedback for the user. To do a
  13429. clean shutdown, controllers should send an INT signal and give Tor
  13430. a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
  13431. - Stop attempting to connect to bridges before our pluggable
  13432. transports are configured (harmless but resulted in some erroneous
  13433. log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
  13434. - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
  13435. generating incorrect SOCKS5 responses, and confusing client
  13436. applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
  13437. o Minor bugfixes (client, DNSPort):
  13438. - When using DNSPort, try to respond to AAAA requests with AAAA
  13439. answers. Previously, we hadn't looked at the request type when
  13440. deciding which answer type to prefer. Fixes bug 10468; bugfix on
  13441. 0.2.4.7-alpha.
  13442. - When receiving a DNS query for an unsupported record type, reply
  13443. with no answer rather than with a NOTIMPL error. This behavior
  13444. isn't correct either, but it will break fewer client programs, we
  13445. hope. Fixes bug 10268; bugfix on 0.2.0.1-alpha. Original patch
  13446. from "epoch".
  13447. o Minor bugfixes (client, logging during bootstrap):
  13448. - Only report the first fatal bootstrap error on a given OR
  13449. connection. This stops us from telling the controller bogus error
  13450. messages like "DONE". Fixes bug 10431; bugfix on 0.2.1.1-alpha.
  13451. - Avoid generating spurious warnings when starting with
  13452. DisableNetwork enabled. Fixes bug 11200 and bug 10405; bugfix on
  13453. 0.2.3.9-alpha.
  13454. o Minor bugfixes (closing OR connections):
  13455. - If write_to_buf() in connection_write_to_buf_impl_() ever fails,
  13456. check if it's an or_connection_t and correctly call
  13457. connection_or_close_for_error() rather than
  13458. connection_mark_for_close() directly. Fixes bug 11304; bugfix on
  13459. 0.2.4.4-alpha.
  13460. - When closing all connections on setting DisableNetwork to 1, use
  13461. connection_or_close_normally() rather than closing OR connections
  13462. out from under the channel layer. Fixes bug 11306; bugfix on
  13463. 0.2.4.4-alpha.
  13464. o Minor bugfixes (code correctness):
  13465. - Previously we used two temporary files when writing descriptors to
  13466. disk; now we only use one. Fixes bug 1376.
  13467. - Remove an erroneous (but impossible and thus harmless) pointer
  13468. comparison that would have allowed compilers to skip a bounds
  13469. check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
  13470. 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
  13471. - Fix an always-true assertion in pluggable transports code so it
  13472. actually checks what it was trying to check. Fixes bug 10046;
  13473. bugfix on 0.2.3.9-alpha. Found by "dcb".
  13474. o Minor bugfixes (command line):
  13475. - Use a single command-line parser for parsing torrc options on the
  13476. command line and for finding special command-line options to avoid
  13477. inconsistent behavior for torrc option arguments that have the same
  13478. names as command-line options. Fixes bugs 4647 and 9578; bugfix on
  13479. 0.0.9pre5.
  13480. - No longer allow 'tor --hash-password' with no arguments. Fixes bug
  13481. 9573; bugfix on 0.0.9pre5.
  13482. o Minor bugfixes (compilation):
  13483. - Compile correctly with builds and forks of OpenSSL (such as
  13484. LibreSSL) that disable compression. Fixes bug 12602; bugfix on
  13485. 0.2.1.1-alpha. Patch from "dhill".
  13486. - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
  13487. turned off (that is, without support for v2 link handshakes). Fixes
  13488. bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
  13489. - In routerlist_assert_ok(), don't take the address of a
  13490. routerinfo's cache_info member unless that routerinfo is non-NULL.
  13491. Fixes bug 13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
  13492. - Fix a large number of false positive warnings from the clang
  13493. analyzer static analysis tool. This should make real warnings
  13494. easier for clang analyzer to find. Patch from "teor". Closes
  13495. ticket 13036.
  13496. - Resolve GCC complaints on OpenBSD about discarding constness in
  13497. TO_{ORIGIN,OR}_CIRCUIT functions. Fixes part of bug 11633; bugfix
  13498. on 0.1.1.23. Patch from Dana Koch.
  13499. - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to
  13500. treatment of long and time_t as comparable types. Fixes part of
  13501. bug 11633. Patch from Dana Koch.
  13502. - When deciding whether to build the 64-bit curve25519
  13503. implementation, detect platforms where we can compile 128-bit
  13504. arithmetic but cannot link it. Fixes bug 11729; bugfix on
  13505. 0.2.4.8-alpha. Patch from "conradev".
  13506. - Fix compilation when DNS_CACHE_DEBUG is enabled. Fixes bug 11761;
  13507. bugfix on 0.2.3.13-alpha. Found by "cypherpunks".
  13508. - Fix compilation with dmalloc. Fixes bug 11605; bugfix
  13509. on 0.2.4.10-alpha.
  13510. - Build and run correctly on systems like OpenBSD-current that have
  13511. patched OpenSSL to remove get_cipher_by_char and/or its
  13512. implementations. Fixes issue 13325.
  13513. o Minor bugfixes (controller and command-line):
  13514. - If changing a config option via "setconf" fails in a recoverable
  13515. way, we used to nonetheless write our new control ports to the
  13516. file described by the "ControlPortWriteToFile" option. Now we only
  13517. write out that file if we successfully switch to the new config
  13518. option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
  13519. o Minor bugfixes (directory server):
  13520. - No longer accept malformed http headers when parsing urls from
  13521. headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
  13522. bugfix on 0.0.6pre1.
  13523. - When sending a compressed set of descriptors or microdescriptors,
  13524. make sure to finalize the zlib stream. Previously, we would write
  13525. all the compressed data, but if the last descriptor we wanted to
  13526. send was missing or too old, we would not mark the stream as
  13527. finished. This caused problems for decompression tools. Fixes bug
  13528. 11648; bugfix on 0.1.1.23.
  13529. o Minor bugfixes (hidden service):
  13530. - Only retry attempts to connect to a chosen rendezvous point 8
  13531. times, not 30. Fixes bug 4241; bugfix on 0.1.0.1-rc.
  13532. o Minor bugfixes (interface):
  13533. - Reject relative control socket paths and emit a warning. Previously,
  13534. single-component control socket paths would be rejected, but Tor
  13535. would not log why it could not validate the config. Fixes bug 9258;
  13536. bugfix on 0.2.3.16-alpha.
  13537. o Minor bugfixes (log messages):
  13538. - Fix a bug where clients using bridges would report themselves
  13539. as 50% bootstrapped even without a live consensus document.
  13540. Fixes bug 9922; bugfix on 0.2.1.1-alpha.
  13541. - Suppress a warning where, if there's only one directory authority
  13542. in the network, we would complain that votes and signatures cannot
  13543. be uploaded to other directory authorities. Fixes bug 10842;
  13544. bugfix on 0.2.2.26-beta.
  13545. - Report bootstrapping progress correctly when we're downloading
  13546. microdescriptors. We had updated our "do we have enough microdescs
  13547. to begin building circuits?" logic most recently in 0.2.4.10-alpha
  13548. (see bug 5956), but we left the bootstrap status event logic at
  13549. "how far through getting 1/4 of them are we?" Fixes bug 9958;
  13550. bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
  13551. o Minor bugfixes (logging):
  13552. - Downgrade "Unexpected onionskin length after decryption" warning
  13553. to a protocol-warn, since there's nothing relay operators can do
  13554. about a client that sends them a malformed create cell. Resolves
  13555. bug 12996; bugfix on 0.0.6rc1.
  13556. - Log more specific warnings when we get an ESTABLISH_RENDEZVOUS
  13557. cell on a cannibalized or non-OR circuit. Resolves ticket 12997.
  13558. - When logging information about an EXTEND2 or EXTENDED2 cell, log
  13559. their names correctly. Fixes part of bug 12700; bugfix
  13560. on 0.2.4.8-alpha.
  13561. - When logging information about a relay cell whose command we don't
  13562. recognize, log its command as an integer. Fixes part of bug 12700;
  13563. bugfix on 0.2.1.10-alpha.
  13564. - Escape all strings from the directory connection before logging
  13565. them. Fixes bug 13071; bugfix on 0.1.1.15. Patch from "teor".
  13566. - Squelch a spurious LD_BUG message "No origin circuit for
  13567. successful SOCKS stream" in certain hidden service failure cases;
  13568. fixes bug 10616.
  13569. - Downgrade the severity of the 'unexpected sendme cell from client'
  13570. from 'warn' to 'protocol warning'. Closes ticket 8093.
  13571. o Minor bugfixes (misc code correctness):
  13572. - In munge_extrainfo_into_routerinfo(), check the return value of
  13573. memchr(). This would have been a serious issue if we ever passed
  13574. it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
  13575. from Arlo Breault.
  13576. - On the chance that somebody manages to build Tor on a
  13577. platform where time_t is unsigned, correct the way that
  13578. microdesc_add_to_cache() handles negative time arguments.
  13579. Fixes bug 8042; bugfix on 0.2.3.1-alpha.
  13580. - Fix various instances of undefined behavior in channeltls.c,
  13581. tor_memmem(), and eventdns.c that would cause us to construct
  13582. pointers to memory outside an allocated object. (These invalid
  13583. pointers were not accessed, but C does not even allow them to
  13584. exist.) Fixes bug 10363; bugfixes on 0.1.1.1-alpha, 0.1.2.1-alpha,
  13585. 0.2.0.10-alpha, and 0.2.3.6-alpha. Reported by "bobnomnom".
  13586. - Use the AddressSanitizer and Ubsan sanitizers (in clang-3.4) to
  13587. fix some miscellaneous errors in our tests and codebase. Fixes bug
  13588. 11232. Bugfixes on versions back as far as 0.2.1.11-alpha.
  13589. - Always check return values for unlink, munmap, UnmapViewOfFile;
  13590. check strftime return values more often. In some cases all we can
  13591. do is report a warning, but this may help prevent deeper bugs from
  13592. going unnoticed. Closes ticket 8787; bugfixes on many, many tor
  13593. versions.
  13594. - Fix numerous warnings from the clang "scan-build" static analyzer.
  13595. Some of these are programming style issues; some of them are false
  13596. positives that indicated awkward code; some are undefined behavior
  13597. cases related to constructing (but not using) invalid pointers;
  13598. some are assumptions about API behavior; some are (harmlessly)
  13599. logging sizeof(ptr) bytes from a token when sizeof(*ptr) would be
  13600. correct; and one or two are genuine bugs that weren't reachable
  13601. from the rest of the program. Fixes bug 8793; bugfixes on many,
  13602. many tor versions.
  13603. o Minor bugfixes (node selection):
  13604. - If ExcludeNodes is set, consider non-excluded hidden service
  13605. directory servers before excluded ones. Do not consider excluded
  13606. hidden service directory servers at all if StrictNodes is
  13607. set. (Previously, we would sometimes decide to connect to those
  13608. servers, and then realize before we initiated a connection that
  13609. we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
  13610. Reported by "mr-4".
  13611. - If we set the ExitNodes option but it doesn't include any nodes
  13612. that have the Exit flag, we would choose not to bootstrap. Now we
  13613. bootstrap so long as ExitNodes includes nodes which can exit to
  13614. some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
  13615. o Minor bugfixes (performance):
  13616. - Avoid a bug where every successful connection made us recompute
  13617. the flag telling us whether we have sufficient information to
  13618. build circuits. Previously, we would forget our cached value
  13619. whenever we successfully opened a channel (or marked a router as
  13620. running or not running for any other reason), regardless of
  13621. whether we had previously believed the router to be running. This
  13622. forced us to run an expensive update operation far too often.
  13623. Fixes bug 12170; bugfix on 0.1.2.1-alpha.
  13624. - Avoid using tor_memeq() for checking relay cell integrity. This
  13625. removes a possible performance bottleneck. Fixes part of bug
  13626. 12169; bugfix on 0.2.1.31.
  13627. o Minor bugfixes (platform-specific):
  13628. - When dumping a malformed directory object to disk, save it in
  13629. binary mode on Windows, not text mode. Fixes bug 11342; bugfix on
  13630. 0.2.2.1-alpha.
  13631. - Don't report failures from make_socket_reuseable() on incoming
  13632. sockets on OSX: this can happen when incoming connections close
  13633. early. Fixes bug 10081.
  13634. o Minor bugfixes (pluggable transports):
  13635. - Avoid another 60-second delay when starting Tor in a pluggable-
  13636. transport-using configuration when we already have cached
  13637. descriptors for our bridges. Fixes bug 11965; bugfix
  13638. on 0.2.3.6-alpha.
  13639. o Minor bugfixes (protocol correctness):
  13640. - When receiving a VERSIONS cell with an odd number of bytes, close
  13641. the connection immediately since the cell is malformed. Fixes bug
  13642. 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
  13643. "rl1987".
  13644. o Minor bugfixes (relay, other):
  13645. - We now drop CREATE cells for already-existent circuit IDs and for
  13646. zero-valued circuit IDs, regardless of other factors that might
  13647. otherwise have called for DESTROY cells. Fixes bug 12191; bugfix
  13648. on 0.0.8pre1.
  13649. - When rejecting DATA cells for stream_id zero, still count them
  13650. against the circuit's deliver window so that we don't fail to send
  13651. a SENDME. Fixes bug 11246; bugfix on 0.2.4.10-alpha.
  13652. o Minor bugfixes (relay, threading):
  13653. - Check return code on spawn_func() in cpuworker code, so that we
  13654. don't think we've spawned a nonworking cpuworker and write junk to
  13655. it forever. Fix related to bug 4345; bugfix on all released Tor
  13656. versions. Found by "skruffy".
  13657. - Use a pthread_attr to make sure that spawn_func() cannot return an
  13658. error while at the same time launching a thread. Fix related to
  13659. bug 4345; bugfix on all released Tor versions. Reported
  13660. by "cypherpunks".
  13661. o Minor bugfixes (relays and bridges):
  13662. - Avoid crashing on a malformed resolv.conf file when running a
  13663. relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
  13664. - Non-exit relays no longer launch mock DNS requests to check for
  13665. DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
  13666. non-exit relays stopped servicing DNS requests. Fixes bug 965;
  13667. bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
  13668. - Bridges now report complete directory request statistics. Related
  13669. to bug 5824; bugfix on 0.2.2.1-alpha.
  13670. - Bridges now never collect statistics that were designed for
  13671. relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
  13672. o Minor bugfixes (testing):
  13673. - Fix all valgrind warnings produced by the unit tests. There were
  13674. over a thousand memory leak warnings previously, mostly produced
  13675. by forgetting to free things in the unit test code. Fixes bug
  13676. 11618, bugfixes on many versions of Tor.
  13677. o Minor bugfixes (tor-fw-helper):
  13678. - Give a correct log message when tor-fw-helper fails to launch.
  13679. (Previously, we would say something like "tor-fw-helper sent us a
  13680. string we could not parse".) Fixes bug 9781; bugfix
  13681. on 0.2.4.2-alpha.
  13682. o Minor bugfixes (trivial memory leaks):
  13683. - Fix a small memory leak when signing a directory object. Fixes bug
  13684. 11275; bugfix on 0.2.4.13-alpha.
  13685. - Resolve some memory leaks found by coverity in the unit tests, on
  13686. exit in tor-gencert, and on a failure to compute digests for our
  13687. own keys when generating a v3 networkstatus vote. These leaks
  13688. should never have affected anyone in practice.
  13689. o Code simplification and refactoring:
  13690. - Remove some old fallback code designed to keep Tor clients working
  13691. in a network with only two working relays. Elsewhere in the code we
  13692. have long since stopped supporting such networks, so there wasn't
  13693. much point in keeping it around. Addresses ticket 9926.
  13694. - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
  13695. bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
  13696. - Extract the common duplicated code for creating a subdirectory
  13697. of the data directory and writing to a file in it. Fixes ticket
  13698. 4282; patch from Peter Retzlaff.
  13699. - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
  13700. buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
  13701. i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
  13702. - Add a set of accessor functions for the circuit timeout data
  13703. structure. Fixes ticket 6153; patch from "piet".
  13704. - Clean up exit paths from connection_listener_new(). Closes ticket
  13705. 8789. Patch from Arlo Breault.
  13706. - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
  13707. and drop our own custom pkey_eq() implementation. Fixes bug 9043.
  13708. - Use a doubly-linked list to implement the global circuit list.
  13709. Resolves ticket 9108. Patch from Marek Majkowski.
  13710. - Remove contrib/id_to_fp.c since it wasn't used anywhere.
  13711. - Remove constants and tests for PKCS1 padding; it's insecure and
  13712. shouldn't be used for anything new. Fixes bug 8792; patch
  13713. from Arlo Breault.
  13714. - Remove instances of strcpy() from the unit tests. They weren't
  13715. hurting anything, since they were only in the unit tests, but it's
  13716. embarrassing to have strcpy() in the code at all, and some analysis
  13717. tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
  13718. 0.2.3.8-alpha. Patch from Arlo Breault.
  13719. - Remove is_internal_IP() function. Resolves ticket 4645.
  13720. - Remove unused function circuit_dump_by_chan from circuitlist.c.
  13721. Closes issue 9107; patch from "marek".
  13722. - Change our use of the ENUM_BF macro to avoid declarations that
  13723. confuse Doxygen.
  13724. - Get rid of router->address, since in all cases it was just the
  13725. string representation of router->addr. Resolves ticket 5528.
  13726. o Documentation:
  13727. - Adjust the URLs in the README to refer to the new locations of
  13728. several documents on the website. Fixes bug 12830. Patch from
  13729. Matt Pagan.
  13730. - Document 'reject6' and 'accept6' ExitPolicy entries. Resolves
  13731. ticket 12878.
  13732. - Update manpage to describe some of the files you can expect to
  13733. find in Tor's DataDirectory. Addresses ticket 9839.
  13734. - Clean up several option names in the manpage to match their real
  13735. names, add the missing documentation for a couple of testing and
  13736. directory authority options, remove the documentation for a
  13737. V2-directory fetching option that no longer exists. Resolves
  13738. ticket 11634.
  13739. - Correct the documentation so that it lists the correct directory
  13740. for the stats files. (They are in a subdirectory called "stats",
  13741. not "status".)
  13742. - In the manpage, move more authority-only options into the
  13743. directory authority section so that operators of regular directory
  13744. caches don't get confused.
  13745. - Fix the layout of the SOCKSPort flags in the manpage. Fixes bug
  13746. 11061; bugfix on 0.2.4.7-alpha.
  13747. - Resolve warnings from Doxygen.
  13748. - Document in the manpage that "KBytes" may also be written as
  13749. "kilobytes" or "KB", that "Kbits" may also be written as
  13750. "kilobits", and so forth. Closes ticket 9222.
  13751. - Document that the ClientOnly config option overrides ORPort.
  13752. Our old explanation made ClientOnly sound as though it did
  13753. nothing at all. Resolves bug 9059.
  13754. - Explain that SocksPolicy, DirPolicy, and similar options don't
  13755. take port arguments. Fixes the other part of ticket 11108.
  13756. - Fix a comment about the rend_server_descriptor_t.protocols field
  13757. to more accurately describe its range. Also, make that field
  13758. unsigned, to more accurately reflect its usage. Fixes bug 9099;
  13759. bugfix on 0.2.1.5-alpha.
  13760. - Fix the manpage's description of HiddenServiceAuthorizeClient:
  13761. the maximum client name length is 16, not 19. Fixes bug 11118;
  13762. bugfix on 0.2.1.6-alpha.
  13763. o Package cleanup:
  13764. - The contrib directory has been sorted and tidied. Before, it was
  13765. an unsorted dumping ground for useful and not-so-useful things.
  13766. Now, it is divided based on functionality, and the items which
  13767. seemed to be nonfunctional or useless have been removed. Resolves
  13768. ticket 8966; based on patches from "rl1987".
  13769. o Removed code and features:
  13770. - Clients now reject any directory authority certificates lacking
  13771. a dir-key-crosscert element. These have been included since
  13772. 0.2.1.9-alpha, so there's no real reason for them to be optional
  13773. any longer. Completes proposal 157. Resolves ticket 10162.
  13774. - Remove all code that existed to support the v2 directory system,
  13775. since there are no longer any v2 directory authorities. Resolves
  13776. ticket 10758.
  13777. - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
  13778. options, which were used for designating authorities as "Hidden
  13779. service authorities". There has been no use of hidden service
  13780. authorities since 0.2.2.1-alpha, when we stopped uploading or
  13781. downloading v0 hidden service descriptors. Fixes bug 10881; also
  13782. part of a fix for bug 10841.
  13783. - Remove /tor/dbg-stability.txt URL that was meant to help debug WFU
  13784. and MTBF calculations, but that nobody was using. Fixes bug 11742.
  13785. - The TunnelDirConns and PreferTunnelledDirConns options no longer
  13786. exist; tunneled directory connections have been available since
  13787. 0.1.2.5-alpha, and turning them off is not a good idea. This is a
  13788. brute-force fix for 10849, where "TunnelDirConns 0" would break
  13789. hidden services.
  13790. - Remove all code for the long unused v1 directory protocol.
  13791. Resolves ticket 11070.
  13792. - Remove all remaining code related to version-0 hidden service
  13793. descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
  13794. the rest of bug 10841.
  13795. - Remove migration code from when we renamed the "cached-routers"
  13796. file to "cached-descriptors" back in 0.2.0.8-alpha. This
  13797. incidentally resolves ticket 6502 by cleaning up the related code
  13798. a bit. Patch from Akshay Hebbar.
  13799. o Test infrastructure:
  13800. - Tor now builds each source file in two modes: a mode that avoids
  13801. exposing identifiers needlessly, and another mode that exposes
  13802. more identifiers for testing. This lets the compiler do better at
  13803. optimizing the production code, while enabling us to take more
  13804. radical measures to let the unit tests test things.
  13805. - The production builds no longer include functions used only in
  13806. the unit tests; all functions exposed from a module only for
  13807. unit-testing are now static in production builds.
  13808. - Add an --enable-coverage configuration option to make the unit
  13809. tests (and a new src/or/tor-cov target) to build with gcov test
  13810. coverage support.
  13811. - Update to the latest version of tinytest.
  13812. - Improve the tinytest implementation of string operation tests so
  13813. that comparisons with NULL strings no longer crash the tests; they
  13814. now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
  13815. - New macros in test.h to simplify writing mock-functions for unit
  13816. tests. Part of ticket 11507. Patch from Dana Koch.
  13817. - We now have rudimentary function mocking support that our unit
  13818. tests can use to test functions in isolation. Function mocking
  13819. lets the tests temporarily replace a function's dependencies with
  13820. stub functions, so that the tests can check the function without
  13821. invoking the other functions it calls.
  13822. o Testing:
  13823. - Complete tests for the status.c module. Resolves ticket 11507.
  13824. Patch from Dana Koch.
  13825. - Add more unit tests for the <circid,channel>->circuit map, and
  13826. the destroy-cell-tracking code to fix bug 7912.
  13827. - Unit tests for failing cases of the TAP onion handshake.
  13828. - More unit tests for address-manipulation functions.
  13829. o Distribution (systemd):
  13830. - Include a tor.service file in contrib/dist for use with systemd.
  13831. Some distributions will be able to use this file unmodified;
  13832. others will need to tweak it, or write their own. Patch from Jamie
  13833. Nguyen; resolves ticket 8368.
  13834. - Verify configuration file via ExecStartPre in the systemd unit
  13835. file. Patch from intrigeri; resolves ticket 12730.
  13836. - Explicitly disable RunAsDaemon in the systemd unit file. Our
  13837. current systemd unit uses "Type = simple", so systemd does not
  13838. expect tor to fork. If the user has "RunAsDaemon 1" in their
  13839. torrc, then things won't work as expected. This is e.g. the case
  13840. on Debian (and derivatives), since there we pass "--defaults-torrc
  13841. /usr/share/tor/tor-service-defaults-torrc" (that contains
  13842. "RunAsDaemon 1") by default. Patch by intrigeri; resolves
  13843. ticket 12731.
  13844. Changes in version 0.2.4.25 - 2014-10-20
  13845. Tor 0.2.4.25 disables SSL3 in response to the recent "POODLE" attack
  13846. (even though POODLE does not affect Tor). It also works around a crash
  13847. bug caused by some operating systems' response to the "POODLE" attack
  13848. (which does affect Tor).
  13849. o Major security fixes (also in 0.2.5.9-rc):
  13850. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  13851. today support TLS 1.0 or later, so we can safely turn off support
  13852. for this old (and insecure) protocol. Fixes bug 13426.
  13853. o Major bugfixes (openssl bug workaround, also in 0.2.5.9-rc):
  13854. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  13855. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  13856. 13471. This is a workaround for an OpenSSL bug.
  13857. Changes in version 0.2.4.24 - 2014-09-22
  13858. Tor 0.2.4.24 fixes a bug that affects consistency and speed when
  13859. connecting to hidden services, and it updates the location of one of
  13860. the directory authorities.
  13861. o Major bugfixes:
  13862. - Clients now send the correct address for their chosen rendezvous
  13863. point when trying to access a hidden service. They used to send
  13864. the wrong address, which would still work some of the time because
  13865. they also sent the identity digest of the rendezvous point, and if
  13866. the hidden service happened to try connecting to the rendezvous
  13867. point from a relay that already had a connection open to it,
  13868. the relay would reuse that connection. Now connections to hidden
  13869. services should be more robust and faster. Also, this bug meant
  13870. that clients were leaking to the hidden service whether they were
  13871. on a little-endian (common) or big-endian (rare) system, which for
  13872. some users might have reduced their anonymity. Fixes bug 13151;
  13873. bugfix on 0.2.1.5-alpha.
  13874. o Directory authority changes:
  13875. - Change IP address for gabelmoo (v3 directory authority).
  13876. o Minor features (geoip):
  13877. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  13878. Country database.
  13879. Changes in version 0.2.4.23 - 2014-07-28
  13880. Tor 0.2.4.23 brings us a big step closer to slowing down the risk from
  13881. guard rotation, and also backports several important fixes from the
  13882. Tor 0.2.5 alpha release series.
  13883. o Major features:
  13884. - Clients now look at the "usecreatefast" consensus parameter to
  13885. decide whether to use CREATE_FAST or CREATE cells for the first hop
  13886. of their circuit. This approach can improve security on connections
  13887. where Tor's circuit handshake is stronger than the available TLS
  13888. connection security levels, but the tradeoff is more computational
  13889. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  13890. - Make the number of entry guards configurable via a new
  13891. NumEntryGuards consensus parameter, and the number of directory
  13892. guards configurable via a new NumDirectoryGuards consensus
  13893. parameter. Implements ticket 12688.
  13894. o Major bugfixes:
  13895. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  13896. implementation that caused incorrect results on 32-bit
  13897. implementations when certain malformed inputs were used along with
  13898. a small class of private ntor keys. This bug does not currently
  13899. appear to allow an attacker to learn private keys or impersonate a
  13900. Tor server, but it could provide a means to distinguish 32-bit Tor
  13901. implementations from 64-bit Tor implementations. Fixes bug 12694;
  13902. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  13903. Adam Langley.
  13904. o Minor bugfixes:
  13905. - Warn and drop the circuit if we receive an inbound 'relay early'
  13906. cell. Those used to be normal to receive on hidden service circuits
  13907. due to bug 1038, but the buggy Tor versions are long gone from
  13908. the network so we can afford to resume watching for them. Resolves
  13909. the rest of bug 1038; bugfix on 0.2.1.19.
  13910. - Correct a confusing error message when trying to extend a circuit
  13911. via the control protocol but we don't know a descriptor or
  13912. microdescriptor for one of the specified relays. Fixes bug 12718;
  13913. bugfix on 0.2.3.1-alpha.
  13914. - Avoid an illegal read from stack when initializing the TLS
  13915. module using a version of OpenSSL without all of the ciphers
  13916. used by the v2 link handshake. Fixes bug 12227; bugfix on
  13917. 0.2.4.8-alpha. Found by "starlight".
  13918. o Minor features:
  13919. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  13920. Country database.
  13921. Changes in version 0.2.4.22 - 2014-05-16
  13922. Tor 0.2.4.22 backports numerous high-priority fixes from the Tor 0.2.5
  13923. alpha release series. These include blocking all authority signing
  13924. keys that may have been affected by the OpenSSL "heartbleed" bug,
  13925. choosing a far more secure set of TLS ciphersuites by default, closing
  13926. a couple of memory leaks that could be used to run a target relay out
  13927. of RAM, and several others.
  13928. o Major features (security, backport from 0.2.5.4-alpha):
  13929. - Block authority signing keys that were used on authorities
  13930. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  13931. don't have any evidence that these keys _were_ compromised; we're
  13932. doing this to be prudent.) Resolves ticket 11464.
  13933. o Major bugfixes (security, OOM):
  13934. - Fix a memory leak that could occur if a microdescriptor parse
  13935. fails during the tokenizing step. This bug could enable a memory
  13936. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  13937. on 0.2.2.6-alpha.
  13938. o Major bugfixes (TLS cipher selection, backport from 0.2.5.4-alpha):
  13939. - The relay ciphersuite list is now generated automatically based on
  13940. uniform criteria, and includes all OpenSSL ciphersuites with
  13941. acceptable strength and forward secrecy. Previously, we had left
  13942. some perfectly fine ciphersuites unsupported due to omission or
  13943. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  13944. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  13945. - Relays now trust themselves to have a better view than clients of
  13946. which TLS ciphersuites are better than others. (Thanks to bug
  13947. 11513, the relay list is now well-considered, whereas the client
  13948. list has been chosen mainly for anti-fingerprinting purposes.)
  13949. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  13950. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  13951. AES128. Resolves ticket 11528.
  13952. - Clients now try to advertise the same list of ciphersuites as
  13953. Firefox 28. This change enables selection of (fast) GCM
  13954. ciphersuites, disables some strange old ciphers, and stops
  13955. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  13956. Resolves ticket 11438.
  13957. o Minor bugfixes (configuration, security):
  13958. - When running a hidden service, do not allow TunneledDirConns 0:
  13959. trying to set that option together with a hidden service would
  13960. otherwise prevent the hidden service from running, and also make
  13961. it publish its descriptors directly over HTTP. Fixes bug 10849;
  13962. bugfix on 0.2.1.1-alpha.
  13963. o Minor bugfixes (controller, backport from 0.2.5.4-alpha):
  13964. - Avoid sending a garbage value to the controller when a circuit is
  13965. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  13966. o Minor bugfixes (exit relay, backport from 0.2.5.4-alpha):
  13967. - Stop leaking memory when we successfully resolve a PTR record.
  13968. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  13969. o Minor bugfixes (bridge client, backport from 0.2.5.4-alpha):
  13970. - Avoid 60-second delays in the bootstrapping process when Tor is
  13971. launching for a second time while using bridges. Fixes bug 9229;
  13972. bugfix on 0.2.0.3-alpha.
  13973. o Minor bugfixes (relays and bridges, backport from 0.2.5.4-alpha):
  13974. - Give the correct URL in the warning message when trying to run a
  13975. relay on an ancient version of Windows. Fixes bug 9393.
  13976. o Minor bugfixes (compilation):
  13977. - Fix a compilation error when compiling with --disable-curve25519.
  13978. Fixes bug 9700; bugfix on 0.2.4.17-rc.
  13979. o Minor bugfixes:
  13980. - Downgrade the warning severity for the the "md was still
  13981. referenced 1 node(s)" warning. Tor 0.2.5.4-alpha has better code
  13982. for trying to diagnose this bug, and the current warning in
  13983. earlier versions of tor achieves nothing useful. Addresses warning
  13984. from bug 7164.
  13985. o Minor features (log verbosity, backport from 0.2.5.4-alpha):
  13986. - When we run out of usable circuit IDs on a channel, log only one
  13987. warning for the whole channel, and describe how many circuits
  13988. there were on the channel. Fixes part of ticket 11553.
  13989. o Minor features (security, backport from 0.2.5.4-alpha):
  13990. - Decrease the lower limit of MaxMemInCellQueues to 256 MBytes (but
  13991. leave the default at 8GBytes), to better support Raspberry Pi
  13992. users. Fixes bug 9686; bugfix on 0.2.4.14-alpha.
  13993. o Documentation (backport from 0.2.5.4-alpha):
  13994. - Correctly document that we search for a system torrc file before
  13995. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  13996. 0.2.3.18-rc.
  13997. Changes in version 0.2.4.21 - 2014-02-28
  13998. Tor 0.2.4.21 further improves security against potential adversaries who
  13999. find breaking 1024-bit crypto doable, and backports several stability
  14000. and robustness patches from the 0.2.5 branch.
  14001. o Major features (client security):
  14002. - When we choose a path for a 3-hop circuit, make sure it contains
  14003. at least one relay that supports the NTor circuit extension
  14004. handshake. Otherwise, there is a chance that we're building
  14005. a circuit that's worth attacking by an adversary who finds
  14006. breaking 1024-bit crypto doable, and that chance changes the game
  14007. theory. Implements ticket 9777.
  14008. o Major bugfixes:
  14009. - Do not treat streams that fail with reason
  14010. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  14011. since it could also indicate an ENETUNREACH connection error. Fixes
  14012. part of bug 10777; bugfix on 0.2.4.8-alpha.
  14013. o Code simplification and refactoring:
  14014. - Remove data structures which were introduced to implement the
  14015. CellStatistics option: they are now redundant with the new timestamp
  14016. field in the regular packed_cell_t data structure, which we did
  14017. in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
  14018. o Minor features:
  14019. - Always clear OpenSSL bignums before freeing them -- even bignums
  14020. that don't contain secrets. Resolves ticket 10793. Patch by
  14021. Florent Daigniere.
  14022. - Build without warnings under clang 3.4. (We have some macros that
  14023. define static functions only some of which will get used later in
  14024. the module. Starting with clang 3.4, these give a warning unless the
  14025. unused attribute is set on them.) Resolves ticket 10904.
  14026. - Update geoip and geoip6 files to the February 7 2014 Maxmind
  14027. GeoLite2 Country database.
  14028. o Minor bugfixes:
  14029. - Set the listen() backlog limit to the largest actually supported
  14030. on the system, not to the value in a header file. Fixes bug 9716;
  14031. bugfix on every released Tor.
  14032. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  14033. exit node as a NOROUTE error, not an INTERNAL error, since they
  14034. can apparently happen when trying to connect to the wrong sort
  14035. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  14036. - Fix build warnings about missing "a2x" comment when building the
  14037. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  14038. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  14039. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  14040. not entirely remove it from the connection lists. Fixes bug 9602;
  14041. bugfix on 0.2.4.4-alpha.
  14042. - Fix a segmentation fault in our benchmark code when running with
  14043. Fedora's OpenSSL package, or any other OpenSSL that provides
  14044. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  14045. - Turn "circuit handshake stats since last time" log messages into a
  14046. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  14047. o Documentation fixes:
  14048. - Document that all but one DirPort entry must have the NoAdvertise
  14049. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  14050. Changes in version 0.2.4.20 - 2013-12-22
  14051. Tor 0.2.4.20 fixes potentially poor random number generation for users
  14052. who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
  14053. torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
  14054. and 4) have no state file in their DataDirectory (as would happen on
  14055. first start). Users who generated relay or hidden service identity
  14056. keys in such a situation should discard them and generate new ones.
  14057. This release also fixes a logic error that caused Tor clients to build
  14058. many more preemptive circuits than they actually need.
  14059. o Major bugfixes:
  14060. - Do not allow OpenSSL engines to replace the PRNG, even when
  14061. HardwareAccel is set. The only default builtin PRNG engine uses
  14062. the Intel RDRAND instruction to replace the entire PRNG, and
  14063. ignores all attempts to seed it with more entropy. That's
  14064. cryptographically stupid: the right response to a new alleged
  14065. entropy source is never to discard all previously used entropy
  14066. sources. Fixes bug 10402; works around behavior introduced in
  14067. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  14068. and "rl1987".
  14069. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  14070. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  14071. - Avoid launching spurious extra circuits when a stream is pending.
  14072. This fixes a bug where any circuit that _wasn't_ unusable for new
  14073. streams would be treated as if it were, causing extra circuits to
  14074. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  14075. o Minor bugfixes:
  14076. - Avoid a crash bug when starting with a corrupted microdescriptor
  14077. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  14078. - If we fail to dump a previously cached microdescriptor to disk, avoid
  14079. freeing duplicate data later on. Fixes bug 10423; bugfix on
  14080. 0.2.4.13-alpha. Spotted by "bobnomnom".
  14081. Changes in version 0.2.4.19 - 2013-12-11
  14082. The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
  14083. (1986-2013). Aaron worked on diverse projects including helping to guide
  14084. Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
  14085. transparency to the U.S government's PACER documents, and contributing
  14086. design and development for Tor and Tor2Web. Aaron was one of the latest
  14087. martyrs in our collective fight for civil liberties and human rights,
  14088. and his death is all the more painful because he was one of us.
  14089. Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
  14090. a new circuit handshake and link encryption that use ECC to provide
  14091. better security and efficiency; makes relays better manage circuit
  14092. creation requests; uses "directory guards" to reduce client enumeration
  14093. risks; makes bridges collect and report statistics about the pluggable
  14094. transports they support; cleans up and improves our geoip database;
  14095. gets much closer to IPv6 support for clients, bridges, and relays; makes
  14096. directory authorities use measured bandwidths rather than advertised
  14097. ones when computing flags and thresholds; disables client-side DNS
  14098. caching to reduce tracking risks; and fixes a big bug in bridge
  14099. reachability testing. This release introduces two new design
  14100. abstractions in the code: a new "channel" abstraction between circuits
  14101. and or_connections to allow for implementing alternate relay-to-relay
  14102. transports, and a new "circuitmux" abstraction storing the queue of
  14103. circuits for a channel. The release also includes many stability,
  14104. security, and privacy fixes.
  14105. o Major features (new circuit handshake):
  14106. - Tor now supports a new circuit extension handshake designed by Ian
  14107. Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
  14108. circuit extension handshake, later called "TAP", was a bit slow
  14109. (especially on the relay side), had a fragile security proof, and
  14110. used weaker keys than we'd now prefer. The new circuit handshake
  14111. uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
  14112. function, making it significantly more secure than the older
  14113. handshake, and significantly faster. Tor can use one of two built-in
  14114. pure-C curve25519-donna implementations by Adam Langley, or it
  14115. can link against the "nacl" library for a tuned version if present.
  14116. The built-in version is very fast for 64-bit systems when building
  14117. with GCC. The built-in 32-bit version is still faster than the
  14118. old TAP protocol, but using libnacl is better on most such hosts.
  14119. Implements proposal 216; closes ticket 7202.
  14120. o Major features (better link encryption):
  14121. - Relays can now enable the ECDHE TLS ciphersuites when available
  14122. and appropriate. These ciphersuites let us negotiate forward-secure
  14123. TLS secret keys more safely and more efficiently than with our
  14124. previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
  14125. public relays prefer the (faster) P224 group, and bridges prefer
  14126. the (more common) P256 group; you can override this with the
  14127. TLSECGroup option.
  14128. This feature requires clients running 0.2.3.17-beta or later,
  14129. and requires both sides to be running OpenSSL 1.0.0 or later
  14130. with ECC support. OpenSSL 1.0.1, with the compile-time option
  14131. "enable-ec_nistp_64_gcc_128", is highly recommended.
  14132. Implements the relay side of proposal 198; closes ticket 7200.
  14133. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  14134. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  14135. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  14136. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  14137. them to solve bug 6033.)
  14138. o Major features (relay performance):
  14139. - Instead of limiting the number of queued onionskins (aka circuit
  14140. create requests) to a fixed, hard-to-configure number, we limit
  14141. the size of the queue based on how many we expect to be able to
  14142. process in a given amount of time. We estimate the time it will
  14143. take to process an onionskin based on average processing time
  14144. of previous onionskins. Closes ticket 7291. You'll never have to
  14145. configure MaxOnionsPending again.
  14146. - Relays process the new "NTor" circuit-level handshake requests
  14147. with higher priority than the old "TAP" circuit-level handshake
  14148. requests. We still process some TAP requests to not totally starve
  14149. 0.2.3 clients when NTor becomes popular. A new consensus parameter
  14150. "NumNTorsPerTAP" lets us tune the balance later if we need to.
  14151. Implements ticket 9574.
  14152. o Major features (client bootstrapping resilience):
  14153. - Add a new "FallbackDir" torrc option to use when we can't use
  14154. a directory mirror from the consensus (either because we lack a
  14155. consensus, or because they're all down). Currently, all authorities
  14156. are fallbacks by default, and there are no other default fallbacks,
  14157. but that will change. This option will allow us to give clients a
  14158. longer list of servers to try to get a consensus from when first
  14159. connecting to the Tor network, and thereby reduce load on the
  14160. directory authorities. Implements proposal 206, "Preconfigured
  14161. directory sources for bootstrapping". We also removed the old
  14162. "FallbackNetworkstatus" option, since we never got it working well
  14163. enough to use it. Closes bug 572.
  14164. - If we have no circuits open, use a relaxed timeout (the
  14165. 95th-percentile cutoff) until a circuit succeeds. This heuristic
  14166. should allow Tor to succeed at building circuits even when the
  14167. network connection drastically changes. Should help with bug 3443.
  14168. o Major features (use of guards):
  14169. - Support directory guards (proposal 207): when possible, clients now
  14170. use their entry guards for non-anonymous directory requests. This
  14171. can help prevent client enumeration. Note that this behavior only
  14172. works when we have a usable consensus directory, and when options
  14173. about what to download are more or less standard. In the future we
  14174. should re-bootstrap from our guards, rather than re-bootstrapping
  14175. from the preconfigured list of directory sources that ships with
  14176. Tor. Resolves ticket 6526.
  14177. - Raise the default time that a client keeps an entry guard from
  14178. "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
  14179. 2012 paper. (We would make it even longer, but we need better client
  14180. load balancing first.) Also, make the guard lifetime controllable
  14181. via a new GuardLifetime torrc option and a GuardLifetime consensus
  14182. parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
  14183. o Major features (bridges with pluggable transports):
  14184. - Bridges now report the pluggable transports they support to the
  14185. bridge authority, so it can pass the supported transports on to
  14186. bridgedb and/or eventually do reachability testing. Implements
  14187. ticket 3589.
  14188. - Automatically forward the TCP ports of pluggable transport
  14189. proxies using tor-fw-helper if PortForwarding is enabled. Implements
  14190. ticket 4567.
  14191. o Major features (geoip database):
  14192. - Maxmind began labelling Tor relays as being in country "A1",
  14193. which breaks by-country node selection inside Tor. Now we use a
  14194. script to replace "A1" ("Anonymous Proxy") entries in our geoip
  14195. file with real country codes. This script fixes about 90% of "A1"
  14196. entries automatically and uses manual country code assignments to
  14197. fix the remaining 10%. See src/config/README.geoip for details.
  14198. Fixes bug 6266.
  14199. - Add GeoIP database for IPv6 addresses. The new config option
  14200. is GeoIPv6File.
  14201. - Update to the October 2 2013 Maxmind GeoLite Country database.
  14202. o Major features (IPv6):
  14203. - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
  14204. IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
  14205. to happen. Implements ticket 5535.
  14206. - All kind of relays, not just bridges, can now advertise an IPv6
  14207. OR port. Implements ticket 6362.
  14208. - Relays can now exit to IPv6 addresses: make sure that you have IPv6
  14209. connectivity, then set the IPv6Exit flag to 1. Also make sure your
  14210. exit policy reads as you would like: the address * applies to all
  14211. address families, whereas *4 is IPv4 address only, and *6 is IPv6
  14212. addresses only. On the client side, you'll need to wait for enough
  14213. exits to support IPv6, apply the "IPv6Traffic" flag to a SocksPort,
  14214. and use Socks5. Closes ticket 5547, implements proposal 117 as
  14215. revised in proposal 208.
  14216. - Bridge authorities now accept IPv6 bridge addresses and include
  14217. them in network status documents. Implements ticket 5534.
  14218. - Directory authorities vote on IPv6 OR ports. Implements ticket 6363.
  14219. o Major features (directory authorities):
  14220. - Directory authorities now prefer using measured bandwidths to
  14221. advertised ones when computing flags and thresholds. Resolves
  14222. ticket 8273.
  14223. - Directory authorities that vote measured bandwidths about more
  14224. than a threshold number of relays now treat relays with
  14225. unmeasured bandwidths as having bandwidth 0 when computing their
  14226. flags. Resolves ticket 8435.
  14227. - Directory authorities now support a new consensus method (17)
  14228. where they cap the published bandwidth of relays for which
  14229. insufficient bandwidth measurements exist. Fixes part of bug 2286.
  14230. - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
  14231. serve any v2 directory information. Now we can test disabling the
  14232. old deprecated v2 directory format, and see whether doing so has
  14233. any effect on network load. Begins to fix bug 6783.
  14234. o Major features (build and portability):
  14235. - Switch to a nonrecursive Makefile structure. Now instead of each
  14236. Makefile.am invoking other Makefile.am's, there is a master
  14237. Makefile.am that includes the others. This change makes our build
  14238. process slightly more maintainable, and improves parallelism for
  14239. building with make -j. Original patch by Stewart Smith; various
  14240. fixes by Jim Meyering.
  14241. - Where available, we now use automake's "silent" make rules by
  14242. default, so that warnings are easier to spot. You can get the old
  14243. behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
  14244. - Resume building correctly with MSVC and Makefile.nmake. This patch
  14245. resolves numerous bugs and fixes reported by ultramage, including
  14246. 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
  14247. o Security features:
  14248. - Switch to a completely time-invariant approach for picking nodes
  14249. weighted by bandwidth. Our old approach would run through the
  14250. part of the loop after it had made its choice slightly slower
  14251. than it ran through the part of the loop before it had made its
  14252. choice. Addresses ticket 6538.
  14253. - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
  14254. by tor2web clients allows hidden services to identify tor2web
  14255. clients through their repeated selection of the same rendezvous
  14256. and introduction point circuit endpoints (their guards). Resolves
  14257. ticket 6888.
  14258. o Major bugfixes (relay denial of service):
  14259. - When we have too much memory queued in circuits (according to a new
  14260. MaxMemInCellQueues option), close the circuits that have the oldest
  14261. queued cells, on the theory that those are most responsible for
  14262. us running low on memory. This prevents us from running out of
  14263. memory as a relay if circuits fill up faster than they can be
  14264. drained. Fixes bugs 9063 and 9093; bugfix on the 54th commit of
  14265. Tor. This bug is a further fix beyond bug 6252, whose fix was
  14266. merged into 0.2.3.21-rc.
  14267. - Reject bogus create and relay cells with 0 circuit ID or 0 stream
  14268. ID: these could be used to create unexpected streams and circuits
  14269. which would count as "present" to some parts of Tor but "absent"
  14270. to others, leading to zombie circuits and streams or to a bandwidth
  14271. denial-of-service. Fixes bug 7889; bugfix on every released version
  14272. of Tor. Reported by "oftc_must_be_destroyed".
  14273. - Avoid a bug where our response to TLS renegotiation under certain
  14274. network conditions could lead to a busy-loop, with 100% CPU
  14275. consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
  14276. o Major bugfixes (asserts, crashes, leaks):
  14277. - Prevent the get_freelists() function from running off the end of
  14278. the list of freelists if it somehow gets an unrecognized
  14279. allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
  14280. eugenis.
  14281. - Avoid a memory leak where we would leak a consensus body when we
  14282. find that a consensus which we couldn't previously verify due to
  14283. missing certificates is now verifiable. Fixes bug 8719; bugfix
  14284. on 0.2.0.10-alpha.
  14285. - If we are unable to save a microdescriptor to the journal, do not
  14286. drop it from memory and then reattempt downloading it. Fixes bug
  14287. 9645; bugfix on 0.2.2.6-alpha.
  14288. - Fix an assertion failure that would occur when disabling the
  14289. ORPort setting on a running Tor process while accounting was
  14290. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  14291. - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
  14292. when an exit connection with optimistic data succeeds immediately
  14293. rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
  14294. 0.2.3.1-alpha.
  14295. - Fix a memory leak that would occur whenever a configuration
  14296. option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
  14297. o Major bugfixes (relay rate limiting):
  14298. - When a TLS write is partially successful but incomplete, remember
  14299. that the flushed part has been flushed, and notice that bytes were
  14300. actually written. Reported and fixed pseudonymously. Fixes bug 7708;
  14301. bugfix on Tor 0.1.0.5-rc.
  14302. - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
  14303. to 1GB/1GB. The previous defaults were intended to be "basically
  14304. infinite", but it turns out they're now limiting our 100mbit+
  14305. relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
  14306. last time we raised it).
  14307. - No longer stop reading or writing on cpuworker connections when
  14308. our rate limiting buckets go empty. Now we should handle circuit
  14309. handshake requests more promptly. Resolves bug 9731.
  14310. o Major bugfixes (client-side privacy):
  14311. - When we mark a circuit as unusable for new circuits, have it
  14312. continue to be unusable for new circuits even if MaxCircuitDirtiness
  14313. is increased too much at the wrong time, or the system clock jumps
  14314. backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
  14315. - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
  14316. which have resolved to internal addresses") is set, apply that
  14317. rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
  14318. - When an exit relay rejects a stream with reason "exit policy", but
  14319. we only know an exit policy summary (e.g. from the microdesc
  14320. consensus) for it, do not mark the relay as useless for all exiting.
  14321. Instead, mark just the circuit as unsuitable for that particular
  14322. address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
  14323. o Major bugfixes (stream isolation):
  14324. - Allow applications to get proper stream isolation with
  14325. IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
  14326. username/password authentication also offer "no authentication". Tor
  14327. had previously preferred "no authentication", so the applications
  14328. never actually sent Tor their auth details. Now Tor selects
  14329. username/password authentication if it's offered. You can disable
  14330. this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
  14331. bug 8117; bugfix on 0.2.3.3-alpha.
  14332. - Follow the socks5 protocol when offering username/password
  14333. authentication. The fix for bug 8117 exposed this bug, and it
  14334. turns out real-world applications like Pidgin do care. Bugfix on
  14335. 0.2.3.2-alpha; fixes bug 8879.
  14336. o Major bugfixes (client circuit building):
  14337. - Alter circuit build timeout measurement to start at the point
  14338. where we begin the CREATE/CREATE_FAST step (as opposed to circuit
  14339. initialization). This should make our timeout measurements more
  14340. uniform. Previously, we were sometimes including ORconn setup time
  14341. in our circuit build time measurements. Should resolve bug 3443.
  14342. - If the circuit build timeout logic is disabled (via the consensus,
  14343. or because we are an authority), then don't build testing circuits.
  14344. Fixes bug 9657; bugfix on 0.2.2.14-alpha.
  14345. o Major bugfixes (client-side DNS):
  14346. - Turn off the client-side DNS cache by default. Updating and using
  14347. the DNS cache is now configurable on a per-client-port
  14348. level. SOCKSPort, DNSPort, etc lines may now contain
  14349. {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
  14350. cache these types of DNS answers when we receive them from an
  14351. exit node in response to an application request on this port, and
  14352. {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
  14353. cached DNS answers of these types, we shouldn't use them. It's
  14354. potentially risky to use cached DNS answers at the client, since
  14355. doing so can indicate to one exit what answers we've gotten
  14356. for DNS lookups in the past. With IPv6, this becomes especially
  14357. problematic. Using cached DNS answers for requests on the same
  14358. circuit would present less linkability risk, since all traffic
  14359. on a circuit is already linkable, but it would also provide
  14360. little performance benefit: the exit node caches DNS replies
  14361. too. Implements a simplified version of Proposal 205. Implements
  14362. ticket 7570.
  14363. o Major bugfixes (hidden service privacy):
  14364. - Limit hidden service descriptors to at most ten introduction
  14365. points, to slow one kind of guard enumeration. Fixes bug 9002;
  14366. bugfix on 0.1.1.11-alpha.
  14367. o Major bugfixes (directory fetching):
  14368. - If the time to download the next old-style networkstatus is in
  14369. the future, do not decline to consider whether to download the
  14370. next microdescriptor networkstatus. Fixes bug 9564; bugfix on
  14371. 0.2.3.14-alpha.
  14372. - We used to always request authority certificates by identity digest,
  14373. meaning we'd get the newest one even when we wanted one with a
  14374. different signing key. Then we would complain about being given
  14375. a certificate we already had, and never get the one we really
  14376. wanted. Now we use the "fp-sk/" resource as well as the "fp/"
  14377. resource to request the one we want. Fixes bug 5595; bugfix on
  14378. 0.2.0.8-alpha.
  14379. o Major bugfixes (bridge reachability):
  14380. - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
  14381. previously they did not, which prevented them from receiving
  14382. successful connections from relays for self-test or bandwidth
  14383. testing. Also, when a relay is extending a circuit to a bridge,
  14384. it needs to send a NETINFO cell, even when the bridge hasn't sent
  14385. an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
  14386. o Major bugfixes (control interface):
  14387. - When receiving a new configuration file via the control port's
  14388. LOADCONF command, do not treat the defaults file as absent.
  14389. Fixes bug 9122; bugfix on 0.2.3.9-alpha.
  14390. o Major bugfixes (directory authorities):
  14391. - Stop marking every relay as having been down for one hour every
  14392. time we restart a directory authority. These artificial downtimes
  14393. were messing with our Stable and Guard flag calculations. Fixes
  14394. bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
  14395. - When computing directory thresholds, ignore any rejected-as-sybil
  14396. nodes during the computation so that they can't influence Fast,
  14397. Guard, etc. (We should have done this for proposal 109.) Fixes
  14398. bug 8146.
  14399. - When marking a node as a likely sybil, reset its uptime metrics
  14400. to zero, so that it cannot time towards getting marked as Guard,
  14401. Stable, or HSDir. (We should have done this for proposal 109.) Fixes
  14402. bug 8147.
  14403. - Fix a bug in the voting algorithm that could yield incorrect results
  14404. when a non-naming authority declared too many flags. Fixes bug 9200;
  14405. bugfix on 0.2.0.3-alpha.
  14406. o Internal abstraction features:
  14407. - Introduce new channel_t abstraction between circuits and
  14408. or_connection_t to allow for implementing alternate OR-to-OR
  14409. transports. A channel_t is an abstract object which can either be a
  14410. cell-bearing channel, which is responsible for authenticating and
  14411. handshaking with the remote OR and transmitting cells to and from
  14412. it, or a listening channel, which spawns new cell-bearing channels
  14413. at the request of remote ORs. Implements part of ticket 6465.
  14414. - Make a channel_tls_t subclass of channel_t, adapting it to the
  14415. existing or_connection_t code. The V2/V3 protocol handshaking
  14416. code which formerly resided in command.c has been moved below the
  14417. channel_t abstraction layer and may be found in channeltls.c now.
  14418. Implements the rest of ticket 6465.
  14419. - Introduce new circuitmux_t storing the queue of circuits for
  14420. a channel; this encapsulates and abstracts the queue logic and
  14421. circuit selection policy, and allows the latter to be overridden
  14422. easily by switching out a policy object. The existing EWMA behavior
  14423. is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
  14424. o New build requirements:
  14425. - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
  14426. strongly recommended.
  14427. - Tor maintainers now require Automake version 1.9 or later to build
  14428. Tor from the Git repository. (Automake is not required when building
  14429. from a source distribution.)
  14430. o Minor features (protocol):
  14431. - No longer include the "opt" prefix when generating routerinfos
  14432. or v2 directories: it has been needless since Tor 0.1.2. Closes
  14433. ticket 5124.
  14434. - Reject EXTEND cells sent to nonexistent streams. According to the
  14435. spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
  14436. we were only checking for stream IDs that were currently in use.
  14437. Found while hunting for more instances of bug 6271. Bugfix on
  14438. 0.0.2pre8, which introduced incremental circuit construction.
  14439. - Tor relays and clients now support a better CREATE/EXTEND cell
  14440. format, allowing the sender to specify multiple address, identity,
  14441. and handshake types. Implements Robert Ransom's proposal 200;
  14442. closes ticket 7199.
  14443. - Reject as invalid most directory objects containing a NUL.
  14444. Belt-and-suspender fix for bug 8037.
  14445. o Minor features (security):
  14446. - Clear keys and key-derived material left on the stack in
  14447. rendservice.c and rendclient.c. Check return value of
  14448. crypto_pk_write_private_key_to_string() in rend_service_load_keys().
  14449. These fixes should make us more forward-secure against cold-boot
  14450. attacks and the like. Fixes bug 2385.
  14451. - Use our own weak RNG when we need a weak RNG. Windows's rand() and
  14452. Irix's random() only return 15 bits; Solaris's random() returns more
  14453. bits but its RAND_MAX says it only returns 15, and so on. Motivated
  14454. by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
  14455. o Minor features (control protocol):
  14456. - Add a "GETINFO signal/names" control port command. Implements
  14457. ticket 3842.
  14458. - Provide default values for all options via "GETINFO config/defaults".
  14459. Implements ticket 4971.
  14460. - Allow an optional $ before the node identity digest in the
  14461. controller command GETINFO ns/id/<identity>, for consistency with
  14462. md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
  14463. - Add CACHED keyword to ADDRMAP events in the control protocol
  14464. to indicate whether a DNS result will be cached or not. Resolves
  14465. ticket 8596.
  14466. - Generate bootstrapping status update events correctly when fetching
  14467. microdescriptors. Fixes bug 9927.
  14468. o Minor features (path selection):
  14469. - When deciding whether we have enough descriptors to build circuits,
  14470. instead of looking at raw relay counts, look at which fraction
  14471. of (bandwidth-weighted) paths we're able to build. This approach
  14472. keeps clients from building circuits if their paths are likely to
  14473. stand out statistically. The default fraction of paths needed is
  14474. taken from the consensus directory; you can override it with the
  14475. new PathsNeededToBuildCircuits option. Fixes ticket 5956.
  14476. - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
  14477. and we have GeoIP information, also exclude all nodes with unknown
  14478. countries "??" and "A1". This behavior is controlled by the
  14479. new GeoIPExcludeUnknown option: you can make such nodes always
  14480. excluded with "GeoIPExcludeUnknown 1", and disable the feature
  14481. with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
  14482. gets you the default behavior. Implements feature 7706.
  14483. o Minor features (hidden services):
  14484. - Improve circuit build timeout handling for hidden services.
  14485. In particular: adjust build timeouts more accurately depending
  14486. upon the number of hop-RTTs that a particular circuit type
  14487. undergoes. Additionally, launch intro circuits in parallel
  14488. if they timeout, and take the first one to reply as valid.
  14489. - The Tor client now ignores sub-domain components of a .onion
  14490. address. This change makes HTTP "virtual" hosting
  14491. possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
  14492. http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
  14493. hosted on the same hidden service. Implements proposal 204.
  14494. - Enable Tor to read configuration, state, and key information from
  14495. a FIFO. Previously Tor would only read from files with a positive
  14496. stat.st_size. Code from meejah; fixes bug 6044.
  14497. o Minor features (clients):
  14498. - Teach bridge-using clients to avoid 0.2.2.x bridges when making
  14499. microdescriptor-related dir requests, and only fall back to normal
  14500. descriptors if none of their bridges can handle microdescriptors
  14501. (as opposed to the fix in ticket 4013, which caused them to fall
  14502. back to normal descriptors if *any* of their bridges preferred
  14503. them). Resolves ticket 4994.
  14504. - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
  14505. TCP ports to forward. In the past it only accepted two ports:
  14506. the ORPort and the DirPort.
  14507. o Minor features (protecting client timestamps):
  14508. - Clients no longer send timestamps in their NETINFO cells. These were
  14509. not used for anything, and they provided one small way for clients
  14510. to be distinguished from each other as they moved from network to
  14511. network or behind NAT. Implements part of proposal 222.
  14512. - Clients now round timestamps in INTRODUCE cells down to the nearest
  14513. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  14514. if it's set to "auto" and the feature is disabled in the consensus,
  14515. the timestamp is sent as 0 instead. Implements part of proposal 222.
  14516. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  14517. a big deal from a security point of view, but it achieves no actual
  14518. good purpose, and isn't needed. Implements part of proposal 222.
  14519. - Reduce down accuracy of timestamps in hidden service descriptors.
  14520. Implements part of proposal 222.
  14521. o Minor features (bridges):
  14522. - Make bridge relays check once a minute for whether their IP
  14523. address has changed, rather than only every 15 minutes. Resolves
  14524. bugs 1913 and 1992.
  14525. - Bridge statistics now count bridge clients connecting over IPv6:
  14526. bridge statistics files now list "bridge-ip-versions" and
  14527. extra-info documents list "geoip6-db-digest". The control protocol
  14528. "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
  14529. implementation by "shkoo", addressing ticket 5055.
  14530. - Add a new torrc option "ServerTransportListenAddr" to let bridge
  14531. operators select the address where their pluggable transports will
  14532. listen for connections. Resolves ticket 7013.
  14533. - Randomize the lifetime of our SSL link certificate, so censors can't
  14534. use the static value for filtering Tor flows. Resolves ticket 8443;
  14535. related to ticket 4014 which was included in 0.2.2.33.
  14536. o Minor features (relays):
  14537. - Option OutboundBindAddress can be specified multiple times and
  14538. accepts IPv6 addresses. Resolves ticket 6876.
  14539. o Minor features (IPv6, client side):
  14540. - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
  14541. prefer to hand out virtual IPv6 addresses, since there are more of
  14542. them and we can't run out. To override this behavior and make IPv4
  14543. addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
  14544. or DNSPort you're using for resolving. Implements ticket 7571.
  14545. - AutomapHostsOnResolve responses are now randomized, to avoid
  14546. annoying situations where Tor is restarted and applications
  14547. connect to the wrong addresses.
  14548. - Never try more than 1000 times to pick a new virtual address when
  14549. AutomapHostsOnResolve is set. That's good enough so long as we
  14550. aren't close to handing out our entire virtual address space;
  14551. if you're getting there, it's best to switch to IPv6 virtual
  14552. addresses anyway.
  14553. o Minor features (IPv6, relay/authority side):
  14554. - New config option "AuthDirHasIPv6Connectivity 1" that directory
  14555. authorities should set if they have IPv6 connectivity and want to
  14556. do reachability tests for IPv6 relays. Implements feature 5974.
  14557. - A relay with an IPv6 OR port now sends that address in NETINFO
  14558. cells (in addition to its other address). Implements ticket 6364.
  14559. o Minor features (directory authorities):
  14560. - Directory authorities no long accept descriptors for any version of
  14561. Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
  14562. These versions are insecure, unsupported, or both. Implements
  14563. ticket 6789.
  14564. - When directory authorities are computing thresholds for flags,
  14565. never let the threshold for the Fast flag fall below 4096
  14566. bytes. Also, do not consider nodes with extremely low bandwidths
  14567. when deciding thresholds for various directory flags. This change
  14568. should raise our threshold for Fast relays, possibly in turn
  14569. improving overall network performance; see ticket 1854. Resolves
  14570. ticket 8145.
  14571. - Directory authorities now include inside each vote a statement of
  14572. the performance thresholds they used when assigning flags.
  14573. Implements ticket 8151.
  14574. - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
  14575. in directory authority votes to describe whether they have enough
  14576. measured bandwidths to ignore advertised (relay descriptor)
  14577. bandwidth claims. Resolves ticket 8711.
  14578. o Minor features (path bias detection):
  14579. - Path Use Bias: Perform separate accounting for successful circuit
  14580. use. Keep separate statistics on stream attempt rates versus stream
  14581. success rates for each guard. Provide configurable thresholds to
  14582. determine when to emit log messages or disable use of guards that
  14583. fail too many stream attempts. Resolves ticket 7802.
  14584. - Create three levels of Path Bias log messages, as opposed to just
  14585. two. These are configurable via consensus as well as via the torrc
  14586. options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
  14587. The default values are 0.70, 0.50, and 0.30 respectively.
  14588. - Separate the log message levels from the decision to drop guards,
  14589. which also is available via torrc option PathBiasDropGuards.
  14590. PathBiasDropGuards still defaults to 0 (off).
  14591. - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
  14592. in combination with PathBiasExtremeRate.
  14593. - Increase the default values for PathBiasScaleThreshold and
  14594. PathBiasCircThreshold from (200, 20) to (300, 150).
  14595. - Add in circuit usage accounting to path bias. If we try to use a
  14596. built circuit but fail for any reason, it counts as path bias.
  14597. Certain classes of circuits where the adversary gets to pick your
  14598. destination node are exempt from this accounting. Usage accounting
  14599. can be specifically disabled via consensus parameter or torrc.
  14600. - Convert all internal path bias state to double-precision floating
  14601. point, to avoid roundoff error and other issues.
  14602. - Only record path bias information for circuits that have completed
  14603. *two* hops. Assuming end-to-end tagging is the attack vector, this
  14604. makes us more resilient to ambient circuit failure without any
  14605. detection capability loss.
  14606. o Minor features (build):
  14607. - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
  14608. dhill. Resolves ticket 6982.
  14609. - Compile on win64 using mingw64. Fixes bug 7260; patches from
  14610. "yayooo".
  14611. - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
  14612. separate error codes; or at least, don't break for that reason.
  14613. Fixes bug 7935. Reported by "oftc_must_be_destroyed".
  14614. o Build improvements (autotools):
  14615. - Warn if building on a platform with an unsigned time_t: there
  14616. are too many places where Tor currently assumes that time_t can
  14617. hold negative values. We'd like to fix them all, but probably
  14618. some will remain.
  14619. - Do not report status verbosely from autogen.sh unless the -v flag
  14620. is specified. Fixes issue 4664. Patch from Onizuka.
  14621. - Detect and reject attempts to build Tor with threading support
  14622. when OpenSSL has been compiled without threading support.
  14623. Fixes bug 6673.
  14624. - Try to detect if we are ever building on a platform where
  14625. memset(...,0,...) does not set the value of a double to 0.0. Such
  14626. platforms are permitted by the C standard, though in practice
  14627. they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
  14628. currently support them, but it's better to detect them and fail
  14629. than to perform erroneously.
  14630. - We no longer warn so much when generating manpages from their
  14631. asciidoc source.
  14632. - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
  14633. the signs of types during autoconf. This is better than our old
  14634. approach, which didn't work when cross-compiling.
  14635. o Minor features (log messages, warnings):
  14636. - Detect when we're running with a version of OpenSSL other than the
  14637. one we compiled with. This conflict has occasionally given people
  14638. hard-to-track-down errors.
  14639. - Warn users who run hidden services on a Tor client with
  14640. UseEntryGuards disabled that their hidden services will be
  14641. vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
  14642. attack which motivated Tor to support entry guards in the first
  14643. place). Resolves ticket 6889.
  14644. - Warn when we are binding low ports when hibernation is enabled;
  14645. previously we had warned when we were _advertising_ low ports with
  14646. hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
  14647. - Issue a warning when running with the bufferevents backend enabled.
  14648. It's still not stable, and people should know that they're likely
  14649. to hit unexpected problems. Closes ticket 9147.
  14650. o Minor features (log messages, notices):
  14651. - Refactor resolve_my_address() so it returns the method by which we
  14652. decided our public IP address (explicitly configured, resolved from
  14653. explicit hostname, guessed from interfaces, learned by gethostname).
  14654. Now we can provide more helpful log messages when a relay guesses
  14655. its IP address incorrectly (e.g. due to unexpected lines in
  14656. /etc/hosts). Resolves ticket 2267.
  14657. - Track how many "TAP" and "NTor" circuit handshake requests we get,
  14658. and how many we complete, and log it every hour to help relay
  14659. operators follow trends in network load. Addresses ticket 9658.
  14660. o Minor features (log messages, diagnostics):
  14661. - If we fail to free a microdescriptor because of bug 7164, log
  14662. the filename and line number from which we tried to free it.
  14663. - We compute the overhead from passing onionskins back and forth to
  14664. cpuworkers, and report it when dumping statistics in response to
  14665. SIGUSR1. Supports ticket 7291.
  14666. - Add another diagnostic to the heartbeat message: track and log
  14667. overhead that TLS is adding to the data we write. If this is
  14668. high, we are sending too little data to SSL_write at a time.
  14669. Diagnostic for bug 7707.
  14670. - Log packaged cell fullness as part of the heartbeat message.
  14671. Diagnosis to try to determine the extent of bug 7743.
  14672. - Add more detail to a log message about relaxed timeouts, to help
  14673. track bug 7799.
  14674. - When learning a fingerprint for a bridge, log its corresponding
  14675. transport type. Implements ticket 7896.
  14676. - Warn more aggressively when flushing microdescriptors to a
  14677. microdescriptor cache fails, in an attempt to mitigate bug 8031,
  14678. or at least make it more diagnosable.
  14679. - Improve the log message when "Bug/attack: unexpected sendme cell
  14680. from client" occurs, to help us track bug 8093.
  14681. - Improve debugging output to help track down bug 8185 ("Bug:
  14682. outgoing relay cell has n_chan==NULL. Dropping.")
  14683. o Minor features (log messages, quieter bootstrapping):
  14684. - Log fewer lines at level "notice" about our OpenSSL and Libevent
  14685. versions and capabilities when everything is going right. Resolves
  14686. part of ticket 6736.
  14687. - Omit the first heartbeat log message, because it never has anything
  14688. useful to say, and it clutters up the bootstrapping messages.
  14689. Resolves ticket 6758.
  14690. - Don't log about reloading the microdescriptor cache at startup. Our
  14691. bootstrap warnings are supposed to tell the user when there's a
  14692. problem, and our bootstrap notices say when there isn't. Resolves
  14693. ticket 6759; bugfix on 0.2.2.6-alpha.
  14694. - Don't log "I learned some more directory information" when we're
  14695. reading cached directory information. Reserve it for when new
  14696. directory information arrives in response to a fetch. Resolves
  14697. ticket 6760.
  14698. - Don't complain about bootstrapping problems while hibernating.
  14699. These complaints reflect a general code problem, but not one
  14700. with any problematic effects (no connections are actually
  14701. opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
  14702. o Minor features (testing):
  14703. - In our testsuite, create temporary directories with a bit more
  14704. entropy in their name to make name collisions less likely. Fixes
  14705. bug 8638.
  14706. - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
  14707. (P-256) Diffie-Hellman handshakes to src/or/bench.
  14708. - Add benchmark functions to test onion handshake performance.
  14709. o Renamed options:
  14710. - The DirServer option is now DirAuthority, for consistency with
  14711. current naming patterns. You can still use the old DirServer form.
  14712. o Minor bugfixes (protocol):
  14713. - Fix the handling of a TRUNCATE cell when it arrives while the
  14714. circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
  14715. - When a Tor client gets a "truncated" relay cell, the first byte of
  14716. its payload specifies why the circuit was truncated. We were
  14717. ignoring this 'reason' byte when tearing down the circuit, resulting
  14718. in the controller not being told why the circuit closed. Now we
  14719. pass the reason from the truncated cell to the controller. Bugfix
  14720. on 0.1.2.3-alpha; fixes bug 7039.
  14721. - Fix a misframing issue when reading the version numbers in a
  14722. VERSIONS cell. Previously we would recognize [00 01 00 02] as
  14723. 'version 1, version 2, and version 0x100', when it should have
  14724. only included versions 1 and 2. Fixes bug 8059; bugfix on
  14725. 0.2.0.10-alpha. Reported pseudonymously.
  14726. - Make the format and order of STREAM events for DNS lookups
  14727. consistent among the various ways to launch DNS lookups. Fixes
  14728. bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy".
  14729. o Minor bugfixes (syscalls and disk interaction):
  14730. - Always check the return values of functions fcntl() and
  14731. setsockopt(). We don't believe these are ever actually failing in
  14732. practice, but better safe than sorry. Also, checking these return
  14733. values should please analysis tools like Coverity. Patch from
  14734. 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
  14735. - Avoid double-closing the listener socket in our socketpair()
  14736. replacement (used on Windows) in the case where the addresses on
  14737. our opened sockets don't match what we expected. Fixes bug 9400;
  14738. bugfix on 0.0.2pre7. Found by Coverity.
  14739. - Correctly store microdescriptors and extrainfo descriptors that
  14740. include an internal NUL byte. Fixes bug 8037; bugfix on
  14741. 0.2.0.1-alpha. Bug reported by "cypherpunks".
  14742. - If for some reason we fail to write a microdescriptor while
  14743. rebuilding the cache, do not let the annotations from that
  14744. microdescriptor linger in the cache file, and do not let the
  14745. microdescriptor stay recorded as present in its old location.
  14746. Fixes bug 9047; bugfix on 0.2.2.6-alpha.
  14747. - Use direct writes rather than stdio when building microdescriptor
  14748. caches, in an attempt to mitigate bug 8031, or at least make it
  14749. less common.
  14750. o Minor fixes (config options):
  14751. - Warn and fail if a server is configured not to advertise any
  14752. ORPorts at all. (We need *something* to put in our descriptor,
  14753. or we just won't work.)
  14754. - Behave correctly when the user disables LearnCircuitBuildTimeout
  14755. but doesn't tell us what they would like the timeout to be. Fixes
  14756. bug 6304; bugfix on 0.2.2.14-alpha.
  14757. - Rename the (internal-use-only) UsingTestingNetworkDefaults option
  14758. to start with a triple-underscore so the controller won't touch it.
  14759. Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
  14760. - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
  14761. so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
  14762. - When autodetecting the number of CPUs, use the number of available
  14763. CPUs in preference to the number of configured CPUs. Inform the
  14764. user if this reduces the number of available CPUs. Fixes bug 8002;
  14765. bugfix on 0.2.3.1-alpha.
  14766. - Command-line option "--version" implies "--quiet". Fixes bug 6997.
  14767. - Make it an error when you set EntryNodes but disable UseGuardNodes,
  14768. since it will (surprisingly to some users) ignore EntryNodes. Fixes
  14769. bug 8180; bugfix on 0.2.3.11-alpha.
  14770. - Avoid overflows when the user sets MaxCircuitDirtiness to a
  14771. ridiculously high value, by imposing a (ridiculously high) 30-day
  14772. maximum on MaxCircuitDirtiness.
  14773. o Minor bugfixes (control protocol):
  14774. - Stop sending a stray "(null)" in some cases for the server status
  14775. "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
  14776. on 0.1.2.6-alpha.
  14777. - The ADDRMAP command can no longer generate an ill-formed error
  14778. code on a failed MAPADDRESS. It now says "internal" rather than
  14779. an English sentence fragment with spaces in the middle. Bugfix on
  14780. Tor 0.2.0.19-alpha.
  14781. o Minor bugfixes (clients / edges):
  14782. - When we receive a RELAY_END cell with the reason DONE, or with no
  14783. reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
  14784. status as "connection refused". Previously we reported these cases
  14785. as success but then immediately closed the connection. Fixes bug
  14786. 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
  14787. - If the guard we choose first doesn't answer, we would try the
  14788. second guard, but once we connected to the second guard we would
  14789. abandon it and retry the first one, slowing down bootstrapping.
  14790. The fix is to treat all our initially chosen guards as acceptable
  14791. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  14792. - When choosing which stream on a formerly stalled circuit to wake
  14793. first, make better use of the platform's weak RNG. Previously,
  14794. we had been using the % ("modulo") operator to try to generate a
  14795. 1/N chance of picking each stream, but this behaves badly with
  14796. many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
  14797. 0.2.2.20-alpha.
  14798. o Minor bugfixes (path bias detection):
  14799. - If the state file's path bias counts are invalid (presumably from a
  14800. buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
  14801. additional checks and log messages to the scaling of Path Bias
  14802. counts, in case there still are remaining issues with scaling.
  14803. Should help resolve bug 8235.
  14804. - Prevent rounding error in path bias counts when scaling
  14805. them down, and use the correct scale factor default. Also demote
  14806. some path bias related log messages down a level and make others
  14807. less scary sounding. Fixes bug 6647. Bugfix on 0.2.3.17-beta.
  14808. - Remove a source of rounding error during path bias count scaling;
  14809. don't count cannibalized circuits as used for path bias until we
  14810. actually try to use them; and fix a circuit_package_relay_cell()
  14811. warning message about n_chan==NULL. Fixes bug 7802.
  14812. - Paste the description for PathBias parameters from the man
  14813. page into or.h, so the code documents them too. Fixes bug 7982;
  14814. bugfix on 0.2.3.17-beta.
  14815. o Minor bugfixes (relays):
  14816. - Stop trying to resolve our hostname so often (e.g. every time we
  14817. think about doing a directory fetch). Now we reuse the cached
  14818. answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
  14819. and 2410 (bugfix on 0.1.2.2-alpha).
  14820. - When examining the list of network interfaces to find our address,
  14821. do not consider non-running or disabled network interfaces. Fixes
  14822. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  14823. o Minor bugfixes (blocking resistance):
  14824. - Only disable TLS session ticket support when running as a TLS
  14825. server. Now clients will blend better with regular Firefox
  14826. connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
  14827. o Minor bugfixes (IPv6):
  14828. - Use square brackets around IPv6 addresses in numerous places
  14829. that needed them, including log messages, HTTPS CONNECT proxy
  14830. requests, TransportProxy statefile entries, and pluggable transport
  14831. extra-info lines. Fixes bug 7011; patch by David Fifield.
  14832. o Minor bugfixes (directory authorities):
  14833. - Reject consensus votes with more than 64 known-flags. We aren't even
  14834. close to that limit yet, and our code doesn't handle it correctly.
  14835. Fixes bug 6833; bugfix on 0.2.0.1-alpha.
  14836. - Correctly handle votes with more than 31 flags. Fixes bug 6853;
  14837. bugfix on 0.2.0.3-alpha.
  14838. o Minor bugfixes (memory leaks):
  14839. - Avoid leaking memory if we fail to compute a consensus signature
  14840. or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
  14841. - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
  14842. on 0.2.1.1-alpha; fixes bug 7816.
  14843. - Fix a memory leak during safe-cookie controller authentication.
  14844. Bugfix on 0.2.3.13-alpha; fixes bug 7816.
  14845. - Free some more still-in-use memory at exit, to make hunting for
  14846. memory leaks easier. Resolves bug 7029.
  14847. o Minor bugfixes (code correctness):
  14848. - Increase the width of the field used to remember a connection's
  14849. link protocol version to two bytes. Harmless for now, since the
  14850. only currently recognized versions are one byte long. Reported
  14851. pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
  14852. - Fix a crash when debugging unit tests on Windows: deallocate a
  14853. shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
  14854. bugfix on 0.2.2.17-alpha. Reported by "ultramage".
  14855. - When detecting the largest possible file descriptor (in order to
  14856. close all file descriptors when launching a new program), actually
  14857. use _SC_OPEN_MAX. The old code for doing this was very, very broken.
  14858. Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
  14859. is CID 743383.
  14860. - Avoid a crash if we fail to generate an extrainfo descriptor.
  14861. Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
  14862. this is CID 718634.
  14863. - Avoid an off-by-one error when checking buffer boundaries when
  14864. formatting the exit status of a pluggable transport helper.
  14865. This is probably not an exploitable bug, but better safe than
  14866. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  14867. Pedro Ribeiro.
  14868. - Get rid of a couple of harmless clang warnings, where we compared
  14869. enums to ints. These warnings are newly introduced in clang 3.2.
  14870. o Minor bugfixes (code cleanliness):
  14871. - Avoid use of reserved identifiers in our C code. The C standard
  14872. doesn't like us declaring anything that starts with an
  14873. underscore, so let's knock it off before we get in trouble. Fix
  14874. for bug 1031; bugfix on the first Tor commit.
  14875. - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
  14876. with large values. This situation was untriggered, but nevertheless
  14877. incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
  14878. - Fix an impossible buffer overrun in the AES unit tests. Fixes
  14879. bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
  14880. - Fix handling of rendezvous client authorization types over 8.
  14881. Fixes bug 6861; bugfix on 0.2.1.5-alpha.
  14882. - Remove a couple of extraneous semicolons that were upsetting the
  14883. cparser library. Patch by Christian Grothoff. Fixes bug 7115;
  14884. bugfix on 0.2.2.1-alpha.
  14885. - When complaining about a client port on a public address, log
  14886. which address we're complaining about. Fixes bug 4020; bugfix on
  14887. 0.2.3.3-alpha. Patch by Tom Fitzhenry.
  14888. o Minor bugfixes (log messages, warnings):
  14889. - If we encounter a write failure on a SOCKS connection before we
  14890. finish our SOCKS handshake, don't warn that we closed the
  14891. connection before we could send a SOCKS reply. Fixes bug 8427;
  14892. bugfix on 0.1.0.1-rc.
  14893. - Fix a directory authority warn caused when we have a large amount
  14894. of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
  14895. - Downgrade "Failed to hand off onionskin" messages to "debug"
  14896. severity, since they're typically redundant with the "Your computer
  14897. is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
  14898. - Avoid spurious warnings when configuring multiple client ports of
  14899. which only some are nonlocal. Previously, we had claimed that some
  14900. were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
  14901. 0.2.3.3-alpha.
  14902. o Minor bugfixes (log messages, other):
  14903. - Fix log messages and comments to avoid saying "GMT" when we mean
  14904. "UTC". Fixes bug 6113.
  14905. - When rejecting a configuration because we were unable to parse a
  14906. quoted string, log an actual error message. Fixes bug 7950; bugfix
  14907. on 0.2.0.16-alpha.
  14908. - Correctly recognize that [::1] is a loopback address. Fixes
  14909. bug 8377; bugfix on 0.2.1.3-alpha.
  14910. - Don't log inappropriate heartbeat messages when hibernating: a
  14911. hibernating node is _expected_ to drop out of the consensus,
  14912. decide it isn't bootstrapped, and so forth. Fixes bug 7302;
  14913. bugfix on 0.2.3.1-alpha.
  14914. - Eliminate several instances where we use "Nickname=ID" to refer to
  14915. nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
  14916. "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
  14917. on 0.2.3.21-rc.
  14918. o Minor bugfixes (build):
  14919. - Fix some bugs in tor-fw-helper-natpmp when trying to build and
  14920. run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
  14921. Fixes bug 7280; bugfix on 0.2.3.1-alpha.
  14922. o Documentation fixes:
  14923. - Make the torify manpage no longer refer to tsocks; torify hasn't
  14924. supported tsocks since 0.2.3.14-alpha.
  14925. - Make the tor manpage no longer reference tsocks.
  14926. - Fix the GeoIPExcludeUnknown documentation to refer to
  14927. ExcludeExitNodes rather than the currently nonexistent
  14928. ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
  14929. - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
  14930. 0.2.3.14-alpha.
  14931. - Say "KBytes" rather than "KB" in the man page (for various values
  14932. of K), to further reduce confusion about whether Tor counts in
  14933. units of memory or fractions of units of memory. Resolves ticket 7054.
  14934. - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
  14935. names match. Fixes bug 7768.
  14936. - Fix the documentation of HeartbeatPeriod to say that the heartbeat
  14937. message is logged at notice, not at info.
  14938. - Clarify the usage and risks of setting the ContactInfo torrc line
  14939. for your relay or bridge. Resolves ticket 9854.
  14940. - Add anchors to the manpage so we can link to the html version of
  14941. the documentation for specific options. Resolves ticket 9866.
  14942. - Replace remaining references to DirServer in man page and
  14943. log entries. Resolves ticket 10124.
  14944. o Removed features:
  14945. - Stop exporting estimates of v2 and v3 directory traffic shares
  14946. in extrainfo documents. They were unneeded and sometimes inaccurate.
  14947. Also stop exporting any v2 directory request statistics. Resolves
  14948. ticket 5823.
  14949. - Drop support for detecting and warning about versions of Libevent
  14950. before 1.3e. Nothing reasonable ships with them any longer; warning
  14951. the user about them shouldn't be needed. Resolves ticket 6826.
  14952. - Now that all versions before 0.2.2.x are disallowed, we no longer
  14953. need to work around their missing features. Remove a bunch of
  14954. compatibility code.
  14955. o Removed files:
  14956. - The tor-tsocks.conf is no longer distributed or installed. We
  14957. recommend that tsocks users use torsocks instead. Resolves
  14958. ticket 8290.
  14959. - Remove some of the older contents of doc/ as obsolete; move others
  14960. to torspec.git. Fixes bug 8965.
  14961. o Code simplification:
  14962. - Avoid using character buffers when constructing most directory
  14963. objects: this approach was unwieldy and error-prone. Instead,
  14964. build smartlists of strings, and concatenate them when done.
  14965. - Rename "isin" functions to "contains", for grammar. Resolves
  14966. ticket 5285.
  14967. - Rename Tor's logging function log() to tor_log(), to avoid conflicts
  14968. with the natural logarithm function from the system libm. Resolves
  14969. ticket 7599.
  14970. - Start using OpenBSD's implementation of queue.h, so that we don't
  14971. need to hand-roll our own pointer and list structures whenever we
  14972. need them. (We can't rely on a sys/queue.h, since some operating
  14973. systems don't have them, and the ones that do have them don't all
  14974. present the same extensions.)
  14975. - Start using OpenBSD's implementation of queue.h (originally by
  14976. Niels Provos).
  14977. - Enhance our internal sscanf replacement so that we can eliminate
  14978. the last remaining uses of the system sscanf. (Though those uses
  14979. of sscanf were safe, sscanf itself is generally error prone, so
  14980. we want to eliminate when we can.) Fixes ticket 4195 and Coverity
  14981. CID 448.
  14982. - Replace all calls to snprintf() outside of src/ext with
  14983. tor_snprintf(). Also remove the #define to replace snprintf with
  14984. _snprintf on Windows; they have different semantics, and all of
  14985. our callers should be using tor_snprintf() anyway. Fixes bug 7304.
  14986. o Refactoring:
  14987. - Add a wrapper function for the common "log a message with a
  14988. rate-limit" case.
  14989. - Split the onion.c file into separate modules for the onion queue
  14990. and the different handshakes it supports.
  14991. - Move the client-side address-map/virtual-address/DNS-cache code
  14992. out of connection_edge.c into a new addressmap.c module.
  14993. - Move the entry node code from circuitbuild.c to its own file.
  14994. - Move the circuit build timeout tracking code from circuitbuild.c
  14995. to its own file.
  14996. - Source files taken from other packages now reside in src/ext;
  14997. previously they were scattered around the rest of Tor.
  14998. - Move the generic "config" code into a new file, and have "config.c"
  14999. hold only torrc- and state-related code. Resolves ticket 6823.
  15000. - Move the core of our "choose a weighted element at random" logic
  15001. into its own function, and give it unit tests. Now the logic is
  15002. testable, and a little less fragile too.
  15003. - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
  15004. - Move last_reachable and testing_since from routerinfo_t to node_t.
  15005. Implements ticket 5529.
  15006. - Add replaycache_t structure, functions and unit tests, then refactor
  15007. rend_service_introduce() to be more clear to read, improve, debug,
  15008. and test. Resolves bug 6177.
  15009. o Removed code:
  15010. - Remove some now-needless code that tried to aggressively flush
  15011. OR connections as data was added to them. Since 0.2.0.1-alpha, our
  15012. cell queue logic has saved us from the failure mode that this code
  15013. was supposed to prevent. Removing this code will limit the number
  15014. of baroque control flow paths through Tor's network logic. Reported
  15015. pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
  15016. - Remove unused code for parsing v1 directories and "running routers"
  15017. documents. Fixes bug 6887.
  15018. - Remove the marshalling/unmarshalling code for sending requests to
  15019. cpuworkers over a socket, and instead just send structs. The
  15020. recipient will always be the same Tor binary as the sender, so
  15021. any encoding is overkill.
  15022. - Remove the testing_since field of node_t, which hasn't been used
  15023. for anything since 0.2.0.9-alpha.
  15024. - Finally remove support for malloc_good_size and malloc_usable_size.
  15025. We had hoped that these functions would let us eke a little more
  15026. memory out of our malloc implementation. Unfortunately, the only
  15027. implementations that provided these functions are also ones that
  15028. are already efficient about not overallocation: they never got us
  15029. more than 7 or so bytes per allocation. Removing them saves us a
  15030. little code complexity and a nontrivial amount of build complexity.
  15031. Changes in version 0.2.3.25 - 2012-11-19
  15032. The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
  15033. Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
  15034. Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
  15035. programmer, and friend. Unstinting in his dedication to the cause of
  15036. freedom, he inspired and helped many of us as we began our work on
  15037. anonymity, and inspires us still. Please honor his memory by writing
  15038. software to protect people's freedoms, and by helping others to do so.
  15039. Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
  15040. significantly reduced directory overhead (via microdescriptors),
  15041. enormous crypto performance improvements for fast relays on new
  15042. enough hardware, a new v3 TLS handshake protocol that can better
  15043. resist fingerprinting, support for protocol obfuscation plugins (aka
  15044. pluggable transports), better scalability for hidden services, IPv6
  15045. support for bridges, performance improvements like allowing clients
  15046. to skip the first round-trip on the circuit ("optimistic data") and
  15047. refilling token buckets more often, a new "stream isolation" design
  15048. to isolate different applications on different circuits, and many
  15049. stability, security, and privacy fixes.
  15050. Major features (v3 directory protocol):
  15051. - Clients now use microdescriptors instead of regular descriptors
  15052. to build circuits. Microdescriptors are authority-generated
  15053. summaries of regular descriptors' contents, designed to change very
  15054. rarely (see proposal 158 for details). This feature is designed
  15055. to save bandwidth, especially for clients on slow internet
  15056. connections. Use "UseMicrodescriptors 0" to disable it.
  15057. - Caches now download, cache, and serve microdescriptors, as well
  15058. as multiple "flavors" of the consensus, including a flavor that
  15059. describes microdescriptors.
  15060. o Major features (build hardening):
  15061. - Enable gcc and ld hardening by default. Resolves ticket 5210.
  15062. o Major features (relay scaling):
  15063. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  15064. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  15065. vectorized AES implementations as appropriate. These can be much,
  15066. much faster than other AES implementations.
  15067. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  15068. implementation. It makes AES_CTR about 7% faster than our old one
  15069. (which was about 10% faster than the one OpenSSL used to provide).
  15070. Resolves ticket 4526.
  15071. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  15072. operations can use hardware acceleration (if present). Resolves
  15073. ticket 4442.
  15074. - Unconditionally use OpenSSL's AES implementation instead of our
  15075. old built-in one. OpenSSL's AES has been better for a while, and
  15076. relatively few servers should still be on any version of OpenSSL
  15077. that doesn't have good optimized assembly AES.
  15078. o Major features (blocking resistance):
  15079. - Update TLS cipher list to match Firefox 8 and later. Resolves
  15080. ticket 4744.
  15081. - Remove support for clients falsely claiming to support standard
  15082. ciphersuites that they can actually provide. As of modern OpenSSL
  15083. versions, it's not necessary to fake any standard ciphersuite,
  15084. and doing so prevents us from using better ciphersuites in the
  15085. future, since servers can't know whether an advertised ciphersuite
  15086. is really supported or not. Some hosts -- notably, ones with very
  15087. old versions of OpenSSL or where OpenSSL has been built with ECC
  15088. disabled -- will stand out because of this change; TBB users should
  15089. not be affected. Implements the client side of proposal 198.
  15090. - Implement a new handshake protocol (v3) for authenticating Tors to
  15091. each other over TLS. It should be more resistant to fingerprinting
  15092. than previous protocols, and should require less TLS hacking for
  15093. future Tor implementations. Implements proposal 176.
  15094. - Allow variable-length padding cells, to disguise the length of
  15095. Tor's TLS records. Implements part of proposal 184.
  15096. - While we're trying to bootstrap, record how many TLS connections
  15097. fail in each state, and report which states saw the most failures
  15098. in response to any bootstrap failures. This feature may speed up
  15099. diagnosis of censorship events. Implements ticket 3116.
  15100. o Major features (pluggable transports):
  15101. - Clients and bridges can now be configured to use a separate
  15102. "transport" proxy. This approach makes the censorship arms race
  15103. easier by allowing bridges to use protocol obfuscation plugins.
  15104. Implements proposal 180 (tickets 2841 and 3472).
  15105. o Major features (DoS resistance):
  15106. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  15107. part of "Proposal 110: Avoiding infinite length circuits" by
  15108. refusing all circuit-extend requests that do not use a relay_early
  15109. cell. This change helps Tor resist a class of denial-of-service
  15110. attacks by limiting the maximum circuit length.
  15111. - Tear down the circuit if we get an unexpected SENDME cell. Clients
  15112. could use this trick to make their circuits receive cells faster
  15113. than our flow control would have allowed, or to gum up the network,
  15114. or possibly to do targeted memory denial-of-service attacks on
  15115. entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
  15116. from July 2002, before the release of Tor 0.0.0.
  15117. o Major features (hidden services):
  15118. - Adjust the number of introduction points that a hidden service
  15119. will try to maintain based on how long its introduction points
  15120. remain in use and how many introductions they handle. Fixes
  15121. part of bug 3825.
  15122. - Add a "tor2web mode" for clients that want to connect to hidden
  15123. services non-anonymously (and possibly more quickly). As a safety
  15124. measure to try to keep users from turning this on without knowing
  15125. what they are doing, tor2web mode must be explicitly enabled at
  15126. compile time, and a copy of Tor compiled to run in tor2web mode
  15127. cannot be used as a normal Tor client. Implements feature 2553.
  15128. o Major features (IPv6):
  15129. - Clients can now connect to private bridges over IPv6. Bridges
  15130. still need at least one IPv4 address in order to connect to
  15131. other relays. Note that we don't yet handle the case where the
  15132. user has two bridge lines for the same bridge (one IPv4, one
  15133. IPv6). Implements parts of proposal 186.
  15134. o Major features (directory authorities):
  15135. - Use a more secure consensus parameter voting algorithm. Now at
  15136. least three directory authorities or a majority of them must
  15137. vote on a given parameter before it will be included in the
  15138. consensus. Implements proposal 178.
  15139. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  15140. flag. In the past few years the average relay speed has picked
  15141. up, and while the "top 7/8 of the network get the Fast flag" and
  15142. "all relays with 20KB or more of capacity get the Fast flag" rules
  15143. used to have the same result, now the top 7/8 of the network has
  15144. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  15145. o Major features (performance):
  15146. - Exit nodes now accept and queue data on not-yet-connected streams.
  15147. Previously, the client wasn't allowed to send data until the
  15148. stream was connected, which slowed down all connections. This
  15149. change will enable clients to perform a "fast-start" on streams
  15150. and send data without having to wait for a confirmation that the
  15151. stream has opened. Patch from Ian Goldberg; implements the server
  15152. side of Proposal 174.
  15153. - When using an exit relay running 0.2.3.x, clients can now
  15154. "optimistically" send data before the exit relay reports that
  15155. the stream has opened. This saves a round trip when starting
  15156. connections where the client speaks first (such as web browsing).
  15157. This behavior is controlled by a consensus parameter (currently
  15158. disabled). To turn it on or off manually, use the "OptimisticData"
  15159. torrc option. Implements proposal 181; code by Ian Goldberg.
  15160. - Add a new TokenBucketRefillInterval option to refill token buckets
  15161. more frequently than once per second. This should improve network
  15162. performance, alleviate queueing problems, and make traffic less
  15163. bursty. Implements proposal 183; closes ticket 3630. Design by
  15164. Florian Tschorsch and Björn Scheuermann; implementation by
  15165. Florian Tschorsch.
  15166. - Raise the threshold of server descriptors needed (75%) and exit
  15167. server descriptors needed (50%) before we will declare ourselves
  15168. bootstrapped. This will make clients start building circuits a
  15169. little later, but makes the initially constructed circuits less
  15170. skewed and less in conflict with further directory fetches. Fixes
  15171. ticket 3196.
  15172. o Major features (relays):
  15173. - Relays now try regenerating and uploading their descriptor more
  15174. frequently if they are not listed in the consensus, or if the
  15175. version of their descriptor listed in the consensus is too
  15176. old. This fix should prevent situations where a server declines
  15177. to re-publish itself because it has done so too recently, even
  15178. though the authorities decided not to list its recent-enough
  15179. descriptor. Fix for bug 3327.
  15180. o Major features (stream isolation):
  15181. - You can now configure Tor so that streams from different
  15182. applications are isolated on different circuits, to prevent an
  15183. attacker who sees your streams as they leave an exit node from
  15184. linking your sessions to one another. To do this, choose some way
  15185. to distinguish the applications: have them connect to different
  15186. SocksPorts, or have one of them use SOCKS4 while the other uses
  15187. SOCKS5, or have them pass different authentication strings to the
  15188. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  15189. degree of isolation you need. This implements Proposal 171.
  15190. - There's a new syntax for specifying multiple client ports (such as
  15191. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  15192. multiple *Port entries with full addr:port syntax on each.
  15193. The old *ListenAddress format is still supported, but you can't
  15194. mix it with the new *Port syntax.
  15195. o Major features (bufferevents):
  15196. - Tor can now optionally build with the "bufferevents" buffered IO
  15197. backend provided by Libevent 2. To use this feature, make sure you
  15198. have the latest possible version of Libevent, and pass the
  15199. --enable-bufferevents flag to configure when building Tor from
  15200. source. This feature will make our networking code more flexible,
  15201. let us stack layers on each other, and let us use more efficient
  15202. zero-copy transports where available.
  15203. - Add experimental support for running on Windows with IOCP and no
  15204. kernel-space socket buffers. This feature is controlled by a new
  15205. "UserspaceIOCPBuffers" config option (off by default), which has
  15206. no effect unless Tor has been built with bufferevents enabled,
  15207. you're running on Windows, and you've set "DisableIOCP 0". In the
  15208. long run, this may help solve or mitigate bug 98.
  15209. o Major features (path selection):
  15210. - The EntryNodes option can now include country codes like {de} or IP
  15211. addresses or network masks. Previously we had disallowed these
  15212. options because we didn't have an efficient way to keep the list up
  15213. to date. Addresses ticket 1982, but see bug 2798 for an unresolved
  15214. issue here.
  15215. o Major features (port forwarding):
  15216. - Add support for automatic port mapping on the many home routers
  15217. that support NAT-PMP or UPnP. To build the support code, you'll
  15218. need to have the libnatpnp library and/or the libminiupnpc library,
  15219. and you'll need to enable the feature specifically by passing
  15220. "--enable-upnp" and/or "--enable-natpnp" to ./configure. To turn
  15221. it on, use the new PortForwarding option.
  15222. o Major features (logging):
  15223. - Add a new 'Heartbeat' log message type to periodically log a message
  15224. describing Tor's status at level Notice. This feature is meant for
  15225. operators who log at notice, and want to make sure that their Tor
  15226. server is still working. Implementation by George Kadianakis.
  15227. - Make logging resolution configurable with a new LogTimeGranularity
  15228. option, and change the default from 1 millisecond to 1 second.
  15229. Implements enhancement 1668.
  15230. o Major features (other):
  15231. - New "DisableNetwork" config option to prevent Tor from launching any
  15232. connections or accepting any connections except on a control port.
  15233. Bundles and controllers can set this option before letting Tor talk
  15234. to the rest of the network, for example to prevent any connections
  15235. to a non-bridge address. Packages like Orbot can also use this
  15236. option to instruct Tor to save power when the network is off.
  15237. - Try to use system facilities for enumerating local interface
  15238. addresses, before falling back to our old approach (which was
  15239. binding a UDP socket, and calling getsockname() on it). That
  15240. approach was scaring OS X users whose draconian firewall
  15241. software warned about binding to UDP sockets regardless of
  15242. whether packets were sent. Now we try to use getifaddrs(),
  15243. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  15244. system supports. Resolves ticket 1827.
  15245. - Add experimental support for a "defaults" torrc file to be parsed
  15246. before the regular torrc. Torrc options override the defaults file's
  15247. options in the same way that the command line overrides the torrc.
  15248. The SAVECONF controller command saves only those options which
  15249. differ between the current configuration and the defaults file. HUP
  15250. reloads both files. Implements task 4552.
  15251. o New directory authorities:
  15252. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  15253. authority. Closes ticket 5749.
  15254. o Security/privacy fixes:
  15255. - Avoid read-from-freed-memory and double-free bugs that could occur
  15256. when a DNS request fails while launching it. Fixes bug 6480;
  15257. bugfix on 0.2.0.1-alpha.
  15258. - Reject any attempt to extend to an internal address. Without
  15259. this fix, a router could be used to probe addresses on an internal
  15260. network to see whether they were accepting connections. Fixes bug
  15261. 6710; bugfix on 0.0.8pre1.
  15262. - Close any connection that sends unrecognized junk before the TLS
  15263. handshake. Solves an issue noted in bug 4369.
  15264. - The advertised platform of a relay now includes only its operating
  15265. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not
  15266. its service pack level (for Windows) or its CPU architecture
  15267. (for Unix). Also drop the "git-XYZ" tag in the version. Packagers
  15268. can insert an extra string in the platform line by setting the
  15269. preprocessor variable TOR_BUILD_TAG. Resolves bug 2988.
  15270. - Disable TLS session tickets. OpenSSL's implementation was giving
  15271. our TLS session keys the lifetime of our TLS context objects, when
  15272. perfect forward secrecy would want us to discard anything that
  15273. could decrypt a link connection as soon as the link connection
  15274. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  15275. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  15276. - Tor tries to wipe potentially sensitive data after using it, so
  15277. that if some subsequent security failure exposes Tor's memory,
  15278. the damage will be limited. But we had a bug where the compiler
  15279. was eliminating these wipe operations when it decided that the
  15280. memory was no longer visible to a (correctly running) program,
  15281. hence defeating our attempt at defense in depth. We fix that
  15282. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  15283. is unlikely to optimize away. Future versions of Tor may use
  15284. a less ridiculously heavy approach for this. Fixes bug 7352.
  15285. Reported in an article by Andrey Karpov.
  15286. o Major bugfixes (crashes and asserts):
  15287. - Avoid a pair of double-free and use-after-mark bugs that can
  15288. occur with certain timings in canceled and re-received DNS
  15289. requests. Fixes bug 6472; bugfix on 0.0.7rc1.
  15290. - Fix a denial of service attack by which any directory authority
  15291. could crash all the others, or by which a single v2 directory
  15292. authority could crash everybody downloading v2 directory
  15293. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  15294. - Fix an assert that directory authorities could trigger on sighup
  15295. during some configuration state transitions. We now don't treat
  15296. it as a fatal error when the new descriptor we just generated in
  15297. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  15298. - Avoid segfault when starting up having run with an extremely old
  15299. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  15300. on 0.2.2.23-alpha.
  15301. o Major bugfixes (clients):
  15302. - If we are unable to find any exit that supports our predicted ports,
  15303. stop calling them predicted, so that we don't loop and build
  15304. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  15305. which introduced predicted ports.
  15306. - Check at each new consensus whether our entry guards were picked
  15307. long enough ago that we should rotate them. Previously, we only
  15308. did this check at startup, which could lead to us holding a guard
  15309. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  15310. - When fetching a bridge descriptor from a bridge authority,
  15311. always do so anonymously, whether we have been able to open
  15312. circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
  15313. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  15314. but we'll need to wait for bug 6010 before it's actually usable.
  15315. o Major bugfixes (directory voting):
  15316. - Check more thoroughly to prevent a rogue authority from
  15317. double-voting on any consensus directory parameter. Previously,
  15318. authorities would crash in this case if the total number of
  15319. votes for any parameter exceeded the number of active voters,
  15320. but would let it pass otherwise. Partially fixes bug 5786; bugfix
  15321. on 0.2.2.2-alpha.
  15322. - When computing weight parameters, behave more robustly in the
  15323. presence of a bad bwweightscale value. Previously, the authorities
  15324. would crash if they agreed on a sufficiently broken weight_scale
  15325. value; now, they use a reasonable default and carry on. Fixes the
  15326. rest of bug 5786; bugfix on 0.2.2.17-alpha.
  15327. - If authorities are unable to get a v2 consensus document from other
  15328. directory authorities, they no longer fall back to fetching
  15329. them from regular directory caches. Fixes bug 5635; bugfix on
  15330. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  15331. documents entirely.
  15332. o Major bugfixes (relays):
  15333. - Fix a bug handling SENDME cells on nonexistent streams that could
  15334. result in bizarre window values. Report and patch contributed
  15335. pseudonymously. Fixes part of bug 6271. This bug was introduced
  15336. before the first Tor release, in svn commit r152.
  15337. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  15338. tor gets started. This prevents a wrong average bandwidth
  15339. estimate, which would cause relays to always start a new accounting
  15340. interval at the earliest possible moment. Fixes bug 2003; bugfix
  15341. on 0.2.2.7-alpha. Reported by Bryon Eldridge, who also helped
  15342. immensely in tracking this bug down.
  15343. - Fix a possible crash bug when checking for deactivated circuits
  15344. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  15345. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  15346. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  15347. connections. This change should allow busy exit relays to stop
  15348. running out of available sockets as quickly. Fixes bug 4950;
  15349. bugfix on 0.2.2.26-beta.
  15350. o Major bugfixes (blocking resistance):
  15351. - Bridges no longer include their address in NETINFO cells on outgoing
  15352. OR connections, to allow them to blend in better with clients.
  15353. Removes another avenue for enumerating bridges. Reported by
  15354. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  15355. cells were introduced.
  15356. - Warn the user when HTTPProxy, but no other proxy type, is
  15357. configured. This can cause surprising behavior: it doesn't send
  15358. all of Tor's traffic over the HTTPProxy -- it sends unencrypted
  15359. directory traffic only. Resolves ticket 4663.
  15360. o Major bugfixes (hidden services):
  15361. - Improve hidden service robustness: when an attempt to connect to
  15362. a hidden service ends, be willing to refetch its hidden service
  15363. descriptors from each of the HSDir relays responsible for them
  15364. immediately. Previously, we would not consider refetching the
  15365. service's descriptors from each HSDir for 15 minutes after the last
  15366. fetch, which was inconvenient if the hidden service was not running
  15367. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  15368. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  15369. They used to check that the timestamp was within 30 minutes
  15370. of their system clock, so they could cap the size of their
  15371. replay-detection cache, but that approach unnecessarily refused
  15372. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  15373. the v3 intro-point protocol (the first one which sent a timestamp
  15374. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  15375. - When one of a hidden service's introduction points appears to be
  15376. unreachable, stop trying it. Previously, we would keep trying
  15377. to build circuits to the introduction point until we lost the
  15378. descriptor, usually because the user gave up and restarted Tor.
  15379. Fixes part of bug 3825.
  15380. o Changes to default torrc file:
  15381. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  15382. port on 9050 by default anyway, so this should not change anything
  15383. in practice.
  15384. - Stop mentioning the deprecated *ListenAddress options in
  15385. torrc.sample. Fixes bug 5438.
  15386. - Document unit of bandwidth-related options in sample torrc.
  15387. Fixes bug 5621.
  15388. - Fix broken URLs in the sample torrc file, and tell readers about
  15389. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  15390. PublishServerDescriptor options. Addresses bug 4652.
  15391. o Minor features (directory authorities):
  15392. - Consider new, removed or changed IPv6 OR ports a non-cosmetic
  15393. change when the authority is deciding whether to accept a newly
  15394. uploaded descriptor. Implements ticket 6423.
  15395. - Directory authorities are now a little more lenient at accepting
  15396. older router descriptors, or newer router descriptors that don't
  15397. make big changes. This should help ameliorate past and future
  15398. issues where routers think they have uploaded valid descriptors,
  15399. but the authorities don't think so. Fix for ticket 2479.
  15400. - Authority operators can now vote for all relays in a given
  15401. set of countries to be BadDir/BadExit/Invalid/Rejected.
  15402. - Provide two consensus parameters (FastFlagMinThreshold and
  15403. FastFlagMaxThreshold) to control the range of allowable bandwidths
  15404. for the Fast directory flag. These allow authorities to run
  15405. experiments on appropriate requirements for being a "Fast" node.
  15406. The AuthDirFastGuarantee config value still applies. Implements
  15407. ticket 3946.
  15408. o Minor features (bridges / bridge authorities):
  15409. - Make bridge SSL certificates a bit more stealthy by using random
  15410. serial numbers, in the same fashion as OpenSSL when generating
  15411. self-signed certificates. Implements ticket 4584.
  15412. - Tag a bridge's descriptor as "never to be sent unencrypted".
  15413. This shouldn't matter, since bridges don't open non-anonymous
  15414. connections to the bridge authority and don't allow unencrypted
  15415. directory connections from clients, but we might as well make
  15416. sure. Closes bug 5139.
  15417. - The Bridge Authority now writes statistics on how many bridge
  15418. descriptors it gave out in total, and how many unique descriptors
  15419. it gave out. It also lists how often the most and least commonly
  15420. fetched descriptors were given out, as well as the median and
  15421. 25th/75th percentile. Implements tickets 4200 and 4294.
  15422. o Minor features (IPv6):
  15423. - Make the code that clients use to detect an address change be
  15424. IPv6-aware, so that it won't fill clients' logs with error
  15425. messages when trying to get the IPv4 address of an IPv6
  15426. connection. Implements ticket 5537.
  15427. - Relays now understand an IPv6 address when they get one from a
  15428. directory server. Resolves ticket 4875.
  15429. o Minor features (hidden services):
  15430. - Expire old or over-used hidden service introduction points.
  15431. Required by fix for bug 3460.
  15432. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  15433. public key replay-detection cache from 60 minutes to 5 minutes. This
  15434. replay-detection cache is now used only to detect multiple
  15435. INTRODUCE2 cells specifying the same rendezvous point, so we can
  15436. avoid launching multiple simultaneous attempts to connect to it.
  15437. - When a hidden service's introduction point times out, consider
  15438. trying it again during the next attempt to connect to the
  15439. HS. Previously, we would not try it again unless a newly fetched
  15440. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  15441. o Minor features (relays):
  15442. - Relays now include a reason for regenerating their descriptors
  15443. in an HTTP header when uploading to the authorities. This will
  15444. make it easier to debug descriptor-upload issues in the future.
  15445. - Turn on directory request statistics by default and include them in
  15446. extra-info descriptors. Don't break if we have no GeoIP database.
  15447. - Replace files in stats/ rather than appending to them. Now that we
  15448. include statistics in extra-info descriptors, it makes no sense to
  15449. keep old statistics forever. Implements ticket 2930.
  15450. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  15451. bidirectional use of connections to disk every 24 hours.
  15452. - Add a GeoIP file digest to the extra-info descriptor. Implements
  15453. ticket 1883.
  15454. o Minor features (new config options):
  15455. - New config option "DynamicDHGroups" (disabled by default) provides
  15456. each bridge with a unique prime DH modulus to be used during
  15457. SSL handshakes. This option attempts to help against censors
  15458. who might use the Apache DH modulus as a static identifier for
  15459. bridges. Addresses ticket 4548.
  15460. - New config option "DisableDebuggerAttachment" (on by default)
  15461. to prevent basic debugging attachment attempts by other processes.
  15462. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  15463. - Ordinarily, Tor does not count traffic from private addresses (like
  15464. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  15465. There is now a new option, CountPrivateBandwidth, to disable this
  15466. behavior. Patch from Daniel Cagara.
  15467. o Minor features (different behavior for old config options):
  15468. - Allow MapAddress directives to specify matches against super-domains,
  15469. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  15470. Implements issue 933.
  15471. - Don't disable the DirPort when we cannot exceed our AccountingMax
  15472. limit during this interval because the effective bandwidthrate is
  15473. low enough. This is useful in a situation where AccountMax is only
  15474. used as an additional safeguard or to provide statistics.
  15475. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  15476. implements ticket 3439.
  15477. - When configuring a large set of nodes in EntryNodes, and there are
  15478. enough of them listed as Guard so that we don't need to consider
  15479. the non-guard entries, prefer the ones listed with the Guard flag.
  15480. - If you set the NumCPUs option to 0, Tor will now try to detect how
  15481. many CPUs you have. This is the new default behavior.
  15482. - The NodeFamily option -- which let you declare that you want to
  15483. consider nodes to be part of a family whether they list themselves
  15484. that way or not -- now allows IP address ranges and country codes.
  15485. o Minor features (new command-line config behavior):
  15486. - Slightly change behavior of "list" options (that is, config
  15487. options that can appear more than once) when they appear both in
  15488. torrc and on the command line. Previously, the command-line options
  15489. would be appended to the ones from torrc. Now, the command-line
  15490. options override the torrc options entirely. This new behavior
  15491. allows the user to override list options (like exit policies and
  15492. ports to listen on) from the command line, rather than simply
  15493. appending to the list.
  15494. - You can get the old (appending) command-line behavior for "list"
  15495. options by prefixing the option name with a "+".
  15496. - You can remove all the values for a "list" option from the command
  15497. line without adding any new ones by prefixing the option name
  15498. with a "/".
  15499. o Minor features (controller, new events):
  15500. - Extend the control protocol to report flags that control a circuit's
  15501. path selection in CIRC events and in replies to 'GETINFO
  15502. circuit-status'. Implements part of ticket 2411.
  15503. - Extend the control protocol to report the hidden service address
  15504. and current state of a hidden-service-related circuit in CIRC
  15505. events and in replies to 'GETINFO circuit-status'. Implements part
  15506. of ticket 2411.
  15507. - Include the creation time of a circuit in CIRC and CIRC2
  15508. control-port events and the list produced by the 'GETINFO
  15509. circuit-status' control-port command.
  15510. - Add a new CONF_CHANGED event so that controllers can be notified
  15511. of any configuration changes made by other controllers, or by the
  15512. user. Implements ticket 1692.
  15513. - Add a new SIGNAL event to the controller interface so that
  15514. controllers can be notified when Tor handles a signal. Resolves
  15515. issue 1955. Patch by John Brooks.
  15516. o Minor features (controller, new getinfo options):
  15517. - Expose our view of whether we have gone dormant to the controller,
  15518. via a new "GETINFO dormant" value. Torbutton and other controllers
  15519. can use this to avoid doing periodic requests through Tor while
  15520. it's dormant (bug 4718). Resolves ticket 5954.
  15521. - Add a new GETINFO option to get total bytes read and written. Patch
  15522. from pipe, revised by atagar. Resolves ticket 2345.
  15523. - Implement new GETINFO controller fields to provide information about
  15524. the Tor process's pid, euid, username, and resource limits.
  15525. o Minor features (controller, other):
  15526. - Allow controllers to request an event notification whenever a
  15527. circuit is cannibalized or its purpose is changed. Implements
  15528. part of ticket 3457.
  15529. - Use absolute path names when reporting the torrc filename in the
  15530. control protocol, so a controller can more easily find the torrc
  15531. file. Resolves bug 1101.
  15532. - When reporting the path to the cookie file to the controller,
  15533. give an absolute path. Resolves ticket 4881.
  15534. o Minor features (log messages):
  15535. - Add more information to a log statement that might help track down
  15536. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  15537. non-IP address" messages (or any Bug messages, for that matter!),
  15538. please let us know about it.
  15539. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  15540. EntryNodes will have no effect. Resolves issue 2571.
  15541. - Try to make the introductory warning message that Tor prints on
  15542. startup more useful for actually finding help and information.
  15543. Resolves ticket 2474.
  15544. - When the system call to create a listener socket fails, log the
  15545. error message explaining why. This may help diagnose bug 4027.
  15546. o Minor features (other):
  15547. - When we fail to initialize Libevent, retry with IOCP disabled so we
  15548. don't need to turn on multi-threading support in Libevent, which in
  15549. turn requires a working socketpair(). This is a workaround for bug
  15550. 4457, which affects Libevent versions from 2.0.1-alpha through
  15551. 2.0.15-stable.
  15552. - When starting as root and then changing our UID via the User
  15553. control option, and we have a ControlSocket configured, make sure
  15554. that the ControlSocket is owned by the same account that Tor will
  15555. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  15556. - Accept attempts to include a password authenticator in the
  15557. handshake, as supported by SOCKS5. This handles SOCKS clients that
  15558. don't know how to omit a password when authenticating. Resolves
  15559. bug 1666.
  15560. - Check for and recover from inconsistency in the microdescriptor
  15561. cache. This will make it harder for us to accidentally free a
  15562. microdescriptor without removing it from the appropriate data
  15563. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  15564. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  15565. o Minor bugfixes (code security):
  15566. - Prevent a null-pointer dereference when receiving a data cell
  15567. for a nonexistent stream when the circuit in question has an
  15568. empty deliver window. We don't believe this is triggerable,
  15569. since we don't currently allow deliver windows to become empty,
  15570. but the logic is tricky enough that it's better to make the code
  15571. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  15572. - Fix a (harmless) integer overflow in cell statistics reported by
  15573. some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
  15574. - Fix our implementation of crypto_random_hostname() so it can't
  15575. overflow on ridiculously large inputs. (No Tor version has ever
  15576. provided this kind of bad inputs, but let's be correct in depth.)
  15577. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  15578. - Add a (probably redundant) memory clear between iterations of
  15579. the router status voting loop, to prevent future coding errors
  15580. where data might leak between iterations of the loop. Resolves
  15581. ticket 6514.
  15582. o Minor bugfixes (wrapper functions):
  15583. - Abort if tor_vasprintf() fails in connection_printf_to_buf() (a
  15584. utility function used in the control-port code). This shouldn't
  15585. ever happen unless Tor is completely out of memory, but if it did
  15586. happen and Tor somehow recovered from it, Tor could have sent a log
  15587. message to a control port in the middle of a reply to a controller
  15588. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  15589. - Fix some (not actually triggerable) buffer size checks in usage of
  15590. tor_inet_ntop(). Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  15591. by Anders Sundman.
  15592. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  15593. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  15594. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  15595. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  15596. - Make our replacement implementation of strtok_r() compatible with
  15597. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  15598. bugfix on 0.2.2.1-alpha.
  15599. - Find more places in the code that should have been testing for
  15600. invalid sockets using the SOCKET_OK macro. Required for a fix
  15601. for bug 4533. Bugfix on 0.2.2.28-beta.
  15602. o Minor bugfixes (code correctness):
  15603. - Check return value of fputs() when writing authority certificate
  15604. file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
  15605. - When building Tor on Windows with -DUNICODE (not default), ensure
  15606. that error messages, filenames, and DNS server names are always
  15607. NUL-terminated when we convert them to a single-byte encoding.
  15608. Fixes bug 5909; bugfix on 0.2.2.16-alpha.
  15609. - Fix a memory leak when trying to launch a DNS request when the
  15610. nameservers are unconfigurable. Fixes bug 5916; bugfix on Tor
  15611. 0.1.2.1-alpha.
  15612. - Correct file sizes when reading binary files on Cygwin, to avoid
  15613. a bug where Tor would fail to read its state file. Fixes bug 6844;
  15614. bugfix on 0.1.2.7-alpha.
  15615. - Make sure to set *socket_error in all error cases in
  15616. connection_connect(), so it can't produce a warning about
  15617. errno being zero from errno_to_orconn_end_reason(). Bugfix on
  15618. 0.2.1.1-alpha; resolves ticket 6028.
  15619. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  15620. bug 4532; found by "troll_un".
  15621. o Minor bugfixes (clients):
  15622. - Allow one-hop directory-fetching circuits the full "circuit build
  15623. timeout" period, rather than just half of it, before failing them
  15624. and marking the relay down. This fix should help reduce cases where
  15625. clients declare relays (or worse, bridges) unreachable because
  15626. the TLS handshake takes a few seconds to complete. Fixes bug 6743;
  15627. bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
  15628. 30 seconds.
  15629. - Ensure we don't cannibalize circuits that are longer than three hops
  15630. already, so we don't end up making circuits with 5 or more
  15631. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  15632. 0.1.0.1-rc which introduced cannibalization.
  15633. o Minor bugfixes (relays):
  15634. - Don't publish a new relay descriptor when we reload our onion key,
  15635. unless the onion key has actually changed. Fixes bug 3263 and
  15636. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  15637. - When relays refuse a "create" cell because their queue of pending
  15638. create cells is too big (typically because their cpu can't keep up
  15639. with the arrival rate), send back reason "resource limit" rather
  15640. than reason "internal", so network measurement scripts can get a
  15641. more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
  15642. - Exit nodes don't need to fetch certificates for authorities that
  15643. they don't recognize; only directory authorities, bridges,
  15644. and caches need to do that. Fixes part of bug 2297; bugfix on
  15645. 0.2.2.11-alpha.
  15646. o Minor bugfixes (directory authority / mirrors):
  15647. - Avoid O(n^2) performance characteristics when parsing a large
  15648. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  15649. - Authorities no longer include any router in their microdescriptor
  15650. consensuses for which they couldn't generate or agree on a
  15651. microdescriptor. Fixes the second piece of bug 6404; fix on
  15652. 0.2.2.6-alpha.
  15653. - When checking for requested signatures on the latest consensus
  15654. before serving it to a client, make sure to check the right
  15655. consensus flavor. Bugfix on 0.2.2.6-alpha.
  15656. - Fix an edge case where TestingTorNetwork is set but the authorities
  15657. and relays all have an uptime of zero, so the private Tor network
  15658. could briefly lack support for hidden services. Fixes bug 3886;
  15659. bugfix on 0.2.2.18-alpha.
  15660. - Directory caches no longer refuse to clean out descriptors because
  15661. of missing v2 networkstatus documents, unless they're configured
  15662. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  15663. 0.2.2.26-beta. Patch by Daniel Bryg.
  15664. - Don't serve or accept v2 hidden service descriptors over a relay's
  15665. DirPort. It's never correct to do so, and disabling it might
  15666. make it more annoying to exploit any bugs that turn up in the
  15667. descriptor-parsing code. Fixes bug 7149.
  15668. o Minor bugfixes (hidden services, client-side):
  15669. - Assert that hidden-service-related operations are not performed
  15670. using single-hop circuits. Previously, Tor would assert that
  15671. client-side streams are not attached to single-hop circuits,
  15672. but not that other sensitive operations on the client and service
  15673. side are not performed using single-hop circuits. Fixes bug 3332;
  15674. bugfix on 0.0.6.
  15675. - Avoid undefined behavior when parsing the list of supported
  15676. rendezvous/introduction protocols in a hidden service descriptor.
  15677. Previously, Tor would have confused (as-yet-unused) protocol version
  15678. numbers greater than 32 with lower ones on many platforms. Fixes
  15679. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  15680. - Don't close hidden service client circuits which have almost
  15681. finished connecting to their destination when they reach
  15682. the normal circuit-build timeout. Previously, we would close
  15683. introduction circuits which are waiting for an acknowledgement
  15684. from the introduction point, and rendezvous circuits which have
  15685. been specified in an INTRODUCE1 cell sent to a hidden service,
  15686. after the normal CBT. Now, we mark them as 'timed out', and launch
  15687. another rendezvous attempt in parallel. This behavior change can
  15688. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  15689. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  15690. o Minor bugfixes (hidden services, service-side):
  15691. - Don't close hidden-service-side rendezvous circuits when they
  15692. reach the normal circuit-build timeout. This behavior change can
  15693. be disabled using the new
  15694. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  15695. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  15696. - Don't launch more than 10 service-side introduction-point circuits
  15697. for a hidden service in five minutes. Previously, we would consider
  15698. launching more introduction-point circuits if at least one second
  15699. had passed without any introduction-point circuits failing. Fixes
  15700. bug 4607; bugfix on 0.0.7pre1.
  15701. o Minor bugfixes (config option behavior):
  15702. - If the user tries to set MyFamily on a bridge, refuse to
  15703. do so, and warn about the security implications. Fixes bug 4657;
  15704. bugfix on 0.2.0.3-alpha.
  15705. - The "--quiet" and "--hush" options now apply not only to Tor's
  15706. behavior before logs are configured, but also to Tor's behavior in
  15707. the absence of configured logs. Fixes bug 3550; bugfix on
  15708. 0.2.0.10-alpha.
  15709. - Change the AllowDotExit rules so they should actually work.
  15710. We now enforce AllowDotExit only immediately after receiving an
  15711. address via SOCKS or DNSPort: other sources are free to provide
  15712. .exit addresses after the resolution occurs. Fixes bug 3940;
  15713. bugfix on 0.2.2.1-alpha.
  15714. - Make "LearnCircuitBuildTimeout 0" work more reliably. Specifically,
  15715. don't depend on the consensus parameters or compute adaptive
  15716. timeouts when it is disabled. Fixes bug 5049; bugfix on
  15717. 0.2.2.14-alpha.
  15718. - After we pick a directory mirror, we would refuse to use it if
  15719. it's in our ExcludeExitNodes list, resulting in mysterious failures
  15720. to bootstrap for people who just wanted to avoid exiting from
  15721. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  15722. - When told to add a bridge with the same digest as a preexisting
  15723. bridge but a different addr:port, change the addr:port as
  15724. requested. Previously we would not notice the change. Fixes half
  15725. of bug 5603; fix on 0.2.2.26-beta.
  15726. o Minor bugfixes (controller):
  15727. - Allow manual 'authenticate' commands to the controller interface
  15728. from netcat (nc) as well as telnet. We were rejecting them because
  15729. they didn't come with the expected whitespace at the end of the
  15730. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  15731. - Report a real bootstrap problem to the controller on router
  15732. identity mismatch. Previously we just said "foo", which probably
  15733. made a lot of sense at the time. Fixes bug 4169; bugfix on
  15734. 0.2.1.1-alpha.
  15735. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  15736. option is set to 0 (which Vidalia version 0.2.16 now does when
  15737. a SAVECONF attempt fails), perform other actions that SIGHUP
  15738. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  15739. on 0.2.1.9-alpha.
  15740. - Correctly handle checking the permissions on the parent
  15741. directory of a control socket in the root directory. Bug found
  15742. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  15743. 0.2.2.26-beta.
  15744. - End AUTHCHALLENGE error messages (in the control protocol) with
  15745. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36.
  15746. o Minor bugfixes (network reading/writing):
  15747. - Disable writing on marked-for-close connections when they are
  15748. blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
  15749. bug 5263; bugfix on 0.0.2pre13, where we first added a special
  15750. case for flushing marked connections.
  15751. - Make sure that there are no unhandled pending TLS errors before
  15752. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  15753. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  15754. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  15755. - Detect SSL handshake even when the initial attempt to write the
  15756. server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
  15757. - If the client fails to set a reasonable set of ciphersuites
  15758. during its v2 handshake renegotiation, allow the renegotiation to
  15759. continue nevertheless (i.e. send all the required certificates).
  15760. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  15761. o Minor bugfixes (other):
  15762. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  15763. resource exhaustion, so that clients can adjust their load to
  15764. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  15765. started using END_STREAM_REASON_RESOURCELIMIT.
  15766. - Don't check for whether the address we're using for outbound
  15767. connections has changed until after the outbound connection has
  15768. completed. On Windows, getsockname() doesn't succeed until the
  15769. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  15770. - Don't hold a Windows file handle open for every file mapping;
  15771. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  15772. 0.1.2.1-alpha.
  15773. - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
  15774. bugfix on 0.2.1.10-alpha.
  15775. - If we fail to write a microdescriptor to the disk cache, do not
  15776. continue replacing the old microdescriptor file. Fixes bug 2954;
  15777. bugfix on 0.2.2.6-alpha.
  15778. o Minor bugfixes (log messages, path selection):
  15779. - Downgrade "set buildtimeout to low value" messages to "info"
  15780. severity; they were never an actual problem, there was never
  15781. anything reasonable to do about them, and they tended to spam logs
  15782. from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
  15783. - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
  15784. more information to it, so that we can track it down in case it
  15785. returns again. Mitigates bug 5235.
  15786. - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
  15787. options_validate(); warn if LearnCircuitBuildTimeout is disabled and
  15788. CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
  15789. - Issue a log message if a guard completes less than 40% of your
  15790. circuits. Threshold is configurable by torrc option
  15791. PathBiasNoticeRate and consensus parameter pb_noticepct. There is
  15792. additional, off-by-default code to disable guards which fail too
  15793. many circuits. Addresses ticket 5458.
  15794. o Minor bugfixes (log messages, client):
  15795. - Downgrade "Got a certificate, but we already have it" log messages
  15796. from warning to info, except when we're a dirauth. Fixes bug 5238;
  15797. bugfix on 0.2.1.7-alpha.
  15798. - Fix the log message describing how we work around discovering
  15799. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  15800. 4837; bugfix on 0.2.2.9-alpha.
  15801. - When logging about a disallowed .exit name, do not also call it
  15802. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  15803. - Fix a log message suggesting that people contact a non-existent
  15804. email address. Fixes bug 3448.
  15805. - Rephrase the log message emitted if the TestSocks check is
  15806. successful. Patch from Fabian Keil; fixes bug 4094.
  15807. - Log (at debug level) whenever a circuit's purpose is changed.
  15808. - Log SSL state transitions at log level DEBUG, log domain
  15809. HANDSHAKE. This can be useful for debugging censorship events.
  15810. Implements ticket 3264.
  15811. - We now log which torrc file we're using on startup. Implements
  15812. ticket 2444.
  15813. - Rate-limit log messages when asked to connect anonymously to
  15814. a private address. When these hit, they tended to hit fast and
  15815. often. Also, don't bother trying to connect to addresses that we
  15816. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  15817. reply makes us think we have been lied to, even when the address the
  15818. client tried to connect to was "localhost." Resolves ticket 2822.
  15819. o Minor bugfixes (log messages, non-client):
  15820. - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
  15821. Fixes bug 5932; bugfix on 0.2.2.7-alpha.
  15822. - Don't log that we have "decided to publish new relay descriptor"
  15823. unless we are actually publishing a descriptor. Fixes bug 3942;
  15824. bugfix on 0.2.2.28-beta.
  15825. - Log which authority we're missing votes from when we go to fetch
  15826. them from the other auths.
  15827. - Replace "Sending publish request" log messages with "Launching
  15828. upload", so that they no longer confusingly imply that we're
  15829. sending something to a directory we might not even be connected
  15830. to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
  15831. - Warn when Tor is configured to use accounting in a way that can
  15832. link a hidden service to some other hidden service or public
  15833. address. Resolves ticket 6490.
  15834. - Fix a minor formatting issue in one of tor-gencert's error messages.
  15835. Fixes bug 4574.
  15836. o Testing:
  15837. - Update to the latest version of the tinytest unit testing framework.
  15838. This includes a couple of bugfixes that can be relevant for
  15839. running forked unit tests on Windows, and removes all reserved
  15840. identifiers.
  15841. - Avoid a false positive in the util/threads unit test by increasing
  15842. the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
  15843. - Make it possible to set the TestingTorNetwork configuration
  15844. option using AlternateDirAuthority and AlternateBridgeAuthority
  15845. as an alternative to setting DirServer. Addresses ticket 6377.
  15846. - Add a unit test for the environment_variable_names_equal() function.
  15847. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  15848. - Numerous new unit tests for functions in util.c and address.c by
  15849. Anders Sundman.
  15850. - The long-disabled benchmark tests are now split into their own
  15851. ./src/test/bench binary.
  15852. - The benchmark tests can now use more accurate timers than
  15853. gettimeofday() when such timers are available.
  15854. - Use tt_assert(), not tor_assert(), for checking for test failures.
  15855. This makes the unit tests more able to go on in the event that
  15856. one of them fails.
  15857. o Build improvements:
  15858. - Use the dead_strip option when building Tor on OS X. This reduces
  15859. binary size by almost 19% when linking openssl and libevent
  15860. statically, which we do for Tor Browser Bundle.
  15861. - Provide a better error message about possible OSX Asciidoc failure
  15862. reasons. Fixes bug 6436.
  15863. - Detect attempts to build Tor on (as yet hypothetical) versions
  15864. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  15865. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  15866. - On Windows, we now define the _WIN32_WINNT macros only if they
  15867. are not already defined. This lets the person building Tor decide,
  15868. if they want, to require a later version of Windows.
  15869. - Our autogen.sh script now uses autoreconf to launch autoconf,
  15870. automake, and so on. This is more robust against some of the failure
  15871. modes associated with running the autotools pieces on their own.
  15872. - Running "make version" now displays the version of Tor that
  15873. we're about to build. Idea from katmagic; resolves issue 4400.
  15874. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  15875. on 0.2.2.4-alpha; fixes bug 3427.
  15876. - New --enable-static-tor configure option for building Tor as
  15877. statically as possible. Idea, general hackery and thoughts from
  15878. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  15879. 2702.
  15880. - Limited, experimental support for building with nmake and MSVC.
  15881. o Build requirements:
  15882. - Building Tor with bufferevent support now requires Libevent
  15883. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  15884. SSL-related bufferevents and related issues that would make Tor
  15885. work badly with bufferevents. Requiring 2.0.13-stable also allows
  15886. Tor with bufferevents to take advantage of Libevent APIs
  15887. introduced after 2.0.8-rc.
  15888. - Our build system requires automake 1.6 or later to create the
  15889. Makefile.in files. Previously, you could have used 1.4.
  15890. This only affects developers and people building Tor from git;
  15891. people who build Tor from the source distribution without changing
  15892. the Makefile.am files should be fine.
  15893. - Detect when we try to build on a platform that doesn't define
  15894. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  15895. o Build fixes (compile/link):
  15896. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  15897. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  15898. Tor 0.2.0.8-alpha.
  15899. - When building with --enable-static-tor on OpenBSD, do not
  15900. erroneously attempt to link -lrt. Fixes bug 5103.
  15901. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  15902. that IPv6 stuff will compile on MSVC, and compilation issues
  15903. will be easier to track down. Fixes bug 5861.
  15904. - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
  15905. Fixes bug 6379. Bugfix on 0.2.0.20-rc.
  15906. - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
  15907. Fixes bug 6097; bugfix on 0.2.2.16-alpha.
  15908. o Build fixes (other):
  15909. - Use the _WIN32 macro throughout our code to detect Windows.
  15910. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  15911. 'MS_WINDOWS'.)
  15912. - Properly handle the case where the build-tree is not the same
  15913. as the source tree when generating src/common/common_sha1.i,
  15914. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  15915. bugfix on 0.2.0.1-alpha.
  15916. - During configure, search for library containing cos function as
  15917. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  15918. against libm was hard-coded before. Fixes the first part of bug
  15919. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  15920. Pedersen.
  15921. - Prevent a false positive from the check-spaces script, by disabling
  15922. the "whitespace between function name and (" check for functions
  15923. named 'op()'.
  15924. o Packaging (RPM) changes:
  15925. - Update our default RPM spec files to work with mock and rpmbuild
  15926. on RHEL/Fedora. They have an updated set of dependencies and
  15927. conflicts, a fix for an ancient typo when creating the "_tor"
  15928. user, and better instructions. Thanks to Ondrej Mikle for the
  15929. patch series. Fixes bug 6043.
  15930. - On OpenSUSE, create the /var/run/tor directory on startup if it
  15931. is not already created. Patch from Andreas Stieger. Fixes bug 2573.
  15932. o Code refactoring (safety):
  15933. - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
  15934. 10 lines. Also, don't nest them. Doing so in the past has
  15935. led to hard-to-debug code. The new style is to use the
  15936. SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
  15937. - Use macros to indicate OpenSSL versions, so we don't need to worry
  15938. about accidental hexadecimal bit shifts.
  15939. - Use tor_sscanf() in place of scanf() in more places through the
  15940. code. This makes us a little more locale-independent, and
  15941. should help shut up code-analysis tools that can't tell
  15942. a safe sscanf string from a dangerous one.
  15943. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  15944. - Use the smartlist_add_asprintf() alias more consistently.
  15945. o Code refactoring (consolidate):
  15946. - A major revision to our internal node-selecting and listing logic.
  15947. Tor already had at least two major ways to look at the question of
  15948. "which Tor servers do we know about": a list of router descriptors,
  15949. and a list of entries in the current consensus. With
  15950. microdescriptors, we're adding a third. Having so many systems
  15951. without an abstraction layer over them was hurting the codebase.
  15952. Now, we have a new "node_t" abstraction that presents a consistent
  15953. interface to a client's view of a Tor node, and holds (nearly) all
  15954. of the mutable state formerly in routerinfo_t and routerstatus_t.
  15955. - Move tor_gettimeofday_cached() into compat_libevent.c, and use
  15956. Libevent's notion of cached time when possible.
  15957. - Remove duplicate code for invoking getrlimit() from control.c.
  15958. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  15959. own homebrewed ssl_state_to_string() replacement. Patch from
  15960. Emile Snyder. Fixes bug 4653.
  15961. - Change the symmetric cipher interface so that creating and
  15962. initializing a stream cipher are no longer separate functions.
  15963. o Code refactoring (separate):
  15964. - Make a new "entry connection" struct as an internal subtype of "edge
  15965. connection", to simplify the code and make exit connections smaller.
  15966. - Split connection_about_to_close() into separate functions for each
  15967. connection type.
  15968. - Rewrite the listener-selection logic so that parsing which ports
  15969. we want to listen on is now separate from binding to the ports
  15970. we want.
  15971. o Code refactoring (name changes):
  15972. - Rename a handful of old identifiers, mostly related to crypto
  15973. structures and crypto functions. By convention, our "create an
  15974. object" functions are called "type_new()", our "free an object"
  15975. functions are called "type_free()", and our types indicate that
  15976. they are types only with a final "_t". But a handful of older
  15977. types and functions broke these rules, with function names like
  15978. "type_create" or "subsystem_op_type", or with type names like
  15979. type_env_t.
  15980. - Rename Tor functions that turn strings into addresses, so that
  15981. "parse" indicates that no hostname resolution occurs, and
  15982. "lookup" indicates that hostname resolution may occur. This
  15983. should help prevent mistakes in the future. Fixes bug 3512.
  15984. - Use the name "CERTS" consistently to refer to the new cell type;
  15985. we were calling it CERT in some places and CERTS in others.
  15986. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  15987. invalid value, rather than just -1.
  15988. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  15989. can pick them up when the tests aren't disabled. Bugfix on
  15990. 0.2.2.4-alpha which introduced tinytest.
  15991. o Code refactoring (other):
  15992. - Defensively refactor rend_mid_rendezvous() so that protocol
  15993. violations and length checks happen in the beginning. Fixes
  15994. bug 5645.
  15995. - Remove the pure attribute from all functions that used it
  15996. previously. In many cases we assigned it incorrectly, because the
  15997. functions might assert or call impure functions, and we don't have
  15998. evidence that keeping the pure attribute is worthwhile. Implements
  15999. changes suggested in ticket 4421.
  16000. - Move the replay-detection cache for the RSA-encrypted parts of
  16001. INTRODUCE2 cells to the introduction point data structures.
  16002. Previously, we would use one replay-detection cache per hidden
  16003. service. Required by fix for bug 3460.
  16004. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  16005. no longer link against Libevent: they never used it, but
  16006. our library structure used to force them to link it.
  16007. o Removed features and files:
  16008. - Remove all internal support for unpadded RSA. We never used it, and
  16009. it would be a bad idea to start.
  16010. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  16011. supported).
  16012. - Remove some redundant #include directives throughout the code.
  16013. Patch from Andrea Gelmini.
  16014. - Remove some old code to remember statistics about which descriptors
  16015. we've served as a directory mirror. The feature wasn't used and
  16016. is outdated now that microdescriptors are around.
  16017. - Remove some old code to work around even older versions of Tor that
  16018. used forked processes to handle DNS requests. Such versions of Tor
  16019. are no longer in use as relays.
  16020. - The "torify" script no longer supports the "tsocks" socksifier
  16021. tool, since tsocks doesn't support DNS and UDP right for Tor.
  16022. Everyone should be using torsocks instead. Fixes bugs 3530 and
  16023. 5180. Based on a patch by "ugh".
  16024. - Remove the torrc.bridge file: we don't use it for anything, and
  16025. it had become badly desynchronized from torrc.sample. Resolves
  16026. bug 5622.
  16027. o Documentation:
  16028. - Begin a doc/state-contents.txt file to explain the contents of
  16029. the Tor state file. Fixes bug 2987.
  16030. - Clarify the documentation for the Alternate*Authority options.
  16031. Fixes bug 6387.
  16032. - Document the --defaults-torrc option, and the new semantics for
  16033. overriding, extending, and clearing lists of options. Closes
  16034. bug 4748.
  16035. - Add missing man page documentation for consensus and microdesc
  16036. files. Resolves ticket 6732.
  16037. - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
  16038. o Documentation fixes:
  16039. - Improve the manual's documentation for the NT Service command-line
  16040. options. Addresses ticket 3964.
  16041. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  16042. - Document the changes to the ORPort and DirPort options, and the
  16043. fact that {OR/Dir}ListenAddress is now unnecessary (and
  16044. therefore deprecated). Resolves ticket 5597.
  16045. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  16046. - Clarify that hidden services are TCP only. Fixes bug 6024.
  16047. Changes in version 0.2.2.39 - 2012-09-11
  16048. Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
  16049. assertions.
  16050. o Security fixes:
  16051. - Fix an assertion failure in tor_timegm() that could be triggered
  16052. by a badly formatted directory object. Bug found by fuzzing with
  16053. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  16054. - Do not crash when comparing an address with port value 0 to an
  16055. address policy. This bug could have been used to cause a remote
  16056. assertion failure by or against directory authorities, or to
  16057. allow some applications to crash clients. Fixes bug 6690; bugfix
  16058. on 0.2.1.10-alpha.
  16059. Changes in version 0.2.2.38 - 2012-08-12
  16060. Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
  16061. attack that could in theory leak path information.
  16062. o Security fixes:
  16063. - Avoid an uninitialized memory read when reading a vote or consensus
  16064. document that has an unrecognized flavor name. This read could
  16065. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  16066. - Try to leak less information about what relays a client is
  16067. choosing to a side-channel attacker. Previously, a Tor client would
  16068. stop iterating through the list of available relays as soon as it
  16069. had chosen one, thus finishing a little earlier when it picked
  16070. a router earlier in the list. If an attacker can recover this
  16071. timing information (nontrivial but not proven to be impossible),
  16072. they could learn some coarse-grained information about which relays
  16073. a client was picking (middle nodes in particular are likelier to
  16074. be affected than exits). The timing attack might be mitigated by
  16075. other factors (see bug 6537 for some discussion), but it's best
  16076. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  16077. Changes in version 0.2.2.37 - 2012-06-06
  16078. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  16079. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  16080. currently).
  16081. o Major bugfixes:
  16082. - Work around a bug in OpenSSL that broke renegotiation with TLS
  16083. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  16084. the v2 Tor connection protocol when both sides were using OpenSSL
  16085. 1.0.1 would fail. Resolves ticket 6033.
  16086. - When waiting for a client to renegotiate, don't allow it to add
  16087. any bytes to the input buffer. This fixes a potential DoS issue.
  16088. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  16089. - Fix an edge case where if we fetch or publish a hidden service
  16090. descriptor, we might build a 4-hop circuit and then use that circuit
  16091. for exiting afterwards -- even if the new last hop doesn't obey our
  16092. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  16093. o Minor bugfixes:
  16094. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  16095. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  16096. o Minor features:
  16097. - Tell GCC and Clang to check for any errors in format strings passed
  16098. to the tor_v*(print|scan)f functions.
  16099. Changes in version 0.2.2.36 - 2012-05-24
  16100. Tor 0.2.2.36 updates the addresses for two of the eight directory
  16101. authorities, fixes some potential anonymity and security issues,
  16102. and fixes several crash bugs.
  16103. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  16104. known flaws, and nobody should be using them. You should upgrade. If
  16105. you're using a Linux or BSD and its packages are obsolete, stop using
  16106. those packages and upgrade anyway.
  16107. o Directory authority changes:
  16108. - Change IP address for maatuska (v3 directory authority).
  16109. - Change IP address for ides (v3 directory authority), and rename
  16110. it to turtles.
  16111. o Security fixes:
  16112. - When building or running with any version of OpenSSL earlier
  16113. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  16114. versions have a bug (CVE-2011-4576) in which their block cipher
  16115. padding includes uninitialized data, potentially leaking sensitive
  16116. information to any peer with whom they make a SSLv3 connection. Tor
  16117. does not use SSL v3 by default, but a hostile client or server
  16118. could force an SSLv3 connection in order to gain information that
  16119. they shouldn't have been able to get. The best solution here is to
  16120. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  16121. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  16122. to make sure that the bug can't happen.
  16123. - Never use a bridge or a controller-supplied node as an exit, even
  16124. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  16125. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  16126. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  16127. - Only build circuits if we have a sufficient threshold of the total
  16128. descriptors that are marked in the consensus with the "Exit"
  16129. flag. This mitigates an attack proposed by wanoskarnet, in which
  16130. all of a client's bridges collude to restrict the exit nodes that
  16131. the client knows about. Fixes bug 5343.
  16132. - Provide controllers with a safer way to implement the cookie
  16133. authentication mechanism. With the old method, if another locally
  16134. running program could convince a controller that it was the Tor
  16135. process, then that program could trick the controller into telling
  16136. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  16137. authentication method uses a challenge-response approach to prevent
  16138. this attack. Fixes bug 5185; implements proposal 193.
  16139. o Major bugfixes:
  16140. - Avoid logging uninitialized data when unable to decode a hidden
  16141. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  16142. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  16143. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  16144. 0.2.1.6-alpha.
  16145. - Fix builds when the path to sed, openssl, or sha1sum contains
  16146. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  16147. on 0.2.2.1-alpha.
  16148. - Correct our replacements for the timeradd() and timersub() functions
  16149. on platforms that lack them (for example, Windows). The timersub()
  16150. function is used when expiring circuits, while timeradd() is
  16151. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  16152. bugfix on 0.2.2.24-alpha.
  16153. - Fix the SOCKET_OK test that we use to tell when socket
  16154. creation fails so that it works on Win64. Fixes part of bug 4533;
  16155. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  16156. o Minor bugfixes:
  16157. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  16158. Fixes bug 5346; bugfix on 0.0.8pre3.
  16159. - Make our number-parsing functions always treat too-large values
  16160. as an error, even when those values exceed the width of the
  16161. underlying type. Previously, if the caller provided these
  16162. functions with minima or maxima set to the extreme values of the
  16163. underlying integer type, these functions would return those
  16164. values on overflow rather than treating overflow as an error.
  16165. Fixes part of bug 5786; bugfix on 0.0.9.
  16166. - Older Linux kernels erroneously respond to strange nmap behavior
  16167. by having accept() return successfully with a zero-length
  16168. socket. When this happens, just close the connection. Previously,
  16169. we would try harder to learn the remote address: but there was
  16170. no such remote address to learn, and our method for trying to
  16171. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  16172. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  16173. - Correct parsing of certain date types in parse_http_time().
  16174. Without this patch, If-Modified-Since would behave
  16175. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  16176. Esteban Manchado Velázques.
  16177. - Change the BridgePassword feature (part of the "bridge community"
  16178. design, which is not yet implemented) to use a time-independent
  16179. comparison. The old behavior might have allowed an adversary
  16180. to use timing to guess the BridgePassword value. Fixes bug 5543;
  16181. bugfix on 0.2.0.14-alpha.
  16182. - Detect and reject certain misformed escape sequences in
  16183. configuration values. Previously, these values would cause us
  16184. to crash if received in a torrc file or over an authenticated
  16185. control port. Bug found by Esteban Manchado Velázquez, and
  16186. independently by Robert Connolly from Matta Consulting who further
  16187. noted that it allows a post-authentication heap overflow. Patch
  16188. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  16189. bugfix on 0.2.0.16-alpha.
  16190. - Fix a compile warning when using the --enable-openbsd-malloc
  16191. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  16192. - During configure, detect when we're building with clang version
  16193. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  16194. CFLAGS. clang doesn't support them yet.
  16195. - When sending an HTTP/1.1 proxy request, include a Host header.
  16196. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  16197. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  16198. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  16199. - If we hit the error case where routerlist_insert() replaces an
  16200. existing (old) server descriptor, make sure to remove that
  16201. server descriptor from the old_routers list. Fix related to bug
  16202. 1776. Bugfix on 0.2.2.18-alpha.
  16203. o Minor bugfixes (documentation and log messages):
  16204. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  16205. Fixes bug 4856; bugfix on Tor 0.0.6.
  16206. - Update "ClientOnly" man page entry to explain that there isn't
  16207. really any point to messing with it. Resolves ticket 5005.
  16208. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  16209. directory authority option (introduced in Tor 0.2.2.34).
  16210. - Downgrade the "We're missing a certificate" message from notice
  16211. to info: people kept mistaking it for a real problem, whereas it
  16212. is seldom the problem even when we are failing to bootstrap. Fixes
  16213. bug 5067; bugfix on 0.2.0.10-alpha.
  16214. - Correctly spell "connect" in a log message on failure to create a
  16215. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  16216. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  16217. circuits. Fixes issue 5259.
  16218. o Minor features:
  16219. - Directory authorities now reject versions of Tor older than
  16220. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  16221. inclusive. These versions accounted for only a small fraction of
  16222. the Tor network, and have numerous known security issues. Resolves
  16223. issue 4788.
  16224. - Update to the May 1 2012 Maxmind GeoLite Country database.
  16225. - Feature removal:
  16226. - When sending or relaying a RELAY_EARLY cell, we used to convert
  16227. it to a RELAY cell if the connection was using the v1 link
  16228. protocol. This was a workaround for older versions of Tor, which
  16229. didn't handle RELAY_EARLY cells properly. Now that all supported
  16230. versions can handle RELAY_EARLY cells, and now that we're enforcing
  16231. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  16232. remove this workaround. Addresses bug 4786.
  16233. Changes in version 0.2.2.35 - 2011-12-16
  16234. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  16235. buffers code. Absolutely everybody should upgrade.
  16236. The bug relied on an incorrect calculation when making data continuous
  16237. in one of our IO buffers, if the first chunk of the buffer was
  16238. misaligned by just the wrong amount. The miscalculation would allow an
  16239. attacker to overflow a piece of heap-allocated memory. To mount this
  16240. attack, the attacker would need to either open a SOCKS connection to
  16241. Tor's SocksPort (usually restricted to localhost), or target a Tor
  16242. instance configured to make its connections through a SOCKS proxy
  16243. (which Tor does not do by default).
  16244. Good security practice requires that all heap-overflow bugs should be
  16245. presumed to be exploitable until proven otherwise, so we are treating
  16246. this as a potential code execution attack. Please upgrade immediately!
  16247. This bug does not affect bufferevents-based builds of Tor. Special
  16248. thanks to "Vektor" for reporting this issue to us!
  16249. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  16250. crash bugs for unusual configurations, and a long-term bug that
  16251. would prevent Tor from starting on Windows machines with draconian
  16252. AV software.
  16253. With this release, we remind everyone that 0.2.0.x has reached its
  16254. formal end-of-life. Those Tor versions have many known flaws, and
  16255. nobody should be using them. You should upgrade -- ideally to the
  16256. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  16257. obsolete, stop using those packages and upgrade anyway.
  16258. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  16259. longer receive support after some time in early 2012.
  16260. o Major bugfixes:
  16261. - Fix a heap overflow bug that could occur when trying to pull
  16262. data into the first chunk of a buffer, when that chunk had
  16263. already had some data drained from it. Fixes CVE-2011-2778;
  16264. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  16265. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  16266. that it doesn't attempt to allocate a socketpair. This could cause
  16267. some problems on Windows systems with overzealous firewalls. Fix for
  16268. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  16269. 2.0.15-stable.
  16270. - If we mark an OR connection for close based on a cell we process,
  16271. don't process any further cells on it. We already avoid further
  16272. reads on marked-for-close connections, but now we also discard the
  16273. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  16274. which was the first version where we might mark a connection for
  16275. close based on processing a cell on it.
  16276. - Correctly sanity-check that we don't underflow on a memory
  16277. allocation (and then assert) for hidden service introduction
  16278. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  16279. bugfix on 0.2.1.5-alpha.
  16280. - Fix a memory leak when we check whether a hidden service
  16281. descriptor has any usable introduction points left. Fixes bug
  16282. 4424. Bugfix on 0.2.2.25-alpha.
  16283. - Don't crash when we're running as a relay and don't have a GeoIP
  16284. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  16285. we've had in the 0.2.3.x branch already.
  16286. - When running as a client, do not print a misleading (and plain
  16287. wrong) log message that we're collecting "directory request"
  16288. statistics: clients don't collect statistics. Also don't create a
  16289. useless (because empty) stats file in the stats/ directory. Fixes
  16290. bug 4353; bugfix on 0.2.2.34.
  16291. o Minor bugfixes:
  16292. - Detect failure to initialize Libevent. This fix provides better
  16293. detection for future instances of bug 4457.
  16294. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  16295. function. This was eating up hideously large amounts of time on some
  16296. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  16297. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  16298. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  16299. Mansour Moufid.
  16300. - Don't warn about unused log_mutex in log.c when building with
  16301. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  16302. 0.1.0.6-rc which introduced --disable-threads.
  16303. - When configuring, starting, or stopping an NT service, stop
  16304. immediately after the service configuration attempt has succeeded
  16305. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  16306. - When sending a NETINFO cell, include the original address
  16307. received for the other side, not its canonical address. Found
  16308. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  16309. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  16310. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  16311. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  16312. occurred when a client tried to fetch a descriptor for a bridge
  16313. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  16314. - Backport fixes for a pair of compilation warnings on Windows.
  16315. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  16316. - If we had ever tried to call tor_addr_to_str on an address of
  16317. unknown type, we would have done a strdup on an uninitialized
  16318. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  16319. Reported by "troll_un".
  16320. - Correctly detect and handle transient lookup failures from
  16321. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  16322. Reported by "troll_un".
  16323. - Fix null-pointer access that could occur if TLS allocation failed.
  16324. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  16325. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  16326. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  16327. o Minor features:
  16328. - Add two new config options for directory authorities:
  16329. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  16330. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  16331. that is always sufficient to satisfy the bandwidth requirement for
  16332. the Guard flag. Now it will be easier for researchers to simulate
  16333. Tor networks with different values. Resolves ticket 4484.
  16334. - When Tor ignores a hidden service specified in its configuration,
  16335. include the hidden service's directory in the warning message.
  16336. Previously, we would only tell the user that some hidden service
  16337. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  16338. - Update to the December 6 2011 Maxmind GeoLite Country database.
  16339. o Packaging changes:
  16340. - Make it easier to automate expert package builds on Windows,
  16341. by removing an absolute path from makensis.exe command.
  16342. Changes in version 0.2.1.32 - 2011-12-16
  16343. Tor 0.2.1.32 backports important security and privacy fixes for
  16344. oldstable. This release is intended only for package maintainers and
  16345. others who cannot use the 0.2.2 stable series. All others should be
  16346. using Tor 0.2.2.x or newer.
  16347. The Tor 0.2.1.x series will reach formal end-of-life some time in
  16348. early 2012; we will stop releasing patches for it then.
  16349. o Major bugfixes (also included in 0.2.2.x):
  16350. - Correctly sanity-check that we don't underflow on a memory
  16351. allocation (and then assert) for hidden service introduction
  16352. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  16353. bugfix on 0.2.1.5-alpha.
  16354. - Fix a heap overflow bug that could occur when trying to pull
  16355. data into the first chunk of a buffer, when that chunk had
  16356. already had some data drained from it. Fixes CVE-2011-2778;
  16357. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  16358. o Minor features:
  16359. - Update to the December 6 2011 Maxmind GeoLite Country database.
  16360. Changes in version 0.2.2.34 - 2011-10-26
  16361. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  16362. can deanonymize Tor users. Everybody should upgrade.
  16363. The attack relies on four components: 1) Clients reuse their TLS cert
  16364. when talking to different relays, so relays can recognize a user by
  16365. the identity key in her cert. 2) An attacker who knows the client's
  16366. identity key can probe each guard relay to see if that identity key
  16367. is connected to that guard relay right now. 3) A variety of active
  16368. attacks in the literature (starting from "Low-Cost Traffic Analysis
  16369. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  16370. discover the guard relays that a Tor user visiting the website is using.
  16371. 4) Clients typically pick three guards at random, so the set of guards
  16372. for a given user could well be a unique fingerprint for her. This
  16373. release fixes components #1 and #2, which is enough to block the attack;
  16374. the other two remain as open research problems. Special thanks to
  16375. "frosty_un" for reporting the issue to us!
  16376. Clients should upgrade so they are no longer recognizable by the TLS
  16377. certs they present. Relays should upgrade so they no longer allow a
  16378. remote attacker to probe them to test whether unpatched clients are
  16379. currently connected to them.
  16380. This release also fixes several vulnerabilities that allow an attacker
  16381. to enumerate bridge relays. Some bridge enumeration attacks still
  16382. remain; see for example proposal 188.
  16383. o Privacy/anonymity fixes (clients):
  16384. - Clients and bridges no longer send TLS certificate chains on
  16385. outgoing OR connections. Previously, each client or bridge would
  16386. use the same cert chain for all outgoing OR connections until
  16387. its IP address changes, which allowed any relay that the client
  16388. or bridge contacted to determine which entry guards it is using.
  16389. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  16390. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  16391. no longer considers that connection as suitable for satisfying a
  16392. circuit EXTEND request. Now relays can protect clients from the
  16393. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  16394. - Directory authorities no longer assign the Guard flag to relays
  16395. that haven't upgraded to the above "refuse EXTEND requests
  16396. to client connections" fix. Now directory authorities can
  16397. protect clients from the CVE-2011-2768 issue even if neither
  16398. the clients nor the relays have upgraded yet. There's a new
  16399. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  16400. to let us transition smoothly, else tomorrow there would be no
  16401. guard relays.
  16402. o Privacy/anonymity fixes (bridge enumeration):
  16403. - Bridge relays now do their directory fetches inside Tor TLS
  16404. connections, like all the other clients do, rather than connecting
  16405. directly to the DirPort like public relays do. Removes another
  16406. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  16407. - Bridges relays now build circuits for themselves in a more similar
  16408. way to how clients build them. Removes another avenue for
  16409. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  16410. when bridges were introduced.
  16411. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  16412. that they initiated. Relays could distinguish incoming bridge
  16413. connections from client connections, creating another avenue for
  16414. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  16415. Found by "frosty_un".
  16416. o Major bugfixes:
  16417. - Fix a crash bug when changing node restrictions while a DNS lookup
  16418. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  16419. by "Tey'".
  16420. - Don't launch a useless circuit after failing to use one of a
  16421. hidden service's introduction points. Previously, we would
  16422. launch a new introduction circuit, but not set the hidden service
  16423. which that circuit was intended to connect to, so it would never
  16424. actually be used. A different piece of code would then create a
  16425. new introduction circuit correctly. Bug reported by katmagic and
  16426. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  16427. o Minor bugfixes:
  16428. - Change an integer overflow check in the OpenBSD_Malloc code so
  16429. that GCC is less likely to eliminate it as impossible. Patch
  16430. from Mansour Moufid. Fixes bug 4059.
  16431. - When a hidden service turns an extra service-side introduction
  16432. circuit into a general-purpose circuit, free the rend_data and
  16433. intro_key fields first, so we won't leak memory if the circuit
  16434. is cannibalized for use as another service-side introduction
  16435. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  16436. - Bridges now skip DNS self-tests, to act a little more stealthily.
  16437. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  16438. bridges. Patch by "warms0x".
  16439. - Fix internal bug-checking logic that was supposed to catch
  16440. failures in digest generation so that it will fail more robustly
  16441. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  16442. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  16443. - Report any failure in init_keys() calls launched because our
  16444. IP address has changed. Spotted by Coverity Scan. Bugfix on
  16445. 0.1.1.4-alpha; fixes CID 484.
  16446. o Minor bugfixes (log messages and documentation):
  16447. - Remove a confusing dollar sign from the example fingerprint in the
  16448. man page, and also make the example fingerprint a valid one. Fixes
  16449. bug 4309; bugfix on 0.2.1.3-alpha.
  16450. - The next version of Windows will be called Windows 8, and it has
  16451. a major version of 6, minor version of 2. Correctly identify that
  16452. version instead of calling it "Very recent version". Resolves
  16453. ticket 4153; reported by funkstar.
  16454. - Downgrade log messages about circuit timeout calibration from
  16455. "notice" to "info": they don't require or suggest any human
  16456. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  16457. bugfix on 0.2.2.14-alpha.
  16458. o Minor features:
  16459. - Turn on directory request statistics by default and include them in
  16460. extra-info descriptors. Don't break if we have no GeoIP database.
  16461. Backported from 0.2.3.1-alpha; implements ticket 3951.
  16462. - Update to the October 4 2011 Maxmind GeoLite Country database.
  16463. Changes in version 0.2.1.31 - 2011-10-26
  16464. Tor 0.2.1.31 backports important security and privacy fixes for
  16465. oldstable. This release is intended only for package maintainers and
  16466. others who cannot use the 0.2.2 stable series. All others should be
  16467. using Tor 0.2.2.x or newer.
  16468. o Security fixes (also included in 0.2.2.x):
  16469. - Replace all potentially sensitive memory comparison operations
  16470. with versions whose runtime does not depend on the data being
  16471. compared. This will help resist a class of attacks where an
  16472. adversary can use variations in timing information to learn
  16473. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  16474. implementation by Robert Ransom based partially on code by DJB.)
  16475. - Fix an assert in parsing router descriptors containing IPv6
  16476. addresses. This one took down the directory authorities when
  16477. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  16478. o Privacy/anonymity fixes (also included in 0.2.2.x):
  16479. - Clients and bridges no longer send TLS certificate chains on
  16480. outgoing OR connections. Previously, each client or bridge would
  16481. use the same cert chain for all outgoing OR connections until
  16482. its IP address changes, which allowed any relay that the client
  16483. or bridge contacted to determine which entry guards it is using.
  16484. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  16485. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  16486. no longer considers that connection as suitable for satisfying a
  16487. circuit EXTEND request. Now relays can protect clients from the
  16488. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  16489. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  16490. that they initiated. Relays could distinguish incoming bridge
  16491. connections from client connections, creating another avenue for
  16492. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  16493. Found by "frosty_un".
  16494. - When receiving a hidden service descriptor, check that it is for
  16495. the hidden service we wanted. Previously, Tor would store any
  16496. hidden service descriptors that a directory gave it, whether it
  16497. wanted them or not. This wouldn't have let an attacker impersonate
  16498. a hidden service, but it did let directories pre-seed a client
  16499. with descriptors that it didn't want. Bugfix on 0.0.6.
  16500. - Avoid linkability based on cached hidden service descriptors: forget
  16501. all hidden service descriptors cached as a client when processing a
  16502. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  16503. - Make the bridge directory authority refuse to answer directory
  16504. requests for "all" descriptors. It used to include bridge
  16505. descriptors in its answer, which was a major information leak.
  16506. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  16507. - Don't attach new streams to old rendezvous circuits after SIGNAL
  16508. NEWNYM. Previously, we would keep using an existing rendezvous
  16509. circuit if it remained open (i.e. if it were kept open by a
  16510. long-lived stream, or if a new stream were attached to it before
  16511. Tor could notice that it was old and no longer in use). Bugfix on
  16512. 0.1.1.15-rc; fixes bug 3375.
  16513. o Minor bugfixes (also included in 0.2.2.x):
  16514. - When we restart our relay, we might get a successful connection
  16515. from the outside before we've started our reachability tests,
  16516. triggering a warning: "ORPort found reachable, but I have no
  16517. routerinfo yet. Failing to inform controller of success." This
  16518. bug was harmless unless Tor is running under a controller
  16519. like Vidalia, in which case the controller would never get a
  16520. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  16521. fixes bug 1172.
  16522. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  16523. enabled. Fixes bug 1526.
  16524. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  16525. anything since 0.2.1.16-rc.
  16526. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  16527. None of the cases where we did this before were wrong, but by making
  16528. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  16529. - Fix a rare crash bug that could occur when a client was configured
  16530. with a large number of bridges. Fixes bug 2629; bugfix on
  16531. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  16532. - Correct the warning displayed when a rendezvous descriptor exceeds
  16533. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  16534. John Brooks.
  16535. - Fix an uncommon assertion failure when running with DNSPort under
  16536. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  16537. - When warning about missing zlib development packages during compile,
  16538. give the correct package names. Bugfix on 0.2.0.1-alpha.
  16539. - Require that introduction point keys and onion keys have public
  16540. exponent 65537. Bugfix on 0.2.0.10-alpha.
  16541. - Do not crash when our configuration file becomes unreadable, for
  16542. example due to a permissions change, between when we start up
  16543. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  16544. on 0.0.9pre6.
  16545. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  16546. Fixes bug 3208.
  16547. - Always NUL-terminate the sun_path field of a sockaddr_un before
  16548. passing it to the kernel. (Not a security issue: kernels are
  16549. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  16550. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  16551. - Don't stack-allocate the list of supplementary GIDs when we're
  16552. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  16553. could take up to 256K, which is way too much stack. Found by
  16554. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  16555. o Minor bugfixes (only in 0.2.1.x):
  16556. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  16557. rely on them. Bugfix on 0.2.1.30.
  16558. - Use git revisions instead of svn revisions when generating our
  16559. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  16560. o Minor features (also included in 0.2.2.x):
  16561. - Adjust the expiration time on our SSL session certificates to
  16562. better match SSL certs seen in the wild. Resolves ticket 4014.
  16563. - Allow nameservers with IPv6 address. Resolves bug 2574.
  16564. - Update to the October 4 2011 Maxmind GeoLite Country database.
  16565. Changes in version 0.2.2.33 - 2011-09-13
  16566. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  16567. TLS handshake that makes relays and bridges that run this new version
  16568. reachable from Iran again.
  16569. o Major bugfixes:
  16570. - Avoid an assertion failure when reloading a configuration with
  16571. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  16572. 3923; bugfix on 0.2.2.25-alpha.
  16573. o Minor features (security):
  16574. - Check for replays of the public-key encrypted portion of an
  16575. INTRODUCE1 cell, in addition to the current check for replays of
  16576. the g^x value. This prevents a possible class of active attacks
  16577. by an attacker who controls both an introduction point and a
  16578. rendezvous point, and who uses the malleability of AES-CTR to
  16579. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  16580. that these attacks are infeasible (requiring the attacker to send
  16581. on the order of zettabytes of altered cells in a short interval),
  16582. but we'd rather block them off in case there are any classes of
  16583. this attack that we missed. Reported by Willem Pinckaers.
  16584. o Minor features:
  16585. - Adjust the expiration time on our SSL session certificates to
  16586. better match SSL certs seen in the wild. Resolves ticket 4014.
  16587. - Change the default required uptime for a relay to be accepted as
  16588. a HSDir (hidden service directory) from 24 hours to 25 hours.
  16589. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  16590. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  16591. authorities to abstain from voting on assignment of the HSDir
  16592. consensus flag. Related to bug 2649.
  16593. - Update to the September 6 2011 Maxmind GeoLite Country database.
  16594. o Minor bugfixes (documentation and log messages):
  16595. - Correct the man page to explain that HashedControlPassword and
  16596. CookieAuthentication can both be set, in which case either method
  16597. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  16598. when we decided to allow these config options to both be set. Issue
  16599. raised by bug 3898.
  16600. - Demote the 'replay detected' log message emitted when a hidden
  16601. service receives the same Diffie-Hellman public key in two different
  16602. INTRODUCE2 cells to info level. A normal Tor client can cause that
  16603. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  16604. fixes part of bug 2442.
  16605. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  16606. level. There is nothing that a hidden service's operator can do
  16607. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  16608. of bug 2442.
  16609. - Clarify a log message specifying the characters permitted in
  16610. HiddenServiceAuthorizeClient client names. Previously, the log
  16611. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  16612. given the impression that every ASCII character between "+" and "_"
  16613. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  16614. o Build fixes:
  16615. - Provide a substitute implementation of lround() for MSVC, which
  16616. apparently lacks it. Patch from Gisle Vanem.
  16617. - Clean up some code issues that prevented Tor from building on older
  16618. BSDs. Fixes bug 3894; reported by "grarpamp".
  16619. - Search for a platform-specific version of "ar" when cross-compiling.
  16620. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  16621. Changes in version 0.2.2.32 - 2011-08-27
  16622. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  16623. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  16624. a founder of the PETS community, a leader in our field, a mentor,
  16625. and a friend. He left us with these words: "I had the possibility
  16626. to contribute to this world that is not as it should be. I hope I
  16627. could help in some areas to make the world a better place, and that
  16628. I could also encourage other people to be engaged in improving the
  16629. world. Please, stay engaged. This world needs you, your love, your
  16630. initiative -- now I cannot be part of that anymore."
  16631. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  16632. ready. More than two years in the making, this release features improved
  16633. client performance and hidden service reliability, better compatibility
  16634. for Android, correct behavior for bridges that listen on more than
  16635. one address, more extensible and flexible directory object handling,
  16636. better reporting of network statistics, improved code security, and
  16637. many many other features and bugfixes.
  16638. o Major features (client performance):
  16639. - When choosing which cells to relay first, relays now favor circuits
  16640. that have been quiet recently, to provide lower latency for
  16641. low-volume circuits. By default, relays enable or disable this
  16642. feature based on a setting in the consensus. They can override
  16643. this default by using the new "CircuitPriorityHalflife" config
  16644. option. Design and code by Ian Goldberg, Can Tang, and Chris
  16645. Alexander.
  16646. - Directory authorities now compute consensus weightings that instruct
  16647. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  16648. and no flag. Clients use these weightings to distribute network load
  16649. more evenly across these different relay types. The weightings are
  16650. in the consensus so we can change them globally in the future. Extra
  16651. thanks to "outofwords" for finding some nasty security bugs in
  16652. the first implementation of this feature.
  16653. o Major features (client performance, circuit build timeout):
  16654. - Tor now tracks how long it takes to build client-side circuits
  16655. over time, and adapts its timeout to local network performance.
  16656. Since a circuit that takes a long time to build will also provide
  16657. bad performance, we get significant latency improvements by
  16658. discarding the slowest 20% of circuits. Specifically, Tor creates
  16659. circuits more aggressively than usual until it has enough data
  16660. points for a good timeout estimate. Implements proposal 151.
  16661. - Circuit build timeout constants can be controlled by consensus
  16662. parameters. We set good defaults for these parameters based on
  16663. experimentation on broadband and simulated high-latency links.
  16664. - Circuit build time learning can be disabled via consensus parameter
  16665. or by the client via a LearnCircuitBuildTimeout config option. We
  16666. also automatically disable circuit build time calculation if either
  16667. AuthoritativeDirectory is set, or if we fail to write our state
  16668. file. Implements ticket 1296.
  16669. o Major features (relays use their capacity better):
  16670. - Set SO_REUSEADDR socket option on all sockets, not just
  16671. listeners. This should help busy exit nodes avoid running out of
  16672. useable ports just because all the ports have been used in the
  16673. near past. Resolves issue 2850.
  16674. - Relays now save observed peak bandwidth throughput rates to their
  16675. state file (along with total usage, which was already saved),
  16676. so that they can determine their correct estimated bandwidth on
  16677. restart. Resolves bug 1863, where Tor relays would reset their
  16678. estimated bandwidth to 0 after restarting.
  16679. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  16680. should give us approximately 40-50% more Guard-flagged nodes,
  16681. improving the anonymity the Tor network can provide and also
  16682. decreasing the dropoff in throughput that relays experience when
  16683. they first get the Guard flag.
  16684. - Directory authorities now take changes in router IP address and
  16685. ORPort into account when determining router stability. Previously,
  16686. if a router changed its IP or ORPort, the authorities would not
  16687. treat it as having any downtime for the purposes of stability
  16688. calculation, whereas clients would experience downtime since the
  16689. change would take a while to propagate to them. Resolves issue 1035.
  16690. - New AccelName and AccelDir options add support for dynamic OpenSSL
  16691. hardware crypto acceleration engines.
  16692. o Major features (relays control their load better):
  16693. - Exit relays now try harder to block exit attempts from unknown
  16694. relays, to make it harder for people to use them as one-hop proxies
  16695. a la tortunnel. Controlled by the refuseunknownexits consensus
  16696. parameter (currently enabled), or you can override it on your
  16697. relay with the RefuseUnknownExits torrc option. Resolves bug 1751;
  16698. based on a variant of proposal 163.
  16699. - Add separate per-conn write limiting to go with the per-conn read
  16700. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  16701. but never per-conn write limits.
  16702. - New consensus params "bwconnrate" and "bwconnburst" to let us
  16703. rate-limit client connections as they enter the network. It's
  16704. controlled in the consensus so we can turn it on and off for
  16705. experiments. It's starting out off. Based on proposal 163.
  16706. o Major features (controllers):
  16707. - Export GeoIP information on bridge usage to controllers even if we
  16708. have not yet been running for 24 hours. Now Vidalia bridge operators
  16709. can get more accurate and immediate feedback about their
  16710. contributions to the network.
  16711. - Add an __OwningControllerProcess configuration option and a
  16712. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  16713. that when it exits, Tor will shut down. Implements feature 3049.
  16714. o Major features (directory authorities):
  16715. - Directory authorities now create, vote on, and serve multiple
  16716. parallel formats of directory data as part of their voting process.
  16717. Partially implements Proposal 162: "Publish the consensus in
  16718. multiple flavors".
  16719. - Directory authorities now agree on and publish small summaries
  16720. of router information that clients can use in place of regular
  16721. server descriptors. This transition will allow Tor 0.2.3 clients
  16722. to use far less bandwidth for downloading information about the
  16723. network. Begins the implementation of Proposal 158: "Clients
  16724. download consensus + microdescriptors".
  16725. - The directory voting system is now extensible to use multiple hash
  16726. algorithms for signatures and resource selection. Newer formats
  16727. are signed with SHA256, with a possibility for moving to a better
  16728. hash algorithm in the future.
  16729. - Directory authorities can now vote on arbitrary integer values as
  16730. part of the consensus process. This is designed to help set
  16731. network-wide parameters. Implements proposal 167.
  16732. o Major features and bugfixes (node selection):
  16733. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  16734. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and Strict*Nodes
  16735. options. Previously, we had been ambiguous in describing what
  16736. counted as an "exit" node, and what operations exactly "StrictNodes
  16737. 0" would permit. This created confusion when people saw nodes built
  16738. through unexpected circuits, and made it hard to tell real bugs from
  16739. surprises. Now the intended behavior is:
  16740. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  16741. a node that delivers user traffic outside the Tor network.
  16742. . "Entry", in the context of EntryNodes, means a node used as the
  16743. first hop of a multihop circuit. It doesn't include direct
  16744. connections to directory servers.
  16745. . "ExcludeNodes" applies to all nodes.
  16746. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  16747. StrictNodes is set, Tor should avoid all nodes listed in
  16748. ExcludeNodes, even when it will make user requests fail. When
  16749. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  16750. whenever it can, except when it must use an excluded node to
  16751. perform self-tests, connect to a hidden service, provide a
  16752. hidden service, fulfill a .exit request, upload directory
  16753. information, or fetch directory information.
  16754. Collectively, the changes to implement the behavior fix bug 1090.
  16755. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  16756. change during a config reload, mark and discard all our origin
  16757. circuits. This fix should address edge cases where we change the
  16758. config options and but then choose a circuit that we created before
  16759. the change.
  16760. - Make EntryNodes config option much more aggressive even when
  16761. StrictNodes is not set. Before it would prepend your requested
  16762. entrynodes to your list of guard nodes, but feel free to use others
  16763. after that. Now it chooses only from your EntryNodes if any of
  16764. those are available, and only falls back to others if a) they're
  16765. all down and b) StrictNodes is not set.
  16766. - Now we refresh your entry guards from EntryNodes at each consensus
  16767. fetch -- rather than just at startup and then they slowly rot as
  16768. the network changes.
  16769. - Add support for the country code "{??}" in torrc options like
  16770. ExcludeNodes, to indicate all routers of unknown country. Closes
  16771. bug 1094.
  16772. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  16773. a node is listed in both, it's treated as excluded.
  16774. - ExcludeNodes now applies to directory nodes -- as a preference if
  16775. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  16776. Don't exclude all the directory authorities and set StrictNodes to 1
  16777. unless you really want your Tor to break.
  16778. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  16779. - ExcludeExitNodes now overrides .exit requests.
  16780. - We don't use bridges listed in ExcludeNodes.
  16781. - When StrictNodes is 1:
  16782. . We now apply ExcludeNodes to hidden service introduction points
  16783. and to rendezvous points selected by hidden service users. This
  16784. can make your hidden service less reliable: use it with caution!
  16785. . If we have used ExcludeNodes on ourself, do not try relay
  16786. reachability self-tests.
  16787. . If we have excluded all the directory authorities, we will not
  16788. even try to upload our descriptor if we're a relay.
  16789. . Do not honor .exit requests to an excluded node.
  16790. - When the set of permitted nodes changes, we now remove any mappings
  16791. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  16792. 0.1.0.1-rc.
  16793. - We never cannibalize a circuit that had excluded nodes on it, even
  16794. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  16795. - Improve log messages related to excluded nodes.
  16796. o Major features (misc):
  16797. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  16798. to help Tor build correctly for Android phones.
  16799. - The options SocksPort, ControlPort, and so on now all accept a
  16800. value "auto" that opens a socket on an OS-selected port. A
  16801. new ControlPortWriteToFile option tells Tor to write its
  16802. actual control port or ports to a chosen file. If the option
  16803. ControlPortFileGroupReadable is set, the file is created as
  16804. group-readable. Now users can run two Tor clients on the same
  16805. system without needing to manually mess with parameters. Resolves
  16806. part of ticket 3076.
  16807. - Tor now supports tunneling all of its outgoing connections over
  16808. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  16809. configuration options. Code by Christopher Davis.
  16810. o Code security improvements:
  16811. - Replace all potentially sensitive memory comparison operations
  16812. with versions whose runtime does not depend on the data being
  16813. compared. This will help resist a class of attacks where an
  16814. adversary can use variations in timing information to learn
  16815. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  16816. implementation by Robert Ransom based partially on code by DJB.)
  16817. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  16818. Prevention (DEP) by default on Windows to make it harder for
  16819. attackers to exploit vulnerabilities. Patch from John Brooks.
  16820. - New "--enable-gcc-hardening" ./configure flag (off by default)
  16821. to turn on gcc compile time hardening options. It ensures
  16822. that signed ints have defined behavior (-fwrapv), enables
  16823. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  16824. with canaries (-fstack-protector-all), turns on ASLR protection if
  16825. supported by the kernel (-fPIE, -pie), and adds additional security
  16826. related warnings. Verified to work on Mac OS X and Debian Lenny.
  16827. - New "--enable-linker-hardening" ./configure flag (off by default)
  16828. to turn on ELF specific hardening features (relro, now). This does
  16829. not work with Mac OS X or any other non-ELF binary format.
  16830. - Always search the Windows system directory for system DLLs, and
  16831. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  16832. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  16833. current and future memory pages via mlockall(). On supported
  16834. platforms (modern Linux and probably BSD but not Windows or OS X),
  16835. this should effectively disable any and all attempts to page out
  16836. memory. This option requires that you start your Tor as root --
  16837. if you use DisableAllSwap, please consider using the User option
  16838. to properly reduce the privileges of your Tor.
  16839. o Major bugfixes (crashes):
  16840. - Fix crash bug on platforms where gmtime and localtime can return
  16841. NULL. Windows 7 users were running into this one. Fixes part of bug
  16842. 2077. Bugfix on all versions of Tor. Found by boboper.
  16843. - Introduce minimum/maximum values that clients will believe
  16844. from the consensus. Now we'll have a better chance to avoid crashes
  16845. or worse when a consensus param has a weird value.
  16846. - Fix a rare crash bug that could occur when a client was configured
  16847. with a large number of bridges. Fixes bug 2629; bugfix on
  16848. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  16849. - Do not crash when our configuration file becomes unreadable, for
  16850. example due to a permissions change, between when we start up
  16851. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  16852. on 0.0.9pre6.
  16853. - If we're in the pathological case where there's no exit bandwidth
  16854. but there is non-exit bandwidth, or no guard bandwidth but there
  16855. is non-guard bandwidth, don't crash during path selection. Bugfix
  16856. on 0.2.0.3-alpha.
  16857. - Fix a crash bug when trying to initialize the evdns module in
  16858. Libevent 2. Bugfix on 0.2.1.16-rc.
  16859. o Major bugfixes (stability):
  16860. - Fix an assert in parsing router descriptors containing IPv6
  16861. addresses. This one took down the directory authorities when
  16862. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  16863. - Fix an uncommon assertion failure when running with DNSPort under
  16864. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  16865. - Treat an unset $HOME like an empty $HOME rather than triggering an
  16866. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  16867. - More gracefully handle corrupt state files, removing asserts
  16868. in favor of saving a backup and resetting state.
  16869. - Instead of giving an assertion failure on an internal mismatch
  16870. on estimated freelist size, just log a BUG warning and try later.
  16871. Mitigates but does not fix bug 1125.
  16872. - Fix an assert that got triggered when using the TestingTorNetwork
  16873. configuration option and then issuing a GETINFO config-text control
  16874. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  16875. - If the cached cert file is unparseable, warn but don't exit.
  16876. o Privacy fixes (relays/bridges):
  16877. - Don't list Windows capabilities in relay descriptors. We never made
  16878. use of them, and maybe it's a bad idea to publish them. Bugfix
  16879. on 0.1.1.8-alpha.
  16880. - If the Nickname configuration option isn't given, Tor would pick a
  16881. nickname based on the local hostname as the nickname for a relay.
  16882. Because nicknames are not very important in today's Tor and the
  16883. "Unnamed" nickname has been implemented, this is now problematic
  16884. behavior: It leaks information about the hostname without being
  16885. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  16886. introduced the Unnamed nickname. Reported by tagnaq.
  16887. - Maintain separate TLS contexts and certificates for incoming and
  16888. outgoing connections in bridge relays. Previously we would use the
  16889. same TLS contexts and certs for incoming and outgoing connections.
  16890. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  16891. - Maintain separate identity keys for incoming and outgoing TLS
  16892. contexts in bridge relays. Previously we would use the same
  16893. identity keys for incoming and outgoing TLS contexts. Bugfix on
  16894. 0.2.0.3-alpha; addresses the other half of bug 988.
  16895. - Make the bridge directory authority refuse to answer directory
  16896. requests for "all descriptors". It used to include bridge
  16897. descriptors in its answer, which was a major information leak.
  16898. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  16899. o Privacy fixes (clients):
  16900. - When receiving a hidden service descriptor, check that it is for
  16901. the hidden service we wanted. Previously, Tor would store any
  16902. hidden service descriptors that a directory gave it, whether it
  16903. wanted them or not. This wouldn't have let an attacker impersonate
  16904. a hidden service, but it did let directories pre-seed a client
  16905. with descriptors that it didn't want. Bugfix on 0.0.6.
  16906. - Start the process of disabling ".exit" address notation, since it
  16907. can be used for a variety of esoteric application-level attacks
  16908. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  16909. on 0.0.9rc5.
  16910. - Reject attempts at the client side to open connections to private
  16911. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  16912. a randomly chosen exit node. Attempts to do so are always
  16913. ill-defined, generally prevented by exit policies, and usually
  16914. in error. This will also help to detect loops in transparent
  16915. proxy configurations. You can disable this feature by setting
  16916. "ClientRejectInternalAddresses 0" in your torrc.
  16917. - Log a notice when we get a new control connection. Now it's easier
  16918. for security-conscious users to recognize when a local application
  16919. is knocking on their controller door. Suggested by bug 1196.
  16920. o Privacy fixes (newnym):
  16921. - Avoid linkability based on cached hidden service descriptors: forget
  16922. all hidden service descriptors cached as a client when processing a
  16923. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  16924. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  16925. DNS cache entries, and virtual address mappings: that's what
  16926. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  16927. - Don't attach new streams to old rendezvous circuits after SIGNAL
  16928. NEWNYM. Previously, we would keep using an existing rendezvous
  16929. circuit if it remained open (i.e. if it were kept open by a
  16930. long-lived stream, or if a new stream were attached to it before
  16931. Tor could notice that it was old and no longer in use). Bugfix on
  16932. 0.1.1.15-rc; fixes bug 3375.
  16933. o Major bugfixes (relay bandwidth accounting):
  16934. - Fix a bug that could break accounting on 64-bit systems with large
  16935. time_t values, making them hibernate for impossibly long intervals.
  16936. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  16937. - Fix a bug in bandwidth accounting that could make us use twice
  16938. the intended bandwidth when our interval start changes due to
  16939. daylight saving time. Now we tolerate skew in stored vs computed
  16940. interval starts: if the start of the period changes by no more than
  16941. 50% of the period's duration, we remember bytes that we transferred
  16942. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  16943. o Major bugfixes (bridges):
  16944. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  16945. on 0.2.0.3-alpha. Fixes bug 1113.
  16946. - If you configure your bridge with a known identity fingerprint,
  16947. and the bridge authority is unreachable (as it is in at least
  16948. one country now), fall back to directly requesting the descriptor
  16949. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  16950. closes bug 1138.
  16951. - Fix a bug where bridge users who configure the non-canonical
  16952. address of a bridge automatically switch to its canonical
  16953. address. If a bridge listens at more than one address, it
  16954. should be able to advertise those addresses independently and
  16955. any non-blocked addresses should continue to work. Bugfix on Tor
  16956. 0.2.0.3-alpha. Fixes bug 2510.
  16957. - If you configure Tor to use bridge A, and then quit and
  16958. configure Tor to use bridge B instead (or if you change Tor
  16959. to use bridge B via the controller), it would happily continue
  16960. to use bridge A if it's still reachable. While this behavior is
  16961. a feature if your goal is connectivity, in some scenarios it's a
  16962. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  16963. - When the controller configures a new bridge, don't wait 10 to 60
  16964. seconds before trying to fetch its descriptor. Bugfix on
  16965. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  16966. o Major bugfixes (directory authorities):
  16967. - Many relays have been falling out of the consensus lately because
  16968. not enough authorities know about their descriptor for them to get
  16969. a majority of votes. When we deprecated the v2 directory protocol,
  16970. we got rid of the only way that v3 authorities can hear from each
  16971. other about other descriptors. Now authorities examine every v3
  16972. vote for new descriptors, and fetch them from that authority. Bugfix
  16973. on 0.2.1.23.
  16974. - Authorities could be tricked into giving out the Exit flag to relays
  16975. that didn't allow exiting to any ports. This bug could screw
  16976. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  16977. 1238. Bug discovered by Martin Kowalczyk.
  16978. - If all authorities restart at once right before a consensus vote,
  16979. nobody will vote about "Running", and clients will get a consensus
  16980. with no usable relays. Instead, authorities refuse to build a
  16981. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  16982. o Major bugfixes (stream-level fairness):
  16983. - When receiving a circuit-level SENDME for a blocked circuit, try
  16984. to package cells fairly from all the streams that had previously
  16985. been blocked on that circuit. Previously, we had started with the
  16986. oldest stream, and allowed each stream to potentially exhaust
  16987. the circuit's package window. This gave older streams on any
  16988. given circuit priority over newer ones. Fixes bug 1937. Detected
  16989. originally by Camilo Viecco. This bug was introduced before the
  16990. first Tor release, in svn commit r152: it is the new winner of
  16991. the longest-lived bug prize.
  16992. - Fix a stream fairness bug that would cause newer streams on a given
  16993. circuit to get preference when reading bytes from the origin or
  16994. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  16995. introduced before the first Tor release, in svn revision r152.
  16996. - When the exit relay got a circuit-level sendme cell, it started
  16997. reading on the exit streams, even if had 500 cells queued in the
  16998. circuit queue already, so the circuit queue just grew and grew in
  16999. some cases. We fix this by not re-enabling reading on receipt of a
  17000. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  17001. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  17002. "yetonetime".
  17003. - Newly created streams were allowed to read cells onto circuits,
  17004. even if the circuit's cell queue was blocked and waiting to drain.
  17005. This created potential unfairness, as older streams would be
  17006. blocked, but newer streams would gladly fill the queue completely.
  17007. We add code to detect this situation and prevent any stream from
  17008. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  17009. fixes bug 1298.
  17010. o Major bugfixes (hidden services):
  17011. - Apply circuit timeouts to opened hidden-service-related circuits
  17012. based on the correct start time. Previously, we would apply the
  17013. circuit build timeout based on time since the circuit's creation;
  17014. it was supposed to be applied based on time since the circuit
  17015. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  17016. - Improve hidden service robustness: When we find that we have
  17017. extended a hidden service's introduction circuit to a relay not
  17018. listed as an introduction point in the HS descriptor we currently
  17019. have, retry with an introduction point from the current
  17020. descriptor. Previously we would just give up. Fixes bugs 1024 and
  17021. 1930; bugfix on 0.2.0.10-alpha.
  17022. - Directory authorities now use data collected from their own
  17023. uptime observations when choosing whether to assign the HSDir flag
  17024. to relays, instead of trusting the uptime value the relay reports in
  17025. its descriptor. This change helps prevent an attack where a small
  17026. set of nodes with frequently-changing identity keys can blackhole
  17027. a hidden service. (Only authorities need upgrade; others will be
  17028. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  17029. - Stop assigning the HSDir flag to relays that disable their
  17030. DirPort (and thus will refuse to answer directory requests). This
  17031. fix should dramatically improve the reachability of hidden services:
  17032. hidden services and hidden service clients pick six HSDir relays
  17033. to store and retrieve the hidden service descriptor, and currently
  17034. about half of the HSDir relays will refuse to work. Bugfix on
  17035. 0.2.0.10-alpha; fixes part of bug 1693.
  17036. o Major bugfixes (misc):
  17037. - Clients now stop trying to use an exit node associated with a given
  17038. destination by TrackHostExits if they fail to reach that exit node.
  17039. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  17040. - Fix a regression that caused Tor to rebind its ports if it receives
  17041. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  17042. - Remove an extra pair of quotation marks around the error
  17043. message in control-port STATUS_GENERAL BUG events. Bugfix on
  17044. 0.1.2.6-alpha; fixes bug 3732.
  17045. o Minor features (relays):
  17046. - Ensure that no empty [dirreq-](read|write)-history lines are added
  17047. to an extrainfo document. Implements ticket 2497.
  17048. - When bandwidth accounting is enabled, be more generous with how
  17049. much bandwidth we'll use up before entering "soft hibernation".
  17050. Previously, we'd refuse new connections and circuits once we'd
  17051. used up 95% of our allotment. Now, we use up 95% of our allotment,
  17052. AND make sure that we have no more than 500MB (or 3 hours of
  17053. expected traffic, whichever is lower) remaining before we enter
  17054. soft hibernation.
  17055. - Relays now log the reason for publishing a new relay descriptor,
  17056. so we have a better chance of hunting down instances of bug 1810.
  17057. Resolves ticket 3252.
  17058. - Log a little more clearly about the times at which we're no longer
  17059. accepting new connections (e.g. due to hibernating). Resolves
  17060. bug 2181.
  17061. - When AllowSingleHopExits is set, print a warning to explain to the
  17062. relay operator why most clients are avoiding her relay.
  17063. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  17064. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  17065. clients are already deprecated because of security bugs.
  17066. o Minor features (network statistics):
  17067. - Directory mirrors that set "DirReqStatistics 1" write statistics
  17068. about directory requests to disk every 24 hours. As compared to the
  17069. "--enable-geoip-stats" ./configure flag in 0.2.1.x, there are a few
  17070. improvements: 1) stats are written to disk exactly every 24 hours;
  17071. 2) estimated shares of v2 and v3 requests are determined as mean
  17072. values, not at the end of a measurement period; 3) unresolved
  17073. requests are listed with country code '??'; 4) directories also
  17074. measure download times.
  17075. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  17076. number of exit streams and transferred bytes per port to disk every
  17077. 24 hours.
  17078. - Relays that set "CellStatistics 1" write statistics on how long
  17079. cells spend in their circuit queues to disk every 24 hours.
  17080. - Entry nodes that set "EntryStatistics 1" write statistics on the
  17081. rough number and origins of connecting clients to disk every 24
  17082. hours.
  17083. - Relays that write any of the above statistics to disk and set
  17084. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  17085. their extra-info documents. Implements proposal 166.
  17086. o Minor features (GeoIP and statistics):
  17087. - Provide a log message stating which geoip file we're parsing
  17088. instead of just stating that we're parsing the geoip file.
  17089. Implements ticket 2432.
  17090. - Make sure every relay writes a state file at least every 12 hours.
  17091. Previously, a relay could go for weeks without writing its state
  17092. file, and on a crash could lose its bandwidth history, capacity
  17093. estimates, client country statistics, and so on. Addresses bug 3012.
  17094. - Relays report the number of bytes spent on answering directory
  17095. requests in extra-info descriptors similar to {read,write}-history.
  17096. Implements enhancement 1790.
  17097. - Report only the top 10 ports in exit-port stats in order not to
  17098. exceed the maximum extra-info descriptor length of 50 KB. Implements
  17099. task 2196.
  17100. - If writing the state file to disk fails, wait up to an hour before
  17101. retrying again, rather than trying again each second. Fixes bug
  17102. 2346; bugfix on Tor 0.1.1.3-alpha.
  17103. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  17104. when we switch from being a public relay to a bridge. Otherwise
  17105. there will still be clients that see the relay in their consensus,
  17106. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes
  17107. bug 932.
  17108. - Update to the August 2 2011 Maxmind GeoLite Country database.
  17109. o Minor features (clients):
  17110. - When expiring circuits, use microsecond timers rather than
  17111. one-second timers. This can avoid an unpleasant situation where a
  17112. circuit is launched near the end of one second and expired right
  17113. near the beginning of the next, and prevent fluctuations in circuit
  17114. timeout values.
  17115. - If we've configured EntryNodes and our network goes away and/or all
  17116. our entrynodes get marked down, optimistically retry them all when
  17117. a new socks application request appears. Fixes bug 1882.
  17118. - Always perform router selections using weighted relay bandwidth,
  17119. even if we don't need a high capacity circuit at the time. Non-fast
  17120. circuits now only differ from fast ones in that they can use relays
  17121. not marked with the Fast flag. This "feature" could turn out to
  17122. be a horrible bug; we should investigate more before it goes into
  17123. a stable release.
  17124. - When we run out of directory information such that we can't build
  17125. circuits, but then get enough that we can build circuits, log when
  17126. we actually construct a circuit, so the user has a better chance of
  17127. knowing what's going on. Fixes bug 1362.
  17128. - Log SSL state transitions at debug level during handshake, and
  17129. include SSL states in error messages. This may help debug future
  17130. SSL handshake issues.
  17131. o Minor features (directory authorities):
  17132. - When a router changes IP address or port, authorities now launch
  17133. a new reachability test for it. Implements ticket 1899.
  17134. - Directory authorities now reject relays running any versions of
  17135. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  17136. known bugs that keep RELAY_EARLY cells from working on rendezvous
  17137. circuits. Followup to fix for bug 2081.
  17138. - Directory authorities now reject relays running any version of Tor
  17139. older than 0.2.0.26-rc. That version is the earliest that fetches
  17140. current directory information correctly. Fixes bug 2156.
  17141. - Directory authorities now do an immediate reachability check as soon
  17142. as they hear about a new relay. This change should slightly reduce
  17143. the time between setting up a relay and getting listed as running
  17144. in the consensus. It should also improve the time between setting
  17145. up a bridge and seeing use by bridge users.
  17146. - Directory authorities no longer launch a TLS connection to every
  17147. relay as they startup. Now that we have 2k+ descriptors cached,
  17148. the resulting network hiccup is becoming a burden. Besides,
  17149. authorities already avoid voting about Running for the first half
  17150. hour of their uptime.
  17151. - Directory authorities now log the source of a rejected POSTed v3
  17152. networkstatus vote, so we can track failures better.
  17153. - Backport code from 0.2.3.x that allows directory authorities to
  17154. clean their microdescriptor caches. Needed to resolve bug 2230.
  17155. o Minor features (hidden services):
  17156. - Use computed circuit-build timeouts to decide when to launch
  17157. parallel introduction circuits for hidden services. (Previously,
  17158. we would retry after 15 seconds.)
  17159. - Don't allow v0 hidden service authorities to act as clients.
  17160. Required by fix for bug 3000.
  17161. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  17162. by fix for bug 3000.
  17163. - Make hidden services work better in private Tor networks by not
  17164. requiring any uptime to join the hidden service descriptor
  17165. DHT. Implements ticket 2088.
  17166. - Log (at info level) when purging pieces of hidden-service-client
  17167. state because of SIGNAL NEWNYM.
  17168. o Minor features (controller interface):
  17169. - New "GETINFO net/listeners/(type)" controller command to return
  17170. a list of addresses and ports that are bound for listeners for a
  17171. given connection type. This is useful when the user has configured
  17172. "SocksPort auto" and the controller needs to know which port got
  17173. chosen. Resolves another part of ticket 3076.
  17174. - Have the controller interface give a more useful message than
  17175. "Internal Error" in response to failed GETINFO requests.
  17176. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  17177. event, to give information on the current rate of circuit timeouts
  17178. over our stored history.
  17179. - The 'EXTENDCIRCUIT' control port command can now be used with
  17180. a circ id of 0 and no path. This feature will cause Tor to build
  17181. a new 'fast' general purpose circuit using its own path selection
  17182. algorithms.
  17183. - Added a BUILDTIMEOUT_SET controller event to describe changes
  17184. to the circuit build timeout.
  17185. - New controller command "getinfo config-text". It returns the
  17186. contents that Tor would write if you send it a SAVECONF command,
  17187. so the controller can write the file to disk itself.
  17188. o Minor features (controller protocol):
  17189. - Add a new ControlSocketsGroupWritable configuration option: when
  17190. it is turned on, ControlSockets are group-writeable by the default
  17191. group of the current user. Patch by Jérémy Bobbio; implements
  17192. ticket 2972.
  17193. - Tor now refuses to create a ControlSocket in a directory that is
  17194. world-readable (or group-readable if ControlSocketsGroupWritable
  17195. is 0). This is necessary because some operating systems do not
  17196. enforce permissions on an AF_UNIX sockets. Permissions on the
  17197. directory holding the socket, however, seems to work everywhere.
  17198. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  17199. not. This would lead to a cookie that is still not group readable.
  17200. Closes bug 1843. Suggested by katmagic.
  17201. - Future-proof the controller protocol a bit by ignoring keyword
  17202. arguments we do not recognize.
  17203. o Minor features (more useful logging):
  17204. - Revise most log messages that refer to nodes by nickname to
  17205. instead use the "$key=nickname at address" format. This should be
  17206. more useful, especially since nicknames are less and less likely
  17207. to be unique. Resolves ticket 3045.
  17208. - When an HTTPS proxy reports "403 Forbidden", we now explain
  17209. what it means rather than calling it an unexpected status code.
  17210. Closes bug 2503. Patch from Michael Yakubovich.
  17211. - Rate-limit a warning about failures to download v2 networkstatus
  17212. documents. Resolves part of bug 1352.
  17213. - Rate-limit the "your application is giving Tor only an IP address"
  17214. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  17215. - Rate-limit "Failed to hand off onionskin" warnings.
  17216. - When logging a rate-limited warning, we now mention how many messages
  17217. got suppressed since the last warning.
  17218. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  17219. 2 no signature, 4 required" messages about consensus signatures
  17220. easier to read, and make sure they get logged at the same severity
  17221. as the messages explaining which keys are which. Fixes bug 1290.
  17222. - Don't warn when we have a consensus that we can't verify because
  17223. of missing certificates, unless those certificates are ones
  17224. that we have been trying and failing to download. Fixes bug 1145.
  17225. o Minor features (log domains):
  17226. - Add documentation for configuring logging at different severities in
  17227. different log domains. We've had this feature since 0.2.1.1-alpha,
  17228. but for some reason it never made it into the manpage. Fixes
  17229. bug 2215.
  17230. - Make it simpler to specify "All log domains except for A and B".
  17231. Previously you needed to say "[*,~A,~B]". Now you can just say
  17232. "[~A,~B]".
  17233. - Add a "LogMessageDomains 1" option to include the domains of log
  17234. messages along with the messages. Without this, there's no way
  17235. to use log domains without reading the source or doing a lot
  17236. of guessing.
  17237. - Add a new "Handshake" log domain for activities that happen
  17238. during the TLS handshake.
  17239. o Minor features (build process):
  17240. - Make compilation with clang possible when using
  17241. "--enable-gcc-warnings" by removing two warning options that clang
  17242. hasn't implemented yet and by fixing a few warnings. Resolves
  17243. ticket 2696.
  17244. - Detect platforms that brokenly use a signed size_t, and refuse to
  17245. build there. Found and analyzed by doorss and rransom.
  17246. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  17247. Resolves bug 2314.
  17248. - Add support for statically linking zlib by specifying
  17249. "--enable-static-zlib", to go with our support for statically
  17250. linking openssl and libevent. Resolves bug 1358.
  17251. - Instead of adding the svn revision to the Tor version string, report
  17252. the git commit (when we're building from a git checkout).
  17253. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  17254. system headers.
  17255. - New --digests command-line switch to output the digests of the
  17256. source files Tor was built with.
  17257. - Generate our manpage and HTML documentation using Asciidoc. This
  17258. change should make it easier to maintain the documentation, and
  17259. produce nicer HTML. The build process fails if asciidoc cannot
  17260. be found and building with asciidoc isn't disabled (via the
  17261. "--disable-asciidoc" argument to ./configure. Skipping the manpage
  17262. speeds up the build considerably.
  17263. o Minor features (options / torrc):
  17264. - Warn when the same option is provided more than once in a torrc
  17265. file, on the command line, or in a single SETCONF statement, and
  17266. the option is one that only accepts a single line. Closes bug 1384.
  17267. - Warn when the user configures two HiddenServiceDir lines that point
  17268. to the same directory. Bugfix on 0.0.6 (the version introducing
  17269. HiddenServiceDir); fixes bug 3289.
  17270. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  17271. do individual connection-level rate limiting of clients. The torrc
  17272. config options with the same names trump the consensus params, if
  17273. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  17274. consensus params which were broken from 0.2.2.7-alpha through
  17275. 0.2.2.14-alpha. Closes bug 1947.
  17276. - New config option "WarnUnsafeSocks 0" disables the warning that
  17277. occurs whenever Tor receives a socks handshake using a version of
  17278. the socks protocol that can only provide an IP address (rather
  17279. than a hostname). Setups that do DNS locally over Tor are fine,
  17280. and we shouldn't spam the logs in that case.
  17281. - New config option "CircuitStreamTimeout" to override our internal
  17282. timeout schedule for how many seconds until we detach a stream from
  17283. a circuit and try a new circuit. If your network is particularly
  17284. slow, you might want to set this to a number like 60.
  17285. - New options for SafeLogging to allow scrubbing only log messages
  17286. generated while acting as a relay. Specify "SafeLogging relay" if
  17287. you want to ensure that only messages known to originate from
  17288. client use of the Tor process will be logged unsafely.
  17289. - Time and memory units in the configuration file can now be set to
  17290. fractional units. For example, "2.5 GB" is now a valid value for
  17291. AccountingMax.
  17292. - Support line continuations in the torrc config file. If a line
  17293. ends with a single backslash character, the newline is ignored, and
  17294. the configuration value is treated as continuing on the next line.
  17295. Resolves bug 1929.
  17296. o Minor features (unit tests):
  17297. - Revise our unit tests to use the "tinytest" framework, so we
  17298. can run tests in their own processes, have smarter setup/teardown
  17299. code, and so on. The unit test code has moved to its own
  17300. subdirectory, and has been split into multiple modules.
  17301. - Add a unit test for cross-platform directory-listing code.
  17302. - Add some forgotten return value checks during unit tests. Found
  17303. by coverity.
  17304. - Use GetTempDir to find the proper temporary directory location on
  17305. Windows when generating temporary files for the unit tests. Patch
  17306. by Gisle Vanem.
  17307. o Minor features (misc):
  17308. - The "torify" script now uses torsocks where available.
  17309. - Make Libevent log messages get delivered to controllers later,
  17310. and not from inside the Libevent log handler. This prevents unsafe
  17311. reentrant Libevent calls while still letting the log messages
  17312. get through.
  17313. - Certain Tor clients (such as those behind check.torproject.org) may
  17314. want to fetch the consensus in an extra early manner. To enable this
  17315. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  17316. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  17317. as only certain clients who must have this information sooner should
  17318. set this option.
  17319. - Expand homedirs passed to tor-checkkey. This should silence a
  17320. coverity complaint about passing a user-supplied string into
  17321. open() without checking it.
  17322. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  17323. used on bridges, and it makes bridge scanning somewhat easier.
  17324. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  17325. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  17326. o Minor bugfixes (relays):
  17327. - When a relay decides that its DNS is too broken for it to serve
  17328. as an exit server, it advertised itself as a non-exit, but
  17329. continued to act as an exit. This could create accidental
  17330. partitioning opportunities for users. Instead, if a relay is
  17331. going to advertise reject *:* as its exit policy, it should
  17332. really act with exit policy "reject *:*". Fixes bug 2366.
  17333. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  17334. - Publish a router descriptor even if generating an extra-info
  17335. descriptor fails. Previously we would not publish a router
  17336. descriptor without an extra-info descriptor; this can cause fast
  17337. exit relays collecting exit-port statistics to drop from the
  17338. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  17339. - When we're trying to guess whether we know our IP address as
  17340. a relay, we would log various ways that we failed to guess
  17341. our address, but never log that we ended up guessing it
  17342. successfully. Now add a log line to help confused and anxious
  17343. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  17344. - For bandwidth accounting, calculate our expected bandwidth rate
  17345. based on the time during which we were active and not in
  17346. soft-hibernation during the last interval. Previously, we were
  17347. also considering the time spent in soft-hibernation. If this
  17348. was a long time, we would wind up underestimating our bandwidth
  17349. by a lot, and skewing our wakeup time towards the start of the
  17350. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  17351. - Demote a confusing TLS warning that relay operators might get when
  17352. someone tries to talk to their ORPort. It is not the operator's
  17353. fault, nor can they do anything about it. Fixes bug 1364; bugfix
  17354. on 0.2.0.14-alpha.
  17355. - Change "Application request when we're believed to be offline."
  17356. notice to "Application request when we haven't used client
  17357. functionality lately.", to clarify that it's not an error. Bugfix
  17358. on 0.0.9.3; fixes bug 1222.
  17359. o Minor bugfixes (bridges):
  17360. - When a client starts or stops using bridges, never use a circuit
  17361. that was built before the configuration change. This behavior could
  17362. put at risk a user who uses bridges to ensure that her traffic
  17363. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  17364. bug 3200.
  17365. - Do not reset the bridge descriptor download status every time we
  17366. re-parse our configuration or get a configuration change. Fixes
  17367. bug 3019; bugfix on 0.2.0.3-alpha.
  17368. - Users couldn't configure a regular relay to be their bridge. It
  17369. didn't work because when Tor fetched the bridge descriptor, it found
  17370. that it already had it, and didn't realize that the purpose of the
  17371. descriptor had changed. Now we replace routers with a purpose other
  17372. than bridge with bridge descriptors when fetching them. Bugfix on
  17373. 0.1.1.9-alpha. Fixes bug 1776.
  17374. - In the special case where you configure a public exit relay as your
  17375. bridge, Tor would be willing to use that exit relay as the last
  17376. hop in your circuit as well. Now we fail that circuit instead.
  17377. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  17378. o Minor bugfixes (clients):
  17379. - We now ask the other side of a stream (the client or the exit)
  17380. for more data on that stream when the amount of queued data on
  17381. that stream dips low enough. Previously, we wouldn't ask the
  17382. other side for more data until either it sent us more data (which
  17383. it wasn't supposed to do if it had exhausted its window!) or we
  17384. had completely flushed all our queued data. This flow control fix
  17385. should improve throughput. Fixes bug 2756; bugfix on the earliest
  17386. released versions of Tor (svn commit r152).
  17387. - When a client finds that an origin circuit has run out of 16-bit
  17388. stream IDs, we now mark it as unusable for new streams. Previously,
  17389. we would try to close the entire circuit. Bugfix on 0.0.6.
  17390. - Make it explicit that we don't cannibalize one-hop circuits. This
  17391. happens in the wild, but doesn't turn out to be a problem because
  17392. we fortunately don't use those circuits. Many thanks to outofwords
  17393. for the initial analysis and to swissknife who confirmed that
  17394. two-hop circuits are actually created.
  17395. - Resolve an edge case in path weighting that could make us misweight
  17396. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  17397. - Make the DNSPort option work with libevent 2.x. Don't alter the
  17398. behavior for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  17399. o Minor bugfixes (directory authorities):
  17400. - Make directory authorities more accurate at recording when
  17401. relays that have failed several reachability tests became
  17402. unreachable, so we can provide more accuracy at assigning Stable,
  17403. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  17404. - Directory authorities are now more robust to hops back in time
  17405. when calculating router stability. Previously, if a run of uptime
  17406. or downtime appeared to be negative, the calculation could give
  17407. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  17408. bug 1035.
  17409. - Directory authorities will now attempt to download consensuses
  17410. if their own efforts to make a live consensus have failed. This
  17411. change means authorities that restart will fetch a valid
  17412. consensus, and it means authorities that didn't agree with the
  17413. current consensus will still fetch and serve it if it has enough
  17414. signatures. Bugfix on 0.2.0.9-alpha; fixes bug 1300.
  17415. - Never vote for a server as "Running" if we have a descriptor for
  17416. it claiming to be hibernating, and that descriptor was published
  17417. more recently than our last contact with the server. Bugfix on
  17418. 0.2.0.3-alpha; fixes bug 911.
  17419. - Directory authorities no longer change their opinion of, or vote on,
  17420. whether a router is Running, unless they have themselves been
  17421. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  17422. Fixes bug 1023.
  17423. o Minor bugfixes (hidden services):
  17424. - Log malformed requests for rendezvous descriptors as protocol
  17425. warnings, not warnings. Also, use a more informative log message
  17426. in case someone sees it at log level warning without prior
  17427. info-level messages. Fixes bug 2748; bugfix on 0.2.0.10-alpha.
  17428. - Accept hidden service descriptors if we think we might be a hidden
  17429. service directory, regardless of what our consensus says. This
  17430. helps robustness, since clients and hidden services can sometimes
  17431. have a more up-to-date view of the network consensus than we do,
  17432. and if they think that the directory authorities list us a HSDir,
  17433. we might actually be one. Related to bug 2732; bugfix on
  17434. 0.2.0.10-alpha.
  17435. - Correct the warning displayed when a rendezvous descriptor exceeds
  17436. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  17437. John Brooks.
  17438. - Clients and hidden services now use HSDir-flagged relays for hidden
  17439. service descriptor downloads and uploads even if the relays have no
  17440. DirPort set and the client has disabled TunnelDirConns. This will
  17441. eventually allow us to give the HSDir flag to relays with no
  17442. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  17443. - Only limit the lengths of single HS descriptors, even when multiple
  17444. HS descriptors are published to an HSDir relay in a single POST
  17445. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  17446. o Minor bugfixes (controllers):
  17447. - Allow GETINFO fingerprint to return a fingerprint even when
  17448. we have not yet built a router descriptor. Fixes bug 3577;
  17449. bugfix on 0.2.0.1-alpha.
  17450. - Send a SUCCEEDED stream event to the controller when a reverse
  17451. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  17452. discovered by katmagic.
  17453. - Remove a trailing asterisk from "exit-policy/default" in the
  17454. output of the control port command "GETINFO info/names". Bugfix
  17455. on 0.1.2.5-alpha.
  17456. - Make the SIGNAL DUMP controller command work on FreeBSD. Fixes bug
  17457. 2917. Bugfix on 0.1.1.1-alpha.
  17458. - When we restart our relay, we might get a successful connection
  17459. from the outside before we've started our reachability tests,
  17460. triggering a warning: "ORPort found reachable, but I have no
  17461. routerinfo yet. Failing to inform controller of success." This
  17462. bug was harmless unless Tor is running under a controller
  17463. like Vidalia, in which case the controller would never get a
  17464. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  17465. fixes bug 1172.
  17466. - When a controller changes TrackHostExits, remove mappings for
  17467. hosts that should no longer have their exits tracked. Bugfix on
  17468. 0.1.0.1-rc.
  17469. - When a controller changes VirtualAddrNetwork, remove any mappings
  17470. for hosts that were automapped to the old network. Bugfix on
  17471. 0.1.1.19-rc.
  17472. - When a controller changes one of the AutomapHosts* options, remove
  17473. any mappings for hosts that should no longer be automapped. Bugfix
  17474. on 0.2.0.1-alpha.
  17475. - Fix an off-by-one error in calculating some controller command
  17476. argument lengths. Fortunately, this mistake is harmless since
  17477. the controller code does redundant NUL termination too. Found by
  17478. boboper. Bugfix on 0.1.1.1-alpha.
  17479. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  17480. would return "551 Internal error" rather than "552 Unrecognized key
  17481. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  17482. - Don't spam the controller with events when we have no file
  17483. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  17484. for log messages was already solved from bug 748.)
  17485. - Emit a GUARD DROPPED controller event for a case we missed.
  17486. - Ensure DNS requests launched by "RESOLVE" commands from the
  17487. controller respect the __LeaveStreamsUnattached setconf options. The
  17488. same goes for requests launched via DNSPort or transparent
  17489. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  17490. o Minor bugfixes (config options):
  17491. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  17492. Change the limit to 512 characters by removing base64 newlines.
  17493. Fixes bug 2752. Fix by Michael Yakubovich.
  17494. - Complain if PublishServerDescriptor is given multiple arguments that
  17495. include 0 or 1. This configuration will be rejected in the future.
  17496. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  17497. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  17498. Bugfix on 0.2.0.13-alpha; closes bug 928.
  17499. o Minor bugfixes (log subsystem fixes):
  17500. - When unable to format an address as a string, report its value
  17501. as "???" rather than reusing the last formatted address. Bugfix
  17502. on 0.2.1.5-alpha.
  17503. - Be more consistent in our treatment of file system paths. "~" should
  17504. get expanded to the user's home directory in the Log config option.
  17505. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  17506. feature for the -f and --DataDirectory options.
  17507. o Minor bugfixes (memory management):
  17508. - Don't stack-allocate the list of supplementary GIDs when we're
  17509. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  17510. could take up to 256K, which is way too much stack. Found by
  17511. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  17512. - Save a couple bytes in memory allocation every time we escape
  17513. certain characters in a string. Patch from Florian Zumbiehl.
  17514. o Minor bugfixes (protocol correctness):
  17515. - When checking for 1024-bit keys, check for 1024 bits, not 128
  17516. bytes. This allows Tor to correctly discard keys of length 1017
  17517. through 1023. Bugfix on 0.0.9pre5.
  17518. - Require that introduction point keys and onion handshake keys
  17519. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  17520. on 0.2.0.10-alpha.
  17521. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  17522. than waiting forever for them to finish. Fixes bug 2330; bugfix
  17523. on 0.2.0.16-alpha. Found by doorss.
  17524. - Never relay a cell for a circuit we have already destroyed.
  17525. Between marking a circuit as closeable and finally closing it,
  17526. it may have been possible for a few queued cells to get relayed,
  17527. even though they would have been immediately dropped by the next
  17528. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  17529. - Never queue a cell for a circuit that's already been marked
  17530. for close.
  17531. - Fix a spec conformance issue: the network-status-version token
  17532. must be the first token in a v3 consensus or vote. Discovered by
  17533. "parakeep". Bugfix on 0.2.0.3-alpha.
  17534. - A networkstatus vote must contain exactly one signature. Spec
  17535. conformance issue. Bugfix on 0.2.0.3-alpha.
  17536. - When asked about a DNS record type we don't support via a
  17537. client DNSPort, reply with NOTIMPL rather than an empty
  17538. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  17539. - Make more fields in the controller protocol case-insensitive, since
  17540. control-spec.txt said they were.
  17541. o Minor bugfixes (log messages):
  17542. - Fix a log message that said "bits" while displaying a value in
  17543. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  17544. 0.2.0.1-alpha.
  17545. - Downgrade "no current certificates known for authority" message from
  17546. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  17547. - Correctly describe errors that occur when generating a TLS object.
  17548. Previously we would attribute them to a failure while generating a
  17549. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  17550. bug 1994.
  17551. - Fix an instance where a Tor directory mirror might accidentally
  17552. log the IP address of a misbehaving Tor client. Bugfix on
  17553. 0.1.0.1-rc.
  17554. - Stop logging at severity 'warn' when some other Tor client tries
  17555. to establish a circuit with us using weak DH keys. It's a protocol
  17556. violation, but that doesn't mean ordinary users need to hear about
  17557. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  17558. - If your relay can't keep up with the number of incoming create
  17559. cells, it would log one warning per failure into your logs. Limit
  17560. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  17561. o Minor bugfixes (build fixes):
  17562. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  17563. - When warning about missing zlib development packages during compile,
  17564. give the correct package names. Bugfix on 0.2.0.1-alpha.
  17565. - Fix warnings that newer versions of autoconf produce during
  17566. ./autogen.sh. These warnings appear to be harmless in our case,
  17567. but they were extremely verbose. Fixes bug 2020.
  17568. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  17569. bug 1848.
  17570. o Minor bugfixes (portability):
  17571. - Write several files in text mode, on OSes that distinguish text
  17572. mode from binary mode (namely, Windows). These files are:
  17573. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  17574. that collect those statistics; 'client_keys' and 'hostname' for
  17575. hidden services that use authentication; and (in the tor-gencert
  17576. utility) newly generated identity and signing keys. Previously,
  17577. we wouldn't specify text mode or binary mode, leading to an
  17578. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  17579. the DirRecordUsageByCountry option which would have triggered
  17580. the assertion failure was added), although this assertion failure
  17581. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  17582. - Selectively disable deprecation warnings on OS X because Lion
  17583. started deprecating the shipped copy of openssl. Fixes bug 3643.
  17584. - Use a wide type to hold sockets when built for 64-bit Windows.
  17585. Fixes bug 3270.
  17586. - Fix an issue that prevented static linking of libevent on
  17587. some platforms (notably Linux). Fixes bug 2698; bugfix on 0.2.1.23,
  17588. where we introduced the "--with-static-libevent" configure option.
  17589. - Fix a bug with our locking implementation on Windows that couldn't
  17590. correctly detect when a file was already locked. Fixes bug 2504,
  17591. bugfix on 0.2.1.6-alpha.
  17592. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  17593. enabled.
  17594. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  17595. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  17596. "piebeer".
  17597. o Minor bugfixes (code correctness):
  17598. - Always NUL-terminate the sun_path field of a sockaddr_un before
  17599. passing it to the kernel. (Not a security issue: kernels are
  17600. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  17601. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  17602. - Make connection_printf_to_buf()'s behavior sane. Its callers
  17603. expect it to emit a CRLF iff the format string ends with CRLF;
  17604. it actually emitted a CRLF iff (a) the format string ended with
  17605. CRLF or (b) the resulting string was over 1023 characters long or
  17606. (c) the format string did not end with CRLF *and* the resulting
  17607. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  17608. fixes part of bug 3407.
  17609. - Make send_control_event_impl()'s behavior sane. Its callers
  17610. expect it to always emit a CRLF at the end of the string; it
  17611. might have emitted extra control characters as well. Bugfix on
  17612. 0.1.1.9-alpha; fixes another part of bug 3407.
  17613. - Make crypto_rand_int() check the value of its input correctly.
  17614. Previously, it accepted values up to UINT_MAX, but could return a
  17615. negative number if given a value above INT_MAX+1. Found by George
  17616. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  17617. - Fix a potential null-pointer dereference while computing a
  17618. consensus. Bugfix on 0.2.0.3-alpha, found with the help of
  17619. clang's analyzer.
  17620. - If we fail to compute the identity digest of a v3 legacy keypair,
  17621. warn, and don't use a buffer-full of junk instead. Bugfix on
  17622. 0.2.1.1-alpha; fixes bug 3106.
  17623. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  17624. where if the function had ever in the future been used to check
  17625. for the presence of a too-large number, it would have given an
  17626. incorrect result. (Fortunately, we only used it for 16-bit
  17627. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  17628. - Be more careful about reporting the correct error from a failed
  17629. connect() system call. Under some circumstances, it was possible to
  17630. look at an incorrect value for errno when sending the end reason.
  17631. Bugfix on 0.1.0.1-rc.
  17632. - Correctly handle an "impossible" overflow cases in connection byte
  17633. counting, where we write or read more than 4GB on an edge connection
  17634. in a single second. Bugfix on 0.1.2.8-beta.
  17635. - Avoid a double mark-for-free warning when failing to attach a
  17636. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  17637. bug 2279.
  17638. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  17639. found by "cypherpunks". This bug was introduced before the first
  17640. Tor release, in svn commit r110.
  17641. - Fix a bug in bandwidth history state parsing that could have been
  17642. triggered if a future version of Tor ever changed the timing
  17643. granularity at which bandwidth history is measured. Bugfix on
  17644. Tor 0.1.1.11-alpha.
  17645. - Add assertions to check for overflow in arguments to
  17646. base32_encode() and base32_decode(); fix a signed-unsigned
  17647. comparison there too. These bugs are not actually reachable in Tor,
  17648. but it's good to prevent future errors too. Found by doorss.
  17649. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  17650. "memcpyfail".
  17651. - Set target port in get_interface_address6() correctly. Bugfix
  17652. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  17653. - Fix an impossible-to-actually-trigger buffer overflow in relay
  17654. descriptor generation. Bugfix on 0.1.0.15.
  17655. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  17656. o Minor bugfixes (code improvements):
  17657. - After we free an internal connection structure, overwrite it
  17658. with a different memory value than we use for overwriting a freed
  17659. internal circuit structure. Should help with debugging. Suggested
  17660. by bug 1055.
  17661. - If OpenSSL fails to make a duplicate of a private or public key, log
  17662. an error message and try to exit cleanly. May help with debugging
  17663. if bug 1209 ever remanifests.
  17664. - Some options used different conventions for uppercasing of acronyms
  17665. when comparing manpage and source. Fix those in favor of the
  17666. manpage, as it makes sense to capitalize acronyms.
  17667. - Take a first step towards making or.h smaller by splitting out
  17668. function definitions for all source files in src/or/. Leave
  17669. structures and defines in or.h for now.
  17670. - Remove a few dead assignments during router parsing. Found by
  17671. coverity.
  17672. - Don't use 1-bit wide signed bit fields. Found by coverity.
  17673. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  17674. None of the cases where we did this before were wrong, but by making
  17675. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  17676. - The memarea code now uses a sentinel value at the end of each area
  17677. to make sure nothing writes beyond the end of an area. This might
  17678. help debug some conceivable causes of bug 930.
  17679. - Always treat failure to allocate an RSA key as an unrecoverable
  17680. allocation error.
  17681. - Add some more defensive programming for architectures that can't
  17682. handle unaligned integer accesses. We don't know of any actual bugs
  17683. right now, but that's the best time to fix them. Fixes bug 1943.
  17684. o Minor bugfixes (misc):
  17685. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  17686. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  17687. on 0.2.0.10-alpha; fixes bug 1808.
  17688. - Where available, use Libevent 2.0's periodic timers so that our
  17689. once-per-second cleanup code gets called even more closely to
  17690. once per second than it would otherwise. Fixes bug 943.
  17691. - Ignore OutboundBindAddress when connecting to localhost.
  17692. Connections to localhost need to come _from_ localhost, or else
  17693. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  17694. refuse to listen.
  17695. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  17696. too.
  17697. - If any of the v3 certs we download are unparseable, we should
  17698. actually notice the failure so we don't retry indefinitely. Bugfix
  17699. on 0.2.0.x; reported by "rotator".
  17700. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  17701. Might help diagnosing bug 1051.
  17702. - Make our 'torify' script more portable; if we have only one of
  17703. 'torsocks' or 'tsocks' installed, don't complain to the user;
  17704. and explain our warning about tsocks better.
  17705. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  17706. compliant. Based on a patch from Christian Kujau.
  17707. o Documentation changes:
  17708. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  17709. - Resolve all doxygen warnings except those for missing documentation.
  17710. Fixes bug 2705.
  17711. - Add doxygen documentation for more functions, fields, and types.
  17712. - Convert the HACKING file to asciidoc, and add a few new sections
  17713. to it, explaining how we use Git, how we make changelogs, and
  17714. what should go in a patch.
  17715. - Document the default socks host and port (127.0.0.1:9050) for
  17716. tor-resolve.
  17717. - Removed some unnecessary files from the source distribution. The
  17718. AUTHORS file has now been merged into the people page on the
  17719. website. The roadmaps and design doc can now be found in the
  17720. projects directory in svn.
  17721. o Deprecated and removed features (config):
  17722. - Remove the torrc.complete file. It hasn't been kept up to date
  17723. and users will have better luck checking out the manpage.
  17724. - Remove the HSAuthorityRecordStats option that version 0 hidden
  17725. service authorities could use to track statistics of overall v0
  17726. hidden service usage.
  17727. - Remove the obsolete "NoPublish" option; it has been flagged
  17728. as obsolete and has produced a warning since 0.1.1.18-rc.
  17729. - Caches no longer download and serve v2 networkstatus documents
  17730. unless FetchV2Networkstatus flag is set: these documents haven't
  17731. haven't been used by clients or relays since 0.2.0.x. Resolves
  17732. bug 3022.
  17733. o Deprecated and removed features (controller):
  17734. - The controller no longer accepts the old obsolete "addr-mappings/"
  17735. or "unregistered-servers-" GETINFO values.
  17736. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  17737. always on; using them is necessary for correct forward-compatible
  17738. controllers.
  17739. o Deprecated and removed features (misc):
  17740. - Hidden services no longer publish version 0 descriptors, and clients
  17741. do not request or use version 0 descriptors. However, the old hidden
  17742. service authorities still accept and serve version 0 descriptors
  17743. when contacted by older hidden services/clients.
  17744. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  17745. anything since 0.2.1.16-rc.
  17746. - Remove everything related to building the expert bundle for OS X.
  17747. It has confused many users, doesn't work right on OS X 10.6,
  17748. and is hard to get rid of once installed. Resolves bug 1274.
  17749. - Remove support for .noconnect style addresses. Nobody was using
  17750. them, and they provided another avenue for detecting Tor users
  17751. via application-level web tricks.
  17752. - When we fixed bug 1038 we had to put in a restriction not to send
  17753. RELAY_EARLY cells on rend circuits. This was necessary as long
  17754. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  17755. active. Now remove this obsolete check. Resolves bug 2081.
  17756. - Remove workaround code to handle directory responses from servers
  17757. that had bug 539 (they would send HTTP status 503 responses _and_
  17758. send a body too). Since only server versions before
  17759. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  17760. keep the workaround in place.
  17761. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  17762. handling calculations where we have a known amount of clock skew and
  17763. an allowed amount of unknown skew. But we only used it in three
  17764. places, and we never adjusted the known/unknown skew values. This is
  17765. still something we might want to do someday, but if we do, we'll
  17766. want to do it differently.
  17767. - Remove the "--enable-iphone" option to ./configure. According to
  17768. reports from Marco Bonetti, Tor builds fine without any special
  17769. tweaking on recent iPhone SDK versions.
  17770. Changes in version 0.2.1.30 - 2011-02-23
  17771. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  17772. change is a slight tweak to Tor's TLS handshake that makes relays
  17773. and bridges that run this new version reachable from Iran again.
  17774. We don't expect this tweak will win the arms race long-term, but it
  17775. buys us time until we roll out a better solution.
  17776. o Major bugfixes:
  17777. - Stop sending a CLOCK_SKEW controller status event whenever
  17778. we fetch directory information from a relay that has a wrong clock.
  17779. Instead, only inform the controller when it's a trusted authority
  17780. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  17781. the rest of bug 1074.
  17782. - Fix a bounds-checking error that could allow an attacker to
  17783. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  17784. Found by "piebeer".
  17785. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  17786. Tor would ignore their RelayBandwidthBurst setting,
  17787. potentially using more bandwidth than expected. Bugfix on
  17788. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  17789. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  17790. hidserv" in her torrc. The 'hidserv' argument never controlled
  17791. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  17792. o Minor features:
  17793. - Adjust our TLS Diffie-Hellman parameters to match those used by
  17794. Apache's mod_ssl.
  17795. - Update to the February 1 2011 Maxmind GeoLite Country database.
  17796. o Minor bugfixes:
  17797. - Check for and reject overly long directory certificates and
  17798. directory tokens before they have a chance to hit any assertions.
  17799. Bugfix on 0.2.1.28. Found by "doorss".
  17800. - Bring the logic that gathers routerinfos and assesses the
  17801. acceptability of circuits into line. This prevents a Tor OP from
  17802. getting locked in a cycle of choosing its local OR as an exit for a
  17803. path (due to a .exit request) and then rejecting the circuit because
  17804. its OR is not listed yet. It also prevents Tor clients from using an
  17805. OR running in the same instance as an exit (due to a .exit request)
  17806. if the OR does not meet the same requirements expected of an OR
  17807. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  17808. o Packaging changes:
  17809. - Stop shipping the Tor specs files and development proposal documents
  17810. in the tarball. They are now in a separate git repository at
  17811. git://git.torproject.org/torspec.git
  17812. - Do not include Git version tags as though they are SVN tags when
  17813. generating a tarball from inside a repository that has switched
  17814. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  17815. Changes in version 0.2.1.29 - 2011-01-15
  17816. Tor 0.2.1.29 continues our recent code security audit work. The main
  17817. fix resolves a remote heap overflow vulnerability that can allow remote
  17818. code execution. Other fixes address a variety of assert and crash bugs,
  17819. most of which we think are hard to exploit remotely.
  17820. o Major bugfixes (security):
  17821. - Fix a heap overflow bug where an adversary could cause heap
  17822. corruption. This bug probably allows remote code execution
  17823. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  17824. 0.1.2.10-rc.
  17825. - Prevent a denial-of-service attack by disallowing any
  17826. zlib-compressed data whose compression factor is implausibly
  17827. high. Fixes part of bug 2324; reported by "doorss".
  17828. - Zero out a few more keys in memory before freeing them. Fixes
  17829. bug 2384 and part of bug 2385. These key instances found by
  17830. "cypherpunks", based on Andrew Case's report about being able
  17831. to find sensitive data in Tor's memory space if you have enough
  17832. permissions. Bugfix on 0.0.2pre9.
  17833. o Major bugfixes (crashes):
  17834. - Prevent calls to Libevent from inside Libevent log handlers.
  17835. This had potential to cause a nasty set of crashes, especially
  17836. if running Libevent with debug logging enabled, and running
  17837. Tor with a controller watching for low-severity log messages.
  17838. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  17839. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  17840. underflow errors there too. Fixes the other part of bug 2324.
  17841. - Fix a bug where we would assert if we ever had a
  17842. cached-descriptors.new file (or another file read directly into
  17843. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  17844. on 0.2.1.25. Found by doorss.
  17845. - Fix some potential asserts and parsing issues with grossly
  17846. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  17847. Found by doorss.
  17848. o Minor bugfixes (other):
  17849. - Fix a bug with handling misformed replies to reverse DNS lookup
  17850. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  17851. bug reported by doorss.
  17852. - Fix compilation on mingw when a pthreads compatibility library
  17853. has been installed. (We don't want to use it, so we shouldn't
  17854. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  17855. - Fix a bug where we would declare that we had run out of virtual
  17856. addresses when the address space was only half-exhausted. Bugfix
  17857. on 0.1.2.1-alpha.
  17858. - Correctly handle the case where AutomapHostsOnResolve is set but
  17859. no virtual addresses are available. Fixes bug 2328; bugfix on
  17860. 0.1.2.1-alpha. Bug found by doorss.
  17861. - Correctly handle wrapping around when we run out of virtual
  17862. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  17863. o Minor features:
  17864. - Update to the January 1 2011 Maxmind GeoLite Country database.
  17865. - Introduce output size checks on all of our decryption functions.
  17866. o Build changes:
  17867. - Tor does not build packages correctly with Automake 1.6 and earlier;
  17868. added a check to Makefile.am to make sure that we're building with
  17869. Automake 1.7 or later.
  17870. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  17871. because we built it with a too-old version of automake. Thus that
  17872. release broke ./configure --enable-openbsd-malloc, which is popular
  17873. among really fast exit relays on Linux.
  17874. Changes in version 0.2.1.28 - 2010-12-17
  17875. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  17876. exploitable bugs. We also took this opportunity to change the IP address
  17877. for one of our directory authorities, and to update the geoip database
  17878. we ship.
  17879. o Major bugfixes:
  17880. - Fix a remotely exploitable bug that could be used to crash instances
  17881. of Tor remotely by overflowing on the heap. Remote-code execution
  17882. hasn't been confirmed, but can't be ruled out. Everyone should
  17883. upgrade. Bugfix on the 0.1.1 series and later.
  17884. o Directory authority changes:
  17885. - Change IP address and ports for gabelmoo (v3 directory authority).
  17886. o Minor features:
  17887. - Update to the December 1 2010 Maxmind GeoLite Country database.
  17888. Changes in version 0.2.1.27 - 2010-11-23
  17889. Yet another OpenSSL security patch broke its compatibility with Tor:
  17890. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  17891. also took this opportunity to fix several crash bugs, integrate a new
  17892. directory authority, and update the bundled GeoIP database.
  17893. o Major bugfixes:
  17894. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  17895. No longer set the tlsext_host_name extension on server SSL objects;
  17896. but continue to set it on client SSL objects. Our goal in setting
  17897. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  17898. bugfix on 0.2.1.1-alpha.
  17899. - Do not log messages to the controller while shrinking buffer
  17900. freelists. Doing so would sometimes make the controller connection
  17901. try to allocate a buffer chunk, which would mess up the internals
  17902. of the freelist and cause an assertion failure. Fixes bug 1125;
  17903. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  17904. - Learn our external IP address when we're a relay or bridge, even if
  17905. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  17906. where we introduced bridge relays that don't need to publish to
  17907. be useful. Fixes bug 2050.
  17908. - Do even more to reject (and not just ignore) annotations on
  17909. router descriptors received anywhere but from the cache. Previously
  17910. we would ignore such annotations at first, but cache them to disk
  17911. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  17912. - When you're using bridges and your network goes away and your
  17913. bridges get marked as down, recover when you attempt a new socks
  17914. connection (if the network is back), rather than waiting up to an
  17915. hour to try fetching new descriptors for your bridges. Bugfix on
  17916. 0.2.0.3-alpha; fixes bug 1981.
  17917. o Major features:
  17918. - Move to the November 2010 Maxmind GeoLite country db (rather
  17919. than the June 2009 ip-to-country GeoIP db) for our statistics that
  17920. count how many users relays are seeing from each country. Now we'll
  17921. have more accurate data, especially for many African countries.
  17922. o New directory authorities:
  17923. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  17924. authority.
  17925. o Minor bugfixes:
  17926. - Fix an assertion failure that could occur in directory caches or
  17927. bridge users when using a very short voting interval on a testing
  17928. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  17929. 0.2.0.8-alpha.
  17930. - Enforce multiplicity rules when parsing annotations. Bugfix on
  17931. 0.2.0.8-alpha. Found by piebeer.
  17932. - Allow handshaking OR connections to take a full KeepalivePeriod
  17933. seconds to handshake. Previously, we would close them after
  17934. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  17935. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  17936. for analysis help.
  17937. - When building with --enable-gcc-warnings on OpenBSD, disable
  17938. warnings in system headers. This makes --enable-gcc-warnings
  17939. pass on OpenBSD 4.8.
  17940. o Minor features:
  17941. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  17942. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  17943. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  17944. Servers can start sending this code when enough clients recognize
  17945. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  17946. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  17947. Patch from mingw-san.
  17948. o Removed files:
  17949. - Remove the old debian/ directory from the main Tor distribution.
  17950. The official Tor-for-debian git repository lives at the URL
  17951. https://git.torproject.org/debian/tor.git
  17952. - Stop shipping the old doc/website/ directory in the tarball. We
  17953. changed the website format in late 2010, and what we shipped in
  17954. 0.2.1.26 really wasn't that useful anyway.
  17955. Changes in version 0.2.1.26 - 2010-05-02
  17956. Tor 0.2.1.26 addresses the recent connection and memory overload
  17957. problems we've been seeing on relays, especially relays with their
  17958. DirPort open. If your relay has been crashing, or you turned it off
  17959. because it used too many resources, give this release a try.
  17960. This release also fixes yet another instance of broken OpenSSL libraries
  17961. that was causing some relays to drop out of the consensus.
  17962. o Major bugfixes:
  17963. - Teach relays to defend themselves from connection overload. Relays
  17964. now close idle circuits early if it looks like they were intended
  17965. for directory fetches. Relays are also more aggressive about closing
  17966. TLS connections that have no circuits on them. Such circuits are
  17967. unlikely to be re-used, and tens of thousands of them were piling
  17968. up at the fast relays, causing the relays to run out of sockets
  17969. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  17970. their directory fetches over TLS).
  17971. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  17972. that claim to be earlier than 0.9.8m, but which have in reality
  17973. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  17974. behavior. Possible fix for some cases of bug 1346.
  17975. - Directory mirrors were fetching relay descriptors only from v2
  17976. directory authorities, rather than v3 authorities like they should.
  17977. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  17978. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  17979. o Minor bugfixes:
  17980. - Finally get rid of the deprecated and now harmful notion of "clique
  17981. mode", where directory authorities maintain TLS connections to
  17982. every other relay.
  17983. o Testsuite fixes:
  17984. - In the util/threads test, no longer free the test_mutex before all
  17985. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  17986. - The master thread could starve the worker threads quite badly on
  17987. certain systems, causing them to run only partially in the allowed
  17988. window. This resulted in test failures. Now the master thread sleeps
  17989. occasionally for a few microseconds while the two worker-threads
  17990. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  17991. Changes in version 0.2.1.25 - 2010-03-16
  17992. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  17993. prevent relays from guessing their IP address correctly. It also fixes
  17994. several minor potential security bugs.
  17995. o Major bugfixes:
  17996. - Fix a regression from our patch for bug 1244 that caused relays
  17997. to guess their IP address incorrectly if they didn't set Address
  17998. in their torrc and/or their address fails to resolve. Bugfix on
  17999. 0.2.1.23; fixes bug 1269.
  18000. - When freeing a session key, zero it out completely. We only zeroed
  18001. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  18002. patched by ekir. Fixes bug 1254.
  18003. o Minor bugfixes:
  18004. - Fix a dereference-then-NULL-check sequence when publishing
  18005. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  18006. bug 1255.
  18007. - Fix another dereference-then-NULL-check sequence. Bugfix on
  18008. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  18009. - Make sure we treat potentially not NUL-terminated strings correctly.
  18010. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  18011. Changes in version 0.2.1.24 - 2010-02-21
  18012. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  18013. for sure!
  18014. o Minor bugfixes:
  18015. - Work correctly out-of-the-box with even more vendor-patched versions
  18016. of OpenSSL. In particular, make it so Debian and OS X don't need
  18017. customized patches to run/build.
  18018. Changes in version 0.2.1.23 - 2010-02-13
  18019. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  18020. again on the latest OS X, and updates the location of a directory
  18021. authority.
  18022. o Major bugfixes (performance):
  18023. - We were selecting our guards uniformly at random, and then weighting
  18024. which of our guards we'd use uniformly at random. This imbalance
  18025. meant that Tor clients were severely limited on throughput (and
  18026. probably latency too) by the first hop in their circuit. Now we
  18027. select guards weighted by currently advertised bandwidth. We also
  18028. automatically discard guards picked using the old algorithm. Fixes
  18029. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  18030. o Major bugfixes:
  18031. - Make Tor work again on the latest OS X: when deciding whether to
  18032. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  18033. version at run-time, not compile time. We need to do this because
  18034. Apple doesn't update its dev-tools headers when it updates its
  18035. libraries in a security patch.
  18036. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  18037. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  18038. a memory leak when requesting a hidden service descriptor we've
  18039. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  18040. by aakova.
  18041. o Minor bugfixes:
  18042. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  18043. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  18044. o Minor features:
  18045. - Avoid a mad rush at the beginning of each month when each client
  18046. rotates half of its guards. Instead we spread the rotation out
  18047. throughout the month, but we still avoid leaving a precise timestamp
  18048. in the state file about when we first picked the guard. Improves
  18049. over the behavior introduced in 0.1.2.17.
  18050. Changes in version 0.2.1.22 - 2010-01-19
  18051. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  18052. authorities -- it would tell you its whole history of bridge descriptors
  18053. if you make the right directory request. This stable update also
  18054. rotates two of the seven v3 directory authority keys and locations.
  18055. o Directory authority changes:
  18056. - Rotate keys (both v3 identity and relay identity) for moria1
  18057. and gabelmoo.
  18058. o Major bugfixes:
  18059. - Stop bridge directory authorities from answering dbg-stability.txt
  18060. directory queries, which would let people fetch a list of all
  18061. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  18062. Changes in version 0.2.1.21 - 2009-12-21
  18063. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  18064. library. If you use Tor on Linux / Unix and you're getting SSL
  18065. renegotiation errors, upgrading should help. We also recommend an
  18066. upgrade if you're an exit relay.
  18067. o Major bugfixes:
  18068. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  18069. handshake from working unless we explicitly tell OpenSSL that we
  18070. are using SSL renegotiation safely. We are, of course, but OpenSSL
  18071. 0.9.8l won't work unless we say we are.
  18072. - Avoid crashing if the client is trying to upload many bytes and the
  18073. circuit gets torn down at the same time, or if the flip side
  18074. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  18075. o Minor bugfixes:
  18076. - Do not refuse to learn about authority certs and v2 networkstatus
  18077. documents that are older than the latest consensus. This bug might
  18078. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  18079. Spotted and fixed by xmux.
  18080. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  18081. trigger platform-specific option misparsing case found by Coverity
  18082. Scan.
  18083. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  18084. trigger assert. Fixes bug 1173.
  18085. Changes in version 0.2.1.20 - 2009-10-15
  18086. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  18087. services at once, prepares for more performance improvements, and
  18088. fixes a bunch of smaller bugs.
  18089. The Windows and OS X bundles also include a more recent Vidalia,
  18090. and switch from Privoxy to Polipo.
  18091. The OS X installers are now drag and drop. It's best to un-install
  18092. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  18093. you want to upgrade, you'll need to update the paths for Tor and Polipo
  18094. in the Vidalia Settings window.
  18095. o Major bugfixes:
  18096. - Send circuit or stream sendme cells when our window has decreased
  18097. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  18098. by Karsten when testing the "reduce circuit window" performance
  18099. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  18100. before the release of Tor 0.0.0. This is the new winner of the
  18101. oldest-bug prize.
  18102. - Fix a remotely triggerable memory leak when a consensus document
  18103. contains more than one signature from the same voter. Bugfix on
  18104. 0.2.0.3-alpha.
  18105. - Avoid segfault in rare cases when finishing an introduction circuit
  18106. as a client and finding out that we don't have an introduction key
  18107. for it. Fixes bug 1073. Reported by Aaron Swartz.
  18108. o Major features:
  18109. - Tor now reads the "circwindow" parameter out of the consensus,
  18110. and uses that value for its circuit package window rather than the
  18111. default of 1000 cells. Begins the implementation of proposal 168.
  18112. o New directory authorities:
  18113. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  18114. authority.
  18115. - Move moria1 and tonga to alternate IP addresses.
  18116. o Minor bugfixes:
  18117. - Fix a signed/unsigned compile warning in 0.2.1.19.
  18118. - Fix possible segmentation fault on directory authorities. Bugfix on
  18119. 0.2.1.14-rc.
  18120. - Fix an extremely rare infinite recursion bug that could occur if
  18121. we tried to log a message after shutting down the log subsystem.
  18122. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  18123. - Fix an obscure bug where hidden services on 64-bit big-endian
  18124. systems might mis-read the timestamp in v3 introduce cells, and
  18125. refuse to connect back to the client. Discovered by "rotor".
  18126. Bugfix on 0.2.1.6-alpha.
  18127. - We were triggering a CLOCK_SKEW controller status event whenever
  18128. we connect via the v2 connection protocol to any relay that has
  18129. a wrong clock. Instead, we should only inform the controller when
  18130. it's a trusted authority that claims our clock is wrong. Bugfix
  18131. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  18132. - We were telling the controller about CHECKING_REACHABILITY and
  18133. REACHABILITY_FAILED status events whenever we launch a testing
  18134. circuit or notice that one has failed. Instead, only tell the
  18135. controller when we want to inform the user of overall success or
  18136. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  18137. by SwissTorExit.
  18138. - Don't warn when we're using a circuit that ends with a node
  18139. excluded in ExcludeExitNodes, but the circuit is not used to access
  18140. the outside world. This should help fix bug 1090. Bugfix on
  18141. 0.2.1.6-alpha.
  18142. - Work around a small memory leak in some versions of OpenSSL that
  18143. stopped the memory used by the hostname TLS extension from being
  18144. freed.
  18145. o Minor features:
  18146. - Add a "getinfo status/accepted-server-descriptor" controller
  18147. command, which is the recommended way for controllers to learn
  18148. whether our server descriptor has been successfully received by at
  18149. least on directory authority. Un-recommend good-server-descriptor
  18150. getinfo and status events until we have a better design for them.
  18151. Changes in version 0.2.1.19 - 2009-07-28
  18152. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  18153. services.
  18154. o Major bugfixes:
  18155. - Make accessing hidden services on 0.2.1.x work right again.
  18156. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  18157. part of patch provided by "optimist".
  18158. o Minor features:
  18159. - When a relay/bridge is writing out its identity key fingerprint to
  18160. the "fingerprint" file and to its logs, write it without spaces. Now
  18161. it will look like the fingerprints in our bridges documentation,
  18162. and confuse fewer users.
  18163. o Minor bugfixes:
  18164. - Relays no longer publish a new server descriptor if they change
  18165. their MaxAdvertisedBandwidth config option but it doesn't end up
  18166. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  18167. fixes bug 1026. Patch from Sebastian.
  18168. - Avoid leaking memory every time we get a create cell but we have
  18169. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  18170. fixes bug 1034. Reported by BarkerJr.
  18171. Changes in version 0.2.1.18 - 2009-07-24
  18172. Tor 0.2.1.18 lays the foundations for performance improvements,
  18173. adds status events to help users diagnose bootstrap problems, adds
  18174. optional authentication/authorization for hidden services, fixes a
  18175. variety of potential anonymity problems, and includes a huge pile of
  18176. other features and bug fixes.
  18177. o Major features (clients):
  18178. - Start sending "bootstrap phase" status events to the controller,
  18179. so it can keep the user informed of progress fetching directory
  18180. information and establishing circuits. Also inform the controller
  18181. if we think we're stuck at a particular bootstrap phase. Implements
  18182. proposal 137.
  18183. - Clients replace entry guards that were chosen more than a few months
  18184. ago. This change should significantly improve client performance,
  18185. especially once more people upgrade, since relays that have been
  18186. a guard for a long time are currently overloaded.
  18187. - Network status consensus documents and votes now contain bandwidth
  18188. information for each relay. Clients use the bandwidth values
  18189. in the consensus, rather than the bandwidth values in each
  18190. relay descriptor. This approach opens the door to more accurate
  18191. bandwidth estimates once the directory authorities start doing
  18192. active measurements. Implements part of proposal 141.
  18193. o Major features (relays):
  18194. - Disable and refactor some debugging checks that forced a linear scan
  18195. over the whole server-side DNS cache. These accounted for over 50%
  18196. of CPU time on a relatively busy exit node's gprof profile. Also,
  18197. disable some debugging checks that appeared in exit node profile
  18198. data. Found by Jacob.
  18199. - New DirPortFrontPage option that takes an html file and publishes
  18200. it as "/" on the DirPort. Now relay operators can provide a
  18201. disclaimer without needing to set up a separate webserver. There's
  18202. a sample disclaimer in contrib/tor-exit-notice.html.
  18203. o Major features (hidden services):
  18204. - Make it possible to build hidden services that only certain clients
  18205. are allowed to connect to. This is enforced at several points,
  18206. so that unauthorized clients are unable to send INTRODUCE cells
  18207. to the service, or even (depending on the type of authentication)
  18208. to learn introduction points. This feature raises the bar for
  18209. certain kinds of active attacks against hidden services. Design
  18210. and code by Karsten Loesing. Implements proposal 121.
  18211. - Relays now store and serve v2 hidden service descriptors by default,
  18212. i.e., the new default value for HidServDirectoryV2 is 1. This is
  18213. the last step in proposal 114, which aims to make hidden service
  18214. lookups more reliable.
  18215. o Major features (path selection):
  18216. - ExitNodes and Exclude*Nodes config options now allow you to restrict
  18217. by country code ("{US}") or IP address or address pattern
  18218. ("255.128.0.0/16"). Patch from Robert Hogan. It still needs some
  18219. refinement to decide what config options should take priority if
  18220. you ask to both use a particular node and exclude it.
  18221. o Major features (misc):
  18222. - When building a consensus, do not include routers that are down.
  18223. This cuts down 30% to 40% on consensus size. Implements proposal
  18224. 138.
  18225. - New TestingTorNetwork config option to allow adjustment of
  18226. previously constant values that could slow bootstrapping. Implements
  18227. proposal 135. Patch from Karsten.
  18228. - Convert many internal address representations to optionally hold
  18229. IPv6 addresses. Generate and accept IPv6 addresses in many protocol
  18230. elements. Make resolver code handle nameservers located at IPv6
  18231. addresses.
  18232. - More work on making our TLS handshake blend in: modify the list
  18233. of ciphers advertised by OpenSSL in client mode to even more
  18234. closely resemble a common web browser. We cheat a little so that
  18235. we can advertise ciphers that the locally installed OpenSSL doesn't
  18236. know about.
  18237. - Use the TLS1 hostname extension to more closely resemble browser
  18238. behavior.
  18239. o Security fixes (anonymity/entropy):
  18240. - Never use a connection with a mismatched address to extend a
  18241. circuit, unless that connection is canonical. A canonical
  18242. connection is one whose address is authenticated by the router's
  18243. identity key, either in a NETINFO cell or in a router descriptor.
  18244. - Implement most of proposal 110: The first K cells to be sent
  18245. along a circuit are marked as special "early" cells; only K "early"
  18246. cells will be allowed. Once this code is universal, we can block
  18247. certain kinds of denial-of-service attack by requiring that EXTEND
  18248. commands must be sent using an "early" cell.
  18249. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  18250. cross-platform entropy collection again. We used to use it, then
  18251. stopped using it because of a bug that could crash systems that
  18252. called RAND_poll when they had a lot of fds open. It looks like the
  18253. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  18254. at startup, and to call RAND_poll() when we reseed later only if
  18255. we have a non-buggy OpenSSL version.
  18256. - When the client is choosing entry guards, now it selects at most
  18257. one guard from a given relay family. Otherwise we could end up with
  18258. all of our entry points into the network run by the same operator.
  18259. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  18260. - Do not use or believe expired v3 authority certificates. Patch
  18261. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  18262. - Drop begin cells to a hidden service if they come from the middle
  18263. of a circuit. Patch from lark.
  18264. - When we erroneously receive two EXTEND cells for the same circuit
  18265. ID on the same connection, drop the second. Patch from lark.
  18266. - Authorities now vote for the Stable flag for any router whose
  18267. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  18268. - Clients now never report any stream end reason except 'MISC'.
  18269. Implements proposal 148.
  18270. o Major bugfixes (crashes):
  18271. - Parse dates and IPv4 addresses in a locale- and libc-independent
  18272. manner, to avoid platform-dependent behavior on malformed input.
  18273. - Fix a crash that occurs on exit nodes when a nameserver request
  18274. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  18275. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  18276. bug 929.
  18277. - Do not assume that a stack-allocated character array will be
  18278. 64-bit aligned on platforms that demand that uint64_t access is
  18279. aligned. Possible fix for bug 604.
  18280. - Resolve a very rare crash bug that could occur when the user forced
  18281. a nameserver reconfiguration during the middle of a nameserver
  18282. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  18283. - Avoid a "0 divided by 0" calculation when calculating router uptime
  18284. at directory authorities. Bugfix on 0.2.0.8-alpha.
  18285. - Fix an assertion bug in parsing policy-related options; possible fix
  18286. for bug 811.
  18287. - Rate-limit too-many-sockets messages: when they happen, they happen
  18288. a lot and end up filling up the disk. Resolves bug 748.
  18289. - Fix a race condition that could cause crashes or memory corruption
  18290. when running as a server with a controller listening for log
  18291. messages.
  18292. - Avoid crashing when we have a policy specified in a DirPolicy or
  18293. SocksPolicy or ReachableAddresses option with ports set on it,
  18294. and we re-load the policy. May fix bug 996.
  18295. - Fix an assertion failure on 64-bit platforms when we allocated
  18296. memory right up to the end of a memarea, then realigned the memory
  18297. one step beyond the end. Fixes a possible cause of bug 930.
  18298. - Protect the count of open sockets with a mutex, so we can't
  18299. corrupt it when two threads are closing or opening sockets at once.
  18300. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  18301. o Major bugfixes (clients):
  18302. - Discard router descriptors as we load them if they are more than
  18303. five days old. Otherwise if Tor is off for a long time and then
  18304. starts with cached descriptors, it will try to use the onion keys
  18305. in those obsolete descriptors when building circuits. Fixes bug 887.
  18306. - When we choose to abandon a new entry guard because we think our
  18307. older ones might be better, close any circuits pending on that
  18308. new entry guard connection. This fix should make us recover much
  18309. faster when our network is down and then comes back. Bugfix on
  18310. 0.1.2.8-beta; found by lodger.
  18311. - When Tor clients restart after 1-5 days, they discard all their
  18312. cached descriptors as too old, but they still use the cached
  18313. consensus document. This approach is good for robustness, but
  18314. bad for performance: since they don't know any bandwidths, they
  18315. end up choosing at random rather than weighting their choice by
  18316. speed. Fixed by the above feature of putting bandwidths in the
  18317. consensus.
  18318. o Major bugfixes (relays):
  18319. - Relays were falling out of the networkstatus consensus for
  18320. part of a day if they changed their local config but the
  18321. authorities discarded their new descriptor as "not sufficiently
  18322. different". Now directory authorities accept a descriptor as changed
  18323. if BandwidthRate or BandwidthBurst changed. Partial fix for bug 962;
  18324. patch by Sebastian.
  18325. - Ensure that two circuits can never exist on the same connection
  18326. with the same circuit ID, even if one is marked for close. This
  18327. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  18328. - Directory authorities were neglecting to mark relays down in their
  18329. internal histories if the relays fall off the routerlist without
  18330. ever being found unreachable. So there were relays in the histories
  18331. that haven't been seen for eight months, and are listed as being
  18332. up for eight months. This wreaked havoc on the "median wfu" and
  18333. "median mtbf" calculations, in turn making Guard and Stable flags
  18334. wrong, hurting network performance. Fixes bugs 696 and 969. Bugfix
  18335. on 0.2.0.6-alpha.
  18336. o Major bugfixes (hidden services):
  18337. - When establishing a hidden service, introduction points that
  18338. originate from cannibalized circuits were completely ignored
  18339. and not included in rendezvous service descriptors. This might
  18340. have been another reason for delay in making a hidden service
  18341. available. Bugfix from long ago (0.0.9.x?)
  18342. o Major bugfixes (memory and resource management):
  18343. - Fixed some memory leaks -- some quite frequent, some almost
  18344. impossible to trigger -- based on results from Coverity.
  18345. - Speed up parsing and cut down on memory fragmentation by using
  18346. stack-style allocations for parsing directory objects. Previously,
  18347. this accounted for over 40% of allocations from within Tor's code
  18348. on a typical directory cache.
  18349. - Use a Bloom filter rather than a digest-based set to track which
  18350. descriptors we need to keep around when we're cleaning out old
  18351. router descriptors. This speeds up the computation significantly,
  18352. and may reduce fragmentation.
  18353. o New/changed config options:
  18354. - Now NodeFamily and MyFamily config options allow spaces in
  18355. identity fingerprints, so it's easier to paste them in.
  18356. Suggested by Lucky Green.
  18357. - Allow ports 465 and 587 in the default exit policy again. We had
  18358. rejected them in 0.1.0.15, because back in 2005 they were commonly
  18359. misconfigured and ended up as spam targets. We hear they are better
  18360. locked down these days.
  18361. - Make TrackHostExit mappings expire a while after their last use, not
  18362. after their creation. Patch from Robert Hogan.
  18363. - Add an ExcludeExitNodes option so users can list a set of nodes
  18364. that should be be excluded from the exit node position, but
  18365. allowed elsewhere. Implements proposal 151.
  18366. - New --hush command-line option similar to --quiet. While --quiet
  18367. disables all logging to the console on startup, --hush limits the
  18368. output to messages of warning and error severity.
  18369. - New configure/torrc options (--enable-geoip-stats,
  18370. DirRecordUsageByCountry) to record how many IPs we've served
  18371. directory info to in each country code, how many status documents
  18372. total we've sent to each country code, and what share of the total
  18373. directory requests we should expect to see.
  18374. - Make outbound DNS packets respect the OutboundBindAddress setting.
  18375. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  18376. - Allow separate log levels to be configured for different logging
  18377. domains. For example, this allows one to log all notices, warnings,
  18378. or errors, plus all memory management messages of level debug or
  18379. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  18380. - Update to the "June 3 2009" ip-to-country file.
  18381. o Minor features (relays):
  18382. - Raise the minimum rate limiting to be a relay from 20000 bytes
  18383. to 20480 bytes (aka 20KB/s), to match our documentation. Also
  18384. update directory authorities so they always assign the Fast flag
  18385. to relays with 20KB/s of capacity. Now people running relays won't
  18386. suddenly find themselves not seeing any use, if the network gets
  18387. faster on average.
  18388. - If we're a relay and we change our IP address, be more verbose
  18389. about the reason that made us change. Should help track down
  18390. further bugs for relays on dynamic IP addresses.
  18391. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  18392. - Implement most of Proposal 152: allow specialized servers to permit
  18393. single-hop circuits, and clients to use those servers to build
  18394. single-hop circuits when using a specialized controller. Patch
  18395. from Josh Albrecht. Resolves feature request 768.
  18396. - When relays do their initial bandwidth measurement, don't limit
  18397. to just our entry guards for the test circuits. Otherwise we tend
  18398. to have multiple test circuits going through a single entry guard,
  18399. which makes our bandwidth test less accurate. Fixes part of bug 654;
  18400. patch contributed by Josh Albrecht.
  18401. o Minor features (directory authorities):
  18402. - Try not to open more than one descriptor-downloading connection
  18403. to an authority at once. This should reduce load on directory
  18404. authorities. Fixes bug 366.
  18405. - Add cross-certification to newly generated certificates, so that
  18406. a signing key is enough information to look up a certificate. Start
  18407. serving certificates by <identity digest, signing key digest>
  18408. pairs. Implements proposal 157.
  18409. - When a directory authority downloads a descriptor that it then
  18410. immediately rejects, do not retry downloading it right away. Should
  18411. save some bandwidth on authorities. Fix for bug 888. Patch by
  18412. Sebastian Hahn.
  18413. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  18414. help debug WFU and MTBF calculations.
  18415. - In directory authorities' approved-routers files, allow
  18416. fingerprints with or without space.
  18417. o Minor features (directory mirrors):
  18418. - When a download gets us zero good descriptors, do not notify
  18419. Tor that new directory information has arrived.
  18420. - Servers support a new URL scheme for consensus downloads that
  18421. allows the client to specify which authorities are trusted.
  18422. The server then only sends the consensus if the client will trust
  18423. it. Otherwise a 404 error is sent back. Clients use this
  18424. new scheme when the server supports it (meaning it's running
  18425. 0.2.1.1-alpha or later). Implements proposal 134.
  18426. o Minor features (bridges):
  18427. - If the bridge config line doesn't specify a port, assume 443.
  18428. This makes bridge lines a bit smaller and easier for users to
  18429. understand.
  18430. - If we're using bridges and our network goes away, be more willing
  18431. to forgive our bridges and try again when we get an application
  18432. request.
  18433. o Minor features (hidden services):
  18434. - When the client launches an introduction circuit, retry with a
  18435. new circuit after 30 seconds rather than 60 seconds.
  18436. - Launch a second client-side introduction circuit in parallel
  18437. after a delay of 15 seconds (based on work by Christian Wilms).
  18438. - Hidden services start out building five intro circuits rather
  18439. than three, and when the first three finish they publish a service
  18440. descriptor using those. Now we publish our service descriptor much
  18441. faster after restart.
  18442. - Drop the requirement to have an open dir port for storing and
  18443. serving v2 hidden service descriptors.
  18444. o Minor features (build and packaging):
  18445. - On Linux, use the prctl call to re-enable core dumps when the User
  18446. option is set.
  18447. - Try to make sure that the version of Libevent we're running with
  18448. is binary-compatible with the one we built with. May address bug
  18449. 897 and others.
  18450. - Add a new --enable-local-appdata configuration switch to change
  18451. the default location of the datadir on win32 from APPDATA to
  18452. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  18453. entirely. Patch from coderman.
  18454. - Build correctly against versions of OpenSSL 0.9.8 or later that
  18455. are built without support for deprecated functions.
  18456. - On platforms with a maximum syslog string length, truncate syslog
  18457. messages to that length ourselves, rather than relying on the
  18458. system to do it for us.
  18459. - Automatically detect MacOSX versions earlier than 10.4.0, and
  18460. disable kqueue from inside Tor when running with these versions.
  18461. We previously did this from the startup script, but that was no
  18462. help to people who didn't use the startup script. Resolves bug 863.
  18463. - Build correctly when configured to build outside the main source
  18464. path. Patch from Michael Gold.
  18465. - Disable GCC's strict alias optimization by default, to avoid the
  18466. likelihood of its introducing subtle bugs whenever our code violates
  18467. the letter of C99's alias rules.
  18468. - Change the contrib/tor.logrotate script so it makes the new
  18469. logs as "_tor:_tor" rather than the default, which is generally
  18470. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  18471. - Change our header file guard macros to be less likely to conflict
  18472. with system headers. Adam Langley noticed that we were conflicting
  18473. with log.h on Android.
  18474. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  18475. and stop using a warning that had become unfixably verbose under
  18476. GCC 4.3.
  18477. - Use a lockfile to make sure that two Tor processes are not
  18478. simultaneously running with the same datadir.
  18479. - Allow OpenSSL to use dynamic locks if it wants.
  18480. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  18481. o Minor features (controllers):
  18482. - When generating circuit events with verbose nicknames for
  18483. controllers, try harder to look up nicknames for routers on a
  18484. circuit. (Previously, we would look in the router descriptors we had
  18485. for nicknames, but not in the consensus.) Partial fix for bug 941.
  18486. - New controller event NEWCONSENSUS that lists the networkstatus
  18487. lines for every recommended relay. Now controllers like Torflow
  18488. can keep up-to-date on which relays they should be using.
  18489. - New controller event "clients_seen" to report a geoip-based summary
  18490. of which countries we've seen clients from recently. Now controllers
  18491. like Vidalia can show bridge operators that they're actually making
  18492. a difference.
  18493. - Add a 'getinfo status/clients-seen' controller command, in case
  18494. controllers want to hear clients_seen events but connect late.
  18495. - New CONSENSUS_ARRIVED event to note when a new consensus has
  18496. been fetched and validated.
  18497. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  18498. controllers to prevent SIGHUP from reloading the configuration.
  18499. Fixes bug 856.
  18500. - Return circuit purposes in response to GETINFO circuit-status.
  18501. Fixes bug 858.
  18502. - Serve the latest v3 networkstatus consensus via the control
  18503. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  18504. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  18505. controller can query our current bootstrap state in case it attaches
  18506. partway through and wants to catch up.
  18507. - Provide circuit purposes along with circuit events to the controller.
  18508. o Minor features (tools):
  18509. - Do not have tor-resolve automatically refuse all .onion addresses;
  18510. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  18511. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  18512. people find host:port too confusing.
  18513. - Print the SOCKS5 error message string as well as the error code
  18514. when a tor-resolve request fails. Patch from Jacob.
  18515. o Minor bugfixes (memory and resource management):
  18516. - Clients no longer cache certificates for authorities they do not
  18517. recognize. Bugfix on 0.2.0.9-alpha.
  18518. - Do not use C's stdio library for writing to log files. This will
  18519. improve logging performance by a minute amount, and will stop
  18520. leaking fds when our disk is full. Fixes bug 861.
  18521. - Stop erroneous use of O_APPEND in cases where we did not in fact
  18522. want to re-seek to the end of a file before every last write().
  18523. - Fix a small alignment and memory-wasting bug on buffer chunks.
  18524. Spotted by rovv.
  18525. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  18526. to avoid unused RAM in buffer chunks and memory pools.
  18527. - Reduce the default smartlist size from 32 to 16; it turns out that
  18528. most smartlists hold around 8-12 elements tops.
  18529. - Make dumpstats() log the fullness and size of openssl-internal
  18530. buffers.
  18531. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  18532. patch to their OpenSSL, turn it on to save memory on servers. This
  18533. patch will (with any luck) get included in a mainline distribution
  18534. before too long.
  18535. - Fix a memory leak when v3 directory authorities load their keys
  18536. and cert from disk. Bugfix on 0.2.0.1-alpha.
  18537. - Stop using malloc_usable_size() to use more area than we had
  18538. actually allocated: it was safe, but made valgrind really unhappy.
  18539. - Make the assert_circuit_ok() function work correctly on circuits that
  18540. have already been marked for close.
  18541. - Fix uninitialized size field for memory area allocation: may improve
  18542. memory performance during directory parsing.
  18543. o Minor bugfixes (clients):
  18544. - Stop reloading the router list from disk for no reason when we
  18545. run out of reachable directory mirrors. Once upon a time reloading
  18546. it would set the 'is_running' flag back to 1 for them. It hasn't
  18547. done that for a long time.
  18548. - When we had picked an exit node for a connection, but marked it as
  18549. "optional", and it turned out we had no onion key for the exit,
  18550. stop wanting that exit and try again. This situation may not
  18551. be possible now, but will probably become feasible with proposal
  18552. 158. Spotted by rovv. Fixes another case of bug 752.
  18553. - Fix a bug in address parsing that was preventing bridges or hidden
  18554. service targets from being at IPv6 addresses.
  18555. - Do not remove routers as too old if we do not have any consensus
  18556. document. Bugfix on 0.2.0.7-alpha.
  18557. - When an exit relay resolves a stream address to a local IP address,
  18558. do not just keep retrying that same exit relay over and
  18559. over. Instead, just close the stream. Addresses bug 872. Bugfix
  18560. on 0.2.0.32. Patch from rovv.
  18561. - Made Tor a little less aggressive about deleting expired
  18562. certificates. Partial fix for bug 854.
  18563. - Treat duplicate certificate fetches as failures, so that we do
  18564. not try to re-fetch an expired certificate over and over and over.
  18565. - Do not say we're fetching a certificate when we'll in fact skip it
  18566. because of a pending download.
  18567. - If we have correct permissions on $datadir, we complain to stdout
  18568. and fail to start. But dangerous permissions on
  18569. $datadir/cached-status/ would cause us to open a log and complain
  18570. there. Now complain to stdout and fail to start in both cases. Fixes
  18571. bug 820, reported by seeess.
  18572. o Minor bugfixes (bridges):
  18573. - When we made bridge authorities stop serving bridge descriptors over
  18574. unencrypted links, we also broke DirPort reachability testing for
  18575. bridges. So bridges with a non-zero DirPort were printing spurious
  18576. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  18577. - Don't allow a bridge to publish its router descriptor to a
  18578. non-bridge directory authority. Fixes part of bug 932.
  18579. - When we change to or from being a bridge, reset our counts of
  18580. client usage by country. Fixes bug 932.
  18581. o Minor bugfixes (relays):
  18582. - Log correct error messages for DNS-related network errors on
  18583. Windows.
  18584. - Actually return -1 in the error case for read_bandwidth_usage().
  18585. Harmless bug, since we currently don't care about the return value
  18586. anywhere. Bugfix on 0.2.0.9-alpha.
  18587. - Provide a more useful log message if bug 977 (related to buffer
  18588. freelists) ever reappears, and do not crash right away.
  18589. - We were already rejecting relay begin cells with destination port
  18590. of 0. Now also reject extend cells with destination port or address
  18591. of 0. Suggested by lark.
  18592. - When we can't transmit a DNS request due to a network error, retry
  18593. it after a while, and eventually transmit a failing response to
  18594. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  18595. - Solve a bug that kept hardware crypto acceleration from getting
  18596. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  18597. 0.0.9pre6.
  18598. - When a canonical connection appears later in our internal list
  18599. than a noncanonical one for a given OR ID, always use the
  18600. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  18601. Spotted by rovv.
  18602. - Avoid some nasty corner cases in the logic for marking connections
  18603. as too old or obsolete or noncanonical for circuits. Partial
  18604. bugfix on bug 891.
  18605. - Fix another interesting corner-case of bug 891 spotted by rovv:
  18606. Previously, if two hosts had different amounts of clock drift, and
  18607. one of them created a new connection with just the wrong timing,
  18608. the other might decide to deprecate the new connection erroneously.
  18609. Bugfix on 0.1.1.13-alpha.
  18610. - If one win32 nameserver fails to get added, continue adding the
  18611. rest, and don't automatically fail.
  18612. - Fix a bug where an unreachable relay would establish enough
  18613. reachability testing circuits to do a bandwidth test -- if
  18614. we already have a connection to the middle hop of the testing
  18615. circuit, then it could establish the last hop by using the existing
  18616. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  18617. circuits no longer use entry guards in 0.2.1.3-alpha.
  18618. o Minor bugfixes (directory authorities):
  18619. - Limit uploaded directory documents to be 16M rather than 500K.
  18620. The directory authorities were refusing v3 consensus votes from
  18621. other authorities, since the votes are now 504K. Fixes bug 959;
  18622. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  18623. - Directory authorities should never send a 503 "busy" response to
  18624. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  18625. bug 959.
  18626. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  18627. headers. Bugfix on 0.2.0.10-alpha.
  18628. o Minor bugfixes (hidden services):
  18629. - When we can't find an intro key for a v2 hidden service descriptor,
  18630. fall back to the v0 hidden service descriptor and log a bug message.
  18631. Workaround for bug 1024.
  18632. - In very rare situations new hidden service descriptors were
  18633. published earlier than 30 seconds after the last change to the
  18634. service. (We currently think that a hidden service descriptor
  18635. that's been stable for 30 seconds is worth publishing.)
  18636. - If a hidden service sends us an END cell, do not consider
  18637. retrying the connection; just close it. Patch from rovv.
  18638. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  18639. service directories if they have no advertised dir port. Bugfix
  18640. on 0.2.0.10-alpha.
  18641. o Minor bugfixes (tools):
  18642. - In the torify(1) manpage, mention that tsocks will leak your
  18643. DNS requests.
  18644. o Minor bugfixes (controllers):
  18645. - If the controller claimed responsibility for a stream, but that
  18646. stream never finished making its connection, it would live
  18647. forever in circuit_wait state. Now we close it after SocksTimeout
  18648. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  18649. - Make DNS resolved controller events into "CLOSED", not
  18650. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  18651. bug 807.
  18652. - The control port would close the connection before flushing long
  18653. replies, such as the network consensus, if a QUIT command was issued
  18654. before the reply had completed. Now, the control port flushes all
  18655. pending replies before closing the connection. Also fix a spurious
  18656. warning when a QUIT command is issued after a malformed or rejected
  18657. AUTHENTICATE command, but before the connection was closed. Patch
  18658. by Marcus Griep. Fixes bugs 1015 and 1016.
  18659. - Fix a bug that made stream bandwidth get misreported to the
  18660. controller.
  18661. o Deprecated and removed features:
  18662. - The old "tor --version --version" command, which would print out
  18663. the subversion "Id" of most of the source files, is now removed. It
  18664. turned out to be less useful than we'd expected, and harder to
  18665. maintain.
  18666. - RedirectExits has been removed. It was deprecated since
  18667. 0.2.0.3-alpha.
  18668. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  18669. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  18670. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  18671. - Directory mirrors no longer fetch the v1 directory or
  18672. running-routers files. They are obsolete, and nobody asks for them
  18673. anymore. This is the first step to making v1 authorities obsolete.
  18674. - Take out the TestVia config option, since it was a workaround for
  18675. a bug that was fixed in Tor 0.1.1.21.
  18676. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  18677. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  18678. and nobody seems to be using them. Fixes bug 754. Bugfix on
  18679. 0.1.0.1-rc. Patch from Christian Wilms.
  18680. - Remove all backward-compatibility code for relays running
  18681. versions of Tor so old that they no longer work at all on the
  18682. Tor network.
  18683. o Code simplifications and refactoring:
  18684. - Tool-assisted documentation cleanup. Nearly every function or
  18685. static variable in Tor should have its own documentation now.
  18686. - Rename the confusing or_is_obsolete field to the more appropriate
  18687. is_bad_for_new_circs, and move it to or_connection_t where it
  18688. belongs.
  18689. - Move edge-only flags from connection_t to edge_connection_t: not
  18690. only is this better coding, but on machines of plausible alignment,
  18691. it should save 4-8 bytes per connection_t. "Every little bit helps."
  18692. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  18693. for consistency; keep old option working for backward compatibility.
  18694. - Simplify the code for finding connections to use for a circuit.
  18695. - Revise the connection_new functions so that a more typesafe variant
  18696. exists. This will work better with Coverity, and let us find any
  18697. actual mistakes we're making here.
  18698. - Refactor unit testing logic so that dmalloc can be used sensibly
  18699. with unit tests to check for memory leaks.
  18700. - Move all hidden-service related fields from connection and circuit
  18701. structure to substructures: this way they won't eat so much memory.
  18702. - Squeeze 2-5% out of client performance (according to oprofile) by
  18703. improving the implementation of some policy-manipulation functions.
  18704. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  18705. be more efficient. Formerly it was quadratic in the number of
  18706. servers; now it should be linear. Fixes bug 509.
  18707. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  18708. and n_conn_id_digest fields into a separate structure that's
  18709. only needed when the circuit has not yet attached to an n_conn.
  18710. - Optimize out calls to time(NULL) that occur for every IO operation,
  18711. or for every cell. On systems like Windows where time() is a
  18712. slow syscall, this fix will be slightly helpful.
  18713. Changes in version 0.2.0.35 - 2009-06-24
  18714. o Security fix:
  18715. - Avoid crashing in the presence of certain malformed descriptors.
  18716. Found by lark, and by automated fuzzing.
  18717. - Fix an edge case where a malicious exit relay could convince a
  18718. controller that the client's DNS question resolves to an internal IP
  18719. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  18720. o Major bugfixes:
  18721. - Finally fix the bug where dynamic-IP relays disappear when their
  18722. IP address changes: directory mirrors were mistakenly telling
  18723. them their old address if they asked via begin_dir, so they
  18724. never got an accurate answer about their new address, so they
  18725. just vanished after a day. For belt-and-suspenders, relays that
  18726. don't set Address in their config now avoid using begin_dir for
  18727. all direct connections. Should fix bugs 827, 883, and 900.
  18728. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  18729. that would occur on some exit nodes when DNS failures and timeouts
  18730. occurred in certain patterns. Fix for bug 957.
  18731. o Minor bugfixes:
  18732. - When starting with a cache over a few days old, do not leak
  18733. memory for the obsolete router descriptors in it. Bugfix on
  18734. 0.2.0.33; fixes bug 672.
  18735. - Hidden service clients didn't use a cached service descriptor that
  18736. was older than 15 minutes, but wouldn't fetch a new one either,
  18737. because there was already one in the cache. Now, fetch a v2
  18738. descriptor unless the same descriptor was added to the cache within
  18739. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  18740. Changes in version 0.2.0.34 - 2009-02-08
  18741. Tor 0.2.0.34 features several more security-related fixes. You should
  18742. upgrade, especially if you run an exit relay (remote crash) or a
  18743. directory authority (remote infinite loop), or you're on an older
  18744. (pre-XP) or not-recently-patched Windows (remote exploit).
  18745. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  18746. have many known flaws, and nobody should be using them. You should
  18747. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  18748. stop using those packages and upgrade anyway.
  18749. o Security fixes:
  18750. - Fix an infinite-loop bug on handling corrupt votes under certain
  18751. circumstances. Bugfix on 0.2.0.8-alpha.
  18752. - Fix a temporary DoS vulnerability that could be performed by
  18753. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  18754. - Avoid a potential crash on exit nodes when processing malformed
  18755. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  18756. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  18757. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  18758. o Minor bugfixes:
  18759. - Fix compilation on systems where time_t is a 64-bit integer.
  18760. Patch from Matthias Drochner.
  18761. - Don't consider expiring already-closed client connections. Fixes
  18762. bug 893. Bugfix on 0.0.2pre20.
  18763. Changes in version 0.2.0.33 - 2009-01-21
  18764. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  18765. useful to users. It also finally fixes a bug where a relay or client
  18766. that's been off for many days would take a long time to bootstrap.
  18767. This update also fixes an important security-related bug reported by
  18768. Ilja van Sprundel. You should upgrade. (We'll send out more details
  18769. about the bug once people have had some time to upgrade.)
  18770. o Security fixes:
  18771. - Fix a heap-corruption bug that may be remotely triggerable on
  18772. some platforms. Reported by Ilja van Sprundel.
  18773. o Major bugfixes:
  18774. - When a stream at an exit relay is in state "resolving" or
  18775. "connecting" and it receives an "end" relay cell, the exit relay
  18776. would silently ignore the end cell and not close the stream. If
  18777. the client never closes the circuit, then the exit relay never
  18778. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  18779. reported by "wood".
  18780. - When sending CREATED cells back for a given circuit, use a 64-bit
  18781. connection ID to find the right connection, rather than an addr:port
  18782. combination. Now that we can have multiple OR connections between
  18783. the same ORs, it is no longer possible to use addr:port to uniquely
  18784. identify a connection.
  18785. - Bridge relays that had DirPort set to 0 would stop fetching
  18786. descriptors shortly after startup, and then briefly resume
  18787. after a new bandwidth test and/or after publishing a new bridge
  18788. descriptor. Bridge users that try to bootstrap from them would
  18789. get a recent networkstatus but would get descriptors from up to
  18790. 18 hours earlier, meaning most of the descriptors were obsolete
  18791. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  18792. - Prevent bridge relays from serving their 'extrainfo' document
  18793. to anybody who asks, now that extrainfo docs include potentially
  18794. sensitive aggregated client geoip summaries. Bugfix on
  18795. 0.2.0.13-alpha.
  18796. - If the cached networkstatus consensus is more than five days old,
  18797. discard it rather than trying to use it. In theory it could be
  18798. useful because it lists alternate directory mirrors, but in practice
  18799. it just means we spend many minutes trying directory mirrors that
  18800. are long gone from the network. Also discard router descriptors as
  18801. we load them if they are more than five days old, since the onion
  18802. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  18803. o Minor bugfixes:
  18804. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  18805. could make gcc generate non-functional binary search code. Bugfix
  18806. on 0.2.0.10-alpha.
  18807. - Build correctly on platforms without socklen_t.
  18808. - Compile without warnings on solaris.
  18809. - Avoid potential crash on internal error during signature collection.
  18810. Fixes bug 864. Patch from rovv.
  18811. - Correct handling of possible malformed authority signing key
  18812. certificates with internal signature types. Fixes bug 880.
  18813. Bugfix on 0.2.0.3-alpha.
  18814. - Fix a hard-to-trigger resource leak when logging credential status.
  18815. CID 349.
  18816. - When we can't initialize DNS because the network is down, do not
  18817. automatically stop Tor from starting. Instead, we retry failed
  18818. dns_init() every 10 minutes, and change the exit policy to reject
  18819. *:* until one succeeds. Fixes bug 691.
  18820. - Use 64 bits instead of 32 bits for connection identifiers used with
  18821. the controller protocol, to greatly reduce risk of identifier reuse.
  18822. - When we're choosing an exit node for a circuit, and we have
  18823. no pending streams, choose a good general exit rather than one that
  18824. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  18825. - Fix another case of assuming, when a specific exit is requested,
  18826. that we know more than the user about what hosts it allows.
  18827. Fixes one case of bug 752. Patch from rovv.
  18828. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  18829. seconds. Warn the user if lower values are given in the
  18830. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  18831. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  18832. user if lower values are given in the configuration. Bugfix on
  18833. 0.1.1.17-rc. Patch by Sebastian.
  18834. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  18835. the cache because we already had a v0 descriptor with the same ID.
  18836. Bugfix on 0.2.0.18-alpha.
  18837. - Fix a race condition when freeing keys shared between main thread
  18838. and CPU workers that could result in a memory leak. Bugfix on
  18839. 0.1.0.1-rc. Fixes bug 889.
  18840. - Send a valid END cell back when a client tries to connect to a
  18841. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  18842. 840. Patch from rovv.
  18843. - Check which hops rendezvous stream cells are associated with to
  18844. prevent possible guess-the-streamid injection attacks from
  18845. intermediate hops. Fixes another case of bug 446. Based on patch
  18846. from rovv.
  18847. - If a broken client asks a non-exit router to connect somewhere,
  18848. do not even do the DNS lookup before rejecting the connection.
  18849. Fixes another case of bug 619. Patch from rovv.
  18850. - When a relay gets a create cell it can't decrypt (e.g. because it's
  18851. using the wrong onion key), we were dropping it and letting the
  18852. client time out. Now actually answer with a destroy cell. Fixes
  18853. bug 904. Bugfix on 0.0.2pre8.
  18854. o Minor bugfixes (hidden services):
  18855. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  18856. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  18857. o Minor features:
  18858. - Report the case where all signatures in a detached set are rejected
  18859. differently than the case where there is an error handling the
  18860. detached set.
  18861. - When we realize that another process has modified our cached
  18862. descriptors, print out a more useful error message rather than
  18863. triggering an assertion. Fixes bug 885. Patch from Karsten.
  18864. - Implement the 0x20 hack to better resist DNS poisoning: set the
  18865. case on outgoing DNS requests randomly, and reject responses that do
  18866. not match the case correctly. This logic can be disabled with the
  18867. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  18868. of servers that do not reliably preserve case in replies. See
  18869. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  18870. for more info.
  18871. - Check DNS replies for more matching fields to better resist DNS
  18872. poisoning.
  18873. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  18874. compress cells, which are basically all encrypted, compressed, or
  18875. both.
  18876. Changes in version 0.2.0.32 - 2008-11-20
  18877. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  18878. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  18879. a smaller security flaw that might allow an attacker to access local
  18880. services, further improves hidden service performance, and fixes a
  18881. variety of other issues.
  18882. o Security fixes:
  18883. - The "User" and "Group" config options did not clear the
  18884. supplementary group entries for the Tor process. The "User" option
  18885. is now more robust, and we now set the groups to the specified
  18886. user's primary group. The "Group" option is now ignored. For more
  18887. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  18888. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  18889. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  18890. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  18891. consistently obeyed: if an exit relay refuses a stream because its
  18892. exit policy doesn't allow it, we would remember what IP address
  18893. the relay said the destination address resolves to, even if it's
  18894. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  18895. o Major bugfixes:
  18896. - Fix a DOS opportunity during the voting signature collection process
  18897. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  18898. o Major bugfixes (hidden services):
  18899. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  18900. we were failing the whole hidden service request when the v0
  18901. descriptor fetch fails, even if the v2 fetch is still pending and
  18902. might succeed. Similarly, if the last v2 fetch fails, we were
  18903. failing the whole hidden service request even if a v0 fetch is
  18904. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  18905. - When extending a circuit to a hidden service directory to upload a
  18906. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  18907. requests failed, because the router descriptor has not been
  18908. downloaded yet. In these cases, do not attempt to upload the
  18909. rendezvous descriptor, but wait until the router descriptor is
  18910. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  18911. descriptor from a hidden service directory for which the router
  18912. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  18913. on 0.2.0.10-alpha.
  18914. o Minor bugfixes:
  18915. - Fix several infrequent memory leaks spotted by Coverity.
  18916. - When testing for libevent functions, set the LDFLAGS variable
  18917. correctly. Found by Riastradh.
  18918. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  18919. bootstrapping with tunneled directory connections. Bugfix on
  18920. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  18921. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  18922. and we know that server B rejects most-but-not all connections to
  18923. port 80, we would previously reject the connection. Now, we assume
  18924. the user knows what they were asking for. Fixes bug 752. Bugfix
  18925. on 0.0.9rc5. Diagnosed by BarkerJr.
  18926. - If we overrun our per-second write limits a little, count this as
  18927. having used up our write allocation for the second, and choke
  18928. outgoing directory writes. Previously, we had only counted this when
  18929. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  18930. Bugfix on 0.2.0.x (??).
  18931. - Remove the old v2 directory authority 'lefkada' from the default
  18932. list. It has been gone for many months.
  18933. - Stop doing unaligned memory access that generated bus errors on
  18934. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  18935. - Make USR2 log-level switch take effect immediately. Bugfix on
  18936. 0.1.2.8-beta.
  18937. o Minor bugfixes (controller):
  18938. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  18939. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  18940. Changes in version 0.2.0.31 - 2008-09-03
  18941. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  18942. a big bug we're seeing where in rare cases traffic from one Tor stream
  18943. gets mixed into another stream, and fixes a variety of smaller issues.
  18944. o Major bugfixes:
  18945. - Make sure that two circuits can never exist on the same connection
  18946. with the same circuit ID, even if one is marked for close. This
  18947. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  18948. - Relays now reject risky extend cells: if the extend cell includes
  18949. a digest of all zeroes, or asks to extend back to the relay that
  18950. sent the extend cell, tear down the circuit. Ideas suggested
  18951. by rovv.
  18952. - If not enough of our entry guards are available so we add a new
  18953. one, we might use the new one even if it overlapped with the
  18954. current circuit's exit relay (or its family). Anonymity bugfix
  18955. pointed out by rovv.
  18956. o Minor bugfixes:
  18957. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  18958. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  18959. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  18960. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  18961. - Pick size of default geoip filename string correctly on windows.
  18962. Fixes bug 806. Bugfix on 0.2.0.30.
  18963. - Make the autoconf script accept the obsolete --with-ssl-dir
  18964. option as an alias for the actually-working --with-openssl-dir
  18965. option. Fix the help documentation to recommend --with-openssl-dir.
  18966. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  18967. - When using the TransPort option on OpenBSD, and using the User
  18968. option to change UID and drop privileges, make sure to open
  18969. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  18970. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  18971. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  18972. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  18973. on the client side when connecting to a hidden service. Bugfix
  18974. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  18975. - When closing an application-side connection because its circuit is
  18976. getting torn down, generate the stream event correctly. Bugfix on
  18977. 0.1.2.x. Anonymous patch.
  18978. Changes in version 0.2.0.30 - 2008-07-15
  18979. This new stable release switches to a more efficient directory
  18980. distribution design, adds features to make connections to the Tor
  18981. network harder to block, allows Tor to act as a DNS proxy, adds separate
  18982. rate limiting for relayed traffic to make it easier for clients to
  18983. become relays, fixes a variety of potential anonymity problems, and
  18984. includes the usual huge pile of other features and bug fixes.
  18985. o New v3 directory design:
  18986. - Tor now uses a new way to learn about and distribute information
  18987. about the network: the directory authorities vote on a common
  18988. network status document rather than each publishing their own
  18989. opinion. Now clients and caches download only one networkstatus
  18990. document to bootstrap, rather than downloading one for each
  18991. authority. Clients only download router descriptors listed in
  18992. the consensus. Implements proposal 101; see doc/spec/dir-spec.txt
  18993. for details.
  18994. - Set up moria1, tor26, and dizum as v3 directory authorities
  18995. in addition to being v2 authorities. Also add three new ones:
  18996. ides (run by Mike Perry), gabelmoo (run by Karsten Loesing), and
  18997. dannenberg (run by CCC).
  18998. - Switch to multi-level keys for directory authorities: now their
  18999. long-term identity key can be kept offline, and they periodically
  19000. generate a new signing key. Clients fetch the "key certificates"
  19001. to keep up to date on the right keys. Add a standalone tool
  19002. "tor-gencert" to generate key certificates. Implements proposal 103.
  19003. - Add a new V3AuthUseLegacyKey config option to make it easier for
  19004. v3 authorities to change their identity keys if another bug like
  19005. Debian's OpenSSL RNG flaw appears.
  19006. - Authorities and caches fetch the v2 networkstatus documents
  19007. less often, now that v3 is recommended.
  19008. o Make Tor connections stand out less on the wire:
  19009. - Use an improved TLS handshake designed by Steven Murdoch in proposal
  19010. 124, as revised in proposal 130. The new handshake is meant to
  19011. be harder for censors to fingerprint, and it adds the ability
  19012. to detect certain kinds of man-in-the-middle traffic analysis
  19013. attacks. The new handshake format includes version negotiation for
  19014. OR connections as described in proposal 105, which will allow us
  19015. to improve Tor's link protocol more safely in the future.
  19016. - Enable encrypted directory connections by default for non-relays,
  19017. so censor tools that block Tor directory connections based on their
  19018. plaintext patterns will no longer work. This means Tor works in
  19019. certain censored countries by default again.
  19020. - Stop including recognizeable strings in the commonname part of
  19021. Tor's x509 certificates.
  19022. o Implement bridge relays:
  19023. - Bridge relays (or "bridges" for short) are Tor relays that aren't
  19024. listed in the main Tor directory. Since there is no complete public
  19025. list of them, even an ISP that is filtering connections to all the
  19026. known Tor relays probably won't be able to block all the bridges.
  19027. See doc/design-paper/blocking.pdf and proposal 125 for details.
  19028. - New config option BridgeRelay that specifies you want to be a
  19029. bridge relay rather than a normal relay. When BridgeRelay is set
  19030. to 1, then a) you cache dir info even if your DirPort ins't on,
  19031. and b) the default for PublishServerDescriptor is now "bridge"
  19032. rather than "v2,v3".
  19033. - New config option "UseBridges 1" for clients that want to use bridge
  19034. relays instead of ordinary entry guards. Clients then specify
  19035. bridge relays by adding "Bridge" lines to their config file. Users
  19036. can learn about a bridge relay either manually through word of
  19037. mouth, or by one of our rate-limited mechanisms for giving out
  19038. bridge addresses without letting an attacker easily enumerate them
  19039. all. See https://www.torproject.org/bridges for details.
  19040. - Bridge relays behave like clients with respect to time intervals
  19041. for downloading new v3 consensus documents -- otherwise they
  19042. stand out. Bridge users now wait until the end of the interval,
  19043. so their bridge relay will be sure to have a new consensus document.
  19044. o Implement bridge directory authorities:
  19045. - Bridge authorities are like normal directory authorities, except
  19046. they don't serve a list of known bridges. Therefore users that know
  19047. a bridge's fingerprint can fetch a relay descriptor for that bridge,
  19048. including fetching updates e.g. if the bridge changes IP address,
  19049. yet an attacker can't just fetch a list of all the bridges.
  19050. - Set up Tonga as the default bridge directory authority.
  19051. - Bridge authorities refuse to serve bridge descriptors or other
  19052. bridge information over unencrypted connections (that is, when
  19053. responding to direct DirPort requests rather than begin_dir cells.)
  19054. - Bridge directory authorities do reachability testing on the
  19055. bridges they know. They provide router status summaries to the
  19056. controller via "getinfo ns/purpose/bridge", and also dump summaries
  19057. to a file periodically, so we can keep internal stats about which
  19058. bridges are functioning.
  19059. - If bridge users set the UpdateBridgesFromAuthority config option,
  19060. but the digest they ask for is a 404 on the bridge authority,
  19061. they fall back to contacting the bridge directly.
  19062. - Bridges always use begin_dir to publish their server descriptor to
  19063. the bridge authority using an anonymous encrypted tunnel.
  19064. - Early work on a "bridge community" design: if bridge authorities set
  19065. the BridgePassword config option, they will serve a snapshot of
  19066. known bridge routerstatuses from their DirPort to anybody who
  19067. knows that password. Unset by default.
  19068. - Tor now includes an IP-to-country GeoIP file, so bridge relays can
  19069. report sanitized aggregated summaries in their extra-info documents
  19070. privately to the bridge authority, listing which countries are
  19071. able to reach them. We hope this mechanism will let us learn when
  19072. certain countries start trying to block bridges.
  19073. - Bridge authorities write bridge descriptors to disk, so they can
  19074. reload them after a reboot. They can also export the descriptors
  19075. to other programs, so we can distribute them to blocked users via
  19076. the BridgeDB interface, e.g. via https://bridges.torproject.org/
  19077. and bridges@torproject.org.
  19078. o Tor can be a DNS proxy:
  19079. - The new client-side DNS proxy feature replaces the need for
  19080. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  19081. for DNS requests on port 9999, use the Tor network to resolve them
  19082. anonymously, and send the reply back like a regular DNS server.
  19083. The code still only implements a subset of DNS.
  19084. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  19085. resolve request for hosts matching a given pattern causes Tor to
  19086. generate an internal virtual address mapping for that host. This
  19087. allows DNSPort to work sensibly with hidden service users. By
  19088. default, .exit and .onion addresses are remapped; the list of
  19089. patterns can be reconfigured with AutomapHostsSuffixes.
  19090. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  19091. address. Thanks to the AutomapHostsOnResolve option, this is no
  19092. longer a completely silly thing to do.
  19093. o Major features (relay usability):
  19094. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  19095. a separate set of token buckets for relayed traffic. Right now
  19096. relayed traffic is defined as answers to directory requests, and
  19097. OR connections that don't have any local circuits on them. See
  19098. proposal 111 for details.
  19099. - Create listener connections before we setuid to the configured
  19100. User and Group. Now non-Windows users can choose port values
  19101. under 1024, start Tor as root, and have Tor bind those ports
  19102. before it changes to another UID. (Windows users could already
  19103. pick these ports.)
  19104. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  19105. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  19106. on "vserver" accounts. Patch from coderman.
  19107. o Major features (directory authorities):
  19108. - Directory authorities track weighted fractional uptime and weighted
  19109. mean-time-between failures for relays. WFU is suitable for deciding
  19110. whether a node is "usually up", while MTBF is suitable for deciding
  19111. whether a node is "likely to stay up." We need both, because
  19112. "usually up" is a good requirement for guards, while "likely to
  19113. stay up" is a good requirement for long-lived connections.
  19114. - Directory authorities use a new formula for selecting which relays
  19115. to advertise as Guards: they must be in the top 7/8 in terms of
  19116. how long we have known about them, and above the median of those
  19117. nodes in terms of weighted fractional uptime.
  19118. - Directory authorities use a new formula for selecting which relays
  19119. to advertise as Stable: when we have 4 or more days of data, use
  19120. median measured MTBF rather than median declared uptime. Implements
  19121. proposal 108.
  19122. - Directory authorities accept and serve "extra info" documents for
  19123. routers. Routers now publish their bandwidth-history lines in the
  19124. extra-info docs rather than the main descriptor. This step saves
  19125. 60% (!) on compressed router descriptor downloads. Servers upload
  19126. extra-info docs to any authority that accepts them; directory
  19127. authorities now allow multiple router descriptors and/or extra
  19128. info documents to be uploaded in a single go. Authorities, and
  19129. caches that have been configured to download extra-info documents,
  19130. download them as needed. Implements proposal 104.
  19131. - Authorities now list relays who have the same nickname as
  19132. a different named relay, but list them with a new flag:
  19133. "Unnamed". Now we can make use of relays that happen to pick the
  19134. same nickname as a server that registered two years ago and then
  19135. disappeared. Implements proposal 122.
  19136. - Store routers in a file called cached-descriptors instead of in
  19137. cached-routers. Initialize cached-descriptors from cached-routers
  19138. if the old format is around. The new format allows us to store
  19139. annotations along with descriptors, to record the time we received
  19140. each descriptor, its source, and its purpose: currently one of
  19141. general, controller, or bridge.
  19142. o Major features (other):
  19143. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  19144. Tor can warn and/or refuse connections to ports commonly used with
  19145. vulnerable-plaintext protocols. Currently we warn on ports 23,
  19146. 109, 110, and 143, but we don't reject any. Based on proposal 129
  19147. by Kevin Bauer and Damon McCoy.
  19148. - Integrate Karsten Loesing's Google Summer of Code project to publish
  19149. hidden service descriptors on a set of redundant relays that are a
  19150. function of the hidden service address. Now we don't have to rely
  19151. on three central hidden service authorities for publishing and
  19152. fetching every hidden service descriptor. Implements proposal 114.
  19153. - Allow tunnelled directory connections to ask for an encrypted
  19154. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  19155. connection independently. Now we can make anonymized begin_dir
  19156. connections for (e.g.) more secure hidden service posting and
  19157. fetching.
  19158. o Major bugfixes (crashes and assert failures):
  19159. - Stop imposing an arbitrary maximum on the number of file descriptors
  19160. used for busy servers. Bug reported by Olaf Selke; patch from
  19161. Sebastian Hahn.
  19162. - Avoid possible failures when generating a directory with routers
  19163. with over-long versions strings, or too many flags set.
  19164. - Fix a rare assert error when we're closing one of our threads:
  19165. use a mutex to protect the list of logs, so we never write to the
  19166. list as it's being freed. Fixes the very rare bug 575, which is
  19167. kind of the revenge of bug 222.
  19168. - Avoid segfault in the case where a badly behaved v2 versioning
  19169. directory sends a signed networkstatus with missing client-versions.
  19170. - When we hit an EOF on a log (probably because we're shutting down),
  19171. don't try to remove the log from the list: just mark it as
  19172. unusable. (Bulletproofs against bug 222.)
  19173. o Major bugfixes (code security fixes):
  19174. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  19175. Dan Kaminsky.
  19176. - Rewrite directory tokenization code to never run off the end of
  19177. a string. Fixes bug 455. Patch from croup.
  19178. - Be more paranoid about overwriting sensitive memory on free(),
  19179. as a defensive programming tactic to ensure forward secrecy.
  19180. o Major bugfixes (anonymity fixes):
  19181. - Reject requests for reverse-dns lookup of names that are in
  19182. a private address space. Patch from lodger.
  19183. - Never report that we've used more bandwidth than we're willing to
  19184. relay: it leaks how much non-relay traffic we're using. Resolves
  19185. bug 516.
  19186. - As a client, do not believe any server that tells us that an
  19187. address maps to an internal address space.
  19188. - Warn about unsafe ControlPort configurations.
  19189. - Directory authorities now call routers Fast if their bandwidth is
  19190. at least 100KB/s, and consider their bandwidth adequate to be a
  19191. Guard if it is at least 250KB/s, no matter the medians. This fix
  19192. complements proposal 107.
  19193. - Directory authorities now never mark more than 2 servers per IP as
  19194. Valid and Running (or 5 on addresses shared by authorities).
  19195. Implements proposal 109, by Kevin Bauer and Damon McCoy.
  19196. - If we're a relay, avoid picking ourselves as an introduction point,
  19197. a rendezvous point, or as the final hop for internal circuits. Bug
  19198. reported by taranis and lodger.
  19199. - Exit relays that are used as a client can now reach themselves
  19200. using the .exit notation, rather than just launching an infinite
  19201. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  19202. - Fix a bug where, when we were choosing the 'end stream reason' to
  19203. put in our relay end cell that we send to the exit relay, Tor
  19204. clients on Windows were sometimes sending the wrong 'reason'. The
  19205. anonymity problem is that exit relays may be able to guess whether
  19206. the client is running Windows, thus helping partition the anonymity
  19207. set. Down the road we should stop sending reasons to exit relays,
  19208. or otherwise prevent future versions of this bug.
  19209. - Only update guard status (usable / not usable) once we have
  19210. enough directory information. This was causing us to discard all our
  19211. guards on startup if we hadn't been running for a few weeks. Fixes
  19212. bug 448.
  19213. - When our directory information has been expired for a while, stop
  19214. being willing to build circuits using it. Fixes bug 401.
  19215. o Major bugfixes (peace of mind for relay operators)
  19216. - Non-exit relays no longer answer "resolve" relay cells, so they
  19217. can't be induced to do arbitrary DNS requests. (Tor clients already
  19218. avoid using non-exit relays for resolve cells, but now servers
  19219. enforce this too.) Fixes bug 619. Patch from lodger.
  19220. - When we setconf ClientOnly to 1, close any current OR and Dir
  19221. listeners. Reported by mwenge.
  19222. o Major bugfixes (other):
  19223. - If we only ever used Tor for hidden service lookups or posts, we
  19224. would stop building circuits and start refusing connections after
  19225. 24 hours, since we falsely believed that Tor was dormant. Reported
  19226. by nwf.
  19227. - Add a new __HashedControlSessionPassword option for controllers
  19228. to use for one-off session password hashes that shouldn't get
  19229. saved to disk by SAVECONF --- Vidalia users were accumulating a
  19230. pile of HashedControlPassword lines in their torrc files, one for
  19231. each time they had restarted Tor and then clicked Save. Make Tor
  19232. automatically convert "HashedControlPassword" to this new option but
  19233. only when it's given on the command line. Partial fix for bug 586.
  19234. - Patch from "Andrew S. Lists" to catch when we contact a directory
  19235. mirror at IP address X and he says we look like we're coming from
  19236. IP address X. Otherwise this would screw up our address detection.
  19237. - Reject uploaded descriptors and extrainfo documents if they're
  19238. huge. Otherwise we'll cache them all over the network and it'll
  19239. clog everything up. Suggested by Aljosha Judmayer.
  19240. - When a hidden service was trying to establish an introduction point,
  19241. and Tor *did* manage to reuse one of the preemptively built
  19242. circuits, it didn't correctly remember which one it used,
  19243. so it asked for another one soon after, until there were no
  19244. more preemptive circuits, at which point it launched one from
  19245. scratch. Bugfix on 0.0.9.x.
  19246. o Rate limiting and load balancing improvements:
  19247. - When we add data to a write buffer in response to the data on that
  19248. write buffer getting low because of a flush, do not consider the
  19249. newly added data as a candidate for immediate flushing, but rather
  19250. make it wait until the next round of writing. Otherwise, we flush
  19251. and refill recursively, and a single greedy TLS connection can
  19252. eat all of our bandwidth.
  19253. - When counting the number of bytes written on a TLS connection,
  19254. look at the BIO actually used for writing to the network, not
  19255. at the BIO used (sometimes) to buffer data for the network.
  19256. Looking at different BIOs could result in write counts on the
  19257. order of ULONG_MAX. Fixes bug 614.
  19258. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  19259. Tor won't realize it should publish a new relay descriptor. Fixes
  19260. bug 688, reported by mfr.
  19261. - Avoid using too little bandwidth when our clock skips a few seconds.
  19262. - Choose which bridge to use proportional to its advertised bandwidth,
  19263. rather than uniformly at random. This should speed up Tor for
  19264. bridge users. Also do this for people who set StrictEntryNodes.
  19265. o Bootstrapping faster and building circuits more intelligently:
  19266. - Fix bug 660 that was preventing us from knowing that we should
  19267. preemptively build circuits to handle expected directory requests.
  19268. - When we're checking if we have enough dir info for each relay
  19269. to begin establishing circuits, make sure that we actually have
  19270. the descriptor listed in the consensus, not just any descriptor.
  19271. - Correctly notify one-hop connections when a circuit build has
  19272. failed. Possible fix for bug 669. Found by lodger.
  19273. - Clients now hold circuitless TLS connections open for 1.5 times
  19274. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  19275. rebuild a new circuit over them within that timeframe. Previously,
  19276. they held them open only for KeepalivePeriod (5 minutes).
  19277. o Performance improvements (memory):
  19278. - Add OpenBSD malloc code from "phk" as an optional malloc
  19279. replacement on Linux: some glibc libraries do very poorly with
  19280. Tor's memory allocation patterns. Pass --enable-openbsd-malloc to
  19281. ./configure to get the replacement malloc code.
  19282. - Switch our old ring buffer implementation for one more like that
  19283. used by free Unix kernels. The wasted space in a buffer with 1mb
  19284. of data will now be more like 8k than 1mb. The new implementation
  19285. also avoids realloc();realloc(); patterns that can contribute to
  19286. memory fragmentation.
  19287. - Change the way that Tor buffers data that it is waiting to write.
  19288. Instead of queueing data cells in an enormous ring buffer for each
  19289. client->OR or OR->OR connection, we now queue cells on a separate
  19290. queue for each circuit. This lets us use less slack memory, and
  19291. will eventually let us be smarter about prioritizing different kinds
  19292. of traffic.
  19293. - Reference-count and share copies of address policy entries; only 5%
  19294. of them were actually distinct.
  19295. - Tune parameters for cell pool allocation to minimize amount of
  19296. RAM overhead used.
  19297. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  19298. for every single inactive connection_t. Free items from the
  19299. 4k/16k-buffer free lists when they haven't been used for a while.
  19300. - Make memory debugging information describe more about history
  19301. of cell allocation, so we can help reduce our memory use.
  19302. - Be even more aggressive about releasing RAM from small
  19303. empty buffers. Thanks to our free-list code, this shouldn't be too
  19304. performance-intensive.
  19305. - Log malloc statistics from mallinfo() on platforms where it exists.
  19306. - Use memory pools to allocate cells with better speed and memory
  19307. efficiency, especially on platforms where malloc() is inefficient.
  19308. - Add a --with-tcmalloc option to the configure script to link
  19309. against tcmalloc (if present). Does not yet search for non-system
  19310. include paths.
  19311. o Performance improvements (socket management):
  19312. - Count the number of open sockets separately from the number of
  19313. active connection_t objects. This will let us avoid underusing
  19314. our allocated connection limit.
  19315. - We no longer use socket pairs to link an edge connection to an
  19316. anonymous directory connection or a DirPort test connection.
  19317. Instead, we track the link internally and transfer the data
  19318. in-process. This saves two sockets per "linked" connection (at the
  19319. client and at the server), and avoids the nasty Windows socketpair()
  19320. workaround.
  19321. - We were leaking a file descriptor if Tor started with a zero-length
  19322. cached-descriptors file. Patch by "freddy77".
  19323. o Performance improvements (CPU use):
  19324. - Never walk through the list of logs if we know that no log target
  19325. is interested in a given message.
  19326. - Call routerlist_remove_old_routers() much less often. This should
  19327. speed startup, especially on directory caches.
  19328. - Base64 decoding was actually showing up on our profile when parsing
  19329. the initial descriptor file; switch to an in-process all-at-once
  19330. implementation that's about 3.5x times faster than calling out to
  19331. OpenSSL.
  19332. - Use a slightly simpler string hashing algorithm (copying Python's
  19333. instead of Java's) and optimize our digest hashing algorithm to take
  19334. advantage of 64-bit platforms and to remove some possibly-costly
  19335. voodoo.
  19336. - When implementing AES counter mode, update only the portions of the
  19337. counter buffer that need to change, and don't keep separate
  19338. network-order and host-order counters on big-endian hosts (where
  19339. they are the same).
  19340. - Add an in-place version of aes_crypt() so that we can avoid doing a
  19341. needless memcpy() call on each cell payload.
  19342. - Use Critical Sections rather than Mutexes for synchronizing threads
  19343. on win32; Mutexes are heavier-weight, and designed for synchronizing
  19344. between processes.
  19345. o Performance improvements (bandwidth use):
  19346. - Don't try to launch new descriptor downloads quite so often when we
  19347. already have enough directory information to build circuits.
  19348. - Version 1 directories are no longer generated in full. Instead,
  19349. authorities generate and serve "stub" v1 directories that list
  19350. no servers. This will stop Tor versions 0.1.0.x and earlier from
  19351. working, but (for security reasons) nobody should be running those
  19352. versions anyway.
  19353. - Avoid going directly to the directory authorities even if you're a
  19354. relay, if you haven't found yourself reachable yet or if you've
  19355. decided not to advertise your dirport yet. Addresses bug 556.
  19356. - If we've gone 12 hours since our last bandwidth check, and we
  19357. estimate we have less than 50KB bandwidth capacity but we could
  19358. handle more, do another bandwidth test.
  19359. - Support "If-Modified-Since" when answering HTTP requests for
  19360. directories, running-routers documents, and v2 and v3 networkstatus
  19361. documents. (There's no need to support it for router descriptors,
  19362. since those are downloaded by descriptor digest.)
  19363. - Stop fetching directory info so aggressively if your DirPort is
  19364. on but your ORPort is off; stop fetching v2 dir info entirely.
  19365. You can override these choices with the new FetchDirInfoEarly
  19366. config option.
  19367. o Changed config option behavior (features):
  19368. - Configuration files now accept C-style strings as values. This
  19369. helps encode characters not allowed in the current configuration
  19370. file format, such as newline or #. Addresses bug 557.
  19371. - Add hidden services and DNSPorts to the list of things that make
  19372. Tor accept that it has running ports. Change starting Tor with no
  19373. ports from a fatal error to a warning; we might change it back if
  19374. this turns out to confuse anybody. Fixes bug 579.
  19375. - Make PublishServerDescriptor default to 1, so the default doesn't
  19376. have to change as we invent new directory protocol versions.
  19377. - Allow people to say PreferTunnelledDirConns rather than
  19378. PreferTunneledDirConns, for those alternate-spellers out there.
  19379. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  19380. accommodate the growing number of servers that use the default
  19381. and are reaching it.
  19382. - Make it possible to enable HashedControlPassword and
  19383. CookieAuthentication at the same time.
  19384. - When a TrackHostExits-chosen exit fails too many times in a row,
  19385. stop using it. Fixes bug 437.
  19386. o Changed config option behavior (bugfixes):
  19387. - Do not read the configuration file when we've only been told to
  19388. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  19389. based on patch from Sebastian Hahn.
  19390. - Actually validate the options passed to AuthDirReject,
  19391. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  19392. - Make "ClientOnly 1" config option disable directory ports too.
  19393. - Don't stop fetching descriptors when FetchUselessDescriptors is
  19394. set, even if we stop asking for circuits. Bug reported by tup
  19395. and ioerror.
  19396. - Servers used to decline to publish their DirPort if their
  19397. BandwidthRate or MaxAdvertisedBandwidth were below a threshold. Now
  19398. they look only at BandwidthRate and RelayBandwidthRate.
  19399. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  19400. minus 1 byte: the actual maximum declared bandwidth.
  19401. - Make "TrackHostExits ." actually work. Bugfix on 0.1.0.x.
  19402. - Make the NodeFamilies config option work. (Reported by
  19403. lodger -- it has never actually worked, even though we added it
  19404. in Oct 2004.)
  19405. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  19406. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  19407. o New config options:
  19408. - New configuration options AuthDirMaxServersPerAddr and
  19409. AuthDirMaxServersperAuthAddr to override default maximum number
  19410. of servers allowed on a single IP address. This is important for
  19411. running a test network on a single host.
  19412. - Three new config options (AlternateDirAuthority,
  19413. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  19414. user selectively replace the default directory authorities by type,
  19415. rather than the all-or-nothing replacement that DirServer offers.
  19416. - New config options AuthDirBadDir and AuthDirListBadDirs for
  19417. authorities to mark certain relays as "bad directories" in the
  19418. networkstatus documents. Also supports the "!baddir" directive in
  19419. the approved-routers file.
  19420. - New config option V2AuthoritativeDirectory that all v2 directory
  19421. authorities must set. This lets v3 authorities choose not to serve
  19422. v2 directory information.
  19423. o Minor features (other):
  19424. - When we're not serving v2 directory information, there is no reason
  19425. to actually keep any around. Remove the obsolete files and directory
  19426. on startup if they are very old and we aren't going to serve them.
  19427. - When we negotiate a v2 link-layer connection (not yet implemented),
  19428. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  19429. negotiated a v1 connection for their next step. Initial steps for
  19430. proposal 110.
  19431. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  19432. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  19433. we can start out knowing some directory caches. We don't ship with
  19434. a fallback consensus by default though, because it was making
  19435. bootstrapping take too long while we tried many down relays.
  19436. - Authorities send back an X-Descriptor-Not-New header in response to
  19437. an accepted-but-discarded descriptor upload. Partially implements
  19438. fix for bug 535.
  19439. - If we find a cached-routers file that's been sitting around for more
  19440. than 28 days unmodified, then most likely it's a leftover from
  19441. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  19442. routers anyway.
  19443. - When we (as a cache) download a descriptor because it was listed
  19444. in a consensus, remember when the consensus was supposed to expire,
  19445. and don't expire the descriptor until then.
  19446. - Optionally (if built with -DEXPORTMALLINFO) export the output
  19447. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  19448. from localhost.
  19449. - Tag every guard node in our state file with the version that
  19450. we believe added it, or with our own version if we add it. This way,
  19451. if a user temporarily runs an old version of Tor and then switches
  19452. back to a new one, she doesn't automatically lose her guards.
  19453. - When somebody requests a list of statuses or servers, and we have
  19454. none of those, return a 404 rather than an empty 200.
  19455. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  19456. from croup.)
  19457. - Add an HSAuthorityRecordStats option that hidden service authorities
  19458. can use to track statistics of overall hidden service usage without
  19459. logging information that would be as useful to an attacker.
  19460. - Allow multiple HiddenServicePort directives with the same virtual
  19461. port; when they occur, the user is sent round-robin to one
  19462. of the target ports chosen at random. Partially fixes bug 393 by
  19463. adding limited ad-hoc round-robining.
  19464. - Revamp file-writing logic so we don't need to have the entire
  19465. contents of a file in memory at once before we write to disk. Tor,
  19466. meet stdio.
  19467. o Minor bugfixes (other):
  19468. - Alter the code that tries to recover from unhandled write
  19469. errors, to not try to flush onto a socket that's given us
  19470. unhandled errors.
  19471. - Directory mirrors no longer include a guess at the client's IP
  19472. address if the connection appears to be coming from the same /24
  19473. network; it was producing too many wrong guesses.
  19474. - If we're trying to flush the last bytes on a connection (for
  19475. example, when answering a directory request), reset the
  19476. time-to-give-up timeout every time we manage to write something
  19477. on the socket.
  19478. - Reject router descriptors with out-of-range bandwidthcapacity or
  19479. bandwidthburst values.
  19480. - If we can't expand our list of entry guards (e.g. because we're
  19481. using bridges or we have StrictEntryNodes set), don't mark relays
  19482. down when they fail a directory request. Otherwise we're too quick
  19483. to mark all our entry points down.
  19484. - Authorities no longer send back "400 you're unreachable please fix
  19485. it" errors to Tor servers that aren't online all the time. We're
  19486. supposed to tolerate these servers now.
  19487. - Let directory authorities startup even when they can't generate
  19488. a descriptor immediately, e.g. because they don't know their
  19489. address.
  19490. - Correctly enforce that elements of directory objects do not appear
  19491. more often than they are allowed to appear.
  19492. - Stop allowing hibernating servers to be "stable" or "fast".
  19493. - On Windows, we were preventing other processes from reading
  19494. cached-routers while Tor was running. (Reported by janbar)
  19495. - Check return values from pthread_mutex functions.
  19496. - When opening /dev/null in finish_daemonize(), do not pass the
  19497. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  19498. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  19499. o Controller features:
  19500. - The GETCONF command now escapes and quotes configuration values
  19501. that don't otherwise fit into the torrc file.
  19502. - The SETCONF command now handles quoted values correctly.
  19503. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  19504. ask about source, timestamp of arrival, purpose, etc. We need
  19505. something like this to help Vidalia not do GeoIP lookups on bridge
  19506. addresses.
  19507. - Allow multiple HashedControlPassword config lines, to support
  19508. multiple controller passwords.
  19509. - Accept LF instead of CRLF on controller, since some software has a
  19510. hard time generating real Internet newlines.
  19511. - Add GETINFO values for the server status events
  19512. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  19513. Robert Hogan.
  19514. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  19515. GETINFO for Torstat to use until it can switch to using extrainfos.
  19516. - New config option CookieAuthFile to choose a new location for the
  19517. cookie authentication file, and config option
  19518. CookieAuthFileGroupReadable to make it group-readable.
  19519. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  19520. match requests to applications. Patch from Robert Hogan.
  19521. - Add a RESOLVE command to launch hostname lookups. Original patch
  19522. from Robert Hogan.
  19523. - Add GETINFO status/enough-dir-info to let controllers tell whether
  19524. Tor has downloaded sufficient directory information. Patch from Tup.
  19525. - You can now use the ControlSocket option to tell Tor to listen for
  19526. controller connections on Unix domain sockets on systems that
  19527. support them. Patch from Peter Palfrader.
  19528. - New "GETINFO address-mappings/*" command to get address mappings
  19529. with expiry information. "addr-mappings/*" is now deprecated.
  19530. Patch from Tup.
  19531. - Add a new config option __DisablePredictedCircuits designed for
  19532. use by the controller, when we don't want Tor to build any circuits
  19533. preemptively.
  19534. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  19535. so we can exit from the middle of the circuit.
  19536. - Implement "getinfo status/circuit-established".
  19537. - Implement "getinfo status/version/..." so a controller can tell
  19538. whether the current version is recommended, and whether any versions
  19539. are good, and how many authorities agree. Patch from "shibz".
  19540. - Controllers should now specify cache=no or cache=yes when using
  19541. the +POSTDESCRIPTOR command.
  19542. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  19543. Robert Hogan. Fixes the first part of bug 681.
  19544. - When reporting clock skew, and we know that the clock is _at least
  19545. as skewed_ as some value, but we don't know the actual value,
  19546. report the value as a "minimum skew."
  19547. o Controller bugfixes:
  19548. - Generate "STATUS_SERVER" events rather than misspelled
  19549. "STATUS_SEVER" events. Caught by mwenge.
  19550. - Reject controller commands over 1MB in length, so rogue
  19551. processes can't run us out of memory.
  19552. - Change the behavior of "getinfo status/good-server-descriptor"
  19553. so it doesn't return failure when any authority disappears.
  19554. - Send NAMESERVER_STATUS messages for a single failed nameserver
  19555. correctly.
  19556. - When the DANGEROUS_VERSION controller status event told us we're
  19557. running an obsolete version, it used the string "OLD" to describe
  19558. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  19559. "OBSOLETE" in both cases.
  19560. - Respond to INT and TERM SIGNAL commands before we execute the
  19561. signal, in case the signal shuts us down. We had a patch in
  19562. 0.1.2.1-alpha that tried to do this by queueing the response on
  19563. the connection's buffer before shutting down, but that really
  19564. isn't the same thing at all. Bug located by Matt Edman.
  19565. - Provide DNS expiry times in GMT, not in local time. For backward
  19566. compatibility, ADDRMAP events only provide GMT expiry in an extended
  19567. field. "GETINFO address-mappings" always does the right thing.
  19568. - Use CRLF line endings properly in NS events.
  19569. - Make 'getinfo fingerprint' return a 551 error if we're not a
  19570. server, so we match what the control spec claims we do. Reported
  19571. by daejees.
  19572. - Fix a typo in an error message when extendcircuit fails that
  19573. caused us to not follow the \r\n-based delimiter protocol. Reported
  19574. by daejees.
  19575. - When tunneling an encrypted directory connection, and its first
  19576. circuit fails, do not leave it unattached and ask the controller
  19577. to deal. Fixes the second part of bug 681.
  19578. - Treat some 403 responses from directory servers as INFO rather than
  19579. WARN-severity events.
  19580. o Portability / building / compiling:
  19581. - When building with --enable-gcc-warnings, check for whether Apple's
  19582. warning "-Wshorten-64-to-32" is available.
  19583. - Support compilation to target iPhone; patch from cjacker huang.
  19584. To build for iPhone, pass the --enable-iphone option to configure.
  19585. - Port Tor to build and run correctly on Windows CE systems, using
  19586. the wcecompat library. Contributed by Valerio Lupi.
  19587. - Detect non-ASCII platforms (if any still exist) and refuse to
  19588. build there: some of our code assumes that 'A' is 65 and so on.
  19589. - Clear up some MIPSPro compiler warnings.
  19590. - Make autoconf search for libevent, openssl, and zlib consistently.
  19591. - Update deprecated macros in configure.in.
  19592. - When warning about missing headers, tell the user to let us
  19593. know if the compile succeeds anyway, so we can downgrade the
  19594. warning.
  19595. - Include the current subversion revision as part of the version
  19596. string: either fetch it directly if we're in an SVN checkout, do
  19597. some magic to guess it if we're in an SVK checkout, or use
  19598. the last-detected version if we're building from a .tar.gz.
  19599. Use this version consistently in log messages.
  19600. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  19601. - Read resolv.conf files correctly on platforms where read() returns
  19602. partial results on small file reads.
  19603. - Build without verbose warnings even on gcc 4.2 and 4.3.
  19604. - On Windows, correctly detect errors when listing the contents of
  19605. a directory. Fix from lodger.
  19606. - Run 'make test' as part of 'make dist', so we stop releasing so
  19607. many development snapshots that fail their unit tests.
  19608. - Add support to detect Libevent versions in the 1.4.x series
  19609. on mingw.
  19610. - Add command-line arguments to unit-test executable so that we can
  19611. invoke any chosen test from the command line rather than having
  19612. to run the whole test suite at once; and so that we can turn on
  19613. logging for the unit tests.
  19614. - Do not automatically run configure from autogen.sh. This
  19615. non-standard behavior tended to annoy people who have built other
  19616. programs.
  19617. - Fix a macro/CPP interaction that was confusing some compilers:
  19618. some GCCs don't like #if/#endif pairs inside macro arguments.
  19619. Fixes bug 707.
  19620. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  19621. Fixes bug 704; fix from Steven Murdoch.
  19622. - Correctly detect transparent proxy support on Linux hosts that
  19623. require in.h to be included before netfilter_ipv4.h. Patch
  19624. from coderman.
  19625. o Logging improvements:
  19626. - When we haven't had any application requests lately, don't bother
  19627. logging that we have expired a bunch of descriptors.
  19628. - When attempting to open a logfile fails, tell us why.
  19629. - Only log guard node status when guard node status has changed.
  19630. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  19631. make "INFO" 75% less verbose.
  19632. - When SafeLogging is disabled, log addresses along with all TLS
  19633. errors.
  19634. - Report TLS "zero return" case as a "clean close" and "IO error"
  19635. as a "close". Stop calling closes "unexpected closes": existing
  19636. Tors don't use SSL_close(), so having a connection close without
  19637. the TLS shutdown handshake is hardly unexpected.
  19638. - When we receive a consensus from the future, warn about skew.
  19639. - Make "not enough dir info yet" warnings describe *why* Tor feels
  19640. it doesn't have enough directory info yet.
  19641. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  19642. consumers. (We already do this on HUP.)
  19643. - Give more descriptive well-formedness errors for out-of-range
  19644. hidden service descriptor/protocol versions.
  19645. - Stop recommending that every server operator send mail to tor-ops.
  19646. Resolves bug 597. Bugfix on 0.1.2.x.
  19647. - Improve skew reporting: try to give the user a better log message
  19648. about how skewed they are, and how much this matters.
  19649. - New --quiet command-line option to suppress the default console log.
  19650. Good in combination with --hash-password.
  19651. - Don't complain that "your server has not managed to confirm that its
  19652. ports are reachable" if we haven't been able to build any circuits
  19653. yet.
  19654. - Detect the reason for failing to mmap a descriptor file we just
  19655. wrote, and give a more useful log message. Fixes bug 533.
  19656. - Always prepend "Bug: " to any log message about a bug.
  19657. - When dumping memory usage, list bytes used in buffer memory
  19658. free-lists.
  19659. - When running with dmalloc, dump more stats on hup and on exit.
  19660. - Put a platform string (e.g. "Linux i686") in the startup log
  19661. message, so when people paste just their logs, we know if it's
  19662. OpenBSD or Windows or what.
  19663. - When logging memory usage, break down memory used in buffers by
  19664. buffer type.
  19665. - When we are reporting the DirServer line we just parsed, we were
  19666. logging the second stanza of the key fingerprint, not the first.
  19667. - Even though Windows is equally happy with / and \ as path separators,
  19668. try to use \ consistently on Windows and / consistently on Unix: it
  19669. makes the log messages nicer.
  19670. - On OSX, stop warning the user that kqueue support in libevent is
  19671. "experimental", since it seems to have worked fine for ages.
  19672. o Contributed scripts and tools:
  19673. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  19674. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  19675. Perry.
  19676. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  19677. Unix users an easy way to script their Tor process (e.g. by
  19678. adjusting bandwidth based on the time of the day).
  19679. - In the exitlist script, only consider the most recently published
  19680. server descriptor for each server. Also, when the user requests
  19681. a list of servers that _reject_ connections to a given address,
  19682. explicitly exclude the IPs that also have servers that accept
  19683. connections to that address. Resolves bug 405.
  19684. - Include a new contrib/tor-exit-notice.html file that exit relay
  19685. operators can put on their website to help reduce abuse queries.
  19686. o Newly deprecated features:
  19687. - The status/version/num-versioning and status/version/num-concurring
  19688. GETINFO controller options are no longer useful in the v3 directory
  19689. protocol: treat them as deprecated, and warn when they're used.
  19690. - The RedirectExits config option is now deprecated.
  19691. o Removed features:
  19692. - Drop the old code to choke directory connections when the
  19693. corresponding OR connections got full: thanks to the cell queue
  19694. feature, OR conns don't get full any more.
  19695. - Remove the old "dns worker" server DNS code: it hasn't been default
  19696. since 0.1.2.2-alpha, and all the servers are using the new
  19697. eventdns code.
  19698. - Remove the code to generate the oldest (v1) directory format.
  19699. - Remove support for the old bw_accounting file: we've been storing
  19700. bandwidth accounting information in the state file since
  19701. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  19702. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  19703. downgrade to 0.1.1.x or earlier.
  19704. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  19705. it, it had no AES, and it hasn't seen any security patches since
  19706. 2004.
  19707. - Stop overloading the circuit_t.onionskin field for both "onionskin
  19708. from a CREATE cell that we are waiting for a cpuworker to be
  19709. assigned" and "onionskin from an EXTEND cell that we are going to
  19710. send to an OR as soon as we are connected". Might help with bug 600.
  19711. - Remove the tor_strpartition() function: its logic was confused,
  19712. and it was only used for one thing that could be implemented far
  19713. more easily.
  19714. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  19715. and TorControl.py, as they use the old v0 controller protocol,
  19716. and are obsoleted by TorFlow anyway.
  19717. - Drop support for v1 rendezvous descriptors, since we never used
  19718. them anyway, and the code has probably rotted by now. Based on
  19719. patch from Karsten Loesing.
  19720. - Stop allowing address masks that do not correspond to bit prefixes.
  19721. We have warned about these for a really long time; now it's time
  19722. to reject them. (Patch from croup.)
  19723. - Remove an optimization in the AES counter-mode code that assumed
  19724. that the counter never exceeded 2^68. When the counter can be set
  19725. arbitrarily as an IV (as it is by Karsten's new hidden services
  19726. code), this assumption no longer holds.
  19727. - Disable the SETROUTERPURPOSE controller command: it is now
  19728. obsolete.
  19729. Changes in version 0.1.2.19 - 2008-01-17
  19730. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  19731. exit policy a little bit more conservative so it's safer to run an
  19732. exit relay on a home system, and fixes a variety of smaller issues.
  19733. o Security fixes:
  19734. - Exit policies now reject connections that are addressed to a
  19735. relay's public (external) IP address too, unless
  19736. ExitPolicyRejectPrivate is turned off. We do this because too
  19737. many relays are running nearby to services that trust them based
  19738. on network address.
  19739. o Major bugfixes:
  19740. - When the clock jumps forward a lot, do not allow the bandwidth
  19741. buckets to become negative. Fixes bug 544.
  19742. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  19743. on every successful resolve. Reported by Mike Perry.
  19744. - Purge old entries from the "rephist" database and the hidden
  19745. service descriptor database even when DirPort is zero.
  19746. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  19747. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  19748. crashing or mis-answering these requests.
  19749. - When we decide to send a 503 response to a request for servers, do
  19750. not then also send the server descriptors: this defeats the whole
  19751. purpose. Fixes bug 539.
  19752. o Minor bugfixes:
  19753. - Changing the ExitPolicyRejectPrivate setting should cause us to
  19754. rebuild our server descriptor.
  19755. - Fix handling of hex nicknames when answering controller requests for
  19756. networkstatus by name, or when deciding whether to warn about
  19757. unknown routers in a config option. (Patch from mwenge.)
  19758. - Fix a couple of hard-to-trigger autoconf problems that could result
  19759. in really weird results on platforms whose sys/types.h files define
  19760. nonstandard integer types.
  19761. - Don't try to create the datadir when running --verify-config or
  19762. --hash-password. Resolves bug 540.
  19763. - If we were having problems getting a particular descriptor from the
  19764. directory caches, and then we learned about a new descriptor for
  19765. that router, we weren't resetting our failure count. Reported
  19766. by lodger.
  19767. - Although we fixed bug 539 (where servers would send HTTP status 503
  19768. responses _and_ send a body too), there are still servers out there
  19769. that haven't upgraded. Therefore, make clients parse such bodies
  19770. when they receive them.
  19771. - Run correctly on systems where rlim_t is larger than unsigned long.
  19772. This includes some 64-bit systems.
  19773. - Run correctly on platforms (like some versions of OS X 10.5) where
  19774. the real limit for number of open files is OPEN_FILES, not rlim_max
  19775. from getrlimit(RLIMIT_NOFILES).
  19776. - Avoid a spurious free on base64 failure.
  19777. - Avoid segfaults on certain complex invocations of
  19778. router_get_by_hexdigest().
  19779. - Fix rare bug on REDIRECTSTREAM control command when called with no
  19780. port set: it could erroneously report an error when none had
  19781. happened.
  19782. Changes in version 0.1.2.18 - 2007-10-28
  19783. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  19784. hidden service introduction that were causing huge delays, and a big
  19785. bug that was causing some servers to disappear from the network status
  19786. lists for a few hours each day.
  19787. o Major bugfixes (crashes):
  19788. - If a connection is shut down abruptly because of something that
  19789. happened inside connection_flushed_some(), do not call
  19790. connection_finished_flushing(). Should fix bug 451:
  19791. "connection_stop_writing: Assertion conn->write_event failed"
  19792. Bugfix on 0.1.2.7-alpha.
  19793. - Fix possible segfaults in functions called from
  19794. rend_process_relay_cell().
  19795. o Major bugfixes (hidden services):
  19796. - Hidden services were choosing introduction points uniquely by
  19797. hexdigest, but when constructing the hidden service descriptor
  19798. they merely wrote the (potentially ambiguous) nickname.
  19799. - Clients now use the v2 intro format for hidden service
  19800. connections: they specify their chosen rendezvous point by identity
  19801. digest rather than by (potentially ambiguous) nickname. These
  19802. changes could speed up hidden service connections dramatically.
  19803. o Major bugfixes (other):
  19804. - Stop publishing a new server descriptor just because we get a
  19805. HUP signal. This led (in a roundabout way) to some servers getting
  19806. dropped from the networkstatus lists for a few hours each day.
  19807. - When looking for a circuit to cannibalize, consider family as well
  19808. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  19809. circuit cannibalization).
  19810. - When a router wasn't listed in a new networkstatus, we were leaving
  19811. the flags for that router alone -- meaning it remained Named,
  19812. Running, etc -- even though absence from the networkstatus means
  19813. that it shouldn't be considered to exist at all anymore. Now we
  19814. clear all the flags for routers that fall out of the networkstatus
  19815. consensus. Fixes bug 529.
  19816. o Minor bugfixes:
  19817. - Don't try to access (or alter) the state file when running
  19818. --list-fingerprint or --verify-config or --hash-password. Resolves
  19819. bug 499.
  19820. - When generating information telling us how to extend to a given
  19821. router, do not try to include the nickname if it is
  19822. absent. Resolves bug 467.
  19823. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  19824. a way to trigger this remotely.)
  19825. - When sending a status event to the controller telling it that an
  19826. OR address is reachable, set the port correctly. (Previously we
  19827. were reporting the dir port.)
  19828. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  19829. command. Bugfix on 0.1.2.17.
  19830. - When loading bandwidth history, do not believe any information in
  19831. the future. Fixes bug 434.
  19832. - When loading entry guard information, do not believe any information
  19833. in the future.
  19834. - When we have our clock set far in the future and generate an
  19835. onion key, then re-set our clock to be correct, we should not stop
  19836. the onion key from getting rotated.
  19837. - On some platforms, accept() can return a broken address. Detect
  19838. this more quietly, and deal accordingly. Fixes bug 483.
  19839. - It's not actually an error to find a non-pending entry in the DNS
  19840. cache when canceling a pending resolve. Don't log unless stuff
  19841. is fishy. Resolves bug 463.
  19842. - Don't reset trusted dir server list when we set a configuration
  19843. option. Patch from Robert Hogan.
  19844. Changes in version 0.1.2.17 - 2007-08-30
  19845. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  19846. X bundles. Vidalia 0.0.14 makes authentication required for the
  19847. ControlPort in the default configuration, which addresses important
  19848. security risks. Everybody who uses Vidalia (or another controller)
  19849. should upgrade.
  19850. In addition, this Tor update fixes major load balancing problems with
  19851. path selection, which should speed things up a lot once many people
  19852. have upgraded.
  19853. o Major bugfixes (security):
  19854. - We removed support for the old (v0) control protocol. It has been
  19855. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  19856. become more of a headache than it's worth.
  19857. o Major bugfixes (load balancing):
  19858. - When choosing nodes for non-guard positions, weight guards
  19859. proportionally less, since they already have enough load. Patch
  19860. from Mike Perry.
  19861. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  19862. will allow fast Tor servers to get more attention.
  19863. - When we're upgrading from an old Tor version, forget our current
  19864. guards and pick new ones according to the new weightings. These
  19865. three load balancing patches could raise effective network capacity
  19866. by a factor of four. Thanks to Mike Perry for measurements.
  19867. o Major bugfixes (stream expiration):
  19868. - Expire not-yet-successful application streams in all cases if
  19869. they've been around longer than SocksTimeout. Right now there are
  19870. some cases where the stream will live forever, demanding a new
  19871. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  19872. o Minor features (controller):
  19873. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  19874. is valid before any authentication has been received. It tells
  19875. a controller what kind of authentication is expected, and what
  19876. protocol is spoken. Implements proposal 119.
  19877. o Minor bugfixes (performance):
  19878. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  19879. greatly speeding up loading cached-routers from disk on startup.
  19880. - Disable sentinel-based debugging for buffer code: we squashed all
  19881. the bugs that this was supposed to detect a long time ago, and now
  19882. its only effect is to change our buffer sizes from nice powers of
  19883. two (which platform mallocs tend to like) to values slightly over
  19884. powers of two (which make some platform mallocs sad).
  19885. o Minor bugfixes (misc):
  19886. - If exit bandwidth ever exceeds one third of total bandwidth, then
  19887. use the correct formula to weight exit nodes when choosing paths.
  19888. Based on patch from Mike Perry.
  19889. - Choose perfectly fairly among routers when choosing by bandwidth and
  19890. weighting by fraction of bandwidth provided by exits. Previously, we
  19891. would choose with only approximate fairness, and correct ourselves
  19892. if we ran off the end of the list.
  19893. - If we require CookieAuthentication but we fail to write the
  19894. cookie file, we would warn but not exit, and end up in a state
  19895. where no controller could authenticate. Now we exit.
  19896. - If we require CookieAuthentication, stop generating a new cookie
  19897. every time we change any piece of our config.
  19898. - Refuse to start with certain directory authority keys, and
  19899. encourage people using them to stop.
  19900. - Terminate multi-line control events properly. Original patch
  19901. from tup.
  19902. - Fix a minor memory leak when we fail to find enough suitable
  19903. servers to choose a circuit.
  19904. - Stop leaking part of the descriptor when we run into a particularly
  19905. unparseable piece of it.
  19906. Changes in version 0.1.2.16 - 2007-08-01
  19907. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  19908. remote attacker in certain situations to rewrite the user's torrc
  19909. configuration file. This can completely compromise anonymity of users
  19910. in most configurations, including those running the Vidalia bundles,
  19911. TorK, etc. Or worse.
  19912. o Major security fixes:
  19913. - Close immediately after missing authentication on control port;
  19914. do not allow multiple authentication attempts.
  19915. Changes in version 0.1.2.15 - 2007-07-17
  19916. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  19917. problems, fixes compilation on BSD, and fixes a variety of other
  19918. bugs. Everybody should upgrade.
  19919. o Major bugfixes (compilation):
  19920. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  19921. o Major bugfixes (crashes):
  19922. - Try even harder not to dereference the first character after
  19923. an mmap(). Reported by lodger.
  19924. - Fix a crash bug in directory authorities when we re-number the
  19925. routerlist while inserting a new router.
  19926. - When the cached-routers file is an even multiple of the page size,
  19927. don't run off the end and crash. (Fixes bug 455; based on idea
  19928. from croup.)
  19929. - Fix eventdns.c behavior on Solaris: It is critical to include
  19930. orconfig.h _before_ sys/types.h, so that we can get the expected
  19931. definition of _FILE_OFFSET_BITS.
  19932. o Major bugfixes (security):
  19933. - Fix a possible buffer overrun when using BSD natd support. Bug
  19934. found by croup.
  19935. - When sending destroy cells from a circuit's origin, don't include
  19936. the reason for tearing down the circuit. The spec says we didn't,
  19937. and now we actually don't. Reported by lodger.
  19938. - Keep streamids from different exits on a circuit separate. This
  19939. bug may have allowed other routers on a given circuit to inject
  19940. cells into streams. Reported by lodger; fixes bug 446.
  19941. - If there's a never-before-connected-to guard node in our list,
  19942. never choose any guards past it. This way we don't expand our
  19943. guard list unless we need to.
  19944. o Minor bugfixes (guard nodes):
  19945. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  19946. don't get overused as guards.
  19947. o Minor bugfixes (directory):
  19948. - Correctly count the number of authorities that recommend each
  19949. version. Previously, we were under-counting by 1.
  19950. - Fix a potential crash bug when we load many server descriptors at
  19951. once and some of them make others of them obsolete. Fixes bug 458.
  19952. o Minor bugfixes (hidden services):
  19953. - Stop tearing down the whole circuit when the user asks for a
  19954. connection to a port that the hidden service didn't configure.
  19955. Resolves bug 444.
  19956. o Minor bugfixes (misc):
  19957. - On Windows, we were preventing other processes from reading
  19958. cached-routers while Tor was running. Reported by janbar.
  19959. - Fix a possible (but very unlikely) bug in picking routers by
  19960. bandwidth. Add a log message to confirm that it is in fact
  19961. unlikely. Patch from lodger.
  19962. - Backport a couple of memory leak fixes.
  19963. - Backport miscellaneous cosmetic bugfixes.
  19964. Changes in version 0.1.2.14 - 2007-05-25
  19965. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  19966. change especially affects those who serve or use hidden services),
  19967. and fixes several other crash- and security-related bugs.
  19968. o Directory authority changes:
  19969. - Two directory authorities (moria1 and moria2) just moved to new
  19970. IP addresses. This change will particularly affect those who serve
  19971. or use hidden services.
  19972. o Major bugfixes (crashes):
  19973. - If a directory server runs out of space in the connection table
  19974. as it's processing a begin_dir request, it will free the exit stream
  19975. but leave it attached to the circuit, leading to unpredictable
  19976. behavior. (Reported by seeess, fixes bug 425.)
  19977. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  19978. to corrupt memory under some really unlikely scenarios.
  19979. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  19980. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  19981. by lodger.)
  19982. o Major bugfixes (security):
  19983. - When choosing an entry guard for a circuit, avoid using guards
  19984. that are in the same family as the chosen exit -- not just guards
  19985. that are exactly the chosen exit. (Reported by lodger.)
  19986. o Major bugfixes (resource management):
  19987. - If a directory authority is down, skip it when deciding where to get
  19988. networkstatus objects or descriptors. Otherwise we keep asking
  19989. every 10 seconds forever. Fixes bug 384.
  19990. - Count it as a failure if we fetch a valid network-status but we
  19991. don't want to keep it. Otherwise we'll keep fetching it and keep
  19992. not wanting to keep it. Fixes part of bug 422.
  19993. - If all of our dirservers have given us bad or no networkstatuses
  19994. lately, then stop hammering them once per minute even when we
  19995. think they're failed. Fixes another part of bug 422.
  19996. o Minor bugfixes:
  19997. - Actually set the purpose correctly for descriptors inserted with
  19998. purpose=controller.
  19999. - When we have k non-v2 authorities in our DirServer config,
  20000. we ignored the last k authorities in the list when updating our
  20001. network-statuses.
  20002. - Correctly back-off from requesting router descriptors that we are
  20003. having a hard time downloading.
  20004. - Read resolv.conf files correctly on platforms where read() returns
  20005. partial results on small file reads.
  20006. - Don't rebuild the entire router store every time we get 32K of
  20007. routers: rebuild it when the journal gets very large, or when
  20008. the gaps in the store get very large.
  20009. o Minor features:
  20010. - When routers publish SVN revisions in their router descriptors,
  20011. authorities now include those versions correctly in networkstatus
  20012. documents.
  20013. - Warn when using a version of libevent before 1.3b to run a server on
  20014. OSX or BSD: these versions interact badly with userspace threads.
  20015. Changes in version 0.1.2.13 - 2007-04-24
  20016. This release features some major anonymity fixes, such as safer path
  20017. selection; better client performance; faster bootstrapping, better
  20018. address detection, and better DNS support for servers; write limiting as
  20019. well as read limiting to make servers easier to run; and a huge pile of
  20020. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  20021. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  20022. of the Freenode IRC network, remembering his patience and vision for
  20023. free speech on the Internet.
  20024. o Major features, client performance:
  20025. - Weight directory requests by advertised bandwidth. Now we can
  20026. let servers enable write limiting but still allow most clients to
  20027. succeed at their directory requests. (We still ignore weights when
  20028. choosing a directory authority; I hope this is a feature.)
  20029. - Stop overloading exit nodes -- avoid choosing them for entry or
  20030. middle hops when the total bandwidth available from non-exit nodes
  20031. is much higher than the total bandwidth available from exit nodes.
  20032. - Rather than waiting a fixed amount of time between retrying
  20033. application connections, we wait only 10 seconds for the first,
  20034. 10 seconds for the second, and 15 seconds for each retry after
  20035. that. Hopefully this will improve the expected user experience.
  20036. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  20037. to open a stream fails; now we do in more cases. This should
  20038. make clients able to find a good exit faster in some cases, since
  20039. unhandleable requests will now get an error rather than timing out.
  20040. o Major features, client functionality:
  20041. - Implement BEGIN_DIR cells, so we can connect to a directory
  20042. server via TLS to do encrypted directory requests rather than
  20043. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  20044. config options if you like. For now, this feature only works if
  20045. you already have a descriptor for the destination dirserver.
  20046. - Add support for transparent application connections: this basically
  20047. bundles the functionality of trans-proxy-tor into the Tor
  20048. mainline. Now hosts with compliant pf/netfilter implementations
  20049. can redirect TCP connections straight to Tor without diverting
  20050. through SOCKS. (Based on patch from tup.)
  20051. - Add support for using natd; this allows FreeBSDs earlier than
  20052. 5.1.2 to have ipfw send connections through Tor without using
  20053. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  20054. o Major features, servers:
  20055. - Setting up a dyndns name for your server is now optional: servers
  20056. with no hostname or IP address will learn their IP address by
  20057. asking the directory authorities. This code only kicks in when you
  20058. would normally have exited with a "no address" error. Nothing's
  20059. authenticated, so use with care.
  20060. - Directory servers now spool server descriptors, v1 directories,
  20061. and v2 networkstatus objects to buffers as needed rather than en
  20062. masse. They also mmap the cached-routers files. These steps save
  20063. lots of memory.
  20064. - Stop requiring clients to have well-formed certificates, and stop
  20065. checking nicknames in certificates. (Clients have certificates so
  20066. that they can look like Tor servers, but in the future we might want
  20067. to allow them to look like regular TLS clients instead. Nicknames
  20068. in certificates serve no purpose other than making our protocol
  20069. easier to recognize on the wire.) Implements proposal 106.
  20070. o Improvements on DNS support:
  20071. - Add "eventdns" asynchronous dns library originally based on code
  20072. from Adam Langley. Now we can discard the old rickety dnsworker
  20073. concept, and support a wider variety of DNS functions. Allows
  20074. multithreaded builds on NetBSD and OpenBSD again.
  20075. - Add server-side support for "reverse" DNS lookups (using PTR
  20076. records so clients can determine the canonical hostname for a given
  20077. IPv4 address). Only supported by servers using eventdns; servers
  20078. now announce in their descriptors if they don't support eventdns.
  20079. - Workaround for name servers (like Earthlink's) that hijack failing
  20080. DNS requests and replace the no-such-server answer with a "helpful"
  20081. redirect to an advertising-driven search portal. Also work around
  20082. DNS hijackers who "helpfully" decline to hijack known-invalid
  20083. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  20084. lets you turn it off.
  20085. - Servers now check for the case when common DNS requests are going to
  20086. wildcarded addresses (i.e. all getting the same answer), and change
  20087. their exit policy to reject *:* if it's happening.
  20088. - When asked to resolve a hostname, don't use non-exit servers unless
  20089. requested to do so. This allows servers with broken DNS to be
  20090. useful to the network.
  20091. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  20092. useless IPv6 DNS resolves.
  20093. - Specify and implement client-side SOCKS5 interface for reverse DNS
  20094. lookups (see doc/socks-extensions.txt). Also cache them.
  20095. - When we change nameservers or IP addresses, reset and re-launch
  20096. our tests for DNS hijacking.
  20097. o Improvements on reachability testing:
  20098. - Servers send out a burst of long-range padding cells once they've
  20099. established that they're reachable. Spread them over 4 circuits,
  20100. so hopefully a few will be fast. This exercises bandwidth and
  20101. bootstraps them into the directory more quickly.
  20102. - When we find our DirPort to be reachable, publish a new descriptor
  20103. so we'll tell the world (reported by pnx).
  20104. - Directory authorities now only decide that routers are reachable
  20105. if their identity keys are as expected.
  20106. - Do DirPort reachability tests less often, since a single test
  20107. chews through many circuits before giving up.
  20108. - Avoid some false positives during reachability testing: don't try
  20109. to test via a server that's on the same /24 network as us.
  20110. - Start publishing one minute or so after we find our ORPort
  20111. to be reachable. This will help reduce the number of descriptors
  20112. we have for ourselves floating around, since it's quite likely
  20113. other things (e.g. DirPort) will change during that minute too.
  20114. - Routers no longer try to rebuild long-term connections to directory
  20115. authorities, and directory authorities no longer try to rebuild
  20116. long-term connections to all servers. We still don't hang up
  20117. connections in these two cases though -- we need to look at it
  20118. more carefully to avoid flapping, and we likely need to wait til
  20119. 0.1.1.x is obsolete.
  20120. o Improvements on rate limiting:
  20121. - Enable write limiting as well as read limiting. Now we sacrifice
  20122. capacity if we're pushing out lots of directory traffic, rather
  20123. than overrunning the user's intended bandwidth limits.
  20124. - Include TLS overhead when counting bandwidth usage; previously, we
  20125. would count only the bytes sent over TLS, but not the bytes used
  20126. to send them.
  20127. - Servers decline directory requests much more aggressively when
  20128. they're low on bandwidth. Otherwise they end up queueing more and
  20129. more directory responses, which can't be good for latency.
  20130. - But never refuse directory requests from local addresses.
  20131. - Be willing to read or write on local connections (e.g. controller
  20132. connections) even when the global rate limiting buckets are empty.
  20133. - Flush local controller connection buffers periodically as we're
  20134. writing to them, so we avoid queueing 4+ megabytes of data before
  20135. trying to flush.
  20136. - Revise and clean up the torrc.sample that we ship with; add
  20137. a section for BandwidthRate and BandwidthBurst.
  20138. o Major features, NT services:
  20139. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  20140. command-line flag so that admins can override the default by saying
  20141. "tor --service install --user "SomeUser"". This will not affect
  20142. existing installed services. Also, warn the user that the service
  20143. will look for its configuration file in the service user's
  20144. %appdata% directory. (We can't do the "hardwire the user's appdata
  20145. directory" trick any more, since we may not have read access to that
  20146. directory.)
  20147. - Support running the Tor service with a torrc not in the same
  20148. directory as tor.exe and default to using the torrc located in
  20149. the %appdata%\Tor\ of the user who installed the service. Patch
  20150. from Matt Edman.
  20151. - Add an --ignore-missing-torrc command-line option so that we can
  20152. get the "use sensible defaults if the configuration file doesn't
  20153. exist" behavior even when specifying a torrc location on the
  20154. command line.
  20155. - When stopping an NT service, wait up to 10 sec for it to actually
  20156. stop. (Patch from Matt Edman; resolves bug 295.)
  20157. o Directory authority improvements:
  20158. - Stop letting hibernating or obsolete servers affect uptime and
  20159. bandwidth cutoffs.
  20160. - Stop listing hibernating servers in the v1 directory.
  20161. - Authorities no longer recommend exits as guards if this would shift
  20162. too much load to the exit nodes.
  20163. - Authorities now specify server versions in networkstatus. This adds
  20164. about 2% to the size of compressed networkstatus docs, and allows
  20165. clients to tell which servers support BEGIN_DIR and which don't.
  20166. The implementation is forward-compatible with a proposed future
  20167. protocol version scheme not tied to Tor versions.
  20168. - DirServer configuration lines now have an orport= option so
  20169. clients can open encrypted tunnels to the authorities without
  20170. having downloaded their descriptors yet. Enabled for moria1,
  20171. moria2, tor26, and lefkada now in the default configuration.
  20172. - Add a BadDirectory flag to network status docs so that authorities
  20173. can (eventually) tell clients about caches they believe to be
  20174. broken. Not used yet.
  20175. - Allow authorities to list nodes as bad exits in their
  20176. approved-routers file by fingerprint or by address. If most
  20177. authorities set a BadExit flag for a server, clients don't think
  20178. of it as a general-purpose exit. Clients only consider authorities
  20179. that advertise themselves as listing bad exits.
  20180. - Patch from Steve Hildrey: Generate network status correctly on
  20181. non-versioning dirservers.
  20182. - Have directory authorities allow larger amounts of drift in uptime
  20183. without replacing the server descriptor: previously, a server that
  20184. restarted every 30 minutes could have 48 "interesting" descriptors
  20185. per day.
  20186. - Reserve the nickname "Unnamed" for routers that can't pick
  20187. a hostname: any router can call itself Unnamed; directory
  20188. authorities will never allocate Unnamed to any particular router;
  20189. clients won't believe that any router is the canonical Unnamed.
  20190. o Directory mirrors and clients:
  20191. - Discard any v1 directory info that's over 1 month old (for
  20192. directories) or over 1 week old (for running-routers lists).
  20193. - Clients track responses with status 503 from dirservers. After a
  20194. dirserver has given us a 503, we try not to use it until an hour has
  20195. gone by, or until we have no dirservers that haven't given us a 503.
  20196. - When we get a 503 from a directory, and we're not a server, we no
  20197. longer count the failure against the total number of failures
  20198. allowed for the object we're trying to download.
  20199. - Prepare for servers to publish descriptors less often: never
  20200. discard a descriptor simply for being too old until either it is
  20201. recommended by no authorities, or until we get a better one for
  20202. the same router. Make caches consider retaining old recommended
  20203. routers for even longer.
  20204. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  20205. headers for content, so that we can work better in the presence of
  20206. caching HTTP proxies.
  20207. - Stop fetching descriptors if you're not a dir mirror and you
  20208. haven't tried to establish any circuits lately. (This currently
  20209. causes some dangerous behavior, because when you start up again
  20210. you'll use your ancient server descriptors.)
  20211. o Major fixes, crashes:
  20212. - Stop crashing when the controller asks us to resetconf more than
  20213. one config option at once. (Vidalia 0.0.11 does this.)
  20214. - Fix a longstanding obscure crash bug that could occur when we run
  20215. out of DNS worker processes, if we're not using eventdns. (Resolves
  20216. bug 390.)
  20217. - Fix an assert that could trigger if a controller quickly set then
  20218. cleared EntryNodes. (Bug found by Udo van den Heuvel.)
  20219. - Avoid crash when telling controller about stream-status and a
  20220. stream is detached.
  20221. - Avoid sending junk to controllers or segfaulting when a controller
  20222. uses EVENT_NEW_DESC with verbose nicknames.
  20223. - Stop triggering asserts if the controller tries to extend hidden
  20224. service circuits (reported by mwenge).
  20225. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  20226. and hup, stop triggering an assert based on an empty onion_key.
  20227. - Mask out all signals in sub-threads; only the libevent signal
  20228. handler should be processing them. This should prevent some crashes
  20229. on some machines using pthreads. (Patch from coderman.)
  20230. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  20231. o Major fixes, anonymity/security:
  20232. - Automatically avoid picking more than one node from the same
  20233. /16 network when constructing a circuit. Add an
  20234. "EnforceDistinctSubnets" option to let people disable it if they
  20235. want to operate private test networks on a single subnet.
  20236. - When generating bandwidth history, round down to the nearest
  20237. 1k. When storing accounting data, round up to the nearest 1k.
  20238. - When we're running as a server, remember when we last rotated onion
  20239. keys, so that we will rotate keys once they're a week old even if
  20240. we never stay up for a week ourselves.
  20241. - If a client asked for a server by name, and there's a named server
  20242. in our network-status but we don't have its descriptor yet, we
  20243. could return an unnamed server instead.
  20244. - Reject (most) attempts to use Tor circuits with length one. (If
  20245. many people start using Tor as a one-hop proxy, exit nodes become
  20246. a more attractive target for compromise.)
  20247. - Just because your DirPort is open doesn't mean people should be
  20248. able to remotely teach you about hidden service descriptors. Now
  20249. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  20250. - Fix a potential race condition in the rpm installer. Found by
  20251. Stefan Nordhausen.
  20252. - Do not log IPs with TLS failures for incoming TLS
  20253. connections. (Fixes bug 382.)
  20254. o Major fixes, other:
  20255. - If our system clock jumps back in time, don't publish a negative
  20256. uptime in the descriptor.
  20257. - When we start during an accounting interval before it's time to wake
  20258. up, remember to wake up at the correct time. (May fix bug 342.)
  20259. - Previously, we would cache up to 16 old networkstatus documents
  20260. indefinitely, if they came from nontrusted authorities. Now we
  20261. discard them if they are more than 10 days old.
  20262. - When we have a state file we cannot parse, tell the user and
  20263. move it aside. Now we avoid situations where the user starts
  20264. Tor in 1904, Tor writes a state file with that timestamp in it,
  20265. the user fixes her clock, and Tor refuses to start.
  20266. - Publish a new descriptor after we hup/reload. This is important
  20267. if our config has changed such that we'll want to start advertising
  20268. our DirPort now, etc.
  20269. - If we are using an exit enclave and we can't connect, e.g. because
  20270. its webserver is misconfigured to not listen on localhost, then
  20271. back off and try connecting from somewhere else before we fail.
  20272. o New config options or behaviors:
  20273. - When EntryNodes are configured, rebuild the guard list to contain,
  20274. in order: the EntryNodes that were guards before; the rest of the
  20275. EntryNodes; the nodes that were guards before.
  20276. - Do not warn when individual nodes in the configuration's EntryNodes,
  20277. ExitNodes, etc are down: warn only when all possible nodes
  20278. are down. (Fixes bug 348.)
  20279. - Put a lower-bound on MaxAdvertisedBandwidth.
  20280. - Start using the state file to store bandwidth accounting data:
  20281. the bw_accounting file is now obsolete. We'll keep generating it
  20282. for a while for people who are still using 0.1.2.4-alpha.
  20283. - Try to batch changes to the state file so that we do as few
  20284. disk writes as possible while still storing important things in
  20285. a timely fashion.
  20286. - The state file and the bw_accounting file get saved less often when
  20287. the AvoidDiskWrites config option is set.
  20288. - Make PIDFile work on Windows.
  20289. - Add internal descriptions for a bunch of configuration options:
  20290. accessible via controller interface and in comments in saved
  20291. options files.
  20292. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  20293. NNTP by default, so this seems like a sensible addition.
  20294. - Clients now reject hostnames with invalid characters. This should
  20295. avoid some inadvertent info leaks. Add an option
  20296. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  20297. is running a private network with hosts called @, !, and #.
  20298. - Check for addresses with invalid characters at the exit as well,
  20299. and warn less verbosely when they fail. You can override this by
  20300. setting ServerDNSAllowNonRFC953Addresses to 1.
  20301. - Remove some options that have been deprecated since at least
  20302. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  20303. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  20304. to set log options. Mark PathlenCoinWeight as obsolete.
  20305. - Stop accepting certain malformed ports in configured exit policies.
  20306. - When the user uses bad syntax in the Log config line, stop
  20307. suggesting other bad syntax as a replacement.
  20308. - Add new config option "ResolvConf" to let the server operator
  20309. choose an alternate resolve.conf file when using eventdns.
  20310. - If one of our entry guards is on the ExcludeNodes list, or the
  20311. directory authorities don't think it's a good guard, treat it as
  20312. if it were unlisted: stop using it as a guard, and throw it off
  20313. the guards list if it stays that way for a long time.
  20314. - Allow directory authorities to be marked separately as authorities
  20315. for the v1 directory protocol, the v2 directory protocol, and
  20316. as hidden service directories, to make it easier to retire old
  20317. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  20318. to continue being hidden service authorities too.
  20319. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  20320. - Make TrackExitHosts case-insensitive, and fix the behavior of
  20321. ".suffix" TrackExitHosts items to avoid matching in the middle of
  20322. an address.
  20323. - New DirPort behavior: if you have your dirport set, you download
  20324. descriptors aggressively like a directory mirror, whether or not
  20325. your ORPort is set.
  20326. o Docs:
  20327. - Create a new file ReleaseNotes which was the old ChangeLog. The
  20328. new ChangeLog file now includes the notes for all development
  20329. versions too.
  20330. - Add a new address-spec.txt document to describe our special-case
  20331. addresses: .exit, .onion, and .noconnnect.
  20332. - Fork the v1 directory protocol into its own spec document,
  20333. and mark dir-spec.txt as the currently correct (v2) spec.
  20334. o Packaging, porting, and contrib
  20335. - "tor --verify-config" now exits with -1(255) or 0 depending on
  20336. whether the config options are bad or good.
  20337. - The Debian package now uses --verify-config when (re)starting,
  20338. to distinguish configuration errors from other errors.
  20339. - Adapt a patch from goodell to let the contrib/exitlist script
  20340. take arguments rather than require direct editing.
  20341. - Prevent the contrib/exitlist script from printing the same
  20342. result more than once.
  20343. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  20344. - In the hidden service example in torrc.sample, stop recommending
  20345. esoteric and discouraged hidden service options.
  20346. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  20347. values before failing, and always enables eventdns.
  20348. - Try to detect Windows correctly when cross-compiling.
  20349. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  20350. Try to fix this in configure.in by checking for most functions
  20351. before we check for libevent.
  20352. - Update RPMs to require libevent 1.2.
  20353. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  20354. or later. Log when we are doing this, so we can diagnose it when
  20355. it fails. (Also, recommend libevent 1.1b for kqueue and
  20356. win32 methods; deprecate libevent 1.0b harder; make libevent
  20357. recommendation system saner.)
  20358. - Build with recent (1.3+) libevents on platforms that do not
  20359. define the nonstandard types "u_int8_t" and friends.
  20360. - Remove architecture from OS X builds. The official builds are
  20361. now universal binaries.
  20362. - Run correctly on OS X platforms with case-sensitive filesystems.
  20363. - Correctly set maximum connection limit on Cygwin. (This time
  20364. for sure!)
  20365. - Start compiling on MinGW on Windows (patches from Mike Chiussi
  20366. and many others).
  20367. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  20368. - Finally fix the openssl warnings from newer gccs that believe that
  20369. ignoring a return value is okay, but casting a return value and
  20370. then ignoring it is a sign of madness.
  20371. - On architectures where sizeof(int)>4, still clamp declarable
  20372. bandwidth to INT32_MAX.
  20373. o Minor features, controller:
  20374. - Warn the user when an application uses the obsolete binary v0
  20375. control protocol. We're planning to remove support for it during
  20376. the next development series, so it's good to give people some
  20377. advance warning.
  20378. - Add STREAM_BW events to report per-entry-stream bandwidth
  20379. use. (Patch from Robert Hogan.)
  20380. - Rate-limit SIGNEWNYM signals in response to controllers that
  20381. impolitely generate them for every single stream. (Patch from
  20382. mwenge; closes bug 394.)
  20383. - Add a REMAP status to stream events to note that a stream's
  20384. address has changed because of a cached address or a MapAddress
  20385. directive.
  20386. - Make REMAP stream events have a SOURCE (cache or exit), and
  20387. make them generated in every case where we get a successful
  20388. connected or resolved cell.
  20389. - Track reasons for OR connection failure; make these reasons
  20390. available via the controller interface. (Patch from Mike Perry.)
  20391. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  20392. can learn when clients are sending malformed hostnames to Tor.
  20393. - Specify and implement some of the controller status events.
  20394. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  20395. - Reimplement GETINFO so that info/names stays in sync with the
  20396. actual keys.
  20397. - Implement "GETINFO fingerprint".
  20398. - Implement "SETEVENTS GUARD" so controllers can get updates on
  20399. entry guard status as it changes.
  20400. - Make all connections to addresses of the form ".noconnect"
  20401. immediately get closed. This lets application/controller combos
  20402. successfully test whether they're talking to the same Tor by
  20403. watching for STREAM events.
  20404. - Add a REASON field to CIRC events; for backward compatibility, this
  20405. field is sent only to controllers that have enabled the extended
  20406. event format. Also, add additional reason codes to explain why
  20407. a given circuit has been destroyed or truncated. (Patches from
  20408. Mike Perry)
  20409. - Add a REMOTE_REASON field to extended CIRC events to tell the
  20410. controller why a remote OR told us to close a circuit.
  20411. - Stream events also now have REASON and REMOTE_REASON fields,
  20412. working much like those for circuit events.
  20413. - There's now a GETINFO ns/... field so that controllers can ask Tor
  20414. about the current status of a router.
  20415. - A new event type "NS" to inform a controller when our opinion of
  20416. a router's status has changed.
  20417. - Add a GETINFO events/names and GETINFO features/names so controllers
  20418. can tell which events and features are supported.
  20419. - A new CLEARDNSCACHE signal to allow controllers to clear the
  20420. client-side DNS cache without expiring circuits.
  20421. - Fix CIRC controller events so that controllers can learn the
  20422. identity digests of non-Named servers used in circuit paths.
  20423. - Let controllers ask for more useful identifiers for servers. Instead
  20424. of learning identity digests for un-Named servers and nicknames
  20425. for Named servers, the new identifiers include digest, nickname,
  20426. and indication of Named status. Off by default; see control-spec.txt
  20427. for more information.
  20428. - Add a "getinfo address" controller command so it can display Tor's
  20429. best guess to the user.
  20430. - New controller event to alert the controller when our server
  20431. descriptor has changed.
  20432. - Give more meaningful errors on controller authentication failure.
  20433. - Export the default exit policy via the control port, so controllers
  20434. don't need to guess what it is / will be later.
  20435. o Minor bugfixes, controller:
  20436. - When creating a circuit via the controller, send a 'launched'
  20437. event when we're done, so we follow the spec better.
  20438. - Correct the control spec to match how the code actually responds
  20439. to 'getinfo addr-mappings/*'. Reported by daejees.
  20440. - The control spec described a GUARDS event, but the code
  20441. implemented a GUARD event. Standardize on GUARD, but let people
  20442. ask for GUARDS too. Reported by daejees.
  20443. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  20444. clear the corresponding on_circuit variable, and remember later
  20445. that we don't need to send a redundant CLOSED event. (Resolves part
  20446. 3 of bug 367.)
  20447. - Report events where a resolve succeeded or where we got a socks
  20448. protocol error correctly, rather than calling both of them
  20449. "INTERNAL".
  20450. - Change reported stream target addresses to IP consistently when
  20451. we finally get the IP from an exit node.
  20452. - Send log messages to the controller even if they happen to be very
  20453. long.
  20454. - Flush ERR-level controller status events just like we currently
  20455. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  20456. the controller from learning about current events.
  20457. - Report the circuit number correctly in STREAM CLOSED events. Bug
  20458. reported by Mike Perry.
  20459. - Do not report bizarre values for results of accounting GETINFOs
  20460. when the last second's write or read exceeds the allotted bandwidth.
  20461. - Report "unrecognized key" rather than an empty string when the
  20462. controller tries to fetch a networkstatus that doesn't exist.
  20463. - When the controller does a "GETINFO network-status", tell it
  20464. about even those routers whose descriptors are very old, and use
  20465. long nicknames where appropriate.
  20466. - Fix handling of verbose nicknames with ORCONN controller events:
  20467. make them show up exactly when requested, rather than exactly when
  20468. not requested.
  20469. - Controller signals now work on non-Unix platforms that don't define
  20470. SIGUSR1 and SIGUSR2 the way we expect.
  20471. - Respond to SIGNAL command before we execute the signal, in case
  20472. the signal shuts us down. Suggested by Karsten Loesing.
  20473. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  20474. o Minor features, code performance:
  20475. - Major performance improvement on inserting descriptors: change
  20476. algorithm from O(n^2) to O(n).
  20477. - Do not rotate onion key immediately after setting it for the first
  20478. time.
  20479. - Call router_have_min_dir_info half as often. (This is showing up in
  20480. some profiles, but not others.)
  20481. - When using GCC, make log_debug never get called at all, and its
  20482. arguments never get evaluated, when no debug logs are configured.
  20483. (This is showing up in some profiles, but not others.)
  20484. - Statistics dumped by -USR2 now include a breakdown of public key
  20485. operations, for profiling.
  20486. - Make the common memory allocation path faster on machines where
  20487. malloc(0) returns a pointer.
  20488. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  20489. split connection_t into edge, or, dir, control, and base structs.
  20490. These will save quite a bit of memory on busy servers, and they'll
  20491. also help us track down bugs in the code and bugs in the spec.
  20492. - Use OpenSSL's AES implementation on platforms where it's faster.
  20493. This could save us as much as 10% CPU usage.
  20494. o Minor features, descriptors and descriptor handling:
  20495. - Avoid duplicate entries on MyFamily line in server descriptor.
  20496. - When Tor receives a router descriptor that it asked for, but
  20497. no longer wants (because it has received fresh networkstatuses
  20498. in the meantime), do not warn the user. Cache the descriptor if
  20499. we're a cache; drop it if we aren't.
  20500. - Servers no longer ever list themselves in their "family" line,
  20501. even if configured to do so. This makes it easier to configure
  20502. family lists conveniently.
  20503. o Minor fixes, confusing/misleading log messages:
  20504. - Display correct results when reporting which versions are
  20505. recommended, and how recommended they are. (Resolves bug 383.)
  20506. - Inform the server operator when we decide not to advertise a
  20507. DirPort due to AccountingMax enabled or a low BandwidthRate.
  20508. - Only include function names in log messages for info/debug messages.
  20509. For notice/warn/err, the content of the message should be clear on
  20510. its own, and printing the function name only confuses users.
  20511. - Remove even more protocol-related warnings from Tor server logs,
  20512. such as bad TLS handshakes and malformed begin cells.
  20513. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  20514. when the IP address is mapped through MapAddress to a hostname.
  20515. - Fix misleading log messages: an entry guard that is "unlisted",
  20516. as well as not known to be "down" (because we've never heard
  20517. of it), is not therefore "up".
  20518. o Minor fixes, old/obsolete behavior:
  20519. - Start assuming we can use a create_fast cell if we don't know
  20520. what version a router is running.
  20521. - We no longer look for identity and onion keys in "identity.key" and
  20522. "onion.key" -- these were replaced by secret_id_key and
  20523. secret_onion_key in 0.0.8pre1.
  20524. - We no longer require unrecognized directory entries to be
  20525. preceded by "opt".
  20526. - Drop compatibility with obsolete Tors that permit create cells
  20527. to have the wrong circ_id_type.
  20528. - Remove code to special-case "-cvs" ending, since it has not
  20529. actually mattered since 0.0.9.
  20530. - Don't re-write the fingerprint file every restart, unless it has
  20531. changed.
  20532. o Minor fixes, misc client-side behavior:
  20533. - Always remove expired routers and networkstatus docs before checking
  20534. whether we have enough information to build circuits. (Fixes
  20535. bug 373.)
  20536. - When computing clock skew from directory HTTP headers, consider what
  20537. time it was when we finished asking for the directory, not what
  20538. time it is now.
  20539. - Make our socks5 handling more robust to broken socks clients:
  20540. throw out everything waiting on the buffer in between socks
  20541. handshake phases, since they can't possibly (so the theory
  20542. goes) have predicted what we plan to respond to them.
  20543. - Expire socks connections if they spend too long waiting for the
  20544. handshake to finish. Previously we would let them sit around for
  20545. days, if the connecting application didn't close them either.
  20546. - And if the socks handshake hasn't started, don't send a
  20547. "DNS resolve socks failed" handshake reply; just close it.
  20548. - If the user asks to use invalid exit nodes, be willing to use
  20549. unstable ones.
  20550. - Track unreachable entry guards correctly: don't conflate
  20551. 'unreachable by us right now' with 'listed as down by the directory
  20552. authorities'. With the old code, if a guard was unreachable by us
  20553. but listed as running, it would clog our guard list forever.
  20554. - Behave correctly in case we ever have a network with more than
  20555. 2GB/s total advertised capacity.
  20556. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  20557. - Fix a memory leak when we ask for "all" networkstatuses and we
  20558. get one we don't recognize.
  20559. Changes in version 0.1.1.26 - 2006-12-14
  20560. o Security bugfixes:
  20561. - Stop sending the HttpProxyAuthenticator string to directory
  20562. servers when directory connections are tunnelled through Tor.
  20563. - Clients no longer store bandwidth history in the state file.
  20564. - Do not log introduction points for hidden services if SafeLogging
  20565. is set.
  20566. o Minor bugfixes:
  20567. - Fix an assert failure when a directory authority sets
  20568. AuthDirRejectUnlisted and then receives a descriptor from an
  20569. unlisted router (reported by seeess).
  20570. Changes in version 0.1.1.25 - 2006-11-04
  20571. o Major bugfixes:
  20572. - When a client asks us to resolve (rather than connect to)
  20573. an address, and we have a cached answer, give them the cached
  20574. answer. Previously, we would give them no answer at all.
  20575. - We were building exactly the wrong circuits when we predict
  20576. hidden service requirements, meaning Tor would have to build all
  20577. its circuits on demand.
  20578. - If none of our live entry guards have a high uptime, but we
  20579. require a guard with a high uptime, try adding a new guard before
  20580. we give up on the requirement. This patch should make long-lived
  20581. connections more stable on average.
  20582. - When testing reachability of our DirPort, don't launch new
  20583. tests when there's already one in progress -- unreachable
  20584. servers were stacking up dozens of testing streams.
  20585. o Security bugfixes:
  20586. - When the user sends a NEWNYM signal, clear the client-side DNS
  20587. cache too. Otherwise we continue to act on previous information.
  20588. o Minor bugfixes:
  20589. - Avoid a memory corruption bug when creating a hash table for
  20590. the first time.
  20591. - Avoid possibility of controller-triggered crash when misusing
  20592. certain commands from a v0 controller on platforms that do not
  20593. handle printf("%s",NULL) gracefully.
  20594. - Avoid infinite loop on unexpected controller input.
  20595. - Don't log spurious warnings when we see a circuit close reason we
  20596. don't recognize; it's probably just from a newer version of Tor.
  20597. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  20598. Tor/Privoxy we also uninstall Vidalia.
  20599. Changes in version 0.1.1.24 - 2006-09-29
  20600. o Major bugfixes:
  20601. - Allow really slow clients to not hang up five minutes into their
  20602. directory downloads (suggested by Adam J. Richter).
  20603. - Fix major performance regression from 0.1.0.x: instead of checking
  20604. whether we have enough directory information every time we want to
  20605. do something, only check when the directory information has changed.
  20606. This should improve client CPU usage by 25-50%.
  20607. - Don't crash if, after a server has been running for a while,
  20608. it can't resolve its hostname.
  20609. - When a client asks us to resolve (not connect to) an address,
  20610. and we have a cached answer, give them the cached answer.
  20611. Previously, we would give them no answer at all.
  20612. o Minor bugfixes:
  20613. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  20614. - Don't crash when the controller receives a third argument to an
  20615. "extendcircuit" request.
  20616. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  20617. response; fix error code when "getinfo dir/status/" fails.
  20618. - Fix configure.in to not produce broken configure files with
  20619. more recent versions of autoconf. Thanks to Clint for his auto*
  20620. voodoo.
  20621. - Fix security bug on NetBSD that could allow someone to force
  20622. uninitialized RAM to be sent to a server's DNS resolver. This
  20623. only affects NetBSD and other platforms that do not bounds-check
  20624. tolower().
  20625. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  20626. methods: these are known to be buggy.
  20627. - If we're a directory mirror and we ask for "all" network status
  20628. documents, we would discard status documents from authorities
  20629. we don't recognize.
  20630. Changes in version 0.1.1.23 - 2006-07-30
  20631. o Major bugfixes:
  20632. - Fast Tor servers, especially exit nodes, were triggering asserts
  20633. due to a bug in handling the list of pending DNS resolves. Some
  20634. bugs still remain here; we're hunting them.
  20635. - Entry guards could crash clients by sending unexpected input.
  20636. - More fixes on reachability testing: if you find yourself reachable,
  20637. then don't ever make any client requests (so you stop predicting
  20638. circuits), then hup or have your clock jump, then later your IP
  20639. changes, you won't think circuits are working, so you won't try to
  20640. test reachability, so you won't publish.
  20641. o Minor bugfixes:
  20642. - Avoid a crash if the controller does a resetconf firewallports
  20643. and then a setconf fascistfirewall=1.
  20644. - Avoid an integer underflow when the dir authority decides whether
  20645. a router is stable: we might wrongly label it stable, and compute
  20646. a slightly wrong median stability, when a descriptor is published
  20647. later than now.
  20648. - Fix a place where we might trigger an assert if we can't build our
  20649. own server descriptor yet.
  20650. Changes in version 0.1.1.22 - 2006-07-05
  20651. o Major bugfixes:
  20652. - Fix a big bug that was causing servers to not find themselves
  20653. reachable if they changed IP addresses. Since only 0.1.1.22+
  20654. servers can do reachability testing correctly, now we automatically
  20655. make sure to test via one of these.
  20656. - Fix to allow clients and mirrors to learn directory info from
  20657. descriptor downloads that get cut off partway through.
  20658. - Directory authorities had a bug in deciding if a newly published
  20659. descriptor was novel enough to make everybody want a copy -- a few
  20660. servers seem to be publishing new descriptors many times a minute.
  20661. o Minor bugfixes:
  20662. - Fix a rare bug that was causing some servers to complain about
  20663. "closing wedged cpuworkers" and skip some circuit create requests.
  20664. - Make the Exit flag in directory status documents actually work.
  20665. Changes in version 0.1.1.21 - 2006-06-10
  20666. o Crash and assert fixes from 0.1.1.20:
  20667. - Fix a rare crash on Tor servers that have enabled hibernation.
  20668. - Fix a seg fault on startup for Tor networks that use only one
  20669. directory authority.
  20670. - Fix an assert from a race condition that occurs on Tor servers
  20671. while exiting, where various threads are trying to log that they're
  20672. exiting, and delete the logs, at the same time.
  20673. - Make our unit tests pass again on certain obscure platforms.
  20674. o Other fixes:
  20675. - Add support for building SUSE RPM packages.
  20676. - Speed up initial bootstrapping for clients: if we are making our
  20677. first ever connection to any entry guard, then don't mark it down
  20678. right after that.
  20679. - When only one Tor server in the network is labelled as a guard,
  20680. and we've already picked him, we would cycle endlessly picking him
  20681. again, being unhappy about it, etc. Now we specifically exclude
  20682. current guards when picking a new guard.
  20683. - Servers send create cells more reliably after the TLS connection
  20684. is established: we were sometimes forgetting to send half of them
  20685. when we had more than one pending.
  20686. - If we get a create cell that asks us to extend somewhere, but the
  20687. Tor server there doesn't match the expected digest, we now send
  20688. a destroy cell back, rather than silently doing nothing.
  20689. - Make options->RedirectExit work again.
  20690. - Make cookie authentication for the controller work again.
  20691. - Stop being picky about unusual characters in the arguments to
  20692. mapaddress. It's none of our business.
  20693. - Add a new config option "TestVia" that lets you specify preferred
  20694. middle hops to use for test circuits. Perhaps this will let me
  20695. debug the reachability problems better.
  20696. o Log / documentation fixes:
  20697. - If we're a server and some peer has a broken TLS certificate, don't
  20698. log about it unless ProtocolWarnings is set, i.e., we want to hear
  20699. about protocol violations by others.
  20700. - Fix spelling of VirtualAddrNetwork in man page.
  20701. - Add a better explanation at the top of the autogenerated torrc file
  20702. about what happened to our old torrc.
  20703. Changes in version 0.1.1.20 - 2006-05-23
  20704. o Crash and assert fixes from 0.1.0.17:
  20705. - Fix assert bug in close_logs() on exit: when we close and delete
  20706. logs, remove them all from the global "logfiles" list.
  20707. - Fix an assert error when we're out of space in the connection_list
  20708. and we try to post a hidden service descriptor (reported by Peter
  20709. Palfrader).
  20710. - Fix a rare assert error when we've tried all intro points for
  20711. a hidden service and we try fetching the service descriptor again:
  20712. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed".
  20713. - Setconf SocksListenAddress kills Tor if it fails to bind. Now back
  20714. out and refuse the setconf if it would fail.
  20715. - If you specify a relative torrc path and you set RunAsDaemon in
  20716. your torrc, then it chdir()'s to the new directory. If you then
  20717. HUP, it tries to load the new torrc location, fails, and exits.
  20718. The fix: no longer allow a relative path to torrc when using -f.
  20719. - Check for integer overflows in more places, when adding elements
  20720. to smartlists. This could possibly prevent a buffer overflow
  20721. on malicious huge inputs.
  20722. o Security fixes, major:
  20723. - When we're printing strings from the network, don't try to print
  20724. non-printable characters. Now we're safer against shell escape
  20725. sequence exploits, and also against attacks to fool users into
  20726. misreading their logs.
  20727. - Implement entry guards: automatically choose a handful of entry
  20728. nodes and stick with them for all circuits. Only pick new guards
  20729. when the ones you have are unsuitable, and if the old guards
  20730. become suitable again, switch back. This will increase security
  20731. dramatically against certain end-point attacks. The EntryNodes
  20732. config option now provides some hints about which entry guards you
  20733. want to use most; and StrictEntryNodes means to only use those.
  20734. Fixes CVE-2006-0414.
  20735. - Implement exit enclaves: if we know an IP address for the
  20736. destination, and there's a running Tor server at that address
  20737. which allows exit to the destination, then extend the circuit to
  20738. that exit first. This provides end-to-end encryption and end-to-end
  20739. authentication. Also, if the user wants a .exit address or enclave,
  20740. use 4 hops rather than 3, and cannibalize a general circ for it
  20741. if you can.
  20742. - Obey our firewall options more faithfully:
  20743. . If we can't get to a dirserver directly, try going via Tor.
  20744. . Don't ever try to connect (as a client) to a place our
  20745. firewall options forbid.
  20746. . If we specify a proxy and also firewall options, obey the
  20747. firewall options even when we're using the proxy: some proxies
  20748. can only proxy to certain destinations.
  20749. - Make clients regenerate their keys when their IP address changes.
  20750. - For the OS X package's modified privoxy config file, comment
  20751. out the "logfile" line so we don't log everything passed
  20752. through privoxy.
  20753. - Our TLS handshakes were generating a single public/private
  20754. keypair for the TLS context, rather than making a new one for
  20755. each new connection. Oops. (But we were still rotating them
  20756. periodically, so it's not so bad.)
  20757. - When we were cannibalizing a circuit with a particular exit
  20758. node in mind, we weren't checking to see if that exit node was
  20759. already present earlier in the circuit. Now we are.
  20760. - Require server descriptors to list IPv4 addresses -- hostnames
  20761. are no longer allowed. This also fixes potential vulnerabilities
  20762. to servers providing hostnames as their address and then
  20763. preferentially resolving them so they can partition users.
  20764. - Our logic to decide if the OR we connected to was the right guy
  20765. was brittle and maybe open to a mitm for invalid routers.
  20766. o Security fixes, minor:
  20767. - Adjust tor-spec.txt to parameterize cell and key lengths. Now
  20768. Ian Goldberg can prove things about our handshake protocol more
  20769. easily.
  20770. - Make directory authorities generate a separate "guard" flag to
  20771. mean "would make a good entry guard". Clients now honor the
  20772. is_guard flag rather than looking at is_fast or is_stable.
  20773. - Try to list MyFamily elements by key, not by nickname, and warn
  20774. if we've not heard of a server.
  20775. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  20776. OpenSSL. Also, reseed our entropy every hour, not just at
  20777. startup. And add entropy in 512-bit chunks, not 160-bit chunks.
  20778. - Refuse server descriptors where the fingerprint line doesn't match
  20779. the included identity key. Tor doesn't care, but other apps (and
  20780. humans) might actually be trusting the fingerprint line.
  20781. - We used to kill the circuit when we receive a relay command we
  20782. don't recognize. Now we just drop that cell.
  20783. - Fix a bug found by Lasse Overlier: when we were making internal
  20784. circuits (intended to be cannibalized later for rendezvous and
  20785. introduction circuits), we were picking them so that they had
  20786. useful exit nodes. There was no need for this, and it actually
  20787. aids some statistical attacks.
  20788. - Start treating internal circuits and exit circuits separately.
  20789. It's important to keep them separate because internal circuits
  20790. have their last hops picked like middle hops, rather than like
  20791. exit hops. So exiting on them will break the user's expectations.
  20792. - Fix a possible way to DoS dirservers.
  20793. - When the client asked for a rendezvous port that the hidden
  20794. service didn't want to provide, we were sending an IP address
  20795. back along with the end cell. Fortunately, it was zero. But stop
  20796. that anyway.
  20797. o Packaging improvements:
  20798. - Implement --with-libevent-dir option to ./configure. Improve
  20799. search techniques to find libevent, and use those for openssl too.
  20800. - Fix a couple of bugs in OpenSSL detection. Deal better when
  20801. there are multiple SSLs installed with different versions.
  20802. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  20803. - On non-gcc compilers (e.g. Solaris's cc), use "-g -O" instead of
  20804. "-Wall -g -O2".
  20805. - Make unit tests (and other invocations that aren't the real Tor)
  20806. run without launching listeners, creating subdirectories, and so on.
  20807. - The OS X installer was adding a symlink for tor_resolve but
  20808. the binary was called tor-resolve (reported by Thomas Hardly).
  20809. - Now we can target arch and OS in rpm builds (contributed by
  20810. Phobos). Also make the resulting dist-rpm filename match the
  20811. target arch.
  20812. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  20813. if you log to syslog and want something other than LOG_DAEMON.
  20814. - Fix the torify (tsocks) config file to not use Tor for localhost
  20815. connections.
  20816. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  20817. tor-doc-server.html, and stylesheet.css in the tarball.
  20818. - Stop shipping tor-doc.html, INSTALL, and README in the tarball.
  20819. They are useless now.
  20820. - Add Peter Palfrader's contributed check-tor script. It lets you
  20821. easily check whether a given server (referenced by nickname)
  20822. is reachable by you.
  20823. - Add BSD-style contributed startup script "rc.subr" from Peter
  20824. Thoenen.
  20825. o Directory improvements -- new directory protocol:
  20826. - See tor/doc/dir-spec.txt for all the juicy details. Key points:
  20827. - Authorities and caches publish individual descriptors (by
  20828. digest, by fingerprint, by "all", and by "tell me yours").
  20829. - Clients don't download or use the old directory anymore. Now they
  20830. download network-statuses from the directory authorities, and
  20831. fetch individual server descriptors as needed from mirrors.
  20832. - Clients don't download descriptors of non-running servers.
  20833. - Download descriptors by digest, not by fingerprint. Caches try to
  20834. download all listed digests from authorities; clients try to
  20835. download "best" digests from caches. This avoids partitioning
  20836. and isolating attacks better.
  20837. - Only upload a new server descriptor when options change, 18
  20838. hours have passed, uptime is reset, or bandwidth changes a lot.
  20839. - Directory authorities silently throw away new descriptors that
  20840. haven't changed much if the timestamps are similar. We do this to
  20841. tolerate older Tor servers that upload a new descriptor every 15
  20842. minutes. (It seemed like a good idea at the time.)
  20843. - Clients choose directory servers from the network status lists,
  20844. not from their internal list of router descriptors. Now they can
  20845. go to caches directly rather than needing to go to authorities
  20846. to bootstrap the first set of descriptors.
  20847. - When picking a random directory, prefer non-authorities if any
  20848. are known.
  20849. - Add a new flag to network-status indicating whether the server
  20850. can answer v2 directory requests too.
  20851. - Directory mirrors now cache up to 16 unrecognized network-status
  20852. docs, so new directory authorities will be cached too.
  20853. - Stop parsing, storing, or using running-routers output (but
  20854. mirrors still cache and serve it).
  20855. - Clients consider a threshold of "versioning" directory authorities
  20856. before deciding whether to warn the user that he's obsolete.
  20857. - Authorities publish separate sorted lists of recommended versions
  20858. for clients and for servers.
  20859. - Change DirServers config line to note which dirs are v1 authorities.
  20860. - Put nicknames on the DirServer line, so we can refer to them
  20861. without requiring all our users to memorize their IP addresses.
  20862. - Remove option when getting directory cache to see whether they
  20863. support running-routers; they all do now. Replace it with one
  20864. to see whether caches support v2 stuff.
  20865. - Stop listing down or invalid nodes in the v1 directory. This
  20866. reduces its bulk by about 1/3, and reduces load on mirrors.
  20867. - Mirrors no longer cache the v1 directory as often.
  20868. - If we as a directory mirror don't know of any v1 directory
  20869. authorities, then don't try to cache any v1 directories.
  20870. o Other directory improvements:
  20871. - Add lefkada.eecs.harvard.edu and tor.dizum.com as fourth and
  20872. fifth authoritative directory servers.
  20873. - Directory authorities no longer require an open connection from
  20874. a server to consider him "reachable". We need this change because
  20875. when we add new directory authorities, old servers won't know not
  20876. to hang up on them.
  20877. - Dir authorities now do their own external reachability testing
  20878. of each server, and only list as running the ones they found to
  20879. be reachable. We also send back warnings to the server's logs if
  20880. it uploads a descriptor that we already believe is unreachable.
  20881. - Spread the directory authorities' reachability testing over the
  20882. entire testing interval, so we don't try to do 500 TLS's at once
  20883. every 20 minutes.
  20884. - Make the "stable" router flag in network-status be the median of
  20885. the uptimes of running valid servers, and make clients pay
  20886. attention to the network-status flags. Thus the cutoff adapts
  20887. to the stability of the network as a whole, making IRC, IM, etc
  20888. connections more reliable.
  20889. - Make the v2 dir's "Fast" flag based on relative capacity, just
  20890. like "Stable" is based on median uptime. Name everything in the
  20891. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  20892. - Retry directory requests if we fail to get an answer we like
  20893. from a given dirserver (we were retrying before, but only if
  20894. we fail to connect).
  20895. - Return a robots.txt on our dirport to discourage google indexing.
  20896. o Controller protocol improvements:
  20897. - Revised controller protocol (version 1) that uses ascii rather
  20898. than binary: tor/doc/control-spec.txt. Add supporting libraries
  20899. in python and java and c# so you can use the controller from your
  20900. applications without caring how our protocol works.
  20901. - Allow the DEBUG controller event to work again. Mark certain log
  20902. entries as "don't tell this to controllers", so we avoid cycles.
  20903. - New controller function "getinfo accounting", to ask how
  20904. many bytes we've used in this time period.
  20905. - Add a "resetconf" command so you can set config options like
  20906. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  20907. a config option in the torrc with no value, then it clears it
  20908. entirely (rather than setting it to its default).
  20909. - Add a "getinfo config-file" to tell us where torrc is. Also
  20910. expose guard nodes, config options/names.
  20911. - Add a "quit" command (when when using the controller manually).
  20912. - Add a new signal "newnym" to "change pseudonyms" -- that is, to
  20913. stop using any currently-dirty circuits for new streams, so we
  20914. don't link new actions to old actions. This also occurs on HUP
  20915. or "signal reload".
  20916. - If we would close a stream early (e.g. it asks for a .exit that
  20917. we know would refuse it) but the LeaveStreamsUnattached config
  20918. option is set by the controller, then don't close it.
  20919. - Add a new controller event type "authdir_newdescs" that allows
  20920. controllers to get all server descriptors that were uploaded to
  20921. a router in its role as directory authority.
  20922. - New controller option "getinfo desc/all-recent" to fetch the
  20923. latest server descriptor for every router that Tor knows about.
  20924. - Fix the controller's "attachstream 0" command to treat conn like
  20925. it just connected, doing address remapping, handling .exit and
  20926. .onion idioms, and so on. Now we're more uniform in making sure
  20927. that the controller hears about new and closing connections.
  20928. - Permit transitioning from ORPort==0 to ORPort!=0, and back, from
  20929. the controller. Also, rotate dns and cpu workers if the controller
  20930. changes options that will affect them; and initialize the dns
  20931. worker cache tree whether or not we start out as a server.
  20932. - Add a new circuit purpose 'controller' to let the controller ask
  20933. for a circuit that Tor won't try to use. Extend the "extendcircuit"
  20934. controller command to let you specify the purpose if you're starting
  20935. a new circuit. Add a new "setcircuitpurpose" controller command to
  20936. let you change a circuit's purpose after it's been created.
  20937. - Let the controller ask for "getinfo dir/server/foo" so it can ask
  20938. directly rather than connecting to the dir port. "getinfo
  20939. dir/status/foo" also works, but currently only if your DirPort
  20940. is enabled.
  20941. - Let the controller tell us about certain router descriptors
  20942. that it doesn't want Tor to use in circuits. Implement
  20943. "setrouterpurpose" and modify "+postdescriptor" to do this.
  20944. - If the controller's *setconf commands fail, collect an error
  20945. message in a string and hand it back to the controller -- don't
  20946. just tell them to go read their logs.
  20947. o Scalability, resource management, and performance:
  20948. - Fix a major load balance bug: we were round-robin reading in 16 KB
  20949. chunks, and servers with bandwidthrate of 20 KB, while downloading
  20950. a 600 KB directory, would starve their other connections. Now we
  20951. try to be a bit more fair.
  20952. - Be more conservative about whether to advertise our DirPort.
  20953. The main change is to not advertise if we're running at capacity
  20954. and either a) we could hibernate ever or b) our capacity is low
  20955. and we're using a default DirPort.
  20956. - We weren't cannibalizing circuits correctly for
  20957. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  20958. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  20959. build those from scratch. This should make hidden services faster.
  20960. - Predict required circuits better, with an eye toward making hidden
  20961. services faster on the service end.
  20962. - Compress exit policies even more: look for duplicate lines and
  20963. remove them.
  20964. - Generate 18.0.0.0/8 address policy format in descs when we can;
  20965. warn when the mask is not reducible to a bit-prefix.
  20966. - There used to be two ways to specify your listening ports in a
  20967. server descriptor: on the "router" line and with a separate "ports"
  20968. line. Remove support for the "ports" line.
  20969. - Reduce memory requirements in our structs by changing the order
  20970. of fields. Replace balanced trees with hash tables. Inline
  20971. bottleneck smartlist functions. Add a "Map from digest to void*"
  20972. abstraction so we can do less hex encoding/decoding, and use it
  20973. in router_get_by_digest(). Many other CPU and memory improvements.
  20974. - Allow tor_gzip_uncompress to extract as much as possible from
  20975. truncated compressed data. Try to extract as many
  20976. descriptors as possible from truncated http responses (when
  20977. purpose is DIR_PURPOSE_FETCH_ROUTERDESC).
  20978. - Make circ->onionskin a pointer, not a static array. moria2 was using
  20979. 125000 circuit_t's after it had been up for a few weeks, which
  20980. translates to 20+ megs of wasted space.
  20981. - The private half of our EDH handshake keys are now chosen out
  20982. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  20983. - Stop doing the complex voodoo overkill checking for insecure
  20984. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  20985. - Do round-robin writes for TLS of at most 16 kB per write. This
  20986. might be more fair on loaded Tor servers.
  20987. - Do not use unaligned memory access on alpha, mips, or mipsel.
  20988. It *works*, but is very slow, so we treat them as if it doesn't.
  20989. o Other bugfixes and improvements:
  20990. - Start storing useful information to $DATADIR/state, so we can
  20991. remember things across invocations of Tor. Retain unrecognized
  20992. lines so we can be forward-compatible, and write a TorVersion line
  20993. so we can be backward-compatible.
  20994. - If ORPort is set, Address is not explicitly set, and our hostname
  20995. resolves to a private IP address, try to use an interface address
  20996. if it has a public address. Now Windows machines that think of
  20997. themselves as localhost can guess their address.
  20998. - Regenerate our local descriptor if it's dirty and we try to use
  20999. it locally (e.g. if it changes during reachability detection).
  21000. This was causing some Tor servers to keep publishing the same
  21001. initial descriptor forever.
  21002. - Tor servers with dynamic IP addresses were needing to wait 18
  21003. hours before they could start doing reachability testing using
  21004. the new IP address and ports. This is because they were using
  21005. the internal descriptor to learn what to test, yet they were only
  21006. rebuilding the descriptor once they decided they were reachable.
  21007. - It turns out we couldn't bootstrap a network since we added
  21008. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  21009. has never gone down. Add an AssumeReachable config option to let
  21010. servers and authorities bootstrap. When we're trying to build a
  21011. high-uptime or high-bandwidth circuit but there aren't enough
  21012. suitable servers, try being less picky rather than simply failing.
  21013. - Newly bootstrapped Tor networks couldn't establish hidden service
  21014. circuits until they had nodes with high uptime. Be more tolerant.
  21015. - Really busy servers were keeping enough circuits open on stable
  21016. connections that they were wrapping around the circuit_id
  21017. space. (It's only two bytes.) This exposed a bug where we would
  21018. feel free to reuse a circuit_id even if it still exists but has
  21019. been marked for close. Try to fix this bug. Some bug remains.
  21020. - When we fail to bind or listen on an incoming or outgoing
  21021. socket, we now close it before refusing, rather than just
  21022. leaking it. (Thanks to Peter Palfrader for finding.)
  21023. - Fix a file descriptor leak in start_daemon().
  21024. - On Windows, you can't always reopen a port right after you've
  21025. closed it. So change retry_listeners() to only close and re-open
  21026. ports that have changed.
  21027. - Workaround a problem with some http proxies that refuse GET
  21028. requests that specify "Content-Length: 0". Reported by Adrian.
  21029. - Recover better from TCP connections to Tor servers that are
  21030. broken but don't tell you (it happens!); and rotate TLS
  21031. connections once a week.
  21032. - Fix a scary-looking but apparently harmless bug where circuits
  21033. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  21034. servers, and never switch to state CIRCUIT_STATE_OPEN.
  21035. - Check for even more Windows version flags when writing the platform
  21036. string in server descriptors, and note any we don't recognize.
  21037. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  21038. get a better idea of why their circuits failed. Not used yet.
  21039. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  21040. We don't use them yet, but maybe one day our DNS resolver will be
  21041. able to discover them.
  21042. - Let people type "tor --install" as well as "tor -install" when they
  21043. want to make it an NT service.
  21044. - Looks like we were never delivering deflated (i.e. compressed)
  21045. running-routers lists, even when asked. Oops.
  21046. - We were leaking some memory every time the client changed IPs.
  21047. - Clean up more of the OpenSSL memory when exiting, so we can detect
  21048. memory leaks better.
  21049. - Never call free() on tor_malloc()d memory. This will help us
  21050. use dmalloc to detect memory leaks.
  21051. - Some Tor servers process billions of cells per day. These
  21052. statistics are now uint64_t's.
  21053. - Check [X-]Forwarded-For headers in HTTP requests when generating
  21054. log messages. This lets people run dirservers (and caches) behind
  21055. Apache but still know which IP addresses are causing warnings.
  21056. - Fix minor integer overflow in calculating when we expect to use up
  21057. our bandwidth allocation before hibernating.
  21058. - Lower the minimum required number of file descriptors to 1000,
  21059. so we can have some overhead for Valgrind on Linux, where the
  21060. default ulimit -n is 1024.
  21061. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  21062. and its existence is confusing some users.
  21063. o Config option fixes:
  21064. - Add a new config option ExitPolicyRejectPrivate which defaults
  21065. to on. Now all exit policies will begin with rejecting private
  21066. addresses, unless the server operator explicitly turns it off.
  21067. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB.
  21068. - Add new ReachableORAddresses and ReachableDirAddresses options
  21069. that understand address policies. FascistFirewall is now a synonym
  21070. for "ReachableORAddresses *:443", "ReachableDirAddresses *:80".
  21071. - Start calling it FooListenAddress rather than FooBindAddress,
  21072. since few of our users know what it means to bind an address
  21073. or port.
  21074. - If the user gave Tor an odd number of command-line arguments,
  21075. we were silently ignoring the last one. Now we complain and fail.
  21076. This wins the oldest-bug prize -- this bug has been present since
  21077. November 2002, as released in Tor 0.0.0.
  21078. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  21079. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  21080. it would silently ignore the 6668.
  21081. - If we get a linelist or linelist_s config option from the torrc,
  21082. e.g. ExitPolicy, and it has no value, warn and skip rather than
  21083. silently resetting it to its default.
  21084. - Setconf was appending items to linelists, not clearing them.
  21085. - Add MyFamily to torrc.sample in the server section, so operators
  21086. will be more likely to learn that it exists.
  21087. - Make ContactInfo mandatory for authoritative directory servers.
  21088. - MaxConn has been obsolete for a while now. Document the ConnLimit
  21089. config option, which is a *minimum* number of file descriptors
  21090. that must be available else Tor refuses to start.
  21091. - Get rid of IgnoreVersion undocumented config option, and make us
  21092. only warn, never exit, when we're running an obsolete version.
  21093. - Make MonthlyAccountingStart config option truly obsolete now.
  21094. - Correct the man page entry on TrackHostExitsExpire.
  21095. - Let directory authorities start even if they don't specify an
  21096. Address config option.
  21097. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  21098. reflect the updated flags in our v2 dir protocol.
  21099. o Config option features:
  21100. - Add a new config option FastFirstHopPK (on by default) so clients
  21101. do a trivial crypto handshake for their first hop, since TLS has
  21102. already taken care of confidentiality and authentication.
  21103. - Let the user set ControlListenAddress in the torrc. This can be
  21104. dangerous, but there are some cases (like a secured LAN) where it
  21105. makes sense.
  21106. - New config options to help controllers: FetchServerDescriptors
  21107. and FetchHidServDescriptors for whether to fetch server
  21108. info and hidserv info or let the controller do it, and
  21109. PublishServerDescriptor and PublishHidServDescriptors.
  21110. - Also let the controller set the __AllDirActionsPrivate config
  21111. option if you want all directory fetches/publishes to happen via
  21112. Tor (it assumes your controller bootstraps your circuits).
  21113. - Add "HardwareAccel" config option: support for crypto hardware
  21114. accelerators via OpenSSL. Off by default, until we find somebody
  21115. smart who can test it for us. (It appears to produce seg faults
  21116. in at least some cases.)
  21117. - New config option "AuthDirRejectUnlisted" for directory authorities
  21118. as a panic button: if we get flooded with unusable servers we can
  21119. revert to only listing servers in the approved-routers file.
  21120. - Directory authorities can now reject/invalidate by key and IP,
  21121. with the config options "AuthDirInvalid" and "AuthDirReject", or
  21122. by marking a fingerprint as "!reject" or "!invalid" (as its
  21123. nickname) in the approved-routers file. This is useful since
  21124. currently we automatically list servers as running and usable
  21125. even if we know they're jerks.
  21126. - Add a new config option TestSocks so people can see whether their
  21127. applications are using socks4, socks4a, socks5-with-ip, or
  21128. socks5-with-fqdn. This way they don't have to keep mucking
  21129. with tcpdump and wondering if something got cached somewhere.
  21130. - Add "private:*" as an alias in configuration for policies. Now
  21131. you can simplify your exit policy rather than needing to list
  21132. every single internal or nonroutable network space.
  21133. - Accept "private:*" in routerdesc exit policies; not generated yet
  21134. because older Tors do not understand it.
  21135. - Add configuration option "V1AuthoritativeDirectory 1" which
  21136. moria1, moria2, and tor26 have set.
  21137. - Implement an option, VirtualAddrMask, to set which addresses
  21138. get handed out in response to mapaddress requests. This works
  21139. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  21140. - Add a new config option FetchUselessDescriptors, off by default,
  21141. for when you plan to run "exitlist" on your client and you want
  21142. to know about even the non-running descriptors.
  21143. - SocksTimeout: How long do we let a socks connection wait
  21144. unattached before we fail it?
  21145. - CircuitBuildTimeout: Cull non-open circuits that were born
  21146. at least this many seconds ago.
  21147. - CircuitIdleTimeout: Cull open clean circuits that were born
  21148. at least this many seconds ago.
  21149. - New config option SafeSocks to reject all application connections
  21150. using unsafe socks protocols. Defaults to off.
  21151. o Improved and clearer log messages:
  21152. - Reduce clutter in server logs. We're going to try to make
  21153. them actually usable now. New config option ProtocolWarnings that
  21154. lets you hear about how _other Tors_ are breaking the protocol. Off
  21155. by default.
  21156. - Divide log messages into logging domains. Once we put some sort
  21157. of interface on this, it will let people looking at more verbose
  21158. log levels specify the topics they want to hear more about.
  21159. - Log server fingerprint on startup, so new server operators don't
  21160. have to go hunting around their filesystem for it.
  21161. - Provide dire warnings to any users who set DirServer manually;
  21162. move it out of torrc.sample and into torrc.complete.
  21163. - Make the log message less scary when all the dirservers are
  21164. temporarily unreachable.
  21165. - When tor_socketpair() fails in Windows, give a reasonable
  21166. Windows-style errno back.
  21167. - Improve tor_gettimeofday() granularity on windows.
  21168. - We were printing the number of idle dns workers incorrectly when
  21169. culling them.
  21170. - Handle duplicate lines in approved-routers files without warning.
  21171. - We were whining about using socks4 or socks5-with-local-lookup
  21172. even when it's an IP address in the "virtual" range we designed
  21173. exactly for this case.
  21174. - Check for named servers when looking them up by nickname;
  21175. warn when we're calling a non-named server by its nickname;
  21176. don't warn twice about the same name.
  21177. - Downgrade the dirserver log messages when whining about
  21178. unreachability.
  21179. - Correct "your server is reachable" log entries to indicate that
  21180. it was self-testing that told us so.
  21181. - If we're trying to be a Tor server and running Windows 95/98/ME
  21182. as a server, explain that we'll likely crash.
  21183. - Provide a more useful warn message when our onion queue gets full:
  21184. the CPU is too slow or the exit policy is too liberal.
  21185. - Don't warn when we receive a 503 from a dirserver/cache -- this
  21186. will pave the way for them being able to refuse if they're busy.
  21187. - When we fail to bind a listener, try to provide a more useful
  21188. log message: e.g., "Is Tor already running?"
  21189. - Only start testing reachability once we've established a
  21190. circuit. This will make startup on dir authorities less noisy.
  21191. - Don't try to upload hidden service descriptors until we have
  21192. established a circuit.
  21193. - Tor didn't warn when it failed to open a log file.
  21194. - Warn when listening on a public address for socks. We suspect a
  21195. lot of people are setting themselves up as open socks proxies,
  21196. and they have no idea that jerks on the Internet are using them,
  21197. since they simply proxy the traffic into the Tor network.
  21198. - Give a useful message when people run Tor as the wrong user,
  21199. rather than telling them to start chowning random directories.
  21200. - Fix a harmless bug that was causing Tor servers to log
  21201. "Got an end because of misc error, but we're not an AP. Closing."
  21202. - Fix wrong log message when you add a "HiddenServiceNodes" config
  21203. line without any HiddenServiceDir line (reported by Chris Thomas).
  21204. - Directory authorities now stop whining so loudly about bad
  21205. descriptors that they fetch from other dirservers. So when there's
  21206. a log complaint, it's for sure from a freshly uploaded descriptor.
  21207. - When logging via syslog, include the pid whenever we provide
  21208. a log entry. Suggested by Todd Fries.
  21209. - When we're shutting down and we do something like try to post a
  21210. server descriptor or rendezvous descriptor, don't complain that
  21211. we seem to be unreachable. Of course we are, we're shutting down.
  21212. - Change log line for unreachability to explicitly suggest /etc/hosts
  21213. as the culprit. Also make it clearer what IP address and ports we're
  21214. testing for reachability.
  21215. - Put quotes around user-supplied strings when logging so users are
  21216. more likely to realize if they add bad characters (like quotes)
  21217. to the torrc.
  21218. - NT service patch from Matt Edman to improve error messages on Win32.
  21219. Changes in version 0.1.0.17 - 2006-02-17
  21220. o Crash bugfixes on 0.1.0.x:
  21221. - When servers with a non-zero DirPort came out of hibernation,
  21222. sometimes they would trigger an assert.
  21223. o Other important bugfixes:
  21224. - On platforms that don't have getrlimit (like Windows), we were
  21225. artificially constraining ourselves to a max of 1024
  21226. connections. Now just assume that we can handle as many as 15000
  21227. connections. Hopefully this won't cause other problems.
  21228. o Backported features:
  21229. - When we're a server, a client asks for an old-style directory,
  21230. and our write bucket is empty, don't give it to him. This way
  21231. small servers can continue to serve the directory *sometimes*,
  21232. without getting overloaded.
  21233. - Whenever you get a 503 in response to a directory fetch, try
  21234. once more. This will become important once servers start sending
  21235. 503's whenever they feel busy.
  21236. - Fetch a new directory every 120 minutes, not every 40 minutes.
  21237. Now that we have hundreds of thousands of users running the old
  21238. directory algorithm, it's starting to hurt a lot.
  21239. - Bump up the period for forcing a hidden service descriptor upload
  21240. from 20 minutes to 1 hour.
  21241. Changes in version 0.1.0.16 - 2006-01-02
  21242. o Crash bugfixes on 0.1.0.x:
  21243. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  21244. corrupting the heap, losing FDs, or crashing when we need to resize
  21245. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  21246. - It turns out sparc64 platforms crash on unaligned memory access
  21247. too -- so detect and avoid this.
  21248. - Handle truncated compressed data correctly (by detecting it and
  21249. giving an error).
  21250. - Fix possible-but-unlikely free(NULL) in control.c.
  21251. - When we were closing connections, there was a rare case that
  21252. stomped on memory, triggering seg faults and asserts.
  21253. - Avoid potential infinite recursion when building a descriptor. (We
  21254. don't know that it ever happened, but better to fix it anyway.)
  21255. - We were neglecting to unlink marked circuits from soon-to-close OR
  21256. connections, which caused some rare scribbling on freed memory.
  21257. - Fix a memory stomping race bug when closing the joining point of two
  21258. rendezvous circuits.
  21259. - Fix an assert in time parsing found by Steven Murdoch.
  21260. o Other bugfixes on 0.1.0.x:
  21261. - When we're doing reachability testing, provide more useful log
  21262. messages so the operator knows what to expect.
  21263. - Do not check whether DirPort is reachable when we are suppressing
  21264. advertising it because of hibernation.
  21265. - When building with -static or on Solaris, we sometimes needed -ldl.
  21266. - One of the dirservers (tor26) changed its IP address.
  21267. - When we're deciding whether a stream has enough circuits around
  21268. that can handle it, count the freshly dirty ones and not the ones
  21269. that are so dirty they won't be able to handle it.
  21270. - When we're expiring old circuits, we had a logic error that caused
  21271. us to close new rendezvous circuits rather than old ones.
  21272. - Give a more helpful log message when you try to change ORPort via
  21273. the controller: you should upgrade Tor if you want that to work.
  21274. - We were failing to parse Tor versions that start with "Tor ".
  21275. - Tolerate faulty streams better: when a stream fails for reason
  21276. exitpolicy, stop assuming that the router is lying about his exit
  21277. policy. When a stream fails for reason misc, allow it to retry just
  21278. as if it was resolvefailed. When a stream has failed three times,
  21279. reset its failure count so we can try again and get all three tries.
  21280. Changes in version 0.1.0.15 - 2005-09-23
  21281. o Bugfixes on 0.1.0.x:
  21282. - Reject ports 465 and 587 (spam targets) in default exit policy.
  21283. - Don't crash when we don't have any spare file descriptors and we
  21284. try to spawn a dns or cpu worker.
  21285. - Get rid of IgnoreVersion undocumented config option, and make us
  21286. only warn, never exit, when we're running an obsolete version.
  21287. - Don't try to print a null string when your server finds itself to
  21288. be unreachable and the Address config option is empty.
  21289. - Make the numbers in read-history and write-history into uint64s,
  21290. so they don't overflow and publish negatives in the descriptor.
  21291. - Fix a minor memory leak in smartlist_string_remove().
  21292. - We were only allowing ourselves to upload a server descriptor at
  21293. most every 20 minutes, even if it changed earlier than that.
  21294. - Clean up log entries that pointed to old URLs.
  21295. Changes in version 0.1.0.14 - 2005-08-08
  21296. o Bugfixes on 0.1.0.x:
  21297. - Fix the other half of the bug with crypto handshakes
  21298. (CVE-2005-2643).
  21299. - Fix an assert trigger if you send a 'signal term' via the
  21300. controller when it's listening for 'event info' messages.
  21301. Changes in version 0.1.0.13 - 2005-08-04
  21302. o Bugfixes on 0.1.0.x:
  21303. - Fix a critical bug in the security of our crypto handshakes.
  21304. - Fix a size_t underflow in smartlist_join_strings2() that made
  21305. it do bad things when you hand it an empty smartlist.
  21306. - Fix Windows installer to ship Tor license (thanks to Aphex for
  21307. pointing out this oversight) and put a link to the doc directory
  21308. in the start menu.
  21309. - Explicitly set no-unaligned-access for sparc: it turns out the
  21310. new gcc's let you compile broken code, but that doesn't make it
  21311. not-broken.
  21312. Changes in version 0.1.0.12 - 2005-07-18
  21313. o New directory servers:
  21314. - tor26 has changed IP address.
  21315. o Bugfixes on 0.1.0.x:
  21316. - Fix a possible double-free in tor_gzip_uncompress().
  21317. - When --disable-threads is set, do not search for or link against
  21318. pthreads libraries.
  21319. - Don't trigger an assert if an authoritative directory server
  21320. claims its dirport is 0.
  21321. - Fix bug with removing Tor as an NT service: some people were
  21322. getting "The service did not return an error." Thanks to Matt
  21323. Edman for the fix.
  21324. Changes in version 0.1.0.11 - 2005-06-30
  21325. o Bugfixes on 0.1.0.x:
  21326. - Fix major security bug: servers were disregarding their
  21327. exit policies if clients behaved unexpectedly.
  21328. - Make OS X init script check for missing argument, so we don't
  21329. confuse users who invoke it incorrectly.
  21330. - Fix a seg fault in "tor --hash-password foo".
  21331. - The MAPADDRESS control command was broken.
  21332. Changes in version 0.1.0.10 - 2005-06-14
  21333. o Fixes on Win32:
  21334. - Make NT services work and start on startup on Win32 (based on
  21335. patch by Matt Edman). See the FAQ entry for details.
  21336. - Make 'platform' string in descriptor more accurate for Win32
  21337. servers, so it's not just "unknown platform".
  21338. - REUSEADDR on normal platforms means you can rebind to the port
  21339. right after somebody else has let it go. But REUSEADDR on Win32
  21340. means you can bind to the port _even when somebody else already
  21341. has it bound_! So, don't do that on Win32.
  21342. - Clean up the log messages when starting on Win32 with no config
  21343. file.
  21344. - Allow seeding the RNG on Win32 even when you're not running as
  21345. Administrator. If seeding the RNG on Win32 fails, quit.
  21346. o Assert / crash bugs:
  21347. - Refuse relay cells that claim to have a length larger than the
  21348. maximum allowed. This prevents a potential attack that could read
  21349. arbitrary memory (e.g. keys) from an exit server's process
  21350. (CVE-2005-2050).
  21351. - If unofficial Tor clients connect and send weird TLS certs, our
  21352. Tor server triggers an assert. Stop asserting, and start handling
  21353. TLS errors better in other situations too.
  21354. - Fix a race condition that can trigger an assert when we have a
  21355. pending create cell and an OR connection attempt fails.
  21356. o Resource leaks:
  21357. - Use pthreads for worker processes rather than forking. This was
  21358. forced because when we forked, we ended up wasting a lot of
  21359. duplicate ram over time.
  21360. - Also switch to foo_r versions of some library calls to allow
  21361. reentry and threadsafeness.
  21362. - Implement --disable-threads configure option. Disable threads on
  21363. netbsd and openbsd by default, because they have no reentrant
  21364. resolver functions (!), and on solaris since it has other
  21365. threading issues.
  21366. - Fix possible bug on threading platforms (e.g. win32) which was
  21367. leaking a file descriptor whenever a cpuworker or dnsworker died.
  21368. - Fix a minor memory leak when somebody establishes an introduction
  21369. point at your Tor server.
  21370. - Fix possible memory leak in tor_lookup_hostname(). (Thanks to
  21371. Adam Langley.)
  21372. - Add ./configure --with-dmalloc option, to track memory leaks.
  21373. - And try to free all memory on closing, so we can detect what
  21374. we're leaking.
  21375. o Protocol correctness:
  21376. - When we've connected to an OR and handshaked but didn't like
  21377. the result, we were closing the conn without sending destroy
  21378. cells back for pending circuits. Now send those destroys.
  21379. - Start sending 'truncated' cells back rather than destroy cells
  21380. if the circuit closes in front of you. This means we won't have
  21381. to abandon partially built circuits.
  21382. - Handle changed router status correctly when dirserver reloads
  21383. fingerprint file. We used to be dropping all unverified descriptors
  21384. right then. The bug was hidden because we would immediately
  21385. fetch a directory from another dirserver, which would include the
  21386. descriptors we just dropped.
  21387. - Revise tor-spec to add more/better stream end reasons.
  21388. - Revise all calls to connection_edge_end to avoid sending 'misc',
  21389. and to take errno into account where possible.
  21390. - Client now retries when streams end early for 'hibernating' or
  21391. 'resource limit' reasons, rather than failing them.
  21392. - Try to be more zealous about calling connection_edge_end when
  21393. things go bad with edge conns in connection.c.
  21394. o Robustness improvements:
  21395. - Better handling for heterogeneous / unreliable nodes:
  21396. - Annotate circuits with whether they aim to contain high uptime
  21397. nodes and/or high capacity nodes. When building circuits, choose
  21398. appropriate nodes.
  21399. - This means that every single node in an intro rend circuit,
  21400. not just the last one, will have a minimum uptime.
  21401. - New config option LongLivedPorts to indicate application streams
  21402. that will want high uptime circuits.
  21403. - Servers reset uptime when a dir fetch entirely fails. This
  21404. hopefully reflects stability of the server's network connectivity.
  21405. - If somebody starts his tor server in Jan 2004 and then fixes his
  21406. clock, don't make his published uptime be a year.
  21407. - Reset published uptime when we wake up from hibernation.
  21408. - Introduce a notion of 'internal' circs, which are chosen without
  21409. regard to the exit policy of the last hop. Intro and rendezvous
  21410. circs must be internal circs, to avoid leaking information. Resolve
  21411. and connect streams can use internal circs if they want.
  21412. - New circuit pooling algorithm: keep track of what destination ports
  21413. we've used recently (start out assuming we'll want to use 80), and
  21414. make sure to have enough circs around to satisfy these ports. Also
  21415. make sure to have 2 internal circs around if we've required internal
  21416. circs lately (and with high uptime if we've seen that lately too).
  21417. - Turn addr_policy_compare from a tristate to a quadstate; this should
  21418. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  21419. for google.com" problem.
  21420. - When a client asks us for a dir mirror and we don't have one,
  21421. launch an attempt to get a fresh one.
  21422. - First cut at support for "create-fast" cells. Clients can use
  21423. these when extending to their first hop, since the TLS already
  21424. provides forward secrecy and authentication. Not enabled on
  21425. clients yet.
  21426. o Reachability testing.
  21427. - Your Tor server will automatically try to see if its ORPort and
  21428. DirPort are reachable from the outside, and it won't upload its
  21429. descriptor until it decides at least ORPort is reachable (when
  21430. DirPort is not yet found reachable, publish it as zero).
  21431. - When building testing circs for ORPort testing, use only
  21432. high-bandwidth nodes, so fewer circuits fail.
  21433. - Notice when our IP changes, and reset stats/uptime/reachability.
  21434. - Authdirservers don't do ORPort reachability detection, since
  21435. they're in clique mode, so it will be rare to find a server not
  21436. already connected to them.
  21437. - Authdirservers now automatically approve nodes running 0.1.0.2-rc
  21438. or later.
  21439. o Dirserver fixes:
  21440. - Now we allow two unverified servers with the same nickname
  21441. but different keys. But if a nickname is verified, only that
  21442. nickname+key are allowed.
  21443. - If you're an authdirserver connecting to an address:port,
  21444. and it's not the OR you were expecting, forget about that
  21445. descriptor. If he *was* the one you were expecting, then forget
  21446. about all other descriptors for that address:port.
  21447. - Allow servers to publish descriptors from 12 hours in the future.
  21448. Corollary: only whine about clock skew from the dirserver if
  21449. he's a trusted dirserver (since now even verified servers could
  21450. have quite wrong clocks).
  21451. - Require servers that use the default dirservers to have public IP
  21452. addresses. We have too many servers that are configured with private
  21453. IPs and their admins never notice the log entries complaining that
  21454. their descriptors are being rejected.
  21455. o Efficiency improvements:
  21456. - Use libevent. Now we can use faster async cores (like epoll, kpoll,
  21457. and /dev/poll), and hopefully work better on Windows too.
  21458. - Apple's OS X 10.4.0 ships with a broken kqueue API, and using
  21459. kqueue on 10.3.9 causes kernel panics. Don't use kqueue on OS X.
  21460. - Find libevent even if it's hiding in /usr/local/ and your
  21461. CFLAGS and LDFLAGS don't tell you to look there.
  21462. - Be able to link with libevent as a shared library (the default
  21463. after 1.0d), even if it's hiding in /usr/local/lib and even
  21464. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  21465. assuming you're running gcc. Otherwise fail and give a useful
  21466. error message.
  21467. - Switch to a new buffer management algorithm, which tries to avoid
  21468. reallocing and copying quite as much. In first tests it looks like
  21469. it uses *more* memory on average, but less cpu.
  21470. - Switch our internal buffers implementation to use a ring buffer,
  21471. to hopefully improve performance for fast servers a lot.
  21472. - Reenable the part of the code that tries to flush as soon as an
  21473. OR outbuf has a full TLS record available. Perhaps this will make
  21474. OR outbufs not grow as huge except in rare cases, thus saving lots
  21475. of CPU time plus memory.
  21476. - Improve performance for dirservers: stop re-parsing the whole
  21477. directory every time you regenerate it.
  21478. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  21479. it much faster to look up a circuit for each relay cell.
  21480. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  21481. since they're eating our cpu on exit nodes.
  21482. - Stop wasting time doing a case insensitive comparison for every
  21483. dns name every time we do any lookup. Canonicalize the names to
  21484. lowercase when you first see them.
  21485. o Hidden services:
  21486. - Handle unavailable hidden services better. Handle slow or busy
  21487. hidden services better.
  21488. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  21489. circ as necessary, if there are any completed ones lying around
  21490. when we try to launch one.
  21491. - Make hidden services try to establish a rendezvous for 30 seconds
  21492. after fetching the descriptor, rather than for n (where n=3)
  21493. attempts to build a circuit.
  21494. - Adjust maximum skew and age for rendezvous descriptors: let skew
  21495. be 48 hours rather than 90 minutes.
  21496. - Reject malformed .onion addresses rather then passing them on as
  21497. normal web requests.
  21498. o Controller:
  21499. - More Tor controller support. See
  21500. http://tor.eff.org/doc/control-spec.txt for all the new features,
  21501. including signals to emulate unix signals from any platform;
  21502. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  21503. closestream; closecircuit; etc.
  21504. - Encode hashed controller passwords in hex instead of base64,
  21505. to make it easier to write controllers.
  21506. - Revise control spec and implementation to allow all log messages to
  21507. be sent to controller with their severities intact (suggested by
  21508. Matt Edman). Disable debug-level logs while delivering a debug-level
  21509. log to the controller, to prevent loop. Update TorControl to handle
  21510. new log event types.
  21511. o New config options/defaults:
  21512. - Begin scrubbing sensitive strings from logs by default. Turn off
  21513. the config option SafeLogging if you need to do debugging.
  21514. - New exit policy: accept most low-numbered ports, rather than
  21515. rejecting most low-numbered ports.
  21516. - Put a note in the torrc about abuse potential with the default
  21517. exit policy.
  21518. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  21519. config option.
  21520. - Add HttpProxyAuthenticator and HttpsProxyAuthenticator support
  21521. based on patch from Adam Langley (basic auth only).
  21522. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  21523. the fast servers that have been joining lately. (Clients are now
  21524. willing to load balance over up to 2 MB of advertised bandwidth
  21525. capacity too.)
  21526. - New config option MaxAdvertisedBandwidth which lets you advertise
  21527. a low bandwidthrate (to not attract as many circuits) while still
  21528. allowing a higher bandwidthrate in reality.
  21529. - Require BandwidthRate to be at least 20kB/s for servers.
  21530. - Add a NoPublish config option, so you can be a server (e.g. for
  21531. testing running Tor servers in other Tor networks) without
  21532. publishing your descriptor to the primary dirservers.
  21533. - Add a new AddressMap config directive to rewrite incoming socks
  21534. addresses. This lets you, for example, declare an implicit
  21535. required exit node for certain sites.
  21536. - Add a new TrackHostExits config directive to trigger addressmaps
  21537. for certain incoming socks addresses -- for sites that break when
  21538. your exit keeps changing (based on patch from Mike Perry).
  21539. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  21540. which describes how often we retry making new circuits if current
  21541. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  21542. how long we're willing to make use of an already-dirty circuit.
  21543. - Change compiled-in SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to
  21544. a config option "ShutdownWaitLength" (when using kill -INT on
  21545. servers).
  21546. - Fix an edge case in parsing config options: if they say "--"
  21547. on the commandline, it's not a config option (thanks weasel).
  21548. - New config option DirAllowPrivateAddresses for authdirservers.
  21549. Now by default they refuse router descriptors that have non-IP or
  21550. private-IP addresses.
  21551. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  21552. smart" default value: low for servers and high for clients.
  21553. - Some people were putting "Address " in their torrc, and they had
  21554. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  21555. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  21556. LOCALSTATEDIR/tor instead.
  21557. - Implement --verify-config command-line option to check if your torrc
  21558. is valid without actually launching Tor.
  21559. o Logging improvements:
  21560. - When dirservers refuse a server descriptor, we now log its
  21561. contactinfo, platform, and the poster's IP address.
  21562. - Only warn once per nickname from add_nickname_list_to_smartlist()
  21563. per failure, so an entrynode or exitnode choice that's down won't
  21564. yell so much.
  21565. - When we're connecting to an OR and he's got a different nickname/key
  21566. than we were expecting, only complain loudly if we're an OP or a
  21567. dirserver. Complaining loudly to the OR admins just confuses them.
  21568. - Whine at you if you're a server and you don't set your contactinfo.
  21569. - Warn when exit policy implicitly allows local addresses.
  21570. - Give a better warning when some other server advertises an
  21571. ORPort that is actually an apache running ssl.
  21572. - If we get an incredibly skewed timestamp from a dirserver mirror
  21573. that isn't a verified OR, don't warn -- it's probably him that's
  21574. wrong.
  21575. - When a dirserver causes you to give a warn, mention which dirserver
  21576. it was.
  21577. - Initialize libevent later in the startup process, so the logs are
  21578. already established by the time we start logging libevent warns.
  21579. - Use correct errno on win32 if libevent fails.
  21580. - Check and warn about known-bad/slow libevent versions.
  21581. - Stop warning about sigpipes in the logs. We're going to
  21582. pretend that getting these occasionally is normal and fine.
  21583. o New contrib scripts:
  21584. - New experimental script tor/contrib/exitlist: a simple python
  21585. script to parse directories and find Tor nodes that exit to listed
  21586. addresses/ports.
  21587. - New experimental script tor/contrib/ExerciseServer.py (needs more
  21588. work) that uses the controller interface to build circuits and
  21589. fetch pages over them. This will help us bootstrap servers that
  21590. have lots of capacity but haven't noticed it yet.
  21591. - New experimental script tor/contrib/PathDemo.py (needs more work)
  21592. that uses the controller interface to let you choose whole paths
  21593. via addresses like
  21594. "<hostname>.<path,separated by dots>.<length of path>.path"
  21595. - New contributed script "privoxy-tor-toggle" to toggle whether
  21596. Privoxy uses Tor. Seems to be configured for Debian by default.
  21597. - Have torctl.in/tor.sh.in check for location of su binary (needed
  21598. on FreeBSD)
  21599. o Misc bugfixes:
  21600. - chdir() to your datadirectory at the *end* of the daemonize process,
  21601. not the beginning. This was a problem because the first time you
  21602. run tor, if your datadir isn't there, and you have runasdaemon set
  21603. to 1, it will try to chdir to it before it tries to create it. Oops.
  21604. - Fix several double-mark-for-close bugs, e.g. where we were finding
  21605. a conn for a cell even if that conn is already marked for close.
  21606. - Stop most cases of hanging up on a socks connection without sending
  21607. the socks reject.
  21608. - Fix a bug in the RPM package: set home directory for _tor to
  21609. something more reasonable when first installing.
  21610. - Stop putting nodename in the Platform string in server descriptors.
  21611. It doesn't actually help, and it is confusing/upsetting some people.
  21612. - When using preferred entry or exit nodes, ignore whether the
  21613. circuit wants uptime or capacity. They asked for the nodes, they
  21614. get the nodes.
  21615. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  21616. artificially capped at 500kB.
  21617. - Cache local dns resolves correctly even when they're .exit
  21618. addresses.
  21619. - If we're hibernating and we get a SIGINT, exit immediately.
  21620. - tor-resolve requests were ignoring .exit if there was a working circuit
  21621. they could use instead.
  21622. - Pay more attention to the ClientOnly config option.
  21623. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in certain
  21624. installer screens; and don't put stuff into StartupItems unless
  21625. the user asks you to.
  21626. o Misc features:
  21627. - Rewrite address "serifos.exit" to "externalIP.serifos.exit"
  21628. rather than just rejecting it.
  21629. - If our clock jumps forward by 100 seconds or more, assume something
  21630. has gone wrong with our network and abandon all not-yet-used circs.
  21631. - When an application is using socks5, give him the whole variety of
  21632. potential socks5 responses (connect refused, host unreachable, etc),
  21633. rather than just "success" or "failure".
  21634. - A more sane version numbering system. See
  21635. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  21636. - Change version parsing logic: a version is "obsolete" if it is not
  21637. recommended and (1) there is a newer recommended version in the
  21638. same series, or (2) there are no recommended versions in the same
  21639. series, but there are some recommended versions in a newer series.
  21640. A version is "new" if it is newer than any recommended version in
  21641. the same series.
  21642. - Report HTTP reasons to client when getting a response from directory
  21643. servers -- so you can actually know what went wrong.
  21644. - Reject odd-looking addresses at the client (e.g. addresses that
  21645. contain a colon), rather than having the server drop them because
  21646. they're malformed.
  21647. - Stop publishing socksport in the directory, since it's not
  21648. actually meant to be public. For compatibility, publish a 0 there
  21649. for now.
  21650. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  21651. cookies to disk and doesn't log each web request to disk. (Thanks
  21652. to Brett Carrington for pointing this out.)
  21653. - Add OSX uninstall instructions. An actual uninstall script will
  21654. come later.
  21655. - Add "opt hibernating 1" to server descriptor to make it clearer
  21656. whether the server is hibernating.
  21657. Changes in version 0.0.9.10 - 2005-06-16
  21658. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  21659. - Refuse relay cells that claim to have a length larger than the
  21660. maximum allowed. This prevents a potential attack that could read
  21661. arbitrary memory (e.g. keys) from an exit server's process
  21662. (CVE-2005-2050).
  21663. Changes in version 0.0.9.9 - 2005-04-23
  21664. o Bugfixes on 0.0.9.x:
  21665. - If unofficial Tor clients connect and send weird TLS certs, our
  21666. Tor server triggers an assert. This release contains a minimal
  21667. backport from the broader fix that we put into 0.1.0.4-rc.
  21668. Changes in version 0.0.9.8 - 2005-04-07
  21669. o Bugfixes on 0.0.9.x:
  21670. - We have a bug that I haven't found yet. Sometimes, very rarely,
  21671. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  21672. thinks of itself as idle. This meant that no new circuits ever got
  21673. established. Here's a workaround to kill any cpuworker that's been
  21674. busy for more than 100 seconds.
  21675. Changes in version 0.0.9.7 - 2005-04-01
  21676. o Bugfixes on 0.0.9.x:
  21677. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  21678. - Compare identity to identity, not to nickname, when extending to
  21679. a router not already in the directory. This was preventing us from
  21680. extending to unknown routers. Oops.
  21681. - Make sure to create OS X Tor user in <500 range, so we aren't
  21682. creating actual system users.
  21683. - Note where connection-that-hasn't-sent-end was marked, and fix
  21684. a few really loud instances of this harmless bug (it's fixed more
  21685. in 0.1.0.x).
  21686. Changes in version 0.0.9.6 - 2005-03-24
  21687. o Bugfixes on 0.0.9.x (crashes and asserts):
  21688. - Add new end stream reasons to maintenance branch. Fix bug where
  21689. reason (8) could trigger an assert. Prevent bug from recurring.
  21690. - Apparently win32 stat wants paths to not end with a slash.
  21691. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  21692. blowing away the circuit that conn->cpath_layer points to, then
  21693. checking to see if the circ is well-formed. Backport check to make
  21694. sure we dont use the cpath on a closed connection.
  21695. - Prevent circuit_resume_edge_reading_helper() from trying to package
  21696. inbufs for marked-for-close streams.
  21697. - Don't crash on hup if your options->address has become unresolvable.
  21698. - Some systems (like OS X) sometimes accept() a connection and tell
  21699. you the remote host is 0.0.0.0:0. If this happens, due to some
  21700. other mis-features, we get confused; so refuse the conn for now.
  21701. o Bugfixes on 0.0.9.x (other):
  21702. - Fix harmless but scary "Unrecognized content encoding" warn message.
  21703. - Add new stream error reason: TORPROTOCOL reason means "you are not
  21704. speaking a version of Tor I understand; say bye-bye to your stream."
  21705. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  21706. into the future, now that we are more tolerant of skew. This
  21707. resolves a bug where a Tor server would refuse to cache a directory
  21708. because all the directories it gets are too far in the future;
  21709. yet the Tor server never logs any complaints about clock skew.
  21710. - Mac packaging magic: make man pages useable, and do not overwrite
  21711. existing torrc files.
  21712. - Make OS X log happily to /var/log/tor/tor.log
  21713. Changes in version 0.0.9.5 - 2005-02-22
  21714. o Bugfixes on 0.0.9.x:
  21715. - Fix an assert race at exit nodes when resolve requests fail.
  21716. - Stop picking unverified dir mirrors--it only leads to misery.
  21717. - Patch from Matt Edman to make NT services work better. Service
  21718. support is still not compiled into the executable by default.
  21719. - Patch from Dmitri Bely so the Tor service runs better under
  21720. the win32 SYSTEM account.
  21721. - Make tor-resolve actually work (?) on Win32.
  21722. - Fix a sign bug when getrlimit claims to have 4+ billion
  21723. file descriptors available.
  21724. - Stop refusing to start when bandwidthburst == bandwidthrate.
  21725. - When create cells have been on the onion queue more than five
  21726. seconds, just send back a destroy and take them off the list.
  21727. Changes in version 0.0.9.4 - 2005-02-03
  21728. o Bugfixes on 0.0.9:
  21729. - Fix an assert bug that took down most of our servers: when
  21730. a server claims to have 1 GB of bandwidthburst, don't
  21731. freak out.
  21732. - Don't crash as badly if we have spawned the max allowed number
  21733. of dnsworkers, or we're out of file descriptors.
  21734. - Block more file-sharing ports in the default exit policy.
  21735. - MaxConn is now automatically set to the hard limit of max
  21736. file descriptors we're allowed (ulimit -n), minus a few for
  21737. logs, etc.
  21738. - Give a clearer message when servers need to raise their
  21739. ulimit -n when they start running out of file descriptors.
  21740. - SGI Compatibility patches from Jan Schaumann.
  21741. - Tolerate a corrupt cached directory better.
  21742. - When a dirserver hasn't approved your server, list which one.
  21743. - Go into soft hibernation after 95% of the bandwidth is used,
  21744. not 99%. This is especially important for daily hibernators who
  21745. have a small accounting max. Hopefully it will result in fewer
  21746. cut connections when the hard hibernation starts.
  21747. - Load-balance better when using servers that claim more than
  21748. 800kB/s of capacity.
  21749. - Make NT services work (experimental, only used if compiled in).
  21750. Changes in version 0.0.9.3 - 2005-01-21
  21751. o Bugfixes on 0.0.9:
  21752. - Backport the cpu use fixes from main branch, so busy servers won't
  21753. need as much processor time.
  21754. - Work better when we go offline and then come back, or when we
  21755. run Tor at boot before the network is up. We do this by
  21756. optimistically trying to fetch a new directory whenever an
  21757. application request comes in and we think we're offline -- the
  21758. human is hopefully a good measure of when the network is back.
  21759. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  21760. long as you keep using them; actually publish hidserv descriptors
  21761. shortly after they change, rather than waiting 20-40 minutes.
  21762. - Enable Mac startup script by default.
  21763. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  21764. - When you update AllowUnverifiedNodes or FirewallPorts via the
  21765. controller's setconf feature, we were always appending, never
  21766. resetting.
  21767. - When you update HiddenServiceDir via setconf, it was screwing up
  21768. the order of reading the lines, making it fail.
  21769. - Do not rewrite a cached directory back to the cache; otherwise we
  21770. will think it is recent and not fetch a newer one on startup.
  21771. - Workaround for webservers that lie about Content-Encoding: Tor
  21772. now tries to autodetect compressed directories and compression
  21773. itself. This lets us Proxypass dir fetches through apache.
  21774. Changes in version 0.0.9.2 - 2005-01-04
  21775. o Bugfixes on 0.0.9 (crashes and asserts):
  21776. - Fix an assert on startup when the disk is full and you're logging
  21777. to a file.
  21778. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  21779. style address, then we'd crash.
  21780. - Fix an assert trigger when the running-routers string we get from
  21781. a dirserver is broken.
  21782. - Make worker threads start and run on win32. Now win32 servers
  21783. may work better.
  21784. - Bandaid (not actually fix, but now it doesn't crash) an assert
  21785. where the dns worker dies mysteriously and the main Tor process
  21786. doesn't remember anything about the address it was resolving.
  21787. o Bugfixes on 0.0.9 (Win32):
  21788. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  21789. name out of the warning/assert messages.
  21790. - Fix a superficial "unhandled error on read" bug on win32.
  21791. - The win32 installer no longer requires a click-through for our
  21792. license, since our Free Software license grants rights but does not
  21793. take any away.
  21794. - Win32: When connecting to a dirserver fails, try another one
  21795. immediately. (This was already working for non-win32 Tors.)
  21796. - Stop trying to parse $HOME on win32 when hunting for default
  21797. DataDirectory.
  21798. - Make tor-resolve.c work on win32 by calling network_init().
  21799. o Bugfixes on 0.0.9 (other):
  21800. - Make 0.0.9.x build on Solaris again.
  21801. - Due to a fencepost error, we were blowing away the \n when reporting
  21802. confvalue items in the controller. So asking for multiple config
  21803. values at once couldn't work.
  21804. - When listing circuits that are pending on an opening OR connection,
  21805. if we're an OR we were listing circuits that *end* at us as
  21806. being pending on every listener, dns/cpu worker, etc. Stop that.
  21807. - Dirservers were failing to create 'running-routers' or 'directory'
  21808. strings if we had more than some threshold of routers. Fix them so
  21809. they can handle any number of routers.
  21810. - Fix a superficial "Duplicate mark for close" bug.
  21811. - Stop checking for clock skew for OR connections, even for servers.
  21812. - Fix a fencepost error that was chopping off the last letter of any
  21813. nickname that is the maximum allowed nickname length.
  21814. - Update URLs in log messages so they point to the new website.
  21815. - Fix a potential problem in mangling server private keys while
  21816. writing to disk (not triggered yet, as far as we know).
  21817. - Include the licenses for other free software we include in Tor,
  21818. now that we're shipping binary distributions more regularly.
  21819. Changes in version 0.0.9.1 - 2004-12-15
  21820. o Bugfixes on 0.0.9:
  21821. - Make hibernation actually work.
  21822. - Make HashedControlPassword config option work.
  21823. - When we're reporting event circuit status to a controller,
  21824. don't use the stream status code.
  21825. Changes in version 0.0.9 - 2004-12-12
  21826. o Bugfixes on 0.0.8.1 (Crashes and asserts):
  21827. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  21828. write() call will fail and we handle it there.
  21829. - When we run out of disk space, or other log writing error, don't
  21830. crash. Just stop logging to that log and continue.
  21831. - Fix isspace() and friends so they still make Solaris happy
  21832. but also so they don't trigger asserts on win32.
  21833. - Fix assert failure on malformed socks4a requests.
  21834. - Fix an assert bug where a hidden service provider would fail if
  21835. the first hop of his rendezvous circuit was down.
  21836. - Better handling of size_t vs int, so we're more robust on 64
  21837. bit platforms.
  21838. o Bugfixes on 0.0.8.1 (Win32):
  21839. - Make windows sockets actually non-blocking (oops), and handle
  21840. win32 socket errors better.
  21841. - Fix parse_iso_time on platforms without strptime (eg win32).
  21842. - win32: when being multithreaded, leave parent fdarray open.
  21843. - Better handling of winsock includes on non-MSV win32 compilers.
  21844. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  21845. happier.
  21846. - Make unit tests work on win32.
  21847. o Bugfixes on 0.0.8.1 (Path selection and streams):
  21848. - Calculate timeout for waiting for a connected cell from the time
  21849. we sent the begin cell, not from the time the stream started. If
  21850. it took a long time to establish the circuit, we would time out
  21851. right after sending the begin cell.
  21852. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  21853. of * as always matching, so we were picking reject *:* nodes as
  21854. exit nodes too. Oops.
  21855. - When read() failed on a stream, we would close it without sending
  21856. back an end. So 'connection refused' would simply be ignored and
  21857. the user would get no response.
  21858. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  21859. we shouldn't hold-open-until-flush if the eof arrived first.
  21860. - Let resolve conns retry/expire also, rather than sticking around
  21861. forever.
  21862. - Fix more dns related bugs: send back resolve_failed and end cells
  21863. more reliably when the resolve fails, rather than closing the
  21864. circuit and then trying to send the cell. Also attach dummy resolve
  21865. connections to a circuit *before* calling dns_resolve(), to fix
  21866. a bug where cached answers would never be sent in RESOLVED cells.
  21867. o Bugfixes on 0.0.8.1 (Circuits):
  21868. - Finally fix a bug that's been plaguing us for a year:
  21869. With high load, circuit package window was reaching 0. Whenever
  21870. we got a circuit-level sendme, we were reading a lot on each
  21871. socket, but only writing out a bit. So we would eventually reach
  21872. eof. This would be noticed and acted on even when there were still
  21873. bytes sitting in the inbuf.
  21874. - Use identity comparison, not nickname comparison, to choose which
  21875. half of circuit-ID-space each side gets to use. This is needed
  21876. because sometimes we think of a router as a nickname, and sometimes
  21877. as a hex ID, and we can't predict what the other side will do.
  21878. o Bugfixes on 0.0.8.1 (Other):
  21879. - Fix a whole slew of memory leaks.
  21880. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  21881. - If we are using select, make sure we stay within FD_SETSIZE.
  21882. - When poll() is interrupted, we shouldn't believe the revents values.
  21883. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  21884. and smartlist_len, which are two major profiling offenders.
  21885. - If do_hup fails, actually notice.
  21886. - Flush the log file descriptor after we print "Tor opening log file",
  21887. so we don't see those messages days later.
  21888. - Hidden service operators now correctly handle version 1 style
  21889. INTRODUCE1 cells (nobody generates them still, so not a critical
  21890. bug).
  21891. - Handle more errnos from accept() without closing the listener.
  21892. Some OpenBSD machines were closing their listeners because
  21893. they ran out of file descriptors.
  21894. - Some people had wrapped their tor client/server in a script
  21895. that would restart it whenever it died. This did not play well
  21896. with our "shut down if your version is obsolete" code. Now people
  21897. don't fetch a new directory if their local cached version is
  21898. recent enough.
  21899. - Make our autogen.sh work on ksh as well as bash.
  21900. - Better torrc example lines for dirbindaddress and orbindaddress.
  21901. - Improved bounds checking on parsed ints (e.g. config options and
  21902. the ones we find in directories.)
  21903. - Stop using separate defaults for no-config-file and
  21904. empty-config-file. Now you have to explicitly turn off SocksPort,
  21905. if you don't want it open.
  21906. - We were starting to daemonize before we opened our logs, so if
  21907. there were any problems opening logs, we would complain to stderr,
  21908. which wouldn't work, and then mysteriously exit.
  21909. - If a verified OR connects to us before he's uploaded his descriptor,
  21910. or we verify him and hup but he still has the original TLS
  21911. connection, then conn->nickname is still set like he's unverified.
  21912. o Code security improvements, inspired by Ilja:
  21913. - tor_snprintf wrapper over snprintf with consistent (though not C99)
  21914. overflow behavior.
  21915. - Replace sprintf with tor_snprintf. (I think they were all safe, but
  21916. hey.)
  21917. - Replace strcpy/strncpy with strlcpy in more places.
  21918. - Avoid strcat; use tor_snprintf or strlcat instead.
  21919. o Features (circuits and streams):
  21920. - New circuit building strategy: keep a list of ports that we've
  21921. used in the past 6 hours, and always try to have 2 circuits open
  21922. or on the way that will handle each such port. Seed us with port
  21923. 80 so web users won't complain that Tor is "slow to start up".
  21924. - Make kill -USR1 dump more useful stats about circuits.
  21925. - When warning about retrying or giving up, print the address, so
  21926. the user knows which one it's talking about.
  21927. - If you haven't used a clean circuit in an hour, throw it away,
  21928. just to be on the safe side. (This means after 6 hours a totally
  21929. unused Tor client will have no circuits open.)
  21930. - Support "foo.nickname.exit" addresses, to let Alice request the
  21931. address "foo" as viewed by exit node "nickname". Based on a patch
  21932. from Geoff Goodell.
  21933. - If your requested entry or exit node has advertised bandwidth 0,
  21934. pick it anyway.
  21935. - Be more greedy about filling up relay cells -- we try reading again
  21936. once we've processed the stuff we read, in case enough has arrived
  21937. to fill the last cell completely.
  21938. - Refuse application socks connections to port 0.
  21939. - Use only 0.0.9pre1 and later servers for resolve cells.
  21940. o Features (bandwidth):
  21941. - Hibernation: New config option "AccountingMax" lets you
  21942. set how many bytes per month (in each direction) you want to
  21943. allow your server to consume. Rather than spreading those
  21944. bytes out evenly over the month, we instead hibernate for some
  21945. of the month and pop up at a deterministic time, work until
  21946. the bytes are consumed, then hibernate again. Config option
  21947. "MonthlyAccountingStart" lets you specify which day of the month
  21948. your billing cycle starts on.
  21949. - Implement weekly/monthly/daily accounting: now you specify your
  21950. hibernation properties by
  21951. AccountingMax N bytes|KB|MB|GB|TB
  21952. AccountingStart day|week|month [day] HH:MM
  21953. Defaults to "month 1 0:00".
  21954. - Let bandwidth and interval config options be specified as 5 bytes,
  21955. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  21956. o Features (directories):
  21957. - New "router-status" line in directory, to better bind each verified
  21958. nickname to its identity key.
  21959. - Clients can ask dirservers for /dir.z to get a compressed version
  21960. of the directory. Only works for servers running 0.0.9, of course.
  21961. - Make clients cache directories and use them to seed their router
  21962. lists at startup. This means clients have a datadir again.
  21963. - Respond to content-encoding headers by trying to uncompress as
  21964. appropriate.
  21965. - Clients and servers now fetch running-routers; cache
  21966. running-routers; compress running-routers; serve compressed
  21967. running-routers.z
  21968. - Make moria2 advertise a dirport of 80, so people behind firewalls
  21969. will be able to get a directory.
  21970. - Http proxy support
  21971. - Dirservers translate requests for http://%s:%d/x to /x
  21972. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  21973. be routed through this host.
  21974. - Clients ask for /tor/x rather than /x for new enough dirservers.
  21975. This way we can one day coexist peacefully with apache.
  21976. - Clients specify a "Host: %s%d" http header, to be compatible
  21977. with more proxies, and so running squid on an exit node can work.
  21978. - Protect dirservers from overzealous descriptor uploading -- wait
  21979. 10 seconds after directory gets dirty, before regenerating.
  21980. o Features (packages and install):
  21981. - Add NSI installer contributed by J Doe.
  21982. - Apply NT service patch from Osamu Fujino. Still needs more work.
  21983. - Commit VC6 and VC7 workspace/project files.
  21984. - Commit a tor.spec for making RPM files, with help from jbash.
  21985. - Add contrib/torctl.in contributed by Glenn Fink.
  21986. - Make expand_filename handle ~ and ~username.
  21987. - Use autoconf to enable largefile support where necessary. Use
  21988. ftello where available, since ftell can fail at 2GB.
  21989. - Ship src/win32/ in the tarball, so people can use it to build.
  21990. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  21991. is broken.
  21992. o Features (ui controller):
  21993. - Control interface: a separate program can now talk to your
  21994. client/server over a socket, and get/set config options, receive
  21995. notifications of circuits and streams starting/finishing/dying,
  21996. bandwidth used, etc. The next step is to get some GUIs working.
  21997. Let us know if you want to help out. See doc/control-spec.txt .
  21998. - Ship a contrib/tor-control.py as an example script to interact
  21999. with the control port.
  22000. - "tor --hash-password zzyxz" will output a salted password for
  22001. use in authenticating to the control interface.
  22002. - Implement the control-spec's SAVECONF command, to write your
  22003. configuration to torrc.
  22004. - Get cookie authentication for the controller closer to working.
  22005. - When set_conf changes our server descriptor, upload a new copy.
  22006. But don't upload it too often if there are frequent changes.
  22007. o Features (config and command-line):
  22008. - Deprecate unofficial config option abbreviations, and abbreviations
  22009. not on the command line.
  22010. - Configuration infrastructure support for warning on obsolete
  22011. options.
  22012. - Give a slightly more useful output for "tor -h".
  22013. - Break DirFetchPostPeriod into:
  22014. - DirFetchPeriod for fetching full directory,
  22015. - StatusFetchPeriod for fetching running-routers,
  22016. - DirPostPeriod for posting server descriptor,
  22017. - RendPostPeriod for posting hidden service descriptors.
  22018. - New log format in config:
  22019. "Log minsev[-maxsev] stdout|stderr|syslog" or
  22020. "Log minsev[-maxsev] file /var/foo"
  22021. - DirPolicy config option, to let people reject incoming addresses
  22022. from their dirserver.
  22023. - "tor --list-fingerprint" will list your identity key fingerprint
  22024. and then exit.
  22025. - Make tor --version --version dump the cvs Id of every file.
  22026. - New 'MyFamily nick1,...' config option for a server to
  22027. specify other servers that shouldn't be used in the same circuit
  22028. with it. Only believed if nick1 also specifies us.
  22029. - New 'NodeFamily nick1,nick2,...' config option for a client to
  22030. specify nodes that it doesn't want to use in the same circuit.
  22031. - New 'Redirectexit pattern address:port' config option for a
  22032. server to redirect exit connections, e.g. to a local squid.
  22033. - Add "pass" target for RedirectExit, to make it easier to break
  22034. out of a sequence of RedirectExit rules.
  22035. - Make the dirservers file obsolete.
  22036. - Include a dir-signing-key token in directories to tell the
  22037. parsing entity which key is being used to sign.
  22038. - Remove the built-in bulky default dirservers string.
  22039. - New config option "Dirserver %s:%d [fingerprint]", which can be
  22040. repeated as many times as needed. If no dirservers specified,
  22041. default to moria1,moria2,tor26.
  22042. - Make 'Routerfile' config option obsolete.
  22043. - Discourage people from setting their dirfetchpostperiod more often
  22044. than once per minute.
  22045. o Features (other):
  22046. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  22047. get back to normal.)
  22048. - Accept *:706 (silc) in default exit policy.
  22049. - Implement new versioning format for post 0.1.
  22050. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  22051. log more informatively.
  22052. - Check clock skew for verified servers, but allow unverified
  22053. servers and clients to have any clock skew.
  22054. - Make sure the hidden service descriptors are at a random offset
  22055. from each other, to hinder linkability.
  22056. - Clients now generate a TLS cert too, in preparation for having
  22057. them act more like real nodes.
  22058. - Add a pure-C tor-resolve implementation.
  22059. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  22060. 1024) file descriptors.
  22061. - Raise the max dns workers from 50 to 100.
  22062. Changes in version 0.0.8.1 - 2004-10-13
  22063. o Bugfixes:
  22064. - Fix a seg fault that can be triggered remotely for Tor
  22065. clients/servers with an open dirport.
  22066. - Fix a rare assert trigger, where routerinfos for entries in
  22067. our cpath would expire while we're building the path.
  22068. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  22069. - Fix a rare seg fault for people running hidden services on
  22070. intermittent connections.
  22071. - Fix a bug in parsing opt keywords with objects.
  22072. - Fix a stale pointer assert bug when a stream detaches and
  22073. reattaches.
  22074. - Fix a string format vulnerability (probably not exploitable)
  22075. in reporting stats locally.
  22076. - Fix an assert trigger: sometimes launching circuits can fail
  22077. immediately, e.g. because too many circuits have failed recently.
  22078. - Fix a compile warning on 64 bit platforms.
  22079. Changes in version 0.0.8 - 2004-08-25
  22080. o Bugfixes:
  22081. - Made our unit tests compile again on OpenBSD 3.5, and tor
  22082. itself compile again on OpenBSD on a sparc64.
  22083. - We were neglecting milliseconds when logging on win32, so
  22084. everything appeared to happen at the beginning of each second.
  22085. - Check directory signature _before_ you decide whether you're
  22086. you're running an obsolete version and should exit.
  22087. - Check directory signature _before_ you parse the running-routers
  22088. list to decide who's running.
  22089. - Check return value of fclose while writing to disk, so we don't
  22090. end up with broken files when servers run out of disk space.
  22091. - Port it to SunOS 5.9 / Athena
  22092. - Fix two bugs in saving onion keys to disk when rotating, so
  22093. hopefully we'll get fewer people using old onion keys.
  22094. - Remove our mostly unused -- and broken -- hex_encode()
  22095. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  22096. for pointing out this bug.)
  22097. - Only pick and establish intro points after we've gotten a
  22098. directory.
  22099. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  22100. don't put it into the client dns cache.
  22101. - If a begin failed due to exit policy, but we believe the IP
  22102. address should have been allowed, switch that router to exitpolicy
  22103. reject *:* until we get our next directory.
  22104. o Protocol changes:
  22105. - 'Extend' relay cell payloads now include the digest of the
  22106. intended next hop's identity key. Now we can verify that we're
  22107. extending to the right router, and also extend to routers we
  22108. hadn't heard of before.
  22109. o Features:
  22110. - Tor nodes can now act as relays (with an advertised ORPort)
  22111. without being manually verified by the dirserver operators.
  22112. - Uploaded descriptors of unverified routers are now accepted
  22113. by the dirservers, and included in the directory.
  22114. - Verified routers are listed by nickname in the running-routers
  22115. list; unverified routers are listed as "$<fingerprint>".
  22116. - We now use hash-of-identity-key in most places rather than
  22117. nickname or addr:port, for improved security/flexibility.
  22118. - AllowUnverifiedNodes config option to let circuits choose no-name
  22119. routers in entry,middle,exit,introduction,rendezvous positions.
  22120. Allow middle and rendezvous positions by default.
  22121. - When picking unverified routers, skip those with low uptime and/or
  22122. low bandwidth, depending on what properties you care about.
  22123. - ClientOnly option for nodes that never want to become servers.
  22124. - Directory caching.
  22125. - "AuthoritativeDir 1" option for the official dirservers.
  22126. - Now other nodes (clients and servers) will cache the latest
  22127. directory they've pulled down.
  22128. - They can enable their DirPort to serve it to others.
  22129. - Clients will pull down a directory from any node with an open
  22130. DirPort, and check the signature/timestamp correctly.
  22131. - Authoritative dirservers now fetch directories from other
  22132. authdirservers, to stay better synced.
  22133. - Running-routers list tells who's down also, along with noting
  22134. if they're verified (listed by nickname) or unverified (listed
  22135. by hash-of-key).
  22136. - Allow dirservers to serve running-router list separately.
  22137. This isn't used yet.
  22138. - You can now fetch $DIRURL/running-routers to get just the
  22139. running-routers line, not the whole descriptor list. (But
  22140. clients don't use this yet.)
  22141. - Clients choose nodes proportional to advertised bandwidth.
  22142. - Clients avoid using nodes with low uptime as introduction points.
  22143. - Handle servers with dynamic IP addresses: don't just replace
  22144. options->Address with the resolved one at startup, and
  22145. detect our address right before we make a routerinfo each time.
  22146. - 'FascistFirewall' option to pick dirservers and ORs on specific
  22147. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  22148. which ports are open. (Defaults to 80,443)
  22149. - Try other dirservers immediately if the one you try is down. This
  22150. should tolerate down dirservers better now.
  22151. - ORs connect-on-demand to other ORs
  22152. - If you get an extend cell to an OR you're not connected to,
  22153. connect, handshake, and forward the create cell.
  22154. - The authoritative dirservers stay connected to everybody,
  22155. and everybody stays connected to 0.0.7 servers, but otherwise
  22156. clients/servers expire unused connections after 5 minutes.
  22157. - When servers get a sigint, they delay 30 seconds (refusing new
  22158. connections) then exit. A second sigint causes immediate exit.
  22159. - File and name management:
  22160. - Look for .torrc if no CONFDIR "torrc" is found.
  22161. - If no datadir is defined, then choose, make, and secure ~/.tor
  22162. as datadir.
  22163. - If torrc not found, exitpolicy reject *:*.
  22164. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  22165. - If no nickname is defined, derive default from hostname.
  22166. - Rename secret key files, e.g. identity.key -> secret_id_key,
  22167. to discourage people from mailing their identity key to tor-ops.
  22168. - Refuse to build a circuit before the directory has arrived --
  22169. it won't work anyway, since you won't know the right onion keys
  22170. to use.
  22171. - Parse tor version numbers so we can do an is-newer-than check
  22172. rather than an is-in-the-list check.
  22173. - New socks command 'resolve', to let us shim gethostbyname()
  22174. locally.
  22175. - A 'tor_resolve' script to access the socks resolve functionality.
  22176. - A new socks-extensions.txt doc file to describe our
  22177. interpretation and extensions to the socks protocols.
  22178. - Add a ContactInfo option, which gets published in descriptor.
  22179. - Write tor version at the top of each log file
  22180. - New docs in the tarball:
  22181. - tor-doc.html.
  22182. - Document that you should proxy your SSL traffic too.
  22183. - Log a warning if the user uses an unsafe socks variant, so people
  22184. are more likely to learn about privoxy or socat.
  22185. - Log a warning if you're running an unverified server, to let you
  22186. know you might want to get it verified.
  22187. - Change the default exit policy to reject the default edonkey,
  22188. kazaa, gnutella ports.
  22189. - Add replace_file() to util.[ch] to handle win32's rename().
  22190. - Publish OR uptime in descriptor (and thus in directory) too.
  22191. - Remember used bandwidth (both in and out), and publish 15-minute
  22192. snapshots for the past day into our descriptor.
  22193. - Be more aggressive about trying to make circuits when the network
  22194. has changed (e.g. when you unsuspend your laptop).
  22195. - Check for time skew on http headers; report date in response to
  22196. "GET /".
  22197. - If the entrynode config line has only one node, don't pick it as
  22198. an exitnode.
  22199. - Add strict{entry|exit}nodes config options. If set to 1, then
  22200. we refuse to build circuits that don't include the specified entry
  22201. or exit nodes.
  22202. - OutboundBindAddress config option, to bind to a specific
  22203. IP address for outgoing connect()s.
  22204. - End truncated log entries (e.g. directories) with "[truncated]".
  22205. Changes in version 0.0.7.3 - 2004-08-12
  22206. o Stop dnsworkers from triggering an assert failure when you
  22207. ask them to resolve the host "".
  22208. Changes in version 0.0.7.2 - 2004-07-07
  22209. o A better fix for the 0.0.0.0 problem, that will hopefully
  22210. eliminate the remaining related assertion failures.
  22211. Changes in version 0.0.7.1 - 2004-07-04
  22212. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  22213. since internally we use 0.0.0.0 to signify "not yet resolved".
  22214. Changes in version 0.0.7 - 2004-06-07
  22215. o Fixes for crashes and other obnoxious bugs:
  22216. - Fix an epipe bug: sometimes when directory connections failed
  22217. to connect, we would give them a chance to flush before closing
  22218. them.
  22219. - When we detached from a circuit because of resolvefailed, we
  22220. would immediately try the same circuit twice more, and then
  22221. give up on the resolve thinking we'd tried three different
  22222. exit nodes.
  22223. - Limit the number of intro circuits we'll attempt to build for a
  22224. hidden service per 15-minute period.
  22225. - Check recommended-software string *early*, before actually parsing
  22226. the directory. Thus we can detect an obsolete version and exit,
  22227. even if the new directory format doesn't parse.
  22228. o Fixes for security bugs:
  22229. - Remember which nodes are dirservers when you startup, and if a
  22230. random OR enables his dirport, don't automatically assume he's
  22231. a trusted dirserver.
  22232. o Other bugfixes:
  22233. - Directory connections were asking the wrong poll socket to
  22234. start writing, and not asking themselves to start writing.
  22235. - When we detached from a circuit because we sent a begin but
  22236. didn't get a connected, we would use it again the first time;
  22237. but after that we would correctly switch to a different one.
  22238. - Stop warning when the first onion decrypt attempt fails; they
  22239. will sometimes legitimately fail now that we rotate keys.
  22240. - Override unaligned-access-ok check when $host_cpu is ia64 or
  22241. arm. Apparently they allow it but the kernel whines.
  22242. - Dirservers try to reconnect periodically too, in case connections
  22243. have failed.
  22244. - Fix some memory leaks in directory servers.
  22245. - Allow backslash in Win32 filenames.
  22246. - Made Tor build complain-free on FreeBSD, hopefully without
  22247. breaking other BSD builds. We'll see.
  22248. - Check directory signatures based on name of signer, not on whom
  22249. we got the directory from. This will let us cache directories more
  22250. easily.
  22251. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  22252. settings too.
  22253. o Features:
  22254. - Doxygen markup on all functions and global variables.
  22255. - Make directory functions update routerlist, not replace it. So
  22256. now directory disagreements are not so critical a problem.
  22257. - Remove the upper limit on number of descriptors in a dirserver's
  22258. directory (not that we were anywhere close).
  22259. - Allow multiple logfiles at different severity ranges.
  22260. - Allow *BindAddress to specify ":port" rather than setting *Port
  22261. separately. Allow multiple instances of each BindAddress config
  22262. option, so you can bind to multiple interfaces if you want.
  22263. - Allow multiple exit policy lines, which are processed in order.
  22264. Now we don't need that huge line with all the commas in it.
  22265. - Enable accept/reject policies on SOCKS connections, so you can bind
  22266. to 0.0.0.0 but still control who can use your OP.
  22267. - Updated the man page to reflect these features.
  22268. Changes in version 0.0.6.2 - 2004-05-16
  22269. o Our integrity-checking digest was checking only the most recent cell,
  22270. not the previous cells like we'd thought.
  22271. Thanks to Stefan Mark for finding the flaw!
  22272. Changes in version 0.0.6.1 - 2004-05-06
  22273. o Fix two bugs in our AES counter-mode implementation (this affected
  22274. onion-level stream encryption, but not TLS-level). It turns
  22275. out we were doing something much more akin to a 16-character
  22276. polyalphabetic cipher. Oops.
  22277. Thanks to Stefan Mark for finding the flaw!
  22278. o Retire moria3 as a directory server, and add tor26 as a directory
  22279. server.
  22280. Changes in version 0.0.6 - 2004-05-02
  22281. o Features:
  22282. - Hidden services and rendezvous points are implemented. Go to
  22283. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  22284. hidden services. (This only works via a socks4a proxy such as
  22285. Privoxy, and currently it's quite slow.)
  22286. - We now rotate link (tls context) keys and onion keys.
  22287. - CREATE cells now include oaep padding, so you can tell
  22288. if you decrypted them correctly.
  22289. - Retry stream correctly when we fail to connect because of
  22290. exit-policy-reject (should try another) or can't-resolve-address.
  22291. - When we hup a dirserver and we've *removed* a server from the
  22292. approved-routers list, now we remove that server from the
  22293. in-memory directories too.
  22294. - Add bandwidthburst to server descriptor.
  22295. - Directories now say which dirserver signed them.
  22296. - Use a tor_assert macro that logs failed assertions too.
  22297. - Since we don't support truncateds much, don't bother sending them;
  22298. just close the circ.
  22299. - Fetch randomness from /dev/urandom better (not via fopen/fread)
  22300. - Better debugging for tls errors
  22301. - Set Content-Type on the directory and hidserv descriptor.
  22302. - Remove IVs from cipher code, since AES-ctr has none.
  22303. o Bugfixes:
  22304. - Fix an assert trigger for exit nodes that's been plaguing us since
  22305. the days of 0.0.2prexx (thanks weasel!)
  22306. - Fix a bug where we were closing tls connections intermittently.
  22307. It turns out openssl keeps its errors around -- so if an error
  22308. happens, and you don't ask about it, and then another openssl
  22309. operation happens and succeeds, and you ask if there was an error,
  22310. it tells you about the first error.
  22311. - Fix a bug that's been lurking since 27 may 03 (!)
  22312. When passing back a destroy cell, we would use the wrong circ id.
  22313. - Don't crash if a conn that sent a begin has suddenly lost its circuit.
  22314. - Some versions of openssl have an SSL_pending function that erroneously
  22315. returns bytes when there is a non-application record pending.
  22316. - Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  22317. o We were using an array of length zero in a few places.
  22318. o Win32's gethostbyname can't resolve an IP to an IP.
  22319. o Win32's close can't close a socket.
  22320. o Handle windows socket errors correctly.
  22321. o Portability:
  22322. - check for <sys/limits.h> so we build on FreeBSD again, and
  22323. <machine/limits.h> for NetBSD.
  22324. Changes in version 0.0.5 - 2004-03-30
  22325. o Install torrc as torrc.sample -- we no longer clobber your
  22326. torrc. (Woo!)
  22327. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  22328. o Only build circuits after we've fetched the directory: clients were
  22329. using only the directory servers before they'd fetched a directory.
  22330. This also means longer startup time; so it goes.
  22331. o Fix an assert trigger where an OP would fail to handshake, and we'd
  22332. expect it to have a nickname.
  22333. o Work around a tsocks bug: do a socks reject when AP connection dies
  22334. early, else tsocks goes into an infinite loop.
  22335. o Hold socks connection open until reply is flushed (if possible)
  22336. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  22337. the dns farm to do it.
  22338. o Fix c99 aliasing warnings in rephist.c
  22339. o Don't include server descriptors that are older than 24 hours in the
  22340. directory.
  22341. o Give socks 'reject' replies their whole 15s to attempt to flush,
  22342. rather than seeing the 60s timeout and assuming the flush had failed.
  22343. o Clean automake droppings from the cvs repository
  22344. o Add in a 'notice' log level for things the operator should hear
  22345. but that aren't warnings
  22346. Changes in version 0.0.4 - 2004-03-26
  22347. o When connecting to a dirserver or OR and the network is down,
  22348. we would crash.
  22349. Changes in version 0.0.3 - 2004-03-26
  22350. o Warn and fail if server chose a nickname with illegal characters
  22351. o Port to Solaris and Sparc:
  22352. - include missing header fcntl.h
  22353. - have autoconf find -lsocket -lnsl automatically
  22354. - deal with hardware word alignment
  22355. - make uname() work (solaris has a different return convention)
  22356. - switch from using signal() to sigaction()
  22357. o Preliminary work on reputation system:
  22358. - Keep statistics on success/fail of connect attempts; they're published
  22359. by kill -USR1 currently.
  22360. - Add a RunTesting option to try to learn link state by creating test
  22361. circuits, even when SocksPort is off.
  22362. - Remove unused open circuits when there are too many.
  22363. Changes in version 0.0.2 - 2004-03-19
  22364. - Include strlcpy and strlcat for safer string ops
  22365. - define INADDR_NONE so we compile (but still not run) on solaris
  22366. Changes in version 0.0.2pre27 - 2004-03-14
  22367. o Bugfixes:
  22368. - Allow internal tor networks (we were rejecting internal IPs,
  22369. now we allow them if they're set explicitly).
  22370. - And fix a few endian issues.
  22371. Changes in version 0.0.2pre26 - 2004-03-14
  22372. o New features:
  22373. - If a stream times out after 15s without a connected cell, don't
  22374. try that circuit again: try a new one.
  22375. - Retry streams at most 4 times. Then give up.
  22376. - When a dirserver gets a descriptor from an unknown router, it
  22377. logs its fingerprint (so the dirserver operator can choose to
  22378. accept it even without mail from the server operator).
  22379. - Inform unapproved servers when we reject their descriptors.
  22380. - Make tor build on Windows again. It works as a client, who knows
  22381. about as a server.
  22382. - Clearer instructions in the torrc for how to set up a server.
  22383. - Be more efficient about reading fd's when our global token bucket
  22384. (used for rate limiting) becomes empty.
  22385. o Bugfixes:
  22386. - Stop asserting that computers always go forward in time. It's
  22387. simply not true.
  22388. - When we sent a cell (e.g. destroy) and then marked an OR connection
  22389. expired, we might close it before finishing a flush if the other
  22390. side isn't reading right then.
  22391. - Don't allow dirservers to start if they haven't defined
  22392. RecommendedVersions
  22393. - We were caching transient dns failures. Oops.
  22394. - Prevent servers from publishing an internal IP as their address.
  22395. - Address a strcat vulnerability in circuit.c
  22396. Changes in version 0.0.2pre25 - 2004-03-04
  22397. o New features:
  22398. - Put the OR's IP in its router descriptor, not its fqdn. That way
  22399. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  22400. e.g. poblano.
  22401. o Bugfixes:
  22402. - If the user typed in an address that didn't resolve, the server
  22403. crashed.
  22404. Changes in version 0.0.2pre24 - 2004-03-03
  22405. o Bugfixes:
  22406. - Fix an assertion failure in dns.c, where we were trying to dequeue
  22407. a pending dns resolve even if it wasn't pending
  22408. - Fix a spurious socks5 warning about still trying to write after the
  22409. connection is finished.
  22410. - Hold certain marked_for_close connections open until they're finished
  22411. flushing, rather than losing bytes by closing them too early.
  22412. - Correctly report the reason for ending a stream
  22413. - Remove some duplicate calls to connection_mark_for_close
  22414. - Put switch_id and start_daemon earlier in the boot sequence, so it
  22415. will actually try to chdir() to options.DataDirectory
  22416. - Make 'make test' exit(1) if a test fails; fix some unit tests
  22417. - Make tor fail when you use a config option it doesn't know about,
  22418. rather than warn and continue.
  22419. - Make --version work
  22420. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  22421. Changes in version 0.0.2pre23 - 2004-02-29
  22422. o New features:
  22423. - Print a statement when the first circ is finished, so the user
  22424. knows it's working.
  22425. - If a relay cell is unrecognized at the end of the circuit,
  22426. send back a destroy. (So attacks to mutate cells are more
  22427. clearly thwarted.)
  22428. - New config option 'excludenodes' to avoid certain nodes for circuits.
  22429. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  22430. so you can collect coredumps there.
  22431. o Bugfixes:
  22432. - Fix a bug in tls flushing where sometimes data got wedged and
  22433. didn't flush until more data got sent. Hopefully this bug was
  22434. a big factor in the random delays we were seeing.
  22435. - Make 'connected' cells include the resolved IP, so the client
  22436. dns cache actually gets populated.
  22437. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  22438. - When we time-out on a stream and detach from the circuit, send an
  22439. end cell down it first.
  22440. - Only warn about an unknown router (in exitnodes, entrynodes,
  22441. excludenodes) after we've fetched a directory.
  22442. Changes in version 0.0.2pre22 - 2004-02-26
  22443. o New features:
  22444. - Servers publish less revealing uname information in descriptors.
  22445. - More memory tracking and assertions, to crash more usefully when
  22446. errors happen.
  22447. - If the default torrc isn't there, just use some default defaults.
  22448. Plus provide an internal dirservers file if they don't have one.
  22449. - When the user tries to use Tor as an http proxy, give them an http
  22450. 501 failure explaining that we're a socks proxy.
  22451. - Dump a new router.desc on hup, to help confused people who change
  22452. their exit policies and then wonder why router.desc doesn't reflect
  22453. it.
  22454. - Clean up the generic tor.sh init script that we ship with.
  22455. o Bugfixes:
  22456. - If the exit stream is pending on the resolve, and a destroy arrives,
  22457. then the stream wasn't getting removed from the pending list. I
  22458. think this was the one causing recent server crashes.
  22459. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  22460. - When it couldn't resolve any dirservers, it was useless from then on.
  22461. Now it reloads the RouterFile (or default dirservers) if it has no
  22462. dirservers.
  22463. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  22464. many users don't even *have* a /usr/local/sbin/.
  22465. Changes in version 0.0.2pre21 - 2004-02-18
  22466. o New features:
  22467. - There's a ChangeLog file that actually reflects the changelog.
  22468. - There's a 'torify' wrapper script, with an accompanying
  22469. tor-tsocks.conf, that simplifies the process of using tsocks for
  22470. tor. It even has a man page.
  22471. - The tor binary gets installed to sbin rather than bin now.
  22472. - Retry streams where the connected cell hasn't arrived in 15 seconds
  22473. - Clean up exit policy handling -- get the default out of the torrc,
  22474. so we can update it without forcing each server operator to fix
  22475. his/her torrc.
  22476. - Allow imaps and pop3s in default exit policy
  22477. o Bugfixes:
  22478. - Prevent picking middleman nodes as the last node in the circuit
  22479. Changes in version 0.0.2pre20 - 2004-01-30
  22480. o New features:
  22481. - We now have a deb package, and it's in debian unstable. Go to
  22482. it, apt-getters. :)
  22483. - I've split the TotalBandwidth option into BandwidthRate (how many
  22484. bytes per second you want to allow, long-term) and
  22485. BandwidthBurst (how many bytes you will allow at once before the cap
  22486. kicks in). This better token bucket approach lets you, say, set
  22487. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  22488. performance while not exceeding your monthly bandwidth quota.
  22489. - Push out a tls record's worth of data once you've got it, rather
  22490. than waiting until you've read everything waiting to be read. This
  22491. may improve performance by pipelining better. We'll see.
  22492. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  22493. from failed circuits (if they haven't been connected yet) and attach
  22494. to new ones.
  22495. - Expire old streams that haven't managed to connect. Some day we'll
  22496. have them reattach to new circuits instead.
  22497. o Bugfixes:
  22498. - Fix several memory leaks that were causing servers to become bloated
  22499. after a while.
  22500. - Fix a few very rare assert triggers. A few more remain.
  22501. - Setuid to User _before_ complaining about running as root.
  22502. Changes in version 0.0.2pre19 - 2004-01-07
  22503. o Bugfixes:
  22504. - Fix deadlock condition in dns farm. We were telling a child to die by
  22505. closing the parent's file descriptor to him. But newer children were
  22506. inheriting the open file descriptor from the parent, and since they
  22507. weren't closing it, the socket never closed, so the child never read
  22508. eof, so he never knew to exit. Similarly, dns workers were holding
  22509. open other sockets, leading to all sorts of chaos.
  22510. - New cleaner daemon() code for forking and backgrounding.
  22511. - If you log to a file, it now prints an entry at the top of the
  22512. logfile so you know it's working.
  22513. - The onionskin challenge length was 30 bytes longer than necessary.
  22514. - Started to patch up the spec so it's not quite so out of date.
  22515. Changes in version 0.0.2pre18 - 2004-01-02
  22516. o Bugfixes:
  22517. - Fix endian issues with the 'integrity' field in the relay header.
  22518. - Fix a potential bug where connections in state
  22519. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  22520. Changes in version 0.0.2pre17 - 2003-12-30
  22521. o Bugfixes:
  22522. - Made --debuglogfile (or any second log file, actually) work.
  22523. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  22524. adversary could force us into an infinite loop.
  22525. o Features:
  22526. - Each onionskin handshake now includes a hash of the computed key,
  22527. to prove the server's identity and help perfect forward secrecy.
  22528. - Changed cell size from 256 to 512 bytes (working toward compatibility
  22529. with MorphMix).
  22530. - Changed cell length to 2 bytes, and moved it to the relay header.
  22531. - Implemented end-to-end integrity checking for the payloads of
  22532. relay cells.
  22533. - Separated streamid from 'recognized' (otherwise circuits will get
  22534. messed up when we try to have streams exit from the middle). We
  22535. use the integrity-checking to confirm that a cell is addressed to
  22536. this hop.
  22537. - Randomize the initial circid and streamid values, so an adversary who
  22538. breaks into a node can't learn how many circuits or streams have
  22539. been made so far.
  22540. Changes in version 0.0.2pre16 - 2003-12-14
  22541. o Bugfixes:
  22542. - Fixed a bug that made HUP trigger an assert
  22543. - Fixed a bug where a circuit that immediately failed wasn't being
  22544. counted as a failed circuit in counting retries.
  22545. o Features:
  22546. - Now we close the circuit when we get a truncated cell: otherwise we're
  22547. open to an anonymity attack where a bad node in the path truncates
  22548. the circuit and then we open streams at him.
  22549. - Add port ranges to exit policies
  22550. - Add a conservative default exit policy
  22551. - Warn if you're running tor as root
  22552. - on HUP, retry OR connections and close/rebind listeners
  22553. - options.EntryNodes: try these nodes first when picking the first node
  22554. - options.ExitNodes: if your best choices happen to include any of
  22555. your preferred exit nodes, you choose among just those preferred
  22556. exit nodes.
  22557. - options.ExcludedNodes: nodes that are never picked in path building
  22558. Changes in version 0.0.2pre15 - 2003-12-03
  22559. o Robustness and bugfixes:
  22560. - Sometimes clients would cache incorrect DNS resolves, which would
  22561. really screw things up.
  22562. - An OP that goes offline would slowly leak all its sockets and stop
  22563. working.
  22564. - A wide variety of bugfixes in exit node selection, exit policy
  22565. handling, and processing pending streams when a new circuit is
  22566. established.
  22567. - Pick nodes for a path only from those the directory says are up
  22568. - Choose randomly from all running dirservers, not always the first one
  22569. - Increase allowed http header size for directory fetch.
  22570. - Stop writing to stderr (if we're daemonized it will be closed).
  22571. - Enable -g always, so cores will be more useful to me.
  22572. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  22573. o Documentation:
  22574. - Wrote a man page. It lists commonly used options.
  22575. o Configuration:
  22576. - Change default loglevel to warn.
  22577. - Make PidFile default to null rather than littering in your CWD.
  22578. - OnionRouter config option is now obsolete. Instead it just checks
  22579. ORPort>0.
  22580. - Moved to a single unified torrc file for both clients and servers.
  22581. Changes in version 0.0.2pre14 - 2003-11-29
  22582. o Robustness and bugfixes:
  22583. - Force the admin to make the DataDirectory himself
  22584. - to get ownership/permissions right
  22585. - so clients no longer make a DataDirectory and then never use it
  22586. - fix bug where a client who was offline for 45 minutes would never
  22587. pull down a directory again
  22588. - fix (or at least hide really well) the dns assert bug that was
  22589. causing server crashes
  22590. - warnings and improved robustness wrt clockskew for certs
  22591. - use the native daemon(3) to daemonize, when available
  22592. - exit if bind() fails
  22593. - exit if neither socksport nor orport is defined
  22594. - include our own tor_timegm (Win32 doesn't have its own)
  22595. - bugfix for win32 with lots of connections
  22596. - fix minor bias in PRNG
  22597. - make dirserver more robust to corrupt cached directory
  22598. o Documentation:
  22599. - Wrote the design document (woo)
  22600. o Circuit building and exit policies:
  22601. - Circuits no longer try to use nodes that the directory has told them
  22602. are down.
  22603. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  22604. bitcounts (18.0.0.0/8).
  22605. - Make AP connections standby for a circuit if no suitable circuit
  22606. exists, rather than failing
  22607. - Circuits choose exit node based on addr/port, exit policies, and
  22608. which AP connections are standing by
  22609. - Bump min pathlen from 2 to 3
  22610. - Relay end cells have a payload to describe why the stream ended.
  22611. - If the stream failed because of exit policy, try again with a new
  22612. circuit.
  22613. - Clients have a dns cache to remember resolved addresses.
  22614. - Notice more quickly when we have no working circuits
  22615. o Configuration:
  22616. - APPort is now called SocksPort
  22617. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  22618. where to bind
  22619. - RecommendedVersions is now a config variable rather than
  22620. hardcoded (for dirservers)
  22621. - Reloads config on HUP
  22622. - Usage info on -h or --help
  22623. - If you set User and Group config vars, it'll setu/gid to them.
  22624. Changes in version 0.0.2pre13 - 2003-10-19
  22625. o General stability:
  22626. - SSL_write no longer fails when it returns WANTWRITE and the number
  22627. of bytes in the buf has changed by the next SSL_write call.
  22628. - Fix segfault fetching directory when network is down
  22629. - Fix a variety of minor memory leaks
  22630. - Dirservers reload the fingerprints file on HUP, so I don't have
  22631. to take down the network when I approve a new router
  22632. - Default server config file has explicit Address line to specify fqdn
  22633. o Buffers:
  22634. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  22635. - Make listener connections not ever alloc bufs
  22636. o Autoconf improvements:
  22637. - don't clobber an external CFLAGS in ./configure
  22638. - Make install now works
  22639. - create var/lib/tor on make install
  22640. - autocreate a tor.sh initscript to help distribs
  22641. - autocreate the torrc and sample-server-torrc with correct paths
  22642. o Log files and Daemonizing now work:
  22643. - If --DebugLogFile is specified, log to it at -l debug
  22644. - If --LogFile is specified, use it instead of commandline
  22645. - If --RunAsDaemon is set, tor forks and backgrounds on startup