ChangeLog 1.5 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027
  1. Changes in version 0.3.5.1-alpha - 2018-09-18
  2. Tor 0.3.5.1-alpha is the first release of the 0.3.5.x series. It adds
  3. client authorization for modern (v3) onion services, improves
  4. bootstrap reporting, begins reorganizing Tor's codebase, adds optional
  5. support for NSS in place of OpenSSL, and much more.
  6. o Major features (onion services, UI change):
  7. - For a newly created onion service, the default version is now 3.
  8. Tor still supports existing version 2 services, but the operator
  9. now needs to set "HiddenServiceVersion 2" in order to create a new
  10. version 2 service. For existing services, Tor now learns the
  11. version by reading the key file. Closes ticket 27215.
  12. o Major features (relay, UI change):
  13. - Relays no longer run as exits by default. If the "ExitRelay"
  14. option is auto (or unset), and no exit policy is specified with
  15. ExitPolicy or ReducedExitPolicy, we now treat ExitRelay as 0.
  16. Previously in this case, we allowed exit traffic and logged a
  17. warning message. Closes ticket 21530. Patch by Neel Chauhan.
  18. o Major features (bootstrap):
  19. - Don't report directory progress until after a connection to a
  20. relay or bridge has succeeded. Previously, we'd report 80%
  21. progress based on cached directory information when we couldn't
  22. even connect to the network. Closes ticket 27169.
  23. o Major features (new code layout):
  24. - Nearly all of Tor's source code has been moved around into more
  25. logical places. The "common" directory is now divided into a set
  26. of libraries in "lib", and files in the "or" directory have been
  27. split into "core" (logic absolutely needed for onion routing),
  28. "feature" (independent modules in Tor), and "app" (to configure
  29. and invoke the rest of Tor). See doc/HACKING/CodeStructure.md for
  30. more information. Closes ticket 26481.
  31. This refactoring is not complete: although the libraries have been
  32. refactored to be acyclic, the main body of Tor is still too
  33. interconnected. We will attempt to improve this in the future.
  34. o Major features (onion services v3):
  35. - Implement onion service client authorization at the descriptor
  36. level: only authorized clients can decrypt a service's descriptor
  37. to find out how to contact it. A new torrc option was added to
  38. control this client side: ClientOnionAuthDir <path>. On the
  39. service side, if the "authorized_clients/" directory exists in the
  40. onion service directory path, client configurations are read from
  41. the files within. See the manpage for more details. Closes ticket
  42. 27547. Patch done by Suphanat Chunhapanya (haxxpop).
  43. - Improve revision counter generation in next-gen onion services.
  44. Onion services can now scale by hosting multiple instances on
  45. different hosts without synchronization between them, which was
  46. previously impossible because descriptors would get rejected by
  47. HSDirs. Addresses ticket 25552.
  48. o Major features (portability, cryptography, experimental, TLS):
  49. - Tor now has the option to compile with the NSS library instead of
  50. OpenSSL. This feature is experimental, and we expect that bugs may
  51. remain. It is mainly intended for environments where Tor's
  52. performance is not CPU-bound, and where NSS is already known to be
  53. installed. To try it out, configure Tor with the --enable-nss
  54. flag. Closes tickets 26631, 26815, and 26816.
  55. If you are experimenting with this option and using an old cached
  56. consensus, Tor may fail to start. To solve this, delete your
  57. "cached-consensus" and "cached-microdesc-consensus" files,
  58. (if present), and restart Tor.
  59. o Major bugfixes (directory authority):
  60. - Actually check that the address we get from DirAuthority
  61. configuration line is valid IPv4. Explicitly disallow DirAuthority
  62. address to be a DNS hostname. Fixes bug 26488; bugfix
  63. on 0.1.2.10-rc.
  64. o Major bugfixes (restart-in-process):
  65. - Fix a use-after-free error that could be caused by passing Tor an
  66. impossible set of options that would fail during options_act().
  67. Fixes bug 27708; bugfix on 0.3.3.1-alpha.
  68. o Minor features (admin tools):
  69. - Add a new --key-expiration option to print the expiration date of
  70. the signing cert in an ed25519_signing_cert file. Resolves
  71. issue 19506.
  72. o Minor features (build):
  73. - If you pass the "--enable-pic" option to configure, Tor will try
  74. to tell the compiler to build position-independent code suitable
  75. to link into a dynamic library. (The default remains -fPIE, for
  76. code suitable for a relocatable executable.) Closes ticket 23846.
  77. o Minor features (code correctness, testing):
  78. - Tor's build process now includes a "check-includes" make target to
  79. verify that no module of Tor relies on any headers from a higher-
  80. level module. We hope to use this feature over time to help
  81. refactor our codebase. Closes ticket 26447.
  82. o Minor features (code layout):
  83. - We have a new "lowest-level" error-handling API for use by code
  84. invoked from within the logging module. With this interface, the
  85. logging code is no longer at risk of calling into itself if a
  86. failure occurs while it is trying to log something. Closes
  87. ticket 26427.
  88. o Minor features (compilation):
  89. - Tor's configure script now supports a --with-malloc= option to
  90. select your malloc implementation. Supported options are
  91. "tcmalloc", "jemalloc", "openbsd" (deprecated), and "system" (the
  92. default). Addresses part of ticket 20424. Based on a patch from
  93. Alex Xu.
  94. o Minor features (config):
  95. - The "auto" keyword in torrc is now case-insensitive. Closes
  96. ticket 26663.
  97. o Minor features (continuous integration):
  98. - Don't do a distcheck with --disable-module-dirauth in Travis.
  99. Implements ticket 27252.
  100. - Install libcap-dev and libseccomp2-dev so these optional
  101. dependencies get tested on Travis CI. Closes ticket 26560.
  102. - Only run one online rust build in Travis, to reduce network
  103. errors. Skip offline rust builds on Travis for Linux gcc, because
  104. they're redundant. Implements ticket 27252.
  105. - Skip gcc on OSX in Travis CI, because it's rarely used. Skip a
  106. duplicate hardening-off build in Travis on Tor 0.2.9. Skip gcc on
  107. Linux with default settings, because all the non-default builds
  108. use gcc on Linux. Implements ticket 27252.
  109. o Minor features (controller):
  110. - Emit CIRC_BW events as soon as we detect that we processed an
  111. invalid or otherwise dropped cell on a circuit. This allows
  112. vanguards and other controllers to react more quickly to dropped
  113. cells. Closes ticket 27678.
  114. - For purposes of CIRC_BW-based dropped cell detection, track half-
  115. closed stream ids, and allow their ENDs, SENDMEs, DATA and path
  116. bias check cells to arrive without counting it as dropped until
  117. either the END arrives, or the windows are empty. Closes
  118. ticket 25573.
  119. - Implement a 'GETINFO md/all' controller command to enable getting
  120. all known microdescriptors. Closes ticket 8323.
  121. - The GETINFO command now support an "uptime" argument, to return
  122. Tor's uptime in seconds. Closes ticket 25132.
  123. o Minor features (denial-of-service avoidance):
  124. - Make our OOM handler aware of the DNS cache so that it doesn't
  125. fill up the memory. This check is important for our DoS mitigation
  126. subsystem. Closes ticket 18642. Patch by Neel Chauhan.
  127. o Minor features (development):
  128. - Tor's makefile now supports running the "clippy" Rust style tool
  129. on our Rust code. Closes ticket 22156.
  130. o Minor features (directory authority):
  131. - There is no longer an artificial upper limit on the length of
  132. bandwidth lines. Closes ticket 26223.
  133. - When a bandwidth file is used to obtain the bandwidth measurements,
  134. include this bandwidth file headers in the votes. Closes
  135. ticket 3723.
  136. - Improved support for networks with only a single authority or a
  137. single fallback directory. Patch from Gabriel Somlo. Closes
  138. ticket 25928.
  139. o Minor features (embedding API):
  140. - The Tor controller API now supports a function to launch Tor with
  141. a preconstructed owning controller FD, so that embedding
  142. applications don't need to manage controller ports and
  143. authentication. Closes ticket 24204.
  144. - The Tor controller API now has a function that returns the name
  145. and version of the backend implementing the API. Closes
  146. ticket 26947.
  147. o Minor features (geoip):
  148. - Update geoip and geoip6 to the September 6 2018 Maxmind GeoLite2
  149. Country database. Closes ticket 27631.
  150. o Minor features (memory management):
  151. - Get Libevent to use the same memory allocator as Tor, by calling
  152. event_set_mem_functions() during initialization. Resolves
  153. ticket 8415.
  154. o Minor features (memory usage):
  155. - When not using them, store legacy TAP public onion keys in DER-
  156. encoded format, rather than as expanded public keys. This should
  157. save several megabytes on typical clients. Closes ticket 27246.
  158. o Minor features (OpenSSL):
  159. - When possible, use RFC5869 HKDF implementation from OpenSSL rather
  160. than our own. Resolves ticket 19979.
  161. o Minor features (Rust, code quality):
  162. - Improve rust code quality in the rust protover implementation by
  163. making it more idiomatic. Includes changing an internal API to
  164. take &str instead of &String. Closes ticket 26492.
  165. o Minor features (testing):
  166. - Add scripts/test/chutney-git-bisect.sh, for bisecting using
  167. chutney. Implements ticket 27211.
  168. o Minor features (tor-resolve):
  169. - The tor-resolve utility can now be used with IPv6 SOCKS proxies.
  170. Side-effect of the refactoring for ticket 26526.
  171. o Minor features (UI):
  172. - Log each included configuration file or directory as we read it,
  173. to provide more visibility about where Tor is reading from. Patch
  174. from Unto Sten; closes ticket 27186.
  175. - Lower log level of "Scheduler type KIST has been enabled" to INFO.
  176. Closes ticket 26703.
  177. o Minor bugfixes (bootstrap):
  178. - Try harder to get descriptors in non-exit test networks, by using
  179. the mid weight for the third hop when there are no exits. Fixes
  180. bug 27237; bugfix on 0.2.6.2-alpha.
  181. o Minor bugfixes (C correctness):
  182. - Avoid casting smartlist index to int implicitly, as it may trigger
  183. a warning (-Wshorten-64-to-32). Fixes bug 26282; bugfix on
  184. 0.2.3.13-alpha, 0.2.7.1-alpha and 0.2.1.1-alpha.
  185. - Use time_t for all values in
  186. predicted_ports_prediction_time_remaining(). Rework the code that
  187. computes difference between durations/timestamps. Fixes bug 27165;
  188. bugfix on 0.3.1.1-alpha.
  189. o Minor bugfixes (client, memory usage):
  190. - When not running as a directory cache, there is no need to store
  191. the text of the current consensus networkstatus in RAM.
  192. Previously, however, clients would store it anyway, at a cost of
  193. over 5 MB. Now, they do not. Fixes bug 27247; bugfix
  194. on 0.3.0.1-alpha.
  195. o Minor bugfixes (client, reachableaddresses):
  196. - Instead of adding a "reject *:*" line to ReachableAddresses when
  197. loading the configuration, add one to the policy after parsing it
  198. in parse_reachable_addresses(). This prevents extra "reject *.*"
  199. lines from accumulating on reloads. Fixes bug 20874; bugfix on
  200. 0.3.5.1-alpha. Patch by Neel Chauhan.
  201. o Minor bugfixes (code quality):
  202. - Rename sandbox_getaddrinfo() and other functions to no longer
  203. misleadingly suggest that they are sandbox-only. Fixes bug 26525;
  204. bugfix on 0.2.7.1-alpha.
  205. o Minor bugfixes (configuration, Onion Services):
  206. - In rend_service_parse_port_config(), disallow any input to remain
  207. after address-port pair was parsed. This will catch address and
  208. port being whitespace-separated by mistake of the user. Fixes bug
  209. 27044; bugfix on 0.2.9.10.
  210. o Minor bugfixes (continuous integration):
  211. - Stop reinstalling identical packages in our Windows CI. Fixes bug
  212. 27464; bugfix on 0.3.4.1-alpha.
  213. o Minor bugfixes (controller):
  214. - Consider all routerinfo errors other than "not a server" to be
  215. transient for the purpose of "GETINFO exit-policy/*" controller
  216. request. Print stacktrace in the unlikely case of failing to
  217. recompute routerinfo digest. Fixes bug 27034; bugfix
  218. on 0.3.4.1-alpha.
  219. o Minor bugfixes (directory connection shutdown):
  220. - Avoid a double-close when shutting down a stalled directory
  221. connection. Fixes bug 26896; bugfix on 0.3.4.1-alpha.
  222. o Minor bugfixes (HTTP tunnel):
  223. - Fix a bug warning when closing an HTTP tunnel connection due to an
  224. HTTP request we couldn't handle. Fixes bug 26470; bugfix
  225. on 0.3.2.1-alpha.
  226. o Minor bugfixes (ipv6):
  227. - In addrs_in_same_network_family(), we choose the subnet size based
  228. on the IP version (IPv4 or IPv6). Previously, we chose a fixed
  229. subnet size of /16 for both IPv4 and IPv6 addresses. Fixes bug
  230. 15518; bugfix on 0.3.5.1-alpha. Patch by Neel Chauhan.
  231. o Minor bugfixes (logging):
  232. - As a precaution, do an early return from log_addr_has_changed() if
  233. Tor is running as client. Also, log a stack trace for debugging as
  234. this function should only be called when Tor runs as server. Fixes
  235. bug 26892; bugfix on 0.1.1.9-alpha.
  236. - Refrain from mentioning bug 21018 in the logs, as it is already
  237. fixed. Fixes bug 25477; bugfix on 0.2.9.8.
  238. o Minor bugfixes (logging, documentation):
  239. - When SafeLogging is enabled, scrub IP address in
  240. channel_tls_process_netinfo_cell(). Also, add a note to manpage
  241. that scrubbing is not guaranteed on loglevels below Notice. Fixes
  242. bug 26882; bugfix on 0.2.4.10-alpha.
  243. o Minor bugfixes (netflow padding):
  244. - Ensure circuitmux queues are empty before scheduling or sending
  245. padding. Fixes bug 25505; bugfix on 0.3.1.1-alpha.
  246. o Minor bugfixes (onion service v2):
  247. - Log at level "info", not "warning", in the case that we do not
  248. have a consensus when a .onion request comes in. This can happen
  249. normally while bootstrapping. Fixes bug 27040; bugfix
  250. on 0.2.8.2-alpha.
  251. o Minor bugfixes (onion service v3):
  252. - When the onion service directory can't be created or has the wrong
  253. permissions, do not log a stack trace. Fixes bug 27335; bugfix
  254. on 0.3.2.1-alpha.
  255. o Minor bugfixes (OS compatibility):
  256. - Properly handle configuration changes that move a listener to/from
  257. wildcard IP address. If the first attempt to bind a socket fails,
  258. close the old listener and try binding the socket again. Fixes bug
  259. 17873; bugfix on 0.0.8pre-1.
  260. o Minor bugfixes (performance)::
  261. - Rework node_is_a_configured_bridge() to no longer call
  262. node_get_all_orports(), which was performing too many memory
  263. allocations. Fixes bug 27224; bugfix on 0.2.3.9.
  264. o Minor bugfixes (relay statistics):
  265. - Update relay descriptor on bandwidth changes only when the uptime
  266. is smaller than 24h, in order to reduce the efficiency of guard
  267. discovery attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.
  268. o Minor bugfixes (relays):
  269. - Consider the fact that we'll be making direct connections to our
  270. entry and guard nodes when computing the fraction of nodes that
  271. have their descriptors. Also, if we are using bridges and there is
  272. at least one bridge with a full descriptor, treat the fraction of
  273. guards available as 100%. Fixes bug 25886; bugfix on 0.3.5.1-alpha.
  274. Patch by Neel Chauhan.
  275. - Update the message logged on relays when DirCache is disabled.
  276. Since 0.3.3.5-rc, authorities require DirCache (V2Dir) for the
  277. Guard flag. Fixes bug 24312; bugfix on 0.3.3.5-rc.
  278. o Minor bugfixes (rust, protover):
  279. - Compute protover votes correctly in the rust version of the
  280. protover code. Previously, the protover rewrite in 24031 allowed
  281. repeated votes from the same voter for the same protocol version
  282. to be counted multiple times in protover_compute_vote(). Fixes bug
  283. 27649; bugfix on 0.3.3.5-rc.
  284. - Reject protover names that contain invalid characters. Fixes bug
  285. 27687; bugfix on 0.3.3.1-alpha.
  286. o Minor bugfixes (testing):
  287. - Fix two unit tests to work when HOME environment variable is not
  288. set. Fixes bug 27096; bugfix on 0.2.8.1-alpha.
  289. - If a unit test running in a subprocess exits abnormally or with a
  290. nonzero status code, treat the test as having failed, even if the
  291. test reported success. Without this fix, memory leaks don't cause
  292. the tests to fail, even with LeakSanitizer. Fixes bug 27658;
  293. bugfix on 0.2.2.4-alpha.
  294. - When logging a version mismatch in our openssl_version tests,
  295. report the actual offending version strings. Fixes bug 26152;
  296. bugfix on 0.2.9.1-alpha.
  297. - Fix forking tests on Windows when there is a space somewhere in
  298. the path. Fixes bug 26437; bugfix on 0.2.2.4-alpha.
  299. o Minor bugfixes (torrc):
  300. - Tor now validates that the ContactInfo config option is valid UTF-
  301. 8 when parsing torrc. Fixes bug 27428; bugfix on 0.0.8pre1.
  302. o Code simplification and refactoring:
  303. - 'updateFallbackDirs.py' now ignores the blacklist file, as it's not
  304. longer needed. Closes ticket 26502.
  305. - Include paths to header files within Tor are now qualified by
  306. directory within the top-level src directory.
  307. - Many structures have been removed from the centralized "or.h"
  308. header, and moved into their own headers. This will allow us to
  309. reduce the number of places in the code that rely on each
  310. structure's contents and layout. Closes ticket 26383.
  311. - Remove ATTR_NONNULL macro from codebase. Resolves ticket 26527.
  312. - Remove GetAdaptersAddresses_fn_t. The code that used it was
  313. removed as part of the 26481 refactor. Closes ticket 27467.
  314. - Rework Tor SOCKS server code to use Trunnel and benefit from
  315. autogenerated functions for parsing and generating SOCKS wire
  316. format. New implementation is cleaner, more maintainable and
  317. should be less prone to heartbleed-style vulnerabilities.
  318. Implements a significant fraction of ticket 3569.
  319. - Split sampled_guards_update_from_consensus() and
  320. select_entry_guard_for_circuit() into subfunctions. In
  321. entry_guards_update_primary() unite three smartlist enumerations
  322. into one and move smartlist comparison code out of the function.
  323. Closes ticket 21349.
  324. - Tor now assumes that you have standards-conformant stdint.h and
  325. inttypes.h headers when compiling. Closes ticket 26626.
  326. - Unify our bloom filter logic. Previously we had two copies of this
  327. code: one for routerlist filtering, and one for address set
  328. calculations. Closes ticket 26510.
  329. - Use the simpler strcmpstart() helper in
  330. rend_parse_v2_service_descriptor instead of strncmp(). Closes
  331. ticket 27630.
  332. - Utility functions that can perform a DNS lookup are now wholly
  333. separated from those that can't, in separate headers and C
  334. modules. Closes ticket 26526.
  335. o Documentation:
  336. - Copy paragraph and URL to Tor's code of conduct document from
  337. CONTRIBUTING to new CODE_OF_CONDUCT file. Resolves ticket 26638.
  338. - Remove old instructions from INSTALL document. Closes ticket 26588.
  339. - Warn users that they should not include MyFamily line(s) in their
  340. torrc when running Tor bridge. Closes ticket 26908.
  341. o Removed features:
  342. - Tor no longer supports building with the dmalloc library. For
  343. debugging memory issues, we suggest using gperftools or msan
  344. instead. Closes ticket 26426.
  345. - Tor no longer attempts to run on Windows environments without the
  346. GetAdaptersAddresses() function. This function has existed since
  347. Windows XP, which is itself already older than we support.
  348. - Remove Tor2web functionality. The Tor2webMode and
  349. Tor2webRendezvousPoints options are now obsolete. (This feature
  350. was never shipped in vanilla Tor and it was only possible to use
  351. this feature by building the support at compile time.) Closes
  352. ticket 26367.
  353. Changes in version 0.2.9.17 - 2018-09-10
  354. Tor 0.2.9.17 backports numerous bugfixes from later versions of Tor.
  355. o Minor features (compatibility, backport from 0.3.4.8):
  356. - Tell OpenSSL to maintain backward compatibility with previous
  357. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  358. ciphers are disabled by default. Closes ticket 27344.
  359. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  360. - Enable macOS builds in our Travis CI configuration. Closes
  361. ticket 24629.
  362. - Install libcap-dev and libseccomp2-dev so these optional
  363. dependencies get tested on Travis CI. Closes ticket 26560.
  364. - Run asciidoc during Travis CI. Implements ticket 27087.
  365. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  366. o Minor features (geoip):
  367. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  368. Country database. Closes ticket 27089.
  369. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  370. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  371. tell the compiler not to include the system malloc implementation.
  372. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  373. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  374. - Silence a spurious compiler warning on the GetAdaptersAddresses
  375. function pointer cast. This issue is already fixed by 26481 in
  376. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  377. bugfix on 0.2.3.11-alpha.
  378. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  379. supported, and always fails. Some compilers warn about the
  380. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  381. on 0.2.2.23-alpha.
  382. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  383. - Don't link or search for pthreads when building for Windows, even
  384. if we are using build environment (like mingw) that provides a
  385. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  386. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  387. - Skip a pair of unreliable key generation tests on Windows, until
  388. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  389. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  390. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  391. - Pass the module flags to distcheck configure, and log the flags
  392. before running configure. (Backported to 0.2.9 and later as a
  393. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  394. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  395. - When a Travis build fails, and showing a log fails, keep trying to
  396. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  397. - When we use echo in Travis, don't pass a --flag as the first
  398. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  399. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  400. - When voting for recommended versions, make sure that all of the
  401. versions are well-formed and parsable. Fixes bug 26485; bugfix
  402. on 0.1.1.6-alpha.
  403. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  404. - Fix a bug in out sandboxing rules for the openat() syscall.
  405. Previously, no openat() call would be permitted, which would break
  406. filesystem operations on recent glibc versions. Fixes bug 25440;
  407. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  408. o Minor bugfixes (onion services, backport from 0.3.4.8):
  409. - Silence a spurious compiler warning in
  410. rend_client_send_introduction(). Fixes bug 27463; bugfix
  411. on 0.1.1.2-alpha.
  412. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  413. - Log a protocol warning when single onion services or Tor2web clients
  414. fail to authenticate direct connections to relays.
  415. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  416. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  417. - Disable core dumps in test_bt.sh, to avoid failures in "make
  418. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  419. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  420. - Before running make test-network-all, delete old logs and test
  421. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  422. on 0.2.7.3-rc.
  423. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  424. - Our "tortls/cert_matches_key" unit test no longer relies on
  425. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  426. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  427. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  428. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  429. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  430. 27185; bugfix on 0.2.2.2-alpha.
  431. Changes in version 0.3.2.12 - 2018-09-10
  432. Tor 0.3.2.12 backport numerous fixes from later versions of Tor.
  433. o Minor features (compatibility, backport from 0.3.4.8):
  434. - Tell OpenSSL to maintain backward compatibility with previous
  435. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  436. ciphers are disabled by default. Closes ticket 27344.
  437. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  438. - Enable macOS builds in our Travis CI configuration. Closes
  439. ticket 24629.
  440. - Install libcap-dev and libseccomp2-dev so these optional
  441. dependencies get tested on Travis CI. Closes ticket 26560.
  442. - Run asciidoc during Travis CI. Implements ticket 27087.
  443. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  444. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  445. - Use cargo cache in our Travis CI configuration. Closes
  446. ticket 26952.
  447. o Minor features (controller, backport from 0.3.4.6-rc):
  448. - The control port now exposes the list of HTTPTunnelPorts and
  449. ExtOrPorts via GETINFO net/listeners/httptunnel and
  450. net/listeners/extor respectively. Closes ticket 26647.
  451. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  452. - Authorities no longer vote to make the subprotocol version
  453. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  454. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  455. o Minor features (geoip):
  456. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  457. Country database. Closes ticket 27089.
  458. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  459. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  460. tell the compiler not to include the system malloc implementation.
  461. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  462. - Don't try to use a pragma to temporarily disable the
  463. -Wunused-const-variable warning if the compiler doesn't support
  464. it. Fixes bug 26785; bugfix on 0.3.2.11.
  465. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  466. - Silence a spurious compiler warning on the GetAdaptersAddresses
  467. function pointer cast. This issue is already fixed by 26481 in
  468. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  469. bugfix on 0.2.3.11-alpha.
  470. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  471. supported, and always fails. Some compilers warn about the
  472. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  473. on 0.2.2.23-alpha.
  474. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  475. - Don't link or search for pthreads when building for Windows, even
  476. if we are using build environment (like mingw) that provides a
  477. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  478. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  479. - Skip a pair of unreliable key generation tests on Windows, until
  480. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  481. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  482. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  483. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  484. - Pass the module flags to distcheck configure, and log the flags
  485. before running configure. (Backported to 0.2.9 and later as a
  486. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  487. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  488. - When a Travis build fails, and showing a log fails, keep trying to
  489. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  490. - When we use echo in Travis, don't pass a --flag as the first
  491. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  492. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  493. - When voting for recommended versions, make sure that all of the
  494. versions are well-formed and parsable. Fixes bug 26485; bugfix
  495. on 0.1.1.6-alpha.
  496. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  497. - Fix a bug in out sandboxing rules for the openat() syscall.
  498. Previously, no openat() call would be permitted, which would break
  499. filesystem operations on recent glibc versions. Fixes bug 25440;
  500. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  501. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  502. - Improve the log message when connection initiators fail to
  503. authenticate direct connections to relays. Fixes bug 26927; bugfix
  504. on 0.3.0.1-alpha.
  505. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  506. - Fix bug that causes services to not ever rotate their descriptors
  507. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  508. on 0.3.2.1-alpha.
  509. o Minor bugfixes (onion services, backport from 0.3.4.8):
  510. - Silence a spurious compiler warning in
  511. rend_client_send_introduction(). Fixes bug 27463; bugfix
  512. on 0.1.1.2-alpha.
  513. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  514. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  515. on 0.3.1.5-alpha.
  516. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  517. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  518. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  519. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  520. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  521. - Log a protocol warning when single onion services or Tor2web clients
  522. fail to authenticate direct connections to relays.
  523. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  524. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  525. - Disable core dumps in test_bt.sh, to avoid failures in "make
  526. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  527. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  528. - When running make test-network-all, use the mixed+hs-v2 network.
  529. (A previous fix to chutney removed v3 onion services from the
  530. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  531. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  532. - Before running make test-network-all, delete old logs and test
  533. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  534. on 0.2.7.3-rc.
  535. o Minor bugfixes (testing, openssl compatibility):
  536. - Our "tortls/cert_matches_key" unit test no longer relies on OpenSSL
  537. internals. Previously, it relied on unsupported OpenSSL behavior in
  538. a way that caused it to crash with OpenSSL 1.0.2p. Fixes bug 27226;
  539. bugfix on 0.2.5.1-alpha.
  540. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  541. - Our "tortls/cert_matches_key" unit test no longer relies on
  542. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  543. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  544. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  545. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  546. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  547. 27185; bugfix on 0.2.2.2-alpha.
  548. Changes in version 0.3.3.10 - 2018-09-10
  549. Tor 0.3.3.10 backports numerous fixes from later versions of Tor.
  550. o Minor features (bug workaround, backport from 0.3.4.7-rc):
  551. - Compile correctly on systems that provide the C11 stdatomic.h
  552. header, but where C11 atomic functions don't actually compile.
  553. Closes ticket 26779; workaround for Debian issue 903709.
  554. o Minor features (compatibility, backport from 0.3.4.8):
  555. - Tell OpenSSL to maintain backward compatibility with previous
  556. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  557. ciphers are disabled by default. Closes ticket 27344.
  558. o Minor features (continuous integration, backport from 0.3.4.7-rc):
  559. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  560. - Enable macOS builds in our Travis CI configuration. Closes
  561. ticket 24629.
  562. - Install libcap-dev and libseccomp2-dev so these optional
  563. dependencies get tested on Travis CI. Closes ticket 26560.
  564. - Run asciidoc during Travis CI. Implements ticket 27087.
  565. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  566. o Minor features (continuous integration, rust, backport from 0.3.4.7-rc):
  567. - Use cargo cache in our Travis CI configuration. Closes
  568. ticket 26952.
  569. o Minor features (controller, backport from 0.3.4.6-rc):
  570. - The control port now exposes the list of HTTPTunnelPorts and
  571. ExtOrPorts via GETINFO net/listeners/httptunnel and
  572. net/listeners/extor respectively. Closes ticket 26647.
  573. o Minor features (directory authorities, backport from 0.3.4.7-rc):
  574. - Authorities no longer vote to make the subprotocol version
  575. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  576. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  577. o Minor features (geoip):
  578. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  579. Country database. Closes ticket 27089.
  580. o Minor bugfixes (compilation, backport from 0.3.4.6-rc):
  581. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  582. tell the compiler not to include the system malloc implementation.
  583. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  584. - Don't try to use a pragma to temporarily disable the
  585. -Wunused-const-variable warning if the compiler doesn't support
  586. it. Fixes bug 26785; bugfix on 0.3.2.11.
  587. o Minor bugfixes (compilation, backport from 0.3.4.7-rc):
  588. - Silence a spurious compiler warning on the GetAdaptersAddresses
  589. function pointer cast. This issue is already fixed by 26481 in
  590. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  591. bugfix on 0.2.3.11-alpha.
  592. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  593. supported, and always fails. Some compilers warn about the
  594. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  595. on 0.2.2.23-alpha.
  596. o Minor bugfixes (compilation, windows, backport from 0.3.4.7-rc):
  597. - Don't link or search for pthreads when building for Windows, even
  598. if we are using build environment (like mingw) that provides a
  599. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  600. o Minor bugfixes (continuous integration, backport from 0.3.4.6-rc):
  601. - Skip a pair of unreliable key generation tests on Windows, until
  602. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  603. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  604. o Minor bugfixes (continuous integration, backport from 0.3.4.7-rc):
  605. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  606. - Pass the module flags to distcheck configure, and log the flags
  607. before running configure. (Backported to 0.2.9 and later as a
  608. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  609. o Minor bugfixes (continuous integration, backport from 0.3.4.8):
  610. - When a Travis build fails, and showing a log fails, keep trying to
  611. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  612. - When we use echo in Travis, don't pass a --flag as the first
  613. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  614. o Minor bugfixes (directory authority, backport from 0.3.4.6-rc):
  615. - When voting for recommended versions, make sure that all of the
  616. versions are well-formed and parsable. Fixes bug 26485; bugfix
  617. on 0.1.1.6-alpha.
  618. o Minor bugfixes (in-process restart, backport from 0.3.4.7-rc):
  619. - Always call tor_free_all() when leaving tor_run_main(). When we
  620. did not, restarting tor in-process would cause an assertion
  621. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  622. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.4.7-rc):
  623. - Fix a bug in our sandboxing rules for the openat() syscall.
  624. Previously, no openat() call would be permitted, which would break
  625. filesystem operations on recent glibc versions. Fixes bug 25440;
  626. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  627. o Minor bugfixes (logging, backport from 0.3.4.6-rc):
  628. - Improve the log message when connection initiators fail to
  629. authenticate direct connections to relays. Fixes bug 26927; bugfix
  630. on 0.3.0.1-alpha.
  631. o Minor bugfixes (onion services, backport from 0.3.4.7-rc):
  632. - Fix bug that causes services to not ever rotate their descriptors
  633. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  634. on 0.3.2.1-alpha.
  635. o Minor bugfixes (onion services, backport from 0.3.4.8):
  636. - Silence a spurious compiler warning in
  637. rend_client_send_introduction(). Fixes bug 27463; bugfix
  638. on 0.1.1.2-alpha.
  639. o Minor bugfixes (portability, backport from 0.3.4.6-rc):
  640. - Work around two different bugs in the OS X 10.10 and later SDKs
  641. that would prevent us from successfully targeting earlier versions
  642. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  643. o Minor bugfixes (portability, backport from 0.3.4.7-rc):
  644. - Fix compilation of the unit tests on GNU/Hurd, which does not
  645. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  646. from "paulusASol".
  647. o Minor bugfixes (rust, backport from 0.3.4.7-rc):
  648. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  649. on 0.3.1.5-alpha.
  650. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  651. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  652. - Protover parsing was accepting the presence of whitespace in
  653. version strings, which the C implementation would choke on, e.g.
  654. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  655. - Protover parsing was ignoring a 2nd hyphen and everything after
  656. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  657. on 0.3.3.1-alpha.
  658. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  659. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  660. - cd to ${abs_top_builddir}/src/rust before running cargo in
  661. src/test/test_rust.sh. This makes the working directory consistent
  662. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  663. o Minor bugfixes (single onion services, Tor2web, backport from 0.3.4.6-rc):
  664. - Log a protocol warning when single onion services or Tor2web clients
  665. fail to authenticate direct connections to relays.
  666. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
  667. o Minor bugfixes (testing, backport from 0.3.4.6-rc):
  668. - Disable core dumps in test_bt.sh, to avoid failures in "make
  669. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  670. o Minor bugfixes (testing, chutney, backport from 0.3.4.8):
  671. - When running make test-network-all, use the mixed+hs-v2 network.
  672. (A previous fix to chutney removed v3 onion services from the
  673. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  674. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  675. - Before running make test-network-all, delete old logs and test
  676. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  677. on 0.2.7.3-rc.
  678. o Minor bugfixes (testing, openssl compatibility, backport from 0.3.4.7-rc):
  679. - Our "tortls/cert_matches_key" unit test no longer relies on
  680. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  681. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  682. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  683. o Minor bugfixes (v3 onion services, backport from 0.3.4.6-rc):
  684. - Stop sending ed25519 link specifiers in v3 onion service introduce
  685. cells and descriptors, when the rendezvous or introduction point
  686. doesn't support ed25519 link authentication. Fixes bug 26627;
  687. bugfix on 0.3.2.4-alpha.
  688. o Minor bugfixes (Windows, compilation, backport from 0.3.4.7-rc):
  689. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  690. 27185; bugfix on 0.2.2.2-alpha.
  691. Changes in version 0.3.4.8 - 2018-09-10
  692. Tor 0.3.4.8 is the first stable release in its series; it includes
  693. compilation and portability fixes.
  694. The Tor 0.3.4 series includes improvements for running Tor in
  695. low-power and embedded environments, which should help performance in
  696. general. We've begun work on better modularity, and included preliminary
  697. changes on the directory authority side to accommodate a new bandwidth
  698. measurement system. We've also integrated more continuous-integration
  699. systems into our development process, and made corresponding changes to
  700. Tor's testing infrastructure. Finally, we've continued to refine
  701. our anti-denial-of-service code.
  702. Below are the changes since 0.3.4.7-rc. For a complete list of changes
  703. since 0.3.3.9, see the ReleaseNotes file.
  704. o Minor features (compatibility):
  705. - Tell OpenSSL to maintain backward compatibility with previous
  706. RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these
  707. ciphers are disabled by default. Closes ticket 27344.
  708. o Minor features (continuous integration):
  709. - Log the compiler path and version during Appveyor builds.
  710. Implements ticket 27449.
  711. - Show config.log and test-suite.log after failed Appveyor builds.
  712. Also upload the zipped full logs as a build artifact. Implements
  713. ticket 27430.
  714. o Minor bugfixes (compilation):
  715. - Silence a spurious compiler warning on the GetAdaptersAddresses
  716. function pointer cast. This issue is already fixed by 26481 in
  717. 0.3.5 and later, by removing the lookup and cast. Fixes bug 27465;
  718. bugfix on 0.2.3.11-alpha.
  719. - Stop calling SetProcessDEPPolicy() on 64-bit Windows. It is not
  720. supported, and always fails. Some compilers warn about the
  721. function pointer cast on 64-bit Windows. Fixes bug 27461; bugfix
  722. on 0.2.2.23-alpha.
  723. o Minor bugfixes (continuous integration):
  724. - Disable gcc hardening in Appveyor Windows 64-bit builds. As of
  725. August 29 2018, Appveyor images come with gcc 8.2.0 by default.
  726. Executables compiled for 64-bit Windows with this version of gcc
  727. crash when Tor's --enable-gcc-hardening flag is set. Fixes bug
  728. 27460; bugfix on 0.3.4.1-alpha.
  729. - When a Travis build fails, and showing a log fails, keep trying to
  730. show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
  731. - When we use echo in Travis, don't pass a --flag as the first
  732. argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
  733. o Minor bugfixes (onion services):
  734. - Silence a spurious compiler warning in
  735. rend_client_send_introduction(). Fixes bug 27463; bugfix
  736. on 0.1.1.2-alpha.
  737. o Minor bugfixes (testing, chutney):
  738. - When running make test-network-all, use the mixed+hs-v2 network.
  739. (A previous fix to chutney removed v3 onion services from the
  740. mixed+hs-v23 network, so seeing "mixed+hs-v23" in tests is
  741. confusing.) Fixes bug 27345; bugfix on 0.3.2.1-alpha.
  742. - Before running make test-network-all, delete old logs and test
  743. result files, to avoid spurious failures. Fixes bug 27295; bugfix
  744. on 0.2.7.3-rc.
  745. Changes in version 0.3.4.7-rc - 2018-08-24
  746. Tor 0.3.4.7-rc fixes several small compilation, portability, and
  747. correctness issues in previous versions of Tor. This version is a
  748. release candidate: if no serious bugs are found, we expect that the
  749. stable 0.3.4 release will be (almost) the same as this release.
  750. o Minor features (bug workaround):
  751. - Compile correctly on systems that provide the C11 stdatomic.h
  752. header, but where C11 atomic functions don't actually compile.
  753. Closes ticket 26779; workaround for Debian issue 903709.
  754. o Minor features (continuous integration):
  755. - Backport Travis rust distcheck to 0.3.3. Closes ticket 24629.
  756. - Enable macOS builds in our Travis CI configuration. Closes
  757. ticket 24629.
  758. - Install libcap-dev and libseccomp2-dev so these optional
  759. dependencies get tested on Travis CI. Closes ticket 26560.
  760. - Only post Appveyor IRC notifications when the build fails.
  761. Implements ticket 27275.
  762. - Run asciidoc during Travis CI. Implements ticket 27087.
  763. - Use ccache in our Travis CI configuration. Closes ticket 26952.
  764. o Minor features (continuous integration, rust):
  765. - Use cargo cache in our Travis CI configuration. Closes
  766. ticket 26952.
  767. o Minor features (directory authorities):
  768. - Authorities no longer vote to make the subprotocol version
  769. "LinkAuth=1" a requirement: it is unsupportable with NSS, and
  770. hasn't been needed since Tor 0.3.0.1-alpha. Closes ticket 27286.
  771. o Minor features (geoip):
  772. - Update geoip and geoip6 to the August 7 2018 Maxmind GeoLite2
  773. Country database. Closes ticket 27089.
  774. o Minor bugfixes (compilation, windows):
  775. - Don't link or search for pthreads when building for Windows, even
  776. if we are using build environment (like mingw) that provides a
  777. pthreads library. Fixes bug 27081; bugfix on 0.1.0.1-rc.
  778. o Minor bugfixes (continuous integration):
  779. - Improve Appveyor CI IRC logging. Generate correct branches and
  780. URLs for pull requests and tags. Use unambiguous short commits.
  781. Fixes bug 26979; bugfix on master.
  782. - Build with zstd on macOS. Fixes bug 27090; bugfix on 0.3.1.5-alpha.
  783. - Pass the module flags to distcheck configure, and log the flags
  784. before running configure. (Backported to 0.2.9 and later as a
  785. precaution.) Fixes bug 27088; bugfix on 0.3.4.1-alpha.
  786. o Minor bugfixes (in-process restart):
  787. - Always call tor_free_all() when leaving tor_run_main(). When we
  788. did not, restarting tor in-process would cause an assertion
  789. failure. Fixes bug 26948; bugfix on 0.3.3.1-alpha.
  790. o Minor bugfixes (linux seccomp2 sandbox):
  791. - Fix a bug in out sandboxing rules for the openat() syscall.
  792. Previously, no openat() call would be permitted, which would break
  793. filesystem operations on recent glibc versions. Fixes bug 25440;
  794. bugfix on 0.2.9.15. Diagnosis and patch from Daniel Pinto.
  795. o Minor bugfixes (onion services):
  796. - Fix bug that causes services to not ever rotate their descriptors
  797. if they were getting SIGHUPed often. Fixes bug 26932; bugfix
  798. on 0.3.2.1-alpha.
  799. o Minor bugfixes (portability):
  800. - Fix compilation of the unit tests on GNU/Hurd, which does not
  801. define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha. Patch
  802. from "paulusASol".
  803. o Minor bugfixes (rust):
  804. - Backport test_rust.sh from master. Fixes bug 26497; bugfix
  805. on 0.3.1.5-alpha.
  806. - Consistently use ../../.. as a fallback for $abs_top_srcdir in
  807. test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha.
  808. - Protover parsing was accepting the presence of whitespace in
  809. version strings, which the C implementation would choke on, e.g.
  810. "Desc=1\t,2". Fixes bug 27177; bugfix on 0.3.3.5-rc.
  811. - Protover parsing was ignoring a 2nd hyphen and everything after
  812. it, accepting entries like "Link=1-5-foo". Fixes bug 27164; bugfix
  813. on 0.3.3.1-alpha.
  814. - Stop setting $CARGO_HOME. cargo will use the user's $CARGO_HOME, or
  815. $HOME/.cargo by default. Fixes bug 26497; bugfix on 0.3.1.5-alpha.
  816. - cd to ${abs_top_builddir}/src/rust before running cargo in
  817. src/test/test_rust.sh. This makes the working directory consistent
  818. between builds and tests. Fixes bug 26497; bugfix on 0.3.3.2-alpha.
  819. o Minor bugfixes (testing, bootstrap):
  820. - When calculating bootstrap progress, check exit policies and the
  821. exit flag. Previously, Tor would only check the exit flag, which
  822. caused race conditions in small and fast networks like chutney.
  823. Fixes bug 27236; bugfix on 0.2.6.3-alpha.
  824. o Minor bugfixes (testing, openssl compatibility):
  825. - Our "tortls/cert_matches_key" unit test no longer relies on
  826. OpenSSL internals. Previously, it relied on unsupported OpenSSL
  827. behavior in a way that caused it to crash with OpenSSL 1.0.2p.
  828. Fixes bug 27226; bugfix on 0.2.5.1-alpha.
  829. o Minor bugfixes (Windows, compilation):
  830. - Silence a compilation warning on MSVC 2017 and clang-cl. Fixes bug
  831. 27185; bugfix on 0.2.2.2-alpha.
  832. Changes in version 0.3.4.6-rc - 2018-08-06
  833. Tor 0.3.4.6-rc fixes several small compilation, portability, and
  834. correctness issues in previous versions of Tor. This version is a
  835. release candidate: if no serious bugs are found, we expect that the
  836. stable 0.3.4 release will be (almost) the same as this release.
  837. o Major bugfixes (event scheduler):
  838. - When we enable a periodic event, schedule it in the event loop
  839. rather than running it immediately. Previously, we would re-run
  840. periodic events immediately in the middle of (for example)
  841. changing our options, with unpredictable effects. Fixes bug 27003;
  842. bugfix on 0.3.4.1-alpha.
  843. o Minor features (compilation):
  844. - When building Tor, prefer to use Python 3 over Python 2, and more
  845. recent (contemplated) versions over older ones. Closes
  846. ticket 26372.
  847. - When compiling with --enable-openbsd-malloc or --enable-tcmalloc,
  848. tell the compiler not to include the system malloc implementation.
  849. Fixes bug 20424; bugfix on 0.2.0.20-rc.
  850. - Don't try to use a pragma to temporarily disable the
  851. -Wunused-const-variable warning if the compiler doesn't support
  852. it. Fixes bug 26785; bugfix on 0.3.2.11.
  853. o Minor bugfixes (continuous integration):
  854. - Skip a pair of unreliable key generation tests on Windows, until
  855. the underlying issue in bug 26076 is resolved. Fixes bug 26830 and
  856. bug 26853; bugfix on 0.2.7.3-rc and 0.3.2.1-alpha respectively.
  857. o Minor features (controller):
  858. - The control port now exposes the list of HTTPTunnelPorts and
  859. ExtOrPorts via GETINFO net/listeners/httptunnel and
  860. net/listeners/extor respectively. Closes ticket 26647.
  861. o Minor bugfixes (directory authority):
  862. - When voting for recommended versions, make sure that all of the
  863. versions are well-formed and parsable. Fixes bug 26485; bugfix
  864. on 0.1.1.6-alpha.
  865. o Minor features (geoip):
  866. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  867. Country database. Closes ticket 26674.
  868. o Minor features (Rust, portability):
  869. - Rust cross-compilation is now supported. Closes ticket 25895.
  870. o Minor bugfixes (compilation):
  871. - Update build system so that tor builds again with --disable-unittests
  872. after recent refactoring. Fixes bug 26789; bugfix on 0.3.4.3-alpha.
  873. - Fix a compilation warning on some versions of GCC when building
  874. code that calls routerinfo_get_my_routerinfo() twice, assuming
  875. that the second call will succeed if the first one did. Fixes bug
  876. 26269; bugfix on 0.2.8.2-alpha.
  877. o Minor bugfixes (controller):
  878. - Report the port correctly when a port is configured to bind to
  879. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  880. - Parse the "HSADDRESS=" parameter in HSPOST commands properly.
  881. Previously, it was misparsed and ignored. Fixes bug 26523; bugfix
  882. on 0.3.3.1-alpha. Patch by "akwizgran".
  883. o Minor bugfixes (correctness, flow control):
  884. - Upon receiving a stream-level SENDME cell, verify that our window
  885. has not grown too large. Fixes bug 26214; bugfix on svn
  886. r54 (pre-0.0.1)
  887. o Minor bugfixes (memory, correctness):
  888. - Fix a number of small memory leaks identified by coverity. Fixes
  889. bug 26467; bugfix on numerous Tor versions.
  890. o Minor bugfixes (logging):
  891. - Improve the log message when connection initiators fail to
  892. authenticate direct connections to relays. Fixes bug 26927; bugfix
  893. on 0.3.0.1-alpha.
  894. o Minor bugfixes (portability):
  895. - Avoid a compilation error in test_bwmgt.c on Solaris 10. Fixes bug
  896. 26994; bugfix on 0.3.4.1-alpha.
  897. - Work around two different bugs in the OS X 10.10 and later SDKs
  898. that would prevent us from successfully targeting earlier versions
  899. of OS X. Fixes bug 26876; bugfix on 0.3.3.1-alpha.
  900. o Minor bugfixes (single onion services, Tor2web):
  901. - Log a protocol warning when single onion services or Tor2web
  902. clients fail to authenticate direct connections to relays. Fixes
  903. bug 26924; bugfix on 0.2.9.1-alpha.
  904. o Minor bugfixes (testing):
  905. - Disable core dumps in test_bt.sh, to avoid failures in "make
  906. distcheck". Fixes bug 26787; bugfix on 0.2.5.2-alpha.
  907. o Minor bugfixes (testing, compatibility):
  908. - When running the ntor_ref.py and hs_ntor_ref.py tests, make sure
  909. only to pass strings (rather than "bytes" objects) to the Python
  910. subprocess module. Python 3 on Windows seems to require this.
  911. Fixes bug 26535; bugfix on 0.2.5.5-alpha (for ntor_ref.py) and
  912. 0.3.1.1-alpha (for hs_ntor_ref.py).
  913. o Minor bugfixes (v3 onion services):
  914. - Stop sending ed25519 link specifiers in v3 onion service introduce
  915. cells and descriptors, when the rendezvous or introduction point
  916. doesn't support ed25519 link authentication. Fixes bug 26627;
  917. bugfix on 0.3.2.4-alpha.
  918. Changes in version 0.3.4.5-rc - 2018-07-13
  919. Tor 0.3.4.5-rc moves to a new bridge authority, meaning people running
  920. bridge relays should upgrade.
  921. o Directory authority changes:
  922. - The "Bifroest" bridge authority has been retired; the new bridge
  923. authority is "Serge", and it is operated by George from the
  924. TorBSD project. Closes ticket 26771.
  925. Changes in version 0.3.3.9 - 2018-07-13
  926. Tor 0.3.3.9 moves to a new bridge authority, meaning people running
  927. bridge relays should upgrade.
  928. o Directory authority changes:
  929. - The "Bifroest" bridge authority has been retired; the new bridge
  930. authority is "Serge", and it is operated by George from the
  931. TorBSD project. Closes ticket 26771.
  932. Changes in version 0.3.2.11 - 2018-07-13
  933. Tor 0.3.2.11 moves to a new bridge authority, meaning people running
  934. bridge relays should upgrade. We also take this opportunity to backport
  935. other minor fixes.
  936. o Directory authority changes:
  937. - The "Bifroest" bridge authority has been retired; the new bridge
  938. authority is "Serge", and it is operated by George from the
  939. TorBSD project. Closes ticket 26771.
  940. o Directory authority changes (backport from 0.3.3.7):
  941. - Add an IPv6 address for the "dannenberg" directory authority.
  942. Closes ticket 26343.
  943. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  944. - When directory authorities read a zero-byte bandwidth file, they
  945. would previously log a warning with the contents of an
  946. uninitialised buffer. They now log a warning about the empty file
  947. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  948. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  949. - Correctly detect when onion services get disabled after HUP. Fixes
  950. bug 25761; bugfix on 0.3.2.1.
  951. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  952. - Explicitly permit the poll() system call when the Linux
  953. seccomp2-based sandbox is enabled: apparently, some versions of
  954. libc use poll() when calling getpwnam(). Closes ticket 25313.
  955. o Minor feature (continuous integration, backport from 0.3.3.5-rc):
  956. - Update the Travis CI configuration to use the stable Rust channel,
  957. now that we have decided to require that. Closes ticket 25714.
  958. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  959. - Our .travis.yml configuration now includes support for testing the
  960. results of "make distcheck". (It's not uncommon for "make check"
  961. to pass but "make distcheck" to fail.) Closes ticket 25814.
  962. - Our Travis CI configuration now integrates with the Coveralls
  963. coverage analysis tool. Closes ticket 25818.
  964. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  965. - Add several checks to detect whether Tor relays are uploading
  966. their descriptors without specifying why they regenerated them.
  967. Diagnostic for ticket 25686.
  968. o Minor features (compilation, backport from 0.3.4.4-rc):
  969. - When building Tor, prefer to use Python 3 over Python 2, and more
  970. recent (contemplated) versions over older ones. Closes
  971. ticket 26372.
  972. o Minor features (geoip):
  973. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  974. Country database. Closes ticket 26674.
  975. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  976. - Upon receiving a malformed connected cell, stop processing the
  977. cell immediately. Previously we would mark the connection for
  978. close, but continue processing the cell as if the connection were
  979. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  980. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  981. - Allow the nanosleep() system call, which glibc uses to implement
  982. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  983. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  984. - When running the hs_ntor_ref.py test, make sure only to pass
  985. strings (rather than "bytes" objects) to the Python subprocess
  986. module. Python 3 on Windows seems to require this. Fixes bug
  987. 26535; bugfix on 0.3.1.1-alpha.
  988. - When running the ntor_ref.py test, make sure only to pass strings
  989. (rather than "bytes" objects) to the Python subprocess module.
  990. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  991. on 0.2.5.5-alpha.
  992. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  993. - Work around a change in OpenSSL 1.1.1 where return values that
  994. would previously indicate "no password" now indicate an empty
  995. password. Without this workaround, Tor instances running with
  996. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  997. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  998. o Minor bugfixes (documentation, backport from 0.3.3.5-rc):
  999. - Document that the PerConnBW{Rate,Burst} options will fall back to
  1000. their corresponding consensus parameters only if those parameters
  1001. are set. Previously we had claimed that these values would always
  1002. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  1003. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  1004. - Fix a compilation warning on some versions of GCC when building
  1005. code that calls routerinfo_get_my_routerinfo() twice, assuming
  1006. that the second call will succeed if the first one did. Fixes bug
  1007. 26269; bugfix on 0.2.8.2-alpha.
  1008. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  1009. - Don't consider Tor running as a client if the ControlPort is open,
  1010. but no actual client ports are open. Fixes bug 26062; bugfix
  1011. on 0.2.9.4-alpha.
  1012. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  1013. - Prevent a possible out-of-bounds smartlist read in
  1014. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  1015. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  1016. - Fix a very unlikely (impossible, we believe) null pointer
  1017. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  1018. Coverity; this is CID 1430932.
  1019. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  1020. - Fix a memory leak when a v3 onion service is configured and gets a
  1021. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  1022. - When parsing the descriptor signature, look for the token plus an
  1023. extra white-space at the end. This is more correct but also will
  1024. allow us to support new fields that might start with "signature".
  1025. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  1026. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  1027. - Relays now correctly block attempts to re-extend to the previous
  1028. relay by Ed25519 identity. Previously they would warn in this
  1029. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  1030. on 0.3.0.1-alpha.
  1031. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  1032. - Avoid a crash when running with DirPort set but ORPort turned off.
  1033. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  1034. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  1035. - Silence unused-const-variable warnings in zstd.h with some GCC
  1036. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  1037. o Minor bugfixes (testing, backport from 0.3.3.4-alpha):
  1038. - Avoid intermittent test failures due to a test that had relied on
  1039. onion service introduction point creation finishing within 5
  1040. seconds of real clock time. Fixes bug 25450; bugfix
  1041. on 0.3.1.3-alpha.
  1042. o Minor bugfixes (compilation, backport from 0.3.3.4-alpha):
  1043. - Fix a C99 compliance issue in our configuration script that caused
  1044. compilation issues when compiling Tor with certain versions of
  1045. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  1046. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  1047. - Fix a number of small memory leaks identified by coverity. Fixes
  1048. bug 26467; bugfix on numerous Tor versions.
  1049. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  1050. - Move the list of default directory authorities to its own file.
  1051. Closes ticket 24854. Patch by "beastr0".
  1052. Changes in version 0.2.9.16 - 2018-07-13
  1053. Tor 0.2.9.16 moves to a new bridge authority, meaning people running
  1054. bridge relays should upgrade. We also take this opportunity to backport
  1055. other minor fixes.
  1056. o Directory authority changes:
  1057. - The "Bifroest" bridge authority has been retired; the new bridge
  1058. authority is "Serge", and it is operated by George from the
  1059. TorBSD project. Closes ticket 26771.
  1060. o Directory authority changes (backport from 0.3.3.7):
  1061. - Add an IPv6 address for the "dannenberg" directory authority.
  1062. Closes ticket 26343.
  1063. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  1064. - When directory authorities read a zero-byte bandwidth file, they
  1065. would previously log a warning with the contents of an
  1066. uninitialised buffer. They now log a warning about the empty file
  1067. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  1068. o Minor features (sandbox, backport from 0.3.3.4-alpha):
  1069. - Explicitly permit the poll() system call when the Linux
  1070. seccomp2-based sandbox is enabled: apparently, some versions of
  1071. libc use poll() when calling getpwnam(). Closes ticket 25313.
  1072. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  1073. - Our .travis.yml configuration now includes support for testing the
  1074. results of "make distcheck". (It's not uncommon for "make check"
  1075. to pass but "make distcheck" to fail.) Closes ticket 25814.
  1076. - Our Travis CI configuration now integrates with the Coveralls
  1077. coverage analysis tool. Closes ticket 25818.
  1078. o Minor features (compilation, backport from 0.3.4.4-rc):
  1079. - When building Tor, prefer to use Python 3 over Python 2, and more
  1080. recent (contemplated) versions over older ones. Closes
  1081. ticket 26372.
  1082. o Minor features (geoip):
  1083. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  1084. Country database. Closes ticket 26674.
  1085. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  1086. - Upon receiving a malformed connected cell, stop processing the
  1087. cell immediately. Previously we would mark the connection for
  1088. close, but continue processing the cell as if the connection were
  1089. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  1090. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  1091. - Allow the nanosleep() system call, which glibc uses to implement
  1092. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  1093. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  1094. - When running the ntor_ref.py test, make sure only to pass strings
  1095. (rather than "bytes" objects) to the Python subprocess module.
  1096. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  1097. on 0.2.5.5-alpha.
  1098. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  1099. - Work around a change in OpenSSL 1.1.1 where return values that
  1100. would previously indicate "no password" now indicate an empty
  1101. password. Without this workaround, Tor instances running with
  1102. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  1103. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  1104. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  1105. - Fix a compilation warning on some versions of GCC when building
  1106. code that calls routerinfo_get_my_routerinfo() twice, assuming
  1107. that the second call will succeed if the first one did. Fixes bug
  1108. 26269; bugfix on 0.2.8.2-alpha.
  1109. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  1110. - Don't consider Tor running as a client if the ControlPort is open,
  1111. but no actual client ports are open. Fixes bug 26062; bugfix
  1112. on 0.2.9.4-alpha.
  1113. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  1114. - Prevent a possible out-of-bounds smartlist read in
  1115. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  1116. o Minor bugfixes (C correctness, backport from 0.3.3.4-alpha):
  1117. - Fix a very unlikely (impossible, we believe) null pointer
  1118. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  1119. Coverity; this is CID 1430932.
  1120. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  1121. - Fix a number of small memory leaks identified by coverity. Fixes
  1122. bug 26467; bugfix on numerous Tor versions.
  1123. o Code simplification and refactoring (backport from 0.3.3.5-rc):
  1124. - Move the list of default directory authorities to its own file.
  1125. Closes ticket 24854. Patch by "beastr0".
  1126. Changes in version 0.3.4.4-rc - 2018-07-09
  1127. Tor 0.3.4.4-rc fixes several small compilation, portability, and
  1128. correctness issues in previous versions of Tor. This version is a
  1129. release candidate: if no serious bugs are found, we expect that the
  1130. stable 0.3.4 release will be (almost) the same as this release.
  1131. o Minor features (compilation):
  1132. - When building Tor, prefer to use Python 3 over Python 2, and more
  1133. recent (contemplated) versions over older ones. Closes
  1134. ticket 26372.
  1135. o Minor features (geoip):
  1136. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  1137. Country database. Closes ticket 26674.
  1138. o Minor features (Rust, portability):
  1139. - Rust cross-compilation is now supported. Closes ticket 25895.
  1140. o Minor bugfixes (compilation):
  1141. - Fix a compilation warning on some versions of GCC when building
  1142. code that calls routerinfo_get_my_routerinfo() twice, assuming
  1143. that the second call will succeed if the first one did. Fixes bug
  1144. 26269; bugfix on 0.2.8.2-alpha.
  1145. o Minor bugfixes (control port):
  1146. - Report the port correctly when a port is configured to bind to
  1147. "auto". Fixes bug 26568; bugfix on 0.3.4.1-alpha.
  1148. - Handle the HSADDRESS= argument to the HSPOST command properly.
  1149. (Previously, this argument was misparsed and thus ignored.) Fixes
  1150. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  1151. o Minor bugfixes (correctness, flow control):
  1152. - Upon receiving a stream-level SENDME cell, verify that our window
  1153. has not grown too large. Fixes bug 26214; bugfix on svn
  1154. r54 (pre-0.0.1).
  1155. o Minor bugfixes (memory, correctness):
  1156. - Fix a number of small memory leaks identified by coverity. Fixes
  1157. bug 26467; bugfix on numerous Tor versions.
  1158. o Minor bugfixes (testing, compatibility):
  1159. - When running the hs_ntor_ref.py test, make sure only to pass
  1160. strings (rather than "bytes" objects) to the Python subprocess
  1161. module. Python 3 on Windows seems to require this. Fixes bug
  1162. 26535; bugfix on 0.3.1.1-alpha.
  1163. - When running the ntor_ref.py test, make sure only to pass strings
  1164. (rather than "bytes" objects) to the Python subprocess module.
  1165. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  1166. on 0.2.5.5-alpha.
  1167. Changes in version 0.3.3.8 - 2018-07-09
  1168. Tor 0.3.3.8 backports several changes from the 0.3.4.x series, including
  1169. fixes for a memory leak affecting directory authorities.
  1170. o Major bugfixes (directory authority, backport from 0.3.4.3-alpha):
  1171. - Stop leaking memory on directory authorities when planning to
  1172. vote. This bug was crashing authorities by exhausting their
  1173. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  1174. o Major bugfixes (rust, testing, backport from 0.3.4.3-alpha):
  1175. - Make sure that failing tests in Rust will actually cause the build
  1176. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  1177. on 0.3.3.4-alpha.
  1178. o Minor features (compilation, backport from 0.3.4.4-rc):
  1179. - When building Tor, prefer to use Python 3 over Python 2, and more
  1180. recent (contemplated) versions over older ones. Closes
  1181. ticket 26372.
  1182. o Minor features (geoip):
  1183. - Update geoip and geoip6 to the July 3 2018 Maxmind GeoLite2
  1184. Country database. Closes ticket 26674.
  1185. o Minor features (relay, diagnostic, backport from 0.3.4.3-alpha):
  1186. - Add several checks to detect whether Tor relays are uploading
  1187. their descriptors without specifying why they regenerated them.
  1188. Diagnostic for ticket 25686.
  1189. o Minor bugfixes (circuit path selection, backport from 0.3.4.1-alpha):
  1190. - Don't count path selection failures as circuit build failures.
  1191. This change should eliminate cases where Tor blames its guard or
  1192. the network for situations like insufficient microdescriptors
  1193. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  1194. on 0.3.3.1-alpha.
  1195. o Minor bugfixes (compilation, backport from 0.3.4.4-rc):
  1196. - Fix a compilation warning on some versions of GCC when building
  1197. code that calls routerinfo_get_my_routerinfo() twice, assuming
  1198. that the second call will succeed if the first one did. Fixes bug
  1199. 26269; bugfix on 0.2.8.2-alpha.
  1200. o Minor bugfixes (control port, backport from 0.3.4.4-rc):
  1201. - Handle the HSADDRESS= argument to the HSPOST command properly.
  1202. (Previously, this argument was misparsed and thus ignored.) Fixes
  1203. bug 26523; bugfix on 0.3.3.1-alpha. Patch by "akwizgran".
  1204. o Minor bugfixes (memory, correctness, backport from 0.3.4.4-rc):
  1205. - Fix a number of small memory leaks identified by coverity. Fixes
  1206. bug 26467; bugfix on numerous Tor versions.
  1207. o Minor bugfixes (relay, backport from 0.3.4.3-alpha):
  1208. - Relays now correctly block attempts to re-extend to the previous
  1209. relay by Ed25519 identity. Previously they would warn in this
  1210. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  1211. on 0.3.0.1-alpha.
  1212. o Minor bugfixes (restart-in-process, backport from 0.3.4.1-alpha):
  1213. - When shutting down, Tor now clears all the flags in the control.c
  1214. module. This should prevent a bug where authentication cookies are
  1215. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  1216. o Minor bugfixes (testing, compatibility, backport from 0.3.4.4-rc):
  1217. - When running the hs_ntor_ref.py test, make sure only to pass
  1218. strings (rather than "bytes" objects) to the Python subprocess
  1219. module. Python 3 on Windows seems to require this. Fixes bug
  1220. 26535; bugfix on 0.3.1.1-alpha.
  1221. - When running the ntor_ref.py test, make sure only to pass strings
  1222. (rather than "bytes" objects) to the Python subprocess module.
  1223. Python 3 on Windows seems to require this. Fixes bug 26535; bugfix
  1224. on 0.2.5.5-alpha.
  1225. Changes in version 0.3.4.3-alpha - 2018-06-26
  1226. Tor 0.3.4.3-alpha fixes several bugs in earlier versions, including
  1227. one that was causing stability issues on directory authorities.
  1228. o Major bugfixes (directory authority):
  1229. - Stop leaking memory on directory authorities when planning to
  1230. vote. This bug was crashing authorities by exhausting their
  1231. memory. Fixes bug 26435; bugfix on 0.3.3.6.
  1232. o Major bugfixes (rust, testing):
  1233. - Make sure that failing tests in Rust will actually cause the build
  1234. to fail: previously, they were ignored. Fixes bug 26258; bugfix
  1235. on 0.3.3.4-alpha.
  1236. o Minor feature (directory authorities):
  1237. - Stop warning about incomplete bw lines before the first complete
  1238. bw line has been found, so that additional header lines can be
  1239. ignored. Fixes bug 25960; bugfix on 0.2.2.1-alpha
  1240. o Minor features (relay, diagnostic):
  1241. - Add several checks to detect whether Tor relays are uploading
  1242. their descriptors without specifying why they regenerated them.
  1243. Diagnostic for ticket 25686.
  1244. o Minor features (unit tests):
  1245. - Test complete bandwidth measurements files, and test that
  1246. incomplete bandwidth lines only give warnings when the end of the
  1247. header has not been detected. Fixes bug 25947; bugfix
  1248. on 0.2.2.1-alpha
  1249. o Minor bugfixes (compilation):
  1250. - Refrain from compiling unit testing related object files when
  1251. --disable-unittests is set to configure script. Fixes bug 24891;
  1252. bugfix on 0.2.5.1-alpha.
  1253. - When linking the libtor_testing.a library, only include the
  1254. dirauth object files once. Previously, they were getting added
  1255. twice. Fixes bug 26402; bugfix on 0.3.4.1-alpha.
  1256. - The --enable-fatal-warnings flag now affects Rust code as well.
  1257. Closes ticket 26245.
  1258. o Minor bugfixes (onion services):
  1259. - Recompute some consensus information after detecting a clock jump,
  1260. or after transitioning from a non-live consensus to a live
  1261. consensus. We do this to avoid having an outdated state, and
  1262. miscalculating the index for next-generation onion services. Fixes
  1263. bug 24977; bugfix on 0.3.2.1-alpha.
  1264. o Minor bugfixes (relay):
  1265. - Relays now correctly block attempts to re-extend to the previous
  1266. relay by Ed25519 identity. Previously they would warn in this
  1267. case, but not actually reject the attempt. Fixes bug 26158; bugfix
  1268. on 0.3.0.1-alpha.
  1269. o Minor bugfixes (testing):
  1270. - Fix compilation of the doctests in the Rust crypto crate. Fixes
  1271. bug 26415; bugfix on 0.3.4.1-alpha.
  1272. - Instead of trying to read the geoip configuration files from
  1273. within the unit tests, instead create our own ersatz files with
  1274. just enough geoip data in the format we expect. Trying to read
  1275. from the source directory created problems on Windows with mingw,
  1276. where the build system's paths are not the same as the platform's
  1277. paths. Fixes bug 25787; bugfix on 0.3.4.1-alpha.
  1278. - Refrain from trying to get an item from an empty smartlist in
  1279. test_bridges_clear_bridge_list. Set DEBUG_SMARTLIST in unit tests
  1280. to catch improper smartlist usage. Furthermore, enable
  1281. DEBUG_SMARTLIST globally when build is configured with fragile
  1282. hardening. Fixes bug 26196; bugfix on 0.3.4.1-alpha.
  1283. Changes in version 0.3.3.7 - 2018-06-12
  1284. Tor 0.3.3.7 backports several changes from the 0.3.4.x series, including
  1285. fixes for bugs affecting compatibility and stability.
  1286. o Directory authority changes:
  1287. - Add an IPv6 address for the "dannenberg" directory authority.
  1288. Closes ticket 26343.
  1289. o Minor features (geoip):
  1290. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  1291. Country database. Closes ticket 26351.
  1292. o Minor bugfixes (compatibility, openssl, backport from 0.3.4.2-alpha):
  1293. - Work around a change in OpenSSL 1.1.1 where return values that
  1294. would previously indicate "no password" now indicate an empty
  1295. password. Without this workaround, Tor instances running with
  1296. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  1297. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  1298. o Minor bugfixes (compilation, backport from 0.3.4.2-alpha):
  1299. - Silence unused-const-variable warnings in zstd.h with some GCC
  1300. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  1301. o Minor bugfixes (controller, backport from 0.3.4.2-alpha):
  1302. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  1303. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  1304. miscounting the total number of circuits for these field values.)
  1305. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  1306. o Minor bugfixes (hardening, backport from 0.3.4.2-alpha):
  1307. - Prevent a possible out-of-bounds smartlist read in
  1308. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  1309. o Minor bugfixes (path selection, backport from 0.3.4.1-alpha):
  1310. - Only select relays when they have the descriptors we prefer to use
  1311. for them. This change fixes a bug where we could select a relay
  1312. because it had _some_ descriptor, but reject it later with a
  1313. nonfatal assertion error because it didn't have the exact one we
  1314. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  1315. Changes in version 0.3.4.2-alpha - 2018-06-12
  1316. Tor 0.3.4.2-alpha fixes several minor bugs in the previous alpha
  1317. release, and forward-ports an authority-only security fix from 0.3.3.6.
  1318. o Directory authority changes:
  1319. - Add an IPv6 address for the "dannenberg" directory authority.
  1320. Closes ticket 26343.
  1321. o Major bugfixes (security, directory authority, denial-of-service, also in 0.3.3.6):
  1322. - Fix a bug that could have allowed an attacker to force a directory
  1323. authority to use up all its RAM by passing it a maliciously
  1324. crafted protocol versions string. Fixes bug 25517; bugfix on
  1325. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  1326. o Minor features (continuous integration):
  1327. - Add the necessary configuration files for continuous integration
  1328. testing on Windows, via the Appveyor platform. Closes ticket
  1329. 25549. Patches from Marcin Cieślak and Isis Lovecruft.
  1330. o Minor features (geoip):
  1331. - Update geoip and geoip6 to the June 7 2018 Maxmind GeoLite2
  1332. Country database. Closes ticket 26351.
  1333. o Minor bugfixes (compatibility, openssl):
  1334. - Work around a change in OpenSSL 1.1.1 where return values that
  1335. would previously indicate "no password" now indicate an empty
  1336. password. Without this workaround, Tor instances running with
  1337. OpenSSL 1.1.1 would accept descriptors that other Tor instances
  1338. would reject. Fixes bug 26116; bugfix on 0.2.5.16.
  1339. o Minor bugfixes (compilation):
  1340. - Silence unused-const-variable warnings in zstd.h with some GCC
  1341. versions. Fixes bug 26272; bugfix on 0.3.1.1-alpha.
  1342. - Fix compilation when using OpenSSL 1.1.0 with the "no-deprecated"
  1343. flag enabled. Fixes bug 26156; bugfix on 0.3.4.1-alpha.
  1344. - Avoid a compiler warning when casting the return value of
  1345. smartlist_len() to double with DEBUG_SMARTLIST enabled. Fixes bug
  1346. 26283; bugfix on 0.2.4.10-alpha.
  1347. o Minor bugfixes (control port):
  1348. - Do not count 0-length RELAY_COMMAND_DATA cells as valid data in
  1349. CIRC_BW events. Previously, such cells were counted entirely in
  1350. the OVERHEAD field. Now they are not. Fixes bug 26259; bugfix
  1351. on 0.3.4.1-alpha.
  1352. o Minor bugfixes (controller):
  1353. - Improve accuracy of the BUILDTIMEOUT_SET control port event's
  1354. TIMEOUT_RATE and CLOSE_RATE fields. (We were previously
  1355. miscounting the total number of circuits for these field values.)
  1356. Fixes bug 26121; bugfix on 0.3.3.1-alpha.
  1357. o Minor bugfixes (hardening):
  1358. - Prevent a possible out-of-bounds smartlist read in
  1359. protover_compute_vote(). Fixes bug 26196; bugfix on 0.2.9.4-alpha.
  1360. o Minor bugfixes (onion services):
  1361. - Fix a bug that blocked the creation of ephemeral v3 onion
  1362. services. Fixes bug 25939; bugfix on 0.3.4.1-alpha.
  1363. o Minor bugfixes (test coverage tools):
  1364. - Update our "cov-diff" script to handle output from the latest
  1365. version of gcov, and to remove extraneous timestamp information
  1366. from its output. Fixes bugs 26101 and 26102; bugfix
  1367. on 0.2.5.1-alpha.
  1368. Changes in version 0.3.3.6 - 2018-05-22
  1369. Tor 0.3.3.6 is the first stable release in the 0.3.3 series. It
  1370. backports several important fixes from the 0.3.4.1-alpha.
  1371. The Tor 0.3.3 series includes controller support and other
  1372. improvements for v3 onion services, official support for embedding Tor
  1373. within other applications, and our first non-trivial module written in
  1374. the Rust programming language. (Rust is still not enabled by default
  1375. when building Tor.) And as usual, there are numerous other smaller
  1376. bugfixes, features, and improvements.
  1377. Below are the changes since 0.3.3.5-rc. For a list of all changes
  1378. since 0.3.2.10, see the ReleaseNotes file.
  1379. o Major bugfixes (directory authorities, security, backport from 0.3.4.1-alpha):
  1380. - When directory authorities read a zero-byte bandwidth file, they
  1381. would previously log a warning with the contents of an
  1382. uninitialised buffer. They now log a warning about the empty file
  1383. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  1384. o Major bugfixes (security, directory authority, denial-of-service):
  1385. - Fix a bug that could have allowed an attacker to force a directory
  1386. authority to use up all its RAM by passing it a maliciously
  1387. crafted protocol versions string. Fixes bug 25517; bugfix on
  1388. 0.2.9.4-alpha. This issue is also tracked as TROVE-2018-005.
  1389. o Major bugfixes (crash, backport from 0.3.4.1-alpha):
  1390. - Avoid a rare assertion failure in the circuit build timeout code
  1391. if we fail to allow any circuits to actually complete. Fixes bug
  1392. 25733; bugfix on 0.2.2.2-alpha.
  1393. o Major bugfixes (directory authorities, backport from 0.3.4.1-alpha):
  1394. - Avoid a crash when testing router reachability on a router that
  1395. could have an ed25519 ID, but which does not. Fixes bug 25415;
  1396. bugfix on 0.3.3.2-alpha.
  1397. o Major bugfixes (onion service, backport from 0.3.4.1-alpha):
  1398. - Correctly detect when onion services get disabled after HUP. Fixes
  1399. bug 25761; bugfix on 0.3.2.1.
  1400. o Major bugfixes (relay, denial of service, backport from 0.3.4.1-alpha):
  1401. - Impose a limit on circuit cell queue size. The limit can be
  1402. controlled by a consensus parameter. Fixes bug 25226; bugfix
  1403. on 0.2.4.14-alpha.
  1404. o Minor features (compatibility, backport from 0.3.4.1-alpha):
  1405. - Avoid some compilation warnings with recent versions of LibreSSL.
  1406. Closes ticket 26006.
  1407. o Minor features (continuous integration, backport from 0.3.4.1-alpha):
  1408. - Our .travis.yml configuration now includes support for testing the
  1409. results of "make distcheck". (It's not uncommon for "make check"
  1410. to pass but "make distcheck" to fail.) Closes ticket 25814.
  1411. - Our Travis CI configuration now integrates with the Coveralls
  1412. coverage analysis tool. Closes ticket 25818.
  1413. o Minor features (geoip):
  1414. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  1415. database. Closes ticket 26104.
  1416. o Minor bugfixes (client, backport from 0.3.4.1-alpha):
  1417. - Don't consider Tor running as a client if the ControlPort is open,
  1418. but no actual client ports are open. Fixes bug 26062; bugfix
  1419. on 0.2.9.4-alpha.
  1420. o Minor bugfixes (correctness, client, backport from 0.3.4.1-alpha):
  1421. - Upon receiving a malformed connected cell, stop processing the
  1422. cell immediately. Previously we would mark the connection for
  1423. close, but continue processing the cell as if the connection were
  1424. open. Fixes bug 26072; bugfix on 0.2.4.7-alpha.
  1425. o Minor bugfixes (documentation, backport from 0.3.4.1-alpha):
  1426. - Stop saying in the manual that clients cache ipv4 dns answers from
  1427. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  1428. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  1429. we forgot to say so in the man page. Fixes bug 26052; bugfix
  1430. on 0.3.2.6-alpha.
  1431. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.4.1-alpha):
  1432. - Allow the nanosleep() system call, which glibc uses to implement
  1433. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  1434. o Minor bugfixes (onion service, backport from 0.3.4.1-alpha):
  1435. - Fix a memory leak when a v3 onion service is configured and gets a
  1436. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  1437. - When parsing the descriptor signature, look for the token plus an
  1438. extra white-space at the end. This is more correct but also will
  1439. allow us to support new fields that might start with "signature".
  1440. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  1441. o Minor bugfixes (relay, crash, backport from 0.3.4.1-alpha):
  1442. - Avoid a crash when running with DirPort set but ORPort turned off.
  1443. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  1444. o Documentation (backport from 0.3.4.1-alpha):
  1445. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  1446. ticket 25857. Patch from "CTassisF".
  1447. Changes in version 0.3.4.1-alpha - 2018-05-17
  1448. Tor 0.3.4.1-alpha is the first release in the 0.3.4.x series. It
  1449. includes refactoring to begin reducing Tor's binary size and idle CPU
  1450. usage on mobile, along with prep work for new bandwidth scanners,
  1451. improvements to the experimental "vanguards" feature, and numerous
  1452. other small features and bugfixes.
  1453. o New system requirements:
  1454. - Tor no longer tries to support old operating systems without
  1455. mmap() or some local equivalent. Apparently, compilation on such
  1456. systems has been broken for some time, without anybody noticing or
  1457. complaining. Closes ticket 25398.
  1458. o Major feature (directory authority, modularization):
  1459. - The directory authority subsystem has been modularized. The code
  1460. is now located in src/or/dirauth/, and is compiled in by default.
  1461. To disable the module, the configure option
  1462. --disable-module-dirauth has been added. This module may be
  1463. disabled by default in some future release. Closes ticket 25610.
  1464. o Major features (main loop, CPU usage):
  1465. - When Tor is disabled (via DisableNetwork or via hibernation), it
  1466. no longer needs to run any per-second events. This change should
  1467. make it easier for mobile applications to disable Tor while the
  1468. device is sleeping, or Tor is not running. Closes ticket 26063.
  1469. - Tor no longer enables all of its periodic events by default.
  1470. Previously, Tor would enable all possible main loop events,
  1471. regardless of whether it needed them. Furthermore, many of these
  1472. events are now disabled with Tor is hibernating or DisableNetwork
  1473. is set. This is a big step towards reducing client CPU usage by
  1474. reducing the amount of wake-ups the daemon does. Closes ticket
  1475. 25376 and 25762.
  1476. - The bandwidth-limitation logic has been refactored so that
  1477. bandwidth calculations are performed on-demand, rather than every
  1478. TokenBucketRefillInterval milliseconds. This change should improve
  1479. the granularity of our bandwidth calculations, and limit the
  1480. number of times that the Tor process needs to wake up when it is
  1481. idle. Closes ticket 25373.
  1482. - Move responsibility for many operations from a once-per-second
  1483. callback to a callback that is only scheduled as needed. Moving
  1484. this functionality has allowed us to disable the callback when
  1485. Tor's network is disabled. Once enough items are removed from our
  1486. once-per-second callback, we can eliminate it entirely to conserve
  1487. CPU when idle. The functionality removed includes: closing
  1488. connections, circuits, and channels (ticket 25932); consensus
  1489. voting (25937); flushing log callbacks (25951); honoring delayed
  1490. SIGNEWNYM requests (25949); rescanning the consensus cache
  1491. (25931); saving the state file to disk (25948); warning relay
  1492. operators about unreachable ports (25952); and keeping track of
  1493. Tor's uptime (26009).
  1494. o Major bugfixes (directory authorities, security):
  1495. - When directory authorities read a zero-byte bandwidth file, they
  1496. would previously log a warning with the contents of an
  1497. uninitialised buffer. They now log a warning about the empty file
  1498. instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
  1499. o Major bugfixes (crash):
  1500. - Avoid a rare assertion failure in the circuit build timeout code
  1501. if we fail to allow any circuits to actually complete. Fixes bug
  1502. 25733; bugfix on 0.2.2.2-alpha.
  1503. o Major bugfixes (directory authority):
  1504. - Avoid a crash when testing router reachability on a router that
  1505. could have an ed25519 ID, but which does not. Fixes bug 25415;
  1506. bugfix on 0.3.3.2-alpha.
  1507. o Major bugfixes (onion service):
  1508. - Correctly detect when onion services get disabled after HUP. Fixes
  1509. bug 25761; bugfix on 0.3.2.1.
  1510. o Major bugfixes (protover, voting):
  1511. - Revise Rust implementation of protover to use a more memory-
  1512. efficient voting algorithm and corresponding data structures, thus
  1513. avoiding a potential (but small impact) DoS attack where specially
  1514. crafted protocol strings would expand to several potential
  1515. megabytes in memory. In the process, several portions of code were
  1516. revised to be methods on new, custom types, rather than functions
  1517. taking interchangeable types, thus increasing type safety of the
  1518. module. Custom error types and handling were added as well, in
  1519. order to facilitate better error dismissal/handling in outside
  1520. crates and avoid mistakenly passing an internal error string to C
  1521. over the FFI boundary. Many tests were added, and some previous
  1522. differences between the C and Rust implementations have been
  1523. remedied. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  1524. o Major bugfixes (relay, denial of service):
  1525. - Impose a limit on circuit cell queue size. The limit can be
  1526. controlled by a consensus parameter. Fixes bug 25226; bugfix
  1527. on 0.2.4.14-alpha.
  1528. o Minor features (accounting):
  1529. - When Tor becomes dormant, it now uses a scheduled event to wake up
  1530. at the right time. Previously, we would use the per-second timer
  1531. to check whether to wake up, but we no longer have any per-second
  1532. timers enabled when the network is disabled. Closes ticket 26064.
  1533. o Minor features (code quality):
  1534. - Add optional spell-checking for the Tor codebase, using the
  1535. "misspell" program. To use this feature, run "make check-typos".
  1536. Closes ticket 25024.
  1537. o Minor features (compatibility):
  1538. - Tor now detects versions of OpenSSL 1.1.0 and later compiled with
  1539. the no-deprecated option, and builds correctly with them. Closes
  1540. tickets 19429, 19981, and 25353.
  1541. - Avoid some compilation warnings with recent versions of LibreSSL.
  1542. Closes ticket 26006.
  1543. o Minor features (compression, zstd):
  1544. - When running with zstd, Tor now considers using advanced functions
  1545. that the zstd maintainers have labeled as potentially unstable. To
  1546. prevent breakage, Tor will only use this functionality when the
  1547. runtime version of the zstd library matches the version with which
  1548. Tor was compiled. Closes ticket 25162.
  1549. o Minor features (configuration):
  1550. - The "DownloadSchedule" options have been renamed to end with
  1551. "DownloadInitialDelay". The old names are still allowed, but will
  1552. produce a warning. Comma-separated lists are still permitted for
  1553. these options, but all values after the first are ignored (as they
  1554. have been since 0.2.9). Closes ticket 23354.
  1555. o Minor features (continuous integration):
  1556. - Our .travis.yml configuration now includes support for testing the
  1557. results of "make distcheck". (It's not uncommon for "make check"
  1558. to pass but "make distcheck" to fail.) Closes ticket 25814.
  1559. - Our Travis CI configuration now integrates with the Coveralls
  1560. coverage analysis tool. Closes ticket 25818.
  1561. o Minor features (control port):
  1562. - Introduce GETINFO "current-time/{local,utc}" to return the local
  1563. and UTC times respectively in ISO format. This helps a controller
  1564. like Tor Browser detect a time-related error. Closes ticket 25511.
  1565. Patch by Neel Chauhan.
  1566. - Introduce new fields to the CIRC_BW event. There are two new
  1567. fields in each of the read and written directions. The DELIVERED
  1568. fields report the total valid data on the circuit, as measured by
  1569. the payload sizes of verified and error-checked relay command
  1570. cells. The OVERHEAD fields report the total unused bytes in each
  1571. of these cells. Closes ticket 25903.
  1572. o Minor features (directory authority):
  1573. - Directory authorities now open their key-pinning files as O_SYNC,
  1574. to limit their chances of accidentally writing partial lines.
  1575. Closes ticket 23909.
  1576. o Minor features (directory authority, forward compatibility):
  1577. - Make the lines of the measured bandwidth file able to contain
  1578. their entries in any order. Previously, the node_id entry needed
  1579. to come first. Closes ticket 26004.
  1580. o Minor features (entry guards):
  1581. - Introduce a new torrc option NumPrimaryGuards for controlling the
  1582. number of primary guards. Closes ticket 25843.
  1583. o Minor features (geoip):
  1584. - Update geoip and geoip6 to the May 1 2018 Maxmind GeoLite2 Country
  1585. database. Closes ticket 26104.
  1586. o Minor features (performance):
  1587. - Avoid a needless call to malloc() when processing an incoming
  1588. relay cell. Closes ticket 24914.
  1589. - Make our timing-wheel code run a tiny bit faster on 32-bit
  1590. platforms, by preferring 32-bit math to 64-bit. Closes
  1591. ticket 24688.
  1592. - Avoid a needless malloc()/free() pair every time we handle an ntor
  1593. handshake. Closes ticket 25150.
  1594. o Minor features (testing):
  1595. - Add a unit test for voting_schedule_get_start_of_next_interval().
  1596. Closes ticket 26014, and helps make unit test coverage
  1597. more deterministic.
  1598. - A new unittests module specifically for testing the functions in
  1599. the (new-ish) bridges.c module has been created with new
  1600. unittests, raising the code coverage percentages. Closes 25425.
  1601. - We now have improved testing for addressmap_get_virtual_address()
  1602. function. This should improve our test coverage, and make our test
  1603. coverage more deterministic. Closes ticket 25993.
  1604. o Minor features (timekeeping, circuit scheduling):
  1605. - When keeping track of how busy each circuit have been recently on
  1606. a given connection, use coarse-grained monotonic timers rather
  1607. than gettimeofday(). This change should marginally increase
  1608. accuracy and performance. Implements part of ticket 25927.
  1609. o Minor bugfixes (bandwidth management):
  1610. - Consider ourselves "low on write bandwidth" if we have exhausted
  1611. our write bandwidth some time in the last second. This was the
  1612. documented behavior before, but the actual behavior was to change
  1613. this value every TokenBucketRefillInterval. Fixes bug 25828;
  1614. bugfix on 0.2.3.5-alpha.
  1615. o Minor bugfixes (C correctness):
  1616. - Add a missing lock acquisition in the shutdown code of the control
  1617. subsystem. Fixes bug 25675; bugfix on 0.2.7.3-rc. Found by
  1618. Coverity; this is CID 1433643.
  1619. o Minor bugfixes (circuit path selection):
  1620. - Don't count path selection failures as circuit build failures.
  1621. This change should eliminate cases where Tor blames its guard or
  1622. the network for situations like insufficient microdescriptors
  1623. and/or overly restrictive torrc settings. Fixes bug 25705; bugfix
  1624. on 0.3.3.1-alpha.
  1625. o Minor bugfixes (client):
  1626. - Don't consider Tor running as a client if the ControlPort is open,
  1627. but no actual client ports are open. Fixes bug 26062; bugfix
  1628. on 0.2.9.4-alpha.
  1629. o Minor bugfixes (code style):
  1630. - Fixed multiple includes of transports.h in src/or/connection.c
  1631. Fixes bug 25261; bugfix on 0.2.5.1-alpha.
  1632. - Remove the unused variable n_possible from the function
  1633. channel_get_for_extend(). Fixes bug 25645; bugfix on 0.2.4.4-alpha
  1634. o Minor bugfixes (control interface):
  1635. - Respond with more human-readable error messages to GETINFO exit-
  1636. policy/* requests. Also, let controller know if an error is
  1637. transient (response code 551) or not (response code 552). Fixes
  1638. bug 25852; bugfix on 0.2.8.1-alpha.
  1639. o Minor bugfixes (controller):
  1640. - Make CIRC_BW event reflect the total of all data sent on a
  1641. circuit, including padding and dropped cells. Also fix a mis-
  1642. counting bug when STREAM_BW events were enabled. Fixes bug 25400;
  1643. bugfix on 0.2.5.2-alpha.
  1644. o Minor bugfixes (correctness, client):
  1645. - Upon receiving a malformed connected cell, stop processing the cell
  1646. immediately. Previously we would mark the connection for close, but
  1647. continue processing the cell as if the connection were open. Fixes bug
  1648. 26072; bugfix on 0.2.4.7-alpha.
  1649. o Minor bugfixes (directory client):
  1650. - When unverified-consensus is verified, rename it to cached-
  1651. consenus. Fixes bug 4187; bugfix on 0.2.0.3-alpha.
  1652. - Fixed launching a certificate fetch always during the scheduled
  1653. periodic consensus fetch by fetching only in those cases when
  1654. consensus are waiting for certs. Fixes bug 24740; bugfix
  1655. on 0.2.9.1-alpha.
  1656. o Minor bugfixes (documentation):
  1657. - Stop saying in the manual that clients cache ipv4 dns answers from
  1658. exit relays. We haven't used them since 0.2.6.3-alpha, and in
  1659. ticket 24050 we stopped even caching them as of 0.3.2.6-alpha, but
  1660. we forgot to say so in the man page. Fixes bug 26052; bugfix
  1661. on 0.3.2.6-alpha.
  1662. o Minor bugfixes (error reporting):
  1663. - Improve tolerance for directory authorities with skewed clocks.
  1664. Previously, an authority with a clock more than 60 seconds ahead
  1665. could cause a client with a correct clock to warn that the
  1666. client's clock was behind. Now the clocks of a majority of
  1667. directory authorities have to be ahead of the client before this
  1668. warning will occur. Fixes bug 25756; bugfix on 0.2.2.25-alpha.
  1669. o Minor bugfixes (Linux seccomp2 sandbox):
  1670. - Allow the nanosleep() system call, which glibc uses to implement
  1671. sleep() and usleep(). Fixes bug 24969; bugfix on 0.2.5.1-alpha.
  1672. o Minor bugfixes (onion service):
  1673. - Fix a memory leak when a v3 onion service is configured and gets a
  1674. SIGHUP signal. Fixes bug 25901; bugfix on 0.3.2.1-alpha.
  1675. - When parsing the descriptor signature, look for the token plus an
  1676. extra white-space at the end. This is more correct but also will
  1677. allow us to support new fields that might start with "signature".
  1678. Fixes bug 26069; bugfix on 0.3.0.1-alpha.
  1679. o Minor bugfixes (path selection):
  1680. - Only select relays when they have the descriptors we prefer to use
  1681. for them. This change fixes a bug where we could select a relay
  1682. because it had _some_ descriptor, but reject it later with a
  1683. nonfatal assertion error because it didn't have the exact one we
  1684. wanted. Fixes bugs 25691 and 25692; bugfix on 0.3.3.4-alpha.
  1685. o Minor bugfixes (portability):
  1686. - Do not align mmap length, as it is not required by POSIX, and the
  1687. getpagesize function is deprecated. Fixes bug 25399; bugfix
  1688. on 0.1.1.23.
  1689. o Minor bugfixes (portability, FreeBSD):
  1690. - In have_enough_mem_for_dircache(), the variable DIRCACHE_MIN_MEM_MB
  1691. does not stringify on FreeBSD, so we switch to tor_asprintf().
  1692. Fixes bug 20887; bugfix on 0.2.8.1-alpha. Patch by Neel Chauhan.
  1693. o Minor bugfixes (relay statistics):
  1694. - When a relay is collecting internal statistics about how many
  1695. create cell requests it has seen of each type, accurately count
  1696. the requests from relays that temporarily fall out of the
  1697. consensus. (To be extra conservative, we were already ignoring
  1698. requests from clients in our counts, and we continue ignoring them
  1699. here.) Fixes bug 24910; bugfix on 0.2.4.17-rc.
  1700. o Minor bugfixes (relay, crash):
  1701. - Avoid a crash when running with DirPort set but ORPort turned off.
  1702. Fixes a case of bug 23693; bugfix on 0.3.1.1-alpha.
  1703. o Minor bugfixes (restart-in-process):
  1704. - When shutting down, Tor now clears all the flags in the control.c
  1705. module. This should prevent a bug where authentication cookies are
  1706. not generated on restart. Fixes bug 25512; bugfix on 0.3.3.1-alpha.
  1707. o Minor bugfixes (testing):
  1708. - When testing workqueue event-cancellation, make sure that we
  1709. actually cancel an event, and that cancel each event with equal
  1710. probability. (It was previously possible, though extremely
  1711. unlikely, for our event-canceling test not to cancel any events.)
  1712. Fixes bug 26008; bugfix on 0.2.6.3-alpha.
  1713. - Repeat part of the test in test_client_pick_intro() a number of
  1714. times, to give it consistent coverage. Fixes bug 25996; bugfix
  1715. on 0.3.2.1-alpha.
  1716. - Remove randomness from the hs_common/responsible_hsdirs test, so
  1717. that it always takes the same path through the function it tests.
  1718. Fixes bug 25997; bugfix on 0.3.2.1-alpha.
  1719. - Change the behavior of the "channel/outbound" test so that it
  1720. never causes a 10-second rollover for the EWMA circuitmux code.
  1721. Previously, this behavior would happen randomly, and result in
  1722. fluctuating test coverage. Fixes bug 25994; bugfix
  1723. on 0.3.3.1-alpha.
  1724. - Use X509_new() to allocate certificates that will be freed later
  1725. with X509_free(). Previously, some parts of the unit tests had
  1726. used tor_malloc_zero(), which is incorrect, and which caused test
  1727. failures on Windows when they were built with extra hardening.
  1728. Fixes bugs 25943 and 25944; bugfix on 0.2.8.1-alpha. Patch by
  1729. Marcin Cieślak.
  1730. - While running the circuit_timeout test, fix the PRNG to a
  1731. deterministic AES stream, so that the test coverage from this test
  1732. will itself be deterministic. Fixes bug 25995; bugfix
  1733. on 0.2.2.2-alpha.
  1734. o Minor bugfixes (vanguards):
  1735. - Allow the last hop in a vanguard circuit to be the same as our
  1736. first, to prevent the adversary from influencing guard node choice
  1737. by choice of last hop. Also prevent the creation of A - B - A
  1738. paths, or A - A paths, which are forbidden by relays. Fixes bug
  1739. 25870; bugfix on 0.3.3.1-alpha.
  1740. o Code simplification and refactoring:
  1741. - Remove duplicate code in parse_{c,s}method_line and bootstrap
  1742. their functionalities into a single function. Fixes bug 6236;
  1743. bugfix on 0.2.3.6-alpha.
  1744. - We remove the PortForwsrding and PortForwardingHelper options,
  1745. related functions, and the port_forwarding tests. These options
  1746. were used by the now-deprecated Vidalia to help ordinary users
  1747. become Tor relays or bridges. Closes ticket 25409. Patch by
  1748. Neel Chauhan.
  1749. - In order to make the OR and dir checking function in router.c less
  1750. confusing we renamed some functions and
  1751. consider_testing_reachability() has been split into
  1752. router_should_check_reachability() and
  1753. router_do_reachability_checks(). Also we improved the documentation
  1754. in some functions. Closes ticket 18918.
  1755. - Initial work to isolate Libevent usage to a handful of modules in
  1756. our codebase, to simplify our call structure, and so that we can
  1757. more easily change event loops in the future if needed. Closes
  1758. ticket 23750.
  1759. - Introduce a function to call getsockname() and return tor_addr_t,
  1760. to save a little complexity throughout the codebase. Closes
  1761. ticket 18105.
  1762. - Make hsdir_index in node_t a hsdir_index_t rather than a pointer
  1763. as hsdir_index is always present. Also, we move hsdir_index_t into
  1764. or.h. Closes ticket 23094. Patch by Neel Chauhan.
  1765. - Merge functions used for describing nodes and suppress the
  1766. functions that do not allocate memory for the output buffer
  1767. string. NODE_DESC_BUF_LEN constant and format_node_description()
  1768. function cannot be used externally from router.c module anymore.
  1769. Closes ticket 25432. Patch by valentecaio.
  1770. - Our main loop has been simplified so that all important operations
  1771. happen inside events. Previously, some operations had to happen
  1772. outside the event loop, to prevent infinite sequences of event
  1773. activations. Closes ticket 25374.
  1774. - Put a SHA1 public key digest in hs_service_intro_point_t, and use
  1775. it in register_intro_circ() and service_intro_point_new(). This
  1776. prevents the digest from being re-calculated each time. Closes
  1777. ticket 23107. Patch by Neel Chauhan.
  1778. - Refactor token-bucket implementations to use a common backend.
  1779. Closes ticket 25766.
  1780. - Remove extern declaration of stats_n_seconds_working variable from
  1781. main, protecting its accesses with get_uptime() and reset_uptime()
  1782. functions. Closes ticket 25081, patch by “valentecaio”.
  1783. - Remove our previous logic for "cached gettimeofday()" -- our
  1784. coarse monotonic timers are fast enough for this purpose, and far
  1785. less error-prone. Implements part of ticket 25927.
  1786. - Remove the return value for fascist_firewall_choose_address_base(),
  1787. and sister functions such as fascist_firewall_choose_address_node()
  1788. and fascist_firewall_choose_address_rs(). Also, while we're here,
  1789. initialize the ap argument as leaving it uninitialized can pose a
  1790. security hazard. Closes ticket 24734. Patch by Neel Chauhan.
  1791. - Rename two fields of connection_t struct. timestamp_lastwritten is
  1792. renamed to timestamp_last_write_allowed and timestamp_lastread is
  1793. renamed to timestamp_last_read_allowed. Closes ticket 24714, patch
  1794. by "valentecaio".
  1795. - Since Tor requires C99, remove our old workaround code for libc
  1796. implementations where free(NULL) doesn't work. Closes ticket 24484.
  1797. - Use our standard rate-limiting code to deal with excessive
  1798. libevent failures, rather than the hand-rolled logic we had
  1799. before. Closes ticket 26016.
  1800. - We remove the return value of node_get_prim_orport() and
  1801. node_get_prim_dirport(), and introduce node_get_prim_orport() in
  1802. node_ipv6_or_preferred() and node_ipv6_dir_preferred() in order to
  1803. check for a null address. Closes ticket 23873. Patch by
  1804. Neel Chauhan.
  1805. - We switch to should_record_bridge_info() in
  1806. geoip_note_client_seen() and options_need_geoip_info() instead of
  1807. accessing the configuration values directly. Fixes bug 25290;
  1808. bugfix on 0.2.1.6-alpha. Patch by Neel Chauhan.
  1809. o Deprecated features:
  1810. - As we are not recommending 0.2.5 anymore, we require relays that
  1811. once had an ed25519 key associated with their RSA key to always
  1812. have that key, instead of allowing them to drop back to a version
  1813. that didn't support ed25519. This means they need to use a new RSA
  1814. key if the want to downgrade to an older version of tor without
  1815. ed25519. Closes ticket 20522.
  1816. o Documentation:
  1817. - Correct an IPv6 error in the documentation for ExitPolicy. Closes
  1818. ticket 25857. Patch from "CTassisF".
  1819. o Removed features:
  1820. - Directory authorities will no longer support voting according to
  1821. any consensus method before consensus method 25. This keeps
  1822. authorities compatible with all authorities running 0.2.9.8 and
  1823. later, and does not break any clients or relays. Implements ticket
  1824. 24378 and proposal 290.
  1825. - The PortForwarding and PortForwardingHelper features have been
  1826. removed. The reasoning is, given that implementations of NAT
  1827. traversal protocols within common consumer grade routers are
  1828. frequently buggy, and that the target audience for a NAT punching
  1829. feature is a perhaps less-technically-inclined relay operator,
  1830. when the helper fails to setup traversal the problems are usually
  1831. deep, ugly, and very router specific, making them horrendously
  1832. impossible for technical support to reliable assist with, and thus
  1833. resulting in frustration all around. Unfortunately, relay
  1834. operators who would like to run relays behind NATs will need to
  1835. become more familiar with the port forwarding configurations on
  1836. their local router. Closes 25409.
  1837. - The TestingEnableTbEmptyEvent option has been removed. It was used
  1838. in testing simulations to measure how often connection buckets
  1839. were emptied, in order to improve our scheduling, but it has not
  1840. been actively used in years. Closes ticket 25760.
  1841. - The old "round-robin" circuit multiplexer (circuitmux)
  1842. implementation has been removed, along with a fairly large set of
  1843. code that existed to support it. It has not been the default
  1844. circuitmux since we introduced the "EWMA" circuitmux in 0.2.4.x,
  1845. but it still required an unreasonable amount of memory and CPU.
  1846. Closes ticket 25268.
  1847. Changes in version 0.3.3.5-rc - 2018-04-15
  1848. Tor 0.3.3.5-rc fixes various bugs in earlier versions of Tor,
  1849. including some that could affect reliability or correctness.
  1850. This is the first release candidate in the 0.3.3 series. If we find no
  1851. new bugs or regression here, then the first stable 0.3.3 release will
  1852. be nearly identical to this one.
  1853. o Major bugfixes (security, protover, voting):
  1854. - Revise Rust implementation of protover to use a more memory-
  1855. efficient voting algorithm and corresponding data structures, thus
  1856. avoiding a potential memory-based DoS attack where specially
  1857. crafted protocol strings would expand to fill available memory.
  1858. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
  1859. o Major bugfixes (performance, load balancing):
  1860. - Directory authorities no longer vote in favor of the Guard flag
  1861. for relays without directory support. Starting in Tor
  1862. 0.3.0.1-alpha, clients have been avoiding using such relays in the
  1863. Guard position, leading to increasingly broken load balancing for
  1864. the 5%-or-so of Guards that don't advertise directory support.
  1865. Fixes bug 22310; bugfix on 0.3.0.6.
  1866. o Minor feature (continuous integration):
  1867. - Update the Travis CI configuration to use the stable Rust channel,
  1868. now that we have decided to require that. Closes ticket 25714.
  1869. o Minor features (config options):
  1870. - Change the way the default value for MaxMemInQueues is calculated.
  1871. We now use 40% of the hardware RAM if the system has 8 GB RAM or
  1872. more. Otherwise we use the former value of 75%. Closes
  1873. ticket 24782.
  1874. o Minor features (geoip):
  1875. - Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2
  1876. Country database. Closes ticket 25718.
  1877. o Minor bugfixes (client):
  1878. - When using a listed relay as a bridge, and also using
  1879. microdescriptors, and considering that relay as a non-bridge in a
  1880. circuit, treat its microdescriptor as a valid source of
  1881. information about that relay. This change should prevent a non-
  1882. fatal assertion error. Fixes bug 25691; bugfix on 0.3.3.4-alpha.
  1883. o Minor bugfixes (controller):
  1884. - Restore the correct operation of the RESOLVE command, which had
  1885. been broken since we added the ability to enable/disable DNS on
  1886. specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha.
  1887. o Minor bugfixes (distribution, compilation, rust):
  1888. - Build correctly when the rust dependencies submodule is loaded,
  1889. but the TOR_RUST_DEPENDENCIES environment variable is not set.
  1890. Fixes bug 25679; bugfix on 0.3.3.1-alpha.
  1891. - Actually include all of our Rust source in our source
  1892. distributions. (Previously, a few of the files were accidentally
  1893. omitted.) Fixes bug 25732; bugfix on 0.3.3.2-alpha.
  1894. o Minor bugfixes (documentation):
  1895. - Document that the PerConnBW{Rate,Burst} options will fall back to
  1896. their corresponding consensus parameters only if those parameters
  1897. are set. Previously we had claimed that these values would always
  1898. be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
  1899. - Revert a misformatting issue in the ExitPolicy documentation.
  1900. Fixes bug 25582; bugfix on 0.3.3.1-alpha.
  1901. o Minor bugfixes (exit relay DNS retries):
  1902. - Re-attempt timed-out DNS queries 3 times before failure, since our
  1903. timeout is 5 seconds for them, but clients wait 10-15. Also allow
  1904. slightly more timeouts per resolver when an exit has multiple
  1905. resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
  1906. o Minor bugfixes (onion services):
  1907. - Re-instate counting the client HSDir fetch circuits against the
  1908. MaxClientCircuitsPending rate limit. Fixes bug 24989; bugfix
  1909. on 0.3.3.1-alpha.
  1910. - Remove underscores from the _HSLayer{2,3}Nodes options. This
  1911. expert-user configuration can now be enabled as HSLayer{2,3}Nodes.
  1912. Fixes bug 25581; bugfix on 0.3.3.1-alpha
  1913. o Code simplification and refactoring:
  1914. - Move the list of default directory authorities to its own file.
  1915. Closes ticket 24854. Patch by "beastr0".
  1916. o Documentation (manpage, denial of service):
  1917. - Provide more detail about the denial-of-service options, by
  1918. listing each mitigation and explaining how they relate. Closes
  1919. ticket 25248.
  1920. Changes in version 0.3.3.4-alpha - 2018-03-29
  1921. Tor 0.3.3.4-alpha includes various bugfixes for issues found during
  1922. the alpha testing of earlier releases in its series. We are
  1923. approaching a stable 0.3.3.4-alpha release: more testing is welcome!
  1924. o New system requirements:
  1925. - When built with Rust, Tor now depends on version 0.2.39 of the
  1926. libc crate. Closes tickets 25310 and 25664.
  1927. o Major bugfixes (relay, connection):
  1928. - If we have failed to connect to a relay and received a connection
  1929. refused, timeout, or similar error (at the TCP level), do not try
  1930. that same address/port again for 60 seconds after the failure has
  1931. occurred. Fixes bug 24767; bugfix on 0.0.6.
  1932. o Minor features (geoip):
  1933. - Update geoip and geoip6 to the March 8 2018 Maxmind GeoLite2
  1934. Country database. Closes ticket 25469.
  1935. o Minor features (log messages):
  1936. - Improve log message in the out-of-memory handler to include
  1937. information about memory usage from the different compression
  1938. backends. Closes ticket 25372.
  1939. o Minor features (sandbox):
  1940. - Explicitly permit the poll() system call when the Linux
  1941. seccomp2-based sandbox is enabled: apparently, some versions of
  1942. libc use poll() when calling getpwnam(). Closes ticket 25313.
  1943. o Minor bugfixes (C correctness):
  1944. - Fix a very unlikely (impossible, we believe) null pointer
  1945. dereference. Fixes bug 25629; bugfix on 0.2.9.15. Found by
  1946. Coverity; this is CID 1430932.
  1947. o Minor bugfixes (channel, client):
  1948. - Better identify client connection when reporting to the geoip
  1949. client cache. Fixes bug 24904; bugfix on 0.3.1.7.
  1950. o Minor bugfixes (compilation):
  1951. - Fix a C99 compliance issue in our configuration script that caused
  1952. compilation issues when compiling Tor with certain versions of
  1953. xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
  1954. o Minor bugfixes (controller, reliability):
  1955. - Avoid a (nonfatal) assertion failure when extending a one-hop
  1956. circuit from the controller to become a multihop circuit. Fixes
  1957. bug 24903; bugfix on 0.2.5.2-alpha.
  1958. o Major bugfixes (networking):
  1959. - Tor will no longer reject IPv6 address strings from Tor Browser
  1960. when they are passed as hostnames in SOCKS5 requests. Fixes bug
  1961. 25036, bugfix on Tor 0.3.1.2.
  1962. o Minor bugfixes (networking):
  1963. - string_is_valid_hostname() will not consider IP strings to be
  1964. valid hostnames. Fixes bug 25055; bugfix on Tor 0.2.5.5.
  1965. o Minor bugfixes (onion service v3):
  1966. - Avoid an assertion failure when the next onion service
  1967. descriptor rotation type is out of sync with the consensus's
  1968. valid-after time. Instead, log a warning message with extra
  1969. information, so we can better hunt down the cause of this
  1970. assertion. Fixes bug 25306; bugfix on 0.3.2.1-alpha.
  1971. o Minor bugfixes (testing):
  1972. - Avoid intermittent test failures due to a test that had relied on
  1973. onion service introduction point creation finishing within 5
  1974. seconds of real clock time. Fixes bug 25450; bugfix
  1975. on 0.3.1.3-alpha.
  1976. - Rust crates are now automatically detected and tested. Previously,
  1977. some crates were not tested by `make test-rust` due to a static
  1978. string in the `src/test/test_rust.sh` script specifying which
  1979. crates to test. Fixes bug 25560; bugfix on 0.3.3.3-alpha.
  1980. o Minor bugfixes (testing, benchmarks):
  1981. - Fix a crash when running benchmark tests on win32 systems. The
  1982. crash was due to a mutex that wasn't initialized before logging
  1983. and options were initialized. Fixes bug 25479; bugfix
  1984. on 0.3.3.3-alpha.
  1985. o Minor bugfixes (warnings, ipv6):
  1986. - Avoid a bug warning that could occur when trying to connect to a
  1987. relay over IPv6. This warning would occur on a Tor instance that
  1988. downloads router descriptors, but prefers to use microdescriptors.
  1989. Fixes bug 25213; bugfix on 0.3.3.1-alpha.
  1990. o Code simplification and refactoring:
  1991. - Remove the old (deterministic) directory retry logic entirely:
  1992. We've used exponential backoff exclusively for some time. Closes
  1993. ticket 23814.
  1994. o Documentation:
  1995. - Improved the documentation of AccountingStart parameter. Closes
  1996. ticket 23635.
  1997. - Update the documentation for "Log" to include the current list of
  1998. logging domains. Closes ticket 25378.
  1999. Changes in version 0.3.1.10 - 2018-03-03
  2000. Tor 0.3.1.10 backports a number of bugfixes, including important fixes for
  2001. security issues.
  2002. It includes an important security fix for a remote crash attack
  2003. against directory authorities, tracked as TROVE-2018-001.
  2004. This release also backports our new system for improved resistance to
  2005. denial-of-service attacks against relays.
  2006. This release also fixes several minor bugs and annoyances from
  2007. earlier releases.
  2008. All directory authorities should upgrade to one of the versions
  2009. released today. Relays running 0.3.1.x may wish to update to one of
  2010. the versions released today, for the DoS mitigations.
  2011. Please note: according to our release calendar, Tor 0.3.1 will no
  2012. longer be supported after 1 July 2018. If you will be running Tor
  2013. after that date, you should make sure to plan to upgrade to the latest
  2014. stable version, or downgrade to 0.2.9 (which will receive long-term
  2015. support).
  2016. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  2017. - Fix a protocol-list handling bug that could be used to remotely crash
  2018. directory authorities with a null-pointer exception. Fixes bug 25074;
  2019. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  2020. CVE-2018-0490.
  2021. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  2022. - Give relays some defenses against the recent network overload. We
  2023. start with three defenses (default parameters in parentheses).
  2024. First: if a single client address makes too many concurrent
  2025. connections (>100), hang up on further connections. Second: if a
  2026. single client address makes circuits too quickly (more than 3 per
  2027. second, with an allowed burst of 90) while also having too many
  2028. connections open (3), refuse new create cells for the next while
  2029. (1-2 hours). Third: if a client asks to establish a rendezvous
  2030. point to you directly, ignore the request. These defenses can be
  2031. manually controlled by new torrc options, but relays will also
  2032. take guidance from consensus parameters, so there's no need to
  2033. configure anything manually. Implements ticket 24902.
  2034. o Minor features (linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  2035. - Update the sandbox rules so that they should now work correctly
  2036. with Glibc 2.26. Closes ticket 24315.
  2037. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  2038. - Fix an "off by 2" error in counting rendezvous failures on the
  2039. onion service side. While we thought we would stop the rendezvous
  2040. attempt after one failed circuit, we were actually making three
  2041. circuit attempts before giving up. Now switch to a default of 2,
  2042. and allow the consensus parameter "hs_service_max_rdv_failures" to
  2043. override. Fixes bug 24895; bugfix on 0.0.6.
  2044. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  2045. - Add Link protocol version 5 to the supported protocols list. Fixes
  2046. bug 25070; bugfix on 0.3.1.1-alpha.
  2047. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  2048. - Fix a set of false positives where relays would consider
  2049. connections to other relays as being client-only connections (and
  2050. thus e.g. deserving different link padding schemes) if those
  2051. relays fell out of the consensus briefly. Now we look only at the
  2052. initial handshake and whether the connection authenticated as a
  2053. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  2054. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  2055. - Make our OOM handler aware of the geoip client history cache so it
  2056. doesn't fill up the memory. This check is important for IPv6 and
  2057. our DoS mitigation subsystem. Closes ticket 25122.
  2058. o Minor feature (relay statistics, backport from 0.3.2.6-alpha):
  2059. - Change relay bandwidth reporting stats interval from 4 hours to 24
  2060. hours in order to reduce the efficiency of guard discovery
  2061. attacks. Fixes ticket 23856.
  2062. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  2063. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  2064. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  2065. since they neither disabled TLS 1.3 nor enabled any of the
  2066. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  2067. Closes ticket 24978.
  2068. o Minor features (fallback directory mirrors, backport from 0.3.2.9):
  2069. - The fallback directory list has been re-generated based on the
  2070. current status of the network. Tor uses fallback directories to
  2071. bootstrap when it doesn't yet have up-to-date directory
  2072. information. Closes ticket 24801.
  2073. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  2074. prefer to bootstrap from fallback directory mirrors. This is a
  2075. follow-up to 24679, which removed weights from the default
  2076. fallbacks. Implements ticket 24681.
  2077. o Minor features (geoip):
  2078. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  2079. Country database.
  2080. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  2081. - Use the actual observed address of an incoming relay connection,
  2082. not the canonical address of the relay from its descriptor, when
  2083. making decisions about how to handle the incoming connection.
  2084. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  2085. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  2086. - Directory authorities, when refusing a descriptor from a rejected
  2087. relay, now explicitly tell the relay (in its logs) to set a valid
  2088. ContactInfo address and contact the bad-relays@ mailing list.
  2089. Fixes bug 25170; bugfix on 0.2.9.1.
  2090. o Minor bugfixes (address selection, backport from 0.3.2.9):
  2091. - When the fascist_firewall_choose_address_ functions don't find a
  2092. reachable address, set the returned address to the null address
  2093. and port. This is a precautionary measure, because some callers do
  2094. not check the return value. Fixes bug 24736; bugfix
  2095. on 0.2.8.2-alpha.
  2096. o Major bugfixes (bootstrapping, backport from 0.3.2.5-alpha):
  2097. - Fetch descriptors aggressively whenever we lack enough to build
  2098. circuits, regardless of how many descriptors we are missing.
  2099. Previously, we would delay launching the fetch when we had fewer
  2100. than 15 missing descriptors, even if some of those descriptors
  2101. were blocking circuits from building. Fixes bug 23985; bugfix on
  2102. 0.1.1.11-alpha. The effects of this bug became worse in
  2103. 0.3.0.3-alpha, when we began treating missing descriptors from our
  2104. primary guards as a reason to delay circuits.
  2105. - Don't try fetching microdescriptors from relays that have failed
  2106. to deliver them in the past. Fixes bug 23817; bugfix
  2107. on 0.3.0.1-alpha.
  2108. o Minor bugfixes (compilation, backport from 0.3.2.7-rc):
  2109. - Fix a signed/unsigned comparison warning introduced by our fix to
  2110. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  2111. o Minor bugfixes (control port, linux seccomp2 sandbox, backport from 0.3.2.5-alpha):
  2112. - Avoid a crash when attempting to use the seccomp2 sandbox together
  2113. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  2114. on 0.2.5.1-alpha.
  2115. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  2116. - Fix a possible crash on malformed consensus. If a consensus had
  2117. contained an unparseable protocol line, it could have made clients
  2118. and relays crash with a null-pointer exception. To exploit this
  2119. issue, however, an attacker would need to be able to subvert the
  2120. directory authority system. Fixes bug 25251; bugfix on
  2121. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  2122. o Minor bugfixes (directory cache, backport from 0.3.2.5-alpha):
  2123. - Recover better from empty or corrupt files in the consensus cache
  2124. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  2125. - When a consensus diff calculation is only partially successful,
  2126. only record the successful parts as having succeeded. Partial
  2127. success can happen if (for example) one compression method fails
  2128. but the others succeed. Previously we misrecorded all the
  2129. calculations as having succeeded, which would later cause a
  2130. nonfatal assertion failure. Fixes bug 24086; bugfix
  2131. on 0.3.1.1-alpha.
  2132. o Minor bugfixes (entry guards, backport from 0.3.2.3-alpha):
  2133. - Tor now updates its guard state when it reads a consensus
  2134. regardless of whether it's missing descriptors. That makes tor use
  2135. its primary guards to fetch descriptors in some edge cases where
  2136. it would previously have used fallback directories. Fixes bug
  2137. 23862; bugfix on 0.3.0.1-alpha.
  2138. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  2139. - Don't treat inability to store a cached consensus object as a bug:
  2140. it can happen normally when we are out of disk space. Fixes bug
  2141. 24859; bugfix on 0.3.1.1-alpha.
  2142. o Minor bugfixes (memory usage, backport from 0.3.2.8-rc):
  2143. - When queuing DESTROY cells on a channel, only queue the circuit-id
  2144. and reason fields: not the entire 514-byte cell. This fix should
  2145. help mitigate any bugs or attacks that fill up these queues, and
  2146. free more RAM for other uses. Fixes bug 24666; bugfix
  2147. on 0.2.5.1-alpha.
  2148. o Minor bugfixes (network layer, backport from 0.3.2.5-alpha):
  2149. - When closing a connection via close_connection_immediately(), we
  2150. mark it as "not blocked on bandwidth", to prevent later calls from
  2151. trying to unblock it, and give it permission to read. This fixes a
  2152. backtrace warning that can happen on relays under various
  2153. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  2154. o Minor bugfixes (path selection, backport from 0.3.2.4-alpha):
  2155. - When selecting relays by bandwidth, avoid a rounding error that
  2156. could sometimes cause load to be imbalanced incorrectly.
  2157. Previously, we would always round upwards; now, we round towards
  2158. the nearest integer. This had the biggest effect when a relay's
  2159. weight adjustments should have given it weight 0, but it got
  2160. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  2161. - When calculating the fraction of nodes that have descriptors, and
  2162. all nodes in the network have zero bandwidths, count the number of
  2163. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  2164. - Actually log the total bandwidth in compute_weighted_bandwidths().
  2165. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  2166. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  2167. - Improve the performance of our consensus-diff application code
  2168. when Tor is built with the --enable-fragile-hardening option set.
  2169. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  2170. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  2171. - Don't exit the Tor process if setrlimit() fails to change the file
  2172. limit (which can happen sometimes on some versions of OSX). Fixes
  2173. bug 21074; bugfix on 0.0.9pre5.
  2174. o Minor bugfixes (portability, msvc, backport from 0.3.2.9):
  2175. - Fix a bug in the bit-counting parts of our timing-wheel code on
  2176. MSVC. (Note that MSVC is still not a supported build platform, due
  2177. to cyptographic timing channel risks.) Fixes bug 24633; bugfix
  2178. on 0.2.9.1-alpha.
  2179. o Minor bugfixes (relay, partial backport):
  2180. - Make the internal channel_is_client() function look at what sort
  2181. of connection handshake the other side used, rather than whether
  2182. the other side ever sent a create_fast cell to us. Backports part
  2183. of the fixes from bugs 22805 and 24898.
  2184. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  2185. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  2186. 0.2.9.4-alpha.
  2187. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  2188. bugfix on 0.2.9.4-alpha.
  2189. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  2190. - Update the "rust dependencies" submodule to be a project-level
  2191. repository, rather than a user repository. Closes ticket 25323.
  2192. Changes in version 0.2.9.15 - 2018-03-03
  2193. Tor 0.2.9.15 backports important security and stability bugfixes from
  2194. later Tor releases.
  2195. It includes an important security fix for a remote crash attack
  2196. against directory authorities, tracked as TROVE-2018-001.
  2197. This release also backports our new system for improved resistance to
  2198. denial-of-service attacks against relays.
  2199. This release also fixes several minor bugs and annoyances from
  2200. earlier releases.
  2201. All directory authorities should upgrade to one of the versions
  2202. released today. Relays running 0.2.9.x may wish to update to one of
  2203. the versions released today, for the DoS mitigations.
  2204. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  2205. - Fix a protocol-list handling bug that could be used to remotely crash
  2206. directory authorities with a null-pointer exception. Fixes bug 25074;
  2207. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  2208. CVE-2018-0490.
  2209. o Major features (denial-of-service mitigation):
  2210. - Give relays some defenses against the recent network overload. We
  2211. start with three defenses (default parameters in parentheses).
  2212. First: if a single client address makes too many concurrent
  2213. connections (>100), hang up on further connections. Second: if a
  2214. single client address makes circuits too quickly (more than 3 per
  2215. second, with an allowed burst of 90) while also having too many
  2216. connections open (3), refuse new create cells for the next while
  2217. (1-2 hours). Third: if a client asks to establish a rendezvous
  2218. point to you directly, ignore the request. These defenses can be
  2219. manually controlled by new torrc options, but relays will also
  2220. take guidance from consensus parameters, so there's no need to
  2221. configure anything manually. Implements ticket 24902.
  2222. o Major bugfixes (bootstrapping):
  2223. - Fetch descriptors aggressively whenever we lack enough to build
  2224. circuits, regardless of how many descriptors we are missing.
  2225. Previously, we would delay launching the fetch when we had fewer
  2226. than 15 missing descriptors, even if some of those descriptors
  2227. were blocking circuits from building. Fixes bug 23985; bugfix on
  2228. 0.1.1.11-alpha. The effects of this bug became worse in
  2229. 0.3.0.3-alpha, when we began treating missing descriptors from our
  2230. primary guards as a reason to delay circuits.
  2231. o Major bugfixes (onion services, retry behavior):
  2232. - Fix an "off by 2" error in counting rendezvous failures on the
  2233. onion service side. While we thought we would stop the rendezvous
  2234. attempt after one failed circuit, we were actually making three
  2235. circuit attempts before giving up. Now switch to a default of 2,
  2236. and allow the consensus parameter "hs_service_max_rdv_failures" to
  2237. override. Fixes bug 24895; bugfix on 0.0.6.
  2238. o Minor feature (relay statistics):
  2239. - Change relay bandwidth reporting stats interval from 4 hours to 24
  2240. hours in order to reduce the efficiency of guard discovery
  2241. attacks. Fixes ticket 23856.
  2242. o Minor features (compatibility, OpenSSL):
  2243. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  2244. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  2245. since they neither disabled TLS 1.3 nor enabled any of the
  2246. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  2247. Closes ticket 24978.
  2248. o Minor features (denial-of-service avoidance):
  2249. - Make our OOM handler aware of the geoip client history cache so it
  2250. doesn't fill up the memory. This check is important for IPv6 and
  2251. our DoS mitigation subsystem. Closes ticket 25122.
  2252. o Minor features (fallback directory mirrors):
  2253. - The fallback directory list has been re-generated based on the
  2254. current status of the network. Tor uses fallback directories to
  2255. bootstrap when it doesn't yet have up-to-date directory
  2256. information. Closes ticket 24801.
  2257. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  2258. prefer to bootstrap from fallback directory mirrors. This is a
  2259. follow-up to 24679, which removed weights from the default
  2260. fallbacks. Implements ticket 24681.
  2261. o Minor features (geoip):
  2262. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  2263. Country database.
  2264. o Minor features (linux seccomp2 sandbox):
  2265. - Update the sandbox rules so that they should now work correctly
  2266. with Glibc 2.26. Closes ticket 24315.
  2267. o Minor bugfix (channel connection):
  2268. - Use the actual observed address of an incoming relay connection,
  2269. not the canonical address of the relay from its descriptor, when
  2270. making decisions about how to handle the incoming connection.
  2271. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  2272. o Minor bugfix (directory authority):
  2273. - Directory authorities, when refusing a descriptor from a rejected
  2274. relay, now explicitly tell the relay (in its logs) to set a valid
  2275. ContactInfo address and contact the bad-relays@ mailing list.
  2276. Fixes bug 25170; bugfix on 0.2.9.1.
  2277. o Minor bugfixes (address selection):
  2278. - When the fascist_firewall_choose_address_ functions don't find a
  2279. reachable address, set the returned address to the null address
  2280. and port. This is a precautionary measure, because some callers do
  2281. not check the return value. Fixes bug 24736; bugfix
  2282. on 0.2.8.2-alpha.
  2283. o Minor bugfixes (compilation):
  2284. - Fix a signed/unsigned comparison warning introduced by our fix to
  2285. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  2286. o Minor bugfixes (control port, linux seccomp2 sandbox):
  2287. - Avoid a crash when attempting to use the seccomp2 sandbox together
  2288. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  2289. on 0.2.5.1-alpha.
  2290. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  2291. - Fix a possible crash on malformed consensus. If a consensus had
  2292. contained an unparseable protocol line, it could have made clients
  2293. and relays crash with a null-pointer exception. To exploit this
  2294. issue, however, an attacker would need to be able to subvert the
  2295. directory authority system. Fixes bug 25251; bugfix on
  2296. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  2297. o Minor bugfixes (memory usage):
  2298. - When queuing DESTROY cells on a channel, only queue the circuit-id
  2299. and reason fields: not the entire 514-byte cell. This fix should
  2300. help mitigate any bugs or attacks that fill up these queues, and
  2301. free more RAM for other uses. Fixes bug 24666; bugfix
  2302. on 0.2.5.1-alpha.
  2303. o Minor bugfixes (network layer):
  2304. - When closing a connection via close_connection_immediately(), we
  2305. mark it as "not blocked on bandwidth", to prevent later calls from
  2306. trying to unblock it, and give it permission to read. This fixes a
  2307. backtrace warning that can happen on relays under various
  2308. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  2309. o Minor bugfixes (OSX):
  2310. - Don't exit the Tor process if setrlimit() fails to change the file
  2311. limit (which can happen sometimes on some versions of OSX). Fixes
  2312. bug 21074; bugfix on 0.0.9pre5.
  2313. o Minor bugfixes (path selection):
  2314. - When selecting relays by bandwidth, avoid a rounding error that
  2315. could sometimes cause load to be imbalanced incorrectly.
  2316. Previously, we would always round upwards; now, we round towards
  2317. the nearest integer. This had the biggest effect when a relay's
  2318. weight adjustments should have given it weight 0, but it got
  2319. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  2320. - When calculating the fraction of nodes that have descriptors, and
  2321. all nodes in the network have zero bandwidths, count the number of
  2322. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  2323. - Actually log the total bandwidth in compute_weighted_bandwidths().
  2324. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  2325. o Minor bugfixes (portability, msvc):
  2326. - Fix a bug in the bit-counting parts of our timing-wheel code on
  2327. MSVC. (Note that MSVC is still not a supported build platform, due
  2328. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  2329. on 0.2.9.1-alpha.
  2330. o Minor bugfixes (relay):
  2331. - Make the internal channel_is_client() function look at what sort
  2332. of connection handshake the other side used, rather than whether
  2333. the other side ever sent a create_fast cell to us. Backports part
  2334. of the fixes from bugs 22805 and 24898.
  2335. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  2336. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  2337. 0.2.9.4-alpha.
  2338. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  2339. bugfix on 0.2.9.4-alpha.
  2340. Changes in version 0.3.2.10 - 2018-03-03
  2341. Tor 0.3.2.10 is the second stable release in the 0.3.2 series. It
  2342. backports a number of bugfixes, including important fixes for security
  2343. issues.
  2344. It includes an important security fix for a remote crash attack
  2345. against directory authorities, tracked as TROVE-2018-001.
  2346. Additionally, it backports a fix for a bug whose severity we have
  2347. upgraded: Bug 24700, which was fixed in 0.3.3.2-alpha, can be remotely
  2348. triggered in order to crash relays with a use-after-free pattern. As
  2349. such, we are now tracking that bug as TROVE-2018-002 and
  2350. CVE-2018-0491, and backporting it to earlier releases. This bug
  2351. affected versions 0.3.2.1-alpha through 0.3.2.9, as well as version
  2352. 0.3.3.1-alpha.
  2353. This release also backports our new system for improved resistance to
  2354. denial-of-service attacks against relays.
  2355. This release also fixes several minor bugs and annoyances from
  2356. earlier releases.
  2357. Relays running 0.3.2.x SHOULD upgrade to one of the versions released
  2358. today, for the fix to TROVE-2018-002. Directory authorities should
  2359. also upgrade. (Relays on earlier versions might want to update too for
  2360. the DoS mitigations.)
  2361. o Major bugfixes (denial-of-service, directory authority, backport from 0.3.3.3-alpha):
  2362. - Fix a protocol-list handling bug that could be used to remotely crash
  2363. directory authorities with a null-pointer exception. Fixes bug 25074;
  2364. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  2365. CVE-2018-0490.
  2366. o Major bugfixes (scheduler, KIST, denial-of-service, backport from 0.3.3.2-alpha):
  2367. - Avoid adding the same channel twice in the KIST scheduler pending
  2368. list, which could lead to remote denial-of-service use-after-free
  2369. attacks against relays. Fixes bug 24700; bugfix on 0.3.2.1-alpha.
  2370. o Major features (denial-of-service mitigation, backport from 0.3.3.2-alpha):
  2371. - Give relays some defenses against the recent network overload. We
  2372. start with three defenses (default parameters in parentheses).
  2373. First: if a single client address makes too many concurrent
  2374. connections (>100), hang up on further connections. Second: if a
  2375. single client address makes circuits too quickly (more than 3 per
  2376. second, with an allowed burst of 90) while also having too many
  2377. connections open (3), refuse new create cells for the next while
  2378. (1-2 hours). Third: if a client asks to establish a rendezvous
  2379. point to you directly, ignore the request. These defenses can be
  2380. manually controlled by new torrc options, but relays will also
  2381. take guidance from consensus parameters, so there's no need to
  2382. configure anything manually. Implements ticket 24902.
  2383. o Major bugfixes (onion services, retry behavior, backport from 0.3.3.1-alpha):
  2384. - Fix an "off by 2" error in counting rendezvous failures on the
  2385. onion service side. While we thought we would stop the rendezvous
  2386. attempt after one failed circuit, we were actually making three
  2387. circuit attempts before giving up. Now switch to a default of 2,
  2388. and allow the consensus parameter "hs_service_max_rdv_failures" to
  2389. override. Fixes bug 24895; bugfix on 0.0.6.
  2390. - New-style (v3) onion services now obey the "max rendezvous circuit
  2391. attempts" logic. Previously they would make as many rendezvous
  2392. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  2393. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  2394. o Major bugfixes (protocol versions, backport from 0.3.3.2-alpha):
  2395. - Add Link protocol version 5 to the supported protocols list. Fixes
  2396. bug 25070; bugfix on 0.3.1.1-alpha.
  2397. o Major bugfixes (relay, backport from 0.3.3.1-alpha):
  2398. - Fix a set of false positives where relays would consider
  2399. connections to other relays as being client-only connections (and
  2400. thus e.g. deserving different link padding schemes) if those
  2401. relays fell out of the consensus briefly. Now we look only at the
  2402. initial handshake and whether the connection authenticated as a
  2403. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  2404. o Major bugfixes (scheduler, consensus, backport from 0.3.3.2-alpha):
  2405. - The scheduler subsystem was failing to promptly notice changes in
  2406. consensus parameters, making it harder to switch schedulers
  2407. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  2408. o Minor features (denial-of-service avoidance, backport from 0.3.3.2-alpha):
  2409. - Make our OOM handler aware of the geoip client history cache so it
  2410. doesn't fill up the memory. This check is important for IPv6 and
  2411. our DoS mitigation subsystem. Closes ticket 25122.
  2412. o Minor features (compatibility, OpenSSL, backport from 0.3.3.3-alpha):
  2413. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  2414. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  2415. since they neither disabled TLS 1.3 nor enabled any of the
  2416. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  2417. Closes ticket 24978.
  2418. o Minor features (geoip):
  2419. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  2420. Country database.
  2421. o Minor features (logging, diagnostic, backport from 0.3.3.2-alpha):
  2422. - When logging a failure to create an onion service's descriptor,
  2423. also log what the problem with the descriptor was. Diagnostic
  2424. for ticket 24972.
  2425. o Minor bugfix (channel connection, backport from 0.3.3.2-alpha):
  2426. - Use the actual observed address of an incoming relay connection,
  2427. not the canonical address of the relay from its descriptor, when
  2428. making decisions about how to handle the incoming connection.
  2429. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  2430. o Minor bugfixes (denial-of-service, backport from 0.3.3.3-alpha):
  2431. - Fix a possible crash on malformed consensus. If a consensus had
  2432. contained an unparseable protocol line, it could have made clients
  2433. and relays crash with a null-pointer exception. To exploit this
  2434. issue, however, an attacker would need to be able to subvert the
  2435. directory authority system. Fixes bug 25251; bugfix on
  2436. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  2437. o Minor bugfix (directory authority, backport from 0.3.3.2-alpha):
  2438. - Directory authorities, when refusing a descriptor from a rejected
  2439. relay, now explicitly tell the relay (in its logs) to set a valid
  2440. ContactInfo address and contact the bad-relays@ mailing list.
  2441. Fixes bug 25170; bugfix on 0.2.9.1.
  2442. o Minor bugfixes (build, rust, backport from 0.3.3.1-alpha):
  2443. - When building with Rust on OSX, link against libresolv, to work
  2444. around the issue at https://github.com/rust-lang/rust/issues/46797.
  2445. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  2446. o Minor bugfixes (onion services, backport from 0.3.3.2-alpha):
  2447. - Remove a BUG() statement when a client fetches an onion descriptor
  2448. that has a lower revision counter than the one in its cache. This
  2449. can happen in normal circumstances due to HSDir desync. Fixes bug
  2450. 24976; bugfix on 0.3.2.1-alpha.
  2451. o Minor bugfixes (logging, backport from 0.3.3.2-alpha):
  2452. - Don't treat inability to store a cached consensus object as a bug:
  2453. it can happen normally when we are out of disk space. Fixes bug
  2454. 24859; bugfix on 0.3.1.1-alpha.
  2455. o Minor bugfixes (performance, fragile-hardening, backport from 0.3.3.1-alpha):
  2456. - Improve the performance of our consensus-diff application code
  2457. when Tor is built with the --enable-fragile-hardening option set.
  2458. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  2459. o Minor bugfixes (OSX, backport from 0.3.3.1-alpha):
  2460. - Don't exit the Tor process if setrlimit() fails to change the file
  2461. limit (which can happen sometimes on some versions of OSX). Fixes
  2462. bug 21074; bugfix on 0.0.9pre5.
  2463. o Minor bugfixes (spec conformance, backport from 0.3.3.3-alpha):
  2464. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  2465. 0.2.9.4-alpha.
  2466. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  2467. bugfix on 0.2.9.4-alpha.
  2468. o Minor bugfixes (testing, backport from 0.3.3.1-alpha):
  2469. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  2470. 25005; bugfix on 0.3.2.7-rc.
  2471. o Minor bugfixes (v3 onion services, backport from 0.3.3.2-alpha):
  2472. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  2473. version, when deciding whether a consensus entry can support the
  2474. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  2475. bugfix on 0.3.2.1-alpha.
  2476. o Code simplification and refactoring (backport from 0.3.3.3-alpha):
  2477. - Update the "rust dependencies" submodule to be a project-level
  2478. repository, rather than a user repository. Closes ticket 25323.
  2479. o Documentation (backport from 0.3.3.1-alpha)
  2480. - Document that operators who run more than one relay or bridge are
  2481. expected to set MyFamily and ContactInfo correctly. Closes
  2482. ticket 24526.
  2483. Changes in version 0.3.3.3-alpha - 2018-03-03
  2484. Tor 0.3.3.3-alpha is the third alpha release for the 0.3.3.x series.
  2485. It includes an important security fix for a remote crash attack
  2486. against directory authorities tracked as TROVE-2018-001.
  2487. Additionally, with this release, we are upgrading the severity of a
  2488. bug fixed in 0.3.3.2-alpha. Bug 24700, which was fixed in
  2489. 0.3.3.2-alpha, can be remotely triggered in order to crash relays with
  2490. a use-after-free pattern. As such, we are now tracking that bug as
  2491. TROVE-2018-002 and CVE-2018-0491. This bug affected versions
  2492. 0.3.2.1-alpha through 0.3.2.9, as well as 0.3.3.1-alpha.
  2493. This release also fixes several minor bugs and annoyances from
  2494. earlier releases.
  2495. Relays running 0.3.2.x should upgrade to one of the versions released
  2496. today, for the fix to TROVE-2018-002. Directory authorities should
  2497. also upgrade. (Relays on earlier versions might want to update too for
  2498. the DoS mitigations.)
  2499. o Major bugfixes (denial-of-service, directory authority):
  2500. - Fix a protocol-list handling bug that could be used to remotely crash
  2501. directory authorities with a null-pointer exception. Fixes bug 25074;
  2502. bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2018-001 and
  2503. CVE-2018-0490.
  2504. o Minor features (compatibility, OpenSSL):
  2505. - Tor will now support TLS1.3 once OpenSSL 1.1.1 is released.
  2506. Previous versions of Tor would not have worked with OpenSSL 1.1.1,
  2507. since they neither disabled TLS 1.3 nor enabled any of the
  2508. ciphersuites it requires. Now we enable the TLS 1.3 ciphersuites.
  2509. Closes ticket 24978.
  2510. o Minor features (logging):
  2511. - Clarify the log messages produced when getrandom() or a related
  2512. entropy-generation mechanism gives an error. Closes ticket 25120.
  2513. o Minor features (testing):
  2514. - Add a "make test-rust" target to run the rust tests only. Closes
  2515. ticket 25071.
  2516. o Minor bugfixes (denial-of-service):
  2517. - Fix a possible crash on malformed consensus. If a consensus had
  2518. contained an unparseable protocol line, it could have made clients
  2519. and relays crash with a null-pointer exception. To exploit this
  2520. issue, however, an attacker would need to be able to subvert the
  2521. directory authority system. Fixes bug 25251; bugfix on
  2522. 0.2.9.4-alpha. Also tracked as TROVE-2018-004.
  2523. o Minor bugfixes (DoS mitigation):
  2524. - Add extra safety checks when refilling the circuit creation bucket
  2525. to ensure we never set a value above the allowed maximum burst.
  2526. Fixes bug 25202; bugfix on 0.3.3.2-alpha.
  2527. - When a new consensus arrives, don't update our DoS-mitigation
  2528. parameters if we aren't a public relay. Fixes bug 25223; bugfix
  2529. on 0.3.3.2-alpha.
  2530. o Minor bugfixes (man page, SocksPort):
  2531. - Remove dead code from the old "SocksSocket" option, and rename
  2532. SocksSocketsGroupWritable to UnixSocksGroupWritable. The old option
  2533. still works, but is deprecated. Fixes bug 24343; bugfix on 0.2.6.3.
  2534. o Minor bugfixes (performance):
  2535. - Reduce the number of circuits that will be opened at once during
  2536. the circuit build timeout phase. This is done by increasing the
  2537. idle timeout to 3 minutes, and lowering the maximum number of
  2538. concurrent learning circuits to 10. Fixes bug 24769; bugfix
  2539. on 0.3.1.1-alpha.
  2540. o Minor bugfixes (spec conformance):
  2541. - Forbid "-0" as a protocol version. Fixes part of bug 25249; bugfix on
  2542. 0.2.9.4-alpha.
  2543. - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
  2544. bugfix on 0.2.9.4-alpha.
  2545. o Minor bugfixes (spec conformance, rust):
  2546. - Resolve a denial-of-service issue caused by an infinite loop in
  2547. the rust protover code. Fixes bug 25250, bugfix on 0.3.3.1-alpha.
  2548. Also tracked as TROVE-2018-003.
  2549. o Code simplification and refactoring:
  2550. - Update the "rust dependencies" submodule to be a project-level
  2551. repository, rather than a user repository. Closes ticket 25323.
  2552. Changes in version 0.3.3.2-alpha - 2018-02-10
  2553. Tor 0.3.3.2-alpha is the second alpha in the 0.3.3.x series. It
  2554. introduces a mechanism to handle the high loads that many relay
  2555. operators have been reporting recently. It also fixes several bugs in
  2556. older releases. If this new code proves reliable, we plan to backport
  2557. it to older supported release series.
  2558. o Major features (denial-of-service mitigation):
  2559. - Give relays some defenses against the recent network overload. We
  2560. start with three defenses (default parameters in parentheses).
  2561. First: if a single client address makes too many concurrent
  2562. connections (>100), hang up on further connections. Second: if a
  2563. single client address makes circuits too quickly (more than 3 per
  2564. second, with an allowed burst of 90) while also having too many
  2565. connections open (3), refuse new create cells for the next while
  2566. (1-2 hours). Third: if a client asks to establish a rendezvous
  2567. point to you directly, ignore the request. These defenses can be
  2568. manually controlled by new torrc options, but relays will also
  2569. take guidance from consensus parameters, so there's no need to
  2570. configure anything manually. Implements ticket 24902.
  2571. o Major bugfixes (netflow padding):
  2572. - Stop adding unneeded channel padding right after we finish
  2573. flushing to a connection that has been trying to flush for many
  2574. seconds. Instead, treat all partial or complete flushes as
  2575. activity on the channel, which will defer the time until we need
  2576. to add padding. This fix should resolve confusing and scary log
  2577. messages like "Channel padding timeout scheduled 221453ms in the
  2578. past." Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  2579. o Major bugfixes (protocol versions):
  2580. - Add Link protocol version 5 to the supported protocols list. Fixes
  2581. bug 25070; bugfix on 0.3.1.1-alpha.
  2582. o Major bugfixes (scheduler, consensus):
  2583. - The scheduler subsystem was failing to promptly notice changes in
  2584. consensus parameters, making it harder to switch schedulers
  2585. network-wide. Fixes bug 24975; bugfix on 0.3.2.1-alpha.
  2586. o Minor features (denial-of-service avoidance):
  2587. - Make our OOM handler aware of the geoip client history cache so it
  2588. doesn't fill up the memory. This check is important for IPv6 and
  2589. our DoS mitigation subsystem. Closes ticket 25122.
  2590. o Minor features (directory authority):
  2591. - When directory authorities are unable to add signatures to a
  2592. pending consensus, log the reason why. Closes ticket 24849.
  2593. o Minor features (geoip):
  2594. - Update geoip and geoip6 to the February 7 2018 Maxmind GeoLite2
  2595. Country database.
  2596. o Minor features (logging, diagnostic):
  2597. - When logging a failure to create an onion service's descriptor,
  2598. also log what the problem with the descriptor was. Diagnostic for
  2599. ticket 24972.
  2600. o Minor bugfix (channel connection):
  2601. - Use the actual observed address of an incoming relay connection,
  2602. not the canonical address of the relay from its descriptor, when
  2603. making decisions about how to handle the incoming connection.
  2604. Fixes bug 24952; bugfix on 0.2.4.11-alpha. Patch by "ffmancera".
  2605. o Minor bugfix (directory authority):
  2606. - Directory authorities, when refusing a descriptor from a rejected
  2607. relay, now explicitly tell the relay (in its logs) to set a valid
  2608. ContactInfo address and contact the bad-relays@ mailing list.
  2609. Fixes bug 25170; bugfix on 0.2.9.1.
  2610. o Minor bugfixes (all versions of Tor):
  2611. - Use the "misspell" tool to detect and fix typos throughout the
  2612. source code. Fixes bug 23650; bugfix on various versions of Tor.
  2613. Patch from Deepesh Pathak.
  2614. o Minor bugfixes (circuit, cannibalization):
  2615. - Don't cannibalize preemptively-built circuits if we no longer
  2616. recognize their first hop. This situation can happen if our Guard
  2617. relay went off the consensus after the circuit was created. Fixes
  2618. bug 24469; bugfix on 0.0.6.
  2619. o Minor bugfixes (correctness):
  2620. - Remove a nonworking, unnecessary check to see whether a circuit
  2621. hop's identity digest was set when the circuit failed. Fixes bug
  2622. 24927; bugfix on 0.2.4.4-alpha.
  2623. o Minor bugfixes (logging):
  2624. - Don't treat inability to store a cached consensus object as a bug:
  2625. it can happen normally when we are out of disk space. Fixes bug
  2626. 24859; bugfix on 0.3.1.1-alpha.
  2627. - Fix a (mostly harmless) race condition when invoking
  2628. LOG_PROTOCOL_WARN message from a subthread while the torrc options
  2629. are changing. Fixes bug 23954; bugfix on 0.1.1.9-alpha.
  2630. o Minor bugfixes (onion services):
  2631. - Remove a BUG() statement when a client fetches an onion descriptor
  2632. that has a lower revision counter than the one in its cache. This
  2633. can happen in normal circumstances due to HSDir desync. Fixes bug
  2634. 24976; bugfix on 0.3.2.1-alpha.
  2635. - If we are configured to offer a single onion service, don't log
  2636. long-term established one hop rendezvous points in the heartbeat.
  2637. Fixes bug 25116; bugfix on 0.2.9.6-rc.
  2638. o Minor bugfixes (performance):
  2639. - Avoid calling protocol_list_supports_protocol() from inside tight
  2640. loops when running with cached routerinfo_t objects. Instead,
  2641. summarize the relevant protocols as flags in the routerinfo_t, as
  2642. we do for routerstatus_t objects. This change simplifies our code
  2643. a little, and saves a large amount of short-term memory allocation
  2644. operations. Fixes bug 25008; bugfix on 0.2.9.4-alpha.
  2645. o Minor bugfixes (Rust FFI):
  2646. - Fix a minor memory leak which would happen whenever the C code
  2647. would call the Rust implementation of
  2648. protover_get_supported_protocols(). This was due to the C version
  2649. returning a static string, whereas the Rust version newly allocated
  2650. a CString to pass across the FFI boundary. Consequently, the C
  2651. code was not expecting to need to free() what it was given. Fixes
  2652. bug 25127; bugfix on 0.3.2.1-alpha.
  2653. o Minor bugfixes (scheduler, KIST):
  2654. - Avoid adding the same channel twice in the KIST scheduler pending
  2655. list, which would waste CPU cycles. Fixes bug 24700; bugfix
  2656. on 0.3.2.1-alpha.
  2657. o Minor bugfixes (unit test, monotonic time):
  2658. - Increase a constant (1msec to 10msec) in the monotonic time test
  2659. that makes sure the nsec/usec/msec times read are synchronized.
  2660. This change was needed to accommodate slow systems like armel or
  2661. when the clock_gettime() is not a VDSO on the running kernel.
  2662. Fixes bug 25113; bugfix on 0.2.9.1.
  2663. o Minor bugfixes (v3 onion services):
  2664. - Look at the "HSRend" protocol version, not the "HSDir" protocol
  2665. version, when deciding whether a consensus entry can support the
  2666. v3 onion service protocol as a rendezvous point. Fixes bug 25105;
  2667. bugfix on 0.3.2.1-alpha.
  2668. o Code simplification and refactoring:
  2669. - Remove the unused nodelist_recompute_all_hsdir_indices(). Closes
  2670. ticket 25108.
  2671. - Remove a series of counters used to track circuit extend attempts
  2672. and connection status but that in reality we aren't using for
  2673. anything other than stats logged by a SIGUSR1 signal. Closes
  2674. ticket 25163.
  2675. o Documentation (man page):
  2676. - The HiddenServiceVersion torrc option accepts only one number:
  2677. either version 2 or 3. Closes ticket 25026; bugfix
  2678. on 0.3.2.2-alpha.
  2679. Changes in version 0.3.3.1-alpha - 2018-01-25
  2680. Tor 0.3.3.1-alpha is the first release in the 0.3.3.x series. It adds
  2681. several new features to Tor, including several improvements to
  2682. bootstrapping, and support for an experimental "vanguards" feature to
  2683. resist guard discovery attacks. This series also includes better
  2684. support for applications that need to embed Tor or manage v3
  2685. onion services.
  2686. o Major features (embedding):
  2687. - There is now a documented stable API for programs that need to
  2688. embed Tor. See tor_api.h for full documentation and known bugs.
  2689. Closes ticket 23684.
  2690. - Tor now has support for restarting in the same process.
  2691. Controllers that run Tor using the "tor_api.h" interface can now
  2692. restart Tor after Tor has exited. This support is incomplete,
  2693. however: we fixed crash bugs that prevented it from working at
  2694. all, but many bugs probably remain, including a possibility of
  2695. security issues. Implements ticket 24581.
  2696. o Major features (IPv6, directory documents):
  2697. - Add consensus method 27, which adds IPv6 ORPorts to the microdesc
  2698. consensus. This information makes it easier for IPv6 clients to
  2699. bootstrap and choose reachable entry guards. Implements ticket 23826.
  2700. - Add consensus method 28, which removes IPv6 ORPorts from
  2701. microdescriptors. Now that the consensus contains IPv6 ORPorts, they
  2702. are redundant in microdescs. This change will be used by Tor clients
  2703. on 0.2.8.x and later. (That is to say, with all Tor clients that
  2704. have IPv6 bootstrap and guard support.) Implements ticket 23828.
  2705. - Expand the documentation for AuthDirHasIPv6Connectivity when it is
  2706. set by different numbers of authorities. Fixes 23870
  2707. on 0.2.4.1-alpha.
  2708. o Major features (onion service v3, control port):
  2709. - The control port now supports commands and events for v3 onion
  2710. services. It is now possible to create ephemeral v3 services using
  2711. ADD_ONION. Additionally, several events (HS_DESC, HS_DESC_CONTENT,
  2712. CIRC and CIRC_MINOR) and commands (GETINFO, HSPOST, ADD_ONION and
  2713. DEL_ONION) have been extended to support v3 onion services. Closes
  2714. ticket 20699; implements proposal 284.
  2715. o Major features (onion services):
  2716. - Provide torrc options to pin the second and third hops of onion
  2717. service circuits to a list of nodes. The option HSLayer2Guards
  2718. pins the second hop, and the option HSLayer3Guards pins the third
  2719. hop. These options are for use in conjunction with experiments
  2720. with "vanguards" for preventing guard enumeration attacks. Closes
  2721. ticket 13837.
  2722. o Major features (rust, portability, experimental):
  2723. - Tor now ships with an optional implementation of one of its
  2724. smaller modules (protover.c) in the Rust programming language. To
  2725. try it out, install a Rust build environment, and configure Tor
  2726. with "--enable-rust --enable-cargo-online-mode". This should not
  2727. cause any user-visible changes, but should help us gain more
  2728. experience with Rust, and plan future Rust integration work.
  2729. Implementation by Chelsea Komlo. Closes ticket 22840.
  2730. o Minor features (storage, configuration):
  2731. - Users can store cached directory documents somewhere other than
  2732. the DataDirectory by using the CacheDirectory option. Similarly,
  2733. the storage location for relay's keys can be overridden with the
  2734. KeyDirectory option. Closes ticket 22703.
  2735. o Major features (v3 onion services, ipv6):
  2736. - When v3 onion service clients send introduce cells, they now
  2737. include the IPv6 address of the rendezvous point, if it has one.
  2738. Current v3 onion services running 0.3.2 ignore IPv6 addresses, but
  2739. in future Tor versions, IPv6-only v3 single onion services will be
  2740. able to use IPv6 addresses to connect directly to the rendezvous
  2741. point. Closes ticket 23577. Patch by Neel Chauhan.
  2742. o Major bugfixes (onion services, retry behavior):
  2743. - Fix an "off by 2" error in counting rendezvous failures on the
  2744. onion service side. While we thought we would stop the rendezvous
  2745. attempt after one failed circuit, we were actually making three
  2746. circuit attempts before giving up. Now switch to a default of 2,
  2747. and allow the consensus parameter "hs_service_max_rdv_failures" to
  2748. override. Fixes bug 24895; bugfix on 0.0.6.
  2749. - New-style (v3) onion services now obey the "max rendezvous circuit
  2750. attempts" logic. Previously they would make as many rendezvous
  2751. circuit attempts as they could fit in the MAX_REND_TIMEOUT second
  2752. window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
  2753. o Major bugfixes (relays):
  2754. - Fix a set of false positives where relays would consider
  2755. connections to other relays as being client-only connections (and
  2756. thus e.g. deserving different link padding schemes) if those
  2757. relays fell out of the consensus briefly. Now we look only at the
  2758. initial handshake and whether the connection authenticated as a
  2759. relay. Fixes bug 24898; bugfix on 0.3.1.1-alpha.
  2760. o Minor feature (IPv6):
  2761. - Make IPv6-only clients wait for microdescs for relays, even if we
  2762. were previously using descriptors (or were using them as a bridge)
  2763. and have a cached descriptor for them. Implements ticket 23827.
  2764. - When a consensus has IPv6 ORPorts, make IPv6-only clients use
  2765. them, rather than waiting to download microdescriptors.
  2766. Implements ticket 23827.
  2767. o Minor features (cleanup):
  2768. - Tor now deletes the CookieAuthFile and ExtORPortCookieAuthFile
  2769. when it stops. Closes ticket 23271.
  2770. o Minor features (defensive programming):
  2771. - Most of the functions in Tor that free objects have been replaced
  2772. with macros that free the objects and set the corresponding
  2773. pointers to NULL. This change should help prevent a large class of
  2774. dangling pointer bugs. Closes ticket 24337.
  2775. - Where possible, the tor_free() macro now only evaluates its input
  2776. once. Part of ticket 24337.
  2777. - Check that microdesc ed25519 ids are non-zero in
  2778. node_get_ed25519_id() before returning them. Implements ticket
  2779. 24001, patch by "aruna1234".
  2780. o Minor features (embedding):
  2781. - Tor can now start with a preauthenticated control connection
  2782. created by the process that launched it. This feature is meant for
  2783. use by programs that want to launch and manage a Tor process
  2784. without allowing other programs to manage it as well. For more
  2785. information, see the __OwningControllerFD option documented in
  2786. control-spec.txt. Closes ticket 23900.
  2787. - On most errors that would cause Tor to exit, it now tries to
  2788. return from the tor_main() function, rather than calling the
  2789. system exit() function. Most users won't notice a difference here,
  2790. but it should be significant for programs that run Tor inside
  2791. a separate thread: they should now be able to survive Tor's exit
  2792. conditions rather than having Tor shut down the entire process.
  2793. Closes ticket 23848.
  2794. - Applications that want to embed Tor can now tell Tor not to
  2795. register any of its own POSIX signal handlers, using the
  2796. __DisableSignalHandlers option. Closes ticket 24588.
  2797. o Minor features (fallback directory list):
  2798. - Avoid selecting fallbacks that change their IP addresses too
  2799. often. Select more fallbacks by ignoring the Guard flag, and
  2800. allowing lower cutoffs for the Running and V2Dir flags. Also allow
  2801. a lower bandwidth, and a higher number of fallbacks per operator
  2802. (5% of the list). Implements ticket 24785.
  2803. - Update the fallback whitelist and blacklist based on opt-ins and
  2804. relay changes. Closes tickets 22321, 24678, 22527, 24135,
  2805. and 24695.
  2806. o Minor features (fallback directory mirror configuration):
  2807. - Add a nickname to each fallback in a C comment. This makes it
  2808. easier for operators to find their relays, and allows stem to use
  2809. nicknames to identify fallbacks. Implements ticket 24600.
  2810. - Add a type and version header to the fallback directory mirror
  2811. file. Also add a delimiter to the end of each fallback entry. This
  2812. helps external parsers like stem and Relay Search. Implements
  2813. ticket 24725.
  2814. - Add an extrainfo cache flag for each fallback in a C comment. This
  2815. allows stem to use fallbacks to fetch extra-info documents, rather
  2816. than using authorities. Implements ticket 22759.
  2817. - Add the generateFallbackDirLine.py script for automatically
  2818. generating fallback directory mirror lines from relay fingerprints.
  2819. No more typos! Add the lookupFallbackDirContact.py script for
  2820. automatically looking up operator contact info from relay
  2821. fingerprints. Implements ticket 24706, patch by teor and atagar.
  2822. - Reject any fallback directory mirror that serves an expired
  2823. consensus. Implements ticket 20942, patch by "minik".
  2824. - Remove commas and equals signs from external string inputs to the
  2825. fallback list. This avoids format confusion attacks. Implements
  2826. ticket 24726.
  2827. - Remove the "weight=10" line from fallback directory mirror
  2828. entries. Ticket 24681 will maintain the current fallback weights
  2829. by changing Tor's default fallback weight to 10. Implements
  2830. ticket 24679.
  2831. - Stop logging excessive information about fallback netblocks.
  2832. Implements ticket 24791.
  2833. o Minor features (forward-compatibility):
  2834. - If a relay supports some link authentication protocol that we do
  2835. not recognize, then include that relay's ed25519 key when telling
  2836. other relays to extend to it. Previously, we treated future
  2837. versions as if they were too old to support ed25519 link
  2838. authentication. Closes ticket 20895.
  2839. o Minor features (heartbeat):
  2840. - Add onion service information to our heartbeat logs, displaying
  2841. stats about the activity of configured onion services. Closes
  2842. ticket 24896.
  2843. o Minor features (instrumentation, development):
  2844. - Add the MainloopStats option to allow developers to get
  2845. instrumentation information from the main event loop via the
  2846. heartbeat messages. We hope to use this to improve Tor's behavior
  2847. when it's trying to sleep. Closes ticket 24605.
  2848. o Minor features (log messages):
  2849. - Improve a warning message that happens when we fail to re-parse an
  2850. old router because of an expired certificate. Closes ticket 20020.
  2851. - Make the log more quantitative when we hit MaxMemInQueues
  2852. threshold exposing some values. Closes ticket 24501.
  2853. o Minor features (logging, android):
  2854. - Added support for the Android logging subsystem. Closes
  2855. ticket 24362.
  2856. o Minor features (performance):
  2857. - Support predictive circuit building for onion service circuits
  2858. with multiple layers of guards. Closes ticket 23101.
  2859. - Use stdatomic.h where available, rather than mutexes, to implement
  2860. atomic_counter_t. Closes ticket 23953.
  2861. o Minor features (performance, 32-bit):
  2862. - Improve performance on 32-bit systems by avoiding 64-bit division
  2863. when calculating the timestamp in milliseconds for channel padding
  2864. computations. Implements ticket 24613.
  2865. - Improve performance on 32-bit systems by avoiding 64-bit division
  2866. when timestamping cells and buffer chunks for OOM calculations.
  2867. Implements ticket 24374.
  2868. o Minor features (performance, OSX, iOS):
  2869. - Use the mach_approximate_time() function (when available) to
  2870. implement coarse monotonic time. Having a coarse time function
  2871. should avoid a large number of system calls, and improve
  2872. performance slightly, especially under load. Closes ticket 24427.
  2873. o Minor features (performance, windows):
  2874. - Improve performance on Windows Vista and Windows 7 by adjusting
  2875. TCP send window size according to the recommendation from
  2876. SIO_IDEAL_SEND_BACKLOG_QUERY. Closes ticket 22798. Patch
  2877. from Vort.
  2878. o Major features (relay):
  2879. - Implement an option, ReducedExitPolicy, to allow an Tor exit relay
  2880. operator to use a more reasonable ("reduced") exit policy, rather
  2881. than the default one. If you want to run an exit node without
  2882. thinking too hard about which ports to allow, this one is for you.
  2883. Closes ticket 13605. Patch from Neel Chauhan.
  2884. o Minor features (testing, debugging, embedding):
  2885. - For development purposes, Tor now has a mode in which it runs for
  2886. a few seconds, then stops, and starts again without exiting the
  2887. process. This mode is meant to help us debug various issues with
  2888. ticket 23847. To use this feature, compile with
  2889. --enable-restart-debugging, and set the TOR_DEBUG_RESTART
  2890. environment variable. This is expected to crash a lot, and is
  2891. really meant for developers only. It will likely be removed in a
  2892. future release. Implements ticket 24583.
  2893. o Minor bugfix (network IPv6 test):
  2894. - Tor's test scripts now check if "ping -6 ::1" works when the user
  2895. runs "make test-network-all". Fixes bug 24677; bugfix on
  2896. 0.2.9.3-alpha. Patch by "ffmancera".
  2897. o Minor bugfixes (build, rust):
  2898. - Fix output of autoconf checks to display success messages for Rust
  2899. dependencies and a suitable rustc compiler version. Fixes bug
  2900. 24612; bugfix on 0.3.1.3-alpha.
  2901. - When building with Rust on OSX, link against libresolv, to work
  2902. around the issue at https://github.com/rust-lang/rust/issues/46797.
  2903. Fixes bug 24652; bugfix on 0.3.1.1-alpha.
  2904. - Don't pass the --quiet option to cargo: it seems to suppress some
  2905. errors, which is not what we want to do when building. Fixes bug
  2906. 24518; bugfix on 0.3.1.7.
  2907. - Build correctly when building from outside Tor's source tree with
  2908. the TOR_RUST_DEPENDENCIES option set. Fixes bug 22768; bugfix
  2909. on 0.3.1.7.
  2910. o Minor bugfixes (directory authorities, IPv6):
  2911. - When creating a routerstatus (vote) from a routerinfo (descriptor),
  2912. set the IPv6 address to the unspecified IPv6 address, and
  2913. explicitly initialize the port to zero. Fixes bug 24488; bugfix
  2914. on 0.2.4.1-alpha.
  2915. o Minor bugfixes (fallback directory mirrors):
  2916. - Make updateFallbackDirs.py search harder for python. (Some OSs
  2917. don't put it in /usr/bin.) Fixes bug 24708; bugfix
  2918. on 0.2.8.1-alpha.
  2919. o Minor bugfixes (hibernation, bandwidth accounting, shutdown):
  2920. - When hibernating, close connections normally and allow them to
  2921. flush. Fixes bug 23571; bugfix on 0.2.4.7-alpha. Also fixes
  2922. bug 7267.
  2923. - Do not attempt to launch self-reachability tests when entering
  2924. hibernation. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  2925. - Resolve several bugs related to descriptor fetching on bridge
  2926. clients with bandwidth accounting enabled. (This combination is
  2927. not recommended!) Fixes a case of bug 12062; bugfix
  2928. on 0.2.0.3-alpha.
  2929. - When hibernating, do not attempt to launch DNS checks. Fixes a
  2930. case of bug 12062; bugfix on 0.1.2.2-alpha.
  2931. - When hibernating, do not try to upload or download descriptors.
  2932. Fixes a case of bug 12062; bugfix on 0.0.9pre5.
  2933. o Minor bugfixes (IPv6, bridges):
  2934. - Tor now always sets IPv6 preferences for bridges. Fixes bug 24573;
  2935. bugfix on 0.2.8.2-alpha.
  2936. - Tor now sets IPv6 address in the routerstatus as well as in the
  2937. router descriptors when updating addresses for a bridge. Closes
  2938. ticket 24572; bugfix on 0.2.4.5-alpha. Patch by "ffmancera".
  2939. o Minor bugfixes (linux seccomp2 sandbox):
  2940. - When running with the sandbox enabled, reload configuration files
  2941. correctly even when %include was used. Previously we would crash.
  2942. Fixes bug 22605; bugfix on 0.3.1. Patch from Daniel Pinto.
  2943. o Minor bugfixes (memory leaks):
  2944. - Avoid possible at-exit memory leaks related to use of Libevent's
  2945. event_base_once() function. (This function tends to leak memory if
  2946. the event_base is closed before the event fires.) Fixes bug 24584;
  2947. bugfix on 0.2.8.1-alpha.
  2948. - Fix a harmless memory leak in tor-resolve. Fixes bug 24582; bugfix
  2949. on 0.2.1.1-alpha.
  2950. o Minor bugfixes (OSX):
  2951. - Don't exit the Tor process if setrlimit() fails to change the file
  2952. limit (which can happen sometimes on some versions of OSX). Fixes
  2953. bug 21074; bugfix on 0.0.9pre5.
  2954. o Minor bugfixes (performance, fragile-hardening):
  2955. - Improve the performance of our consensus-diff application code
  2956. when Tor is built with the --enable-fragile-hardening option set.
  2957. Fixes bug 24826; bugfix on 0.3.1.1-alpha.
  2958. o Minor bugfixes (performance, timeouts):
  2959. - Consider circuits for timeout as soon as they complete a hop. This
  2960. is more accurate than applying the timeout in
  2961. circuit_expire_building() because that function is only called
  2962. once per second, which is now too slow for typical timeouts on the
  2963. current network. Fixes bug 23114; bugfix on 0.2.2.2-alpha.
  2964. - Use onion service circuits (and other circuits longer than 3 hops)
  2965. to calculate a circuit build timeout. Previously, Tor only
  2966. calculated its build timeout based on circuits that planned to be
  2967. exactly 3 hops long. With this change, we include measurements
  2968. from all circuits at the point where they complete their third
  2969. hop. Fixes bug 23100; bugfix on 0.2.2.2-alpha.
  2970. o Minor bugfixes (testing):
  2971. - Give out Exit flags in bootstrapping networks. Fixes bug 24137;
  2972. bugfix on 0.2.3.1-alpha.
  2973. - Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
  2974. 25005; bugfix on 0.3.2.7-rc.
  2975. o Code simplification and refactoring:
  2976. - Remove /usr/athena from search path in configure.ac. Closes
  2977. ticket 24363.
  2978. - Remove duplicate code in node_has_curve25519_onion_key() and
  2979. node_get_curve25519_onion_key(), and add a check for a zero
  2980. microdesc curve25519 onion key. Closes ticket 23966, patch by
  2981. "aruna1234" and teor.
  2982. - Rewrite channel_rsa_id_group_set_badness to reduce temporary
  2983. memory allocations with large numbers of OR connections (e.g.
  2984. relays). Closes ticket 24119.
  2985. - Separate the function that deletes ephemeral files when Tor
  2986. stops gracefully.
  2987. - Small changes to Tor's buf_t API to make it suitable for use as a
  2988. general-purpose safe string constructor. Closes ticket 22342.
  2989. - Switch -Wnormalized=id to -Wnormalized=nfkc in configure.ac to
  2990. avoid source code identifier confusion. Closes ticket 24467.
  2991. - The tor_git_revision[] constant no longer needs to be redeclared
  2992. by everything that links against the rest of Tor. Done as part of
  2993. ticket 23845, to simplify our external API.
  2994. - We make extend_info_from_node() use node_get_curve25519_onion_key()
  2995. introduced in ticket 23577 to access the curve25519 public keys
  2996. rather than accessing it directly. Closes ticket 23760. Patch by
  2997. Neel Chauhan.
  2998. - Add a function to log channels' scheduler state changes to aid
  2999. debugging efforts. Closes ticket 24531.
  3000. o Documentation:
  3001. - Add documentation on how to build tor with Rust dependencies
  3002. without having to be online. Closes ticket 22907; bugfix
  3003. on 0.3.0.3-alpha.
  3004. - Clarify the behavior of RelayBandwidth{Rate,Burst} with client
  3005. traffic. Closes ticket 24318.
  3006. - Document that OutboundBindAddress doesn't apply to DNS requests.
  3007. Closes ticket 22145. Patch from Aruna Maurya.
  3008. - Document that operators who run more than one relay or bridge are
  3009. expected to set MyFamily and ContactInfo correctly. Closes
  3010. ticket 24526.
  3011. o Code simplification and refactoring (channels):
  3012. - Remove the incoming and outgoing channel queues. These were never
  3013. used, but still took up a step in our fast path.
  3014. - The majority of the channel unit tests have been rewritten and the
  3015. code coverage has now been raised to 83.6% for channel.c. Closes
  3016. ticket 23709.
  3017. - Remove other dead code from the channel subsystem: All together,
  3018. this cleanup has removed more than 1500 lines of code overall and
  3019. adding very little except for unit test.
  3020. o Code simplification and refactoring (circuit rendezvous):
  3021. - Split the client-side rendezvous circuit lookup into two
  3022. functions: one that returns only established circuits and another
  3023. that returns all kinds of circuits. Closes ticket 23459.
  3024. o Code simplification and refactoring (controller):
  3025. - Make most of the variables in networkstatus_getinfo_by_purpose()
  3026. const. Implements ticket 24489.
  3027. Changes in version 0.3.2.9 - 2018-01-09
  3028. Tor 0.3.2.9 is the first stable release in the 0.3.2 series.
  3029. The 0.3.2 series includes our long-anticipated new onion service
  3030. design, with numerous security features. (For more information, see
  3031. our blog post at https://blog.torproject.org/fall-harvest.) We also
  3032. have a new circuit scheduler algorithm for improved performance on
  3033. relays everywhere (see https://blog.torproject.org/kist-and-tell),
  3034. along with many smaller features and bugfixes.
  3035. Per our stable release policy, we plan to support each stable release
  3036. series for at least the next nine months, or for three months after
  3037. the first stable release of the next series: whichever is longer. If
  3038. you need a release with long-term support, we recommend that you stay
  3039. with the 0.2.9 series.
  3040. Below is a list of the changes since 0.3.2.8-rc. For a list of all
  3041. changes since 0.3.1, see the ReleaseNotes file.
  3042. o Minor features (fallback directory mirrors):
  3043. - The fallback directory list has been re-generated based on the
  3044. current status of the network. Tor uses fallback directories to
  3045. bootstrap when it doesn't yet have up-to-date directory
  3046. information. Closes ticket 24801.
  3047. - Make the default DirAuthorityFallbackRate 0.1, so that clients
  3048. prefer to bootstrap from fallback directory mirrors. This is a
  3049. follow-up to 24679, which removed weights from the default
  3050. fallbacks. Implements ticket 24681.
  3051. o Minor features (geoip):
  3052. - Update geoip and geoip6 to the January 5 2018 Maxmind GeoLite2
  3053. Country database.
  3054. o Minor bugfixes (address selection):
  3055. - When the fascist_firewall_choose_address_ functions don't find a
  3056. reachable address, set the returned address to the null address
  3057. and port. This is a precautionary measure, because some callers do
  3058. not check the return value. Fixes bug 24736; bugfix
  3059. on 0.2.8.2-alpha.
  3060. o Minor bugfixes (compilation):
  3061. - Resolve a few shadowed-variable warnings in the onion service
  3062. code. Fixes bug 24634; bugfix on 0.3.2.1-alpha.
  3063. o Minor bugfixes (portability, msvc):
  3064. - Fix a bug in the bit-counting parts of our timing-wheel code on
  3065. MSVC. (Note that MSVC is still not a supported build platform, due
  3066. to cryptographic timing channel risks.) Fixes bug 24633; bugfix
  3067. on 0.2.9.1-alpha.
  3068. Changes in version 0.3.2.8-rc - 2017-12-21
  3069. Tor 0.3.2.8-rc fixes a pair of bugs in the KIST and KISTLite
  3070. schedulers that had led servers under heavy load to overload their
  3071. outgoing connections. All relay operators running earlier 0.3.2.x
  3072. versions should upgrade. This version also includes a mitigation for
  3073. over-full DESTROY queues leading to out-of-memory conditions: if it
  3074. works, we will soon backport it to earlier release series.
  3075. This is the second release candidate in the 0.3.2 series. If we find
  3076. no new bugs or regression here, then the first stable 0.3.2 release
  3077. will be nearly identical to this.
  3078. o Major bugfixes (KIST, scheduler):
  3079. - The KIST scheduler did not correctly account for data already
  3080. enqueued in each connection's send socket buffer, particularly in
  3081. cases when the TCP/IP congestion window was reduced between
  3082. scheduler calls. This situation lead to excessive per-connection
  3083. buffering in the kernel, and a potential memory DoS. Fixes bug
  3084. 24665; bugfix on 0.3.2.1-alpha.
  3085. o Minor features (geoip):
  3086. - Update geoip and geoip6 to the December 6 2017 Maxmind GeoLite2
  3087. Country database.
  3088. o Minor bugfixes (hidden service v3):
  3089. - Bump hsdir_spread_store parameter from 3 to 4 in order to increase
  3090. the probability of reaching a service for a client missing
  3091. microdescriptors. Fixes bug 24425; bugfix on 0.3.2.1-alpha.
  3092. o Minor bugfixes (memory usage):
  3093. - When queuing DESTROY cells on a channel, only queue the circuit-id
  3094. and reason fields: not the entire 514-byte cell. This fix should
  3095. help mitigate any bugs or attacks that fill up these queues, and
  3096. free more RAM for other uses. Fixes bug 24666; bugfix
  3097. on 0.2.5.1-alpha.
  3098. o Minor bugfixes (scheduler, KIST):
  3099. - Use a sane write limit for KISTLite when writing onto a connection
  3100. buffer instead of using INT_MAX and shoving as much as it can.
  3101. Because the OOM handler cleans up circuit queues, we are better
  3102. off at keeping them in that queue instead of the connection's
  3103. buffer. Fixes bug 24671; bugfix on 0.3.2.1-alpha.
  3104. Changes in version 0.3.2.7-rc - 2017-12-14
  3105. Tor 0.3.2.7-rc fixes various bugs in earlier versions of Tor,
  3106. including some that could affect reliability or correctness.
  3107. This is the first release candidate in the 0.3.2 series. If we find no
  3108. new bugs or regression here, then the first stable 0.3.2. release will
  3109. be nearly identical to this.
  3110. o Major bugfixes (circuit prediction):
  3111. - Fix circuit prediction logic so that a client doesn't treat a port
  3112. as being "handled" by a circuit if that circuit already has
  3113. isolation settings on it. This change should make Tor clients more
  3114. responsive by improving their chances of having a pre-created
  3115. circuit ready for use when a request arrives. Fixes bug 18859;
  3116. bugfix on 0.2.3.3-alpha.
  3117. o Minor features (logging):
  3118. - Provide better warnings when the getrandom() syscall fails. Closes
  3119. ticket 24500.
  3120. o Minor features (portability):
  3121. - Tor now compiles correctly on arm64 with libseccomp-dev installed.
  3122. (It doesn't yet work with the sandbox enabled.) Closes
  3123. ticket 24424.
  3124. o Minor bugfixes (bridge clients, bootstrap):
  3125. - Retry directory downloads when we get our first bridge descriptor
  3126. during bootstrap or while reconnecting to the network. Keep
  3127. retrying every time we get a bridge descriptor, until we have a
  3128. reachable bridge. Fixes part of bug 24367; bugfix on 0.2.0.3-alpha.
  3129. - Stop delaying bridge descriptor fetches when we have cached bridge
  3130. descriptors. Instead, only delay bridge descriptor fetches when we
  3131. have at least one reachable bridge. Fixes part of bug 24367;
  3132. bugfix on 0.2.0.3-alpha.
  3133. - Stop delaying directory fetches when we have cached bridge
  3134. descriptors. Instead, only delay bridge descriptor fetches when
  3135. all our bridges are definitely unreachable. Fixes part of bug
  3136. 24367; bugfix on 0.2.0.3-alpha.
  3137. o Minor bugfixes (compilation):
  3138. - Fix a signed/unsigned comparison warning introduced by our fix to
  3139. TROVE-2017-009. Fixes bug 24480; bugfix on 0.2.5.16.
  3140. o Minor bugfixes (correctness):
  3141. - Fix several places in our codebase where a C compiler would be
  3142. likely to eliminate a check, based on assuming that undefined
  3143. behavior had not happened elsewhere in the code. These cases are
  3144. usually a sign of redundant checking or dubious arithmetic. Found
  3145. by Georg Koppen using the "STACK" tool from Wang, Zeldovich,
  3146. Kaashoek, and Solar-Lezama. Fixes bug 24423; bugfix on various
  3147. Tor versions.
  3148. o Minor bugfixes (onion service v3):
  3149. - Fix a race where an onion service would launch a new intro circuit
  3150. after closing an old one, but fail to register it before freeing
  3151. the previously closed circuit. This bug was making the service
  3152. unable to find the established intro circuit and thus not upload
  3153. its descriptor, thus making a service unavailable for up to 24
  3154. hours. Fixes bug 23603; bugfix on 0.3.2.1-alpha.
  3155. o Minor bugfixes (scheduler, KIST):
  3156. - Properly set the scheduler state of an unopened channel in the
  3157. KIST scheduler main loop. This prevents a harmless but annoying
  3158. log warning. Fixes bug 24502; bugfix on 0.3.2.4-alpha.
  3159. - Avoid a possible integer overflow when computing the available
  3160. space on the TCP buffer of a channel. This had no security
  3161. implications; but could make KIST allow too many cells on a
  3162. saturated connection. Fixes bug 24590; bugfix on 0.3.2.1-alpha.
  3163. - Downgrade to "info" a harmless warning about the monotonic time
  3164. moving backwards: This can happen on platform not supporting
  3165. monotonic time. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  3166. Changes in version 0.3.2.6-alpha - 2017-12-01
  3167. This version of Tor is the latest in the 0.3.2 alpha series. It
  3168. includes fixes for several important security issues. All Tor users
  3169. should upgrade to this release, or to one of the other releases coming
  3170. out today.
  3171. o Major bugfixes (security):
  3172. - Fix a denial of service bug where an attacker could use a
  3173. malformed directory object to cause a Tor instance to pause while
  3174. OpenSSL would try to read a passphrase from the terminal. (Tor
  3175. instances run without a terminal, which is the case for most Tor
  3176. packages, are not impacted.) Fixes bug 24246; bugfix on every
  3177. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  3178. Found by OSS-Fuzz as testcase 6360145429790720.
  3179. - Fix a denial of service issue where an attacker could crash a
  3180. directory authority using a malformed router descriptor. Fixes bug
  3181. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  3182. and CVE-2017-8820.
  3183. - When checking for replays in the INTRODUCE1 cell data for a
  3184. (legacy) onion service, correctly detect replays in the RSA-
  3185. encrypted part of the cell. We were previously checking for
  3186. replays on the entire cell, but those can be circumvented due to
  3187. the malleability of Tor's legacy hybrid encryption. This fix helps
  3188. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  3189. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  3190. and CVE-2017-8819.
  3191. o Major bugfixes (security, onion service v2):
  3192. - Fix a use-after-free error that could crash v2 Tor onion services
  3193. when they failed to open circuits while expiring introduction
  3194. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  3195. also tracked as TROVE-2017-013 and CVE-2017-8823.
  3196. o Major bugfixes (security, relay):
  3197. - When running as a relay, make sure that we never build a path
  3198. through ourselves, even in the case where we have somehow lost the
  3199. version of our descriptor appearing in the consensus. Fixes part
  3200. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  3201. as TROVE-2017-012 and CVE-2017-8822.
  3202. - When running as a relay, make sure that we never choose ourselves
  3203. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  3204. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  3205. o Minor feature (relay statistics):
  3206. - Change relay bandwidth reporting stats interval from 4 hours to 24
  3207. hours in order to reduce the efficiency of guard discovery
  3208. attacks. Fixes ticket 23856.
  3209. o Minor features (directory authority):
  3210. - Add an IPv6 address for the "bastet" directory authority. Closes
  3211. ticket 24394.
  3212. o Minor bugfixes (client):
  3213. - By default, do not enable storage of client-side DNS values. These
  3214. values were unused by default previously, but they should not have
  3215. been cached at all. Fixes bug 24050; bugfix on 0.2.6.3-alpha.
  3216. Changes in version 0.3.1.9 - 2017-12-01:
  3217. Tor 0.3.1.9 backports important security and stability fixes from the
  3218. 0.3.2 development series. All Tor users should upgrade to this
  3219. release, or to another of the releases coming out today.
  3220. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  3221. - Fix a denial of service bug where an attacker could use a
  3222. malformed directory object to cause a Tor instance to pause while
  3223. OpenSSL would try to read a passphrase from the terminal. (Tor
  3224. instances run without a terminal, which is the case for most Tor
  3225. packages, are not impacted.) Fixes bug 24246; bugfix on every
  3226. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  3227. Found by OSS-Fuzz as testcase 6360145429790720.
  3228. - Fix a denial of service issue where an attacker could crash a
  3229. directory authority using a malformed router descriptor. Fixes bug
  3230. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  3231. and CVE-2017-8820.
  3232. - When checking for replays in the INTRODUCE1 cell data for a
  3233. (legacy) onion service, correctly detect replays in the RSA-
  3234. encrypted part of the cell. We were previously checking for
  3235. replays on the entire cell, but those can be circumvented due to
  3236. the malleability of Tor's legacy hybrid encryption. This fix helps
  3237. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  3238. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  3239. and CVE-2017-8819.
  3240. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  3241. - Fix a use-after-free error that could crash v2 Tor onion services
  3242. when they failed to open circuits while expiring introduction
  3243. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  3244. also tracked as TROVE-2017-013 and CVE-2017-8823.
  3245. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  3246. - When running as a relay, make sure that we never build a path
  3247. through ourselves, even in the case where we have somehow lost the
  3248. version of our descriptor appearing in the consensus. Fixes part
  3249. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  3250. as TROVE-2017-012 and CVE-2017-8822.
  3251. - When running as a relay, make sure that we never choose ourselves
  3252. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  3253. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  3254. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  3255. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  3256. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  3257. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  3258. identifying and finding a workaround to this bug and to Moritz,
  3259. Arthur Edelstein, and Roger for helping to track it down and
  3260. analyze it.
  3261. o Minor features (bridge):
  3262. - Bridges now include notice in their descriptors that they are
  3263. bridges, and notice of their distribution status, based on their
  3264. publication settings. Implements ticket 18329. For more fine-
  3265. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  3266. or later.
  3267. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  3268. - Add an IPv6 address for the "bastet" directory authority. Closes
  3269. ticket 24394.
  3270. o Minor features (geoip):
  3271. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  3272. Country database.
  3273. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  3274. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  3275. relays, to prevent spurious address resolutions and descriptor
  3276. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  3277. bugfix on in 0.2.8.1-alpha.
  3278. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  3279. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  3280. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  3281. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  3282. - When a circuit is marked for close, do not attempt to package any
  3283. cells for channels on that circuit. Previously, we would detect
  3284. this condition lower in the call stack, when we noticed that the
  3285. circuit had no attached channel, and log an annoying message.
  3286. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  3287. o Minor bugfixes (onion service, backport from 0.3.2.5-alpha):
  3288. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  3289. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  3290. on 0.3.1.1-alpha.
  3291. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  3292. - Avoid a crash when transitioning from client mode to bridge mode.
  3293. Previously, we would launch the worker threads whenever our
  3294. "public server" mode changed, but not when our "server" mode
  3295. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  3296. Changes in version 0.3.0.13 - 2017-12-01
  3297. Tor 0.3.0.13 backports important security and stability bugfixes from
  3298. later Tor releases. All Tor users should upgrade to this release, or
  3299. to another of the releases coming out today.
  3300. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  3301. 2018. If you need a release with long-term support, please stick with
  3302. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  3303. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  3304. - Fix a denial of service bug where an attacker could use a
  3305. malformed directory object to cause a Tor instance to pause while
  3306. OpenSSL would try to read a passphrase from the terminal. (Tor
  3307. instances run without a terminal, which is the case for most Tor
  3308. packages, are not impacted.) Fixes bug 24246; bugfix on every
  3309. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  3310. Found by OSS-Fuzz as testcase 6360145429790720.
  3311. - Fix a denial of service issue where an attacker could crash a
  3312. directory authority using a malformed router descriptor. Fixes bug
  3313. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  3314. and CVE-2017-8820.
  3315. - When checking for replays in the INTRODUCE1 cell data for a
  3316. (legacy) onion service, correctly detect replays in the RSA-
  3317. encrypted part of the cell. We were previously checking for
  3318. replays on the entire cell, but those can be circumvented due to
  3319. the malleability of Tor's legacy hybrid encryption. This fix helps
  3320. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  3321. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  3322. and CVE-2017-8819.
  3323. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  3324. - Fix a use-after-free error that could crash v2 Tor onion services
  3325. when they failed to open circuits while expiring introduction
  3326. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  3327. also tracked as TROVE-2017-013 and CVE-2017-8823.
  3328. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  3329. - When running as a relay, make sure that we never build a path
  3330. through ourselves, even in the case where we have somehow lost the
  3331. version of our descriptor appearing in the consensus. Fixes part
  3332. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  3333. as TROVE-2017-012 and CVE-2017-8822.
  3334. - When running as a relay, make sure that we never choose ourselves
  3335. as a guard. Fixes part of bug 21534; bugfix on 0.3.0.1-alpha. This
  3336. issue is also tracked as TROVE-2017-012 and CVE-2017-8822.
  3337. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  3338. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  3339. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  3340. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  3341. identifying and finding a workaround to this bug and to Moritz,
  3342. Arthur Edelstein, and Roger for helping to track it down and
  3343. analyze it.
  3344. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  3345. - Enable a couple of pieces of Windows hardening: one
  3346. (HeapEnableTerminationOnCorruption) that has been on-by-default
  3347. since Windows 8, and unavailable before Windows 7; and one
  3348. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  3349. affect us, but shouldn't do any harm. Closes ticket 21953.
  3350. o Minor features (bridge, backport from 0.3.1.9):
  3351. - Bridges now include notice in their descriptors that they are
  3352. bridges, and notice of their distribution status, based on their
  3353. publication settings. Implements ticket 18329. For more fine-
  3354. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  3355. or later.
  3356. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  3357. - Add an IPv6 address for the "bastet" directory authority. Closes
  3358. ticket 24394.
  3359. o Minor features (geoip):
  3360. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  3361. Country database.
  3362. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  3363. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  3364. relays, to prevent spurious address resolutions and descriptor
  3365. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  3366. bugfix on in 0.2.8.1-alpha.
  3367. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  3368. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  3369. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  3370. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  3371. - When a circuit is marked for close, do not attempt to package any
  3372. cells for channels on that circuit. Previously, we would detect
  3373. this condition lower in the call stack, when we noticed that the
  3374. circuit had no attached channel, and log an annoying message.
  3375. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  3376. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  3377. - Avoid a crash when transitioning from client mode to bridge mode.
  3378. Previously, we would launch the worker threads whenever our
  3379. "public server" mode changed, but not when our "server" mode
  3380. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  3381. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  3382. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  3383. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  3384. Changes in version 0.2.9.14 - 2017-12-01
  3385. Tor 0.3.0.13 backports important security and stability bugfixes from
  3386. later Tor releases. All Tor users should upgrade to this release, or
  3387. to another of the releases coming out today.
  3388. o Major bugfixes (exit relays, DNS, backport from 0.3.2.4-alpha):
  3389. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  3390. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  3391. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  3392. identifying and finding a workaround to this bug and to Moritz,
  3393. Arthur Edelstein, and Roger for helping to track it down and
  3394. analyze it.
  3395. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  3396. - Fix a denial of service bug where an attacker could use a
  3397. malformed directory object to cause a Tor instance to pause while
  3398. OpenSSL would try to read a passphrase from the terminal. (Tor
  3399. instances run without a terminal, which is the case for most Tor
  3400. packages, are not impacted.) Fixes bug 24246; bugfix on every
  3401. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  3402. Found by OSS-Fuzz as testcase 6360145429790720.
  3403. - Fix a denial of service issue where an attacker could crash a
  3404. directory authority using a malformed router descriptor. Fixes bug
  3405. 24245; bugfix on 0.2.9.4-alpha. Also tracked as TROVE-2017-010
  3406. and CVE-2017-8820.
  3407. - When checking for replays in the INTRODUCE1 cell data for a
  3408. (legacy) onion service, correctly detect replays in the RSA-
  3409. encrypted part of the cell. We were previously checking for
  3410. replays on the entire cell, but those can be circumvented due to
  3411. the malleability of Tor's legacy hybrid encryption. This fix helps
  3412. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  3413. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  3414. and CVE-2017-8819.
  3415. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  3416. - Fix a use-after-free error that could crash v2 Tor onion services
  3417. when they failed to open circuits while expiring introduction
  3418. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  3419. also tracked as TROVE-2017-013 and CVE-2017-8823.
  3420. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  3421. - When running as a relay, make sure that we never build a path
  3422. through ourselves, even in the case where we have somehow lost the
  3423. version of our descriptor appearing in the consensus. Fixes part
  3424. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  3425. as TROVE-2017-012 and CVE-2017-8822.
  3426. o Minor features (bridge, backport from 0.3.1.9):
  3427. - Bridges now include notice in their descriptors that they are
  3428. bridges, and notice of their distribution status, based on their
  3429. publication settings. Implements ticket 18329. For more fine-
  3430. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  3431. or later.
  3432. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  3433. - Add an IPv6 address for the "bastet" directory authority. Closes
  3434. ticket 24394.
  3435. o Minor features (geoip):
  3436. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  3437. Country database.
  3438. o Minor features (security, windows, backport from 0.3.1.1-alpha):
  3439. - Enable a couple of pieces of Windows hardening: one
  3440. (HeapEnableTerminationOnCorruption) that has been on-by-default
  3441. since Windows 8, and unavailable before Windows 7; and one
  3442. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  3443. affect us, but shouldn't do any harm. Closes ticket 21953.
  3444. o Minor bugfix (relay address resolution, backport from 0.3.2.1-alpha):
  3445. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  3446. relays, to prevent spurious address resolutions and descriptor
  3447. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  3448. bugfix on in 0.2.8.1-alpha.
  3449. o Minor bugfixes (compilation, backport from 0.3.2.1-alpha):
  3450. - Fix unused variable warnings in donna's Curve25519 SSE2 code.
  3451. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  3452. o Minor bugfixes (logging, relay shutdown, annoyance, backport from 0.3.2.2-alpha):
  3453. - When a circuit is marked for close, do not attempt to package any
  3454. cells for channels on that circuit. Previously, we would detect
  3455. this condition lower in the call stack, when we noticed that the
  3456. circuit had no attached channel, and log an annoying message.
  3457. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  3458. o Minor bugfixes (relay, crash, backport from 0.3.2.4-alpha):
  3459. - Avoid a crash when transitioning from client mode to bridge mode.
  3460. Previously, we would launch the worker threads whenever our
  3461. "public server" mode changed, but not when our "server" mode
  3462. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  3463. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  3464. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  3465. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  3466. Changes in version 0.2.8.17 - 2017-12-01
  3467. Tor 0.2.8.17 backports important security and stability bugfixes from
  3468. later Tor releases. All Tor users should upgrade to this release, or
  3469. to another of the releases coming out today.
  3470. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  3471. 2018. If you need a release with long-term support, please upgrade with
  3472. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  3473. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  3474. - Fix a denial of service bug where an attacker could use a
  3475. malformed directory object to cause a Tor instance to pause while
  3476. OpenSSL would try to read a passphrase from the terminal. (Tor
  3477. instances run without a terminal, which is the case for most Tor
  3478. packages, are not impacted.) Fixes bug 24246; bugfix on every
  3479. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  3480. Found by OSS-Fuzz as testcase 6360145429790720.
  3481. - When checking for replays in the INTRODUCE1 cell data for a
  3482. (legacy) onion service, correctly detect replays in the RSA-
  3483. encrypted part of the cell. We were previously checking for
  3484. replays on the entire cell, but those can be circumvented due to
  3485. the malleability of Tor's legacy hybrid encryption. This fix helps
  3486. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  3487. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  3488. and CVE-2017-8819.
  3489. o Major bugfixes (security, onion service v2, backport from 0.3.2.6-alpha):
  3490. - Fix a use-after-free error that could crash v2 Tor onion services
  3491. when they failed to open circuits while expiring introduction
  3492. points. Fixes bug 24313; bugfix on 0.2.7.2-alpha. This issue is
  3493. also tracked as TROVE-2017-013 and CVE-2017-8823.
  3494. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  3495. - When running as a relay, make sure that we never build a path through
  3496. ourselves, even in the case where we have somehow lost the version of
  3497. our descriptor appearing in the consensus. Fixes part of bug 21534;
  3498. bugfix on 0.2.0.1-alpha. This issue is also tracked as TROVE-2017-012
  3499. and CVE-2017-8822.
  3500. o Minor features (bridge, backport from 0.3.1.9):
  3501. - Bridges now include notice in their descriptors that they are
  3502. bridges, and notice of their distribution status, based on their
  3503. publication settings. Implements ticket 18329. For more fine-
  3504. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  3505. or later.
  3506. o Minor features (directory authority, backport from 0.3.2.6-alpha):
  3507. - Add an IPv6 address for the "bastet" directory authority. Closes
  3508. ticket 24394.
  3509. o Minor features (geoip):
  3510. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  3511. Country database.
  3512. o Minor bugfixes (testing, backport from 0.3.1.6-rc):
  3513. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  3514. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  3515. Changes in version 0.2.5.16 - 2017-12-01
  3516. Tor 0.2.5.13 backports important security and stability bugfixes from
  3517. later Tor releases. All Tor users should upgrade to this release, or
  3518. to another of the releases coming out today.
  3519. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  3520. 2018. If you need a release with long-term support, please upgrade to
  3521. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  3522. o Major bugfixes (security, backport from 0.3.2.6-alpha):
  3523. - Fix a denial of service bug where an attacker could use a
  3524. malformed directory object to cause a Tor instance to pause while
  3525. OpenSSL would try to read a passphrase from the terminal. (Tor
  3526. instances run without a terminal, which is the case for most Tor
  3527. packages, are not impacted.) Fixes bug 24246; bugfix on every
  3528. version of Tor. Also tracked as TROVE-2017-011 and CVE-2017-8821.
  3529. Found by OSS-Fuzz as testcase 6360145429790720.
  3530. - When checking for replays in the INTRODUCE1 cell data for a
  3531. (legacy) onion service, correctly detect replays in the RSA-
  3532. encrypted part of the cell. We were previously checking for
  3533. replays on the entire cell, but those can be circumvented due to
  3534. the malleability of Tor's legacy hybrid encryption. This fix helps
  3535. prevent a traffic confirmation attack. Fixes bug 24244; bugfix on
  3536. 0.2.4.1-alpha. This issue is also tracked as TROVE-2017-009
  3537. and CVE-2017-8819.
  3538. o Major bugfixes (security, relay, backport from 0.3.2.6-alpha):
  3539. - When running as a relay, make sure that we never build a path
  3540. through ourselves, even in the case where we have somehow lost the
  3541. version of our descriptor appearing in the consensus. Fixes part
  3542. of bug 21534; bugfix on 0.2.0.1-alpha. This issue is also tracked
  3543. as TROVE-2017-012 and CVE-2017-8822.
  3544. o Minor features (bridge, backport from 0.3.1.9):
  3545. - Bridges now include notice in their descriptors that they are
  3546. bridges, and notice of their distribution status, based on their
  3547. publication settings. Implements ticket 18329. For more fine-
  3548. grained control of how a bridge is distributed, upgrade to 0.3.2.x
  3549. or later.
  3550. o Minor features (geoip):
  3551. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  3552. Country database.
  3553. Changes in version 0.3.2.5-alpha - 2017-11-22
  3554. Tor 0.3.2.5-alpha is the fifth alpha release in the 0.3.2.x series. It
  3555. fixes several stability and reliability bugs, including a fix for
  3556. intermittent bootstrapping failures that some people have been seeing
  3557. since the 0.3.0.x series.
  3558. Please test this alpha out -- many of these fixes will soon be
  3559. backported to stable Tor versions if no additional bugs are found
  3560. in them.
  3561. o Major bugfixes (bootstrapping):
  3562. - Fetch descriptors aggressively whenever we lack enough to build
  3563. circuits, regardless of how many descriptors we are missing.
  3564. Previously, we would delay launching the fetch when we had fewer
  3565. than 15 missing descriptors, even if some of those descriptors
  3566. were blocking circuits from building. Fixes bug 23985; bugfix on
  3567. 0.1.1.11-alpha. The effects of this bug became worse in
  3568. 0.3.0.3-alpha, when we began treating missing descriptors from our
  3569. primary guards as a reason to delay circuits.
  3570. - Don't try fetching microdescriptors from relays that have failed
  3571. to deliver them in the past. Fixes bug 23817; bugfix
  3572. on 0.3.0.1-alpha.
  3573. o Minor features (directory authority):
  3574. - Make the "Exit" flag assignment only depend on whether the exit
  3575. policy allows connections to ports 80 and 443. Previously relays
  3576. would get the Exit flag if they allowed connections to one of
  3577. these ports and also port 6667. Resolves ticket 23637.
  3578. o Minor features (geoip):
  3579. - Update geoip and geoip6 to the November 6 2017 Maxmind GeoLite2
  3580. Country database.
  3581. o Minor features (linux seccomp2 sandbox):
  3582. - Update the sandbox rules so that they should now work correctly
  3583. with Glibc 2.26. Closes ticket 24315.
  3584. o Minor features (logging):
  3585. - Downgrade a pair of log messages that could occur when an exit's
  3586. resolver gave us an unusual (but not forbidden) response. Closes
  3587. ticket 24097.
  3588. - Improve the message we log when re-enabling circuit build timeouts
  3589. after having received a consensus. Closes ticket 20963.
  3590. o Minor bugfixes (compilation):
  3591. - Fix a memory leak warning in one of the libevent-related
  3592. configuration tests that could occur when manually specifying
  3593. -fsanitize=address. Fixes bug 24279; bugfix on 0.3.0.2-alpha.
  3594. Found and patched by Alex Xu.
  3595. - When detecting OpenSSL on Windows from our configure script, make
  3596. sure to try linking with the ws2_32 library. Fixes bug 23783;
  3597. bugfix on 0.3.2.2-alpha.
  3598. o Minor bugfixes (control port, linux seccomp2 sandbox):
  3599. - Avoid a crash when attempting to use the seccomp2 sandbox together
  3600. with the OwningControllerProcess feature. Fixes bug 24198; bugfix
  3601. on 0.2.5.1-alpha.
  3602. o Minor bugfixes (control port, onion services):
  3603. - Report "FAILED" instead of "UPLOAD_FAILED" "FAILED" for the
  3604. HS_DESC event when a service is not able to upload a descriptor.
  3605. Fixes bug 24230; bugfix on 0.2.7.1-alpha.
  3606. o Minor bugfixes (directory cache):
  3607. - Recover better from empty or corrupt files in the consensus cache
  3608. directory. Fixes bug 24099; bugfix on 0.3.1.1-alpha.
  3609. - When a consensus diff calculation is only partially successful,
  3610. only record the successful parts as having succeeded. Partial
  3611. success can happen if (for example) one compression method fails
  3612. but the others succeed. Previously we misrecorded all the
  3613. calculations as having succeeded, which would later cause a
  3614. nonfatal assertion failure. Fixes bug 24086; bugfix
  3615. on 0.3.1.1-alpha.
  3616. o Minor bugfixes (logging):
  3617. - Only log once if we notice that KIST support is gone. Fixes bug
  3618. 24158; bugfix on 0.3.2.1-alpha.
  3619. - Suppress a log notice when relay descriptors arrive. We already
  3620. have a bootstrap progress for this so no need to log notice
  3621. everytime tor receives relay descriptors. Microdescriptors behave
  3622. the same. Fixes bug 23861; bugfix on 0.2.8.2-alpha.
  3623. o Minor bugfixes (network layer):
  3624. - When closing a connection via close_connection_immediately(), we
  3625. mark it as "not blocked on bandwidth", to prevent later calls from
  3626. trying to unblock it, and give it permission to read. This fixes a
  3627. backtrace warning that can happen on relays under various
  3628. circumstances. Fixes bug 24167; bugfix on 0.1.0.1-rc.
  3629. o Minor bugfixes (onion services):
  3630. - The introduction circuit was being timed out too quickly while
  3631. waiting for the rendezvous circuit to complete. Keep the intro
  3632. circuit around longer instead of timing out and reopening new ones
  3633. constantly. Fixes bug 23681; bugfix on 0.2.4.8-alpha.
  3634. - Rename the consensus parameter "hsdir-interval" to "hsdir_interval"
  3635. so it matches dir-spec.txt. Fixes bug 24262; bugfix
  3636. on 0.3.1.1-alpha.
  3637. - Silence a warning about failed v3 onion descriptor uploads that
  3638. can happen naturally under certain edge cases. Fixes part of bug
  3639. 23662; bugfix on 0.3.2.1-alpha.
  3640. o Minor bugfixes (tests):
  3641. - Fix a memory leak in one of the bridge-distribution test cases.
  3642. Fixes bug 24345; bugfix on 0.3.2.3-alpha.
  3643. - Fix a bug in our fuzzing mock replacement for crypto_pk_checksig(),
  3644. to correctly handle cases where a caller gives it an RSA key of
  3645. under 160 bits. (This is not actually a bug in Tor itself, but
  3646. rather in our fuzzing code.) Fixes bug 24247; bugfix on
  3647. 0.3.0.3-alpha. Found by OSS-Fuzz as issue 4177.
  3648. o Documentation:
  3649. - Add notes in man page regarding OS support for the various
  3650. scheduler types. Attempt to use less jargon in the scheduler
  3651. section. Closes ticket 24254.
  3652. Changes in version 0.3.2.4-alpha - 2017-11-08
  3653. Tor 0.3.2.4-alpha is the fourth alpha release in the 0.3.2.x series.
  3654. It fixes several stability and reliability bugs, especially including
  3655. a major reliability issue that has been plaguing fast exit relays in
  3656. recent months.
  3657. o Major bugfixes (exit relays, DNS):
  3658. - Fix an issue causing DNS to fail on high-bandwidth exit nodes,
  3659. making them nearly unusable. Fixes bugs 21394 and 18580; bugfix on
  3660. 0.1.2.2-alpha, which introduced eventdns. Thanks to Dhalgren for
  3661. identifying and finding a workaround to this bug and to Moritz,
  3662. Arthur Edelstein, and Roger for helping to track it down and
  3663. analyze it.
  3664. o Major bugfixes (scheduler, channel):
  3665. - Stop processing scheduled channels if they closed while flushing
  3666. cells. This can happen if the write on the connection fails
  3667. leading to the channel being closed while in the scheduler loop.
  3668. Fixes bug 23751; bugfix on 0.3.2.1-alpha.
  3669. o Minor features (logging, scheduler):
  3670. - Introduce a SCHED_BUG() function to log extra information about
  3671. the scheduler state if we ever catch a bug in the scheduler.
  3672. Closes ticket 23753.
  3673. o Minor features (removed deprecations):
  3674. - The ClientDNSRejectInternalAddresses flag can once again be set in
  3675. non-testing Tor networks, so long as they do not use the default
  3676. directory authorities. This change also removes the deprecation of
  3677. this flag from 0.2.9.2-alpha. Closes ticket 21031.
  3678. o Minor features (testing):
  3679. - Our fuzzing tests now test the encrypted portions of v3 onion
  3680. service descriptors. Implements more of 21509.
  3681. o Minor bugfixes (directory client):
  3682. - On failure to download directory information, delay retry attempts
  3683. by a random amount based on the "decorrelated jitter" algorithm.
  3684. Our previous delay algorithm tended to produce extra-long delays
  3685. too easily. Fixes bug 23816; bugfix on 0.2.9.1-alpha.
  3686. o Minor bugfixes (IPv6, v3 single onion services):
  3687. - Remove buggy code for IPv6-only v3 single onion services, and
  3688. reject attempts to configure them. This release supports IPv4,
  3689. dual-stack, and IPv6-only v3 onion services; and IPv4 and dual-
  3690. stack v3 single onion services. Fixes bug 23820; bugfix
  3691. on 0.3.2.1-alpha.
  3692. o Minor bugfixes (logging, relay):
  3693. - Give only a protocol warning when the ed25519 key is not
  3694. consistent between the descriptor and microdescriptor of a relay.
  3695. This can happen, for instance, if the relay has been flagged
  3696. NoEdConsensus. Fixes bug 24025; bugfix on 0.3.2.1-alpha.
  3697. o Minor bugfixes (manpage, onion service):
  3698. - Document that the HiddenServiceNumIntroductionPoints option is
  3699. 0-10 for v2 services and 0-20 for v3 services. Fixes bug 24115;
  3700. bugfix on 0.3.2.1-alpha.
  3701. o Minor bugfixes (memory leaks):
  3702. - Fix a minor memory leak at exit in the KIST scheduler. This bug
  3703. should have no user-visible impact. Fixes bug 23774; bugfix
  3704. on 0.3.2.1-alpha.
  3705. - Fix a memory leak when decrypting a badly formatted v3 onion
  3706. service descriptor. Fixes bug 24150; bugfix on 0.3.2.1-alpha.
  3707. Found by OSS-Fuzz; this is OSS-Fuzz issue 3994.
  3708. o Minor bugfixes (onion services):
  3709. - Cache some needed onion service client information instead of
  3710. constantly computing it over and over again. Fixes bug 23623;
  3711. bugfix on 0.3.2.1-alpha.
  3712. - Properly retry HSv3 descriptor fetches when missing required
  3713. directory information. Fixes bug 23762; bugfix on 0.3.2.1-alpha.
  3714. o Minor bugfixes (path selection):
  3715. - When selecting relays by bandwidth, avoid a rounding error that
  3716. could sometimes cause load to be imbalanced incorrectly.
  3717. Previously, we would always round upwards; now, we round towards
  3718. the nearest integer. This had the biggest effect when a relay's
  3719. weight adjustments should have given it weight 0, but it got
  3720. weight 1 instead. Fixes bug 23318; bugfix on 0.2.4.3-alpha.
  3721. - When calculating the fraction of nodes that have descriptors, and
  3722. all nodes in the network have zero bandwidths, count the number of
  3723. nodes instead. Fixes bug 23318; bugfix on 0.2.4.10-alpha.
  3724. - Actually log the total bandwidth in compute_weighted_bandwidths().
  3725. Fixes bug 24170; bugfix on 0.2.4.3-alpha.
  3726. o Minor bugfixes (relay, crash):
  3727. - Avoid a crash when transitioning from client mode to bridge mode.
  3728. Previously, we would launch the worker threads whenever our
  3729. "public server" mode changed, but not when our "server" mode
  3730. changed. Fixes bug 23693; bugfix on 0.2.6.3-alpha.
  3731. o Minor bugfixes (testing):
  3732. - Fix a spurious fuzzing-only use of an uninitialized value. Found
  3733. by Brian Carpenter. Fixes bug 24082; bugfix on 0.3.0.3-alpha.
  3734. - Test that IPv6-only clients can use microdescriptors when running
  3735. "make test-network-all". Requires chutney master 61c28b9 or later.
  3736. Closes ticket 24109.
  3737. Changes in version 0.3.2.3-alpha - 2017-10-27
  3738. Tor 0.3.2.3-alpha is the third release in the 0.3.2 series. It fixes
  3739. numerous small bugs in earlier versions of 0.3.2.x, and adds a new
  3740. directory authority, Bastet.
  3741. o Directory authority changes:
  3742. - Add "Bastet" as a ninth directory authority to the default list.
  3743. Closes ticket 23910.
  3744. - The directory authority "Longclaw" has changed its IP address.
  3745. Closes ticket 23592.
  3746. o Minor features (bridge):
  3747. - Bridge relays can now set the BridgeDistribution config option to
  3748. add a "bridge-distribution-request" line to their bridge
  3749. descriptor, which tells BridgeDB how they'd like their bridge
  3750. address to be given out. (Note that as of Oct 2017, BridgeDB does
  3751. not yet implement this feature.) As a side benefit, this feature
  3752. provides a way to distinguish bridge descriptors from non-bridge
  3753. descriptors. Implements tickets 18329.
  3754. o Minor features (client, entry guards):
  3755. - Improve log messages when missing descriptors for primary guards.
  3756. Resolves ticket 23670.
  3757. o Minor features (geoip):
  3758. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3759. Country database.
  3760. o Minor bugfixes (bridge):
  3761. - Overwrite the bridge address earlier in the process of retrieving
  3762. its descriptor, to make sure we reach it on the configured
  3763. address. Fixes bug 20532; bugfix on 0.2.0.10-alpha.
  3764. o Minor bugfixes (documentation):
  3765. - Document better how to read gcov, and what our gcov postprocessing
  3766. scripts do. Fixes bug 23739; bugfix on 0.2.9.1-alpha.
  3767. o Minor bugfixes (entry guards):
  3768. - Tor now updates its guard state when it reads a consensus
  3769. regardless of whether it's missing descriptors. That makes tor use
  3770. its primary guards to fetch descriptors in some edge cases where
  3771. it would previously have used fallback directories. Fixes bug
  3772. 23862; bugfix on 0.3.0.1-alpha.
  3773. o Minor bugfixes (hidden service client):
  3774. - When handling multiple SOCKS request for the same .onion address,
  3775. only fetch the service descriptor once.
  3776. - When a descriptor fetch fails with a non-recoverable error, close
  3777. all pending SOCKS requests for that .onion. Fixes bug 23653;
  3778. bugfix on 0.3.2.1-alpha.
  3779. o Minor bugfixes (hidden service):
  3780. - Always regenerate missing hidden service public key files. Prior
  3781. to this, if the public key was deleted from disk, it wouldn't get
  3782. recreated. Fixes bug 23748; bugfix on 0.3.2.2-alpha. Patch
  3783. from "cathugger".
  3784. - Make sure that we have a usable ed25519 key when the intro point
  3785. relay supports ed25519 link authentication. Fixes bug 24002;
  3786. bugfix on 0.3.2.1-alpha.
  3787. o Minor bugfixes (hidden service, v2):
  3788. - When reloading configured hidden services, copy all information
  3789. from the old service object. Previously, some data was omitted,
  3790. causing delays in descriptor upload, and other bugs. Fixes bug
  3791. 23790; bugfix on 0.2.1.9-alpha.
  3792. o Minor bugfixes (memory safety, defensive programming):
  3793. - Clear the target address when node_get_prim_orport() returns
  3794. early. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  3795. o Minor bugfixes (relay):
  3796. - Avoid a BUG warning when receiving a dubious CREATE cell while an
  3797. option transition is in progress. Fixes bug 23952; bugfix
  3798. on 0.3.2.1-alpha.
  3799. o Minor bugfixes (testing):
  3800. - Adjust the GitLab CI configuration to more closely match that of
  3801. Travis CI. Fixes bug 23757; bugfix on 0.3.2.2-alpha.
  3802. - Prevent scripts/test/coverage from attempting to move gcov output
  3803. to the root directory. Fixes bug 23741; bugfix on 0.2.5.1-alpha.
  3804. - When running unit tests as root, skip a test that would fail
  3805. because it expects a permissions error. This affects some
  3806. continuous integration setups. Fixes bug 23758; bugfix
  3807. on 0.3.2.2-alpha.
  3808. - Stop unconditionally mirroring the tor repository in GitLab CI.
  3809. This prevented developers from enabling GitLab CI on master. Fixes
  3810. bug 23755; bugfix on 0.3.2.2-alpha.
  3811. - Fix the hidden service v3 descriptor decoding fuzzing to use the
  3812. latest decoding API correctly. Fixes bug 21509; bugfix
  3813. on 0.3.2.1-alpha.
  3814. o Minor bugfixes (warnings):
  3815. - When we get an HTTP request on a SOCKS port, tell the user about
  3816. the new HTTPTunnelPort option. Previously, we would give a "Tor is
  3817. not an HTTP Proxy" message, which stopped being true when
  3818. HTTPTunnelPort was introduced. Fixes bug 23678; bugfix
  3819. on 0.3.2.1-alpha.
  3820. Changes in version 0.2.5.15 - 2017-10-25
  3821. Tor 0.2.5.15 backports a collection of bugfixes from later Tor release
  3822. series. It also adds a new directory authority, Bastet.
  3823. Note: the Tor 0.2.5 series will no longer be supported after 1 May
  3824. 2018. If you need a release with long-term support, please upgrade to
  3825. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  3826. o Directory authority changes:
  3827. - Add "Bastet" as a ninth directory authority to the default list.
  3828. Closes ticket 23910.
  3829. - The directory authority "Longclaw" has changed its IP address.
  3830. Closes ticket 23592.
  3831. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  3832. - Avoid an assertion failure bug affecting our implementation of
  3833. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  3834. handling of "0xx" differs from what we had expected. Fixes bug
  3835. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  3836. o Minor features (geoip):
  3837. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3838. Country database.
  3839. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  3840. - Fix a memset() off the end of an array when packing cells. This
  3841. bug should be harmless in practice, since the corrupted bytes are
  3842. still in the same structure, and are always padding bytes,
  3843. ignored, or immediately overwritten, depending on compiler
  3844. behavior. Nevertheless, because the memset()'s purpose is to make
  3845. sure that any other cell-handling bugs can't expose bytes to the
  3846. network, we need to fix it. Fixes bug 22737; bugfix on
  3847. 0.2.4.11-alpha. Fixes CID 1401591.
  3848. o Build features (backport from 0.3.1.5-alpha):
  3849. - Tor's repository now includes a Travis Continuous Integration (CI)
  3850. configuration file (.travis.yml). This is meant to help new
  3851. developers and contributors who fork Tor to a Github repository be
  3852. better able to test their changes, and understand what we expect
  3853. to pass. To use this new build feature, you must fork Tor to your
  3854. Github account, then go into the "Integrations" menu in the
  3855. repository settings for your fork and enable Travis, then push
  3856. your changes. Closes ticket 22636.
  3857. Changes in version 0.2.8.16 - 2017-10-25
  3858. Tor 0.2.8.16 backports a collection of bugfixes from later Tor release
  3859. series, including a bugfix for a crash issue that had affected relays
  3860. under memory pressure. It also adds a new directory authority, Bastet.
  3861. Note: the Tor 0.2.8 series will no longer be supported after 1 Jan
  3862. 2018. If you need a release with long-term support, please stick with
  3863. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  3864. o Directory authority changes:
  3865. - Add "Bastet" as a ninth directory authority to the default list.
  3866. Closes ticket 23910.
  3867. - The directory authority "Longclaw" has changed its IP address.
  3868. Closes ticket 23592.
  3869. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  3870. - Fix a timing-based assertion failure that could occur when the
  3871. circuit out-of-memory handler freed a connection's output buffer.
  3872. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  3873. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  3874. - Remove longclaw's IPv6 address, as it will soon change. Authority
  3875. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  3876. 3/8 directory authorities with IPv6 addresses, but there are also
  3877. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  3878. o Minor features (geoip):
  3879. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3880. Country database.
  3881. Changes in version 0.2.9.13 - 2017-10-25
  3882. Tor 0.2.9.13 backports a collection of bugfixes from later Tor release
  3883. series, including a bugfix for a crash issue that had affected relays
  3884. under memory pressure. It also adds a new directory authority, Bastet.
  3885. o Directory authority changes:
  3886. - Add "Bastet" as a ninth directory authority to the default list.
  3887. Closes ticket 23910.
  3888. - The directory authority "Longclaw" has changed its IP address.
  3889. Closes ticket 23592.
  3890. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  3891. - Fix a timing-based assertion failure that could occur when the
  3892. circuit out-of-memory handler freed a connection's output buffer.
  3893. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  3894. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  3895. - Remove longclaw's IPv6 address, as it will soon change. Authority
  3896. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  3897. 3/8 directory authorities with IPv6 addresses, but there are also
  3898. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  3899. o Minor features (geoip):
  3900. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3901. Country database.
  3902. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  3903. - When a directory authority rejects a descriptor or extrainfo with
  3904. a given digest, mark that digest as undownloadable, so that we do
  3905. not attempt to download it again over and over. We previously
  3906. tried to avoid downloading such descriptors by other means, but we
  3907. didn't notice if we accidentally downloaded one anyway. This
  3908. behavior became problematic in 0.2.7.2-alpha, when authorities
  3909. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  3910. on 0.2.1.19-alpha.
  3911. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  3912. - Clear the address when node_get_prim_orport() returns early.
  3913. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  3914. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  3915. - When running as a Windows service, set the ID of the main thread
  3916. correctly. Failure to do so made us fail to send log messages to
  3917. the controller in 0.2.1.16-rc, slowed down controller event
  3918. delivery in 0.2.7.3-rc and later, and crash with an assertion
  3919. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  3920. Patch and diagnosis from "Vort".
  3921. Changes in version 0.3.0.12 - 2017-10-25
  3922. Tor 0.3.0.12 backports a collection of bugfixes from later Tor release
  3923. series, including a bugfix for a crash issue that had affected relays
  3924. under memory pressure. It also adds a new directory authority, Bastet.
  3925. Note: the Tor 0.3.0 series will no longer be supported after 26 Jan
  3926. 2018. If you need a release with long-term support, please stick with
  3927. the 0.2.9 series. Otherwise, please upgrade to 0.3.1 or later.
  3928. o Directory authority changes:
  3929. - Add "Bastet" as a ninth directory authority to the default list.
  3930. Closes ticket 23910.
  3931. - The directory authority "Longclaw" has changed its IP address.
  3932. Closes ticket 23592.
  3933. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  3934. - Fix a timing-based assertion failure that could occur when the
  3935. circuit out-of-memory handler freed a connection's output buffer.
  3936. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  3937. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  3938. - Remove longclaw's IPv6 address, as it will soon change. Authority
  3939. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  3940. 3/8 directory authorities with IPv6 addresses, but there are also
  3941. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  3942. o Minor features (geoip):
  3943. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3944. Country database.
  3945. o Minor bugfixes (directory authority, backport from 0.3.1.5-alpha):
  3946. - When a directory authority rejects a descriptor or extrainfo with
  3947. a given digest, mark that digest as undownloadable, so that we do
  3948. not attempt to download it again over and over. We previously
  3949. tried to avoid downloading such descriptors by other means, but we
  3950. didn't notice if we accidentally downloaded one anyway. This
  3951. behavior became problematic in 0.2.7.2-alpha, when authorities
  3952. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  3953. on 0.2.1.19-alpha.
  3954. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  3955. - Avoid a possible double close of a circuit by the intro point on
  3956. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  3957. bugfix on 0.3.0.1-alpha.
  3958. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  3959. - Clear the address when node_get_prim_orport() returns early.
  3960. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  3961. o Minor bugfixes (Windows service, backport from 0.3.1.6-rc):
  3962. - When running as a Windows service, set the ID of the main thread
  3963. correctly. Failure to do so made us fail to send log messages to
  3964. the controller in 0.2.1.16-rc, slowed down controller event
  3965. delivery in 0.2.7.3-rc and later, and crash with an assertion
  3966. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  3967. Patch and diagnosis from "Vort".
  3968. Changes in version 0.3.1.8 - 2017-10-25
  3969. Tor 0.3.1.8 is the second stable release in the 0.3.1 series.
  3970. It includes several bugfixes, including a bugfix for a crash issue
  3971. that had affected relays under memory pressure. It also adds
  3972. a new directory authority, Bastet.
  3973. o Directory authority changes:
  3974. - Add "Bastet" as a ninth directory authority to the default list.
  3975. Closes ticket 23910.
  3976. - The directory authority "Longclaw" has changed its IP address.
  3977. Closes ticket 23592.
  3978. o Major bugfixes (relay, crash, assertion failure, backport from 0.3.2.2-alpha):
  3979. - Fix a timing-based assertion failure that could occur when the
  3980. circuit out-of-memory handler freed a connection's output buffer.
  3981. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  3982. o Minor features (directory authorities, backport from 0.3.2.2-alpha):
  3983. - Remove longclaw's IPv6 address, as it will soon change. Authority
  3984. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  3985. 3/8 directory authorities with IPv6 addresses, but there are also
  3986. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  3987. o Minor features (geoip):
  3988. - Update geoip and geoip6 to the October 4 2017 Maxmind GeoLite2
  3989. Country database.
  3990. o Minor bugfixes (compilation, backport from 0.3.2.2-alpha):
  3991. - Fix a compilation warning when building with zstd support on
  3992. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  3993. and fixed by Andreas Stieger.
  3994. o Minor bugfixes (compression, backport from 0.3.2.2-alpha):
  3995. - Handle a pathological case when decompressing Zstandard data when
  3996. the output buffer size is zero. Fixes bug 23551; bugfix
  3997. on 0.3.1.1-alpha.
  3998. o Minor bugfixes (directory authority, backport from 0.3.2.1-alpha):
  3999. - Remove the length limit on HTTP status lines that authorities can
  4000. send in their replies. Fixes bug 23499; bugfix on 0.3.1.6-rc.
  4001. o Minor bugfixes (hidden service, relay, backport from 0.3.2.2-alpha):
  4002. - Avoid a possible double close of a circuit by the intro point on
  4003. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  4004. bugfix on 0.3.0.1-alpha.
  4005. o Minor bugfixes (memory safety, backport from 0.3.2.3-alpha):
  4006. - Clear the address when node_get_prim_orport() returns early.
  4007. Fixes bug 23874; bugfix on 0.2.8.2-alpha.
  4008. o Minor bugfixes (unit tests, backport from 0.3.2.2-alpha):
  4009. - Fix additional channelpadding unit test failures by using mocked
  4010. time instead of actual time for all tests. Fixes bug 23608; bugfix
  4011. on 0.3.1.1-alpha.
  4012. Changes in version 0.3.2.2-alpha - 2017-09-29
  4013. Tor 0.3.2.2-alpha is the second release in the 0.3.2 series. This
  4014. release fixes several minor bugs in the new scheduler and next-
  4015. generation onion services; both features were newly added in the 0.3.2
  4016. series. Other fixes in this alpha include several fixes for non-fatal
  4017. tracebacks which would appear in logs.
  4018. With the aim to stabilise the 0.3.2 series by 15 December 2017, this
  4019. alpha does not contain any substantial new features. Minor features
  4020. include better testing and logging.
  4021. The following comprises the complete list of changes included
  4022. in 0.3.2.2-alpha:
  4023. o Major bugfixes (relay, crash, assertion failure):
  4024. - Fix a timing-based assertion failure that could occur when the
  4025. circuit out-of-memory handler freed a connection's output buffer.
  4026. Fixes bug 23690; bugfix on 0.2.6.1-alpha.
  4027. o Major bugfixes (scheduler):
  4028. - If a channel is put into the scheduler's pending list, then it
  4029. starts closing, and then if the scheduler runs before it finishes
  4030. closing, the scheduler will get stuck trying to flush its cells
  4031. while the lower layers refuse to cooperate. Fix that race
  4032. condition by giving the scheduler an escape method. Fixes bug
  4033. 23676; bugfix on 0.3.2.1-alpha.
  4034. o Minor features (build, compilation):
  4035. - The "check-changes" feature is now part of the "make check" tests;
  4036. we'll use it to try to prevent misformed changes files from
  4037. accumulating. Closes ticket 23564.
  4038. - Tor builds should now fail if there are any mismatches between the
  4039. C type representing a configuration variable and the C type the
  4040. data-driven parser uses to store a value there. Previously, we
  4041. needed to check these by hand, which sometimes led to mistakes.
  4042. Closes ticket 23643.
  4043. o Minor features (directory authorities):
  4044. - Remove longclaw's IPv6 address, as it will soon change. Authority
  4045. IPv6 addresses were originally added in 0.2.8.1-alpha. This leaves
  4046. 3/8 directory authorities with IPv6 addresses, but there are also
  4047. 52 fallback directory mirrors with IPv6 addresses. Resolves 19760.
  4048. o Minor features (hidden service, circuit, logging):
  4049. - Improve logging of many callsite in the circuit subsystem to print
  4050. the circuit identifier(s).
  4051. - Log when we cleanup an intro point from a service so we know when
  4052. and for what reason it happened. Closes ticket 23604.
  4053. o Minor features (logging):
  4054. - Log more circuit information whenever we are about to try to
  4055. package a relay cell on a circuit with a nonexistent n_chan.
  4056. Attempt to diagnose ticket 8185.
  4057. - Improve info-level log identification of particular circuits, to
  4058. help with debugging. Closes ticket 23645.
  4059. o Minor features (relay):
  4060. - When choosing which circuits can be expired as unused, consider
  4061. circuits from clients even if those clients used regular CREATE
  4062. cells to make them; and do not consider circuits from relays even
  4063. if they were made with CREATE_FAST. Part of ticket 22805.
  4064. o Minor features (robustness):
  4065. - Change several fatal assertions when flushing buffers into non-
  4066. fatal assertions, to prevent any recurrence of 23690.
  4067. o Minor features (spec conformance, bridge, diagnostic):
  4068. - When handling the USERADDR command on an ExtOrPort, warn when the
  4069. transports provides a USERADDR with no port. In a future version,
  4070. USERADDR commands of this format may be rejected. Detects problems
  4071. related to ticket 23080.
  4072. o Minor features (testing):
  4073. - Add a unit test to make sure that our own generated platform
  4074. string will be accepted by directory authorities. Closes
  4075. ticket 22109.
  4076. o Minor bugfixes (bootstrapping):
  4077. - When warning about state file clock skew, report the correct
  4078. direction for the detected skew. Fixes bug 23606; bugfix
  4079. on 0.2.8.1-alpha.
  4080. - Avoid an assertion failure when logging a state file clock skew
  4081. very early in bootstrapping. Fixes bug 23607; bugfix
  4082. on 0.3.2.1-alpha.
  4083. o Minor bugfixes (build, compilation):
  4084. - Fix a compilation warning when building with zstd support on
  4085. 32-bit platforms. Fixes bug 23568; bugfix on 0.3.1.1-alpha. Found
  4086. and fixed by Andreas Stieger.
  4087. - When searching for OpenSSL, don't accept any OpenSSL library that
  4088. lacks TLSv1_1_method(): Tor doesn't build with those versions.
  4089. Additionally, look in /usr/local/opt/openssl, if it's present.
  4090. These changes together repair the default build on OSX systems
  4091. with Homebrew installed. Fixes bug 23602; bugfix on 0.2.7.2-alpha.
  4092. o Minor bugfixes (compression):
  4093. - Handle a pathological case when decompressing Zstandard data when
  4094. the output buffer size is zero. Fixes bug 23551; bugfix
  4095. on 0.3.1.1-alpha.
  4096. o Minor bugfixes (documentation):
  4097. - Fix manpage to not refer to the obsolete (and misspelled)
  4098. UseEntryGuardsAsDirectoryGuards parameter in the description of
  4099. NumDirectoryGuards. Fixes bug 23611; bugfix on 0.2.4.8-alpha.
  4100. o Minor bugfixes (hidden service v3):
  4101. - Don't log an assertion failure when we can't find the right
  4102. information to extend to an introduction point. In rare cases,
  4103. this could happen, causing a warning, even though tor would
  4104. recover gracefully. Fixes bug 23159; bugfix on 0.3.2.1-alpha.
  4105. - Pad RENDEZVOUS cell up to the size of the legacy cell which is
  4106. much bigger so the rendezvous point can't distinguish which hidden
  4107. service protocol is being used. Fixes bug 23420; bugfix
  4108. on 0.3.2.1-alpha.
  4109. o Minor bugfixes (hidden service, relay):
  4110. - Avoid a possible double close of a circuit by the intro point on
  4111. error of sending the INTRO_ESTABLISHED cell. Fixes bug 23610;
  4112. bugfix on 0.3.0.1-alpha.
  4113. o Minor bugfixes (logging, relay shutdown, annoyance):
  4114. - When a circuit is marked for close, do not attempt to package any
  4115. cells for channels on that circuit. Previously, we would detect
  4116. this condition lower in the call stack, when we noticed that the
  4117. circuit had no attached channel, and log an annoying message.
  4118. Fixes bug 8185; bugfix on 0.2.5.4-alpha.
  4119. o Minor bugfixes (scheduler):
  4120. - When switching schedulers due to a consensus change, we didn't
  4121. give the new scheduler a chance to react to the consensus. Fix
  4122. that. Fixes bug 23537; bugfix on 0.3.2.1-alpha.
  4123. - Make the KISTSchedRunInterval option a non negative value. With
  4124. this, the way to disable KIST through the consensus is to set it
  4125. to 0. Fixes bug 23539; bugfix on 0.3.2.1-alpha.
  4126. - Only notice log the selected scheduler when we switch scheduler
  4127. types. Fixes bug 23552; bugfix on 0.3.2.1-alpha.
  4128. - Avoid a compilation warning on macOS in scheduler_ev_add() caused
  4129. by a different tv_usec data type. Fixes bug 23575; bugfix
  4130. on 0.3.2.1-alpha.
  4131. - Make a hard exit if tor is unable to pick a scheduler which can
  4132. happen if the user specifies a scheduler type that is not
  4133. supported and not other types in Schedulers. Fixes bug 23581;
  4134. bugfix on 0.3.2.1-alpha.
  4135. - Properly initialize the scheduler last run time counter so it is
  4136. not 0 at the first tick. Fixes bug 23696; bugfix on 0.3.2.1-alpha.
  4137. o Minor bugfixes (testing):
  4138. - Capture and detect several "Result does not fit" warnings in unit
  4139. tests on platforms with 32-bit time_t. Fixes bug 21800; bugfix
  4140. on 0.2.9.3-alpha.
  4141. - Fix additional channelpadding unit test failures by using mocked
  4142. time instead of actual time for all tests. Fixes bug 23608; bugfix
  4143. on 0.3.1.1-alpha.
  4144. - The removal of some old scheduler options caused some tests to
  4145. fail on BSD systems. Assume current behavior is correct and make
  4146. the tests pass again. Fixes bug 23566; bugfix on 0.3.2.1-alpha.
  4147. o Code simplification and refactoring:
  4148. - Remove various ways of testing circuits and connections for
  4149. "clientness"; instead, favor channel_is_client(). Part of
  4150. ticket 22805.
  4151. o Deprecated features:
  4152. - The ReachableDirAddresses and ClientPreferIPv6DirPort options are
  4153. now deprecated; they do not apply to relays, and they have had no
  4154. effect on clients since 0.2.8.x. Closes ticket 19704.
  4155. o Documentation:
  4156. - HiddenServiceVersion man page entry wasn't mentioning the now
  4157. supported version 3. Fixes ticket 23580; bugfix on 0.3.2.1-alpha.
  4158. - Clarify that the Address option is entirely about setting an
  4159. advertised IPv4 address. Closes ticket 18891.
  4160. - Clarify the manpage's use of the term "address" to clarify what
  4161. kind of address is intended. Closes ticket 21405.
  4162. - Document that onion service subdomains are allowed, and ignored.
  4163. Closes ticket 18736.
  4164. Changes in version 0.3.2.1-alpha - 2017-09-18
  4165. Tor 0.3.2.1-alpha is the first release in the 0.3.2.x series. It
  4166. includes support for our next-generation ("v3") onion service
  4167. protocol, and adds a new circuit scheduler for more responsive
  4168. forwarding decisions from relays. There are also numerous other small
  4169. features and bugfixes here.
  4170. Below are the changes since Tor 0.3.1.7.
  4171. o Major feature (scheduler, channel):
  4172. - Tor now uses new schedulers to decide which circuits should
  4173. deliver cells first, in order to improve congestion at relays. The
  4174. first type is called "KIST" ("Kernel Informed Socket Transport"),
  4175. and is only available on Linux-like systems: it uses feedback from
  4176. the kernel to prevent the kernel's TCP buffers from growing too
  4177. full. The second new scheduler type is called "KISTLite": it
  4178. behaves the same as KIST, but runs on systems without kernel
  4179. support for inspecting TCP implementation details. The old
  4180. scheduler is still available, under the name "Vanilla". To change
  4181. the default scheduler preference order, use the new "Schedulers"
  4182. option. (The default preference order is "KIST,KISTLite,Vanilla".)
  4183. Matt Traudt implemented KIST, based on research by Rob Jansen,
  4184. John Geddes, Christ Wacek, Micah Sherr, and Paul Syverson. For
  4185. more information, see the design paper at
  4186. http://www.robgjansen.com/publications/kist-sec2014.pdf and the
  4187. followup implementation paper at https://arxiv.org/abs/1709.01044.
  4188. Closes ticket 12541.
  4189. o Major features (next-generation onion services):
  4190. - Tor now supports the next-generation onion services protocol for
  4191. clients and services! As part of this release, the core of
  4192. proposal 224 has been implemented and is available for
  4193. experimentation and testing by our users. This newer version of
  4194. onion services ("v3") features many improvements over the legacy
  4195. system, including:
  4196. a) Better crypto (replaced SHA1/DH/RSA1024
  4197. with SHA3/ed25519/curve25519)
  4198. b) Improved directory protocol, leaking much less information to
  4199. directory servers.
  4200. c) Improved directory protocol, with smaller surface for
  4201. targeted attacks.
  4202. d) Better onion address security against impersonation.
  4203. e) More extensible introduction/rendezvous protocol.
  4204. f) A cleaner and more modular codebase.
  4205. You can identify a next-generation onion address by its length:
  4206. they are 56 characters long, as in
  4207. "4acth47i6kxnvkewtm6q7ib2s3ufpo5sqbsnzjpbi7utijcltosqemad.onion".
  4208. In the future, we will release more options and features for v3
  4209. onion services, but we first need a testing period, so that the
  4210. current codebase matures and becomes more robust. Planned features
  4211. include: offline keys, advanced client authorization, improved
  4212. guard algorithms, and statistics. For full details, see
  4213. proposal 224.
  4214. Legacy ("v2") onion services will still work for the foreseeable
  4215. future, and will remain the default until this new codebase gets
  4216. tested and hardened. Service operators who want to experiment with
  4217. the new system can use the 'HiddenServiceVersion 3' torrc
  4218. directive along with the regular onion service configuration
  4219. options. We will publish a blog post about this new feature
  4220. soon! Enjoy!
  4221. o Major bugfixes (usability, control port):
  4222. - Report trusted clock skew indications as bootstrap errors, so
  4223. controllers can more easily alert users when their clocks are
  4224. wrong. Fixes bug 23506; bugfix on 0.1.2.6-alpha.
  4225. o Minor features (bug detection):
  4226. - Log a warning message with a stack trace for any attempt to call
  4227. get_options() during option validation. This pattern has caused
  4228. subtle bugs in the past. Closes ticket 22281.
  4229. o Minor features (client):
  4230. - You can now use Tor as a tunneled HTTP proxy: use the new
  4231. HTTPTunnelPort option to open a port that accepts HTTP CONNECT
  4232. requests. Closes ticket 22407.
  4233. - Add an extra check to make sure that we always use the newer guard
  4234. selection code for picking our guards. Closes ticket 22779.
  4235. - When downloading (micro)descriptors, don't split the list into
  4236. multiple requests unless we want at least 32 descriptors.
  4237. Previously, we split at 4, not 32, which led to significant
  4238. overhead in HTTP request size and degradation in compression
  4239. performance. Closes ticket 23220.
  4240. o Minor features (command line):
  4241. - Add a new commandline option, --key-expiration, which prints when
  4242. the current signing key is going to expire. Implements ticket
  4243. 17639; patch by Isis Lovecruft.
  4244. o Minor features (control port):
  4245. - If an application tries to use the control port as an HTTP proxy,
  4246. respond with a meaningful "This is the Tor control port" message,
  4247. and log the event. Closes ticket 1667. Patch from Ravi
  4248. Chandra Padmala.
  4249. - Provide better error message for GETINFO desc/(id|name) when not
  4250. fetching router descriptors. Closes ticket 5847. Patch by
  4251. Kevin Butler.
  4252. - Add GETINFO "{desc,md}/download-enabled", to inform the controller
  4253. whether Tor will try to download router descriptors and
  4254. microdescriptors respectively. Closes ticket 22684.
  4255. - Added new GETINFO targets "ip-to-country/{ipv4,ipv6}-available",
  4256. so controllers can tell whether the geoip databases are loaded.
  4257. Closes ticket 23237.
  4258. - Adds a timestamp field to the CIRC_BW and STREAM_BW bandwidth
  4259. events. Closes ticket 19254. Patch by "DonnchaC".
  4260. o Minor features (development support):
  4261. - Developers can now generate a call-graph for Tor using the
  4262. "calltool" python program, which post-processes object dumps. It
  4263. should work okay on many Linux and OSX platforms, and might work
  4264. elsewhere too. To run it, install calltool from
  4265. https://gitweb.torproject.org/user/nickm/calltool.git and run
  4266. "make callgraph". Closes ticket 19307.
  4267. o Minor features (ed25519):
  4268. - Add validation function to checks for torsion components in
  4269. ed25519 public keys, used by prop224 client-side code. Closes
  4270. ticket 22006. Math help by Ian Goldberg.
  4271. o Minor features (exit relay, DNS):
  4272. - Improve the clarity and safety of the log message from evdns when
  4273. receiving an apparently spoofed DNS reply. Closes ticket 3056.
  4274. o Minor features (integration, hardening):
  4275. - Add a new NoExec option to prevent Tor from running other
  4276. programs. When this option is set to 1, Tor will never try to run
  4277. another program, regardless of the settings of
  4278. PortForwardingHelper, ClientTransportPlugin, or
  4279. ServerTransportPlugin. Once NoExec is set, it cannot be disabled
  4280. without restarting Tor. Closes ticket 22976.
  4281. o Minor features (logging):
  4282. - Improve the warning message for specifying a relay by nickname.
  4283. The previous message implied that nickname registration was still
  4284. part of the Tor network design, which it isn't. Closes
  4285. ticket 20488.
  4286. - If the sandbox filter fails to load, suggest to the user that
  4287. their kernel might not support seccomp2. Closes ticket 23090.
  4288. o Minor features (portability):
  4289. - Check at configure time whether uint8_t is the same type as
  4290. unsigned char. Lots of existing code already makes this
  4291. assumption, and there could be strict aliasing issues if the
  4292. assumption is violated. Closes ticket 22410.
  4293. o Minor features (relay, configuration):
  4294. - Reject attempts to use relative file paths when RunAsDaemon is
  4295. set. Previously, Tor would accept these, but the directory-
  4296. changing step of RunAsDaemon would give strange and/or confusing
  4297. results. Closes ticket 22731.
  4298. o Minor features (startup, safety):
  4299. - When configured to write a PID file, Tor now exits if it is unable
  4300. to do so. Previously, it would warn and continue. Closes
  4301. ticket 20119.
  4302. o Minor features (static analysis):
  4303. - The BUG() macro has been changed slightly so that Coverity no
  4304. longer complains about dead code if the bug is impossible. Closes
  4305. ticket 23054.
  4306. o Minor features (testing):
  4307. - The default chutney network tests now include tests for the v3
  4308. hidden service design. Make sure you have the latest version of
  4309. chutney if you want to run these. Closes ticket 22437.
  4310. - Add a unit test to verify that we can parse a hardcoded v2 hidden
  4311. service descriptor. Closes ticket 15554.
  4312. o Minor bugfixes (certificate handling):
  4313. - Fix a time handling bug in Tor certificates set to expire after
  4314. the year 2106. Fixes bug 23055; bugfix on 0.3.0.1-alpha. Found by
  4315. Coverity as CID 1415728.
  4316. o Minor bugfixes (client, usability):
  4317. - Refrain from needlessly rejecting SOCKS5-with-hostnames and
  4318. SOCKS4a requests that contain IP address strings, even when
  4319. SafeSocks in enabled, as this prevents user from connecting to
  4320. known IP addresses without relying on DNS for resolving. SafeSocks
  4321. still rejects SOCKS connections that connect to IP addresses when
  4322. those addresses are _not_ encoded as hostnames. Fixes bug 22461;
  4323. bugfix on Tor 0.2.6.2-alpha.
  4324. o Minor bugfixes (code correctness):
  4325. - Call htons() in extend_cell_format() for encoding a 16-bit value.
  4326. Previously we used ntohs(), which happens to behave the same on
  4327. all the platforms we support, but which isn't really correct.
  4328. Fixes bug 23106; bugfix on 0.2.4.8-alpha.
  4329. - For defense-in-depth, make the controller's write_escaped_data()
  4330. function robust to extremely long inputs. Fixes bug 19281; bugfix
  4331. on 0.1.1.1-alpha. Reported by Guido Vranken.
  4332. o Minor bugfixes (compilation):
  4333. - Fix unused-variable warnings in donna's Curve25519 SSE2 code.
  4334. Fixes bug 22895; bugfix on 0.2.7.2-alpha.
  4335. o Minor bugfixes (consensus expiry):
  4336. - Check for adequate directory information correctly. Previously, Tor
  4337. would reconsider whether it had sufficient directory information
  4338. every 2 minutes. Fixes bug 23091; bugfix on 0.2.0.19-alpha.
  4339. o Minor bugfixes (directory protocol):
  4340. - Directory servers now include a "Date:" http header for response
  4341. codes other than 200. Clients starting with a skewed clock and a
  4342. recent consensus were getting "304 Not modified" responses from
  4343. directory authorities, so without the Date header, the client
  4344. would never hear about a wrong clock. Fixes bug 23499; bugfix
  4345. on 0.0.8rc1.
  4346. - Make clients wait for 6 seconds before trying to download a
  4347. consensus from an authority. Fixes bug 17750; bugfix
  4348. on 0.2.8.1-alpha.
  4349. o Minor bugfixes (DoS-resistance):
  4350. - If future code asks if there are any running bridges, without
  4351. checking if bridges are enabled, log a BUG warning rather than
  4352. crashing. Fixes bug 23524; bugfix on 0.3.0.1-alpha.
  4353. o Minor bugfixes (format strictness):
  4354. - Restrict several data formats to decimal. Previously, the
  4355. BuildTimeHistogram entries in the state file, the "bw=" entries in
  4356. the bandwidth authority file, and the process IDs passed to the
  4357. __OwningControllerProcess option could all be specified in hex or
  4358. octal as well as in decimal. This was not an intentional feature.
  4359. Fixes bug 22802; bugfixes on 0.2.2.1-alpha, 0.2.2.2-alpha,
  4360. and 0.2.2.28-beta.
  4361. o Minor bugfixes (heartbeat):
  4362. - If we fail to write a heartbeat message, schedule a retry for the
  4363. minimum heartbeat interval number of seconds in the future. Fixes
  4364. bug 19476; bugfix on 0.2.3.1-alpha.
  4365. o Minor bugfixes (linux seccomp2 sandbox, logging):
  4366. - Fix some messages on unexpected errors from the seccomp2 library.
  4367. Fixes bug 22750; bugfix on 0.2.5.1-alpha. Patch from "cypherpunks".
  4368. o Minor bugfixes (logging):
  4369. - Remove duplicate log messages regarding opening non-local
  4370. SocksPorts upon parsing config and opening listeners at startup.
  4371. Fixes bug 4019; bugfix on 0.2.3.3-alpha.
  4372. - Use a more comprehensible log message when telling the user
  4373. they've excluded every running exit node. Fixes bug 7890; bugfix
  4374. on 0.2.2.25-alpha.
  4375. - When logging the number of descriptors we intend to download per
  4376. directory request, do not log a number higher than then the number
  4377. of descriptors we're fetching in total. Fixes bug 19648; bugfix
  4378. on 0.1.1.8-alpha.
  4379. - When warning about a directory owned by the wrong user, log the
  4380. actual name of the user owning the directory. Previously, we'd log
  4381. the name of the process owner twice. Fixes bug 23487; bugfix
  4382. on 0.2.9.1-alpha.
  4383. - The tor specification says hop counts are 1-based, so fix two log
  4384. messages that mistakenly logged 0-based hop counts. Fixes bug
  4385. 18982; bugfix on 0.2.6.2-alpha and 0.2.4.5-alpha. Patch by teor.
  4386. Credit to Xiaofan Li for reporting this issue.
  4387. o Minor bugfixes (portability):
  4388. - Stop using the PATH_MAX variable, which is not defined on GNU
  4389. Hurd. Fixes bug 23098; bugfix on 0.3.1.1-alpha.
  4390. o Minor bugfixes (relay):
  4391. - When uploading our descriptor for the first time after startup,
  4392. report the reason for uploading as "Tor just started" rather than
  4393. leaving it blank. Fixes bug 22885; bugfix on 0.2.3.4-alpha.
  4394. - Avoid unnecessary calls to directory_fetches_from_authorities() on
  4395. relays, to prevent spurious address resolutions and descriptor
  4396. rebuilds. This is a mitigation for bug 21789. Fixes bug 23470;
  4397. bugfix on in 0.2.8.1-alpha.
  4398. o Minor bugfixes (tests):
  4399. - Fix a broken unit test for the OutboundAddress option: the parsing
  4400. function was never returning an error on failure. Fixes bug 23366;
  4401. bugfix on 0.3.0.3-alpha.
  4402. - Fix a signed-integer overflow in the unit tests for
  4403. dir/download_status_random_backoff, which was untriggered until we
  4404. fixed bug 17750. Fixes bug 22924; bugfix on 0.2.9.1-alpha.
  4405. o Minor bugfixes (usability, control port):
  4406. - Stop making an unnecessary routerlist check in NETINFO clock skew
  4407. detection; this was preventing clients from reporting NETINFO clock
  4408. skew to controllers. Fixes bug 23532; bugfix on 0.2.4.4-alpha.
  4409. o Code simplification and refactoring:
  4410. - Extract the code for handling newly-open channels into a separate
  4411. function from the general code to handle channel state
  4412. transitions. This change simplifies our callgraph, reducing the
  4413. size of the largest strongly connected component by roughly a
  4414. factor of two. Closes ticket 22608.
  4415. - Remove dead code for largely unused statistics on the number of
  4416. times we've attempted various public key operations. Fixes bug
  4417. 19871; bugfix on 0.1.2.4-alpha. Fix by Isis Lovecruft.
  4418. - Remove several now-obsolete functions for asking about old
  4419. variants directory authority status. Closes ticket 22311; patch
  4420. from "huyvq".
  4421. - Remove some of the code that once supported "Named" and "Unnamed"
  4422. routers. Authorities no longer vote for these flags. Closes
  4423. ticket 22215.
  4424. - Rename the obsolete malleable hybrid_encrypt functions used in TAP
  4425. and old hidden services, to indicate that they aren't suitable for
  4426. new protocols or formats. Closes ticket 23026.
  4427. - Replace our STRUCT_OFFSET() macro with offsetof(). Closes ticket
  4428. 22521. Patch from Neel Chauhan.
  4429. - Split the enormous circuit_send_next_onion_skin() function into
  4430. multiple subfunctions. Closes ticket 22804.
  4431. - Split the portions of the buffer.c module that handle particular
  4432. protocols into separate modules. Part of ticket 23149.
  4433. - Use our test macros more consistently, to produce more useful
  4434. error messages when our unit tests fail. Add coccinelle patches to
  4435. allow us to re-check for test macro uses. Closes ticket 22497.
  4436. o Deprecated features:
  4437. - Deprecate HTTPProxy/HTTPProxyAuthenticator config options. They
  4438. only applies to direct unencrypted HTTP connections to your
  4439. directory server, which your Tor probably isn't using. Closes
  4440. ticket 20575.
  4441. o Documentation:
  4442. - Clarify in the manual that "Sandbox 1" is only supported on Linux
  4443. kernels. Closes ticket 22677.
  4444. - Document all values of PublishServerDescriptor in the manpage.
  4445. Closes ticket 15645.
  4446. - Improve the documentation for the directory port part of the
  4447. DirAuthority line. Closes ticket 20152.
  4448. - Restore documentation for the authorities' "approved-routers"
  4449. file. Closes ticket 21148.
  4450. o Removed features:
  4451. - The AllowDotExit option has been removed as unsafe. It has been
  4452. deprecated since 0.2.9.2-alpha. Closes ticket 23426.
  4453. - The ClientDNSRejectInternalAddresses flag can no longer be set on
  4454. non-testing networks. It has been deprecated since 0.2.9.2-alpha.
  4455. Closes ticket 21031.
  4456. - The controller API no longer includes an AUTHDIR_NEWDESCS event:
  4457. nobody was using it any longer. Closes ticket 22377.
  4458. Changes in version 0.2.8.15 - 2017-09-18
  4459. Tor 0.2.8.15 backports a collection of bugfixes from later
  4460. Tor series.
  4461. Most significantly, it includes a fix for TROVE-2017-008, a
  4462. security bug that affects hidden services running with the
  4463. SafeLogging option disabled. For more information, see
  4464. https://trac.torproject.org/projects/tor/ticket/23490
  4465. Note that Tor 0.2.8.x will no longer be supported after 1 Jan
  4466. 2018. We suggest that you upgrade to the latest stable release if
  4467. possible. If you can't, we recommend that you upgrade at least to
  4468. 0.2.9, which will be supported until 2020.
  4469. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  4470. - Avoid an assertion failure bug affecting our implementation of
  4471. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  4472. handling of "0xx" differs from what we had expected. Fixes bug
  4473. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  4474. o Minor features:
  4475. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  4476. Country database.
  4477. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  4478. - Backport a fix for an "unused variable" warning that appeared
  4479. in some versions of mingw. Fixes bug 22838; bugfix on
  4480. 0.2.8.1-alpha.
  4481. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  4482. - Fix a memset() off the end of an array when packing cells. This
  4483. bug should be harmless in practice, since the corrupted bytes are
  4484. still in the same structure, and are always padding bytes,
  4485. ignored, or immediately overwritten, depending on compiler
  4486. behavior. Nevertheless, because the memset()'s purpose is to make
  4487. sure that any other cell-handling bugs can't expose bytes to the
  4488. network, we need to fix it. Fixes bug 22737; bugfix on
  4489. 0.2.4.11-alpha. Fixes CID 1401591.
  4490. o Build features (backport from 0.3.1.5-alpha):
  4491. - Tor's repository now includes a Travis Continuous Integration (CI)
  4492. configuration file (.travis.yml). This is meant to help new
  4493. developers and contributors who fork Tor to a Github repository be
  4494. better able to test their changes, and understand what we expect
  4495. to pass. To use this new build feature, you must fork Tor to your
  4496. Github account, then go into the "Integrations" menu in the
  4497. repository settings for your fork and enable Travis, then push
  4498. your changes. Closes ticket 22636.
  4499. Changes in version 0.2.9.12 - 2017-09-18
  4500. Tor 0.2.9.12 backports a collection of bugfixes from later
  4501. Tor series.
  4502. Most significantly, it includes a fix for TROVE-2017-008, a
  4503. security bug that affects hidden services running with the
  4504. SafeLogging option disabled. For more information, see
  4505. https://trac.torproject.org/projects/tor/ticket/23490
  4506. o Major features (security, backport from 0.3.0.2-alpha):
  4507. - Change the algorithm used to decide DNS TTLs on client and server
  4508. side, to better resist DNS-based correlation attacks like the
  4509. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  4510. Feamster. Now relays only return one of two possible DNS TTL
  4511. values, and clients are willing to believe DNS TTL values up to 3
  4512. hours long. Closes ticket 19769.
  4513. o Major bugfixes (crash, directory connections, backport from 0.3.0.5-rc):
  4514. - Fix a rare crash when sending a begin cell on a circuit whose
  4515. linked directory connection had already been closed. Fixes bug
  4516. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  4517. o Major bugfixes (DNS, backport from 0.3.0.2-alpha):
  4518. - Fix a bug that prevented exit nodes from caching DNS records for
  4519. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  4520. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  4521. - Fix a typo that had prevented TPROXY-based transparent proxying
  4522. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  4523. Patch from "d4fq0fQAgoJ".
  4524. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  4525. - Avoid an assertion failure bug affecting our implementation of
  4526. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  4527. handling of "0xx" differs from what we had expected. Fixes bug
  4528. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  4529. o Minor features (code style, backport from 0.3.1.3-alpha):
  4530. - Add "Falls through" comments to our codebase, in order to silence
  4531. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  4532. Stieger. Closes ticket 22446.
  4533. o Minor features (geoip):
  4534. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  4535. Country database.
  4536. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.1-alpha):
  4537. - Roll over monthly accounting at the configured hour and minute,
  4538. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  4539. Found by Andrey Karpov with PVS-Studio.
  4540. o Minor bugfixes (compilation, backport from 0.3.1.5-alpha):
  4541. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  4542. bugfix on 0.2.8.1-alpha.
  4543. - Fix warnings when building with libscrypt and openssl scrypt support
  4544. on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  4545. - When building with certain versions the mingw C header files, avoid
  4546. float-conversion warnings when calling the C functions isfinite(),
  4547. isnan(), and signbit(). Fixes bug 22801; bugfix on 0.2.8.1-alpha.
  4548. o Minor bugfixes (compilation, backport from 0.3.1.7):
  4549. - Avoid compiler warnings in the unit tests for running tor_sscanf()
  4550. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  4551. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  4552. - Backport a fix for an "unused variable" warning that appeared
  4553. in some versions of mingw. Fixes bug 22838; bugfix on
  4554. 0.2.8.1-alpha.
  4555. o Minor bugfixes (controller, backport from 0.3.1.7):
  4556. - Do not crash when receiving a HSPOST command with an empty body.
  4557. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  4558. - Do not crash when receiving a POSTDESCRIPTOR command with an
  4559. empty body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  4560. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  4561. - Avoid Coverity build warnings related to our BUG() macro. By
  4562. default, Coverity treats BUG() as the Linux kernel does: an
  4563. instant abort(). We need to override that so our BUG() macro
  4564. doesn't prevent Coverity from analyzing functions that use it.
  4565. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  4566. o Minor bugfixes (defensive programming, undefined behavior, backport from 0.3.1.4-alpha):
  4567. - Fix a memset() off the end of an array when packing cells. This
  4568. bug should be harmless in practice, since the corrupted bytes are
  4569. still in the same structure, and are always padding bytes,
  4570. ignored, or immediately overwritten, depending on compiler
  4571. behavior. Nevertheless, because the memset()'s purpose is to make
  4572. sure that any other cell-handling bugs can't expose bytes to the
  4573. network, we need to fix it. Fixes bug 22737; bugfix on
  4574. 0.2.4.11-alpha. Fixes CID 1401591.
  4575. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  4576. - When setting the maximum number of connections allowed by the OS,
  4577. always allow some extra file descriptors for other files. Fixes
  4578. bug 22797; bugfix on 0.2.0.10-alpha.
  4579. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  4580. - Avoid a sandbox failure when trying to re-bind to a socket and
  4581. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  4582. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  4583. - Permit the fchmod system call, to avoid crashing on startup when
  4584. starting with the seccomp2 sandbox and an unexpected set of
  4585. permissions on the data directory or its contents. Fixes bug
  4586. 22516; bugfix on 0.2.5.4-alpha.
  4587. o Minor bugfixes (relay, backport from 0.3.0.5-rc):
  4588. - Avoid a double-marked-circuit warning that could happen when we
  4589. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  4590. on 0.1.0.1-rc.
  4591. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  4592. - Reject version numbers with non-numeric prefixes (such as +, -, or
  4593. whitespace). Disallowing whitespace prevents differential version
  4594. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  4595. and part of 21508; bugfix on 0.0.8pre1.
  4596. o Build features (backport from 0.3.1.5-alpha):
  4597. - Tor's repository now includes a Travis Continuous Integration (CI)
  4598. configuration file (.travis.yml). This is meant to help new
  4599. developers and contributors who fork Tor to a Github repository be
  4600. better able to test their changes, and understand what we expect
  4601. to pass. To use this new build feature, you must fork Tor to your
  4602. Github account, then go into the "Integrations" menu in the
  4603. repository settings for your fork and enable Travis, then push
  4604. your changes. Closes ticket 22636.
  4605. Changes in version 0.3.0.11 - 2017-09-18
  4606. Tor 0.3.0.11 backports a collection of bugfixes from Tor the 0.3.1
  4607. series.
  4608. Most significantly, it includes a fix for TROVE-2017-008, a
  4609. security bug that affects hidden services running with the
  4610. SafeLogging option disabled. For more information, see
  4611. https://trac.torproject.org/projects/tor/ticket/23490
  4612. o Minor features (code style, backport from 0.3.1.7):
  4613. - Add "Falls through" comments to our codebase, in order to silence
  4614. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  4615. Stieger. Closes ticket 22446.
  4616. o Minor features:
  4617. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  4618. Country database.
  4619. o Minor bugfixes (compilation, backport from 0.3.1.7):
  4620. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  4621. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  4622. o Minor bugfixes (controller, backport from 0.3.1.7):
  4623. - Do not crash when receiving a HSPOST command with an empty body.
  4624. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  4625. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  4626. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  4627. o Minor bugfixes (file limits, osx, backport from 0.3.1.5-alpha):
  4628. - When setting the maximum number of connections allowed by the OS,
  4629. always allow some extra file descriptors for other files. Fixes
  4630. bug 22797; bugfix on 0.2.0.10-alpha.
  4631. o Minor bugfixes (logging, relay, backport from 0.3.1.6-rc):
  4632. - Remove a forgotten debugging message when an introduction point
  4633. successfully establishes a hidden service prop224 circuit with
  4634. a client.
  4635. - Change three other log_warn() for an introduction point to
  4636. protocol warnings, because they can be failure from the network
  4637. and are not relevant to the operator. Fixes bug 23078; bugfix on
  4638. 0.3.0.1-alpha and 0.3.0.2-alpha.
  4639. Changes in version 0.3.1.7 - 2017-09-18
  4640. Tor 0.3.1.7 is the first stable release in the 0.3.1 series.
  4641. With the 0.3.1 series, Tor now serves and downloads directory
  4642. information in more compact formats, to save on bandwidth overhead. It
  4643. also contains a new padding system to resist netflow-based traffic
  4644. analysis, and experimental support for building parts of Tor in Rust
  4645. (though no parts of Tor are in Rust yet). There are also numerous
  4646. small features, bugfixes on earlier release series, and groundwork for
  4647. the hidden services revamp of 0.3.2.
  4648. This release also includes a fix for TROVE-2017-008, a security bug
  4649. that affects hidden services running with the SafeLogging option
  4650. disabled. For more information, see
  4651. https://trac.torproject.org/projects/tor/ticket/23490
  4652. Per our stable release policy, we plan to support each stable release
  4653. series for at least the next nine months, or for three months after
  4654. the first stable release of the next series: whichever is longer. If
  4655. you need a release with long-term support, we recommend that you stay
  4656. with the 0.2.9 series.
  4657. Below is a list of the changes since 0.3.1.6-rc. For a list of all
  4658. changes since 0.3.0, see the ReleaseNotes file.
  4659. o Major bugfixes (security, hidden services, loggging):
  4660. - Fix a bug where we could log uninitialized stack when a certain
  4661. hidden service error occurred while SafeLogging was disabled.
  4662. Fixes bug #23490; bugfix on 0.2.7.2-alpha. This is also tracked as
  4663. TROVE-2017-008 and CVE-2017-0380.
  4664. o Minor features (defensive programming):
  4665. - Create a pair of consensus parameters, nf_pad_tor2web and
  4666. nf_pad_single_onion, to disable netflow padding in the consensus
  4667. for non-anonymous connections in case the overhead is high. Closes
  4668. ticket 17857.
  4669. o Minor features (diagnostic):
  4670. - Add a stack trace to the bug warnings that can be logged when
  4671. trying to send an outgoing relay cell with n_chan == 0. Diagnostic
  4672. attempt for bug 23105.
  4673. o Minor features (geoip):
  4674. - Update geoip and geoip6 to the September 6 2017 Maxmind GeoLite2
  4675. Country database.
  4676. o Minor bugfixes (compilation):
  4677. - Avoid compiler warnings in the unit tests for calling tor_sscanf()
  4678. with wide string outputs. Fixes bug 15582; bugfix on 0.2.6.2-alpha.
  4679. o Minor bugfixes (controller):
  4680. - Do not crash when receiving a HSPOST command with an empty body.
  4681. Fixes part of bug 22644; bugfix on 0.2.7.1-alpha.
  4682. - Do not crash when receiving a POSTDESCRIPTOR command with an empty
  4683. body. Fixes part of bug 22644; bugfix on 0.2.0.1-alpha.
  4684. o Minor bugfixes (relay):
  4685. - Inform the geoip and rephist modules about all requests, even on
  4686. relays that are only fetching microdescriptors. Fixes a bug
  4687. related to 21585; bugfix on 0.3.0.1-alpha.
  4688. o Minor bugfixes (unit tests):
  4689. - Fix a channelpadding unit test failure on slow systems by using
  4690. mocked time instead of actual time. Fixes bug 23077; bugfix
  4691. on 0.3.1.1-alpha.
  4692. Changes in version 0.3.1.6-rc - 2017-09-05
  4693. Tor 0.3.1.6-rc fixes a few small bugs and annoyances in the 0.3.1
  4694. release series, including a bug that produced weird behavior on
  4695. Windows directory caches.
  4696. This is the first release candidate in the Tor 0.3.1 series. If we
  4697. find no new bugs or regressions here, the first stable 0.3.1 release
  4698. will be nearly identical to it.
  4699. o Major bugfixes (windows, directory cache):
  4700. - On Windows, do not try to delete cached consensus documents and
  4701. diffs before they are unmapped from memory--Windows won't allow
  4702. that. Instead, allow the consensus cache directory to grow larger,
  4703. to hold files that might need to stay around longer. Fixes bug
  4704. 22752; bugfix on 0.3.1.1-alpha.
  4705. o Minor features (directory authority):
  4706. - Improve the message that authorities report to relays that present
  4707. RSA/Ed25519 keypairs that conflict with previously pinned keys.
  4708. Closes ticket 22348.
  4709. o Minor features (geoip):
  4710. - Update geoip and geoip6 to the August 3 2017 Maxmind GeoLite2
  4711. Country database.
  4712. o Minor features (testing):
  4713. - Add more tests for compression backend initialization. Closes
  4714. ticket 22286.
  4715. o Minor bugfixes (directory cache):
  4716. - Fix a memory leak when recovering space in the consensus cache.
  4717. Fixes bug 23139; bugfix on 0.3.1.1-alpha.
  4718. o Minor bugfixes (hidden service):
  4719. - Increase the number of circuits that a service is allowed to
  4720. open over a specific period of time. The value was lower than it
  4721. should be (8 vs 12) in the normal case of 3 introduction points.
  4722. Fixes bug 22159; bugfix on 0.3.0.5-rc.
  4723. - Fix a BUG warning during HSv3 descriptor decoding that could be
  4724. cause by a specially crafted descriptor. Fixes bug 23233; bugfix
  4725. on 0.3.0.1-alpha. Bug found by "haxxpop".
  4726. - Rate-limit the log messages if we exceed the maximum number of
  4727. allowed intro circuits. Fixes bug 22159; bugfix on 0.3.1.1-alpha.
  4728. o Minor bugfixes (logging, relay):
  4729. - Remove a forgotten debugging message when an introduction point
  4730. successfully establishes a hidden service prop224 circuit with
  4731. a client.
  4732. - Change three other log_warn() for an introduction point to
  4733. protocol warnings, because they can be failure from the network
  4734. and are not relevant to the operator. Fixes bug 23078; bugfix on
  4735. 0.3.0.1-alpha and 0.3.0.2-alpha.
  4736. o Minor bugfixes (relay):
  4737. - When a relay is not running as a directory cache, it will no
  4738. longer generate compressed consensuses and consensus diff
  4739. information. Previously, this was a waste of disk and CPU. Fixes
  4740. bug 23275; bugfix on 0.3.1.1-alpha.
  4741. o Minor bugfixes (robustness, error handling):
  4742. - Improve our handling of the cases where OpenSSL encounters a
  4743. memory error while encoding keys and certificates. We haven't
  4744. observed these errors in the wild, but if they do happen, we now
  4745. detect and respond better. Fixes bug 19418; bugfix on all versions
  4746. of Tor. Reported by Guido Vranken.
  4747. o Minor bugfixes (stability):
  4748. - Avoid crashing on a double-free when unable to load or process an
  4749. included file. Fixes bug 23155; bugfix on 0.3.1.1-alpha. Found
  4750. with the clang static analyzer.
  4751. o Minor bugfixes (testing):
  4752. - Fix an undersized buffer in test-memwipe.c. Fixes bug 23291;
  4753. bugfix on 0.2.7.2-alpha. Found and patched by Ties Stuij.
  4754. - Port the hs_ntor handshake test to work correctly with recent
  4755. versions of the pysha3 module. Fixes bug 23071; bugfix
  4756. on 0.3.1.1-alpha.
  4757. o Minor bugfixes (Windows service):
  4758. - When running as a Windows service, set the ID of the main thread
  4759. correctly. Failure to do so made us fail to send log messages to
  4760. the controller in 0.2.1.16-rc, slowed down controller event
  4761. delivery in 0.2.7.3-rc and later, and crash with an assertion
  4762. failure in 0.3.1.1-alpha. Fixes bug 23081; bugfix on 0.2.1.6-alpha.
  4763. Patch and diagnosis from "Vort".
  4764. Changes in version 0.3.0.10 - 2017-08-02
  4765. Tor 0.3.0.10 backports a collection of small-to-medium bugfixes
  4766. from the current Tor alpha series. OpenBSD users and TPROXY users
  4767. should upgrade; others are probably okay sticking with 0.3.0.9.
  4768. o Major features (build system, continuous integration, backport from 0.3.1.5-alpha):
  4769. - Tor's repository now includes a Travis Continuous Integration (CI)
  4770. configuration file (.travis.yml). This is meant to help new
  4771. developers and contributors who fork Tor to a Github repository be
  4772. better able to test their changes, and understand what we expect
  4773. to pass. To use this new build feature, you must fork Tor to your
  4774. Github account, then go into the "Integrations" menu in the
  4775. repository settings for your fork and enable Travis, then push
  4776. your changes. Closes ticket 22636.
  4777. o Major bugfixes (linux TPROXY support, backport from 0.3.1.1-alpha):
  4778. - Fix a typo that had prevented TPROXY-based transparent proxying
  4779. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  4780. Patch from "d4fq0fQAgoJ".
  4781. o Major bugfixes (openbsd, denial-of-service, backport from 0.3.1.5-alpha):
  4782. - Avoid an assertion failure bug affecting our implementation of
  4783. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  4784. handling of "0xbar" differs from what we had expected. Fixes bug
  4785. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  4786. o Minor features (backport from 0.3.1.5-alpha):
  4787. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  4788. Country database.
  4789. o Minor bugfixes (bandwidth accounting, backport from 0.3.1.2-alpha):
  4790. - Roll over monthly accounting at the configured hour and minute,
  4791. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  4792. Found by Andrey Karpov with PVS-Studio.
  4793. o Minor bugfixes (compilation warnings, backport from 0.3.1.5-alpha):
  4794. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug 22915;
  4795. bugfix on 0.2.8.1-alpha.
  4796. - Fix warnings when building with libscrypt and openssl scrypt
  4797. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  4798. - When building with certain versions of the mingw C header files,
  4799. avoid float-conversion warnings when calling the C functions
  4800. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  4801. on 0.2.8.1-alpha.
  4802. o Minor bugfixes (compilation, mingw, backport from 0.3.1.1-alpha):
  4803. - Backport a fix for an "unused variable" warning that appeared
  4804. in some versions of mingw. Fixes bug 22838; bugfix on
  4805. 0.2.8.1-alpha.
  4806. o Minor bugfixes (coverity build support, backport from 0.3.1.5-alpha):
  4807. - Avoid Coverity build warnings related to our BUG() macro. By
  4808. default, Coverity treats BUG() as the Linux kernel does: an
  4809. instant abort(). We need to override that so our BUG() macro
  4810. doesn't prevent Coverity from analyzing functions that use it.
  4811. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  4812. o Minor bugfixes (directory authority, backport from 0.3.1.1-alpha):
  4813. - When rejecting a router descriptor for running an obsolete version
  4814. of Tor without ntor support, warn about the obsolete tor version,
  4815. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  4816. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.5-alpha):
  4817. - Avoid a sandbox failure when trying to re-bind to a socket and
  4818. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  4819. o Minor bugfixes (unit tests, backport from 0.3.1.5-alpha)
  4820. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  4821. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  4822. Changes in version 0.3.1.5-alpha - 2017-08-01
  4823. Tor 0.3.1.5-alpha improves the performance of consensus diff
  4824. calculation, fixes a crash bug on older versions of OpenBSD, and fixes
  4825. several other bugs. If no serious bugs are found in this version, the
  4826. next version will be a release candidate.
  4827. This release also marks the end of support for the Tor 0.2.4.x,
  4828. 0.2.6.x, and 0.2.7.x release series. Those releases will receive no
  4829. further bug or security fixes. Anyone still running or distributing
  4830. one of those versions should upgrade.
  4831. o Major features (build system, continuous integration):
  4832. - Tor's repository now includes a Travis Continuous Integration (CI)
  4833. configuration file (.travis.yml). This is meant to help new
  4834. developers and contributors who fork Tor to a Github repository be
  4835. better able to test their changes, and understand what we expect
  4836. to pass. To use this new build feature, you must fork Tor to your
  4837. Github account, then go into the "Integrations" menu in the
  4838. repository settings for your fork and enable Travis, then push
  4839. your changes. Closes ticket 22636.
  4840. o Major bugfixes (openbsd, denial-of-service):
  4841. - Avoid an assertion failure bug affecting our implementation of
  4842. inet_pton(AF_INET6) on certain OpenBSD systems whose strtol()
  4843. handling of "0xbar" differs from what we had expected. Fixes bug
  4844. 22789; bugfix on 0.2.3.8-alpha. Also tracked as TROVE-2017-007.
  4845. o Major bugfixes (relay, performance):
  4846. - Perform circuit handshake operations at a higher priority than we
  4847. use for consensus diff creation and compression. This should
  4848. prevent circuits from starving when a relay or bridge receives a
  4849. new consensus, especially on lower-powered machines. Fixes bug
  4850. 22883; bugfix on 0.3.1.1-alpha.
  4851. o Minor features (bridge authority):
  4852. - Add "fingerprint" lines to the networkstatus-bridges file produced
  4853. by bridge authorities. Closes ticket 22207.
  4854. o Minor features (directory cache, consensus diff):
  4855. - Add a new MaxConsensusAgeForDiffs option to allow directory cache
  4856. operators with low-resource environments to adjust the number of
  4857. consensuses they'll store and generate diffs from. Most cache
  4858. operators should leave it unchanged. Helps to work around
  4859. bug 22883.
  4860. o Minor features (geoip):
  4861. - Update geoip and geoip6 to the July 4 2017 Maxmind GeoLite2
  4862. Country database.
  4863. o Minor features (relay, performance):
  4864. - Always start relays with at least two worker threads, to prevent
  4865. priority inversion on slow tasks. Part of the fix for bug 22883.
  4866. - Allow background work to be queued with different priorities, so
  4867. that a big pile of slow low-priority jobs will not starve out
  4868. higher priority jobs. This lays the groundwork for a fix for
  4869. bug 22883.
  4870. o Minor bugfixes (build system, rust):
  4871. - Fix a problem where Rust toolchains were not being found when
  4872. building without --enable-cargo-online-mode, due to setting the
  4873. $HOME environment variable instead of $CARGO_HOME. Fixes bug
  4874. 22830; bugfix on 0.3.1.1-alpha. Fix by Chelsea Komlo.
  4875. o Minor bugfixes (compatibility, zstd):
  4876. - Write zstd epilogues correctly when the epilogue requires
  4877. reallocation of the output buffer, even with zstd 1.3.0.
  4878. (Previously, we worked on 1.2.0 and failed with 1.3.0). Fixes bug
  4879. 22927; bugfix on 0.3.1.1-alpha.
  4880. o Minor bugfixes (compilation warnings):
  4881. - Suppress -Wdouble-promotion warnings with clang 4.0. Fixes bug
  4882. 22915; bugfix on 0.2.8.1-alpha.
  4883. - Fix warnings when building with libscrypt and openssl scrypt
  4884. support on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
  4885. - Compile correctly when both openssl 1.1.0 and libscrypt are
  4886. detected. Previously this would cause an error. Fixes bug 22892;
  4887. bugfix on 0.3.1.1-alpha.
  4888. - When building with certain versions of the mingw C header files,
  4889. avoid float-conversion warnings when calling the C functions
  4890. isfinite(), isnan(), and signbit(). Fixes bug 22801; bugfix
  4891. on 0.2.8.1-alpha.
  4892. o Minor bugfixes (coverity build support):
  4893. - Avoid Coverity build warnings related to our BUG() macro. By
  4894. default, Coverity treats BUG() as the Linux kernel does: an
  4895. instant abort(). We need to override that so our BUG() macro
  4896. doesn't prevent Coverity from analyzing functions that use it.
  4897. Fixes bug 23030; bugfix on 0.2.9.1-alpha.
  4898. o Minor bugfixes (directory authority):
  4899. - When a directory authority rejects a descriptor or extrainfo with
  4900. a given digest, mark that digest as undownloadable, so that we do
  4901. not attempt to download it again over and over. We previously
  4902. tried to avoid downloading such descriptors by other means, but we
  4903. didn't notice if we accidentally downloaded one anyway. This
  4904. behavior became problematic in 0.2.7.2-alpha, when authorities
  4905. began pinning Ed25519 keys. Fixes bug 22349; bugfix
  4906. on 0.2.1.19-alpha.
  4907. o Minor bugfixes (error reporting, windows):
  4908. - When formatting Windows error messages, use the English format to
  4909. avoid codepage issues. Fixes bug 22520; bugfix on 0.1.2.8-alpha.
  4910. Patch from "Vort".
  4911. o Minor bugfixes (file limits, osx):
  4912. - When setting the maximum number of connections allowed by the OS,
  4913. always allow some extra file descriptors for other files. Fixes
  4914. bug 22797; bugfix on 0.2.0.10-alpha.
  4915. o Minor bugfixes (linux seccomp2 sandbox):
  4916. - Avoid a sandbox failure when trying to re-bind to a socket and
  4917. mark it as IPv6-only. Fixes bug 20247; bugfix on 0.2.5.1-alpha.
  4918. o Minor bugfixes (memory leaks):
  4919. - Fix a small memory leak when validating a configuration that uses
  4920. two or more AF_UNIX sockets for the same port type. Fixes bug
  4921. 23053; bugfix on 0.2.6.3-alpha. This is CID 1415725.
  4922. o Minor bugfixes (unit tests):
  4923. - test_consdiff_base64cmp would fail on OS X because while OS X
  4924. follows the standard of (less than zero/zero/greater than zero),
  4925. it doesn't follow the convention of (-1/0/+1). Make the test
  4926. comply with the standard. Fixes bug 22870; bugfix on 0.3.1.1-alpha.
  4927. - Fix a memory leak in the link-handshake/certs_ok_ed25519 test.
  4928. Fixes bug 22803; bugfix on 0.3.0.1-alpha.
  4929. Changes in version 0.3.1.4-alpha - 2017-06-29
  4930. Tor 0.3.1.4-alpha fixes a path selection bug that would allow a client
  4931. to use a guard that was in the same network family as a chosen exit
  4932. relay. This is a security regression; all clients running earlier
  4933. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9
  4934. or 0.3.1.4-alpha.
  4935. This release also fixes several other bugs introduced in 0.3.0.x
  4936. and 0.3.1.x, including others that can affect bandwidth usage
  4937. and correctness.
  4938. o New dependencies:
  4939. - To build with zstd and lzma support, Tor now requires the
  4940. pkg-config tool at build time. (This requirement was new in
  4941. 0.3.1.1-alpha, but was not noted at the time. Noting it here to
  4942. close ticket 22623.)
  4943. o Major bugfixes (path selection, security):
  4944. - When choosing which guard to use for a circuit, avoid the exit's
  4945. family along with the exit itself. Previously, the new guard
  4946. selection logic avoided the exit, but did not consider its family.
  4947. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  4948. 006 and CVE-2017-0377.
  4949. o Major bugfixes (compression, zstd):
  4950. - Correctly detect a full buffer when decompressing a large zstd-
  4951. compressed input. Previously, we would sometimes treat a full
  4952. buffer as an error. Fixes bug 22628; bugfix on 0.3.1.1-alpha.
  4953. o Major bugfixes (directory protocol):
  4954. - Ensure that we send "304 Not modified" as HTTP status code when a
  4955. client is attempting to fetch a consensus or consensus diff, and
  4956. the best one we can send them is one they already have. Fixes bug
  4957. 22702; bugfix on 0.3.1.1-alpha.
  4958. o Major bugfixes (entry guards):
  4959. - When starting with an old consensus, do not add new entry guards
  4960. unless the consensus is "reasonably live" (under 1 day old). Fixes
  4961. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  4962. o Minor features (bug mitigation, diagnostics, logging):
  4963. - Avoid an assertion failure, and log a better error message, when
  4964. unable to remove a file from the consensus cache on Windows.
  4965. Attempts to mitigate and diagnose bug 22752.
  4966. o Minor features (geoip):
  4967. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  4968. Country database.
  4969. o Minor bugfixes (compression):
  4970. - When compressing or decompressing a buffer, check for a failure to
  4971. create a compression object. Fixes bug 22626; bugfix
  4972. on 0.3.1.1-alpha.
  4973. - When decompressing a buffer, check for extra data after the end of
  4974. the compressed data. Fixes bug 22629; bugfix on 0.3.1.1-alpha.
  4975. - When decompressing an object received over an anonymous directory
  4976. connection, if we have already decompressed it using an acceptable
  4977. compression method, do not reject it for looking like an
  4978. unacceptable compression method. Fixes part of bug 22670; bugfix
  4979. on 0.3.1.1-alpha.
  4980. - When serving directory votes compressed with zlib, do not claim to
  4981. have compressed them with zstd. Fixes bug 22669; bugfix
  4982. on 0.3.1.1-alpha.
  4983. - When spooling compressed data to an output buffer, don't try to
  4984. spool more data when there is no more data to spool and we are not
  4985. trying to flush the input. Previously, we would sometimes launch
  4986. compression requests with nothing to do, which interferes with our
  4987. 22672 checks. Fixes bug 22719; bugfix on 0.2.0.16-alpha.
  4988. o Minor bugfixes (defensive programming):
  4989. - Detect and break out of infinite loops in our compression code. We
  4990. don't think that any such loops exist now, but it's best to be
  4991. safe. Closes ticket 22672.
  4992. - Fix a memset() off the end of an array when packing cells. This
  4993. bug should be harmless in practice, since the corrupted bytes are
  4994. still in the same structure, and are always padding bytes,
  4995. ignored, or immediately overwritten, depending on compiler
  4996. behavior. Nevertheless, because the memset()'s purpose is to make
  4997. sure that any other cell-handling bugs can't expose bytes to the
  4998. network, we need to fix it. Fixes bug 22737; bugfix on
  4999. 0.2.4.11-alpha. Fixes CID 1401591.
  5000. o Minor bugfixes (linux seccomp2 sandbox):
  5001. - Permit the fchmod system call, to avoid crashing on startup when
  5002. starting with the seccomp2 sandbox and an unexpected set of
  5003. permissions on the data directory or its contents. Fixes bug
  5004. 22516; bugfix on 0.2.5.4-alpha.
  5005. - Fix a crash in the LZMA module, when the sandbox was enabled, and
  5006. liblzma would allocate more than 16 MB of memory. We solve this by
  5007. bumping the mprotect() limit in the sandbox module from 16 MB to
  5008. 20 MB. Fixes bug 22751; bugfix on 0.3.1.1-alpha.
  5009. o Minor bugfixes (logging):
  5010. - When decompressing, do not warn if we fail to decompress using a
  5011. compression method that we merely guessed. Fixes part of bug
  5012. 22670; bugfix on 0.1.1.14-alpha.
  5013. - When decompressing, treat mismatch between content-encoding and
  5014. actual compression type as a protocol warning. Fixes part of bug
  5015. 22670; bugfix on 0.1.1.9-alpha.
  5016. - Downgrade "assigned_to_cpuworker failed" message to info-level
  5017. severity. In every case that can reach it, either a better warning
  5018. has already been logged, or no warning is warranted. Fixes bug
  5019. 22356; bugfix on 0.2.6.3-alpha.
  5020. - Demote a warn that was caused by libevent delays to info if
  5021. netflow padding is less than 4.5 seconds late, or to notice
  5022. if it is more (4.5 seconds is the amount of time that a netflow
  5023. record might be emitted after, if we chose the maximum timeout).
  5024. Fixes bug 22212; bugfix on 0.3.1.1-alpha.
  5025. o Minor bugfixes (process behavior):
  5026. - When exiting because of an error, always exit with a nonzero exit
  5027. status. Previously, we would fail to report an error in our exit
  5028. status in cases related to __OwningControllerProcess failure,
  5029. lockfile contention, and Ed25519 key initialization. Fixes bug
  5030. 22720; bugfix on versions 0.2.1.6-alpha, 0.2.2.28-beta, and
  5031. 0.2.7.2-alpha respectively. Reported by "f55jwk4f"; patch
  5032. from "huyvq".
  5033. o Documentation:
  5034. - Add a manpage description for the key-pinning-journal file. Closes
  5035. ticket 22347.
  5036. - Correctly note that bandwidth accounting values are stored in the
  5037. state file, and the bw_accounting file is now obsolete. Closes
  5038. ticket 16082.
  5039. - Document more of the files in the Tor data directory, including
  5040. cached-extrainfo, secret_onion_key{,_ntor}.old, hidserv-stats,
  5041. approved-routers, sr-random, and diff-cache. Found while fixing
  5042. ticket 22347.
  5043. Changes in version 0.3.0.9 - 2017-06-29
  5044. Tor 0.3.0.9 fixes a path selection bug that would allow a client
  5045. to use a guard that was in the same network family as a chosen exit
  5046. relay. This is a security regression; all clients running earlier
  5047. versions of 0.3.0.x or 0.3.1.x should upgrade to 0.3.0.9 or
  5048. 0.3.1.4-alpha.
  5049. This release also backports several other bugfixes from the 0.3.1.x
  5050. series.
  5051. o Major bugfixes (path selection, security, backport from 0.3.1.4-alpha):
  5052. - When choosing which guard to use for a circuit, avoid the exit's
  5053. family along with the exit itself. Previously, the new guard
  5054. selection logic avoided the exit, but did not consider its family.
  5055. Fixes bug 22753; bugfix on 0.3.0.1-alpha. Tracked as TROVE-2017-
  5056. 006 and CVE-2017-0377.
  5057. o Major bugfixes (entry guards, backport from 0.3.1.1-alpha):
  5058. - Don't block bootstrapping when a primary bridge is offline and we
  5059. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  5060. 21969; bugfix on 0.3.0.3-alpha.
  5061. o Major bugfixes (entry guards, backport from 0.3.1.4-alpha):
  5062. - When starting with an old consensus, do not add new entry guards
  5063. unless the consensus is "reasonably live" (under 1 day old). Fixes
  5064. one root cause of bug 22400; bugfix on 0.3.0.1-alpha.
  5065. o Minor features (geoip):
  5066. - Update geoip and geoip6 to the June 8 2017 Maxmind GeoLite2
  5067. Country database.
  5068. o Minor bugfixes (voting consistency, backport from 0.3.1.1-alpha):
  5069. - Reject version numbers with non-numeric prefixes (such as +, -, or
  5070. whitespace). Disallowing whitespace prevents differential version
  5071. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  5072. and part of 21508; bugfix on 0.0.8pre1.
  5073. o Minor bugfixes (linux seccomp2 sandbox, backport from 0.3.1.4-alpha):
  5074. - Permit the fchmod system call, to avoid crashing on startup when
  5075. starting with the seccomp2 sandbox and an unexpected set of
  5076. permissions on the data directory or its contents. Fixes bug
  5077. 22516; bugfix on 0.2.5.4-alpha.
  5078. o Minor bugfixes (defensive programming, backport from 0.3.1.4-alpha):
  5079. - Fix a memset() off the end of an array when packing cells. This
  5080. bug should be harmless in practice, since the corrupted bytes are
  5081. still in the same structure, and are always padding bytes,
  5082. ignored, or immediately overwritten, depending on compiler
  5083. behavior. Nevertheless, because the memset()'s purpose is to make
  5084. sure that any other cell-handling bugs can't expose bytes to the
  5085. network, we need to fix it. Fixes bug 22737; bugfix on
  5086. 0.2.4.11-alpha. Fixes CID 1401591.
  5087. Changes in version 0.3.1.3-alpha - 2017-06-08
  5088. Tor 0.3.1.3-alpha fixes a pair of bugs that would allow an attacker to
  5089. remotely crash a hidden service with an assertion failure. Anyone
  5090. running a hidden service should upgrade to this version, or to some
  5091. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  5092. Tor 0.3.1.3-alpha also includes fixes for several key management bugs
  5093. that sometimes made relays unreliable, as well as several other
  5094. bugfixes described below.
  5095. o Major bugfixes (hidden service, relay, security):
  5096. - Fix a remotely triggerable assertion failure when a hidden service
  5097. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  5098. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  5099. - Fix a remotely triggerable assertion failure caused by receiving a
  5100. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  5101. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  5102. on 0.2.2.1-alpha.
  5103. o Major bugfixes (relay, link handshake):
  5104. - When performing the v3 link handshake on a TLS connection, report
  5105. that we have the x509 certificate that we actually used on that
  5106. connection, even if we have changed certificates since that
  5107. connection was first opened. Previously, we would claim to have
  5108. used our most recent x509 link certificate, which would sometimes
  5109. make the link handshake fail. Fixes one case of bug 22460; bugfix
  5110. on 0.2.3.6-alpha.
  5111. o Major bugfixes (relays, key management):
  5112. - Regenerate link and authentication certificates whenever the key
  5113. that signs them changes; also, regenerate link certificates
  5114. whenever the signed key changes. Previously, these processes were
  5115. only weakly coupled, and we relays could (for minutes to hours)
  5116. wind up with an inconsistent set of keys and certificates, which
  5117. other relays would not accept. Fixes two cases of bug 22460;
  5118. bugfix on 0.3.0.1-alpha.
  5119. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  5120. send the certificate that matches the x509 certificate that we
  5121. used on the TLS connection. Previously, there was a race condition
  5122. if the TLS context rotated after we began the TLS handshake but
  5123. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  5124. on 0.3.0.1-alpha.
  5125. o Major bugfixes (torrc, crash):
  5126. - Fix a crash bug when using %include in torrc. Fixes bug 22417;
  5127. bugfix on 0.3.1.1-alpha. Patch by Daniel Pinto.
  5128. o Minor features (code style):
  5129. - Add "Falls through" comments to our codebase, in order to silence
  5130. GCC 7's -Wimplicit-fallthrough warnings. Patch from Andreas
  5131. Stieger. Closes ticket 22446.
  5132. o Minor features (diagnostic):
  5133. - Add logging messages to try to diagnose a rare bug that seems to
  5134. generate RSA->Ed25519 cross-certificates dated in the 1970s. We
  5135. think this is happening because of incorrect system clocks, but
  5136. we'd like to know for certain. Diagnostic for bug 22466.
  5137. o Minor bugfixes (correctness):
  5138. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  5139. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  5140. o Minor bugfixes (directory protocol):
  5141. - Check for libzstd >= 1.1, because older versions lack the
  5142. necessary streaming API. Fixes bug 22413; bugfix on 0.3.1.1-alpha.
  5143. o Minor bugfixes (link handshake):
  5144. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  5145. months, and regenerate it when it is within one month of expiring.
  5146. Previously, we had generated this certificate at startup with a
  5147. ten-year lifetime, but that could lead to weird behavior when Tor
  5148. was started with a grossly inaccurate clock. Mitigates bug 22466;
  5149. mitigation on 0.3.0.1-alpha.
  5150. o Minor bugfixes (storage directories):
  5151. - Always check for underflows in the cached storage directory usage.
  5152. If the usage does underflow, re-calculate it. Also, avoid a
  5153. separate underflow when the usage is not known. Fixes bug 22424;
  5154. bugfix on 0.3.1.1-alpha.
  5155. o Minor bugfixes (unit tests):
  5156. - The unit tests now pass on systems where localhost is misconfigured
  5157. to some IPv4 address other than 127.0.0.1. Fixes bug 6298; bugfix
  5158. on 0.0.9pre2.
  5159. o Documentation:
  5160. - Clarify the manpage for the (deprecated) torify script. Closes
  5161. ticket 6892.
  5162. Changes in version 0.3.0.8 - 2017-06-08
  5163. Tor 0.3.0.8 fixes a pair of bugs that would allow an attacker to
  5164. remotely crash a hidden service with an assertion failure. Anyone
  5165. running a hidden service should upgrade to this version, or to some
  5166. other version with fixes for TROVE-2017-004 and TROVE-2017-005.
  5167. Tor 0.3.0.8 also includes fixes for several key management bugs
  5168. that sometimes made relays unreliable, as well as several other
  5169. bugfixes described below.
  5170. o Major bugfixes (hidden service, relay, security, backport
  5171. from 0.3.1.3-alpha):
  5172. - Fix a remotely triggerable assertion failure when a hidden service
  5173. handles a malformed BEGIN cell. Fixes bug 22493, tracked as
  5174. TROVE-2017-004 and as CVE-2017-0375; bugfix on 0.3.0.1-alpha.
  5175. - Fix a remotely triggerable assertion failure caused by receiving a
  5176. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  5177. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  5178. on 0.2.2.1-alpha.
  5179. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  5180. - When performing the v3 link handshake on a TLS connection, report
  5181. that we have the x509 certificate that we actually used on that
  5182. connection, even if we have changed certificates since that
  5183. connection was first opened. Previously, we would claim to have
  5184. used our most recent x509 link certificate, which would sometimes
  5185. make the link handshake fail. Fixes one case of bug 22460; bugfix
  5186. on 0.2.3.6-alpha.
  5187. o Major bugfixes (relays, key management, backport from 0.3.1.3-alpha):
  5188. - Regenerate link and authentication certificates whenever the key
  5189. that signs them changes; also, regenerate link certificates
  5190. whenever the signed key changes. Previously, these processes were
  5191. only weakly coupled, and we relays could (for minutes to hours)
  5192. wind up with an inconsistent set of keys and certificates, which
  5193. other relays would not accept. Fixes two cases of bug 22460;
  5194. bugfix on 0.3.0.1-alpha.
  5195. - When sending an Ed25519 signing->link certificate in a CERTS cell,
  5196. send the certificate that matches the x509 certificate that we
  5197. used on the TLS connection. Previously, there was a race condition
  5198. if the TLS context rotated after we began the TLS handshake but
  5199. before we sent the CERTS cell. Fixes a case of bug 22460; bugfix
  5200. on 0.3.0.1-alpha.
  5201. o Major bugfixes (hidden service v3, backport from 0.3.1.1-alpha):
  5202. - Stop rejecting v3 hidden service descriptors because their size
  5203. did not match an old padding rule. Fixes bug 22447; bugfix on
  5204. 0.3.0.1-alpha.
  5205. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  5206. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  5207. December 2016 (of which ~126 were still functional) with a list of
  5208. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  5209. 2017. Resolves ticket 21564.
  5210. o Minor bugfixes (configuration, backport from 0.3.1.1-alpha):
  5211. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  5212. bug 22252; bugfix on 0.2.9.3-alpha.
  5213. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  5214. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  5215. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  5216. o Minor bugfixes (link handshake, backport from 0.3.1.3-alpha):
  5217. - Lower the lifetime of the RSA->Ed25519 cross-certificate to six
  5218. months, and regenerate it when it is within one month of expiring.
  5219. Previously, we had generated this certificate at startup with a
  5220. ten-year lifetime, but that could lead to weird behavior when Tor
  5221. was started with a grossly inaccurate clock. Mitigates bug 22466;
  5222. mitigation on 0.3.0.1-alpha.
  5223. o Minor bugfixes (memory leak, directory authority, backport from
  5224. 0.3.1.2-alpha):
  5225. - When directory authorities reject a router descriptor due to
  5226. keypinning, free the router descriptor rather than leaking the
  5227. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  5228. Changes in version 0.2.9.11 - 2017-06-08
  5229. Tor 0.2.9.11 backports a fix for a bug that would allow an attacker to
  5230. remotely crash a hidden service with an assertion failure. Anyone
  5231. running a hidden service should upgrade to this version, or to some
  5232. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  5233. are not affected by TROVE-2017-004.)
  5234. Tor 0.2.9.11 also backports fixes for several key management bugs
  5235. that sometimes made relays unreliable, as well as several other
  5236. bugfixes described below.
  5237. o Major bugfixes (hidden service, relay, security, backport
  5238. from 0.3.1.3-alpha):
  5239. - Fix a remotely triggerable assertion failure caused by receiving a
  5240. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  5241. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  5242. on 0.2.2.1-alpha.
  5243. o Major bugfixes (relay, link handshake, backport from 0.3.1.3-alpha):
  5244. - When performing the v3 link handshake on a TLS connection, report
  5245. that we have the x509 certificate that we actually used on that
  5246. connection, even if we have changed certificates since that
  5247. connection was first opened. Previously, we would claim to have
  5248. used our most recent x509 link certificate, which would sometimes
  5249. make the link handshake fail. Fixes one case of bug 22460; bugfix
  5250. on 0.2.3.6-alpha.
  5251. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  5252. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  5253. December 2016 (of which ~126 were still functional) with a list of
  5254. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  5255. 2017. Resolves ticket 21564.
  5256. o Minor features (future-proofing, backport from 0.3.0.7):
  5257. - Tor no longer refuses to download microdescriptors or descriptors if
  5258. they are listed as "published in the future". This change will
  5259. eventually allow us to stop listing meaningful "published" dates
  5260. in microdescriptor consensuses, and thereby allow us to reduce the
  5261. resources required to download consensus diffs by over 50%.
  5262. Implements part of ticket 21642; implements part of proposal 275.
  5263. o Minor features (directory authorities, backport from 0.3.0.4-rc)
  5264. - Directory authorities now reject relays running versions
  5265. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  5266. suffer from bug 20499 and don't keep their consensus cache
  5267. up-to-date. Resolves ticket 20509.
  5268. o Minor features (geoip):
  5269. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  5270. Country database.
  5271. o Minor bugfixes (control port, backport from 0.3.0.6):
  5272. - The GETINFO extra-info/digest/<digest> command was broken because
  5273. of a wrong base16 decode return value check, introduced when
  5274. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  5275. o Minor bugfixes (correctness, backport from 0.3.1.3-alpha):
  5276. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  5277. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  5278. o Minor bugfixes (Linux seccomp2 sandbox, backport from 0.3.0.7):
  5279. - The getpid() system call is now permitted under the Linux seccomp2
  5280. sandbox, to avoid crashing with versions of OpenSSL (and other
  5281. libraries) that attempt to learn the process's PID by using the
  5282. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  5283. on 0.2.5.1-alpha.
  5284. o Minor bugfixes (memory leak, directory authority, backport
  5285. from 0.3.1.2-alpha):
  5286. - When directory authorities reject a router descriptor due to
  5287. keypinning, free the router descriptor rather than leaking the
  5288. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  5289. Changes in version 0.2.8.14 - 2017-06-08
  5290. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  5291. remotely crash a hidden service with an assertion failure. Anyone
  5292. running a hidden service should upgrade to this version, or to some
  5293. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  5294. are not affected by TROVE-2017-004.)
  5295. o Major bugfixes (hidden service, relay, security):
  5296. - Fix a remotely triggerable assertion failure caused by receiving a
  5297. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  5298. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  5299. on 0.2.2.1-alpha.
  5300. o Minor features (geoip):
  5301. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  5302. Country database.
  5303. o Minor features (fallback directory list, backport from 0.3.1.3-alpha):
  5304. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  5305. December 2016 (of which ~126 were still functional) with a list of
  5306. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  5307. 2017. Resolves ticket 21564.
  5308. o Minor bugfixes (correctness):
  5309. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  5310. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  5311. Changes in version 0.2.7.8 - 2017-06-08
  5312. Tor 0.2.7.8 backports a fix for a bug that would allow an attacker to
  5313. remotely crash a hidden service with an assertion failure. Anyone
  5314. running a hidden service should upgrade to this version, or to some
  5315. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  5316. are not affected by TROVE-2017-004.)
  5317. o Major bugfixes (hidden service, relay, security):
  5318. - Fix a remotely triggerable assertion failure caused by receiving a
  5319. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  5320. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  5321. on 0.2.2.1-alpha.
  5322. o Minor features (geoip):
  5323. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  5324. Country database.
  5325. o Minor bugfixes (correctness):
  5326. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  5327. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  5328. Changes in version 0.2.6.12 - 2017-06-08
  5329. Tor 0.2.6.12 backports a fix for a bug that would allow an attacker to
  5330. remotely crash a hidden service with an assertion failure. Anyone
  5331. running a hidden service should upgrade to this version, or to some
  5332. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  5333. are not affected by TROVE-2017-004.)
  5334. o Major bugfixes (hidden service, relay, security):
  5335. - Fix a remotely triggerable assertion failure caused by receiving a
  5336. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  5337. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  5338. on 0.2.2.1-alpha.
  5339. o Minor features (geoip):
  5340. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  5341. Country database.
  5342. o Minor bugfixes (correctness):
  5343. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  5344. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  5345. Changes in version 0.2.5.14 - 2017-06-08
  5346. Tor 0.2.5.14 backports a fix for a bug that would allow an attacker to
  5347. remotely crash a hidden service with an assertion failure. Anyone
  5348. running a hidden service should upgrade to this version, or to some
  5349. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  5350. are not affected by TROVE-2017-004.)
  5351. o Major bugfixes (hidden service, relay, security):
  5352. - Fix a remotely triggerable assertion failure caused by receiving a
  5353. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  5354. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  5355. on 0.2.2.1-alpha.
  5356. o Minor features (geoip):
  5357. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  5358. Country database.
  5359. o Minor bugfixes (correctness):
  5360. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  5361. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  5362. Changes in version 0.2.4.29 - 2017-06-08
  5363. Tor 0.2.4.29 backports a fix for a bug that would allow an attacker to
  5364. remotely crash a hidden service with an assertion failure. Anyone
  5365. running a hidden service should upgrade to this version, or to some
  5366. other version with fixes for TROVE-2017-005. (Versions before 0.3.0
  5367. are not affected by TROVE-2017-004.)
  5368. o Major bugfixes (hidden service, relay, security):
  5369. - Fix a remotely triggerable assertion failure caused by receiving a
  5370. BEGIN_DIR cell on a hidden service rendezvous circuit. Fixes bug
  5371. 22494, tracked as TROVE-2017-005 and CVE-2017-0376; bugfix
  5372. on 0.2.2.1-alpha.
  5373. o Minor features (geoip):
  5374. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  5375. Country database.
  5376. o Minor bugfixes (correctness):
  5377. - Avoid undefined behavior when parsing IPv6 entries from the geoip6
  5378. file. Fixes bug 22490; bugfix on 0.2.4.6-alpha.
  5379. Changes in version 0.3.1.2-alpha - 2017-05-26
  5380. Tor 0.3.1.2-alpha is the second release in the 0.3.1.x series. It
  5381. fixes a few bugs found while testing 0.3.1.1-alpha, including a
  5382. memory corruption bug that affected relay stability.
  5383. o Major bugfixes (crash, relay):
  5384. - Fix a memory-corruption bug in relays that set MyFamily.
  5385. Previously, they would double-free MyFamily elements when making
  5386. the next descriptor or when changing their configuration. Fixes
  5387. bug 22368; bugfix on 0.3.1.1-alpha.
  5388. o Minor bugfixes (logging):
  5389. - Log a better message when a directory authority replies to an
  5390. upload with an unexpected status code. Fixes bug 11121; bugfix
  5391. on 0.1.0.1-rc.
  5392. o Minor bugfixes (memory leak, directory authority):
  5393. - When directory authorities reject a router descriptor due to
  5394. keypinning, free the router descriptor rather than leaking the
  5395. memory. Fixes bug 22370; bugfix on 0.2.7.2-alpha.
  5396. Changes in version 0.3.1.1-alpha - 2017-05-22
  5397. Tor 0.3.1.1-alpha is the first release in the 0.3.1.x series. It
  5398. reduces the bandwidth usage for Tor's directory protocol, adds some
  5399. basic padding to resist netflow-based traffic analysis and to serve as
  5400. the basis of other padding in the future, and adds rust support to the
  5401. build system.
  5402. It also contains numerous other small features and improvements to
  5403. security, correctness, and performance.
  5404. Below are the changes since 0.3.0.7.
  5405. o Major features (directory protocol):
  5406. - Tor relays and authorities can now serve clients an abbreviated
  5407. version of the consensus document, containing only the changes
  5408. since an older consensus document that the client holds. Clients
  5409. now request these documents when available. When both client and
  5410. server use this new protocol, they will use far less bandwidth (up
  5411. to 94% less) to keep the client's consensus up-to-date. Implements
  5412. proposal 140; closes ticket 13339. Based on work by Daniel Martí.
  5413. - Tor can now compress directory traffic with lzma or with zstd
  5414. compression algorithms, which can deliver better bandwidth
  5415. performance. Because lzma is computationally expensive, it's only
  5416. used for documents that can be compressed once and served many
  5417. times. Support for these algorithms requires that tor is built
  5418. with the libzstd and/or liblzma libraries available. Implements
  5419. proposal 278; closes ticket 21662.
  5420. - Relays now perform the more expensive compression operations, and
  5421. consensus diff generation, in worker threads. This separation
  5422. avoids delaying the main thread when a new consensus arrives.
  5423. o Major features (experimental):
  5424. - Tor can now build modules written in Rust. To turn this on, pass
  5425. the "--enable-rust" flag to the configure script. It's not time to
  5426. get excited yet: currently, there is no actual Rust functionality
  5427. beyond some simple glue code, and a notice at startup to tell you
  5428. that Rust is running. Still, we hope that programmers and
  5429. packagers will try building Tor with Rust support, so that we can
  5430. find issues and solve portability problems. Closes ticket 22106.
  5431. o Major features (traffic analysis resistance):
  5432. - Connections between clients and relays now send a padding cell in
  5433. each direction every 1.5 to 9.5 seconds (tunable via consensus
  5434. parameters). This padding will not resist specialized
  5435. eavesdroppers, but it should be enough to make many ISPs' routine
  5436. network flow logging less useful in traffic analysis against
  5437. Tor users.
  5438. Padding is negotiated using Tor's link protocol, so both relays
  5439. and clients must upgrade for this to take effect. Clients may
  5440. still send padding despite the relay's version by setting
  5441. ConnectionPadding 1 in torrc, and may disable padding by setting
  5442. ConnectionPadding 0 in torrc. Padding may be minimized for mobile
  5443. users with the torrc option ReducedConnectionPadding. Implements
  5444. Proposal 251 and Section 2 of Proposal 254; closes ticket 16861.
  5445. - Relays will publish 24 hour totals of padding and non-padding cell
  5446. counts to their extra-info descriptors, unless PaddingStatistics 0
  5447. is set in torrc. These 24 hour totals are also rounded to
  5448. multiples of 10000.
  5449. o Major bugfixes (connection usage):
  5450. - We use NETINFO cells to try to determine if both relays involved
  5451. in a connection will agree on the canonical status of that
  5452. connection. We prefer the connections where this is the case for
  5453. extend cells, and try to close connections where relays disagree
  5454. on their canonical status early. Also, we now prefer the oldest
  5455. valid connection for extend cells. These two changes should reduce
  5456. the number of long-term connections that are kept open between
  5457. relays. Fixes bug 17604; bugfix on 0.2.5.5-alpha.
  5458. - Relays now log hourly statistics (look for
  5459. "channel_check_for_duplicates" lines) on the total number of
  5460. connections to other relays. If the number of connections per
  5461. relay is unexpectedly large, this log message is at notice level.
  5462. Otherwise it is at info.
  5463. o Major bugfixes (entry guards):
  5464. - Don't block bootstrapping when a primary bridge is offline and we
  5465. can't get its descriptor. Fixes bug 22325; fixes one case of bug
  5466. 21969; bugfix on 0.3.0.3-alpha.
  5467. o Major bugfixes (linux TPROXY support):
  5468. - Fix a typo that had prevented TPROXY-based transparent proxying
  5469. from working under Linux. Fixes bug 18100; bugfix on 0.2.6.3-alpha.
  5470. Patch from "d4fq0fQAgoJ".
  5471. o Minor features (security, windows):
  5472. - Enable a couple of pieces of Windows hardening: one
  5473. (HeapEnableTerminationOnCorruption) that has been on-by-default
  5474. since Windows 8, and unavailable before Windows 7; and one
  5475. (PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION) which we believe doesn't
  5476. affect us, but shouldn't do any harm. Closes ticket 21953.
  5477. o Minor features (config options):
  5478. - Allow "%include" directives in torrc configuration files. These
  5479. directives import the settings from other files, or from all the
  5480. files in a directory. Closes ticket 1922. Code by Daniel Pinto.
  5481. - Make SAVECONF return an error when overwriting a torrc that has
  5482. includes. Using SAVECONF with the FORCE option will allow it to
  5483. overwrite torrc even if includes are used. Related to ticket 1922.
  5484. - Add "GETINFO config-can-saveconf" to tell controllers if SAVECONF
  5485. will work without the FORCE option. Related to ticket 1922.
  5486. o Minor features (controller):
  5487. - Warn the first time that a controller requests data in the long-
  5488. deprecated 'GETINFO network-status' format. Closes ticket 21703.
  5489. o Minor features (defaults):
  5490. - The default value for UseCreateFast is now 0: clients which
  5491. haven't yet received a consensus document will now use a proper
  5492. ntor handshake to talk to their directory servers whenever they
  5493. can. Closes ticket 21407.
  5494. - Onion key rotation and expiry intervals are now defined as a
  5495. network consensus parameter, per proposal 274. The default
  5496. lifetime of an onion key is increased from 7 to 28 days. Old onion
  5497. keys will expire after 7 days by default. This change will make
  5498. consensus diffs much smaller, and save significant bandwidth.
  5499. Closes ticket 21641.
  5500. o Minor features (fallback directory list):
  5501. - Update the fallback directory mirror whitelist and blacklist based
  5502. on operator emails. Closes task 21121.
  5503. - Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in
  5504. December 2016 (of which ~126 were still functional) with a list of
  5505. 151 fallbacks (32 new, 119 unchanged, 58 removed) generated in May
  5506. 2017. Resolves ticket 21564.
  5507. o Minor features (hidden services, logging):
  5508. - Log a message when a hidden service descriptor has fewer
  5509. introduction points than specified in
  5510. HiddenServiceNumIntroductionPoints. Closes tickets 21598.
  5511. - Log a message when a hidden service reaches its introduction point
  5512. circuit limit, and when that limit is reset. Follow up to ticket
  5513. 21594; closes ticket 21622.
  5514. - Warn user if multiple entries in EntryNodes and at least one
  5515. HiddenService are used together. Pinning EntryNodes along with a
  5516. hidden service can be possibly harmful; for instance see ticket
  5517. 14917 or 21155. Closes ticket 21155.
  5518. o Minor features (linux seccomp2 sandbox):
  5519. - We now have a document storage backend compatible with the Linux
  5520. seccomp2 sandbox. This backend is used for consensus documents and
  5521. diffs between them; in the long term, we'd like to use it for
  5522. unparseable directory material too. Closes ticket 21645
  5523. - Increase the maximum allowed size passed to mprotect(PROT_WRITE)
  5524. from 1MB to 16MB. This was necessary with the glibc allocator in
  5525. order to allow worker threads to allocate more memory -- which in
  5526. turn is necessary because of our new use of worker threads for
  5527. compression. Closes ticket 22096.
  5528. o Minor features (logging):
  5529. - Log files are no longer created world-readable by default.
  5530. (Previously, most distributors would store the logs in a non-
  5531. world-readable location to prevent inappropriate access. This
  5532. change is an extra precaution.) Closes ticket 21729; patch
  5533. from toralf.
  5534. o Minor features (performance):
  5535. - Our Keccak (SHA-3) implementation now accesses memory more
  5536. efficiently, especially on little-endian systems. Closes
  5537. ticket 21737.
  5538. - Add an O(1) implementation of channel_find_by_global_id(), to
  5539. speed some controller functions.
  5540. o Minor features (relay, configuration):
  5541. - The MyFamily option may now be repeated as many times as desired,
  5542. for relays that want to configure large families. Closes ticket
  5543. 4998; patch by Daniel Pinto.
  5544. o Minor features (safety):
  5545. - Add an explicit check to extrainfo_parse_entry_from_string() for
  5546. NULL inputs. We don't believe this can actually happen, but it may
  5547. help silence a warning from the Clang analyzer. Closes
  5548. ticket 21496.
  5549. o Minor features (testing):
  5550. - Add a "--disable-memory-sentinels" feature to help with fuzzing.
  5551. When Tor is compiled with this option, we disable a number of
  5552. redundant memory-safety failsafes that are intended to stop bugs
  5553. from becoming security issues. This makes it easier to hunt for
  5554. bugs that would be security issues without the failsafes turned
  5555. on. Closes ticket 21439.
  5556. - Add a general event-tracing instrumentation support to Tor. This
  5557. subsystem will enable developers and researchers to add fine-
  5558. grained instrumentation to their Tor instances, for use when
  5559. examining Tor network performance issues. There are no trace
  5560. events yet, and event-tracing is off by default unless enabled at
  5561. compile time. Implements ticket 13802.
  5562. - Improve our version parsing tests: add tests for typical version
  5563. components, add tests for invalid versions, including numeric
  5564. range and non-numeric prefixes. Unit tests 21278, 21450, and
  5565. 21507. Partially implements 21470.
  5566. o Minor bugfixes (bandwidth accounting):
  5567. - Roll over monthly accounting at the configured hour and minute,
  5568. rather than always at 00:00. Fixes bug 22245; bugfix on 0.0.9rc1.
  5569. Found by Andrey Karpov with PVS-Studio.
  5570. o Minor bugfixes (code correctness):
  5571. - Accurately identify client connections by their lack of peer
  5572. authentication. This means that we bail out earlier if asked to
  5573. extend to a client. Follow-up to 21407. Fixes bug 21406; bugfix
  5574. on 0.2.4.23.
  5575. o Minor bugfixes (configuration):
  5576. - Do not crash when starting with LearnCircuitBuildTimeout 0. Fixes
  5577. bug 22252; bugfix on 0.2.9.3-alpha.
  5578. o Minor bugfixes (connection lifespan):
  5579. - Allow more control over how long TLS connections are kept open:
  5580. unify CircuitIdleTimeout and PredictedPortsRelevanceTime into a
  5581. single option called CircuitsAvailableTimeout. Also, allow the
  5582. consensus to control the default values for both this preference
  5583. and the lifespan of relay-to-relay connections. Fixes bug 17592;
  5584. bugfix on 0.2.5.5-alpha.
  5585. - Increase the initial circuit build timeout testing frequency, to
  5586. help ensure that ReducedConnectionPadding clients finish learning
  5587. a timeout before their orconn would expire. The initial testing
  5588. rate was set back in the days of TAP and before the Tor Browser
  5589. updater, when we had to be much more careful about new clients
  5590. making lots of circuits. With this change, a circuit build timeout
  5591. is learned in about 15-20 minutes, instead of 100-120 minutes.
  5592. o Minor bugfixes (controller):
  5593. - GETINFO onions/current and onions/detached no longer respond with
  5594. 551 on empty lists. Fixes bug 21329; bugfix on 0.2.7.1-alpha.
  5595. - Trigger HS descriptor events on the control port when the client
  5596. fails to pick a hidden service directory for a hidden service.
  5597. This can happen if all the hidden service directories are in
  5598. ExcludeNodes, or they have all been queried within the last 15
  5599. minutes. Fixes bug 22042; bugfix on 0.2.5.2-alpha.
  5600. o Minor bugfixes (directory authority):
  5601. - When rejecting a router descriptor for running an obsolete version
  5602. of Tor without ntor support, warn about the obsolete tor version,
  5603. not the missing ntor key. Fixes bug 20270; bugfix on 0.2.9.3-alpha.
  5604. - Prevent the shared randomness subsystem from asserting when
  5605. initialized by a bridge authority with an incomplete configuration
  5606. file. Fixes bug 21586; bugfix on 0.2.9.8.
  5607. o Minor bugfixes (exit-side DNS):
  5608. - Fix an untriggerable assertion that checked the output of a
  5609. libevent DNS error, so that the assertion actually behaves as
  5610. expected. Fixes bug 22244; bugfix on 0.2.0.20-rc. Found by Andrey
  5611. Karpov using PVS-Studio.
  5612. o Minor bugfixes (fallback directories):
  5613. - Make the usage example in updateFallbackDirs.py actually work, and
  5614. explain what it does. Fixes bug 22270; bugfix on 0.3.0.3-alpha.
  5615. - Decrease the guard flag average required to be a fallback. This
  5616. allows us to keep relays that have their guard flag removed when
  5617. they restart. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  5618. - Decrease the minimum number of fallbacks to 100. Fixes bug 20913;
  5619. bugfix on 0.2.8.1-alpha.
  5620. - Make sure fallback directory mirrors have the same address, port,
  5621. and relay identity key for at least 30 days before they are
  5622. selected. Fixes bug 20913; bugfix on 0.2.8.1-alpha.
  5623. o Minor bugfixes (hidden services):
  5624. - Stop printing a cryptic warning when a hidden service gets a
  5625. request to connect to a virtual port that it hasn't configured.
  5626. Fixes bug 16706; bugfix on 0.2.6.3-alpha.
  5627. - Simplify hidden service descriptor creation by using an existing
  5628. flag to check if an introduction point is established. Fixes bug
  5629. 21599; bugfix on 0.2.7.2-alpha.
  5630. o Minor bugfixes (memory leak):
  5631. - Fix a small memory leak at exit from the backtrace handler code.
  5632. Fixes bug 21788; bugfix on 0.2.5.2-alpha. Patch from Daniel Pinto.
  5633. o Minor bugfixes (protocol, logging):
  5634. - Downgrade a log statement about unexpected relay cells from "bug"
  5635. to "protocol warning", because there is at least one use case
  5636. where it can be triggered by a buggy tor implementation. Fixes bug
  5637. 21293; bugfix on 0.1.1.14-alpha.
  5638. o Minor bugfixes (testing):
  5639. - Use unbuffered I/O for utility functions around the
  5640. process_handle_t type. This fixes unit test failures reported on
  5641. OpenBSD and FreeBSD. Fixes bug 21654; bugfix on 0.2.3.1-alpha.
  5642. - Make display of captured unit test log messages consistent. Fixes
  5643. bug 21510; bugfix on 0.2.9.3-alpha.
  5644. - Make test-network.sh always call chutney's test-network.sh.
  5645. Previously, this only worked on systems which had bash installed,
  5646. due to some bash-specific code in the script. Fixes bug 19699;
  5647. bugfix on 0.3.0.4-rc. Follow-up to ticket 21581.
  5648. o Minor bugfixes (voting consistency):
  5649. - Reject version numbers with non-numeric prefixes (such as +, -, or
  5650. whitespace). Disallowing whitespace prevents differential version
  5651. parsing between POSIX-based and Windows platforms. Fixes bug 21507
  5652. and part of 21508; bugfix on 0.0.8pre1.
  5653. o Minor bugfixes (windows, relay):
  5654. - Resolve "Failure from drain_fd: No error" warnings on Windows
  5655. relays. Fixes bug 21540; bugfix on 0.2.6.3-alpha.
  5656. o Code simplification and refactoring:
  5657. - Break up the 630-line function connection_dir_client_reached_eof()
  5658. into a dozen smaller functions. This change should help
  5659. maintainability and readability of the client directory code.
  5660. - Isolate our use of the openssl headers so that they are only
  5661. included from our crypto wrapper modules, and from tests that
  5662. examine those modules' internals. Closes ticket 21841.
  5663. - Simplify our API to launch directory requests, making it more
  5664. extensible and less error-prone. Now it's easier to add extra
  5665. headers to directory requests. Closes ticket 21646.
  5666. - Our base64 decoding functions no longer overestimate the output
  5667. space that they need when parsing unpadded inputs. Closes
  5668. ticket 17868.
  5669. - Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value.
  5670. Resolves ticket 22213.
  5671. - The logic that directory caches use to spool request to clients,
  5672. serving them one part at a time so as not to allocate too much
  5673. memory, has been refactored for consistency. Previously there was
  5674. a separate spooling implementation per type of spoolable data. Now
  5675. there is one common spooling implementation, with extensible data
  5676. types. Closes ticket 21651.
  5677. - Tor's compression module now supports multiple backends. Part of
  5678. the implementation for proposal 278; closes ticket 21663.
  5679. o Documentation:
  5680. - Clarify the behavior of the KeepAliveIsolateSOCKSAuth sub-option.
  5681. Closes ticket 21873.
  5682. - Correct documentation about the default DataDirectory value.
  5683. Closes ticket 21151.
  5684. - Document the default behavior of NumEntryGuards and
  5685. NumDirectoryGuards correctly. Fixes bug 21715; bugfix
  5686. on 0.3.0.1-alpha.
  5687. - Document key=value pluggable transport arguments for Bridge lines
  5688. in torrc. Fixes bug 20341; bugfix on 0.2.5.1-alpha.
  5689. - Note that bandwidth-limiting options don't affect TCP headers or
  5690. DNS. Closes ticket 17170.
  5691. o Removed features (configuration options, all in ticket 22060):
  5692. - These configuration options are now marked Obsolete, and no longer
  5693. have any effect: AllowInvalidNodes, AllowSingleHopCircuits,
  5694. AllowSingleHopExits, ExcludeSingleHopRelays, FastFirstHopPK,
  5695. TLSECGroup, WarnUnsafeSocks. They were first marked as deprecated
  5696. in 0.2.9.2-alpha and have now been removed. The previous default
  5697. behavior is now always chosen; the previous (less secure) non-
  5698. default behavior is now unavailable.
  5699. - CloseHSClientCircuitsImmediatelyOnTimeout and
  5700. CloseHSServiceRendCircuitsImmediatelyOnTimeout were deprecated in
  5701. 0.2.9.2-alpha and now have been removed. HS circuits never close
  5702. on circuit build timeout; they have a longer timeout period.
  5703. - {Control,DNS,Dir,Socks,Trans,NATD,OR}ListenAddress were deprecated
  5704. in 0.2.9.2-alpha and now have been removed. Use the ORPort option
  5705. (and others) to configure listen-only and advertise-only addresses.
  5706. o Removed features (tools):
  5707. - We've removed the tor-checkkey tool from src/tools. Long ago, we
  5708. used it to help people detect RSA keys that were generated by
  5709. versions of Debian affected by CVE-2008-0166. But those keys have
  5710. been out of circulation for ages, and this tool is no longer
  5711. required. Closes ticket 21842.
  5712. Changes in version 0.3.0.7 - 2017-05-15
  5713. Tor 0.3.0.7 fixes a medium-severity security bug in earlier versions
  5714. of Tor 0.3.0.x, where an attacker could cause a Tor relay process
  5715. to exit. Relays running earlier versions of Tor 0.3.0.x should upgrade;
  5716. clients are not affected.
  5717. o Major bugfixes (hidden service directory, security):
  5718. - Fix an assertion failure in the hidden service directory code, which
  5719. could be used by an attacker to remotely cause a Tor relay process to
  5720. exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
  5721. should upgrade. This security issue is tracked as TROVE-2017-002.
  5722. Fixes bug 22246; bugfix on 0.3.0.1-alpha.
  5723. o Minor features:
  5724. - Update geoip and geoip6 to the May 2 2017 Maxmind GeoLite2
  5725. Country database.
  5726. o Minor features (future-proofing):
  5727. - Tor no longer refuses to download microdescriptors or descriptors
  5728. if they are listed as "published in the future". This change will
  5729. eventually allow us to stop listing meaningful "published" dates
  5730. in microdescriptor consensuses, and thereby allow us to reduce the
  5731. resources required to download consensus diffs by over 50%.
  5732. Implements part of ticket 21642; implements part of proposal 275.
  5733. o Minor bugfixes (Linux seccomp2 sandbox):
  5734. - The getpid() system call is now permitted under the Linux seccomp2
  5735. sandbox, to avoid crashing with versions of OpenSSL (and other
  5736. libraries) that attempt to learn the process's PID by using the
  5737. syscall rather than the VDSO code. Fixes bug 21943; bugfix
  5738. on 0.2.5.1-alpha.
  5739. Changes in version 0.3.0.6 - 2017-04-26
  5740. Tor 0.3.0.6 is the first stable release of the Tor 0.3.0 series.
  5741. With the 0.3.0 series, clients and relays now use Ed25519 keys to
  5742. authenticate their link connections to relays, rather than the old
  5743. RSA1024 keys that they used before. (Circuit crypto has been
  5744. Curve25519-authenticated since 0.2.4.8-alpha.) We have also replaced
  5745. the guard selection and replacement algorithm to behave more robustly
  5746. in the presence of unreliable networks, and to resist guard-
  5747. capture attacks.
  5748. This series also includes numerous other small features and bugfixes,
  5749. along with more groundwork for the upcoming hidden-services revamp.
  5750. Per our stable release policy, we plan to support the Tor 0.3.0
  5751. release series for at least the next nine months, or for three months
  5752. after the first stable release of the 0.3.1 series: whichever is
  5753. longer. If you need a release with long-term support, we recommend
  5754. that you stay with the 0.2.9 series.
  5755. Below are the changes since 0.3.0.5-rc. For a list of all changes
  5756. since 0.2.9, see the ReleaseNotes file.
  5757. o Minor features (geoip):
  5758. - Update geoip and geoip6 to the April 4 2017 Maxmind GeoLite2
  5759. Country database.
  5760. o Minor bugfixes (control port):
  5761. - The GETINFO extra-info/digest/<digest> command was broken because
  5762. of a wrong base16 decode return value check, introduced when
  5763. refactoring that API. Fixes bug 22034; bugfix on 0.2.9.1-alpha.
  5764. o Minor bugfixes (crash prevention):
  5765. - Fix a (currently untriggerable, but potentially dangerous) crash
  5766. bug when base32-encoding inputs whose sizes are not a multiple of
  5767. 5. Fixes bug 21894; bugfix on 0.2.9.1-alpha.
  5768. Changes in version 0.3.0.5-rc - 2017-04-05
  5769. Tor 0.3.0.5-rc fixes a few remaining bugs, large and small, in the
  5770. 0.3.0 release series.
  5771. This is the second release candidate in the Tor 0.3.0 series, and has
  5772. much fewer changes than the first. If we find no new bugs or
  5773. regressions here, the first stable 0.3.0 release will be nearly
  5774. identical to it.
  5775. o Major bugfixes (crash, directory connections):
  5776. - Fix a rare crash when sending a begin cell on a circuit whose
  5777. linked directory connection had already been closed. Fixes bug
  5778. 21576; bugfix on 0.2.9.3-alpha. Reported by Alec Muffett.
  5779. o Major bugfixes (guard selection):
  5780. - Fix a guard selection bug where Tor would refuse to bootstrap in
  5781. some cases if the user swapped a bridge for another bridge in
  5782. their configuration file. Fixes bug 21771; bugfix on 0.3.0.1-alpha.
  5783. Reported by "torvlnt33r".
  5784. o Minor features (geoip):
  5785. - Update geoip and geoip6 to the March 7 2017 Maxmind GeoLite2
  5786. Country database.
  5787. o Minor bugfix (compilation):
  5788. - Fix a warning when compiling hs_service.c. Previously, it had no
  5789. exported symbols when compiled for libor.a, resulting in a
  5790. compilation warning from clang. Fixes bug 21825; bugfix
  5791. on 0.3.0.1-alpha.
  5792. o Minor bugfixes (hidden services):
  5793. - Make hidden services check for failed intro point connections,
  5794. even when they have exceeded their intro point creation limit.
  5795. Fixes bug 21596; bugfix on 0.2.7.2-alpha. Reported by Alec Muffett.
  5796. - Make hidden services with 8 to 10 introduction points check for
  5797. failed circuits immediately after startup. Previously, they would
  5798. wait for 5 minutes before performing their first checks. Fixes bug
  5799. 21594; bugfix on 0.2.3.9-alpha. Reported by Alec Muffett.
  5800. o Minor bugfixes (memory leaks):
  5801. - Fix a memory leak when using GETCONF on a port option. Fixes bug
  5802. 21682; bugfix on 0.3.0.3-alpha.
  5803. o Minor bugfixes (relay):
  5804. - Avoid a double-marked-circuit warning that could happen when we
  5805. receive DESTROY cells under heavy load. Fixes bug 20059; bugfix
  5806. on 0.1.0.1-rc.
  5807. o Minor bugfixes (tests):
  5808. - Run the entry_guard_parse_from_state_full() test with the time set
  5809. to a specific date. (The guard state that this test was parsing
  5810. contained guards that had expired since the test was first
  5811. written.) Fixes bug 21799; bugfix on 0.3.0.1-alpha.
  5812. o Documentation:
  5813. - Update the description of the directory server options in the
  5814. manual page, to clarify that a relay no longer needs to set
  5815. DirPort in order to be a directory cache. Closes ticket 21720.
  5816. Changes in version 0.2.8.13 - 2017-03-03
  5817. Tor 0.2.8.13 backports a security fix from later Tor
  5818. releases. Anybody running Tor 0.2.8.12 or earlier should upgrade to this
  5819. this release, if for some reason they cannot upgrade to a later
  5820. release series, and if they build Tor with the --enable-expensive-hardening
  5821. option.
  5822. Note that support for Tor 0.2.8.x is ending next year: we will not issue
  5823. any fixes for the Tor 0.2.8.x series after 1 Jan 2018. If you need
  5824. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  5825. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  5826. - Fix an integer underflow bug when comparing malformed Tor
  5827. versions. This bug could crash Tor when built with
  5828. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5829. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5830. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5831. on 0.0.8pre1. Found by OSS-Fuzz.
  5832. o Minor features (geoip):
  5833. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5834. Country database.
  5835. Changes in version 0.2.7.7 - 2017-03-03
  5836. Tor 0.2.7.7 backports a number of security fixes from later Tor
  5837. releases. Anybody running Tor 0.2.7.6 or earlier should upgrade to
  5838. this release, if for some reason they cannot upgrade to a later
  5839. release series.
  5840. Note that support for Tor 0.2.7.x is ending this year: we will not issue
  5841. any fixes for the Tor 0.2.7.x series after 1 August 2017. If you need
  5842. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  5843. o Directory authority changes (backport from 0.2.8.5-rc):
  5844. - Urras is no longer a directory authority. Closes ticket 19271.
  5845. o Directory authority changes (backport from 0.2.9.2-alpha):
  5846. - The "Tonga" bridge authority has been retired; the new bridge
  5847. authority is "Bifroest". Closes tickets 19728 and 19690.
  5848. o Directory authority key updates (backport from 0.2.8.1-alpha):
  5849. - Update the V3 identity key for the dannenberg directory authority:
  5850. it was changed on 18 November 2015. Closes task 17906. Patch
  5851. by "teor".
  5852. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  5853. - Fix a bug in parsing that could cause clients to read a single
  5854. byte past the end of an allocated region. This bug could be used
  5855. to cause hardened clients (built with --enable-expensive-hardening)
  5856. to crash if they tried to visit a hostile hidden service. Non-
  5857. hardened clients are only affected depending on the details of
  5858. their platform's memory allocator. Fixes bug 21018; bugfix on
  5859. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  5860. 2016-12-002 and as CVE-2016-1254.
  5861. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  5862. - Stop a crash that could occur when a client running with DNSPort
  5863. received a query with multiple address types, and the first
  5864. address type was not supported. Found and fixed by Scott Dial.
  5865. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  5866. - Prevent a class of security bugs caused by treating the contents
  5867. of a buffer chunk as if they were a NUL-terminated string. At
  5868. least one such bug seems to be present in all currently used
  5869. versions of Tor, and would allow an attacker to remotely crash
  5870. most Tor instances, especially those compiled with extra compiler
  5871. hardening. With this defense in place, such bugs can't crash Tor,
  5872. though we should still fix them as they occur. Closes ticket
  5873. 20384 (TROVE-2016-10-001).
  5874. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  5875. - Avoid a difficult-to-trigger heap corruption attack when extending
  5876. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  5877. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  5878. Reported by Guido Vranken.
  5879. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  5880. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  5881. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  5882. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  5883. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  5884. pointer to the previous (uninitialized) key value. The impact here
  5885. should be limited to a difficult-to-trigger crash, if OpenSSL is
  5886. running an engine that makes key generation failures possible, or
  5887. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  5888. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  5889. Baishakhi Ray.
  5890. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  5891. - Fix an integer underflow bug when comparing malformed Tor
  5892. versions. This bug could crash Tor when built with
  5893. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5894. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5895. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5896. on 0.0.8pre1. Found by OSS-Fuzz.
  5897. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  5898. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  5899. zero size. Check size argument to memwipe() for underflow. Fixes
  5900. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  5901. patch by "teor".
  5902. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  5903. - Make Tor survive errors involving connections without a
  5904. corresponding event object. Previously we'd fail with an
  5905. assertion; now we produce a log message. Related to bug 16248.
  5906. o Minor features (geoip):
  5907. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5908. Country database.
  5909. Changes in version 0.2.6.11 - 2017-03-03
  5910. Tor 0.2.6.11 backports a number of security fixes from later Tor
  5911. releases. Anybody running Tor 0.2.6.10 or earlier should upgrade to
  5912. this release, if for some reason they cannot upgrade to a later
  5913. release series.
  5914. Note that support for Tor 0.2.6.x is ending this year: we will not issue
  5915. any fixes for the Tor 0.2.6.x series after 1 August 2017. If you need
  5916. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  5917. o Directory authority changes (backport from 0.2.8.5-rc):
  5918. - Urras is no longer a directory authority. Closes ticket 19271.
  5919. o Directory authority changes (backport from 0.2.9.2-alpha):
  5920. - The "Tonga" bridge authority has been retired; the new bridge
  5921. authority is "Bifroest". Closes tickets 19728 and 19690.
  5922. o Directory authority key updates (backport from 0.2.8.1-alpha):
  5923. - Update the V3 identity key for the dannenberg directory authority:
  5924. it was changed on 18 November 2015. Closes task 17906. Patch
  5925. by "teor".
  5926. o Major features (security fixes, backport from 0.2.9.4-alpha):
  5927. - Prevent a class of security bugs caused by treating the contents
  5928. of a buffer chunk as if they were a NUL-terminated string. At
  5929. least one such bug seems to be present in all currently used
  5930. versions of Tor, and would allow an attacker to remotely crash
  5931. most Tor instances, especially those compiled with extra compiler
  5932. hardening. With this defense in place, such bugs can't crash Tor,
  5933. though we should still fix them as they occur. Closes ticket
  5934. 20384 (TROVE-2016-10-001).
  5935. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  5936. - Fix a bug in parsing that could cause clients to read a single
  5937. byte past the end of an allocated region. This bug could be used
  5938. to cause hardened clients (built with --enable-expensive-hardening)
  5939. to crash if they tried to visit a hostile hidden service. Non-
  5940. hardened clients are only affected depending on the details of
  5941. their platform's memory allocator. Fixes bug 21018; bugfix on
  5942. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  5943. 2016-12-002 and as CVE-2016-1254.
  5944. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  5945. - Stop a crash that could occur when a client running with DNSPort
  5946. received a query with multiple address types, and the first
  5947. address type was not supported. Found and fixed by Scott Dial.
  5948. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  5949. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  5950. - Fix an error that could cause us to read 4 bytes before the
  5951. beginning of an openssl string. This bug could be used to cause
  5952. Tor to crash on systems with unusual malloc implementations, or
  5953. systems with unusual hardening installed. Fixes bug 17404; bugfix
  5954. on 0.2.3.6-alpha.
  5955. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  5956. - Avoid a difficult-to-trigger heap corruption attack when extending
  5957. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  5958. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  5959. Reported by Guido Vranken.
  5960. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  5961. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  5962. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  5963. o Major bugfixes (guard selection, backport from 0.2.7.6):
  5964. - Actually look at the Guard flag when selecting a new directory
  5965. guard. When we implemented the directory guard design, we
  5966. accidentally started treating all relays as if they have the Guard
  5967. flag during guard selection, leading to weaker anonymity and worse
  5968. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  5969. by Mohsen Imani.
  5970. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  5971. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  5972. pointer to the previous (uninitialized) key value. The impact here
  5973. should be limited to a difficult-to-trigger crash, if OpenSSL is
  5974. running an engine that makes key generation failures possible, or
  5975. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  5976. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  5977. Baishakhi Ray.
  5978. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  5979. - Fix an integer underflow bug when comparing malformed Tor
  5980. versions. This bug could crash Tor when built with
  5981. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  5982. 0.2.9.8, which were built with -ftrapv by default. In other cases
  5983. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  5984. on 0.0.8pre1. Found by OSS-Fuzz.
  5985. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  5986. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  5987. zero size. Check size argument to memwipe() for underflow. Fixes
  5988. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  5989. patch by "teor".
  5990. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  5991. - Make Tor survive errors involving connections without a
  5992. corresponding event object. Previously we'd fail with an
  5993. assertion; now we produce a log message. Related to bug 16248.
  5994. o Minor features (geoip):
  5995. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  5996. Country database.
  5997. o Minor bugfixes (compilation, backport from 0.2.7.6):
  5998. - Fix a compilation warning with Clang 3.6: Do not check the
  5999. presence of an address which can never be NULL. Fixes bug 17781.
  6000. Changes in version 0.2.5.13 - 2017-03-03
  6001. Tor 0.2.5.13 backports a number of security fixes from later Tor
  6002. releases. Anybody running Tor 0.2.5.13 or earlier should upgrade to
  6003. this release, if for some reason they cannot upgrade to a later
  6004. release series.
  6005. Note that support for Tor 0.2.5.x is ending next year: we will not issue
  6006. any fixes for the Tor 0.2.5.x series after 1 May 2018. If you need
  6007. a Tor release series with longer-term support, we recommend Tor 0.2.9.x.
  6008. o Directory authority changes (backport from 0.2.8.5-rc):
  6009. - Urras is no longer a directory authority. Closes ticket 19271.
  6010. o Directory authority changes (backport from 0.2.9.2-alpha):
  6011. - The "Tonga" bridge authority has been retired; the new bridge
  6012. authority is "Bifroest". Closes tickets 19728 and 19690.
  6013. o Directory authority key updates (backport from 0.2.8.1-alpha):
  6014. - Update the V3 identity key for the dannenberg directory authority:
  6015. it was changed on 18 November 2015. Closes task 17906. Patch
  6016. by "teor".
  6017. o Major features (security fixes, backport from 0.2.9.4-alpha):
  6018. - Prevent a class of security bugs caused by treating the contents
  6019. of a buffer chunk as if they were a NUL-terminated string. At
  6020. least one such bug seems to be present in all currently used
  6021. versions of Tor, and would allow an attacker to remotely crash
  6022. most Tor instances, especially those compiled with extra compiler
  6023. hardening. With this defense in place, such bugs can't crash Tor,
  6024. though we should still fix them as they occur. Closes ticket
  6025. 20384 (TROVE-2016-10-001).
  6026. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  6027. - Fix a bug in parsing that could cause clients to read a single
  6028. byte past the end of an allocated region. This bug could be used
  6029. to cause hardened clients (built with --enable-expensive-hardening)
  6030. to crash if they tried to visit a hostile hidden service. Non-
  6031. hardened clients are only affected depending on the details of
  6032. their platform's memory allocator. Fixes bug 21018; bugfix on
  6033. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  6034. 2016-12-002 and as CVE-2016-1254.
  6035. o Major bugfixes (security, client, DNS proxy, backport from 0.2.8.3-alpha):
  6036. - Stop a crash that could occur when a client running with DNSPort
  6037. received a query with multiple address types, and the first
  6038. address type was not supported. Found and fixed by Scott Dial.
  6039. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  6040. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  6041. - Fix an error that could cause us to read 4 bytes before the
  6042. beginning of an openssl string. This bug could be used to cause
  6043. Tor to crash on systems with unusual malloc implementations, or
  6044. systems with unusual hardening installed. Fixes bug 17404; bugfix
  6045. on 0.2.3.6-alpha.
  6046. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  6047. - Avoid a difficult-to-trigger heap corruption attack when extending
  6048. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  6049. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  6050. Reported by Guido Vranken.
  6051. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  6052. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  6053. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  6054. o Major bugfixes (guard selection, backport from 0.2.7.6):
  6055. - Actually look at the Guard flag when selecting a new directory
  6056. guard. When we implemented the directory guard design, we
  6057. accidentally started treating all relays as if they have the Guard
  6058. flag during guard selection, leading to weaker anonymity and worse
  6059. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  6060. by Mohsen Imani.
  6061. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  6062. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  6063. pointer to the previous (uninitialized) key value. The impact here
  6064. should be limited to a difficult-to-trigger crash, if OpenSSL is
  6065. running an engine that makes key generation failures possible, or
  6066. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  6067. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  6068. Baishakhi Ray.
  6069. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  6070. - Fix an integer underflow bug when comparing malformed Tor
  6071. versions. This bug could crash Tor when built with
  6072. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  6073. 0.2.9.8, which were built with -ftrapv by default. In other cases
  6074. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  6075. on 0.0.8pre1. Found by OSS-Fuzz.
  6076. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  6077. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  6078. zero size. Check size argument to memwipe() for underflow. Fixes
  6079. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  6080. patch by "teor".
  6081. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  6082. - Make Tor survive errors involving connections without a
  6083. corresponding event object. Previously we'd fail with an
  6084. assertion; now we produce a log message. Related to bug 16248.
  6085. o Minor features (geoip):
  6086. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  6087. Country database.
  6088. o Minor bugfixes (compilation, backport from 0.2.7.6):
  6089. - Fix a compilation warning with Clang 3.6: Do not check the
  6090. presence of an address which can never be NULL. Fixes bug 17781.
  6091. o Minor bugfixes (crypto error-handling, backport from 0.2.7.2-alpha):
  6092. - Check for failures from crypto_early_init, and refuse to continue.
  6093. A previous typo meant that we could keep going with an
  6094. uninitialized crypto library, and would have OpenSSL initialize
  6095. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  6096. when implementing ticket 4900. Patch by "teor".
  6097. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  6098. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  6099. a client authorized hidden service. Fixes bug 15823; bugfix
  6100. on 0.2.1.6-alpha.
  6101. Changes in version 0.2.4.28 - 2017-03-03
  6102. Tor 0.2.4.28 backports a number of security fixes from later Tor
  6103. releases. Anybody running Tor 0.2.4.27 or earlier should upgrade to
  6104. this release, if for some reason they cannot upgrade to a later
  6105. release series.
  6106. Note that support for Tor 0.2.4.x is ending soon: we will not issue
  6107. any fixes for the Tor 0.2.4.x series after 1 August 2017. If you need
  6108. a Tor release series with long-term support, we recommend Tor 0.2.9.x.
  6109. o Directory authority changes (backport from 0.2.8.5-rc):
  6110. - Urras is no longer a directory authority. Closes ticket 19271.
  6111. o Directory authority changes (backport from 0.2.9.2-alpha):
  6112. - The "Tonga" bridge authority has been retired; the new bridge
  6113. authority is "Bifroest". Closes tickets 19728 and 19690.
  6114. o Directory authority key updates (backport from 0.2.8.1-alpha):
  6115. - Update the V3 identity key for the dannenberg directory authority:
  6116. it was changed on 18 November 2015. Closes task 17906. Patch
  6117. by "teor".
  6118. o Major features (security fixes, backport from 0.2.9.4-alpha):
  6119. - Prevent a class of security bugs caused by treating the contents
  6120. of a buffer chunk as if they were a NUL-terminated string. At
  6121. least one such bug seems to be present in all currently used
  6122. versions of Tor, and would allow an attacker to remotely crash
  6123. most Tor instances, especially those compiled with extra compiler
  6124. hardening. With this defense in place, such bugs can't crash Tor,
  6125. though we should still fix them as they occur. Closes ticket
  6126. 20384 (TROVE-2016-10-001).
  6127. o Major bugfixes (parsing, security, backport from 0.2.9.8):
  6128. - Fix a bug in parsing that could cause clients to read a single
  6129. byte past the end of an allocated region. This bug could be used
  6130. to cause hardened clients (built with --enable-expensive-hardening)
  6131. to crash if they tried to visit a hostile hidden service. Non-
  6132. hardened clients are only affected depending on the details of
  6133. their platform's memory allocator. Fixes bug 21018; bugfix on
  6134. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  6135. 2016-12-002 and as CVE-2016-1254.
  6136. o Major bugfixes (security, correctness, backport from 0.2.7.4-rc):
  6137. - Fix an error that could cause us to read 4 bytes before the
  6138. beginning of an openssl string. This bug could be used to cause
  6139. Tor to crash on systems with unusual malloc implementations, or
  6140. systems with unusual hardening installed. Fixes bug 17404; bugfix
  6141. on 0.2.3.6-alpha.
  6142. o Major bugfixes (security, pointers, backport from 0.2.8.2-alpha):
  6143. - Avoid a difficult-to-trigger heap corruption attack when extending
  6144. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  6145. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  6146. Reported by Guido Vranken.
  6147. o Major bugfixes (dns proxy mode, crash, backport from 0.2.8.2-alpha):
  6148. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  6149. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  6150. o Major bugfixes (guard selection, backport from 0.2.7.6):
  6151. - Actually look at the Guard flag when selecting a new directory
  6152. guard. When we implemented the directory guard design, we
  6153. accidentally started treating all relays as if they have the Guard
  6154. flag during guard selection, leading to weaker anonymity and worse
  6155. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  6156. by Mohsen Imani.
  6157. o Major bugfixes (key management, backport from 0.2.8.3-alpha):
  6158. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  6159. pointer to the previous (uninitialized) key value. The impact here
  6160. should be limited to a difficult-to-trigger crash, if OpenSSL is
  6161. running an engine that makes key generation failures possible, or
  6162. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  6163. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  6164. Baishakhi Ray.
  6165. o Major bugfixes (parsing, backported from 0.3.0.4-rc):
  6166. - Fix an integer underflow bug when comparing malformed Tor
  6167. versions. This bug could crash Tor when built with
  6168. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  6169. 0.2.9.8, which were built with -ftrapv by default. In other cases
  6170. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  6171. on 0.0.8pre1. Found by OSS-Fuzz.
  6172. o Minor features (security, memory erasure, backport from 0.2.8.1-alpha):
  6173. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  6174. zero size. Check size argument to memwipe() for underflow. Fixes
  6175. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  6176. patch by "teor".
  6177. o Minor features (bug-resistance, backport from 0.2.8.2-alpha):
  6178. - Make Tor survive errors involving connections without a
  6179. corresponding event object. Previously we'd fail with an
  6180. assertion; now we produce a log message. Related to bug 16248.
  6181. o Minor features (DoS-resistance, backport from 0.2.7.1-alpha):
  6182. - Make it harder for attackers to overload hidden services with
  6183. introductions, by blocking multiple introduction requests on the
  6184. same circuit. Resolves ticket 15515.
  6185. o Minor features (geoip):
  6186. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  6187. Country database.
  6188. o Minor bugfixes (compilation, backport from 0.2.7.6):
  6189. - Fix a compilation warning with Clang 3.6: Do not check the
  6190. presence of an address which can never be NULL. Fixes bug 17781.
  6191. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  6192. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  6193. a client authorized hidden service. Fixes bug 15823; bugfix
  6194. on 0.2.1.6-alpha.
  6195. Changes in version 0.3.0.4-rc - 2017-03-01
  6196. Tor 0.3.0.4-rc fixes some remaining bugs, large and small, in the
  6197. 0.3.0 release series, and introduces a few reliability features to
  6198. keep them from coming back.
  6199. This is the first release candidate in the Tor 0.3.0 series. If we
  6200. find no new bugs or regressions here, the first stable 0.3.0 release
  6201. will be nearly identical to it.
  6202. o Major bugfixes (bridges):
  6203. - When the same bridge is configured multiple times with the same
  6204. identity, but at different address:port combinations, treat those
  6205. bridge instances as separate guards. This fix restores the ability
  6206. of clients to configure the same bridge with multiple pluggable
  6207. transports. Fixes bug 21027; bugfix on 0.3.0.1-alpha.
  6208. o Major bugfixes (hidden service directory v3):
  6209. - Stop crashing on a failed v3 hidden service descriptor lookup
  6210. failure. Fixes bug 21471; bugfixes on 0.3.0.1-alpha.
  6211. o Major bugfixes (parsing):
  6212. - When parsing a malformed content-length field from an HTTP
  6213. message, do not read off the end of the buffer. This bug was a
  6214. potential remote denial-of-service attack against Tor clients and
  6215. relays. A workaround was released in October 2016, to prevent this
  6216. bug from crashing Tor. This is a fix for the underlying issue,
  6217. which should no longer matter (if you applied the earlier patch).
  6218. Fixes bug 20894; bugfix on 0.2.0.16-alpha. Bug found by fuzzing
  6219. using AFL (http://lcamtuf.coredump.cx/afl/).
  6220. - Fix an integer underflow bug when comparing malformed Tor
  6221. versions. This bug could crash Tor when built with
  6222. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  6223. 0.2.9.8, which were built with -ftrapv by default. In other cases
  6224. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  6225. on 0.0.8pre1. Found by OSS-Fuzz.
  6226. o Minor feature (protocol versioning):
  6227. - Add new protocol version for proposal 224. HSIntro now advertises
  6228. version "3-4" and HSDir version "1-2". Fixes ticket 20656.
  6229. o Minor features (directory authorities):
  6230. - Directory authorities now reject descriptors that claim to be
  6231. malformed versions of Tor. Helps prevent exploitation of
  6232. bug 21278.
  6233. - Reject version numbers with components that exceed INT32_MAX.
  6234. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  6235. Fixes bug 21450; bugfix on 0.0.8pre1.
  6236. - Directory authorities now reject relays running versions
  6237. 0.2.9.1-alpha through 0.2.9.4-alpha, because those relays
  6238. suffer from bug 20499 and don't keep their consensus cache
  6239. up-to-date. Resolves ticket 20509.
  6240. o Minor features (geoip):
  6241. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  6242. Country database.
  6243. o Minor features (reliability, crash):
  6244. - Try better to detect problems in buffers where they might grow (or
  6245. think they have grown) over 2 GB in size. Diagnostic for
  6246. bug 21369.
  6247. o Minor features (testing):
  6248. - During 'make test-network-all', if tor logs any warnings, ask
  6249. chutney to output them. Requires a recent version of chutney with
  6250. the 21572 patch. Implements 21570.
  6251. o Minor bugfixes (certificate expiration time):
  6252. - Avoid using link certificates that don't become valid till some
  6253. time in the future. Fixes bug 21420; bugfix on 0.2.4.11-alpha
  6254. o Minor bugfixes (code correctness):
  6255. - Repair a couple of (unreachable or harmless) cases of the risky
  6256. comparison-by-subtraction pattern that caused bug 21278.
  6257. - Remove a redundant check for the UseEntryGuards option from the
  6258. options_transition_affects_guards() function. Fixes bug 21492;
  6259. bugfix on 0.3.0.1-alpha.
  6260. o Minor bugfixes (directory mirrors):
  6261. - Allow relays to use directory mirrors without a DirPort: these
  6262. relays need to be contacted over their ORPorts using a begindir
  6263. connection. Fixes one case of bug 20711; bugfix on 0.2.8.2-alpha.
  6264. - Clarify the message logged when a remote relay is unexpectedly
  6265. missing an ORPort or DirPort: users were confusing this with a
  6266. local port. Fixes another case of bug 20711; bugfix
  6267. on 0.2.8.2-alpha.
  6268. o Minor bugfixes (guards):
  6269. - Don't warn about a missing guard state on timeout-measurement
  6270. circuits: they aren't supposed to be using guards. Fixes an
  6271. instance of bug 21007; bugfix on 0.3.0.1-alpha.
  6272. - Silence a BUG() warning when attempting to use a guard whose
  6273. descriptor we don't know, and make this scenario less likely to
  6274. happen. Fixes bug 21415; bugfix on 0.3.0.1-alpha.
  6275. o Minor bugfixes (hidden service):
  6276. - Pass correct buffer length when encoding legacy ESTABLISH_INTRO
  6277. cells. Previously, we were using sizeof() on a pointer, instead of
  6278. the real destination buffer. Fortunately, that value was only used
  6279. to double-check that there was enough room--which was already
  6280. enforced elsewhere. Fixes bug 21553; bugfix on 0.3.0.1-alpha.
  6281. o Minor bugfixes (testing):
  6282. - Fix Raspbian build issues related to missing socket errno in
  6283. test_util.c. Fixes bug 21116; bugfix on 0.2.8.2. Patch
  6284. by "hein".
  6285. - Rename "make fuzz" to "make test-fuzz-corpora", since it doesn't
  6286. actually fuzz anything. Fixes bug 21447; bugfix on 0.3.0.3-alpha.
  6287. - Use bash in src/test/test-network.sh. This ensures we reliably
  6288. call chutney's newer tools/test-network.sh when available. Fixes
  6289. bug 21562; bugfix on 0.2.9.1-alpha.
  6290. o Documentation:
  6291. - Small fixes to the fuzzing documentation. Closes ticket 21472.
  6292. Changes in version 0.2.9.10 - 2017-03-01
  6293. Tor 0.2.9.10 backports a security fix from later Tor release. It also
  6294. includes fixes for some major issues affecting directory authorities,
  6295. LibreSSL compatibility, and IPv6 correctness.
  6296. The Tor 0.2.9.x release series is now marked as a long-term-support
  6297. series. We intend to backport security fixes to 0.2.9.x until at
  6298. least January of 2020.
  6299. o Major bugfixes (directory authority, 0.3.0.3-alpha):
  6300. - During voting, when marking a relay as a probable sybil, do not
  6301. clear its BadExit flag: sybils can still be bad in other ways
  6302. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  6303. on 0.2.0.13-alpha.
  6304. o Major bugfixes (IPv6 Exits, backport from 0.3.0.3-alpha):
  6305. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  6306. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  6307. exit policy rejects that port on more than an IPv6 /16 of
  6308. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  6309. which rejected a relay's own IPv6 address by default. Fixes bug
  6310. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  6311. o Major bugfixes (parsing, also in 0.3.0.4-rc):
  6312. - Fix an integer underflow bug when comparing malformed Tor
  6313. versions. This bug could crash Tor when built with
  6314. --enable-expensive-hardening, or on Tor 0.2.9.1-alpha through Tor
  6315. 0.2.9.8, which were built with -ftrapv by default. In other cases
  6316. it was harmless. Part of TROVE-2017-001. Fixes bug 21278; bugfix
  6317. on 0.0.8pre1. Found by OSS-Fuzz.
  6318. o Minor features (directory authorities, also in 0.3.0.4-rc):
  6319. - Directory authorities now reject descriptors that claim to be
  6320. malformed versions of Tor. Helps prevent exploitation of
  6321. bug 21278.
  6322. - Reject version numbers with components that exceed INT32_MAX.
  6323. Otherwise 32-bit and 64-bit platforms would behave inconsistently.
  6324. Fixes bug 21450; bugfix on 0.0.8pre1.
  6325. o Minor features (geoip):
  6326. - Update geoip and geoip6 to the February 8 2017 Maxmind GeoLite2
  6327. Country database.
  6328. o Minor features (portability, compilation, backport from 0.3.0.3-alpha):
  6329. - Autoconf now checks to determine if OpenSSL structures are opaque,
  6330. instead of explicitly checking for OpenSSL version numbers. Part
  6331. of ticket 21359.
  6332. - Support building with recent LibreSSL code that uses opaque
  6333. structures. Closes ticket 21359.
  6334. o Minor bugfixes (code correctness, also in 0.3.0.4-rc):
  6335. - Repair a couple of (unreachable or harmless) cases of the risky
  6336. comparison-by-subtraction pattern that caused bug 21278.
  6337. o Minor bugfixes (tor-resolve, backport from 0.3.0.3-alpha):
  6338. - The tor-resolve command line tool now rejects hostnames over 255
  6339. characters in length. Previously, it would silently truncate them,
  6340. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  6341. Patch by "junglefowl".
  6342. Changes in version 0.3.0.3-alpha - 2017-02-03
  6343. Tor 0.3.0.3-alpha fixes a few significant bugs introduced over the
  6344. 0.3.0.x development series, including some that could cause
  6345. authorities to behave badly. There is also a fix for a longstanding
  6346. bug that could prevent IPv6 exits from working. Tor 0.3.0.3-alpha also
  6347. includes some smaller features and bugfixes.
  6348. The Tor 0.3.0.x release series is now in patch-freeze: no additional
  6349. features will be considered for inclusion in 0.3.0.x. We suspect that
  6350. some bugs will probably remain, however, and we encourage people to
  6351. test this release.
  6352. o Major bugfixes (directory authority):
  6353. - During voting, when marking a relay as a probable sybil, do not
  6354. clear its BadExit flag: sybils can still be bad in other ways
  6355. too. (We still clear the other flags.) Fixes bug 21108; bugfix
  6356. on 0.2.0.13-alpha.
  6357. - When deciding whether we have just found a router to be reachable,
  6358. do not penalize it for not having performed an Ed25519 link
  6359. handshake if it does not claim to support an Ed25519 handshake.
  6360. Previously, we would treat such relays as non-running. Fixes bug
  6361. 21107; bugfix on 0.3.0.1-alpha.
  6362. o Major bugfixes (entry guards):
  6363. - Stop trying to build circuits through entry guards for which we
  6364. have no descriptor. Also, stop crashing in the case that we *do*
  6365. accidentally try to build a circuit in such a state. Fixes bug
  6366. 21242; bugfix on 0.3.0.1-alpha.
  6367. o Major bugfixes (IPv6 Exits):
  6368. - Stop rejecting all IPv6 traffic on Exits whose exit policy rejects
  6369. any IPv6 addresses. Instead, only reject a port over IPv6 if the
  6370. exit policy rejects that port on more than an IPv6 /16 of
  6371. addresses. This bug was made worse by 17027 in 0.2.8.1-alpha,
  6372. which rejected a relay's own IPv6 address by default. Fixes bug
  6373. 21357; bugfix on commit 004f3f4e53 in 0.2.4.7-alpha.
  6374. o Minor feature (client):
  6375. - Enable IPv6 traffic on the SocksPort by default. To disable this,
  6376. a user will have to specify "NoIPv6Traffic". Closes ticket 21269.
  6377. o Minor feature (fallback scripts):
  6378. - Add a check_existing mode to updateFallbackDirs.py, which checks
  6379. if fallbacks in the hard-coded list are working. Closes ticket
  6380. 20174. Patch by haxxpop.
  6381. o Minor features (ciphersuite selection):
  6382. - Clients now advertise a list of ciphersuites closer to the ones
  6383. preferred by Firefox. Closes part of ticket 15426.
  6384. - Allow relays to accept a wider range of ciphersuites, including
  6385. chacha20-poly1305 and AES-CCM. Closes the other part of 15426.
  6386. o Minor features (controller, configuration):
  6387. - Each of the *Port options, such as SocksPort, ORPort, ControlPort,
  6388. and so on, now comes with a __*Port variant that will not be saved
  6389. to the torrc file by the controller's SAVECONF command. This
  6390. change allows TorBrowser to set up a single-use domain socket for
  6391. each time it launches Tor. Closes ticket 20956.
  6392. - The GETCONF command can now query options that may only be
  6393. meaningful in context-sensitive lists. This allows the controller
  6394. to query the mixed SocksPort/__SocksPort style options introduced
  6395. in feature 20956. Implements ticket 21300.
  6396. o Minor features (portability, compilation):
  6397. - Autoconf now checks to determine if OpenSSL structures are opaque,
  6398. instead of explicitly checking for OpenSSL version numbers. Part
  6399. of ticket 21359.
  6400. - Support building with recent LibreSSL code that uses opaque
  6401. structures. Closes ticket 21359.
  6402. o Minor features (relay):
  6403. - We now allow separation of exit and relay traffic to different
  6404. source IP addresses, using the OutboundBindAddressExit and
  6405. OutboundBindAddressOR options respectively. Closes ticket 17975.
  6406. Written by Michael Sonntag.
  6407. o Minor bugfix (logging):
  6408. - Don't recommend the use of Tor2web in non-anonymous mode.
  6409. Recommending Tor2web is a bad idea because the client loses all
  6410. anonymity. Tor2web should only be used in specific cases by users
  6411. who *know* and understand the issues. Fixes bug 21294; bugfix
  6412. on 0.2.9.3-alpha.
  6413. o Minor bugfixes (client):
  6414. - Always recover from failures in extend_info_from_node(), in an
  6415. attempt to prevent any recurrence of bug 21242. Fixes bug 21372;
  6416. bugfix on 0.2.3.1-alpha.
  6417. o Minor bugfixes (client, entry guards):
  6418. - Fix a bug warning (with backtrace) when we fail a channel that
  6419. circuits to fallback directories on it. Fixes bug 21128; bugfix
  6420. on 0.3.0.1-alpha.
  6421. - Fix a spurious bug warning (with backtrace) when removing an
  6422. expired entry guard. Fixes bug 21129; bugfix on 0.3.0.1-alpha.
  6423. - Fix a bug of the new guard algorithm where tor could stall for up
  6424. to 10 minutes before retrying a guard after a long period of no
  6425. network. Fixes bug 21052; bugfix on 0.3.0.1-alpha.
  6426. - Do not try to build circuits until we have descriptors for our
  6427. primary entry guards. Related to fix for bug 21242.
  6428. o Minor bugfixes (configure, autoconf):
  6429. - Rename the configure option --enable-expensive-hardening to
  6430. --enable-fragile-hardening. Expensive hardening makes the tor
  6431. daemon abort when some kinds of issues are detected. Thus, it
  6432. makes tor more at risk of remote crashes but safer against RCE or
  6433. heartbleed bug category. We now try to explain this issue in a
  6434. message from the configure script. Fixes bug 21290; bugfix
  6435. on 0.2.5.4-alpha.
  6436. o Minor bugfixes (controller):
  6437. - Restore the (deprecated) DROPGUARDS controller command. Fixes bug
  6438. 20824; bugfix on 0.3.0.1-alpha.
  6439. o Minor bugfixes (hidden service):
  6440. - Clean up the code for expiring intro points with no associated
  6441. circuits. It was causing, rarely, a service with some expiring
  6442. introduction points to not open enough additional introduction
  6443. points. Fixes part of bug 21302; bugfix on 0.2.7.2-alpha.
  6444. - Stop setting the torrc option HiddenServiceStatistics to "0" just
  6445. because we're not a bridge or relay. Instead, we preserve whatever
  6446. value the user set (or didn't set). Fixes bug 21150; bugfix
  6447. on 0.2.6.2-alpha.
  6448. - Resolve two possible underflows which could lead to creating and
  6449. closing a lot of introduction point circuits in a non-stop loop.
  6450. Fixes bug 21302; bugfix on 0.2.7.2-alpha.
  6451. o Minor bugfixes (portability):
  6452. - Use "OpenBSD" compiler macro instead of "OPENBSD" or "__OpenBSD__".
  6453. It is supported by OpenBSD itself, and also by most OpenBSD
  6454. variants (such as Bitrig). Fixes bug 20980; bugfix
  6455. on 0.1.2.1-alpha.
  6456. - When mapping a file of length greater than SIZE_MAX, do not
  6457. silently truncate its contents. This issue could occur on 32 bit
  6458. systems with large file support and files which are larger than 4
  6459. GB. Fixes bug 21134; bugfix on 0.3.0.1-alpha.
  6460. o Minor bugfixes (tor-resolve):
  6461. - The tor-resolve command line tool now rejects hostnames over 255
  6462. characters in length. Previously, it would silently truncate them,
  6463. which could lead to bugs. Fixes bug 21280; bugfix on 0.0.9pre5.
  6464. Patch by "junglefowl".
  6465. o Minor bugfixes (Windows services):
  6466. - Be sure to initialize the monotonic time subsystem before using
  6467. it, even when running as an NT service. Fixes bug 21356; bugfix
  6468. on 0.2.9.1-alpha.
  6469. Changes in version 0.3.0.2-alpha - 2017-01-23
  6470. Tor 0.3.0.2-alpha fixes a denial-of-service bug where an attacker could
  6471. cause relays and clients to crash, even if they were not built with
  6472. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  6473. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  6474. version should upgrade.
  6475. Tor 0.3.0.2-alpha also improves how exit relays and clients handle DNS
  6476. time-to-live values, makes directory authorities enforce the 1-to-1
  6477. mapping of relay RSA identity keys to ED25519 identity keys, fixes a
  6478. client-side onion service reachability bug, does better at selecting
  6479. the set of fallback directories, and more.
  6480. o Major bugfixes (security, also in 0.2.9.9):
  6481. - Downgrade the "-ftrapv" option from "always on" to "only on when
  6482. --enable-expensive-hardening is provided." This hardening option, like
  6483. others, can turn survivable bugs into crashes--and having it on by
  6484. default made a (relatively harmless) integer overflow bug into a
  6485. denial-of-service bug. Fixes bug 21278 (TROVE-2017-001); bugfix on
  6486. 0.2.9.1-alpha.
  6487. o Major features (security):
  6488. - Change the algorithm used to decide DNS TTLs on client and server
  6489. side, to better resist DNS-based correlation attacks like the
  6490. DefecTor attack of Greschbach, Pulls, Roberts, Winter, and
  6491. Feamster. Now relays only return one of two possible DNS TTL
  6492. values, and clients are willing to believe DNS TTL values up to 3
  6493. hours long. Closes ticket 19769.
  6494. o Major features (directory authority, security):
  6495. - The default for AuthDirPinKeys is now 1: directory authorities
  6496. will reject relays where the RSA identity key matches a previously
  6497. seen value, but the Ed25519 key has changed. Closes ticket 18319.
  6498. o Major bugfixes (client, guard, crash):
  6499. - In circuit_get_global_origin_list(), return the actual list of
  6500. origin circuits. The previous version of this code returned the
  6501. list of all the circuits, and could have caused strange bugs,
  6502. including possible crashes. Fixes bug 21118; bugfix
  6503. on 0.3.0.1-alpha.
  6504. o Major bugfixes (client, onion service, also in 0.2.9.9):
  6505. - Fix a client-side onion service reachability bug, where multiple
  6506. socks requests to an onion service (or a single slow request)
  6507. could cause us to mistakenly mark some of the service's
  6508. introduction points as failed, and we cache that failure so
  6509. eventually we run out and can't reach the service. Also resolves a
  6510. mysterious "Remote server sent bogus reason code 65021" log
  6511. warning. The bug was introduced in ticket 17218, where we tried to
  6512. remember the circuit end reason as a uint16_t, which mangled
  6513. negative values. Partially fixes bug 21056 and fixes bug 20307;
  6514. bugfix on 0.2.8.1-alpha.
  6515. o Major bugfixes (DNS):
  6516. - Fix a bug that prevented exit nodes from caching DNS records for
  6517. more than 60 seconds. Fixes bug 19025; bugfix on 0.2.4.7-alpha.
  6518. o Minor features (controller):
  6519. - Add "GETINFO sr/current" and "GETINFO sr/previous" keys, to expose
  6520. shared-random values to the controller. Closes ticket 19925.
  6521. o Minor features (entry guards):
  6522. - Add UseEntryGuards to TEST_OPTIONS_DEFAULT_VALUES in order to not
  6523. break regression tests.
  6524. - Require UseEntryGuards when UseBridges is set, in order to make
  6525. sure bridges aren't bypassed. Resolves ticket 20502.
  6526. o Minor features (fallback directories):
  6527. - Select 200 fallback directories for each release. Closes
  6528. ticket 20881.
  6529. - Allow 3 fallback relays per operator, which is safe now that we
  6530. are choosing 200 fallback relays. Closes ticket 20912.
  6531. - Exclude relays affected by bug 20499 from the fallback list.
  6532. Exclude relays from the fallback list if they are running versions
  6533. known to be affected by bug 20499, or if in our tests they deliver
  6534. a stale consensus (i.e. one that expired more than 24 hours ago).
  6535. Closes ticket 20539.
  6536. - Reduce the minimum fallback bandwidth to 1 MByte/s. Part of
  6537. ticket 18828.
  6538. - Require fallback directories to have the same address and port for
  6539. 7 days (now that we have enough relays with this stability).
  6540. Relays whose OnionOO stability timer is reset on restart by bug
  6541. 18050 should upgrade to Tor 0.2.8.7 or later, which has a fix for
  6542. this issue. Closes ticket 20880; maintains short-term fix
  6543. in 0.2.8.2-alpha.
  6544. - Require fallbacks to have flags for 90% of the time (weighted
  6545. decaying average), rather than 95%. This allows at least 73% of
  6546. clients to bootstrap in the first 5 seconds without contacting an
  6547. authority. Part of ticket 18828.
  6548. - Annotate updateFallbackDirs.py with the bandwidth and consensus
  6549. weight for each candidate fallback. Closes ticket 20878.
  6550. - Make it easier to change the output sort order of fallbacks.
  6551. Closes ticket 20822.
  6552. - Display the relay fingerprint when downloading consensuses from
  6553. fallbacks. Closes ticket 20908.
  6554. o Minor features (geoip, also in 0.2.9.9):
  6555. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  6556. Country database.
  6557. o Minor features (next-gen onion service directories):
  6558. - Remove the "EnableOnionServicesV3" consensus parameter that we
  6559. introduced in 0.3.0.1-alpha: relays are now always willing to act
  6560. as v3 onion service directories. Resolves ticket 19899.
  6561. o Minor features (linting):
  6562. - Enhance the changes file linter to warn on Tor versions that are
  6563. prefixed with "tor-". Closes ticket 21096.
  6564. o Minor features (logging):
  6565. - In several places, describe unset ed25519 keys as "<unset>",
  6566. rather than the scary "AAAAAAAA...AAA". Closes ticket 21037.
  6567. o Minor bugfix (control protocol):
  6568. - The reply to a "GETINFO config/names" request via the control
  6569. protocol now spells the type "Dependent" correctly. This is a
  6570. breaking change in the control protocol. (The field seems to be
  6571. ignored by the most common known controllers.) Fixes bug 18146;
  6572. bugfix on 0.1.1.4-alpha.
  6573. o Minor bugfixes (bug resilience):
  6574. - Fix an unreachable size_t overflow in base64_decode(). Fixes bug
  6575. 19222; bugfix on 0.2.0.9-alpha. Found by Guido Vranken; fixed by
  6576. Hans Jerry Illikainen.
  6577. o Minor bugfixes (build):
  6578. - Replace obsolete Autoconf macros with their modern equivalent and
  6579. prevent similar issues in the future. Fixes bug 20990; bugfix
  6580. on 0.1.0.1-rc.
  6581. o Minor bugfixes (client, guards):
  6582. - Fix bug where Tor would think that there are circuits waiting for
  6583. better guards even though those circuits have been freed. Fixes
  6584. bug 21142; bugfix on 0.3.0.1-alpha.
  6585. o Minor bugfixes (config):
  6586. - Don't assert on startup when trying to get the options list and
  6587. LearnCircuitBuildTimeout is set to 0: we are currently parsing the
  6588. options so of course they aren't ready yet. Fixes bug 21062;
  6589. bugfix on 0.2.9.3-alpha.
  6590. o Minor bugfixes (controller):
  6591. - Make the GETINFO interface for inquiring about entry guards
  6592. support the new guards backend. Fixes bug 20823; bugfix
  6593. on 0.3.0.1-alpha.
  6594. o Minor bugfixes (dead code):
  6595. - Remove a redundant check for PidFile changes at runtime in
  6596. options_transition_allowed(): this check is already performed
  6597. regardless of whether the sandbox is active. Fixes bug 21123;
  6598. bugfix on 0.2.5.4-alpha.
  6599. o Minor bugfixes (documentation):
  6600. - Update the tor manual page to document every option that can not
  6601. be changed while tor is running. Fixes bug 21122.
  6602. o Minor bugfixes (fallback directories):
  6603. - Stop failing when a relay has no uptime data in
  6604. updateFallbackDirs.py. Fixes bug 20945; bugfix on 0.2.8.1-alpha.
  6605. - Avoid checking fallback candidates' DirPorts if they are down in
  6606. OnionOO. When a relay operator has multiple relays, this
  6607. prioritizes relays that are up over relays that are down. Fixes
  6608. bug 20926; bugfix on 0.2.8.3-alpha.
  6609. - Stop failing when OUTPUT_COMMENTS is True in updateFallbackDirs.py.
  6610. Fixes bug 20877; bugfix on 0.2.8.3-alpha.
  6611. o Minor bugfixes (guards, bootstrapping):
  6612. - When connecting to a directory guard during bootstrap, do not mark
  6613. the guard as successful until we receive a good-looking directory
  6614. response from it. Fixes bug 20974; bugfix on 0.3.0.1-alpha.
  6615. o Minor bugfixes (onion services):
  6616. - Fix the config reload pruning of old vs new services so it
  6617. actually works when both ephemeral and non-ephemeral services are
  6618. configured. Fixes bug 21054; bugfix on 0.3.0.1-alpha.
  6619. - Allow the number of introduction points to be as low as 0, rather
  6620. than as low as 3. Fixes bug 21033; bugfix on 0.2.7.2-alpha.
  6621. o Minor bugfixes (IPv6):
  6622. - Make IPv6-using clients try harder to find an IPv6 directory
  6623. server. Fixes bug 20999; bugfix on 0.2.8.2-alpha.
  6624. - When IPv6 addresses have not been downloaded yet (microdesc
  6625. consensus documents don't list relay IPv6 addresses), use hard-
  6626. coded addresses for authorities, fallbacks, and configured
  6627. bridges. Now IPv6-only clients can use microdescriptors. Fixes bug
  6628. 20996; bugfix on b167e82 from 19608 in 0.2.8.5-alpha.
  6629. o Minor bugfixes (memory leaks):
  6630. - Fix a memory leak when configuring hidden services. Fixes bug
  6631. 20987; bugfix on 0.3.0.1-alpha.
  6632. o Minor bugfixes (portability, also in 0.2.9.9):
  6633. - Avoid crashing when Tor is built using headers that contain
  6634. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  6635. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  6636. on 0.2.9.1-alpha.
  6637. - Fix Libevent detection on platforms without Libevent 1 headers
  6638. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  6639. o Minor bugfixes (relay):
  6640. - Honor DataDirectoryGroupReadable when tor is a relay. Previously,
  6641. initializing the keys would reset the DataDirectory to 0700
  6642. instead of 0750 even if DataDirectoryGroupReadable was set to 1.
  6643. Fixes bug 19953; bugfix on 0.0.2pre16. Patch by "redfish".
  6644. o Minor bugfixes (testing):
  6645. - Remove undefined behavior from the backtrace generator by removing
  6646. its signal handler. Fixes bug 21026; bugfix on 0.2.5.2-alpha.
  6647. o Minor bugfixes (unit tests):
  6648. - Allow the unit tests to pass even when DNS lookups of bogus
  6649. addresses do not fail as expected. Fixes bug 20862 and 20863;
  6650. bugfix on unit tests introduced in 0.2.8.1-alpha
  6651. through 0.2.9.4-alpha.
  6652. o Code simplification and refactoring:
  6653. - Refactor code to manipulate global_origin_circuit_list into
  6654. separate functions. Closes ticket 20921.
  6655. o Documentation (formatting):
  6656. - Clean up formatting of tor.1 man page and HTML doc, where <pre>
  6657. blocks were incorrectly appearing. Closes ticket 20885.
  6658. o Documentation (man page):
  6659. - Clarify many options in tor.1 and add some min/max values for
  6660. HiddenService options. Closes ticket 21058.
  6661. Changes in version 0.2.9.9 - 2017-01-23
  6662. Tor 0.2.9.9 fixes a denial-of-service bug where an attacker could
  6663. cause relays and clients to crash, even if they were not built with
  6664. the --enable-expensive-hardening option. This bug affects all 0.2.9.x
  6665. versions, and also affects 0.3.0.1-alpha: all relays running an affected
  6666. version should upgrade.
  6667. This release also resolves a client-side onion service reachability
  6668. bug, and resolves a pair of small portability issues.
  6669. o Major bugfixes (security):
  6670. - Downgrade the "-ftrapv" option from "always on" to "only on when
  6671. --enable-expensive-hardening is provided." This hardening option,
  6672. like others, can turn survivable bugs into crashes -- and having
  6673. it on by default made a (relatively harmless) integer overflow bug
  6674. into a denial-of-service bug. Fixes bug 21278 (TROVE-2017-001);
  6675. bugfix on 0.2.9.1-alpha.
  6676. o Major bugfixes (client, onion service):
  6677. - Fix a client-side onion service reachability bug, where multiple
  6678. socks requests to an onion service (or a single slow request)
  6679. could cause us to mistakenly mark some of the service's
  6680. introduction points as failed, and we cache that failure so
  6681. eventually we run out and can't reach the service. Also resolves a
  6682. mysterious "Remote server sent bogus reason code 65021" log
  6683. warning. The bug was introduced in ticket 17218, where we tried to
  6684. remember the circuit end reason as a uint16_t, which mangled
  6685. negative values. Partially fixes bug 21056 and fixes bug 20307;
  6686. bugfix on 0.2.8.1-alpha.
  6687. o Minor features (geoip):
  6688. - Update geoip and geoip6 to the January 4 2017 Maxmind GeoLite2
  6689. Country database.
  6690. o Minor bugfixes (portability):
  6691. - Avoid crashing when Tor is built using headers that contain
  6692. CLOCK_MONOTONIC_COARSE, but then tries to run on an older kernel
  6693. without CLOCK_MONOTONIC_COARSE. Fixes bug 21035; bugfix
  6694. on 0.2.9.1-alpha.
  6695. - Fix Libevent detection on platforms without Libevent 1 headers
  6696. installed. Fixes bug 21051; bugfix on 0.2.9.1-alpha.
  6697. Changes in version 0.3.0.1-alpha - 2016-12-19
  6698. Tor 0.3.0.1-alpha is the first alpha release in the 0.3.0 development
  6699. series. It strengthens Tor's link and circuit handshakes by
  6700. identifying relays by their Ed25519 keys, improves the algorithm that
  6701. clients use to choose and maintain their list of guards, and includes
  6702. additional backend support for the next-generation hidden service
  6703. design. It also contains numerous other small features and
  6704. improvements to security, correctness, and performance.
  6705. Below are the changes since 0.2.9.8.
  6706. o Major features (guard selection algorithm):
  6707. - Tor's guard selection algorithm has been redesigned from the
  6708. ground up, to better support unreliable networks and restrictive
  6709. sets of entry nodes, and to better resist guard-capture attacks by
  6710. hostile local networks. Implements proposal 271; closes
  6711. ticket 19877.
  6712. o Major features (next-generation hidden services):
  6713. - Relays can now handle v3 ESTABLISH_INTRO cells as specified by
  6714. prop224 aka "Next Generation Hidden Services". Service and clients
  6715. don't use this functionality yet. Closes ticket 19043. Based on
  6716. initial code by Alec Heifetz.
  6717. - Relays now support the HSDir version 3 protocol, so that they can
  6718. can store and serve v3 descriptors. This is part of the next-
  6719. generation onion service work detailed in proposal 224. Closes
  6720. ticket 17238.
  6721. o Major features (protocol, ed25519 identity keys):
  6722. - Relays now use Ed25519 to prove their Ed25519 identities and to
  6723. one another, and to clients. This algorithm is faster and more
  6724. secure than the RSA-based handshake we've been doing until now.
  6725. Implements the second big part of proposal 220; Closes
  6726. ticket 15055.
  6727. - Clients now support including Ed25519 identity keys in the EXTEND2
  6728. cells they generate. By default, this is controlled by a consensus
  6729. parameter, currently disabled. You can turn this feature on for
  6730. testing by setting ExtendByEd25519ID in your configuration. This
  6731. might make your traffic appear different than the traffic
  6732. generated by other users, however. Implements part of ticket
  6733. 15056; part of proposal 220.
  6734. - Relays now understand requests to extend to other relays by their
  6735. Ed25519 identity keys. When an Ed25519 identity key is included in
  6736. an EXTEND2 cell, the relay will only extend the circuit if the
  6737. other relay can prove ownership of that identity. Implements part
  6738. of ticket 15056; part of proposal 220.
  6739. o Major bugfixes (scheduler):
  6740. - Actually compare circuit policies in ewma_cmp_cmux(). This bug
  6741. caused the channel scheduler to behave more or less randomly,
  6742. rather than preferring channels with higher-priority circuits.
  6743. Fixes bug 20459; bugfix on 0.2.6.2-alpha.
  6744. o Minor features (controller):
  6745. - When HSFETCH arguments cannot be parsed, say "Invalid argument"
  6746. rather than "unrecognized." Closes ticket 20389; patch from
  6747. Ivan Markin.
  6748. o Minor features (diagnostic, directory client):
  6749. - Warn when we find an unexpected inconsistency in directory
  6750. download status objects. Prevents some negative consequences of
  6751. bug 20593.
  6752. o Minor features (directory authority):
  6753. - Add a new authority-only AuthDirTestEd25519LinkKeys option (on by
  6754. default) to control whether authorities should try to probe relays
  6755. by their Ed25519 link keys. This option will go away in a few
  6756. releases--unless we encounter major trouble in our ed25519 link
  6757. protocol rollout, in which case it will serve as a safety option.
  6758. o Minor features (directory cache):
  6759. - Relays and bridges will now refuse to serve the consensus they
  6760. have if they know it is too old for a client to use. Closes
  6761. ticket 20511.
  6762. o Minor features (ed25519 link handshake):
  6763. - Advertise support for the ed25519 link handshake using the
  6764. subprotocol-versions mechanism, so that clients can tell which
  6765. relays can identity themselves by Ed25519 ID. Closes ticket 20552.
  6766. o Minor features (fingerprinting resistance, authentication):
  6767. - Extend the length of RSA keys used for TLS link authentication to
  6768. 2048 bits. (These weren't used for forward secrecy; for forward
  6769. secrecy, we used P256.) Closes ticket 13752.
  6770. o Minor features (infrastructure):
  6771. - Implement smartlist_add_strdup() function. Replaces the use of
  6772. smartlist_add(sl, tor_strdup(str)). Closes ticket 20048.
  6773. o Minor bugfixes (client):
  6774. - When clients that use bridges start up with a cached consensus on
  6775. disk, they were ignoring it and downloading a new one. Now they
  6776. use the cached one. Fixes bug 20269; bugfix on 0.2.3.12-alpha.
  6777. o Minor bugfixes (configuration):
  6778. - Accept non-space whitespace characters after the severity level in
  6779. the `Log` option. Fixes bug 19965; bugfix on 0.2.1.1-alpha.
  6780. - Support "TByte" and "TBytes" units in options given in bytes.
  6781. "TB", "terabyte(s)", "TBit(s)" and "terabit(s)" were already
  6782. supported. Fixes bug 20622; bugfix on 0.2.0.14-alpha.
  6783. o Minor bugfixes (consensus weight):
  6784. - Add new consensus method that initializes bw weights to 1 instead
  6785. of 0. This prevents a zero weight from making it all the way to
  6786. the end (happens in small testing networks) and causing an error.
  6787. Fixes bug 14881; bugfix on 0.2.2.17-alpha.
  6788. o Minor bugfixes (descriptors):
  6789. - Correctly recognise downloaded full descriptors as valid, even
  6790. when using microdescriptors as circuits. This affects clients with
  6791. FetchUselessDescriptors set, and may affect directory authorities.
  6792. Fixes bug 20839; bugfix on 0.2.3.2-alpha.
  6793. o Minor bugfixes (directory system):
  6794. - Download all consensus flavors, descriptors, and authority
  6795. certificates when FetchUselessDescriptors is set, regardless of
  6796. whether tor is a directory cache or not. Fixes bug 20667; bugfix
  6797. on all recent tor versions.
  6798. - Bridges and relays now use microdescriptors (like clients do)
  6799. rather than old-style router descriptors. Now bridges will blend
  6800. in with clients in terms of the circuits they build. Fixes bug
  6801. 6769; bugfix on 0.2.3.2-alpha.
  6802. o Minor bugfixes (ed25519 certificates):
  6803. - Correctly interpret ed25519 certificates that would expire some
  6804. time after 19 Jan 2038. Fixes bug 20027; bugfix on 0.2.7.2-alpha.
  6805. o Minor bugfixes (hidden services):
  6806. - Stop ignoring misconfigured hidden services. Instead, refuse to
  6807. start tor until the misconfigurations have been corrected. Fixes
  6808. bug 20559; bugfix on multiple commits in 0.2.7.1-alpha
  6809. and earlier.
  6810. o Minor bugfixes (memory leak at exit):
  6811. - Fix a small harmless memory leak at exit of the previously unused
  6812. RSA->Ed identity cross-certificate. Fixes bug 17779; bugfix
  6813. on 0.2.7.2-alpha.
  6814. o Minor bugfixes (util):
  6815. - When finishing writing a file to disk, if we were about to replace
  6816. the file with the temporary file created before and we fail to
  6817. replace it, remove the temporary file so it doesn't stay on disk.
  6818. Fixes bug 20646; bugfix on 0.2.0.7-alpha. Patch by fk.
  6819. o Minor bugfixes (Windows):
  6820. - Check for getpagesize before using it to mmap files. This fixes
  6821. compilation in some MinGW environments. Fixes bug 20530; bugfix on
  6822. 0.1.2.1-alpha. Reported by "ice".
  6823. o Code simplification and refactoring:
  6824. - Abolish all global guard context in entrynodes.c; replace with new
  6825. guard_selection_t structure as preparation for proposal 271.
  6826. Closes ticket 19858.
  6827. - Introduce rend_service_is_ephemeral() that tells if given onion
  6828. service is ephemeral. Replace unclear NULL-checkings for service
  6829. directory with this function. Closes ticket 20526.
  6830. - Extract magic numbers in circuituse.c into defined variables.
  6831. - Refactor circuit_is_available_for_use to remove unnecessary check.
  6832. - Refactor circuit_predict_and_launch_new for readability and
  6833. testability. Closes ticket 18873.
  6834. - Refactor large if statement in purpose_needs_anonymity to use
  6835. switch statement instead. Closes part of ticket 20077.
  6836. - Refactor the hashing API to return negative values for errors, as
  6837. is done as throughout the codebase. Closes ticket 20717.
  6838. - Remove data structures that were used to index or_connection
  6839. objects by their RSA identity digests. These structures are fully
  6840. redundant with the similar structures used in the
  6841. channel abstraction.
  6842. - Remove duplicate code in the channel_write_*cell() functions.
  6843. Closes ticket 13827; patch from Pingl.
  6844. - Remove redundant behavior of is_sensitive_dir_purpose, refactor to
  6845. use only purpose_needs_anonymity. Closes part of ticket 20077.
  6846. - The code to generate and parse EXTEND and EXTEND2 cells has been
  6847. replaced with code automatically generated by the
  6848. "trunnel" utility.
  6849. o Documentation:
  6850. - Include the "TBits" unit in Tor's man page. Fixes part of bug
  6851. 20622; bugfix on 0.2.5.1-alpha.
  6852. - Change '1' to 'weight_scale' in consensus bw weights calculation
  6853. comments, as that is reality. Closes ticket 20273. Patch
  6854. from pastly.
  6855. - Correct the value for AuthDirGuardBWGuarantee in the manpage, from
  6856. 250 KBytes to 2 MBytes. Fixes bug 20435; bugfix
  6857. on 0.2.5.6-alpha.
  6858. - Stop the man page from incorrectly stating that HiddenServiceDir
  6859. must already exist. Fixes 20486.
  6860. - Clarify that when ClientRejectInternalAddresses is enabled (which
  6861. is the default), multicast DNS hostnames for machines on the local
  6862. network (of the form *.local) are also rejected. Closes
  6863. ticket 17070.
  6864. o Removed features:
  6865. - The AuthDirMaxServersPerAuthAddr option no longer exists: The same
  6866. limit for relays running on a single IP applies to authority IP
  6867. addresses as well as to non-authority IP addresses. Closes
  6868. ticket 20960.
  6869. - The UseDirectoryGuards torrc option no longer exists: all users
  6870. that use entry guards will also use directory guards. Related to
  6871. proposal 271; implements part of ticket 20831.
  6872. o Testing:
  6873. - New unit tests for tor_htonll(). Closes ticket 19563. Patch
  6874. from "overcaffeinated".
  6875. - Perform the coding style checks when running the tests and fail
  6876. when coding style violations are found. Closes ticket 5500.
  6877. - Add tests for networkstatus_compute_bw_weights_v10.
  6878. - Add unit tests circuit_predict_and_launch_new.
  6879. - Extract dummy_origin_circuit_new so it can be used by other
  6880. test functions.
  6881. Changes in version 0.2.8.12 - 2016-12-19
  6882. Tor 0.2.8.12 backports a fix for a medium-severity issue (bug 21018
  6883. below) where Tor clients could crash when attempting to visit a
  6884. hostile hidden service. Clients are recommended to upgrade as packages
  6885. become available for their systems.
  6886. It also includes an updated list of fallback directories, backported
  6887. from 0.2.9.
  6888. Now that the Tor 0.2.9 series is stable, only major bugfixes will be
  6889. backported to 0.2.8 in the future.
  6890. o Major bugfixes (parsing, security, backported from 0.2.9.8):
  6891. - Fix a bug in parsing that could cause clients to read a single
  6892. byte past the end of an allocated region. This bug could be used
  6893. to cause hardened clients (built with --enable-expensive-hardening)
  6894. to crash if they tried to visit a hostile hidden service. Non-
  6895. hardened clients are only affected depending on the details of
  6896. their platform's memory allocator. Fixes bug 21018; bugfix on
  6897. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  6898. 2016-12-002 and as CVE-2016-1254.
  6899. o Minor features (fallback directory list, backported from 0.2.9.8):
  6900. - Replace the 81 remaining fallbacks of the 100 originally
  6901. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  6902. fallbacks (123 new, 54 existing, 27 removed) generated in December
  6903. 2016. Resolves ticket 20170.
  6904. o Minor features (geoip, backported from 0.2.9.7-rc):
  6905. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  6906. Country database.
  6907. Changes in version 0.2.9.8 - 2016-12-19
  6908. Tor 0.2.9.8 is the first stable release of the Tor 0.2.9 series.
  6909. The Tor 0.2.9 series makes mandatory a number of security features
  6910. that were formerly optional. It includes support for a new shared-
  6911. randomness protocol that will form the basis for next generation
  6912. hidden services, includes a single-hop hidden service mode for
  6913. optimizing .onion services that don't actually want to be hidden,
  6914. tries harder not to overload the directory authorities with excessive
  6915. downloads, and supports a better protocol versioning scheme for
  6916. improved compatibility with other implementations of the Tor protocol.
  6917. And of course, there are numerous other bugfixes and improvements.
  6918. This release also includes a fix for a medium-severity issue (bug
  6919. 21018 below) where Tor clients could crash when attempting to visit a
  6920. hostile hidden service. Clients are recommended to upgrade as packages
  6921. become available for their systems.
  6922. Below are the changes since 0.2.9.7-rc. For a list of all changes
  6923. since 0.2.8, see the ReleaseNotes file.
  6924. o Major bugfixes (parsing, security):
  6925. - Fix a bug in parsing that could cause clients to read a single
  6926. byte past the end of an allocated region. This bug could be used
  6927. to cause hardened clients (built with --enable-expensive-hardening)
  6928. to crash if they tried to visit a hostile hidden service. Non-
  6929. hardened clients are only affected depending on the details of
  6930. their platform's memory allocator. Fixes bug 21018; bugfix on
  6931. 0.2.0.8-alpha. Found by using libFuzzer. Also tracked as TROVE-
  6932. 2016-12-002 and as CVE-2016-1254.
  6933. o Minor features (fallback directory list):
  6934. - Replace the 81 remaining fallbacks of the 100 originally
  6935. introduced in Tor 0.2.8.3-alpha in March 2016, with a list of 177
  6936. fallbacks (123 new, 54 existing, 27 removed) generated in December
  6937. 2016. Resolves ticket 20170.
  6938. Changes in version 0.2.9.7-rc - 2016-12-12
  6939. Tor 0.2.9.7-rc fixes a few small bugs remaining in Tor 0.2.9.6-rc,
  6940. including a few that had prevented tests from passing on
  6941. some platforms.
  6942. o Minor features (geoip):
  6943. - Update geoip and geoip6 to the December 7 2016 Maxmind GeoLite2
  6944. Country database.
  6945. o Minor bugfix (build):
  6946. - The current Git revision when building from a local repository is
  6947. now detected correctly when using git worktrees. Fixes bug 20492;
  6948. bugfix on 0.2.3.9-alpha.
  6949. o Minor bugfixes (directory authority):
  6950. - When computing old Tor protocol line version in protover, we were
  6951. looking at 0.2.7.5 twice instead of a specific case for
  6952. 0.2.9.1-alpha. Fixes bug 20810; bugfix on 0.2.9.4-alpha.
  6953. o Minor bugfixes (download scheduling):
  6954. - Resolve a "bug" warning when considering a download schedule whose
  6955. delay had approached INT_MAX. Fixes 20875; bugfix on 0.2.9.5-alpha.
  6956. o Minor bugfixes (logging):
  6957. - Downgrade a harmless log message about the
  6958. pending_entry_connections list from "warn" to "info". Mitigates
  6959. bug 19926.
  6960. o Minor bugfixes (memory leak):
  6961. - Fix a small memory leak when receiving AF_UNIX connections on a
  6962. SocksPort. Fixes bug 20716; bugfix on 0.2.6.3-alpha.
  6963. - When moving a signed descriptor object from a source to an
  6964. existing destination, free the allocated memory inside that
  6965. destination object. Fixes bug 20715; bugfix on 0.2.8.3-alpha.
  6966. o Minor bugfixes (memory leak, use-after-free, linux seccomp2 sandbox):
  6967. - Fix a memory leak and use-after-free error when removing entries
  6968. from the sandbox's getaddrinfo() cache. Fixes bug 20710; bugfix on
  6969. 0.2.5.5-alpha. Patch from "cypherpunks".
  6970. o Minor bugfixes (portability):
  6971. - Use the correct spelling of MAC_OS_X_VERSION_10_12 on configure.ac
  6972. Fixes bug 20935; bugfix on 0.2.9.6-rc.
  6973. o Minor bugfixes (unit tests):
  6974. - Stop expecting NetBSD unit tests to report success for ipfw. Part
  6975. of a fix for bug 19960; bugfix on 0.2.9.5-alpha.
  6976. - Fix tolerances in unit tests for monotonic time comparisons
  6977. between nanoseconds and microseconds. Previously, we accepted a 10
  6978. us difference only, which is not realistic on every platform's
  6979. clock_gettime(). Fixes bug 19974; bugfix on 0.2.9.1-alpha.
  6980. - Remove a double-free in the single onion service unit test. Stop
  6981. ignoring a return value. Make future changes less error-prone.
  6982. Fixes bug 20864; bugfix on 0.2.9.6-rc.
  6983. Changes in version 0.2.8.11 - 2016-12-08
  6984. Tor 0.2.8.11 backports fixes for additional portability issues that
  6985. could prevent Tor from building correctly on OSX Sierra, or with
  6986. OpenSSL 1.1. Affected users should upgrade; others can safely stay
  6987. with 0.2.8.10.
  6988. o Minor bugfixes (portability):
  6989. - Avoid compilation errors when building on OSX Sierra. Sierra began
  6990. to support the getentropy() and clock_gettime() APIs, but created
  6991. a few problems in doing so. Tor 0.2.9 has a more thorough set of
  6992. workarounds; in 0.2.8, we are just using the /dev/urandom and mach
  6993. monotonic time interfaces. Fixes bug 20865. Bugfix
  6994. on 0.2.8.1-alpha.
  6995. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  6996. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  6997. architectures. Closes ticket 20588.
  6998. Changes in version 0.2.8.10 - 2016-12-02
  6999. Tor 0.2.8.10 backports a fix for a bug that would sometimes make clients
  7000. unusable after they left standby mode. It also backports fixes for
  7001. a few portability issues and a small but problematic memory leak.
  7002. o Major bugfixes (client reliability, backport from 0.2.9.5-alpha):
  7003. - When Tor leaves standby because of a new application request, open
  7004. circuits as needed to serve that request. Previously, we would
  7005. potentially wait a very long time. Fixes part of bug 19969; bugfix
  7006. on 0.2.8.1-alpha.
  7007. o Major bugfixes (client performance, backport from 0.2.9.5-alpha):
  7008. - Clients now respond to new application stream requests immediately
  7009. when they arrive, rather than waiting up to one second before
  7010. starting to handle them. Fixes part of bug 19969; bugfix
  7011. on 0.2.8.1-alpha.
  7012. o Minor bugfixes (portability, backport from 0.2.9.6-rc):
  7013. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  7014. successfully targeting earlier versions of OSX. Resolves
  7015. ticket 20235.
  7016. o Minor bugfixes (portability, backport from 0.2.9.5-alpha):
  7017. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  7018. 20551; bugfix on 0.2.1.1-alpha.
  7019. o Minor bugfixes (relay, backport from 0.2.9.5-alpha):
  7020. - Work around a memory leak in OpenSSL 1.1 when encoding public
  7021. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  7022. o Minor features (geoip):
  7023. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  7024. Country database.
  7025. Changes in version 0.2.9.6-rc - 2016-12-02
  7026. Tor 0.2.9.6-rc fixes a few remaining bugs found in the previous alpha
  7027. version. We hope that it will be ready to become stable soon, and we
  7028. encourage everyone to test this release. If no showstopper bugs are
  7029. found here, the next 0.2.9 release will be stable.
  7030. o Major bugfixes (relay, resolver, logging):
  7031. - For relays that don't know their own address, avoid attempting a
  7032. local hostname resolve for each descriptor we download. This
  7033. will cut down on the number of "Success: chose address 'x.x.x.x'"
  7034. log lines, and also avoid confusing clock jumps if the resolver
  7035. is slow. Fixes bugs 20423 and 20610; bugfix on 0.2.8.1-alpha.
  7036. o Minor bugfixes (client, fascistfirewall):
  7037. - Avoid spurious warnings when ReachableAddresses or FascistFirewall
  7038. is set. Fixes bug 20306; bugfix on 0.2.8.2-alpha.
  7039. o Minor bugfixes (hidden services):
  7040. - Stop ignoring the anonymity status of saved keys for hidden
  7041. services and single onion services when first starting tor.
  7042. Instead, refuse to start tor if any hidden service key has been
  7043. used in a different hidden service anonymity mode. Fixes bug
  7044. 20638; bugfix on 17178 in 0.2.9.3-alpha; reported by ahf.
  7045. o Minor bugfixes (portability):
  7046. - Work around a bug in the OSX 10.12 SDK that would prevent us from
  7047. successfully targeting earlier versions of OSX. Resolves
  7048. ticket 20235.
  7049. - Run correctly when built on Windows build environments that
  7050. require _vcsprintf(). Fixes bug 20560; bugfix on 0.2.2.11-alpha.
  7051. o Minor bugfixes (single onion services, Tor2web):
  7052. - Stop complaining about long-term one-hop circuits deliberately
  7053. created by single onion services and Tor2web. These log messages
  7054. are intended to diagnose issue 8387, which relates to circuits
  7055. hanging around forever for no reason. Fixes bug 20613; bugfix on
  7056. 0.2.9.1-alpha. Reported by "pastly".
  7057. o Minor bugfixes (unit tests):
  7058. - Stop spurious failures in the local interface address discovery
  7059. unit tests. Fixes bug 20634; bugfix on 0.2.8.1-alpha; patch by
  7060. Neel Chauhan.
  7061. o Documentation:
  7062. - Correct the minimum bandwidth value in torrc.sample, and queue a
  7063. corresponding change for torrc.minimal. Closes ticket 20085.
  7064. Changes in version 0.2.9.5-alpha - 2016-11-08
  7065. Tor 0.2.9.5-alpha fixes numerous bugs discovered in the previous alpha
  7066. version. We believe one or two probably remain, and we encourage
  7067. everyone to test this release.
  7068. o Major bugfixes (client performance):
  7069. - Clients now respond to new application stream requests immediately
  7070. when they arrive, rather than waiting up to one second before
  7071. starting to handle them. Fixes part of bug 19969; bugfix
  7072. on 0.2.8.1-alpha.
  7073. o Major bugfixes (client reliability):
  7074. - When Tor leaves standby because of a new application request, open
  7075. circuits as needed to serve that request. Previously, we would
  7076. potentially wait a very long time. Fixes part of bug 19969; bugfix
  7077. on 0.2.8.1-alpha.
  7078. o Major bugfixes (download scheduling):
  7079. - When using an exponential backoff schedule, do not give up on
  7080. downloading just because we have failed a bunch of times. Since
  7081. each delay is longer than the last, retrying indefinitely won't
  7082. hurt. Fixes bug 20536; bugfix on 0.2.9.1-alpha.
  7083. - If a consensus expires while we are waiting for certificates to
  7084. download, stop waiting for certificates.
  7085. - If we stop waiting for certificates less than a minute after we
  7086. started downloading them, do not consider the certificate download
  7087. failure a separate failure. Fixes bug 20533; bugfix
  7088. on 0.2.0.9-alpha.
  7089. - Remove the maximum delay on exponential-backoff scheduling. Since
  7090. we now allow an infinite number of failures (see ticket 20536), we
  7091. must now allow the time to grow longer on each failure. Fixes part
  7092. of bug 20534; bugfix on 0.2.9.1-alpha.
  7093. - Make our initial download delays closer to those from 0.2.8. Fixes
  7094. another part of bug 20534; bugfix on 0.2.9.1-alpha.
  7095. - When determining when to download a directory object, handle times
  7096. after 2038 if the operating system supports them. (Someday this
  7097. will be important!) Fixes bug 20587; bugfix on 0.2.8.1-alpha.
  7098. - When using exponential backoff in test networks, use a lower
  7099. exponent, so the delays do not vary as much. This helps test
  7100. networks bootstrap consistently. Fixes bug 20597; bugfix on 20499.
  7101. o Minor features (geoip):
  7102. - Update geoip and geoip6 to the November 3 2016 Maxmind GeoLite2
  7103. Country database.
  7104. o Minor bugfixes (client directory scheduling):
  7105. - Treat "relay too busy to answer request" as a failed request and a
  7106. reason to back off on our retry frequency. This is safe now that
  7107. exponential backoffs retry indefinitely, and avoids a bug where we
  7108. would reset our download schedule erroneously. Fixes bug 20593;
  7109. bugfix on 0.2.9.1-alpha.
  7110. o Minor bugfixes (client, logging):
  7111. - Remove a BUG warning in circuit_pick_extend_handshake(). Instead,
  7112. assume all nodes support EXTEND2. Use ntor whenever a key is
  7113. available. Fixes bug 20472; bugfix on 0.2.9.3-alpha.
  7114. - On DNSPort, stop logging a BUG warning on a failed hostname
  7115. lookup. Fixes bug 19869; bugfix on 0.2.9.1-alpha.
  7116. o Minor bugfixes (hidden services):
  7117. - When configuring hidden services, check every hidden service
  7118. directory's permissions. Previously, we only checked the last
  7119. hidden service. Fixes bug 20529; bugfix the work to fix 13942
  7120. in 0.2.6.2-alpha.
  7121. o Minor bugfixes (portability):
  7122. - Fix compilation with OpenSSL 1.1 and less commonly-used CPU
  7123. architectures. Closes ticket 20588.
  7124. - Use ECDHE ciphers instead of ECDH in tortls tests. LibreSSL has
  7125. removed the ECDH ciphers which caused the tests to fail on
  7126. platforms which use it. Fixes bug 20460; bugfix on 0.2.8.1-alpha.
  7127. - Fix implicit conversion warnings under OpenSSL 1.1. Fixes bug
  7128. 20551; bugfix on 0.2.1.1-alpha.
  7129. o Minor bugfixes (relay bootstrap):
  7130. - Ensure relays don't make multiple connections during bootstrap.
  7131. Fixes bug 20591; bugfix on 0.2.8.1-alpha.
  7132. o Minor bugfixes (relay):
  7133. - Work around a memory leak in OpenSSL 1.1 when encoding public
  7134. keys. Fixes bug 20553; bugfix on 0.0.2pre8.
  7135. - Avoid a small memory leak when informing worker threads about
  7136. rotated onion keys. Fixes bug 20401; bugfix on 0.2.6.3-alpha.
  7137. - Do not try to parallelize workers more than 16x without the user
  7138. explicitly configuring us to do so, even if we do detect more than
  7139. 16 CPU cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  7140. o Minor bugfixes (single onion services):
  7141. - Start correctly when creating a single onion service in a
  7142. directory that did not previously exist. Fixes bug 20484; bugfix
  7143. on 0.2.9.3-alpha.
  7144. o Minor bugfixes (testing):
  7145. - Avoid a unit test failure on systems with over 16 detectable CPU
  7146. cores. Fixes bug 19968; bugfix on 0.2.3.1-alpha.
  7147. o Documentation:
  7148. - Clarify that setting HiddenServiceNonAnonymousMode requires you to
  7149. also set "SOCKSPort 0". Fixes bug 20487; bugfix on 0.2.9.3-alpha.
  7150. - Module-level documentation for several more modules. Closes
  7151. tickets 19287 and 19290.
  7152. Changes in version 0.2.8.9 - 2016-10-17
  7153. Tor 0.2.8.9 backports a fix for a security hole in previous versions
  7154. of Tor that would allow a remote attacker to crash a Tor client,
  7155. hidden service, relay, or authority. All Tor users should upgrade to
  7156. this version, or to 0.2.9.4-alpha. Patches will be released for older
  7157. versions of Tor.
  7158. o Major features (security fixes, also in 0.2.9.4-alpha):
  7159. - Prevent a class of security bugs caused by treating the contents
  7160. of a buffer chunk as if they were a NUL-terminated string. At
  7161. least one such bug seems to be present in all currently used
  7162. versions of Tor, and would allow an attacker to remotely crash
  7163. most Tor instances, especially those compiled with extra compiler
  7164. hardening. With this defense in place, such bugs can't crash Tor,
  7165. though we should still fix them as they occur. Closes ticket
  7166. 20384 (TROVE-2016-10-001).
  7167. o Minor features (geoip):
  7168. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  7169. Country database.
  7170. Changes in version 0.2.9.4-alpha - 2016-10-17
  7171. Tor 0.2.9.4-alpha fixes a security hole in previous versions of Tor
  7172. that would allow a remote attacker to crash a Tor client, hidden
  7173. service, relay, or authority. All Tor users should upgrade to this
  7174. version, or to 0.2.8.9. Patches will be released for older versions
  7175. of Tor.
  7176. Tor 0.2.9.4-alpha also adds numerous small features and fix-ups to
  7177. previous versions of Tor, including the implementation of a feature to
  7178. future- proof the Tor ecosystem against protocol changes, some bug
  7179. fixes necessary for Tor Browser to use unix domain sockets correctly,
  7180. and several portability improvements. We anticipate that this will be
  7181. the last alpha in the Tor 0.2.9 series, and that the next release will
  7182. be a release candidate.
  7183. o Major features (security fixes):
  7184. - Prevent a class of security bugs caused by treating the contents
  7185. of a buffer chunk as if they were a NUL-terminated string. At
  7186. least one such bug seems to be present in all currently used
  7187. versions of Tor, and would allow an attacker to remotely crash
  7188. most Tor instances, especially those compiled with extra compiler
  7189. hardening. With this defense in place, such bugs can't crash Tor,
  7190. though we should still fix them as they occur. Closes ticket
  7191. 20384 (TROVE-2016-10-001).
  7192. o Major features (subprotocol versions):
  7193. - Tor directory authorities now vote on a set of recommended
  7194. subprotocol versions, and on a set of required subprotocol
  7195. versions. Clients and relays that lack support for a _required_
  7196. subprotocol version will not start; those that lack support for a
  7197. _recommended_ subprotocol version will warn the user to upgrade.
  7198. Closes ticket 19958; implements part of proposal 264.
  7199. - Tor now uses "subprotocol versions" to indicate compatibility.
  7200. Previously, versions of Tor looked at the declared Tor version of
  7201. a relay to tell whether they could use a given feature. Now, they
  7202. should be able to rely on its declared subprotocol versions. This
  7203. change allows compatible implementations of the Tor protocol(s) to
  7204. exist without pretending to be 100% bug-compatible with particular
  7205. releases of Tor itself. Closes ticket 19958; implements part of
  7206. proposal 264.
  7207. o Minor feature (fallback directories):
  7208. - Remove broken fallbacks from the hard-coded fallback directory
  7209. list. Closes ticket 20190; patch by teor.
  7210. o Minor features (client, directory):
  7211. - Since authorities now omit all routers that lack the Running and
  7212. Valid flags, we assume that any relay listed in the consensus must
  7213. have those flags. Closes ticket 20001; implements part of
  7214. proposal 272.
  7215. o Minor features (compilation, portability):
  7216. - Compile correctly on MacOS 10.12 (aka "Sierra"). Closes
  7217. ticket 20241.
  7218. o Minor features (development tools, etags):
  7219. - Teach the "make tags" Makefile target how to correctly find
  7220. "MOCK_IMPL" function definitions. Patch from nherring; closes
  7221. ticket 16869.
  7222. o Minor features (geoip):
  7223. - Update geoip and geoip6 to the October 4 2016 Maxmind GeoLite2
  7224. Country database.
  7225. o Minor features (unix domain sockets):
  7226. - When configuring a unix domain socket for a SocksPort,
  7227. ControlPort, or Hidden service, you can now wrap the address in
  7228. quotes, using C-style escapes inside the quotes. This allows unix
  7229. domain socket paths to contain spaces.
  7230. o Minor features (virtual addresses):
  7231. - Increase the maximum number of bits for the IPv6 virtual network
  7232. prefix from 16 to 104. In this way, the condition for address
  7233. allocation is less restrictive. Closes ticket 20151; feature
  7234. on 0.2.4.7-alpha.
  7235. o Minor bugfixes (address discovery):
  7236. - Stop reordering IP addresses returned by the OS. This makes it
  7237. more likely that Tor will guess the same relay IP address every
  7238. time. Fixes issue 20163; bugfix on 0.2.7.1-alpha, ticket 17027.
  7239. Reported by René Mayrhofer, patch by "cypherpunks".
  7240. o Minor bugfixes (client, unix domain sockets):
  7241. - Disable IsolateClientAddr when using AF_UNIX backed SocksPorts as
  7242. the client address is meaningless. Fixes bug 20261; bugfix
  7243. on 0.2.6.3-alpha.
  7244. o Minor bugfixes (compilation, OpenBSD):
  7245. - Detect Libevent2 functions correctly on systems that provide
  7246. libevent2, but where libevent1 is linked with -levent. Fixes bug
  7247. 19904; bugfix on 0.2.2.24-alpha. Patch from Rubiate.
  7248. o Minor bugfixes (configuration):
  7249. - When parsing quoted configuration values from the torrc file,
  7250. handle windows line endings correctly. Fixes bug 19167; bugfix on
  7251. 0.2.0.16-alpha. Patch from "Pingl".
  7252. o Minor bugfixes (getpass):
  7253. - Defensively fix a non-triggerable heap corruption at do_getpass()
  7254. to protect ourselves from mistakes in the future. Fixes bug
  7255. 19223; bugfix on 0.2.7.3-rc. Bug found by Guido Vranken, patch
  7256. by nherring.
  7257. o Minor bugfixes (hidden service):
  7258. - Allow hidden services to run on IPv6 addresses even when the
  7259. IPv6Exit option is not set. Fixes bug 18357; bugfix
  7260. on 0.2.4.7-alpha.
  7261. o Documentation:
  7262. - Add module-level internal documentation for 36 C files that
  7263. previously didn't have a high-level overview. Closes ticket #20385.
  7264. o Required libraries:
  7265. - When building with OpenSSL, Tor now requires version 1.0.1 or
  7266. later. OpenSSL 1.0.0 and earlier are no longer supported by the
  7267. OpenSSL team, and should not be used. Closes ticket 20303.
  7268. Changes in version 0.2.9.3-alpha - 2016-09-23
  7269. Tor 0.2.9.3-alpha adds improved support for entities that want to make
  7270. high-performance services available through the Tor .onion mechanism
  7271. without themselves receiving anonymity as they host those services. It
  7272. also tries harder to ensure that all steps on a circuit are using the
  7273. strongest crypto possible, strengthens some TLS properties, and
  7274. resolves several bugs -- including a pair of crash bugs from the 0.2.8
  7275. series. Anybody running an earlier version of 0.2.9.x should upgrade.
  7276. o Major bugfixes (crash, also in 0.2.8.8):
  7277. - Fix a complicated crash bug that could affect Tor clients
  7278. configured to use bridges when replacing a networkstatus consensus
  7279. in which one of their bridges was mentioned. OpenBSD users saw
  7280. more crashes here, but all platforms were potentially affected.
  7281. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  7282. o Major bugfixes (relay, OOM handler, also in 0.2.8.8):
  7283. - Fix a timing-dependent assertion failure that could occur when we
  7284. tried to flush from a circuit after having freed its cells because
  7285. of an out-of-memory condition. Fixes bug 20203; bugfix on
  7286. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  7287. this one.
  7288. o Major features (circuit building, security):
  7289. - Authorities, relays and clients now require ntor keys in all
  7290. descriptors, for all hops (except for rare hidden service protocol
  7291. cases), for all circuits, and for all other roles. Part of
  7292. ticket 19163.
  7293. - Tor authorities, relays, and clients only use ntor, except for
  7294. rare cases in the hidden service protocol. Part of ticket 19163.
  7295. o Major features (single-hop "hidden" services):
  7296. - Add experimental HiddenServiceSingleHopMode and
  7297. HiddenServiceNonAnonymousMode options. When both are set to 1,
  7298. every hidden service on a Tor instance becomes a non-anonymous
  7299. Single Onion Service. Single Onions make one-hop (direct)
  7300. connections to their introduction and renzedvous points. One-hop
  7301. circuits make Single Onion servers easily locatable, but clients
  7302. remain location-anonymous. This is compatible with the existing
  7303. hidden service implementation, and works on the current tor
  7304. network without any changes to older relays or clients. Implements
  7305. proposal 260, completes ticket 17178. Patch by teor and asn.
  7306. o Major features (resource management):
  7307. - Tor can now notice it is about to run out of sockets, and
  7308. preemptively close connections of lower priority. (This feature is
  7309. off by default for now, since the current prioritizing method is
  7310. yet not mature enough. You can enable it by setting
  7311. "DisableOOSCheck 0", but watch out: it might close some sockets
  7312. you would rather have it keep.) Closes ticket 18640.
  7313. o Major bugfixes (circuit building):
  7314. - Hidden service client-to-intro-point and service-to-rendezvous-
  7315. point circuits use the TAP key supplied by the protocol, to avoid
  7316. epistemic attacks. Fixes bug 19163; bugfix on 0.2.4.18-rc.
  7317. o Major bugfixes (compilation, OpenBSD):
  7318. - Fix a Libevent-detection bug in our autoconf script that would
  7319. prevent Tor from linking successfully on OpenBSD. Patch from
  7320. rubiate. Fixes bug 19902; bugfix on 0.2.9.1-alpha.
  7321. o Major bugfixes (hidden services):
  7322. - Clients now require hidden services to include the TAP keys for
  7323. their intro points in the hidden service descriptor. This prevents
  7324. an inadvertent upgrade to ntor, which a malicious hidden service
  7325. could use to distinguish clients by consensus version. Fixes bug
  7326. 20012; bugfix on 0.2.4.8-alpha. Patch by teor.
  7327. o Minor features (security, TLS):
  7328. - Servers no longer support clients that without AES ciphersuites.
  7329. (3DES is no longer considered an acceptable cipher.) We believe
  7330. that no such Tor clients currently exist, since Tor has required
  7331. OpenSSL 0.9.7 or later since 2009. Closes ticket 19998.
  7332. o Minor feature (fallback directories):
  7333. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  7334. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  7335. 2016. Closes ticket 20190; patch by teor.
  7336. o Minor features (geoip, also in 0.2.8.8):
  7337. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  7338. Country database.
  7339. o Minor feature (port flags):
  7340. - Add new flags to the *Port options to finer control over which
  7341. requests are allowed. The flags are NoDNSRequest, NoOnionTraffic,
  7342. and the synthetic flag OnionTrafficOnly, which is equivalent to
  7343. NoDNSRequest, NoIPv4Traffic, and NoIPv6Traffic. Closes enhancement
  7344. 18693; patch by "teor".
  7345. o Minor features (directory authority):
  7346. - After voting, if the authorities decide that a relay is not
  7347. "Valid", they no longer include it in the consensus at all. Closes
  7348. ticket 20002; implements part of proposal 272.
  7349. o Minor features (testing):
  7350. - Disable memory protections on OpenBSD when performing our unit
  7351. tests for memwipe(). The test deliberately invokes undefined
  7352. behavior, and the OpenBSD protections interfere with this. Patch
  7353. from "rubiate". Closes ticket 20066.
  7354. o Minor features (testing, ipv6):
  7355. - Add the single-onion and single-onion-ipv6 chutney targets to
  7356. "make test-network-all". This requires a recent chutney version
  7357. with the single onion network flavours (git c72a652 or later).
  7358. Closes ticket 20072; patch by teor.
  7359. - Add the hs-ipv6 chutney target to make test-network-all's IPv6
  7360. tests. Remove bridges+hs, as it's somewhat redundant. This
  7361. requires a recent chutney version that supports IPv6 clients,
  7362. relays, and authorities. Closes ticket 20069; patch by teor.
  7363. o Minor features (Tor2web):
  7364. - Make Tor2web clients respect ReachableAddresses. This feature was
  7365. inadvertently enabled in 0.2.8.6, then removed by bugfix 19973 on
  7366. 0.2.8.7. Implements feature 20034. Patch by teor.
  7367. o Minor features (unit tests):
  7368. - We've done significant work to make the unit tests run faster.
  7369. - Our link-handshake unit tests now check that when invalid
  7370. handshakes fail, they fail with the error messages we expected.
  7371. - Our unit testing code that captures log messages no longer
  7372. prevents them from being written out if the user asked for them
  7373. (by passing --debug or --info or or --notice --warn to the "test"
  7374. binary). This change prevents us from missing unexpected log
  7375. messages simply because we were looking for others. Related to
  7376. ticket 19999.
  7377. - The unit tests now log all warning messages with the "BUG" flag.
  7378. Previously, they only logged errors by default. This change will
  7379. help us make our testing code more correct, and make sure that we
  7380. only hit this code when we mean to. In the meantime, however,
  7381. there will be more warnings in the unit test logs than before.
  7382. This is preparatory work for ticket 19999.
  7383. - The unit tests now treat any failure of a "tor_assert_nonfatal()"
  7384. assertion as a test failure.
  7385. o Minor bug fixes (circuits):
  7386. - Use the CircuitBuildTimeout option whenever
  7387. LearnCircuitBuildTimeout is disabled. Previously, we would respect
  7388. the option when a user disabled it, but not when it was disabled
  7389. because some other option was set. Fixes bug 20073; bugfix on
  7390. 0.2.4.12-alpha. Patch by teor.
  7391. o Minor bugfixes (allocation):
  7392. - Change how we allocate memory for large chunks on buffers, to
  7393. avoid a (currently impossible) integer overflow, and to waste less
  7394. space when allocating unusually large chunks. Fixes bug 20081;
  7395. bugfix on 0.2.0.16-alpha. Issue identified by Guido Vranken.
  7396. - Always include orconfig.h before including any other C headers.
  7397. Sometimes, it includes macros that affect the behavior of the
  7398. standard headers. Fixes bug 19767; bugfix on 0.2.9.1-alpha (the
  7399. first version to use AC_USE_SYSTEM_EXTENSIONS).
  7400. - Fix a syntax error in the IF_BUG_ONCE__() macro in non-GCC-
  7401. compatible compilers. Fixes bug 20141; bugfix on 0.2.9.1-alpha.
  7402. Patch from Gisle Vanem.
  7403. - Stop trying to build with Clang 4.0's -Wthread-safety warnings.
  7404. They apparently require a set of annotations that we aren't
  7405. currently using, and they create false positives in our pthreads
  7406. wrappers. Fixes bug 20110; bugfix on 0.2.9.1-alpha.
  7407. o Minor bugfixes (directory authority):
  7408. - Die with a more useful error when the operator forgets to place
  7409. the authority_signing_key file into the keys directory. This
  7410. avoids an uninformative assert & traceback about having an invalid
  7411. key. Fixes bug 20065; bugfix on 0.2.0.1-alpha.
  7412. - When allowing private addresses, mark Exits that only exit to
  7413. private locations as such. Fixes bug 20064; bugfix
  7414. on 0.2.2.9-alpha.
  7415. o Minor bugfixes (documentation):
  7416. - Document the default PathsNeededToBuildCircuits value that's used
  7417. by clients when the directory authorities don't set
  7418. min_paths_for_circs_pct. Fixes bug 20117; bugfix on 02c320916e02
  7419. in 0.2.4.10-alpha. Patch by teor, reported by Jesse V.
  7420. - Fix manual for the User option: it takes a username, not a UID.
  7421. Fixes bug 19122; bugfix on 0.0.2pre16 (the first version to have
  7422. a manpage!).
  7423. o Minor bugfixes (hidden services):
  7424. - Stop logging intro point details to the client log on certain
  7425. error conditions. Fixed as part of bug 20012; bugfix on
  7426. 0.2.4.8-alpha. Patch by teor.
  7427. o Minor bugfixes (IPv6, testing):
  7428. - Check for IPv6 correctly on Linux when running test networks.
  7429. Fixes bug 19905; bugfix on 0.2.7.3-rc; patch by teor.
  7430. o Minor bugfixes (Linux seccomp2 sandbox):
  7431. - Add permission to run the sched_yield() and sigaltstack() system
  7432. calls, in order to support versions of Tor compiled with asan or
  7433. ubsan code that use these calls. Now "sandbox 1" and
  7434. "--enable-expensive-hardening" should be compatible on more
  7435. systems. Fixes bug 20063; bugfix on 0.2.5.1-alpha.
  7436. o Minor bugfixes (logging):
  7437. - When logging a message from the BUG() macro, be explicit about
  7438. what we were asserting. Previously we were confusing what we were
  7439. asserting with what the bug was. Fixes bug 20093; bugfix
  7440. on 0.2.9.1-alpha.
  7441. - When we are unable to remove the bw_accounting file, do not warn
  7442. if the reason we couldn't remove it was that it didn't exist.
  7443. Fixes bug 19964; bugfix on 0.2.5.4-alpha. Patch from 'pastly'.
  7444. o Minor bugfixes (option parsing):
  7445. - Count unix sockets when counting client listeners (SOCKS, Trans,
  7446. NATD, and DNS). This has no user-visible behaviour changes: these
  7447. options are set once, and never read. Required for correct
  7448. behaviour in ticket 17178. Fixes bug 19677; bugfix on
  7449. 0.2.6.3-alpha. Patch by teor.
  7450. o Minor bugfixes (options):
  7451. - Check the consistency of UseEntryGuards and EntryNodes more
  7452. reliably. Fixes bug 20074; bugfix on 0.2.4.12-alpha. Patch
  7453. by teor.
  7454. - Stop changing the configured value of UseEntryGuards on
  7455. authorities and Tor2web clients. Fixes bug 20074; bugfix on
  7456. commits 51fc6799 in 0.1.1.16-rc and acda1735 in 0.2.4.3-alpha.
  7457. Patch by teor.
  7458. o Minor bugfixes (Tor2web):
  7459. - Prevent Tor2web clients running hidden services, these services
  7460. are not anonymous due to the one-hop client paths. Fixes bug
  7461. 19678. Patch by teor.
  7462. o Minor bugfixes (unit tests):
  7463. - Fix a shared-random unit test that was failing on big endian
  7464. architectures due to internal representation of a integer copied
  7465. to a buffer. The test is changed to take a full 32 bytes of data
  7466. and use the output of a python script that make the COMMIT and
  7467. REVEAL calculation according to the spec. Fixes bug 19977; bugfix
  7468. on 0.2.9.1-alpha.
  7469. - The tor_tls_server_info_callback unit test no longer crashes when
  7470. debug-level logging is turned on. Fixes bug 20041; bugfix
  7471. on 0.2.8.1-alpha.
  7472. Changes in version 0.2.8.8 - 2016-09-23
  7473. Tor 0.2.8.8 fixes two crash bugs present in previous versions of the
  7474. 0.2.8.x series. Relays running 0.2.8.x should upgrade, as should users
  7475. who select public relays as their bridges.
  7476. o Major bugfixes (crash):
  7477. - Fix a complicated crash bug that could affect Tor clients
  7478. configured to use bridges when replacing a networkstatus consensus
  7479. in which one of their bridges was mentioned. OpenBSD users saw
  7480. more crashes here, but all platforms were potentially affected.
  7481. Fixes bug 20103; bugfix on 0.2.8.2-alpha.
  7482. o Major bugfixes (relay, OOM handler):
  7483. - Fix a timing-dependent assertion failure that could occur when we
  7484. tried to flush from a circuit after having freed its cells because
  7485. of an out-of-memory condition. Fixes bug 20203; bugfix on
  7486. 0.2.8.1-alpha. Thanks to "cypherpunks" for help diagnosing
  7487. this one.
  7488. o Minor feature (fallback directories):
  7489. - Remove 8 fallbacks that are no longer suitable, leaving 81 of the
  7490. 100 fallbacks originally introduced in Tor 0.2.8.2-alpha in March
  7491. 2016. Closes ticket 20190; patch by teor.
  7492. o Minor features (geoip):
  7493. - Update geoip and geoip6 to the September 6 2016 Maxmind GeoLite2
  7494. Country database.
  7495. Changes in version 0.2.9.2-alpha - 2016-08-24
  7496. Tor 0.2.9.2-alpha continues development of the 0.2.9 series with
  7497. several new features and bugfixes. It also includes an important
  7498. authority update and an important bugfix from 0.2.8.7. Everyone who
  7499. sets the ReachableAddresses option, and all bridges, are strongly
  7500. encouraged to upgrade to 0.2.8.7, or to 0.2.9.2-alpha.
  7501. o Directory authority changes (also in 0.2.8.7):
  7502. - The "Tonga" bridge authority has been retired; the new bridge
  7503. authority is "Bifroest". Closes tickets 19728 and 19690.
  7504. o Major bugfixes (client, security, also in 0.2.8.7):
  7505. - Only use the ReachableAddresses option to restrict the first hop
  7506. in a path. In earlier versions of 0.2.8.x, it would apply to
  7507. every hop in the path, with a possible degradation in anonymity
  7508. for anyone using an uncommon ReachableAddress setting. Fixes bug
  7509. 19973; bugfix on 0.2.8.2-alpha.
  7510. o Major features (user interface):
  7511. - Tor now supports the ability to declare options deprecated, so
  7512. that we can recommend that people stop using them. Previously,
  7513. this was done in an ad-hoc way. Closes ticket 19820.
  7514. o Major bugfixes (directory downloads):
  7515. - Avoid resetting download status for consensuses hourly, since we
  7516. already have another, smarter retry mechanism. Fixes bug 8625;
  7517. bugfix on 0.2.0.9-alpha.
  7518. o Minor features (config):
  7519. - Warn users when descriptor and port addresses are inconsistent.
  7520. Mitigates bug 13953; patch by teor.
  7521. o Minor features (geoip):
  7522. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  7523. Country database.
  7524. o Minor features (user interface):
  7525. - There is a new --list-deprecated-options command-line option to
  7526. list all of the deprecated options. Implemented as part of
  7527. ticket 19820.
  7528. o Minor bugfixes (code style):
  7529. - Fix an integer signedness conversion issue in the case conversion
  7530. tables. Fixes bug 19168; bugfix on 0.2.1.11-alpha.
  7531. o Minor bugfixes (compilation):
  7532. - Build correctly on versions of libevent2 without support for
  7533. evutil_secure_rng_add_bytes(). Fixes bug 19904; bugfix
  7534. on 0.2.5.4-alpha.
  7535. - Fix a compilation warning on GCC versions before 4.6. Our
  7536. ENABLE_GCC_WARNING macro used the word "warning" as an argument,
  7537. when it is also required as an argument to the compiler pragma.
  7538. Fixes bug 19901; bugfix on 0.2.9.1-alpha.
  7539. o Minor bugfixes (compilation, also in 0.2.8.7):
  7540. - Remove an inappropriate "inline" in tortls.c that was causing
  7541. warnings on older versions of GCC. Fixes bug 19903; bugfix
  7542. on 0.2.8.1-alpha.
  7543. o Minor bugfixes (fallback directories, also in 0.2.8.7):
  7544. - Avoid logging a NULL string pointer when loading fallback
  7545. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  7546. and 0.2.8.1-alpha. Report and patch by "rubiate".
  7547. o Minor bugfixes (logging):
  7548. - Log a more accurate message when we fail to dump a microdescriptor.
  7549. Fixes bug 17758; bugfix on 0.2.2.8-alpha. Patch from Daniel Pinto.
  7550. o Minor bugfixes (memory leak):
  7551. - Fix a series of slow memory leaks related to parsing torrc files
  7552. and options. Fixes bug 19466; bugfix on 0.2.1.6-alpha.
  7553. o Deprecated features:
  7554. - A number of DNS-cache-related sub-options for client ports are now
  7555. deprecated for security reasons, and may be removed in a future
  7556. version of Tor. (We believe that client-side DNS caching is a bad
  7557. idea for anonymity, and you should not turn it on.) The options
  7558. are: CacheDNS, CacheIPv4DNS, CacheIPv6DNS, UseDNSCache,
  7559. UseIPv4Cache, and UseIPv6Cache.
  7560. - A number of options are deprecated for security reasons, and may
  7561. be removed in a future version of Tor. The options are:
  7562. AllowDotExit, AllowInvalidNodes, AllowSingleHopCircuits,
  7563. AllowSingleHopExits, ClientDNSRejectInternalAddresses,
  7564. CloseHSClientCircuitsImmediatelyOnTimeout,
  7565. CloseHSServiceRendCircuitsImmediatelyOnTimeout,
  7566. ExcludeSingleHopRelays, FastFirstHopPK, TLSECGroup,
  7567. UseNTorHandshake, and WarnUnsafeSocks.
  7568. - The *ListenAddress options are now deprecated as unnecessary: the
  7569. corresponding *Port options should be used instead. These options
  7570. may someday be removed. The affected options are:
  7571. ControlListenAddress, DNSListenAddress, DirListenAddress,
  7572. NATDListenAddress, ORListenAddress, SocksListenAddress,
  7573. and TransListenAddress.
  7574. o Documentation:
  7575. - Correct the IPv6 syntax in our documentation for the
  7576. VirtualAddrNetworkIPv6 torrc option. Closes ticket 19743.
  7577. o Removed code:
  7578. - We no longer include the (dead, deprecated) bufferevent code in
  7579. Tor. Closes ticket 19450. Based on a patch from U+039b.
  7580. Changes in version 0.2.8.7 - 2016-08-24
  7581. Tor 0.2.8.7 fixes an important bug related to the ReachableAddresses
  7582. option in 0.2.8.6, and replaces a retiring bridge authority. Everyone
  7583. who sets the ReachableAddresses option, and all bridges, are strongly
  7584. encouraged to upgrade.
  7585. o Directory authority changes:
  7586. - The "Tonga" bridge authority has been retired; the new bridge
  7587. authority is "Bifroest". Closes tickets 19728 and 19690.
  7588. o Major bugfixes (client, security):
  7589. - Only use the ReachableAddresses option to restrict the first hop
  7590. in a path. In earlier versions of 0.2.8.x, it would apply to
  7591. every hop in the path, with a possible degradation in anonymity
  7592. for anyone using an uncommon ReachableAddress setting. Fixes bug
  7593. 19973; bugfix on 0.2.8.2-alpha.
  7594. o Minor features (geoip):
  7595. - Update geoip and geoip6 to the August 2 2016 Maxmind GeoLite2
  7596. Country database.
  7597. o Minor bugfixes (compilation):
  7598. - Remove an inappropriate "inline" in tortls.c that was causing
  7599. warnings on older versions of GCC. Fixes bug 19903; bugfix
  7600. on 0.2.8.1-alpha.
  7601. o Minor bugfixes (fallback directories):
  7602. - Avoid logging a NULL string pointer when loading fallback
  7603. directory information. Fixes bug 19947; bugfix on 0.2.4.7-alpha
  7604. and 0.2.8.1-alpha. Report and patch by "rubiate".
  7605. Changes in version 0.2.9.1-alpha - 2016-08-08
  7606. Tor 0.2.9.1-alpha is the first alpha release in the 0.2.9 development
  7607. series. It improves our support for hardened builds and compiler
  7608. warnings, deploys some critical infrastructure for improvements to
  7609. hidden services, includes a new timing backend that we hope to use for
  7610. better support for traffic padding, makes it easier for programmers to
  7611. log unexpected events, and contains other small improvements to
  7612. security, correctness, and performance.
  7613. Below are the changes since 0.2.8.6.
  7614. o New system requirements:
  7615. - Tor now requires Libevent version 2.0.10-stable or later. Older
  7616. versions of Libevent have less efficient backends for several
  7617. platforms, and lack the DNS code that we use for our server-side
  7618. DNS support. This implements ticket 19554.
  7619. - Tor now requires zlib version 1.2 or later, for security,
  7620. efficiency, and (eventually) gzip support. (Back when we started,
  7621. zlib 1.1 and zlib 1.0 were still found in the wild. 1.2 was
  7622. released in 2003. We recommend the latest version.)
  7623. o Major features (build, hardening):
  7624. - Tor now builds with -ftrapv by default on compilers that support
  7625. it. This option detects signed integer overflow (which C forbids),
  7626. and turns it into a hard-failure. We do not apply this option to
  7627. code that needs to run in constant time to avoid side-channels;
  7628. instead, we use -fwrapv in that code. Closes ticket 17983.
  7629. - When --enable-expensive-hardening is selected, stop applying the
  7630. clang/gcc sanitizers to code that needs to run in constant time.
  7631. Although we are aware of no introduced side-channels, we are not
  7632. able to prove that there are none. Related to ticket 17983.
  7633. o Major features (compilation):
  7634. - Our big list of extra GCC warnings is now enabled by default when
  7635. building with GCC (or with anything like Clang that claims to be
  7636. GCC-compatible). To make all warnings into fatal compilation
  7637. errors, pass --enable-fatal-warnings to configure. Closes
  7638. ticket 19044.
  7639. - Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS to automatically
  7640. turn on C and POSIX extensions. (Previously, we attempted to do
  7641. this on an ad hoc basis.) Closes ticket 19139.
  7642. o Major features (directory authorities, hidden services):
  7643. - Directory authorities can now perform the shared randomness
  7644. protocol specified by proposal 250. Using this protocol, directory
  7645. authorities generate a global fresh random value every day. In the
  7646. future, this value will be used by hidden services to select
  7647. HSDirs. This release implements the directory authority feature;
  7648. the hidden service side will be implemented in the future as part
  7649. of proposal 224. Resolves ticket 16943; implements proposal 250.
  7650. o Major features (downloading, random exponential backoff):
  7651. - When we fail to download an object from a directory service, wait
  7652. for an (exponentially increasing) randomized amount of time before
  7653. retrying, rather than a fixed interval as we did before. This
  7654. prevents a group of Tor instances from becoming too synchronized,
  7655. or a single Tor instance from becoming too predictable, in its
  7656. download schedule. Closes ticket 15942.
  7657. o Major bugfixes (exit policies):
  7658. - Avoid disclosing exit outbound bind addresses, configured port
  7659. bind addresses, and local interface addresses in relay descriptors
  7660. by default under ExitPolicyRejectPrivate. Instead, only reject
  7661. these (otherwise unlisted) addresses if
  7662. ExitPolicyRejectLocalInterfaces is set. Fixes bug 18456; bugfix on
  7663. 0.2.7.2-alpha. Patch by teor.
  7664. o Major bugfixes (hidden service client):
  7665. - Allow Tor clients with appropriate controllers to work with
  7666. FetchHidServDescriptors set to 0. Previously, this option also
  7667. disabled descriptor cache lookup, thus breaking hidden services
  7668. entirely. Fixes bug 18704; bugfix on 0.2.0.20-rc. Patch by "twim".
  7669. o Minor features (build, hardening):
  7670. - Detect and work around a libclang_rt problem that would prevent
  7671. clang from finding __mulodi4() on some 32-bit platforms, and thus
  7672. keep -ftrapv from linking on those systems. Closes ticket 19079.
  7673. - When building on a system without runtime support for the runtime
  7674. hardening options, try to log a useful warning at configuration
  7675. time, rather than an incomprehensible warning at link time. If
  7676. expensive hardening was requested, this warning becomes an error.
  7677. Closes ticket 18895.
  7678. o Minor features (code safety):
  7679. - In our integer-parsing functions, ensure that maxiumum value we
  7680. give is no smaller than the minimum value. Closes ticket 19063;
  7681. patch from U+039b.
  7682. o Minor features (controller):
  7683. - Implement new GETINFO queries for all downloads that use
  7684. download_status_t to schedule retries. This allows controllers to
  7685. examine the schedule for pending downloads. Closes ticket 19323.
  7686. - Allow controllers to configure basic client authorization on
  7687. hidden services when they create them with the ADD_ONION control
  7688. command. Implements ticket 15588. Patch by "special".
  7689. - Fire a STATUS_SERVER controller event whenever the hibernation
  7690. status changes between "awake"/"soft"/"hard". Closes ticket 18685.
  7691. o Minor features (directory authority):
  7692. - Directory authorities now only give the Guard flag to a relay if
  7693. they are also giving it the Stable flag. This change allows us to
  7694. simplify path selection for clients. It should have minimal effect
  7695. in practice, since >99% of Guards already have the Stable flag.
  7696. Implements ticket 18624.
  7697. - Directory authorities now write their v3-status-votes file out to
  7698. disk earlier in the consensus process, so we have a record of the
  7699. votes even if we abort the consensus process. Resolves
  7700. ticket 19036.
  7701. o Minor features (hidden service):
  7702. - Stop being so strict about the payload length of "rendezvous1"
  7703. cells. We used to be locked in to the "TAP" handshake length, and
  7704. now we can handle better handshakes like "ntor". Resolves
  7705. ticket 18998.
  7706. o Minor features (infrastructure, time):
  7707. - Tor now uses the operating system's monotonic timers (where
  7708. available) for internal fine-grained timing. Previously we would
  7709. look at the system clock, and then attempt to compensate for the
  7710. clock running backwards. Closes ticket 18908.
  7711. - Tor now includes an improved timer backend, so that we can
  7712. efficiently support tens or hundreds of thousands of concurrent
  7713. timers, as will be needed for some of our planned anti-traffic-
  7714. analysis work. This code is based on William Ahern's "timeout.c"
  7715. project, which implements a "tickless hierarchical timing wheel".
  7716. Closes ticket 18365.
  7717. o Minor features (logging):
  7718. - Provide a more useful warning message when configured with an
  7719. invalid Nickname. Closes ticket 18300; patch from "icanhasaccount".
  7720. - When dumping unparseable router descriptors, optionally store them
  7721. in separate files, named by digest, up to a configurable size
  7722. limit. You can change the size limit by setting the
  7723. MaxUnparseableDescSizeToLog option, and disable this feature by
  7724. setting that option to 0. Closes ticket 18322.
  7725. - Add a set of macros to check nonfatal assertions, for internal
  7726. use. Migrating more of our checks to these should help us avoid
  7727. needless crash bugs. Closes ticket 18613.
  7728. o Minor features (performance):
  7729. - Changer the "optimistic data" extension from "off by default" to
  7730. "on by default". The default was ordinarily overridden by a
  7731. consensus option, but when clients were bootstrapping for the
  7732. first time, they would not have a consensus to get the option
  7733. from. Changing this default When fetching a consensus for the
  7734. first time, use optimistic data. This saves a round-trip during
  7735. startup. Closes ticket 18815.
  7736. o Minor features (relay, usability):
  7737. - When the directory authorities refuse a bad relay's descriptor,
  7738. encourage the relay operator to contact us. Many relay operators
  7739. won't notice this line in their logs, but it's a win if even a few
  7740. learn why we don't like what their relay was doing. Resolves
  7741. ticket 18760.
  7742. o Minor features (testing):
  7743. - Let backtrace tests work correctly under AddressSanitizer. Fixes
  7744. part of bug 18934; bugfix on 0.2.5.2-alpha.
  7745. - Move the test-network.sh script to chutney, and modify tor's test-
  7746. network.sh to call the (newer) chutney version when available.
  7747. Resolves ticket 19116. Patch by teor.
  7748. - Use the lcov convention for marking lines as unreachable, so that
  7749. we don't count them when we're generating test coverage data.
  7750. Update our coverage tools to understand this convention. Closes
  7751. ticket 16792.
  7752. o Minor bugfixes (bootstrap):
  7753. - Remember the directory we fetched the consensus or previous
  7754. certificates from, and use it to fetch future authority
  7755. certificates. This change improves bootstrapping performance.
  7756. Fixes bug 18963; bugfix on 0.2.8.1-alpha.
  7757. o Minor bugfixes (build):
  7758. - The test-stem and test-network makefile targets now depend only on
  7759. the tor binary that they are testing. Previously, they depended on
  7760. "make all". Fixes bug 18240; bugfix on 0.2.8.2-alpha. Based on a
  7761. patch from "cypherpunks".
  7762. o Minor bugfixes (circuits):
  7763. - Make sure extend_info_from_router() is only called on servers.
  7764. Fixes bug 19639; bugfix on 0.2.8.1-alpha.
  7765. o Minor bugfixes (compilation):
  7766. - When building with Clang, use a full set of GCC warnings.
  7767. (Previously, we included only a subset, because of the way we
  7768. detected them.) Fixes bug 19216; bugfix on 0.2.0.1-alpha.
  7769. o Minor bugfixes (directory authority):
  7770. - Authorities now sort the "package" lines in their votes, for ease
  7771. of debugging. (They are already sorted in consensus documents.)
  7772. Fixes bug 18840; bugfix on 0.2.6.3-alpha.
  7773. - When parsing a detached signature, make sure we use the length of
  7774. the digest algorithm instead of an hardcoded DIGEST256_LEN in
  7775. order to avoid comparing bytes out-of-bounds with a smaller digest
  7776. length such as SHA1. Fixes bug 19066; bugfix on 0.2.2.6-alpha.
  7777. o Minor bugfixes (documentation):
  7778. - Document the --passphrase-fd option in the tor manpage. Fixes bug
  7779. 19504; bugfix on 0.2.7.3-rc.
  7780. - Fix the description of the --passphrase-fd option in the
  7781. tor-gencert manpage. The option is used to pass the number of a
  7782. file descriptor to read the passphrase from, not to read the file
  7783. descriptor from. Fixes bug 19505; bugfix on 0.2.0.20-alpha.
  7784. o Minor bugfixes (ephemeral hidden service):
  7785. - When deleting an ephemeral hidden service, close its intro points
  7786. even if they are not completely open. Fixes bug 18604; bugfix
  7787. on 0.2.7.1-alpha.
  7788. o Minor bugfixes (guard selection):
  7789. - Use a single entry guard even if the NumEntryGuards consensus
  7790. parameter is not provided. Fixes bug 17688; bugfix
  7791. on 0.2.5.6-alpha.
  7792. - Don't mark guards as unreachable if connection_connect() fails.
  7793. That function fails for local reasons, so it shouldn't reveal
  7794. anything about the status of the guard. Fixes bug 14334; bugfix
  7795. on 0.2.3.10-alpha.
  7796. o Minor bugfixes (hidden service client):
  7797. - Increase the minimum number of internal circuits we preemptively
  7798. build from 2 to 3, so a circuit is available when a client
  7799. connects to another onion service. Fixes bug 13239; bugfix
  7800. on 0.1.0.1-rc.
  7801. o Minor bugfixes (logging):
  7802. - When logging a directory ownership mismatch, log the owning
  7803. username correctly. Fixes bug 19578; bugfix on 0.2.2.29-beta.
  7804. o Minor bugfixes (memory leaks):
  7805. - Fix a small, uncommon memory leak that could occur when reading a
  7806. truncated ed25519 key file. Fixes bug 18956; bugfix
  7807. on 0.2.6.1-alpha.
  7808. o Minor bugfixes (testing):
  7809. - Allow clients to retry HSDirs much faster in test networks. Fixes
  7810. bug 19702; bugfix on 0.2.7.1-alpha. Patch by teor.
  7811. - Disable ASAN's detection of segmentation faults while running
  7812. test_bt.sh, so that we can make sure that our own backtrace
  7813. generation code works. Fixes another aspect of bug 18934; bugfix
  7814. on 0.2.5.2-alpha. Patch from "cypherpunks".
  7815. - Fix the test-network-all target on out-of-tree builds by using the
  7816. correct path to the test driver script. Fixes bug 19421; bugfix
  7817. on 0.2.7.3-rc.
  7818. o Minor bugfixes (time):
  7819. - Improve overflow checks in tv_udiff and tv_mdiff. Fixes bug 19483;
  7820. bugfix on all released tor versions.
  7821. - When computing the difference between two times in milliseconds,
  7822. we now round to the nearest millisecond correctly. Previously, we
  7823. could sometimes round in the wrong direction. Fixes bug 19428;
  7824. bugfix on 0.2.2.2-alpha.
  7825. o Minor bugfixes (user interface):
  7826. - Display a more accurate number of suppressed messages in the log
  7827. rate-limiter. Previously, there was a potential integer overflow
  7828. in the counter. Now, if the number of messages hits a maximum, the
  7829. rate-limiter doesn't count any further. Fixes bug 19435; bugfix
  7830. on 0.2.4.11-alpha.
  7831. - Fix a typo in the passphrase prompt for the ed25519 identity key.
  7832. Fixes bug 19503; bugfix on 0.2.7.2-alpha.
  7833. o Code simplification and refactoring:
  7834. - Remove redundant declarations of the MIN macro. Closes
  7835. ticket 18889.
  7836. - Rename tor_dup_addr() to tor_addr_to_str_dup() to avoid confusion.
  7837. Closes ticket 18462; patch from "icanhasaccount".
  7838. - Split the 600-line directory_handle_command_get function into
  7839. separate functions for different URL types. Closes ticket 16698.
  7840. o Documentation:
  7841. - Fix spelling of "--enable-tor2web-mode" in the manpage. Closes
  7842. ticket 19153. Patch from "U+039b".
  7843. o Removed features:
  7844. - Remove support for "GET /tor/bytes.txt" DirPort request, and
  7845. "GETINFO dir-usage" controller request, which were only available
  7846. via a compile-time option in Tor anyway. Feature was added in
  7847. 0.2.2.1-alpha. Resolves ticket 19035.
  7848. - There is no longer a compile-time option to disable support for
  7849. TransPort. (If you don't want TransPort; just don't use it.) Patch
  7850. from "U+039b". Closes ticket 19449.
  7851. o Testing:
  7852. - Run more workqueue tests as part of "make check". These had
  7853. previously been implemented, but you needed to know special
  7854. command-line options to enable them.
  7855. - We now have unit tests for our code to reject zlib "compression
  7856. bombs". (Fortunately, the code works fine.)
  7857. Changes in version 0.2.8.6 - 2016-08-02
  7858. Tor 0.2.8.6 is the first stable version of the Tor 0.2.8 series.
  7859. The Tor 0.2.8 series improves client bootstrapping performance,
  7860. completes the authority-side implementation of improved identity
  7861. keys for relays, and includes numerous bugfixes and performance
  7862. improvements throughout the program. This release continues to
  7863. improve the coverage of Tor's test suite. For a full list of
  7864. changes since Tor 0.2.7, see the ReleaseNotes file.
  7865. Changes since 0.2.8.5-rc:
  7866. o Minor features (geoip):
  7867. - Update geoip and geoip6 to the July 6 2016 Maxmind GeoLite2
  7868. Country database.
  7869. o Minor bugfixes (compilation):
  7870. - Fix a compilation warning in the unit tests on systems where char
  7871. is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha.
  7872. o Minor bugfixes (fallback directories):
  7873. - Remove 1 fallback that was on the hardcoded list, then opted-out,
  7874. leaving 89 of the 100 fallbacks originally introduced in Tor
  7875. 0.2.8.2-alpha in March 2016. Closes ticket 19782; patch by teor.
  7876. o Minor bugfixes (Linux seccomp2 sandbox):
  7877. - Allow more syscalls when running with "Sandbox 1" enabled:
  7878. sysinfo, getsockopt(SO_SNDBUF), and setsockopt(SO_SNDBUFFORCE). On
  7879. some systems, these are required for Tor to start. Fixes bug
  7880. 18397; bugfix on 0.2.5.1-alpha. Patch from Daniel Pinto.
  7881. - Allow IPPROTO_UDP datagram sockets when running with "Sandbox 1",
  7882. so that get_interface_address6_via_udp_socket_hack() can work.
  7883. Fixes bug 19660; bugfix on 0.2.5.1-alpha.
  7884. Changes in version 0.2.8.5-rc - 2016-07-07
  7885. Tor 0.2.8.5-rc is the second release candidate in the Tor 0.2.8
  7886. series. If we find no new bugs or regressions here, the first stable
  7887. 0.2.8 release will be identical to it. It has a few small bugfixes
  7888. against previous versions.
  7889. o Directory authority changes:
  7890. - Urras is no longer a directory authority. Closes ticket 19271.
  7891. o Major bugfixes (heartbeat):
  7892. - Fix a regression that would crash Tor when the periodic
  7893. "heartbeat" log messages were disabled. Fixes bug 19454; bugfix on
  7894. 0.2.8.1-alpha. Reported by "kubaku".
  7895. o Minor features (build):
  7896. - Tor now again builds with the recent OpenSSL 1.1 development
  7897. branch (tested against 1.1.0-pre6-dev). Closes ticket 19499.
  7898. - When building manual pages, set the timezone to "UTC", so that the
  7899. output is reproducible. Fixes bug 19558; bugfix on 0.2.2.9-alpha.
  7900. Patch from intrigeri.
  7901. o Minor bugfixes (fallback directory selection):
  7902. - Avoid errors during fallback selection if there are no eligible
  7903. fallbacks. Fixes bug 19480; bugfix on 0.2.8.3-alpha. Patch
  7904. by teor.
  7905. o Minor bugfixes (IPv6, microdescriptors):
  7906. - Don't check node addresses when we only have a routerstatus. This
  7907. allows IPv6-only clients to bootstrap by fetching microdescriptors
  7908. from fallback directory mirrors. (The microdescriptor consensus
  7909. has no IPv6 addresses in it.) Fixes bug 19608; bugfix
  7910. on 0.2.8.2-alpha.
  7911. o Minor bugfixes (logging):
  7912. - Reduce pointlessly verbose log messages when directory servers
  7913. can't be found. Fixes bug 18849; bugfix on 0.2.8.3-alpha and
  7914. 0.2.8.1-alpha. Patch by teor.
  7915. - When a fallback directory changes its fingerprint from the hard-
  7916. coded fingerprint, log a less severe, more explanatory log
  7917. message. Fixes bug 18812; bugfix on 0.2.8.1-alpha. Patch by teor.
  7918. o Minor bugfixes (Linux seccomp2 sandboxing):
  7919. - Allow statistics to be written to disk when "Sandbox 1" is
  7920. enabled. Fixes bugs 19556 and 19957; bugfix on 0.2.5.1-alpha and
  7921. 0.2.6.1-alpha respectively.
  7922. o Minor bugfixes (user interface):
  7923. - Remove a warning message "Service [scrubbed] not found after
  7924. descriptor upload". This message appears when one uses HSPOST
  7925. control command to upload a service descriptor. Since there is
  7926. only a descriptor and no service, showing this message is
  7927. pointless and confusing. Fixes bug 19464; bugfix on 0.2.7.2-alpha.
  7928. o Fallback directory list:
  7929. - Add a comment to the generated fallback directory list that
  7930. explains how to comment out unsuitable fallbacks in a way that's
  7931. compatible with the stem fallback parser.
  7932. - Update fallback whitelist and blacklist based on relay operator
  7933. emails. Blacklist unsuitable (non-working, over-volatile)
  7934. fallbacks. Resolves ticket 19071. Patch by teor.
  7935. - Remove 10 unsuitable fallbacks, leaving 90 of the 100 fallbacks
  7936. originally introduced in Tor 0.2.8.2-alpha in March 2016. Closes
  7937. ticket 19071; patch by teor.
  7938. Changes in version 0.2.8.4-rc - 2016-06-15
  7939. Tor 0.2.8.4-rc is the first release candidate in the Tor 0.2.8 series.
  7940. If we find no new bugs or regressions here, the first stable 0.2.8
  7941. release will be identical to it. It has a few small bugfixes against
  7942. previous versions.
  7943. o Major bugfixes (user interface):
  7944. - Correctly give a warning in the cases where a relay is specified
  7945. by nickname, and one such relay is found, but it is not officially
  7946. Named. Fixes bug 19203; bugfix on 0.2.3.1-alpha.
  7947. o Minor features (build):
  7948. - Tor now builds once again with the recent OpenSSL 1.1 development
  7949. branch (tested against 1.1.0-pre5 and 1.1.0-pre6-dev).
  7950. o Minor features (geoip):
  7951. - Update geoip and geoip6 to the June 7 2016 Maxmind GeoLite2
  7952. Country database.
  7953. o Minor bugfixes (compilation):
  7954. - Cause the unit tests to compile correctly on mingw64 versions that
  7955. lack sscanf. Fixes bug 19213; bugfix on 0.2.7.1-alpha.
  7956. o Minor bugfixes (downloading):
  7957. - Predict more correctly whether we'll be downloading over HTTP when
  7958. we determine the maximum length of a URL. This should avoid a
  7959. "BUG" warning about the Squid HTTP proxy and its URL limits. Fixes
  7960. bug 19191.
  7961. Changes in version 0.2.8.3-alpha - 2016-05-26
  7962. Tor 0.2.8.3-alpha resolves several bugs, most of them introduced over
  7963. the course of the 0.2.8 development cycle. It improves the behavior of
  7964. directory clients, fixes several crash bugs, fixes a gap in compiler
  7965. hardening, and allows the full integration test suite to run on
  7966. more platforms.
  7967. o Major bugfixes (security, client, DNS proxy):
  7968. - Stop a crash that could occur when a client running with DNSPort
  7969. received a query with multiple address types, and the first
  7970. address type was not supported. Found and fixed by Scott Dial.
  7971. Fixes bug 18710; bugfix on 0.2.5.4-alpha.
  7972. o Major bugfixes (security, compilation):
  7973. - Correctly detect compiler flags on systems where _FORTIFY_SOURCE
  7974. is predefined. Previously, our use of -D_FORTIFY_SOURCE would
  7975. cause a compiler warning, thereby making other checks fail, and
  7976. needlessly disabling compiler-hardening support. Fixes one case of
  7977. bug 18841; bugfix on 0.2.3.17-beta. Patch from "trudokal".
  7978. o Major bugfixes (security, directory authorities):
  7979. - Fix a crash and out-of-bounds write during authority voting, when
  7980. the list of relays includes duplicate ed25519 identity keys. Fixes
  7981. bug 19032; bugfix on 0.2.8.2-alpha.
  7982. o Major bugfixes (client, bootstrapping):
  7983. - Check if bootstrap consensus downloads are still needed when the
  7984. linked connection attaches. This prevents tor making unnecessary
  7985. begindir-style connections, which are the only directory
  7986. connections tor clients make since the fix for 18483 was merged.
  7987. - Fix some edge cases where consensus download connections may not
  7988. have been closed, even though they were not needed. Related to fix
  7989. for 18809.
  7990. - Make relays retry consensus downloads the correct number of times,
  7991. rather than the more aggressive client retry count. Fixes part of
  7992. ticket 18809.
  7993. - Stop downloading consensuses when we have a consensus, even if we
  7994. don't have all the certificates for it yet. Fixes bug 18809;
  7995. bugfix on 0.2.8.1-alpha. Patches by arma and teor.
  7996. o Major bugfixes (directory mirrors):
  7997. - Decide whether to advertise begindir support in the the same way
  7998. we decide whether to advertise our DirPort. Allowing these
  7999. decisions to become out-of-sync led to surprising behavior like
  8000. advertising begindir support when hibernation made us not
  8001. advertise a DirPort. Resolves bug 18616; bugfix on 0.2.8.1-alpha.
  8002. Patch by teor.
  8003. o Major bugfixes (IPv6 bridges, client):
  8004. - Actually use IPv6 addresses when selecting directory addresses for
  8005. IPv6 bridges. Fixes bug 18921; bugfix on 0.2.8.1-alpha. Patch
  8006. by "teor".
  8007. o Major bugfixes (key management):
  8008. - If OpenSSL fails to generate an RSA key, do not retain a dangling
  8009. pointer to the previous (uninitialized) key value. The impact here
  8010. should be limited to a difficult-to-trigger crash, if OpenSSL is
  8011. running an engine that makes key generation failures possible, or
  8012. if OpenSSL runs out of memory. Fixes bug 19152; bugfix on
  8013. 0.2.1.10-alpha. Found by Yuan Jochen Kang, Suman Jana, and
  8014. Baishakhi Ray.
  8015. o Major bugfixes (testing):
  8016. - Fix a bug that would block 'make test-network-all' on systems where
  8017. IPv6 packets were lost. Fixes bug 19008; bugfix on 0.2.7.3-rc.
  8018. - Avoid "WSANOTINITIALISED" warnings in the unit tests. Fixes bug 18668;
  8019. bugfix on 0.2.8.1-alpha.
  8020. o Minor features (clients):
  8021. - Make clients, onion services, and bridge relays always use an
  8022. encrypted begindir connection for directory requests. Resolves
  8023. ticket 18483. Patch by "teor".
  8024. o Minor features (fallback directory mirrors):
  8025. - Give each fallback the same weight for client selection; restrict
  8026. fallbacks to one per operator; report fallback directory detail
  8027. changes when rebuilding list; add new fallback directory mirrors
  8028. to the whitelist; and many other minor simplifications and fixes.
  8029. Closes tasks 17905, 18749, bug 18689, and fixes part of bug 18812 on
  8030. 0.2.8.1-alpha; patch by "teor".
  8031. - Replace the 21 fallbacks generated in January 2016 and included in
  8032. Tor 0.2.8.1-alpha, with a list of 100 fallbacks generated in March
  8033. 2016. Closes task 17158; patch by "teor".
  8034. o Minor features (geoip):
  8035. - Update geoip and geoip6 to the May 4 2016 Maxmind GeoLite2
  8036. Country database.
  8037. o Minor bugfixes (assert, portability):
  8038. - Fix an assertion failure in memarea.c on systems where "long" is
  8039. shorter than the size of a pointer. Fixes bug 18716; bugfix
  8040. on 0.2.1.1-alpha.
  8041. o Minor bugfixes (bootstrap):
  8042. - Consistently use the consensus download schedule for authority
  8043. certificates. Fixes bug 18816; bugfix on 0.2.4.13-alpha.
  8044. o Minor bugfixes (build):
  8045. - Remove a pair of redundant AM_CONDITIONAL declarations from
  8046. configure.ac. Fixes one final case of bug 17744; bugfix
  8047. on 0.2.8.2-alpha.
  8048. - Resolve warnings when building on systems that are concerned with
  8049. signed char. Fixes bug 18728; bugfix on 0.2.7.2-alpha
  8050. and 0.2.6.1-alpha.
  8051. - When libscrypt.h is found, but no libscrypt library can be linked,
  8052. treat libscrypt as absent. Fixes bug 19161; bugfix
  8053. on 0.2.6.1-alpha.
  8054. o Minor bugfixes (client):
  8055. - Turn all TestingClientBootstrap* into non-testing torrc options.
  8056. This changes simply renames them by removing "Testing" in front of
  8057. them and they do not require TestingTorNetwork to be enabled
  8058. anymore. Fixes bug 18481; bugfix on 0.2.8.1-alpha.
  8059. - Make directory node selection more reliable, mainly for IPv6-only
  8060. clients and clients with few reachable addresses. Fixes bug 18929;
  8061. bugfix on 0.2.8.1-alpha. Patch by "teor".
  8062. o Minor bugfixes (controller, microdescriptors):
  8063. - Make GETINFO dir/status-vote/current/consensus conform to the
  8064. control specification by returning "551 Could not open cached
  8065. consensus..." when not caching consensuses. Fixes bug 18920;
  8066. bugfix on 0.2.2.6-alpha.
  8067. o Minor bugfixes (crypto, portability):
  8068. - The SHA3 and SHAKE routines now produce the correct output on Big
  8069. Endian systems. No code calls either algorithm yet, so this is
  8070. primarily a build fix. Fixes bug 18943; bugfix on 0.2.8.1-alpha.
  8071. - Tor now builds again with the recent OpenSSL 1.1 development
  8072. branch (tested against 1.1.0-pre4 and 1.1.0-pre5-dev). Closes
  8073. ticket 18286.
  8074. o Minor bugfixes (directories):
  8075. - When fetching extrainfo documents, compare their SHA256 digests
  8076. and Ed25519 signing key certificates with the routerinfo that led
  8077. us to fetch them, rather than with the most recent routerinfo.
  8078. Otherwise we generate many spurious warnings about mismatches.
  8079. Fixes bug 17150; bugfix on 0.2.7.2-alpha.
  8080. o Minor bugfixes (logging):
  8081. - When we can't generate a signing key because OfflineMasterKey is
  8082. set, do not imply that we should have been able to load it. Fixes
  8083. bug 18133; bugfix on 0.2.7.2-alpha.
  8084. - Stop periodic_event_dispatch() from blasting twelve lines per
  8085. second at loglevel debug. Fixes bug 18729; fix on 0.2.8.1-alpha.
  8086. - When rejecting a misformed INTRODUCE2 cell, only log at
  8087. PROTOCOL_WARN severity. Fixes bug 18761; bugfix on 0.2.8.2-alpha.
  8088. o Minor bugfixes (pluggable transports):
  8089. - Avoid reporting a spurious error when we decide that we don't need
  8090. to terminate a pluggable transport because it has already exited.
  8091. Fixes bug 18686; bugfix on 0.2.5.5-alpha.
  8092. o Minor bugfixes (pointer arithmetic):
  8093. - Fix a bug in memarea_alloc() that could have resulted in remote
  8094. heap write access, if Tor had ever passed an unchecked size to
  8095. memarea_alloc(). Fortunately, all the sizes we pass to
  8096. memarea_alloc() are pre-checked to be less than 128 kilobytes.
  8097. Fixes bug 19150; bugfix on 0.2.1.1-alpha. Bug found by
  8098. Guido Vranken.
  8099. o Minor bugfixes (relays):
  8100. - Consider more config options when relays decide whether to
  8101. regenerate their descriptor. Fixes more of bug 12538; bugfix
  8102. on 0.2.8.1-alpha.
  8103. - Resolve some edge cases where we might launch an ORPort
  8104. reachability check even when DisableNetwork is set. Noticed while
  8105. fixing bug 18616; bugfix on 0.2.3.9-alpha.
  8106. o Minor bugfixes (statistics):
  8107. - We now include consensus downloads via IPv6 in our directory-
  8108. request statistics. Fixes bug 18460; bugfix on 0.2.3.14-alpha.
  8109. o Minor bugfixes (testing):
  8110. - Allow directories in small networks to bootstrap by skipping
  8111. DirPort checks when the consensus has no exits. Fixes bug 19003;
  8112. bugfix on 0.2.8.1-alpha. Patch by teor.
  8113. - Fix a small memory leak that would occur when the
  8114. TestingEnableCellStatsEvent option was turned on. Fixes bug 18673;
  8115. bugfix on 0.2.5.2-alpha.
  8116. o Minor bugfixes (time handling):
  8117. - When correcting a corrupt 'struct tm' value, fill in the tm_wday
  8118. field. Otherwise, our unit tests crash on Windows. Fixes bug
  8119. 18977; bugfix on 0.2.2.25-alpha.
  8120. o Documentation:
  8121. - Document the contents of the 'datadir/keys' subdirectory in the
  8122. manual page. Closes ticket 17621.
  8123. - Stop recommending use of nicknames to identify relays in our
  8124. MapAddress documentation. Closes ticket 18312.
  8125. Changes in version 0.2.8.2-alpha - 2016-03-28
  8126. Tor 0.2.8.2-alpha is the second alpha in its series. It fixes numerous
  8127. bugs in earlier versions of Tor, including some that prevented
  8128. authorities using Tor 0.2.7.x from running correctly. IPv6 and
  8129. directory support should also be much improved.
  8130. o New system requirements:
  8131. - Tor no longer supports versions of OpenSSL with a broken
  8132. implementation of counter mode. (This bug was present in OpenSSL
  8133. 1.0.0, and was fixed in OpenSSL 1.0.0a.) Tor still detects, but no
  8134. longer runs with, these versions.
  8135. - Tor no longer attempts to support platforms where the "time_t"
  8136. type is unsigned. (To the best of our knowledge, only OpenVMS does
  8137. this, and Tor has never actually built on OpenVMS.) Closes
  8138. ticket 18184.
  8139. - Tor now uses Autoconf version 2.63 or later, and Automake 1.11 or
  8140. later (released in 2008 and 2009 respectively). If you are
  8141. building Tor from the git repository instead of from the source
  8142. distribution, and your tools are older than this, you will need to
  8143. upgrade. Closes ticket 17732.
  8144. o Major bugfixes (security, pointers):
  8145. - Avoid a difficult-to-trigger heap corruption attack when extending
  8146. a smartlist to contain over 16GB of pointers. Fixes bug 18162;
  8147. bugfix on 0.1.1.11-alpha, which fixed a related bug incompletely.
  8148. Reported by Guido Vranken.
  8149. o Major bugfixes (bridges, pluggable transports):
  8150. - Modify the check for OR connections to private addresses. Allow
  8151. bridges on private addresses, including pluggable transports that
  8152. ignore the (potentially private) address in the bridge line. Fixes
  8153. bug 18517; bugfix on 0.2.8.1-alpha. Reported by gk, patch by teor.
  8154. o Major bugfixes (compilation):
  8155. - Repair hardened builds under the clang compiler. Previously, our
  8156. use of _FORTIFY_SOURCE would conflict with clang's address
  8157. sanitizer. Fixes bug 14821; bugfix on 0.2.5.4-alpha.
  8158. o Major bugfixes (crash on shutdown):
  8159. - Correctly handle detaching circuits from muxes when shutting down.
  8160. Fixes bug 18116; bugfix on 0.2.8.1-alpha.
  8161. - Fix an assert-on-exit bug related to counting memory usage in
  8162. rephist.c. Fixes bug 18651; bugfix on 0.2.8.1-alpha.
  8163. o Major bugfixes (crash on startup):
  8164. - Fix a segfault during startup: If a Unix domain socket was
  8165. configured as listener (such as a ControlSocket or a SocksPort
  8166. "unix:" socket), and tor was started as root but not configured to
  8167. switch to another user, tor would segfault while trying to string
  8168. compare a NULL value. Fixes bug 18261; bugfix on 0.2.8.1-alpha.
  8169. Patch by weasel.
  8170. o Major bugfixes (dns proxy mode, crash):
  8171. - Avoid crashing when running as a DNS proxy. Fixes bug 16248;
  8172. bugfix on 0.2.0.1-alpha. Patch from "cypherpunks".
  8173. o Major bugfixes (relays, bridge clients):
  8174. - Ensure relays always allow IPv4 OR and Dir connections. Ensure
  8175. bridge clients use the address configured in the bridge line.
  8176. Fixes bug 18348; bugfix on 0.2.8.1-alpha. Reported by sysrqb,
  8177. patch by teor.
  8178. o Major bugfixes (voting):
  8179. - Actually enable support for authorities to match routers by their
  8180. Ed25519 identities. Previously, the code had been written, but
  8181. some debugging code that had accidentally been left in the
  8182. codebase made it stay turned off. Fixes bug 17702; bugfix
  8183. on 0.2.7.2-alpha.
  8184. - When collating votes by Ed25519 identities, authorities now
  8185. include a "NoEdConsensus" flag if the ed25519 value (or lack
  8186. thereof) for a server does not reflect the majority consensus.
  8187. Related to bug 17668; bugfix on 0.2.7.2-alpha.
  8188. - When generating a vote with keypinning disabled, never include two
  8189. entries for the same ed25519 identity. This bug was causing
  8190. authorities to generate votes that they could not parse when a
  8191. router violated key pinning by changing its RSA identity but
  8192. keeping its Ed25519 identity. Fixes bug 17668; fixes part of bug
  8193. 18318. Bugfix on 0.2.7.2-alpha.
  8194. o Minor features (security, win32):
  8195. - Set SO_EXCLUSIVEADDRUSE on Win32 to avoid a local port-stealing
  8196. attack. Fixes bug 18123; bugfix on all tor versions. Patch
  8197. by teor.
  8198. o Minor features (bug-resistance):
  8199. - Make Tor survive errors involving connections without a
  8200. corresponding event object. Previously we'd fail with an
  8201. assertion; now we produce a log message. Related to bug 16248.
  8202. o Minor features (build):
  8203. - Detect systems with FreeBSD-derived kernels (such as GNU/kFreeBSD)
  8204. as having possible IPFW support. Closes ticket 18448. Patch from
  8205. Steven Chamberlain.
  8206. o Minor features (code hardening):
  8207. - Use tor_snprintf() and tor_vsnprintf() even in external and low-
  8208. level code, to harden against accidental failures to NUL-
  8209. terminate. Part of ticket 17852. Patch from jsturgix. Found
  8210. with Flawfinder.
  8211. o Minor features (crypto):
  8212. - Validate the hard-coded Diffie-Hellman parameters and ensure that
  8213. p is a safe prime, and g is a suitable generator. Closes
  8214. ticket 18221.
  8215. o Minor features (geoip):
  8216. - Update geoip and geoip6 to the March 3 2016 Maxmind GeoLite2
  8217. Country database.
  8218. o Minor features (hidden service directory):
  8219. - Streamline relay-side hsdir handling: when relays consider whether
  8220. to accept an uploaded hidden service descriptor, they no longer
  8221. check whether they are one of the relays in the network that is
  8222. "supposed" to handle that descriptor. Implements ticket 18332.
  8223. o Minor features (IPv6):
  8224. - Add ClientPreferIPv6DirPort, which is set to 0 by default. If set
  8225. to 1, tor prefers IPv6 directory addresses.
  8226. - Add ClientUseIPv4, which is set to 1 by default. If set to 0, tor
  8227. avoids using IPv4 for client OR and directory connections.
  8228. - Try harder to obey the IP version restrictions "ClientUseIPv4 0",
  8229. "ClientUseIPv6 0", "ClientPreferIPv6ORPort", and
  8230. "ClientPreferIPv6DirPort". Closes ticket 17840; patch by teor.
  8231. o Minor features (linux seccomp2 sandbox):
  8232. - Reject attempts to change our Address with "Sandbox 1" enabled.
  8233. Changing Address with Sandbox turned on would never actually work,
  8234. but previously it would fail in strange and confusing ways. Found
  8235. while fixing 18548.
  8236. o Minor features (robustness):
  8237. - Exit immediately with an error message if the code attempts to use
  8238. Libevent without having initialized it. This should resolve some
  8239. frequently-made mistakes in our unit tests. Closes ticket 18241.
  8240. o Minor features (unix domain sockets):
  8241. - Add a new per-socket option, RelaxDirModeCheck, to allow creating
  8242. Unix domain sockets without checking the permissions on the parent
  8243. directory. (Tor checks permissions by default because some
  8244. operating systems only check permissions on the parent directory.
  8245. However, some operating systems do look at permissions on the
  8246. socket, and tor's default check is unneeded.) Closes ticket 18458.
  8247. Patch by weasel.
  8248. o Minor bugfixes (exit policies, security):
  8249. - Refresh an exit relay's exit policy when interface addresses
  8250. change. Previously, tor only refreshed the exit policy when the
  8251. configured external address changed. Fixes bug 18208; bugfix on
  8252. 0.2.7.3-rc. Patch by teor.
  8253. o Minor bugfixes (security, hidden services):
  8254. - Prevent hidden services connecting to client-supplied rendezvous
  8255. addresses that are reserved as internal or multicast. Fixes bug
  8256. 8976; bugfix on 0.2.3.21-rc. Patch by dgoulet and teor.
  8257. o Minor bugfixes (build):
  8258. - Do not link the unit tests against both the testing and non-
  8259. testing versions of the static libraries. Fixes bug 18490; bugfix
  8260. on 0.2.7.1-alpha.
  8261. - Avoid spurious failures from configure files related to calling
  8262. exit(0) in TOR_SEARCH_LIBRARY. Fixes bug 18626; bugfix on
  8263. 0.2.0.1-alpha. Patch from "cypherpunks".
  8264. - Silence spurious clang-scan warnings in the ed25519_donna code by
  8265. explicitly initializing some objects. Fixes bug 18384; bugfix on
  8266. 0.2.7.2-alpha. Patch by teor.
  8267. o Minor bugfixes (client, bootstrap):
  8268. - Count receipt of new microdescriptors as progress towards
  8269. bootstrapping. Previously, with EntryNodes set, Tor might not
  8270. successfully repopulate the guard set on bootstrapping. Fixes bug
  8271. 16825; bugfix on 0.2.3.1-alpha.
  8272. o Minor bugfixes (code correctness):
  8273. - Update to the latest version of Trunnel, which tries harder to
  8274. avoid generating code that can invoke memcpy(p,NULL,0). Bug found
  8275. by clang address sanitizer. Fixes bug 18373; bugfix
  8276. on 0.2.7.2-alpha.
  8277. o Minor bugfixes (configuration):
  8278. - Fix a tiny memory leak when parsing a port configuration ending in
  8279. ":auto". Fixes bug 18374; bugfix on 0.2.3.3-alpha.
  8280. o Minor bugfixes (containers):
  8281. - If we somehow attempt to construct a heap with more than
  8282. 1073741822 elements, avoid an integer overflow when maintaining
  8283. the heap property. Fixes bug 18296; bugfix on 0.1.2.1-alpha.
  8284. o Minor bugfixes (correctness):
  8285. - Fix a bad memory handling bug that would occur if we had queued a
  8286. cell on a channel's incoming queue. Fortunately, we can't actually
  8287. queue a cell like that as our code is constructed today, but it's
  8288. best to avoid this kind of error, even if there isn't any code
  8289. that triggers it today. Fixes bug 18570; bugfix on 0.2.4.4-alpha.
  8290. o Minor bugfixes (directory):
  8291. - When generating a URL for a directory server on an IPv6 address,
  8292. wrap the IPv6 address in square brackets. Fixes bug 18051; bugfix
  8293. on 0.2.3.9-alpha. Patch from Malek.
  8294. o Minor bugfixes (fallback directory mirrors):
  8295. - When requesting extrainfo descriptors from a trusted directory
  8296. server, check whether it is an authority or a fallback directory
  8297. which supports extrainfo descriptors. Fixes bug 18489; bugfix on
  8298. 0.2.4.7-alpha. Reported by atagar, patch by teor.
  8299. o Minor bugfixes (hidden service, client):
  8300. - Handle the case where the user makes several fast consecutive
  8301. requests to the same .onion address. Previously, the first six
  8302. requests would each trigger a descriptor fetch, each picking a
  8303. directory (there are 6 overall) and the seventh one would fail
  8304. because no directories were left, thereby triggering a close on
  8305. all current directory connections asking for the hidden service.
  8306. The solution here is to not close the connections if we have
  8307. pending directory fetches. Fixes bug 15937; bugfix
  8308. on 0.2.7.1-alpha.
  8309. o Minor bugfixes (hidden service, control port):
  8310. - Add the onion address to the HS_DESC event for the UPLOADED action
  8311. both on success or failure. It was previously hardcoded with
  8312. UNKNOWN. Fixes bug 16023; bugfix on 0.2.7.2-alpha.
  8313. o Minor bugfixes (hidden service, directory):
  8314. - Bridges now refuse "rendezvous2" (hidden service descriptor)
  8315. publish attempts. Suggested by ticket 18332.
  8316. o Minor bugfixes (linux seccomp2 sandbox):
  8317. - Allow the setrlimit syscall, and the prlimit and prlimit64
  8318. syscalls, which some libc implementations use under the hood.
  8319. Fixes bug 15221; bugfix on 0.2.5.1-alpha.
  8320. - Avoid a 10-second delay when starting as a client with "Sandbox 1"
  8321. enabled and no DNS resolvers configured. This should help TAILS
  8322. start up faster. Fixes bug 18548; bugfix on 0.2.5.1-alpha.
  8323. - Fix the sandbox's interoperability with unix domain sockets under
  8324. setuid. Fixes bug 18253; bugfix on 0.2.8.1-alpha.
  8325. o Minor bugfixes (logging):
  8326. - When logging information about an unparsable networkstatus vote or
  8327. consensus, do not say "vote" when we mean consensus. Fixes bug
  8328. 18368; bugfix on 0.2.0.8-alpha.
  8329. - Scrub service name in "unrecognized service ID" log messages.
  8330. Fixes bug 18600; bugfix on 0.2.4.11-alpha.
  8331. - Downgrade logs and backtraces about IP versions to info-level.
  8332. Only log backtraces once each time tor runs. Assists in diagnosing
  8333. bug 18351; bugfix on 0.2.8.1-alpha. Reported by sysrqb and
  8334. Christian, patch by teor.
  8335. o Minor bugfixes (memory safety):
  8336. - Avoid freeing an uninitialized pointer when opening a socket fails
  8337. in get_interface_addresses_ioctl(). Fixes bug 18454; bugfix on
  8338. 0.2.3.11-alpha. Reported by toralf and "cypherpunks", patch
  8339. by teor.
  8340. - Correctly duplicate addresses in get_interface_address6_list().
  8341. Fixes bug 18454; bugfix on 0.2.8.1-alpha. Reported by toralf,
  8342. patch by "cypherpunks".
  8343. - Fix a memory leak in tor-gencert. Fixes part of bug 18672; bugfix
  8344. on 0.2.0.1-alpha.
  8345. - Fix a memory leak in "tor --list-fingerprint". Fixes part of bug
  8346. 18672; bugfix on 0.2.5.1-alpha.
  8347. o Minor bugfixes (private directory):
  8348. - Prevent a race condition when creating private directories. Fixes
  8349. part of bug 17852; bugfix on 0.0.2pre13. Part of ticket 17852.
  8350. Patch from jsturgix. Found with Flawfinder.
  8351. o Minor bugfixes (test networks, IPv6):
  8352. - Allow internal IPv6 addresses in descriptors in test networks.
  8353. Fixes bug 17153; bugfix on 0.2.3.16-alpha. Patch by teor, reported
  8354. by karsten.
  8355. o Minor bugfixes (testing):
  8356. - We no longer disable assertions in the unit tests when coverage is
  8357. enabled. Instead, we require you to say --disable-asserts-in-tests
  8358. to the configure script if you need assertions disabled in the
  8359. unit tests (for example, if you want to perform branch coverage).
  8360. Fixes bug 18242; bugfix on 0.2.7.1-alpha.
  8361. o Minor bugfixes (time parsing):
  8362. - Avoid overflow in tor_timegm when parsing dates in and after 2038
  8363. on platforms with 32-bit time_t. Fixes bug 18479; bugfix on
  8364. 0.0.2pre14. Patch by teor.
  8365. o Minor bugfixes (tor-gencert):
  8366. - Correctly handle the case where an authority operator enters a
  8367. passphrase but sends an EOF before sending a newline. Fixes bug
  8368. 17443; bugfix on 0.2.0.20-rc. Found by junglefowl.
  8369. o Code simplification and refactoring:
  8370. - Quote all the string interpolations in configure.ac -- even those
  8371. which we are pretty sure can't contain spaces. Closes ticket
  8372. 17744. Patch from zerosion.
  8373. - Remove specialized code for non-inplace AES_CTR. 99% of our AES is
  8374. inplace, so there's no need to have a separate implementation for
  8375. the non-inplace code. Closes ticket 18258. Patch from Malek.
  8376. - Simplify return types for some crypto functions that can't
  8377. actually fail. Patch from Hassan Alsibyani. Closes ticket 18259.
  8378. o Documentation:
  8379. - Change build messages to refer to "Fedora" instead of "Fedora
  8380. Core", and "dnf" instead of "yum". Closes tickets 18459 and 18426.
  8381. Patches from "icanhasaccount" and "cypherpunks".
  8382. o Removed features:
  8383. - We no longer maintain an internal freelist in memarea.c.
  8384. Allocators should be good enough to make this code unnecessary,
  8385. and it's doubtful that it ever had any performance benefit.
  8386. o Testing:
  8387. - Fix several warnings from clang's address sanitizer produced in
  8388. the unit tests.
  8389. - Treat backtrace test failures as expected on FreeBSD until we
  8390. solve bug 17808. Closes ticket 18204.
  8391. Changes in version 0.2.8.1-alpha - 2016-02-04
  8392. Tor 0.2.8.1-alpha is the first alpha release in its series. It
  8393. includes numerous small features and bugfixes against previous Tor
  8394. versions, and numerous small infrastructure improvements. The most
  8395. notable features are a set of improvements to the directory subsystem.
  8396. o Major features (security, Linux):
  8397. - When Tor starts as root on Linux and is told to switch user ID, it
  8398. can now retain the capability to bind to low ports. By default,
  8399. Tor will do this only when it's switching user ID and some low
  8400. ports have been configured. You can change this behavior with the
  8401. new option KeepBindCapabilities. Closes ticket 8195.
  8402. o Major features (directory system):
  8403. - When bootstrapping multiple consensus downloads at a time, use the
  8404. first one that starts downloading, and close the rest. This
  8405. reduces failures when authorities or fallback directories are slow
  8406. or down. Together with the code for feature 15775, this feature
  8407. should reduces failures due to fallback churn. Implements ticket
  8408. 4483. Patch by "teor". Implements IPv4 portions of proposal 210 by
  8409. "mikeperry" and "teor".
  8410. - Include a trial list of 21 default fallback directories, generated
  8411. in January 2016, based on an opt-in survey of suitable relays.
  8412. Doing this should make clients bootstrap more quickly and reliably,
  8413. and reduce the load on the directory authorities. Closes ticket
  8414. 15775. Patch by "teor".
  8415. Candidates identified using an OnionOO script by "weasel", "teor",
  8416. "gsathya", and "karsten".
  8417. - Previously only relays that explicitly opened a directory port
  8418. (DirPort) accepted directory requests from clients. Now all
  8419. relays, with and without a DirPort, accept and serve tunneled
  8420. directory requests that they receive through their ORPort. You can
  8421. disable this behavior using the new DirCache option. Closes
  8422. ticket 12538.
  8423. o Major key updates:
  8424. - Update the V3 identity key for the dannenberg directory authority:
  8425. it was changed on 18 November 2015. Closes task 17906. Patch
  8426. by "teor".
  8427. o Minor features (security, clock):
  8428. - Warn when the system clock appears to move back in time (when the
  8429. state file was last written in the future). Tor doesn't know that
  8430. consensuses have expired if the clock is in the past. Patch by
  8431. "teor". Implements ticket 17188.
  8432. o Minor features (security, exit policies):
  8433. - ExitPolicyRejectPrivate now rejects more private addresses by
  8434. default. Specifically, it now rejects the relay's outbound bind
  8435. addresses (if configured), and the relay's configured port
  8436. addresses (such as ORPort and DirPort). Fixes bug 17027; bugfix on
  8437. 0.2.0.11-alpha. Patch by "teor".
  8438. o Minor features (security, memory erasure):
  8439. - Set the unused entries in a smartlist to NULL. This helped catch
  8440. a (harmless) bug, and shouldn't affect performance too much.
  8441. Implements ticket 17026.
  8442. - Use SecureMemoryWipe() function to securely clean memory on
  8443. Windows. Previously we'd use OpenSSL's OPENSSL_cleanse() function.
  8444. Implements feature 17986.
  8445. - Use explicit_bzero or memset_s when present. Previously, we'd use
  8446. OpenSSL's OPENSSL_cleanse() function. Closes ticket 7419; patches
  8447. from <logan@hackers.mu> and <selven@hackers.mu>.
  8448. - Make memwipe() do nothing when passed a NULL pointer or buffer of
  8449. zero size. Check size argument to memwipe() for underflow. Fixes
  8450. bug 18089; bugfix on 0.2.3.25 and 0.2.4.6-alpha. Reported by "gk",
  8451. patch by "teor".
  8452. o Minor features (security, RNG):
  8453. - Adjust Tor's use of OpenSSL's RNG APIs so that they absolutely,
  8454. positively are not allowed to fail. Previously we depended on
  8455. internal details of OpenSSL's behavior. Closes ticket 17686.
  8456. - Never use the system entropy output directly for anything besides
  8457. seeding the PRNG. When we want to generate important keys, instead
  8458. of using system entropy directly, we now hash it with the PRNG
  8459. stream. This may help resist certain attacks based on broken OS
  8460. entropy implementations. Closes part of ticket 17694.
  8461. - Use modern system calls (like getentropy() or getrandom()) to
  8462. generate strong entropy on platforms that have them. Closes
  8463. ticket 13696.
  8464. o Minor features (accounting):
  8465. - Added two modes to the AccountingRule option: One for limiting
  8466. only the number of bytes sent ("AccountingRule out"), and one for
  8467. limiting only the number of bytes received ("AccountingRule in").
  8468. Closes ticket 15989; patch from "unixninja92".
  8469. o Minor features (build):
  8470. - Since our build process now uses "make distcheck", we no longer
  8471. force "make dist" to depend on "make check". Closes ticket 17893;
  8472. patch from "cypherpunks."
  8473. - Tor now builds successfully with the recent OpenSSL 1.1
  8474. development branch, and with the latest LibreSSL. Closes tickets
  8475. 17549, 17921, and 17984.
  8476. o Minor features (controller):
  8477. - Adds the FallbackDir entries to 'GETINFO config/defaults'. Closes
  8478. tickets 16774 and 17817. Patch by George Tankersley.
  8479. - New 'GETINFO hs/service/desc/id/' command to retrieve a hidden
  8480. service descriptor from a service's local hidden service
  8481. descriptor cache. Closes ticket 14846.
  8482. - Add 'GETINFO exit-policy/reject-private/[default,relay]', so
  8483. controllers can examine the the reject rules added by
  8484. ExitPolicyRejectPrivate. This makes it easier for stem to display
  8485. exit policies.
  8486. o Minor features (crypto):
  8487. - Add SHA512 support to crypto.c. Closes ticket 17663; patch from
  8488. George Tankersley.
  8489. - Add SHA3 and SHAKE support to crypto.c. Closes ticket 17783.
  8490. - When allocating a digest state object, allocate no more space than
  8491. we actually need. Previously, we would allocate as much space as
  8492. the state for the largest algorithm would need. This change saves
  8493. up to 672 bytes per circuit. Closes ticket 17796.
  8494. - Improve performance when hashing non-multiple of 8 sized buffers,
  8495. based on Andrew Moon's public domain SipHash-2-4 implementation.
  8496. Fixes bug 17544; bugfix on 0.2.5.3-alpha.
  8497. o Minor features (directory downloads):
  8498. - Wait for busy authorities and fallback directories to become non-
  8499. busy when bootstrapping. (A similar change was made in 6c443e987d
  8500. for directory caches chosen from the consensus.) Closes ticket
  8501. 17864; patch by "teor".
  8502. - Add UseDefaultFallbackDirs, which enables any hard-coded fallback
  8503. directory mirrors. The default is 1; set it to 0 to disable
  8504. fallbacks. Implements ticket 17576. Patch by "teor".
  8505. o Minor features (geoip):
  8506. - Update geoip and geoip6 to the January 5 2016 Maxmind GeoLite2
  8507. Country database.
  8508. o Minor features (IPv6):
  8509. - Add an argument 'ipv6=address:orport' to the DirAuthority and
  8510. FallbackDir torrc options, to specify an IPv6 address for an
  8511. authority or fallback directory. Add hard-coded ipv6 addresses for
  8512. directory authorities that have them. Closes ticket 17327; patch
  8513. from Nick Mathewson and "teor".
  8514. - Add address policy assume_action support for IPv6 addresses.
  8515. - Limit IPv6 mask bits to 128.
  8516. - Warn when comparing against an AF_UNSPEC address in a policy, it's
  8517. almost always a bug. Closes ticket 17863; patch by "teor".
  8518. - Allow users to configure directory authorities and fallback
  8519. directory servers with IPv6 addresses and ORPorts. Resolves
  8520. ticket 6027.
  8521. - routerset_parse now accepts IPv6 literal addresses. Fixes bug
  8522. 17060; bugfix on 0.2.1.3-alpha. Patch by "teor".
  8523. - Make tor_ersatz_socketpair work on IPv6-only systems. Fixes bug
  8524. 17638; bugfix on 0.0.2pre8. Patch by "teor".
  8525. o Minor features (logging):
  8526. - When logging to syslog, allow a tag to be added to the syslog
  8527. identity (the string prepended to every log message). The tag can
  8528. be configured with SyslogIdentityTag and defaults to none. Setting
  8529. it to "foo" will cause logs to be tagged as "Tor-foo". Closes
  8530. ticket 17194.
  8531. o Minor features (portability):
  8532. - Use timingsafe_memcmp() where available. Closes ticket 17944;
  8533. patch from <logan@hackers.mu>.
  8534. o Minor features (relay, address discovery):
  8535. - Add a family argument to get_interface_addresses_raw() and
  8536. subfunctions to make network interface address interogation more
  8537. efficient. Now Tor can specifically ask for IPv4, IPv6 or both
  8538. types of interfaces from the operating system. Resolves
  8539. ticket 17950.
  8540. - When get_interface_address6_list(.,AF_UNSPEC,.) is called and
  8541. fails to enumerate interface addresses using the platform-specific
  8542. API, have it rely on the UDP socket fallback technique to try and
  8543. find out what IP addresses (both IPv4 and IPv6) our machine has.
  8544. Resolves ticket 17951.
  8545. o Minor features (replay cache):
  8546. - The replay cache now uses SHA256 instead of SHA1. Implements
  8547. feature 8961. Patch by "teor", issue reported by "rransom".
  8548. o Minor features (unix file permissions):
  8549. - Defer creation of Unix sockets until after setuid. This avoids
  8550. needing CAP_CHOWN and CAP_FOWNER when using systemd's
  8551. CapabilityBoundingSet, or chown and fowner when using SELinux.
  8552. Implements part of ticket 17562. Patch from Jamie Nguyen.
  8553. - If any directory created by Tor is marked as group readable, the
  8554. filesystem group is allowed to be either the default GID or the
  8555. root user. Allowing root to read the DataDirectory prevents the
  8556. need for CAP_READ_SEARCH when using systemd's
  8557. CapabilityBoundingSet, or dac_read_search when using SELinux.
  8558. Implements part of ticket 17562. Patch from Jamie Nguyen.
  8559. - Introduce a new DataDirectoryGroupReadable option. If it is set to
  8560. 1, the DataDirectory will be made readable by the default GID.
  8561. Implements part of ticket 17562. Patch from Jamie Nguyen.
  8562. o Minor bugfixes (accounting):
  8563. - The max bandwidth when using 'AccountRule sum' is now correctly
  8564. logged. Fixes bug 18024; bugfix on 0.2.6.1-alpha. Patch
  8565. from "unixninja92".
  8566. o Minor bugfixes (code correctness):
  8567. - When closing an entry connection, generate a warning if we should
  8568. have sent an end cell for it but we haven't. Fixes bug 17876;
  8569. bugfix on 0.2.3.2-alpha.
  8570. - Assert that allocated memory held by the reputation code is freed
  8571. according to its internal counters. Fixes bug 17753; bugfix
  8572. on 0.1.1.1-alpha.
  8573. - Assert when the TLS contexts fail to initialize. Fixes bug 17683;
  8574. bugfix on 0.0.6.
  8575. o Minor bugfixes (compilation):
  8576. - Mark all object files that include micro-revision.i as depending
  8577. on it, so as to make parallel builds more reliable. Fixes bug
  8578. 17826; bugfix on 0.2.5.1-alpha.
  8579. - Don't try to use the pthread_condattr_setclock() function unless
  8580. it actually exists. Fixes compilation on NetBSD-6.x. Fixes bug
  8581. 17819; bugfix on 0.2.6.3-alpha.
  8582. - Fix backtrace compilation on FreeBSD. Fixes bug 17827; bugfix
  8583. on 0.2.5.2-alpha.
  8584. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  8585. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  8586. - Fix search for libevent libraries on OpenBSD (and other systems
  8587. that install libevent 1 and libevent 2 in parallel). Fixes bug
  8588. 16651; bugfix on 0.1.0.7-rc. Patch from "rubiate".
  8589. - Isolate environment variables meant for tests from the rest of the
  8590. build system. Fixes bug 17818; bugfix on 0.2.7.3-rc.
  8591. - Replace usage of 'INLINE' with 'inline'. Fixes bug 17804; bugfix
  8592. on 0.0.2pre8.
  8593. - Remove config.log only from make distclean, not from make clean.
  8594. Fixes bug 17924; bugfix on 0.2.4.1-alpha.
  8595. o Minor bugfixes (crypto):
  8596. - Check the return value of HMAC() and assert on failure. Fixes bug
  8597. 17658; bugfix on 0.2.3.6-alpha. Patch by "teor".
  8598. o Minor bugfixes (fallback directories):
  8599. - Mark fallbacks as "too busy" when they return a 503 response,
  8600. rather than just marking authorities. Fixes bug 17572; bugfix on
  8601. 0.2.4.7-alpha. Patch by "teor".
  8602. o Minor bugfixes (IPv6):
  8603. - Update the limits in max_dl_per_request for IPv6 address length.
  8604. Fixes bug 17573; bugfix on 0.2.1.5-alpha.
  8605. o Minor bugfixes (linux seccomp2 sandbox):
  8606. - Fix a crash when using offline master ed25519 keys with the Linux
  8607. seccomp2 sandbox enabled. Fixes bug 17675; bugfix on 0.2.7.3-rc.
  8608. o Minor bugfixes (logging):
  8609. - In log messages that include a function name, use __FUNCTION__
  8610. instead of __PRETTY_FUNCTION__. In GCC, these are synonymous, but
  8611. with clang __PRETTY_FUNCTION__ has extra information we don't
  8612. need. Fixes bug 16563; bugfix on 0.0.2pre8. Fix by Tom van
  8613. der Woerdt.
  8614. - Remove needless quotes from a log message about unparseable
  8615. addresses. Fixes bug 17843; bugfix on 0.2.3.3-alpha.
  8616. o Minor bugfixes (portability):
  8617. - Remove an #endif from configure.ac so that we correctly detect the
  8618. presence of in6_addr.s6_addr32. Fixes bug 17923; bugfix
  8619. on 0.2.0.13-alpha.
  8620. o Minor bugfixes (relays):
  8621. - Check that both the ORPort and DirPort (if present) are reachable
  8622. before publishing a relay descriptor. Otherwise, relays publish a
  8623. descriptor with DirPort 0 when the DirPort reachability test takes
  8624. longer than the ORPort reachability test. Fixes bug 18050; bugfix
  8625. on 0.1.0.1-rc. Reported by "starlight", patch by "teor".
  8626. o Minor bugfixes (relays, hidden services):
  8627. - Refuse connection requests to private OR addresses unless
  8628. ExtendAllowPrivateAddresses is set. Previously, tor would connect,
  8629. then refuse to send any cells to a private address. Fixes bugs
  8630. 17674 and 8976; bugfix on 0.2.3.21-rc. Patch by "teor".
  8631. o Minor bugfixes (safe logging):
  8632. - When logging a malformed hostname received through socks4, scrub
  8633. it if SafeLogging says we should. Fixes bug 17419; bugfix
  8634. on 0.1.1.16-rc.
  8635. o Minor bugfixes (statistics code):
  8636. - Consistently check for overflow in round_*_to_next_multiple_of
  8637. functions, and add unit tests with additional and maximal values.
  8638. Fixes part of bug 13192; bugfix on 0.2.2.1-alpha.
  8639. - Handle edge cases in the laplace functions: avoid division by
  8640. zero, avoid taking the log of zero, and silence clang type
  8641. conversion warnings using round and trunc. Add unit tests for edge
  8642. cases with maximal values. Fixes part of bug 13192; bugfix
  8643. on 0.2.6.2-alpha.
  8644. o Minor bugfixes (testing):
  8645. - The test for log_heartbeat was incorrectly failing in timezones
  8646. with non-integer offsets. Instead of comparing the end of the time
  8647. string against a constant, compare it to the output of
  8648. format_local_iso_time when given the correct input. Fixes bug
  8649. 18039; bugfix on 0.2.5.4-alpha.
  8650. - Make unit tests pass on IPv6-only systems, and systems without
  8651. localhost addresses (like some FreeBSD jails). Fixes bug 17632;
  8652. bugfix on 0.2.7.3-rc. Patch by "teor".
  8653. - Fix a memory leak in the ntor test. Fixes bug 17778; bugfix
  8654. on 0.2.4.8-alpha.
  8655. - Check the full results of SHA256 and SHA512 digests in the unit
  8656. tests. Bugfix on 0.2.2.4-alpha. Patch by "teor".
  8657. o Code simplification and refactoring:
  8658. - Move logging of redundant policy entries in
  8659. policies_parse_exit_policy_internal into its own function. Closes
  8660. ticket 17608; patch from "juce".
  8661. - Extract the more complicated parts of circuit_mark_for_close()
  8662. into a new function that we run periodically before circuits are
  8663. freed. This change removes more than half of the functions
  8664. currently in the "blob". Closes ticket 17218.
  8665. - Clean up a little duplicated code in
  8666. crypto_expand_key_material_TAP(). Closes ticket 17587; patch
  8667. from "pfrankw".
  8668. - Decouple the list of streams waiting to be attached to circuits
  8669. from the overall connection list. This change makes it possible to
  8670. attach streams quickly while simplifying Tor's callgraph and
  8671. avoiding O(N) scans of the entire connection list. Closes
  8672. ticket 17590.
  8673. - When a direct directory request fails immediately on launch,
  8674. instead of relaunching that request from inside the code that
  8675. launches it, instead mark the connection for teardown. This change
  8676. simplifies Tor's callback and prevents the directory-request
  8677. launching code from invoking itself recursively. Closes
  8678. ticket 17589
  8679. - Remove code for configuring OpenSSL dynamic locks; OpenSSL doesn't
  8680. use them. Closes ticket 17926.
  8681. o Documentation:
  8682. - Add a description of the correct use of the '--keygen' command-
  8683. line option. Closes ticket 17583; based on text by 's7r'.
  8684. - Document the minimum HeartbeatPeriod value. Closes ticket 15638.
  8685. - Explain actual minima for BandwidthRate. Closes ticket 16382.
  8686. - Fix a minor formatting typo in the manpage. Closes ticket 17791.
  8687. - Mention torspec URL in the manpage and point the reader to it
  8688. whenever we mention a document that belongs in torspce. Fixes
  8689. issue 17392.
  8690. o Removed features:
  8691. - Remove client-side support for connecting to Tor relays running
  8692. versions of Tor before 0.2.3.6-alpha. These relays didn't support
  8693. the v3 TLS handshake protocol, and are no longer allowed on the
  8694. Tor network. Implements the client side of ticket 11150. Based on
  8695. patches by Tom van der Woerdt.
  8696. o Testing:
  8697. - Add unit tests to check for common RNG failure modes, such as
  8698. returning all zeroes, identical values, or incrementing values
  8699. (OpenSSL's rand_predictable feature). Patch by "teor".
  8700. - Log more information when the backtrace tests fail. Closes ticket
  8701. 17892. Patch from "cypherpunks."
  8702. - Always test both ed25519 backends, so that we can be sure that our
  8703. batch-open replacement code works. Part of ticket 16794.
  8704. - Cover dns_resolve_impl() in dns.c with unit tests. Implements a
  8705. portion of ticket 16831.
  8706. - More unit tests for compat_libevent.c, procmon.c, tortls.c,
  8707. util_format.c, directory.c, and options_validate.c. Closes tickets
  8708. 17075, 17082, 17084, 17003, and 17076 respectively. Patches from
  8709. Ola Bini.
  8710. - Unit tests for directory_handle_command_get. Closes ticket 17004.
  8711. Patch from Reinaldo de Souza Jr.
  8712. Changes in version 0.2.7.6 - 2015-12-10
  8713. Tor version 0.2.7.6 fixes a major bug in entry guard selection, as
  8714. well as a minor bug in hidden service reliability.
  8715. o Major bugfixes (guard selection):
  8716. - Actually look at the Guard flag when selecting a new directory
  8717. guard. When we implemented the directory guard design, we
  8718. accidentally started treating all relays as if they have the Guard
  8719. flag during guard selection, leading to weaker anonymity and worse
  8720. performance. Fixes bug 17772; bugfix on 0.2.4.8-alpha. Discovered
  8721. by Mohsen Imani.
  8722. o Minor features (geoip):
  8723. - Update geoip and geoip6 to the December 1 2015 Maxmind GeoLite2
  8724. Country database.
  8725. o Minor bugfixes (compilation):
  8726. - When checking for net/pfvar.h, include netinet/in.h if possible.
  8727. This fixes transparent proxy detection on OpenBSD. Fixes bug
  8728. 17551; bugfix on 0.1.2.1-alpha. Patch from "rubiate".
  8729. - Fix a compilation warning with Clang 3.6: Do not check the
  8730. presence of an address which can never be NULL. Fixes bug 17781.
  8731. o Minor bugfixes (correctness):
  8732. - When displaying an IPv6 exit policy, include the mask bits
  8733. correctly even when the number is greater than 31. Fixes bug
  8734. 16056; bugfix on 0.2.4.7-alpha. Patch from "gturner".
  8735. - The wrong list was used when looking up expired intro points in a
  8736. rend service object, causing what we think could be reachability
  8737. issues for hidden services, and triggering a BUG log. Fixes bug
  8738. 16702; bugfix on 0.2.7.2-alpha.
  8739. - Fix undefined behavior in the tor_cert_checksig function. Fixes
  8740. bug 17722; bugfix on 0.2.7.2-alpha.
  8741. Changes in version 0.2.7.5 - 2015-11-20
  8742. The Tor 0.2.7 release series is dedicated to the memory of Tor user
  8743. and privacy advocate Caspar Bowden (1961-2015). Caspar worked
  8744. tirelessly to advocate human rights regardless of national borders,
  8745. and oppose the encroachments of mass surveillance. He opposed national
  8746. exceptionalism, he brought clarity to legal and policy debates, he
  8747. understood and predicted the impact of mass surveillance on the world,
  8748. and he laid the groundwork for resisting it. While serving on the Tor
  8749. Project's board of directors, he brought us his uncompromising focus
  8750. on technical excellence in the service of humankind. Caspar was an
  8751. inimitable force for good and a wonderful friend. He was kind,
  8752. humorous, generous, gallant, and believed we should protect one
  8753. another without exception. We honor him here for his ideals, his
  8754. efforts, and his accomplishments. Please honor his memory with works
  8755. that would make him proud.
  8756. Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series.
  8757. The 0.2.7 series adds a more secure identity key type for relays,
  8758. improves cryptography performance, resolves several longstanding
  8759. hidden-service performance issues, improves controller support for
  8760. hidden services, and includes small bugfixes and performance
  8761. improvements throughout the program. This release series also includes
  8762. more tests than before, and significant simplifications to which parts
  8763. of Tor invoke which others.
  8764. (This release contains no code changes since 0.2.7.4-rc.)
  8765. Changes in version 0.2.7.4-rc - 2015-10-21
  8766. Tor 0.2.7.4-rc is the second release candidate in the 0.2.7 series. It
  8767. fixes some important memory leaks, and a scary-looking (but mostly
  8768. harmless in practice) invalid-read bug. It also has a few small
  8769. bugfixes, notably fixes for compilation and portability on different
  8770. platforms. If no further significant bounds are found, the next
  8771. release will the the official stable release.
  8772. o Major bugfixes (security, correctness):
  8773. - Fix an error that could cause us to read 4 bytes before the
  8774. beginning of an openssl string. This bug could be used to cause
  8775. Tor to crash on systems with unusual malloc implementations, or
  8776. systems with unusual hardening installed. Fixes bug 17404; bugfix
  8777. on 0.2.3.6-alpha.
  8778. o Major bugfixes (correctness):
  8779. - Fix a use-after-free bug in validate_intro_point_failure(). Fixes
  8780. bug 17401; bugfix on 0.2.7.3-rc.
  8781. o Major bugfixes (memory leaks):
  8782. - Fix a memory leak in ed25519 batch signature checking. Fixes bug
  8783. 17398; bugfix on 0.2.6.1-alpha.
  8784. - Fix a memory leak in rend_cache_failure_entry_free(). Fixes bug
  8785. 17402; bugfix on 0.2.7.3-rc.
  8786. - Fix a memory leak when reading an expired signing key from disk.
  8787. Fixes bug 17403; bugfix on 0.2.7.2-rc.
  8788. o Minor features (geoIP):
  8789. - Update geoip and geoip6 to the October 9 2015 Maxmind GeoLite2
  8790. Country database.
  8791. o Minor bugfixes (compilation):
  8792. - Repair compilation with the most recent (unreleased, alpha)
  8793. vesions of OpenSSL 1.1. Fixes part of ticket 17237.
  8794. - Fix an integer overflow warning in test_crypto_slow.c. Fixes bug
  8795. 17251; bugfix on 0.2.7.2-alpha.
  8796. - Fix compilation of sandbox.c with musl-libc. Fixes bug 17347;
  8797. bugfix on 0.2.5.1-alpha. Patch from 'jamestk'.
  8798. o Minor bugfixes (portability):
  8799. - Use libexecinfo on FreeBSD to enable backtrace support. Fixes
  8800. part of bug 17151; bugfix on 0.2.5.2-alpha. Patch from
  8801. Marcin Cieślak.
  8802. o Minor bugfixes (sandbox):
  8803. - Add the "hidserv-stats" filename to our sandbox filter for the
  8804. HiddenServiceStatistics option to work properly. Fixes bug 17354;
  8805. bugfix on 0.2.6.2-alpha. Patch from David Goulet.
  8806. o Minor bugfixes (testing):
  8807. - Add unit tests for get_interface_address* failure cases. Fixes bug
  8808. 17173; bugfix on 0.2.7.3-rc. Patch by fk/teor.
  8809. - Fix breakage when running 'make check' with BSD make. Fixes bug
  8810. 17154; bugfix on 0.2.7.3-rc. Patch by Marcin Cieślak.
  8811. - Make the get_ifaddrs_* unit tests more tolerant of different
  8812. network configurations. (Don't assume every test box has an IPv4
  8813. address, and don't assume every test box has a non-localhost
  8814. address.) Fixes bug 17255; bugfix on 0.2.7.3-rc. Patch by "teor".
  8815. - Skip backtrace tests when backtrace support is not compiled in.
  8816. Fixes part of bug 17151; bugfix on 0.2.7.1-alpha. Patch from
  8817. Marcin Cieślak.
  8818. o Documentation:
  8819. - Fix capitalization of SOCKS in sample torrc. Closes ticket 15609.
  8820. - Note that HiddenServicePorts can take a unix domain socket. Closes
  8821. ticket 17364.
  8822. Changes in version 0.2.7.3-rc - 2015-09-25
  8823. Tor 0.2.7.3-rc is the first release candidate in the 0.2.7 series. It
  8824. contains numerous usability fixes for Ed25519 keys, safeguards against
  8825. several misconfiguration problems, significant simplifications to
  8826. Tor's callgraph, and numerous bugfixes and small features.
  8827. This is the most tested release of Tor to date. The unit tests cover
  8828. 39.40% of the code, and the integration tests (accessible with "make
  8829. test-full-online", requiring stem and chutney and a network
  8830. connection) raise the coverage to 64.49%.
  8831. o Major features (security, hidden services):
  8832. - Hidden services, if using the EntryNodes option, are required to
  8833. use more than one EntryNode, in order to avoid a guard discovery
  8834. attack. (This would only affect people who had configured hidden
  8835. services and manually specified the EntryNodes option with a
  8836. single entry-node. The impact was that it would be easy to
  8837. remotely identify the guard node used by such a hidden service.
  8838. See ticket for more information.) Fixes ticket 14917.
  8839. o Major features (Ed25519 keys, keypinning):
  8840. - The key-pinning option on directory authorities is now advisory-
  8841. only by default. In a future version, or when the AuthDirPinKeys
  8842. option is set, pins are enforced again. Disabling key-pinning
  8843. seemed like a good idea so that we can survive the fallout of any
  8844. usability problems associated with Ed25519 keys. Closes
  8845. ticket 17135.
  8846. o Major features (Ed25519 performance):
  8847. - Improve the speed of Ed25519 operations and Curve25519 keypair
  8848. generation when built targeting 32 bit x86 platforms with SSE2
  8849. available. Implements ticket 16535.
  8850. - Improve the runtime speed of Ed25519 signature verification by
  8851. using Ed25519-donna's batch verification support. Implements
  8852. ticket 16533.
  8853. o Major features (performance testing):
  8854. - The test-network.sh script now supports performance testing.
  8855. Requires corresponding chutney performance testing changes. Patch
  8856. by "teor". Closes ticket 14175.
  8857. o Major features (relay, Ed25519):
  8858. - Significant usability improvements for Ed25519 key management. Log
  8859. messages are better, and the code can recover from far more
  8860. failure conditions. Thanks to "s7r" for reporting and diagnosing
  8861. so many of these!
  8862. - Add a new OfflineMasterKey option to tell Tor never to try loading
  8863. or generating a secret Ed25519 identity key. You can use this in
  8864. combination with tor --keygen to manage offline and/or encrypted
  8865. Ed25519 keys. Implements ticket 16944.
  8866. - Add a --newpass option to allow changing or removing the
  8867. passphrase of an encrypted key with tor --keygen. Implements part
  8868. of ticket 16769.
  8869. - On receiving a HUP signal, check to see whether the Ed25519
  8870. signing key has changed, and reload it if so. Closes ticket 16790.
  8871. o Major bugfixes (relay, Ed25519):
  8872. - Avoid crashing on 'tor --keygen'. Fixes bug 16679; bugfix on
  8873. 0.2.7.2-alpha. Reported by "s7r".
  8874. - Improve handling of expired signing keys with offline master keys.
  8875. Fixes bug 16685; bugfix on 0.2.7.2-alpha. Reported by "s7r".
  8876. o Minor features (client-side privacy):
  8877. - New KeepAliveIsolateSOCKSAuth option to indefinitely extend circuit
  8878. lifespan when IsolateSOCKSAuth and streams with SOCKS
  8879. authentication are attached to the circuit. This allows
  8880. applications like TorBrowser to manage circuit lifetime on their
  8881. own. Implements feature 15482.
  8882. - When logging malformed hostnames from SOCKS5 requests, respect
  8883. SafeLogging configuration. Fixes bug 16891; bugfix on 0.1.1.16-rc.
  8884. o Minor features (compilation):
  8885. - Give a warning as early as possible when trying to build with an
  8886. unsupported OpenSSL version. Closes ticket 16901.
  8887. - Fail during configure if we're trying to build against an OpenSSL
  8888. built without ECC support. Fixes bug 17109, bugfix on 0.2.7.1-alpha
  8889. which started requiring ECC.
  8890. o Minor features (geoip):
  8891. - Update geoip and geoip6 to the September 3 2015 Maxmind GeoLite2
  8892. Country database.
  8893. o Minor features (hidden services):
  8894. - Relays need to have the Fast flag to get the HSDir flag. As this
  8895. is being written, we'll go from 2745 HSDirs down to 2342, a ~14%
  8896. drop. This change should make some attacks against the hidden
  8897. service directory system harder. Fixes ticket 15963.
  8898. - Turn on hidden service statistics collection by setting the torrc
  8899. option HiddenServiceStatistics to "1" by default. (This keeps
  8900. track only of the fraction of traffic used by hidden services, and
  8901. the total number of hidden services in existence.) Closes
  8902. ticket 15254.
  8903. - Client now uses an introduction point failure cache to know when
  8904. to fetch or keep a descriptor in their cache. Previously, failures
  8905. were recorded implicitly, but not explicitly remembered. Closes
  8906. ticket 16389.
  8907. o Minor features (testing, authorities, documentation):
  8908. - New TestingDirAuthVote{Exit,Guard,HSDir}IsStrict flags to
  8909. explicitly manage consensus flags in testing networks. Patch by
  8910. "robgjansen", modified by "teor". Implements part of ticket 14882.
  8911. o Minor bugfixes (security, exit policies):
  8912. - ExitPolicyRejectPrivate now also rejects the relay's published
  8913. IPv6 address (if any), and any publicly routable IPv4 or IPv6
  8914. addresses on any local interfaces. ticket 17027. Patch by "teor".
  8915. Fixes bug 17027; bugfix on 0.2.0.11-alpha.
  8916. o Minor bug fixes (torrc exit policies):
  8917. - In torrc, "accept6 *" and "reject6 *" ExitPolicy lines now only
  8918. produce IPv6 wildcard addresses. Previously they would produce
  8919. both IPv4 and IPv6 wildcard addresses. Patch by "teor". Fixes part
  8920. of bug 16069; bugfix on 0.2.4.7-alpha.
  8921. - When parsing torrc ExitPolicies, we now warn for a number of cases
  8922. where the user's intent is likely to differ from Tor's actual
  8923. behavior. These include: using an IPv4 address with an accept6 or
  8924. reject6 line; using "private" on an accept6 or reject6 line; and
  8925. including any ExitPolicy lines after accept *:* or reject *:*.
  8926. Related to ticket 16069.
  8927. - When parsing torrc ExitPolicies, we now issue an info-level
  8928. message when expanding an "accept/reject *" line to include both
  8929. IPv4 and IPv6 wildcard addresses. Related to ticket 16069.
  8930. - In each instance above, usage advice is provided to avoid the
  8931. message. Resolves ticket 16069. Patch by "teor". Fixes part of bug
  8932. 16069; bugfix on 0.2.4.7-alpha.
  8933. o Minor bugfixes (authority):
  8934. - Don't assign "HSDir" to a router if it isn't Valid and Running.
  8935. Fixes bug 16524; bugfix on 0.2.7.2-alpha.
  8936. - Downgrade log messages about Ed25519 key issues if they are in old
  8937. cached router descriptors. Fixes part of bug 16286; bugfix
  8938. on 0.2.7.2-alpha.
  8939. - When we find an Ed25519 key issue in a cached descriptor, stop
  8940. saying the descriptor was just "uploaded". Fixes another part of
  8941. bug 16286; bugfix on 0.2.7.2-alpha.
  8942. o Minor bugfixes (control port):
  8943. - Repair a warning and a spurious result when getting the maximum
  8944. number of file descriptors from the controller. Fixes bug 16697;
  8945. bugfix on 0.2.7.2-alpha.
  8946. o Minor bugfixes (correctness):
  8947. - When calling channel_free_list(), avoid calling smartlist_remove()
  8948. while inside a FOREACH loop. This partially reverts commit
  8949. 17356fe7fd96af where the correct SMARTLIST_DEL_CURRENT was
  8950. incorrectly removed. Fixes bug 16924; bugfix on 0.2.4.4-alpha.
  8951. o Minor bugfixes (documentation):
  8952. - Advise users on how to configure separate IPv4 and IPv6 exit
  8953. policies in the manpage and sample torrcs. Related to ticket 16069.
  8954. - Fix the usage message of tor-resolve(1) so that it no longer lists
  8955. the removed -F option. Fixes bug 16913; bugfix on 0.2.2.28-beta.
  8956. - Fix an error in the manual page and comments for
  8957. TestingDirAuthVoteHSDir[IsStrict], which suggested that a HSDir
  8958. required "ORPort connectivity". While this is true, it is in no
  8959. way unique to the HSDir flag. Of all the flags, only HSDirs need a
  8960. DirPort configured in order for the authorities to assign that
  8961. particular flag. Patch by "teor". Fixed as part of 14882; bugfix
  8962. on 0.2.6.3-alpha.
  8963. o Minor bugfixes (Ed25519):
  8964. - Fix a memory leak when reading router descriptors with expired
  8965. Ed25519 certificates. Fixes bug 16539; bugfix on 0.2.7.2-alpha.
  8966. o Minor bugfixes (linux seccomp2 sandbox):
  8967. - Allow bridge authorities to run correctly under the seccomp2
  8968. sandbox. Fixes bug 16964; bugfix on 0.2.5.1-alpha.
  8969. - Allow routers with ed25519 keys to run correctly under the
  8970. seccomp2 sandbox. Fixes bug 16965; bugfix on 0.2.7.2-alpha.
  8971. o Minor bugfixes (open file limit):
  8972. - Fix set_max_file_descriptors() to set by default the max open file
  8973. limit to the current limit when setrlimit() fails. Fixes bug
  8974. 16274; bugfix on 0.2.0.10-alpha. Patch by dgoulet.
  8975. o Minor bugfixes (portability):
  8976. - Try harder to normalize the exit status of the Tor process to the
  8977. standard-provided range. Fixes bug 16975; bugfix on every version
  8978. of Tor ever.
  8979. - Check correctly for Windows socket errors in the workqueue
  8980. backend. Fixes bug 16741; bugfix on 0.2.6.3-alpha.
  8981. - Fix the behavior of crypto_rand_time_range() when told to consider
  8982. times before 1970. (These times were possible when running in a
  8983. simulated network environment where time()'s output starts at
  8984. zero.) Fixes bug 16980; bugfix on 0.2.7.1-alpha.
  8985. - Restore correct operation of TLS client-cipher detection on
  8986. OpenSSL 1.1. Fixes bug 14047; bugfix on 0.2.7.2-alpha.
  8987. o Minor bugfixes (relay):
  8988. - Ensure that worker threads actually exit when a fatal error or
  8989. shutdown is indicated. This fix doesn't currently affect the
  8990. behavior of Tor, because Tor workers never indicates fatal error
  8991. or shutdown except in the unit tests. Fixes bug 16868; bugfix
  8992. on 0.2.6.3-alpha.
  8993. - Unblock threads before releasing the work queue mutex to ensure
  8994. predictable scheduling behavior. Fixes bug 16644; bugfix
  8995. on 0.2.6.3-alpha.
  8996. o Code simplification and refactoring:
  8997. - Change the function that's called when we need to retry all
  8998. downloads so that it only reschedules the downloads to happen
  8999. immediately, rather than launching them all at once itself. This
  9000. further simplifies Tor's callgraph.
  9001. - Move some format-parsing functions out of crypto.c and
  9002. crypto_curve25519.c into crypto_format.c and/or util_format.c.
  9003. - Move the client-only parts of init_keys() into a separate
  9004. function. Closes ticket 16763.
  9005. - Simplify the microdesc_free() implementation so that it no longer
  9006. appears (to code analysis tools) to potentially invoke a huge
  9007. suite of other microdesc functions.
  9008. - Simply the control graph further by deferring the inner body of
  9009. directory_all_unreachable() into a callback. Closes ticket 16762.
  9010. - Treat the loss of an owning controller as equivalent to a SIGTERM
  9011. signal. This removes a tiny amount of duplicated code, and
  9012. simplifies our callgraph. Closes ticket 16788.
  9013. - When generating an event to send to the controller, we no longer
  9014. put the event over the network immediately. Instead, we queue
  9015. these events, and use a Libevent callback to deliver them. This
  9016. change simplifies Tor's callgraph by reducing the number of
  9017. functions from which all other Tor functions are reachable. Closes
  9018. ticket 16695.
  9019. - Wrap Windows-only C files inside '#ifdef _WIN32' so that tools
  9020. that try to scan or compile every file on Unix won't decide that
  9021. they are broken.
  9022. - Remove the unused "nulterminate" argument from buf_pullup().
  9023. o Documentation:
  9024. - Recommend a 40 GB example AccountingMax in torrc.sample rather
  9025. than a 4 GB max. Closes ticket 16742.
  9026. - Include the TUNING document in our source tarball. It is referred
  9027. to in the ChangeLog and an error message. Fixes bug 16929; bugfix
  9028. on 0.2.6.1-alpha.
  9029. o Removed code:
  9030. - The internal pure-C tor-fw-helper tool is now removed from the Tor
  9031. distribution, in favor of the pure-Go clone available from
  9032. https://gitweb.torproject.org/tor-fw-helper.git/ . The libraries
  9033. used by the C tor-fw-helper are not, in our opinion, very
  9034. confidence- inspiring in their secure-programming techniques.
  9035. Closes ticket 13338.
  9036. - Remove the code that would try to aggressively flush controller
  9037. connections while writing to them. This code was introduced in
  9038. 0.1.2.7-alpha, in order to keep output buffers from exceeding
  9039. their limits. But there is no longer a maximum output buffer size,
  9040. and flushing data in this way caused some undesirable recursions
  9041. in our call graph. Closes ticket 16480.
  9042. o Testing:
  9043. - Make "bridges+hs" the default test network. This tests almost all
  9044. tor functionality during make test-network, while allowing tests
  9045. to succeed on non-IPv6 systems. Requires chutney commit 396da92 in
  9046. test-network-bridges-hs. Closes tickets 16945 (tor) and 16946
  9047. (chutney). Patches by "teor".
  9048. - Autodetect CHUTNEY_PATH if the chutney and Tor sources are side-
  9049. by-side in the same parent directory. Closes ticket 16903. Patch
  9050. by "teor".
  9051. - Use environment variables rather than autoconf substitutions to
  9052. send variables from the build system to the test scripts. This
  9053. change should be easier to maintain, and cause 'make distcheck' to
  9054. work better than before. Fixes bug 17148.
  9055. - Add a new set of callgraph analysis scripts that use clang to
  9056. produce a list of which Tor functions are reachable from which
  9057. other Tor functions. We're planning to use these to help simplify
  9058. our code structure by identifying illogical dependencies.
  9059. - Add new 'test-full' and 'test-full-online' targets to run all
  9060. tests, including integration tests with stem and chutney.
  9061. - Make the test-workqueue test work on Windows by initializing the
  9062. network before we begin.
  9063. - New make target (make test-network-all) to run multiple applicable
  9064. chutney test cases. Patch from Teor; closes 16953.
  9065. - Unit test dns_resolve(), dns_clip_ttl() and dns_get_expiry_ttl()
  9066. functions in dns.c. Implements a portion of ticket 16831.
  9067. - When building Tor with testing coverage enabled, run Chutney tests
  9068. (if any) using the 'tor-cov' coverage binary.
  9069. - When running test-network or test-stem, check for the absence of
  9070. stem/chutney before doing any build operations.
  9071. Changes in version 0.2.7.2-alpha - 2015-07-27
  9072. This, the second alpha in the Tor 0.2.7 series, has a number of new
  9073. features, including a way to manually pick the number of introduction
  9074. points for hidden services, and the much stronger Ed25519 signing key
  9075. algorithm for regular Tor relays (including support for encrypted
  9076. offline identity keys in the new algorithm).
  9077. Support for Ed25519 on relays is currently limited to signing router
  9078. descriptors; later alphas in this series will extend Ed25519 key
  9079. support to more parts of the Tor protocol.
  9080. o Major features (Ed25519 identity keys, Proposal 220):
  9081. - All relays now maintain a stronger identity key, using the Ed25519
  9082. elliptic curve signature format. This master key is designed so
  9083. that it can be kept offline. Relays also generate an online
  9084. signing key, and a set of other Ed25519 keys and certificates.
  9085. These are all automatically regenerated and rotated as needed.
  9086. Implements part of ticket 12498.
  9087. - Directory authorities now vote on Ed25519 identity keys along with
  9088. RSA1024 keys. Implements part of ticket 12498.
  9089. - Directory authorities track which Ed25519 identity keys have been
  9090. used with which RSA1024 identity keys, and do not allow them to
  9091. vary freely. Implements part of ticket 12498.
  9092. - Microdescriptors now include Ed25519 identity keys. Implements
  9093. part of ticket 12498.
  9094. - Add support for offline encrypted Ed25519 master keys. To use this
  9095. feature on your tor relay, run "tor --keygen" to make a new master
  9096. key (or to make a new signing key if you already have a master
  9097. key). Closes ticket 13642.
  9098. o Major features (Hidden services):
  9099. - Add the torrc option HiddenServiceNumIntroductionPoints, to
  9100. specify a fixed number of introduction points. Its maximum value
  9101. is 10 and default is 3. Using this option can increase a hidden
  9102. service's reliability under load, at the cost of making it more
  9103. visible that the hidden service is facing extra load. Closes
  9104. ticket 4862.
  9105. - Remove the adaptive algorithm for choosing the number of
  9106. introduction points, which used to change the number of
  9107. introduction points (poorly) depending on the number of
  9108. connections the HS sees. Closes ticket 4862.
  9109. o Major features (onion key cross-certification):
  9110. - Relay descriptors now include signatures of their own identity
  9111. keys, made using the TAP and ntor onion keys. These signatures
  9112. allow relays to prove ownership of their own onion keys. Because
  9113. of this change, microdescriptors will no longer need to include
  9114. RSA identity keys. Implements proposal 228; closes ticket 12499.
  9115. o Major features (performance):
  9116. - Improve the runtime speed of Ed25519 operations by using the
  9117. public-domain Ed25519-donna by Andrew M. ("floodyberry").
  9118. Implements ticket 16467.
  9119. - Improve the runtime speed of the ntor handshake by using an
  9120. optimized curve25519 basepoint scalarmult implementation from the
  9121. public-domain Ed25519-donna by Andrew M. ("floodyberry"), based on
  9122. ideas by Adam Langley. Implements ticket 9663.
  9123. o Major bugfixes (client-side privacy, also in 0.2.6.9):
  9124. - Properly separate out each SOCKSPort when applying stream
  9125. isolation. The error occurred because each port's session group
  9126. was being overwritten by a default value when the listener
  9127. connection was initialized. Fixes bug 16247; bugfix on
  9128. 0.2.6.3-alpha. Patch by "jojelino".
  9129. o Major bugfixes (hidden service clients, stability, also in 0.2.6.10):
  9130. - Stop refusing to store updated hidden service descriptors on a
  9131. client. This reverts commit 9407040c59218 (which indeed fixed bug
  9132. 14219, but introduced a major hidden service reachability
  9133. regression detailed in bug 16381). This is a temporary fix since
  9134. we can live with the minor issue in bug 14219 (it just results in
  9135. some load on the network) but the regression of 16381 is too much
  9136. of a setback. First-round fix for bug 16381; bugfix
  9137. on 0.2.6.3-alpha.
  9138. o Major bugfixes (hidden services):
  9139. - When cannibalizing a circuit for an introduction point, always
  9140. extend to the chosen exit node (creating a 4 hop circuit).
  9141. Previously Tor would use the current circuit exit node, which
  9142. changed the original choice of introduction point, and could cause
  9143. the hidden service to skip excluded introduction points or
  9144. reconnect to a skipped introduction point. Fixes bug 16260; bugfix
  9145. on 0.1.0.1-rc.
  9146. o Major bugfixes (open file limit):
  9147. - The open file limit wasn't checked before calling
  9148. tor_accept_socket_nonblocking(), which would make Tor exceed the
  9149. limit. Now, before opening a new socket, Tor validates the open
  9150. file limit just before, and if the max has been reached, return an
  9151. error. Fixes bug 16288; bugfix on 0.1.1.1-alpha.
  9152. o Major bugfixes (stability, also in 0.2.6.10):
  9153. - Stop crashing with an assertion failure when parsing certain kinds
  9154. of malformed or truncated microdescriptors. Fixes bug 16400;
  9155. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  9156. by "cypherpunks_backup".
  9157. - Stop random client-side assertion failures that could occur when
  9158. connecting to a busy hidden service, or connecting to a hidden
  9159. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  9160. on 0.1.0.1-rc.
  9161. o Minor features (directory authorities, security, also in 0.2.6.9):
  9162. - The HSDir flag given by authorities now requires the Stable flag.
  9163. For the current network, this results in going from 2887 to 2806
  9164. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  9165. attack by raising the effort for a relay to become Stable to
  9166. require at the very least 7 days, while maintaining the 96 hours
  9167. uptime requirement for HSDir. Implements ticket 8243.
  9168. o Minor features (client):
  9169. - Relax the validation of hostnames in SOCKS5 requests, allowing the
  9170. character '_' to appear, in order to cope with domains observed in
  9171. the wild that are serving non-RFC compliant records. Resolves
  9172. ticket 16430.
  9173. - Relax the validation done to hostnames in SOCKS5 requests, and
  9174. allow a single trailing '.' to cope with clients that pass FQDNs
  9175. using that syntax to explicitly indicate that the domain name is
  9176. fully-qualified. Fixes bug 16674; bugfix on 0.2.6.2-alpha.
  9177. - Add GroupWritable and WorldWritable options to unix-socket based
  9178. SocksPort and ControlPort options. These options apply to a single
  9179. socket, and override {Control,Socks}SocketsGroupWritable. Closes
  9180. ticket 15220.
  9181. o Minor features (control protocol):
  9182. - Support network-liveness GETINFO key and NETWORK_LIVENESS event in
  9183. the control protocol. Resolves ticket 15358.
  9184. o Minor features (directory authorities):
  9185. - Directory authorities no longer vote against the "Fast", "Stable",
  9186. and "HSDir" flags just because they were going to vote against
  9187. "Running": if the consensus turns out to be that the router was
  9188. running, then the authority's vote should count. Patch from Peter
  9189. Retzlaff; closes issue 8712.
  9190. o Minor features (geoip, also in 0.2.6.10):
  9191. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  9192. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  9193. o Minor features (hidden services):
  9194. - Add the new options "HiddenServiceMaxStreams" and
  9195. "HiddenServiceMaxStreamsCloseCircuit" to allow hidden services to
  9196. limit the maximum number of simultaneous streams per circuit, and
  9197. optionally tear down the circuit when the limit is exceeded. Part
  9198. of ticket 16052.
  9199. o Minor features (portability):
  9200. - Use C99 variadic macros when the compiler is not GCC. This avoids
  9201. failing compilations on MSVC, and fixes a log-file-based race
  9202. condition in our old workarounds. Original patch from Gisle Vanem.
  9203. o Minor bugfixes (compilation, also in 0.2.6.9):
  9204. - Build with --enable-systemd correctly when libsystemd is
  9205. installed, but systemd is not. Fixes bug 16164; bugfix on
  9206. 0.2.6.3-alpha. Patch from Peter Palfrader.
  9207. o Minor bugfixes (controller):
  9208. - Add the descriptor ID in each HS_DESC control event. It was
  9209. missing, but specified in control-spec.txt. Fixes bug 15881;
  9210. bugfix on 0.2.5.2-alpha.
  9211. o Minor bugfixes (crypto error-handling, also in 0.2.6.10):
  9212. - Check for failures from crypto_early_init, and refuse to continue.
  9213. A previous typo meant that we could keep going with an
  9214. uninitialized crypto library, and would have OpenSSL initialize
  9215. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  9216. when implementing ticket 4900. Patch by "teor".
  9217. o Minor bugfixes (hidden services):
  9218. - Fix a crash when reloading configuration while at least one
  9219. configured and one ephemeral hidden service exists. Fixes bug
  9220. 16060; bugfix on 0.2.7.1-alpha.
  9221. - Avoid crashing with a double-free bug when we create an ephemeral
  9222. hidden service but adding it fails for some reason. Fixes bug
  9223. 16228; bugfix on 0.2.7.1-alpha.
  9224. o Minor bugfixes (Linux seccomp2 sandbox):
  9225. - Use the sandbox in tor_open_cloexec whether or not O_CLOEXEC is
  9226. defined. Patch by "teor". Fixes bug 16515; bugfix on 0.2.3.1-alpha.
  9227. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.10):
  9228. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  9229. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  9230. on 0.2.6.3-alpha. Patch from "teor".
  9231. o Minor bugfixes (Linux seccomp2 sandbox, also in 0.2.6.9):
  9232. - Fix sandboxing to work when running as a relay, by allowing the
  9233. renaming of secret_id_key, and allowing the eventfd2 and futex
  9234. syscalls. Fixes bug 16244; bugfix on 0.2.6.1-alpha. Patch by
  9235. Peter Palfrader.
  9236. - Allow systemd connections to work with the Linux seccomp2 sandbox
  9237. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  9238. Peter Palfrader.
  9239. o Minor bugfixes (relay):
  9240. - Fix a rarely-encountered memory leak when failing to initialize
  9241. the thread pool. Fixes bug 16631; bugfix on 0.2.6.3-alpha. Patch
  9242. from "cypherpunks".
  9243. o Minor bugfixes (systemd):
  9244. - Fix an accidental formatting error that broke the systemd
  9245. configuration file. Fixes bug 16152; bugfix on 0.2.7.1-alpha.
  9246. - Tor's systemd unit file no longer contains extraneous spaces.
  9247. These spaces would sometimes confuse tools like deb-systemd-
  9248. helper. Fixes bug 16162; bugfix on 0.2.5.5-alpha.
  9249. o Minor bugfixes (tests):
  9250. - Use the configured Python executable when running test-stem-full.
  9251. Fixes bug 16470; bugfix on 0.2.7.1-alpha.
  9252. o Minor bugfixes (tests, also in 0.2.6.9):
  9253. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  9254. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  9255. o Minor bugfixes (threads, comments):
  9256. - Always initialize return value in compute_desc_id in rendcommon.c
  9257. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  9258. - Check for NULL values in getinfo_helper_onions(). Patch by "teor".
  9259. Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  9260. - Remove undefined directive-in-macro in test_util_writepid clang
  9261. 3.7 complains that using a preprocessor directive inside a macro
  9262. invocation in test_util_writepid in test_util.c is undefined.
  9263. Patch by "teor". Fixes part of bug 16115; bugfix on 0.2.7.1-alpha.
  9264. o Code simplification and refactoring:
  9265. - Define WINVER and _WIN32_WINNT centrally, in orconfig.h, in order
  9266. to ensure they remain consistent and visible everywhere.
  9267. - Remove some vestigial workarounds for the MSVC6 compiler. We
  9268. haven't supported that in ages.
  9269. - The link authentication code has been refactored for better
  9270. testability and reliability. It now uses code generated with the
  9271. "trunnel" binary encoding generator, to reduce the risk of bugs
  9272. due to programmer error. Done as part of ticket 12498.
  9273. o Documentation:
  9274. - Include a specific and (hopefully) accurate documentation of the
  9275. torrc file's meta-format in doc/torrc_format.txt. This is mainly
  9276. of interest to people writing programs to parse or generate torrc
  9277. files. This document is not a commitment to long-term
  9278. compatibility; some aspects of the current format are a bit
  9279. ridiculous. Closes ticket 2325.
  9280. o Removed features:
  9281. - Tor no longer supports copies of OpenSSL that are missing support
  9282. for Elliptic Curve Cryptography. (We began using ECC when
  9283. available in 0.2.4.8-alpha, for more safe and efficient key
  9284. negotiation.) In particular, support for at least one of P256 or
  9285. P224 is now required, with manual configuration needed if only
  9286. P224 is available. Resolves ticket 16140.
  9287. - Tor no longer supports versions of OpenSSL before 1.0. (If you are
  9288. on an operating system that has not upgraded to OpenSSL 1.0 or
  9289. later, and you compile Tor from source, you will need to install a
  9290. more recent OpenSSL to link Tor against.) These versions of
  9291. OpenSSL are still supported by the OpenSSL, but the numerous
  9292. cryptographic improvements in later OpenSSL releases makes them a
  9293. clear choice. Resolves ticket 16034.
  9294. - Remove the HidServDirectoryV2 option. Now all relays offer to
  9295. store hidden service descriptors. Related to 16543.
  9296. - Remove the VoteOnHidServDirectoriesV2 option, since all
  9297. authorities have long set it to 1. Closes ticket 16543.
  9298. o Testing:
  9299. - Document use of coverity, clang static analyzer, and clang dynamic
  9300. undefined behavior and address sanitizers in doc/HACKING. Include
  9301. detailed usage instructions in the blacklist. Patch by "teor".
  9302. Closes ticket 15817.
  9303. - The link authentication protocol code now has extensive tests.
  9304. - The relay descriptor signature testing code now has
  9305. extensive tests.
  9306. - The test_workqueue program now runs faster, and is enabled by
  9307. default as a part of "make check".
  9308. - Now that OpenSSL has its own scrypt implementation, add an unit
  9309. test that checks for interoperability between libscrypt_scrypt()
  9310. and OpenSSL's EVP_PBE_scrypt() so that we could not use libscrypt
  9311. and rely on EVP_PBE_scrypt() whenever possible. Resolves
  9312. ticket 16189.
  9313. Changes in version 0.2.6.10 - 2015-07-12
  9314. Tor version 0.2.6.10 fixes some significant stability and hidden
  9315. service client bugs, bulletproofs the cryptography init process, and
  9316. fixes a bug when using the sandbox code with some older versions of
  9317. Linux. Everyone running an older version, especially an older version
  9318. of 0.2.6, should upgrade.
  9319. o Major bugfixes (hidden service clients, stability):
  9320. - Stop refusing to store updated hidden service descriptors on a
  9321. client. This reverts commit 9407040c59218 (which indeed fixed bug
  9322. 14219, but introduced a major hidden service reachability
  9323. regression detailed in bug 16381). This is a temporary fix since
  9324. we can live with the minor issue in bug 14219 (it just results in
  9325. some load on the network) but the regression of 16381 is too much
  9326. of a setback. First-round fix for bug 16381; bugfix
  9327. on 0.2.6.3-alpha.
  9328. o Major bugfixes (stability):
  9329. - Stop crashing with an assertion failure when parsing certain kinds
  9330. of malformed or truncated microdescriptors. Fixes bug 16400;
  9331. bugfix on 0.2.6.1-alpha. Found by "torkeln"; fix based on a patch
  9332. by "cypherpunks_backup".
  9333. - Stop random client-side assertion failures that could occur when
  9334. connecting to a busy hidden service, or connecting to a hidden
  9335. service while a NEWNYM is in progress. Fixes bug 16013; bugfix
  9336. on 0.1.0.1-rc.
  9337. o Minor features (geoip):
  9338. - Update geoip to the June 3 2015 Maxmind GeoLite2 Country database.
  9339. - Update geoip6 to the June 3 2015 Maxmind GeoLite2 Country database.
  9340. o Minor bugfixes (crypto error-handling):
  9341. - Check for failures from crypto_early_init, and refuse to continue.
  9342. A previous typo meant that we could keep going with an
  9343. uninitialized crypto library, and would have OpenSSL initialize
  9344. its own PRNG. Fixes bug 16360; bugfix on 0.2.5.2-alpha, introduced
  9345. when implementing ticket 4900. Patch by "teor".
  9346. o Minor bugfixes (Linux seccomp2 sandbox):
  9347. - Allow pipe() and pipe2() syscalls in the seccomp2 sandbox: we need
  9348. these when eventfd2() support is missing. Fixes bug 16363; bugfix
  9349. on 0.2.6.3-alpha. Patch from "teor".
  9350. Changes in version 0.2.6.9 - 2015-06-11
  9351. Tor 0.2.6.9 fixes a regression in the circuit isolation code, increases the
  9352. requirements for receiving an HSDir flag, and addresses some other small
  9353. bugs in the systemd and sandbox code. Clients using circuit isolation
  9354. should upgrade; all directory authorities should upgrade.
  9355. o Major bugfixes (client-side privacy):
  9356. - Properly separate out each SOCKSPort when applying stream
  9357. isolation. The error occurred because each port's session group was
  9358. being overwritten by a default value when the listener connection
  9359. was initialized. Fixes bug 16247; bugfix on 0.2.6.3-alpha. Patch
  9360. by "jojelino".
  9361. o Minor feature (directory authorities, security):
  9362. - The HSDir flag given by authorities now requires the Stable flag.
  9363. For the current network, this results in going from 2887 to 2806
  9364. HSDirs. Also, it makes it harder for an attacker to launch a sybil
  9365. attack by raising the effort for a relay to become Stable which
  9366. takes at the very least 7 days to do so and by keeping the 96
  9367. hours uptime requirement for HSDir. Implements ticket 8243.
  9368. o Minor bugfixes (compilation):
  9369. - Build with --enable-systemd correctly when libsystemd is
  9370. installed, but systemd is not. Fixes bug 16164; bugfix on
  9371. 0.2.6.3-alpha. Patch from Peter Palfrader.
  9372. o Minor bugfixes (Linux seccomp2 sandbox):
  9373. - Fix sandboxing to work when running as a relaymby renaming of
  9374. secret_id_key, and allowing the eventfd2 and futex syscalls. Fixes
  9375. bug 16244; bugfix on 0.2.6.1-alpha. Patch by Peter Palfrader.
  9376. - Allow systemd connections to work with the Linux seccomp2 sandbox
  9377. code. Fixes bug 16212; bugfix on 0.2.6.2-alpha. Patch by
  9378. Peter Palfrader.
  9379. o Minor bugfixes (tests):
  9380. - Fix a crash in the unit tests when built with MSVC2013. Fixes bug
  9381. 16030; bugfix on 0.2.6.2-alpha. Patch from "NewEraCracker".
  9382. Changes in version 0.2.6.8 - 2015-05-21
  9383. Tor 0.2.6.8 fixes a bit of dodgy code in parsing INTRODUCE2 cells, and
  9384. fixes an authority-side bug in assigning the HSDir flag. All directory
  9385. authorities should upgrade.
  9386. o Major bugfixes (hidden services, backport from 0.2.7.1-alpha):
  9387. - Revert commit that made directory authorities assign the HSDir
  9388. flag to relays without a DirPort; this was bad because such relays
  9389. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  9390. on 0.2.6.3-alpha.
  9391. o Minor bugfixes (hidden service, backport from 0.2.7.1-alpha):
  9392. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  9393. a client authorized hidden service. Fixes bug 15823; bugfix
  9394. on 0.2.1.6-alpha.
  9395. o Minor features (geoip):
  9396. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  9397. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  9398. Country database.
  9399. Changes in version 0.2.7.1-alpha - 2015-05-12
  9400. Tor 0.2.7.1-alpha is the first alpha release in its series. It
  9401. includes numerous small features and bugfixes against previous Tor
  9402. versions, and numerous small infrastructure improvements. The most
  9403. notable features are several new ways for controllers to interact with
  9404. the hidden services subsystem.
  9405. o New system requirements:
  9406. - Tor no longer includes workarounds to support Libevent versions
  9407. before 1.3e. Libevent 2.0 or later is recommended. Closes
  9408. ticket 15248.
  9409. o Major features (controller):
  9410. - Add the ADD_ONION and DEL_ONION commands that allow the creation
  9411. and management of hidden services via the controller. Closes
  9412. ticket 6411.
  9413. - New "GETINFO onions/current" and "GETINFO onions/detached"
  9414. commands to get information about hidden services created via the
  9415. controller. Part of ticket 6411.
  9416. - New HSFETCH command to launch a request for a hidden service
  9417. descriptor. Closes ticket 14847.
  9418. - New HSPOST command to upload a hidden service descriptor. Closes
  9419. ticket 3523. Patch by "DonnchaC".
  9420. o Major bugfixes (hidden services):
  9421. - Revert commit that made directory authorities assign the HSDir
  9422. flag to relays without a DirPort; this was bad because such relays
  9423. can't handle BEGIN_DIR cells. Fixes bug 15850; bugfix
  9424. on 0.2.6.3-alpha.
  9425. o Minor features (clock-jump tolerance):
  9426. - Recover better when our clock jumps back many hours, like might
  9427. happen for Tails or Whonix users who start with a very wrong
  9428. hardware clock, use Tor to discover a more accurate time, and then
  9429. fix their clock. Resolves part of ticket 8766.
  9430. o Minor features (command-line interface):
  9431. - Make --hash-password imply --hush to prevent unnecessary noise.
  9432. Closes ticket 15542. Patch from "cypherpunks".
  9433. - Print a warning whenever we find a relative file path being used
  9434. as torrc option. Resolves issue 14018.
  9435. o Minor features (controller):
  9436. - Add DirAuthority lines for default directory authorities to the
  9437. output of the "GETINFO config/defaults" command if not already
  9438. present. Implements ticket 14840.
  9439. - Controllers can now use "GETINFO hs/client/desc/id/..." to
  9440. retrieve items from the client's hidden service descriptor cache.
  9441. Closes ticket 14845.
  9442. - Implement a new controller command "GETINFO status/fresh-relay-
  9443. descs" to fetch a descriptor/extrainfo pair that was generated on
  9444. demand just for the controller's use. Implements ticket 14784.
  9445. o Minor features (DoS-resistance):
  9446. - Make it harder for attackers to overload hidden services with
  9447. introductions, by blocking multiple introduction requests on the
  9448. same circuit. Resolves ticket 15515.
  9449. o Minor features (geoip):
  9450. - Update geoip to the April 8 2015 Maxmind GeoLite2 Country database.
  9451. - Update geoip6 to the April 8 2015 Maxmind GeoLite2
  9452. Country database.
  9453. o Minor features (HS popularity countermeasure):
  9454. - To avoid leaking HS popularity, don't cycle the introduction point
  9455. when we've handled a fixed number of INTRODUCE2 cells but instead
  9456. cycle it when a random number of introductions is reached, thus
  9457. making it more difficult for an attacker to find out the amount of
  9458. clients that have used the introduction point for a specific HS.
  9459. Closes ticket 15745.
  9460. o Minor features (logging):
  9461. - Include the Tor version in all LD_BUG log messages, since people
  9462. tend to cut and paste those into the bugtracker. Implements
  9463. ticket 15026.
  9464. o Minor features (pluggable transports):
  9465. - When launching managed pluggable transports on Linux systems,
  9466. attempt to have the kernel deliver a SIGTERM on tor exit if the
  9467. pluggable transport process is still running. Resolves
  9468. ticket 15471.
  9469. - When launching managed pluggable transports, setup a valid open
  9470. stdin in the child process that can be used to detect if tor has
  9471. terminated. The "TOR_PT_EXIT_ON_STDIN_CLOSE" environment variable
  9472. can be used by implementations to detect this new behavior.
  9473. Resolves ticket 15435.
  9474. o Minor features (testing):
  9475. - Add a test to verify that the compiler does not eliminate our
  9476. memwipe() implementation. Closes ticket 15377.
  9477. - Add make rule `check-changes` to verify the format of changes
  9478. files. Closes ticket 15180.
  9479. - Add unit tests for control_event_is_interesting(). Add a compile-
  9480. time check that the number of events doesn't exceed the capacity
  9481. of control_event_t.event_mask. Closes ticket 15431, checks for
  9482. bugs similar to 13085. Patch by "teor".
  9483. - Command-line argument tests moved to Stem. Resolves ticket 14806.
  9484. - Integrate the ntor, backtrace, and zero-length keys tests into the
  9485. automake test suite. Closes ticket 15344.
  9486. - Remove assertions during builds to determine Tor's test coverage.
  9487. We don't want to trigger these even in assertions, so including
  9488. them artificially makes our branch coverage look worse than it is.
  9489. This patch provides the new test-stem-full and coverage-html-full
  9490. configure options. Implements ticket 15400.
  9491. o Minor bugfixes (build):
  9492. - Improve out-of-tree builds by making non-standard rules work and
  9493. clean up additional files and directories. Fixes bug 15053; bugfix
  9494. on 0.2.7.0-alpha.
  9495. o Minor bugfixes (command-line interface):
  9496. - When "--quiet" is provided along with "--validate-config", do not
  9497. write anything to stdout on success. Fixes bug 14994; bugfix
  9498. on 0.2.3.3-alpha.
  9499. - When complaining about bad arguments to "--dump-config", use
  9500. stderr, not stdout.
  9501. o Minor bugfixes (configuration, unit tests):
  9502. - Only add the default fallback directories when the DirAuthorities,
  9503. AlternateDirAuthority, and FallbackDir directory config options
  9504. are set to their defaults. The default fallback directory list is
  9505. currently empty, this fix will only change tor's behavior when it
  9506. has default fallback directories. Includes unit tests for
  9507. consider_adding_dir_servers(). Fixes bug 15642; bugfix on
  9508. 90f6071d8dc0 in 0.2.4.7-alpha. Patch by "teor".
  9509. o Minor bugfixes (correctness):
  9510. - For correctness, avoid modifying a constant string in
  9511. handle_control_postdescriptor. Fixes bug 15546; bugfix
  9512. on 0.1.1.16-rc.
  9513. - Remove side-effects from tor_assert() calls. This was harmless,
  9514. because we never disable assertions, but it is bad style and
  9515. unnecessary. Fixes bug 15211; bugfix on 0.2.5.5, 0.2.2.36,
  9516. and 0.2.0.10.
  9517. o Minor bugfixes (hidden service):
  9518. - Fix an out-of-bounds read when parsing invalid INTRODUCE2 cells on
  9519. a client authorized hidden service. Fixes bug 15823; bugfix
  9520. on 0.2.1.6-alpha.
  9521. - Remove an extraneous newline character from the end of hidden
  9522. service descriptors. Fixes bug 15296; bugfix on 0.2.0.10-alpha.
  9523. o Minor bugfixes (interface):
  9524. - Print usage information for --dump-config when it is used without
  9525. an argument. Also, fix the error message to use different wording
  9526. and add newline at the end. Fixes bug 15541; bugfix
  9527. on 0.2.5.1-alpha.
  9528. o Minor bugfixes (logs):
  9529. - When building Tor under Clang, do not include an extra set of
  9530. parentheses in log messages that include function names. Fixes bug
  9531. 15269; bugfix on every released version of Tor when compiled with
  9532. recent enough Clang.
  9533. o Minor bugfixes (network):
  9534. - When attempting to use fallback technique for network interface
  9535. lookup, disregard loopback and multicast addresses since they are
  9536. unsuitable for public communications.
  9537. o Minor bugfixes (statistics):
  9538. - Disregard the ConnDirectionStatistics torrc options when Tor is
  9539. not a relay since in that mode of operation no sensible data is
  9540. being collected and because Tor might run into measurement hiccups
  9541. when running as a client for some time, then becoming a relay.
  9542. Fixes bug 15604; bugfix on 0.2.2.35.
  9543. o Minor bugfixes (test networks):
  9544. - When self-testing reachability, use ExtendAllowPrivateAddresses to
  9545. determine if local/private addresses imply reachability. The
  9546. previous fix used TestingTorNetwork, which implies
  9547. ExtendAllowPrivateAddresses, but this excluded rare configurations
  9548. where ExtendAllowPrivateAddresses is set but TestingTorNetwork is
  9549. not. Fixes bug 15771; bugfix on 0.2.6.1-alpha. Patch by "teor",
  9550. issue discovered by CJ Ess.
  9551. o Minor bugfixes (testing):
  9552. - Check for matching value in server response in ntor_ref.py. Fixes
  9553. bug 15591; bugfix on 0.2.4.8-alpha. Reported and fixed
  9554. by "joelanders".
  9555. - Set the severity correctly when testing
  9556. get_interface_addresses_ifaddrs() and
  9557. get_interface_addresses_win32(), so that the tests fail gracefully
  9558. instead of triggering an assertion. Fixes bug 15759; bugfix on
  9559. 0.2.6.3-alpha. Reported by Nicolas Derive.
  9560. o Code simplification and refactoring:
  9561. - Move the hacky fallback code out of get_interface_address6() into
  9562. separate function and get it covered with unit-tests. Resolves
  9563. ticket 14710.
  9564. - Refactor hidden service client-side cache lookup to intelligently
  9565. report its various failure cases, and disentangle failure cases
  9566. involving a lack of introduction points. Closes ticket 14391.
  9567. - Use our own Base64 encoder instead of OpenSSL's, to allow more
  9568. control over the output. Part of ticket 15652.
  9569. o Documentation:
  9570. - Improve the descriptions of statistics-related torrc options in
  9571. the manpage to describe rationale and possible uses cases. Fixes
  9572. issue 15550.
  9573. - Improve the layout and formatting of ./configure --help messages.
  9574. Closes ticket 15024. Patch from "cypherpunks".
  9575. - Standardize on the term "server descriptor" in the manual page.
  9576. Previously, we had used "router descriptor", "server descriptor",
  9577. and "relay descriptor" interchangeably. Part of ticket 14987.
  9578. o Removed code:
  9579. - Remove `USE_OPENSSL_BASE64` and the corresponding fallback code
  9580. and always use the internal Base64 decoder. The internal decoder
  9581. has been part of tor since 0.2.0.10-alpha, and no one should
  9582. be using the OpenSSL one. Part of ticket 15652.
  9583. - Remove the 'tor_strclear()' function; use memwipe() instead.
  9584. Closes ticket 14922.
  9585. o Removed features:
  9586. - Remove the (seldom-used) DynamicDHGroups feature. For anti-
  9587. fingerprinting we now recommend pluggable transports; for forward-
  9588. secrecy in TLS, we now use the P-256 group. Closes ticket 13736.
  9589. - Remove the undocumented "--digests" command-line option. It
  9590. complicated our build process, caused subtle build issues on
  9591. multiple platforms, and is now redundant since we started
  9592. including git version identifiers. Closes ticket 14742.
  9593. - Tor no longer contains checks for ancient directory cache versions
  9594. that didn't know about microdescriptors.
  9595. - Tor no longer contains workarounds for stat files generated by
  9596. super-old versions of Tor that didn't choose guards sensibly.
  9597. Changes in version 0.2.4.27 - 2015-04-06
  9598. Tor 0.2.4.27 backports two fixes from 0.2.6.7 for security issues that
  9599. could be used by an attacker to crash hidden services, or crash clients
  9600. visiting hidden services. Hidden services should upgrade as soon as
  9601. possible; clients should upgrade whenever packages become available.
  9602. This release also backports a simple improvement to make hidden
  9603. services a bit less vulnerable to denial-of-service attacks.
  9604. o Major bugfixes (security, hidden service):
  9605. - Fix an issue that would allow a malicious client to trigger an
  9606. assertion failure and halt a hidden service. Fixes bug 15600;
  9607. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  9608. - Fix a bug that could cause a client to crash with an assertion
  9609. failure when parsing a malformed hidden service descriptor. Fixes
  9610. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  9611. o Minor features (DoS-resistance, hidden service):
  9612. - Introduction points no longer allow multiple INTRODUCE1 cells to
  9613. arrive on the same circuit. This should make it more expensive for
  9614. attackers to overwhelm hidden services with introductions.
  9615. Resolves ticket 15515.
  9616. Changes in version 0.2.5.12 - 2015-04-06
  9617. Tor 0.2.5.12 backports two fixes from 0.2.6.7 for security issues that
  9618. could be used by an attacker to crash hidden services, or crash clients
  9619. visiting hidden services. Hidden services should upgrade as soon as
  9620. possible; clients should upgrade whenever packages become available.
  9621. This release also backports a simple improvement to make hidden
  9622. services a bit less vulnerable to denial-of-service attacks.
  9623. o Major bugfixes (security, hidden service):
  9624. - Fix an issue that would allow a malicious client to trigger an
  9625. assertion failure and halt a hidden service. Fixes bug 15600;
  9626. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  9627. - Fix a bug that could cause a client to crash with an assertion
  9628. failure when parsing a malformed hidden service descriptor. Fixes
  9629. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  9630. o Minor features (DoS-resistance, hidden service):
  9631. - Introduction points no longer allow multiple INTRODUCE1 cells to
  9632. arrive on the same circuit. This should make it more expensive for
  9633. attackers to overwhelm hidden services with introductions.
  9634. Resolves ticket 15515.
  9635. Changes in version 0.2.6.7 - 2015-04-06
  9636. Tor 0.2.6.7 fixes two security issues that could be used by an
  9637. attacker to crash hidden services, or crash clients visiting hidden
  9638. services. Hidden services should upgrade as soon as possible; clients
  9639. should upgrade whenever packages become available.
  9640. This release also contains two simple improvements to make hidden
  9641. services a bit less vulnerable to denial-of-service attacks.
  9642. o Major bugfixes (security, hidden service):
  9643. - Fix an issue that would allow a malicious client to trigger an
  9644. assertion failure and halt a hidden service. Fixes bug 15600;
  9645. bugfix on 0.2.1.6-alpha. Reported by "disgleirio".
  9646. - Fix a bug that could cause a client to crash with an assertion
  9647. failure when parsing a malformed hidden service descriptor. Fixes
  9648. bug 15601; bugfix on 0.2.1.5-alpha. Found by "DonnchaC".
  9649. o Minor features (DoS-resistance, hidden service):
  9650. - Introduction points no longer allow multiple INTRODUCE1 cells to
  9651. arrive on the same circuit. This should make it more expensive for
  9652. attackers to overwhelm hidden services with introductions.
  9653. Resolves ticket 15515.
  9654. - Decrease the amount of reattempts that a hidden service performs
  9655. when its rendezvous circuits fail. This reduces the computational
  9656. cost for running a hidden service under heavy load. Resolves
  9657. ticket 11447.
  9658. Changes in version 0.2.6.6 - 2015-03-24
  9659. Tor 0.2.6.6 is the first stable release in the 0.2.6 series.
  9660. It adds numerous safety, security, correctness, and performance
  9661. improvements. Client programs can be configured to use more kinds of
  9662. sockets, AutomapHosts works better, the multithreading backend is
  9663. improved, cell transmission is refactored, test coverage is much
  9664. higher, more denial-of-service attacks are handled, guard selection is
  9665. improved to handle long-term guards better, pluggable transports
  9666. should work a bit better, and some annoying hidden service performance
  9667. bugs should be addressed.
  9668. o Minor bugfixes (portability):
  9669. - Use the correct datatype in the SipHash-2-4 function to prevent
  9670. compilers from assuming any sort of alignment. Fixes bug 15436;
  9671. bugfix on 0.2.5.3-alpha.
  9672. Changes in version 0.2.6.5-rc - 2015-03-18
  9673. Tor 0.2.6.5-rc is the second and (hopefully) last release candidate in
  9674. the 0.2.6. It fixes a small number of bugs found in 0.2.6.4-rc.
  9675. o Major bugfixes (client):
  9676. - Avoid crashing when making certain configuration option changes on
  9677. clients. Fixes bug 15245; bugfix on 0.2.6.3-alpha. Reported
  9678. by "anonym".
  9679. o Major bugfixes (pluggable transports):
  9680. - Initialize the extended OR Port authentication cookie before
  9681. launching pluggable transports. This prevents a race condition
  9682. that occurred when server-side pluggable transports would cache the
  9683. authentication cookie before it has been (re)generated. Fixes bug
  9684. 15240; bugfix on 0.2.5.1-alpha.
  9685. o Major bugfixes (portability):
  9686. - Do not crash on startup when running on Solaris. Fixes a bug
  9687. related to our fix for 9495; bugfix on 0.2.6.1-alpha. Reported
  9688. by "ruebezahl".
  9689. o Minor features (heartbeat):
  9690. - On relays, report how many connections we negotiated using each
  9691. version of the Tor link protocols. This information will let us
  9692. know if removing support for very old versions of the Tor
  9693. protocols is harming the network. Closes ticket 15212.
  9694. o Code simplification and refactoring:
  9695. - Refactor main loop to extract the 'loop' part. This makes it
  9696. easier to run Tor under Shadow. Closes ticket 15176.
  9697. Changes in version 0.2.5.11 - 2015-03-17
  9698. Tor 0.2.5.11 is the second stable release in the 0.2.5 series.
  9699. It backports several bugfixes from the 0.2.6 branch, including a
  9700. couple of medium-level security fixes for relays and exit nodes.
  9701. It also updates the list of directory authorities.
  9702. o Directory authority changes:
  9703. - Remove turtles as a directory authority.
  9704. - Add longclaw as a new (v3) directory authority. This implements
  9705. ticket 13296. This keeps the directory authority count at 9.
  9706. - The directory authority Faravahar has a new IP address. This
  9707. closes ticket 14487.
  9708. o Major bugfixes (crash, OSX, security):
  9709. - Fix a remote denial-of-service opportunity caused by a bug in
  9710. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  9711. in OSX 10.9.
  9712. o Major bugfixes (relay, stability, possible security):
  9713. - Fix a bug that could lead to a relay crashing with an assertion
  9714. failure if a buffer of exactly the wrong layout was passed to
  9715. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  9716. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  9717. - Do not assert if the 'data' pointer on a buffer is advanced to the
  9718. very end of the buffer; log a BUG message instead. Only assert if
  9719. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  9720. o Major bugfixes (exit node stability):
  9721. - Fix an assertion failure that could occur under high DNS load.
  9722. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  9723. diagnosed and fixed by "cypherpunks".
  9724. o Major bugfixes (Linux seccomp2 sandbox):
  9725. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  9726. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  9727. 0.2.5.1-alpha. Patch from "sanic".
  9728. o Minor features (controller):
  9729. - New "GETINFO bw-event-cache" to get information about recent
  9730. bandwidth events. Closes ticket 14128. Useful for controllers to
  9731. get recent bandwidth history after the fix for ticket 13988.
  9732. o Minor features (geoip):
  9733. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  9734. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  9735. Country database.
  9736. o Minor bugfixes (client, automapping):
  9737. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  9738. no value follows the option. Fixes bug 14142; bugfix on
  9739. 0.2.4.7-alpha. Patch by "teor".
  9740. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  9741. 14195; bugfix on 0.1.0.1-rc.
  9742. o Minor bugfixes (compilation):
  9743. - Build without warnings with the stock OpenSSL srtp.h header, which
  9744. has a duplicate declaration of SSL_get_selected_srtp_profile().
  9745. Fixes bug 14220; this is OpenSSL's bug, not ours.
  9746. o Minor bugfixes (directory authority):
  9747. - Allow directory authorities to fetch more data from one another if
  9748. they find themselves missing lots of votes. Previously, they had
  9749. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  9750. bugfix on 0.1.2.5-alpha.
  9751. - Enlarge the buffer to read bwauth generated files to avoid an
  9752. issue when parsing the file in dirserv_read_measured_bandwidths().
  9753. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  9754. o Minor bugfixes (statistics):
  9755. - Increase period over which bandwidth observations are aggregated
  9756. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  9757. o Minor bugfixes (preventative security, C safety):
  9758. - When reading a hexadecimal, base-32, or base-64 encoded value from
  9759. a string, always overwrite the whole output buffer. This prevents
  9760. some bugs where we would look at (but fortunately, not reveal)
  9761. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  9762. versions of Tor.
  9763. Changes in version 0.2.4.26 - 2015-03-17
  9764. Tor 0.2.4.26 includes an updated list of directory authorities. It
  9765. also backports a couple of stability and security bugfixes from 0.2.5
  9766. and beyond.
  9767. o Directory authority changes:
  9768. - Remove turtles as a directory authority.
  9769. - Add longclaw as a new (v3) directory authority. This implements
  9770. ticket 13296. This keeps the directory authority count at 9.
  9771. - The directory authority Faravahar has a new IP address. This
  9772. closes ticket 14487.
  9773. o Major bugfixes (exit node stability, also in 0.2.6.3-alpha):
  9774. - Fix an assertion failure that could occur under high DNS load.
  9775. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  9776. diagnosed and fixed by "cypherpunks".
  9777. o Major bugfixes (relay, stability, possible security, also in 0.2.6.4-rc):
  9778. - Fix a bug that could lead to a relay crashing with an assertion
  9779. failure if a buffer of exactly the wrong layout was passed to
  9780. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  9781. 0.2.0.10-alpha. Patch from 'cypherpunks'.
  9782. - Do not assert if the 'data' pointer on a buffer is advanced to the
  9783. very end of the buffer; log a BUG message instead. Only assert if
  9784. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  9785. o Minor features (geoip):
  9786. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  9787. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  9788. Country database.
  9789. Changes in version 0.2.6.4-rc - 2015-03-09
  9790. Tor 0.2.6.4-alpha fixes an issue in the directory code that an
  9791. attacker might be able to use in order to crash certain Tor
  9792. directories. It also resolves some minor issues left over from, or
  9793. introduced in, Tor 0.2.6.3-alpha or earlier.
  9794. o Major bugfixes (crash, OSX, security):
  9795. - Fix a remote denial-of-service opportunity caused by a bug in
  9796. OSX's _strlcat_chk() function. Fixes bug 15205; bug first appeared
  9797. in OSX 10.9.
  9798. o Major bugfixes (relay, stability, possible security):
  9799. - Fix a bug that could lead to a relay crashing with an assertion
  9800. failure if a buffer of exactly the wrong layout is passed to
  9801. buf_pullup() at exactly the wrong time. Fixes bug 15083; bugfix on
  9802. 0.2.0.10-alpha. Patch from "cypherpunks".
  9803. - Do not assert if the 'data' pointer on a buffer is advanced to the
  9804. very end of the buffer; log a BUG message instead. Only assert if
  9805. it is past that point. Fixes bug 15083; bugfix on 0.2.0.10-alpha.
  9806. o Major bugfixes (FreeBSD IPFW transparent proxy):
  9807. - Fix address detection with FreeBSD transparent proxies, when
  9808. "TransProxyType ipfw" is in use. Fixes bug 15064; bugfix
  9809. on 0.2.5.4-alpha.
  9810. o Major bugfixes (Linux seccomp2 sandbox):
  9811. - Pass IPPROTO_TCP rather than 0 to socket(), so that the Linux
  9812. seccomp2 sandbox doesn't fail. Fixes bug 14989; bugfix
  9813. on 0.2.6.3-alpha.
  9814. - Allow AF_UNIX hidden services to be used with the seccomp2
  9815. sandbox. Fixes bug 15003; bugfix on 0.2.6.3-alpha.
  9816. - Upon receiving sighup with the seccomp2 sandbox enabled, do not
  9817. crash during attempts to call wait4. Fixes bug 15088; bugfix on
  9818. 0.2.5.1-alpha. Patch from "sanic".
  9819. o Minor features (controller):
  9820. - Messages about problems in the bootstrap process now include
  9821. information about the server we were trying to connect to when we
  9822. noticed the problem. Closes ticket 15006.
  9823. o Minor features (geoip):
  9824. - Update geoip to the March 3 2015 Maxmind GeoLite2 Country database.
  9825. - Update geoip6 to the March 3 2015 Maxmind GeoLite2
  9826. Country database.
  9827. o Minor features (logs):
  9828. - Quiet some log messages in the heartbeat and at startup. Closes
  9829. ticket 14950.
  9830. o Minor bugfixes (certificate handling):
  9831. - If an authority operator accidentally makes a signing certificate
  9832. with a future publication time, do not discard its real signing
  9833. certificates. Fixes bug 11457; bugfix on 0.2.0.3-alpha.
  9834. - Remove any old authority certificates that have been superseded
  9835. for at least two days. Previously, we would keep superseded
  9836. certificates until they expired, if they were published close in
  9837. time to the certificate that superseded them. Fixes bug 11454;
  9838. bugfix on 0.2.1.8-alpha.
  9839. o Minor bugfixes (compilation):
  9840. - Fix a compilation warning on s390. Fixes bug 14988; bugfix
  9841. on 0.2.5.2-alpha.
  9842. - Fix a compilation warning on FreeBSD. Fixes bug 15151; bugfix
  9843. on 0.2.6.2-alpha.
  9844. o Minor bugfixes (testing):
  9845. - Fix endianness issues in unit test for resolve_my_address() to
  9846. have it pass on big endian systems. Fixes bug 14980; bugfix on
  9847. Tor 0.2.6.3-alpha.
  9848. - Avoid a side-effect in a tor_assert() in the unit tests. Fixes bug
  9849. 15188; bugfix on 0.1.2.3-alpha. Patch from Tom van der Woerdt.
  9850. - When running the new 'make test-stem' target, use the configured
  9851. python binary. Fixes bug 15037; bugfix on 0.2.6.3-alpha. Patch
  9852. from "cypherpunks".
  9853. - When running the zero-length-keys tests, do not use the default
  9854. torrc file. Fixes bug 15033; bugfix on 0.2.6.3-alpha. Reported
  9855. by "reezer".
  9856. o Directory authority IP change:
  9857. - The directory authority Faravahar has a new IP address. This
  9858. closes ticket 14487.
  9859. o Removed code:
  9860. - Remove some lingering dead code that once supported mempools.
  9861. Mempools were disabled by default in 0.2.5, and removed entirely
  9862. in 0.2.6.3-alpha. Closes more of ticket 14848; patch
  9863. by "cypherpunks".
  9864. Changes in version 0.2.6.3-alpha - 2015-02-19
  9865. Tor 0.2.6.3-alpha is the third (and hopefully final) alpha release in
  9866. the 0.2.6.x series. It introduces support for more kinds of sockets,
  9867. makes it harder to accidentally run an exit, improves our
  9868. multithreading backend, incorporates several fixes for the
  9869. AutomapHostsOnResolve option, and fixes numerous other bugs besides.
  9870. If no major regressions or security holes are found in this version,
  9871. the next version will be a release candidate.
  9872. o Deprecated versions:
  9873. - Tor relays older than 0.2.4.18-rc are no longer allowed to
  9874. advertise themselves on the network. Closes ticket 13555.
  9875. o Major features (security, unix domain sockets):
  9876. - Allow SocksPort to be an AF_UNIX Unix Domain Socket. Now high risk
  9877. applications can reach Tor without having to create AF_INET or
  9878. AF_INET6 sockets, meaning they can completely disable their
  9879. ability to make non-Tor network connections. To create a socket of
  9880. this type, use "SocksPort unix:/path/to/socket". Implements
  9881. ticket 12585.
  9882. - Support mapping hidden service virtual ports to AF_UNIX sockets.
  9883. The syntax is "HiddenServicePort 80 unix:/path/to/socket".
  9884. Implements ticket 11485.
  9885. o Major features (changed defaults):
  9886. - Prevent relay operators from unintentionally running exits: When a
  9887. relay is configured as an exit node, we now warn the user unless
  9888. the "ExitRelay" option is set to 1. We warn even more loudly if
  9889. the relay is configured with the default exit policy, since this
  9890. can indicate accidental misconfiguration. Setting "ExitRelay 0"
  9891. stops Tor from running as an exit relay. Closes ticket 10067.
  9892. o Major features (directory system):
  9893. - When downloading server- or microdescriptors from a directory
  9894. server, we no longer launch multiple simultaneous requests to the
  9895. same server. This reduces load on the directory servers,
  9896. especially when directory guards are in use. Closes ticket 9969.
  9897. - When downloading server- or microdescriptors over a tunneled
  9898. connection, do not limit the length of our requests to what the
  9899. Squid proxy is willing to handle. Part of ticket 9969.
  9900. - Authorities can now vote on the correct digests and latest
  9901. versions for different software packages. This allows packages
  9902. that include Tor to use the Tor authority system as a way to get
  9903. notified of updates and their correct digests. Implements proposal
  9904. 227. Closes ticket 10395.
  9905. o Major features (guards):
  9906. - Introduce the Guardfraction feature to improves load balancing on
  9907. guard nodes. Specifically, it aims to reduce the traffic gap that
  9908. guard nodes experience when they first get the Guard flag. This is
  9909. a required step if we want to increase the guard lifetime to 9
  9910. months or greater. Closes ticket 9321.
  9911. o Major features (performance):
  9912. - Make the CPU worker implementation more efficient by avoiding the
  9913. kernel and lengthening pipelines. The original implementation used
  9914. sockets to transfer data from the main thread to the workers, and
  9915. didn't allow any thread to be assigned more than a single piece of
  9916. work at once. The new implementation avoids communications
  9917. overhead by making requests in shared memory, avoiding kernel IO
  9918. where possible, and keeping more requests in flight at once.
  9919. Implements ticket 9682.
  9920. o Major features (relay):
  9921. - Raise the minimum acceptable configured bandwidth rate for bridges
  9922. to 50 KiB/sec and for relays to 75 KiB/sec. (The old values were
  9923. 20 KiB/sec.) Closes ticket 13822.
  9924. o Major bugfixes (exit node stability):
  9925. - Fix an assertion failure that could occur under high DNS load.
  9926. Fixes bug 14129; bugfix on Tor 0.0.7rc1. Found by "jowr";
  9927. diagnosed and fixed by "cypherpunks".
  9928. o Major bugfixes (mixed relay-client operation):
  9929. - When running as a relay and client at the same time (not
  9930. recommended), if we decide not to use a new guard because we want
  9931. to retry older guards, only close the locally-originating circuits
  9932. passing through that guard. Previously we would close all the
  9933. circuits through that guard. Fixes bug 9819; bugfix on
  9934. 0.2.1.1-alpha. Reported by "skruffy".
  9935. o Minor features (build):
  9936. - New --disable-system-torrc compile-time option to prevent Tor from
  9937. looking for the system-wide torrc or torrc-defaults files.
  9938. Resolves ticket 13037.
  9939. o Minor features (controller):
  9940. - Include SOCKS_USERNAME and SOCKS_PASSWORD values in controller
  9941. events so controllers can observe circuit isolation inputs. Closes
  9942. ticket 8405.
  9943. - ControlPort now supports the unix:/path/to/socket syntax as an
  9944. alternative to the ControlSocket option, for consistency with
  9945. SocksPort and HiddenServicePort. Closes ticket 14451.
  9946. - New "GETINFO bw-event-cache" to get information about recent
  9947. bandwidth events. Closes ticket 14128. Useful for controllers to
  9948. get recent bandwidth history after the fix for ticket 13988.
  9949. o Minor features (Denial of service resistance):
  9950. - Count the total number of bytes used storing hidden service
  9951. descriptors against the value of MaxMemInQueues. If we're low on
  9952. memory, and more than 20% of our memory is used holding hidden
  9953. service descriptors, free them until no more than 10% of our
  9954. memory holds hidden service descriptors. Free the least recently
  9955. fetched descriptors first. Resolves ticket 13806.
  9956. - When we have recently been under memory pressure (over 3/4 of
  9957. MaxMemInQueues is allocated), then allocate smaller zlib objects
  9958. for small requests. Closes ticket 11791.
  9959. o Minor features (geoip):
  9960. - Update geoip and geoip6 files to the January 7 2015 Maxmind
  9961. GeoLite2 Country database.
  9962. o Minor features (guard nodes):
  9963. - Reduce the time delay before saving guard status to disk from 10
  9964. minutes to 30 seconds (or from one hour to 10 minutes if
  9965. AvoidDiskWrites is set). Closes ticket 12485.
  9966. o Minor features (hidden service):
  9967. - Make Sybil attacks against hidden services harder by changing the
  9968. minimum time required to get the HSDir flag from 25 hours up to 96
  9969. hours. Addresses ticket 14149.
  9970. - New option "HiddenServiceAllowUnknownPorts" to allow hidden
  9971. services to disable the anti-scanning feature introduced in
  9972. 0.2.6.2-alpha. With this option not set, a connection to an
  9973. unlisted port closes the circuit. With this option set, only a
  9974. RELAY_DONE cell is sent. Closes ticket 14084.
  9975. o Minor features (interface):
  9976. - Implement "-f -" command-line option to read torrc configuration
  9977. from standard input, if you don't want to store the torrc file in
  9978. the file system. Implements feature 13865.
  9979. o Minor features (logging):
  9980. - Add a count of unique clients to the bridge heartbeat message.
  9981. Resolves ticket 6852.
  9982. - Suppress "router info incompatible with extra info" message when
  9983. reading extrainfo documents from cache. (This message got loud
  9984. around when we closed bug 9812 in 0.2.6.2-alpha.) Closes
  9985. ticket 13762.
  9986. - Elevate hidden service authorized-client message from DEBUG to
  9987. INFO. Closes ticket 14015.
  9988. o Minor features (stability):
  9989. - Add assertions in our hash-table iteration code to check for
  9990. corrupted values that could cause infinite loops. Closes
  9991. ticket 11737.
  9992. o Minor features (systemd):
  9993. - Various improvements and modernizations in systemd hardening
  9994. support. Closes ticket 13805. Patch from Craig Andrews.
  9995. o Minor features (testing networks):
  9996. - Drop the minimum RendPostPeriod on a testing network to 5 seconds,
  9997. and the default on a testing network to 2 minutes. Drop the
  9998. MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but
  9999. keep the default on a testing network at 30 seconds. This reduces
  10000. HS bootstrap time to around 25 seconds. Also, change the default
  10001. time in test-network.sh to match. Closes ticket 13401. Patch
  10002. by "teor".
  10003. - Create TestingDirAuthVoteHSDir to correspond to
  10004. TestingDirAuthVoteExit/Guard. Ensures that authorities vote the
  10005. HSDir flag for the listed relays regardless of uptime or ORPort
  10006. connectivity. Respects the value of VoteOnHidServDirectoriesV2.
  10007. Partial implementation for ticket 14067. Patch by "teor".
  10008. o Minor features (tor2web mode):
  10009. - Introduce the config option Tor2webRendezvousPoints, which allows
  10010. clients in Tor2webMode to select a specific Rendezvous Point to be
  10011. used in HS circuits. This might allow better performance for
  10012. Tor2Web nodes. Implements ticket 12844.
  10013. o Minor bugfixes (client DNS):
  10014. - Report the correct cached DNS expiration times on SOCKS port or in
  10015. DNS replies. Previously, we would report everything as "never
  10016. expires." Fixes bug 14193; bugfix on 0.2.3.17-beta.
  10017. - Avoid a small memory leak when we find a cached answer for a
  10018. reverse DNS lookup in a client-side DNS cache. (Remember, client-
  10019. side DNS caching is off by default, and is not recommended.) Fixes
  10020. bug 14259; bugfix on 0.2.0.1-alpha.
  10021. o Minor bugfixes (client, automapping):
  10022. - Avoid crashing on torrc lines for VirtualAddrNetworkIPv[4|6] when
  10023. no value follows the option. Fixes bug 14142; bugfix on
  10024. 0.2.4.7-alpha. Patch by "teor".
  10025. - Fix a memory leak when using AutomapHostsOnResolve. Fixes bug
  10026. 14195; bugfix on 0.1.0.1-rc.
  10027. - Prevent changes to other options from removing the wildcard value
  10028. "." from "AutomapHostsSuffixes". Fixes bug 12509; bugfix
  10029. on 0.2.0.1-alpha.
  10030. - Allow MapAddress and AutomapHostsOnResolve to work together when
  10031. an address is mapped into another address type (like .onion) that
  10032. must be automapped at resolve time. Fixes bug 7555; bugfix
  10033. on 0.2.0.1-alpha.
  10034. o Minor bugfixes (client, bridges):
  10035. - When we are using bridges and we had a network connectivity
  10036. problem, only retry connecting to our currently configured
  10037. bridges, not all bridges we know about and remember using. Fixes
  10038. bug 14216; bugfix on 0.2.2.17-alpha.
  10039. o Minor bugfixes (client, IPv6):
  10040. - Reject socks requests to literal IPv6 addresses when IPv6Traffic
  10041. flag is not set; and not because the NoIPv4Traffic flag was set.
  10042. Previously we'd looked at the NoIPv4Traffic flag for both types of
  10043. literal addresses. Fixes bug 14280; bugfix on 0.2.4.7-alpha.
  10044. o Minor bugfixes (compilation):
  10045. - The address of an array in the middle of a structure will always
  10046. be non-NULL. clang recognises this and complains. Disable the
  10047. tautologous and redundant check to silence this warning. Fixes bug
  10048. 14001; bugfix on 0.2.1.2-alpha.
  10049. - Avoid warnings when building with systemd 209 or later. Fixes bug
  10050. 14072; bugfix on 0.2.6.2-alpha. Patch from "h.venev".
  10051. - Compile correctly with (unreleased) OpenSSL 1.1.0 headers.
  10052. Addresses ticket 14188.
  10053. - Build without warnings with the stock OpenSSL srtp.h header, which
  10054. has a duplicate declaration of SSL_get_selected_srtp_profile().
  10055. Fixes bug 14220; this is OpenSSL's bug, not ours.
  10056. - Do not compile any code related to Tor2Web mode when Tor2Web mode
  10057. is not enabled at compile time. Previously, this code was included
  10058. in a disabled state. See discussion on ticket 12844.
  10059. - Remove the --disable-threads configure option again. It was
  10060. accidentally partially reintroduced in 29ac883606d6d. Fixes bug
  10061. 14819; bugfix on 0.2.6.2-alpha.
  10062. o Minor bugfixes (controller):
  10063. - Report "down" in response to the "GETINFO entry-guards" command
  10064. when relays are down with an unreachable_since value. Previously,
  10065. we would report "up". Fixes bug 14184; bugfix on 0.1.2.2-alpha.
  10066. - Avoid crashing on a malformed EXTENDCIRCUIT command. Fixes bug
  10067. 14116; bugfix on 0.2.2.9-alpha.
  10068. - Add a code for the END_CIRC_REASON_IP_NOW_REDUNDANT circuit close
  10069. reason. Fixes bug 14207; bugfix on 0.2.6.2-alpha.
  10070. o Minor bugfixes (directory authority):
  10071. - Allow directory authorities to fetch more data from one another if
  10072. they find themselves missing lots of votes. Previously, they had
  10073. been bumping against the 10 MB queued data limit. Fixes bug 14261;
  10074. bugfix on 0.1.2.5-alpha.
  10075. - Do not attempt to download extrainfo documents which we will be
  10076. unable to validate with a matching server descriptor. Fixes bug
  10077. 13762; bugfix on 0.2.0.1-alpha.
  10078. - Fix a bug that was truncating AUTHDIR_NEWDESC events sent to the
  10079. control port. Fixes bug 14953; bugfix on 0.2.0.1-alpha.
  10080. - Enlarge the buffer to read bwauth generated files to avoid an
  10081. issue when parsing the file in dirserv_read_measured_bandwidths().
  10082. Fixes bug 14125; bugfix on 0.2.2.1-alpha.
  10083. o Minor bugfixes (file handling):
  10084. - Stop failing when key files are zero-length. Instead, generate new
  10085. keys, and overwrite the empty key files. Fixes bug 13111; bugfix
  10086. on all versions of Tor. Patch by "teor".
  10087. - Stop generating a fresh .old RSA onion key file when the .old file
  10088. is missing. Fixes part of 13111; bugfix on 0.0.6rc1.
  10089. - Avoid overwriting .old key files with empty key files.
  10090. - Skip loading zero-length extrainfo store, router store, stats,
  10091. state, and key files.
  10092. - Avoid crashing when trying to reload a torrc specified as a
  10093. relative path with RunAsDaemon turned on. Fixes bug 13397; bugfix
  10094. on 0.2.3.11-alpha.
  10095. o Minor bugfixes (hidden services):
  10096. - Close the introduction circuit when we have no more usable intro
  10097. points, instead of waiting for it to time out. This also ensures
  10098. that no follow-up HS descriptor fetch is triggered when the
  10099. circuit eventually times out. Fixes bug 14224; bugfix on 0.0.6.
  10100. - When fetching a hidden service descriptor for a down service that
  10101. was recently up, do not keep refetching until we try the same
  10102. replica twice in a row. Fixes bug 14219; bugfix on 0.2.0.10-alpha.
  10103. - Successfully launch Tor with a nonexistent hidden service
  10104. directory. Our fix for bug 13942 didn't catch this case. Fixes bug
  10105. 14106; bugfix on 0.2.6.2-alpha.
  10106. o Minor bugfixes (logging):
  10107. - Avoid crashing when there are more log domains than entries in
  10108. domain_list. Bugfix on 0.2.3.1-alpha.
  10109. - Add a string representation for LD_SCHED. Fixes bug 14740; bugfix
  10110. on 0.2.6.1-alpha.
  10111. - Don't log messages to stdout twice when starting up. Fixes bug
  10112. 13993; bugfix on 0.2.6.1-alpha.
  10113. o Minor bugfixes (parsing):
  10114. - Stop accepting milliseconds (or other junk) at the end of
  10115. descriptor publication times. Fixes bug 9286; bugfix on 0.0.2pre25.
  10116. - Support two-number and three-number version numbers correctly, in
  10117. case we change the Tor versioning system in the future. Fixes bug
  10118. 13661; bugfix on 0.0.8pre1.
  10119. o Minor bugfixes (path counting):
  10120. - When deciding whether the consensus lists any exit nodes, count
  10121. the number listed in the consensus, not the number we have
  10122. descriptors for. Fixes part of bug 14918; bugfix on 0.2.6.2-alpha.
  10123. - When deciding whether we have any exit nodes, only examine
  10124. ExitNodes when the ExitNodes option is actually set. Fixes part of
  10125. bug 14918; bugfix on 0.2.6.2-alpha.
  10126. - Get rid of redundant and possibly scary warnings that we are
  10127. missing directory information while we bootstrap. Fixes part of
  10128. bug 14918; bugfix on 0.2.6.2-alpha.
  10129. o Minor bugfixes (portability):
  10130. - Fix the ioctl()-based network interface lookup code so that it
  10131. will work on systems that have variable-length struct ifreq, for
  10132. example Mac OS X.
  10133. - Fix scheduler compilation on targets where char is unsigned. Fixes
  10134. bug 14764; bugfix on 0.2.6.2-alpha. Reported by Christian Kujau.
  10135. o Minor bugfixes (sandbox):
  10136. - Allow glibc fatal errors to be sent to stderr before Tor exits.
  10137. Previously, glibc would try to write them to /dev/tty, and the
  10138. sandbox would trap the call and make Tor exit prematurely. Fixes
  10139. bug 14759; bugfix on 0.2.5.1-alpha.
  10140. o Minor bugfixes (shutdown):
  10141. - When shutting down, always call event_del() on lingering read or
  10142. write events before freeing them. Otherwise, we risk double-frees
  10143. or read-after-frees in event_base_free(). Fixes bug 12985; bugfix
  10144. on 0.1.0.2-rc.
  10145. o Minor bugfixes (small memory leaks):
  10146. - Avoid leaking memory when using IPv6 virtual address mappings.
  10147. Fixes bug 14123; bugfix on 0.2.4.7-alpha. Patch by Tom van
  10148. der Woerdt.
  10149. o Minor bugfixes (statistics):
  10150. - Increase period over which bandwidth observations are aggregated
  10151. from 15 minutes to 4 hours. Fixes bug 13988; bugfix on 0.0.8pre1.
  10152. o Minor bugfixes (systemd support):
  10153. - Fix detection and operation of systemd watchdog. Fixes part of bug
  10154. 14141; bugfix on 0.2.6.2-alpha. Patch from Tomasz Torcz.
  10155. - Run correctly under systemd with the RunAsDaemon option set. Fixes
  10156. part of bug 14141; bugfix on 0.2.5.7-rc. Patch from Tomasz Torcz.
  10157. - Inform the systemd supervisor about more changes in the Tor
  10158. process status. Implements part of ticket 14141. Patch from
  10159. Tomasz Torcz.
  10160. - Cause the "--disable-systemd" option to actually disable systemd
  10161. support. Fixes bug 14350; bugfix on 0.2.6.2-alpha. Patch
  10162. from "blueness".
  10163. o Minor bugfixes (TLS):
  10164. - Check more thoroughly throughout the TLS code for possible
  10165. unlogged TLS errors. Possible diagnostic or fix for bug 13319.
  10166. o Minor bugfixes (transparent proxy):
  10167. - Use getsockname, not getsockopt, to retrieve the address for a
  10168. TPROXY-redirected connection. Fixes bug 13796; bugfix
  10169. on 0.2.5.2-alpha.
  10170. o Code simplification and refactoring:
  10171. - Move fields related to isolating and configuring client ports into
  10172. a shared structure. Previously, they were duplicated across
  10173. port_cfg_t, listener_connection_t, and edge_connection_t. Failure
  10174. to copy them correctly had been the cause of at least one bug in
  10175. the past. Closes ticket 8546.
  10176. - Refactor the get_interface_addresses_raw() doom-function into
  10177. multiple smaller and simpler subfunctions. Cover the resulting
  10178. subfunctions with unit-tests. Fixes a significant portion of
  10179. issue 12376.
  10180. - Remove workaround in dirserv_thinks_router_is_hs_dir() that was
  10181. only for version <= 0.2.2.24 which is now deprecated. Closes
  10182. ticket 14202.
  10183. - Remove a test for a long-defunct broken version-one
  10184. directory server.
  10185. o Documentation:
  10186. - Adding section on OpenBSD to our TUNING document. Thanks to mmcc
  10187. for writing the OpenBSD-specific tips. Resolves ticket 13702.
  10188. - Make the tor-resolve documentation match its help string and its
  10189. options. Resolves part of ticket 14325.
  10190. - Log a more useful error message from tor-resolve when failing to
  10191. look up a hidden service address. Resolves part of ticket 14325.
  10192. o Downgraded warnings:
  10193. - Don't warn when we've attempted to contact a relay using the wrong
  10194. ntor onion key. Closes ticket 9635.
  10195. o Removed features:
  10196. - To avoid confusion with the "ExitRelay" option, "ExitNode" is no
  10197. longer silently accepted as an alias for "ExitNodes".
  10198. - The --enable-mempool and --enable-buf-freelists options, which
  10199. were originally created to work around bad malloc implementations,
  10200. no longer exist. They were off-by-default in 0.2.5. Closes
  10201. ticket 14848.
  10202. o Testing:
  10203. - Make the checkdir/perms test complete successfully even if the
  10204. global umask is not 022. Fixes bug 14215; bugfix on 0.2.6.2-alpha.
  10205. - Test that tor does not fail when key files are zero-length. Check
  10206. that tor generates new keys, and overwrites the empty key files.
  10207. - Test that tor generates new keys when keys are missing
  10208. (existing behavior).
  10209. - Test that tor does not overwrite key files that already contain
  10210. data (existing behavior). Tests bug 13111. Patch by "teor".
  10211. - New "make test-stem" target to run stem integration tests.
  10212. Requires that the "STEM_SOURCE_DIR" environment variable be set.
  10213. Closes ticket 14107.
  10214. - Make the test_cmdline_args.py script work correctly on Windows.
  10215. Patch from Gisle Vanem.
  10216. - Move the slower unit tests into a new "./src/test/test-slow"
  10217. binary that can be run independently of the other tests. Closes
  10218. ticket 13243.
  10219. - Avoid undefined behavior when sampling huge values from the
  10220. Laplace distribution. This made unittests fail on Raspberry Pi.
  10221. Bug found by Device. Fixes bug 14090; bugfix on 0.2.6.2-alpha.
  10222. Changes in version 0.2.6.2-alpha - 2014-12-31
  10223. Tor 0.2.6.2-alpha is the second alpha release in the 0.2.6.x series.
  10224. It introduces a major new backend for deciding when to send cells on
  10225. channels, which should lead down the road to big performance
  10226. increases. It contains security and statistics features for better
  10227. work on hidden services, and numerous bugfixes.
  10228. This release contains many new unit tests, along with major
  10229. performance improvements for running testing networks using Chutney.
  10230. Thanks to a series of patches contributed by "teor", testing networks
  10231. should now bootstrap in seconds, rather than minutes.
  10232. o Major features (relay, infrastructure):
  10233. - Complete revision of the code that relays use to decide which cell
  10234. to send next. Formerly, we selected the best circuit to write on
  10235. each channel, but we didn't select among channels in any
  10236. sophisticated way. Now, we choose the best circuits globally from
  10237. among those whose channels are ready to deliver traffic.
  10238. This patch implements a new inter-cmux comparison API, a global
  10239. high/low watermark mechanism and a global scheduler loop for
  10240. transmission prioritization across all channels as well as among
  10241. circuits on one channel. This schedule is currently tuned to
  10242. (tolerantly) avoid making changes in network performance, but it
  10243. should form the basis for major circuit performance increases in
  10244. the future. Code by Andrea; tuning by Rob Jansen; implements
  10245. ticket 9262.
  10246. o Major features (hidden services):
  10247. - Make HS port scanning more difficult by immediately closing the
  10248. circuit when a user attempts to connect to a nonexistent port.
  10249. Closes ticket 13667.
  10250. - Add a HiddenServiceStatistics option that allows Tor relays to
  10251. gather and publish statistics about the overall size and volume of
  10252. hidden service usage. Specifically, when this option is turned on,
  10253. an HSDir will publish an approximate number of hidden services
  10254. that have published descriptors to it the past 24 hours. Also, if
  10255. a relay has acted as a hidden service rendezvous point, it will
  10256. publish the approximate amount of rendezvous cells it has relayed
  10257. the past 24 hours. The statistics themselves are obfuscated so
  10258. that the exact values cannot be derived. For more details see
  10259. proposal 238, "Better hidden service stats from Tor relays". This
  10260. feature is currently disabled by default. Implements feature 13192.
  10261. o Major bugfixes (client, automap):
  10262. - Repair automapping with IPv6 addresses. This automapping should
  10263. have worked previously, but one piece of debugging code that we
  10264. inserted to detect a regression actually caused the regression to
  10265. manifest itself again. Fixes bug 13811 and bug 12831; bugfix on
  10266. 0.2.4.7-alpha. Diagnosed and fixed by Francisco Blas
  10267. Izquierdo Riera.
  10268. o Major bugfixes (hidden services):
  10269. - When closing an introduction circuit that was opened in parallel
  10270. with others, don't mark the introduction point as unreachable.
  10271. Previously, the first successful connection to an introduction
  10272. point would make the other introduction points get marked as
  10273. having timed out. Fixes bug 13698; bugfix on 0.0.6rc2.
  10274. o Directory authority changes:
  10275. - Remove turtles as a directory authority.
  10276. - Add longclaw as a new (v3) directory authority. This implements
  10277. ticket 13296. This keeps the directory authority count at 9.
  10278. o Major removed features:
  10279. - Tor clients no longer support connecting to hidden services
  10280. running on Tor 0.2.2.x and earlier; the Support022HiddenServices
  10281. option has been removed. (There shouldn't be any hidden services
  10282. running these versions on the network.) Closes ticket 7803.
  10283. o Minor features (client):
  10284. - Validate hostnames in SOCKS5 requests more strictly. If SafeSocks
  10285. is enabled, reject requests with IP addresses as hostnames.
  10286. Resolves ticket 13315.
  10287. o Minor features (controller):
  10288. - Add a "SIGNAL HEARTBEAT" controller command that tells Tor to
  10289. write an unscheduled heartbeat message to the log. Implements
  10290. feature 9503.
  10291. o Minor features (geoip):
  10292. - Update geoip and geoip6 to the November 15 2014 Maxmind GeoLite2
  10293. Country database.
  10294. o Minor features (hidden services):
  10295. - When re-enabling the network, don't try to build introduction
  10296. circuits until we have successfully built a circuit. This makes
  10297. hidden services come up faster when the network is re-enabled.
  10298. Patch from "akwizgran". Closes ticket 13447.
  10299. - When we fail to retrieve a hidden service descriptor, send the
  10300. controller an "HS_DESC FAILED" controller event. Implements
  10301. feature 13212.
  10302. - New HiddenServiceDirGroupReadable option to cause hidden service
  10303. directories and hostname files to be created group-readable. Patch
  10304. from "anon", David Stainton, and "meejah". Closes ticket 11291.
  10305. o Minor features (systemd):
  10306. - Where supported, when running with systemd, report successful
  10307. startup to systemd. Part of ticket 11016. Patch by Michael Scherer.
  10308. - When running with systemd, support systemd watchdog messages. Part
  10309. of ticket 11016. Patch by Michael Scherer.
  10310. o Minor features (transparent proxy):
  10311. - Update the transparent proxy option checks to allow for both ipfw
  10312. and pf on OS X. Closes ticket 14002.
  10313. - Use the correct option when using IPv6 with transparent proxy
  10314. support on Linux. Resolves 13808. Patch by Francisco Blas
  10315. Izquierdo Riera.
  10316. o Minor bugfixes (preventative security, C safety):
  10317. - When reading a hexadecimal, base-32, or base-64 encoded value from
  10318. a string, always overwrite the whole output buffer. This prevents
  10319. some bugs where we would look at (but fortunately, not reveal)
  10320. uninitialized memory on the stack. Fixes bug 14013; bugfix on all
  10321. versions of Tor.
  10322. - Clear all memory targeted by tor_addr_{to,from}_sockaddr(), not
  10323. just the part that's used. This makes it harder for data leak bugs
  10324. to occur in the event of other programming failures. Resolves
  10325. ticket 14041.
  10326. o Minor bugfixes (client, microdescriptors):
  10327. - Use a full 256 bits of the SHA256 digest of a microdescriptor when
  10328. computing which microdescriptors to download. This keeps us from
  10329. erroneous download behavior if two microdescriptor digests ever
  10330. have the same first 160 bits. Fixes part of bug 13399; bugfix
  10331. on 0.2.3.1-alpha.
  10332. - Reset a router's status if its microdescriptor digest changes,
  10333. even if the first 160 bits remain the same. Fixes part of bug
  10334. 13399; bugfix on 0.2.3.1-alpha.
  10335. o Minor bugfixes (compilation):
  10336. - Silence clang warnings under --enable-expensive-hardening,
  10337. including implicit truncation of 64 bit values to 32 bit, const
  10338. char assignment to self, tautological compare, and additional
  10339. parentheses around equality tests. Fixes bug 13577; bugfix
  10340. on 0.2.5.4-alpha.
  10341. - Fix a clang warning about checking whether an address in the
  10342. middle of a structure is NULL. Fixes bug 14001; bugfix
  10343. on 0.2.1.2-alpha.
  10344. o Minor bugfixes (hidden services):
  10345. - Correctly send a controller event when we find that a rendezvous
  10346. circuit has finished. Fixes bug 13936; bugfix on 0.1.1.5-alpha.
  10347. - Pre-check directory permissions for new hidden-services to avoid
  10348. at least one case of "Bug: Acting on config options left us in a
  10349. broken state. Dying." Fixes bug 13942; bugfix on 0.0.6pre1.
  10350. - When adding a new hidden service (for example, via SETCONF), Tor
  10351. no longer congratulates the user for running a relay. Fixes bug
  10352. 13941; bugfix on 0.2.6.1-alpha.
  10353. - When fetching hidden service descriptors, we now check not only
  10354. for whether we got the hidden service we had in mind, but also
  10355. whether we got the particular descriptors we wanted. This prevents
  10356. a class of inefficient but annoying DoS attacks by hidden service
  10357. directories. Fixes bug 13214; bugfix on 0.2.1.6-alpha. Reported
  10358. by "special".
  10359. o Minor bugfixes (Linux seccomp2 sandbox):
  10360. - Make transparent proxy support work along with the seccomp2
  10361. sandbox. Fixes part of bug 13808; bugfix on 0.2.5.1-alpha. Patch
  10362. by Francisco Blas Izquierdo Riera.
  10363. - Fix a memory leak in tor-resolve when running with the sandbox
  10364. enabled. Fixes bug 14050; bugfix on 0.2.5.9-rc.
  10365. o Minor bugfixes (logging):
  10366. - Downgrade warnings about RSA signature failures to info log level.
  10367. Emit a warning when an extra info document is found incompatible
  10368. with a corresponding router descriptor. Fixes bug 9812; bugfix
  10369. on 0.0.6rc3.
  10370. - Make connection_ap_handshake_attach_circuit() log the circuit ID
  10371. correctly. Fixes bug 13701; bugfix on 0.0.6.
  10372. o Minor bugfixes (misc):
  10373. - Stop allowing invalid address patterns like "*/24" that contain
  10374. both a wildcard address and a bit prefix length. This affects all
  10375. our address-range parsing code. Fixes bug 7484; bugfix
  10376. on 0.0.2pre14.
  10377. o Minor bugfixes (testing networks, fast startup):
  10378. - Allow Tor to build circuits using a consensus with no exits. If
  10379. the consensus has no exits (typical of a bootstrapping test
  10380. network), allow Tor to build circuits once enough descriptors have
  10381. been downloaded. This assists in bootstrapping a testing Tor
  10382. network. Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch
  10383. by "teor".
  10384. - When V3AuthVotingInterval is low, give a lower If-Modified-Since
  10385. header to directory servers. This allows us to obtain consensuses
  10386. promptly when the consensus interval is very short. This assists
  10387. in bootstrapping a testing Tor network. Fixes parts of bugs 13718
  10388. and 13963; bugfix on 0.2.0.3-alpha. Patch by "teor".
  10389. - Stop assuming that private addresses are local when checking
  10390. reachability in a TestingTorNetwork. Instead, when testing, assume
  10391. all OR connections are remote. (This is necessary due to many test
  10392. scenarios running all relays on localhost.) This assists in
  10393. bootstrapping a testing Tor network. Fixes bug 13924; bugfix on
  10394. 0.1.0.1-rc. Patch by "teor".
  10395. - Avoid building exit circuits from a consensus with no exits. Now
  10396. thanks to our fix for 13718, we accept a no-exit network as not
  10397. wholly lost, but we need to remember not to try to build exit
  10398. circuits on it. Closes ticket 13814; patch by "teor".
  10399. - Stop requiring exits to have non-zero bandwithcapacity in a
  10400. TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
  10401. ignore exit bandwidthcapacity. This assists in bootstrapping a
  10402. testing Tor network. Fixes parts of bugs 13718 and 13839; bugfix
  10403. on 0.2.0.3-alpha. Patch by "teor".
  10404. - Add "internal" to some bootstrap statuses when no exits are
  10405. available. If the consensus does not contain Exits, Tor will only
  10406. build internal circuits. In this case, relevant statuses will
  10407. contain the word "internal" as indicated in the Tor control-
  10408. spec.txt. When bootstrap completes, Tor will be ready to build
  10409. internal circuits. If a future consensus contains Exits, exit
  10410. circuits may become available. Fixes part of bug 13718; bugfix on
  10411. 0.2.4.10-alpha. Patch by "teor".
  10412. - Decrease minimum consensus interval to 10 seconds when
  10413. TestingTorNetwork is set, or 5 seconds for the first consensus.
  10414. Fix assumptions throughout the code that assume larger intervals.
  10415. Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha. Patch
  10416. by "teor".
  10417. - Avoid excluding guards from path building in minimal test
  10418. networks, when we're in a test network and excluding guards would
  10419. exclude all relays. This typically occurs in incredibly small tor
  10420. networks, and those using "TestingAuthVoteGuard *". Fixes part of
  10421. bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
  10422. o Code simplification and refactoring:
  10423. - Stop using can_complete_circuits as a global variable; access it
  10424. with a function instead.
  10425. - Avoid using operators directly as macro arguments: this lets us
  10426. apply coccinelle transformations to our codebase more directly.
  10427. Closes ticket 13172.
  10428. - Combine the functions used to parse ClientTransportPlugin and
  10429. ServerTransportPlugin into a single function. Closes ticket 6456.
  10430. - Add inline functions and convenience macros for inspecting channel
  10431. state. Refactor the code to use convenience macros instead of
  10432. checking channel state directly. Fixes issue 7356.
  10433. - Document all members of was_router_added_t and rename
  10434. ROUTER_WAS_NOT_NEW to ROUTER_IS_ALREADY_KNOWN to make it less
  10435. confusable with ROUTER_WAS_TOO_OLD. Fixes issue 13644.
  10436. - In connection_exit_begin_conn(), use END_CIRC_REASON_TORPROTOCOL
  10437. constant instead of hardcoded value. Fixes issue 13840.
  10438. - Refactor our generic strmap and digestmap types into a single
  10439. implementation, so that we can add a new digest256map
  10440. type trivially.
  10441. o Documentation:
  10442. - Document the bridge-authority-only 'networkstatus-bridges' file.
  10443. Closes ticket 13713; patch from "tom".
  10444. - Fix typo in PredictedPortsRelevanceTime option description in
  10445. manpage. Resolves issue 13707.
  10446. - Stop suggesting that users specify relays by nickname: it isn't a
  10447. good idea. Also, properly cross-reference how to specify relays in
  10448. all parts of manual documenting options that take a list of
  10449. relays. Closes ticket 13381.
  10450. - Clarify the HiddenServiceDir option description in manpage to make
  10451. it clear that relative paths are taken with respect to the current
  10452. working directory. Also clarify that this behavior is not
  10453. guaranteed to remain indefinitely. Fixes issue 13913.
  10454. o Testing:
  10455. - New tests for many parts of channel, relay, and circuitmux
  10456. functionality. Code by Andrea; part of 9262.
  10457. - New tests for parse_transport_line(). Part of ticket 6456.
  10458. - In the unit tests, use chgrp() to change the group of the unit
  10459. test temporary directory to the current user, so that the sticky
  10460. bit doesn't interfere with tests that check directory groups.
  10461. Closes 13678.
  10462. - Add unit tests for resolve_my_addr(). Part of ticket 12376; patch
  10463. by 'rl1987'.
  10464. Changes in version 0.2.6.1-alpha - 2014-10-30
  10465. Tor 0.2.6.1-alpha is the first release in the Tor 0.2.6.x series. It
  10466. includes numerous code cleanups and new tests, and fixes a large
  10467. number of annoying bugs. Out-of-memory conditions are handled better
  10468. than in 0.2.5, pluggable transports have improved proxy support, and
  10469. clients now use optimistic data for contacting hidden services. Also,
  10470. we are now more robust to changes in what we consider a parseable
  10471. directory object, so that tightening restrictions does not have a risk
  10472. of introducing infinite download loops.
  10473. This is the first alpha release in a new series, so expect there to be
  10474. bugs. Users who would rather test out a more stable branch should stay
  10475. with 0.2.5.x for now.
  10476. o New compiler and system requirements:
  10477. - Tor 0.2.6.x requires that your compiler support more of the C99
  10478. language standard than before. The 'configure' script now detects
  10479. whether your compiler supports C99 mid-block declarations and
  10480. designated initializers. If it does not, Tor will not compile.
  10481. We may revisit this requirement if it turns out that a significant
  10482. number of people need to build Tor with compilers that don't
  10483. bother implementing a 15-year-old standard. Closes ticket 13233.
  10484. - Tor no longer supports systems without threading support. When we
  10485. began working on Tor, there were several systems that didn't have
  10486. threads, or where the thread support wasn't able to run the
  10487. threads of a single process on multiple CPUs. That no longer
  10488. holds: every system where Tor needs to run well now has threading
  10489. support. Resolves ticket 12439.
  10490. o Removed platform support:
  10491. - We no longer include special code to build on Windows CE; as far
  10492. as we know, nobody has used Tor on Windows CE in a very long time.
  10493. Closes ticket 11446.
  10494. o Major features (bridges):
  10495. - Expose the outgoing upstream HTTP/SOCKS proxy to pluggable
  10496. transports if they are configured via the "TOR_PT_PROXY"
  10497. environment variable. Implements proposal 232. Resolves
  10498. ticket 8402.
  10499. o Major features (client performance, hidden services):
  10500. - Allow clients to use optimistic data when connecting to a hidden
  10501. service, which should remove a round-trip from hidden service
  10502. initialization. See proposal 181 for details. Implements
  10503. ticket 13211.
  10504. o Major features (directory system):
  10505. - Upon receiving an unparseable directory object, if its digest
  10506. matches what we expected, then don't try to download it again.
  10507. Previously, when we got a descriptor we didn't like, we would keep
  10508. trying to download it over and over. Closes ticket 11243.
  10509. o Major features (sample torrc):
  10510. - Add a new, infrequently-changed "torrc.minimal". This file is
  10511. similar to torrc.sample, but it will change as infrequently as
  10512. possible, for the benefit of users whose systems prompt them for
  10513. intervention whenever a default configuration file is changed.
  10514. Making this change allows us to update torrc.sample to be a more
  10515. generally useful "sample torrc".
  10516. o Major bugfixes (directory authorities):
  10517. - Do not assign the HSDir flag to relays if they are not Valid, or
  10518. currently hibernating. Fixes 12573; bugfix on 0.2.0.10-alpha.
  10519. o Major bugfixes (directory bandwidth performance):
  10520. - Don't flush the zlib buffer aggressively when compressing
  10521. directory information for clients. This should save about 7% of
  10522. the bandwidth currently used for compressed descriptors and
  10523. microdescriptors. Fixes bug 11787; bugfix on 0.1.1.23.
  10524. o Minor features (security, memory wiping):
  10525. - Ensure we securely wipe keys from memory after
  10526. crypto_digest_get_digest and init_curve25519_keypair_from_file
  10527. have finished using them. Resolves ticket 13477.
  10528. o Minor features (security, out-of-memory handling):
  10529. - When handling an out-of-memory condition, allocate less memory for
  10530. temporary data structures. Fixes issue 10115.
  10531. - When handling an out-of-memory condition, consider more types of
  10532. buffers, including those on directory connections, and zlib
  10533. buffers. Resolves ticket 11792.
  10534. o Minor features:
  10535. - When identity keypair is generated for first time, log a
  10536. congratulatory message that links to the new relay lifecycle
  10537. document. Implements feature 10427.
  10538. o Minor features (client):
  10539. - Clients are now willing to send optimistic data (before they
  10540. receive a 'connected' cell) to relays of any version. (Relays
  10541. without support for optimistic data are no longer supported on the
  10542. Tor network.) Resolves ticket 13153.
  10543. o Minor features (directory authorities):
  10544. - Don't list relays with a bandwidth estimate of 0 in the consensus.
  10545. Implements a feature proposed during discussion of bug 13000.
  10546. - In tor-gencert, report an error if the user provides the same
  10547. argument more than once.
  10548. - If a directory authority can't find a best consensus method in the
  10549. votes that it holds, it now falls back to its favorite consensus
  10550. method. Previously, it fell back to method 1. Neither of these is
  10551. likely to get enough signatures, but "fall back to favorite"
  10552. doesn't require us to maintain support an obsolete consensus
  10553. method. Implements part of proposal 215.
  10554. o Minor features (logging):
  10555. - On Unix-like systems, you can now use named pipes as the target of
  10556. the Log option, and other options that try to append to files.
  10557. Closes ticket 12061. Patch from "carlo von lynX".
  10558. - When opening a log file at startup, send it every log message that
  10559. we generated between startup and opening it. Previously, log
  10560. messages that were generated before opening the log file were only
  10561. logged to stdout. Closes ticket 6938.
  10562. - Add a TruncateLogFile option to overwrite logs instead of
  10563. appending to them. Closes ticket 5583.
  10564. o Minor features (portability, Solaris):
  10565. - Threads are no longer disabled by default on Solaris; we believe
  10566. that the versions of Solaris with broken threading support are all
  10567. obsolete by now. Resolves ticket 9495.
  10568. o Minor features (relay):
  10569. - Re-check our address after we detect a changed IP address from
  10570. getsockname(). This ensures that the controller command "GETINFO
  10571. address" will report the correct value. Resolves ticket 11582.
  10572. Patch from "ra".
  10573. - A new AccountingRule option lets Relays set whether they'd like
  10574. AccountingMax to be applied separately to inbound and outbound
  10575. traffic, or applied to the sum of inbound and outbound traffic.
  10576. Resolves ticket 961. Patch by "chobe".
  10577. o Minor features (testing networks):
  10578. - Add the TestingDirAuthVoteExit option, which lists nodes to assign
  10579. the "Exit" flag regardless of their uptime, bandwidth, or exit
  10580. policy. TestingTorNetwork must be set for this option to have any
  10581. effect. Previously, authorities would take up to 35 minutes to
  10582. give nodes the Exit flag in a test network. Partially implements
  10583. ticket 13161.
  10584. o Minor features (validation):
  10585. - Check all date/time values passed to tor_timegm and
  10586. parse_rfc1123_time for validity, taking leap years into account.
  10587. Improves HTTP header validation. Implemented with bug 13476.
  10588. - In correct_tm(), limit the range of values returned by system
  10589. localtime(_r) and gmtime(_r) to be between the years 1 and 8099.
  10590. This means we don't have to deal with negative or too large dates,
  10591. even if a clock is wrong. Otherwise we might fail to read a file
  10592. written by us which includes such a date. Fixes bug 13476.
  10593. o Minor bugfixes (bridge clients):
  10594. - When configured to use a bridge without an identity digest (not
  10595. recommended), avoid launching an extra channel to it when
  10596. bootstrapping. Fixes bug 7733; bugfix on 0.2.4.4-alpha.
  10597. o Minor bugfixes (bridges):
  10598. - When DisableNetwork is set, do not launch pluggable transport
  10599. plugins, and if any are running, terminate them. Fixes bug 13213;
  10600. bugfix on 0.2.3.6-alpha.
  10601. o Minor bugfixes (C correctness):
  10602. - Fix several instances of possible integer overflow/underflow/NaN.
  10603. Fixes bug 13104; bugfix on 0.2.3.1-alpha and later. Patches
  10604. from "teor".
  10605. - In circuit_build_times_calculate_timeout() in circuitstats.c,
  10606. avoid dividing by zero in the pareto calculations. This traps
  10607. under clang's "undefined-trap" sanitizer. Fixes bug 13290; bugfix
  10608. on 0.2.2.2-alpha.
  10609. - Fix an integer overflow in format_time_interval(). Fixes bug
  10610. 13393; bugfix on 0.2.0.10-alpha.
  10611. - Set the correct day of year value when the system's localtime(_r)
  10612. or gmtime(_r) functions fail to set struct tm. Not externally
  10613. visible. Fixes bug 13476; bugfix on 0.0.2pre14.
  10614. - Avoid unlikely signed integer overflow in tor_timegm on systems
  10615. with 32-bit time_t. Fixes bug 13476; bugfix on 0.0.2pre14.
  10616. o Minor bugfixes (client):
  10617. - Fix smartlist_choose_node_by_bandwidth() so that relays with the
  10618. BadExit flag are not considered worthy candidates. Fixes bug
  10619. 13066; bugfix on 0.1.2.3-alpha.
  10620. - Use the consensus schedule for downloading consensuses, and not
  10621. the generic schedule. Fixes bug 11679; bugfix on 0.2.2.6-alpha.
  10622. - Handle unsupported or malformed SOCKS5 requests properly by
  10623. responding with the appropriate error message before closing the
  10624. connection. Fixes bugs 12971 and 13314; bugfix on 0.0.2pre13.
  10625. o Minor bugfixes (client, torrc):
  10626. - Stop modifying the value of our DirReqStatistics torrc option just
  10627. because we're not a bridge or relay. This bug was causing Tor
  10628. Browser users to write "DirReqStatistics 0" in their torrc files
  10629. as if they had chosen to change the config. Fixes bug 4244; bugfix
  10630. on 0.2.3.1-alpha.
  10631. - When GeoIPExcludeUnknown is enabled, do not incorrectly decide
  10632. that our options have changed every time we SIGHUP. Fixes bug
  10633. 9801; bugfix on 0.2.4.10-alpha. Patch from "qwerty1".
  10634. o Minor bugfixes (controller):
  10635. - Return an error when the second or later arguments of the
  10636. "setevents" controller command are invalid events. Previously we
  10637. would return success while silently skipping invalid events. Fixes
  10638. bug 13205; bugfix on 0.2.3.2-alpha. Reported by "fpxnns".
  10639. o Minor bugfixes (directory system):
  10640. - Always believe that v3 directory authorities serve extra-info
  10641. documents, whether they advertise "caches-extra-info" or not.
  10642. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  10643. - When running as a v3 directory authority, advertise that you serve
  10644. extra-info documents so that clients who want them can find them
  10645. from you too. Fixes part of bug 11683; bugfix on 0.2.0.1-alpha.
  10646. - Check the BRIDGE_DIRINFO flag bitwise rather than using equality.
  10647. Previously, directories offering BRIDGE_DIRINFO and some other
  10648. flag (i.e. microdescriptors or extrainfo) would be ignored when
  10649. looking for bridges. Partially fixes bug 13163; bugfix
  10650. on 0.2.0.7-alpha.
  10651. o Minor bugfixes (networking):
  10652. - Check for orconns and use connection_or_close_for_error() rather
  10653. than connection_mark_for_close() directly in the getsockopt()
  10654. failure case of connection_handle_write_impl(). Fixes bug 11302;
  10655. bugfix on 0.2.4.4-alpha.
  10656. o Minor bugfixes (relay):
  10657. - When generating our family list, remove spaces from around the
  10658. entries. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
  10659. - If our previous bandwidth estimate was 0 bytes, allow publishing a
  10660. new relay descriptor immediately. Fixes bug 13000; bugfix
  10661. on 0.1.1.6-alpha.
  10662. o Minor bugfixes (testing networks):
  10663. - Fix TestingDirAuthVoteGuard to properly give out Guard flags in a
  10664. testing network. Fixes bug 13064; bugfix on 0.2.5.2-alpha.
  10665. - Stop using the default authorities in networks which provide both
  10666. AlternateDirAuthority and AlternateBridgeAuthority. Partially
  10667. fixes bug 13163; bugfix on 0.2.0.13-alpha.
  10668. o Minor bugfixes (testing):
  10669. - Stop spawn test failures due to a race condition between the
  10670. SIGCHLD handler updating the process status, and the test reading
  10671. it. Fixes bug 13291; bugfix on 0.2.3.3-alpha.
  10672. o Minor bugfixes (testing, Windows):
  10673. - Avoid passing an extra backslash when creating a temporary
  10674. directory for running the unit tests on Windows. Fixes bug 12392;
  10675. bugfix on 0.2.2.25-alpha. Patch from Gisle Vanem.
  10676. o Minor bugfixes (windows):
  10677. - Remove code to special-case handling of NTE_BAD_KEYSET when
  10678. acquiring windows CryptoAPI context. This error can't actually
  10679. occur for the parameters we're providing. Fixes bug 10816; bugfix
  10680. on 0.0.2pre26.
  10681. o Minor bugfixes (zlib):
  10682. - Avoid truncating a zlib stream when trying to finalize it with an
  10683. empty output buffer. Fixes bug 11824; bugfix on 0.1.1.23.
  10684. o Build fixes:
  10685. - Allow our configure script to build correctly with autoconf 2.62
  10686. again. Fixes bug 12693; bugfix on 0.2.5.2-alpha.
  10687. - Improve the error message from ./configure to make it clear that
  10688. when asciidoc has not been found, the user will have to either add
  10689. --disable-asciidoc argument or install asciidoc. Resolves
  10690. ticket 13228.
  10691. o Code simplification and refactoring:
  10692. - Change the entry_is_live() function to take named bitfield
  10693. elements instead of an unnamed list of booleans. Closes
  10694. ticket 12202.
  10695. - Refactor and unit-test entry_is_time_to_retry() in entrynodes.c.
  10696. Resolves ticket 12205.
  10697. - Use calloc and reallocarray functions instead of multiply-
  10698. then-malloc. This makes it less likely for us to fall victim to an
  10699. integer overflow attack when allocating. Resolves ticket 12855.
  10700. - Use the standard macro name SIZE_MAX, instead of our
  10701. own SIZE_T_MAX.
  10702. - Document usage of the NO_DIRINFO and ALL_DIRINFO flags clearly in
  10703. functions which take them as arguments. Replace 0 with NO_DIRINFO
  10704. in a function call for clarity. Seeks to prevent future issues
  10705. like 13163.
  10706. - Avoid 4 null pointer errors under clang static analysis by using
  10707. tor_assert() to prove that the pointers aren't null. Fixes
  10708. bug 13284.
  10709. - Rework the API of policies_parse_exit_policy() to use a bitmask to
  10710. represent parsing options, instead of a confusing mess of
  10711. booleans. Resolves ticket 8197.
  10712. - Introduce a helper function to parse ExitPolicy in
  10713. or_options_t structure.
  10714. o Documentation:
  10715. - Add a doc/TUNING document with tips for handling large numbers of
  10716. TCP connections when running busy Tor relay. Update the warning
  10717. message to point to this file when running out of sockets
  10718. operating system is allowing to use simultaneously. Resolves
  10719. ticket 9708.
  10720. o Removed features:
  10721. - We no longer remind the user about configuration options that have
  10722. been obsolete since 0.2.3.x or earlier. Patch by Adrien Bak.
  10723. - Remove our old, non-weighted bandwidth-based node selection code.
  10724. Previously, we used it as a fallback when we couldn't perform
  10725. weighted bandwidth-based node selection. But that would only
  10726. happen in the cases where we had no consensus, or when we had a
  10727. consensus generated by buggy or ancient directory authorities. In
  10728. either case, it's better to use the more modern, better maintained
  10729. algorithm, with reasonable defaults for the weights. Closes
  10730. ticket 13126.
  10731. - Remove the --disable-curve25519 configure option. Relays and
  10732. clients now are required to support curve25519 and the
  10733. ntor handshake.
  10734. - The old "StrictEntryNodes" and "StrictExitNodes" options, which
  10735. used to be deprecated synonyms for "StrictNodes", are now marked
  10736. obsolete. Resolves ticket 12226.
  10737. - Clients don't understand the BadDirectory flag in the consensus
  10738. anymore, and ignore it.
  10739. o Testing:
  10740. - Refactor the function that chooses guard nodes so that it can more
  10741. easily be tested; write some tests for it.
  10742. - Fix and re-enable the fgets_eagain unit test. Fixes bug 12503;
  10743. bugfix on 0.2.3.1-alpha. Patch from "cypherpunks."
  10744. - Create unit tests for format_time_interval(). With bug 13393.
  10745. - Add unit tests for tor_timegm signed overflow, tor_timegm and
  10746. parse_rfc1123_time validity checks, correct_tm year clamping. Unit
  10747. tests (visible) fixes in bug 13476.
  10748. - Add a "coverage-html" make target to generate HTML-visualized
  10749. coverage results when building with --enable-coverage. (Requires
  10750. lcov.) Patch from Kevin Murray.
  10751. - Enable the backtrace handler (where supported) when running the
  10752. unit tests.
  10753. - Revise all unit tests that used the legacy test_* macros to
  10754. instead use the recommended tt_* macros. This patch was generated
  10755. with coccinelle, to avoid manual errors. Closes ticket 13119.
  10756. o Distribution (systemd):
  10757. - systemd unit file: only allow tor to write to /var/lib/tor and
  10758. /var/log/tor. The rest of the filesystem is accessible for reading
  10759. only. Patch by intrigeri; resolves ticket 12751.
  10760. - systemd unit file: ensure that the process and all its children
  10761. can never gain new privileges. Patch by intrigeri; resolves
  10762. ticket 12939.
  10763. - systemd unit file: set up /var/run/tor as writable for the Tor
  10764. service. Patch by intrigeri; resolves ticket 13196.
  10765. o Removed features (directory authorities):
  10766. - Remove code that prevented authorities from listing Tor relays
  10767. affected by CVE-2011-2769 as guards. These relays are already
  10768. rejected altogether due to the minimum version requirement of
  10769. 0.2.3.16-alpha. Closes ticket 13152.
  10770. - The "AuthDirRejectUnlisted" option no longer has any effect, as
  10771. the fingerprints file (approved-routers) has been deprecated.
  10772. - Directory authorities do not support being Naming dirauths anymore.
  10773. The "NamingAuthoritativeDir" config option is now obsolete.
  10774. - Directory authorities do not support giving out the BadDirectory
  10775. flag anymore.
  10776. - Directory authorities no longer advertise or support consensus
  10777. methods 1 through 12 inclusive. These consensus methods were
  10778. obsolete and/or insecure: maintaining the ability to support them
  10779. served no good purpose. Implements part of proposal 215; closes
  10780. ticket 10163.
  10781. o Testing (test-network.sh):
  10782. - Stop using "echo -n", as some shells' built-in echo doesn't
  10783. support "-n". Instead, use "/bin/echo -n". Partially fixes
  10784. bug 13161.
  10785. - Stop an apparent test-network hang when used with make -j2. Fixes
  10786. bug 13331.
  10787. - Add a --delay option to test-network.sh, which configures the
  10788. delay before the chutney network tests for data transmission.
  10789. Partially implements ticket 13161.
  10790. Changes in version 0.2.5.10 - 2014-10-24
  10791. Tor 0.2.5.10 is the first stable release in the 0.2.5 series.
  10792. It adds several new security features, including improved
  10793. denial-of-service resistance for relays, new compiler hardening
  10794. options, and a system-call sandbox for hardened installations on Linux
  10795. (requires seccomp2). The controller protocol has several new features,
  10796. resolving IPv6 addresses should work better than before, and relays
  10797. should be a little more CPU-efficient. We've added support for more
  10798. OpenBSD and FreeBSD transparent proxy types. We've improved the build
  10799. system and testing infrastructure to allow unit testing of more parts
  10800. of the Tor codebase. Finally, we've addressed several nagging pluggable
  10801. transport usability issues, and included numerous other small bugfixes
  10802. and features mentioned below.
  10803. This release marks end-of-life for Tor 0.2.3.x; those Tor versions
  10804. have accumulated many known flaws; everyone should upgrade.
  10805. o Deprecated versions:
  10806. - Tor 0.2.3.x has reached end-of-life; it has received no patches or
  10807. attention for some while.
  10808. Changes in version 0.2.5.9-rc - 2014-10-20
  10809. Tor 0.2.5.9-rc is the third release candidate for the Tor 0.2.5.x
  10810. series. It disables SSL3 in response to the recent "POODLE" attack
  10811. (even though POODLE does not affect Tor). It also works around a crash
  10812. bug caused by some operating systems' response to the "POODLE" attack
  10813. (which does affect Tor). It also contains a few miscellaneous fixes.
  10814. o Major security fixes:
  10815. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  10816. today support TLS 1.0 or later, so we can safely turn off support
  10817. for this old (and insecure) protocol. Fixes bug 13426.
  10818. o Major bugfixes (openssl bug workaround):
  10819. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  10820. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  10821. 13471. This is a workaround for an OpenSSL bug.
  10822. o Minor bugfixes:
  10823. - Disable the sandbox name resolver cache when running tor-resolve:
  10824. tor-resolve doesn't use the sandbox code, and turning it on was
  10825. breaking attempts to do tor-resolve on a non-default server on
  10826. Linux. Fixes bug 13295; bugfix on 0.2.5.3-alpha.
  10827. o Compilation fixes:
  10828. - Build and run correctly on systems like OpenBSD-current that have
  10829. patched OpenSSL to remove get_cipher_by_char and/or its
  10830. implementations. Fixes issue 13325.
  10831. o Downgraded warnings:
  10832. - Downgrade the severity of the 'unexpected sendme cell from client'
  10833. from 'warn' to 'protocol warning'. Closes ticket 8093.
  10834. Changes in version 0.2.4.25 - 2014-10-20
  10835. Tor 0.2.4.25 disables SSL3 in response to the recent "POODLE" attack
  10836. (even though POODLE does not affect Tor). It also works around a crash
  10837. bug caused by some operating systems' response to the "POODLE" attack
  10838. (which does affect Tor).
  10839. o Major security fixes (also in 0.2.5.9-rc):
  10840. - Disable support for SSLv3. All versions of OpenSSL in use with Tor
  10841. today support TLS 1.0 or later, so we can safely turn off support
  10842. for this old (and insecure) protocol. Fixes bug 13426.
  10843. o Major bugfixes (openssl bug workaround, also in 0.2.5.9-rc):
  10844. - Avoid crashing when using OpenSSL version 0.9.8zc, 1.0.0o, or
  10845. 1.0.1j, built with the 'no-ssl3' configuration option. Fixes bug
  10846. 13471. This is a workaround for an OpenSSL bug.
  10847. Changes in version 0.2.5.8-rc - 2014-09-22
  10848. Tor 0.2.5.8-rc is the second release candidate for the Tor 0.2.5.x
  10849. series. It fixes a bug that affects consistency and speed when
  10850. connecting to hidden services, and it updates the location of one of
  10851. the directory authorities.
  10852. o Major bugfixes:
  10853. - Clients now send the correct address for their chosen rendezvous
  10854. point when trying to access a hidden service. They used to send
  10855. the wrong address, which would still work some of the time because
  10856. they also sent the identity digest of the rendezvous point, and if
  10857. the hidden service happened to try connecting to the rendezvous
  10858. point from a relay that already had a connection open to it,
  10859. the relay would reuse that connection. Now connections to hidden
  10860. services should be more robust and faster. Also, this bug meant
  10861. that clients were leaking to the hidden service whether they were
  10862. on a little-endian (common) or big-endian (rare) system, which for
  10863. some users might have reduced their anonymity. Fixes bug 13151;
  10864. bugfix on 0.2.1.5-alpha.
  10865. o Directory authority changes:
  10866. - Change IP address for gabelmoo (v3 directory authority).
  10867. Changes in version 0.2.4.24 - 2014-09-22
  10868. Tor 0.2.4.24 fixes a bug that affects consistency and speed when
  10869. connecting to hidden services, and it updates the location of one of
  10870. the directory authorities.
  10871. o Major bugfixes:
  10872. - Clients now send the correct address for their chosen rendezvous
  10873. point when trying to access a hidden service. They used to send
  10874. the wrong address, which would still work some of the time because
  10875. they also sent the identity digest of the rendezvous point, and if
  10876. the hidden service happened to try connecting to the rendezvous
  10877. point from a relay that already had a connection open to it,
  10878. the relay would reuse that connection. Now connections to hidden
  10879. services should be more robust and faster. Also, this bug meant
  10880. that clients were leaking to the hidden service whether they were
  10881. on a little-endian (common) or big-endian (rare) system, which for
  10882. some users might have reduced their anonymity. Fixes bug 13151;
  10883. bugfix on 0.2.1.5-alpha.
  10884. o Directory authority changes:
  10885. - Change IP address for gabelmoo (v3 directory authority).
  10886. o Minor features (geoip):
  10887. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  10888. Country database.
  10889. Changes in version 0.2.5.7-rc - 2014-09-11
  10890. Tor 0.2.5.7-rc fixes several regressions from earlier in the 0.2.5.x
  10891. release series, and some long-standing bugs related to ORPort reachability
  10892. testing and failure to send CREATE cells. It is the first release
  10893. candidate for the Tor 0.2.5.x series.
  10894. o Major bugfixes (client, startup):
  10895. - Start making circuits as soon as DisabledNetwork is turned off.
  10896. When Tor started with DisabledNetwork set, it would correctly
  10897. conclude that it shouldn't build circuits, but it would mistakenly
  10898. cache this conclusion, and continue believing it even when
  10899. DisableNetwork is set to 0. Fixes the bug introduced by the fix
  10900. for bug 11200; bugfix on 0.2.5.4-alpha.
  10901. - Resume expanding abbreviations for command-line options. The fix
  10902. for bug 4647 accidentally removed our hack from bug 586 that
  10903. rewrote HashedControlPassword to __HashedControlSessionPassword
  10904. when it appears on the commandline (which allowed the user to set
  10905. her own HashedControlPassword in the torrc file while the
  10906. controller generates a fresh session password for each run). Fixes
  10907. bug 12948; bugfix on 0.2.5.1-alpha.
  10908. - Warn about attempts to run hidden services and relays in the same
  10909. process: that's probably not a good idea. Closes ticket 12908.
  10910. o Major bugfixes (relay):
  10911. - Avoid queuing or sending destroy cells for circuit ID zero when we
  10912. fail to send a CREATE cell. Fixes bug 12848; bugfix on 0.0.8pre1.
  10913. Found and fixed by "cypherpunks".
  10914. - Fix ORPort reachability detection on relays running behind a
  10915. proxy, by correctly updating the "local" mark on the controlling
  10916. channel when changing the address of an or_connection_t after the
  10917. handshake. Fixes bug 12160; bugfix on 0.2.4.4-alpha.
  10918. o Minor features (bridge):
  10919. - Add an ExtORPortCookieAuthFileGroupReadable option to make the
  10920. cookie file for the ExtORPort g+r by default.
  10921. o Minor features (geoip):
  10922. - Update geoip and geoip6 to the August 7 2014 Maxmind GeoLite2
  10923. Country database.
  10924. o Minor bugfixes (logging):
  10925. - Reduce the log severity of the "Pluggable transport proxy does not
  10926. provide any needed transports and will not be launched." message,
  10927. since Tor Browser includes several ClientTransportPlugin lines in
  10928. its torrc-defaults file, leading every Tor Browser user who looks
  10929. at her logs to see these notices and wonder if they're dangerous.
  10930. Resolves bug 13124; bugfix on 0.2.5.3-alpha.
  10931. - Downgrade "Unexpected onionskin length after decryption" warning
  10932. to a protocol-warn, since there's nothing relay operators can do
  10933. about a client that sends them a malformed create cell. Resolves
  10934. bug 12996; bugfix on 0.0.6rc1.
  10935. - Log more specific warnings when we get an ESTABLISH_RENDEZVOUS
  10936. cell on a cannibalized or non-OR circuit. Resolves ticket 12997.
  10937. - When logging information about an EXTEND2 or EXTENDED2 cell, log
  10938. their names correctly. Fixes part of bug 12700; bugfix
  10939. on 0.2.4.8-alpha.
  10940. - When logging information about a relay cell whose command we don't
  10941. recognize, log its command as an integer. Fixes part of bug 12700;
  10942. bugfix on 0.2.1.10-alpha.
  10943. - Escape all strings from the directory connection before logging
  10944. them. Fixes bug 13071; bugfix on 0.1.1.15. Patch from "teor".
  10945. o Minor bugfixes (controller):
  10946. - Restore the functionality of CookieAuthFileGroupReadable. Fixes
  10947. bug 12864; bugfix on 0.2.5.1-alpha.
  10948. - Actually send TRANSPORT_LAUNCHED and HS_DESC events to
  10949. controllers. Fixes bug 13085; bugfix on 0.2.5.1-alpha. Patch
  10950. by "teor".
  10951. o Minor bugfixes (compilation):
  10952. - Fix compilation of test.h with MSVC. Patch from Gisle Vanem;
  10953. bugfix on 0.2.5.5-alpha.
  10954. - Make the nmake make files work again. Fixes bug 13081. Bugfix on
  10955. 0.2.5.1-alpha. Patch from "NewEraCracker".
  10956. - In routerlist_assert_ok(), don't take the address of a
  10957. routerinfo's cache_info member unless that routerinfo is non-NULL.
  10958. Fixes bug 13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
  10959. - Fix a large number of false positive warnings from the clang
  10960. analyzer static analysis tool. This should make real warnings
  10961. easier for clang analyzer to find. Patch from "teor". Closes
  10962. ticket 13036.
  10963. o Distribution (systemd):
  10964. - Verify configuration file via ExecStartPre in the systemd unit
  10965. file. Patch from intrigeri; resolves ticket 12730.
  10966. - Explicitly disable RunAsDaemon in the systemd unit file. Our
  10967. current systemd unit uses "Type = simple", so systemd does not
  10968. expect tor to fork. If the user has "RunAsDaemon 1" in their
  10969. torrc, then things won't work as expected. This is e.g. the case
  10970. on Debian (and derivatives), since there we pass "--defaults-torrc
  10971. /usr/share/tor/tor-service-defaults-torrc" (that contains
  10972. "RunAsDaemon 1") by default. Patch by intrigeri; resolves
  10973. ticket 12731.
  10974. o Documentation:
  10975. - Adjust the URLs in the README to refer to the new locations of
  10976. several documents on the website. Fixes bug 12830. Patch from
  10977. Matt Pagan.
  10978. - Document 'reject6' and 'accept6' ExitPolicy entries. Resolves
  10979. ticket 12878.
  10980. Changes in version 0.2.5.6-alpha - 2014-07-28
  10981. Tor 0.2.5.6-alpha brings us a big step closer to slowing down the
  10982. risk from guard rotation, and fixes a variety of other issues to get
  10983. us closer to a release candidate.
  10984. o Major features (also in 0.2.4.23):
  10985. - Make the number of entry guards configurable via a new
  10986. NumEntryGuards consensus parameter, and the number of directory
  10987. guards configurable via a new NumDirectoryGuards consensus
  10988. parameter. Implements ticket 12688.
  10989. o Major bugfixes (also in 0.2.4.23):
  10990. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  10991. implementation that caused incorrect results on 32-bit
  10992. implementations when certain malformed inputs were used along with
  10993. a small class of private ntor keys. This bug does not currently
  10994. appear to allow an attacker to learn private keys or impersonate a
  10995. Tor server, but it could provide a means to distinguish 32-bit Tor
  10996. implementations from 64-bit Tor implementations. Fixes bug 12694;
  10997. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  10998. Adam Langley.
  10999. o Major bugfixes:
  11000. - Perform circuit cleanup operations even when circuit
  11001. construction operations are disabled (because the network is
  11002. disabled, or because there isn't enough directory information).
  11003. Previously, when we were not building predictive circuits, we
  11004. were not closing expired circuits either. Fixes bug 8387; bugfix on
  11005. 0.1.1.11-alpha. This bug became visible in 0.2.4.10-alpha when we
  11006. became more strict about when we have "enough directory information
  11007. to build circuits".
  11008. o Minor features:
  11009. - Authorities now assign the Guard flag to the fastest 25% of the
  11010. network (it used to be the fastest 50%). Also raise the consensus
  11011. weight that guarantees the Guard flag from 250 to 2000. For the
  11012. current network, this results in about 1100 guards, down from 2500.
  11013. This step paves the way for moving the number of entry guards
  11014. down to 1 (proposal 236) while still providing reasonable expected
  11015. performance for most users. Implements ticket 12690.
  11016. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  11017. Country database.
  11018. - Slightly enhance the diagnostic message for bug 12184.
  11019. o Minor bugfixes (also in 0.2.4.23):
  11020. - Warn and drop the circuit if we receive an inbound 'relay early'
  11021. cell. Those used to be normal to receive on hidden service circuits
  11022. due to bug 1038, but the buggy Tor versions are long gone from
  11023. the network so we can afford to resume watching for them. Resolves
  11024. the rest of bug 1038; bugfix on 0.2.1.19.
  11025. - Correct a confusing error message when trying to extend a circuit
  11026. via the control protocol but we don't know a descriptor or
  11027. microdescriptor for one of the specified relays. Fixes bug 12718;
  11028. bugfix on 0.2.3.1-alpha.
  11029. o Minor bugfixes:
  11030. - Fix compilation when building with bufferevents enabled. (This
  11031. configuration is still not expected to work, however.)
  11032. Fixes bugs 12438, 12474, 11578; bugfixes on 0.2.5.1-alpha and
  11033. 0.2.5.3-alpha. Patches from Anthony G. Basile and Sathyanarayanan
  11034. Gunasekaran.
  11035. - Compile correctly with builds and forks of OpenSSL (such as
  11036. LibreSSL) that disable compression. Fixes bug 12602; bugfix on
  11037. 0.2.1.1-alpha. Patch from "dhill".
  11038. Changes in version 0.2.4.23 - 2014-07-28
  11039. Tor 0.2.4.23 brings us a big step closer to slowing down the risk from
  11040. guard rotation, and also backports several important fixes from the
  11041. Tor 0.2.5 alpha release series.
  11042. o Major features:
  11043. - Clients now look at the "usecreatefast" consensus parameter to
  11044. decide whether to use CREATE_FAST or CREATE cells for the first hop
  11045. of their circuit. This approach can improve security on connections
  11046. where Tor's circuit handshake is stronger than the available TLS
  11047. connection security levels, but the tradeoff is more computational
  11048. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  11049. - Make the number of entry guards configurable via a new
  11050. NumEntryGuards consensus parameter, and the number of directory
  11051. guards configurable via a new NumDirectoryGuards consensus
  11052. parameter. Implements ticket 12688.
  11053. o Major bugfixes:
  11054. - Fix a bug in the bounds-checking in the 32-bit curve25519-donna
  11055. implementation that caused incorrect results on 32-bit
  11056. implementations when certain malformed inputs were used along with
  11057. a small class of private ntor keys. This bug does not currently
  11058. appear to allow an attacker to learn private keys or impersonate a
  11059. Tor server, but it could provide a means to distinguish 32-bit Tor
  11060. implementations from 64-bit Tor implementations. Fixes bug 12694;
  11061. bugfix on 0.2.4.8-alpha. Bug found by Robert Ransom; fix from
  11062. Adam Langley.
  11063. o Minor bugfixes:
  11064. - Warn and drop the circuit if we receive an inbound 'relay early'
  11065. cell. Those used to be normal to receive on hidden service circuits
  11066. due to bug 1038, but the buggy Tor versions are long gone from
  11067. the network so we can afford to resume watching for them. Resolves
  11068. the rest of bug 1038; bugfix on 0.2.1.19.
  11069. - Correct a confusing error message when trying to extend a circuit
  11070. via the control protocol but we don't know a descriptor or
  11071. microdescriptor for one of the specified relays. Fixes bug 12718;
  11072. bugfix on 0.2.3.1-alpha.
  11073. - Avoid an illegal read from stack when initializing the TLS
  11074. module using a version of OpenSSL without all of the ciphers
  11075. used by the v2 link handshake. Fixes bug 12227; bugfix on
  11076. 0.2.4.8-alpha. Found by "starlight".
  11077. o Minor features:
  11078. - Update geoip and geoip6 to the July 10 2014 Maxmind GeoLite2
  11079. Country database.
  11080. Changes in version 0.2.5.5-alpha - 2014-06-18
  11081. Tor 0.2.5.5-alpha fixes a wide variety of remaining issues in the Tor
  11082. 0.2.5.x release series, including a couple of DoS issues, some
  11083. performance regressions, a large number of bugs affecting the Linux
  11084. seccomp2 sandbox code, and various other bugfixes. It also adds
  11085. diagnostic bugfixes for a few tricky issues that we're trying to
  11086. track down.
  11087. o Major features (security, traffic analysis resistance):
  11088. - Several major improvements to the algorithm used to decide when to
  11089. close TLS connections. Previous versions of Tor closed connections
  11090. at a fixed interval after the last time a non-padding cell was
  11091. sent over the connection, regardless of the target of the
  11092. connection. Now, we randomize the intervals by adding up to 50% of
  11093. their base value, we measure the length of time since connection
  11094. last had at least one circuit, and we allow connections to known
  11095. ORs to remain open a little longer (15 minutes instead of 3
  11096. minutes minimum). These changes should improve Tor's resistance
  11097. against some kinds of traffic analysis, and lower some overhead
  11098. from needlessly closed connections. Fixes ticket 6799.
  11099. Incidentally fixes ticket 12023; bugfix on 0.2.5.1-alpha.
  11100. o Major bugfixes (security, OOM, new since 0.2.5.4-alpha, also in 0.2.4.22):
  11101. - Fix a memory leak that could occur if a microdescriptor parse
  11102. fails during the tokenizing step. This bug could enable a memory
  11103. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  11104. on 0.2.2.6-alpha.
  11105. o Major bugfixes (security, directory authorities):
  11106. - Directory authorities now include a digest of each relay's
  11107. identity key as a part of its microdescriptor.
  11108. This is a workaround for bug 11743 (reported by "cypherpunks"),
  11109. where Tor clients do not support receiving multiple
  11110. microdescriptors with the same SHA256 digest in the same
  11111. consensus. When clients receive a consensus like this, they only
  11112. use one of the relays. Without this fix, a hostile relay could
  11113. selectively disable some client use of target relays by
  11114. constructing a router descriptor with a different identity and the
  11115. same microdescriptor parameters and getting the authorities to
  11116. list it in a microdescriptor consensus. This fix prevents an
  11117. attacker from causing a microdescriptor collision, because the
  11118. router's identity is not forgeable.
  11119. o Major bugfixes (relay):
  11120. - Use a direct dirport connection when uploading non-anonymous
  11121. descriptors to the directory authorities. Previously, relays would
  11122. incorrectly use tunnel connections under a fairly wide variety of
  11123. circumstances. Fixes bug 11469; bugfix on 0.2.4.3-alpha.
  11124. - When a circuit accidentally has the same circuit ID for its
  11125. forward and reverse direction, correctly detect the direction of
  11126. cells using that circuit. Previously, this bug made roughly one
  11127. circuit in a million non-functional. Fixes bug 12195; this is a
  11128. bugfix on every version of Tor.
  11129. o Major bugfixes (client, pluggable transports):
  11130. - When managing pluggable transports, use OS notification facilities
  11131. to learn if they have crashed, and don't attempt to kill any
  11132. process that has already exited. Fixes bug 8746; bugfix
  11133. on 0.2.3.6-alpha.
  11134. o Minor features (diagnostic):
  11135. - When logging a warning because of bug 7164, additionally check the
  11136. hash table for consistency (as proposed on ticket 11737). This may
  11137. help diagnose bug 7164.
  11138. - When we log a heartbeat, log how many one-hop circuits we have
  11139. that are at least 30 minutes old, and log status information about
  11140. a few of them. This is an attempt to track down bug 8387.
  11141. - When encountering an unexpected CR while writing text to a file on
  11142. Windows, log the name of the file. Should help diagnosing
  11143. bug 11233.
  11144. - Give more specific warnings when a client notices that an onion
  11145. handshake has failed. Fixes ticket 9635.
  11146. - Add significant new logging code to attempt to diagnose bug 12184,
  11147. where relays seem to run out of available circuit IDs.
  11148. - Improve the diagnostic log message for bug 8387 even further to
  11149. try to improve our odds of figuring out why one-hop directory
  11150. circuits sometimes do not get closed.
  11151. o Minor features (security, memory management):
  11152. - Memory allocation tricks (mempools and buffer freelists) are now
  11153. disabled by default. You can turn them back on with
  11154. --enable-mempools and --enable-buf-freelists respectively. We're
  11155. disabling these features because malloc performance is good enough
  11156. on most platforms, and a similar feature in OpenSSL exacerbated
  11157. exploitation of the Heartbleed attack. Resolves ticket 11476.
  11158. o Minor features (security):
  11159. - Apply the secure SipHash-2-4 function to the hash table mapping
  11160. circuit IDs and channels to circuits. We missed this one when we
  11161. were converting all the other hash functions to use SipHash back
  11162. in 0.2.5.3-alpha. Resolves ticket 11750.
  11163. o Minor features (build):
  11164. - The configure script has a --disable-seccomp option to turn off
  11165. support for libseccomp on systems that have it, in case it (or
  11166. Tor's use of it) is broken. Resolves ticket 11628.
  11167. o Minor features (other):
  11168. - Update geoip and geoip6 to the June 4 2014 Maxmind GeoLite2
  11169. Country database.
  11170. o Minor bugfixes (security, new since 0.2.5.4-alpha, also in 0.2.4.22):
  11171. - When running a hidden service, do not allow TunneledDirConns 0;
  11172. this will keep the hidden service from running, and also
  11173. make it publish its descriptors directly over HTTP. Fixes bug 10849;
  11174. bugfix on 0.2.1.1-alpha.
  11175. o Minor bugfixes (performance):
  11176. - Avoid a bug where every successful connection made us recompute
  11177. the flag telling us whether we have sufficient information to
  11178. build circuits. Previously, we would forget our cached value
  11179. whenever we successfully opened a channel (or marked a router as
  11180. running or not running for any other reason), regardless of
  11181. whether we had previously believed the router to be running. This
  11182. forced us to run an expensive update operation far too often.
  11183. Fixes bug 12170; bugfix on 0.1.2.1-alpha.
  11184. - Avoid using tor_memeq() for checking relay cell integrity. This
  11185. removes a possible performance bottleneck. Fixes part of bug
  11186. 12169; bugfix on 0.2.1.31.
  11187. o Minor bugfixes (compilation):
  11188. - Fix compilation of test_status.c when building with MVSC. Bugfix
  11189. on 0.2.5.4-alpha. Patch from Gisle Vanem.
  11190. - Resolve GCC complaints on OpenBSD about discarding constness in
  11191. TO_{ORIGIN,OR}_CIRCUIT functions. Fixes part of bug 11633; bugfix
  11192. on 0.1.1.23. Patch from Dana Koch.
  11193. - Resolve clang complaints on OpenBSD with -Wshorten-64-to-32 due to
  11194. treatment of long and time_t as comparable types. Fixes part of
  11195. bug 11633. Patch from Dana Koch.
  11196. - Make Tor compile correctly with --disable-buf-freelists. Fixes bug
  11197. 11623; bugfix on 0.2.5.3-alpha.
  11198. - When deciding whether to build the 64-bit curve25519
  11199. implementation, detect platforms where we can compile 128-bit
  11200. arithmetic but cannot link it. Fixes bug 11729; bugfix on
  11201. 0.2.4.8-alpha. Patch from "conradev".
  11202. - Fix compilation when DNS_CACHE_DEBUG is enabled. Fixes bug 11761;
  11203. bugfix on 0.2.3.13-alpha. Found by "cypherpunks".
  11204. - Fix compilation with dmalloc. Fixes bug 11605; bugfix
  11205. on 0.2.4.10-alpha.
  11206. o Minor bugfixes (Directory server):
  11207. - When sending a compressed set of descriptors or microdescriptors,
  11208. make sure to finalize the zlib stream. Previously, we would write
  11209. all the compressed data, but if the last descriptor we wanted to
  11210. send was missing or too old, we would not mark the stream as
  11211. finished. This caused problems for decompression tools. Fixes bug
  11212. 11648; bugfix on 0.1.1.23.
  11213. o Minor bugfixes (Linux seccomp sandbox):
  11214. - Make the seccomp sandbox code compile under ARM Linux. Fixes bug
  11215. 11622; bugfix on 0.2.5.1-alpha.
  11216. - Avoid crashing when re-opening listener ports with the seccomp
  11217. sandbox active. Fixes bug 12115; bugfix on 0.2.5.1-alpha.
  11218. - Avoid crashing with the seccomp sandbox enabled along with
  11219. ConstrainedSockets. Fixes bug 12139; bugfix on 0.2.5.1-alpha.
  11220. - When we receive a SIGHUP with the sandbox enabled, correctly
  11221. support rotating our log files. Fixes bug 12032; bugfix
  11222. on 0.2.5.1-alpha.
  11223. - Avoid crash when running with sandboxing enabled and
  11224. DirReqStatistics not disabled. Fixes bug 12035; bugfix
  11225. on 0.2.5.1-alpha.
  11226. - Fix a "BUG" warning when trying to write bridge-stats files with
  11227. the Linux syscall sandbox filter enabled. Fixes bug 12041; bugfix
  11228. on 0.2.5.1-alpha.
  11229. - Prevent the sandbox from crashing on startup when run with the
  11230. --enable-expensive-hardening configuration option. Fixes bug
  11231. 11477; bugfix on 0.2.5.4-alpha.
  11232. - When running with DirPortFrontPage and sandboxing both enabled,
  11233. reload the DirPortFrontPage correctly when restarting. Fixes bug
  11234. 12028; bugfix on 0.2.5.1-alpha.
  11235. - Don't try to enable the sandbox when using the Tor binary to check
  11236. its configuration, hash a passphrase, or so on. Doing so was
  11237. crashing on startup for some users. Fixes bug 11609; bugfix
  11238. on 0.2.5.1-alpha.
  11239. - Avoid warnings when running with sandboxing and node statistics
  11240. enabled at the same time. Fixes part of 12064; bugfix on
  11241. 0.2.5.1-alpha. Patch from Michael Wolf.
  11242. - Avoid warnings when running with sandboxing enabled at the same
  11243. time as cookie authentication, hidden services, or directory
  11244. authority voting. Fixes part of 12064; bugfix on 0.2.5.1-alpha.
  11245. - Do not allow options that require calls to exec to be enabled
  11246. alongside the seccomp2 sandbox: they will inevitably crash. Fixes
  11247. bug 12043; bugfix on 0.2.5.1-alpha.
  11248. - Handle failures in getpwnam()/getpwuid() when running with the
  11249. User option set and the Linux syscall sandbox enabled. Fixes bug
  11250. 11946; bugfix on 0.2.5.1-alpha.
  11251. - Refactor the getaddrinfo workaround that the seccomp sandbox uses
  11252. to avoid calling getaddrinfo() after installing the sandbox
  11253. filters. Previously, it preloaded a cache with the IPv4 address
  11254. for our hostname, and nothing else. Now, it loads the cache with
  11255. every address that it used to initialize the Tor process. Fixes
  11256. bug 11970; bugfix on 0.2.5.1-alpha.
  11257. o Minor bugfixes (pluggable transports):
  11258. - Enable the ExtORPortCookieAuthFile option, to allow changing the
  11259. default location of the authentication token for the extended OR
  11260. Port as used by sever-side pluggable transports. We had
  11261. implemented this option before, but the code to make it settable
  11262. had been omitted. Fixes bug 11635; bugfix on 0.2.5.1-alpha.
  11263. - Avoid another 60-second delay when starting Tor in a pluggable-
  11264. transport-using configuration when we already have cached
  11265. descriptors for our bridges. Fixes bug 11965; bugfix
  11266. on 0.2.3.6-alpha.
  11267. o Minor bugfixes (client):
  11268. - Avoid "Tried to open a socket with DisableNetwork set" warnings
  11269. when starting a client with bridges configured and DisableNetwork
  11270. set. (Tor launcher starts Tor with DisableNetwork set the first
  11271. time it runs.) Fixes bug 10405; bugfix on 0.2.3.9-alpha.
  11272. o Minor bugfixes (testing):
  11273. - The Python parts of the test scripts now work on Python 3 as well
  11274. as Python 2, so systems where '/usr/bin/python' is Python 3 will
  11275. no longer have the tests break. Fixes bug 11608; bugfix
  11276. on 0.2.5.2-alpha.
  11277. - When looking for versions of python that we could run the tests
  11278. with, check for "python2.7" and "python3.3"; previously we were
  11279. only looking for "python", "python2", and "python3". Patch from
  11280. Dana Koch. Fixes bug 11632; bugfix on 0.2.5.2-alpha.
  11281. - Fix all valgrind warnings produced by the unit tests. There were
  11282. over a thousand memory leak warnings previously, mostly produced
  11283. by forgetting to free things in the unit test code. Fixes bug
  11284. 11618, bugfixes on many versions of Tor.
  11285. o Minor bugfixes (tor-fw-helper):
  11286. - Give a correct log message when tor-fw-helper fails to launch.
  11287. (Previously, we would say something like "tor-fw-helper sent us a
  11288. string we could not parse".) Fixes bug 9781; bugfix
  11289. on 0.2.4.2-alpha.
  11290. o Minor bugfixes (relay, threading):
  11291. - Check return code on spawn_func() in cpuworker code, so that we
  11292. don't think we've spawned a nonworking cpuworker and write junk to
  11293. it forever. Fix related to bug 4345; bugfix on all released Tor
  11294. versions. Found by "skruffy".
  11295. - Use a pthread_attr to make sure that spawn_func() cannot return an
  11296. error while at the same time launching a thread. Fix related to
  11297. bug 4345; bugfix on all released Tor versions. Reported
  11298. by "cypherpunks".
  11299. o Minor bugfixes (relay, oom prevention):
  11300. - Correctly detect the total available system memory. We tried to do
  11301. this in 0.2.5.4-alpha, but the code was set up to always return an
  11302. error value, even on success. Fixes bug 11805; bugfix
  11303. on 0.2.5.4-alpha.
  11304. o Minor bugfixes (relay, other):
  11305. - We now drop CREATE cells for already-existent circuit IDs and for
  11306. zero-valued circuit IDs, regardless of other factors that might
  11307. otherwise have called for DESTROY cells. Fixes bug 12191; bugfix
  11308. on 0.0.8pre1.
  11309. - Avoid an illegal read from stack when initializing the TLS module
  11310. using a version of OpenSSL without all of the ciphers used by the
  11311. v2 link handshake. Fixes bug 12227; bugfix on 0.2.4.8-alpha. Found
  11312. by "starlight".
  11313. - When rejecting DATA cells for stream_id zero, still count them
  11314. against the circuit's deliver window so that we don't fail to send
  11315. a SENDME. Fixes bug 11246; bugfix on 0.2.4.10-alpha.
  11316. o Minor bugfixes (logging):
  11317. - Fix a misformatted log message about delayed directory fetches.
  11318. Fixes bug 11654; bugfix on 0.2.5.3-alpha.
  11319. - Squelch a spurious LD_BUG message "No origin circuit for
  11320. successful SOCKS stream" in certain hidden service failure cases;
  11321. fixes bug 10616.
  11322. o Distribution:
  11323. - Include a tor.service file in contrib/dist for use with systemd.
  11324. Some distributions will be able to use this file unmodified;
  11325. others will need to tweak it, or write their own. Patch from Jamie
  11326. Nguyen; resolves ticket 8368.
  11327. o Documentation:
  11328. - Clean up several option names in the manpage to match their real
  11329. names, add the missing documentation for a couple of testing and
  11330. directory authority options, remove the documentation for a
  11331. V2-directory fetching option that no longer exists. Resolves
  11332. ticket 11634.
  11333. - Correct the documentation so that it lists the correct directory
  11334. for the stats files. (They are in a subdirectory called "stats",
  11335. not "status".)
  11336. - In the manpage, move more authority-only options into the
  11337. directory authority section so that operators of regular directory
  11338. caches don't get confused.
  11339. o Package cleanup:
  11340. - The contrib directory has been sorted and tidied. Before, it was
  11341. an unsorted dumping ground for useful and not-so-useful things.
  11342. Now, it is divided based on functionality, and the items which
  11343. seemed to be nonfunctional or useless have been removed. Resolves
  11344. ticket 8966; based on patches from "rl1987".
  11345. o Removed code:
  11346. - Remove /tor/dbg-stability.txt URL that was meant to help debug WFU
  11347. and MTBF calculations, but that nobody was using. Fixes ticket 11742.
  11348. - The TunnelDirConns and PreferTunnelledDirConns options no longer
  11349. exist; tunneled directory connections have been available since
  11350. 0.1.2.5-alpha, and turning them off is not a good idea. This is a
  11351. brute-force fix for 10849, where "TunnelDirConns 0" would break
  11352. hidden services.
  11353. Changes in version 0.2.4.22 - 2014-05-16
  11354. Tor 0.2.4.22 backports numerous high-priority fixes from the Tor 0.2.5
  11355. alpha release series. These include blocking all authority signing
  11356. keys that may have been affected by the OpenSSL "heartbleed" bug,
  11357. choosing a far more secure set of TLS ciphersuites by default, closing
  11358. a couple of memory leaks that could be used to run a target relay out
  11359. of RAM, and several others.
  11360. o Major features (security, backport from 0.2.5.4-alpha):
  11361. - Block authority signing keys that were used on authorities
  11362. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  11363. don't have any evidence that these keys _were_ compromised; we're
  11364. doing this to be prudent.) Resolves ticket 11464.
  11365. o Major bugfixes (security, OOM):
  11366. - Fix a memory leak that could occur if a microdescriptor parse
  11367. fails during the tokenizing step. This bug could enable a memory
  11368. exhaustion attack by directory servers. Fixes bug 11649; bugfix
  11369. on 0.2.2.6-alpha.
  11370. o Major bugfixes (TLS cipher selection, backport from 0.2.5.4-alpha):
  11371. - The relay ciphersuite list is now generated automatically based on
  11372. uniform criteria, and includes all OpenSSL ciphersuites with
  11373. acceptable strength and forward secrecy. Previously, we had left
  11374. some perfectly fine ciphersuites unsupported due to omission or
  11375. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  11376. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  11377. - Relays now trust themselves to have a better view than clients of
  11378. which TLS ciphersuites are better than others. (Thanks to bug
  11379. 11513, the relay list is now well-considered, whereas the client
  11380. list has been chosen mainly for anti-fingerprinting purposes.)
  11381. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  11382. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  11383. AES128. Resolves ticket 11528.
  11384. - Clients now try to advertise the same list of ciphersuites as
  11385. Firefox 28. This change enables selection of (fast) GCM
  11386. ciphersuites, disables some strange old ciphers, and stops
  11387. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  11388. Resolves ticket 11438.
  11389. o Minor bugfixes (configuration, security):
  11390. - When running a hidden service, do not allow TunneledDirConns 0:
  11391. trying to set that option together with a hidden service would
  11392. otherwise prevent the hidden service from running, and also make
  11393. it publish its descriptors directly over HTTP. Fixes bug 10849;
  11394. bugfix on 0.2.1.1-alpha.
  11395. o Minor bugfixes (controller, backport from 0.2.5.4-alpha):
  11396. - Avoid sending a garbage value to the controller when a circuit is
  11397. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  11398. o Minor bugfixes (exit relay, backport from 0.2.5.4-alpha):
  11399. - Stop leaking memory when we successfully resolve a PTR record.
  11400. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  11401. o Minor bugfixes (bridge client, backport from 0.2.5.4-alpha):
  11402. - Avoid 60-second delays in the bootstrapping process when Tor is
  11403. launching for a second time while using bridges. Fixes bug 9229;
  11404. bugfix on 0.2.0.3-alpha.
  11405. o Minor bugfixes (relays and bridges, backport from 0.2.5.4-alpha):
  11406. - Give the correct URL in the warning message when trying to run a
  11407. relay on an ancient version of Windows. Fixes bug 9393.
  11408. o Minor bugfixes (compilation):
  11409. - Fix a compilation error when compiling with --disable-curve25519.
  11410. Fixes bug 9700; bugfix on 0.2.4.17-rc.
  11411. o Minor bugfixes:
  11412. - Downgrade the warning severity for the the "md was still
  11413. referenced 1 node(s)" warning. Tor 0.2.5.4-alpha has better code
  11414. for trying to diagnose this bug, and the current warning in
  11415. earlier versions of tor achieves nothing useful. Addresses warning
  11416. from bug 7164.
  11417. o Minor features (log verbosity, backport from 0.2.5.4-alpha):
  11418. - When we run out of usable circuit IDs on a channel, log only one
  11419. warning for the whole channel, and describe how many circuits
  11420. there were on the channel. Fixes part of ticket 11553.
  11421. o Minor features (security, backport from 0.2.5.4-alpha):
  11422. - Decrease the lower limit of MaxMemInCellQueues to 256 MBytes (but
  11423. leave the default at 8GBytes), to better support Raspberry Pi
  11424. users. Fixes bug 9686; bugfix on 0.2.4.14-alpha.
  11425. o Documentation (backport from 0.2.5.4-alpha):
  11426. - Correctly document that we search for a system torrc file before
  11427. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  11428. 0.2.3.18-rc.
  11429. Changes in version 0.2.5.4-alpha - 2014-04-25
  11430. Tor 0.2.5.4-alpha includes several security and performance
  11431. improvements for clients and relays, including blacklisting authority
  11432. signing keys that were used while susceptible to the OpenSSL
  11433. "heartbleed" bug, fixing two expensive functions on busy relays,
  11434. improved TLS ciphersuite preference lists, support for run-time
  11435. hardening on compilers that support AddressSanitizer, and more work on
  11436. the Linux sandbox code.
  11437. There are also several usability fixes for clients (especially clients
  11438. that use bridges), two new TransPort protocols supported (one on
  11439. OpenBSD, one on FreeBSD), and various other bugfixes.
  11440. This release marks end-of-life for Tor 0.2.2.x; those Tor versions
  11441. have accumulated many known flaws; everyone should upgrade.
  11442. o Major features (security):
  11443. - If you don't specify MaxMemInQueues yourself, Tor now tries to
  11444. pick a good value based on your total system memory. Previously,
  11445. the default was always 8 GB. You can still override the default by
  11446. setting MaxMemInQueues yourself. Resolves ticket 11396.
  11447. - Block authority signing keys that were used on authorities
  11448. vulnerable to the "heartbleed" bug in OpenSSL (CVE-2014-0160). (We
  11449. don't have any evidence that these keys _were_ compromised; we're
  11450. doing this to be prudent.) Resolves ticket 11464.
  11451. o Major features (relay performance):
  11452. - Speed up server-side lookups of rendezvous and introduction point
  11453. circuits by using hashtables instead of linear searches. These
  11454. functions previously accounted between 3 and 7% of CPU usage on
  11455. some busy relays. Resolves ticket 9841.
  11456. - Avoid wasting CPU when extending a circuit over a channel that is
  11457. nearly out of circuit IDs. Previously, we would do a linear scan
  11458. over possible circuit IDs before finding one or deciding that we
  11459. had exhausted our possibilities. Now, we try at most 64 random
  11460. circuit IDs before deciding that we probably won't succeed. Fixes
  11461. a possible root cause of ticket 11553.
  11462. o Major features (seccomp2 sandbox, Linux only):
  11463. - The seccomp2 sandbox can now run a test network for multiple hours
  11464. without crashing. The sandbox is still experimental, and more bugs
  11465. will probably turn up. To try it, enable "Sandbox 1" on a Linux
  11466. host. Resolves ticket 11351.
  11467. - Strengthen sandbox code: the sandbox can now test the arguments
  11468. for rename(), and blocks _sysctl() entirely. Resolves another part
  11469. of ticket 11351.
  11470. - When the sandbox blocks a system call, it now tries to log a stack
  11471. trace before exiting. Resolves ticket 11465.
  11472. o Major bugfixes (TLS cipher selection):
  11473. - The relay ciphersuite list is now generated automatically based on
  11474. uniform criteria, and includes all OpenSSL ciphersuites with
  11475. acceptable strength and forward secrecy. Previously, we had left
  11476. some perfectly fine ciphersuites unsupported due to omission or
  11477. typo. Resolves bugs 11513, 11492, 11498, 11499. Bugs reported by
  11478. 'cypherpunks'. Bugfix on 0.2.4.8-alpha.
  11479. - Relays now trust themselves to have a better view than clients of
  11480. which TLS ciphersuites are better than others. (Thanks to bug
  11481. 11513, the relay list is now well-considered, whereas the client
  11482. list has been chosen mainly for anti-fingerprinting purposes.)
  11483. Relays prefer: AES over 3DES; then ECDHE over DHE; then GCM over
  11484. CBC; then SHA384 over SHA256 over SHA1; and last, AES256 over
  11485. AES128. Resolves ticket 11528.
  11486. - Clients now try to advertise the same list of ciphersuites as
  11487. Firefox 28. This change enables selection of (fast) GCM
  11488. ciphersuites, disables some strange old ciphers, and stops
  11489. advertising the ECDH (not to be confused with ECDHE) ciphersuites.
  11490. Resolves ticket 11438.
  11491. o Major bugfixes (bridge client):
  11492. - Avoid 60-second delays in the bootstrapping process when Tor is
  11493. launching for a second time while using bridges. Fixes bug 9229;
  11494. bugfix on 0.2.0.3-alpha.
  11495. o Minor features (transparent proxy, *BSD):
  11496. - Support FreeBSD's ipfw firewall interface for TransPort ports on
  11497. FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket
  11498. 10267; patch from "yurivict".
  11499. - Support OpenBSD's divert-to rules with the pf firewall for
  11500. transparent proxy ports. To enable it, set "TransProxyType
  11501. pf-divert". This allows Tor to run a TransPort transparent proxy
  11502. port on OpenBSD 4.4 or later without root privileges. See the
  11503. pf.conf(5) manual page for information on configuring pf to use
  11504. divert-to rules. Closes ticket 10896; patch from Dana Koch.
  11505. o Minor features (security):
  11506. - New --enable-expensive-hardening option to enable security
  11507. hardening options that consume nontrivial amounts of CPU and
  11508. memory. Right now, this includes AddressSanitizer and UbSan, which
  11509. are supported in newer versions of GCC and Clang. Closes ticket
  11510. 11477.
  11511. o Minor features (log verbosity):
  11512. - Demote the message that we give when a flushing connection times
  11513. out for too long from NOTICE to INFO. It was usually meaningless.
  11514. Resolves ticket 5286.
  11515. - Don't log so many notice-level bootstrapping messages at startup
  11516. about downloading descriptors. Previously, we'd log a notice
  11517. whenever we learned about more routers. Now, we only log a notice
  11518. at every 5% of progress. Fixes bug 9963.
  11519. - Warn less verbosely when receiving a malformed
  11520. ESTABLISH_RENDEZVOUS cell. Fixes ticket 11279.
  11521. - When we run out of usable circuit IDs on a channel, log only one
  11522. warning for the whole channel, and describe how many circuits
  11523. there were on the channel. Fixes part of ticket 11553.
  11524. o Minor features (relay):
  11525. - If a circuit timed out for at least 3 minutes, check if we have a
  11526. new external IP address, and publish a new descriptor with the new
  11527. IP address if it changed. Resolves ticket 2454.
  11528. o Minor features (controller):
  11529. - Make the entire exit policy available from the control port via
  11530. GETINFO exit-policy/*. Implements enhancement 7952. Patch from
  11531. "rl1987".
  11532. - Because of the fix for ticket 11396, the real limit for memory
  11533. usage may no longer match the configured MaxMemInQueues value. The
  11534. real limit is now exposed via GETINFO limits/max-mem-in-queues.
  11535. o Minor features (bridge client):
  11536. - Report a more useful failure message when we can't connect to a
  11537. bridge because we don't have the right pluggable transport
  11538. configured. Resolves ticket 9665. Patch from Fábio J. Bertinatto.
  11539. o Minor features (diagnostic):
  11540. - Add more log messages to diagnose bug 7164, which causes
  11541. intermittent "microdesc_free() called but md was still referenced"
  11542. warnings. We now include more information, to figure out why we
  11543. might be cleaning a microdescriptor for being too old if it's
  11544. still referenced by a live node_t object.
  11545. o Minor bugfixes (client, DNSPort):
  11546. - When using DNSPort, try to respond to AAAA requests with AAAA
  11547. answers. Previously, we hadn't looked at the request type when
  11548. deciding which answer type to prefer. Fixes bug 10468; bugfix on
  11549. 0.2.4.7-alpha.
  11550. - When receiving a DNS query for an unsupported record type, reply
  11551. with no answer rather than with a NOTIMPL error. This behavior
  11552. isn't correct either, but it will break fewer client programs, we
  11553. hope. Fixes bug 10268; bugfix on 0.2.0.1-alpha. Original patch
  11554. from "epoch".
  11555. o Minor bugfixes (exit relay):
  11556. - Stop leaking memory when we successfully resolve a PTR record.
  11557. Fixes bug 11437; bugfix on 0.2.4.7-alpha.
  11558. o Minor bugfixes (bridge client):
  11559. - Stop accepting bridge lines containing hostnames. Doing so would
  11560. cause clients to perform DNS requests on the hostnames, which was
  11561. not sensible behavior. Fixes bug 10801; bugfix on 0.2.0.1-alpha.
  11562. - Avoid a 60-second delay in the bootstrapping process when a Tor
  11563. client with pluggable transports re-reads its configuration at
  11564. just the wrong time. Re-fixes bug 11156; bugfix on 0.2.5.3-alpha.
  11565. o Minor bugfixes (client, logging during bootstrap):
  11566. - Warn only once if we start logging in an unsafe way. Previously,
  11567. we complain as many times as we had problems. Fixes bug 9870;
  11568. bugfix on 0.2.5.1-alpha.
  11569. - Only report the first fatal bootstrap error on a given OR
  11570. connection. This stops us from telling the controller bogus error
  11571. messages like "DONE". Fixes bug 10431; bugfix on 0.2.1.1-alpha.
  11572. - Be more helpful when trying to run sandboxed on Linux without
  11573. libseccomp. Instead of saying "Sandbox is not implemented on this
  11574. platform", we now explain that we need to be built with
  11575. libseccomp. Fixes bug 11543; bugfix on 0.2.5.1-alpha.
  11576. - Avoid generating spurious warnings when starting with
  11577. DisableNetwork enabled. Fixes bug 11200 and bug 10405; bugfix on
  11578. 0.2.3.9-alpha.
  11579. o Minor bugfixes (closing OR connections):
  11580. - If write_to_buf() in connection_write_to_buf_impl_() ever fails,
  11581. check if it's an or_connection_t and correctly call
  11582. connection_or_close_for_error() rather than
  11583. connection_mark_for_close() directly. Fixes bug 11304; bugfix on
  11584. 0.2.4.4-alpha.
  11585. - When closing all connections on setting DisableNetwork to 1, use
  11586. connection_or_close_normally() rather than closing OR connections
  11587. out from under the channel layer. Fixes bug 11306; bugfix on
  11588. 0.2.4.4-alpha.
  11589. o Minor bugfixes (controller):
  11590. - Avoid sending a garbage value to the controller when a circuit is
  11591. cannibalized. Fixes bug 11519; bugfix on 0.2.3.11-alpha.
  11592. o Minor bugfixes (tor-fw-helper):
  11593. - Allow tor-fw-helper to build again by adding src/ext to its
  11594. CPPFLAGS. Fixes bug 11296; bugfix on 0.2.5.3-alpha.
  11595. o Minor bugfixes (bridges):
  11596. - Avoid potential crashes or bad behavior when launching a
  11597. server-side managed proxy with ORPort or ExtORPort temporarily
  11598. disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha.
  11599. o Minor bugfixes (platform-specific):
  11600. - Fix compilation on Solaris, which does not have <endian.h>. Fixes
  11601. bug 11426; bugfix on 0.2.5.3-alpha.
  11602. - When dumping a malformed directory object to disk, save it in
  11603. binary mode on Windows, not text mode. Fixes bug 11342; bugfix on
  11604. 0.2.2.1-alpha.
  11605. - Don't report failures from make_socket_reuseable() on incoming
  11606. sockets on OSX: this can happen when incoming connections close
  11607. early. Fixes bug 10081.
  11608. o Minor bugfixes (trivial memory leaks):
  11609. - Fix a small memory leak when signing a directory object. Fixes bug
  11610. 11275; bugfix on 0.2.4.13-alpha.
  11611. - Free placeholder entries in our circuit table at exit; fixes a
  11612. harmless memory leak. Fixes bug 11278; bugfix on 0.2.5.1-alpha.
  11613. - Don't re-initialize a second set of OpenSSL mutexes when starting
  11614. up. Previously, we'd make one set of mutexes, and then immediately
  11615. replace them with another. Fixes bug 11726; bugfix on
  11616. 0.2.5.3-alpha.
  11617. - Resolve some memory leaks found by coverity in the unit tests, on
  11618. exit in tor-gencert, and on a failure to compute digests for our
  11619. own keys when generating a v3 networkstatus vote. These leaks
  11620. should never have affected anyone in practice.
  11621. o Minor bugfixes (hidden service):
  11622. - Only retry attempts to connect to a chosen rendezvous point 8
  11623. times, not 30. Fixes bug 4241; bugfix on 0.1.0.1-rc.
  11624. o Minor bugfixes (misc code correctness):
  11625. - Fix various instances of undefined behavior in channeltls.c,
  11626. tor_memmem(), and eventdns.c that would cause us to construct
  11627. pointers to memory outside an allocated object. (These invalid
  11628. pointers were not accessed, but C does not even allow them to
  11629. exist.) Fixes bug 10363; bugfixes on 0.1.1.1-alpha, 0.1.2.1-alpha,
  11630. 0.2.0.10-alpha, and 0.2.3.6-alpha. Reported by "bobnomnom".
  11631. - Use the AddressSanitizer and Ubsan sanitizers (in clang-3.4) to
  11632. fix some miscellaneous errors in our tests and codebase. Fixes bug
  11633. 11232. Bugfixes on versions back as far as 0.2.1.11-alpha.
  11634. - Always check return values for unlink, munmap, UnmapViewOfFile;
  11635. check strftime return values more often. In some cases all we can
  11636. do is report a warning, but this may help prevent deeper bugs from
  11637. going unnoticed. Closes ticket 8787; bugfixes on many, many tor
  11638. versions.
  11639. - Fix numerous warnings from the clang "scan-build" static analyzer.
  11640. Some of these are programming style issues; some of them are false
  11641. positives that indicated awkward code; some are undefined behavior
  11642. cases related to constructing (but not using) invalid pointers;
  11643. some are assumptions about API behavior; some are (harmlessly)
  11644. logging sizeof(ptr) bytes from a token when sizeof(*ptr) would be
  11645. correct; and one or two are genuine bugs that weren't reachable
  11646. from the rest of the program. Fixes bug 8793; bugfixes on many,
  11647. many tor versions.
  11648. o Documentation:
  11649. - Build the torify.1 manpage again. Previously, we were only trying
  11650. to build it when also building tor-fw-helper. That's why we didn't
  11651. notice that we'd broken the ability to build it. Fixes bug 11321;
  11652. bugfix on 0.2.5.1-alpha.
  11653. - Fix the layout of the SOCKSPort flags in the manpage. Fixes bug
  11654. 11061; bugfix on 0.2.4.7-alpha.
  11655. - Correctly document that we search for a system torrc file before
  11656. looking in ~/.torrc. Fixes documentation side of 9213; bugfix on
  11657. 0.2.3.18-rc.
  11658. - Resolve warnings from Doxygen.
  11659. o Code simplifications and refactoring:
  11660. - Remove is_internal_IP() function. Resolves ticket 4645.
  11661. - Remove unused function circuit_dump_by_chan from circuitlist.c.
  11662. Closes issue 9107; patch from "marek".
  11663. - Change our use of the ENUM_BF macro to avoid declarations that
  11664. confuse Doxygen.
  11665. o Deprecated versions:
  11666. - Tor 0.2.2.x has reached end-of-life; it has received no patches or
  11667. attention for some while. Directory authorities no longer accept
  11668. descriptors from relays running any version of Tor prior to Tor
  11669. 0.2.3.16-alpha. Resolves ticket 11149.
  11670. o Testing:
  11671. - New macros in test.h to simplify writing mock-functions for unit
  11672. tests. Part of ticket 11507. Patch from Dana Koch.
  11673. - Complete tests for the status.c module. Resolves ticket 11507.
  11674. Patch from Dana Koch.
  11675. o Removed code:
  11676. - Remove all code for the long unused v1 directory protocol.
  11677. Resolves ticket 11070.
  11678. Changes in version 0.2.5.3-alpha - 2014-03-22
  11679. Tor 0.2.5.3-alpha includes all the fixes from 0.2.4.21. It contains
  11680. two new anti-DoS features for Tor relays, resolves a bug that kept
  11681. SOCKS5 support for IPv6 from working, fixes several annoying usability
  11682. issues for bridge users, and removes more old code for unused
  11683. directory formats.
  11684. The Tor 0.2.5.x release series is now in patch-freeze: no feature
  11685. patches not already written will be considered for inclusion in 0.2.5.x.
  11686. o Major features (relay security, DoS-resistance):
  11687. - When deciding whether we have run out of memory and we need to
  11688. close circuits, also consider memory allocated in buffers for
  11689. streams attached to each circuit.
  11690. This change, which extends an anti-DoS feature introduced in
  11691. 0.2.4.13-alpha and improved in 0.2.4.14-alpha, lets Tor exit relays
  11692. better resist more memory-based DoS attacks than before. Since the
  11693. MaxMemInCellQueues option now applies to all queues, it is renamed
  11694. to MaxMemInQueues. This feature fixes bug 10169.
  11695. - Avoid hash-flooding denial-of-service attacks by using the secure
  11696. SipHash-2-4 hash function for our hashtables. Without this
  11697. feature, an attacker could degrade performance of a targeted
  11698. client or server by flooding their data structures with a large
  11699. number of entries to be stored at the same hash table position,
  11700. thereby slowing down the Tor instance. With this feature, hash
  11701. table positions are derived from a randomized cryptographic key,
  11702. and an attacker cannot predict which entries will collide. Closes
  11703. ticket 4900.
  11704. - Decrease the lower limit of MaxMemInQueues to 256 MBytes (but leave
  11705. the default at 8GBytes), to better support Raspberry Pi users. Fixes
  11706. bug 9686; bugfix on 0.2.4.14-alpha.
  11707. o Minor features (bridges, pluggable transports):
  11708. - Bridges now write the SHA1 digest of their identity key
  11709. fingerprint (that is, a hash of a hash of their public key) to
  11710. notice-level logs, and to a new hashed-fingerprint file. This
  11711. information will help bridge operators look up their bridge in
  11712. Globe and similar tools. Resolves ticket 10884.
  11713. - Improve the message that Tor displays when running as a bridge
  11714. using pluggable transports without an Extended ORPort listener.
  11715. Also, log the message in the log file too. Resolves ticket 11043.
  11716. o Minor features (other):
  11717. - Add a new option, PredictedPortsRelevanceTime, to control how long
  11718. after having received a request to connect to a given port Tor
  11719. will try to keep circuits ready in anticipation of future requests
  11720. for that port. Patch from "unixninja92"; implements ticket 9176.
  11721. - Generate a warning if any ports are listed in the SocksPolicy,
  11722. DirPolicy, AuthDirReject, AuthDirInvalid, AuthDirBadDir, or
  11723. AuthDirBadExit options. (These options only support address
  11724. ranges.) Fixes part of ticket 11108.
  11725. - Update geoip and geoip6 to the February 7 2014 Maxmind GeoLite2
  11726. Country database.
  11727. o Minor bugfixes (new since 0.2.5.2-alpha, also in 0.2.4.21):
  11728. - Build without warnings under clang 3.4. (We have some macros that
  11729. define static functions only some of which will get used later in
  11730. the module. Starting with clang 3.4, these give a warning unless the
  11731. unused attribute is set on them.) Resolves ticket 10904.
  11732. - Fix build warnings about missing "a2x" comment when building the
  11733. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  11734. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  11735. o Minor bugfixes (client):
  11736. - Improve the log message when we can't connect to a hidden service
  11737. because all of the hidden service directory nodes hosting its
  11738. descriptor are excluded. Improves on our fix for bug 10722, which
  11739. was a bugfix on 0.2.0.10-alpha.
  11740. - Raise a control port warning when we fail to connect to all of
  11741. our bridges. Previously, we didn't inform the controller, and
  11742. the bootstrap process would stall. Fixes bug 11069; bugfix on
  11743. 0.2.1.2-alpha.
  11744. - Exit immediately when a process-owning controller exits.
  11745. Previously, tor relays would wait for a little while after their
  11746. controller exited, as if they had gotten an INT signal -- but this
  11747. was problematic, since there was no feedback for the user. To do a
  11748. clean shutdown, controllers should send an INT signal and give Tor
  11749. a chance to clean up. Fixes bug 10449; bugfix on 0.2.2.28-beta.
  11750. - Stop attempting to connect to bridges before our pluggable
  11751. transports are configured (harmless but resulted in some erroneous
  11752. log messages). Fixes bug 11156; bugfix on 0.2.3.2-alpha.
  11753. - Fix connections to IPv6 addresses over SOCKS5. Previously, we were
  11754. generating incorrect SOCKS5 responses, and confusing client
  11755. applications. Fixes bug 10987; bugfix on 0.2.4.7-alpha.
  11756. o Minor bugfixes (relays and bridges):
  11757. - Avoid crashing on a malformed resolv.conf file when running a
  11758. relay using Libevent 1. Fixes bug 8788; bugfix on 0.1.1.23.
  11759. - Non-exit relays no longer launch mock DNS requests to check for
  11760. DNS hijacking. This has been unnecessary since 0.2.1.7-alpha, when
  11761. non-exit relays stopped servicing DNS requests. Fixes bug 965;
  11762. bugfix on 0.2.1.7-alpha. Patch from Matt Pagan.
  11763. - Bridges now report complete directory request statistics. Related
  11764. to bug 5824; bugfix on 0.2.2.1-alpha.
  11765. - Bridges now never collect statistics that were designed for
  11766. relays. Fixes bug 5824; bugfix on 0.2.3.8-alpha.
  11767. - Stop giving annoying warning messages when we decide not to launch
  11768. a pluggable transport proxy that we don't need (because there are
  11769. no bridges configured to use it). Resolves ticket 5018; bugfix
  11770. on 0.2.5.2-alpha.
  11771. - Give the correct URL in the warning message when trying to run a
  11772. relay on an ancient version of Windows. Fixes bug 9393.
  11773. o Minor bugfixes (backtrace support):
  11774. - Support automatic backtraces on more platforms by using the
  11775. "-fasynchronous-unwind-tables" compiler option. This option is
  11776. needed for platforms like 32-bit Intel where "-fomit-frame-pointer"
  11777. is on by default and table generation is not. This doesn't yet
  11778. add Windows support; only Linux, OSX, and some BSDs are affected.
  11779. Reported by 'cypherpunks'; fixes bug 11047; bugfix on 0.2.5.2-alpha.
  11780. - Avoid strange behavior if two threads hit failed assertions at the
  11781. same time and both try to log backtraces at once. (Previously, if
  11782. this had happened, both threads would have stored their intermediate
  11783. results in the same buffer, and generated junk outputs.) Reported by
  11784. "cypherpunks". Fixes bug 11048; bugfix on 0.2.5.2-alpha.
  11785. - Fix a compiler warning in format_number_sigsafe(). Bugfix on
  11786. 0.2.5.2-alpha; patch from Nick Hopper.
  11787. o Minor bugfixes (unit tests):
  11788. - Fix a small bug in the unit tests that might have made the tests
  11789. call 'chmod' with an uninitialized bitmask. Fixes bug 10928;
  11790. bugfix on 0.2.5.1-alpha. Patch from Dana Koch.
  11791. o Removed code:
  11792. - Remove all remaining code related to version-0 hidden service
  11793. descriptors: they have not been in use since 0.2.2.1-alpha. Fixes
  11794. the rest of bug 10841.
  11795. o Documentation:
  11796. - Document in the manpage that "KBytes" may also be written as
  11797. "kilobytes" or "KB", that "Kbits" may also be written as
  11798. "kilobits", and so forth. Closes ticket 9222.
  11799. - Document that the ClientOnly config option overrides ORPort.
  11800. Our old explanation made ClientOnly sound as though it did
  11801. nothing at all. Resolves bug 9059.
  11802. - Explain that SocksPolicy, DirPolicy, and similar options don't
  11803. take port arguments. Fixes the other part of ticket 11108.
  11804. - Fix a comment about the rend_server_descriptor_t.protocols field
  11805. to more accurately describe its range. Also, make that field
  11806. unsigned, to more accurately reflect its usage. Fixes bug 9099;
  11807. bugfix on 0.2.1.5-alpha.
  11808. - Fix the manpage's description of HiddenServiceAuthorizeClient:
  11809. the maximum client name length is 16, not 19. Fixes bug 11118;
  11810. bugfix on 0.2.1.6-alpha.
  11811. o Code simplifications and refactoring:
  11812. - Get rid of router->address, since in all cases it was just the
  11813. string representation of router->addr. Resolves ticket 5528.
  11814. o Test infrastructure:
  11815. - Update to the latest version of tinytest.
  11816. - Improve the tinytest implementation of string operation tests so
  11817. that comparisons with NULL strings no longer crash the tests; they
  11818. now just fail, normally. Fixes bug 9004; bugfix on 0.2.2.4-alpha.
  11819. Changes in version 0.2.4.21 - 2014-02-28
  11820. Tor 0.2.4.21 further improves security against potential adversaries who
  11821. find breaking 1024-bit crypto doable, and backports several stability
  11822. and robustness patches from the 0.2.5 branch.
  11823. o Major features (client security):
  11824. - When we choose a path for a 3-hop circuit, make sure it contains
  11825. at least one relay that supports the NTor circuit extension
  11826. handshake. Otherwise, there is a chance that we're building
  11827. a circuit that's worth attacking by an adversary who finds
  11828. breaking 1024-bit crypto doable, and that chance changes the game
  11829. theory. Implements ticket 9777.
  11830. o Major bugfixes:
  11831. - Do not treat streams that fail with reason
  11832. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  11833. since it could also indicate an ENETUNREACH connection error. Fixes
  11834. part of bug 10777; bugfix on 0.2.4.8-alpha.
  11835. o Code simplification and refactoring:
  11836. - Remove data structures which were introduced to implement the
  11837. CellStatistics option: they are now redundant with the new timestamp
  11838. field in the regular packed_cell_t data structure, which we did
  11839. in 0.2.4.18-rc in order to resolve bug 9093. Resolves ticket 10870.
  11840. o Minor features:
  11841. - Always clear OpenSSL bignums before freeing them -- even bignums
  11842. that don't contain secrets. Resolves ticket 10793. Patch by
  11843. Florent Daigniere.
  11844. - Build without warnings under clang 3.4. (We have some macros that
  11845. define static functions only some of which will get used later in
  11846. the module. Starting with clang 3.4, these give a warning unless the
  11847. unused attribute is set on them.) Resolves ticket 10904.
  11848. - Update geoip and geoip6 files to the February 7 2014 Maxmind
  11849. GeoLite2 Country database.
  11850. o Minor bugfixes:
  11851. - Set the listen() backlog limit to the largest actually supported
  11852. on the system, not to the value in a header file. Fixes bug 9716;
  11853. bugfix on every released Tor.
  11854. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  11855. exit node as a NOROUTE error, not an INTERNAL error, since they
  11856. can apparently happen when trying to connect to the wrong sort
  11857. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  11858. - Fix build warnings about missing "a2x" comment when building the
  11859. manpages from scratch on OpenBSD; OpenBSD calls it "a2x.py".
  11860. Fixes bug 10929; bugfix on 0.2.2.9-alpha. Patch from Dana Koch.
  11861. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  11862. not entirely remove it from the connection lists. Fixes bug 9602;
  11863. bugfix on 0.2.4.4-alpha.
  11864. - Fix a segmentation fault in our benchmark code when running with
  11865. Fedora's OpenSSL package, or any other OpenSSL that provides
  11866. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  11867. - Turn "circuit handshake stats since last time" log messages into a
  11868. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  11869. o Documentation fixes:
  11870. - Document that all but one DirPort entry must have the NoAdvertise
  11871. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  11872. Changes in version 0.2.5.2-alpha - 2014-02-13
  11873. Tor 0.2.5.2-alpha includes all the fixes from 0.2.4.18-rc and 0.2.4.20,
  11874. like the "poor random number generation" fix and the "building too many
  11875. circuits" fix. It also further improves security against potential
  11876. adversaries who find breaking 1024-bit crypto doable, and launches
  11877. pluggable transports on demand (which gets us closer to integrating
  11878. pluggable transport support by default -- not to be confused with Tor
  11879. bundles enabling pluggable transports and bridges by default).
  11880. o Major features (client security):
  11881. - When we choose a path for a 3-hop circuit, make sure it contains
  11882. at least one relay that supports the NTor circuit extension
  11883. handshake. Otherwise, there is a chance that we're building
  11884. a circuit that's worth attacking by an adversary who finds
  11885. breaking 1024-bit crypto doable, and that chance changes the game
  11886. theory. Implements ticket 9777.
  11887. - Clients now look at the "usecreatefast" consensus parameter to
  11888. decide whether to use CREATE_FAST or CREATE cells for the first hop
  11889. of their circuit. This approach can improve security on connections
  11890. where Tor's circuit handshake is stronger than the available TLS
  11891. connection security levels, but the tradeoff is more computational
  11892. load on guard relays. Implements proposal 221. Resolves ticket 9386.
  11893. o Major features (bridges):
  11894. - Don't launch pluggable transport proxies if we don't have any
  11895. bridges configured that would use them. Now we can list many
  11896. pluggable transports, and Tor will dynamically start one when it
  11897. hears a bridge address that needs it. Resolves ticket 5018.
  11898. - The bridge directory authority now assigns status flags (Stable,
  11899. Guard, etc) to bridges based on thresholds calculated over all
  11900. Running bridges. Now bridgedb can finally make use of its features
  11901. to e.g. include at least one Stable bridge in its answers. Fixes
  11902. bug 9859.
  11903. o Major features (other):
  11904. - Extend ORCONN controller event to include an "ID" parameter,
  11905. and add four new controller event types CONN_BW, CIRC_BW,
  11906. CELL_STATS, and TB_EMPTY that show connection and circuit usage.
  11907. The new events are emitted in private Tor networks only, with the
  11908. goal of being able to better track performance and load during
  11909. full-network simulations. Implements proposal 218 and ticket 7359.
  11910. - On some platforms (currently: recent OSX versions, glibc-based
  11911. platforms that support the ELF format, and a few other
  11912. Unix-like operating systems), Tor can now dump stack traces
  11913. when a crash occurs or an assertion fails. By default, traces
  11914. are dumped to stderr (if possible) and to any logs that are
  11915. reporting errors. Implements ticket 9299.
  11916. o Major bugfixes:
  11917. - Avoid a segfault on SIGUSR1, where we had freed a connection but did
  11918. not entirely remove it from the connection lists. Fixes bug 9602;
  11919. bugfix on 0.2.4.4-alpha.
  11920. - Do not treat streams that fail with reason
  11921. END_STREAM_REASON_INTERNAL as indicating a definite circuit failure,
  11922. since it could also indicate an ENETUNREACH connection error. Fixes
  11923. part of bug 10777; bugfix on 0.2.4.8-alpha.
  11924. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  11925. - Do not allow OpenSSL engines to replace the PRNG, even when
  11926. HardwareAccel is set. The only default builtin PRNG engine uses
  11927. the Intel RDRAND instruction to replace the entire PRNG, and
  11928. ignores all attempts to seed it with more entropy. That's
  11929. cryptographically stupid: the right response to a new alleged
  11930. entropy source is never to discard all previously used entropy
  11931. sources. Fixes bug 10402; works around behavior introduced in
  11932. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  11933. and "rl1987".
  11934. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  11935. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  11936. - Avoid launching spurious extra circuits when a stream is pending.
  11937. This fixes a bug where any circuit that _wasn't_ unusable for new
  11938. streams would be treated as if it were, causing extra circuits to
  11939. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  11940. o Major bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  11941. - No longer stop reading or writing on cpuworker connections when
  11942. our rate limiting buckets go empty. Now we should handle circuit
  11943. handshake requests more promptly. Resolves bug 9731.
  11944. - Stop trying to bootstrap all our directory information from
  11945. only our first guard. Discovered while fixing bug 9946; bugfix
  11946. on 0.2.4.8-alpha.
  11947. o Minor features (bridges, pluggable transports):
  11948. - Add threshold cutoffs to the networkstatus document created by
  11949. the Bridge Authority. Fixes bug 1117.
  11950. - On Windows, spawn background processes using the CREATE_NO_WINDOW
  11951. flag. Now Tor Browser Bundle 3.5 with pluggable transports enabled
  11952. doesn't pop up a blank console window. (In Tor Browser Bundle 2.x,
  11953. Vidalia set this option for us.) Implements ticket 10297.
  11954. o Minor features (security):
  11955. - Always clear OpenSSL bignums before freeing them -- even bignums
  11956. that don't contain secrets. Resolves ticket 10793. Patch by
  11957. Florent Daignière.
  11958. o Minor features (config options and command line):
  11959. - Add an --allow-missing-torrc commandline option that tells Tor to
  11960. run even if the configuration file specified by -f is not available.
  11961. Implements ticket 10060.
  11962. - Add support for the TPROXY transparent proxying facility on Linux.
  11963. See documentation for the new TransProxyType option for more
  11964. details. Implementation by "thomo". Closes ticket 10582.
  11965. o Minor features (controller):
  11966. - Add a new "HS_DESC" controller event that reports activities
  11967. related to hidden service descriptors. Resolves ticket 8510.
  11968. - New "DROPGUARDS" controller command to forget all current entry
  11969. guards. Not recommended for ordinary use, since replacing guards
  11970. too frequently makes several attacks easier. Resolves ticket 9934;
  11971. patch from "ra".
  11972. o Minor features (build):
  11973. - Assume that a user using ./configure --host wants to cross-compile,
  11974. and give an error if we cannot find a properly named
  11975. tool-chain. Add a --disable-tool-name-check option to proceed
  11976. nevertheless. Addresses ticket 9869. Patch by Benedikt Gollatz.
  11977. - If we run ./configure and the compiler recognizes -fstack-protector
  11978. but the linker rejects it, warn the user about a potentially missing
  11979. libssp package. Addresses ticket 9948. Patch from Benedikt Gollatz.
  11980. o Minor features (testing):
  11981. - If Python is installed, "make check" now runs extra tests beyond
  11982. the unit test scripts.
  11983. - When bootstrapping a test network, sometimes very few relays get
  11984. the Guard flag. Now a new option "TestingDirAuthVoteGuard" can
  11985. specify a set of relays which should be voted Guard regardless of
  11986. their uptime or bandwidth. Addresses ticket 9206.
  11987. o Minor features (log messages):
  11988. - When ServerTransportPlugin is set on a bridge, Tor can write more
  11989. useful statistics about bridge use in its extrainfo descriptors,
  11990. but only if the Extended ORPort ("ExtORPort") is set too. Add a
  11991. log message to inform the user in this case. Resolves ticket 9651.
  11992. - When receiving a new controller connection, log the origin address.
  11993. Resolves ticket 9698; patch from "sigpipe".
  11994. - When logging OpenSSL engine status at startup, log the status of
  11995. more engines. Fixes ticket 10043; patch from Joshua Datko.
  11996. - Turn "circuit handshake stats since last time" log messages into a
  11997. heartbeat message. Fixes bug 10485; bugfix on 0.2.4.17-rc.
  11998. o Minor features (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  11999. - Improve the circuit queue out-of-memory handler. Previously, when
  12000. we ran low on memory, we'd close whichever circuits had the most
  12001. queued cells. Now, we close those that have the *oldest* queued
  12002. cells, on the theory that those are most responsible for us
  12003. running low on memory. Based on analysis from a forthcoming paper
  12004. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  12005. - Generate bootstrapping status update events correctly when fetching
  12006. microdescriptors. Fixes bug 9927.
  12007. - Update to the October 2 2013 Maxmind GeoLite Country database.
  12008. o Minor bugfixes (clients):
  12009. - When closing a channel that has already been open, do not close
  12010. pending circuits that were waiting to connect to the same relay.
  12011. Fixes bug 9880; bugfix on 0.2.5.1-alpha. Thanks to skruffy for
  12012. finding this bug.
  12013. o Minor bugfixes (relays):
  12014. - Treat ENETUNREACH, EACCES, and EPERM connection failures at an
  12015. exit node as a NOROUTE error, not an INTERNAL error, since they
  12016. can apparently happen when trying to connect to the wrong sort
  12017. of netblocks. Fixes part of bug 10777; bugfix on 0.1.0.1-rc.
  12018. o Minor bugfixes (bridges):
  12019. - Fix a bug where the first connection works to a bridge that uses a
  12020. pluggable transport with client-side parameters, but we don't send
  12021. the client-side parameters on subsequent connections. (We don't
  12022. use any pluggable transports with client-side parameters yet,
  12023. but ScrambleSuit will soon become the first one.) Fixes bug 9162;
  12024. bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".
  12025. o Minor bugfixes (node selection):
  12026. - If ExcludeNodes is set, consider non-excluded hidden service
  12027. directory servers before excluded ones. Do not consider excluded
  12028. hidden service directory servers at all if StrictNodes is
  12029. set. (Previously, we would sometimes decide to connect to those
  12030. servers, and then realize before we initiated a connection that
  12031. we had excluded them.) Fixes bug 10722; bugfix on 0.2.0.10-alpha.
  12032. Reported by "mr-4".
  12033. - If we set the ExitNodes option but it doesn't include any nodes
  12034. that have the Exit flag, we would choose not to bootstrap. Now we
  12035. bootstrap so long as ExitNodes includes nodes which can exit to
  12036. some port. Fixes bug 10543; bugfix on 0.2.4.10-alpha.
  12037. o Minor bugfixes (controller and command-line):
  12038. - If changing a config option via "setconf" fails in a recoverable
  12039. way, we used to nonetheless write our new control ports to the
  12040. file described by the "ControlPortWriteToFile" option. Now we only
  12041. write out that file if we successfully switch to the new config
  12042. option. Fixes bug 5605; bugfix on 0.2.2.26-beta. Patch from "Ryman".
  12043. - When a command-line option such as --version or --help that
  12044. ordinarily implies --hush appears on the command line along with
  12045. --quiet, then actually obey --quiet. Previously, we obeyed --quiet
  12046. only if it appeared later on the command line. Fixes bug 9578;
  12047. bugfix on 0.2.5.1-alpha.
  12048. o Minor bugfixes (code correctness):
  12049. - Previously we used two temporary files when writing descriptors to
  12050. disk; now we only use one. Fixes bug 1376.
  12051. - Remove an erroneous (but impossible and thus harmless) pointer
  12052. comparison that would have allowed compilers to skip a bounds
  12053. check in channeltls.c. Fixes bugs 10313 and 9980; bugfix on
  12054. 0.2.0.10-alpha. Noticed by Jared L Wong and David Fifield.
  12055. - Fix an always-true assertion in pluggable transports code so it
  12056. actually checks what it was trying to check. Fixes bug 10046;
  12057. bugfix on 0.2.3.9-alpha. Found by "dcb".
  12058. o Minor bugfixes (protocol correctness):
  12059. - When receiving a VERSIONS cell with an odd number of bytes, close
  12060. the connection immediately since the cell is malformed. Fixes bug
  12061. 10365; bugfix on 0.2.0.10-alpha. Spotted by "bobnomnom"; fix by
  12062. "rl1987".
  12063. o Minor bugfixes (build):
  12064. - Restore the ability to compile Tor with V2_HANDSHAKE_SERVER
  12065. turned off (that is, without support for v2 link handshakes). Fixes
  12066. bug 4677; bugfix on 0.2.3.2-alpha. Patch from "piet".
  12067. - Fix compilation warnings and startup issues when running with
  12068. "Sandbox 1" and libseccomp-2.1.0. Fixes bug 10563; bugfix on
  12069. 0.2.5.1-alpha.
  12070. - Fix compilation on Solaris 9, which didn't like us having an
  12071. identifier named "sun". Fixes bug 10565; bugfix in 0.2.5.1-alpha.
  12072. o Minor bugfixes (testing):
  12073. - Fix a segmentation fault in our benchmark code when running with
  12074. Fedora's OpenSSL package, or any other OpenSSL that provides
  12075. ECDH but not P224. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
  12076. o Minor bugfixes (log messages):
  12077. - Fix a bug where clients using bridges would report themselves
  12078. as 50% bootstrapped even without a live consensus document.
  12079. Fixes bug 9922; bugfix on 0.2.1.1-alpha.
  12080. - Suppress a warning where, if there's only one directory authority
  12081. in the network, we would complain that votes and signatures cannot
  12082. be uploaded to other directory authorities. Fixes bug 10842;
  12083. bugfix on 0.2.2.26-beta.
  12084. - Report bootstrapping progress correctly when we're downloading
  12085. microdescriptors. We had updated our "do we have enough microdescs
  12086. to begin building circuits?" logic most recently in 0.2.4.10-alpha
  12087. (see bug 5956), but we left the bootstrap status event logic at
  12088. "how far through getting 1/4 of them are we?" Fixes bug 9958;
  12089. bugfix on 0.2.2.36, which is where they diverged (see bug 5343).
  12090. o Minor bugfixes (new since 0.2.5.1-alpha, also in 0.2.4.20):
  12091. - Avoid a crash bug when starting with a corrupted microdescriptor
  12092. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  12093. - If we fail to dump a previously cached microdescriptor to disk, avoid
  12094. freeing duplicate data later on. Fixes bug 10423; bugfix on
  12095. 0.2.4.13-alpha. Spotted by "bobnomnom".
  12096. o Minor bugfixes on 0.2.4.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  12097. - Correctly log long IPv6 exit policies, instead of truncating them
  12098. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  12099. - Our default TLS ecdhe groups were backwards: we meant to be using
  12100. P224 for relays (for performance win) and P256 for bridges (since
  12101. it is more common in the wild). Instead we had it backwards. After
  12102. reconsideration, we decided that the default should be P256 on all
  12103. hosts, since its security is probably better, and since P224 is
  12104. reportedly used quite little in the wild. Found by "skruffy" on
  12105. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  12106. - Free directory authority certificate download statuses on exit
  12107. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  12108. o Minor bugfixes on 0.2.3.x (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  12109. - If the guard we choose first doesn't answer, we would try the
  12110. second guard, but once we connected to the second guard we would
  12111. abandon it and retry the first one, slowing down bootstrapping.
  12112. The fix is to treat all our initially chosen guards as acceptable
  12113. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  12114. - Fix an assertion failure that would occur when disabling the
  12115. ORPort setting on a running Tor process while accounting was
  12116. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  12117. - When examining the list of network interfaces to find our address,
  12118. do not consider non-running or disabled network interfaces. Fixes
  12119. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  12120. - Avoid an off-by-one error when checking buffer boundaries when
  12121. formatting the exit status of a pluggable transport helper.
  12122. This is probably not an exploitable bug, but better safe than
  12123. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  12124. Pedro Ribeiro.
  12125. o Removed code and features:
  12126. - Clients now reject any directory authority certificates lacking
  12127. a dir-key-crosscert element. These have been included since
  12128. 0.2.1.9-alpha, so there's no real reason for them to be optional
  12129. any longer. Completes proposal 157. Resolves ticket 10162.
  12130. - Remove all code that existed to support the v2 directory system,
  12131. since there are no longer any v2 directory authorities. Resolves
  12132. ticket 10758.
  12133. - Remove the HSAuthoritativeDir and AlternateHSAuthority torrc
  12134. options, which were used for designating authorities as "Hidden
  12135. service authorities". There has been no use of hidden service
  12136. authorities since 0.2.2.1-alpha, when we stopped uploading or
  12137. downloading v0 hidden service descriptors. Fixes bug 10881; also
  12138. part of a fix for bug 10841.
  12139. o Code simplification and refactoring:
  12140. - Remove some old fallback code designed to keep Tor clients working
  12141. in a network with only two working relays. Elsewhere in the code we
  12142. have long since stopped supporting such networks, so there wasn't
  12143. much point in keeping it around. Addresses ticket 9926.
  12144. - Reject 0-length EXTEND2 cells more explicitly. Fixes bug 10536;
  12145. bugfix on 0.2.4.8-alpha. Reported by "cypherpunks".
  12146. - Remove data structures which were introduced to implement the
  12147. CellStatistics option: they are now redundant with the addition
  12148. of a timestamp to the regular packed_cell_t data structure, which
  12149. we did in 0.2.4.18-rc in order to resolve ticket 9093. Implements
  12150. ticket 10870.
  12151. o Documentation (man page) fixes:
  12152. - Update manpage to describe some of the files you can expect to
  12153. find in Tor's DataDirectory. Addresses ticket 9839.
  12154. - Document that all but one DirPort entry must have the NoAdvertise
  12155. flag set. Fixes bug 10470; bugfix on 0.2.3.3-alpha / 0.2.3.16-alpha.
  12156. o Documentation fixes (new since 0.2.5.1-alpha, also in 0.2.4.18-rc):
  12157. - Clarify the usage and risks of setting the ContactInfo torrc line
  12158. for your relay or bridge. Resolves ticket 9854.
  12159. - Add anchors to the manpage so we can link to the html version of
  12160. the documentation for specific options. Resolves ticket 9866.
  12161. - Replace remaining references to DirServer in man page and
  12162. log entries. Resolves ticket 10124.
  12163. o Tool changes:
  12164. - Make the "tor-gencert" tool used by directory authority operators
  12165. create 2048-bit signing keys by default (rather than 1024-bit, since
  12166. 1024-bit is uncomfortably small these days). Addresses ticket 10324.
  12167. Changes in version 0.2.4.20 - 2013-12-22
  12168. Tor 0.2.4.20 fixes potentially poor random number generation for users
  12169. who 1) use OpenSSL 1.0.0 or later, 2) set "HardwareAccel 1" in their
  12170. torrc file, 3) have "Sandy Bridge" or "Ivy Bridge" Intel processors,
  12171. and 4) have no state file in their DataDirectory (as would happen on
  12172. first start). Users who generated relay or hidden service identity
  12173. keys in such a situation should discard them and generate new ones.
  12174. This release also fixes a logic error that caused Tor clients to build
  12175. many more preemptive circuits than they actually need.
  12176. o Major bugfixes:
  12177. - Do not allow OpenSSL engines to replace the PRNG, even when
  12178. HardwareAccel is set. The only default builtin PRNG engine uses
  12179. the Intel RDRAND instruction to replace the entire PRNG, and
  12180. ignores all attempts to seed it with more entropy. That's
  12181. cryptographically stupid: the right response to a new alleged
  12182. entropy source is never to discard all previously used entropy
  12183. sources. Fixes bug 10402; works around behavior introduced in
  12184. OpenSSL 1.0.0. Diagnosis and investigation thanks to "coderman"
  12185. and "rl1987".
  12186. - Fix assertion failure when AutomapHostsOnResolve yields an IPv6
  12187. address. Fixes bug 10465; bugfix on 0.2.4.7-alpha.
  12188. - Avoid launching spurious extra circuits when a stream is pending.
  12189. This fixes a bug where any circuit that _wasn't_ unusable for new
  12190. streams would be treated as if it were, causing extra circuits to
  12191. be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
  12192. o Minor bugfixes:
  12193. - Avoid a crash bug when starting with a corrupted microdescriptor
  12194. cache file. Fixes bug 10406; bugfix on 0.2.2.6-alpha.
  12195. - If we fail to dump a previously cached microdescriptor to disk, avoid
  12196. freeing duplicate data later on. Fixes bug 10423; bugfix on
  12197. 0.2.4.13-alpha. Spotted by "bobnomnom".
  12198. Changes in version 0.2.4.19 - 2013-12-11
  12199. The Tor 0.2.4 release series is dedicated to the memory of Aaron Swartz
  12200. (1986-2013). Aaron worked on diverse projects including helping to guide
  12201. Creative Commons, playing a key role in stopping SOPA/PIPA, bringing
  12202. transparency to the U.S government's PACER documents, and contributing
  12203. design and development for Tor and Tor2Web. Aaron was one of the latest
  12204. martyrs in our collective fight for civil liberties and human rights,
  12205. and his death is all the more painful because he was one of us.
  12206. Tor 0.2.4.19, the first stable release in the 0.2.4 branch, features
  12207. a new circuit handshake and link encryption that use ECC to provide
  12208. better security and efficiency; makes relays better manage circuit
  12209. creation requests; uses "directory guards" to reduce client enumeration
  12210. risks; makes bridges collect and report statistics about the pluggable
  12211. transports they support; cleans up and improves our geoip database;
  12212. gets much closer to IPv6 support for clients, bridges, and relays; makes
  12213. directory authorities use measured bandwidths rather than advertised
  12214. ones when computing flags and thresholds; disables client-side DNS
  12215. caching to reduce tracking risks; and fixes a big bug in bridge
  12216. reachability testing. This release introduces two new design
  12217. abstractions in the code: a new "channel" abstraction between circuits
  12218. and or_connections to allow for implementing alternate relay-to-relay
  12219. transports, and a new "circuitmux" abstraction storing the queue of
  12220. circuits for a channel. The release also includes many stability,
  12221. security, and privacy fixes.
  12222. Changes in version 0.2.4.18-rc - 2013-11-16
  12223. Tor 0.2.4.18-rc is the fourth release candidate for the Tor 0.2.4.x
  12224. series. It takes a variety of fixes from the 0.2.5.x branch to improve
  12225. stability, performance, and better handling of edge cases.
  12226. o Major features:
  12227. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  12228. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  12229. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  12230. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  12231. them to solve bug 6033.)
  12232. o Major bugfixes:
  12233. - No longer stop reading or writing on cpuworker connections when
  12234. our rate limiting buckets go empty. Now we should handle circuit
  12235. handshake requests more promptly. Resolves bug 9731.
  12236. - If we are unable to save a microdescriptor to the journal, do not
  12237. drop it from memory and then reattempt downloading it. Fixes bug
  12238. 9645; bugfix on 0.2.2.6-alpha.
  12239. - Stop trying to bootstrap all our directory information from
  12240. only our first guard. Discovered while fixing bug 9946; bugfix
  12241. on 0.2.4.8-alpha.
  12242. - The new channel code sometimes lost track of in-progress circuits,
  12243. causing long-running clients to stop building new circuits. The
  12244. fix is to always call circuit_n_chan_done(chan, 0) from
  12245. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  12246. o Minor bugfixes (on 0.2.4.x):
  12247. - Correctly log long IPv6 exit policies, instead of truncating them
  12248. or reporting an error. Fixes bug 9596; bugfix on 0.2.4.7-alpha.
  12249. - Our default TLS ecdhe groups were backwards: we meant to be using
  12250. P224 for relays (for performance win) and P256 for bridges (since
  12251. it is more common in the wild). Instead we had it backwards. After
  12252. reconsideration, we decided that the default should be P256 on all
  12253. hosts, since its security is probably better, and since P224 is
  12254. reportedly used quite little in the wild. Found by "skruffy" on
  12255. IRC. Fix for bug 9780; bugfix on 0.2.4.8-alpha.
  12256. - Free directory authority certificate download statuses on exit
  12257. rather than leaking them. Fixes bug 9644; bugfix on 0.2.4.13-alpha.
  12258. o Minor bugfixes (on 0.2.3.x and earlier):
  12259. - If the guard we choose first doesn't answer, we would try the
  12260. second guard, but once we connected to the second guard we would
  12261. abandon it and retry the first one, slowing down bootstrapping.
  12262. The fix is to treat all our initially chosen guards as acceptable
  12263. to use. Fixes bug 9946; bugfix on 0.1.1.11-alpha.
  12264. - Fix an assertion failure that would occur when disabling the
  12265. ORPort setting on a running Tor process while accounting was
  12266. enabled. Fixes bug 6979; bugfix on 0.2.2.18-alpha.
  12267. - When examining the list of network interfaces to find our address,
  12268. do not consider non-running or disabled network interfaces. Fixes
  12269. bug 9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
  12270. - Avoid an off-by-one error when checking buffer boundaries when
  12271. formatting the exit status of a pluggable transport helper.
  12272. This is probably not an exploitable bug, but better safe than
  12273. sorry. Fixes bug 9928; bugfix on 0.2.3.18-rc. Bug found by
  12274. Pedro Ribeiro.
  12275. o Minor features (protecting client timestamps):
  12276. - Clients no longer send timestamps in their NETINFO cells. These were
  12277. not used for anything, and they provided one small way for clients
  12278. to be distinguished from each other as they moved from network to
  12279. network or behind NAT. Implements part of proposal 222.
  12280. - Clients now round timestamps in INTRODUCE cells down to the nearest
  12281. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  12282. if it's set to "auto" and the feature is disabled in the consensus,
  12283. the timestamp is sent as 0 instead. Implements part of proposal 222.
  12284. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  12285. a big deal from a security point of view, but it achieves no actual
  12286. good purpose, and isn't needed. Implements part of proposal 222.
  12287. - Reduce down accuracy of timestamps in hidden service descriptors.
  12288. Implements part of proposal 222.
  12289. o Minor features (other):
  12290. - Improve the circuit queue out-of-memory handler. Previously, when
  12291. we ran low on memory, we'd close whichever circuits had the most
  12292. queued cells. Now, we close those that have the *oldest* queued
  12293. cells, on the theory that those are most responsible for us
  12294. running low on memory. Based on analysis from a forthcoming paper
  12295. by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
  12296. - Generate bootstrapping status update events correctly when fetching
  12297. microdescriptors. Fixes bug 9927.
  12298. - Update to the October 2 2013 Maxmind GeoLite Country database.
  12299. o Documentation fixes:
  12300. - Clarify the usage and risks of setting the ContactInfo torrc line
  12301. for your relay or bridge. Resolves ticket 9854.
  12302. - Add anchors to the manpage so we can link to the html version of
  12303. the documentation for specific options. Resolves ticket 9866.
  12304. - Replace remaining references to DirServer in man page and
  12305. log entries. Resolves ticket 10124.
  12306. Changes in version 0.2.5.1-alpha - 2013-10-02
  12307. Tor 0.2.5.1-alpha introduces experimental support for syscall sandboxing
  12308. on Linux, allows bridges that offer pluggable transports to report usage
  12309. statistics, fixes many issues to make testing easier, and provides
  12310. a pile of minor features and bugfixes that have been waiting for a
  12311. release of the new branch.
  12312. This is the first alpha release in a new series, so expect there to
  12313. be bugs. Users who would rather test out a more stable branch should
  12314. stay with 0.2.4.x for now.
  12315. o Major features (security):
  12316. - Use the seccomp2 syscall filtering facility on Linux to limit
  12317. which system calls Tor can invoke. This is an experimental,
  12318. Linux-only feature to provide defense-in-depth against unknown
  12319. attacks. To try turning it on, set "Sandbox 1" in your torrc
  12320. file. Please be ready to report bugs. We hope to add support
  12321. for better sandboxing in the future, including more fine-grained
  12322. filters, better division of responsibility, and support for more
  12323. platforms. This work has been done by Cristian-Matei Toader for
  12324. Google Summer of Code.
  12325. - Re-enable TLS 1.1 and 1.2 when built with OpenSSL 1.0.1e or later.
  12326. Resolves ticket 6055. (OpenSSL before 1.0.1 didn't have TLS 1.1 or
  12327. 1.2, and OpenSSL from 1.0.1 through 1.0.1d had bugs that prevented
  12328. renegotiation from working with TLS 1.1 or 1.2, so we had disabled
  12329. them to solve bug 6033.)
  12330. o Major features (other):
  12331. - Add support for passing arguments to managed pluggable transport
  12332. proxies. Implements ticket 3594.
  12333. - Bridges now track GeoIP information and the number of their users
  12334. even when pluggable transports are in use, and report usage
  12335. statistics in their extra-info descriptors. Resolves tickets 4773
  12336. and 5040.
  12337. - Make testing Tor networks bootstrap better: lower directory fetch
  12338. retry schedules and maximum interval without directory requests,
  12339. and raise maximum download tries. Implements ticket 6752.
  12340. - Add make target 'test-network' to run tests on a Chutney network.
  12341. Implements ticket 8530.
  12342. - The ntor handshake is now on-by-default, no matter what the
  12343. directory authorities recommend. Implements ticket 8561.
  12344. o Major bugfixes:
  12345. - Instead of writing destroy cells directly to outgoing connection
  12346. buffers, queue them and intersperse them with other outgoing cells.
  12347. This can prevent a set of resource starvation conditions where too
  12348. many pending destroy cells prevent data cells from actually getting
  12349. delivered. Reported by "oftc_must_be_destroyed". Fixes bug 7912;
  12350. bugfix on 0.2.0.1-alpha.
  12351. - If we are unable to save a microdescriptor to the journal, do not
  12352. drop it from memory and then reattempt downloading it. Fixes bug
  12353. 9645; bugfix on 0.2.2.6-alpha.
  12354. - The new channel code sometimes lost track of in-progress circuits,
  12355. causing long-running clients to stop building new circuits. The
  12356. fix is to always call circuit_n_chan_done(chan, 0) from
  12357. channel_closed(). Fixes bug 9776; bugfix on 0.2.4.17-rc.
  12358. o Build features:
  12359. - Tor now builds each source file in two modes: a mode that avoids
  12360. exposing identifiers needlessly, and another mode that exposes
  12361. more identifiers for testing. This lets the compiler do better at
  12362. optimizing the production code, while enabling us to take more
  12363. radical measures to let the unit tests test things.
  12364. - The production builds no longer include functions used only in
  12365. the unit tests; all functions exposed from a module only for
  12366. unit-testing are now static in production builds.
  12367. - Add an --enable-coverage configuration option to make the unit
  12368. tests (and a new src/or/tor-cov target) to build with gcov test
  12369. coverage support.
  12370. o Testing:
  12371. - We now have rudimentary function mocking support that our unit
  12372. tests can use to test functions in isolation. Function mocking
  12373. lets the tests temporarily replace a function's dependencies with
  12374. stub functions, so that the tests can check the function without
  12375. invoking the other functions it calls.
  12376. - Add more unit tests for the <circid,channel>->circuit map, and
  12377. the destroy-cell-tracking code to fix bug 7912.
  12378. - Unit tests for failing cases of the TAP onion handshake.
  12379. - More unit tests for address-manipulation functions.
  12380. o Minor features (protecting client timestamps):
  12381. - Clients no longer send timestamps in their NETINFO cells. These were
  12382. not used for anything, and they provided one small way for clients
  12383. to be distinguished from each other as they moved from network to
  12384. network or behind NAT. Implements part of proposal 222.
  12385. - Clients now round timestamps in INTRODUCE cells down to the nearest
  12386. 10 minutes. If a new Support022HiddenServices option is set to 0, or
  12387. if it's set to "auto" and the feature is disabled in the consensus,
  12388. the timestamp is sent as 0 instead. Implements part of proposal 222.
  12389. - Stop sending timestamps in AUTHENTICATE cells. This is not such
  12390. a big deal from a security point of view, but it achieves no actual
  12391. good purpose, and isn't needed. Implements part of proposal 222.
  12392. - Reduce down accuracy of timestamps in hidden service descriptors.
  12393. Implements part of proposal 222.
  12394. o Minor features (config options):
  12395. - Config (torrc) lines now handle fingerprints which are missing
  12396. their initial '$'. Resolves ticket 4341; improvement over 0.0.9pre5.
  12397. - Support a --dump-config option to print some or all of the
  12398. configured options. Mainly useful for debugging the command-line
  12399. option parsing code. Helps resolve ticket 4647.
  12400. - Raise awareness of safer logging: notify user of potentially
  12401. unsafe config options, like logging more verbosely than severity
  12402. "notice" or setting SafeLogging to 0. Resolves ticket 5584.
  12403. - Add a new configuration option TestingV3AuthVotingStartOffset
  12404. that bootstraps a network faster by changing the timing for
  12405. consensus votes. Addresses ticket 8532.
  12406. - Add a new torrc option "ServerTransportOptions" that allows
  12407. bridge operators to pass configuration parameters to their
  12408. pluggable transports. Resolves ticket 8929.
  12409. - The config (torrc) file now accepts bandwidth and space limits in
  12410. bits as well as bytes. (Anywhere that you can say "2 Kilobytes",
  12411. you can now say "16 kilobits", and so on.) Resolves ticket 9214.
  12412. Patch by CharlieB.
  12413. o Minor features (build):
  12414. - Add support for `--library-versions` flag. Implements ticket 6384.
  12415. - Return the "unexpected sendme" warnings to a warn severity, but make
  12416. them rate limited, to help diagnose ticket 8093.
  12417. - Detect a missing asciidoc, and warn the user about it, during
  12418. configure rather than at build time. Fixes issue 6506. Patch from
  12419. Arlo Breault.
  12420. o Minor features (other):
  12421. - Use the SOCK_NONBLOCK socket type, if supported, to open nonblocking
  12422. sockets in a single system call. Implements ticket 5129.
  12423. - Log current accounting state (bytes sent and received + remaining
  12424. time for the current accounting period) in the relay's heartbeat
  12425. message. Implements ticket 5526; patch from Peter Retzlaff.
  12426. - Implement the TRANSPORT_LAUNCHED control port event that
  12427. notifies controllers about new launched pluggable
  12428. transports. Resolves ticket 5609.
  12429. - If we're using the pure-C 32-bit curve25519_donna implementation
  12430. of curve25519, build it with the -fomit-frame-pointer option to
  12431. make it go faster on register-starved hosts. This improves our
  12432. handshake performance by about 6% on i386 hosts without nacl.
  12433. Closes ticket 8109.
  12434. - Update to the September 4 2013 Maxmind GeoLite Country database.
  12435. o Minor bugfixes:
  12436. - Set the listen() backlog limit to the largest actually supported
  12437. on the system, not to the value in a header file. Fixes bug 9716;
  12438. bugfix on every released Tor.
  12439. - No longer accept malformed http headers when parsing urls from
  12440. headers. Now we reply with Bad Request ("400"). Fixes bug 2767;
  12441. bugfix on 0.0.6pre1.
  12442. - In munge_extrainfo_into_routerinfo(), check the return value of
  12443. memchr(). This would have been a serious issue if we ever passed
  12444. it a non-extrainfo. Fixes bug 8791; bugfix on 0.2.0.6-alpha. Patch
  12445. from Arlo Breault.
  12446. - On the chance that somebody manages to build Tor on a
  12447. platform where time_t is unsigned, correct the way that
  12448. microdesc_add_to_cache() handles negative time arguments.
  12449. Fixes bug 8042; bugfix on 0.2.3.1-alpha.
  12450. - Reject relative control socket paths and emit a warning. Previously,
  12451. single-component control socket paths would be rejected, but Tor
  12452. would not log why it could not validate the config. Fixes bug 9258;
  12453. bugfix on 0.2.3.16-alpha.
  12454. o Minor bugfixes (command line):
  12455. - Use a single command-line parser for parsing torrc options on the
  12456. command line and for finding special command-line options to avoid
  12457. inconsistent behavior for torrc option arguments that have the same
  12458. names as command-line options. Fixes bugs 4647 and 9578; bugfix on
  12459. 0.0.9pre5.
  12460. - No longer allow 'tor --hash-password' with no arguments. Fixes bug
  12461. 9573; bugfix on 0.0.9pre5.
  12462. o Minor fixes (build, auxiliary programs):
  12463. - Stop preprocessing the "torify" script with autoconf, since
  12464. it no longer refers to LOCALSTATEDIR. Fixes bug 5505; patch
  12465. from Guilhem.
  12466. - The tor-fw-helper program now follows the standard convention and
  12467. exits with status code "0" on success. Fixes bug 9030; bugfix on
  12468. 0.2.3.1-alpha. Patch by Arlo Breault.
  12469. - Corrected ./configure advice for what openssl dev package you should
  12470. install on Debian. Fixes bug 9207; bugfix on 0.2.0.1-alpha.
  12471. o Minor code improvements:
  12472. - Remove constants and tests for PKCS1 padding; it's insecure and
  12473. shouldn't be used for anything new. Fixes bug 8792; patch
  12474. from Arlo Breault.
  12475. - Remove instances of strcpy() from the unit tests. They weren't
  12476. hurting anything, since they were only in the unit tests, but it's
  12477. embarrassing to have strcpy() in the code at all, and some analysis
  12478. tools don't like it. Fixes bug 8790; bugfix on 0.2.3.6-alpha and
  12479. 0.2.3.8-alpha. Patch from Arlo Breault.
  12480. o Removed features:
  12481. - Remove migration code from when we renamed the "cached-routers"
  12482. file to "cached-descriptors" back in 0.2.0.8-alpha. This
  12483. incidentally resolves ticket 6502 by cleaning up the related code
  12484. a bit. Patch from Akshay Hebbar.
  12485. o Code simplification and refactoring:
  12486. - Extract the common duplicated code for creating a subdirectory
  12487. of the data directory and writing to a file in it. Fixes ticket
  12488. 4282; patch from Peter Retzlaff.
  12489. - Since OpenSSL 0.9.7, the i2d_*() functions support allocating output
  12490. buffer. Avoid calling twice: i2d_RSAPublicKey(), i2d_DHparams(),
  12491. i2d_X509(), and i2d_PublicKey(). Resolves ticket 5170.
  12492. - Add a set of accessor functions for the circuit timeout data
  12493. structure. Fixes ticket 6153; patch from "piet".
  12494. - Clean up exit paths from connection_listener_new(). Closes ticket
  12495. 8789. Patch from Arlo Breault.
  12496. - Since we rely on OpenSSL 0.9.8 now, we can use EVP_PKEY_cmp()
  12497. and drop our own custom pkey_eq() implementation. Fixes bug 9043.
  12498. - Use a doubly-linked list to implement the global circuit list.
  12499. Resolves ticket 9108. Patch from Marek Majkowski.
  12500. - Remove contrib/id_to_fp.c since it wasn't used anywhere.
  12501. Changes in version 0.2.4.17-rc - 2013-09-05
  12502. Tor 0.2.4.17-rc is the third release candidate for the Tor 0.2.4.x
  12503. series. It adds an emergency step to help us tolerate the massive
  12504. influx of users: 0.2.4 clients using the new (faster and safer) "NTor"
  12505. circuit-level handshakes now effectively jump the queue compared to
  12506. the 0.2.3 clients using "TAP" handshakes. This release also fixes a
  12507. big bug hindering bridge reachability tests.
  12508. o Major features:
  12509. - Relays now process the new "NTor" circuit-level handshake requests
  12510. with higher priority than the old "TAP" circuit-level handshake
  12511. requests. We still process some TAP requests to not totally starve
  12512. 0.2.3 clients when NTor becomes popular. A new consensus parameter
  12513. "NumNTorsPerTAP" lets us tune the balance later if we need to.
  12514. Implements ticket 9574.
  12515. o Major bugfixes:
  12516. - If the circuit build timeout logic is disabled (via the consensus,
  12517. or because we are an authority), then don't build testing circuits.
  12518. Fixes bug 9657; bugfix on 0.2.2.14-alpha.
  12519. - Bridges now send AUTH_CHALLENGE cells during their v3 handshakes;
  12520. previously they did not, which prevented them from receiving
  12521. successful connections from relays for self-test or bandwidth
  12522. testing. Also, when a relay is extending a circuit to a bridge,
  12523. it needs to send a NETINFO cell, even when the bridge hasn't sent
  12524. an AUTH_CHALLENGE cell. Fixes bug 9546; bugfix on 0.2.3.6-alpha.
  12525. - If the time to download the next old-style networkstatus is in
  12526. the future, do not decline to consider whether to download the
  12527. next microdescriptor networkstatus. Fixes bug 9564; bugfix on
  12528. 0.2.3.14-alpha.
  12529. o Minor bugfixes:
  12530. - Avoid double-closing the listener socket in our socketpair()
  12531. replacement (used on Windows) in the case where the addresses on
  12532. our opened sockets don't match what we expected. Fixes bug 9400;
  12533. bugfix on 0.0.2pre7. Found by Coverity.
  12534. o Minor fixes (config options):
  12535. - Avoid overflows when the user sets MaxCircuitDirtiness to a
  12536. ridiculously high value, by imposing a (ridiculously high) 30-day
  12537. maximum on MaxCircuitDirtiness.
  12538. - Fix the documentation of HeartbeatPeriod to say that the heartbeat
  12539. message is logged at notice, not at info.
  12540. - Warn and fail if a server is configured not to advertise any
  12541. ORPorts at all. (We need *something* to put in our descriptor,
  12542. or we just won't work.)
  12543. o Minor features:
  12544. - Track how many "TAP" and "NTor" circuit handshake requests we get,
  12545. and how many we complete, and log it every hour to help relay
  12546. operators follow trends in network load. Addresses ticket 9658.
  12547. - Update to the August 7 2013 Maxmind GeoLite Country database.
  12548. Changes in version 0.2.4.16-rc - 2013-08-10
  12549. Tor 0.2.4.16-rc is the second release candidate for the Tor 0.2.4.x
  12550. series. It fixes several crash bugs in the 0.2.4 branch.
  12551. o Major bugfixes:
  12552. - Fix a bug in the voting algorithm that could yield incorrect results
  12553. when a non-naming authority declared too many flags. Fixes bug 9200;
  12554. bugfix on 0.2.0.3-alpha.
  12555. - Fix an uninitialized read that could in some cases lead to a remote
  12556. crash while parsing INTRODUCE2 cells. Bugfix on 0.2.4.1-alpha.
  12557. Anybody running a hidden service on the experimental 0.2.4.x
  12558. branch should upgrade. (This is, so far as we know, unrelated to
  12559. the recent news.)
  12560. - Avoid an assertion failure when processing DNS replies without the
  12561. answer types we expected. Fixes bug 9337; bugfix on 0.2.4.7-alpha.
  12562. - Avoid a crash when using --hash-password. Fixes bug 9295; bugfix on
  12563. 0.2.4.15-rc. Found by stem integration tests.
  12564. o Minor bugfixes:
  12565. - Fix an invalid memory read that occurred when a pluggable
  12566. transport proxy failed its configuration protocol.
  12567. Fixes bug 9288; bugfix on 0.2.4.1-alpha.
  12568. - When evaluating whether to use a connection that we haven't
  12569. decided is canonical using a recent link protocol version,
  12570. decide that it's canonical only if it used address _does_
  12571. match the desired address. Fixes bug 9309; bugfix on
  12572. 0.2.4.4-alpha. Reported by skruffy.
  12573. - Make the default behavior of NumDirectoryGuards be to track
  12574. NumEntryGuards. Now a user who changes only NumEntryGuards will get
  12575. the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
  12576. - Fix a spurious compilation warning with some older versions of
  12577. GCC on FreeBSD. Fixes bug 9254; bugfix on 0.2.4.14-alpha.
  12578. o Minor features:
  12579. - Update to the July 3 2013 Maxmind GeoLite Country database.
  12580. Changes in version 0.2.4.15-rc - 2013-07-01
  12581. Tor 0.2.4.15-rc is the first release candidate for the Tor 0.2.4.x
  12582. series. It fixes a few smaller bugs, but generally appears stable.
  12583. Please test it and let us know whether it is!
  12584. o Major bugfixes:
  12585. - When receiving a new configuration file via the control port's
  12586. LOADCONF command, do not treat the defaults file as absent.
  12587. Fixes bug 9122; bugfix on 0.2.3.9-alpha.
  12588. o Minor features:
  12589. - Issue a warning when running with the bufferevents backend enabled.
  12590. It's still not stable, and people should know that they're likely
  12591. to hit unexpected problems. Closes ticket 9147.
  12592. Changes in version 0.2.4.14-alpha - 2013-06-18
  12593. Tor 0.2.4.14-alpha fixes a pair of client guard enumeration problems
  12594. present in 0.2.4.13-alpha.
  12595. o Major bugfixes:
  12596. - When we have too much memory queued in circuits (according to a new
  12597. MaxMemInCellQueues option), close the circuits consuming the most
  12598. memory. This prevents us from running out of memory as a relay if
  12599. circuits fill up faster than they can be drained. Fixes bug 9063;
  12600. bugfix on the 54th commit of Tor. This bug is a further fix beyond
  12601. bug 6252, whose fix was merged into 0.2.3.21-rc.
  12602. This change also fixes an earlier approach taken in 0.2.4.13-alpha,
  12603. where we tried to solve this issue simply by imposing an upper limit
  12604. on the number of queued cells for a single circuit. That approach
  12605. proved to be problematic, since there are ways to provoke clients to
  12606. send a number of cells in excess of any such reasonable limit. Fixes
  12607. bug 9072; bugfix on 0.2.4.13-alpha.
  12608. - Limit hidden service descriptors to at most ten introduction
  12609. points, to slow one kind of guard enumeration. Fixes bug 9002;
  12610. bugfix on 0.1.1.11-alpha.
  12611. Changes in version 0.2.4.13-alpha - 2013-06-14
  12612. Tor 0.2.4.13-alpha fixes a variety of potential remote crash
  12613. vulnerabilities, makes socks5 username/password circuit isolation
  12614. actually actually work (this time for sure!), and cleans up a bunch
  12615. of other issues in preparation for a release candidate.
  12616. o Major bugfixes (robustness):
  12617. - Close any circuit that has too many cells queued on it. Fixes
  12618. bug 9063; bugfix on the 54th commit of Tor. This bug is a further
  12619. fix beyond bug 6252, whose fix was merged into 0.2.3.21-rc.
  12620. - Prevent the get_freelists() function from running off the end of
  12621. the list of freelists if it somehow gets an unrecognized
  12622. allocation. Fixes bug 8844; bugfix on 0.2.0.16-alpha. Reported by
  12623. eugenis.
  12624. - Avoid an assertion failure on OpenBSD (and perhaps other BSDs)
  12625. when an exit connection with optimistic data succeeds immediately
  12626. rather than returning EINPROGRESS. Fixes bug 9017; bugfix on
  12627. 0.2.3.1-alpha.
  12628. - Fix a directory authority crash bug when building a consensus
  12629. using an older consensus as its basis. Fixes bug 8833. Bugfix
  12630. on 0.2.4.12-alpha.
  12631. o Major bugfixes:
  12632. - Avoid a memory leak where we would leak a consensus body when we
  12633. find that a consensus which we couldn't previously verify due to
  12634. missing certificates is now verifiable. Fixes bug 8719; bugfix
  12635. on 0.2.0.10-alpha.
  12636. - We used to always request authority certificates by identity digest,
  12637. meaning we'd get the newest one even when we wanted one with a
  12638. different signing key. Then we would complain about being given
  12639. a certificate we already had, and never get the one we really
  12640. wanted. Now we use the "fp-sk/" resource as well as the "fp/"
  12641. resource to request the one we want. Fixes bug 5595; bugfix on
  12642. 0.2.0.8-alpha.
  12643. - Follow the socks5 protocol when offering username/password
  12644. authentication. The fix for bug 8117 exposed this bug, and it
  12645. turns out real-world applications like Pidgin do care. Bugfix on
  12646. 0.2.3.2-alpha; fixes bug 8879.
  12647. - Prevent failures on Windows Vista and later when rebuilding the
  12648. microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
  12649. bugfix on 0.2.4.12-alpha.
  12650. o Minor bugfixes:
  12651. - Fix an impossible buffer overrun in the AES unit tests. Fixes
  12652. bug 8845; bugfix on 0.2.0.7-alpha. Found by eugenis.
  12653. - If for some reason we fail to write a microdescriptor while
  12654. rebuilding the cache, do not let the annotations from that
  12655. microdescriptor linger in the cache file, and do not let the
  12656. microdescriptor stay recorded as present in its old location.
  12657. Fixes bug 9047; bugfix on 0.2.2.6-alpha.
  12658. - Fix a memory leak that would occur whenever a configuration
  12659. option changed. Fixes bug 8718; bugfix on 0.2.3.3-alpha.
  12660. - Paste the description for PathBias parameters from the man
  12661. page into or.h, so the code documents them too. Fixes bug 7982;
  12662. bugfix on 0.2.3.17-beta and 0.2.4.8-alpha.
  12663. - Relays now treat a changed IPv6 ORPort as sufficient reason to
  12664. publish an updated descriptor. Fixes bug 6026; bugfix on
  12665. 0.2.4.1-alpha.
  12666. - When launching a resolve request on behalf of an AF_UNIX control
  12667. socket, omit the address field of the new entry connection, used in
  12668. subsequent controller events, rather than letting tor_dup_addr()
  12669. set it to "<unknown address type>". Fixes bug 8639; bugfix on
  12670. 0.2.4.12-alpha.
  12671. o Minor bugfixes (log messages):
  12672. - Fix a scaling issue in the path bias accounting code that
  12673. resulted in "Bug:" log messages from either
  12674. pathbias_scale_close_rates() or pathbias_count_build_success().
  12675. This represents a bugfix on a previous bugfix: the original fix
  12676. attempted in 0.2.4.10-alpha was incomplete. Fixes bug 8235; bugfix
  12677. on 0.2.4.1-alpha.
  12678. - Give a less useless error message when the user asks for an IPv4
  12679. address on an IPv6-only port, or vice versa. Fixes bug 8846; bugfix
  12680. on 0.2.4.7-alpha.
  12681. o Minor features:
  12682. - Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4.x,
  12683. to tolerate bug 8093 for now.
  12684. - Add an "ignoring-advertised-bws" boolean to the flag-threshold lines
  12685. in directory authority votes to describe whether they have enough
  12686. measured bandwidths to ignore advertised (relay descriptor)
  12687. bandwidth claims. Resolves ticket 8711.
  12688. - Update to the June 5 2013 Maxmind GeoLite Country database.
  12689. o Removed documentation:
  12690. - Remove some of the older contents of doc/ as obsolete; move others
  12691. to torspec.git. Fixes bug 8965.
  12692. o Code simplification and refactoring:
  12693. - Avoid using character buffers when constructing most directory
  12694. objects: this approach was unwieldy and error-prone. Instead,
  12695. build smartlists of strings, and concatenate them when done.
  12696. Changes in version 0.2.4.12-alpha - 2013-04-18
  12697. Tor 0.2.4.12-alpha moves Tor forward on several fronts: it starts the
  12698. process for lengthening the guard rotation period, makes directory
  12699. authority opinions in the consensus a bit less gameable, makes socks5
  12700. username/password circuit isolation actually work, and fixes a wide
  12701. variety of other issues.
  12702. o Major features:
  12703. - Raise the default time that a client keeps an entry guard from
  12704. "1-2 months" to "2-3 months", as suggested by Tariq Elahi's WPES
  12705. 2012 paper. (We would make it even longer, but we need better client
  12706. load balancing first.) Also, make the guard lifetime controllable
  12707. via a new GuardLifetime torrc option and a GuardLifetime consensus
  12708. parameter. Start of a fix for bug 8240; bugfix on 0.1.1.11-alpha.
  12709. - Directory authorities now prefer using measured bandwidths to
  12710. advertised ones when computing flags and thresholds. Resolves
  12711. ticket 8273.
  12712. - Directory authorities that have more than a threshold number
  12713. of relays with measured bandwidths now treat relays with unmeasured
  12714. bandwidths as having bandwidth 0. Resolves ticket 8435.
  12715. o Major bugfixes (assert / resource use):
  12716. - Avoid a bug where our response to TLS renegotiation under certain
  12717. network conditions could lead to a busy-loop, with 100% CPU
  12718. consumption. Fixes bug 5650; bugfix on 0.2.0.16-alpha.
  12719. - Avoid an assertion when we discover that we'd like to write a cell
  12720. onto a closing connection: just discard the cell. Fixes another
  12721. case of bug 7350; bugfix on 0.2.4.4-alpha.
  12722. o Major bugfixes (client-side privacy):
  12723. - When we mark a circuit as unusable for new circuits, have it
  12724. continue to be unusable for new circuits even if MaxCircuitDirtiness
  12725. is increased too much at the wrong time, or the system clock jumps
  12726. backwards. Fixes bug 6174; bugfix on 0.0.2pre26.
  12727. - If ClientDNSRejectInternalAddresses ("do not believe DNS queries
  12728. which have resolved to internal addresses") is set, apply that
  12729. rule to IPv6 as well. Fixes bug 8475; bugfix on 0.2.0.7-alpha.
  12730. - When an exit relay rejects a stream with reason "exit policy", but
  12731. we only know an exit policy summary (e.g. from the microdesc
  12732. consensus) for it, do not mark the relay as useless for all exiting.
  12733. Instead, mark just the circuit as unsuitable for that particular
  12734. address. Fixes part of bug 7582; bugfix on 0.2.3.2-alpha.
  12735. - Allow applications to get proper stream isolation with
  12736. IsolateSOCKSAuth. Many SOCKS5 clients that want to offer
  12737. username/password authentication also offer "no authentication". Tor
  12738. had previously preferred "no authentication", so the applications
  12739. never actually sent Tor their auth details. Now Tor selects
  12740. username/password authentication if it's offered. You can disable
  12741. this behavior on a per-SOCKSPort basis via PreferSOCKSNoAuth. Fixes
  12742. bug 8117; bugfix on 0.2.3.3-alpha.
  12743. o Major bugfixes (other):
  12744. - When unable to find any working directory nodes to use as a
  12745. directory guard, give up rather than adding the same non-working
  12746. nodes to the directory guard list over and over. Fixes bug 8231;
  12747. bugfix on 0.2.4.8-alpha.
  12748. o Minor features:
  12749. - Reject as invalid most directory objects containing a NUL.
  12750. Belt-and-suspender fix for bug 8037.
  12751. - In our testsuite, create temporary directories with a bit more
  12752. entropy in their name to make name collisions less likely. Fixes
  12753. bug 8638.
  12754. - Add CACHED keyword to ADDRMAP events in the control protocol
  12755. to indicate whether a DNS result will be cached or not. Resolves
  12756. ticket 8596.
  12757. - Update to the April 3 2013 Maxmind GeoLite Country database.
  12758. o Minor features (build):
  12759. - Detect and reject attempts to build Tor with threading support
  12760. when OpenSSL has been compiled without threading support.
  12761. Fixes bug 6673.
  12762. - Clarify that when autoconf is checking for nacl, it is checking
  12763. specifically for nacl with a fast curve25519 implementation.
  12764. Fixes bug 8014.
  12765. - Warn if building on a platform with an unsigned time_t: there
  12766. are too many places where Tor currently assumes that time_t can
  12767. hold negative values. We'd like to fix them all, but probably
  12768. some will remain.
  12769. o Minor bugfixes (build):
  12770. - Fix some bugs in tor-fw-helper-natpmp when trying to build and
  12771. run it on Windows. More bugs likely remain. Patch from Gisle Vanem.
  12772. Fixes bug 7280; bugfix on 0.2.3.1-alpha.
  12773. - Add the old src/or/micro-revision.i filename to CLEANFILES.
  12774. On the off chance that somebody has one, it will go away as soon
  12775. as they run "make clean". Fix for bug 7143; bugfix on 0.2.4.1-alpha.
  12776. - Build Tor correctly on 32-bit platforms where the compiler can build
  12777. but not run code using the "uint128_t" construction. Fixes bug 8587;
  12778. bugfix on 0.2.4.8-alpha.
  12779. - Fix compilation warning with some versions of clang that would
  12780. prefer the -Wswitch-enum compiler flag to warn about switch
  12781. statements with missing enum values, even if those switch
  12782. statements have a "default:" statement. Fixes bug 8598; bugfix
  12783. on 0.2.4.10-alpha.
  12784. o Minor bugfixes (protocol):
  12785. - Fix the handling of a TRUNCATE cell when it arrives while the
  12786. circuit extension is in progress. Fixes bug 7947; bugfix on 0.0.7.1.
  12787. - Fix a misframing issue when reading the version numbers in a
  12788. VERSIONS cell. Previously we would recognize [00 01 00 02] as
  12789. 'version 1, version 2, and version 0x100', when it should have
  12790. only included versions 1 and 2. Fixes bug 8059; bugfix on
  12791. 0.2.0.10-alpha. Reported pseudonymously.
  12792. - Make the format and order of STREAM events for DNS lookups
  12793. consistent among the various ways to launch DNS lookups. Fixes
  12794. bug 8203; bugfix on 0.2.0.24-rc. Patch by "Desoxy".
  12795. - Correct our check for which versions of Tor support the EXTEND2
  12796. cell. We had been willing to send it to Tor 0.2.4.7-alpha and
  12797. later, when support was really added in version 0.2.4.8-alpha.
  12798. Fixes bug 8464; bugfix on 0.2.4.8-alpha.
  12799. o Minor bugfixes (other):
  12800. - Correctly store microdescriptors and extrainfo descriptors with
  12801. an internal NUL byte. Fixes bug 8037; bugfix on 0.2.0.1-alpha.
  12802. Bug reported by "cypherpunks".
  12803. - Increase the width of the field used to remember a connection's
  12804. link protocol version to two bytes. Harmless for now, since the
  12805. only currently recognized versions are one byte long. Reported
  12806. pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha.
  12807. - If the state file's path bias counts are invalid (presumably from a
  12808. buggy Tor prior to 0.2.4.10-alpha), make them correct. Also add
  12809. additional checks and log messages to the scaling of Path Bias
  12810. counts, in case there still are remaining issues with scaling.
  12811. Should help resolve bug 8235.
  12812. - Eliminate several instances where we use "Nickname=ID" to refer to
  12813. nodes in logs. Use "Nickname (ID)" instead. (Elsewhere, we still use
  12814. "$ID=Nickname", which is also acceptable.) Fixes bug 7065. Bugfix
  12815. on 0.2.3.21-rc, 0.2.4.5-alpha, 0.2.4.8-alpha, and 0.2.4.10-alpha.
  12816. o Minor bugfixes (syscalls):
  12817. - Always check the return values of functions fcntl() and
  12818. setsockopt(). We don't believe these are ever actually failing in
  12819. practice, but better safe than sorry. Also, checking these return
  12820. values should please analysis tools like Coverity. Patch from
  12821. 'flupzor'. Fixes bug 8206; bugfix on all versions of Tor.
  12822. - Use direct writes rather than stdio when building microdescriptor
  12823. caches, in an attempt to mitigate bug 8031, or at least make it
  12824. less common.
  12825. o Minor bugfixes (config):
  12826. - When rejecting a configuration because we were unable to parse a
  12827. quoted string, log an actual error message. Fixes bug 7950; bugfix
  12828. on 0.2.0.16-alpha.
  12829. - Behave correctly when the user disables LearnCircuitBuildTimeout
  12830. but doesn't tell us what they would like the timeout to be. Fixes
  12831. bug 6304; bugfix on 0.2.2.14-alpha.
  12832. - When autodetecting the number of CPUs, use the number of available
  12833. CPUs in preference to the number of configured CPUs. Inform the
  12834. user if this reduces the number of available CPUs. Fixes bug 8002;
  12835. bugfix on 0.2.3.1-alpha.
  12836. - Make it an error when you set EntryNodes but disable UseGuardNodes,
  12837. since it will (surprisingly to some users) ignore EntryNodes. Fixes
  12838. bug 8180; bugfix on 0.2.3.11-alpha.
  12839. - Allow TestingTorNetworks to override the 4096-byte minimum for
  12840. the Fast threshold. Otherwise they can't bootstrap until they've
  12841. observed more traffic. Fixes bug 8508; bugfix on 0.2.4.10-alpha.
  12842. - Fix some logic errors when the user manually overrides the
  12843. PathsNeededToBuildCircuits option in torrc. Fixes bug 8599; bugfix
  12844. on 0.2.4.10-alpha.
  12845. o Minor bugfixes (log messages to help diagnose bugs):
  12846. - If we fail to free a microdescriptor because of bug 7164, log
  12847. the filename and line number from which we tried to free it.
  12848. - Add another diagnostic to the heartbeat message: track and log
  12849. overhead that TLS is adding to the data we write. If this is
  12850. high, we are sending too little data to SSL_write at a time.
  12851. Diagnostic for bug 7707.
  12852. - Add more detail to a log message about relaxed timeouts, to help
  12853. track bug 7799.
  12854. - Warn more aggressively when flushing microdescriptors to a
  12855. microdescriptor cache fails, in an attempt to mitigate bug 8031,
  12856. or at least make it more diagnosable.
  12857. - Improve debugging output to help track down bug 8185 ("Bug:
  12858. outgoing relay cell has n_chan==NULL. Dropping.")
  12859. - Log the purpose of a path-bias testing circuit correctly.
  12860. Improves a log message from bug 8477; bugfix on 0.2.4.8-alpha.
  12861. o Minor bugfixes (0.2.4.x log messages that were too noisy):
  12862. - Don't attempt to relax the timeout of already opened 1-hop circuits.
  12863. They might never timeout. This should eliminate some/all cases of
  12864. the relaxed timeout log message.
  12865. - Use circuit creation time for network liveness evaluation. This
  12866. should eliminate warning log messages about liveness caused
  12867. by changes in timeout evaluation. Fixes bug 6572; bugfix on
  12868. 0.2.4.8-alpha.
  12869. - Reduce a path bias length check from notice to info. The message
  12870. is triggered when creating controller circuits. Fixes bug 8196;
  12871. bugfix on 0.2.4.8-alpha.
  12872. - Fix a path state issue that triggered a notice during relay startup.
  12873. Fixes bug 8320; bugfix on 0.2.4.10-alpha.
  12874. - Reduce occurrences of warns about circuit purpose in
  12875. connection_ap_expire_building(). Fixes bug 8477; bugfix on
  12876. 0.2.4.11-alpha.
  12877. o Minor bugfixes (pre-0.2.4.x log messages that were too noisy):
  12878. - If we encounter a write failure on a SOCKS connection before we
  12879. finish our SOCKS handshake, don't warn that we closed the
  12880. connection before we could send a SOCKS reply. Fixes bug 8427;
  12881. bugfix on 0.1.0.1-rc.
  12882. - Correctly recognize that [::1] is a loopback address. Fixes
  12883. bug 8377; bugfix on 0.2.1.3-alpha.
  12884. - Fix a directory authority warn caused when we have a large amount
  12885. of badexit bandwidth. Fixes bug 8419; bugfix on 0.2.2.10-alpha.
  12886. - Don't log inappropriate heartbeat messages when hibernating: a
  12887. hibernating node is _expected_ to drop out of the consensus,
  12888. decide it isn't bootstrapped, and so forth. Fixes bug 7302;
  12889. bugfix on 0.2.3.1-alpha.
  12890. - Don't complain about bootstrapping problems while hibernating.
  12891. These complaints reflect a general code problem, but not one
  12892. with any problematic effects (no connections are actually
  12893. opened). Fixes part of bug 7302; bugfix on 0.2.3.2-alpha.
  12894. o Documentation fixes:
  12895. - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
  12896. names match. Fixes bug 7768.
  12897. - Make the torify manpage no longer refer to tsocks; torify hasn't
  12898. supported tsocks since 0.2.3.14-alpha.
  12899. - Make the tor manpage no longer reference tsocks.
  12900. - Fix the GeoIPExcludeUnknown documentation to refer to
  12901. ExcludeExitNodes rather than the currently nonexistent
  12902. ExcludeEntryNodes. Spotted by "hamahangi" on tor-talk.
  12903. o Removed files:
  12904. - The tor-tsocks.conf is no longer distributed or installed. We
  12905. recommend that tsocks users use torsocks instead. Resolves
  12906. ticket 8290.
  12907. Changes in version 0.2.4.11-alpha - 2013-03-11
  12908. Tor 0.2.4.11-alpha makes relay measurement by directory authorities
  12909. more robust, makes hidden service authentication work again, and
  12910. resolves a DPI fingerprint for Tor's SSL transport.
  12911. o Major features (directory authorities):
  12912. - Directory authorities now support a new consensus method (17)
  12913. where they cap the published bandwidth of servers for which
  12914. insufficient bandwidth measurements exist. Fixes part of bug 2286.
  12915. - Directory authorities that set "DisableV2DirectoryInfo_ 1" no longer
  12916. serve any v2 directory information. Now we can test disabling the
  12917. old deprecated v2 directory format, and see whether doing so has
  12918. any effect on network load. Begins to fix bug 6783.
  12919. - Directory authorities now include inside each vote a statement of
  12920. the performance thresholds they used when assigning flags.
  12921. Implements ticket 8151.
  12922. o Major bugfixes (directory authorities):
  12923. - Stop marking every relay as having been down for one hour every
  12924. time we restart a directory authority. These artificial downtimes
  12925. were messing with our Stable and Guard flag calculations. Fixes
  12926. bug 8218 (introduced by the fix for 1035). Bugfix on 0.2.2.23-alpha.
  12927. o Major bugfixes (hidden services):
  12928. - Allow hidden service authentication to succeed again. When we
  12929. refactored the hidden service introduction code back
  12930. in 0.2.4.1-alpha, we didn't update the code that checks
  12931. whether authentication information is present, causing all
  12932. authentication checks to return "false". Fix for bug 8207; bugfix
  12933. on 0.2.4.1-alpha. Found by Coverity; this is CID 718615.
  12934. o Minor features (relays, bridges):
  12935. - Make bridge relays check once a minute for whether their IP
  12936. address has changed, rather than only every 15 minutes. Resolves
  12937. bugs 1913 and 1992.
  12938. - Refactor resolve_my_address() so it returns the method by which we
  12939. decided our public IP address (explicitly configured, resolved from
  12940. explicit hostname, guessed from interfaces, learned by gethostname).
  12941. Now we can provide more helpful log messages when a relay guesses
  12942. its IP address incorrectly (e.g. due to unexpected lines in
  12943. /etc/hosts). Resolves ticket 2267.
  12944. - Teach bridge-using clients to avoid 0.2.2 bridges when making
  12945. microdescriptor-related dir requests, and only fall back to normal
  12946. descriptors if none of their bridges can handle microdescriptors
  12947. (as opposed to the fix in ticket 4013, which caused them to fall
  12948. back to normal descriptors if *any* of their bridges preferred
  12949. them). Resolves ticket 4994.
  12950. - Randomize the lifetime of our SSL link certificate, so censors can't
  12951. use the static value for filtering Tor flows. Resolves ticket 8443;
  12952. related to ticket 4014 which was included in 0.2.2.33.
  12953. - Support a new version of the link protocol that allows 4-byte circuit
  12954. IDs. Previously, circuit IDs were limited to 2 bytes, which presented
  12955. a possible resource exhaustion issue. Closes ticket 7351; implements
  12956. proposal 214.
  12957. o Minor features (portability):
  12958. - Tweak the curve25519-donna*.c implementations to tolerate systems
  12959. that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
  12960. - Use Ville Laurikari's implementation of AX_CHECK_SIGN() to determine
  12961. the signs of types during autoconf. This is better than our old
  12962. approach, which didn't work when cross-compiling.
  12963. - Detect the sign of enum values, rather than assuming that MSC is the
  12964. only compiler where enum types are all signed. Fixes bug 7727;
  12965. bugfix on 0.2.4.10-alpha.
  12966. o Minor features (other):
  12967. - Say "KBytes" rather than "KB" in the man page (for various values
  12968. of K), to further reduce confusion about whether Tor counts in
  12969. units of memory or fractions of units of memory. Resolves ticket 7054.
  12970. - Clear the high bit on curve25519 public keys before passing them to
  12971. our backend, in case we ever wind up using a backend that doesn't do
  12972. so itself. If we used such a backend, and *didn't* clear the high bit,
  12973. we could wind up in a situation where users with such backends would
  12974. be distinguishable from users without. Fixes bug 8121; bugfix on
  12975. 0.2.4.8-alpha.
  12976. - Update to the March 6 2013 Maxmind GeoLite Country database.
  12977. o Minor bugfixes (clients):
  12978. - When we receive a RELAY_END cell with the reason DONE, or with no
  12979. reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
  12980. status as "connection refused". Previously we reported these cases
  12981. as success but then immediately closed the connection. Fixes bug
  12982. 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_be_destroyed".
  12983. - Downgrade an assertion in connection_ap_expire_beginning to an
  12984. LD_BUG message. The fix for bug 8024 should prevent this message
  12985. from displaying, but just in case, a warn that we can diagnose
  12986. is better than more assert crashes. Fixes bug 8065; bugfix on
  12987. 0.2.4.8-alpha.
  12988. - Lower path use bias thresholds to .80 for notice and .60 for warn.
  12989. Also make the rate limiting flags for the path use bias log messages
  12990. independent from the original path bias flags. Fixes bug 8161;
  12991. bugfix on 0.2.4.10-alpha.
  12992. o Minor bugfixes (relays):
  12993. - Stop trying to resolve our hostname so often (e.g. every time we
  12994. think about doing a directory fetch). Now we reuse the cached
  12995. answer in some cases. Fixes bugs 1992 (bugfix on 0.2.0.20-rc)
  12996. and 2410 (bugfix on 0.1.2.2-alpha).
  12997. - Stop sending a stray "(null)" in some cases for the server status
  12998. "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
  12999. on 0.1.2.6-alpha.
  13000. - When choosing which stream on a formerly stalled circuit to wake
  13001. first, make better use of the platform's weak RNG. Previously,
  13002. we had been using the % ("modulo") operator to try to generate a
  13003. 1/N chance of picking each stream, but this behaves badly with
  13004. many platforms' choice of weak RNG. Fixes bug 7801; bugfix on
  13005. 0.2.2.20-alpha.
  13006. - Use our own weak RNG when we need a weak RNG. Windows's rand() and
  13007. Irix's random() only return 15 bits; Solaris's random() returns more
  13008. bits but its RAND_MAX says it only returns 15, and so on. Motivated
  13009. by the fix for bug 7801; bugfix on 0.2.2.20-alpha.
  13010. o Minor bugfixes (directory authorities):
  13011. - Directory authorities now use less space when formatting identical
  13012. microdescriptor lines in directory votes. Fixes bug 8158; bugfix
  13013. on 0.2.4.1-alpha.
  13014. o Minor bugfixes (memory leaks spotted by Coverity -- bug 7816):
  13015. - Avoid leaking memory if we fail to compute a consensus signature
  13016. or we generate a consensus we can't parse. Bugfix on 0.2.0.5-alpha.
  13017. - Fix a memory leak when receiving headers from an HTTPS proxy. Bugfix
  13018. on 0.2.1.1-alpha.
  13019. - Fix a memory leak during safe-cookie controller authentication.
  13020. Bugfix on 0.2.3.13-alpha.
  13021. - Avoid memory leak of IPv6 policy content if we fail to format it into
  13022. a router descriptor. Bugfix on 0.2.4.7-alpha.
  13023. o Minor bugfixes (other code correctness issues):
  13024. - Avoid a crash if we fail to generate an extrainfo descriptor.
  13025. Fixes bug 8208; bugfix on 0.2.3.16-alpha. Found by Coverity;
  13026. this is CID 718634.
  13027. - When detecting the largest possible file descriptor (in order to
  13028. close all file descriptors when launching a new program), actually
  13029. use _SC_OPEN_MAX. The old code for doing this was very, very broken.
  13030. Fixes bug 8209; bugfix on 0.2.3.1-alpha. Found by Coverity; this
  13031. is CID 743383.
  13032. - Fix a copy-and-paste error when adding a missing A1 to a routerset
  13033. because of GeoIPExcludeUnknown. Fix for Coverity CID 980650.
  13034. Bugfix on 0.2.4.10-alpha.
  13035. - Fix an impossible-to-trigger integer overflow when estimating how
  13036. long our onionskin queue would take. (This overflow would require us
  13037. to accept 4 million onionskins before processing 100 of them.) Fixes
  13038. bug 8210; bugfix on 0.2.4.10-alpha.
  13039. o Code simplification and refactoring:
  13040. - Add a wrapper function for the common "log a message with a
  13041. rate-limit" case.
  13042. Changes in version 0.2.4.10-alpha - 2013-02-04
  13043. Tor 0.2.4.10-alpha adds defenses at the directory authority level from
  13044. certain attacks that flood the network with relays; changes the queue
  13045. for circuit create requests from a sized-based limit to a time-based
  13046. limit; resumes building with MSVC on Windows; and fixes a wide variety
  13047. of other issues.
  13048. o Major bugfixes (directory authority):
  13049. - When computing directory thresholds, ignore any rejected-as-sybil
  13050. nodes during the computation so that they can't influence Fast,
  13051. Guard, etc. (We should have done this for proposal 109.) Fixes
  13052. bug 8146.
  13053. - When marking a node as a likely sybil, reset its uptime metrics
  13054. to zero, so that it cannot time towards getting marked as Guard,
  13055. Stable, or HSDir. (We should have done this for proposal 109.) Fixes
  13056. bug 8147.
  13057. o Major bugfixes:
  13058. - When a TLS write is partially successful but incomplete, remember
  13059. that the flushed part has been flushed, and notice that bytes were
  13060. actually written. Reported and fixed pseudonymously. Fixes bug
  13061. 7708; bugfix on Tor 0.1.0.5-rc.
  13062. - Reject bogus create and relay cells with 0 circuit ID or 0 stream
  13063. ID: these could be used to create unexpected streams and circuits
  13064. which would count as "present" to some parts of Tor but "absent"
  13065. to others, leading to zombie circuits and streams or to a bandwidth
  13066. denial-of-service. Fixes bug 7889; bugfix on every released version
  13067. of Tor. Reported by "oftc_must_be_destroyed".
  13068. - Rename all macros in our local copy of queue.h to begin with "TOR_".
  13069. This change seems the only good way to permanently prevent conflicts
  13070. with queue.h on various operating systems. Fixes bug 8107; bugfix
  13071. on 0.2.4.6-alpha.
  13072. o Major features (relay):
  13073. - Instead of limiting the number of queued onionskins (aka circuit
  13074. create requests) to a fixed, hard-to-configure number, we limit
  13075. the size of the queue based on how many we expect to be able to
  13076. process in a given amount of time. We estimate the time it will
  13077. take to process an onionskin based on average processing time
  13078. of previous onionskins. Closes ticket 7291. You'll never have to
  13079. configure MaxOnionsPending again.
  13080. o Major features (portability):
  13081. - Resume building correctly with MSVC and Makefile.nmake. This patch
  13082. resolves numerous bugs and fixes reported by ultramage, including
  13083. 7305, 7308, 7309, 7310, 7312, 7313, 7315, 7316, and 7669.
  13084. - Make the ntor and curve25519 code build correctly with MSVC.
  13085. Fix on 0.2.4.8-alpha.
  13086. o Minor features:
  13087. - When directory authorities are computing thresholds for flags,
  13088. never let the threshold for the Fast flag fall below 4096
  13089. bytes. Also, do not consider nodes with extremely low bandwidths
  13090. when deciding thresholds for various directory flags. This change
  13091. should raise our threshold for Fast relays, possibly in turn
  13092. improving overall network performance; see ticket 1854. Resolves
  13093. ticket 8145.
  13094. - The Tor client now ignores sub-domain components of a .onion
  13095. address. This change makes HTTP "virtual" hosting
  13096. possible: http://foo.aaaaaaaaaaaaaaaa.onion/ and
  13097. http://bar.aaaaaaaaaaaaaaaa.onion/ can be two different websites
  13098. hosted on the same hidden service. Implements proposal 204.
  13099. - We compute the overhead from passing onionskins back and forth to
  13100. cpuworkers, and report it when dumping statistics in response to
  13101. SIGUSR1. Supports ticket 7291.
  13102. o Minor features (path selection):
  13103. - When deciding whether we have enough descriptors to build circuits,
  13104. instead of looking at raw relay counts, look at which fraction
  13105. of (bandwidth-weighted) paths we're able to build. This approach
  13106. keeps clients from building circuits if their paths are likely to
  13107. stand out statistically. The default fraction of paths needed is
  13108. taken from the consensus directory; you can override it with the
  13109. new PathsNeededToBuildCircuits option. Fixes ticket 5956.
  13110. - When any country code is listed in ExcludeNodes or ExcludeExitNodes,
  13111. and we have GeoIP information, also exclude all nodes with unknown
  13112. countries "??" and "A1". This behavior is controlled by the
  13113. new GeoIPExcludeUnknown option: you can make such nodes always
  13114. excluded with "GeoIPExcludeUnknown 1", and disable the feature
  13115. with "GeoIPExcludeUnknown 0". Setting "GeoIPExcludeUnknown auto"
  13116. gets you the default behavior. Implements feature 7706.
  13117. - Path Use Bias: Perform separate accounting for successful circuit
  13118. use. Keep separate statistics on stream attempt rates versus stream
  13119. success rates for each guard. Provide configurable thresholds to
  13120. determine when to emit log messages or disable use of guards that
  13121. fail too many stream attempts. Resolves ticket 7802.
  13122. o Minor features (log messages):
  13123. - When learning a fingerprint for a bridge, log its corresponding
  13124. transport type. Implements ticket 7896.
  13125. - Improve the log message when "Bug/attack: unexpected sendme cell
  13126. from client" occurs, to help us track bug 8093.
  13127. o Minor bugfixes:
  13128. - Remove a couple of extraneous semicolons that were upsetting the
  13129. cparser library. Patch by Christian Grothoff. Fixes bug 7115;
  13130. bugfix on 0.2.2.1-alpha.
  13131. - Remove a source of rounding error during path bias count scaling;
  13132. don't count cannibalized circuits as used for path bias until we
  13133. actually try to use them; and fix a circuit_package_relay_cell()
  13134. warning message about n_chan==NULL. Fixes bug 7802.
  13135. - Detect nacl when its headers are in a nacl/ subdirectory. Also,
  13136. actually link against nacl when we're configured to use it. Fixes
  13137. bug 7972; bugfix on 0.2.4.8-alpha.
  13138. - Compile correctly with the --disable-curve25519 option. Fixes
  13139. bug 8153; bugfix on 0.2.4.8-alpha.
  13140. o Build improvements:
  13141. - Do not report status verbosely from autogen.sh unless the -v flag
  13142. is specified. Fixes issue 4664. Patch from Onizuka.
  13143. - Replace all calls to snprintf() outside of src/ext with
  13144. tor_snprintf(). Also remove the #define to replace snprintf with
  13145. _snprintf on Windows; they have different semantics, and all of
  13146. our callers should be using tor_snprintf() anyway. Fixes bug 7304.
  13147. - Try to detect if we are ever building on a platform where
  13148. memset(...,0,...) does not set the value of a double to 0.0. Such
  13149. platforms are permitted by the C standard, though in practice
  13150. they're pretty rare (since IEEE 754 is nigh-ubiquitous). We don't
  13151. currently support them, but it's better to detect them and fail
  13152. than to perform erroneously.
  13153. o Removed features:
  13154. - Stop exporting estimates of v2 and v3 directory traffic shares
  13155. in extrainfo documents. They were unneeded and sometimes inaccurate.
  13156. Also stop exporting any v2 directory request statistics. Resolves
  13157. ticket 5823.
  13158. - Drop support for detecting and warning about versions of Libevent
  13159. before 1.3e. Nothing reasonable ships with them any longer;
  13160. warning the user about them shouldn't be needed. Resolves ticket
  13161. 6826.
  13162. o Code simplifications and refactoring:
  13163. - Rename "isin" functions to "contains", for grammar. Resolves
  13164. ticket 5285.
  13165. - Rename Tor's logging function log() to tor_log(), to avoid conflicts
  13166. with the natural logarithm function from the system libm. Resolves
  13167. ticket 7599.
  13168. Changes in version 0.2.4.9-alpha - 2013-01-15
  13169. Tor 0.2.4.9-alpha provides a quick fix to make the new ntor handshake
  13170. work more robustly.
  13171. o Major bugfixes:
  13172. - Fix backward compatibility logic when receiving an embedded ntor
  13173. handshake tunneled in a CREATE cell. This clears up the "Bug:
  13174. couldn't format CREATED cell" warning. Fixes bug 7959; bugfix
  13175. on 0.2.4.8-alpha.
  13176. Changes in version 0.2.4.8-alpha - 2013-01-14
  13177. Tor 0.2.4.8-alpha introduces directory guards to reduce user enumeration
  13178. risks, adds a new stronger and faster circuit handshake, and offers
  13179. stronger and faster link encryption when both sides support it.
  13180. o Major features:
  13181. - Preliminary support for directory guards (proposal 207): when
  13182. possible, clients now use their entry guards for non-anonymous
  13183. directory requests. This can help prevent client enumeration. Note
  13184. that this behavior only works when we have a usable consensus
  13185. directory, and when options about what to download are more or less
  13186. standard. In the future we should re-bootstrap from our guards,
  13187. rather than re-bootstrapping from the preconfigured list of
  13188. directory sources that ships with Tor. Resolves ticket 6526.
  13189. - Tor relays and clients now support a better CREATE/EXTEND cell
  13190. format, allowing the sender to specify multiple address, identity,
  13191. and handshake types. Implements Robert Ransom's proposal 200;
  13192. closes ticket 7199.
  13193. o Major features (new circuit handshake):
  13194. - Tor now supports a new circuit extension handshake designed by Ian
  13195. Goldberg, Douglas Stebila, and Berkant Ustaoglu. Our original
  13196. circuit extension handshake, later called "TAP", was a bit slow
  13197. (especially on the relay side), had a fragile security proof, and
  13198. used weaker keys than we'd now prefer. The new circuit handshake
  13199. uses Dan Bernstein's "curve25519" elliptic-curve Diffie-Hellman
  13200. function, making it significantly more secure than the older
  13201. handshake, and significantly faster. Tor can use one of two built-in
  13202. pure-C curve25519-donna implementations by Adam Langley, or it
  13203. can link against the "nacl" library for a tuned version if present.
  13204. The built-in version is very fast for 64-bit systems when building
  13205. with GCC. The built-in 32-bit version is still faster than the
  13206. old TAP protocol, but using libnacl is better on most such hosts.
  13207. Clients don't currently use this protocol by default, since
  13208. comparatively few clients support it so far. To try it, set
  13209. UseNTorHandshake to 1.
  13210. Implements proposal 216; closes ticket 7202.
  13211. o Major features (better link encryption):
  13212. - Relays can now enable the ECDHE TLS ciphersuites when available
  13213. and appropriate. These ciphersuites let us negotiate forward-secure
  13214. TLS secret keys more safely and more efficiently than with our
  13215. previous use of Diffie-Hellman modulo a 1024-bit prime. By default,
  13216. public relays prefer the (faster) P224 group, and bridges prefer
  13217. the (more common) P256 group; you can override this with the
  13218. TLSECGroup option.
  13219. Enabling these ciphers was a little tricky, since for a long time,
  13220. clients had been claiming to support them without actually doing
  13221. so, in order to foil fingerprinting. But with the client-side
  13222. implementation of proposal 198 in 0.2.3.17-beta, clients can now
  13223. match the ciphers from recent Firefox versions *and* list the
  13224. ciphers they actually mean, so relays can believe such clients
  13225. when they advertise ECDHE support in their TLS ClientHello messages.
  13226. This feature requires clients running 0.2.3.17-beta or later,
  13227. and requires both sides to be running OpenSSL 1.0.0 or later
  13228. with ECC support. OpenSSL 1.0.1, with the compile-time option
  13229. "enable-ec_nistp_64_gcc_128", is highly recommended.
  13230. Implements the relay side of proposal 198; closes ticket 7200.
  13231. o Major bugfixes:
  13232. - Avoid crashing when, as a relay without IPv6-exit support, a
  13233. client insists on getting an IPv6 address or nothing. Fixes bug
  13234. 7814; bugfix on 0.2.4.7-alpha.
  13235. o Minor features:
  13236. - Improve circuit build timeout handling for hidden services.
  13237. In particular: adjust build timeouts more accurately depending
  13238. upon the number of hop-RTTs that a particular circuit type
  13239. undergoes. Additionally, launch intro circuits in parallel
  13240. if they timeout, and take the first one to reply as valid.
  13241. - Work correctly on Unix systems where EAGAIN and EWOULDBLOCK are
  13242. separate error codes; or at least, don't break for that reason.
  13243. Fixes bug 7935. Reported by "oftc_must_be_destroyed".
  13244. - Update to the January 2 2013 Maxmind GeoLite Country database.
  13245. o Minor features (testing):
  13246. - Add benchmarks for DH (1024-bit multiplicative group) and ECDH
  13247. (P-256) Diffie-Hellman handshakes to src/or/bench.
  13248. - Add benchmark functions to test onion handshake performance.
  13249. o Minor features (path bias detection):
  13250. - Alter the Path Bias log messages to be more descriptive in terms
  13251. of reporting timeouts and other statistics.
  13252. - Create three levels of Path Bias log messages, as opposed to just
  13253. two. These are configurable via consensus as well as via the torrc
  13254. options PathBiasNoticeRate, PathBiasWarnRate, PathBiasExtremeRate.
  13255. The default values are 0.70, 0.50, and 0.30 respectively.
  13256. - Separate the log message levels from the decision to drop guards,
  13257. which also is available via torrc option PathBiasDropGuards.
  13258. PathBiasDropGuards still defaults to 0 (off).
  13259. - Deprecate PathBiasDisableRate in favor of PathBiasDropGuards
  13260. in combination with PathBiasExtremeRate.
  13261. - Increase the default values for PathBiasScaleThreshold and
  13262. PathBiasCircThreshold from (200, 20) to (300, 150).
  13263. - Add in circuit usage accounting to path bias. If we try to use a
  13264. built circuit but fail for any reason, it counts as path bias.
  13265. Certain classes of circuits where the adversary gets to pick your
  13266. destination node are exempt from this accounting. Usage accounting
  13267. can be specifically disabled via consensus parameter or torrc.
  13268. - Convert all internal path bias state to double-precision floating
  13269. point, to avoid roundoff error and other issues.
  13270. - Only record path bias information for circuits that have completed
  13271. *two* hops. Assuming end-to-end tagging is the attack vector, this
  13272. makes us more resilient to ambient circuit failure without any
  13273. detection capability loss.
  13274. o Minor bugfixes (log messages):
  13275. - Rate-limit the "No circuits are opened. Relaxed timeout for a
  13276. circuit with channel state open..." message to once per hour to
  13277. keep it from filling the notice logs. Mitigates bug 7799 but does
  13278. not fix the underlying cause. Bugfix on 0.2.4.7-alpha.
  13279. - Avoid spurious warnings when configuring multiple client ports of
  13280. which only some are nonlocal. Previously, we had claimed that some
  13281. were nonlocal when in fact they weren't. Fixes bug 7836; bugfix on
  13282. 0.2.3.3-alpha.
  13283. o Code simplifications and refactoring:
  13284. - Get rid of a couple of harmless clang warnings, where we compared
  13285. enums to ints. These warnings are newly introduced in clang 3.2.
  13286. - Split the onion.c file into separate modules for the onion queue
  13287. and the different handshakes it supports.
  13288. - Remove the marshalling/unmarshalling code for sending requests to
  13289. cpuworkers over a socket, and instead just send structs. The
  13290. recipient will always be the same Tor binary as the sender, so
  13291. any encoding is overkill.
  13292. Changes in version 0.2.4.7-alpha - 2012-12-24
  13293. Tor 0.2.4.7-alpha introduces a new approach to providing fallback
  13294. directory mirrors for more robust bootstrapping; fixes more issues where
  13295. clients with changing network conditions refuse to make any circuits;
  13296. adds initial support for exiting to IPv6 addresses; resumes being able
  13297. to update our GeoIP database, and includes the geoip6 file this time;
  13298. turns off the client-side DNS cache by default due to privacy risks;
  13299. and fixes a variety of other issues.
  13300. o Major features (client resilience):
  13301. - Add a new "FallbackDir" torrc option to use when we can't use
  13302. a directory mirror from the consensus (either because we lack a
  13303. consensus, or because they're all down). Currently, all authorities
  13304. are fallbacks by default, and there are no other default fallbacks,
  13305. but that will change. This option will allow us to give clients a
  13306. longer list of servers to try to get a consensus from when first
  13307. connecting to the Tor network, and thereby reduce load on the
  13308. directory authorities. Implements proposal 206, "Preconfigured
  13309. directory sources for bootstrapping". We also removed the old
  13310. "FallbackNetworkstatus" option, since we never got it working well
  13311. enough to use it. Closes bug 572.
  13312. - If we have no circuits open, use a relaxed timeout (the
  13313. 95-percentile cutoff) until a circuit succeeds. This heuristic
  13314. should allow Tor to succeed at building circuits even when the
  13315. network connection drastically changes. Should help with bug 3443.
  13316. o Major features (IPv6):
  13317. - Relays can now exit to IPv6 addresses: make sure that you have IPv6
  13318. connectivity, then set the IPv6Exit flag to 1. Also make sure your
  13319. exit policy reads as you would like: the address * applies to all
  13320. address families, whereas *4 is IPv4 address only, and *6 is IPv6
  13321. addresses only. On the client side, you'll need to wait until the
  13322. authorities have upgraded, wait for enough exits to support IPv6,
  13323. apply the "IPv6Traffic" flag to a SocksPort, and use Socks5. Closes
  13324. ticket 5547, implements proposal 117 as revised in proposal 208.
  13325. We DO NOT recommend that clients with actual anonymity needs start
  13326. using IPv6 over Tor yet, since not enough exits support it yet.
  13327. o Major features (geoip database):
  13328. - Maxmind began labelling Tor relays as being in country "A1",
  13329. which breaks by-country node selection inside Tor. Now we use a
  13330. script to replace "A1" ("Anonymous Proxy") entries in our geoip
  13331. file with real country codes. This script fixes about 90% of "A1"
  13332. entries automatically and uses manual country code assignments to
  13333. fix the remaining 10%. See src/config/README.geoip for details.
  13334. Fixes bug 6266. Also update to the December 5 2012 Maxmind GeoLite
  13335. Country database, as modified above.
  13336. o Major bugfixes (client-side DNS):
  13337. - Turn off the client-side DNS cache by default. Updating and using
  13338. the DNS cache is now configurable on a per-client-port
  13339. level. SOCKSPort, DNSPort, etc lines may now contain
  13340. {No,}Cache{IPv4,IPv6,}DNS lines to indicate that we shouldn't
  13341. cache these types of DNS answers when we receive them from an
  13342. exit node in response to an application request on this port, and
  13343. {No,}UseCached{IPv4,IPv6,DNS} lines to indicate that if we have
  13344. cached DNS answers of these types, we shouldn't use them. It's
  13345. potentially risky to use cached DNS answers at the client, since
  13346. doing so can indicate to one exit what answers we've gotten
  13347. for DNS lookups in the past. With IPv6, this becomes especially
  13348. problematic. Using cached DNS answers for requests on the same
  13349. circuit would present less linkability risk, since all traffic
  13350. on a circuit is already linkable, but it would also provide
  13351. little performance benefit: the exit node caches DNS replies
  13352. too. Implements a simplified version of Proposal 205. Implements
  13353. ticket 7570.
  13354. o Major bugfixes (other):
  13355. - Alter circuit build timeout measurement to start at the point
  13356. where we begin the CREATE/CREATE_FAST step (as opposed to circuit
  13357. initialization). This should make our timeout measurements more
  13358. uniform. Previously, we were sometimes including ORconn setup time
  13359. in our circuit build time measurements. Should resolve bug 3443.
  13360. - Fix an assertion that could trigger in hibernate_go_dormant() when
  13361. closing an or_connection_t: call channel_mark_for_close() rather
  13362. than connection_mark_for_close(). Fixes bug 7267. Bugfix on
  13363. 0.2.4.4-alpha.
  13364. - Include the geoip6 IPv6 GeoIP database in the tarball. Fixes bug
  13365. 7655; bugfix on 0.2.4.6-alpha.
  13366. o Minor features:
  13367. - Add a new torrc option "ServerTransportListenAddr" to let bridge
  13368. operators select the address where their pluggable transports will
  13369. listen for connections. Resolves ticket 7013.
  13370. - Allow an optional $ before the node identity digest in the
  13371. controller command GETINFO ns/id/<identity>, for consistency with
  13372. md/id/<identity> and desc/id/<identity>. Resolves ticket 7059.
  13373. - Log packaged cell fullness as part of the heartbeat message.
  13374. Diagnosis to try to determine the extent of bug 7743.
  13375. o Minor features (IPv6):
  13376. - AutomapHostsOnResolve now supports IPv6 addresses. By default, we
  13377. prefer to hand out virtual IPv6 addresses, since there are more of
  13378. them and we can't run out. To override this behavior and make IPv4
  13379. addresses preferred, set NoPreferIPv6Automap on whatever SOCKSPort
  13380. or DNSPort you're using for resolving. Implements ticket 7571.
  13381. - AutomapHostsOnResolve responses are now randomized, to avoid
  13382. annoying situations where Tor is restarted and applications
  13383. connect to the wrong addresses.
  13384. - Never try more than 1000 times to pick a new virtual address when
  13385. AutomapHostsOnResolve is set. That's good enough so long as we
  13386. aren't close to handing out our entire virtual address space;
  13387. if you're getting there, it's best to switch to IPv6 virtual
  13388. addresses anyway.
  13389. o Minor bugfixes:
  13390. - The ADDRMAP command can no longer generate an ill-formed error
  13391. code on a failed MAPADDRESS. It now says "internal" rather than
  13392. an English sentence fragment with spaces in the middle. Bugfix on
  13393. Tor 0.2.0.19-alpha.
  13394. - Fix log messages and comments to avoid saying "GMT" when we mean
  13395. "UTC". Fixes bug 6113.
  13396. - Compile on win64 using mingw64. Fixes bug 7260; patches from
  13397. "yayooo".
  13398. - Fix a crash when debugging unit tests on Windows: deallocate a
  13399. shared library with FreeLibrary, not CloseHandle. Fixes bug 7306;
  13400. bugfix on 0.2.2.17-alpha. Reported by "ultramage".
  13401. o Renamed options:
  13402. - The DirServer option is now DirAuthority, for consistency with
  13403. current naming patterns. You can still use the old DirServer form.
  13404. o Code simplification and refactoring:
  13405. - Move the client-side address-map/virtual-address/DNS-cache code
  13406. out of connection_edge.c into a new addressmap.c module.
  13407. - Remove unused code for parsing v1 directories and "running routers"
  13408. documents. Fixes bug 6887.
  13409. Changes in version 0.2.3.25 - 2012-11-19
  13410. The Tor 0.2.3 release series is dedicated to the memory of Len "rabbi"
  13411. Sassaman (1980-2011), a long-time cypherpunk, anonymity researcher,
  13412. Mixmaster maintainer, Pynchon Gate co-designer, CodeCon organizer,
  13413. programmer, and friend. Unstinting in his dedication to the cause of
  13414. freedom, he inspired and helped many of us as we began our work on
  13415. anonymity, and inspires us still. Please honor his memory by writing
  13416. software to protect people's freedoms, and by helping others to do so.
  13417. Tor 0.2.3.25, the first stable release in the 0.2.3 branch, features
  13418. significantly reduced directory overhead (via microdescriptors),
  13419. enormous crypto performance improvements for fast relays on new
  13420. enough hardware, a new v3 TLS handshake protocol that can better
  13421. resist fingerprinting, support for protocol obfuscation plugins (aka
  13422. pluggable transports), better scalability for hidden services, IPv6
  13423. support for bridges, performance improvements like allowing clients
  13424. to skip the first round-trip on the circuit ("optimistic data") and
  13425. refilling token buckets more often, a new "stream isolation" design
  13426. to isolate different applications on different circuits, and many
  13427. stability, security, and privacy fixes.
  13428. o Major bugfixes:
  13429. - Tor tries to wipe potentially sensitive data after using it, so
  13430. that if some subsequent security failure exposes Tor's memory,
  13431. the damage will be limited. But we had a bug where the compiler
  13432. was eliminating these wipe operations when it decided that the
  13433. memory was no longer visible to a (correctly running) program,
  13434. hence defeating our attempt at defense in depth. We fix that
  13435. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  13436. is unlikely to optimize away. Future versions of Tor may use
  13437. a less ridiculously heavy approach for this. Fixes bug 7352.
  13438. Reported in an article by Andrey Karpov.
  13439. o Minor bugfixes:
  13440. - Fix a harmless bug when opting against publishing a relay descriptor
  13441. because DisableNetwork is set. Fixes bug 7464; bugfix on
  13442. 0.2.3.9-alpha.
  13443. Changes in version 0.2.4.6-alpha - 2012-11-13
  13444. Tor 0.2.4.6-alpha fixes an assert bug that has been plaguing relays,
  13445. makes our defense-in-depth memory wiping more reliable, and begins to
  13446. count IPv6 addresses in bridge statistics,
  13447. o Major bugfixes:
  13448. - Fix an assertion failure that could occur when closing a connection
  13449. with a spliced rendezvous circuit. Fix for bug 7212; bugfix on
  13450. Tor 0.2.4.4-alpha.
  13451. - Tor tries to wipe potentially sensitive data after using it, so
  13452. that if some subsequent security failure exposes Tor's memory,
  13453. the damage will be limited. But we had a bug where the compiler
  13454. was eliminating these wipe operations when it decided that the
  13455. memory was no longer visible to a (correctly running) program,
  13456. hence defeating our attempt at defense in depth. We fix that
  13457. by using OpenSSL's OPENSSL_cleanse() operation, which a compiler
  13458. is unlikely to optimize away. Future versions of Tor may use
  13459. a less ridiculously heavy approach for this. Fixes bug 7352.
  13460. Reported in an article by Andrey Karpov.
  13461. o Minor features:
  13462. - Add GeoIP database for IPv6 addresses. The new config option
  13463. is GeoIPv6File.
  13464. - Bridge statistics now count bridge clients connecting over IPv6:
  13465. bridge statistics files now list "bridge-ip-versions" and
  13466. extra-info documents list "geoip6-db-digest". The control protocol
  13467. "CLIENTS_SEEN" and "ip-to-country" queries now support IPv6. Initial
  13468. implementation by "shkoo", addressing ticket 5055.
  13469. o Minor bugfixes:
  13470. - Warn when we are binding low ports when hibernation is enabled;
  13471. previously we had warned when we were _advertising_ low ports with
  13472. hibernation enabled. Fixes bug 7285; bugfix on 0.2.3.9-alpha.
  13473. - Fix a harmless bug when opting against publishing a relay descriptor
  13474. because DisableNetwork is set. Fixes bug 7464; bugfix on
  13475. 0.2.3.9-alpha.
  13476. - Add warning message when a managed proxy dies during configuration.
  13477. Fixes bug 7195; bugfix on 0.2.4.2-alpha.
  13478. - Fix a linking error when building tor-fw-helper without miniupnp.
  13479. Fixes bug 7235; bugfix on 0.2.4.2-alpha. Fix by Anthony G. Basile.
  13480. - Check for closing an or_connection_t without going through correct
  13481. channel functions; emit a warning and then call
  13482. connection_or_close_for_error() so we don't assert as in bugs 7212
  13483. and 7267.
  13484. - Compile correctly on compilers without C99 designated initializer
  13485. support. Fixes bug 7286; bugfix on 0.2.4.4-alpha.
  13486. - Avoid a possible assert that can occur when channel_send_destroy() is
  13487. called on a channel in CHANNEL_STATE_CLOSING, CHANNEL_STATE_CLOSED,
  13488. or CHANNEL_STATE_ERROR when the Tor process is resumed after being
  13489. blocked for a long interval. Fixes bug 7350; bugfix on 0.2.4.4-alpha.
  13490. - Fix a memory leak on failing cases of channel_tls_process_certs_cell.
  13491. Fixes bug 7422; bugfix on 0.2.4.4-alpha.
  13492. o Code simplification and refactoring:
  13493. - Start using OpenBSD's implementation of queue.h, so that we don't
  13494. need to hand-roll our own pointer and list structures whenever we
  13495. need them. (We can't rely on a sys/queue.h, since some operating
  13496. systems don't have them, and the ones that do have them don't all
  13497. present the same extensions.)
  13498. Changes in version 0.2.4.5-alpha - 2012-10-25
  13499. Tor 0.2.4.5-alpha comes hard at the heels of 0.2.4.4-alpha, to fix
  13500. two important security vulnerabilities that could lead to remotely
  13501. triggerable relay crashes, fix a major bug that was preventing clients
  13502. from choosing suitable exit nodes, and refactor some of our code.
  13503. o Major bugfixes (security, also in 0.2.3.24-rc):
  13504. - Fix a group of remotely triggerable assertion failures related to
  13505. incorrect link protocol negotiation. Found, diagnosed, and fixed
  13506. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  13507. 0.2.3.6-alpha.
  13508. - Fix a denial of service attack by which any directory authority
  13509. could crash all the others, or by which a single v2 directory
  13510. authority could crash everybody downloading v2 directory
  13511. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  13512. o Major bugfixes (also in 0.2.3.24-rc):
  13513. - When parsing exit policy summaries from microdescriptors, we had
  13514. previously been ignoring the last character in each one, so that
  13515. "accept 80,443,8080" would be treated by clients as indicating
  13516. a node that allows access to ports 80, 443, and 808. That would
  13517. lead to clients attempting connections that could never work,
  13518. and ignoring exit nodes that would support their connections. Now
  13519. clients parse these exit policy summaries correctly. Fixes bug 7192;
  13520. bugfix on 0.2.3.1-alpha.
  13521. o Minor bugfixes (also in 0.2.3.24-rc):
  13522. - Clients now consider the ClientRejectInternalAddresses config option
  13523. when using a microdescriptor consensus stanza to decide whether
  13524. an exit relay would allow exiting to an internal address. Fixes
  13525. bug 7190; bugfix on 0.2.3.1-alpha.
  13526. o Minor bugfixes:
  13527. - Only disable TLS session ticket support when running as a TLS
  13528. server. Now clients will blend better with regular Firefox
  13529. connections. Fixes bug 7189; bugfix on Tor 0.2.3.23-rc.
  13530. o Code simplification and refactoring:
  13531. - Start using OpenBSD's implementation of queue.h (originally by
  13532. Niels Provos).
  13533. - Move the entry node code from circuitbuild.c to its own file.
  13534. - Move the circuit build timeout tracking code from circuitbuild.c
  13535. to its own file.
  13536. Changes in version 0.2.3.24-rc - 2012-10-25
  13537. Tor 0.2.3.24-rc fixes two important security vulnerabilities that
  13538. could lead to remotely triggerable relay crashes, and fixes
  13539. a major bug that was preventing clients from choosing suitable exit
  13540. nodes.
  13541. o Major bugfixes (security):
  13542. - Fix a group of remotely triggerable assertion failures related to
  13543. incorrect link protocol negotiation. Found, diagnosed, and fixed
  13544. by "some guy from France". Fix for CVE-2012-2250; bugfix on
  13545. 0.2.3.6-alpha.
  13546. - Fix a denial of service attack by which any directory authority
  13547. could crash all the others, or by which a single v2 directory
  13548. authority could crash everybody downloading v2 directory
  13549. information. Fixes bug 7191; bugfix on 0.2.0.10-alpha.
  13550. o Major bugfixes:
  13551. - When parsing exit policy summaries from microdescriptors, we had
  13552. previously been ignoring the last character in each one, so that
  13553. "accept 80,443,8080" would be treated by clients as indicating
  13554. a node that allows access to ports 80, 443, and 808. That would
  13555. lead to clients attempting connections that could never work,
  13556. and ignoring exit nodes that would support their connections. Now
  13557. clients parse these exit policy summaries correctly. Fixes bug 7192;
  13558. bugfix on 0.2.3.1-alpha.
  13559. o Minor bugfixes:
  13560. - Clients now consider the ClientRejectInternalAddresses config option
  13561. when using a microdescriptor consensus stanza to decide whether
  13562. an exit relay would allow exiting to an internal address. Fixes
  13563. bug 7190; bugfix on 0.2.3.1-alpha.
  13564. Changes in version 0.2.4.4-alpha - 2012-10-20
  13565. Tor 0.2.4.4-alpha adds a new v3 directory authority, fixes a privacy
  13566. vulnerability introduced by a change in OpenSSL, fixes a remotely
  13567. triggerable assert, and adds new channel_t and circuitmux_t abstractions
  13568. that will make it easier to test new connection transport and cell
  13569. scheduling algorithms.
  13570. o New directory authorities (also in 0.2.3.23-rc):
  13571. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  13572. authority. Closes ticket 5749.
  13573. o Major bugfixes (security/privacy, also in 0.2.3.23-rc):
  13574. - Disable TLS session tickets. OpenSSL's implementation was giving
  13575. our TLS session keys the lifetime of our TLS context objects, when
  13576. perfect forward secrecy would want us to discard anything that
  13577. could decrypt a link connection as soon as the link connection
  13578. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  13579. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  13580. - Discard extraneous renegotiation attempts once the V3 link
  13581. protocol has been initiated. Failure to do so left us open to
  13582. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  13583. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  13584. o Internal abstraction features:
  13585. - Introduce new channel_t abstraction between circuits and
  13586. or_connection_t to allow for implementing alternate OR-to-OR
  13587. transports. A channel_t is an abstract object which can either be a
  13588. cell-bearing channel, which is responsible for authenticating and
  13589. handshaking with the remote OR and transmitting cells to and from
  13590. it, or a listening channel, which spawns new cell-bearing channels
  13591. at the request of remote ORs. Implements part of ticket 6465.
  13592. - Also new is the channel_tls_t subclass of channel_t, adapting it
  13593. to the existing or_connection_t code. The V2/V3 protocol handshaking
  13594. code which formerly resided in command.c has been moved below the
  13595. channel_t abstraction layer and may be found in channeltls.c now.
  13596. Implements the rest of ticket 6465.
  13597. - Introduce new circuitmux_t storing the queue of circuits for
  13598. a channel; this encapsulates and abstracts the queue logic and
  13599. circuit selection policy, and allows the latter to be overridden
  13600. easily by switching out a policy object. The existing EWMA behavior
  13601. is now implemented as a circuitmux_policy_t. Resolves ticket 6816.
  13602. o Required libraries:
  13603. - Tor now requires OpenSSL 0.9.8 or later. OpenSSL 1.0.0 or later is
  13604. strongly recommended.
  13605. o Minor features:
  13606. - Warn users who run hidden services on a Tor client with
  13607. UseEntryGuards disabled that their hidden services will be
  13608. vulnerable to http://freehaven.net/anonbib/#hs-attack06 (the
  13609. attack which motivated Tor to support entry guards in the first
  13610. place). Resolves ticket 6889.
  13611. - Tor now builds correctly on Bitrig, an OpenBSD fork. Patch from
  13612. dhill. Resolves ticket 6982.
  13613. - Option OutboundBindAddress can be specified multiple times and
  13614. accepts IPv6 addresses. Resolves ticket 6876.
  13615. o Minor bugfixes (also in 0.2.3.23-rc):
  13616. - Don't serve or accept v2 hidden service descriptors over a
  13617. relay's DirPort. It's never correct to do so, and disabling it
  13618. might make it more annoying to exploit any bugs that turn up in the
  13619. descriptor-parsing code. Fixes bug 7149.
  13620. - Fix two cases in src/or/transports.c where we were calling
  13621. fmt_addr() twice in a parameter list. Bug found by David
  13622. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  13623. - Fix memory leaks whenever we logged any message about the "path
  13624. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  13625. - When relays refuse a "create" cell because their queue of pending
  13626. create cells is too big (typically because their cpu can't keep up
  13627. with the arrival rate), send back reason "resource limit" rather
  13628. than reason "internal", so network measurement scripts can get a
  13629. more accurate picture. Fixes bug 7037; bugfix on 0.1.1.11-alpha.
  13630. o Minor bugfixes:
  13631. - Command-line option "--version" implies "--quiet". Fixes bug 6997.
  13632. - Free some more still-in-use memory at exit, to make hunting for
  13633. memory leaks easier. Resolves bug 7029.
  13634. - When a Tor client gets a "truncated" relay cell, the first byte of
  13635. its payload specifies why the circuit was truncated. We were
  13636. ignoring this 'reason' byte when tearing down the circuit, resulting
  13637. in the controller not being told why the circuit closed. Now we
  13638. pass the reason from the truncated cell to the controller. Bugfix
  13639. on 0.1.2.3-alpha; fixes bug 7039.
  13640. - Downgrade "Failed to hand off onionskin" messages to "debug"
  13641. severity, since they're typically redundant with the "Your computer
  13642. is too slow" messages. Fixes bug 7038; bugfix on 0.2.2.16-alpha.
  13643. - Make clients running with IPv6 bridges connect over IPv6 again,
  13644. even without setting new config options ClientUseIPv6 and
  13645. ClientPreferIPv6ORPort. Fixes bug 6757; bugfix on 0.2.4.1-alpha.
  13646. - Use square brackets around IPv6 addresses in numerous places
  13647. that needed them, including log messages, HTTPS CONNECT proxy
  13648. requests, TransportProxy statefile entries, and pluggable transport
  13649. extra-info lines. Fixes bug 7011; patch by David Fifield.
  13650. o Code refactoring and cleanup:
  13651. - Source files taken from other packages now reside in src/ext;
  13652. previously they were scattered around the rest of Tor.
  13653. - Avoid use of reserved identifiers in our C code. The C standard
  13654. doesn't like us declaring anything that starts with an
  13655. underscore, so let's knock it off before we get in trouble. Fix
  13656. for bug 1031; bugfix on the first Tor commit.
  13657. Changes in version 0.2.3.23-rc - 2012-10-20
  13658. Tor 0.2.3.23-rc adds a new v3 directory authority, fixes a privacy
  13659. vulnerability introduced by a change in OpenSSL, and fixes a variety
  13660. of smaller bugs in preparation for the release.
  13661. o New directory authorities:
  13662. - Add Faravahar (run by Sina Rabbani) as the ninth v3 directory
  13663. authority. Closes ticket 5749.
  13664. o Major bugfixes (security/privacy):
  13665. - Disable TLS session tickets. OpenSSL's implementation was giving
  13666. our TLS session keys the lifetime of our TLS context objects, when
  13667. perfect forward secrecy would want us to discard anything that
  13668. could decrypt a link connection as soon as the link connection
  13669. was closed. Fixes bug 7139; bugfix on all versions of Tor linked
  13670. against OpenSSL 1.0.0 or later. Found by Florent Daignière.
  13671. - Discard extraneous renegotiation attempts once the V3 link
  13672. protocol has been initiated. Failure to do so left us open to
  13673. a remotely triggerable assertion failure. Fixes CVE-2012-2249;
  13674. bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
  13675. o Major bugfixes:
  13676. - Fix a possible crash bug when checking for deactivated circuits
  13677. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  13678. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  13679. o Minor bugfixes (on 0.2.3.x):
  13680. - Fix two cases in src/or/transports.c where we were calling
  13681. fmt_addr() twice in a parameter list. Bug found by David
  13682. Fifield. Fixes bug 7014; bugfix on 0.2.3.9-alpha.
  13683. - Convert an assert in the pathbias code to a log message. The assert
  13684. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  13685. bugfix on 0.2.3.17-beta.
  13686. - Fix memory leaks whenever we logged any message about the "path
  13687. bias" detection. Fixes bug 7022; bugfix on 0.2.3.21-rc.
  13688. o Minor bugfixes (on 0.2.2.x and earlier):
  13689. - Don't serve or accept v2 hidden service descriptors over a relay's
  13690. DirPort. It's never correct to do so, and disabling it might
  13691. make it more annoying to exploit any bugs that turn up in the
  13692. descriptor-parsing code. Fixes bug 7149.
  13693. - When relays refuse a "create" cell because their queue of pending
  13694. create cells is too big (typically because their cpu can't keep up
  13695. with the arrival rate), send back reason "resource limit" rather
  13696. than reason "internal", so network measurement scripts can get a
  13697. more accurate picture. Bugfix on 0.1.1.11-alpha; fixes bug 7037.
  13698. - Correct file sizes when reading binary files on Cygwin, to avoid
  13699. a bug where Tor would fail to read its state file. Fixes bug 6844;
  13700. bugfix on 0.1.2.7-alpha.
  13701. - Avoid undefined behavior when parsing the list of supported
  13702. rendezvous/introduction protocols in a hidden service descriptor.
  13703. Previously, Tor would have confused (as-yet-unused) protocol version
  13704. numbers greater than 32 with lower ones on many platforms. Fixes
  13705. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  13706. o Documentation fixes:
  13707. - Clarify that hidden services are TCP only. Fixes bug 6024.
  13708. Changes in version 0.2.4.3-alpha - 2012-09-22
  13709. Tor 0.2.4.3-alpha fixes another opportunity for a remotely triggerable
  13710. assertion, resumes letting relays test reachability of their DirPort,
  13711. and cleans up a bunch of smaller bugs.
  13712. o Security fixes:
  13713. - Fix an assertion failure in tor_timegm() that could be triggered
  13714. by a badly formatted directory object. Bug found by fuzzing with
  13715. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  13716. o Major bugfixes:
  13717. - Fix a possible crash bug when checking for deactivated circuits
  13718. in connection_or_flush_from_first_active_circuit(). Fixes bug 6341;
  13719. bugfix on 0.2.2.7-alpha. Bug report and fix received pseudonymously.
  13720. - Allow routers to detect that their own DirPorts are running. When
  13721. we removed support for versions_supports_begindir, we also
  13722. accidentally removed the mechanism we used to self-test our
  13723. DirPort. Diagnosed with help from kargig. Fixes bugs 6814 and 6815;
  13724. bugfix on 0.2.4.2-alpha.
  13725. o Security features:
  13726. - Switch to a completely time-invariant approach for picking nodes
  13727. weighted by bandwidth. Our old approach would run through the
  13728. part of the loop after it had made its choice slightly slower
  13729. than it ran through the part of the loop before it had made its
  13730. choice. Addresses ticket 6538.
  13731. - Disable the use of Guard nodes when in Tor2WebMode. Guard usage
  13732. by tor2web clients allows hidden services to identify tor2web
  13733. clients through their repeated selection of the same rendezvous
  13734. and introduction point circuit endpoints (their guards). Resolves
  13735. ticket 6888.
  13736. o Minor features:
  13737. - Enable Tor to read configuration, state, and key information from
  13738. a FIFO. Previously Tor would only read from files with a positive
  13739. stat.st_size. Code from meejah; fixes bug 6044.
  13740. o Minor bugfixes:
  13741. - Correct file sizes when reading binary files on Cygwin, to avoid
  13742. a bug where Tor would fail to read its state file. Fixes bug 6844;
  13743. bugfix on 0.1.2.7-alpha.
  13744. - Correctly handle votes with more than 31 flags. Fixes bug 6853;
  13745. bugfix on 0.2.0.3-alpha.
  13746. - When complaining about a client port on a public address, log
  13747. which address we're complaining about. Fixes bug 4020; bugfix on
  13748. 0.2.3.3-alpha. Patch by Tom Fitzhenry.
  13749. - Convert an assert in the pathbias code to a log message. The assert
  13750. appears to only be triggerable by Tor2Web mode. Fixes bug 6866;
  13751. bugfix on 0.2.3.17-beta.
  13752. - Our new buildsystem was overzealous about rebuilding manpages: it
  13753. would rebuild them all whenever any one of them changed. Now our
  13754. dependency checking should be correct. Fixes bug 6843; bugfix on
  13755. 0.2.4.1-alpha.
  13756. - Don't do reachability testing over IPv6 unless AuthDirPublishIPv6
  13757. is set. Fixes bug 6880. Bugfix on 0.2.4.1-alpha.
  13758. - Correct log printout about which address family is preferred
  13759. when connecting to a bridge with both an IPv4 and IPv6 OR port.
  13760. Fixes bug 6884; bugfix on 0.2.4.1-alpha.
  13761. o Minor bugfixes (code cleanliness):
  13762. - Fix round_to_power_of_2() so it doesn't invoke undefined behavior
  13763. with large values. This situation was untriggered, but nevertheless
  13764. incorrect. Fixes bug 6831; bugfix on 0.2.0.1-alpha.
  13765. - Reject consensus votes with more than 64 known-flags. We aren't even
  13766. close to that limit yet, and our code doesn't handle it correctly.
  13767. Fixes bug 6833; bugfix on 0.2.0.1-alpha.
  13768. - Avoid undefined behavior when parsing the list of supported
  13769. rendezvous/introduction protocols in a hidden service descriptor.
  13770. Previously, Tor would have confused (as-yet-unused) protocol version
  13771. numbers greater than 32 with lower ones on many platforms. Fixes
  13772. bug 6827; bugfix on 0.2.0.10-alpha. Found by George Kadianakis.
  13773. - Fix handling of rendezvous client authorization types over 8.
  13774. Fixes bug 6861; bugfix on 0.2.1.5-alpha.
  13775. - Fix building with older versions of GCC (2.95, for one) that don't
  13776. like preprocessor directives inside macro arguments. Found by
  13777. grarpamp. Fixes bug 6842; bugfix on 0.2.4.2-alpha.
  13778. - Switch weighted node selection rule from using a list of doubles
  13779. to using a list of int64_t. This change should make the process
  13780. slightly easier to debug and maintain. Needed to finish ticket 6538.
  13781. o Code simplification and refactoring:
  13782. - Move the generic "config" code into a new file, and have "config.c"
  13783. hold only torrc- and state-related code. Resolves ticket 6823.
  13784. - Move the core of our "choose a weighted element at random" logic
  13785. into its own function, and give it unit tests. Now the logic is
  13786. testable, and a little less fragile too.
  13787. - Removed the testing_since field of node_t, which hasn't been used
  13788. for anything since 0.2.0.9-alpha.
  13789. o Documentation fixes:
  13790. - Clarify that hidden services are TCP only. Fixes bug 6024.
  13791. - Resolve a typo in torrc.sample.in. Fixes bug 6819; bugfix on
  13792. 0.2.3.14-alpha.
  13793. Changes in version 0.2.3.22-rc - 2012-09-11
  13794. Tor 0.2.3.22-rc fixes another opportunity for a remotely triggerable
  13795. assertion.
  13796. o Security fixes:
  13797. - Fix an assertion failure in tor_timegm() that could be triggered
  13798. by a badly formatted directory object. Bug found by fuzzing with
  13799. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  13800. o Minor bugfixes:
  13801. - Avoid segfault when starting up having run with an extremely old
  13802. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  13803. on 0.2.2.23-alpha.
  13804. Changes in version 0.2.2.39 - 2012-09-11
  13805. Tor 0.2.2.39 fixes two more opportunities for remotely triggerable
  13806. assertions.
  13807. o Security fixes:
  13808. - Fix an assertion failure in tor_timegm() that could be triggered
  13809. by a badly formatted directory object. Bug found by fuzzing with
  13810. Radamsa. Fixes bug 6811; bugfix on 0.2.0.20-rc.
  13811. - Do not crash when comparing an address with port value 0 to an
  13812. address policy. This bug could have been used to cause a remote
  13813. assertion failure by or against directory authorities, or to
  13814. allow some applications to crash clients. Fixes bug 6690; bugfix
  13815. on 0.2.1.10-alpha.
  13816. Changes in version 0.2.4.2-alpha - 2012-09-10
  13817. Tor 0.2.4.2-alpha enables port forwarding for pluggable transports,
  13818. raises the default rate limiting even more, and makes the bootstrapping
  13819. log messages less noisy.
  13820. o Major features:
  13821. - Automatically forward the TCP ports of pluggable transport
  13822. proxies using tor-fw-helper if PortForwarding is enabled. Implements
  13823. ticket 4567.
  13824. o Major bugfixes:
  13825. - Raise the default BandwidthRate/BandwidthBurst values from 5MB/10MB
  13826. to 1GB/1GB. The previous defaults were intended to be "basically
  13827. infinite", but it turns out they're now limiting our 100mbit+
  13828. relays and bridges. Fixes bug 6605; bugfix on 0.2.0.10-alpha (the
  13829. last time we raised it).
  13830. o Minor features:
  13831. - Detect when we're running with a version of OpenSSL other than the
  13832. one we compiled with. This has occasionally given people hard-to-
  13833. track-down errors.
  13834. - Log fewer lines at level "notice" about our OpenSSL and Libevent
  13835. versions and capabilities when everything is going right. Resolves
  13836. part of ticket 6736.
  13837. - Directory authorities no long accept descriptors for any version of
  13838. Tor before 0.2.2.35, or for any 0.2.3 release before 0.2.3.10-alpha.
  13839. These versions are insecure, unsupported, or both. Implements
  13840. ticket 6789.
  13841. o Minor bugfixes:
  13842. - Rename the (internal-use-only) UsingTestingNetworkDefaults option
  13843. to start with a triple-underscore so the controller won't touch it.
  13844. Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
  13845. - Avoid segfault when starting up having run with an extremely old
  13846. version of Tor and parsing its state file. Fixes bug 6801; bugfix
  13847. on 0.2.2.23-alpha.
  13848. - Rename the (testing-use-only) _UseFilteringSSLBufferevents option
  13849. so it doesn't start with _. Fixes bug 3155. Bugfix on 0.2.3.1-alpha.
  13850. - Don't follow the NULL pointer if microdescriptor generation fails.
  13851. (This does not appear to be triggerable, but it's best to be safe.)
  13852. Found by "f. tp.". Fixes bug 6797; bugfix on 0.2.4.1-alpha.
  13853. - Fix mis-declared dependencies on src/common/crypto.c and
  13854. src/or/tor_main.c that could break out-of-tree builds under some
  13855. circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
  13856. - Avoid a warning when building common_sha1.i out of tree. Fixes bug
  13857. 6778; bugfix on 0.2.4.1-alpha.
  13858. - Fix a harmless (in this case) build warning for implicitly
  13859. converting a strlen() to an int. Bugfix on 0.2.4.1-alpha.
  13860. o Removed features:
  13861. - Now that all versions before 0.2.2.x are disallowed, we no longer
  13862. need to work around their missing features. Thus we can remove a
  13863. bunch of compatibility code.
  13864. o Code refactoring:
  13865. - Tweak tor-fw-helper to accept an arbitrary amount of arbitrary
  13866. TCP ports to forward. In the past it only accepted two ports:
  13867. the ORPort and the DirPort.
  13868. Changes in version 0.2.4.1-alpha - 2012-09-05
  13869. Tor 0.2.4.1-alpha lets bridges publish their pluggable transports to
  13870. bridgedb; lets relays use IPv6 addresses and directory authorities
  13871. advertise them; and switches to a cleaner build interface.
  13872. This is the first alpha release in a new series, so expect there to
  13873. be bugs. Users who would rather test out a more stable branch should
  13874. stay with 0.2.3.x for now.
  13875. o Major features (bridges):
  13876. - Bridges now report the pluggable transports they support to the
  13877. bridge authority, so it can pass the supported transports on to
  13878. bridgedb and/or eventually do reachability testing. Implements
  13879. ticket 3589.
  13880. o Major features (IPv6):
  13881. - Bridge authorities now accept IPv6 bridge addresses and include
  13882. them in network status documents. Implements ticket 5534.
  13883. - Clients who set "ClientUseIPv6 1" may connect to entry nodes over
  13884. IPv6. Set "ClientPreferIPv6ORPort 1" to make this even more likely
  13885. to happen. Implements ticket 5535.
  13886. - All kind of relays, not just bridges, can now advertise an IPv6
  13887. OR port. Implements ticket 6362.
  13888. - Directory authorities vote on IPv6 OR ports using the new consensus
  13889. method 14. Implements ticket 6363.
  13890. o Major features (build):
  13891. - Switch to a nonrecursive Makefile structure. Now instead of each
  13892. Makefile.am invoking other Makefile.am's, there is a master
  13893. Makefile.am that includes the others. This change makes our build
  13894. process slightly more maintainable, and improves parallelism for
  13895. building with make -j. Original patch by Stewart Smith; various
  13896. fixes by Jim Meyering.
  13897. - Where available, we now use automake's "silent" make rules by
  13898. default, so that warnings are easier to spot. You can get the old
  13899. behavior with "make V=1". Patch by Stewart Smith for ticket 6522.
  13900. o Minor features (code security and spec conformance):
  13901. - Clear keys and key-derived material left on the stack in
  13902. rendservice.c and rendclient.c. Check return value of
  13903. crypto_pk_write_private_key_to_string() in rend_service_load_keys().
  13904. These fixes should make us more forward-secure against cold-boot
  13905. attacks and the like. Fixes bug 2385.
  13906. - Reject EXTEND cells sent to nonexistent streams. According to the
  13907. spec, an EXTEND cell sent to _any_ nonzero stream ID is invalid, but
  13908. we were only checking for stream IDs that were currently in use.
  13909. Found while hunting for more instances of bug 6271. Bugfix on
  13910. 0.0.2pre8, which introduced incremental circuit construction.
  13911. o Minor features (streamlining);
  13912. - No longer include the "opt" prefix when generating routerinfos
  13913. or v2 directories: it has been needless since Tor 0.1.2. Closes
  13914. ticket 5124.
  13915. - Remove some now-needless code that tried to aggressively flush
  13916. OR connections as data was added to them. Since 0.2.0.1-alpha, our
  13917. cell queue logic has saved us from the failure mode that this code
  13918. was supposed to prevent. Removing this code will limit the number
  13919. of baroque control flow paths through Tor's network logic. Reported
  13920. pseudonymously on IRC. Fixes bug 6468; bugfix on 0.2.0.1-alpha.
  13921. o Minor features (controller):
  13922. - Add a "GETINFO signal/names" control port command. Implements
  13923. ticket 3842.
  13924. - Provide default values for all options via "GETINFO config/defaults".
  13925. Implements ticket 4971.
  13926. o Minor features (IPv6):
  13927. - New config option "AuthDirHasIPv6Connectivity 1" that directory
  13928. authorities should set if they have IPv6 connectivity and want to
  13929. do reachability tests for IPv6 relays. Implements feature 5974.
  13930. - A relay with an IPv6 OR port now sends that address in NETINFO
  13931. cells (in addition to its other address). Implements ticket 6364.
  13932. o Minor features (log messages):
  13933. - Omit the first heartbeat log message, because it never has anything
  13934. useful to say, and it clutters up the bootstrapping messages.
  13935. Resolves ticket 6758.
  13936. - Don't log about reloading the microdescriptor cache at startup. Our
  13937. bootstrap warnings are supposed to tell the user when there's a
  13938. problem, and our bootstrap notices say when there isn't. Resolves
  13939. ticket 6759; bugfix on 0.2.2.6-alpha.
  13940. - Don't log "I learned some more directory information" when we're
  13941. reading cached directory information. Reserve it for when new
  13942. directory information arrives in response to a fetch. Resolves
  13943. ticket 6760.
  13944. - Prevent rounding error in path bias counts when scaling
  13945. them down, and use the correct scale factor default. Also demote
  13946. some path bias related log messages down a level and make others
  13947. less scary sounding. Fixes bug 6647. Bugfix against 0.2.3.17-beta.
  13948. - We no longer warn so much when generating manpages from their
  13949. asciidoc source.
  13950. o Code simplifications and refactoring:
  13951. - Enhance our internal sscanf replacement so that we can eliminate
  13952. the last remaining uses of the system sscanf. (Though those uses
  13953. of sscanf were safe, sscanf itself is generally error prone, so
  13954. we want to eliminate when we can.) Fixes ticket 4195 and Coverity
  13955. CID 448.
  13956. - Move ipv6_preferred from routerinfo_t to node_t. Addresses bug 4620.
  13957. - Move last_reachable and testing_since from routerinfo_t to node_t.
  13958. Implements ticket 5529.
  13959. - Add replaycache_t structure, functions and unit tests, then refactor
  13960. rend_service_introduce() to be more clear to read, improve, debug,
  13961. and test. Resolves bug 6177.
  13962. - Finally remove support for malloc_good_size and malloc_usable_size.
  13963. We had hoped that these functions would let us eke a little more
  13964. memory out of our malloc implementation. Unfortunately, the only
  13965. implementations that provided these functions are also ones that
  13966. are already efficient about not overallocation: they never got us
  13967. more than 7 or so bytes per allocation. Removing them saves us a
  13968. little code complexity and a nontrivial amount of build complexity.
  13969. o New requirements:
  13970. - Tor maintainers now require Automake version 1.9 or later to build
  13971. Tor from the Git repository. (Automake is not required when building
  13972. from a source distribution.)
  13973. Changes in version 0.2.3.21-rc - 2012-09-05
  13974. Tor 0.2.3.21-rc is the fourth release candidate for the Tor 0.2.3.x
  13975. series. It fixes a trio of potential security bugs, fixes a bug where
  13976. we were leaving some of the fast relays out of the microdescriptor
  13977. consensus, resumes interpreting "ORPort 0" and "DirPort 0" correctly,
  13978. and cleans up other smaller issues.
  13979. o Major bugfixes (security):
  13980. - Tear down the circuit if we get an unexpected SENDME cell. Clients
  13981. could use this trick to make their circuits receive cells faster
  13982. than our flow control would have allowed, or to gum up the network,
  13983. or possibly to do targeted memory denial-of-service attacks on
  13984. entry nodes. Fixes bug 6252. Bugfix on the 54th commit on Tor --
  13985. from July 2002, before the release of Tor 0.0.0. We had committed
  13986. this patch previously, but we had to revert it because of bug 6271.
  13987. Now that 6271 is fixed, this patch appears to work.
  13988. - Reject any attempt to extend to an internal address. Without
  13989. this fix, a router could be used to probe addresses on an internal
  13990. network to see whether they were accepting connections. Fixes bug
  13991. 6710; bugfix on 0.0.8pre1.
  13992. - Do not crash when comparing an address with port value 0 to an
  13993. address policy. This bug could have been used to cause a remote
  13994. assertion failure by or against directory authorities, or to
  13995. allow some applications to crash clients. Fixes bug 6690; bugfix
  13996. on 0.2.1.10-alpha.
  13997. o Major bugfixes:
  13998. - Remove the upper bound on microdescriptor length. We were hitting
  13999. the limit for routers with complex exit policies or family
  14000. declarations, causing clients to not use them. Fixes the first
  14001. piece of bug 6404; fix on 0.2.2.6-alpha.
  14002. - Detect "ORPort 0" as meaning, uniformly, that we're not running
  14003. as a relay. Previously, some of our code would treat the presence
  14004. of any ORPort line as meaning that we should act like a relay,
  14005. even though our new listener code would correctly not open any
  14006. ORPorts for ORPort 0. Similar bugs in other Port options are also
  14007. fixed. Fixes the first half of bug 6507; bugfix on 0.2.3.3-alpha.
  14008. o Minor bugfixes:
  14009. - Avoid a pair of double-free and use-after-mark bugs that can
  14010. occur with certain timings in canceled and re-received DNS
  14011. requests. Fixes bug 6472; bugfix on 0.0.7rc1.
  14012. - Fix build and 64-bit compile warnings from --enable-openbsd-malloc.
  14013. Fixes bug 6379. Bugfix on 0.2.0.20-rc.
  14014. - Allow one-hop directory fetching circuits the full "circuit build
  14015. timeout" period, rather than just half of it, before failing them
  14016. and marking the relay down. This fix should help reduce cases where
  14017. clients declare relays (or worse, bridges) unreachable because
  14018. the TLS handshake takes a few seconds to complete. Fixes bug 6743;
  14019. bugfix on 0.2.2.2-alpha, where we changed the timeout from a static
  14020. 30 seconds.
  14021. - Authorities no longer include any router in their microdescriptor
  14022. consensuses for which they couldn't generate or agree on a
  14023. microdescriptor. Fixes the second piece of bug 6404; fix on
  14024. 0.2.2.6-alpha.
  14025. - Detect and reject attempts to specify both "FooPort" and
  14026. "FooPort 0" in the same configuration domain. (It's still okay
  14027. to have a FooPort in your configuration file, and use "FooPort 0"
  14028. on the command line to disable it.) Fixes the second half of bug
  14029. 6507; bugfix on 0.2.3.3-alpha.
  14030. - Make wildcarded addresses (that is, ones beginning with "*.") work
  14031. when provided via the controller's MapAddress command. Previously,
  14032. they were accepted, but we never actually noticed that they were
  14033. wildcards. Fixes bug 6244; bugfix on 0.2.3.9-alpha.
  14034. - Avoid crashing on a malformed state file where EntryGuardPathBias
  14035. precedes EntryGuard. Fix for bug 6774; bugfix on 0.2.3.17-beta.
  14036. - Add a (probably redundant) memory clear between iterations of
  14037. the router status voting loop, to prevent future coding errors
  14038. where data might leak between iterations of the loop. Resolves
  14039. ticket 6514.
  14040. o Minor bugfixes (log messages):
  14041. - Downgrade "set buildtimeout to low value" messages to "info"
  14042. severity; they were never an actual problem, there was never
  14043. anything reasonable to do about them, and they tended to spam logs
  14044. from time to time. Fixes bug 6251; bugfix on 0.2.2.2-alpha.
  14045. - Downgrade path-bias warning messages to "info". We'll try to get
  14046. them working better in 0.2.4. Add internal circuit construction
  14047. state to protect against the noisy warn message "Unexpectedly high
  14048. circuit_successes". Also add some additional rate-limited notice
  14049. messages to help determine the root cause of the warn. Fixes bug
  14050. 6475. Bugfix against 0.2.3.17-beta.
  14051. - Move log message when unable to find a microdesc in a routerstatus
  14052. entry to parse time. Previously we'd spam this warning every time
  14053. we tried to figure out which microdescriptors to download. Fixes
  14054. the third piece of bug 6404; fix on 0.2.3.18-rc.
  14055. o Minor features:
  14056. - Consider new, removed or changed IPv6 OR ports a non-cosmetic
  14057. change when the authority is deciding whether to accept a newly
  14058. uploaded descriptor. Implements ticket 6423.
  14059. - Add missing documentation for consensus and microdesc files.
  14060. Resolves ticket 6732.
  14061. Changes in version 0.2.2.38 - 2012-08-12
  14062. Tor 0.2.2.38 fixes a remotely triggerable crash bug, and fixes a timing
  14063. attack that could in theory leak path information.
  14064. o Security fixes:
  14065. - Avoid an uninitialized memory read when reading a vote or consensus
  14066. document that has an unrecognized flavor name. This read could
  14067. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  14068. - Try to leak less information about what relays a client is
  14069. choosing to a side-channel attacker. Previously, a Tor client would
  14070. stop iterating through the list of available relays as soon as it
  14071. had chosen one, thus finishing a little earlier when it picked
  14072. a router earlier in the list. If an attacker can recover this
  14073. timing information (nontrivial but not proven to be impossible),
  14074. they could learn some coarse-grained information about which relays
  14075. a client was picking (middle nodes in particular are likelier to
  14076. be affected than exits). The timing attack might be mitigated by
  14077. other factors (see bug 6537 for some discussion), but it's best
  14078. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  14079. Changes in version 0.2.3.20-rc - 2012-08-05
  14080. Tor 0.2.3.20-rc is the third release candidate for the Tor 0.2.3.x
  14081. series. It fixes a pair of code security bugs and a potential anonymity
  14082. issue, updates our RPM spec files, and cleans up other smaller issues.
  14083. o Security fixes:
  14084. - Avoid read-from-freed-memory and double-free bugs that could occur
  14085. when a DNS request fails while launching it. Fixes bug 6480;
  14086. bugfix on 0.2.0.1-alpha.
  14087. - Avoid an uninitialized memory read when reading a vote or consensus
  14088. document that has an unrecognized flavor name. This read could
  14089. lead to a remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
  14090. - Try to leak less information about what relays a client is
  14091. choosing to a side-channel attacker. Previously, a Tor client would
  14092. stop iterating through the list of available relays as soon as it
  14093. had chosen one, thus finishing a little earlier when it picked
  14094. a router earlier in the list. If an attacker can recover this
  14095. timing information (nontrivial but not proven to be impossible),
  14096. they could learn some coarse-grained information about which relays
  14097. a client was picking (middle nodes in particular are likelier to
  14098. be affected than exits). The timing attack might be mitigated by
  14099. other factors (see bug 6537 for some discussion), but it's best
  14100. not to take chances. Fixes bug 6537; bugfix on 0.0.8rc1.
  14101. o Minor features:
  14102. - Try to make the warning when giving an obsolete SOCKSListenAddress
  14103. a little more useful.
  14104. - Terminate active server managed proxies if Tor stops being a
  14105. relay. Addresses parts of bug 6274; bugfix on 0.2.3.6-alpha.
  14106. - Provide a better error message about possible OSX Asciidoc failure
  14107. reasons. Fixes bug 6436.
  14108. - Warn when Tor is configured to use accounting in a way that can
  14109. link a hidden service to some other hidden service or public
  14110. address. Resolves ticket 6490.
  14111. o Minor bugfixes:
  14112. - Check return value of fputs() when writing authority certificate
  14113. file. Fixes Coverity issue 709056; bugfix on 0.2.0.1-alpha.
  14114. - Ignore ServerTransportPlugin lines when Tor is not configured as
  14115. a relay. Fixes bug 6274; bugfix on 0.2.3.6-alpha.
  14116. - When disabling guards for having too high a proportion of failed
  14117. circuits, make sure to look at each guard. Fixes bug 6397; bugfix
  14118. on 0.2.3.17-beta.
  14119. o Packaging (RPM):
  14120. - Update our default RPM spec files to work with mock and rpmbuild
  14121. on RHEL/Fedora. They have an updated set of dependencies and
  14122. conflicts, a fix for an ancient typo when creating the "_tor"
  14123. user, and better instructions. Thanks to Ondrej Mikle for the
  14124. patch series. Fixes bug 6043.
  14125. o Testing:
  14126. - Make it possible to set the TestingTorNetwork configuration
  14127. option using AlternateDirAuthority and AlternateBridgeAuthority
  14128. as an alternative to setting DirServer. Addresses ticket 6377.
  14129. o Documentation:
  14130. - Clarify the documentation for the Alternate*Authority options.
  14131. Fixes bug 6387.
  14132. - Fix some typos in the manpages. Patch from A. Costa. Fixes bug 6500.
  14133. o Code simplification and refactoring:
  14134. - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
  14135. 10 lines. Also, don't nest them. Doing so in the past has
  14136. led to hard-to-debug code. The new style is to use the
  14137. SMARTLIST_FOREACH_{BEGIN,END} pair. Addresses issue 6400.
  14138. Changes in version 0.2.3.19-rc - 2012-07-06
  14139. Tor 0.2.3.19-rc is the second release candidate for the Tor 0.2.3.x
  14140. series. It fixes the compile on Windows, reverts to a GeoIP database
  14141. that isn't as broken, and fixes a flow control bug that has been around
  14142. since the beginning of Tor.
  14143. o Major bugfixes:
  14144. - Fix a bug handling SENDME cells on nonexistent streams that could
  14145. result in bizarre window values. Report and patch contributed
  14146. pseudonymously. Fixes part of bug 6271. This bug was introduced
  14147. before the first Tor release, in svn commit r152.
  14148. - Revert to the May 1 2012 Maxmind GeoLite Country database. In the
  14149. June 2012 database, Maxmind marked many Tor relays as country "A1",
  14150. which will cause risky behavior for clients that set EntryNodes
  14151. or ExitNodes. Addresses bug 6334; bugfix on 0.2.3.17-beta.
  14152. - Instead of ENOBUFS on Windows, say WSAENOBUFS. Fixes compilation
  14153. on Windows. Fixes bug 6296; bugfix on 0.2.3.18-rc.
  14154. o Minor bugfixes:
  14155. - Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
  14156. bugfix on 0.2.1.10-alpha.
  14157. Changes in version 0.2.3.18-rc - 2012-06-28
  14158. Tor 0.2.3.18-rc is the first release candidate for the Tor 0.2.3.x
  14159. series. It fixes a few smaller bugs, but generally appears stable.
  14160. Please test it and let us know whether it is!
  14161. o Major bugfixes:
  14162. - Allow wildcarded mapaddress targets to be specified on the
  14163. controlport. Partially fixes bug 6244; bugfix on 0.2.3.9-alpha.
  14164. - Make our linker option detection code more robust against linkers
  14165. such as on FreeBSD 8, where a bad combination of options completes
  14166. successfully but makes an unrunnable binary. Fixes bug 6173;
  14167. bugfix on 0.2.3.17-beta.
  14168. o Minor bugfixes (on 0.2.2.x and earlier):
  14169. - Avoid a false positive in the util/threads unit test by increasing
  14170. the maximum timeout time. Fixes bug 6227; bugfix on 0.2.0.4-alpha.
  14171. - Replace "Sending publish request" log messages with "Launching
  14172. upload", so that they no longer confusingly imply that we're
  14173. sending something to a directory we might not even be connected
  14174. to yet. Fixes bug 3311; bugfix on 0.2.0.10-alpha.
  14175. - Make sure to set *socket_error in all error cases in
  14176. connection_connect(), so it can't produce a warning about
  14177. errno being zero from errno_to_orconn_end_reason(). Bugfix on
  14178. 0.2.1.1-alpha; resolves ticket 6028.
  14179. - Downgrade "Got a certificate, but we already have it" log messages
  14180. from warning to info, except when we're a dirauth. Fixes bug 5238;
  14181. bugfix on 0.2.1.7-alpha.
  14182. - When checking for requested signatures on the latest consensus
  14183. before serving it to a client, make sure to check the right
  14184. consensus flavor. Bugfix on 0.2.2.6-alpha.
  14185. - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
  14186. Fixes bug 5932; bugfix on 0.2.2.7-alpha.
  14187. o Minor bugfixes (on 0.2.3.x):
  14188. - Make format_helper_exit_status() avoid unnecessary space padding
  14189. and stop confusing log_from_pipe(). Fixes ticket 5557; bugfix
  14190. on 0.2.3.1-alpha.
  14191. - Downgrade a message about cleaning the microdescriptor cache to
  14192. "info" from "notice". Fixes bug 6238; bugfix on 0.2.3.1-alpha.
  14193. - Log a BUG message at severity INFO if we have a networkstatus with
  14194. a missing entry for some microdescriptor. Continues on a patch
  14195. to 0.2.3.2-alpha.
  14196. - Improve the log message when a managed proxy fails to launch. Fixes
  14197. bug 5099; bugfix on 0.2.3.6-alpha.
  14198. - Don't do DNS lookups when parsing corrupted managed proxy protocol
  14199. messages. Fixes bug 6226; bugfix on 0.2.3.6-alpha.
  14200. - When formatting wildcarded address mappings for the controller,
  14201. be sure to include "*." as appropriate. Partially fixes bug 6244;
  14202. bugfix on 0.2.3.9-alpha.
  14203. - Avoid a warning caused by using strcspn() from glibc with clang 3.0.
  14204. Bugfix on 0.2.3.13-alpha.
  14205. - Stop logging messages about running with circuit timeout learning
  14206. enabled at severity LD_BUG. Fixes bug 6169; bugfix on 0.2.3.17-beta.
  14207. - Disable a spurious warning about reading on a marked and flushing
  14208. connection. We shouldn't be doing that, but apparently we
  14209. sometimes do. Fixes bug 6203; bugfix on 0.2.3.17-beta.
  14210. - Fix a bug that stopped AllowDotExit from working on addresses
  14211. that had an entry in the DNS cache. Fixes bug 6211; bugfix on
  14212. 0.2.3.17-beta.
  14213. o Code simplification, refactoring, unit tests:
  14214. - Move tor_gettimeofday_cached() into compat_libevent.c, and use
  14215. Libevent's notion of cached time when possible.
  14216. - Remove duplicate code for invoking getrlimit() from control.c.
  14217. - Add a unit test for the environment_variable_names_equal function.
  14218. o Documentation:
  14219. - Document the --defaults-torrc option, and the new (in 0.2.3)
  14220. semantics for overriding, extending, and clearing lists of
  14221. options. Closes bug 4748.
  14222. Changes in version 0.2.3.17-beta - 2012-06-15
  14223. Tor 0.2.3.17-beta enables compiler and linker hardening by default,
  14224. gets our TLS handshake back on track for being able to blend in with
  14225. Firefox, fixes a big bug in 0.2.3.16-alpha that broke Tor's interaction
  14226. with Vidalia, and otherwise continues to get us closer to a release
  14227. candidate.
  14228. o Major features:
  14229. - Enable gcc and ld hardening by default. Resolves ticket 5210.
  14230. - Update TLS cipher list to match Firefox 8 and later. Resolves
  14231. ticket 4744.
  14232. - Implement the client side of proposal 198: remove support for
  14233. clients falsely claiming to support standard ciphersuites that
  14234. they can actually provide. As of modern OpenSSL versions, it's not
  14235. necessary to fake any standard ciphersuite, and doing so prevents
  14236. us from using better ciphersuites in the future, since servers
  14237. can't know whether an advertised ciphersuite is really supported or
  14238. not. Some hosts -- notably, ones with very old versions of OpenSSL
  14239. or where OpenSSL has been built with ECC disabled -- will stand
  14240. out because of this change; TBB users should not be affected.
  14241. o Major bugfixes:
  14242. - Change the default value for DynamicDHGroups (introduced in
  14243. 0.2.3.9-alpha) to 0. This feature can make Tor relays less
  14244. identifiable by their use of the mod_ssl DH group, but at
  14245. the cost of some usability (#4721) and bridge tracing (#6087)
  14246. regressions. Resolves ticket 5598.
  14247. - Send a CRLF at the end of each STATUS_* control protocol event. This
  14248. bug tickled a bug in Vidalia which would make it freeze. Fixes
  14249. bug 6094; bugfix on 0.2.3.16-alpha.
  14250. o Minor bugfixes:
  14251. - Disable writing on marked-for-close connections when they are
  14252. blocked on bandwidth, to prevent busy-looping in Libevent. Fixes
  14253. bug 5263; bugfix on 0.0.2pre13, where we first added a special
  14254. case for flushing marked connections.
  14255. - Detect SSL handshake even when the initial attempt to write the
  14256. server hello fails. Fixes bug 4592; bugfix on 0.2.0.13-alpha.
  14257. - Change the AllowDotExit rules so they should actually work.
  14258. We now enforce AllowDotExit only immediately after receiving an
  14259. address via SOCKS or DNSPort: other sources are free to provide
  14260. .exit addresses after the resolution occurs. Fixes bug 3940;
  14261. bugfix on 0.2.2.1-alpha.
  14262. - Fix a (harmless) integer overflow in cell statistics reported by
  14263. some fast relays. Fixes bug 5849; bugfix on 0.2.2.1-alpha.
  14264. - Make sure circuitbuild.c checks LearnCircuitBuildTimeout in all the
  14265. right places and never depends on the consensus parameters or
  14266. computes adaptive timeouts when it is disabled. Fixes bug 5049;
  14267. bugfix on 0.2.2.14-alpha.
  14268. - When building Tor on Windows with -DUNICODE (not default), ensure
  14269. that error messages, filenames, and DNS server names are always
  14270. NUL-terminated when we convert them to a single-byte encoding.
  14271. Fixes bug 5909; bugfix on 0.2.2.16-alpha.
  14272. - Make Tor build correctly again with -DUNICODE -D_UNICODE defined.
  14273. Fixes bug 6097; bugfix on 0.2.2.16-alpha.
  14274. - Fix an edge case where TestingTorNetwork is set but the authorities
  14275. and relays all have an uptime of zero, where the private Tor network
  14276. could briefly lack support for hidden services. Fixes bug 3886;
  14277. bugfix on 0.2.2.18-alpha.
  14278. - Correct the manpage's descriptions for the default values of
  14279. DirReqStatistics and ExtraInfoStatistics. Fixes bug 2865; bugfix
  14280. on 0.2.3.1-alpha.
  14281. - Fix the documentation for the --hush and --quiet command line
  14282. options, which changed their behavior back in 0.2.3.3-alpha.
  14283. - Fix compilation warning with clang 3.1. Fixes bug 6141; bugfix on
  14284. 0.2.3.11-alpha.
  14285. o Minor features:
  14286. - Rate-limit the "Weighted bandwidth is 0.000000" message, and add
  14287. more information to it, so that we can track it down in case it
  14288. returns again. Mitigates bug 5235.
  14289. - Check CircuitBuildTimeout and LearnCircuitBuildTimeout in
  14290. options_validate(); warn if LearnCircuitBuildTimeout is disabled and
  14291. CircuitBuildTimeout is set unreasonably low. Resolves ticket 5452.
  14292. - Warn the user when HTTPProxy, but no other proxy type, is
  14293. configured. This can cause surprising behavior: it doesn't send
  14294. all of Tor's traffic over the HTTPProxy -- it sends unencrypted
  14295. directory traffic only. Resolves ticket 4663.
  14296. - Issue a notice if a guard completes less than 40% of your circuits.
  14297. Threshold is configurable by torrc option PathBiasNoticeRate and
  14298. consensus parameter pb_noticepct. There is additional, off-by-
  14299. default code to disable guards which fail too many circuits.
  14300. Addresses ticket 5458.
  14301. - Update to the June 6 2012 Maxmind GeoLite Country database.
  14302. o Code simplifications and refactoring:
  14303. - Remove validate_pluggable_transports_config(): its warning
  14304. message is now handled by connection_or_connect().
  14305. Changes in version 0.2.2.37 - 2012-06-06
  14306. Tor 0.2.2.37 introduces a workaround for a critical renegotiation
  14307. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  14308. currently).
  14309. o Major bugfixes:
  14310. - Work around a bug in OpenSSL that broke renegotiation with TLS
  14311. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  14312. the v2 Tor connection protocol when both sides were using OpenSSL
  14313. 1.0.1 would fail. Resolves ticket 6033.
  14314. - When waiting for a client to renegotiate, don't allow it to add
  14315. any bytes to the input buffer. This fixes a potential DoS issue.
  14316. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  14317. - Fix an edge case where if we fetch or publish a hidden service
  14318. descriptor, we might build a 4-hop circuit and then use that circuit
  14319. for exiting afterwards -- even if the new last hop doesn't obey our
  14320. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  14321. o Minor bugfixes:
  14322. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  14323. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  14324. o Minor features:
  14325. - Tell GCC and Clang to check for any errors in format strings passed
  14326. to the tor_v*(print|scan)f functions.
  14327. Changes in version 0.2.3.16-alpha - 2012-06-05
  14328. Tor 0.2.3.16-alpha introduces a workaround for a critical renegotiation
  14329. bug in OpenSSL 1.0.1 (where 20% of the Tor network can't talk to itself
  14330. currently). It also fixes a variety of smaller bugs and other cleanups
  14331. that get us closer to a release candidate.
  14332. o Major bugfixes (general):
  14333. - Work around a bug in OpenSSL that broke renegotiation with TLS
  14334. 1.1 and TLS 1.2. Without this workaround, all attempts to speak
  14335. the v2 Tor connection protocol when both sides were using OpenSSL
  14336. 1.0.1 would fail. Resolves ticket 6033.
  14337. - When waiting for a client to renegotiate, don't allow it to add
  14338. any bytes to the input buffer. This fixes a potential DoS issue.
  14339. Fixes bugs 5934 and 6007; bugfix on 0.2.0.20-rc.
  14340. - Pass correct OR address to managed proxies (like obfsproxy),
  14341. even when ORListenAddress is used. Fixes bug 4865; bugfix on
  14342. 0.2.3.9-alpha.
  14343. - The advertised platform of a router now includes only its operating
  14344. system's name (e.g., "Linux", "Darwin", "Windows 7"), and not its
  14345. service pack level (for Windows) or its CPU architecture (for Unix).
  14346. We also no longer include the "git-XYZ" tag in the version. Resolves
  14347. part of bug 2988.
  14348. o Major bugfixes (clients):
  14349. - If we are unable to find any exit that supports our predicted ports,
  14350. stop calling them predicted, so that we don't loop and build
  14351. hopeless circuits indefinitely. Fixes bug 3296; bugfix on 0.0.9pre6,
  14352. which introduced predicted ports.
  14353. - Fix an edge case where if we fetch or publish a hidden service
  14354. descriptor, we might build a 4-hop circuit and then use that circuit
  14355. for exiting afterwards -- even if the new last hop doesn't obey our
  14356. ExitNodes config option. Fixes bug 5283; bugfix on 0.2.0.10-alpha.
  14357. - Check at each new consensus whether our entry guards were picked
  14358. long enough ago that we should rotate them. Previously, we only
  14359. did this check at startup, which could lead to us holding a guard
  14360. indefinitely. Fixes bug 5380; bugfix on 0.2.1.14-rc.
  14361. - When fetching a bridge descriptor from a bridge authority,
  14362. always do so anonymously, whether we have been able to open
  14363. circuits or not. Partial fix for bug 1938; bugfix on 0.2.0.7-alpha.
  14364. This behavior makes it *safer* to use UpdateBridgesFromAuthority,
  14365. but we'll need to wait for bug 6010 before it's actually usable.
  14366. o Major bugfixes (directory authorities):
  14367. - When computing weight parameters, behave more robustly in the
  14368. presence of a bad bwweightscale value. Previously, the authorities
  14369. would crash if they agreed on a sufficiently broken weight_scale
  14370. value: now, they use a reasonable default and carry on. Partial
  14371. fix for 5786; bugfix on 0.2.2.17-alpha.
  14372. - Check more thoroughly to prevent a rogue authority from
  14373. double-voting on any consensus directory parameter. Previously,
  14374. authorities would crash in this case if the total number of
  14375. votes for any parameter exceeded the number of active voters,
  14376. but would let it pass otherwise. Partial fix for bug 5786; bugfix
  14377. on 0.2.2.2-alpha.
  14378. o Minor features:
  14379. - Rate-limit log messages when asked to connect anonymously to
  14380. a private address. When these hit, they tended to hit fast and
  14381. often. Also, don't bother trying to connect to addresses that we
  14382. are sure will resolve to 127.0.0.1: getting 127.0.0.1 in a directory
  14383. reply makes us think we have been lied to, even when the address the
  14384. client tried to connect to was "localhost." Resolves ticket 2822.
  14385. - Allow packagers to insert an extra string in server descriptor
  14386. platform lines by setting the preprocessor variable TOR_BUILD_TAG.
  14387. Resolves the rest of ticket 2988.
  14388. - Raise the threshold of server descriptors needed (75%) and exit
  14389. server descriptors needed (50%) before we will declare ourselves
  14390. bootstrapped. This will make clients start building circuits a
  14391. little later, but makes the initially constructed circuits less
  14392. skewed and less in conflict with further directory fetches. Fixes
  14393. ticket 3196.
  14394. - Close any connection that sends unrecognized junk before the
  14395. handshake. Solves an issue noted in bug 4369.
  14396. - Improve log messages about managed transports. Resolves ticket 5070.
  14397. - Tag a bridge's descriptor as "never to be sent unencrypted".
  14398. This shouldn't matter, since bridges don't open non-anonymous
  14399. connections to the bridge authority and don't allow unencrypted
  14400. directory connections from clients, but we might as well make
  14401. sure. Closes bug 5139.
  14402. - Expose our view of whether we have gone dormant to the controller,
  14403. via a new "GETINFO dormant" value. Torbutton and other controllers
  14404. can use this to avoid doing periodic requests through Tor while
  14405. it's dormant (bug 4718). Fixes bug 5954.
  14406. - Tell GCC and Clang to check for any errors in format strings passed
  14407. to the tor_v*(print|scan)f functions.
  14408. - Update to the May 1 2012 Maxmind GeoLite Country database.
  14409. o Minor bugfixes (already included in 0.2.2.36):
  14410. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  14411. Fixes bug 5346; bugfix on 0.0.8pre3.
  14412. - Correct parsing of certain date types in parse_http_time().
  14413. Without this patch, If-Modified-Since would behave
  14414. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  14415. Esteban Manchado Velázques.
  14416. - Make our number-parsing functions always treat too-large values
  14417. as an error, even when those values exceed the width of the
  14418. underlying type. Previously, if the caller provided these
  14419. functions with minima or maxima set to the extreme values of the
  14420. underlying integer type, these functions would return those
  14421. values on overflow rather than treating overflow as an error.
  14422. Fixes part of bug 5786; bugfix on 0.0.9.
  14423. - If we hit the error case where routerlist_insert() replaces an
  14424. existing (old) server descriptor, make sure to remove that
  14425. server descriptor from the old_routers list. Fix related to bug
  14426. 1776. Bugfix on 0.2.2.18-alpha.
  14427. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  14428. circuits. Fixes issue 5259.
  14429. o Minor bugfixes (coding cleanup, on 0.2.2.x and earlier):
  14430. - Prevent a null-pointer dereference when receiving a data cell
  14431. for a nonexistent stream when the circuit in question has an
  14432. empty deliver window. We don't believe this is triggerable,
  14433. since we don't currently allow deliver windows to become empty,
  14434. but the logic is tricky enough that it's better to make the code
  14435. robust. Fixes bug 5541; bugfix on 0.0.2pre14.
  14436. - Fix a memory leak when trying to launch a DNS request when the
  14437. network is disabled or the nameservers are unconfigurable. Fixes
  14438. bug 5916; bugfix on Tor 0.1.2.1-alpha (for the unconfigurable
  14439. nameserver case) and on 0.2.3.9-alpha (for the DisableNetwork case).
  14440. - Don't hold a Windows file handle open for every file mapping;
  14441. the file mapping handle is sufficient. Fixes bug 5951; bugfix on
  14442. 0.1.2.1-alpha.
  14443. - Avoid O(n^2) performance characteristics when parsing a large
  14444. extrainfo cache. Fixes bug 5828; bugfix on 0.2.0.1-alpha.
  14445. - Format more doubles with %f, not %lf. Patch from grarpamp to make
  14446. Tor build correctly on older BSDs again. Fixes bug 3894; bugfix on
  14447. Tor 0.2.0.8-alpha.
  14448. - Make our replacement implementation of strtok_r() compatible with
  14449. the standard behavior of strtok_r(). Patch by nils. Fixes bug 5091;
  14450. bugfix on 0.2.2.1-alpha.
  14451. - Fix a NULL-pointer dereference on a badly formed
  14452. SETCIRCUITPURPOSE command. Found by mikeyc. Fixes bug 5796;
  14453. bugfix on 0.2.2.9-alpha.
  14454. - Fix a build warning with Clang 3.1 related to our use of vasprintf.
  14455. Fixes bug 5969. Bugfix on 0.2.2.11-alpha.
  14456. - Defensively refactor rend_mid_rendezvous() so that protocol
  14457. violations and length checks happen in the beginning. Fixes
  14458. bug 5645.
  14459. - Set _WIN32_WINNT to 0x0501 consistently throughout the code, so
  14460. that IPv6 stuff will compile on MSVC, and compilation issues
  14461. will be easier to track down. Fixes bug 5861.
  14462. o Minor bugfixes (correctness, on 0.2.2.x and earlier):
  14463. - Exit nodes now correctly report EADDRINUSE and EADDRNOTAVAIL as
  14464. resource exhaustion, so that clients can adjust their load to
  14465. try other exits. Fixes bug 4710; bugfix on 0.1.0.1-rc, which
  14466. started using END_STREAM_REASON_RESOURCELIMIT.
  14467. - Don't check for whether the address we're using for outbound
  14468. connections has changed until after the outbound connection has
  14469. completed. On Windows, getsockname() doesn't succeed until the
  14470. connection is finished. Fixes bug 5374; bugfix on 0.1.1.14-alpha.
  14471. - If the configuration tries to set MyFamily on a bridge, refuse to
  14472. do so, and warn about the security implications. Fixes bug 4657;
  14473. bugfix on 0.2.0.3-alpha.
  14474. - If the client fails to set a reasonable set of ciphersuites
  14475. during its v2 handshake renegotiation, allow the renegotiation to
  14476. continue nevertheless (i.e. send all the required certificates).
  14477. Fixes bug 4591; bugfix on 0.2.0.20-rc.
  14478. - When we receive a SIGHUP and the controller __ReloadTorrcOnSIGHUP
  14479. option is set to 0 (which Vidalia version 0.2.16 now does when
  14480. a SAVECONF attempt fails), perform other actions that SIGHUP
  14481. usually causes (like reopening the logs). Fixes bug 5095; bugfix
  14482. on 0.2.1.9-alpha.
  14483. - If we fail to write a microdescriptor to the disk cache, do not
  14484. continue replacing the old microdescriptor file. Fixes bug 2954;
  14485. bugfix on 0.2.2.6-alpha.
  14486. - Exit nodes don't need to fetch certificates for authorities that
  14487. they don't recognize; only directory authorities, bridges,
  14488. and caches need to do that. Fixes part of bug 2297; bugfix on
  14489. 0.2.2.11-alpha.
  14490. - Correctly handle checking the permissions on the parent
  14491. directory of a control socket in the root directory. Bug found
  14492. by Esteban Manchado Velázquez. Fixes bug 5089; bugfix on Tor
  14493. 0.2.2.26-beta.
  14494. - When told to add a bridge with the same digest as a preexisting
  14495. bridge but a different addr:port, change the addr:port as
  14496. requested. Previously we would not notice the change. Fixes half
  14497. of bug 5603; fix on 0.2.2.26-beta.
  14498. - End AUTHCHALLENGE error messages (in the control protocol) with
  14499. a CRLF. Fixes bug 5760; bugfix on 0.2.2.36 and 0.2.3.13-alpha.
  14500. o Minor bugfixes (on 0.2.3.x):
  14501. - Turn an assertion (that the number of handshakes received as a
  14502. server is not < 1) into a warning. Fixes bug 4873; bugfix on
  14503. 0.2.3.1-alpha.
  14504. - Format IPv4 addresses correctly in ADDRMAP events. (Previously,
  14505. we had reversed them when the answer was cached.) Fixes bug
  14506. 5723; bugfix on 0.2.3.1-alpha.
  14507. - Work correctly on Linux systems with accept4 support advertised in
  14508. their headers, but without accept4 support in the kernel. Fix
  14509. by murb. Fixes bug 5762; bugfix on 0.2.3.1-alpha.
  14510. - When told to add a bridge with the same addr:port as a preexisting
  14511. bridge but a different transport, change the transport as
  14512. requested. Previously we would not notice the change. Fixes half
  14513. of bug 5603; fix on 0.2.3.2-alpha.
  14514. - Avoid a "double-reply" warning when replying to a SOCKS request
  14515. with a parse error. Patch from Fabian Keil. Fixes bug 4108;
  14516. bugfix on 0.2.3.4-alpha.
  14517. - Fix a bug where a bridge authority crashes if it has seen no
  14518. directory requests when it's time to write statistics to disk.
  14519. Fixes bug 5891; bugfix on 0.2.3.6-alpha. Also fixes bug 5508 in
  14520. a better way.
  14521. - Don't try to open non-control listeners when DisableNetwork is set.
  14522. Previously, we'd open all listeners, then immediately close them.
  14523. Fixes bug 5604; bugfix on 0.2.3.9-alpha.
  14524. - Don't abort the managed proxy protocol if the managed proxy
  14525. sends us an unrecognized line; ignore it instead. Fixes bug
  14526. 5910; bugfix on 0.2.3.9-alpha.
  14527. - Fix a compile warning in crypto.c when compiling with clang 3.1.
  14528. Fixes bug 5969, bugfix on 0.2.3.9-alpha.
  14529. - Fix a compilation issue on GNU Hurd, which doesn't have PATH_MAX.
  14530. Fixes bug 5355; bugfix on 0.2.3.11-alpha.
  14531. - Remove bogus definition of "_WIN32" from src/win32/orconfig.h, to
  14532. unbreak the MSVC build. Fixes bug 5858; bugfix on 0.2.3.12-alpha.
  14533. - Resolve numerous small warnings and build issues with MSVC. Resolves
  14534. bug 5859.
  14535. o Documentation fixes:
  14536. - Improve the manual's documentation for the NT Service command-line
  14537. options. Addresses ticket 3964.
  14538. - Clarify SessionGroup documentation slightly; resolves ticket 5437.
  14539. - Document the changes to the ORPort and DirPort options, and the
  14540. fact that {OR/Dir}ListenAddress is now unnecessary (and
  14541. therefore deprecated). Resolves ticket 5597.
  14542. o Removed files:
  14543. - Remove the torrc.bridge file: we don't use it for anything, and
  14544. it had become badly desynchronized from torrc.sample. Resolves
  14545. bug 5622.
  14546. Changes in version 0.2.2.36 - 2012-05-24
  14547. Tor 0.2.2.36 updates the addresses for two of the eight directory
  14548. authorities, fixes some potential anonymity and security issues,
  14549. and fixes several crash bugs.
  14550. Tor 0.2.1.x has reached its end-of-life. Those Tor versions have many
  14551. known flaws, and nobody should be using them. You should upgrade. If
  14552. you're using a Linux or BSD and its packages are obsolete, stop using
  14553. those packages and upgrade anyway.
  14554. o Directory authority changes:
  14555. - Change IP address for maatuska (v3 directory authority).
  14556. - Change IP address for ides (v3 directory authority), and rename
  14557. it to turtles.
  14558. o Security fixes:
  14559. - When building or running with any version of OpenSSL earlier
  14560. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  14561. versions have a bug (CVE-2011-4576) in which their block cipher
  14562. padding includes uninitialized data, potentially leaking sensitive
  14563. information to any peer with whom they make a SSLv3 connection. Tor
  14564. does not use SSL v3 by default, but a hostile client or server
  14565. could force an SSLv3 connection in order to gain information that
  14566. they shouldn't have been able to get. The best solution here is to
  14567. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  14568. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  14569. to make sure that the bug can't happen.
  14570. - Never use a bridge or a controller-supplied node as an exit, even
  14571. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  14572. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  14573. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  14574. - Only build circuits if we have a sufficient threshold of the total
  14575. descriptors that are marked in the consensus with the "Exit"
  14576. flag. This mitigates an attack proposed by wanoskarnet, in which
  14577. all of a client's bridges collude to restrict the exit nodes that
  14578. the client knows about. Fixes bug 5343.
  14579. - Provide controllers with a safer way to implement the cookie
  14580. authentication mechanism. With the old method, if another locally
  14581. running program could convince a controller that it was the Tor
  14582. process, then that program could trick the controller into telling
  14583. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  14584. authentication method uses a challenge-response approach to prevent
  14585. this attack. Fixes bug 5185; implements proposal 193.
  14586. o Major bugfixes:
  14587. - Avoid logging uninitialized data when unable to decode a hidden
  14588. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  14589. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  14590. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  14591. 0.2.1.6-alpha.
  14592. - Fix builds when the path to sed, openssl, or sha1sum contains
  14593. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  14594. on 0.2.2.1-alpha.
  14595. - Correct our replacements for the timeradd() and timersub() functions
  14596. on platforms that lack them (for example, Windows). The timersub()
  14597. function is used when expiring circuits, while timeradd() is
  14598. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  14599. bugfix on 0.2.2.24-alpha.
  14600. - Fix the SOCKET_OK test that we use to tell when socket
  14601. creation fails so that it works on Win64. Fixes part of bug 4533;
  14602. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  14603. o Minor bugfixes:
  14604. - Reject out-of-range times like 23:59:61 in parse_rfc1123_time().
  14605. Fixes bug 5346; bugfix on 0.0.8pre3.
  14606. - Make our number-parsing functions always treat too-large values
  14607. as an error, even when those values exceed the width of the
  14608. underlying type. Previously, if the caller provided these
  14609. functions with minima or maxima set to the extreme values of the
  14610. underlying integer type, these functions would return those
  14611. values on overflow rather than treating overflow as an error.
  14612. Fixes part of bug 5786; bugfix on 0.0.9.
  14613. - Older Linux kernels erroneously respond to strange nmap behavior
  14614. by having accept() return successfully with a zero-length
  14615. socket. When this happens, just close the connection. Previously,
  14616. we would try harder to learn the remote address: but there was
  14617. no such remote address to learn, and our method for trying to
  14618. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  14619. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  14620. - Correct parsing of certain date types in parse_http_time().
  14621. Without this patch, If-Modified-Since would behave
  14622. incorrectly. Fixes bug 5346; bugfix on 0.2.0.2-alpha. Patch from
  14623. Esteban Manchado Velázques.
  14624. - Change the BridgePassword feature (part of the "bridge community"
  14625. design, which is not yet implemented) to use a time-independent
  14626. comparison. The old behavior might have allowed an adversary
  14627. to use timing to guess the BridgePassword value. Fixes bug 5543;
  14628. bugfix on 0.2.0.14-alpha.
  14629. - Detect and reject certain misformed escape sequences in
  14630. configuration values. Previously, these values would cause us
  14631. to crash if received in a torrc file or over an authenticated
  14632. control port. Bug found by Esteban Manchado Velázquez, and
  14633. independently by Robert Connolly from Matta Consulting who further
  14634. noted that it allows a post-authentication heap overflow. Patch
  14635. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  14636. bugfix on 0.2.0.16-alpha.
  14637. - Fix a compile warning when using the --enable-openbsd-malloc
  14638. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  14639. - During configure, detect when we're building with clang version
  14640. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  14641. CFLAGS. clang doesn't support them yet.
  14642. - When sending an HTTP/1.1 proxy request, include a Host header.
  14643. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  14644. - Fix a NULL-pointer dereference on a badly formed SETCIRCUITPURPOSE
  14645. command. Found by mikeyc. Fixes bug 5796; bugfix on 0.2.2.9-alpha.
  14646. - If we hit the error case where routerlist_insert() replaces an
  14647. existing (old) server descriptor, make sure to remove that
  14648. server descriptor from the old_routers list. Fix related to bug
  14649. 1776. Bugfix on 0.2.2.18-alpha.
  14650. o Minor bugfixes (documentation and log messages):
  14651. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  14652. Fixes bug 4856; bugfix on Tor 0.0.6.
  14653. - Update "ClientOnly" man page entry to explain that there isn't
  14654. really any point to messing with it. Resolves ticket 5005.
  14655. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  14656. directory authority option (introduced in Tor 0.2.2.34).
  14657. - Downgrade the "We're missing a certificate" message from notice
  14658. to info: people kept mistaking it for a real problem, whereas it
  14659. is seldom the problem even when we are failing to bootstrap. Fixes
  14660. bug 5067; bugfix on 0.2.0.10-alpha.
  14661. - Correctly spell "connect" in a log message on failure to create a
  14662. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta.
  14663. - Clarify the behavior of MaxCircuitDirtiness with hidden service
  14664. circuits. Fixes issue 5259.
  14665. o Minor features:
  14666. - Directory authorities now reject versions of Tor older than
  14667. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  14668. inclusive. These versions accounted for only a small fraction of
  14669. the Tor network, and have numerous known security issues. Resolves
  14670. issue 4788.
  14671. - Update to the May 1 2012 Maxmind GeoLite Country database.
  14672. o Feature removal:
  14673. - When sending or relaying a RELAY_EARLY cell, we used to convert
  14674. it to a RELAY cell if the connection was using the v1 link
  14675. protocol. This was a workaround for older versions of Tor, which
  14676. didn't handle RELAY_EARLY cells properly. Now that all supported
  14677. versions can handle RELAY_EARLY cells, and now that we're enforcing
  14678. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  14679. remove this workaround. Addresses bug 4786.
  14680. Changes in version 0.2.3.15-alpha - 2012-04-30
  14681. Tor 0.2.3.15-alpha fixes a variety of smaller bugs, including making
  14682. the development branch build on Windows again.
  14683. o Minor bugfixes (on 0.2.2.x and earlier):
  14684. - Make sure that there are no unhandled pending TLS errors before
  14685. reading from a TLS stream. We had checks in 0.1.0.3-rc, but
  14686. lost them in 0.1.0.5-rc when we refactored read_to_buf_tls().
  14687. Bugfix on 0.1.0.5-rc; fixes bug 4528.
  14688. - Fix an assert that directory authorities could trigger on sighup
  14689. during some configuration state transitions. We now don't treat
  14690. it as a fatal error when the new descriptor we just generated in
  14691. init_keys() isn't accepted. Fixes bug 4438; bugfix on 0.2.1.9-alpha.
  14692. - After we pick a directory mirror, we would refuse to use it if
  14693. it's in our ExcludeExitNodes list, resulting in mysterious failures
  14694. to bootstrap for people who just wanted to avoid exiting from
  14695. certain locations. Fixes bug 5623; bugfix on 0.2.2.25-alpha.
  14696. - When building with --enable-static-tor on OpenBSD, do not
  14697. erroneously attempt to link -lrt. Fixes bug 5103.
  14698. o Minor bugfixes (on 0.2.3.x):
  14699. - When Tor is built with kernel headers from a recent (last few
  14700. years) Linux kernel, do not fail to run on older (pre-2.6.28
  14701. Linux kernels). Fixes bug 5112; bugfix on 0.2.3.1-alpha.
  14702. - Fix cross-compilation issues with mingw. Bugfixes on 0.2.3.6-alpha
  14703. and 0.2.3.12-alpha.
  14704. - Fix compilation with miniupnpc version 1.6; patch from
  14705. Anthony G. Basile. Fixes bug 5434; bugfix on 0.2.3.12-alpha.
  14706. - Fix compilation with MSVC, which had defined MS_WINDOWS. Bugfix
  14707. on 0.2.3.13-alpha; found and fixed by Gisle Vanem.
  14708. - Fix compilation on platforms without unistd.h, or where environ
  14709. is defined in stdlib.h. Fixes bug 5704; bugfix on 0.2.3.13-alpha.
  14710. o Minor features:
  14711. - Directory authorities are now a little more lenient at accepting
  14712. older router descriptors, or newer router descriptors that don't
  14713. make big changes. This should help ameliorate past and future
  14714. issues where routers think they have uploaded valid descriptors,
  14715. but the authorities don't think so. Fix for ticket 2479.
  14716. - Make the code that clients use to detect an address change be
  14717. IPv6-aware, so that it won't fill clients' logs with error
  14718. messages when trying to get the IPv4 address of an IPv6
  14719. connection. Implements ticket 5537.
  14720. o Removed features:
  14721. - Remove the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays option;
  14722. authorities needed to use it for a while to keep the network working
  14723. as people upgraded to 0.2.1.31, 0.2.2.34, or 0.2.3.6-alpha, but
  14724. that was six months ago. As of now, it should no longer be needed
  14725. or used.
  14726. Changes in version 0.2.3.14-alpha - 2012-04-23
  14727. Tor 0.2.3.14-alpha fixes yet more bugs to get us closer to a release
  14728. candidate. It also dramatically speeds up AES: fast relays should
  14729. consider switching to the newer OpenSSL library.
  14730. o Directory authority changes:
  14731. - Change IP address for ides (v3 directory authority), and rename
  14732. it to turtles.
  14733. o Major bugfixes:
  14734. - Avoid logging uninitialized data when unable to decode a hidden
  14735. service descriptor cookie. Fixes bug 5647; bugfix on 0.2.1.5-alpha.
  14736. - Avoid a client-side assertion failure when receiving an INTRODUCE2
  14737. cell on a general purpose circuit. Fixes bug 5644; bugfix on
  14738. 0.2.1.6-alpha.
  14739. - If authorities are unable to get a v2 consensus document from other
  14740. directory authorities, they no longer fall back to fetching
  14741. them from regular directory caches. Fixes bug 5635; bugfix on
  14742. 0.2.2.26-beta, where routers stopped downloading v2 consensus
  14743. documents entirely.
  14744. - When we start a Tor client with a normal consensus already cached,
  14745. be willing to download a microdescriptor consensus. Fixes bug 4011;
  14746. fix on 0.2.3.1-alpha.
  14747. o Major features (performance):
  14748. - When built to use OpenSSL 1.0.1, and built for an x86 or x86_64
  14749. instruction set, take advantage of OpenSSL's AESNI, bitsliced, or
  14750. vectorized AES implementations as appropriate. These can be much,
  14751. much faster than other AES implementations.
  14752. o Minor bugfixes (0.2.2.x and earlier):
  14753. - Don't launch more than 10 service-side introduction-point circuits
  14754. for a hidden service in five minutes. Previously, we would consider
  14755. launching more introduction-point circuits if at least one second
  14756. had passed without any introduction-point circuits failing. Fixes
  14757. bug 4607; bugfix on 0.0.7pre1.
  14758. - Change the BridgePassword feature (part of the "bridge community"
  14759. design, which is not yet implemented) to use a time-independent
  14760. comparison. The old behavior might have allowed an adversary
  14761. to use timing to guess the BridgePassword value. Fixes bug 5543;
  14762. bugfix on 0.2.0.14-alpha.
  14763. - Enforce correct return behavior of tor_vsscanf() when the '%%'
  14764. pattern is used. Fixes bug 5558. Bugfix on 0.2.1.13.
  14765. - When sending an HTTP/1.1 proxy request, include a Host header.
  14766. Fixes bug 5593; bugfix on 0.2.2.1-alpha.
  14767. - Don't log that we have "decided to publish new relay descriptor"
  14768. unless we are actually publishing a descriptor. Fixes bug 3942;
  14769. bugfix on 0.2.2.28-beta.
  14770. o Minor bugfixes (0.2.3.x):
  14771. - Fix a bug where a bridge authority crashes (on a failed assert)
  14772. if it has seen no directory requests when it's time to write
  14773. statistics to disk. Fixes bug 5508. Bugfix on 0.2.3.6-alpha.
  14774. - Fix bug stomping on ORPort option NoListen and ignoring option
  14775. NoAdvertise. Fixes bug 5151; bugfix on 0.2.3.9-alpha.
  14776. - In the testsuite, provide a large enough buffer in the tor_sscanf
  14777. unit test. Otherwise we'd overrun that buffer and crash during
  14778. the unit tests. Found by weasel. Fixes bug 5449; bugfix on
  14779. 0.2.3.12-alpha.
  14780. - Make sure we create the keys directory if it doesn't exist and we're
  14781. about to store the dynamic Diffie-Hellman parameters. Fixes bug
  14782. 5572; bugfix on 0.2.3.13-alpha.
  14783. - Fix a small memory leak when trying to decode incorrect base16
  14784. authenticator during SAFECOOKIE authentication. Found by
  14785. Coverity Scan. Fixes CID 507. Bugfix on 0.2.3.13-alpha.
  14786. o Minor features:
  14787. - Add more information to a log statement that might help track down
  14788. bug 4091. If you're seeing "Bug: tor_addr_is_internal() called with a
  14789. non-IP address" messages (or any Bug messages, for that matter!),
  14790. please let us know about it.
  14791. - Relays now understand an IPv6 address when they get one from a
  14792. directory server. Resolves ticket 4875.
  14793. - Resolve IPv6 addresses in bridge and entry statistics to country
  14794. code "??" which means we at least count them. Resolves ticket 5053;
  14795. improves on 0.2.3.9-alpha.
  14796. - Update to the April 3 2012 Maxmind GeoLite Country database.
  14797. - Begin a doc/state-contents.txt file to explain the contents of
  14798. the Tor state file. Fixes bug 2987.
  14799. o Default torrc changes:
  14800. - Stop listing "socksport 9050" in torrc.sample. We open a socks
  14801. port on 9050 by default anyway, so this should not change anything
  14802. in practice.
  14803. - Stop mentioning the deprecated *ListenAddress options in
  14804. torrc.sample. Fixes bug 5438.
  14805. - Document unit of bandwidth related options in sample torrc.
  14806. Fixes bug 5621.
  14807. o Removed features:
  14808. - The "torify" script no longer supports the "tsocks" socksifier
  14809. tool, since tsocks doesn't support DNS and UDP right for Tor.
  14810. Everyone should be using torsocks instead. Fixes bugs 3530 and
  14811. 5180. Based on a patch by "ugh".
  14812. o Code refactoring:
  14813. - Change the symmetric cipher interface so that creating and
  14814. initializing a stream cipher are no longer separate functions.
  14815. - Remove all internal support for unpadded RSA. We never used it, and
  14816. it would be a bad idea to start.
  14817. Changes in version 0.2.3.13-alpha - 2012-03-26
  14818. Tor 0.2.3.13-alpha fixes a variety of stability and correctness bugs
  14819. in managed pluggable transports, as well as providing other cleanups
  14820. that get us closer to a release candidate.
  14821. o Directory authority changes:
  14822. - Change IP address for maatuska (v3 directory authority).
  14823. o Security fixes:
  14824. - Provide controllers with a safer way to implement the cookie
  14825. authentication mechanism. With the old method, if another locally
  14826. running program could convince a controller that it was the Tor
  14827. process, then that program could trick the controller into telling
  14828. it the contents of an arbitrary 32-byte file. The new "SAFECOOKIE"
  14829. authentication method uses a challenge-response approach to prevent
  14830. this attack. Fixes bug 5185, implements proposal 193.
  14831. - Never use a bridge or a controller-supplied node as an exit, even
  14832. if its exit policy allows it. Found by wanoskarnet. Fixes bug
  14833. 5342. Bugfix on 0.1.1.15-rc (for controller-purpose descriptors)
  14834. and 0.2.0.3-alpha (for bridge-purpose descriptors).
  14835. - Only build circuits if we have a sufficient threshold of the total
  14836. descriptors that are marked in the consensus with the "Exit"
  14837. flag. This mitigates an attack proposed by wanoskarnet, in which
  14838. all of a client's bridges collude to restrict the exit nodes that
  14839. the client knows about. Fixes bug 5343.
  14840. o Major bugfixes (on Tor 0.2.3.x):
  14841. - Avoid an assert when managed proxies like obfsproxy are configured,
  14842. and we receive HUP signals or setconf attempts too rapidly. This
  14843. situation happens most commonly when Vidalia tries to attach to
  14844. Tor or tries to configure the Tor it's attached to. Fixes bug 5084;
  14845. bugfix on 0.2.3.6-alpha.
  14846. - Fix a relay-side pluggable transports bug where managed proxies were
  14847. unreachable from the Internet, because Tor asked them to bind on
  14848. localhost. Fixes bug 4725; bugfix on 0.2.3.9-alpha.
  14849. - Stop discarding command-line arguments when TestingTorNetwork
  14850. is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
  14851. 0.2.3.9-alpha, where task 4552 added support for two layers of
  14852. torrc files.
  14853. - Resume allowing the unit tests to run in gdb. This was accidentally
  14854. made impossible when the DisableDebuggerAttachment option was
  14855. introduced. Fixes bug 5448; bugfix on 0.2.3.9-alpha.
  14856. - Resume building with nat-pmp support. Fixes bug 4955; bugfix on
  14857. 0.2.3.11-alpha. Reported by Anthony G. Basile.
  14858. o Minor bugfixes (on 0.2.2.x and earlier):
  14859. - Ensure we don't cannibalize circuits that are longer than three hops
  14860. already, so we don't end up making circuits with 5 or more
  14861. hops. Patch contributed by wanoskarnet. Fixes bug 5231; bugfix on
  14862. 0.1.0.1-rc which introduced cannibalization.
  14863. - Detect and reject certain misformed escape sequences in
  14864. configuration values. Previously, these values would cause us
  14865. to crash if received in a torrc file or over an authenticated
  14866. control port. Bug found by Esteban Manchado Velázquez, and
  14867. independently by Robert Connolly from Matta Consulting who further
  14868. noted that it allows a post-authentication heap overflow. Patch
  14869. by Alexander Schrijver. Fixes bugs 5090 and 5402 (CVE 2012-1668);
  14870. bugfix on 0.2.0.16-alpha.
  14871. - Fix a compile warning when using the --enable-openbsd-malloc
  14872. configure option. Fixes bug 5340; bugfix on 0.2.0.20-rc.
  14873. - Directory caches no longer refuse to clean out descriptors because
  14874. of missing v2 networkstatus documents, unless they're configured
  14875. to retrieve v2 networkstatus documents. Fixes bug 4838; bugfix on
  14876. 0.2.2.26-beta. Patch by Daniel Bryg.
  14877. - Update to the latest version of the tinytest unit testing framework.
  14878. This includes a couple of bugfixes that can be relevant for
  14879. running forked unit tests on Windows, and removes all reserved
  14880. identifiers.
  14881. o Minor bugfixes (on 0.2.3.x):
  14882. - On a failed pipe() call, don't leak file descriptors. Fixes bug
  14883. 4296; bugfix on 0.2.3.1-alpha.
  14884. - Spec conformance: on a v3 handshake, do not send a NETINFO cell
  14885. until after we have received a CERTS cell. Fixes bug 4361; bugfix
  14886. on 0.2.3.6-alpha. Patch by "frosty".
  14887. - When binding to an IPv6 address, set the IPV6_V6ONLY socket
  14888. option, so that the IP stack doesn't decide to use it for IPv4
  14889. too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
  14890. - Ensure that variables set in Tor's environment cannot override
  14891. environment variables that Tor passes to a managed
  14892. pluggable-transport proxy. Previously, Tor would pass every
  14893. variable in its environment to managed proxies along with the new
  14894. ones, in such a way that on many operating systems, the inherited
  14895. environment variables would override those which Tor tried to
  14896. explicitly set. Bugfix on 0.2.3.12-alpha for most Unixoid systems;
  14897. bugfix on 0.2.3.9-alpha for Windows.
  14898. o Minor features:
  14899. - A wide variety of new unit tests by Esteban Manchado Velázquez.
  14900. - Shorten links in the tor-exit-notice file. Patch by Christian Kujau.
  14901. - Update to the March 6 2012 Maxmind GeoLite Country database.
  14902. Changes in version 0.2.3.12-alpha - 2012-02-13
  14903. Tor 0.2.3.12-alpha lets fast exit relays scale better, allows clients
  14904. to use bridges that run Tor 0.2.2.x, and resolves several big bugs
  14905. when Tor is configured to use a pluggable transport like obfsproxy.
  14906. o Major bugfixes:
  14907. - Fix builds when the path to sed, openssl, or sha1sum contains
  14908. spaces, which is pretty common on Windows. Fixes bug 5065; bugfix
  14909. on 0.2.2.1-alpha.
  14910. - Set the SO_REUSEADDR socket option before we call bind() on outgoing
  14911. connections. This change should allow busy exit relays to stop
  14912. running out of available sockets as quickly. Fixes bug 4950;
  14913. bugfix on 0.2.2.26-beta.
  14914. - Allow 0.2.3.x clients to use 0.2.2.x bridges. Previously the client
  14915. would ask the bridge for microdescriptors, which are only supported
  14916. in 0.2.3.x, and then fail to bootstrap when it didn't get the
  14917. answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.
  14918. - Properly set up obfsproxy's environment when in managed mode. The
  14919. Tor Browser Bundle needs LD_LIBRARY_PATH to be passed to obfsproxy,
  14920. and when you run your Tor as a daemon, there's no HOME. Fixes bugs
  14921. 5076 and 5082; bugfix on 0.2.3.6-alpha.
  14922. o Minor features:
  14923. - Use the dead_strip option when building Tor on OS X. This reduces
  14924. binary size by almost 19% when linking openssl and libevent
  14925. statically, which we do for Tor Browser Bundle.
  14926. - Fix broken URLs in the sample torrc file, and tell readers about
  14927. the OutboundBindAddress, ExitPolicyRejectPrivate, and
  14928. PublishServerDescriptor options. Addresses bug 4652.
  14929. - Update to the February 7 2012 Maxmind GeoLite Country database.
  14930. o Minor bugfixes:
  14931. - Downgrade the "We're missing a certificate" message from notice
  14932. to info: people kept mistaking it for a real problem, whereas it
  14933. is seldom the problem even when we are failing to bootstrap. Fixes
  14934. bug 5067; bugfix on 0.2.0.10-alpha.
  14935. - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a
  14936. managed pluggable transport server proxy's environment.
  14937. Previously, we would put it there, even though Tor doesn't
  14938. implement an 'extended server port' yet, and even though Tor
  14939. almost certainly isn't listening at that address. For now, we set
  14940. it to an empty string to avoid crashing older obfsproxies. Bugfix
  14941. on 0.2.3.6-alpha.
  14942. - Log the heartbeat message every HeartbeatPeriod seconds, not every
  14943. HeartbeatPeriod + 1 seconds. Fixes bug 4942; bugfix on
  14944. 0.2.3.1-alpha. Bug reported by Scott Bennett.
  14945. - Calculate absolute paths correctly on Windows. Fixes bug 4973;
  14946. bugfix on 0.2.3.11-alpha.
  14947. - Update "ClientOnly" man page entry to explain that there isn't
  14948. really any point to messing with it. Resolves ticket 5005.
  14949. - Use the correct CVE number for CVE-2011-4576 in our comments and
  14950. log messages. Found by "fermenthor". Resolves bug 5066; bugfix on
  14951. 0.2.3.11-alpha.
  14952. o Code simplifications and refactoring:
  14953. - Use the _WIN32 macro throughout our code to detect Windows.
  14954. (Previously we had used the obsolete 'WIN32' and the idiosyncratic
  14955. 'MS_WINDOWS'.)
  14956. Changes in version 0.2.3.11-alpha - 2012-01-22
  14957. Tor 0.2.3.11-alpha marks feature-freeze for the 0.2.3 tree. It deploys
  14958. the last step of the plan to limit maximum circuit length, includes
  14959. a wide variety of hidden service performance and correctness fixes,
  14960. works around an OpenSSL security flaw if your distro is too stubborn
  14961. to upgrade, and fixes a bunch of smaller issues.
  14962. o Major features:
  14963. - Now that Tor 0.2.0.x is completely deprecated, enable the final
  14964. part of "Proposal 110: Avoiding infinite length circuits" by
  14965. refusing all circuit-extend requests that do not use a relay_early
  14966. cell. This change helps Tor resist a class of denial-of-service
  14967. attacks by limiting the maximum circuit length.
  14968. - Adjust the number of introduction points that a hidden service
  14969. will try to maintain based on how long its introduction points
  14970. remain in use and how many introductions they handle. Fixes
  14971. part of bug 3825.
  14972. - Try to use system facilities for enumerating local interface
  14973. addresses, before falling back to our old approach (which was
  14974. binding a UDP socket, and calling getsockname() on it). That
  14975. approach was scaring OS X users whose draconian firewall
  14976. software warned about binding to UDP sockets, regardless of
  14977. whether packets were sent. Now we try to use getifaddrs(),
  14978. SIOCGIFCONF, or GetAdaptersAddresses(), depending on what the
  14979. system supports. Resolves ticket 1827.
  14980. o Major security workaround:
  14981. - When building or running with any version of OpenSSL earlier
  14982. than 0.9.8s or 1.0.0f, disable SSLv3 support. These OpenSSL
  14983. versions have a bug (CVE-2011-4576) in which their block cipher
  14984. padding includes uninitialized data, potentially leaking sensitive
  14985. information to any peer with whom they make a SSLv3 connection. Tor
  14986. does not use SSL v3 by default, but a hostile client or server
  14987. could force an SSLv3 connection in order to gain information that
  14988. they shouldn't have been able to get. The best solution here is to
  14989. upgrade to OpenSSL 0.9.8s or 1.0.0f (or later). But when building
  14990. or running with a non-upgraded OpenSSL, we disable SSLv3 entirely
  14991. to make sure that the bug can't happen.
  14992. o Major bugfixes:
  14993. - Fix the SOCKET_OK test that we use to tell when socket
  14994. creation fails so that it works on Win64. Fixes part of bug 4533;
  14995. bugfix on 0.2.2.29-beta. Bug found by wanoskarnet.
  14996. - Correct our replacements for the timeradd() and timersub() functions
  14997. on platforms that lack them (for example, Windows). The timersub()
  14998. function is used when expiring circuits, while timeradd() is
  14999. currently unused. Bug report and patch by Vektor. Fixes bug 4778;
  15000. bugfix on 0.2.2.24-alpha and 0.2.3.1-alpha.
  15001. - Do not use OpenSSL 1.0.0's counter mode: it has a critical bug
  15002. that was fixed in OpenSSL 1.0.0a. We test for the counter mode
  15003. bug at runtime, not compile time, because some distributions hack
  15004. their OpenSSL to mis-report its version. Fixes bug 4779; bugfix
  15005. on 0.2.3.9-alpha. Found by Pascal.
  15006. o Minor features (controller):
  15007. - Use absolute path names when reporting the torrc filename in the
  15008. control protocol, so a controller can more easily find the torrc
  15009. file. Resolves bug 1101.
  15010. - Extend the control protocol to report flags that control a circuit's
  15011. path selection in CIRC events and in replies to 'GETINFO
  15012. circuit-status'. Implements part of ticket 2411.
  15013. - Extend the control protocol to report the hidden service address
  15014. and current state of a hidden-service-related circuit in CIRC
  15015. events and in replies to 'GETINFO circuit-status'. Implements part
  15016. of ticket 2411.
  15017. - When reporting the path to the cookie file to the controller,
  15018. give an absolute path. Resolves ticket 4881.
  15019. - Allow controllers to request an event notification whenever a
  15020. circuit is cannibalized or its purpose is changed. Implements
  15021. part of ticket 3457.
  15022. - Include the creation time of a circuit in CIRC and CIRC2
  15023. control-port events and the list produced by the 'GETINFO
  15024. circuit-status' control-port command.
  15025. o Minor features (directory authorities):
  15026. - Directory authorities now reject versions of Tor older than
  15027. 0.2.1.30, and Tor versions between 0.2.2.1-alpha and 0.2.2.20-alpha
  15028. inclusive. These versions accounted for only a small fraction of
  15029. the Tor network, and have numerous known security issues. Resolves
  15030. issue 4788.
  15031. - Authority operators can now vote for all relays in a given
  15032. set of countries to be BadDir/BadExit/Invalid/Rejected.
  15033. - Provide two consensus parameters (FastFlagMinThreshold and
  15034. FastFlagMaxThreshold) to control the range of allowable bandwidths
  15035. for the Fast directory flag. These allow authorities to run
  15036. experiments on appropriate requirements for being a "Fast" node.
  15037. The AuthDirFastGuarantee config value still applies. Implements
  15038. ticket 3946.
  15039. - Document the GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
  15040. directory authority option (introduced in Tor 0.2.2.34).
  15041. o Minor features (other):
  15042. - Don't disable the DirPort when we cannot exceed our AccountingMax
  15043. limit during this interval because the effective bandwidthrate is
  15044. low enough. This is useful in a situation where AccountMax is only
  15045. used as an additional safeguard or to provide statistics.
  15046. - Prepend an informative header to generated dynamic_dh_params files.
  15047. - If EntryNodes are given, but UseEntryGuards is set to 0, warn that
  15048. EntryNodes will have no effect. Resolves issue 2571.
  15049. - Log more useful messages when we fail to disable debugger
  15050. attachment.
  15051. - Log which authority we're missing votes from when we go to fetch
  15052. them from the other auths.
  15053. - Log (at debug level) whenever a circuit's purpose is changed.
  15054. - Add missing documentation for the MaxClientCircuitsPending,
  15055. UseMicrodescriptors, UserspaceIOCPBuffers, and
  15056. _UseFilteringSSLBufferevents options, all introduced during
  15057. the 0.2.3.x series.
  15058. - Update to the January 3 2012 Maxmind GeoLite Country database.
  15059. o Minor bugfixes (hidden services):
  15060. - Don't close hidden service client circuits which have almost
  15061. finished connecting to their destination when they reach
  15062. the normal circuit-build timeout. Previously, we would close
  15063. introduction circuits which are waiting for an acknowledgement
  15064. from the introduction point, and rendezvous circuits which have
  15065. been specified in an INTRODUCE1 cell sent to a hidden service,
  15066. after the normal CBT. Now, we mark them as 'timed out', and launch
  15067. another rendezvous attempt in parallel. This behavior change can
  15068. be disabled using the new CloseHSClientCircuitsImmediatelyOnTimeout
  15069. option. Fixes part of bug 1297; bugfix on 0.2.2.2-alpha.
  15070. - Don't close hidden-service-side rendezvous circuits when they
  15071. reach the normal circuit-build timeout. This behavior change can
  15072. be disabled using the new
  15073. CloseHSServiceRendCircuitsImmediatelyOnTimeout option. Fixes the
  15074. remaining part of bug 1297; bugfix on 0.2.2.2-alpha.
  15075. - Make sure we never mark the wrong rendezvous circuit as having
  15076. had its introduction cell acknowledged by the introduction-point
  15077. relay. Previously, when we received an INTRODUCE_ACK cell on a
  15078. client-side hidden-service introduction circuit, we might have
  15079. marked a rendezvous circuit other than the one we specified in
  15080. the INTRODUCE1 cell as INTRO_ACKED, which would have produced
  15081. a warning message and interfered with the hidden service
  15082. connection-establishment process. Fixes bug 4759; bugfix on
  15083. 0.2.3.3-alpha, when we added the stream-isolation feature which
  15084. might cause Tor to open multiple rendezvous circuits for the same
  15085. hidden service.
  15086. - Don't trigger an assertion failure when we mark a new client-side
  15087. hidden-service introduction circuit for close during the process
  15088. of creating it. Fixes bug 4796; bugfix on 0.2.3.6-alpha. Reported
  15089. by murb.
  15090. o Minor bugfixes (log messages):
  15091. - Correctly spell "connect" in a log message on failure to create a
  15092. controlsocket. Fixes bug 4803; bugfix on 0.2.2.26-beta and
  15093. 0.2.3.2-alpha.
  15094. - Fix a typo in a log message in rend_service_rendezvous_has_opened().
  15095. Fixes bug 4856; bugfix on Tor 0.0.6.
  15096. - Fix the log message describing how we work around discovering
  15097. that our version is the ill-fated OpenSSL 0.9.8l. Fixes bug
  15098. 4837; bugfix on 0.2.2.9-alpha.
  15099. - When logging about a disallowed .exit name, do not also call it
  15100. an "invalid onion address". Fixes bug 3325; bugfix on 0.2.2.9-alpha.
  15101. o Minor bugfixes (build fixes):
  15102. - During configure, detect when we're building with clang version
  15103. 3.0 or lower and disable the -Wnormalized=id and -Woverride-init
  15104. CFLAGS. clang doesn't support them yet.
  15105. - During configure, search for library containing cos function as
  15106. libm lives in libcore on some platforms (BeOS/Haiku). Linking
  15107. against libm was hard-coded before. Fixes the first part of bug
  15108. 4727; bugfix on 0.2.2.2-alpha. Patch and analysis by Martin Hebnes
  15109. Pedersen.
  15110. - Detect attempts to build Tor on (as yet hypothetical) versions
  15111. of Windows where sizeof(intptr_t) != sizeof(SOCKET). Partial
  15112. fix for bug 4533. Bugfix on 0.2.2.28-beta.
  15113. - Preprocessor directives should not be put inside the arguments
  15114. of a macro. This would break compilation with GCC releases prior
  15115. to version 3.3. We would never recommend such an old GCC version,
  15116. but it is apparently required for binary compatibility on some
  15117. platforms (namely, certain builds of Haiku). Fixes the other part
  15118. of bug 4727; bugfix on 0.2.3.3-alpha. Patch and analysis by Martin
  15119. Hebnes Pedersen.
  15120. o Minor bugfixes (other):
  15121. - Older Linux kernels erroneously respond to strange nmap behavior
  15122. by having accept() return successfully with a zero-length
  15123. socket. When this happens, just close the connection. Previously,
  15124. we would try harder to learn the remote address: but there was
  15125. no such remote address to learn, and our method for trying to
  15126. learn it was incorrect. Fixes bugs 1240, 4745, and 4747. Bugfix
  15127. on 0.1.0.3-rc. Reported and diagnosed by "r1eo".
  15128. - Fix null-pointer access that could occur if TLS allocation failed.
  15129. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un". This was
  15130. erroneously listed as fixed in 0.2.3.9-alpha, but the fix had
  15131. accidentally been reverted.
  15132. - Fix our implementation of crypto_random_hostname() so it can't
  15133. overflow on ridiculously large inputs. (No Tor version has ever
  15134. provided this kind of bad inputs, but let's be correct in depth.)
  15135. Fixes bug 4413; bugfix on 0.2.2.9-alpha. Fix by Stephen Palmateer.
  15136. - Find more places in the code that should have been testing for
  15137. invalid sockets using the SOCKET_OK macro. Required for a fix
  15138. for bug 4533. Bugfix on 0.2.2.28-beta.
  15139. - Fix an assertion failure when, while running with bufferevents, a
  15140. connection finishes connecting after it is marked for close, but
  15141. before it is closed. Fixes bug 4697; bugfix on 0.2.3.1-alpha.
  15142. - test_util_spawn_background_ok() hardcoded the expected value
  15143. for ENOENT to 2. This isn't portable as error numbers are
  15144. platform specific, and particularly the hurd has ENOENT at
  15145. 0x40000002. Construct expected string at runtime, using the correct
  15146. value for ENOENT. Fixes bug 4733; bugfix on 0.2.3.1-alpha.
  15147. - Reject attempts to disable DisableDebuggerAttachment while Tor is
  15148. running. Fixes bug 4650; bugfix on 0.2.3.9-alpha.
  15149. - Use an appropriate-width type for sockets in tor-fw-helper on
  15150. win64. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
  15151. o Feature removal:
  15152. - When sending or relaying a RELAY_EARLY cell, we used to convert
  15153. it to a RELAY cell if the connection was using the v1 link
  15154. protocol. This was a workaround for older versions of Tor, which
  15155. didn't handle RELAY_EARLY cells properly. Now that all supported
  15156. versions can handle RELAY_EARLY cells, and now that we're enforcing
  15157. the "no RELAY_EXTEND commands except in RELAY_EARLY cells" rule,
  15158. remove this workaround. Addresses bug 4786.
  15159. o Code simplifications and refactoring:
  15160. - Use OpenSSL's built-in SSL_state_string_long() instead of our
  15161. own homebrewed ssl_state_to_string() replacement. Patch from
  15162. Emile Snyder. Fixes bug 4653.
  15163. - Use macros to indicate OpenSSL versions, so we don't need to worry
  15164. about accidental hexadecimal bit shifts.
  15165. - Remove some workaround code for OpenSSL 0.9.6 (which is no longer
  15166. supported).
  15167. - Convert more instances of tor_snprintf+tor_strdup into tor_asprintf.
  15168. - Use the smartlist_add_asprintf() alias more consistently.
  15169. - Use a TOR_INVALID_SOCKET macro when initializing a socket to an
  15170. invalid value, rather than just -1.
  15171. - Rename a handful of old identifiers, mostly related to crypto
  15172. structures and crypto functions. By convention, our "create an
  15173. object" functions are called "type_new()", our "free an object"
  15174. functions are called "type_free()", and our types indicate that
  15175. they are types only with a final "_t". But a handful of older
  15176. types and functions broke these rules, with function names like
  15177. "type_create" or "subsystem_op_type", or with type names like
  15178. type_env_t.
  15179. Changes in version 0.2.3.10-alpha - 2011-12-16
  15180. Tor 0.2.3.10-alpha fixes a critical heap-overflow security issue in
  15181. Tor's buffers code. Absolutely everybody should upgrade.
  15182. The bug relied on an incorrect calculation when making data continuous
  15183. in one of our IO buffers, if the first chunk of the buffer was
  15184. misaligned by just the wrong amount. The miscalculation would allow an
  15185. attacker to overflow a piece of heap-allocated memory. To mount this
  15186. attack, the attacker would need to either open a SOCKS connection to
  15187. Tor's SocksPort (usually restricted to localhost), or target a Tor
  15188. instance configured to make its connections through a SOCKS proxy
  15189. (which Tor does not do by default).
  15190. Good security practice requires that all heap-overflow bugs should be
  15191. presumed to be exploitable until proven otherwise, so we are treating
  15192. this as a potential code execution attack. Please upgrade immediately!
  15193. This bug does not affect bufferevents-based builds of Tor. Special
  15194. thanks to "Vektor" for reporting this issue to us!
  15195. This release also contains a few minor bugfixes for issues discovered
  15196. in 0.2.3.9-alpha.
  15197. o Major bugfixes:
  15198. - Fix a heap overflow bug that could occur when trying to pull
  15199. data into the first chunk of a buffer, when that chunk had
  15200. already had some data drained from it. Fixes CVE-2011-2778;
  15201. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  15202. o Minor bugfixes:
  15203. - If we can't attach streams to a rendezvous circuit when we
  15204. finish connecting to a hidden service, clear the rendezvous
  15205. circuit's stream-isolation state and try to attach streams
  15206. again. Previously, we cleared rendezvous circuits' isolation
  15207. state either too early (if they were freshly built) or not at all
  15208. (if they had been built earlier and were cannibalized). Bugfix on
  15209. 0.2.3.3-alpha; fixes bug 4655.
  15210. - Fix compilation of the libnatpmp helper on non-Windows. Bugfix on
  15211. 0.2.3.9-alpha; fixes bug 4691. Reported by Anthony G. Basile.
  15212. - Fix an assertion failure when a relay with accounting enabled
  15213. starts up while dormant. Fixes bug 4702; bugfix on 0.2.3.9-alpha.
  15214. o Minor features:
  15215. - Update to the December 6 2011 Maxmind GeoLite Country database.
  15216. Changes in version 0.2.2.35 - 2011-12-16
  15217. Tor 0.2.2.35 fixes a critical heap-overflow security issue in Tor's
  15218. buffers code. Absolutely everybody should upgrade.
  15219. The bug relied on an incorrect calculation when making data continuous
  15220. in one of our IO buffers, if the first chunk of the buffer was
  15221. misaligned by just the wrong amount. The miscalculation would allow an
  15222. attacker to overflow a piece of heap-allocated memory. To mount this
  15223. attack, the attacker would need to either open a SOCKS connection to
  15224. Tor's SocksPort (usually restricted to localhost), or target a Tor
  15225. instance configured to make its connections through a SOCKS proxy
  15226. (which Tor does not do by default).
  15227. Good security practice requires that all heap-overflow bugs should be
  15228. presumed to be exploitable until proven otherwise, so we are treating
  15229. this as a potential code execution attack. Please upgrade immediately!
  15230. This bug does not affect bufferevents-based builds of Tor. Special
  15231. thanks to "Vektor" for reporting this issue to us!
  15232. Tor 0.2.2.35 also fixes several bugs in previous versions, including
  15233. crash bugs for unusual configurations, and a long-term bug that
  15234. would prevent Tor from starting on Windows machines with draconian
  15235. AV software.
  15236. With this release, we remind everyone that 0.2.0.x has reached its
  15237. formal end-of-life. Those Tor versions have many known flaws, and
  15238. nobody should be using them. You should upgrade -- ideally to the
  15239. 0.2.2.x series. If you're using a Linux or BSD and its packages are
  15240. obsolete, stop using those packages and upgrade anyway.
  15241. The Tor 0.2.1.x series is also approaching its end-of-life: it will no
  15242. longer receive support after some time in early 2012.
  15243. o Major bugfixes:
  15244. - Fix a heap overflow bug that could occur when trying to pull
  15245. data into the first chunk of a buffer, when that chunk had
  15246. already had some data drained from it. Fixes CVE-2011-2778;
  15247. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  15248. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  15249. that it doesn't attempt to allocate a socketpair. This could cause
  15250. some problems on Windows systems with overzealous firewalls. Fix for
  15251. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  15252. 2.0.15-stable.
  15253. - If we mark an OR connection for close based on a cell we process,
  15254. don't process any further cells on it. We already avoid further
  15255. reads on marked-for-close connections, but now we also discard the
  15256. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  15257. which was the first version where we might mark a connection for
  15258. close based on processing a cell on it.
  15259. - Correctly sanity-check that we don't underflow on a memory
  15260. allocation (and then assert) for hidden service introduction
  15261. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  15262. bugfix on 0.2.1.5-alpha.
  15263. - Fix a memory leak when we check whether a hidden service
  15264. descriptor has any usable introduction points left. Fixes bug
  15265. 4424. Bugfix on 0.2.2.25-alpha.
  15266. - Don't crash when we're running as a relay and don't have a GeoIP
  15267. file. Bugfix on 0.2.2.34; fixes bug 4340. This backports a fix
  15268. we've had in the 0.2.3.x branch already.
  15269. - When running as a client, do not print a misleading (and plain
  15270. wrong) log message that we're collecting "directory request"
  15271. statistics: clients don't collect statistics. Also don't create a
  15272. useless (because empty) stats file in the stats/ directory. Fixes
  15273. bug 4353; bugfix on 0.2.2.34.
  15274. o Minor bugfixes:
  15275. - Detect failure to initialize Libevent. This fix provides better
  15276. detection for future instances of bug 4457.
  15277. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  15278. function. This was eating up hideously large amounts of time on some
  15279. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  15280. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  15281. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  15282. Mansour Moufid.
  15283. - Don't warn about unused log_mutex in log.c when building with
  15284. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  15285. 0.1.0.6-rc which introduced --disable-threads.
  15286. - When configuring, starting, or stopping an NT service, stop
  15287. immediately after the service configuration attempt has succeeded
  15288. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  15289. - When sending a NETINFO cell, include the original address
  15290. received for the other side, not its canonical address. Found
  15291. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  15292. - Fix a typo in a hibernation-related log message. Fixes bug 4331;
  15293. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  15294. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  15295. occurred when a client tried to fetch a descriptor for a bridge
  15296. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  15297. - Backport fixes for a pair of compilation warnings on Windows.
  15298. Fixes bug 4521; bugfix on 0.2.2.28-beta and on 0.2.2.29-beta.
  15299. - If we had ever tried to call tor_addr_to_str on an address of
  15300. unknown type, we would have done a strdup on an uninitialized
  15301. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  15302. Reported by "troll_un".
  15303. - Correctly detect and handle transient lookup failures from
  15304. tor_addr_lookup. Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  15305. Reported by "troll_un".
  15306. - Fix null-pointer access that could occur if TLS allocation failed.
  15307. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  15308. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  15309. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  15310. o Minor features:
  15311. - Add two new config options for directory authorities:
  15312. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  15313. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  15314. that is always sufficient to satisfy the bandwidth requirement for
  15315. the Guard flag. Now it will be easier for researchers to simulate
  15316. Tor networks with different values. Resolves ticket 4484.
  15317. - When Tor ignores a hidden service specified in its configuration,
  15318. include the hidden service's directory in the warning message.
  15319. Previously, we would only tell the user that some hidden service
  15320. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  15321. - Update to the December 6 2011 Maxmind GeoLite Country database.
  15322. o Packaging changes:
  15323. - Make it easier to automate expert package builds on Windows,
  15324. by removing an absolute path from makensis.exe command.
  15325. Changes in version 0.2.1.32 - 2011-12-16
  15326. Tor 0.2.1.32 backports important security and privacy fixes for
  15327. oldstable. This release is intended only for package maintainers and
  15328. others who cannot use the 0.2.2 stable series. All others should be
  15329. using Tor 0.2.2.x or newer.
  15330. The Tor 0.2.1.x series will reach formal end-of-life some time in
  15331. early 2012; we will stop releasing patches for it then.
  15332. o Major bugfixes (also included in 0.2.2.x):
  15333. - Correctly sanity-check that we don't underflow on a memory
  15334. allocation (and then assert) for hidden service introduction
  15335. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  15336. bugfix on 0.2.1.5-alpha.
  15337. - Fix a heap overflow bug that could occur when trying to pull
  15338. data into the first chunk of a buffer, when that chunk had
  15339. already had some data drained from it. Fixes CVE-2011-2778;
  15340. bugfix on 0.2.0.16-alpha. Reported by "Vektor".
  15341. o Minor features:
  15342. - Update to the December 6 2011 Maxmind GeoLite Country database.
  15343. Changes in version 0.2.3.9-alpha - 2011-12-08
  15344. Tor 0.2.3.9-alpha introduces initial IPv6 support for bridges, adds
  15345. a "DisableNetwork" security feature that bundles can use to avoid
  15346. touching the network until bridges are configured, moves forward on
  15347. the pluggable transport design, fixes a flaw in the hidden service
  15348. design that unnecessarily prevented clients with wrong clocks from
  15349. reaching hidden services, and fixes a wide variety of other issues.
  15350. o Major features:
  15351. - Clients can now connect to private bridges over IPv6. Bridges
  15352. still need at least one IPv4 address in order to connect to
  15353. other relays. Note that we don't yet handle the case where the
  15354. user has two bridge lines for the same bridge (one IPv4, one
  15355. IPv6). Implements parts of proposal 186.
  15356. - New "DisableNetwork" config option to prevent Tor from launching any
  15357. connections or accepting any connections except on a control port.
  15358. Bundles and controllers can set this option before letting Tor talk
  15359. to the rest of the network, for example to prevent any connections
  15360. to a non-bridge address. Packages like Orbot can also use this
  15361. option to instruct Tor to save power when the network is off.
  15362. - Clients and bridges can now be configured to use a separate
  15363. "transport" proxy. This approach makes the censorship arms race
  15364. easier by allowing bridges to use protocol obfuscation plugins. It
  15365. implements the "managed proxy" part of proposal 180 (ticket 3472).
  15366. - When using OpenSSL 1.0.0 or later, use OpenSSL's counter mode
  15367. implementation. It makes AES_CTR about 7% faster than our old one
  15368. (which was about 10% faster than the one OpenSSL used to provide).
  15369. Resolves ticket 4526.
  15370. - Add a "tor2web mode" for clients that want to connect to hidden
  15371. services non-anonymously (and possibly more quickly). As a safety
  15372. measure to try to keep users from turning this on without knowing
  15373. what they are doing, tor2web mode must be explicitly enabled at
  15374. compile time, and a copy of Tor compiled to run in tor2web mode
  15375. cannot be used as a normal Tor client. Implements feature 2553.
  15376. - Add experimental support for running on Windows with IOCP and no
  15377. kernel-space socket buffers. This feature is controlled by a new
  15378. "UserspaceIOCPBuffers" config option (off by default), which has
  15379. no effect unless Tor has been built with support for bufferevents,
  15380. is running on Windows, and has enabled IOCP. This may, in the long
  15381. run, help solve or mitigate bug 98.
  15382. - Use a more secure consensus parameter voting algorithm. Now at
  15383. least three directory authorities or a majority of them must
  15384. vote on a given parameter before it will be included in the
  15385. consensus. Implements proposal 178.
  15386. o Major bugfixes:
  15387. - Hidden services now ignore the timestamps on INTRODUCE2 cells.
  15388. They used to check that the timestamp was within 30 minutes
  15389. of their system clock, so they could cap the size of their
  15390. replay-detection cache, but that approach unnecessarily refused
  15391. service to clients with wrong clocks. Bugfix on 0.2.1.6-alpha, when
  15392. the v3 intro-point protocol (the first one which sent a timestamp
  15393. field in the INTRODUCE2 cell) was introduced; fixes bug 3460.
  15394. - Only use the EVP interface when AES acceleration is enabled,
  15395. to avoid a 5-7% performance regression. Resolves issue 4525;
  15396. bugfix on 0.2.3.8-alpha.
  15397. o Privacy/anonymity features (bridge detection):
  15398. - Make bridge SSL certificates a bit more stealthy by using random
  15399. serial numbers, in the same fashion as OpenSSL when generating
  15400. self-signed certificates. Implements ticket 4584.
  15401. - Introduce a new config option "DynamicDHGroups", enabled by
  15402. default, which provides each bridge with a unique prime DH modulus
  15403. to be used during SSL handshakes. This option attempts to help
  15404. against censors who might use the Apache DH modulus as a static
  15405. identifier for bridges. Addresses ticket 4548.
  15406. o Minor features (new/different config options):
  15407. - New configuration option "DisableDebuggerAttachment" (on by default)
  15408. to prevent basic debugging attachment attempts by other processes.
  15409. Supports Mac OS X and Gnu/Linux. Resolves ticket 3313.
  15410. - Allow MapAddress directives to specify matches against super-domains,
  15411. as in "MapAddress *.torproject.org *.torproject.org.torserver.exit".
  15412. Implements issue 933.
  15413. - Slightly change behavior of "list" options (that is, config
  15414. options that can appear more than once) when they appear both in
  15415. torrc and on the command line. Previously, the command-line options
  15416. would be appended to the ones from torrc. Now, the command-line
  15417. options override the torrc options entirely. This new behavior
  15418. allows the user to override list options (like exit policies and
  15419. ports to listen on) from the command line, rather than simply
  15420. appending to the list.
  15421. - You can get the old (appending) command-line behavior for "list"
  15422. options by prefixing the option name with a "+".
  15423. - You can remove all the values for a "list" option from the command
  15424. line without adding any new ones by prefixing the option name
  15425. with a "/".
  15426. - Add experimental support for a "defaults" torrc file to be parsed
  15427. before the regular torrc. Torrc options override the defaults file's
  15428. options in the same way that the command line overrides the torrc.
  15429. The SAVECONF controller command saves only those options which
  15430. differ between the current configuration and the defaults file. HUP
  15431. reloads both files. (Note: This is an experimental feature; its
  15432. behavior will probably be refined in future 0.2.3.x-alpha versions
  15433. to better meet packagers' needs.) Implements task 4552.
  15434. o Minor features:
  15435. - Try to make the introductory warning message that Tor prints on
  15436. startup more useful for actually finding help and information.
  15437. Resolves ticket 2474.
  15438. - Running "make version" now displays the version of Tor that
  15439. we're about to build. Idea from katmagic; resolves issue 4400.
  15440. - Expire old or over-used hidden service introduction points.
  15441. Required by fix for bug 3460.
  15442. - Move the replay-detection cache for the RSA-encrypted parts of
  15443. INTRODUCE2 cells to the introduction point data structures.
  15444. Previously, we would use one replay-detection cache per hidden
  15445. service. Required by fix for bug 3460.
  15446. - Reduce the lifetime of elements of hidden services' Diffie-Hellman
  15447. public key replay-detection cache from 60 minutes to 5 minutes. This
  15448. replay-detection cache is now used only to detect multiple
  15449. INTRODUCE2 cells specifying the same rendezvous point, so we can
  15450. avoid launching multiple simultaneous attempts to connect to it.
  15451. o Minor bugfixes (on Tor 0.2.2.x and earlier):
  15452. - Resolve an integer overflow bug in smartlist_ensure_capacity().
  15453. Fixes bug 4230; bugfix on Tor 0.1.0.1-rc. Based on a patch by
  15454. Mansour Moufid.
  15455. - Fix a minor formatting issue in one of tor-gencert's error messages.
  15456. Fixes bug 4574.
  15457. - Prevent a false positive from the check-spaces script, by disabling
  15458. the "whitespace between function name and (" check for functions
  15459. named 'op()'.
  15460. - Fix a log message suggesting that people contact a non-existent
  15461. email address. Fixes bug 3448.
  15462. - Fix null-pointer access that could occur if TLS allocation failed.
  15463. Fixes bug 4531; bugfix on 0.2.0.20-rc. Found by "troll_un".
  15464. - Report a real bootstrap problem to the controller on router
  15465. identity mismatch. Previously we just said "foo", which probably
  15466. made a lot of sense at the time. Fixes bug 4169; bugfix on
  15467. 0.2.1.1-alpha.
  15468. - If we had ever tried to call tor_addr_to_str() on an address of
  15469. unknown type, we would have done a strdup() on an uninitialized
  15470. buffer. Now we won't. Fixes bug 4529; bugfix on 0.2.1.3-alpha.
  15471. Reported by "troll_un".
  15472. - Correctly detect and handle transient lookup failures from
  15473. tor_addr_lookup(). Fixes bug 4530; bugfix on 0.2.1.5-alpha.
  15474. Reported by "troll_un".
  15475. - Use tor_socket_t type for listener argument to accept(). Fixes bug
  15476. 4535; bugfix on 0.2.2.28-beta. Found by "troll_un".
  15477. - Initialize conn->addr to a valid state in spawn_cpuworker(). Fixes
  15478. bug 4532; found by "troll_un".
  15479. o Minor bugfixes (on Tor 0.2.3.x):
  15480. - Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
  15481. fixes bug 4554.
  15482. - Don't send two ESTABLISH_RENDEZVOUS cells when opening a new
  15483. circuit for use as a hidden service client's rendezvous point.
  15484. Fixes bugs 4641 and 4171; bugfix on 0.2.3.3-alpha. Diagnosed
  15485. with help from wanoskarnet.
  15486. - Restore behavior of overriding SocksPort, ORPort, and similar
  15487. options from the command line. Bugfix on 0.2.3.3-alpha.
  15488. o Build fixes:
  15489. - Properly handle the case where the build-tree is not the same
  15490. as the source tree when generating src/common/common_sha1.i,
  15491. src/or/micro-revision.i, and src/or/or_sha1.i. Fixes bug 3953;
  15492. bugfix on 0.2.0.1-alpha.
  15493. o Code simplifications, cleanups, and refactorings:
  15494. - Remove the pure attribute from all functions that used it
  15495. previously. In many cases we assigned it incorrectly, because the
  15496. functions might assert or call impure functions, and we don't have
  15497. evidence that keeping the pure attribute is worthwhile. Implements
  15498. changes suggested in ticket 4421.
  15499. - Remove some dead code spotted by coverity. Fixes cid 432.
  15500. Bugfix on 0.2.3.1-alpha, closes bug 4637.
  15501. Changes in version 0.2.3.8-alpha - 2011-11-22
  15502. Tor 0.2.3.8-alpha fixes some crash and assert bugs, including a
  15503. socketpair-related bug that has been bothering Windows users. It adds
  15504. support to serve microdescriptors to controllers, so Vidalia's network
  15505. map can resume listing relays (once Vidalia implements its side),
  15506. and adds better support for hardware AES acceleration. Finally, it
  15507. starts the process of adjusting the bandwidth cutoff for getting the
  15508. "Fast" flag from 20KB to (currently) 32KB -- preliminary results show
  15509. that tiny relays harm performance more than they help network capacity.
  15510. o Major bugfixes:
  15511. - Initialize Libevent with the EVENT_BASE_FLAG_NOLOCK flag enabled, so
  15512. that it doesn't attempt to allocate a socketpair. This could cause
  15513. some problems on Windows systems with overzealous firewalls. Fix for
  15514. bug 4457; workaround for Libevent versions 2.0.1-alpha through
  15515. 2.0.15-stable.
  15516. - Correctly sanity-check that we don't underflow on a memory
  15517. allocation (and then assert) for hidden service introduction
  15518. point decryption. Bug discovered by Dan Rosenberg. Fixes bug 4410;
  15519. bugfix on 0.2.1.5-alpha.
  15520. - Remove the artificially low cutoff of 20KB to guarantee the Fast
  15521. flag. In the past few years the average relay speed has picked
  15522. up, and while the "top 7/8 of the network get the Fast flag" and
  15523. "all relays with 20KB or more of capacity get the Fast flag" rules
  15524. used to have the same result, now the top 7/8 of the network has
  15525. a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
  15526. - Fix a rare assertion failure when checking whether a v0 hidden
  15527. service descriptor has any usable introduction points left, and
  15528. we don't have enough information to build a circuit to the first
  15529. intro point named in the descriptor. The HS client code in
  15530. 0.2.3.x no longer uses v0 HS descriptors, but this assertion can
  15531. trigger on (and crash) v0 HS authorities. Fixes bug 4411.
  15532. Bugfix on 0.2.3.1-alpha; diagnosed by frosty_un.
  15533. - Make bridge authorities not crash when they are asked for their own
  15534. descriptor. Bugfix on 0.2.3.7-alpha, reported by Lucky Green.
  15535. - When running as a client, do not print a misleading (and plain
  15536. wrong) log message that we're collecting "directory request"
  15537. statistics: clients don't collect statistics. Also don't create a
  15538. useless (because empty) stats file in the stats/ directory. Fixes
  15539. bug 4353; bugfix on 0.2.2.34 and 0.2.3.7-alpha.
  15540. o Major features:
  15541. - Allow Tor controllers like Vidalia to obtain the microdescriptor
  15542. for a relay by identity digest or nickname. Previously,
  15543. microdescriptors were only available by their own digests, so a
  15544. controller would have to ask for and parse the whole microdescriptor
  15545. consensus in order to look up a single relay's microdesc. Fixes
  15546. bug 3832; bugfix on 0.2.3.1-alpha.
  15547. - Use OpenSSL's EVP interface for AES encryption, so that all AES
  15548. operations can use hardware acceleration (if present). Resolves
  15549. ticket 4442.
  15550. o Minor bugfixes (on 0.2.2.x and earlier):
  15551. - Detect failure to initialize Libevent. This fix provides better
  15552. detection for future instances of bug 4457.
  15553. - Avoid frequent calls to the fairly expensive cull_wedged_cpuworkers
  15554. function. This was eating up hideously large amounts of time on some
  15555. busy servers. Fixes bug 4518; bugfix on 0.0.9.8.
  15556. - Don't warn about unused log_mutex in log.c when building with
  15557. --disable-threads using a recent GCC. Fixes bug 4437; bugfix on
  15558. 0.1.0.6-rc which introduced --disable-threads.
  15559. - Allow manual 'authenticate' commands to the controller interface
  15560. from netcat (nc) as well as telnet. We were rejecting them because
  15561. they didn't come with the expected whitespace at the end of the
  15562. command. Bugfix on 0.1.1.1-alpha; fixes bug 2893.
  15563. - Fix some (not actually triggerable) buffer size checks in usage of
  15564. tor_inet_ntop. Fixes bug 4434; bugfix on Tor 0.2.0.1-alpha. Patch
  15565. by Anders Sundman.
  15566. - Fix parsing of some corner-cases with tor_inet_pton(). Fixes
  15567. bug 4515; bugfix on 0.2.0.1-alpha; fix by Anders Sundman.
  15568. - When configuring, starting, or stopping an NT service, stop
  15569. immediately after the service configuration attempt has succeeded
  15570. or failed. Fixes bug 3963; bugfix on 0.2.0.7-alpha.
  15571. - When sending a NETINFO cell, include the original address
  15572. received for the other side, not its canonical address. Found
  15573. by "troll_un"; fixes bug 4349; bugfix on 0.2.0.10-alpha.
  15574. - Rename the bench_{aes,dmap} functions to test_*, so that tinytest
  15575. can pick them up when the tests aren't disabled. Bugfix on
  15576. 0.2.2.4-alpha which introduced tinytest.
  15577. - Fix a memory leak when we check whether a hidden service
  15578. descriptor has any usable introduction points left. Fixes bug
  15579. 4424. Bugfix on 0.2.2.25-alpha.
  15580. - Fix a memory leak in launch_direct_bridge_descriptor_fetch() that
  15581. occurred when a client tried to fetch a descriptor for a bridge
  15582. in ExcludeNodes. Fixes bug 4383; bugfix on 0.2.2.25-alpha.
  15583. o Minor bugfixes (on 0.2.3.x):
  15584. - Make util unit tests build correctly with MSVC. Bugfix on
  15585. 0.2.3.3-alpha. Patch by Gisle Vanem.
  15586. - Successfully detect AUTH_CHALLENGE cells with no recognized
  15587. authentication type listed. Fixes bug 4367; bugfix on 0.2.3.6-alpha.
  15588. Found by frosty_un.
  15589. - If a relay receives an AUTH_CHALLENGE cell it can't answer,
  15590. it should still send a NETINFO cell to allow the connection to
  15591. become open. Fixes bug 4368; fix on 0.2.3.6-alpha; bug found by
  15592. "frosty".
  15593. - Log less loudly when we get an invalid authentication certificate
  15594. from a source other than a directory authority: it's not unusual
  15595. to see invalid certs because of clock skew. Fixes bug 4370; bugfix
  15596. on 0.2.3.6-alpha.
  15597. - Tolerate servers with more clock skew in their authentication
  15598. certificates than previously. Fixes bug 4371; bugfix on
  15599. 0.2.3.6-alpha.
  15600. - Fix a couple of compile warnings on Windows. Fixes bug 4469; bugfix
  15601. on 0.2.3.4-alpha and 0.2.3.6-alpha.
  15602. o Minor features:
  15603. - Add two new config options for directory authorities:
  15604. AuthDirFastGuarantee sets a bandwidth threshold for guaranteeing the
  15605. Fast flag, and AuthDirGuardBWGuarantee sets a bandwidth threshold
  15606. that is always sufficient to satisfy the bandwidth requirement for
  15607. the Guard flag. Now it will be easier for researchers to simulate
  15608. Tor networks with different values. Resolves ticket 4484.
  15609. - When Tor ignores a hidden service specified in its configuration,
  15610. include the hidden service's directory in the warning message.
  15611. Previously, we would only tell the user that some hidden service
  15612. was ignored. Bugfix on 0.0.6; fixes bug 4426.
  15613. - When we fail to initialize Libevent, retry with IOCP disabled so we
  15614. don't need to turn on multi-threading support in Libevent, which in
  15615. turn requires a working socketpair(). This is a workaround for bug
  15616. 4457, which affects Libevent versions from 2.0.1-alpha through
  15617. 2.0.15-stable.
  15618. - Detect when we try to build on a platform that doesn't define
  15619. AF_UNSPEC to 0. We don't work there, so refuse to compile.
  15620. - Update to the November 1 2011 Maxmind GeoLite Country database.
  15621. o Packaging changes:
  15622. - Make it easier to automate expert package builds on Windows,
  15623. by removing an absolute path from makensis.exe command.
  15624. o Code simplifications and refactoring:
  15625. - Remove some redundant #include directives throughout the code.
  15626. Patch from Andrea Gelmini.
  15627. - Unconditionally use OpenSSL's AES implementation instead of our
  15628. old built-in one. OpenSSL's AES has been better for a while, and
  15629. relatively few servers should still be on any version of OpenSSL
  15630. that doesn't have good optimized assembly AES.
  15631. - Use the name "CERTS" consistently to refer to the new cell type;
  15632. we were calling it CERT in some places and CERTS in others.
  15633. o Testing:
  15634. - Numerous new unit tests for functions in util.c and address.c by
  15635. Anders Sundman.
  15636. - The long-disabled benchmark tests are now split into their own
  15637. ./src/test/bench binary.
  15638. - The benchmark tests can now use more accurate timers than
  15639. gettimeofday() when such timers are available.
  15640. Changes in version 0.2.3.7-alpha - 2011-10-30
  15641. Tor 0.2.3.7-alpha fixes a crash bug in 0.2.3.6-alpha introduced by
  15642. the new v3 handshake. It also resolves yet another bridge address
  15643. enumeration issue.
  15644. o Major bugfixes:
  15645. - If we mark an OR connection for close based on a cell we process,
  15646. don't process any further cells on it. We already avoid further
  15647. reads on marked-for-close connections, but now we also discard the
  15648. cells we'd already read. Fixes bug 4299; bugfix on 0.2.0.10-alpha,
  15649. which was the first version where we might mark a connection for
  15650. close based on processing a cell on it.
  15651. - Fix a double-free bug that would occur when we received an invalid
  15652. certificate in a CERT cell in the new v3 handshake. Fixes bug 4343;
  15653. bugfix on 0.2.3.6-alpha.
  15654. - Bridges no longer include their address in NETINFO cells on outgoing
  15655. OR connections, to allow them to blend in better with clients.
  15656. Removes another avenue for enumerating bridges. Reported by
  15657. "troll_un". Fixes bug 4348; bugfix on 0.2.0.10-alpha, when NETINFO
  15658. cells were introduced.
  15659. o Trivial fixes:
  15660. - Fixed a typo in a hibernation-related log message. Fixes bug 4331;
  15661. bugfix on 0.2.2.23-alpha; found by "tmpname0901".
  15662. Changes in version 0.2.3.6-alpha - 2011-10-26
  15663. Tor 0.2.3.6-alpha includes the fix from 0.2.2.34 for a critical
  15664. anonymity vulnerability where an attacker can deanonymize Tor
  15665. users. Everybody should upgrade.
  15666. This release also features support for a new v3 connection handshake
  15667. protocol, and fixes to make hidden service connections more robust.
  15668. o Major features:
  15669. - Implement a new handshake protocol (v3) for authenticating Tors to
  15670. each other over TLS. It should be more resistant to fingerprinting
  15671. than previous protocols, and should require less TLS hacking for
  15672. future Tor implementations. Implements proposal 176.
  15673. - Allow variable-length padding cells to disguise the length of
  15674. Tor's TLS records. Implements part of proposal 184.
  15675. o Privacy/anonymity fixes (clients):
  15676. - Clients and bridges no longer send TLS certificate chains on
  15677. outgoing OR connections. Previously, each client or bridge would
  15678. use the same cert chain for all outgoing OR connections until
  15679. its IP address changes, which allowed any relay that the client
  15680. or bridge contacted to determine which entry guards it is using.
  15681. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  15682. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  15683. no longer considers that connection as suitable for satisfying a
  15684. circuit EXTEND request. Now relays can protect clients from the
  15685. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  15686. - Directory authorities no longer assign the Guard flag to relays
  15687. that haven't upgraded to the above "refuse EXTEND requests
  15688. to client connections" fix. Now directory authorities can
  15689. protect clients from the CVE-2011-2768 issue even if neither
  15690. the clients nor the relays have upgraded yet. There's a new
  15691. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  15692. to let us transition smoothly, else tomorrow there would be no
  15693. guard relays.
  15694. o Major bugfixes (hidden services):
  15695. - Improve hidden service robustness: when an attempt to connect to
  15696. a hidden service ends, be willing to refetch its hidden service
  15697. descriptors from each of the HSDir relays responsible for them
  15698. immediately. Previously, we would not consider refetching the
  15699. service's descriptors from each HSDir for 15 minutes after the last
  15700. fetch, which was inconvenient if the hidden service was not running
  15701. during the first attempt. Bugfix on 0.2.0.18-alpha; fixes bug 3335.
  15702. - When one of a hidden service's introduction points appears to be
  15703. unreachable, stop trying it. Previously, we would keep trying
  15704. to build circuits to the introduction point until we lost the
  15705. descriptor, usually because the user gave up and restarted Tor.
  15706. Partly fixes bug 3825.
  15707. - Don't launch a useless circuit after failing to use one of a
  15708. hidden service's introduction points. Previously, we would
  15709. launch a new introduction circuit, but not set the hidden service
  15710. which that circuit was intended to connect to, so it would never
  15711. actually be used. A different piece of code would then create a
  15712. new introduction circuit correctly. Bug reported by katmagic and
  15713. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  15714. o Major bugfixes (other):
  15715. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  15716. that they initiated. Relays could distinguish incoming bridge
  15717. connections from client connections, creating another avenue for
  15718. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  15719. Found by "frosty_un".
  15720. - Don't update the AccountingSoftLimitHitAt state file entry whenever
  15721. tor gets started. This prevents a wrong average bandwidth
  15722. estimate, which would cause relays to always start a new accounting
  15723. interval at the earliest possible moment. Fixes bug 2003; bugfix
  15724. on 0.2.2.7-alpha. Reported by BryonEldridge, who also helped
  15725. immensely in tracking this bug down.
  15726. - Fix a crash bug when changing node restrictions while a DNS lookup
  15727. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  15728. by "Tey'".
  15729. o Minor bugfixes (on 0.2.2.x and earlier):
  15730. - When a hidden service turns an extra service-side introduction
  15731. circuit into a general-purpose circuit, free the rend_data and
  15732. intro_key fields first, so we won't leak memory if the circuit
  15733. is cannibalized for use as another service-side introduction
  15734. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  15735. - Rephrase the log message emitted if the TestSocks check is
  15736. successful. Patch from Fabian Keil; fixes bug 4094.
  15737. - Bridges now skip DNS self-tests, to act a little more stealthily.
  15738. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  15739. bridges. Patch by "warms0x".
  15740. - Remove a confusing dollar sign from the example fingerprint in the
  15741. man page, and also make the example fingerprint a valid one. Fixes
  15742. bug 4309; bugfix on 0.2.1.3-alpha.
  15743. - Fix internal bug-checking logic that was supposed to catch
  15744. failures in digest generation so that it will fail more robustly
  15745. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  15746. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  15747. - Report any failure in init_keys() calls launched because our
  15748. IP address has changed. Spotted by Coverity Scan. Bugfix on
  15749. 0.1.1.4-alpha; fixes CID 484.
  15750. o Minor bugfixes (on 0.2.3.x):
  15751. - Fix a bug in configure.in that kept it from building a configure
  15752. script with autoconf versions earlier than 2.61. Fixes bug 2430;
  15753. bugfix on 0.2.3.1-alpha.
  15754. - Don't warn users that they are exposing a client port to the
  15755. Internet if they have specified an RFC1918 address. Previously,
  15756. we would warn if the user had specified any non-loopback
  15757. address. Bugfix on 0.2.3.3-alpha. Fixes bug 4018; reported by Tas.
  15758. - Fix memory leaks in the failing cases of the new SocksPort and
  15759. ControlPort code. Found by Coverity Scan. Bugfix on 0.2.3.3-alpha;
  15760. fixes coverity CIDs 485, 486, and 487.
  15761. o Minor features:
  15762. - When a hidden service's introduction point times out, consider
  15763. trying it again during the next attempt to connect to the
  15764. HS. Previously, we would not try it again unless a newly fetched
  15765. descriptor contained it. Required by fixes for bugs 1297 and 3825.
  15766. - The next version of Windows will be called Windows 8, and it has
  15767. a major version of 6, minor version of 2. Correctly identify that
  15768. version instead of calling it "Very recent version". Resolves
  15769. ticket 4153; reported by funkstar.
  15770. - The Bridge Authority now writes statistics on how many bridge
  15771. descriptors it gave out in total, and how many unique descriptors
  15772. it gave out. It also lists how often the most and least commonly
  15773. fetched descriptors were given out, as well as the median and
  15774. 25th/75th percentile. Implements tickets 4200 and 4294.
  15775. - Update to the October 4 2011 Maxmind GeoLite Country database.
  15776. o Code simplifications and refactoring:
  15777. - Remove some old code to remember statistics about which descriptors
  15778. we've served as a directory mirror. The feature wasn't used and
  15779. is outdated now that microdescriptors are around.
  15780. - Rename Tor functions that turn strings into addresses, so that
  15781. "parse" indicates that no hostname resolution occurs, and
  15782. "lookup" indicates that hostname resolution may occur. This
  15783. should help prevent mistakes in the future. Fixes bug 3512.
  15784. Changes in version 0.2.2.34 - 2011-10-26
  15785. Tor 0.2.2.34 fixes a critical anonymity vulnerability where an attacker
  15786. can deanonymize Tor users. Everybody should upgrade.
  15787. The attack relies on four components: 1) Clients reuse their TLS cert
  15788. when talking to different relays, so relays can recognize a user by
  15789. the identity key in her cert. 2) An attacker who knows the client's
  15790. identity key can probe each guard relay to see if that identity key
  15791. is connected to that guard relay right now. 3) A variety of active
  15792. attacks in the literature (starting from "Low-Cost Traffic Analysis
  15793. of Tor" by Murdoch and Danezis in 2005) allow a malicious website to
  15794. discover the guard relays that a Tor user visiting the website is using.
  15795. 4) Clients typically pick three guards at random, so the set of guards
  15796. for a given user could well be a unique fingerprint for her. This
  15797. release fixes components #1 and #2, which is enough to block the attack;
  15798. the other two remain as open research problems. Special thanks to
  15799. "frosty_un" for reporting the issue to us!
  15800. Clients should upgrade so they are no longer recognizable by the TLS
  15801. certs they present. Relays should upgrade so they no longer allow a
  15802. remote attacker to probe them to test whether unpatched clients are
  15803. currently connected to them.
  15804. This release also fixes several vulnerabilities that allow an attacker
  15805. to enumerate bridge relays. Some bridge enumeration attacks still
  15806. remain; see for example proposal 188.
  15807. o Privacy/anonymity fixes (clients):
  15808. - Clients and bridges no longer send TLS certificate chains on
  15809. outgoing OR connections. Previously, each client or bridge would
  15810. use the same cert chain for all outgoing OR connections until
  15811. its IP address changes, which allowed any relay that the client
  15812. or bridge contacted to determine which entry guards it is using.
  15813. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  15814. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  15815. no longer considers that connection as suitable for satisfying a
  15816. circuit EXTEND request. Now relays can protect clients from the
  15817. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  15818. - Directory authorities no longer assign the Guard flag to relays
  15819. that haven't upgraded to the above "refuse EXTEND requests
  15820. to client connections" fix. Now directory authorities can
  15821. protect clients from the CVE-2011-2768 issue even if neither
  15822. the clients nor the relays have upgraded yet. There's a new
  15823. "GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays" config option
  15824. to let us transition smoothly, else tomorrow there would be no
  15825. guard relays.
  15826. o Privacy/anonymity fixes (bridge enumeration):
  15827. - Bridge relays now do their directory fetches inside Tor TLS
  15828. connections, like all the other clients do, rather than connecting
  15829. directly to the DirPort like public relays do. Removes another
  15830. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  15831. - Bridges relays now build circuits for themselves in a more similar
  15832. way to how clients build them. Removes another avenue for
  15833. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  15834. when bridges were introduced.
  15835. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  15836. that they initiated. Relays could distinguish incoming bridge
  15837. connections from client connections, creating another avenue for
  15838. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  15839. Found by "frosty_un".
  15840. o Major bugfixes:
  15841. - Fix a crash bug when changing node restrictions while a DNS lookup
  15842. is in-progress. Fixes bug 4259; bugfix on 0.2.2.25-alpha. Bugfix
  15843. by "Tey'".
  15844. - Don't launch a useless circuit after failing to use one of a
  15845. hidden service's introduction points. Previously, we would
  15846. launch a new introduction circuit, but not set the hidden service
  15847. which that circuit was intended to connect to, so it would never
  15848. actually be used. A different piece of code would then create a
  15849. new introduction circuit correctly. Bug reported by katmagic and
  15850. found by Sebastian Hahn. Bugfix on 0.2.1.13-alpha; fixes bug 4212.
  15851. o Minor bugfixes:
  15852. - Change an integer overflow check in the OpenBSD_Malloc code so
  15853. that GCC is less likely to eliminate it as impossible. Patch
  15854. from Mansour Moufid. Fixes bug 4059.
  15855. - When a hidden service turns an extra service-side introduction
  15856. circuit into a general-purpose circuit, free the rend_data and
  15857. intro_key fields first, so we won't leak memory if the circuit
  15858. is cannibalized for use as another service-side introduction
  15859. circuit. Bugfix on 0.2.1.7-alpha; fixes bug 4251.
  15860. - Bridges now skip DNS self-tests, to act a little more stealthily.
  15861. Fixes bug 4201; bugfix on 0.2.0.3-alpha, which first introduced
  15862. bridges. Patch by "warms0x".
  15863. - Fix internal bug-checking logic that was supposed to catch
  15864. failures in digest generation so that it will fail more robustly
  15865. if we ask for a nonexistent algorithm. Found by Coverity Scan.
  15866. Bugfix on 0.2.2.1-alpha; fixes Coverity CID 479.
  15867. - Report any failure in init_keys() calls launched because our
  15868. IP address has changed. Spotted by Coverity Scan. Bugfix on
  15869. 0.1.1.4-alpha; fixes CID 484.
  15870. o Minor bugfixes (log messages and documentation):
  15871. - Remove a confusing dollar sign from the example fingerprint in the
  15872. man page, and also make the example fingerprint a valid one. Fixes
  15873. bug 4309; bugfix on 0.2.1.3-alpha.
  15874. - The next version of Windows will be called Windows 8, and it has
  15875. a major version of 6, minor version of 2. Correctly identify that
  15876. version instead of calling it "Very recent version". Resolves
  15877. ticket 4153; reported by funkstar.
  15878. - Downgrade log messages about circuit timeout calibration from
  15879. "notice" to "info": they don't require or suggest any human
  15880. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  15881. bugfix on 0.2.2.14-alpha.
  15882. o Minor features:
  15883. - Turn on directory request statistics by default and include them in
  15884. extra-info descriptors. Don't break if we have no GeoIP database.
  15885. Backported from 0.2.3.1-alpha; implements ticket 3951.
  15886. - Update to the October 4 2011 Maxmind GeoLite Country database.
  15887. Changes in version 0.2.1.31 - 2011-10-26
  15888. Tor 0.2.1.31 backports important security and privacy fixes for
  15889. oldstable. This release is intended only for package maintainers and
  15890. others who cannot use the 0.2.2 stable series. All others should be
  15891. using Tor 0.2.2.x or newer.
  15892. o Security fixes (also included in 0.2.2.x):
  15893. - Replace all potentially sensitive memory comparison operations
  15894. with versions whose runtime does not depend on the data being
  15895. compared. This will help resist a class of attacks where an
  15896. adversary can use variations in timing information to learn
  15897. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  15898. implementation by Robert Ransom based partially on code by DJB.)
  15899. - Fix an assert in parsing router descriptors containing IPv6
  15900. addresses. This one took down the directory authorities when
  15901. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  15902. o Privacy/anonymity fixes (also included in 0.2.2.x):
  15903. - Clients and bridges no longer send TLS certificate chains on
  15904. outgoing OR connections. Previously, each client or bridge would
  15905. use the same cert chain for all outgoing OR connections until
  15906. its IP address changes, which allowed any relay that the client
  15907. or bridge contacted to determine which entry guards it is using.
  15908. Fixes CVE-2011-2768. Bugfix on 0.0.9pre5; found by "frosty_un".
  15909. - If a relay receives a CREATE_FAST cell on a TLS connection, it
  15910. no longer considers that connection as suitable for satisfying a
  15911. circuit EXTEND request. Now relays can protect clients from the
  15912. CVE-2011-2768 issue even if the clients haven't upgraded yet.
  15913. - Bridges now refuse CREATE or CREATE_FAST cells on OR connections
  15914. that they initiated. Relays could distinguish incoming bridge
  15915. connections from client connections, creating another avenue for
  15916. enumerating bridges. Fixes CVE-2011-2769. Bugfix on 0.2.0.3-alpha.
  15917. Found by "frosty_un".
  15918. - When receiving a hidden service descriptor, check that it is for
  15919. the hidden service we wanted. Previously, Tor would store any
  15920. hidden service descriptors that a directory gave it, whether it
  15921. wanted them or not. This wouldn't have let an attacker impersonate
  15922. a hidden service, but it did let directories pre-seed a client
  15923. with descriptors that it didn't want. Bugfix on 0.0.6.
  15924. - Avoid linkability based on cached hidden service descriptors: forget
  15925. all hidden service descriptors cached as a client when processing a
  15926. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  15927. - Make the bridge directory authority refuse to answer directory
  15928. requests for "all" descriptors. It used to include bridge
  15929. descriptors in its answer, which was a major information leak.
  15930. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  15931. - Don't attach new streams to old rendezvous circuits after SIGNAL
  15932. NEWNYM. Previously, we would keep using an existing rendezvous
  15933. circuit if it remained open (i.e. if it were kept open by a
  15934. long-lived stream, or if a new stream were attached to it before
  15935. Tor could notice that it was old and no longer in use). Bugfix on
  15936. 0.1.1.15-rc; fixes bug 3375.
  15937. o Minor bugfixes (also included in 0.2.2.x):
  15938. - When we restart our relay, we might get a successful connection
  15939. from the outside before we've started our reachability tests,
  15940. triggering a warning: "ORPort found reachable, but I have no
  15941. routerinfo yet. Failing to inform controller of success." This
  15942. bug was harmless unless Tor is running under a controller
  15943. like Vidalia, in which case the controller would never get a
  15944. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  15945. fixes bug 1172.
  15946. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  15947. enabled. Fixes bug 1526.
  15948. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  15949. anything since 0.2.1.16-rc.
  15950. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  15951. None of the cases where we did this before were wrong, but by making
  15952. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  15953. - Fix a rare crash bug that could occur when a client was configured
  15954. with a large number of bridges. Fixes bug 2629; bugfix on
  15955. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  15956. - Correct the warning displayed when a rendezvous descriptor exceeds
  15957. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  15958. John Brooks.
  15959. - Fix an uncommon assertion failure when running with DNSPort under
  15960. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  15961. - When warning about missing zlib development packages during compile,
  15962. give the correct package names. Bugfix on 0.2.0.1-alpha.
  15963. - Require that introduction point keys and onion keys have public
  15964. exponent 65537. Bugfix on 0.2.0.10-alpha.
  15965. - Do not crash when our configuration file becomes unreadable, for
  15966. example due to a permissions change, between when we start up
  15967. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  15968. on 0.0.9pre6.
  15969. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  15970. Fixes bug 3208.
  15971. - Always NUL-terminate the sun_path field of a sockaddr_un before
  15972. passing it to the kernel. (Not a security issue: kernels are
  15973. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  15974. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  15975. - Don't stack-allocate the list of supplementary GIDs when we're
  15976. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  15977. could take up to 256K, which is way too much stack. Found by
  15978. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  15979. o Minor bugfixes (only in 0.2.1.x):
  15980. - Resume using micro-version numbers in 0.2.1.x: our Debian packages
  15981. rely on them. Bugfix on 0.2.1.30.
  15982. - Use git revisions instead of svn revisions when generating our
  15983. micro-version numbers. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  15984. o Minor features (also included in 0.2.2.x):
  15985. - Adjust the expiration time on our SSL session certificates to
  15986. better match SSL certs seen in the wild. Resolves ticket 4014.
  15987. - Allow nameservers with IPv6 address. Resolves bug 2574.
  15988. - Update to the October 4 2011 Maxmind GeoLite Country database.
  15989. Changes in version 0.2.3.5-alpha - 2011-09-28
  15990. Tor 0.2.3.5-alpha fixes two bugs that make it possible to enumerate
  15991. bridge relays; fixes an assertion error that many users started hitting
  15992. today; and adds the ability to refill token buckets more often than
  15993. once per second, allowing significant performance improvements.
  15994. o Security fixes:
  15995. - Bridge relays now do their directory fetches inside Tor TLS
  15996. connections, like all the other clients do, rather than connecting
  15997. directly to the DirPort like public relays do. Removes another
  15998. avenue for enumerating bridges. Fixes bug 4115; bugfix on 0.2.0.35.
  15999. - Bridges relays now build circuits for themselves in a more similar
  16000. way to how clients build them. Removes another avenue for
  16001. enumerating bridges. Fixes bug 4124; bugfix on 0.2.0.3-alpha,
  16002. when bridges were introduced.
  16003. o Major bugfixes:
  16004. - Fix an "Assertion md->held_by_node == 1 failed" error that could
  16005. occur when the same microdescriptor was referenced by two node_t
  16006. objects at once. Fix for bug 4118; bugfix on Tor 0.2.3.1-alpha.
  16007. o Major features (networking):
  16008. - Add a new TokenBucketRefillInterval option to refill token buckets
  16009. more frequently than once per second. This should improve network
  16010. performance, alleviate queueing problems, and make traffic less
  16011. bursty. Implements proposal 183; closes ticket 3630. Design by
  16012. Florian Tschorsch and Björn Scheuermann; implementation by
  16013. Florian Tschorsch.
  16014. o Minor bugfixes:
  16015. - Change an integer overflow check in the OpenBSD_Malloc code so
  16016. that GCC is less likely to eliminate it as impossible. Patch
  16017. from Mansour Moufid. Fixes bug 4059.
  16018. o Minor bugfixes (usability):
  16019. - Downgrade log messages about circuit timeout calibration from
  16020. "notice" to "info": they don't require or suggest any human
  16021. intervention. Patch from Tom Lowenthal. Fixes bug 4063;
  16022. bugfix on 0.2.2.14-alpha.
  16023. o Minor features (diagnostics):
  16024. - When the system call to create a listener socket fails, log the
  16025. error message explaining why. This may help diagnose bug 4027.
  16026. Changes in version 0.2.3.4-alpha - 2011-09-13
  16027. Tor 0.2.3.4-alpha includes the fixes from 0.2.2.33, including a slight
  16028. tweak to Tor's TLS handshake that makes relays and bridges that run
  16029. this new version reachable from Iran again. It also fixes a few new
  16030. bugs in 0.2.3.x, and teaches relays to recognize when they're not
  16031. listed in the network consensus and republish.
  16032. o Major bugfixes (also part of 0.2.2.33):
  16033. - Avoid an assertion failure when reloading a configuration with
  16034. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  16035. 3923; bugfix on 0.2.2.25-alpha.
  16036. o Minor features (security, also part of 0.2.2.33):
  16037. - Check for replays of the public-key encrypted portion of an
  16038. INTRODUCE1 cell, in addition to the current check for replays of
  16039. the g^x value. This prevents a possible class of active attacks
  16040. by an attacker who controls both an introduction point and a
  16041. rendezvous point, and who uses the malleability of AES-CTR to
  16042. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  16043. that these attacks are infeasible (requiring the attacker to send
  16044. on the order of zettabytes of altered cells in a short interval),
  16045. but we'd rather block them off in case there are any classes of
  16046. this attack that we missed. Reported by Willem Pinckaers.
  16047. o Minor features (also part of 0.2.2.33):
  16048. - Adjust the expiration time on our SSL session certificates to
  16049. better match SSL certs seen in the wild. Resolves ticket 4014.
  16050. - Change the default required uptime for a relay to be accepted as
  16051. a HSDir (hidden service directory) from 24 hours to 25 hours.
  16052. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  16053. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  16054. authorities to abstain from voting on assignment of the HSDir
  16055. consensus flag. Related to bug 2649.
  16056. - Update to the September 6 2011 Maxmind GeoLite Country database.
  16057. o Minor bugfixes (also part of 0.2.2.33):
  16058. - Demote the 'replay detected' log message emitted when a hidden
  16059. service receives the same Diffie-Hellman public key in two different
  16060. INTRODUCE2 cells to info level. A normal Tor client can cause that
  16061. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  16062. fixes part of bug 2442.
  16063. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  16064. level. There is nothing that a hidden service's operator can do
  16065. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  16066. of bug 2442.
  16067. - Clarify a log message specifying the characters permitted in
  16068. HiddenServiceAuthorizeClient client names. Previously, the log
  16069. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  16070. given the impression that every ASCII character between "+" and "_"
  16071. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  16072. o Build fixes (also part of 0.2.2.33):
  16073. - Clean up some code issues that prevented Tor from building on older
  16074. BSDs. Fixes bug 3894; reported by "grarpamp".
  16075. - Search for a platform-specific version of "ar" when cross-compiling.
  16076. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  16077. o Major bugfixes:
  16078. - Fix a bug where the SocksPort option (for example) would get
  16079. ignored and replaced by the default if a SocksListenAddress
  16080. option was set. Bugfix on 0.2.3.3-alpha; fixes bug 3936. Fix by
  16081. Fabian Keil.
  16082. o Major features:
  16083. - Relays now try regenerating and uploading their descriptor more
  16084. frequently if they are not listed in the consensus, or if the
  16085. version of their descriptor listed in the consensus is too
  16086. old. This fix should prevent situations where a server declines
  16087. to re-publish itself because it has done so too recently, even
  16088. though the authorities decided not to list its recent-enough
  16089. descriptor. Fix for bug 3327.
  16090. o Minor features:
  16091. - Relays now include a reason for regenerating their descriptors
  16092. in an HTTP header when uploading to the authorities. This will
  16093. make it easier to debug descriptor-upload issues in the future.
  16094. - When starting as root and then changing our UID via the User
  16095. control option, and we have a ControlSocket configured, make sure
  16096. that the ControlSocket is owned by the same account that Tor will
  16097. run under. Implements ticket 3421; fix by Jérémy Bobbio.
  16098. o Minor bugfixes:
  16099. - Abort if tor_vasprintf fails in connection_printf_to_buf (a
  16100. utility function used in the control-port code). This shouldn't
  16101. ever happen unless Tor is completely out of memory, but if it did
  16102. happen and Tor somehow recovered from it, Tor could have sent a log
  16103. message to a control port in the middle of a reply to a controller
  16104. command. Fixes part of bug 3428; bugfix on 0.1.2.3-alpha.
  16105. - Make 'FetchUselessDescriptors' cause all descriptor types and
  16106. all consensus types (including microdescriptors) to get fetched.
  16107. Fixes bug 3851; bugfix on 0.2.3.1-alpha.
  16108. o Code refactoring:
  16109. - Make a new "entry connection" struct as an internal subtype of "edge
  16110. connection", to simplify the code and make exit connections smaller.
  16111. Changes in version 0.2.2.33 - 2011-09-13
  16112. Tor 0.2.2.33 fixes several bugs, and includes a slight tweak to Tor's
  16113. TLS handshake that makes relays and bridges that run this new version
  16114. reachable from Iran again.
  16115. o Major bugfixes:
  16116. - Avoid an assertion failure when reloading a configuration with
  16117. TrackExitHosts changes. Found and fixed by 'laruldan'. Fixes bug
  16118. 3923; bugfix on 0.2.2.25-alpha.
  16119. o Minor features (security):
  16120. - Check for replays of the public-key encrypted portion of an
  16121. INTRODUCE1 cell, in addition to the current check for replays of
  16122. the g^x value. This prevents a possible class of active attacks
  16123. by an attacker who controls both an introduction point and a
  16124. rendezvous point, and who uses the malleability of AES-CTR to
  16125. alter the encrypted g^x portion of the INTRODUCE1 cell. We think
  16126. that these attacks are infeasible (requiring the attacker to send
  16127. on the order of zettabytes of altered cells in a short interval),
  16128. but we'd rather block them off in case there are any classes of
  16129. this attack that we missed. Reported by Willem Pinckaers.
  16130. o Minor features:
  16131. - Adjust the expiration time on our SSL session certificates to
  16132. better match SSL certs seen in the wild. Resolves ticket 4014.
  16133. - Change the default required uptime for a relay to be accepted as
  16134. a HSDir (hidden service directory) from 24 hours to 25 hours.
  16135. Improves on 0.2.0.10-alpha; resolves ticket 2649.
  16136. - Add a VoteOnHidServDirectoriesV2 config option to allow directory
  16137. authorities to abstain from voting on assignment of the HSDir
  16138. consensus flag. Related to bug 2649.
  16139. - Update to the September 6 2011 Maxmind GeoLite Country database.
  16140. o Minor bugfixes (documentation and log messages):
  16141. - Correct the man page to explain that HashedControlPassword and
  16142. CookieAuthentication can both be set, in which case either method
  16143. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  16144. when we decided to allow these config options to both be set. Issue
  16145. raised by bug 3898.
  16146. - Demote the 'replay detected' log message emitted when a hidden
  16147. service receives the same Diffie-Hellman public key in two different
  16148. INTRODUCE2 cells to info level. A normal Tor client can cause that
  16149. log message during its normal operation. Bugfix on 0.2.1.6-alpha;
  16150. fixes part of bug 2442.
  16151. - Demote the 'INTRODUCE2 cell is too {old,new}' log message to info
  16152. level. There is nothing that a hidden service's operator can do
  16153. to fix its clients' clocks. Bugfix on 0.2.1.6-alpha; fixes part
  16154. of bug 2442.
  16155. - Clarify a log message specifying the characters permitted in
  16156. HiddenServiceAuthorizeClient client names. Previously, the log
  16157. message said that "[A-Za-z0-9+-_]" were permitted; that could have
  16158. given the impression that every ASCII character between "+" and "_"
  16159. was permitted. Now we say "[A-Za-z0-9+_-]". Bugfix on 0.2.1.5-alpha.
  16160. o Build fixes:
  16161. - Provide a substitute implementation of lround() for MSVC, which
  16162. apparently lacks it. Patch from Gisle Vanem.
  16163. - Clean up some code issues that prevented Tor from building on older
  16164. BSDs. Fixes bug 3894; reported by "grarpamp".
  16165. - Search for a platform-specific version of "ar" when cross-compiling.
  16166. Should fix builds on iOS. Resolves bug 3909, found by Marco Bonetti.
  16167. Changes in version 0.2.3.3-alpha - 2011-09-01
  16168. Tor 0.2.3.3-alpha adds a new "stream isolation" feature to improve Tor's
  16169. security, and provides client-side support for the microdescriptor
  16170. and optimistic data features introduced earlier in the 0.2.3.x
  16171. series. It also includes numerous critical bugfixes in the (optional)
  16172. bufferevent-based networking backend.
  16173. o Major features (stream isolation):
  16174. - You can now configure Tor so that streams from different
  16175. applications are isolated on different circuits, to prevent an
  16176. attacker who sees your streams as they leave an exit node from
  16177. linking your sessions to one another. To do this, choose some way
  16178. to distinguish the applications: have them connect to different
  16179. SocksPorts, or have one of them use SOCKS4 while the other uses
  16180. SOCKS5, or have them pass different authentication strings to the
  16181. SOCKS proxy. Then, use the new SocksPort syntax to configure the
  16182. degree of isolation you need. This implements Proposal 171.
  16183. - There's a new syntax for specifying multiple client ports (such as
  16184. SOCKSPort, TransPort, DNSPort, NATDPort): you can now just declare
  16185. multiple *Port entries with full addr:port syntax on each.
  16186. The old *ListenAddress format is still supported, but you can't
  16187. mix it with the new *Port syntax.
  16188. o Major features (other):
  16189. - Enable microdescriptor fetching by default for clients. This allows
  16190. clients to download a much smaller amount of directory information.
  16191. To disable it (and go back to the old-style consensus and
  16192. descriptors), set "UseMicrodescriptors 0" in your torrc file.
  16193. - Tor's firewall-helper feature, introduced in 0.2.3.1-alpha (see the
  16194. "PortForwarding" config option), now supports Windows.
  16195. - When using an exit relay running 0.2.3.x, clients can now
  16196. "optimistically" send data before the exit relay reports that
  16197. the stream has opened. This saves a round trip when starting
  16198. connections where the client speaks first (such as web browsing).
  16199. This behavior is controlled by a consensus parameter (currently
  16200. disabled). To turn it on or off manually, use the "OptimisticData"
  16201. torrc option. Implements proposal 181; code by Ian Goldberg.
  16202. o Major bugfixes (bufferevents, fixes on 0.2.3.1-alpha):
  16203. - When using IOCP on Windows, we need to enable Libevent windows
  16204. threading support.
  16205. - The IOCP backend now works even when the user has not specified
  16206. the (internal, debugging-only) _UseFilteringSSLBufferevents option.
  16207. Fixes part of bug 3752.
  16208. - Correctly record the bytes we've read and written when using
  16209. bufferevents, so that we can include them in our bandwidth history
  16210. and advertised bandwidth. Fixes bug 3803.
  16211. - Apply rate-limiting only at the bottom of a chain of filtering
  16212. bufferevents. This prevents us from filling up internal read
  16213. buffers and violating rate-limits when filtering bufferevents
  16214. are enabled. Fixes part of bug 3804.
  16215. - Add high-watermarks to the output buffers for filtered
  16216. bufferevents. This prevents us from filling up internal write
  16217. buffers and wasting CPU cycles when filtering bufferevents are
  16218. enabled. Fixes part of bug 3804.
  16219. - Correctly notice when data has been written from a bufferevent
  16220. without flushing it completely. Fixes bug 3805.
  16221. - Fix a bug where server-side tunneled bufferevent-based directory
  16222. streams would get closed prematurely. Fixes bug 3814.
  16223. - Fix a use-after-free error with per-connection rate-limiting
  16224. buckets. Fixes bug 3888.
  16225. o Major bugfixes (also part of 0.2.2.31-rc):
  16226. - If we're configured to write our ControlPorts to disk, only write
  16227. them after switching UID and creating the data directory. This way,
  16228. we don't fail when starting up with a nonexistent DataDirectory
  16229. and a ControlPortWriteToFile setting based on that directory. Fixes
  16230. bug 3747; bugfix on Tor 0.2.2.26-beta.
  16231. o Minor features:
  16232. - Added a new CONF_CHANGED event so that controllers can be notified
  16233. of any configuration changes made by other controllers, or by the
  16234. user. Implements ticket 1692.
  16235. - Use evbuffer_copyout() in inspect_evbuffer(). This fixes a memory
  16236. leak when using bufferevents, and lets Libevent worry about how to
  16237. best copy data out of a buffer.
  16238. - Replace files in stats/ rather than appending to them. Now that we
  16239. include statistics in extra-info descriptors, it makes no sense to
  16240. keep old statistics forever. Implements ticket 2930.
  16241. o Minor features (build compatibility):
  16242. - Limited, experimental support for building with nmake and MSVC.
  16243. - Provide a substitute implementation of lround() for MSVC, which
  16244. apparently lacks it. Patch from Gisle Vanem.
  16245. o Minor features (also part of 0.2.2.31-rc):
  16246. - Update to the August 2 2011 Maxmind GeoLite Country database.
  16247. o Minor bugfixes (on 0.2.3.x-alpha):
  16248. - Fix a spurious warning when parsing SOCKS requests with
  16249. bufferevents enabled. Fixes bug 3615; bugfix on 0.2.3.2-alpha.
  16250. - Get rid of a harmless warning that could happen on relays running
  16251. with bufferevents. The warning was caused by someone doing an http
  16252. request to a relay's orport. Also don't warn for a few related
  16253. non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
  16254. o Minor bugfixes (on 2.2.x and earlier):
  16255. - Correct the man page to explain that HashedControlPassword and
  16256. CookieAuthentication can both be set, in which case either method
  16257. is sufficient to authenticate to Tor. Bugfix on 0.2.0.7-alpha,
  16258. when we decided to allow these config options to both be set. Issue
  16259. raised by bug 3898.
  16260. - The "--quiet" and "--hush" options now apply not only to Tor's
  16261. behavior before logs are configured, but also to Tor's behavior in
  16262. the absence of configured logs. Fixes bug 3550; bugfix on
  16263. 0.2.0.10-alpha.
  16264. o Minor bugfixes (also part of 0.2.2.31-rc):
  16265. - Write several files in text mode, on OSes that distinguish text
  16266. mode from binary mode (namely, Windows). These files are:
  16267. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  16268. that collect those statistics; 'client_keys' and 'hostname' for
  16269. hidden services that use authentication; and (in the tor-gencert
  16270. utility) newly generated identity and signing keys. Previously,
  16271. we wouldn't specify text mode or binary mode, leading to an
  16272. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  16273. the DirRecordUsageByCountry option which would have triggered
  16274. the assertion failure was added), although this assertion failure
  16275. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  16276. - Selectively disable deprecation warnings on OS X because Lion
  16277. started deprecating the shipped copy of openssl. Fixes bug 3643.
  16278. - Remove an extra pair of quotation marks around the error
  16279. message in control-port STATUS_GENERAL BUG events. Bugfix on
  16280. 0.1.2.6-alpha; fixes bug 3732.
  16281. - When unable to format an address as a string, report its value
  16282. as "???" rather than reusing the last formatted address. Bugfix
  16283. on 0.2.1.5-alpha.
  16284. o Code simplifications and refactoring:
  16285. - Rewrite the listener-selection logic so that parsing which ports
  16286. we want to listen on is now separate from binding to the ports
  16287. we want.
  16288. o Build changes:
  16289. - Building Tor with bufferevent support now requires Libevent
  16290. 2.0.13-stable or later. Previous versions of Libevent had bugs in
  16291. SSL-related bufferevents and related issues that would make Tor
  16292. work badly with bufferevents. Requiring 2.0.13-stable also allows
  16293. Tor with bufferevents to take advantage of Libevent APIs
  16294. introduced after 2.0.8-rc.
  16295. Changes in version 0.2.2.32 - 2011-08-27
  16296. The Tor 0.2.2 release series is dedicated to the memory of Andreas
  16297. Pfitzmann (1958-2010), a pioneer in anonymity and privacy research,
  16298. a founder of the PETS community, a leader in our field, a mentor,
  16299. and a friend. He left us with these words: "I had the possibility
  16300. to contribute to this world that is not as it should be. I hope I
  16301. could help in some areas to make the world a better place, and that
  16302. I could also encourage other people to be engaged in improving the
  16303. world. Please, stay engaged. This world needs you, your love, your
  16304. initiative -- now I cannot be part of that anymore."
  16305. Tor 0.2.2.32, the first stable release in the 0.2.2 branch, is finally
  16306. ready. More than two years in the making, this release features improved
  16307. client performance and hidden service reliability, better compatibility
  16308. for Android, correct behavior for bridges that listen on more than
  16309. one address, more extensible and flexible directory object handling,
  16310. better reporting of network statistics, improved code security, and
  16311. many many other features and bugfixes.
  16312. Changes in version 0.2.2.31-rc - 2011-08-17
  16313. Tor 0.2.2.31-rc is the second and hopefully final release candidate
  16314. for the Tor 0.2.2.x series.
  16315. o Major bugfixes:
  16316. - Remove an extra pair of quotation marks around the error
  16317. message in control-port STATUS_GENERAL BUG events. Bugfix on
  16318. 0.1.2.6-alpha; fixes bug 3732.
  16319. - If we're configured to write our ControlPorts to disk, only write
  16320. them after switching UID and creating the data directory. This way,
  16321. we don't fail when starting up with a nonexistent DataDirectory
  16322. and a ControlPortWriteToFile setting based on that directory. Fixes
  16323. bug 3747; bugfix on Tor 0.2.2.26-beta.
  16324. o Minor features:
  16325. - Update to the August 2 2011 Maxmind GeoLite Country database.
  16326. o Minor bugfixes:
  16327. - Allow GETINFO fingerprint to return a fingerprint even when
  16328. we have not yet built a router descriptor. Fixes bug 3577;
  16329. bugfix on 0.2.0.1-alpha.
  16330. - Write several files in text mode, on OSes that distinguish text
  16331. mode from binary mode (namely, Windows). These files are:
  16332. 'buffer-stats', 'dirreq-stats', and 'entry-stats' on relays
  16333. that collect those statistics; 'client_keys' and 'hostname' for
  16334. hidden services that use authentication; and (in the tor-gencert
  16335. utility) newly generated identity and signing keys. Previously,
  16336. we wouldn't specify text mode or binary mode, leading to an
  16337. assertion failure. Fixes bug 3607. Bugfix on 0.2.1.1-alpha (when
  16338. the DirRecordUsageByCountry option which would have triggered
  16339. the assertion failure was added), although this assertion failure
  16340. would have occurred in tor-gencert on Windows in 0.2.0.1-alpha.
  16341. - Selectively disable deprecation warnings on OS X because Lion
  16342. started deprecating the shipped copy of openssl. Fixes bug 3643.
  16343. - When unable to format an address as a string, report its value
  16344. as "???" rather than reusing the last formatted address. Bugfix
  16345. on 0.2.1.5-alpha.
  16346. Changes in version 0.2.3.2-alpha - 2011-07-18
  16347. Tor 0.2.3.2-alpha introduces two new experimental features:
  16348. microdescriptors and pluggable transports. It also continues cleaning
  16349. up a variety of recently introduced features.
  16350. o Major features:
  16351. - Clients can now use microdescriptors instead of regular descriptors
  16352. to build circuits. Microdescriptors are authority-generated
  16353. summaries of regular descriptors' contents, designed to change
  16354. very rarely (see proposal 158 for details). This feature is
  16355. designed to save bandwidth, especially for clients on slow internet
  16356. connections. It's off by default for now, since nearly no caches
  16357. support it, but it will be on-by-default for clients in a future
  16358. version. You can use the UseMicrodescriptors option to turn it on.
  16359. - Tor clients using bridges can now be configured to use a separate
  16360. 'transport' proxy for each bridge. This approach helps to resist
  16361. censorship by allowing bridges to use protocol obfuscation
  16362. plugins. It implements part of proposal 180. Implements ticket 2841.
  16363. - While we're trying to bootstrap, record how many TLS connections
  16364. fail in each state, and report which states saw the most failures
  16365. in response to any bootstrap failures. This feature may speed up
  16366. diagnosis of censorship events. Implements ticket 3116.
  16367. o Major bugfixes (on 0.2.3.1-alpha):
  16368. - When configuring a large set of nodes in EntryNodes (as with
  16369. 'EntryNodes {cc}' or 'EntryNodes 1.1.1.1/16'), choose only a
  16370. random subset to be guards, and choose them in random
  16371. order. Fixes bug 2798.
  16372. - Tor could crash when remembering a consensus in a non-used consensus
  16373. flavor without having a current consensus set. Fixes bug 3361.
  16374. - Comparing an unknown address to a microdescriptor's shortened exit
  16375. policy would always give a "rejected" result. Fixes bug 3599.
  16376. - Using microdescriptors as a client no longer prevents Tor from
  16377. uploading and downloading hidden service descriptors. Fixes
  16378. bug 3601.
  16379. o Minor features:
  16380. - Allow nameservers with IPv6 address. Resolves bug 2574.
  16381. - Accept attempts to include a password authenticator in the
  16382. handshake, as supported by SOCKS5. This handles SOCKS clients that
  16383. don't know how to omit a password when authenticating. Resolves
  16384. bug 1666.
  16385. - When configuring a large set of nodes in EntryNodes, and there are
  16386. enough of them listed as Guard so that we don't need to consider
  16387. the non-guard entries, prefer the ones listed with the Guard flag.
  16388. - Check for and recover from inconsistency in the microdescriptor
  16389. cache. This will make it harder for us to accidentally free a
  16390. microdescriptor without removing it from the appropriate data
  16391. structures. Fixes issue 3135; issue noted by "wanoskarnet".
  16392. - Log SSL state transitions at log level DEBUG, log domain
  16393. HANDSHAKE. This can be useful for debugging censorship events.
  16394. Implements ticket 3264.
  16395. - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
  16396. implements ticket 3439.
  16397. o Minor bugfixes (on 0.2.3.1-alpha):
  16398. - Do not free all general-purpose regular descriptors just
  16399. because microdescriptor use is enabled. Fixes bug 3113.
  16400. - Correctly link libevent_openssl when --enable-static-libevent
  16401. is passed to configure. Fixes bug 3118.
  16402. - Bridges should not complain during their heartbeat log messages that
  16403. they are unlisted in the consensus: that's more or less the point
  16404. of being a bridge. Fixes bug 3183.
  16405. - Report a SIGNAL event to controllers when acting on a delayed
  16406. SIGNAL NEWNYM command. Previously, we would report a SIGNAL
  16407. event to the controller if we acted on a SIGNAL NEWNYM command
  16408. immediately, and otherwise not report a SIGNAL event for the
  16409. command at all. Fixes bug 3349.
  16410. - Fix a crash when handling the SIGNAL controller command or
  16411. reporting ERR-level status events with bufferevents enabled. Found
  16412. by Robert Ransom. Fixes bug 3367.
  16413. - Always ship the tor-fw-helper manpage in our release tarballs.
  16414. Fixes bug 3389. Reported by Stephen Walker.
  16415. - Fix a class of double-mark-for-close bugs when bufferevents
  16416. are enabled. Fixes bug 3403.
  16417. - Update tor-fw-helper to support libnatpmp-20110618. Fixes bug 3434.
  16418. - Add SIGNAL to the list returned by the 'GETINFO events/names'
  16419. control-port command. Fixes part of bug 3465.
  16420. - Prevent using negative indices during unit test runs when read_all()
  16421. fails. Spotted by coverity.
  16422. - Fix a rare memory leak when checking the nodelist without it being
  16423. present. Found by coverity.
  16424. - Only try to download a microdescriptor-flavored consensus from
  16425. a directory cache that provides them.
  16426. o Minor bugfixes (on 0.2.2.x and earlier):
  16427. - Assert that hidden-service-related operations are not performed
  16428. using single-hop circuits. Previously, Tor would assert that
  16429. client-side streams are not attached to single-hop circuits,
  16430. but not that other sensitive operations on the client and service
  16431. side are not performed using single-hop circuits. Fixes bug 3332;
  16432. bugfix on 0.0.6.
  16433. - Don't publish a new relay descriptor when we reload our onion key,
  16434. unless the onion key has actually changed. Fixes bug 3263 and
  16435. resolves another cause of bug 1810. Bugfix on 0.1.1.11-alpha.
  16436. - Allow GETINFO fingerprint to return a fingerprint even when
  16437. we have not yet built a router descriptor. Fixes bug 3577;
  16438. bugfix on 0.2.0.1-alpha.
  16439. - Make 'tor --digests' list hashes of all Tor source files. Bugfix
  16440. on 0.2.2.4-alpha; fixes bug 3427.
  16441. o Code simplification and refactoring:
  16442. - Use tor_sscanf() in place of scanf() in more places through the
  16443. code. This makes us a little more locale-independent, and
  16444. should help shut up code-analysis tools that can't tell
  16445. a safe sscanf string from a dangerous one.
  16446. - Use tt_assert(), not tor_assert(), for checking for test failures.
  16447. This makes the unit tests more able to go on in the event that
  16448. one of them fails.
  16449. - Split connection_about_to_close() into separate functions for each
  16450. connection type.
  16451. o Build changes:
  16452. - On Windows, we now define the _WIN32_WINNT macros only if they
  16453. are not already defined. This lets the person building Tor decide,
  16454. if they want, to require a later version of Windows.
  16455. Changes in version 0.2.2.30-rc - 2011-07-07
  16456. Tor 0.2.2.30-rc is the first release candidate for the Tor 0.2.2.x
  16457. series. It fixes a few smaller bugs, but generally appears stable.
  16458. Please test it and let us know whether it is!
  16459. o Minor bugfixes:
  16460. - Send a SUCCEEDED stream event to the controller when a reverse
  16461. resolve succeeded. Fixes bug 3536; bugfix on 0.0.8pre1. Issue
  16462. discovered by katmagic.
  16463. - Always NUL-terminate the sun_path field of a sockaddr_un before
  16464. passing it to the kernel. (Not a security issue: kernels are
  16465. smart enough to reject bad sockaddr_uns.) Found by Coverity;
  16466. CID #428. Bugfix on Tor 0.2.0.3-alpha.
  16467. - Don't stack-allocate the list of supplementary GIDs when we're
  16468. about to log them. Stack-allocating NGROUPS_MAX gid_t elements
  16469. could take up to 256K, which is way too much stack. Found by
  16470. Coverity; CID #450. Bugfix on 0.2.1.7-alpha.
  16471. - Add BUILDTIMEOUT_SET to the list returned by the 'GETINFO
  16472. events/names' control-port command. Bugfix on 0.2.2.9-alpha;
  16473. fixes part of bug 3465.
  16474. - Fix a memory leak when receiving a descriptor for a hidden
  16475. service we didn't ask for. Found by Coverity; CID #30. Bugfix
  16476. on 0.2.2.26-beta.
  16477. o Minor features:
  16478. - Update to the July 1 2011 Maxmind GeoLite Country database.
  16479. Changes in version 0.2.2.29-beta - 2011-06-20
  16480. Tor 0.2.2.29-beta reverts an accidental behavior change for users who
  16481. have bridge lines in their torrc but don't want to use them; gets
  16482. us closer to having the control socket feature working on Debian;
  16483. and fixes a variety of smaller bugs.
  16484. o Major bugfixes:
  16485. - Revert the UseBridges option to its behavior before 0.2.2.28-beta.
  16486. When we changed the default behavior to "use bridges if any
  16487. are listed in the torrc", we surprised users who had bridges
  16488. in their torrc files but who didn't actually want to use them.
  16489. Partial resolution for bug 3354.
  16490. o Privacy fixes:
  16491. - Don't attach new streams to old rendezvous circuits after SIGNAL
  16492. NEWNYM. Previously, we would keep using an existing rendezvous
  16493. circuit if it remained open (i.e. if it were kept open by a
  16494. long-lived stream, or if a new stream were attached to it before
  16495. Tor could notice that it was old and no longer in use). Bugfix on
  16496. 0.1.1.15-rc; fixes bug 3375.
  16497. o Minor bugfixes:
  16498. - Fix a bug when using ControlSocketsGroupWritable with User. The
  16499. directory's group would be checked against the current group, not
  16500. the configured group. Patch by Jérémy Bobbio. Fixes bug 3393;
  16501. bugfix on 0.2.2.26-beta.
  16502. - Make connection_printf_to_buf()'s behavior sane. Its callers
  16503. expect it to emit a CRLF iff the format string ends with CRLF;
  16504. it actually emitted a CRLF iff (a) the format string ended with
  16505. CRLF or (b) the resulting string was over 1023 characters long or
  16506. (c) the format string did not end with CRLF *and* the resulting
  16507. string was 1021 characters long or longer. Bugfix on 0.1.1.9-alpha;
  16508. fixes part of bug 3407.
  16509. - Make send_control_event_impl()'s behavior sane. Its callers
  16510. expect it to always emit a CRLF at the end of the string; it
  16511. might have emitted extra control characters as well. Bugfix on
  16512. 0.1.1.9-alpha; fixes another part of bug 3407.
  16513. - Make crypto_rand_int() check the value of its input correctly.
  16514. Previously, it accepted values up to UINT_MAX, but could return a
  16515. negative number if given a value above INT_MAX+1. Found by George
  16516. Kadianakis. Fixes bug 3306; bugfix on 0.2.2pre14.
  16517. - Avoid a segfault when reading a malformed circuit build state
  16518. with more than INT_MAX entries. Found by wanoskarnet. Bugfix on
  16519. 0.2.2.4-alpha.
  16520. - When asked about a DNS record type we don't support via a
  16521. client DNSPort, reply with NOTIMPL rather than an empty
  16522. reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
  16523. - Fix a rare memory leak during stats writing. Found by coverity.
  16524. o Minor features:
  16525. - Update to the June 1 2011 Maxmind GeoLite Country database.
  16526. o Code simplifications and refactoring:
  16527. - Remove some dead code as indicated by coverity.
  16528. - Remove a few dead assignments during router parsing. Found by
  16529. coverity.
  16530. - Add some forgotten return value checks during unit tests. Found
  16531. by coverity.
  16532. - Don't use 1-bit wide signed bit fields. Found by coverity.
  16533. Changes in version 0.2.2.28-beta - 2011-06-04
  16534. Tor 0.2.2.28-beta makes great progress towards a new stable release: we
  16535. fixed a big bug in whether relays stay in the consensus consistently,
  16536. we moved closer to handling bridges and hidden services correctly,
  16537. and we started the process of better handling the dreaded "my Vidalia
  16538. died, and now my Tor demands a password when I try to reconnect to it"
  16539. usability issue.
  16540. o Major bugfixes:
  16541. - Don't decide to make a new descriptor when receiving a HUP signal.
  16542. This bug has caused a lot of 0.2.2.x relays to disappear from the
  16543. consensus periodically. Fixes the most common case of triggering
  16544. bug 1810; bugfix on 0.2.2.7-alpha.
  16545. - Actually allow nameservers with IPv6 addresses. Fixes bug 2574.
  16546. - Don't try to build descriptors if "ORPort auto" is set and we
  16547. don't know our actual ORPort yet. Fix for bug 3216; bugfix on
  16548. 0.2.2.26-beta.
  16549. - Resolve a crash that occurred when setting BridgeRelay to 1 with
  16550. accounting enabled. Fixes bug 3228; bugfix on 0.2.2.18-alpha.
  16551. - Apply circuit timeouts to opened hidden-service-related circuits
  16552. based on the correct start time. Previously, we would apply the
  16553. circuit build timeout based on time since the circuit's creation;
  16554. it was supposed to be applied based on time since the circuit
  16555. entered its current state. Bugfix on 0.0.6; fixes part of bug 1297.
  16556. - Use the same circuit timeout for client-side introduction
  16557. circuits as for other four-hop circuits, rather than the timeout
  16558. for single-hop directory-fetch circuits; the shorter timeout may
  16559. have been appropriate with the static circuit build timeout in
  16560. 0.2.1.x and earlier, but caused many hidden service access attempts
  16561. to fail with the adaptive CBT introduced in 0.2.2.2-alpha. Bugfix
  16562. on 0.2.2.2-alpha; fixes another part of bug 1297.
  16563. - In ticket 2511 we fixed a case where you could use an unconfigured
  16564. bridge if you had configured it as a bridge the last time you ran
  16565. Tor. Now fix another edge case: if you had configured it as a bridge
  16566. but then switched to a different bridge via the controller, you
  16567. would still be willing to use the old one. Bugfix on 0.2.0.1-alpha;
  16568. fixes bug 3321.
  16569. o Major features:
  16570. - Add an __OwningControllerProcess configuration option and a
  16571. TAKEOWNERSHIP control-port command. Now a Tor controller can ensure
  16572. that when it exits, Tor will shut down. Implements feature 3049.
  16573. - If "UseBridges 1" is set and no bridges are configured, Tor will
  16574. now refuse to build any circuits until some bridges are set.
  16575. If "UseBridges auto" is set, Tor will use bridges if they are
  16576. configured and we are not running as a server, but otherwise will
  16577. make circuits as usual. The new default is "auto". Patch by anonym,
  16578. so the Tails LiveCD can stop automatically revealing you as a Tor
  16579. user on startup.
  16580. o Minor bugfixes:
  16581. - Fix warnings from GCC 4.6's "-Wunused-but-set-variable" option.
  16582. - Remove a trailing asterisk from "exit-policy/default" in the
  16583. output of the control port command "GETINFO info/names". Bugfix
  16584. on 0.1.2.5-alpha.
  16585. - Use a wide type to hold sockets when built for 64-bit Windows builds.
  16586. Fixes bug 3270.
  16587. - Warn when the user configures two HiddenServiceDir lines that point
  16588. to the same directory. Bugfix on 0.0.6 (the version introducing
  16589. HiddenServiceDir); fixes bug 3289.
  16590. - Remove dead code from rend_cache_lookup_v2_desc_as_dir. Fixes
  16591. part of bug 2748; bugfix on 0.2.0.10-alpha.
  16592. - Log malformed requests for rendezvous descriptors as protocol
  16593. warnings, not warnings. Also, use a more informative log message
  16594. in case someone sees it at log level warning without prior
  16595. info-level messages. Fixes the other part of bug 2748; bugfix
  16596. on 0.2.0.10-alpha.
  16597. - Clear the table recording the time of the last request for each
  16598. hidden service descriptor from each HS directory on SIGNAL NEWNYM.
  16599. Previously, we would clear our HS descriptor cache on SIGNAL
  16600. NEWNYM, but if we had previously retrieved a descriptor (or tried
  16601. to) from every directory responsible for it, we would refuse to
  16602. fetch it again for up to 15 minutes. Bugfix on 0.2.2.25-alpha;
  16603. fixes bug 3309.
  16604. - Fix a log message that said "bits" while displaying a value in
  16605. bytes. Found by wanoskarnet. Fixes bug 3318; bugfix on
  16606. 0.2.0.1-alpha.
  16607. - When checking for 1024-bit keys, check for 1024 bits, not 128
  16608. bytes. This allows Tor to correctly discard keys of length 1017
  16609. through 1023. Bugfix on 0.0.9pre5.
  16610. o Minor features:
  16611. - Relays now log the reason for publishing a new relay descriptor,
  16612. so we have a better chance of hunting down instances of bug 1810.
  16613. Resolves ticket 3252.
  16614. - Revise most log messages that refer to nodes by nickname to
  16615. instead use the "$key=nickname at address" format. This should be
  16616. more useful, especially since nicknames are less and less likely
  16617. to be unique. Resolves ticket 3045.
  16618. - Log (at info level) when purging pieces of hidden-service-client
  16619. state because of SIGNAL NEWNYM.
  16620. o Removed options:
  16621. - Remove undocumented option "-F" from tor-resolve: it hasn't done
  16622. anything since 0.2.1.16-rc.
  16623. Changes in version 0.2.2.27-beta - 2011-05-18
  16624. Tor 0.2.2.27-beta fixes a bridge-related stability bug in the previous
  16625. release, and also adds a few more general bugfixes.
  16626. o Major bugfixes:
  16627. - Fix a crash bug when changing bridges in a running Tor process.
  16628. Fixes bug 3213; bugfix on 0.2.2.26-beta.
  16629. - When the controller configures a new bridge, don't wait 10 to 60
  16630. seconds before trying to fetch its descriptor. Bugfix on
  16631. 0.2.0.3-alpha; fixes bug 3198 (suggested by 2355).
  16632. o Minor bugfixes:
  16633. - Require that onion keys have exponent 65537 in microdescriptors too.
  16634. Fixes more of bug 3207; bugfix on 0.2.2.26-beta.
  16635. - Tor used to limit HttpProxyAuthenticator values to 48 characters.
  16636. Changed the limit to 512 characters by removing base64 newlines.
  16637. Fixes bug 2752. Fix by Michael Yakubovich.
  16638. - When a client starts or stops using bridges, never use a circuit
  16639. that was built before the configuration change. This behavior could
  16640. put at risk a user who uses bridges to ensure that her traffic
  16641. only goes to the chosen addresses. Bugfix on 0.2.0.3-alpha; fixes
  16642. bug 3200.
  16643. Changes in version 0.2.2.26-beta - 2011-05-17
  16644. Tor 0.2.2.26-beta fixes a variety of potential privacy problems. It
  16645. also introduces a new "socksport auto" approach that should make it
  16646. easier to run multiple Tors on the same system, and does a lot of
  16647. cleanup to get us closer to a release candidate.
  16648. o Security/privacy fixes:
  16649. - Replace all potentially sensitive memory comparison operations
  16650. with versions whose runtime does not depend on the data being
  16651. compared. This will help resist a class of attacks where an
  16652. adversary can use variations in timing information to learn
  16653. sensitive data. Fix for one case of bug 3122. (Safe memcmp
  16654. implementation by Robert Ransom based partially on code by DJB.)
  16655. - When receiving a hidden service descriptor, check that it is for
  16656. the hidden service we wanted. Previously, Tor would store any
  16657. hidden service descriptors that a directory gave it, whether it
  16658. wanted them or not. This wouldn't have let an attacker impersonate
  16659. a hidden service, but it did let directories pre-seed a client
  16660. with descriptors that it didn't want. Bugfix on 0.0.6.
  16661. - On SIGHUP, do not clear out all TrackHostExits mappings, client
  16662. DNS cache entries, and virtual address mappings: that's what
  16663. NEWNYM is for. Fixes bug 1345; bugfix on 0.1.0.1-rc.
  16664. o Major features:
  16665. - The options SocksPort, ControlPort, and so on now all accept a
  16666. value "auto" that opens a socket on an OS-selected port. A
  16667. new ControlPortWriteToFile option tells Tor to write its
  16668. actual control port or ports to a chosen file. If the option
  16669. ControlPortFileGroupReadable is set, the file is created as
  16670. group-readable. Now users can run two Tor clients on the same
  16671. system without needing to manually mess with parameters. Resolves
  16672. part of ticket 3076.
  16673. - Set SO_REUSEADDR on all sockets, not just listeners. This should
  16674. help busy exit nodes avoid running out of useable ports just
  16675. because all the ports have been used in the near past. Resolves
  16676. issue 2850.
  16677. o Minor features:
  16678. - New "GETINFO net/listeners/(type)" controller command to return
  16679. a list of addresses and ports that are bound for listeners for a
  16680. given connection type. This is useful when the user has configured
  16681. "SocksPort auto" and the controller needs to know which port got
  16682. chosen. Resolves another part of ticket 3076.
  16683. - Add a new ControlSocketsGroupWritable configuration option: when
  16684. it is turned on, ControlSockets are group-writeable by the default
  16685. group of the current user. Patch by Jérémy Bobbio; implements
  16686. ticket 2972.
  16687. - Tor now refuses to create a ControlSocket in a directory that is
  16688. world-readable (or group-readable if ControlSocketsGroupWritable
  16689. is 0). This is necessary because some operating systems do not
  16690. enforce permissions on an AF_UNIX sockets. Permissions on the
  16691. directory holding the socket, however, seems to work everywhere.
  16692. - Rate-limit a warning about failures to download v2 networkstatus
  16693. documents. Resolves part of bug 1352.
  16694. - Backport code from 0.2.3.x that allows directory authorities to
  16695. clean their microdescriptor caches. Needed to resolve bug 2230.
  16696. - When an HTTPS proxy reports "403 Forbidden", we now explain
  16697. what it means rather than calling it an unexpected status code.
  16698. Closes bug 2503. Patch from Michael Yakubovich.
  16699. - Update to the May 1 2011 Maxmind GeoLite Country database.
  16700. o Minor bugfixes:
  16701. - Authorities now clean their microdesc cache periodically and when
  16702. reading from disk initially, not only when adding new descriptors.
  16703. This prevents a bug where we could lose microdescriptors. Bugfix
  16704. on 0.2.2.6-alpha. Fixes bug 2230.
  16705. - Do not crash when our configuration file becomes unreadable, for
  16706. example due to a permissions change, between when we start up
  16707. and when a controller calls SAVECONF. Fixes bug 3135; bugfix
  16708. on 0.0.9pre6.
  16709. - Avoid a bug that would keep us from replacing a microdescriptor
  16710. cache on Windows. (We would try to replace the file while still
  16711. holding it open. That's fine on Unix, but Windows doesn't let us
  16712. do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
  16713. - Add missing explanations for the authority-related torrc options
  16714. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey in the
  16715. man page. Resolves issue 2379.
  16716. - As an authority, do not upload our own vote or signature set to
  16717. ourself. It would tell us nothing new, and as of 0.2.2.24-alpha,
  16718. it would get flagged as a duplicate. Resolves bug 3026.
  16719. - Accept hidden service descriptors if we think we might be a hidden
  16720. service directory, regardless of what our consensus says. This
  16721. helps robustness, since clients and hidden services can sometimes
  16722. have a more up-to-date view of the network consensus than we do,
  16723. and if they think that the directory authorities list us a HSDir,
  16724. we might actually be one. Related to bug 2732; bugfix on
  16725. 0.2.0.10-alpha.
  16726. - When a controller changes TrackHostExits, remove mappings for
  16727. hosts that should no longer have their exits tracked. Bugfix on
  16728. 0.1.0.1-rc.
  16729. - When a controller changes VirtualAddrNetwork, remove any mappings
  16730. for hosts that were automapped to the old network. Bugfix on
  16731. 0.1.1.19-rc.
  16732. - When a controller changes one of the AutomapHosts* options, remove
  16733. any mappings for hosts that should no longer be automapped. Bugfix
  16734. on 0.2.0.1-alpha.
  16735. - Do not reset the bridge descriptor download status every time we
  16736. re-parse our configuration or get a configuration change. Fixes
  16737. bug 3019; bugfix on 0.2.0.3-alpha.
  16738. o Minor bugfixes (code cleanup):
  16739. - When loading the microdesc journal, remember its current size.
  16740. In 0.2.2, this helps prevent the microdesc journal from growing
  16741. without limit on authorities (who are the only ones to use it in
  16742. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  16743. Fix posted by "cypherpunks."
  16744. - The microdesc journal is supposed to get rebuilt only if it is
  16745. at least _half_ the length of the store, not _twice_ the length
  16746. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  16747. - Fix a potential null-pointer dereference while computing a
  16748. consensus. Bugfix on 0.2.0.3-alpha, found with the help of
  16749. clang's analyzer.
  16750. - Avoid a possible null-pointer dereference when rebuilding the mdesc
  16751. cache without actually having any descriptors to cache. Bugfix on
  16752. 0.2.2.6-alpha. Issue discovered using clang's static analyzer.
  16753. - If we fail to compute the identity digest of a v3 legacy keypair,
  16754. warn, and don't use a buffer-full of junk instead. Bugfix on
  16755. 0.2.1.1-alpha; fixes bug 3106.
  16756. - Resolve an untriggerable issue in smartlist_string_num_isin(),
  16757. where if the function had ever in the future been used to check
  16758. for the presence of a too-large number, it would have given an
  16759. incorrect result. (Fortunately, we only used it for 16-bit
  16760. values.) Fixes bug 3175; bugfix on 0.1.0.1-rc.
  16761. - Require that introduction point keys and onion handshake keys
  16762. have a public exponent of 65537. Starts to fix bug 3207; bugfix
  16763. on 0.2.0.10-alpha.
  16764. o Removed features:
  16765. - Caches no longer download and serve v2 networkstatus documents
  16766. unless FetchV2Networkstatus flag is set: these documents haven't
  16767. haven't been used by clients or relays since 0.2.0.x. Resolves
  16768. bug 3022.
  16769. Changes in version 0.2.3.1-alpha - 2011-05-05
  16770. Tor 0.2.3.1-alpha adds some new experimental features, including support
  16771. for an improved network IO backend, IOCP networking on Windows,
  16772. microdescriptor caching, "fast-start" support for streams, and automatic
  16773. home router configuration. There are also numerous internal improvements
  16774. to try to make the code easier for developers to work with.
  16775. This is the first alpha release in a new series, so expect there to be
  16776. bugs. Users who would rather test out a more stable branch should
  16777. stay with 0.2.2.x for now.
  16778. o Major features:
  16779. - Tor can now optionally build with the "bufferevents" buffered IO
  16780. backend provided by Libevent 2. To use this feature, make sure you
  16781. have the latest possible version of Libevent, and pass the
  16782. --enable-bufferevents flag to configure when building Tor from
  16783. source. This feature will make our networking code more flexible,
  16784. let us stack layers on each other, and let us use more efficient
  16785. zero-copy transports where available.
  16786. - As an experimental feature, Tor can use IOCP for networking on Windows.
  16787. Once this code is tuned and optimized, it promises much better
  16788. performance than the select-based backend we've used in the past. To
  16789. try this feature, you must build Tor with Libevent 2, configure Tor
  16790. with the "bufferevents" buffered IO backend, and add "DisableIOCP 0" to
  16791. your torrc. There are known bugs here: only try this if you can help
  16792. debug it as it breaks.
  16793. - The EntryNodes option can now include country codes like {de} or IP
  16794. addresses or network masks. Previously we had disallowed these options
  16795. because we didn't have an efficient way to keep the list up to
  16796. date. Fixes bug 1982, but see bug 2798 for an unresolved issue here.
  16797. - Exit nodes now accept and queue data on not-yet-connected streams.
  16798. Previously, the client wasn't allowed to send data until the stream was
  16799. connected, which slowed down all connections. This change will enable
  16800. clients to perform a "fast-start" on streams and send data without
  16801. having to wait for a confirmation that the stream has opened. (Patch
  16802. from Ian Goldberg; implements the server side of Proposal 174.)
  16803. - Tor now has initial support for automatic port mapping on the many
  16804. home routers that support NAT-PMP or UPnP. (Not yet supported on
  16805. Windows). To build the support code, you'll need to have libnatpnp
  16806. library and/or the libminiupnpc library, and you'll need to enable the
  16807. feature specifically by passing "--enable-upnp" and/or
  16808. "--enable-natpnp" to configure. To turn it on, use the new
  16809. PortForwarding option.
  16810. - Caches now download, cache, and serve multiple "flavors" of the
  16811. consensus, including a flavor that describes microdescriptors.
  16812. - Caches now download, cache, and serve microdescriptors -- small
  16813. summaries of router descriptors that are authenticated by all of the
  16814. directory authorities. Once enough caches are running this code,
  16815. clients will be able to save significant amounts of directory bandwidth
  16816. by downloading microdescriptors instead of router descriptors.
  16817. o Minor features:
  16818. - Make logging resolution configurable with a new LogTimeGranularity
  16819. option, and change the default from 1 millisecond to 1 second.
  16820. Implements enhancement 1668.
  16821. - We log which torrc file we're using on startup. Implements ticket
  16822. 2444.
  16823. - Ordinarily, Tor does not count traffic from private addresses (like
  16824. 127.0.0.1 or 10.0.0.1) when calculating rate limits or accounting.
  16825. There is now a new option, CountPrivateBandwidth, to disable this
  16826. behavior. Patch from Daniel Cagara.
  16827. - New --enable-static-tor configure option for building Tor as
  16828. statically as possible. Idea, general hackery and thoughts from
  16829. Alexei Czeskis, John Gilmore, Jacob Appelbaum. Implements ticket
  16830. 2702.
  16831. - If you set the NumCPUs option to 0, Tor will now try to detect how
  16832. many CPUs you have. This is the new default behavior.
  16833. - Turn on directory request statistics by default and include them in
  16834. extra-info descriptors. Don't break if we have no GeoIP database.
  16835. - Relays that set "ConnDirectionStatistics 1" write statistics on the
  16836. bidirectional use of connections to disk every 24 hours.
  16837. - Add a GeoIP file digest to the extra-info descriptor. Implements
  16838. enhancement 1883.
  16839. - The NodeFamily option -- which let you declare that you want to
  16840. consider nodes to be part of a family whether they list themselves
  16841. that way or not -- now allows IP address ranges and country codes.
  16842. - Add a new 'Heartbeat' log message type to periodically log a message
  16843. describing Tor's status at level Notice. This feature is meant for
  16844. operators who log at notice, and want to make sure that their Tor
  16845. server is still working. Implementation by George Kadianakis.
  16846. o Minor bugfixes (on 0.2.2.25-alpha):
  16847. - When loading the microdesc journal, remember its current size.
  16848. In 0.2.2, this helps prevent the microdesc journal from growing
  16849. without limit on authorities (who are the only ones to use it in
  16850. 0.2.2). Fixes a part of bug 2230; bugfix on 0.2.2.6-alpha.
  16851. Fix posted by "cypherpunks."
  16852. - The microdesc journal is supposed to get rebuilt only if it is
  16853. at least _half_ the length of the store, not _twice_ the length
  16854. of the store. Bugfix on 0.2.2.6-alpha; fixes part of bug 2230.
  16855. - If as an authority we fail to compute the identity digest of a v3
  16856. legacy keypair, warn, and don't use a buffer-full of junk instead.
  16857. Bugfix on 0.2.1.1-alpha; fixes bug 3106.
  16858. - Authorities now clean their microdesc cache periodically and when
  16859. reading from disk initially, not only when adding new descriptors.
  16860. This prevents a bug where we could lose microdescriptors. Bugfix
  16861. on 0.2.2.6-alpha.
  16862. o Minor features (controller):
  16863. - Add a new SIGNAL event to the controller interface so that
  16864. controllers can be notified when Tor handles a signal. Resolves
  16865. issue 1955. Patch by John Brooks.
  16866. - Add a new GETINFO option to get total bytes read and written. Patch
  16867. from pipe, revised by atagar. Resolves ticket 2345.
  16868. - Implement some GETINFO controller fields to provide information about
  16869. the Tor process's pid, euid, username, and resource limits.
  16870. o Build changes:
  16871. - Our build system requires automake 1.6 or later to create the
  16872. Makefile.in files. Previously, you could have used 1.4.
  16873. This only affects developers and people building Tor from git;
  16874. people who build Tor from the source distribution without changing
  16875. the Makefile.am files should be fine.
  16876. - Our autogen.sh script uses autoreconf to launch autoconf, automake, and
  16877. so on. This is more robust against some of the failure modes
  16878. associated with running the autotools pieces on their own.
  16879. o Minor packaging issues:
  16880. - On OpenSUSE, create the /var/run/tor directory on startup if it is not
  16881. already created. Patch from Andreas Stieger. Fixes bug 2573.
  16882. o Code simplifications and refactoring:
  16883. - A major revision to our internal node-selecting and listing logic.
  16884. Tor already had at least two major ways to look at the question of
  16885. "which Tor servers do we know about": a list of router descriptors,
  16886. and a list of entries in the current consensus. With
  16887. microdescriptors, we're adding a third. Having so many systems
  16888. without an abstraction layer over them was hurting the codebase.
  16889. Now, we have a new "node_t" abstraction that presents a consistent
  16890. interface to a client's view of a Tor node, and holds (nearly) all
  16891. of the mutable state formerly in routerinfo_t and routerstatus_t.
  16892. - The helper programs tor-gencert, tor-resolve, and tor-checkkey
  16893. no longer link against Libevent: they never used it, but
  16894. our library structure used to force them to link it.
  16895. o Removed features:
  16896. - Remove some old code to work around even older versions of Tor that
  16897. used forked processes to handle DNS requests. Such versions of Tor
  16898. are no longer in use as servers.
  16899. o Documentation fixes:
  16900. - Correct a broken faq link in the INSTALL file. Fixes bug 2307.
  16901. - Add missing documentation for the authority-related torrc options
  16902. RephistTrackTime, BridgePassword, and V3AuthUseLegacyKey. Resolves
  16903. issue 2379.
  16904. Changes in version 0.2.2.25-alpha - 2011-04-29
  16905. Tor 0.2.2.25-alpha fixes many bugs: hidden service clients are more
  16906. robust, routers no longer overreport their bandwidth, Win7 should crash
  16907. a little less, and NEWNYM (as used by Vidalia's "new identity" button)
  16908. now prevents hidden service-related activity from being linkable. It
  16909. provides more information to Vidalia so you can see if your bridge is
  16910. working. Also, 0.2.2.25-alpha revamps the Entry/Exit/ExcludeNodes and
  16911. StrictNodes configuration options to make them more reliable, more
  16912. understandable, and more regularly applied. If you use those options,
  16913. please see the revised documentation for them in the manual page.
  16914. o Major bugfixes:
  16915. - Relays were publishing grossly inflated bandwidth values because
  16916. they were writing their state files wrong--now they write the
  16917. correct value. Also, resume reading bandwidth history from the
  16918. state file correctly. Fixes bug 2704; bugfix on 0.2.2.23-alpha.
  16919. - Improve hidden service robustness: When we find that we have
  16920. extended a hidden service's introduction circuit to a relay not
  16921. listed as an introduction point in the HS descriptor we currently
  16922. have, retry with an introduction point from the current
  16923. descriptor. Previously we would just give up. Fixes bugs 1024 and
  16924. 1930; bugfix on 0.2.0.10-alpha.
  16925. - Clients now stop trying to use an exit node associated with a given
  16926. destination by TrackHostExits if they fail to reach that exit node.
  16927. Fixes bug 2999. Bugfix on 0.2.0.20-rc.
  16928. - Fix crash bug on platforms where gmtime and localtime can return
  16929. NULL. Windows 7 users were running into this one. Fixes part of bug
  16930. 2077. Bugfix on all versions of Tor. Found by boboper.
  16931. o Security and stability fixes:
  16932. - Don't double-free a parsable, but invalid, microdescriptor, even if
  16933. it is followed in the blob we're parsing by an unparsable
  16934. microdescriptor. Fixes an issue reported in a comment on bug 2954.
  16935. Bugfix on 0.2.2.6-alpha; fix by "cypherpunks".
  16936. - If the Nickname configuration option isn't given, Tor would pick a
  16937. nickname based on the local hostname as the nickname for a relay.
  16938. Because nicknames are not very important in today's Tor and the
  16939. "Unnamed" nickname has been implemented, this is now problematic
  16940. behavior: It leaks information about the hostname without being
  16941. useful at all. Fixes bug 2979; bugfix on 0.1.2.2-alpha, which
  16942. introduced the Unnamed nickname. Reported by tagnaq.
  16943. - Fix an uncommon assertion failure when running with DNSPort under
  16944. heavy load. Fixes bug 2933; bugfix on 0.2.0.1-alpha.
  16945. - Avoid linkability based on cached hidden service descriptors: forget
  16946. all hidden service descriptors cached as a client when processing a
  16947. SIGNAL NEWNYM command. Fixes bug 3000; bugfix on 0.0.6.
  16948. o Major features:
  16949. - Export GeoIP information on bridge usage to controllers even if we
  16950. have not yet been running for 24 hours. Now Vidalia bridge operators
  16951. can get more accurate and immediate feedback about their
  16952. contributions to the network.
  16953. o Major features and bugfixes (node selection):
  16954. - Revise and reconcile the meaning of the ExitNodes, EntryNodes,
  16955. ExcludeEntryNodes, ExcludeExitNodes, ExcludeNodes, and StrictNodes
  16956. options. Previously, we had been ambiguous in describing what
  16957. counted as an "exit" node, and what operations exactly "StrictNodes
  16958. 0" would permit. This created confusion when people saw nodes built
  16959. through unexpected circuits, and made it hard to tell real bugs from
  16960. surprises. Now the intended behavior is:
  16961. . "Exit", in the context of ExitNodes and ExcludeExitNodes, means
  16962. a node that delivers user traffic outside the Tor network.
  16963. . "Entry", in the context of EntryNodes, means a node used as the
  16964. first hop of a multihop circuit. It doesn't include direct
  16965. connections to directory servers.
  16966. . "ExcludeNodes" applies to all nodes.
  16967. . "StrictNodes" changes the behavior of ExcludeNodes only. When
  16968. StrictNodes is set, Tor should avoid all nodes listed in
  16969. ExcludeNodes, even when it will make user requests fail. When
  16970. StrictNodes is *not* set, then Tor should follow ExcludeNodes
  16971. whenever it can, except when it must use an excluded node to
  16972. perform self-tests, connect to a hidden service, provide a
  16973. hidden service, fulfill a .exit request, upload directory
  16974. information, or fetch directory information.
  16975. Collectively, the changes to implement the behavior fix bug 1090.
  16976. - ExcludeNodes now takes precedence over EntryNodes and ExitNodes: if
  16977. a node is listed in both, it's treated as excluded.
  16978. - ExcludeNodes now applies to directory nodes -- as a preference if
  16979. StrictNodes is 0, or an absolute requirement if StrictNodes is 1.
  16980. Don't exclude all the directory authorities and set StrictNodes to 1
  16981. unless you really want your Tor to break.
  16982. - ExcludeNodes and ExcludeExitNodes now override exit enclaving.
  16983. - ExcludeExitNodes now overrides .exit requests.
  16984. - We don't use bridges listed in ExcludeNodes.
  16985. - When StrictNodes is 1:
  16986. . We now apply ExcludeNodes to hidden service introduction points
  16987. and to rendezvous points selected by hidden service users. This
  16988. can make your hidden service less reliable: use it with caution!
  16989. . If we have used ExcludeNodes on ourself, do not try relay
  16990. reachability self-tests.
  16991. . If we have excluded all the directory authorities, we will not
  16992. even try to upload our descriptor if we're a relay.
  16993. . Do not honor .exit requests to an excluded node.
  16994. - Remove a misfeature that caused us to ignore the Fast/Stable flags
  16995. when ExitNodes is set. Bugfix on 0.2.2.7-alpha.
  16996. - When the set of permitted nodes changes, we now remove any mappings
  16997. introduced via TrackExitHosts to now-excluded nodes. Bugfix on
  16998. 0.1.0.1-rc.
  16999. - We never cannibalize a circuit that had excluded nodes on it, even
  17000. if StrictNodes is 0. Bugfix on 0.1.0.1-rc.
  17001. - Revert a change where we would be laxer about attaching streams to
  17002. circuits than when building the circuits. This was meant to prevent
  17003. a set of bugs where streams were never attachable, but our improved
  17004. code here should make this unnecessary. Bugfix on 0.2.2.7-alpha.
  17005. - Keep track of how many times we launch a new circuit to handle a
  17006. given stream. Too many launches could indicate an inconsistency
  17007. between our "launch a circuit to handle this stream" logic and our
  17008. "attach this stream to one of the available circuits" logic.
  17009. - Improve log messages related to excluded nodes.
  17010. o Minor bugfixes:
  17011. - Fix a spurious warning when moving from a short month to a long
  17012. month on relays with month-based BandwidthAccounting. Bugfix on
  17013. 0.2.2.17-alpha; fixes bug 3020.
  17014. - When a client finds that an origin circuit has run out of 16-bit
  17015. stream IDs, we now mark it as unusable for new streams. Previously,
  17016. we would try to close the entire circuit. Bugfix on 0.0.6.
  17017. - Add a forgotten cast that caused a compile warning on OS X 10.6.
  17018. Bugfix on 0.2.2.24-alpha.
  17019. - Be more careful about reporting the correct error from a failed
  17020. connect() system call. Under some circumstances, it was possible to
  17021. look at an incorrect value for errno when sending the end reason.
  17022. Bugfix on 0.1.0.1-rc.
  17023. - Correctly handle an "impossible" overflow cases in connection byte
  17024. counting, where we write or read more than 4GB on an edge connection
  17025. in a single second. Bugfix on 0.1.2.8-beta.
  17026. - Correct the warning displayed when a rendezvous descriptor exceeds
  17027. the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found by
  17028. John Brooks.
  17029. - Clients and hidden services now use HSDir-flagged relays for hidden
  17030. service descriptor downloads and uploads even if the relays have no
  17031. DirPort set and the client has disabled TunnelDirConns. This will
  17032. eventually allow us to give the HSDir flag to relays with no
  17033. DirPort. Fixes bug 2722; bugfix on 0.2.1.6-alpha.
  17034. - Downgrade "no current certificates known for authority" message from
  17035. Notice to Info. Fixes bug 2899; bugfix on 0.2.0.10-alpha.
  17036. - Make the SIGNAL DUMP control-port command work on FreeBSD. Fixes bug
  17037. 2917. Bugfix on 0.1.1.1-alpha.
  17038. - Only limit the lengths of single HS descriptors, even when multiple
  17039. HS descriptors are published to an HSDir relay in a single POST
  17040. operation. Fixes bug 2948; bugfix on 0.2.1.5-alpha. Found by hsdir.
  17041. - Write the current time into the LastWritten line in our state file,
  17042. rather than the time from the previous write attempt. Also, stop
  17043. trying to use a time of -1 in our log statements. Fixes bug 3039;
  17044. bugfix on 0.2.2.14-alpha.
  17045. - Be more consistent in our treatment of file system paths. "~" should
  17046. get expanded to the user's home directory in the Log config option.
  17047. Fixes bug 2971; bugfix on 0.2.0.1-alpha, which introduced the
  17048. feature for the -f and --DataDirectory options.
  17049. o Minor features:
  17050. - Make sure every relay writes a state file at least every 12 hours.
  17051. Previously, a relay could go for weeks without writing its state
  17052. file, and on a crash could lose its bandwidth history, capacity
  17053. estimates, client country statistics, and so on. Addresses bug 3012.
  17054. - Send END_STREAM_REASON_NOROUTE in response to EHOSTUNREACH errors.
  17055. Clients before 0.2.1.27 didn't handle NOROUTE correctly, but such
  17056. clients are already deprecated because of security bugs.
  17057. - Don't allow v0 hidden service authorities to act as clients.
  17058. Required by fix for bug 3000.
  17059. - Ignore SIGNAL NEWNYM commands on relay-only Tor instances. Required
  17060. by fix for bug 3000.
  17061. - Ensure that no empty [dirreq-](read|write)-history lines are added
  17062. to an extrainfo document. Implements ticket 2497.
  17063. o Code simplification and refactoring:
  17064. - Remove workaround code to handle directory responses from servers
  17065. that had bug 539 (they would send HTTP status 503 responses _and_
  17066. send a body too). Since only server versions before
  17067. 0.2.0.16-alpha/0.1.2.19 were affected, there is no longer reason to
  17068. keep the workaround in place.
  17069. - Remove the old 'fuzzy time' logic. It was supposed to be used for
  17070. handling calculations where we have a known amount of clock skew and
  17071. an allowed amount of unknown skew. But we only used it in three
  17072. places, and we never adjusted the known/unknown skew values. This is
  17073. still something we might want to do someday, but if we do, we'll
  17074. want to do it differently.
  17075. - Avoid signed/unsigned comparisons by making SIZE_T_CEILING unsigned.
  17076. None of the cases where we did this before were wrong, but by making
  17077. this change we avoid warnings. Fixes bug 2475; bugfix on 0.2.1.28.
  17078. - Use GetTempDir to find the proper temporary directory location on
  17079. Windows when generating temporary files for the unit tests. Patch by
  17080. Gisle Vanem.
  17081. Changes in version 0.2.2.24-alpha - 2011-04-08
  17082. Tor 0.2.2.24-alpha fixes a variety of bugs, including a big bug that
  17083. prevented Tor clients from effectively using "multihomed" bridges,
  17084. that is, bridges that listen on multiple ports or IP addresses so users
  17085. can continue to use some of their addresses even if others get blocked.
  17086. o Major bugfixes:
  17087. - Fix a bug where bridge users who configure the non-canonical
  17088. address of a bridge automatically switch to its canonical
  17089. address. If a bridge listens at more than one address, it should be
  17090. able to advertise those addresses independently and any non-blocked
  17091. addresses should continue to work. Bugfix on Tor 0.2.0.x. Fixes
  17092. bug 2510.
  17093. - If you configured Tor to use bridge A, and then quit and
  17094. configured Tor to use bridge B instead, it would happily continue
  17095. to use bridge A if it's still reachable. While this behavior is
  17096. a feature if your goal is connectivity, in some scenarios it's a
  17097. dangerous bug. Bugfix on Tor 0.2.0.1-alpha; fixes bug 2511.
  17098. - Directory authorities now use data collected from their own
  17099. uptime observations when choosing whether to assign the HSDir flag
  17100. to relays, instead of trusting the uptime value the relay reports in
  17101. its descriptor. This change helps prevent an attack where a small
  17102. set of nodes with frequently-changing identity keys can blackhole
  17103. a hidden service. (Only authorities need upgrade; others will be
  17104. fine once they do.) Bugfix on 0.2.0.10-alpha; fixes bug 2709.
  17105. o Minor bugfixes:
  17106. - When we restart our relay, we might get a successful connection
  17107. from the outside before we've started our reachability tests,
  17108. triggering a warning: "ORPort found reachable, but I have no
  17109. routerinfo yet. Failing to inform controller of success." This
  17110. bug was harmless unless Tor is running under a controller
  17111. like Vidalia, in which case the controller would never get a
  17112. REACHABILITY_SUCCEEDED status event. Bugfix on 0.1.2.6-alpha;
  17113. fixes bug 1172.
  17114. - Make directory authorities more accurate at recording when
  17115. relays that have failed several reachability tests became
  17116. unreachable, so we can provide more accuracy at assigning Stable,
  17117. Guard, HSDir, etc flags. Bugfix on 0.2.0.6-alpha. Resolves bug 2716.
  17118. - Fix an issue that prevented static linking of libevent on
  17119. some platforms (notably Linux). Fixes bug 2698; bugfix on
  17120. versions 0.2.1.23/0.2.2.8-alpha (the versions introducing
  17121. the --with-static-libevent configure option).
  17122. - We now ask the other side of a stream (the client or the exit)
  17123. for more data on that stream when the amount of queued data on
  17124. that stream dips low enough. Previously, we wouldn't ask the
  17125. other side for more data until either it sent us more data (which
  17126. it wasn't supposed to do if it had exhausted its window!) or we
  17127. had completely flushed all our queued data. This flow control fix
  17128. should improve throughput. Fixes bug 2756; bugfix on the earliest
  17129. released versions of Tor (svn commit r152).
  17130. - Avoid a double-mark-for-free warning when failing to attach a
  17131. transparent proxy connection. (We thought we had fixed this in
  17132. 0.2.2.23-alpha, but it turns out our fix was checking the wrong
  17133. connection.) Fixes bug 2757; bugfix on 0.1.2.1-alpha (the original
  17134. bug) and 0.2.2.23-alpha (the incorrect fix).
  17135. - When warning about missing zlib development packages during compile,
  17136. give the correct package names. Bugfix on 0.2.0.1-alpha.
  17137. o Minor features:
  17138. - Directory authorities now log the source of a rejected POSTed v3
  17139. networkstatus vote.
  17140. - Make compilation with clang possible when using
  17141. --enable-gcc-warnings by removing two warning options that clang
  17142. hasn't implemented yet and by fixing a few warnings. Implements
  17143. ticket 2696.
  17144. - When expiring circuits, use microsecond timers rather than
  17145. one-second timers. This can avoid an unpleasant situation where a
  17146. circuit is launched near the end of one second and expired right
  17147. near the beginning of the next, and prevent fluctuations in circuit
  17148. timeout values.
  17149. - Use computed circuit-build timeouts to decide when to launch
  17150. parallel introduction circuits for hidden services. (Previously,
  17151. we would retry after 15 seconds.)
  17152. - Update to the April 1 2011 Maxmind GeoLite Country database.
  17153. o Packaging fixes:
  17154. - Create the /var/run/tor directory on startup on OpenSUSE if it is
  17155. not already created. Patch from Andreas Stieger. Fixes bug 2573.
  17156. o Documentation changes:
  17157. - Modernize the doxygen configuration file slightly. Fixes bug 2707.
  17158. - Resolve all doxygen warnings except those for missing documentation.
  17159. Fixes bug 2705.
  17160. - Add doxygen documentation for more functions, fields, and types.
  17161. Changes in version 0.2.2.23-alpha - 2011-03-08
  17162. Tor 0.2.2.23-alpha lets relays record their bandwidth history so when
  17163. they restart they don't lose their bandwidth capacity estimate. This
  17164. release also fixes a diverse set of user-facing bugs, ranging from
  17165. relays overrunning their rate limiting to clients falsely warning about
  17166. clock skew to bridge descriptor leaks by our bridge directory authority.
  17167. o Major bugfixes:
  17168. - Stop sending a CLOCK_SKEW controller status event whenever
  17169. we fetch directory information from a relay that has a wrong clock.
  17170. Instead, only inform the controller when it's a trusted authority
  17171. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  17172. the rest of bug 1074.
  17173. - Fix an assert in parsing router descriptors containing IPv6
  17174. addresses. This one took down the directory authorities when
  17175. somebody tried some experimental code. Bugfix on 0.2.1.3-alpha.
  17176. - Make the bridge directory authority refuse to answer directory
  17177. requests for "all" descriptors. It used to include bridge
  17178. descriptors in its answer, which was a major information leak.
  17179. Found by "piebeer". Bugfix on 0.2.0.3-alpha.
  17180. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  17181. Tor would ignore their RelayBandwidthBurst setting,
  17182. potentially using more bandwidth than expected. Bugfix on
  17183. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  17184. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  17185. hidserv" in her torrc. The 'hidserv' argument never controlled
  17186. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  17187. o Major features:
  17188. - Relays now save observed peak bandwidth throughput rates to their
  17189. state file (along with total usage, which was already saved)
  17190. so that they can determine their correct estimated bandwidth on
  17191. restart. Resolves bug 1863, where Tor relays would reset their
  17192. estimated bandwidth to 0 after restarting.
  17193. - Directory authorities now take changes in router IP address and
  17194. ORPort into account when determining router stability. Previously,
  17195. if a router changed its IP or ORPort, the authorities would not
  17196. treat it as having any downtime for the purposes of stability
  17197. calculation, whereas clients would experience downtime since the
  17198. change could take a while to propagate to them. Resolves issue 1035.
  17199. - Enable Address Space Layout Randomization (ASLR) and Data Execution
  17200. Prevention (DEP) by default on Windows to make it harder for
  17201. attackers to exploit vulnerabilities. Patch from John Brooks.
  17202. o Minor bugfixes (on 0.2.1.x and earlier):
  17203. - Fix a rare crash bug that could occur when a client was configured
  17204. with a large number of bridges. Fixes bug 2629; bugfix on
  17205. 0.2.1.2-alpha. Bugfix by trac user "shitlei".
  17206. - Avoid a double mark-for-free warning when failing to attach a
  17207. transparent proxy connection. Bugfix on 0.1.2.1-alpha. Fixes
  17208. bug 2279.
  17209. - Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
  17210. found by "cypherpunks". This bug was introduced before the first
  17211. Tor release, in svn commit r110.
  17212. - Country codes aren't supported in EntryNodes until 0.2.3.x, so
  17213. don't mention them in the manpage. Fixes bug 2450; issue
  17214. spotted by keb and G-Lo.
  17215. - Fix a bug in bandwidth history state parsing that could have been
  17216. triggered if a future version of Tor ever changed the timing
  17217. granularity at which bandwidth history is measured. Bugfix on
  17218. Tor 0.1.1.11-alpha.
  17219. - When a relay decides that its DNS is too broken for it to serve
  17220. as an exit server, it advertised itself as a non-exit, but
  17221. continued to act as an exit. This could create accidental
  17222. partitioning opportunities for users. Instead, if a relay is
  17223. going to advertise reject *:* as its exit policy, it should
  17224. really act with exit policy "reject *:*". Fixes bug 2366.
  17225. Bugfix on Tor 0.1.2.5-alpha. Bugfix by user "postman" on trac.
  17226. - In the special case where you configure a public exit relay as your
  17227. bridge, Tor would be willing to use that exit relay as the last
  17228. hop in your circuit as well. Now we fail that circuit instead.
  17229. Bugfix on 0.2.0.12-alpha. Fixes bug 2403. Reported by "piebeer".
  17230. - Fix a bug with our locking implementation on Windows that couldn't
  17231. correctly detect when a file was already locked. Fixes bug 2504,
  17232. bugfix on 0.2.1.6-alpha.
  17233. - Fix IPv6-related connect() failures on some platforms (BSD, OS X).
  17234. Bugfix on 0.2.0.3-alpha; fixes first part of bug 2660. Patch by
  17235. "piebeer".
  17236. - Set target port in get_interface_address6() correctly. Bugfix
  17237. on 0.1.1.4-alpha and 0.2.0.3-alpha; fixes second part of bug 2660.
  17238. - Directory authorities are now more robust to hops back in time
  17239. when calculating router stability. Previously, if a run of uptime
  17240. or downtime appeared to be negative, the calculation could give
  17241. incorrect results. Bugfix on 0.2.0.6-alpha; noticed when fixing
  17242. bug 1035.
  17243. - Fix an assert that got triggered when using the TestingTorNetwork
  17244. configuration option and then issuing a GETINFO config-text control
  17245. command. Fixes bug 2250; bugfix on 0.2.1.2-alpha.
  17246. o Minor bugfixes (on 0.2.2.x):
  17247. - Clients should not weight BadExit nodes as Exits in their node
  17248. selection. Similarly, directory authorities should not count BadExit
  17249. bandwidth as Exit bandwidth when computing bandwidth-weights.
  17250. Bugfix on 0.2.2.10-alpha; fixes bug 2203.
  17251. - Correctly clear our dir_read/dir_write history when there is an
  17252. error parsing any bw history value from the state file. Bugfix on
  17253. Tor 0.2.2.15-alpha.
  17254. - Resolve a bug in verifying signatures of directory objects
  17255. with digests longer than SHA1. Bugfix on 0.2.2.20-alpha.
  17256. Fixes bug 2409. Found by "piebeer".
  17257. - Bridge authorities no longer crash on SIGHUP when they try to
  17258. publish their relay descriptor to themselves. Fixes bug 2572. Bugfix
  17259. on 0.2.2.22-alpha.
  17260. o Minor features:
  17261. - Log less aggressively about circuit timeout changes, and improve
  17262. some other circuit timeout messages. Resolves bug 2004.
  17263. - Log a little more clearly about the times at which we're no longer
  17264. accepting new connections. Resolves bug 2181.
  17265. - Reject attempts at the client side to open connections to private
  17266. IP addresses (like 127.0.0.1, 10.0.0.1, and so on) with
  17267. a randomly chosen exit node. Attempts to do so are always
  17268. ill-defined, generally prevented by exit policies, and usually
  17269. in error. This will also help to detect loops in transparent
  17270. proxy configurations. You can disable this feature by setting
  17271. "ClientRejectInternalAddresses 0" in your torrc.
  17272. - Always treat failure to allocate an RSA key as an unrecoverable
  17273. allocation error.
  17274. - Update to the March 1 2011 Maxmind GeoLite Country database.
  17275. o Minor features (log subsystem):
  17276. - Add documentation for configuring logging at different severities in
  17277. different log domains. We've had this feature since 0.2.1.1-alpha,
  17278. but for some reason it never made it into the manpage. Fixes
  17279. bug 2215.
  17280. - Make it simpler to specify "All log domains except for A and B".
  17281. Previously you needed to say "[*,~A,~B]". Now you can just say
  17282. "[~A,~B]".
  17283. - Add a "LogMessageDomains 1" option to include the domains of log
  17284. messages along with the messages. Without this, there's no way
  17285. to use log domains without reading the source or doing a lot
  17286. of guessing.
  17287. o Packaging changes:
  17288. - Stop shipping the Tor specs files and development proposal documents
  17289. in the tarball. They are now in a separate git repository at
  17290. git://git.torproject.org/torspec.git
  17291. Changes in version 0.2.1.30 - 2011-02-23
  17292. Tor 0.2.1.30 fixes a variety of less critical bugs. The main other
  17293. change is a slight tweak to Tor's TLS handshake that makes relays
  17294. and bridges that run this new version reachable from Iran again.
  17295. We don't expect this tweak will win the arms race long-term, but it
  17296. buys us time until we roll out a better solution.
  17297. o Major bugfixes:
  17298. - Stop sending a CLOCK_SKEW controller status event whenever
  17299. we fetch directory information from a relay that has a wrong clock.
  17300. Instead, only inform the controller when it's a trusted authority
  17301. that claims our clock is wrong. Bugfix on 0.1.2.6-alpha; fixes
  17302. the rest of bug 1074.
  17303. - Fix a bounds-checking error that could allow an attacker to
  17304. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  17305. Found by "piebeer".
  17306. - If relays set RelayBandwidthBurst but not RelayBandwidthRate,
  17307. Tor would ignore their RelayBandwidthBurst setting,
  17308. potentially using more bandwidth than expected. Bugfix on
  17309. 0.2.0.1-alpha. Reported by Paul Wouters. Fixes bug 2470.
  17310. - Ignore and warn if the user mistakenly sets "PublishServerDescriptor
  17311. hidserv" in her torrc. The 'hidserv' argument never controlled
  17312. publication of hidden service descriptors. Bugfix on 0.2.0.1-alpha.
  17313. o Minor features:
  17314. - Adjust our TLS Diffie-Hellman parameters to match those used by
  17315. Apache's mod_ssl.
  17316. - Update to the February 1 2011 Maxmind GeoLite Country database.
  17317. o Minor bugfixes:
  17318. - Check for and reject overly long directory certificates and
  17319. directory tokens before they have a chance to hit any assertions.
  17320. Bugfix on 0.2.1.28. Found by "doorss".
  17321. - Bring the logic that gathers routerinfos and assesses the
  17322. acceptability of circuits into line. This prevents a Tor OP from
  17323. getting locked in a cycle of choosing its local OR as an exit for a
  17324. path (due to a .exit request) and then rejecting the circuit because
  17325. its OR is not listed yet. It also prevents Tor clients from using an
  17326. OR running in the same instance as an exit (due to a .exit request)
  17327. if the OR does not meet the same requirements expected of an OR
  17328. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  17329. o Packaging changes:
  17330. - Stop shipping the Tor specs files and development proposal documents
  17331. in the tarball. They are now in a separate git repository at
  17332. git://git.torproject.org/torspec.git
  17333. - Do not include Git version tags as though they are SVN tags when
  17334. generating a tarball from inside a repository that has switched
  17335. between branches. Bugfix on 0.2.1.15-rc; fixes bug 2402.
  17336. Changes in version 0.2.2.22-alpha - 2011-01-25
  17337. Tor 0.2.2.22-alpha fixes a few more less-critical security issues. The
  17338. main other change is a slight tweak to Tor's TLS handshake that makes
  17339. relays and bridges that run this new version reachable from Iran again.
  17340. We don't expect this tweak will win the arms race long-term, but it
  17341. will buy us a bit more time until we roll out a better solution.
  17342. o Major bugfixes:
  17343. - Fix a bounds-checking error that could allow an attacker to
  17344. remotely crash a directory authority. Bugfix on 0.2.1.5-alpha.
  17345. Found by "piebeer".
  17346. - Don't assert when changing from bridge to relay or vice versa
  17347. via the controller. The assert happened because we didn't properly
  17348. initialize our keys in this case. Bugfix on 0.2.2.18-alpha; fixes
  17349. bug 2433. Reported by bastik.
  17350. o Minor features:
  17351. - Adjust our TLS Diffie-Hellman parameters to match those used by
  17352. Apache's mod_ssl.
  17353. - Provide a log message stating which geoip file we're parsing
  17354. instead of just stating that we're parsing the geoip file.
  17355. Implements ticket 2432.
  17356. o Minor bugfixes:
  17357. - Check for and reject overly long directory certificates and
  17358. directory tokens before they have a chance to hit any assertions.
  17359. Bugfix on 0.2.1.28 / 0.2.2.20-alpha. Found by "doorss".
  17360. Changes in version 0.2.2.21-alpha - 2011-01-15
  17361. Tor 0.2.2.21-alpha includes all the patches from Tor 0.2.1.29, which
  17362. continues our recent code security audit work. The main fix resolves
  17363. a remote heap overflow vulnerability that can allow remote code
  17364. execution (CVE-2011-0427). Other fixes address a variety of assert
  17365. and crash bugs, most of which we think are hard to exploit remotely.
  17366. o Major bugfixes (security), also included in 0.2.1.29:
  17367. - Fix a heap overflow bug where an adversary could cause heap
  17368. corruption. This bug probably allows remote code execution
  17369. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  17370. 0.1.2.10-rc.
  17371. - Prevent a denial-of-service attack by disallowing any
  17372. zlib-compressed data whose compression factor is implausibly
  17373. high. Fixes part of bug 2324; reported by "doorss".
  17374. - Zero out a few more keys in memory before freeing them. Fixes
  17375. bug 2384 and part of bug 2385. These key instances found by
  17376. "cypherpunks", based on Andrew Case's report about being able
  17377. to find sensitive data in Tor's memory space if you have enough
  17378. permissions. Bugfix on 0.0.2pre9.
  17379. o Major bugfixes (crashes), also included in 0.2.1.29:
  17380. - Prevent calls to Libevent from inside Libevent log handlers.
  17381. This had potential to cause a nasty set of crashes, especially
  17382. if running Libevent with debug logging enabled, and running
  17383. Tor with a controller watching for low-severity log messages.
  17384. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  17385. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  17386. underflow errors there too. Fixes the other part of bug 2324.
  17387. - Fix a bug where we would assert if we ever had a
  17388. cached-descriptors.new file (or another file read directly into
  17389. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  17390. on 0.2.1.25. Found by doorss.
  17391. - Fix some potential asserts and parsing issues with grossly
  17392. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  17393. Found by doorss.
  17394. o Minor bugfixes (other), also included in 0.2.1.29:
  17395. - Fix a bug with handling misformed replies to reverse DNS lookup
  17396. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  17397. bug reported by doorss.
  17398. - Fix compilation on mingw when a pthreads compatibility library
  17399. has been installed. (We don't want to use it, so we shouldn't
  17400. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  17401. - Fix a bug where we would declare that we had run out of virtual
  17402. addresses when the address space was only half-exhausted. Bugfix
  17403. on 0.1.2.1-alpha.
  17404. - Correctly handle the case where AutomapHostsOnResolve is set but
  17405. no virtual addresses are available. Fixes bug 2328; bugfix on
  17406. 0.1.2.1-alpha. Bug found by doorss.
  17407. - Correctly handle wrapping around when we run out of virtual
  17408. address space. Found by cypherpunks; bugfix on 0.2.0.5-alpha.
  17409. o Minor features, also included in 0.2.1.29:
  17410. - Update to the January 1 2011 Maxmind GeoLite Country database.
  17411. - Introduce output size checks on all of our decryption functions.
  17412. o Build changes, also included in 0.2.1.29:
  17413. - Tor does not build packages correctly with Automake 1.6 and earlier;
  17414. added a check to Makefile.am to make sure that we're building with
  17415. Automake 1.7 or later.
  17416. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  17417. because we built it with a too-old version of automake. Thus that
  17418. release broke ./configure --enable-openbsd-malloc, which is popular
  17419. among really fast exit relays on Linux.
  17420. o Major bugfixes, new in 0.2.2.21-alpha:
  17421. - Prevent crash/heap corruption when the cbtnummodes consensus
  17422. parameter is set to 0 or large values. Fixes bug 2317; bugfix
  17423. on 0.2.2.14-alpha.
  17424. o Major features, new in 0.2.2.21-alpha:
  17425. - Introduce minimum/maximum values that clients will believe
  17426. from the consensus. Now we'll have a better chance to avoid crashes
  17427. or worse when a consensus param has a weird value.
  17428. o Minor features, new in 0.2.2.21-alpha:
  17429. - Make sure to disable DirPort if running as a bridge. DirPorts aren't
  17430. used on bridges, and it makes bridge scanning somewhat easier.
  17431. - If writing the state file to disk fails, wait up to an hour before
  17432. retrying again, rather than trying again each second. Fixes bug
  17433. 2346; bugfix on Tor 0.1.1.3-alpha.
  17434. - Make Libevent log messages get delivered to controllers later,
  17435. and not from inside the Libevent log handler. This prevents unsafe
  17436. reentrant Libevent calls while still letting the log messages
  17437. get through.
  17438. - Detect platforms that brokenly use a signed size_t, and refuse to
  17439. build there. Found and analyzed by doorss and rransom.
  17440. - Fix a bunch of compile warnings revealed by mingw with gcc 4.5.
  17441. Resolves bug 2314.
  17442. o Minor bugfixes, new in 0.2.2.21-alpha:
  17443. - Handle SOCKS messages longer than 128 bytes long correctly, rather
  17444. than waiting forever for them to finish. Fixes bug 2330; bugfix
  17445. on 0.2.0.16-alpha. Found by doorss.
  17446. - Add assertions to check for overflow in arguments to
  17447. base32_encode() and base32_decode(); fix a signed-unsigned
  17448. comparison there too. These bugs are not actually reachable in Tor,
  17449. but it's good to prevent future errors too. Found by doorss.
  17450. - Correctly detect failures to create DNS requests when using Libevent
  17451. versions before v2. (Before Libevent 2, we used our own evdns
  17452. implementation. Its return values for Libevent's evdns_resolve_*()
  17453. functions are not consistent with those from Libevent.) Fixes bug
  17454. 2363; bugfix on 0.2.2.6-alpha. Found by "lodger".
  17455. o Documentation, new in 0.2.2.21-alpha:
  17456. - Document the default socks host and port (127.0.0.1:9050) for
  17457. tor-resolve.
  17458. Changes in version 0.2.1.29 - 2011-01-15
  17459. Tor 0.2.1.29 continues our recent code security audit work. The main
  17460. fix resolves a remote heap overflow vulnerability that can allow remote
  17461. code execution. Other fixes address a variety of assert and crash bugs,
  17462. most of which we think are hard to exploit remotely.
  17463. o Major bugfixes (security):
  17464. - Fix a heap overflow bug where an adversary could cause heap
  17465. corruption. This bug probably allows remote code execution
  17466. attacks. Reported by "debuger". Fixes CVE-2011-0427. Bugfix on
  17467. 0.1.2.10-rc.
  17468. - Prevent a denial-of-service attack by disallowing any
  17469. zlib-compressed data whose compression factor is implausibly
  17470. high. Fixes part of bug 2324; reported by "doorss".
  17471. - Zero out a few more keys in memory before freeing them. Fixes
  17472. bug 2384 and part of bug 2385. These key instances found by
  17473. "cypherpunks", based on Andrew Case's report about being able
  17474. to find sensitive data in Tor's memory space if you have enough
  17475. permissions. Bugfix on 0.0.2pre9.
  17476. o Major bugfixes (crashes):
  17477. - Prevent calls to Libevent from inside Libevent log handlers.
  17478. This had potential to cause a nasty set of crashes, especially
  17479. if running Libevent with debug logging enabled, and running
  17480. Tor with a controller watching for low-severity log messages.
  17481. Bugfix on 0.1.0.2-rc. Fixes bug 2190.
  17482. - Add a check for SIZE_T_MAX to tor_realloc() to try to avoid
  17483. underflow errors there too. Fixes the other part of bug 2324.
  17484. - Fix a bug where we would assert if we ever had a
  17485. cached-descriptors.new file (or another file read directly into
  17486. memory) of exactly SIZE_T_CEILING bytes. Fixes bug 2326; bugfix
  17487. on 0.2.1.25. Found by doorss.
  17488. - Fix some potential asserts and parsing issues with grossly
  17489. malformed router caches. Fixes bug 2352; bugfix on Tor 0.2.1.27.
  17490. Found by doorss.
  17491. o Minor bugfixes (other):
  17492. - Fix a bug with handling misformed replies to reverse DNS lookup
  17493. requests in DNSPort. Bugfix on Tor 0.2.0.1-alpha. Related to a
  17494. bug reported by doorss.
  17495. - Fix compilation on mingw when a pthreads compatibility library
  17496. has been installed. (We don't want to use it, so we shouldn't
  17497. be including pthread.h.) Fixes bug 2313; bugfix on 0.1.0.1-rc.
  17498. - Fix a bug where we would declare that we had run out of virtual
  17499. addresses when the address space was only half-exhausted. Bugfix
  17500. on 0.1.2.1-alpha.
  17501. - Correctly handle the case where AutomapHostsOnResolve is set but
  17502. no virtual addresses are available. Fixes bug 2328; bugfix on
  17503. 0.1.2.1-alpha. Bug found by doorss.
  17504. - Correctly handle wrapping around to when we run out of virtual
  17505. address space. Found by cypherpunks, bugfix on 0.2.0.5-alpha.
  17506. - The 0.2.1.28 tarball was missing src/common/OpenBSD_malloc_Linux.c
  17507. because we built it with a too-old version of automake. Thus that
  17508. release broke ./configure --enable-openbsd-malloc, which is popular
  17509. among really fast exit relays on Linux.
  17510. o Minor features:
  17511. - Update to the January 1 2011 Maxmind GeoLite Country database.
  17512. - Introduce output size checks on all of our decryption functions.
  17513. o Build changes:
  17514. - Tor does not build packages correctly with Automake 1.6 and earlier;
  17515. added a check to Makefile.am to make sure that we're building with
  17516. Automake 1.7 or later.
  17517. Changes in version 0.2.2.20-alpha - 2010-12-17
  17518. Tor 0.2.2.20-alpha does some code cleanup to reduce the risk of remotely
  17519. exploitable bugs. We also fix a variety of other significant bugs,
  17520. change the IP address for one of our directory authorities, and update
  17521. the minimum version that Tor relays must run to join the network.
  17522. o Major bugfixes:
  17523. - Fix a remotely exploitable bug that could be used to crash instances
  17524. of Tor remotely by overflowing on the heap. Remote-code execution
  17525. hasn't been confirmed, but can't be ruled out. Everyone should
  17526. upgrade. Bugfix on the 0.1.1 series and later.
  17527. - Fix a bug that could break accounting on 64-bit systems with large
  17528. time_t values, making them hibernate for impossibly long intervals.
  17529. Fixes bug 2146. Bugfix on 0.0.9pre6; fix by boboper.
  17530. - Fix a logic error in directory_fetches_from_authorities() that
  17531. would cause all _non_-exits refusing single-hop-like circuits
  17532. to fetch from authorities, when we wanted to have _exits_ fetch
  17533. from authorities. Fixes more of 2097. Bugfix on 0.2.2.16-alpha;
  17534. fix by boboper.
  17535. - Fix a stream fairness bug that would cause newer streams on a given
  17536. circuit to get preference when reading bytes from the origin or
  17537. destination. Fixes bug 2210. Fix by Mashael AlSabah. This bug was
  17538. introduced before the first Tor release, in svn revision r152.
  17539. o Directory authority changes:
  17540. - Change IP address and ports for gabelmoo (v3 directory authority).
  17541. o Minor bugfixes:
  17542. - Avoid crashes when AccountingMax is set on clients. Fixes bug 2235.
  17543. Bugfix on 0.2.2.18-alpha. Diagnosed by boboper.
  17544. - Fix an off-by-one error in calculating some controller command
  17545. argument lengths. Fortunately, this mistake is harmless since
  17546. the controller code does redundant NUL termination too. Found by
  17547. boboper. Bugfix on 0.1.1.1-alpha.
  17548. - Do not dereference NULL if a bridge fails to build its
  17549. extra-info descriptor. Found by an anonymous commenter on
  17550. Trac. Bugfix on 0.2.2.19-alpha.
  17551. o Minor features:
  17552. - Update to the December 1 2010 Maxmind GeoLite Country database.
  17553. - Directory authorities now reject relays running any versions of
  17554. Tor between 0.2.1.3-alpha and 0.2.1.18 inclusive; they have
  17555. known bugs that keep RELAY_EARLY cells from working on rendezvous
  17556. circuits. Followup to fix for bug 2081.
  17557. - Directory authorities now reject relays running any version of Tor
  17558. older than 0.2.0.26-rc. That version is the earliest that fetches
  17559. current directory information correctly. Fixes bug 2156.
  17560. - Report only the top 10 ports in exit-port stats in order not to
  17561. exceed the maximum extra-info descriptor length of 50 KB. Implements
  17562. task 2196.
  17563. Changes in version 0.2.1.28 - 2010-12-17
  17564. Tor 0.2.1.28 does some code cleanup to reduce the risk of remotely
  17565. exploitable bugs. We also took this opportunity to change the IP address
  17566. for one of our directory authorities, and to update the geoip database
  17567. we ship.
  17568. o Major bugfixes:
  17569. - Fix a remotely exploitable bug that could be used to crash instances
  17570. of Tor remotely by overflowing on the heap. Remote-code execution
  17571. hasn't been confirmed, but can't be ruled out. Everyone should
  17572. upgrade. Bugfix on the 0.1.1 series and later.
  17573. o Directory authority changes:
  17574. - Change IP address and ports for gabelmoo (v3 directory authority).
  17575. o Minor features:
  17576. - Update to the December 1 2010 Maxmind GeoLite Country database.
  17577. Changes in version 0.2.1.27 - 2010-11-23
  17578. Yet another OpenSSL security patch broke its compatibility with Tor:
  17579. Tor 0.2.1.27 makes relays work with openssl 0.9.8p and 1.0.0.b. We
  17580. also took this opportunity to fix several crash bugs, integrate a new
  17581. directory authority, and update the bundled GeoIP database.
  17582. o Major bugfixes:
  17583. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  17584. No longer set the tlsext_host_name extension on server SSL objects;
  17585. but continue to set it on client SSL objects. Our goal in setting
  17586. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  17587. bugfix on 0.2.1.1-alpha.
  17588. - Do not log messages to the controller while shrinking buffer
  17589. freelists. Doing so would sometimes make the controller connection
  17590. try to allocate a buffer chunk, which would mess up the internals
  17591. of the freelist and cause an assertion failure. Fixes bug 1125;
  17592. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  17593. - Learn our external IP address when we're a relay or bridge, even if
  17594. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  17595. where we introduced bridge relays that don't need to publish to
  17596. be useful. Fixes bug 2050.
  17597. - Do even more to reject (and not just ignore) annotations on
  17598. router descriptors received anywhere but from the cache. Previously
  17599. we would ignore such annotations at first, but cache them to disk
  17600. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  17601. - When you're using bridges and your network goes away and your
  17602. bridges get marked as down, recover when you attempt a new socks
  17603. connection (if the network is back), rather than waiting up to an
  17604. hour to try fetching new descriptors for your bridges. Bugfix on
  17605. 0.2.0.3-alpha; fixes bug 1981.
  17606. o Major features:
  17607. - Move to the November 2010 Maxmind GeoLite country db (rather
  17608. than the June 2009 ip-to-country GeoIP db) for our statistics that
  17609. count how many users relays are seeing from each country. Now we'll
  17610. have more accurate data, especially for many African countries.
  17611. o New directory authorities:
  17612. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  17613. authority.
  17614. o Minor bugfixes:
  17615. - Fix an assertion failure that could occur in directory caches or
  17616. bridge users when using a very short voting interval on a testing
  17617. network. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on
  17618. 0.2.0.8-alpha.
  17619. - Enforce multiplicity rules when parsing annotations. Bugfix on
  17620. 0.2.0.8-alpha. Found by piebeer.
  17621. - Allow handshaking OR connections to take a full KeepalivePeriod
  17622. seconds to handshake. Previously, we would close them after
  17623. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  17624. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  17625. for analysis help.
  17626. - When building with --enable-gcc-warnings on OpenBSD, disable
  17627. warnings in system headers. This makes --enable-gcc-warnings
  17628. pass on OpenBSD 4.8.
  17629. o Minor features:
  17630. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  17631. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  17632. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  17633. Servers can start sending this code when enough clients recognize
  17634. it. Bugfix on 0.1.0.1-rc; fixes part of bug 1793.
  17635. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  17636. Patch from mingw-san.
  17637. o Removed files:
  17638. - Remove the old debian/ directory from the main Tor distribution.
  17639. The official Tor-for-debian git repository lives at the URL
  17640. https://git.torproject.org/debian/tor.git
  17641. - Stop shipping the old doc/website/ directory in the tarball. We
  17642. changed the website format in late 2010, and what we shipped in
  17643. 0.2.1.26 really wasn't that useful anyway.
  17644. Changes in version 0.2.2.19-alpha - 2010-11-22
  17645. Yet another OpenSSL security patch broke its compatibility with Tor:
  17646. Tor 0.2.2.19-alpha makes relays work with OpenSSL 0.9.8p and 1.0.0.b.
  17647. o Major bugfixes:
  17648. - Resolve an incompatibility with OpenSSL 0.9.8p and OpenSSL 1.0.0b:
  17649. No longer set the tlsext_host_name extension on server SSL objects;
  17650. but continue to set it on client SSL objects. Our goal in setting
  17651. it was to imitate a browser, not a vhosting server. Fixes bug 2204;
  17652. bugfix on 0.2.1.1-alpha.
  17653. o Minor bugfixes:
  17654. - Try harder not to exceed the maximum length of 50 KB when writing
  17655. statistics to extra-info descriptors. This bug was triggered by very
  17656. fast relays reporting exit-port, entry, and dirreq statistics.
  17657. Reported by Olaf Selke. Bugfix on 0.2.2.1-alpha. Fixes bug 2183.
  17658. - Publish a router descriptor even if generating an extra-info
  17659. descriptor fails. Previously we would not publish a router
  17660. descriptor without an extra-info descriptor; this can cause fast
  17661. exit relays collecting exit-port statistics to drop from the
  17662. consensus. Bugfix on 0.1.2.9-rc; fixes bug 2195.
  17663. Changes in version 0.2.2.18-alpha - 2010-11-16
  17664. Tor 0.2.2.18-alpha fixes several crash bugs that have been nagging
  17665. us lately, makes unpublished bridge relays able to detect their IP
  17666. address, and fixes a wide variety of other bugs to get us much closer
  17667. to a stable release.
  17668. o Major bugfixes:
  17669. - Do even more to reject (and not just ignore) annotations on
  17670. router descriptors received anywhere but from the cache. Previously
  17671. we would ignore such annotations at first, but cache them to disk
  17672. anyway. Bugfix on 0.2.0.8-alpha. Found by piebeer.
  17673. - Do not log messages to the controller while shrinking buffer
  17674. freelists. Doing so would sometimes make the controller connection
  17675. try to allocate a buffer chunk, which would mess up the internals
  17676. of the freelist and cause an assertion failure. Fixes bug 1125;
  17677. fixed by Robert Ransom. Bugfix on 0.2.0.16-alpha.
  17678. - Learn our external IP address when we're a relay or bridge, even if
  17679. we set PublishServerDescriptor to 0. Bugfix on 0.2.0.3-alpha,
  17680. where we introduced bridge relays that don't need to publish to
  17681. be useful. Fixes bug 2050.
  17682. - Maintain separate TLS contexts and certificates for incoming and
  17683. outgoing connections in bridge relays. Previously we would use the
  17684. same TLS contexts and certs for incoming and outgoing connections.
  17685. Bugfix on 0.2.0.3-alpha; addresses bug 988.
  17686. - Maintain separate identity keys for incoming and outgoing TLS
  17687. contexts in bridge relays. Previously we would use the same
  17688. identity keys for incoming and outgoing TLS contexts. Bugfix on
  17689. 0.2.0.3-alpha; addresses the other half of bug 988.
  17690. - Avoid an assertion failure when we as an authority receive a
  17691. duplicate upload of a router descriptor that we already have,
  17692. but which we previously considered an obsolete descriptor.
  17693. Fixes another case of bug 1776. Bugfix on 0.2.2.16-alpha.
  17694. - Avoid a crash bug triggered by looking at a dangling pointer while
  17695. setting the network status consensus. Found by Robert Ransom.
  17696. Bugfix on 0.2.2.17-alpha. Fixes bug 2097.
  17697. - Fix a logic error where servers that _didn't_ act as exits would
  17698. try to keep their server lists more aggressively up to date than
  17699. exits, when it was supposed to be the other way around. Bugfix
  17700. on 0.2.2.17-alpha.
  17701. o Minor bugfixes (on Tor 0.2.1.x and earlier):
  17702. - When we're trying to guess whether we know our IP address as
  17703. a relay, we would log various ways that we failed to guess
  17704. our address, but never log that we ended up guessing it
  17705. successfully. Now add a log line to help confused and anxious
  17706. relay operators. Bugfix on 0.1.2.1-alpha; fixes bug 1534.
  17707. - Bring the logic that gathers routerinfos and assesses the
  17708. acceptability of circuits into line. This prevents a Tor OP from
  17709. getting locked in a cycle of choosing its local OR as an exit for a
  17710. path (due to a .exit request) and then rejecting the circuit because
  17711. its OR is not listed yet. It also prevents Tor clients from using an
  17712. OR running in the same instance as an exit (due to a .exit request)
  17713. if the OR does not meet the same requirements expected of an OR
  17714. running elsewhere. Fixes bug 1859; bugfix on 0.1.0.1-rc.
  17715. - Correctly describe errors that occur when generating a TLS object.
  17716. Previously we would attribute them to a failure while generating a
  17717. TLS context. Patch by Robert Ransom. Bugfix on 0.1.0.4-rc; fixes
  17718. bug 1994.
  17719. - Enforce multiplicity rules when parsing annotations. Bugfix on
  17720. 0.2.0.8-alpha. Found by piebeer.
  17721. - Fix warnings that newer versions of autoconf produced during
  17722. ./autogen.sh. These warnings appear to be harmless in our case,
  17723. but they were extremely verbose. Fixes bug 2020.
  17724. o Minor bugfixes (on Tor 0.2.2.x):
  17725. - Enable protection of small arrays whenever we build with gcc
  17726. hardening features, not only when also building with warnings
  17727. enabled. Fixes bug 2031; bugfix on 0.2.2.14-alpha. Reported by keb.
  17728. o Minor features:
  17729. - Make hidden services work better in private Tor networks by not
  17730. requiring any uptime to join the hidden service descriptor
  17731. DHT. Implements ticket 2088.
  17732. - Rate-limit the "your application is giving Tor only an IP address"
  17733. warning. Addresses bug 2000; bugfix on 0.0.8pre2.
  17734. - When AllowSingleHopExits is set, print a warning to explain to the
  17735. relay operator why most clients are avoiding her relay.
  17736. - Update to the November 1 2010 Maxmind GeoLite Country database.
  17737. o Code simplifications and refactoring:
  17738. - When we fixed bug 1038 we had to put in a restriction not to send
  17739. RELAY_EARLY cells on rend circuits. This was necessary as long
  17740. as relays using Tor 0.2.1.3-alpha through 0.2.1.18-alpha were
  17741. active. Now remove this obsolete check. Resolves bug 2081.
  17742. - Some options used different conventions for uppercasing of acronyms
  17743. when comparing manpage and source. Fix those in favor of the
  17744. manpage, as it makes sense to capitalize acronyms.
  17745. - Remove the torrc.complete file. It hasn't been kept up to date
  17746. and users will have better luck checking out the manpage.
  17747. - Remove the obsolete "NoPublish" option; it has been flagged
  17748. as obsolete and has produced a warning since 0.1.1.18-rc.
  17749. - Remove everything related to building the expert bundle for OS X.
  17750. It has confused many users, doesn't work right on OS X 10.6,
  17751. and is hard to get rid of once installed. Resolves bug 1274.
  17752. Changes in version 0.2.2.17-alpha - 2010-09-30
  17753. Tor 0.2.2.17-alpha introduces a feature to make it harder for clients
  17754. to use one-hop circuits (which can put the exit relays at higher risk,
  17755. plus unbalance the network); fixes a big bug in bandwidth accounting
  17756. for relays that want to limit their monthly bandwidth use; fixes a
  17757. big pile of bugs in how clients tolerate temporary network failure;
  17758. and makes our adaptive circuit build timeout feature (which improves
  17759. client performance if your network is fast while not breaking things
  17760. if your network is slow) better handle bad networks.
  17761. o Major features:
  17762. - Exit relays now try harder to block exit attempts from unknown
  17763. relays, to make it harder for people to use them as one-hop proxies
  17764. a la tortunnel. Controlled by the refuseunknownexits consensus
  17765. parameter (currently enabled), or you can override it on your
  17766. relay with the RefuseUnknownExits torrc option. Resolves bug 1751.
  17767. o Major bugfixes (0.2.1.x and earlier):
  17768. - Fix a bug in bandwidth accounting that could make us use twice
  17769. the intended bandwidth when our interval start changes due to
  17770. daylight saving time. Now we tolerate skew in stored vs computed
  17771. interval starts: if the start of the period changes by no more than
  17772. 50% of the period's duration, we remember bytes that we transferred
  17773. in the old period. Fixes bug 1511; bugfix on 0.0.9pre5.
  17774. - Always search the Windows system directory for system DLLs, and
  17775. nowhere else. Bugfix on 0.1.1.23; fixes bug 1954.
  17776. - When you're using bridges and your network goes away and your
  17777. bridges get marked as down, recover when you attempt a new socks
  17778. connection (if the network is back), rather than waiting up to an
  17779. hour to try fetching new descriptors for your bridges. Bugfix on
  17780. 0.2.0.3-alpha; fixes bug 1981.
  17781. o Major bugfixes (on 0.2.2.x):
  17782. - Fix compilation on Windows. Bugfix on 0.2.2.16-alpha; related to
  17783. bug 1797.
  17784. - Fix a segfault that could happen when operating a bridge relay with
  17785. no GeoIP database set. Fixes bug 1964; bugfix on 0.2.2.15-alpha.
  17786. - The consensus bandwidth-weights (used by clients to choose fast
  17787. relays) entered an unexpected edge case in September where
  17788. Exits were much scarcer than Guards, resulting in bad weight
  17789. recommendations. Now we compute them using new constraints that
  17790. should succeed in all cases. Also alter directory authorities to
  17791. not include the bandwidth-weights line if they fail to produce
  17792. valid values. Fixes bug 1952; bugfix on 0.2.2.10-alpha.
  17793. - When weighting bridges during path selection, we used to trust
  17794. the bandwidths they provided in their descriptor, only capping them
  17795. at 10MB/s. This turned out to be problematic for two reasons:
  17796. Bridges could claim to handle a lot more traffic then they
  17797. actually would, thus making more clients pick them and have a
  17798. pretty effective DoS attack. The other issue is that new bridges
  17799. that might not have a good estimate for their bw capacity yet
  17800. would not get used at all unless no other bridges are available
  17801. to a client. Fixes bug 1912; bugfix on 0.2.2.7-alpha.
  17802. o Major bugfixes (on the circuit build timeout feature, 0.2.2.x):
  17803. - Ignore cannibalized circuits when recording circuit build times.
  17804. This should provide for a minor performance improvement for hidden
  17805. service users using 0.2.2.14-alpha, and should remove two spurious
  17806. notice log messages. Bugfix on 0.2.2.14-alpha; fixes bug 1740.
  17807. - Simplify the logic that causes us to decide if the network is
  17808. unavailable for purposes of recording circuit build times. If we
  17809. receive no cells whatsoever for the entire duration of a circuit's
  17810. full measured lifetime, the network is probably down. Also ignore
  17811. one-hop directory fetching circuit timeouts when calculating our
  17812. circuit build times. These changes should hopefully reduce the
  17813. cases where we see ridiculous circuit build timeouts for people
  17814. with spotty wireless connections. Fixes part of bug 1772; bugfix
  17815. on 0.2.2.2-alpha.
  17816. - Prevent the circuit build timeout from becoming larger than
  17817. the maximum build time we have ever seen. Also, prevent the time
  17818. period for measurement circuits from becoming larger than twice that
  17819. value. Fixes the other part of bug 1772; bugfix on 0.2.2.2-alpha.
  17820. o Minor features:
  17821. - When we run out of directory information such that we can't build
  17822. circuits, but then get enough that we can build circuits, log when
  17823. we actually construct a circuit, so the user has a better chance of
  17824. knowing what's going on. Fixes bug 1362.
  17825. - Be more generous with how much bandwidth we'd use up (with
  17826. accounting enabled) before entering "soft hibernation". Previously,
  17827. we'd refuse new connections and circuits once we'd used up 95% of
  17828. our allotment. Now, we use up 95% of our allotment, AND make sure
  17829. that we have no more than 500MB (or 3 hours of expected traffic,
  17830. whichever is lower) remaining before we enter soft hibernation.
  17831. - If we've configured EntryNodes and our network goes away and/or all
  17832. our entrynodes get marked down, optimistically retry them all when
  17833. a new socks application request appears. Fixes bug 1882.
  17834. - Add some more defensive programming for architectures that can't
  17835. handle unaligned integer accesses. We don't know of any actual bugs
  17836. right now, but that's the best time to fix them. Fixes bug 1943.
  17837. - Support line continuations in the torrc config file. If a line
  17838. ends with a single backslash character, the newline is ignored, and
  17839. the configuration value is treated as continuing on the next line.
  17840. Resolves bug 1929.
  17841. o Minor bugfixes (on 0.2.1.x and earlier):
  17842. - For bandwidth accounting, calculate our expected bandwidth rate
  17843. based on the time during which we were active and not in
  17844. soft-hibernation during the last interval. Previously, we were
  17845. also considering the time spent in soft-hibernation. If this
  17846. was a long time, we would wind up underestimating our bandwidth
  17847. by a lot, and skewing our wakeup time towards the start of the
  17848. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.
  17849. o Minor bugfixes (on 0.2.2.x):
  17850. - Resume generating CIRC FAILED REASON=TIMEOUT control port messages,
  17851. which were disabled by the circuit build timeout changes in
  17852. 0.2.2.14-alpha. Bugfix on 0.2.2.14-alpha; fixes bug 1739.
  17853. - Make sure we don't warn about missing bandwidth weights when
  17854. choosing bridges or other relays not in the consensus. Bugfix on
  17855. 0.2.2.10-alpha; fixes bug 1805.
  17856. - In our logs, do not double-report signatures from unrecognized
  17857. authorities both as "from unknown authority" and "not
  17858. present". Fixes bug 1956, bugfix on 0.2.2.16-alpha.
  17859. Changes in version 0.2.2.16-alpha - 2010-09-17
  17860. Tor 0.2.2.16-alpha fixes a variety of old stream fairness bugs (most
  17861. evident at exit relays), and also continues to resolve all the little
  17862. bugs that have been filling up trac lately.
  17863. o Major bugfixes (stream-level fairness):
  17864. - When receiving a circuit-level SENDME for a blocked circuit, try
  17865. to package cells fairly from all the streams that had previously
  17866. been blocked on that circuit. Previously, we had started with the
  17867. oldest stream, and allowed each stream to potentially exhaust
  17868. the circuit's package window. This gave older streams on any
  17869. given circuit priority over newer ones. Fixes bug 1937. Detected
  17870. originally by Camilo Viecco. This bug was introduced before the
  17871. first Tor release, in svn commit r152: it is the new winner of
  17872. the longest-lived bug prize.
  17873. - When the exit relay got a circuit-level sendme cell, it started
  17874. reading on the exit streams, even if had 500 cells queued in the
  17875. circuit queue already, so the circuit queue just grew and grew in
  17876. some cases. We fix this by not re-enabling reading on receipt of a
  17877. sendme cell when the cell queue is blocked. Fixes bug 1653. Bugfix
  17878. on 0.2.0.1-alpha. Detected by Mashael AlSabah. Original patch by
  17879. "yetonetime".
  17880. - Newly created streams were allowed to read cells onto circuits,
  17881. even if the circuit's cell queue was blocked and waiting to drain.
  17882. This created potential unfairness, as older streams would be
  17883. blocked, but newer streams would gladly fill the queue completely.
  17884. We add code to detect this situation and prevent any stream from
  17885. getting more than one free cell. Bugfix on 0.2.0.1-alpha. Partially
  17886. fixes bug 1298.
  17887. o Minor features:
  17888. - Update to the September 1 2010 Maxmind GeoLite Country database.
  17889. - Warn when CookieAuthFileGroupReadable is set but CookieAuthFile is
  17890. not. This would lead to a cookie that is still not group readable.
  17891. Closes bug 1843. Suggested by katmagic.
  17892. - When logging a rate-limited warning, we now mention how many messages
  17893. got suppressed since the last warning.
  17894. - Add new "perconnbwrate" and "perconnbwburst" consensus params to
  17895. do individual connection-level rate limiting of clients. The torrc
  17896. config options with the same names trump the consensus params, if
  17897. both are present. Replaces the old "bwconnrate" and "bwconnburst"
  17898. consensus params which were broken from 0.2.2.7-alpha through
  17899. 0.2.2.14-alpha. Closes bug 1947.
  17900. - When a router changes IP address or port, authorities now launch
  17901. a new reachability test for it. Implements ticket 1899.
  17902. - Make the formerly ugly "2 unknown, 7 missing key, 0 good, 0 bad,
  17903. 2 no signature, 4 required" messages about consensus signatures
  17904. easier to read, and make sure they get logged at the same severity
  17905. as the messages explaining which keys are which. Fixes bug 1290.
  17906. - Don't warn when we have a consensus that we can't verify because
  17907. of missing certificates, unless those certificates are ones
  17908. that we have been trying and failing to download. Fixes bug 1145.
  17909. - If you configure your bridge with a known identity fingerprint,
  17910. and the bridge authority is unreachable (as it is in at least
  17911. one country now), fall back to directly requesting the descriptor
  17912. from the bridge. Finishes the feature started in 0.2.0.10-alpha;
  17913. closes bug 1138.
  17914. - When building with --enable-gcc-warnings on OpenBSD, disable
  17915. warnings in system headers. This makes --enable-gcc-warnings
  17916. pass on OpenBSD 4.8.
  17917. o Minor bugfixes (on 0.2.1.x and earlier):
  17918. - Authorities will now attempt to download consensuses if their
  17919. own efforts to make a live consensus have failed. This change
  17920. means authorities that restart will fetch a valid consensus, and
  17921. it means authorities that didn't agree with the current consensus
  17922. will still fetch and serve it if it has enough signatures. Bugfix
  17923. on 0.2.0.9-alpha; fixes bug 1300.
  17924. - Ensure DNS requests launched by "RESOLVE" commands from the
  17925. controller respect the __LeaveStreamsUnattached setconf options. The
  17926. same goes for requests launched via DNSPort or transparent
  17927. proxying. Bugfix on 0.2.0.1-alpha; fixes bug 1525.
  17928. - Allow handshaking OR connections to take a full KeepalivePeriod
  17929. seconds to handshake. Previously, we would close them after
  17930. IDLE_OR_CONN_TIMEOUT (180) seconds, the same timeout as if they
  17931. were open. Bugfix on 0.2.1.26; fixes bug 1840. Thanks to mingw-san
  17932. for analysis help.
  17933. - Rate-limit "Failed to hand off onionskin" warnings.
  17934. - Never relay a cell for a circuit we have already destroyed.
  17935. Between marking a circuit as closeable and finally closing it,
  17936. it may have been possible for a few queued cells to get relayed,
  17937. even though they would have been immediately dropped by the next
  17938. OR in the circuit. Fixes bug 1184; bugfix on 0.2.0.1-alpha.
  17939. - Never queue a cell for a circuit that's already been marked
  17940. for close.
  17941. - Never vote for a server as "Running" if we have a descriptor for
  17942. it claiming to be hibernating, and that descriptor was published
  17943. more recently than our last contact with the server. Bugfix on
  17944. 0.2.0.3-alpha; fixes bug 911.
  17945. - Squash a compile warning on OpenBSD. Reported by Tas; fixes
  17946. bug 1848.
  17947. o Minor bugfixes (on 0.2.2.x):
  17948. - Fix a regression introduced in 0.2.2.7-alpha that marked relays
  17949. down if a directory fetch fails and you've configured either
  17950. bridges or EntryNodes. The intent was to mark the relay as down
  17951. _unless_ you're using bridges or EntryNodes, since if you are
  17952. then you could quickly run out of entry points.
  17953. - Fix the Windows directory-listing code. A bug introduced in
  17954. 0.2.2.14-alpha could make Windows directory servers forget to load
  17955. some of their cached v2 networkstatus files.
  17956. - Really allow clients to use relays as bridges. Fixes bug 1776;
  17957. bugfix on 0.2.2.15-alpha.
  17958. - Demote a warn to info that happens when the CellStatistics option
  17959. was just enabled. Bugfix on 0.2.2.15-alpha; fixes bug 1921.
  17960. Reported by Moritz Bartl.
  17961. - On Windows, build correctly either with or without Unicode support.
  17962. This is necessary so that Tor can support fringe platforms like
  17963. Windows 98 (which has no Unicode), or Windows CE (which has no
  17964. non-Unicode). Bugfix on 0.2.2.14-alpha; fixes bug 1797.
  17965. o Testing
  17966. - Add a unit test for cross-platform directory-listing code.
  17967. Changes in version 0.2.2.15-alpha - 2010-08-18
  17968. Tor 0.2.2.15-alpha fixes a big bug in hidden service availability,
  17969. fixes a variety of other bugs that were preventing performance
  17970. experiments from moving forward, fixes several bothersome memory leaks,
  17971. and generally closes a lot of smaller bugs that have been filling up
  17972. trac lately.
  17973. o Major bugfixes:
  17974. - Stop assigning the HSDir flag to relays that disable their
  17975. DirPort (and thus will refuse to answer directory requests). This
  17976. fix should dramatically improve the reachability of hidden services:
  17977. hidden services and hidden service clients pick six HSDir relays
  17978. to store and retrieve the hidden service descriptor, and currently
  17979. about half of the HSDir relays will refuse to work. Bugfix on
  17980. 0.2.0.10-alpha; fixes part of bug 1693.
  17981. - The PerConnBWRate and Burst config options, along with the
  17982. bwconnrate and bwconnburst consensus params, initialized each conn's
  17983. token bucket values only when the connection is established. Now we
  17984. update them if the config options change, and update them every time
  17985. we get a new consensus. Otherwise we can encounter an ugly edge
  17986. case where we initialize an OR conn to client-level bandwidth,
  17987. but then later the relay joins the consensus and we leave it
  17988. throttled. Bugfix on 0.2.2.7-alpha; fixes bug 1830.
  17989. - Fix a regression that caused Tor to rebind its ports if it receives
  17990. SIGHUP while hibernating. Bugfix in 0.1.1.6-alpha; closes bug 919.
  17991. o Major features:
  17992. - Lower the maximum weighted-fractional-uptime cutoff to 98%. This
  17993. should give us approximately 40-50% more Guard-flagged nodes,
  17994. improving the anonymity the Tor network can provide and also
  17995. decreasing the dropoff in throughput that relays experience when
  17996. they first get the Guard flag.
  17997. - Allow enabling or disabling the *Statistics config options while
  17998. Tor is running.
  17999. o Minor features:
  18000. - Update to the August 1 2010 Maxmind GeoLite Country database.
  18001. - Have the controller interface give a more useful message than
  18002. "Internal Error" in response to failed GETINFO requests.
  18003. - Warn when the same option is provided more than once in a torrc
  18004. file, on the command line, or in a single SETCONF statement, and
  18005. the option is one that only accepts a single line. Closes bug 1384.
  18006. - Build correctly on mingw with more recent versions of OpenSSL 0.9.8.
  18007. Patch from mingw-san.
  18008. - Add support for the country code "{??}" in torrc options like
  18009. ExcludeNodes, to indicate all routers of unknown country. Closes
  18010. bug 1094.
  18011. - Relays report the number of bytes spent on answering directory
  18012. requests in extra-info descriptors similar to {read,write}-history.
  18013. Implements enhancement 1790.
  18014. o Minor bugfixes (on 0.2.1.x and earlier):
  18015. - Complain if PublishServerDescriptor is given multiple arguments that
  18016. include 0 or 1. This configuration will be rejected in the future.
  18017. Bugfix on 0.2.0.1-alpha; closes bug 1107.
  18018. - Disallow BridgeRelay 1 and ORPort 0 at once in the configuration.
  18019. Bugfix on 0.2.0.13-alpha; closes bug 928.
  18020. - Change "Application request when we're believed to be offline."
  18021. notice to "Application request when we haven't used client
  18022. functionality lately.", to clarify that it's not an error. Bugfix
  18023. on 0.0.9.3; fixes bug 1222.
  18024. - Fix a bug in the controller interface where "GETINFO ns/asdaskljkl"
  18025. would return "551 Internal error" rather than "552 Unrecognized key
  18026. ns/asdaskljkl". Bugfix on 0.1.2.3-alpha.
  18027. - Users can't configure a regular relay to be their bridge. It didn't
  18028. work because when Tor fetched the bridge descriptor, it found
  18029. that it already had it, and didn't realize that the purpose of the
  18030. descriptor had changed. Now we replace routers with a purpose other
  18031. than bridge with bridge descriptors when fetching them. Bugfix on
  18032. 0.1.1.9-alpha. Bug 1776 not yet fixed because now we immediately
  18033. refetch the descriptor with router purpose 'general', disabling
  18034. it as a bridge.
  18035. - Fix a rare bug in rend_fn unit tests: we would fail a test when
  18036. a randomly generated port is 0. Diagnosed by Matt Edman. Bugfix
  18037. on 0.2.0.10-alpha; fixes bug 1808.
  18038. - Exit nodes didn't recognize EHOSTUNREACH as a plausible error code,
  18039. and so sent back END_STREAM_REASON_MISC. Clients now recognize a new
  18040. stream ending reason for this case: END_STREAM_REASON_NOROUTE.
  18041. Servers can start sending this code when enough clients recognize
  18042. it. Also update the spec to reflect this new reason. Bugfix on
  18043. 0.1.0.1-rc; fixes part of bug 1793.
  18044. - Delay geoip stats collection by bridges for 6 hours, not 2 hours,
  18045. when we switch from being a public relay to a bridge. Otherwise
  18046. there will still be clients that see the relay in their consensus,
  18047. and the stats will end up wrong. Bugfix on 0.2.1.15-rc; fixes bug
  18048. 932 even more.
  18049. - Instead of giving an assertion failure on an internal mismatch
  18050. on estimated freelist size, just log a BUG warning and try later.
  18051. Mitigates but does not fix bug 1125.
  18052. - Fix an assertion failure that could occur in caches or bridge users
  18053. when using a very short voting interval on a testing network.
  18054. Diagnosed by Robert Hogan. Fixes bug 1141; bugfix on 0.2.0.8-alpha.
  18055. o Minor bugfixes (on 0.2.2.x):
  18056. - Alter directory authorities to always consider Exit-flagged nodes
  18057. as potential Guard nodes in their votes. The actual decision to
  18058. use Exits as Guards is done in the consensus bandwidth weights.
  18059. Fixes bug 1294; bugfix on 0.2.2.10-alpha.
  18060. - When the controller is reporting the purpose of circuits that
  18061. didn't finish building before the circuit build timeout, it was
  18062. printing UNKNOWN_13. Now print EXPIRED. Bugfix on 0.2.2.14-alpha.
  18063. - Our libevent version parsing code couldn't handle versions like
  18064. 1.4.14b-stable and incorrectly warned the user about using an
  18065. old and broken version of libevent. Treat 1.4.14b-stable like
  18066. 1.4.14-stable when parsing the version. Fixes bug 1731; bugfix
  18067. on 0.2.2.1-alpha.
  18068. - Don't use substitution references like $(VAR:MOD) when
  18069. $(asciidoc_files) is empty -- make(1) on NetBSD transforms
  18070. '$(:x)' to 'x' rather than the empty string. This bites us in
  18071. doc/ when configured with --disable-asciidoc. Bugfix on
  18072. 0.2.2.9-alpha; fixes bug 1773.
  18073. - Remove a spurious hidden service server-side log notice about
  18074. "Ancient non-dirty circuits". Bugfix on 0.2.2.14-alpha; fixes
  18075. bug 1741.
  18076. - Fix compilation with --with-dmalloc set. Bugfix on 0.2.2.6-alpha;
  18077. fixes bug 1832.
  18078. - Correctly report written bytes on linked connections. Found while
  18079. implementing 1790. Bugfix on 0.2.2.4-alpha.
  18080. - Fix three memory leaks: one in circuit_build_times_parse_state(),
  18081. one in dirvote_add_signatures_to_pending_consensus(), and one every
  18082. time we parse a v3 network consensus. Bugfixes on 0.2.2.14-alpha,
  18083. 0.2.2.6-alpha, and 0.2.2.10-alpha respectively; fixes bug 1831.
  18084. o Code simplifications and refactoring:
  18085. - Take a first step towards making or.h smaller by splitting out
  18086. function definitions for all source files in src/or/. Leave
  18087. structures and defines in or.h for now.
  18088. - Remove a bunch of unused function declarations as well as a block of
  18089. #if 0'd code from the unit tests. Closes bug 1824.
  18090. - New unit tests for exit-port history statistics; refactored exit
  18091. statistics code to be more easily tested.
  18092. - Remove the old debian/ directory from the main Tor distribution.
  18093. The official Tor-for-debian git repository lives at the URL
  18094. https://git.torproject.org/debian/tor.git
  18095. Changes in version 0.2.2.14-alpha - 2010-07-12
  18096. Tor 0.2.2.14-alpha greatly improves client-side handling of
  18097. circuit build timeouts, which are used to estimate speed and improve
  18098. performance. We also move to a much better GeoIP database, port Tor to
  18099. Windows CE, introduce new compile flags that improve code security,
  18100. add an eighth v3 directory authority, and address a lot of more
  18101. minor issues.
  18102. o Major bugfixes:
  18103. - Tor directory authorities no longer crash when started with a
  18104. cached-microdesc-consensus file in their data directory. Bugfix
  18105. on 0.2.2.6-alpha; fixes bug 1532.
  18106. - Treat an unset $HOME like an empty $HOME rather than triggering an
  18107. assert. Bugfix on 0.0.8pre1; fixes bug 1522.
  18108. - Ignore negative and large circuit build timeout values that can
  18109. happen during a suspend or hibernate. These values caused various
  18110. asserts to fire. Bugfix on 0.2.2.2-alpha; fixes bug 1245.
  18111. - Alter calculation of Pareto distribution parameter 'Xm' for
  18112. Circuit Build Timeout learning to use the weighted average of the
  18113. top N=3 modes (because we have three entry guards). Considering
  18114. multiple modes should improve the timeout calculation in some cases,
  18115. and prevent extremely high timeout values. Bugfix on 0.2.2.2-alpha;
  18116. fixes bug 1335.
  18117. - Alter calculation of Pareto distribution parameter 'Alpha' to use a
  18118. right censored distribution model. This approach improves over the
  18119. synthetic timeout generation approach that was producing insanely
  18120. high timeout values. Now we calculate build timeouts using truncated
  18121. times. Bugfix on 0.2.2.2-alpha; fixes bugs 1245 and 1335.
  18122. - Do not close circuits that are under construction when they reach
  18123. the circuit build timeout. Instead, leave them building (but do not
  18124. use them) for up until the time corresponding to the 95th percentile
  18125. on the Pareto CDF or 60 seconds, whichever is greater. This is done
  18126. to provide better data for the new Pareto model. This percentile
  18127. can be controlled by the consensus.
  18128. o Major features:
  18129. - Move to the June 2010 Maxmind GeoLite country db (rather than the
  18130. June 2009 ip-to-country GeoIP db) for our statistics that count
  18131. how many users relays are seeing from each country. Now we have
  18132. more accurate data for many African countries.
  18133. - Port Tor to build and run correctly on Windows CE systems, using
  18134. the wcecompat library. Contributed by Valerio Lupi.
  18135. - New "--enable-gcc-hardening" ./configure flag (off by default)
  18136. to turn on gcc compile time hardening options. It ensures
  18137. that signed ints have defined behavior (-fwrapv), enables
  18138. -D_FORTIFY_SOURCE=2 (requiring -O2), adds stack smashing protection
  18139. with canaries (-fstack-protector-all), turns on ASLR protection if
  18140. supported by the kernel (-fPIE, -pie), and adds additional security
  18141. related warnings. Verified to work on Mac OS X and Debian Lenny.
  18142. - New "--enable-linker-hardening" ./configure flag (off by default)
  18143. to turn on ELF specific hardening features (relro, now). This does
  18144. not work with Mac OS X or any other non-ELF binary format.
  18145. o New directory authorities:
  18146. - Set up maatuska (run by Linus Nordberg) as the eighth v3 directory
  18147. authority.
  18148. o Minor features:
  18149. - New config option "WarnUnsafeSocks 0" disables the warning that
  18150. occurs whenever Tor receives a socks handshake using a version of
  18151. the socks protocol that can only provide an IP address (rather
  18152. than a hostname). Setups that do DNS locally over Tor are fine,
  18153. and we shouldn't spam the logs in that case.
  18154. - Convert the HACKING file to asciidoc, and add a few new sections
  18155. to it, explaining how we use Git, how we make changelogs, and
  18156. what should go in a patch.
  18157. - Add a TIMEOUT_RATE keyword to the BUILDTIMEOUT_SET control port
  18158. event, to give information on the current rate of circuit timeouts
  18159. over our stored history.
  18160. - Add ability to disable circuit build time learning via consensus
  18161. parameter and via a LearnCircuitBuildTimeout config option. Also
  18162. automatically disable circuit build time calculation if we are
  18163. either a AuthoritativeDirectory, or if we fail to write our state
  18164. file. Fixes bug 1296.
  18165. - More gracefully handle corrupt state files, removing asserts
  18166. in favor of saving a backup and resetting state.
  18167. - Rename the "log.h" header to "torlog.h" so as to conflict with fewer
  18168. system headers.
  18169. o Minor bugfixes:
  18170. - Build correctly on OSX with zlib 1.2.4 and higher with all warnings
  18171. enabled.
  18172. - When a2x fails, mention that the user could disable manpages instead
  18173. of trying to fix their asciidoc installation.
  18174. - Where available, use Libevent 2.0's periodic timers so that our
  18175. once-per-second cleanup code gets called even more closely to
  18176. once per second than it would otherwise. Fixes bug 943.
  18177. - If you run a bridge that listens on multiple IP addresses, and
  18178. some user configures a bridge address that uses a different IP
  18179. address than your bridge writes in its router descriptor, and the
  18180. user doesn't specify an identity key, their Tor would discard the
  18181. descriptor because "it isn't one of our configured bridges", and
  18182. fail to bootstrap. Now believe the descriptor and bootstrap anyway.
  18183. Bugfix on 0.2.0.3-alpha.
  18184. - If OpenSSL fails to make a duplicate of a private or public key, log
  18185. an error message and try to exit cleanly. May help with debugging
  18186. if bug 1209 ever remanifests.
  18187. - Save a couple bytes in memory allocation every time we escape
  18188. certain characters in a string. Patch from Florian Zumbiehl.
  18189. - Make it explicit that we don't cannibalize one-hop circuits. This
  18190. happens in the wild, but doesn't turn out to be a problem because
  18191. we fortunately don't use those circuits. Many thanks to outofwords
  18192. for the initial analysis and to swissknife who confirmed that
  18193. two-hop circuits are actually created.
  18194. - Make directory mirrors report non-zero dirreq-v[23]-shares again.
  18195. Fixes bug 1564; bugfix on 0.2.2.9-alpha.
  18196. - Eliminate a case where a circuit build time warning was displayed
  18197. after network connectivity resumed. Bugfix on 0.2.2.2-alpha.
  18198. Changes in version 0.2.1.26 - 2010-05-02
  18199. Tor 0.2.1.26 addresses the recent connection and memory overload
  18200. problems we've been seeing on relays, especially relays with their
  18201. DirPort open. If your relay has been crashing, or you turned it off
  18202. because it used too many resources, give this release a try.
  18203. This release also fixes yet another instance of broken OpenSSL libraries
  18204. that was causing some relays to drop out of the consensus.
  18205. o Major bugfixes:
  18206. - Teach relays to defend themselves from connection overload. Relays
  18207. now close idle circuits early if it looks like they were intended
  18208. for directory fetches. Relays are also more aggressive about closing
  18209. TLS connections that have no circuits on them. Such circuits are
  18210. unlikely to be re-used, and tens of thousands of them were piling
  18211. up at the fast relays, causing the relays to run out of sockets
  18212. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  18213. their directory fetches over TLS).
  18214. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  18215. that claim to be earlier than 0.9.8m, but which have in reality
  18216. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  18217. behavior. Possible fix for some cases of bug 1346.
  18218. - Directory mirrors were fetching relay descriptors only from v2
  18219. directory authorities, rather than v3 authorities like they should.
  18220. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  18221. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  18222. o Minor bugfixes:
  18223. - Finally get rid of the deprecated and now harmful notion of "clique
  18224. mode", where directory authorities maintain TLS connections to
  18225. every other relay.
  18226. o Testsuite fixes:
  18227. - In the util/threads test, no longer free the test_mutex before all
  18228. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  18229. - The master thread could starve the worker threads quite badly on
  18230. certain systems, causing them to run only partially in the allowed
  18231. window. This resulted in test failures. Now the master thread sleeps
  18232. occasionally for a few microseconds while the two worker-threads
  18233. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  18234. Changes in version 0.2.2.13-alpha - 2010-04-24
  18235. Tor 0.2.2.13-alpha addresses the recent connection and memory overload
  18236. problems we've been seeing on relays, especially relays with their
  18237. DirPort open. If your relay has been crashing, or you turned it off
  18238. because it used too many resources, give this release a try.
  18239. o Major bugfixes:
  18240. - Teach relays to defend themselves from connection overload. Relays
  18241. now close idle circuits early if it looks like they were intended
  18242. for directory fetches. Relays are also more aggressive about closing
  18243. TLS connections that have no circuits on them. Such circuits are
  18244. unlikely to be re-used, and tens of thousands of them were piling
  18245. up at the fast relays, causing the relays to run out of sockets
  18246. and memory. Bugfix on 0.2.0.22-rc (where clients started tunneling
  18247. their directory fetches over TLS).
  18248. o Minor features:
  18249. - Finally get rid of the deprecated and now harmful notion of "clique
  18250. mode", where directory authorities maintain TLS connections to
  18251. every other relay.
  18252. - Directory authorities now do an immediate reachability check as soon
  18253. as they hear about a new relay. This change should slightly reduce
  18254. the time between setting up a relay and getting listed as running
  18255. in the consensus. It should also improve the time between setting
  18256. up a bridge and seeing use by bridge users.
  18257. - Directory authorities no longer launch a TLS connection to every
  18258. relay as they startup. Now that we have 2k+ descriptors cached,
  18259. the resulting network hiccup is becoming a burden. Besides,
  18260. authorities already avoid voting about Running for the first half
  18261. hour of their uptime.
  18262. Changes in version 0.2.2.12-alpha - 2010-04-20
  18263. Tor 0.2.2.12-alpha fixes a critical bug in how directory authorities
  18264. handle and vote on descriptors. It was causing relays to drop out of
  18265. the consensus.
  18266. o Major bugfixes:
  18267. - Many relays have been falling out of the consensus lately because
  18268. not enough authorities know about their descriptor for them to get
  18269. a majority of votes. When we deprecated the v2 directory protocol,
  18270. we got rid of the only way that v3 authorities can hear from each
  18271. other about other descriptors. Now authorities examine every v3
  18272. vote for new descriptors, and fetch them from that authority. Bugfix
  18273. on 0.2.1.23.
  18274. - Fix two typos in tor_vasprintf() that broke the compile on Windows,
  18275. and a warning in or.h related to bandwidth_weight_rule_t that
  18276. prevented clean compile on OS X. Fixes bug 1363; bugfix on
  18277. 0.2.2.11-alpha.
  18278. - Fix a segfault on relays when DirReqStatistics is enabled
  18279. and 24 hours pass. Bug found by keb. Fixes bug 1365; bugfix on
  18280. 0.2.2.11-alpha.
  18281. o Minor bugfixes:
  18282. - Demote a confusing TLS warning that relay operators might get when
  18283. someone tries to talk to their OrPort. It is neither the operator's
  18284. fault nor can they do anything about it. Fixes bug 1364; bugfix
  18285. on 0.2.0.14-alpha.
  18286. Changes in version 0.2.2.11-alpha - 2010-04-15
  18287. Tor 0.2.2.11-alpha fixes yet another instance of broken OpenSSL
  18288. libraries that was causing some relays to drop out of the consensus.
  18289. o Major bugfixes:
  18290. - Directory mirrors were fetching relay descriptors only from v2
  18291. directory authorities, rather than v3 authorities like they should.
  18292. Only 2 v2 authorities remain (compared to 7 v3 authorities), leading
  18293. to a serious bottleneck. Bugfix on 0.2.0.9-alpha. Fixes bug 1324.
  18294. - Fix a parsing error that made every possible value of
  18295. CircPriorityHalflifeMsec get treated as "1 msec". Bugfix
  18296. on 0.2.2.7-alpha. Rename CircPriorityHalflifeMsec to
  18297. CircuitPriorityHalflifeMsec, so authorities can tell newer relays
  18298. about the option without breaking older ones.
  18299. - Fix SSL renegotiation behavior on OpenSSL versions like on Centos
  18300. that claim to be earlier than 0.9.8m, but which have in reality
  18301. backported huge swaths of 0.9.8m or 0.9.8n renegotiation
  18302. behavior. Possible fix for some cases of bug 1346.
  18303. o Minor features:
  18304. - Experiment with a more aggressive approach to preventing clients
  18305. from making one-hop exit streams. Exit relays who want to try it
  18306. out can set "RefuseUnknownExits 1" in their torrc, and then look
  18307. for "Attempt by %s to open a stream" log messages. Let us know
  18308. how it goes!
  18309. - Add support for statically linking zlib by specifying
  18310. --enable-static-zlib, to go with our support for statically linking
  18311. openssl and libevent. Resolves bug 1358.
  18312. o Minor bugfixes:
  18313. - Fix a segfault that happens whenever a Tor client that is using
  18314. libevent2's bufferevents gets a hup signal. Bugfix on 0.2.2.5-alpha;
  18315. fixes bug 1341.
  18316. - When we cleaned up the contrib/tor-exit-notice.html file, we left
  18317. out the first line. Fixes bug 1295.
  18318. - When building the manpage from a tarball, we required asciidoc, but
  18319. the asciidoc -> roff/html conversion was already done for the
  18320. tarball. Make 'make' complain only when we need asciidoc (either
  18321. because we're compiling directly from git, or because we altered
  18322. the asciidoc manpage in the tarball). Bugfix on 0.2.2.9-alpha.
  18323. - When none of the directory authorities vote on any params, Tor
  18324. segfaulted when trying to make the consensus from the votes. We
  18325. didn't trigger the bug in practice, because authorities do include
  18326. params in their votes. Bugfix on 0.2.2.10-alpha; fixes bug 1322.
  18327. o Testsuite fixes:
  18328. - In the util/threads test, no longer free the test_mutex before all
  18329. worker threads have finished. Bugfix on 0.2.1.6-alpha.
  18330. - The master thread could starve the worker threads quite badly on
  18331. certain systems, causing them to run only partially in the allowed
  18332. window. This resulted in test failures. Now the master thread sleeps
  18333. occasionally for a few microseconds while the two worker-threads
  18334. compete for the mutex. Bugfix on 0.2.0.1-alpha.
  18335. Changes in version 0.2.2.10-alpha - 2010-03-07
  18336. Tor 0.2.2.10-alpha fixes a regression introduced in 0.2.2.9-alpha that
  18337. could prevent relays from guessing their IP address correctly. It also
  18338. starts the groundwork for another client-side performance boost, since
  18339. currently we're not making efficient use of relays that have both the
  18340. Guard flag and the Exit flag.
  18341. o Major bugfixes:
  18342. - Fix a regression from our patch for bug 1244 that caused relays
  18343. to guess their IP address incorrectly if they didn't set Address
  18344. in their torrc and/or their address fails to resolve. Bugfix on
  18345. 0.2.2.9-alpha; fixes bug 1269.
  18346. o Major features (performance):
  18347. - Directory authorities now compute consensus weightings that instruct
  18348. clients how to weight relays flagged as Guard, Exit, Guard+Exit,
  18349. and no flag. Clients that use these weightings will distribute
  18350. network load more evenly across these different relay types. The
  18351. weightings are in the consensus so we can change them globally in
  18352. the future. Extra thanks to "outofwords" for finding some nasty
  18353. security bugs in the first implementation of this feature.
  18354. o Minor features (performance):
  18355. - Always perform router selections using weighted relay bandwidth,
  18356. even if we don't need a high capacity circuit at the time. Non-fast
  18357. circuits now only differ from fast ones in that they can use relays
  18358. not marked with the Fast flag. This "feature" could turn out to
  18359. be a horrible bug; we should investigate more before it goes into
  18360. a stable release.
  18361. o Minor features:
  18362. - Allow disabling building of the manpages. Skipping the manpage
  18363. speeds up the build considerably.
  18364. o Minor bugfixes (on 0.2.2.x):
  18365. - Fix a memleak in the EXTENDCIRCUIT logic. Spotted by coverity.
  18366. Bugfix on 0.2.2.9-alpha.
  18367. - Disallow values larger than INT32_MAX for PerConnBWRate|Burst
  18368. config option. Bugfix on 0.2.2.7-alpha.
  18369. - Ship the asciidoc-helper file in the tarball, so that people can
  18370. build from source if they want to, and touching the .1.txt files
  18371. doesn't break the build. Bugfix on 0.2.2.9-alpha.
  18372. o Minor bugfixes (on 0.2.1.x or earlier):
  18373. - Fix a dereference-then-NULL-check sequence when publishing
  18374. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  18375. bug 1255.
  18376. - Fix another dereference-then-NULL-check sequence. Bugfix on
  18377. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  18378. - Make sure we treat potentially not NUL-terminated strings correctly.
  18379. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  18380. o Code simplifications and refactoring:
  18381. - Fix some urls in the exit notice file and make it XHTML1.1 strict
  18382. compliant. Based on a patch from Christian Kujau.
  18383. - Don't use sed in asciidoc-helper anymore.
  18384. - Make the build process fail if asciidoc cannot be found and
  18385. building with asciidoc isn't disabled.
  18386. Changes in version 0.2.2.9-alpha - 2010-02-22
  18387. Tor 0.2.2.9-alpha makes Tor work again on the latest OS X, updates the
  18388. location of a directory authority, and cleans up a bunch of small bugs.
  18389. o Directory authority changes:
  18390. - Change IP address for dannenberg (v3 directory authority), and
  18391. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  18392. service directory authority) from the list.
  18393. o Major bugfixes:
  18394. - Make Tor work again on the latest OS X: when deciding whether to
  18395. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  18396. version at run-time, not compile time. We need to do this because
  18397. Apple doesn't update its dev-tools headers when it updates its
  18398. libraries in a security patch.
  18399. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  18400. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  18401. a memory leak when requesting a hidden service descriptor we've
  18402. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  18403. by aakova.
  18404. - Authorities could be tricked into giving out the Exit flag to relays
  18405. that didn't allow exiting to any ports. This bug could screw
  18406. with load balancing and stats. Bugfix on 0.1.1.6-alpha; fixes bug
  18407. 1238. Bug discovered by Martin Kowalczyk.
  18408. - When freeing a session key, zero it out completely. We only zeroed
  18409. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  18410. patched by ekir. Fixes bug 1254.
  18411. o Minor bugfixes:
  18412. - Fix static compilation by listing the openssl libraries in the right
  18413. order. Bugfix on Tor 0.2.2.8-alpha; fixes bug 1237.
  18414. - Resume handling .exit hostnames in a special way: originally we
  18415. stripped the .exit part and used the requested exit relay. In
  18416. 0.2.2.1-alpha we stopped treating them in any special way, meaning
  18417. if you use a .exit address then Tor will pass it on to the exit
  18418. relay. Now we reject the .exit stream outright, since that behavior
  18419. might be more expected by the user. Found and diagnosed by Scott
  18420. Bennett and Downie on or-talk.
  18421. - Don't spam the controller with events when we have no file
  18422. descriptors available. Bugfix on 0.2.1.5-alpha. (Rate-limiting
  18423. for log messages was already solved from bug 748.)
  18424. - Avoid a bogus overlapped memcpy in tor_addr_copy(). Reported by
  18425. "memcpyfail".
  18426. - Make the DNSPort option work with libevent 2.x. Don't alter the
  18427. behavior for libevent 1.x. Fixes bug 1143. Found by SwissTorExit.
  18428. - Emit a GUARD DROPPED controller event for a case we missed.
  18429. - Make more fields in the controller protocol case-insensitive, since
  18430. control-spec.txt said they were.
  18431. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  18432. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  18433. - Fix a spec conformance issue: the network-status-version token
  18434. must be the first token in a v3 consensus or vote. Discovered by
  18435. parakeep. Bugfix on 0.2.0.3-alpha.
  18436. o Code simplifications and refactoring:
  18437. - Generate our manpage and HTML documentation using Asciidoc. This
  18438. change should make it easier to maintain the documentation, and
  18439. produce nicer HTML.
  18440. - Remove the --enable-iphone option. According to reports from Marco
  18441. Bonetti, Tor builds fine without any special tweaking on recent
  18442. iPhone SDK versions.
  18443. - Removed some unnecessary files from the source distribution. The
  18444. AUTHORS file has now been merged into the people page on the
  18445. website. The roadmaps and design doc can now be found in the
  18446. projects directory in svn.
  18447. - Enabled various circuit build timeout constants to be controlled
  18448. by consensus parameters. Also set better defaults for these
  18449. parameters based on experimentation on broadband and simulated
  18450. high latency links.
  18451. o Minor features:
  18452. - The 'EXTENDCIRCUIT' control port command can now be used with
  18453. a circ id of 0 and no path. This feature will cause Tor to build
  18454. a new 'fast' general purpose circuit using its own path selection
  18455. algorithms.
  18456. - Added a BUILDTIMEOUT_SET controller event to describe changes
  18457. to the circuit build timeout.
  18458. - Future-proof the controller protocol a bit by ignoring keyword
  18459. arguments we do not recognize.
  18460. - Expand homedirs passed to tor-checkkey. This should silence a
  18461. coverity complaint about passing a user-supplied string into
  18462. open() without checking it.
  18463. Changes in version 0.2.1.25 - 2010-03-16
  18464. Tor 0.2.1.25 fixes a regression introduced in 0.2.1.23 that could
  18465. prevent relays from guessing their IP address correctly. It also fixes
  18466. several minor potential security bugs.
  18467. o Major bugfixes:
  18468. - Fix a regression from our patch for bug 1244 that caused relays
  18469. to guess their IP address incorrectly if they didn't set Address
  18470. in their torrc and/or their address fails to resolve. Bugfix on
  18471. 0.2.1.23; fixes bug 1269.
  18472. - When freeing a session key, zero it out completely. We only zeroed
  18473. the first ptrsize bytes. Bugfix on 0.0.2pre8. Discovered and
  18474. patched by ekir. Fixes bug 1254.
  18475. o Minor bugfixes:
  18476. - Fix a dereference-then-NULL-check sequence when publishing
  18477. descriptors. Bugfix on 0.2.1.5-alpha. Discovered by ekir; fixes
  18478. bug 1255.
  18479. - Fix another dereference-then-NULL-check sequence. Bugfix on
  18480. 0.2.1.14-rc. Discovered by ekir; fixes bug 1256.
  18481. - Make sure we treat potentially not NUL-terminated strings correctly.
  18482. Bugfix on 0.1.1.13-alpha. Discovered by rieo; fixes bug 1257.
  18483. Changes in version 0.2.1.24 - 2010-02-21
  18484. Tor 0.2.1.24 makes Tor work again on the latest OS X -- this time
  18485. for sure!
  18486. o Minor bugfixes:
  18487. - Work correctly out-of-the-box with even more vendor-patched versions
  18488. of OpenSSL. In particular, make it so Debian and OS X don't need
  18489. customized patches to run/build.
  18490. Changes in version 0.2.1.23 - 2010-02-13
  18491. Tor 0.2.1.23 fixes a huge client-side performance bug, makes Tor work
  18492. again on the latest OS X, and updates the location of a directory
  18493. authority.
  18494. o Major bugfixes (performance):
  18495. - We were selecting our guards uniformly at random, and then weighting
  18496. which of our guards we'd use uniformly at random. This imbalance
  18497. meant that Tor clients were severely limited on throughput (and
  18498. probably latency too) by the first hop in their circuit. Now we
  18499. select guards weighted by currently advertised bandwidth. We also
  18500. automatically discard guards picked using the old algorithm. Fixes
  18501. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  18502. o Major bugfixes:
  18503. - Make Tor work again on the latest OS X: when deciding whether to
  18504. use strange flags to turn TLS renegotiation on, detect the OpenSSL
  18505. version at run-time, not compile time. We need to do this because
  18506. Apple doesn't update its dev-tools headers when it updates its
  18507. libraries in a security patch.
  18508. - Fix a potential buffer overflow in lookup_last_hid_serv_request()
  18509. that could happen on 32-bit platforms with 64-bit time_t. Also fix
  18510. a memory leak when requesting a hidden service descriptor we've
  18511. requested before. Fixes bug 1242, bugfix on 0.2.0.18-alpha. Found
  18512. by aakova.
  18513. o Directory authority changes:
  18514. - Change IP address for dannenberg (v3 directory authority), and
  18515. remove moria2 (obsolete v1, v2 directory authority and v0 hidden
  18516. service directory authority) from the list.
  18517. o Minor bugfixes:
  18518. - Refactor resolve_my_address() to not use gethostbyname() anymore.
  18519. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
  18520. o Minor features:
  18521. - Avoid a mad rush at the beginning of each month when each client
  18522. rotates half of its guards. Instead we spread the rotation out
  18523. throughout the month, but we still avoid leaving a precise timestamp
  18524. in the state file about when we first picked the guard. Improves
  18525. over the behavior introduced in 0.1.2.17.
  18526. Changes in version 0.2.2.8-alpha - 2010-01-26
  18527. Tor 0.2.2.8-alpha fixes a crash bug in 0.2.2.7-alpha that has been
  18528. causing bridge relays to disappear. If you're running a bridge,
  18529. please upgrade.
  18530. o Major bugfixes:
  18531. - Fix a memory corruption bug on bridges that occurred during the
  18532. inclusion of stats data in extra-info descriptors. Also fix the
  18533. interface for geoip_get_bridge_stats* to prevent similar bugs in
  18534. the future. Diagnosis by Tas, patch by Karsten and Sebastian.
  18535. Fixes bug 1208; bugfix on 0.2.2.7-alpha.
  18536. o Minor bugfixes:
  18537. - Ignore OutboundBindAddress when connecting to localhost.
  18538. Connections to localhost need to come _from_ localhost, or else
  18539. local servers (like DNS and outgoing HTTP/SOCKS proxies) will often
  18540. refuse to listen.
  18541. Changes in version 0.2.2.7-alpha - 2010-01-19
  18542. Tor 0.2.2.7-alpha fixes a huge client-side performance bug, as well
  18543. as laying the groundwork for further relay-side performance fixes. It
  18544. also starts cleaning up client behavior with respect to the EntryNodes,
  18545. ExitNodes, and StrictNodes config options.
  18546. This release also rotates two directory authority keys, due to a
  18547. security breach of some of the Torproject servers.
  18548. o Directory authority changes:
  18549. - Rotate keys (both v3 identity and relay identity) for moria1
  18550. and gabelmoo.
  18551. o Major features (performance):
  18552. - We were selecting our guards uniformly at random, and then weighting
  18553. which of our guards we'd use uniformly at random. This imbalance
  18554. meant that Tor clients were severely limited on throughput (and
  18555. probably latency too) by the first hop in their circuit. Now we
  18556. select guards weighted by currently advertised bandwidth. We also
  18557. automatically discard guards picked using the old algorithm. Fixes
  18558. bug 1217; bugfix on 0.2.1.3-alpha. Found by Mike Perry.
  18559. - When choosing which cells to relay first, relays can now favor
  18560. circuits that have been quiet recently, to provide lower latency
  18561. for low-volume circuits. By default, relays enable or disable this
  18562. feature based on a setting in the consensus. You can override
  18563. this default by using the new "CircuitPriorityHalflife" config
  18564. option. Design and code by Ian Goldberg, Can Tang, and Chris
  18565. Alexander.
  18566. - Add separate per-conn write limiting to go with the per-conn read
  18567. limiting. We added a global write limit in Tor 0.1.2.5-alpha,
  18568. but never per-conn write limits.
  18569. - New consensus params "bwconnrate" and "bwconnburst" to let us
  18570. rate-limit client connections as they enter the network. It's
  18571. controlled in the consensus so we can turn it on and off for
  18572. experiments. It's starting out off. Based on proposal 163.
  18573. o Major features (relay selection options):
  18574. - Switch to a StrictNodes config option, rather than the previous
  18575. "StrictEntryNodes" / "StrictExitNodes" separation that was missing a
  18576. "StrictExcludeNodes" option.
  18577. - If EntryNodes, ExitNodes, ExcludeNodes, or ExcludeExitNodes
  18578. change during a config reload, mark and discard all our origin
  18579. circuits. This fix should address edge cases where we change the
  18580. config options and but then choose a circuit that we created before
  18581. the change.
  18582. - If EntryNodes or ExitNodes are set, be more willing to use an
  18583. unsuitable (e.g. slow or unstable) circuit. The user asked for it,
  18584. they get it.
  18585. - Make EntryNodes config option much more aggressive even when
  18586. StrictNodes is not set. Before it would prepend your requested
  18587. entrynodes to your list of guard nodes, but feel free to use others
  18588. after that. Now it chooses only from your EntryNodes if any of
  18589. those are available, and only falls back to others if a) they're
  18590. all down and b) StrictNodes is not set.
  18591. - Now we refresh your entry guards from EntryNodes at each consensus
  18592. fetch -- rather than just at startup and then they slowly rot as
  18593. the network changes.
  18594. o Major bugfixes:
  18595. - Stop bridge directory authorities from answering dbg-stability.txt
  18596. directory queries, which would let people fetch a list of all
  18597. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  18598. o Minor features:
  18599. - Log a notice when we get a new control connection. Now it's easier
  18600. for security-conscious users to recognize when a local application
  18601. is knocking on their controller door. Suggested by bug 1196.
  18602. - New config option "CircuitStreamTimeout" to override our internal
  18603. timeout schedule for how many seconds until we detach a stream from
  18604. a circuit and try a new circuit. If your network is particularly
  18605. slow, you might want to set this to a number like 60.
  18606. - New controller command "getinfo config-text". It returns the
  18607. contents that Tor would write if you send it a SAVECONF command,
  18608. so the controller can write the file to disk itself.
  18609. - New options for SafeLogging to allow scrubbing only log messages
  18610. generated while acting as a relay.
  18611. - Ship the bridges spec file in the tarball too.
  18612. - Avoid a mad rush at the beginning of each month when each client
  18613. rotates half of its guards. Instead we spread the rotation out
  18614. throughout the month, but we still avoid leaving a precise timestamp
  18615. in the state file about when we first picked the guard. Improves
  18616. over the behavior introduced in 0.1.2.17.
  18617. o Minor bugfixes (compiling):
  18618. - Fix compilation on OS X 10.3, which has a stub mlockall() but
  18619. hides it. Bugfix on 0.2.2.6-alpha.
  18620. - Fix compilation on Solaris by removing support for the
  18621. DisableAllSwap config option. Solaris doesn't have an rlimit for
  18622. mlockall, so we cannot use it safely. Fixes bug 1198; bugfix on
  18623. 0.2.2.6-alpha.
  18624. o Minor bugfixes (crashes):
  18625. - Do not segfault when writing buffer stats when we haven't observed
  18626. a single circuit to report about. Found by Fabian Lanze. Bugfix on
  18627. 0.2.2.1-alpha.
  18628. - If we're in the pathological case where there's no exit bandwidth
  18629. but there is non-exit bandwidth, or no guard bandwidth but there
  18630. is non-guard bandwidth, don't crash during path selection. Bugfix
  18631. on 0.2.0.3-alpha.
  18632. - Fix an impossible-to-actually-trigger buffer overflow in relay
  18633. descriptor generation. Bugfix on 0.1.0.15.
  18634. o Minor bugfixes (privacy):
  18635. - Fix an instance where a Tor directory mirror might accidentally
  18636. log the IP address of a misbehaving Tor client. Bugfix on
  18637. 0.1.0.1-rc.
  18638. - Don't list Windows capabilities in relay descriptors. We never made
  18639. use of them, and maybe it's a bad idea to publish them. Bugfix
  18640. on 0.1.1.8-alpha.
  18641. o Minor bugfixes (other):
  18642. - Resolve an edge case in path weighting that could make us misweight
  18643. our relay selection. Fixes bug 1203; bugfix on 0.0.8rc1.
  18644. - Fix statistics on client numbers by country as seen by bridges that
  18645. were broken in 0.2.2.1-alpha. Also switch to reporting full 24-hour
  18646. intervals instead of variable 12-to-48-hour intervals.
  18647. - After we free an internal connection structure, overwrite it
  18648. with a different memory value than we use for overwriting a freed
  18649. internal circuit structure. Should help with debugging. Suggested
  18650. by bug 1055.
  18651. - Update our OpenSSL 0.9.8l fix so that it works with OpenSSL 0.9.8m
  18652. too.
  18653. o Removed features:
  18654. - Remove the HSAuthorityRecordStats option that version 0 hidden
  18655. service authorities could have used to track statistics of overall
  18656. hidden service usage.
  18657. Changes in version 0.2.1.22 - 2010-01-19
  18658. Tor 0.2.1.22 fixes a critical privacy problem in bridge directory
  18659. authorities -- it would tell you its whole history of bridge descriptors
  18660. if you make the right directory request. This stable update also
  18661. rotates two of the seven v3 directory authority keys and locations.
  18662. o Directory authority changes:
  18663. - Rotate keys (both v3 identity and relay identity) for moria1
  18664. and gabelmoo.
  18665. o Major bugfixes:
  18666. - Stop bridge directory authorities from answering dbg-stability.txt
  18667. directory queries, which would let people fetch a list of all
  18668. bridge identities they track. Bugfix on 0.2.1.6-alpha.
  18669. Changes in version 0.2.1.21 - 2009-12-21
  18670. Tor 0.2.1.21 fixes an incompatibility with the most recent OpenSSL
  18671. library. If you use Tor on Linux / Unix and you're getting SSL
  18672. renegotiation errors, upgrading should help. We also recommend an
  18673. upgrade if you're an exit relay.
  18674. o Major bugfixes:
  18675. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  18676. handshake from working unless we explicitly tell OpenSSL that we
  18677. are using SSL renegotiation safely. We are, of course, but OpenSSL
  18678. 0.9.8l won't work unless we say we are.
  18679. - Avoid crashing if the client is trying to upload many bytes and the
  18680. circuit gets torn down at the same time, or if the flip side
  18681. happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
  18682. o Minor bugfixes:
  18683. - Do not refuse to learn about authority certs and v2 networkstatus
  18684. documents that are older than the latest consensus. This bug might
  18685. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  18686. Spotted and fixed by xmux.
  18687. - Fix a couple of very-hard-to-trigger memory leaks, and one hard-to-
  18688. trigger platform-specific option misparsing case found by Coverity
  18689. Scan.
  18690. - Fix a compilation warning on Fedora 12 by removing an impossible-to-
  18691. trigger assert. Fixes bug 1173.
  18692. Changes in version 0.2.2.6-alpha - 2009-11-19
  18693. Tor 0.2.2.6-alpha lays the groundwork for many upcoming features:
  18694. support for the new lower-footprint "microdescriptor" directory design,
  18695. future-proofing our consensus format against new hash functions or
  18696. other changes, and an Android port. It also makes Tor compatible with
  18697. the upcoming OpenSSL 0.9.8l release, and fixes a variety of bugs.
  18698. o Major features:
  18699. - Directory authorities can now create, vote on, and serve multiple
  18700. parallel formats of directory data as part of their voting process.
  18701. Partially implements Proposal 162: "Publish the consensus in
  18702. multiple flavors".
  18703. - Directory authorities can now agree on and publish small summaries
  18704. of router information that clients can use in place of regular
  18705. server descriptors. This transition will eventually allow clients
  18706. to use far less bandwidth for downloading information about the
  18707. network. Begins the implementation of Proposal 158: "Clients
  18708. download consensus + microdescriptors".
  18709. - The directory voting system is now extensible to use multiple hash
  18710. algorithms for signatures and resource selection. Newer formats
  18711. are signed with SHA256, with a possibility for moving to a better
  18712. hash algorithm in the future.
  18713. - New DisableAllSwap option. If set to 1, Tor will attempt to lock all
  18714. current and future memory pages via mlockall(). On supported
  18715. platforms (modern Linux and probably BSD but not Windows or OS X),
  18716. this should effectively disable any and all attempts to page out
  18717. memory. This option requires that you start your Tor as root --
  18718. if you use DisableAllSwap, please consider using the User option
  18719. to properly reduce the privileges of your Tor.
  18720. - Numerous changes, bugfixes, and workarounds from Nathan Freitas
  18721. to help Tor build correctly for Android phones.
  18722. o Major bugfixes:
  18723. - Work around a security feature in OpenSSL 0.9.8l that prevents our
  18724. handshake from working unless we explicitly tell OpenSSL that we
  18725. are using SSL renegotiation safely. We are, but OpenSSL 0.9.8l
  18726. won't work unless we say we are.
  18727. o Minor bugfixes:
  18728. - Fix a crash bug when trying to initialize the evdns module in
  18729. Libevent 2. Bugfix on 0.2.1.16-rc.
  18730. - Stop logging at severity 'warn' when some other Tor client tries
  18731. to establish a circuit with us using weak DH keys. It's a protocol
  18732. violation, but that doesn't mean ordinary users need to hear about
  18733. it. Fixes the bug part of bug 1114. Bugfix on 0.1.0.13.
  18734. - Do not refuse to learn about authority certs and v2 networkstatus
  18735. documents that are older than the latest consensus. This bug might
  18736. have degraded client bootstrapping. Bugfix on 0.2.0.10-alpha.
  18737. Spotted and fixed by xmux.
  18738. - Fix numerous small code-flaws found by Coverity Scan Rung 3.
  18739. - If all authorities restart at once right before a consensus vote,
  18740. nobody will vote about "Running", and clients will get a consensus
  18741. with no usable relays. Instead, authorities refuse to build a
  18742. consensus if this happens. Bugfix on 0.2.0.10-alpha; fixes bug 1066.
  18743. - If your relay can't keep up with the number of incoming create
  18744. cells, it would log one warning per failure into your logs. Limit
  18745. warnings to 1 per minute. Bugfix on 0.0.2pre10; fixes bug 1042.
  18746. - Bridges now use "reject *:*" as their default exit policy. Bugfix
  18747. on 0.2.0.3-alpha; fixes bug 1113.
  18748. - Fix a memory leak on directory authorities during voting that was
  18749. introduced in 0.2.2.1-alpha. Found via valgrind.
  18750. Changes in version 0.2.1.20 - 2009-10-15
  18751. Tor 0.2.1.20 fixes a crash bug when you're accessing many hidden
  18752. services at once, prepares for more performance improvements, and
  18753. fixes a bunch of smaller bugs.
  18754. The Windows and OS X bundles also include a more recent Vidalia,
  18755. and switch from Privoxy to Polipo.
  18756. The OS X installers are now drag and drop. It's best to un-install
  18757. Tor/Vidalia and then install this new bundle, rather than upgrade. If
  18758. you want to upgrade, you'll need to update the paths for Tor and Polipo
  18759. in the Vidalia Settings window.
  18760. o Major bugfixes:
  18761. - Send circuit or stream sendme cells when our window has decreased
  18762. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  18763. by Karsten when testing the "reduce circuit window" performance
  18764. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  18765. before the release of Tor 0.0.0. This is the new winner of the
  18766. oldest-bug prize.
  18767. - Fix a remotely triggerable memory leak when a consensus document
  18768. contains more than one signature from the same voter. Bugfix on
  18769. 0.2.0.3-alpha.
  18770. - Avoid segfault in rare cases when finishing an introduction circuit
  18771. as a client and finding out that we don't have an introduction key
  18772. for it. Fixes bug 1073. Reported by Aaron Swartz.
  18773. o Major features:
  18774. - Tor now reads the "circwindow" parameter out of the consensus,
  18775. and uses that value for its circuit package window rather than the
  18776. default of 1000 cells. Begins the implementation of proposal 168.
  18777. o New directory authorities:
  18778. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  18779. authority.
  18780. - Move moria1 and tonga to alternate IP addresses.
  18781. o Minor bugfixes:
  18782. - Fix a signed/unsigned compile warning in 0.2.1.19.
  18783. - Fix possible segmentation fault on directory authorities. Bugfix on
  18784. 0.2.1.14-rc.
  18785. - Fix an extremely rare infinite recursion bug that could occur if
  18786. we tried to log a message after shutting down the log subsystem.
  18787. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  18788. - Fix an obscure bug where hidden services on 64-bit big-endian
  18789. systems might mis-read the timestamp in v3 introduce cells, and
  18790. refuse to connect back to the client. Discovered by "rotor".
  18791. Bugfix on 0.2.1.6-alpha.
  18792. - We were triggering a CLOCK_SKEW controller status event whenever
  18793. we connect via the v2 connection protocol to any relay that has
  18794. a wrong clock. Instead, we should only inform the controller when
  18795. it's a trusted authority that claims our clock is wrong. Bugfix
  18796. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  18797. - We were telling the controller about CHECKING_REACHABILITY and
  18798. REACHABILITY_FAILED status events whenever we launch a testing
  18799. circuit or notice that one has failed. Instead, only tell the
  18800. controller when we want to inform the user of overall success or
  18801. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  18802. by SwissTorExit.
  18803. - Don't warn when we're using a circuit that ends with a node
  18804. excluded in ExcludeExitNodes, but the circuit is not used to access
  18805. the outside world. This should help fix bug 1090. Bugfix on
  18806. 0.2.1.6-alpha.
  18807. - Work around a small memory leak in some versions of OpenSSL that
  18808. stopped the memory used by the hostname TLS extension from being
  18809. freed.
  18810. o Minor features:
  18811. - Add a "getinfo status/accepted-server-descriptor" controller
  18812. command, which is the recommended way for controllers to learn
  18813. whether our server descriptor has been successfully received by at
  18814. least on directory authority. Un-recommend good-server-descriptor
  18815. getinfo and status events until we have a better design for them.
  18816. Changes in version 0.2.2.5-alpha - 2009-10-11
  18817. Tor 0.2.2.5-alpha fixes a few compile problems in 0.2.2.4-alpha.
  18818. o Major bugfixes:
  18819. - Make the tarball compile again. Oops. Bugfix on 0.2.2.4-alpha.
  18820. o Directory authorities:
  18821. - Temporarily (just for this release) move dizum to an alternate
  18822. IP address.
  18823. Changes in version 0.2.2.4-alpha - 2009-10-10
  18824. Tor 0.2.2.4-alpha fixes more crash bugs in 0.2.2.2-alpha. It also
  18825. introduces a new unit test framework, shifts directry authority
  18826. addresses around to reduce the impact from recent blocking events,
  18827. and fixes a few smaller bugs.
  18828. o Major bugfixes:
  18829. - Fix several more asserts in the circuit_build_times code, for
  18830. example one that causes Tor to fail to start once we have
  18831. accumulated 5000 build times in the state file. Bugfixes on
  18832. 0.2.2.2-alpha; fixes bug 1108.
  18833. o New directory authorities:
  18834. - Move moria1 and Tonga to alternate IP addresses.
  18835. o Minor features:
  18836. - Log SSL state transitions at debug level during handshake, and
  18837. include SSL states in error messages. This may help debug future
  18838. SSL handshake issues.
  18839. - Add a new "Handshake" log domain for activities that happen
  18840. during the TLS handshake.
  18841. - Revert to the "June 3 2009" ip-to-country file. The September one
  18842. seems to have removed most US IP addresses.
  18843. - Directory authorities now reject Tor relays with versions less than
  18844. 0.1.2.14. This step cuts out four relays from the current network,
  18845. none of which are very big.
  18846. o Minor bugfixes:
  18847. - Fix a couple of smaller issues with gathering statistics. Bugfixes
  18848. on 0.2.2.1-alpha.
  18849. - Fix two memory leaks in the error case of
  18850. circuit_build_times_parse_state(). Bugfix on 0.2.2.2-alpha.
  18851. - Don't count one-hop circuits when we're estimating how long it
  18852. takes circuits to build on average. Otherwise we'll set our circuit
  18853. build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
  18854. - Directory authorities no longer change their opinion of, or vote on,
  18855. whether a router is Running, unless they have themselves been
  18856. online long enough to have some idea. Bugfix on 0.2.0.6-alpha.
  18857. Fixes bug 1023.
  18858. o Code simplifications and refactoring:
  18859. - Revise our unit tests to use the "tinytest" framework, so we
  18860. can run tests in their own processes, have smarter setup/teardown
  18861. code, and so on. The unit test code has moved to its own
  18862. subdirectory, and has been split into multiple modules.
  18863. Changes in version 0.2.2.3-alpha - 2009-09-23
  18864. Tor 0.2.2.3-alpha fixes a few crash bugs in 0.2.2.2-alpha.
  18865. o Major bugfixes:
  18866. - Fix an overzealous assert in our new circuit build timeout code.
  18867. Bugfix on 0.2.2.2-alpha; fixes bug 1103.
  18868. o Minor bugfixes:
  18869. - If the networkstatus consensus tells us that we should use a
  18870. negative circuit package window, ignore it. Otherwise we'll
  18871. believe it and then trigger an assert. Bugfix on 0.2.2.2-alpha.
  18872. Changes in version 0.2.2.2-alpha - 2009-09-21
  18873. Tor 0.2.2.2-alpha introduces our latest performance improvement for
  18874. clients: Tor tracks the average time it takes to build a circuit, and
  18875. avoids using circuits that take too long to build. For fast connections,
  18876. this feature can cut your expected latency in half. For slow or flaky
  18877. connections, it could ruin your Tor experience. Let us know if it does!
  18878. o Major features:
  18879. - Tor now tracks how long it takes to build client-side circuits
  18880. over time, and adapts its timeout to local network performance.
  18881. Since a circuit that takes a long time to build will also provide
  18882. bad performance, we get significant latency improvements by
  18883. discarding the slowest 20% of circuits. Specifically, Tor creates
  18884. circuits more aggressively than usual until it has enough data
  18885. points for a good timeout estimate. Implements proposal 151.
  18886. We are especially looking for reports (good and bad) from users with
  18887. both EDGE and broadband connections that can move from broadband
  18888. to EDGE and find out if the build-time data in the .tor/state gets
  18889. reset without loss of Tor usability. You should also see a notice
  18890. log message telling you that Tor has reset its timeout.
  18891. - Directory authorities can now vote on arbitrary integer values as
  18892. part of the consensus process. This is designed to help set
  18893. network-wide parameters. Implements proposal 167.
  18894. - Tor now reads the "circwindow" parameter out of the consensus,
  18895. and uses that value for its circuit package window rather than the
  18896. default of 1000 cells. Begins the implementation of proposal 168.
  18897. o Major bugfixes:
  18898. - Fix a remotely triggerable memory leak when a consensus document
  18899. contains more than one signature from the same voter. Bugfix on
  18900. 0.2.0.3-alpha.
  18901. o Minor bugfixes:
  18902. - Fix an extremely rare infinite recursion bug that could occur if
  18903. we tried to log a message after shutting down the log subsystem.
  18904. Found by Matt Edman. Bugfix on 0.2.0.16-alpha.
  18905. - Fix parsing for memory or time units given without a space between
  18906. the number and the unit. Bugfix on 0.2.2.1-alpha; fixes bug 1076.
  18907. - A networkstatus vote must contain exactly one signature. Spec
  18908. conformance issue. Bugfix on 0.2.0.3-alpha.
  18909. - Fix an obscure bug where hidden services on 64-bit big-endian
  18910. systems might mis-read the timestamp in v3 introduce cells, and
  18911. refuse to connect back to the client. Discovered by "rotor".
  18912. Bugfix on 0.2.1.6-alpha.
  18913. - We were triggering a CLOCK_SKEW controller status event whenever
  18914. we connect via the v2 connection protocol to any relay that has
  18915. a wrong clock. Instead, we should only inform the controller when
  18916. it's a trusted authority that claims our clock is wrong. Bugfix
  18917. on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
  18918. - We were telling the controller about CHECKING_REACHABILITY and
  18919. REACHABILITY_FAILED status events whenever we launch a testing
  18920. circuit or notice that one has failed. Instead, only tell the
  18921. controller when we want to inform the user of overall success or
  18922. overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
  18923. by SwissTorExit.
  18924. - Don't warn when we're using a circuit that ends with a node
  18925. excluded in ExcludeExitNodes, but the circuit is not used to access
  18926. the outside world. This should help fix bug 1090, but more problems
  18927. remain. Bugfix on 0.2.1.6-alpha.
  18928. - Work around a small memory leak in some versions of OpenSSL that
  18929. stopped the memory used by the hostname TLS extension from being
  18930. freed.
  18931. - Make our 'torify' script more portable; if we have only one of
  18932. 'torsocks' or 'tsocks' installed, don't complain to the user;
  18933. and explain our warning about tsocks better.
  18934. o Minor features:
  18935. - Add a "getinfo status/accepted-server-descriptor" controller
  18936. command, which is the recommended way for controllers to learn
  18937. whether our server descriptor has been successfully received by at
  18938. least on directory authority. Un-recommend good-server-descriptor
  18939. getinfo and status events until we have a better design for them.
  18940. - Update to the "September 4 2009" ip-to-country file.
  18941. Changes in version 0.2.2.1-alpha - 2009-08-26
  18942. Tor 0.2.2.1-alpha disables ".exit" address notation by default, allows
  18943. Tor clients to bootstrap on networks where only port 80 is reachable,
  18944. makes it more straightforward to support hardware crypto accelerators,
  18945. and starts the groundwork for gathering stats safely at relays.
  18946. o Security fixes:
  18947. - Start the process of disabling ".exit" address notation, since it
  18948. can be used for a variety of esoteric application-level attacks
  18949. on users. To reenable it, set "AllowDotExit 1" in your torrc. Fix
  18950. on 0.0.9rc5.
  18951. o New directory authorities:
  18952. - Set up urras (run by Jacob Appelbaum) as the seventh v3 directory
  18953. authority.
  18954. o Major features:
  18955. - New AccelName and AccelDir options add support for dynamic OpenSSL
  18956. hardware crypto acceleration engines.
  18957. - Tor now supports tunneling all of its outgoing connections over
  18958. a SOCKS proxy, using the SOCKS4Proxy and/or SOCKS5Proxy
  18959. configuration options. Code by Christopher Davis.
  18960. o Major bugfixes:
  18961. - Send circuit or stream sendme cells when our window has decreased
  18962. by 100 cells, not when it has decreased by 101 cells. Bug uncovered
  18963. by Karsten when testing the "reduce circuit window" performance
  18964. patch. Bugfix on the 54th commit on Tor -- from July 2002,
  18965. before the release of Tor 0.0.0. This is the new winner of the
  18966. oldest-bug prize.
  18967. o New options for gathering stats safely:
  18968. - Directory mirrors that set "DirReqStatistics 1" write statistics
  18969. about directory requests to disk every 24 hours. As compared to the
  18970. --enable-geoip-stats flag in 0.2.1.x, there are a few improvements:
  18971. 1) stats are written to disk exactly every 24 hours; 2) estimated
  18972. shares of v2 and v3 requests are determined as mean values, not at
  18973. the end of a measurement period; 3) unresolved requests are listed
  18974. with country code '??'; 4) directories also measure download times.
  18975. - Exit nodes that set "ExitPortStatistics 1" write statistics on the
  18976. number of exit streams and transferred bytes per port to disk every
  18977. 24 hours.
  18978. - Relays that set "CellStatistics 1" write statistics on how long
  18979. cells spend in their circuit queues to disk every 24 hours.
  18980. - Entry nodes that set "EntryStatistics 1" write statistics on the
  18981. rough number and origins of connecting clients to disk every 24
  18982. hours.
  18983. - Relays that write any of the above statistics to disk and set
  18984. "ExtraInfoStatistics 1" include the past 24 hours of statistics in
  18985. their extra-info documents.
  18986. o Minor features:
  18987. - New --digests command-line switch to output the digests of the
  18988. source files Tor was built with.
  18989. - The "torify" script now uses torsocks where available.
  18990. - The memarea code now uses a sentinel value at the end of each area
  18991. to make sure nothing writes beyond the end of an area. This might
  18992. help debug some conceivable causes of bug 930.
  18993. - Time and memory units in the configuration file can now be set to
  18994. fractional units. For example, "2.5 GB" is now a valid value for
  18995. AccountingMax.
  18996. - Certain Tor clients (such as those behind check.torproject.org) may
  18997. want to fetch the consensus in an extra early manner. To enable this
  18998. a user may now set FetchDirInfoExtraEarly to 1. This also depends on
  18999. setting FetchDirInfoEarly to 1. Previous behavior will stay the same
  19000. as only certain clients who must have this information sooner should
  19001. set this option.
  19002. - Instead of adding the svn revision to the Tor version string, report
  19003. the git commit (when we're building from a git checkout).
  19004. o Minor bugfixes:
  19005. - If any of the v3 certs we download are unparseable, we should
  19006. actually notice the failure so we don't retry indefinitely. Bugfix
  19007. on 0.2.0.x; reported by "rotator".
  19008. - If the cached cert file is unparseable, warn but don't exit.
  19009. - Fix possible segmentation fault on directory authorities. Bugfix on
  19010. 0.2.1.14-rc.
  19011. - When Tor fails to parse a descriptor of any kind, dump it to disk.
  19012. Might help diagnosing bug 1051.
  19013. o Deprecated and removed features:
  19014. - The controller no longer accepts the old obsolete "addr-mappings/"
  19015. or "unregistered-servers-" GETINFO values.
  19016. - Hidden services no longer publish version 0 descriptors, and clients
  19017. do not request or use version 0 descriptors. However, the old hidden
  19018. service authorities still accept and serve version 0 descriptors
  19019. when contacted by older hidden services/clients.
  19020. - The EXTENDED_EVENTS and VERBOSE_NAMES controller features are now
  19021. always on; using them is necessary for correct forward-compatible
  19022. controllers.
  19023. - Remove support for .noconnect style addresses. Nobody was using
  19024. them, and they provided another avenue for detecting Tor users
  19025. via application-level web tricks.
  19026. o Packaging changes:
  19027. - Upgrade Vidalia from 0.1.15 to 0.2.3 in the Windows and OS X
  19028. installer bundles. See
  19029. https://trac.vidalia-project.net/browser/vidalia/tags/vidalia-0.2.3/CHANGELOG
  19030. for details of what's new in Vidalia 0.2.3.
  19031. - Windows Vidalia Bundle: update Privoxy from 3.0.6 to 3.0.14-beta.
  19032. - OS X Vidalia Bundle: move to Polipo 1.0.4 with Tor specific
  19033. configuration file, rather than the old Privoxy.
  19034. - OS X Vidalia Bundle: Vidalia, Tor, and Polipo are compiled as
  19035. x86-only for better compatibility with OS X 10.6, aka Snow Leopard.
  19036. - OS X Tor Expert Bundle: Tor is compiled as x86-only for
  19037. better compatibility with OS X 10.6, aka Snow Leopard.
  19038. - OS X Vidalia Bundle: The multi-package installer is now replaced
  19039. by a simple drag and drop to the /Applications folder. This change
  19040. occurred with the upgrade to Vidalia 0.2.3.
  19041. Changes in version 0.2.1.19 - 2009-07-28
  19042. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
  19043. services on Tor 0.2.1.3-alpha through 0.2.1.18.
  19044. o Major bugfixes:
  19045. - Make accessing hidden services on 0.2.1.x work right again.
  19046. Bugfix on 0.2.1.3-alpha; workaround for bug 1038. Diagnosis and
  19047. part of patch provided by "optimist".
  19048. o Minor features:
  19049. - When a relay/bridge is writing out its identity key fingerprint to
  19050. the "fingerprint" file and to its logs, write it without spaces. Now
  19051. it will look like the fingerprints in our bridges documentation,
  19052. and confuse fewer users.
  19053. o Minor bugfixes:
  19054. - Relays no longer publish a new server descriptor if they change
  19055. their MaxAdvertisedBandwidth config option but it doesn't end up
  19056. changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
  19057. fixes bug 1026. Patch from Sebastian.
  19058. - Avoid leaking memory every time we get a create cell but we have
  19059. so many already queued that we refuse it. Bugfix on 0.2.0.19-alpha;
  19060. fixes bug 1034. Reported by BarkerJr.
  19061. Changes in version 0.2.1.18 - 2009-07-24
  19062. Tor 0.2.1.18 lays the foundations for performance improvements,
  19063. adds status events to help users diagnose bootstrap problems, adds
  19064. optional authentication/authorization for hidden services, fixes a
  19065. variety of potential anonymity problems, and includes a huge pile of
  19066. other features and bug fixes.
  19067. o Build fixes:
  19068. - Add LIBS=-lrt to Makefile.am so the Tor RPMs use a static libevent.
  19069. Changes in version 0.2.1.17-rc - 2009-07-07
  19070. Tor 0.2.1.17-rc marks the fourth -- and hopefully last -- release
  19071. candidate for the 0.2.1.x series. It lays the groundwork for further
  19072. client performance improvements, and also fixes a big bug with directory
  19073. authorities that were causing them to assign Guard and Stable flags
  19074. poorly.
  19075. The Windows bundles also finally include the geoip database that we
  19076. thought we'd been shipping since 0.2.0.x (oops), and the OS X bundles
  19077. should actually install Torbutton rather than giving you a cryptic
  19078. failure message (oops).
  19079. o Major features:
  19080. - Clients now use the bandwidth values in the consensus, rather than
  19081. the bandwidth values in each relay descriptor. This approach opens
  19082. the door to more accurate bandwidth estimates once the directory
  19083. authorities start doing active measurements. Implements more of
  19084. proposal 141.
  19085. o Major bugfixes:
  19086. - When Tor clients restart after 1-5 days, they discard all their
  19087. cached descriptors as too old, but they still use the cached
  19088. consensus document. This approach is good for robustness, but
  19089. bad for performance: since they don't know any bandwidths, they
  19090. end up choosing at random rather than weighting their choice by
  19091. speed. Fixed by the above feature of putting bandwidths in the
  19092. consensus. Bugfix on 0.2.0.x.
  19093. - Directory authorities were neglecting to mark relays down in their
  19094. internal histories if the relays fall off the routerlist without
  19095. ever being found unreachable. So there were relays in the histories
  19096. that haven't been seen for eight months, and are listed as being
  19097. up for eight months. This wreaked havoc on the "median wfu"
  19098. and "median mtbf" calculations, in turn making Guard and Stable
  19099. flags very wrong, hurting network performance. Fixes bugs 696 and
  19100. 969. Bugfix on 0.2.0.6-alpha.
  19101. o Minor bugfixes:
  19102. - Serve the DirPortFrontPage page even when we have been approaching
  19103. our quotas recently. Fixes bug 1013; bugfix on 0.2.1.8-alpha.
  19104. - The control port would close the connection before flushing long
  19105. replies, such as the network consensus, if a QUIT command was issued
  19106. before the reply had completed. Now, the control port flushes all
  19107. pending replies before closing the connection. Also fixed a spurious
  19108. warning when a QUIT command is issued after a malformed or rejected
  19109. AUTHENTICATE command, but before the connection was closed. Patch
  19110. by Marcus Griep. Bugfix on 0.2.0.x; fixes bugs 1015 and 1016.
  19111. - When we can't find an intro key for a v2 hidden service descriptor,
  19112. fall back to the v0 hidden service descriptor and log a bug message.
  19113. Workaround for bug 1024.
  19114. - Fix a log message that did not respect the SafeLogging option.
  19115. Resolves bug 1027.
  19116. o Minor features:
  19117. - If we're a relay and we change our IP address, be more verbose
  19118. about the reason that made us change. Should help track down
  19119. further bugs for relays on dynamic IP addresses.
  19120. Changes in version 0.2.0.35 - 2009-06-24
  19121. o Security fix:
  19122. - Avoid crashing in the presence of certain malformed descriptors.
  19123. Found by lark, and by automated fuzzing.
  19124. - Fix an edge case where a malicious exit relay could convince a
  19125. controller that the client's DNS question resolves to an internal IP
  19126. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  19127. o Major bugfixes:
  19128. - Finally fix the bug where dynamic-IP relays disappear when their
  19129. IP address changes: directory mirrors were mistakenly telling
  19130. them their old address if they asked via begin_dir, so they
  19131. never got an accurate answer about their new address, so they
  19132. just vanished after a day. For belt-and-suspenders, relays that
  19133. don't set Address in their config now avoid using begin_dir for
  19134. all direct connections. Should fix bugs 827, 883, and 900.
  19135. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  19136. that would occur on some exit nodes when DNS failures and timeouts
  19137. occurred in certain patterns. Fix for bug 957.
  19138. o Minor bugfixes:
  19139. - When starting with a cache over a few days old, do not leak
  19140. memory for the obsolete router descriptors in it. Bugfix on
  19141. 0.2.0.33; fixes bug 672.
  19142. - Hidden service clients didn't use a cached service descriptor that
  19143. was older than 15 minutes, but wouldn't fetch a new one either,
  19144. because there was already one in the cache. Now, fetch a v2
  19145. descriptor unless the same descriptor was added to the cache within
  19146. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  19147. Changes in version 0.2.1.16-rc - 2009-06-20
  19148. Tor 0.2.1.16-rc speeds up performance for fast exit relays, and fixes
  19149. a bunch of minor bugs.
  19150. o Security fixes:
  19151. - Fix an edge case where a malicious exit relay could convince a
  19152. controller that the client's DNS question resolves to an internal IP
  19153. address. Bug found and fixed by "optimist"; bugfix on 0.1.2.8-beta.
  19154. o Major performance improvements (on 0.2.0.x):
  19155. - Disable and refactor some debugging checks that forced a linear scan
  19156. over the whole server-side DNS cache. These accounted for over 50%
  19157. of CPU time on a relatively busy exit node's gprof profile. Found
  19158. by Jacob.
  19159. - Disable some debugging checks that appeared in exit node profile
  19160. data.
  19161. o Minor features:
  19162. - Update to the "June 3 2009" ip-to-country file.
  19163. - Do not have tor-resolve automatically refuse all .onion addresses;
  19164. if AutomapHostsOnResolve is set in your torrc, this will work fine.
  19165. o Minor bugfixes (on 0.2.0.x):
  19166. - Log correct error messages for DNS-related network errors on
  19167. Windows.
  19168. - Fix a race condition that could cause crashes or memory corruption
  19169. when running as a server with a controller listening for log
  19170. messages.
  19171. - Avoid crashing when we have a policy specified in a DirPolicy or
  19172. SocksPolicy or ReachableAddresses option with ports set on it,
  19173. and we re-load the policy. May fix bug 996.
  19174. - Hidden service clients didn't use a cached service descriptor that
  19175. was older than 15 minutes, but wouldn't fetch a new one either,
  19176. because there was already one in the cache. Now, fetch a v2
  19177. descriptor unless the same descriptor was added to the cache within
  19178. the last 15 minutes. Fixes bug 997; reported by Marcus Griep.
  19179. o Minor bugfixes (on 0.2.1.x):
  19180. - Don't warn users about low port and hibernation mix when they
  19181. provide a *ListenAddress directive to fix that. Bugfix on
  19182. 0.2.1.15-rc.
  19183. - When switching back and forth between bridge mode, do not start
  19184. gathering GeoIP data until two hours have passed.
  19185. - Do not complain that the user has requested an excluded node as
  19186. an exit when the node is not really an exit. This could happen
  19187. because the circuit was for testing, or an introduction point.
  19188. Fix for bug 984.
  19189. Changes in version 0.2.1.15-rc - 2009-05-25
  19190. Tor 0.2.1.15-rc marks the second release candidate for the 0.2.1.x
  19191. series. It fixes a major bug on fast exit relays, as well as a variety
  19192. of more minor bugs.
  19193. o Major bugfixes (on 0.2.0.x):
  19194. - Fix a timing-dependent, allocator-dependent, DNS-related crash bug
  19195. that would occur on some exit nodes when DNS failures and timeouts
  19196. occurred in certain patterns. Fix for bug 957.
  19197. o Minor bugfixes (on 0.2.0.x):
  19198. - Actually return -1 in the error case for read_bandwidth_usage().
  19199. Harmless bug, since we currently don't care about the return value
  19200. anywhere. Bugfix on 0.2.0.9-alpha.
  19201. - Provide a more useful log message if bug 977 (related to buffer
  19202. freelists) ever reappears, and do not crash right away.
  19203. - Fix an assertion failure on 64-bit platforms when we allocated
  19204. memory right up to the end of a memarea, then realigned the memory
  19205. one step beyond the end. Fixes a possible cause of bug 930.
  19206. - Protect the count of open sockets with a mutex, so we can't
  19207. corrupt it when two threads are closing or opening sockets at once.
  19208. Fix for bug 939. Bugfix on 0.2.0.1-alpha.
  19209. - Don't allow a bridge to publish its router descriptor to a
  19210. non-bridge directory authority. Fixes part of bug 932.
  19211. - When we change to or from being a bridge, reset our counts of
  19212. client usage by country. Fixes bug 932.
  19213. - Fix a bug that made stream bandwidth get misreported to the
  19214. controller.
  19215. - Stop using malloc_usable_size() to use more area than we had
  19216. actually allocated: it was safe, but made valgrind really unhappy.
  19217. - Fix a memory leak when v3 directory authorities load their keys
  19218. and cert from disk. Bugfix on 0.2.0.1-alpha.
  19219. o Minor bugfixes (on 0.2.1.x):
  19220. - Fix use of freed memory when deciding to mark a non-addable
  19221. descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
  19222. Changes in version 0.2.1.14-rc - 2009-04-12
  19223. Tor 0.2.1.14-rc marks the first release candidate for the 0.2.1.x
  19224. series. It begins fixing some major performance problems, and also
  19225. finally addresses the bug that was causing relays on dynamic IP
  19226. addresses to fall out of the directory.
  19227. o Major features:
  19228. - Clients replace entry guards that were chosen more than a few months
  19229. ago. This change should significantly improve client performance,
  19230. especially once more people upgrade, since relays that have been
  19231. a guard for a long time are currently overloaded.
  19232. o Major bugfixes (on 0.2.0):
  19233. - Finally fix the bug where dynamic-IP relays disappear when their
  19234. IP address changes: directory mirrors were mistakenly telling
  19235. them their old address if they asked via begin_dir, so they
  19236. never got an accurate answer about their new address, so they
  19237. just vanished after a day. For belt-and-suspenders, relays that
  19238. don't set Address in their config now avoid using begin_dir for
  19239. all direct connections. Should fix bugs 827, 883, and 900.
  19240. - Relays were falling out of the networkstatus consensus for
  19241. part of a day if they changed their local config but the
  19242. authorities discarded their new descriptor as "not sufficiently
  19243. different". Now directory authorities accept a descriptor as changed
  19244. if bandwidthrate or bandwidthburst changed. Partial fix for bug 962;
  19245. patch by Sebastian.
  19246. - Avoid crashing in the presence of certain malformed descriptors.
  19247. Found by lark, and by automated fuzzing.
  19248. o Minor features:
  19249. - When generating circuit events with verbose nicknames for
  19250. controllers, try harder to look up nicknames for routers on a
  19251. circuit. (Previously, we would look in the router descriptors we had
  19252. for nicknames, but not in the consensus.) Partial fix for bug 941.
  19253. - If the bridge config line doesn't specify a port, assume 443.
  19254. This makes bridge lines a bit smaller and easier for users to
  19255. understand.
  19256. - Raise the minimum bandwidth to be a relay from 20000 bytes to 20480
  19257. bytes (aka 20KB/s), to match our documentation. Also update
  19258. directory authorities so they always assign the Fast flag to relays
  19259. with 20KB/s of capacity. Now people running relays won't suddenly
  19260. find themselves not seeing any use, if the network gets faster
  19261. on average.
  19262. - Update to the "April 3 2009" ip-to-country file.
  19263. o Minor bugfixes:
  19264. - Avoid trying to print raw memory to the logs when we decide to
  19265. give up on downloading a given relay descriptor. Bugfix on
  19266. 0.2.1.9-alpha.
  19267. - In tor-resolve, when the Tor client to use is specified by
  19268. <hostname>:<port>, actually use the specified port rather than
  19269. defaulting to 9050. Bugfix on 0.2.1.6-alpha.
  19270. - Make directory usage recording work again. Bugfix on 0.2.1.6-alpha.
  19271. - When starting with a cache over a few days old, do not leak
  19272. memory for the obsolete router descriptors in it. Bugfix on
  19273. 0.2.0.33.
  19274. - Avoid double-free on list of successfully uploaded hidden
  19275. service discriptors. Fix for bug 948. Bugfix on 0.2.1.6-alpha.
  19276. - Change memarea_strndup() implementation to work even when
  19277. duplicating a string at the end of a page. This bug was
  19278. harmless for now, but could have meant crashes later. Fix by
  19279. lark. Bugfix on 0.2.1.1-alpha.
  19280. - Limit uploaded directory documents to be 16M rather than 500K.
  19281. The directory authorities were refusing v3 consensus votes from
  19282. other authorities, since the votes are now 504K. Fixes bug 959;
  19283. bugfix on 0.0.2pre17 (where we raised it from 50K to 500K ;).
  19284. - Directory authorities should never send a 503 "busy" response to
  19285. requests for votes or keys. Bugfix on 0.2.0.8-alpha; exposed by
  19286. bug 959.
  19287. Changes in version 0.2.1.13-alpha - 2009-03-09
  19288. Tor 0.2.1.13-alpha includes another big pile of minor bugfixes and
  19289. cleanups. We're finally getting close to a release candidate.
  19290. o Major bugfixes:
  19291. - Correctly update the list of which countries we exclude as
  19292. exits, when the GeoIP file is loaded or reloaded. Diagnosed by
  19293. lark. Bugfix on 0.2.1.6-alpha.
  19294. o Minor bugfixes (on 0.2.0.x and earlier):
  19295. - Automatically detect MacOSX versions earlier than 10.4.0, and
  19296. disable kqueue from inside Tor when running with these versions.
  19297. We previously did this from the startup script, but that was no
  19298. help to people who didn't use the startup script. Resolves bug 863.
  19299. - When we had picked an exit node for a connection, but marked it as
  19300. "optional", and it turned out we had no onion key for the exit,
  19301. stop wanting that exit and try again. This situation may not
  19302. be possible now, but will probably become feasible with proposal
  19303. 158. Spotted by rovv. Fixes another case of bug 752.
  19304. - Clients no longer cache certificates for authorities they do not
  19305. recognize. Bugfix on 0.2.0.9-alpha.
  19306. - When we can't transmit a DNS request due to a network error, retry
  19307. it after a while, and eventually transmit a failing response to
  19308. the RESOLVED cell. Bugfix on 0.1.2.5-alpha.
  19309. - If the controller claimed responsibility for a stream, but that
  19310. stream never finished making its connection, it would live
  19311. forever in circuit_wait state. Now we close it after SocksTimeout
  19312. seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry.
  19313. - Drop begin cells to a hidden service if they come from the middle
  19314. of a circuit. Patch from lark.
  19315. - When we erroneously receive two EXTEND cells for the same circuit
  19316. ID on the same connection, drop the second. Patch from lark.
  19317. - Fix a crash that occurs on exit nodes when a nameserver request
  19318. timed out. Bugfix on 0.1.2.1-alpha; our CLEAR debugging code had
  19319. been suppressing the bug since 0.1.2.10-alpha. Partial fix for
  19320. bug 929.
  19321. - Do not assume that a stack-allocated character array will be
  19322. 64-bit aligned on platforms that demand that uint64_t access is
  19323. aligned. Possible fix for bug 604.
  19324. - Parse dates and IPv4 addresses in a locale- and libc-independent
  19325. manner, to avoid platform-dependent behavior on malformed input.
  19326. - Build correctly when configured to build outside the main source
  19327. path. Patch from Michael Gold.
  19328. - We were already rejecting relay begin cells with destination port
  19329. of 0. Now also reject extend cells with destination port or address
  19330. of 0. Suggested by lark.
  19331. o Minor bugfixes (on 0.2.1.x):
  19332. - Don't re-extend introduction circuits if we ran out of RELAY_EARLY
  19333. cells. Bugfix on 0.2.1.3-alpha. Fixes more of bug 878.
  19334. - If we're an exit node, scrub the IP address to which we are exiting
  19335. in the logs. Bugfix on 0.2.1.8-alpha.
  19336. o Minor features:
  19337. - On Linux, use the prctl call to re-enable core dumps when the user
  19338. is option is set.
  19339. - New controller event NEWCONSENSUS that lists the networkstatus
  19340. lines for every recommended relay. Now controllers like Torflow
  19341. can keep up-to-date on which relays they should be using.
  19342. - Update to the "February 26 2009" ip-to-country file.
  19343. Changes in version 0.2.0.34 - 2009-02-08
  19344. Tor 0.2.0.34 features several more security-related fixes. You should
  19345. upgrade, especially if you run an exit relay (remote crash) or a
  19346. directory authority (remote infinite loop), or you're on an older
  19347. (pre-XP) or not-recently-patched Windows (remote exploit).
  19348. This release marks end-of-life for Tor 0.1.2.x. Those Tor versions
  19349. have many known flaws, and nobody should be using them. You should
  19350. upgrade. If you're using a Linux or BSD and its packages are obsolete,
  19351. stop using those packages and upgrade anyway.
  19352. o Security fixes:
  19353. - Fix an infinite-loop bug on handling corrupt votes under certain
  19354. circumstances. Bugfix on 0.2.0.8-alpha.
  19355. - Fix a temporary DoS vulnerability that could be performed by
  19356. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  19357. - Avoid a potential crash on exit nodes when processing malformed
  19358. input. Remote DoS opportunity. Bugfix on 0.2.0.33.
  19359. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  19360. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  19361. o Minor bugfixes:
  19362. - Fix compilation on systems where time_t is a 64-bit integer.
  19363. Patch from Matthias Drochner.
  19364. - Don't consider expiring already-closed client connections. Fixes
  19365. bug 893. Bugfix on 0.0.2pre20.
  19366. Changes in version 0.2.1.12-alpha - 2009-02-08
  19367. Tor 0.2.1.12-alpha features several more security-related fixes. You
  19368. should upgrade, especially if you run an exit relay (remote crash) or
  19369. a directory authority (remote infinite loop), or you're on an older
  19370. (pre-XP) or not-recently-patched Windows (remote exploit). It also
  19371. includes a big pile of minor bugfixes and cleanups.
  19372. o Security fixes:
  19373. - Fix an infinite-loop bug on handling corrupt votes under certain
  19374. circumstances. Bugfix on 0.2.0.8-alpha.
  19375. - Fix a temporary DoS vulnerability that could be performed by
  19376. a directory mirror. Bugfix on 0.2.0.9-alpha; reported by lark.
  19377. - Avoid a potential crash on exit nodes when processing malformed
  19378. input. Remote DoS opportunity. Bugfix on 0.2.1.7-alpha.
  19379. o Minor bugfixes:
  19380. - Let controllers actually ask for the "clients_seen" event for
  19381. getting usage summaries on bridge relays. Bugfix on 0.2.1.10-alpha;
  19382. reported by Matt Edman.
  19383. - Fix a compile warning on OSX Panther. Fixes bug 913; bugfix against
  19384. 0.2.1.11-alpha.
  19385. - Fix a bug in address parsing that was preventing bridges or hidden
  19386. service targets from being at IPv6 addresses.
  19387. - Solve a bug that kept hardware crypto acceleration from getting
  19388. enabled when accounting was turned on. Fixes bug 907. Bugfix on
  19389. 0.0.9pre6.
  19390. - Remove a bash-ism from configure.in to build properly on non-Linux
  19391. platforms. Bugfix on 0.2.1.1-alpha.
  19392. - Fix code so authorities _actually_ send back X-Descriptor-Not-New
  19393. headers. Bugfix on 0.2.0.10-alpha.
  19394. - Don't consider expiring already-closed client connections. Fixes
  19395. bug 893. Bugfix on 0.0.2pre20.
  19396. - Fix another interesting corner-case of bug 891 spotted by rovv:
  19397. Previously, if two hosts had different amounts of clock drift, and
  19398. one of them created a new connection with just the wrong timing,
  19399. the other might decide to deprecate the new connection erroneously.
  19400. Bugfix on 0.1.1.13-alpha.
  19401. - Resolve a very rare crash bug that could occur when the user forced
  19402. a nameserver reconfiguration during the middle of a nameserver
  19403. probe. Fixes bug 526. Bugfix on 0.1.2.1-alpha.
  19404. - Support changing value of ServerDNSRandomizeCase during SIGHUP.
  19405. Bugfix on 0.2.1.7-alpha.
  19406. - If we're using bridges and our network goes away, be more willing
  19407. to forgive our bridges and try again when we get an application
  19408. request. Bugfix on 0.2.0.x.
  19409. o Minor features:
  19410. - Support platforms where time_t is 64 bits long. (Congratulations,
  19411. NetBSD!) Patch from Matthias Drochner.
  19412. - Add a 'getinfo status/clients-seen' controller command, in case
  19413. controllers want to hear clients_seen events but connect late.
  19414. o Build changes:
  19415. - Disable GCC's strict alias optimization by default, to avoid the
  19416. likelihood of its introducing subtle bugs whenever our code violates
  19417. the letter of C99's alias rules.
  19418. Changes in version 0.2.0.33 - 2009-01-21
  19419. Tor 0.2.0.33 fixes a variety of bugs that were making relays less
  19420. useful to users. It also finally fixes a bug where a relay or client
  19421. that's been off for many days would take a long time to bootstrap.
  19422. This update also fixes an important security-related bug reported by
  19423. Ilja van Sprundel. You should upgrade. (We'll send out more details
  19424. about the bug once people have had some time to upgrade.)
  19425. o Security fixes:
  19426. - Fix a heap-corruption bug that may be remotely triggerable on
  19427. some platforms. Reported by Ilja van Sprundel.
  19428. o Major bugfixes:
  19429. - When a stream at an exit relay is in state "resolving" or
  19430. "connecting" and it receives an "end" relay cell, the exit relay
  19431. would silently ignore the end cell and not close the stream. If
  19432. the client never closes the circuit, then the exit relay never
  19433. closes the TCP connection. Bug introduced in Tor 0.1.2.1-alpha;
  19434. reported by "wood".
  19435. - When sending CREATED cells back for a given circuit, use a 64-bit
  19436. connection ID to find the right connection, rather than an addr:port
  19437. combination. Now that we can have multiple OR connections between
  19438. the same ORs, it is no longer possible to use addr:port to uniquely
  19439. identify a connection.
  19440. - Bridge relays that had DirPort set to 0 would stop fetching
  19441. descriptors shortly after startup, and then briefly resume
  19442. after a new bandwidth test and/or after publishing a new bridge
  19443. descriptor. Bridge users that try to bootstrap from them would
  19444. get a recent networkstatus but would get descriptors from up to
  19445. 18 hours earlier, meaning most of the descriptors were obsolete
  19446. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  19447. - Prevent bridge relays from serving their 'extrainfo' document
  19448. to anybody who asks, now that extrainfo docs include potentially
  19449. sensitive aggregated client geoip summaries. Bugfix on
  19450. 0.2.0.13-alpha.
  19451. - If the cached networkstatus consensus is more than five days old,
  19452. discard it rather than trying to use it. In theory it could be
  19453. useful because it lists alternate directory mirrors, but in practice
  19454. it just means we spend many minutes trying directory mirrors that
  19455. are long gone from the network. Also discard router descriptors as
  19456. we load them if they are more than five days old, since the onion
  19457. key is probably wrong by now. Bugfix on 0.2.0.x. Fixes bug 887.
  19458. o Minor bugfixes:
  19459. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  19460. could make gcc generate non-functional binary search code. Bugfix
  19461. on 0.2.0.10-alpha.
  19462. - Build correctly on platforms without socklen_t.
  19463. - Compile without warnings on solaris.
  19464. - Avoid potential crash on internal error during signature collection.
  19465. Fixes bug 864. Patch from rovv.
  19466. - Correct handling of possible malformed authority signing key
  19467. certificates with internal signature types. Fixes bug 880.
  19468. Bugfix on 0.2.0.3-alpha.
  19469. - Fix a hard-to-trigger resource leak when logging credential status.
  19470. CID 349.
  19471. - When we can't initialize DNS because the network is down, do not
  19472. automatically stop Tor from starting. Instead, we retry failed
  19473. dns_init() every 10 minutes, and change the exit policy to reject
  19474. *:* until one succeeds. Fixes bug 691.
  19475. - Use 64 bits instead of 32 bits for connection identifiers used with
  19476. the controller protocol, to greatly reduce risk of identifier reuse.
  19477. - When we're choosing an exit node for a circuit, and we have
  19478. no pending streams, choose a good general exit rather than one that
  19479. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  19480. - Fix another case of assuming, when a specific exit is requested,
  19481. that we know more than the user about what hosts it allows.
  19482. Fixes one case of bug 752. Patch from rovv.
  19483. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  19484. seconds. Warn the user if lower values are given in the
  19485. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  19486. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  19487. user if lower values are given in the configuration. Bugfix on
  19488. 0.1.1.17-rc. Patch by Sebastian.
  19489. - Fix a memory leak when we decline to add a v2 rendezvous descriptor to
  19490. the cache because we already had a v0 descriptor with the same ID.
  19491. Bugfix on 0.2.0.18-alpha.
  19492. - Fix a race condition when freeing keys shared between main thread
  19493. and CPU workers that could result in a memory leak. Bugfix on
  19494. 0.1.0.1-rc. Fixes bug 889.
  19495. - Send a valid END cell back when a client tries to connect to a
  19496. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  19497. 840. Patch from rovv.
  19498. - Check which hops rendezvous stream cells are associated with to
  19499. prevent possible guess-the-streamid injection attacks from
  19500. intermediate hops. Fixes another case of bug 446. Based on patch
  19501. from rovv.
  19502. - If a broken client asks a non-exit router to connect somewhere,
  19503. do not even do the DNS lookup before rejecting the connection.
  19504. Fixes another case of bug 619. Patch from rovv.
  19505. - When a relay gets a create cell it can't decrypt (e.g. because it's
  19506. using the wrong onion key), we were dropping it and letting the
  19507. client time out. Now actually answer with a destroy cell. Fixes
  19508. bug 904. Bugfix on 0.0.2pre8.
  19509. o Minor bugfixes (hidden services):
  19510. - Do not throw away existing introduction points on SIGHUP. Bugfix on
  19511. 0.0.6pre1. Patch by Karsten. Fixes bug 874.
  19512. o Minor features:
  19513. - Report the case where all signatures in a detached set are rejected
  19514. differently than the case where there is an error handling the
  19515. detached set.
  19516. - When we realize that another process has modified our cached
  19517. descriptors, print out a more useful error message rather than
  19518. triggering an assertion. Fixes bug 885. Patch from Karsten.
  19519. - Implement the 0x20 hack to better resist DNS poisoning: set the
  19520. case on outgoing DNS requests randomly, and reject responses that do
  19521. not match the case correctly. This logic can be disabled with the
  19522. ServerDNSRamdomizeCase setting, if you are using one of the 0.3%
  19523. of servers that do not reliably preserve case in replies. See
  19524. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  19525. for more info.
  19526. - Check DNS replies for more matching fields to better resist DNS
  19527. poisoning.
  19528. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  19529. compress cells, which are basically all encrypted, compressed, or
  19530. both.
  19531. Changes in version 0.2.1.11-alpha - 2009-01-20
  19532. Tor 0.2.1.11-alpha finishes fixing the "if your Tor is off for a
  19533. week it will take a long time to bootstrap again" bug. It also fixes
  19534. an important security-related bug reported by Ilja van Sprundel. You
  19535. should upgrade. (We'll send out more details about the bug once people
  19536. have had some time to upgrade.)
  19537. o Security fixes:
  19538. - Fix a heap-corruption bug that may be remotely triggerable on
  19539. some platforms. Reported by Ilja van Sprundel.
  19540. o Major bugfixes:
  19541. - Discard router descriptors as we load them if they are more than
  19542. five days old. Otherwise if Tor is off for a long time and then
  19543. starts with cached descriptors, it will try to use the onion
  19544. keys in those obsolete descriptors when building circuits. Bugfix
  19545. on 0.2.0.x. Fixes bug 887.
  19546. o Minor features:
  19547. - Try to make sure that the version of Libevent we're running with
  19548. is binary-compatible with the one we built with. May address bug
  19549. 897 and others.
  19550. - Make setting ServerDNSRandomizeCase to 0 actually work. Bugfix
  19551. for bug 905. Bugfix on 0.2.1.7-alpha.
  19552. - Add a new --enable-local-appdata configuration switch to change
  19553. the default location of the datadir on win32 from APPDATA to
  19554. LOCAL_APPDATA. In the future, we should migrate to LOCAL_APPDATA
  19555. entirely. Patch from coderman.
  19556. o Minor bugfixes:
  19557. - Make outbound DNS packets respect the OutboundBindAddress setting.
  19558. Fixes the bug part of bug 798. Bugfix on 0.1.2.2-alpha.
  19559. - When our circuit fails at the first hop (e.g. we get a destroy
  19560. cell back), avoid using that OR connection anymore, and also
  19561. tell all the one-hop directory requests waiting for it that they
  19562. should fail. Bugfix on 0.2.1.3-alpha.
  19563. - In the torify(1) manpage, mention that tsocks will leak your
  19564. DNS requests.
  19565. Changes in version 0.2.1.10-alpha - 2009-01-06
  19566. Tor 0.2.1.10-alpha fixes two major bugs in bridge relays (one that
  19567. would make the bridge relay not so useful if it had DirPort set to 0,
  19568. and one that could let an attacker learn a little bit of information
  19569. about the bridge's users), and a bug that would cause your Tor relay
  19570. to ignore a circuit create request it can't decrypt (rather than reply
  19571. with an error). It also fixes a wide variety of other bugs.
  19572. o Major bugfixes:
  19573. - If the cached networkstatus consensus is more than five days old,
  19574. discard it rather than trying to use it. In theory it could
  19575. be useful because it lists alternate directory mirrors, but in
  19576. practice it just means we spend many minutes trying directory
  19577. mirrors that are long gone from the network. Helps bug 887 a bit;
  19578. bugfix on 0.2.0.x.
  19579. - Bridge relays that had DirPort set to 0 would stop fetching
  19580. descriptors shortly after startup, and then briefly resume
  19581. after a new bandwidth test and/or after publishing a new bridge
  19582. descriptor. Bridge users that try to bootstrap from them would
  19583. get a recent networkstatus but would get descriptors from up to
  19584. 18 hours earlier, meaning most of the descriptors were obsolete
  19585. already. Reported by Tas; bugfix on 0.2.0.13-alpha.
  19586. - Prevent bridge relays from serving their 'extrainfo' document
  19587. to anybody who asks, now that extrainfo docs include potentially
  19588. sensitive aggregated client geoip summaries. Bugfix on
  19589. 0.2.0.13-alpha.
  19590. o Minor features:
  19591. - New controller event "clients_seen" to report a geoip-based summary
  19592. of which countries we've seen clients from recently. Now controllers
  19593. like Vidalia can show bridge operators that they're actually making
  19594. a difference.
  19595. - Build correctly against versions of OpenSSL 0.9.8 or later built
  19596. without support for deprecated functions.
  19597. - Update to the "December 19 2008" ip-to-country file.
  19598. o Minor bugfixes (on 0.2.0.x):
  19599. - Authorities now vote for the Stable flag for any router whose
  19600. weighted MTBF is at least 5 days, regardless of the mean MTBF.
  19601. - Do not remove routers as too old if we do not have any consensus
  19602. document. Bugfix on 0.2.0.7-alpha.
  19603. - Do not accept incomplete ipv4 addresses (like 192.168.0) as valid.
  19604. Spec conformance issue. Bugfix on Tor 0.0.2pre27.
  19605. - When an exit relay resolves a stream address to a local IP address,
  19606. do not just keep retrying that same exit relay over and
  19607. over. Instead, just close the stream. Addresses bug 872. Bugfix
  19608. on 0.2.0.32. Patch from rovv.
  19609. - If a hidden service sends us an END cell, do not consider
  19610. retrying the connection; just close it. Patch from rovv.
  19611. - When we made bridge authorities stop serving bridge descriptors over
  19612. unencrypted links, we also broke DirPort reachability testing for
  19613. bridges. So bridges with a non-zero DirPort were printing spurious
  19614. warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709.
  19615. - When a relay gets a create cell it can't decrypt (e.g. because it's
  19616. using the wrong onion key), we were dropping it and letting the
  19617. client time out. Now actually answer with a destroy cell. Fixes
  19618. bug 904. Bugfix on 0.0.2pre8.
  19619. - Squeeze 2-5% out of client performance (according to oprofile) by
  19620. improving the implementation of some policy-manipulation functions.
  19621. o Minor bugfixes (on 0.2.1.x):
  19622. - Make get_interface_address() function work properly again; stop
  19623. guessing the wrong parts of our address as our address.
  19624. - Do not cannibalize a circuit if we're out of RELAY_EARLY cells to
  19625. send on that circuit. Otherwise we might violate the proposal-110
  19626. limit. Bugfix on 0.2.1.3-alpha. Partial fix for bug 878. Diagnosis
  19627. thanks to Karsten.
  19628. - When we're sending non-EXTEND cells to the first hop in a circuit,
  19629. for example to use an encrypted directory connection, we don't need
  19630. to use RELAY_EARLY cells: the first hop knows what kind of cell
  19631. it is, and nobody else can even see the cell type. Conserving
  19632. RELAY_EARLY cells makes it easier to cannibalize circuits like
  19633. this later.
  19634. - Stop logging nameserver addresses in reverse order.
  19635. - If we are retrying a directory download slowly over and over, do
  19636. not automatically give up after the 254th failure. Bugfix on
  19637. 0.2.1.9-alpha.
  19638. - Resume reporting accurate "stream end" reasons to the local control
  19639. port. They were lost in the changes for Proposal 148. Bugfix on
  19640. 0.2.1.9-alpha.
  19641. o Deprecated and removed features:
  19642. - The old "tor --version --version" command, which would print out
  19643. the subversion "Id" of most of the source files, is now removed. It
  19644. turned out to be less useful than we'd expected, and harder to
  19645. maintain.
  19646. o Code simplifications and refactoring:
  19647. - Change our header file guard macros to be less likely to conflict
  19648. with system headers. Adam Langley noticed that we were conflicting
  19649. with log.h on Android.
  19650. - Tool-assisted documentation cleanup. Nearly every function or
  19651. static variable in Tor should have its own documentation now.
  19652. Changes in version 0.2.1.9-alpha - 2008-12-25
  19653. Tor 0.2.1.9-alpha fixes many more bugs, some of them security-related.
  19654. o New directory authorities:
  19655. - gabelmoo (the authority run by Karsten Loesing) now has a new
  19656. IP address.
  19657. o Security fixes:
  19658. - Never use a connection with a mismatched address to extend a
  19659. circuit, unless that connection is canonical. A canonical
  19660. connection is one whose address is authenticated by the router's
  19661. identity key, either in a NETINFO cell or in a router descriptor.
  19662. - Avoid a possible memory corruption bug when receiving hidden service
  19663. descriptors. Bugfix on 0.2.1.6-alpha.
  19664. o Major bugfixes:
  19665. - Fix a logic error that would automatically reject all but the first
  19666. configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for
  19667. part of bug 813/868. Bug spotted by coderman.
  19668. - When a stream at an exit relay is in state "resolving" or
  19669. "connecting" and it receives an "end" relay cell, the exit relay
  19670. would silently ignore the end cell and not close the stream. If
  19671. the client never closes the circuit, then the exit relay never
  19672. closes the TCP connection. Bug introduced in 0.1.2.1-alpha;
  19673. reported by "wood".
  19674. - When we can't initialize DNS because the network is down, do not
  19675. automatically stop Tor from starting. Instead, retry failed
  19676. dns_init() every 10 minutes, and change the exit policy to reject
  19677. *:* until one succeeds. Fixes bug 691.
  19678. o Minor features:
  19679. - Give a better error message when an overzealous init script says
  19680. "sudo -u username tor --user username". Makes Bug 882 easier for
  19681. users to diagnose.
  19682. - When a directory authority gives us a new guess for our IP address,
  19683. log which authority we used. Hopefully this will help us debug
  19684. the recent complaints about bad IP address guesses.
  19685. - Detect svn revision properly when we're using git-svn.
  19686. - Try not to open more than one descriptor-downloading connection
  19687. to an authority at once. This should reduce load on directory
  19688. authorities. Fixes bug 366.
  19689. - Add cross-certification to newly generated certificates, so that
  19690. a signing key is enough information to look up a certificate.
  19691. Partial implementation of proposal 157.
  19692. - Start serving certificates by <identity digest, signing key digest>
  19693. pairs. Partial implementation of proposal 157.
  19694. - Clients now never report any stream end reason except 'MISC'.
  19695. Implements proposal 148.
  19696. - On platforms with a maximum syslog string length, truncate syslog
  19697. messages to that length ourselves, rather than relying on the
  19698. system to do it for us.
  19699. - Optimize out calls to time(NULL) that occur for every IO operation,
  19700. or for every cell. On systems where time() is a slow syscall,
  19701. this fix will be slightly helpful.
  19702. - Exit servers can now answer resolve requests for ip6.arpa addresses.
  19703. - When we download a descriptor that we then immediately (as
  19704. a directory authority) reject, do not retry downloading it right
  19705. away. Should save some bandwidth on authorities. Fix for bug
  19706. 888. Patch by Sebastian Hahn.
  19707. - When a download gets us zero good descriptors, do not notify
  19708. Tor that new directory information has arrived.
  19709. - Avoid some nasty corner cases in the logic for marking connections
  19710. as too old or obsolete or noncanonical for circuits. Partial
  19711. bugfix on bug 891.
  19712. o Minor features (controller):
  19713. - New CONSENSUS_ARRIVED event to note when a new consensus has
  19714. been fetched and validated.
  19715. - When we realize that another process has modified our cached
  19716. descriptors file, print out a more useful error message rather
  19717. than triggering an assertion. Fixes bug 885. Patch from Karsten.
  19718. - Add an internal-use-only __ReloadTorrcOnSIGHUP option for
  19719. controllers to prevent SIGHUP from reloading the
  19720. configuration. Fixes bug 856.
  19721. o Minor bugfixes:
  19722. - Resume using the correct "REASON=" stream when telling the
  19723. controller why we closed a stream. Bugfix in 0.2.1.1-alpha.
  19724. - When a canonical connection appears later in our internal list
  19725. than a noncanonical one for a given OR ID, always use the
  19726. canonical one. Bugfix on 0.2.0.12-alpha. Fixes bug 805.
  19727. Spotted by rovv.
  19728. - Clip the MaxCircuitDirtiness config option to a minimum of 10
  19729. seconds. Warn the user if lower values are given in the
  19730. configuration. Bugfix on 0.1.0.1-rc. Patch by Sebastian.
  19731. - Clip the CircuitBuildTimeout to a minimum of 30 seconds. Warn the
  19732. user if lower values are given in the configuration. Bugfix on
  19733. 0.1.1.17-rc. Patch by Sebastian.
  19734. - Fix a race condition when freeing keys shared between main thread
  19735. and CPU workers that could result in a memory leak. Bugfix on
  19736. 0.1.0.1-rc. Fixes bug 889.
  19737. o Minor bugfixes (hidden services):
  19738. - Do not throw away existing introduction points on SIGHUP (bugfix on
  19739. 0.0.6pre1); also, do not stall hidden services because we're
  19740. throwing away introduction points; bugfix on 0.2.1.7-alpha. Spotted
  19741. by John Brooks. Patch by Karsten. Fixes bug 874.
  19742. - Fix a memory leak when we decline to add a v2 rendezvous
  19743. descriptor to the cache because we already had a v0 descriptor
  19744. with the same ID. Bugfix on 0.2.0.18-alpha.
  19745. o Deprecated and removed features:
  19746. - RedirectExits has been removed. It was deprecated since
  19747. 0.2.0.3-alpha.
  19748. - Finally remove deprecated "EXTENDED_FORMAT" controller feature. It
  19749. has been called EXTENDED_EVENTS since 0.1.2.4-alpha.
  19750. - Cell pools are now always enabled; --disable-cell-pools is ignored.
  19751. o Code simplifications and refactoring:
  19752. - Rename the confusing or_is_obsolete field to the more appropriate
  19753. is_bad_for_new_circs, and move it to or_connection_t where it
  19754. belongs.
  19755. - Move edge-only flags from connection_t to edge_connection_t: not
  19756. only is this better coding, but on machines of plausible alignment,
  19757. it should save 4-8 bytes per connection_t. "Every little bit helps."
  19758. - Rename ServerDNSAllowBrokenResolvConf to ServerDNSAllowBrokenConfig
  19759. for consistency; keep old option working for backward compatibility.
  19760. - Simplify the code for finding connections to use for a circuit.
  19761. Changes in version 0.2.1.8-alpha - 2008-12-08
  19762. Tor 0.2.1.8-alpha fixes some crash bugs in earlier alpha releases,
  19763. builds better on unusual platforms like Solaris and old OS X, and
  19764. fixes a variety of other issues.
  19765. o Major features:
  19766. - New DirPortFrontPage option that takes an html file and publishes
  19767. it as "/" on the DirPort. Now relay operators can provide a
  19768. disclaimer without needing to set up a separate webserver. There's
  19769. a sample disclaimer in contrib/tor-exit-notice.html.
  19770. o Security fixes:
  19771. - When the client is choosing entry guards, now it selects at most
  19772. one guard from a given relay family. Otherwise we could end up with
  19773. all of our entry points into the network run by the same operator.
  19774. Suggested by Camilo Viecco. Fix on 0.1.1.11-alpha.
  19775. o Major bugfixes:
  19776. - Fix a DOS opportunity during the voting signature collection process
  19777. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  19778. - Fix a possible segfault when establishing an exit connection. Bugfix
  19779. on 0.2.1.5-alpha.
  19780. o Minor bugfixes:
  19781. - Get file locking working on win32. Bugfix on 0.2.1.6-alpha. Fixes
  19782. bug 859.
  19783. - Made Tor a little less aggressive about deleting expired
  19784. certificates. Partial fix for bug 854.
  19785. - Stop doing unaligned memory access that generated bus errors on
  19786. sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
  19787. - Fix a crash bug when changing EntryNodes from the controller. Bugfix
  19788. on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
  19789. - Make USR2 log-level switch take effect immediately. Bugfix on
  19790. 0.1.2.8-beta.
  19791. - If one win32 nameserver fails to get added, continue adding the
  19792. rest, and don't automatically fail.
  19793. - Use fcntl() for locking when flock() is not available. Should fix
  19794. compilation on Solaris. Should fix Bug 873. Bugfix on 0.2.1.6-alpha.
  19795. - Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
  19796. could make gcc generate non-functional binary search code. Bugfix
  19797. on 0.2.0.10-alpha.
  19798. - Build correctly on platforms without socklen_t.
  19799. - Avoid potential crash on internal error during signature collection.
  19800. Fixes bug 864. Patch from rovv.
  19801. - Do not use C's stdio library for writing to log files. This will
  19802. improve logging performance by a minute amount, and will stop
  19803. leaking fds when our disk is full. Fixes bug 861.
  19804. - Stop erroneous use of O_APPEND in cases where we did not in fact
  19805. want to re-seek to the end of a file before every last write().
  19806. - Correct handling of possible malformed authority signing key
  19807. certificates with internal signature types. Fixes bug 880. Bugfix
  19808. on 0.2.0.3-alpha.
  19809. - Fix a hard-to-trigger resource leak when logging credential status.
  19810. CID 349.
  19811. o Minor features:
  19812. - Directory mirrors no longer fetch the v1 directory or
  19813. running-routers files. They are obsolete, and nobody asks for them
  19814. anymore. This is the first step to making v1 authorities obsolete.
  19815. o Minor features (controller):
  19816. - Return circuit purposes in response to GETINFO circuit-status. Fixes
  19817. bug 858.
  19818. Changes in version 0.2.0.32 - 2008-11-20
  19819. Tor 0.2.0.32 fixes a major security problem in Debian and Ubuntu
  19820. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  19821. a smaller security flaw that might allow an attacker to access local
  19822. services, further improves hidden service performance, and fixes a
  19823. variety of other issues.
  19824. o Security fixes:
  19825. - The "User" and "Group" config options did not clear the
  19826. supplementary group entries for the Tor process. The "User" option
  19827. is now more robust, and we now set the groups to the specified
  19828. user's primary group. The "Group" option is now ignored. For more
  19829. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  19830. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  19831. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848 and 857.
  19832. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  19833. consistently obeyed: if an exit relay refuses a stream because its
  19834. exit policy doesn't allow it, we would remember what IP address
  19835. the relay said the destination address resolves to, even if it's
  19836. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  19837. o Major bugfixes:
  19838. - Fix a DOS opportunity during the voting signature collection process
  19839. at directory authorities. Spotted by rovv. Bugfix on 0.2.0.x.
  19840. o Major bugfixes (hidden services):
  19841. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  19842. we were failing the whole hidden service request when the v0
  19843. descriptor fetch fails, even if the v2 fetch is still pending and
  19844. might succeed. Similarly, if the last v2 fetch fails, we were
  19845. failing the whole hidden service request even if a v0 fetch is
  19846. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  19847. - When extending a circuit to a hidden service directory to upload a
  19848. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  19849. requests failed, because the router descriptor has not been
  19850. downloaded yet. In these cases, do not attempt to upload the
  19851. rendezvous descriptor, but wait until the router descriptor is
  19852. downloaded and retry. Likewise, do not attempt to fetch a rendezvous
  19853. descriptor from a hidden service directory for which the router
  19854. descriptor has not yet been downloaded. Fixes bug 767. Bugfix
  19855. on 0.2.0.10-alpha.
  19856. o Minor bugfixes:
  19857. - Fix several infrequent memory leaks spotted by Coverity.
  19858. - When testing for libevent functions, set the LDFLAGS variable
  19859. correctly. Found by Riastradh.
  19860. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  19861. bootstrapping with tunneled directory connections. Bugfix on
  19862. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  19863. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  19864. and we know that server B rejects most-but-not all connections to
  19865. port 80, we would previously reject the connection. Now, we assume
  19866. the user knows what they were asking for. Fixes bug 752. Bugfix
  19867. on 0.0.9rc5. Diagnosed by BarkerJr.
  19868. - If we overrun our per-second write limits a little, count this as
  19869. having used up our write allocation for the second, and choke
  19870. outgoing directory writes. Previously, we had only counted this when
  19871. we had met our limits precisely. Fixes bug 824. Patch from by rovv.
  19872. Bugfix on 0.2.0.x (??).
  19873. - Remove the old v2 directory authority 'lefkada' from the default
  19874. list. It has been gone for many months.
  19875. - Stop doing unaligned memory access that generated bus errors on
  19876. sparc64. Bugfix on 0.2.0.10-alpha. Fixes bug 862.
  19877. - Make USR2 log-level switch take effect immediately. Bugfix on
  19878. 0.1.2.8-beta.
  19879. o Minor bugfixes (controller):
  19880. - Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
  19881. 0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
  19882. Changes in version 0.2.1.7-alpha - 2008-11-08
  19883. Tor 0.2.1.7-alpha fixes a major security problem in Debian and Ubuntu
  19884. packages (and maybe other packages) noticed by Theo de Raadt, fixes
  19885. a smaller security flaw that might allow an attacker to access local
  19886. services, adds better defense against DNS poisoning attacks on exit
  19887. relays, further improves hidden service performance, and fixes a
  19888. variety of other issues.
  19889. o Security fixes:
  19890. - The "ClientDNSRejectInternalAddresses" config option wasn't being
  19891. consistently obeyed: if an exit relay refuses a stream because its
  19892. exit policy doesn't allow it, we would remember what IP address
  19893. the relay said the destination address resolves to, even if it's
  19894. an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv.
  19895. - The "User" and "Group" config options did not clear the
  19896. supplementary group entries for the Tor process. The "User" option
  19897. is now more robust, and we now set the groups to the specified
  19898. user's primary group. The "Group" option is now ignored. For more
  19899. detailed logging on credential switching, set CREDENTIAL_LOG_LEVEL
  19900. in common/compat.c to LOG_NOTICE or higher. Patch by Jacob Appelbaum
  19901. and Steven Murdoch. Bugfix on 0.0.2pre14. Fixes bug 848.
  19902. - Do not use or believe expired v3 authority certificates. Patch
  19903. from Karsten. Bugfix in 0.2.0.x. Fixes bug 851.
  19904. o Minor features:
  19905. - Now NodeFamily and MyFamily config options allow spaces in
  19906. identity fingerprints, so it's easier to paste them in.
  19907. Suggested by Lucky Green.
  19908. - Implement the 0x20 hack to better resist DNS poisoning: set the
  19909. case on outgoing DNS requests randomly, and reject responses that do
  19910. not match the case correctly. This logic can be disabled with the
  19911. ServerDNSRandomizeCase setting, if you are using one of the 0.3%
  19912. of servers that do not reliably preserve case in replies. See
  19913. "Increased DNS Forgery Resistance through 0x20-Bit Encoding"
  19914. for more info.
  19915. - Preserve case in replies to DNSPort requests in order to support
  19916. the 0x20 hack for resisting DNS poisoning attacks.
  19917. o Hidden service performance improvements:
  19918. - When the client launches an introduction circuit, retry with a
  19919. new circuit after 30 seconds rather than 60 seconds.
  19920. - Launch a second client-side introduction circuit in parallel
  19921. after a delay of 15 seconds (based on work by Christian Wilms).
  19922. - Hidden services start out building five intro circuits rather
  19923. than three, and when the first three finish they publish a service
  19924. descriptor using those. Now we publish our service descriptor much
  19925. faster after restart.
  19926. o Minor bugfixes:
  19927. - Minor fix in the warning messages when you're having problems
  19928. bootstrapping; also, be more forgiving of bootstrap problems when
  19929. we're still making incremental progress on a given bootstrap phase.
  19930. - When we're choosing an exit node for a circuit, and we have
  19931. no pending streams, choose a good general exit rather than one that
  19932. supports "all the pending streams". Bugfix on 0.1.1.x. Fix by rovv.
  19933. - Send a valid END cell back when a client tries to connect to a
  19934. nonexistent hidden service port. Bugfix on 0.1.2.15. Fixes bug
  19935. 840. Patch from rovv.
  19936. - If a broken client asks a non-exit router to connect somewhere,
  19937. do not even do the DNS lookup before rejecting the connection.
  19938. Fixes another case of bug 619. Patch from rovv.
  19939. - Fix another case of assuming, when a specific exit is requested,
  19940. that we know more than the user about what hosts it allows.
  19941. Fixes another case of bug 752. Patch from rovv.
  19942. - Check which hops rendezvous stream cells are associated with to
  19943. prevent possible guess-the-streamid injection attacks from
  19944. intermediate hops. Fixes another case of bug 446. Based on patch
  19945. from rovv.
  19946. - Avoid using a negative right-shift when comparing 32-bit
  19947. addresses. Possible fix for bug 845 and bug 811.
  19948. - Make the assert_circuit_ok() function work correctly on circuits that
  19949. have already been marked for close.
  19950. - Fix read-off-the-end-of-string error in unit tests when decoding
  19951. introduction points.
  19952. - Fix uninitialized size field for memory area allocation: may improve
  19953. memory performance during directory parsing.
  19954. - Treat duplicate certificate fetches as failures, so that we do
  19955. not try to re-fetch an expired certificate over and over and over.
  19956. - Do not say we're fetching a certificate when we'll in fact skip it
  19957. because of a pending download.
  19958. Changes in version 0.2.1.6-alpha - 2008-09-30
  19959. Tor 0.2.1.6-alpha further improves performance and robustness of
  19960. hidden services, starts work on supporting per-country relay selection,
  19961. and fixes a variety of smaller issues.
  19962. o Major features:
  19963. - Implement proposal 121: make it possible to build hidden services
  19964. that only certain clients are allowed to connect to. This is
  19965. enforced at several points, so that unauthorized clients are unable
  19966. to send INTRODUCE cells to the service, or even (depending on the
  19967. type of authentication) to learn introduction points. This feature
  19968. raises the bar for certain kinds of active attacks against hidden
  19969. services. Code by Karsten Loesing.
  19970. - Relays now store and serve v2 hidden service descriptors by default,
  19971. i.e., the new default value for HidServDirectoryV2 is 1. This is
  19972. the last step in proposal 114, which aims to make hidden service
  19973. lookups more reliable.
  19974. - Start work to allow node restrictions to include country codes. The
  19975. syntax to exclude nodes in a country with country code XX is
  19976. "ExcludeNodes {XX}". Patch from Robert Hogan. It still needs some
  19977. refinement to decide what config options should take priority if
  19978. you ask to both use a particular node and exclude it.
  19979. - Allow ExitNodes list to include IP ranges and country codes, just
  19980. like the Exclude*Nodes lists. Patch from Robert Hogan.
  19981. o Major bugfixes:
  19982. - Fix a bug when parsing ports in tor_addr_port_parse() that caused
  19983. Tor to fail to start if you had it configured to use a bridge
  19984. relay. Fixes bug 809. Bugfix on 0.2.1.5-alpha.
  19985. - When extending a circuit to a hidden service directory to upload a
  19986. rendezvous descriptor using a BEGIN_DIR cell, almost 1/6 of all
  19987. requests failed, because the router descriptor had not been
  19988. downloaded yet. In these cases, we now wait until the router
  19989. descriptor is downloaded, and then retry. Likewise, clients
  19990. now skip over a hidden service directory if they don't yet have
  19991. its router descriptor, rather than futilely requesting it and
  19992. putting mysterious complaints in the logs. Fixes bug 767. Bugfix
  19993. on 0.2.0.10-alpha.
  19994. - When fetching v0 and v2 rendezvous service descriptors in parallel,
  19995. we were failing the whole hidden service request when the v0
  19996. descriptor fetch fails, even if the v2 fetch is still pending and
  19997. might succeed. Similarly, if the last v2 fetch fails, we were
  19998. failing the whole hidden service request even if a v0 fetch is
  19999. still pending. Fixes bug 814. Bugfix on 0.2.0.10-alpha.
  20000. - DNS replies need to have names matching their requests, but
  20001. these names should be in the questions section, not necessarily
  20002. in the answers section. Fixes bug 823. Bugfix on 0.2.1.5-alpha.
  20003. o Minor features:
  20004. - Update to the "September 1 2008" ip-to-country file.
  20005. - Allow ports 465 and 587 in the default exit policy again. We had
  20006. rejected them in 0.1.0.15, because back in 2005 they were commonly
  20007. misconfigured and ended up as spam targets. We hear they are better
  20008. locked down these days.
  20009. - Use a lockfile to make sure that two Tor processes are not
  20010. simultaneously running with the same datadir.
  20011. - Serve the latest v3 networkstatus consensus via the control
  20012. port. Use "getinfo dir/status-vote/current/consensus" to fetch it.
  20013. - Better logging about stability/reliability calculations on directory
  20014. servers.
  20015. - Drop the requirement to have an open dir port for storing and
  20016. serving v2 hidden service descriptors.
  20017. - Directory authorities now serve a /tor/dbg-stability.txt URL to
  20018. help debug WFU and MTBF calculations.
  20019. - Implement most of Proposal 152: allow specialized servers to permit
  20020. single-hop circuits, and clients to use those servers to build
  20021. single-hop circuits when using a specialized controller. Patch
  20022. from Josh Albrecht. Resolves feature request 768.
  20023. - Add a -p option to tor-resolve for specifying the SOCKS port: some
  20024. people find host:port too confusing.
  20025. - Make TrackHostExit mappings expire a while after their last use, not
  20026. after their creation. Patch from Robert Hogan.
  20027. - Provide circuit purposes along with circuit events to the controller.
  20028. o Minor bugfixes:
  20029. - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
  20030. Reported by Tas.
  20031. - Fixed some memory leaks -- some quite frequent, some almost
  20032. impossible to trigger -- based on results from Coverity.
  20033. - When testing for libevent functions, set the LDFLAGS variable
  20034. correctly. Found by Riastradh.
  20035. - Fix an assertion bug in parsing policy-related options; possible fix
  20036. for bug 811.
  20037. - Catch and report a few more bootstrapping failure cases when Tor
  20038. fails to establish a TCP connection. Cleanup on 0.2.1.x.
  20039. - Avoid a bug where the FastFirstHopPK 0 option would keep Tor from
  20040. bootstrapping with tunneled directory connections. Bugfix on
  20041. 0.1.2.5-alpha. Fixes bug 797. Found by Erwin Lam.
  20042. - When asked to connect to A.B.exit:80, if we don't know the IP for A
  20043. and we know that server B rejects most-but-not all connections to
  20044. port 80, we would previously reject the connection. Now, we assume
  20045. the user knows what they were asking for. Fixes bug 752. Bugfix
  20046. on 0.0.9rc5. Diagnosed by BarkerJr.
  20047. - If we are not using BEGIN_DIR cells, don't attempt to contact hidden
  20048. service directories if they have no advertised dir port. Bugfix
  20049. on 0.2.0.10-alpha.
  20050. - If we overrun our per-second write limits a little, count this as
  20051. having used up our write allocation for the second, and choke
  20052. outgoing directory writes. Previously, we had only counted this when
  20053. we had met our limits precisely. Fixes bug 824. Patch by rovv.
  20054. Bugfix on 0.2.0.x (??).
  20055. - Avoid a "0 divided by 0" calculation when calculating router uptime
  20056. at directory authorities. Bugfix on 0.2.0.8-alpha.
  20057. - Make DNS resolved controller events into "CLOSED", not
  20058. "FAILED". Bugfix on 0.1.2.5-alpha. Fix by Robert Hogan. Resolves
  20059. bug 807.
  20060. - Fix a bug where an unreachable relay would establish enough
  20061. reachability testing circuits to do a bandwidth test -- if
  20062. we already have a connection to the middle hop of the testing
  20063. circuit, then it could establish the last hop by using the existing
  20064. connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing
  20065. circuits no longer use entry guards in 0.2.1.3-alpha.
  20066. - If we have correct permissions on $datadir, we complain to stdout
  20067. and fail to start. But dangerous permissions on
  20068. $datadir/cached-status/ would cause us to open a log and complain
  20069. there. Now complain to stdout and fail to start in both cases. Fixes
  20070. bug 820, reported by seeess.
  20071. - Remove the old v2 directory authority 'lefkada' from the default
  20072. list. It has been gone for many months.
  20073. o Code simplifications and refactoring:
  20074. - Revise the connection_new functions so that a more typesafe variant
  20075. exists. This will work better with Coverity, and let us find any
  20076. actual mistakes we're making here.
  20077. - Refactor unit testing logic so that dmalloc can be used sensibly
  20078. with unit tests to check for memory leaks.
  20079. - Move all hidden-service related fields from connection and circuit
  20080. structure to substructures: this way they won't eat so much memory.
  20081. Changes in version 0.2.0.31 - 2008-09-03
  20082. Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix
  20083. a big bug we're seeing where in rare cases traffic from one Tor stream
  20084. gets mixed into another stream, and fixes a variety of smaller issues.
  20085. o Major bugfixes:
  20086. - Make sure that two circuits can never exist on the same connection
  20087. with the same circuit ID, even if one is marked for close. This
  20088. is conceivably a bugfix for bug 779. Bugfix on 0.1.0.4-rc.
  20089. - Relays now reject risky extend cells: if the extend cell includes
  20090. a digest of all zeroes, or asks to extend back to the relay that
  20091. sent the extend cell, tear down the circuit. Ideas suggested
  20092. by rovv.
  20093. - If not enough of our entry guards are available so we add a new
  20094. one, we might use the new one even if it overlapped with the
  20095. current circuit's exit relay (or its family). Anonymity bugfix
  20096. pointed out by rovv.
  20097. o Minor bugfixes:
  20098. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  20099. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  20100. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  20101. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  20102. - Pick size of default geoip filename string correctly on windows.
  20103. Fixes bug 806. Bugfix on 0.2.0.30.
  20104. - Make the autoconf script accept the obsolete --with-ssl-dir
  20105. option as an alias for the actually-working --with-openssl-dir
  20106. option. Fix the help documentation to recommend --with-openssl-dir.
  20107. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  20108. - When using the TransPort option on OpenBSD, and using the User
  20109. option to change UID and drop privileges, make sure to open
  20110. /dev/pf before dropping privileges. Fixes bug 782. Patch from
  20111. Christopher Davis. Bugfix on 0.1.2.1-alpha.
  20112. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  20113. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  20114. on the client side when connecting to a hidden service. Bugfix
  20115. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  20116. - When closing an application-side connection because its circuit is
  20117. getting torn down, generate the stream event correctly. Bugfix on
  20118. 0.1.2.x. Anonymous patch.
  20119. Changes in version 0.2.1.5-alpha - 2008-08-31
  20120. Tor 0.2.1.5-alpha moves us closer to handling IPv6 destinations, puts
  20121. in a lot of the infrastructure for adding authorization to hidden
  20122. services, lays the groundwork for having clients read their load
  20123. balancing information out of the networkstatus consensus rather than
  20124. the individual router descriptors, addresses two potential anonymity
  20125. issues, and fixes a variety of smaller issues.
  20126. o Major features:
  20127. - Convert many internal address representations to optionally hold
  20128. IPv6 addresses.
  20129. - Generate and accept IPv6 addresses in many protocol elements.
  20130. - Make resolver code handle nameservers located at ipv6 addresses.
  20131. - Begin implementation of proposal 121 ("Client authorization for
  20132. hidden services"): configure hidden services with client
  20133. authorization, publish descriptors for them, and configure
  20134. authorization data for hidden services at clients. The next
  20135. step is to actually access hidden services that perform client
  20136. authorization.
  20137. - More progress toward proposal 141: Network status consensus
  20138. documents and votes now contain bandwidth information for each
  20139. router and a summary of that router's exit policy. Eventually this
  20140. will be used by clients so that they do not have to download every
  20141. known descriptor before building circuits.
  20142. o Major bugfixes (on 0.2.0.x and before):
  20143. - When sending CREATED cells back for a given circuit, use a 64-bit
  20144. connection ID to find the right connection, rather than an addr:port
  20145. combination. Now that we can have multiple OR connections between
  20146. the same ORs, it is no longer possible to use addr:port to uniquely
  20147. identify a connection.
  20148. - Relays now reject risky extend cells: if the extend cell includes
  20149. a digest of all zeroes, or asks to extend back to the relay that
  20150. sent the extend cell, tear down the circuit. Ideas suggested
  20151. by rovv.
  20152. - If not enough of our entry guards are available so we add a new
  20153. one, we might use the new one even if it overlapped with the
  20154. current circuit's exit relay (or its family). Anonymity bugfix
  20155. pointed out by rovv.
  20156. o Minor bugfixes:
  20157. - Recover 3-7 bytes that were wasted per memory chunk. Fixes bug
  20158. 794; bug spotted by rovv. Bugfix on 0.2.0.1-alpha.
  20159. - When using the TransPort option on OpenBSD, and using the User
  20160. option to change UID and drop privileges, make sure to open /dev/pf
  20161. before dropping privileges. Fixes bug 782. Patch from Christopher
  20162. Davis. Bugfix on 0.1.2.1-alpha.
  20163. - Correctly detect the presence of the linux/netfilter_ipv4.h header
  20164. when building against recent kernels. Bugfix on 0.1.2.1-alpha.
  20165. - Add a missing safe_str() call for a debug log message.
  20166. - Use 64 bits instead of 32 bits for connection identifiers used with
  20167. the controller protocol, to greatly reduce risk of identifier reuse.
  20168. - Make the autoconf script accept the obsolete --with-ssl-dir
  20169. option as an alias for the actually-working --with-openssl-dir
  20170. option. Fix the help documentation to recommend --with-openssl-dir.
  20171. Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
  20172. o Minor features:
  20173. - Rate-limit too-many-sockets messages: when they happen, they happen
  20174. a lot. Resolves bug 748.
  20175. - Resist DNS poisoning a little better by making sure that names in
  20176. answer sections match.
  20177. - Print the SOCKS5 error message string as well as the error code
  20178. when a tor-resolve request fails. Patch from Jacob.
  20179. Changes in version 0.2.1.4-alpha - 2008-08-04
  20180. Tor 0.2.1.4-alpha fixes a pair of crash bugs in 0.2.1.3-alpha.
  20181. o Major bugfixes:
  20182. - The address part of exit policies was not correctly written
  20183. to router descriptors. This generated router descriptors that failed
  20184. their self-checks. Noticed by phobos, fixed by Karsten. Bugfix
  20185. on 0.2.1.3-alpha.
  20186. - Tor triggered a false assert when extending a circuit to a relay
  20187. but we already have a connection open to that relay. Noticed by
  20188. phobos, fixed by Karsten. Bugfix on 0.2.1.3-alpha.
  20189. o Minor bugfixes:
  20190. - Fix a hidden service logging bug: in some edge cases, the router
  20191. descriptor of a previously picked introduction point becomes
  20192. obsolete and we need to give up on it rather than continually
  20193. complaining that it has become obsolete. Observed by xiando. Bugfix
  20194. on 0.2.1.3-alpha.
  20195. o Removed features:
  20196. - Take out the TestVia config option, since it was a workaround for
  20197. a bug that was fixed in Tor 0.1.1.21.
  20198. Changes in version 0.2.1.3-alpha - 2008-08-03
  20199. Tor 0.2.1.3-alpha implements most of the pieces to prevent
  20200. infinite-length circuit attacks (see proposal 110); fixes a bug that
  20201. might cause exit relays to corrupt streams they send back; allows
  20202. address patterns (e.g. 255.128.0.0/16) to appear in ExcludeNodes and
  20203. ExcludeExitNodes config options; and fixes a big pile of bugs.
  20204. o Bootstrapping bugfixes (on 0.2.1.x-alpha):
  20205. - Send a bootstrap problem "warn" event on the first problem if the
  20206. reason is NO_ROUTE (that is, our network is down).
  20207. o Major features:
  20208. - Implement most of proposal 110: The first K cells to be sent
  20209. along a circuit are marked as special "early" cells; only K "early"
  20210. cells will be allowed. Once this code is universal, we can block
  20211. certain kinds of DOS attack by requiring that EXTEND commands must
  20212. be sent using an "early" cell.
  20213. o Major bugfixes:
  20214. - Try to attach connections immediately upon receiving a RENDEZVOUS2
  20215. or RENDEZVOUS_ESTABLISHED cell. This can save a second or two
  20216. on the client side when connecting to a hidden service. Bugfix
  20217. on 0.0.6pre1. Found and fixed by Christian Wilms; resolves bug 743.
  20218. - Ensure that two circuits can never exist on the same connection
  20219. with the same circuit ID, even if one is marked for close. This
  20220. is conceivably a bugfix for bug 779; fixes a bug on 0.1.0.4-rc.
  20221. o Minor features:
  20222. - When relays do their initial bandwidth measurement, don't limit
  20223. to just our entry guards for the test circuits. Otherwise we tend
  20224. to have multiple test circuits going through a single entry guard,
  20225. which makes our bandwidth test less accurate. Fixes part of bug 654;
  20226. patch contributed by Josh Albrecht.
  20227. - Add an ExcludeExitNodes option so users can list a set of nodes
  20228. that should be be excluded from the exit node position, but
  20229. allowed elsewhere. Implements proposal 151.
  20230. - Allow address patterns (e.g., 255.128.0.0/16) to appear in
  20231. ExcludeNodes and ExcludeExitNodes lists.
  20232. - Change the implementation of ExcludeNodes and ExcludeExitNodes to
  20233. be more efficient. Formerly it was quadratic in the number of
  20234. servers; now it should be linear. Fixes bug 509.
  20235. - Save 16-22 bytes per open circuit by moving the n_addr, n_port,
  20236. and n_conn_id_digest fields into a separate structure that's
  20237. only needed when the circuit has not yet attached to an n_conn.
  20238. o Minor bugfixes:
  20239. - Change the contrib/tor.logrotate script so it makes the new
  20240. logs as "_tor:_tor" rather than the default, which is generally
  20241. "root:wheel". Fixes bug 676, reported by Serge Koksharov.
  20242. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  20243. warnings (occasionally), but it can also cause the compiler to
  20244. eliminate error-checking code. Suggested by Peter Gutmann.
  20245. - When a hidden service is giving up on an introduction point candidate
  20246. that was not included in the last published rendezvous descriptor,
  20247. don't reschedule publication of the next descriptor. Fixes bug 763.
  20248. Bugfix on 0.0.9.3.
  20249. - Mark RendNodes, RendExcludeNodes, HiddenServiceNodes, and
  20250. HiddenServiceExcludeNodes as obsolete: they never worked properly,
  20251. and nobody claims to be using them. Fixes bug 754. Bugfix on
  20252. 0.1.0.1-rc. Patch from Christian Wilms.
  20253. - Fix a small alignment and memory-wasting bug on buffer chunks.
  20254. Spotted by rovv.
  20255. o Minor bugfixes (controller):
  20256. - When closing an application-side connection because its circuit
  20257. is getting torn down, generate the stream event correctly.
  20258. Bugfix on 0.1.2.x. Anonymous patch.
  20259. o Removed features:
  20260. - Remove all backward-compatibility code to support relays running
  20261. versions of Tor so old that they no longer work at all on the
  20262. Tor network.
  20263. Changes in version 0.2.0.30 - 2008-07-15
  20264. o Minor bugfixes:
  20265. - Stop using __attribute__((nonnull)) with GCC: it can give us useful
  20266. warnings (occasionally), but it can also cause the compiler to
  20267. eliminate error-checking code. Suggested by Peter Gutmann.
  20268. Changes in version 0.2.0.29-rc - 2008-07-08
  20269. Tor 0.2.0.29-rc fixes two big bugs with using bridges, fixes more
  20270. hidden-service performance bugs, and fixes a bunch of smaller bugs.
  20271. o Major bugfixes:
  20272. - If you have more than one bridge but don't know their keys,
  20273. you would only launch a request for the descriptor of the first one
  20274. on your list. (Tor considered launching requests for the others, but
  20275. found that it already had a connection on the way for $0000...0000
  20276. so it didn't open another.) Bugfix on 0.2.0.x.
  20277. - If you have more than one bridge but don't know their keys, and the
  20278. connection to one of the bridges failed, you would cancel all
  20279. pending bridge connections. (After all, they all have the same
  20280. digest.) Bugfix on 0.2.0.x.
  20281. - When a hidden service was trying to establish an introduction point,
  20282. and Tor had built circuits preemptively for such purposes, we
  20283. were ignoring all the preemptive circuits and launching a new one
  20284. instead. Bugfix on 0.2.0.14-alpha.
  20285. - When a hidden service was trying to establish an introduction point,
  20286. and Tor *did* manage to reuse one of the preemptively built
  20287. circuits, it didn't correctly remember which one it used,
  20288. so it asked for another one soon after, until there were no
  20289. more preemptive circuits, at which point it launched one from
  20290. scratch. Bugfix on 0.0.9.x.
  20291. - Make directory servers include the X-Your-Address-Is: http header in
  20292. their responses even for begin_dir conns. Now clients who only
  20293. ever use begin_dir connections still have a way to learn their IP
  20294. address. Fixes bug 737; bugfix on 0.2.0.22-rc. Reported by goldy.
  20295. o Minor bugfixes:
  20296. - Fix a macro/CPP interaction that was confusing some compilers:
  20297. some GCCs don't like #if/#endif pairs inside macro arguments.
  20298. Fixes bug 707.
  20299. - Fix macro collision between OpenSSL 0.9.8h and Windows headers.
  20300. Fixes bug 704; fix from Steven Murdoch.
  20301. - When opening /dev/null in finish_daemonize(), do not pass the
  20302. O_CREAT flag. Fortify was complaining, and correctly so. Fixes
  20303. bug 742; fix from Michael Scherer. Bugfix on 0.0.2pre19.
  20304. - Correctly detect transparent proxy support on Linux hosts that
  20305. require in.h to be included before netfilter_ipv4.h. Patch
  20306. from coderman.
  20307. - Disallow session resumption attempts during the renegotiation
  20308. stage of the v2 handshake protocol. Clients should never be trying
  20309. session resumption at this point, but apparently some did, in
  20310. ways that caused the handshake to fail. Bugfix on 0.2.0.20-rc. Bug
  20311. found by Geoff Goodell.
  20312. Changes in version 0.2.1.2-alpha - 2008-06-20
  20313. Tor 0.2.1.2-alpha includes a new "TestingTorNetwork" config option to
  20314. make it easier to set up your own private Tor network; fixes several
  20315. big bugs with using more than one bridge relay; fixes a big bug with
  20316. offering hidden services quickly after Tor starts; and uses a better
  20317. API for reporting potential bootstrapping problems to the controller.
  20318. o Major features:
  20319. - New TestingTorNetwork config option to allow adjustment of
  20320. previously constant values that, while reasonable, could slow
  20321. bootstrapping. Implements proposal 135. Patch from Karsten.
  20322. o Major bugfixes:
  20323. - If you have more than one bridge but don't know their digests,
  20324. you would only learn a request for the descriptor of the first one
  20325. on your list. (Tor considered launching requests for the others, but
  20326. found that it already had a connection on the way for $0000...0000
  20327. so it didn't open another.) Bugfix on 0.2.0.x.
  20328. - If you have more than one bridge but don't know their digests,
  20329. and the connection to one of the bridges failed, you would cancel
  20330. all pending bridge connections. (After all, they all have the
  20331. same digest.) Bugfix on 0.2.0.x.
  20332. - When establishing a hidden service, introduction points that
  20333. originate from cannibalized circuits are completely ignored and not
  20334. included in rendezvous service descriptors. This might be another
  20335. reason for delay in making a hidden service available. Bugfix
  20336. from long ago (0.0.9.x?)
  20337. o Minor features:
  20338. - Allow OpenSSL to use dynamic locks if it wants.
  20339. - When building a consensus, do not include routers that are down.
  20340. This will cut down 30% to 40% on consensus size. Implements
  20341. proposal 138.
  20342. - In directory authorities' approved-routers files, allow
  20343. fingerprints with or without space.
  20344. - Add a "GETINFO /status/bootstrap-phase" controller option, so the
  20345. controller can query our current bootstrap state in case it attaches
  20346. partway through and wants to catch up.
  20347. - Send an initial "Starting" bootstrap status event, so we have a
  20348. state to start out in.
  20349. o Minor bugfixes:
  20350. - Asking for a conditional consensus at .../consensus/<fingerprints>
  20351. would crash a dirserver if it did not already have a
  20352. consensus. Bugfix on 0.2.1.1-alpha.
  20353. - Clean up some macro/CPP interactions: some GCC versions don't like
  20354. #if/#endif pairs inside macro arguments. Fixes bug 707. Bugfix on
  20355. 0.2.0.x.
  20356. o Bootstrapping bugfixes (on 0.2.1.1-alpha):
  20357. - Directory authorities shouldn't complain about bootstrapping
  20358. problems just because they do a lot of reachability testing and
  20359. some of the connection attempts fail.
  20360. - Start sending "count" and "recommendation" key/value pairs in
  20361. bootstrap problem status events, so the controller can hear about
  20362. problems even before Tor decides they're worth reporting for sure.
  20363. - If you're using bridges, generate "bootstrap problem" warnings
  20364. as soon as you run out of working bridges, rather than waiting
  20365. for ten failures -- which will never happen if you have less than
  20366. ten bridges.
  20367. - If we close our OR connection because there's been a circuit
  20368. pending on it for too long, we were telling our bootstrap status
  20369. events "REASON=NONE". Now tell them "REASON=TIMEOUT".
  20370. Changes in version 0.2.1.1-alpha - 2008-06-13
  20371. Tor 0.2.1.1-alpha fixes a lot of memory fragmentation problems that
  20372. were making the Tor process bloat especially on Linux; makes our TLS
  20373. handshake blend in better; sends "bootstrap phase" status events to
  20374. the controller, so it can keep the user informed of progress (and
  20375. problems) fetching directory information and establishing circuits;
  20376. and adds a variety of smaller features.
  20377. o Major features:
  20378. - More work on making our TLS handshake blend in: modify the list
  20379. of ciphers advertised by OpenSSL in client mode to even more
  20380. closely resemble a common web browser. We cheat a little so that
  20381. we can advertise ciphers that the locally installed OpenSSL doesn't
  20382. know about.
  20383. - Start sending "bootstrap phase" status events to the controller,
  20384. so it can keep the user informed of progress fetching directory
  20385. information and establishing circuits. Also inform the controller
  20386. if we think we're stuck at a particular bootstrap phase. Implements
  20387. proposal 137.
  20388. - Resume using OpenSSL's RAND_poll() for better (and more portable)
  20389. cross-platform entropy collection again. We used to use it, then
  20390. stopped using it because of a bug that could crash systems that
  20391. called RAND_poll when they had a lot of fds open. It looks like the
  20392. bug got fixed in late 2006. Our new behavior is to call RAND_poll()
  20393. at startup, and to call RAND_poll() when we reseed later only if
  20394. we have a non-buggy OpenSSL version.
  20395. o Major bugfixes:
  20396. - When we choose to abandon a new entry guard because we think our
  20397. older ones might be better, close any circuits pending on that
  20398. new entry guard connection. This fix should make us recover much
  20399. faster when our network is down and then comes back. Bugfix on
  20400. 0.1.2.8-beta; found by lodger.
  20401. o Memory fixes and improvements:
  20402. - Add a malloc_good_size implementation to OpenBSD_malloc_linux.c,
  20403. to avoid unused RAM in buffer chunks and memory pools.
  20404. - Speed up parsing and cut down on memory fragmentation by using
  20405. stack-style allocations for parsing directory objects. Previously,
  20406. this accounted for over 40% of allocations from within Tor's code
  20407. on a typical directory cache.
  20408. - Use a Bloom filter rather than a digest-based set to track which
  20409. descriptors we need to keep around when we're cleaning out old
  20410. router descriptors. This speeds up the computation significantly,
  20411. and may reduce fragmentation.
  20412. - Reduce the default smartlist size from 32 to 16; it turns out that
  20413. most smartlists hold around 8-12 elements tops.
  20414. - Make dumpstats() log the fullness and size of openssl-internal
  20415. buffers.
  20416. - If the user has applied the experimental SSL_MODE_RELEASE_BUFFERS
  20417. patch to their OpenSSL, turn it on to save memory on servers. This
  20418. patch will (with any luck) get included in a mainline distribution
  20419. before too long.
  20420. - Never use OpenSSL compression: it wastes RAM and CPU trying to
  20421. compress cells, which are basically all encrypted, compressed,
  20422. or both.
  20423. o Minor bugfixes:
  20424. - Stop reloading the router list from disk for no reason when we
  20425. run out of reachable directory mirrors. Once upon a time reloading
  20426. it would set the 'is_running' flag back to 1 for them. It hasn't
  20427. done that for a long time.
  20428. - In very rare situations new hidden service descriptors were
  20429. published earlier than 30 seconds after the last change to the
  20430. service. (We currently think that a hidden service descriptor
  20431. that's been stable for 30 seconds is worth publishing.)
  20432. o Minor features:
  20433. - Allow separate log levels to be configured for different logging
  20434. domains. For example, this allows one to log all notices, warnings,
  20435. or errors, plus all memory management messages of level debug or
  20436. higher, with: Log [MM] debug-err [*] notice-err file /var/log/tor.
  20437. - Add a couple of extra warnings to --enable-gcc-warnings for GCC 4.3,
  20438. and stop using a warning that had become unfixably verbose under
  20439. GCC 4.3.
  20440. - New --hush command-line option similar to --quiet. While --quiet
  20441. disables all logging to the console on startup, --hush limits the
  20442. output to messages of warning and error severity.
  20443. - Servers support a new URL scheme for consensus downloads that
  20444. allows the client to specify which authorities are trusted.
  20445. The server then only sends the consensus if the client will trust
  20446. it. Otherwise a 404 error is sent back. Clients use this
  20447. new scheme when the server supports it (meaning it's running
  20448. 0.2.1.1-alpha or later). Implements proposal 134.
  20449. - New configure/torrc options (--enable-geoip-stats,
  20450. DirRecordUsageByCountry) to record how many IPs we've served
  20451. directory info to in each country code, how many status documents
  20452. total we've sent to each country code, and what share of the total
  20453. directory requests we should expect to see.
  20454. - Use the TLS1 hostname extension to more closely resemble browser
  20455. behavior.
  20456. - Lots of new unit tests.
  20457. - Add a macro to implement the common pattern of iterating through
  20458. two parallel lists in lockstep.
  20459. Changes in version 0.2.0.28-rc - 2008-06-13
  20460. Tor 0.2.0.28-rc fixes an anonymity-related bug, fixes a hidden-service
  20461. performance bug, and fixes a bunch of smaller bugs.
  20462. o Anonymity fixes:
  20463. - Fix a bug where, when we were choosing the 'end stream reason' to
  20464. put in our relay end cell that we send to the exit relay, Tor
  20465. clients on Windows were sometimes sending the wrong 'reason'. The
  20466. anonymity problem is that exit relays may be able to guess whether
  20467. the client is running Windows, thus helping partition the anonymity
  20468. set. Down the road we should stop sending reasons to exit relays,
  20469. or otherwise prevent future versions of this bug.
  20470. o Major bugfixes:
  20471. - While setting up a hidden service, some valid introduction circuits
  20472. were overlooked and abandoned. This might be the reason for
  20473. the long delay in making a hidden service available. Bugfix on
  20474. 0.2.0.14-alpha.
  20475. o Minor features:
  20476. - Update to the "June 9 2008" ip-to-country file.
  20477. - Run 'make test' as part of 'make dist', so we stop releasing so
  20478. many development snapshots that fail their unit tests.
  20479. o Minor bugfixes:
  20480. - When we're checking if we have enough dir info for each relay
  20481. to begin establishing circuits, make sure that we actually have
  20482. the descriptor listed in the consensus, not just any descriptor.
  20483. Bugfix on 0.1.2.x.
  20484. - Bridge relays no longer print "xx=0" in their extrainfo document
  20485. for every single country code in the geoip db. Bugfix on
  20486. 0.2.0.27-rc.
  20487. - Only warn when we fail to load the geoip file if we were planning to
  20488. include geoip stats in our extrainfo document. Bugfix on 0.2.0.27-rc.
  20489. - If we change our MaxAdvertisedBandwidth and then reload torrc,
  20490. Tor won't realize it should publish a new relay descriptor. Fixes
  20491. bug 688, reported by mfr. Bugfix on 0.1.2.x.
  20492. - When we haven't had any application requests lately, don't bother
  20493. logging that we have expired a bunch of descriptors. Bugfix
  20494. on 0.1.2.x.
  20495. - Make relay cells written on a connection count as non-padding when
  20496. tracking how long a connection has been in use. Bugfix on
  20497. 0.2.0.1-alpha. Spotted by lodger.
  20498. - Fix unit tests in 0.2.0.27-rc.
  20499. - Fix compile on Windows.
  20500. Changes in version 0.2.0.27-rc - 2008-06-03
  20501. Tor 0.2.0.27-rc adds a few features we left out of the earlier
  20502. release candidates. In particular, we now include an IP-to-country
  20503. GeoIP database, so controllers can easily look up what country a
  20504. given relay is in, and so bridge relays can give us some sanitized
  20505. summaries about which countries are making use of bridges. (See proposal
  20506. 126-geoip-fetching.txt for details.)
  20507. o Major features:
  20508. - Include an IP-to-country GeoIP file in the tarball, so bridge
  20509. relays can report sanitized summaries of the usage they're seeing.
  20510. o Minor features:
  20511. - Add a "PURPOSE=" argument to "STREAM NEW" events, as suggested by
  20512. Robert Hogan. Fixes the first part of bug 681.
  20513. - Make bridge authorities never serve extrainfo docs.
  20514. - Add support to detect Libevent versions in the 1.4.x series
  20515. on mingw.
  20516. - Fix build on gcc 4.3 with --enable-gcc-warnings set.
  20517. - Include a new contrib/tor-exit-notice.html file that exit relay
  20518. operators can put on their website to help reduce abuse queries.
  20519. o Minor bugfixes:
  20520. - When tunneling an encrypted directory connection, and its first
  20521. circuit fails, do not leave it unattached and ask the controller
  20522. to deal. Fixes the second part of bug 681.
  20523. - Make bridge authorities correctly expire old extrainfo documents
  20524. from time to time.
  20525. Changes in version 0.2.0.26-rc - 2008-05-13
  20526. Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
  20527. in Debian's OpenSSL packages. All users running any 0.2.0.x version
  20528. should upgrade, whether they're running Debian or not.
  20529. o Major security fixes:
  20530. - Use new V3 directory authority keys on the tor26, gabelmoo, and
  20531. moria1 V3 directory authorities. The old keys were generated with
  20532. a vulnerable version of Debian's OpenSSL package, and must be
  20533. considered compromised. Other authorities' keys were not generated
  20534. with an affected version of OpenSSL.
  20535. o Major bugfixes:
  20536. - List authority signatures as "unrecognized" based on DirServer
  20537. lines, not on cert cache. Bugfix on 0.2.0.x.
  20538. o Minor features:
  20539. - Add a new V3AuthUseLegacyKey option to make it easier for
  20540. authorities to change their identity keys if they have to.
  20541. Changes in version 0.2.0.25-rc - 2008-04-23
  20542. Tor 0.2.0.25-rc makes Tor work again on OS X and certain BSDs.
  20543. o Major bugfixes:
  20544. - Remember to initialize threading before initializing logging.
  20545. Otherwise, many BSD-family implementations will crash hard on
  20546. startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
  20547. o Minor bugfixes:
  20548. - Authorities correctly free policies on bad servers on
  20549. exit. Fixes bug 672. Bugfix on 0.2.0.x.
  20550. Changes in version 0.2.0.24-rc - 2008-04-22
  20551. Tor 0.2.0.24-rc adds dizum (run by Alex de Joode) as the new sixth
  20552. v3 directory authority, makes relays with dynamic IP addresses and no
  20553. DirPort notice more quickly when their IP address changes, fixes a few
  20554. rare crashes and memory leaks, and fixes a few other miscellaneous bugs.
  20555. o New directory authorities:
  20556. - Take lefkada out of the list of v3 directory authorities, since
  20557. it has been down for months.
  20558. - Set up dizum (run by Alex de Joode) as the new sixth v3 directory
  20559. authority.
  20560. o Major bugfixes:
  20561. - Detect address changes more quickly on non-directory mirror
  20562. relays. Bugfix on 0.2.0.18-alpha; fixes bug 652.
  20563. o Minor features (security):
  20564. - Reject requests for reverse-dns lookup of names that are in
  20565. a private address space. Patch from lodger.
  20566. - Non-exit relays no longer allow DNS requests. Fixes bug 619. Patch
  20567. from lodger.
  20568. o Minor bugfixes (crashes):
  20569. - Avoid a rare assert that can trigger when Tor doesn't have much
  20570. directory information yet and it tries to fetch a v2 hidden
  20571. service descriptor. Fixes bug 651, reported by nwf.
  20572. - Initialize log mutex before initializing dmalloc. Otherwise,
  20573. running with dmalloc would crash. Bugfix on 0.2.0.x-alpha.
  20574. - Use recursive pthread mutexes in order to avoid deadlock when
  20575. logging debug-level messages to a controller. Bug spotted by nwf,
  20576. bugfix on 0.2.0.16-alpha.
  20577. o Minor bugfixes (resource management):
  20578. - Keep address policies from leaking memory: start their refcount
  20579. at 1, not 2. Bugfix on 0.2.0.16-alpha.
  20580. - Free authority certificates on exit, so they don't look like memory
  20581. leaks. Bugfix on 0.2.0.19-alpha.
  20582. - Free static hashtables for policy maps and for TLS connections on
  20583. shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
  20584. - Avoid allocating extra space when computing consensuses on 64-bit
  20585. platforms. Bug spotted by aakova.
  20586. o Minor bugfixes (misc):
  20587. - Do not read the configuration file when we've only been told to
  20588. generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
  20589. based on patch from Sebastian Hahn.
  20590. - Exit relays that are used as a client can now reach themselves
  20591. using the .exit notation, rather than just launching an infinite
  20592. pile of circuits. Fixes bug 641. Reported by Sebastian Hahn.
  20593. - When attempting to open a logfile fails, tell us why.
  20594. - Fix a dumb bug that was preventing us from knowing that we should
  20595. preemptively build circuits to handle expected directory requests.
  20596. Fixes bug 660. Bugfix on 0.1.2.x.
  20597. - Warn less verbosely about clock skew from netinfo cells from
  20598. untrusted sources. Fixes bug 663.
  20599. - Make controller stream events for DNS requests more consistent,
  20600. by adding "new stream" events for DNS requests, and removing
  20601. spurious "stream closed" events" for cached reverse resolves.
  20602. Patch from mwenge. Fixes bug 646.
  20603. - Correctly notify one-hop connections when a circuit build has
  20604. failed. Possible fix for bug 669. Found by lodger.
  20605. Changes in version 0.2.0.23-rc - 2008-03-24
  20606. Tor 0.2.0.23-rc is the fourth release candidate for the 0.2.0 series. It
  20607. makes bootstrapping faster if the first directory mirror you contact
  20608. is down. The bundles also include the new Vidalia 0.1.2 release.
  20609. o Major bugfixes:
  20610. - When a tunneled directory request is made to a directory server
  20611. that's down, notice after 30 seconds rather than 120 seconds. Also,
  20612. fail any begindir streams that are pending on it, so they can
  20613. retry elsewhere. This was causing multi-minute delays on bootstrap.
  20614. Changes in version 0.2.0.22-rc - 2008-03-18
  20615. Tor 0.2.0.22-rc is the third release candidate for the 0.2.0 series. It
  20616. enables encrypted directory connections by default for non-relays, fixes
  20617. some broken TLS behavior we added in 0.2.0.20-rc, and resolves many
  20618. other bugs. The bundles also include Vidalia 0.1.1 and Torbutton 1.1.17.
  20619. o Major features:
  20620. - Enable encrypted directory connections by default for non-relays,
  20621. so censor tools that block Tor directory connections based on their
  20622. plaintext patterns will no longer work. This means Tor works in
  20623. certain censored countries by default again.
  20624. o Major bugfixes:
  20625. - Make sure servers always request certificates from clients during
  20626. TLS renegotiation. Reported by lodger; bugfix on 0.2.0.20-rc.
  20627. - Do not enter a CPU-eating loop when a connection is closed in
  20628. the middle of client-side TLS renegotiation. Fixes bug 622. Bug
  20629. diagnosed by lodger; bugfix on 0.2.0.20-rc.
  20630. - Fix assertion failure that could occur when a blocked circuit
  20631. became unblocked, and it had pending client DNS requests. Bugfix
  20632. on 0.2.0.1-alpha. Fixes bug 632.
  20633. o Minor bugfixes (on 0.1.2.x):
  20634. - Generate "STATUS_SERVER" events rather than misspelled
  20635. "STATUS_SEVER" events. Caught by mwenge.
  20636. - When counting the number of bytes written on a TLS connection,
  20637. look at the BIO actually used for writing to the network, not
  20638. at the BIO used (sometimes) to buffer data for the network.
  20639. Looking at different BIOs could result in write counts on the
  20640. order of ULONG_MAX. Fixes bug 614.
  20641. - On Windows, correctly detect errors when listing the contents of
  20642. a directory. Fix from lodger.
  20643. o Minor bugfixes (on 0.2.0.x):
  20644. - Downgrade "sslv3 alert handshake failure" message to INFO.
  20645. - If we set RelayBandwidthRate and RelayBandwidthBurst very high but
  20646. left BandwidthRate and BandwidthBurst at the default, we would be
  20647. silently limited by those defaults. Now raise them to match the
  20648. RelayBandwidth* values.
  20649. - Fix the SVK version detection logic to work correctly on a branch.
  20650. - Make --enable-openbsd-malloc work correctly on Linux with alpha
  20651. CPUs. Fixes bug 625.
  20652. - Logging functions now check that the passed severity is sane.
  20653. - Use proper log levels in the testsuite call of
  20654. get_interface_address6().
  20655. - When using a nonstandard malloc, do not use the platform values for
  20656. HAVE_MALLOC_GOOD_SIZE or HAVE_MALLOC_USABLE_SIZE.
  20657. - Make the openbsd malloc code use 8k pages on alpha CPUs and
  20658. 16k pages on ia64.
  20659. - Detect mismatched page sizes when using --enable-openbsd-malloc.
  20660. - Avoid double-marked-for-close warning when certain kinds of invalid
  20661. .in-addr.arpa addresses are passed to the DNSPort. Part of a fix
  20662. for bug 617. Bugfix on 0.2.0.1-alpha.
  20663. - Make sure that the "NULL-means-reject *:*" convention is followed by
  20664. all the policy manipulation functions, avoiding some possible crash
  20665. bugs. Bug found by lodger. Bugfix on 0.2.0.16-alpha.
  20666. - Fix the implementation of ClientDNSRejectInternalAddresses so that it
  20667. actually works, and doesn't warn about every single reverse lookup.
  20668. Fixes the other part of bug 617. Bugfix on 0.2.0.1-alpha.
  20669. o Minor features:
  20670. - Only log guard node status when guard node status has changed.
  20671. - Downgrade the 3 most common "INFO" messages to "DEBUG". This will
  20672. make "INFO" 75% less verbose.
  20673. Changes in version 0.2.0.21-rc - 2008-03-02
  20674. Tor 0.2.0.21-rc is the second release candidate for the 0.2.0 series. It
  20675. makes Tor work well with Vidalia again, fixes a rare assert bug,
  20676. and fixes a pair of more minor bugs. The bundles also include Vidalia
  20677. 0.1.0 and Torbutton 1.1.16.
  20678. o Major bugfixes:
  20679. - The control port should declare that it requires password auth
  20680. when HashedControlSessionPassword is set too. Patch from Matt Edman;
  20681. bugfix on 0.2.0.20-rc. Fixes bug 615.
  20682. - Downgrade assert in connection_buckets_decrement() to a log message.
  20683. This may help us solve bug 614, and in any case will make its
  20684. symptoms less severe. Bugfix on 0.2.0.20-rc. Reported by fredzupy.
  20685. - We were sometimes miscounting the number of bytes read from the
  20686. network, causing our rate limiting to not be followed exactly.
  20687. Bugfix on 0.2.0.16-alpha. Reported by lodger.
  20688. o Minor bugfixes:
  20689. - Fix compilation with OpenSSL 0.9.8 and 0.9.8a. All other supported
  20690. OpenSSL versions should have been working fine. Diagnosis and patch
  20691. from lodger, Karsten Loesing, and Sebastian Hahn. Fixes bug 616.
  20692. Bugfix on 0.2.0.20-rc.
  20693. Changes in version 0.2.0.20-rc - 2008-02-24
  20694. Tor 0.2.0.20-rc is the first release candidate for the 0.2.0 series. It
  20695. makes more progress towards normalizing Tor's TLS handshake, makes
  20696. hidden services work better again, helps relays bootstrap if they don't
  20697. know their IP address, adds optional support for linking in openbsd's
  20698. allocator or tcmalloc, allows really fast relays to scale past 15000
  20699. sockets, and fixes a bunch of minor bugs reported by Veracode.
  20700. o Major features:
  20701. - Enable the revised TLS handshake based on the one designed by
  20702. Steven Murdoch in proposal 124, as revised in proposal 130. It
  20703. includes version negotiation for OR connections as described in
  20704. proposal 105. The new handshake is meant to be harder for censors
  20705. to fingerprint, and it adds the ability to detect certain kinds of
  20706. man-in-the-middle traffic analysis attacks. The version negotiation
  20707. feature will allow us to improve Tor's link protocol more safely
  20708. in the future.
  20709. - Choose which bridge to use proportional to its advertised bandwidth,
  20710. rather than uniformly at random. This should speed up Tor for
  20711. bridge users. Also do this for people who set StrictEntryNodes.
  20712. - When a TrackHostExits-chosen exit fails too many times in a row,
  20713. stop using it. Bugfix on 0.1.2.x; fixes bug 437.
  20714. o Major bugfixes:
  20715. - Resolved problems with (re-)fetching hidden service descriptors.
  20716. Patch from Karsten Loesing; fixes problems with 0.2.0.18-alpha
  20717. and 0.2.0.19-alpha.
  20718. - If we only ever used Tor for hidden service lookups or posts, we
  20719. would stop building circuits and start refusing connections after
  20720. 24 hours, since we falsely believed that Tor was dormant. Reported
  20721. by nwf; bugfix on 0.1.2.x.
  20722. - Servers that don't know their own IP address should go to the
  20723. authorities for their first directory fetch, even if their DirPort
  20724. is off or if they don't know they're reachable yet. This will help
  20725. them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
  20726. - When counting the number of open sockets, count not only the number
  20727. of sockets we have received from the socket() call, but also
  20728. the number we've gotten from accept() and socketpair(). This bug
  20729. made us fail to count all sockets that we were using for incoming
  20730. connections. Bugfix on 0.2.0.x.
  20731. - Fix code used to find strings within buffers, when those strings
  20732. are not in the first chunk of the buffer. Bugfix on 0.2.0.x.
  20733. - Fix potential segfault when parsing HTTP headers. Bugfix on 0.2.0.x.
  20734. - Add a new __HashedControlSessionPassword option for controllers
  20735. to use for one-off session password hashes that shouldn't get
  20736. saved to disk by SAVECONF --- Vidalia users were accumulating a
  20737. pile of HashedControlPassword lines in their torrc files, one for
  20738. each time they had restarted Tor and then clicked Save. Make Tor
  20739. automatically convert "HashedControlPassword" to this new option but
  20740. only when it's given on the command line. Partial fix for bug 586.
  20741. o Minor features (performance):
  20742. - Tune parameters for cell pool allocation to minimize amount of
  20743. RAM overhead used.
  20744. - Add OpenBSD malloc code from phk as an optional malloc
  20745. replacement on Linux: some glibc libraries do very poorly
  20746. with Tor's memory allocation patterns. Pass
  20747. --enable-openbsd-malloc to get the replacement malloc code.
  20748. - Add a --with-tcmalloc option to the configure script to link
  20749. against tcmalloc (if present). Does not yet search for
  20750. non-system include paths.
  20751. - Stop imposing an arbitrary maximum on the number of file descriptors
  20752. used for busy servers. Bug reported by Olaf Selke; patch from
  20753. Sebastian Hahn.
  20754. o Minor features (other):
  20755. - When SafeLogging is disabled, log addresses along with all TLS
  20756. errors.
  20757. - When building with --enable-gcc-warnings, check for whether Apple's
  20758. warning "-Wshorten-64-to-32" is available.
  20759. - Add a --passphrase-fd argument to the tor-gencert command for
  20760. scriptability.
  20761. o Minor bugfixes (memory leaks and code problems):
  20762. - We were leaking a file descriptor if Tor started with a zero-length
  20763. cached-descriptors file. Patch by freddy77; bugfix on 0.1.2.
  20764. - Detect size overflow in zlib code. Reported by Justin Ferguson and
  20765. Dan Kaminsky.
  20766. - We were comparing the raw BridgePassword entry with a base64'ed
  20767. version of it, when handling a "/tor/networkstatus-bridges"
  20768. directory request. Now compare correctly. Noticed by Veracode.
  20769. - Recover from bad tracked-since value in MTBF-history file.
  20770. Should fix bug 537.
  20771. - Alter the code that tries to recover from unhandled write
  20772. errors, to not try to flush onto a socket that's given us
  20773. unhandled errors. Bugfix on 0.1.2.x.
  20774. - Make Unix controlsockets work correctly on OpenBSD. Patch from
  20775. tup. Bugfix on 0.2.0.3-alpha.
  20776. o Minor bugfixes (other):
  20777. - If we have an extra-info document for our server, always make
  20778. it available on the control port, even if we haven't gotten
  20779. a copy of it from an authority yet. Patch from mwenge.
  20780. - Log the correct memory chunk sizes for empty RAM chunks in mempool.c.
  20781. - Directory mirrors no longer include a guess at the client's IP
  20782. address if the connection appears to be coming from the same /24
  20783. network; it was producing too many wrong guesses.
  20784. - Make the new hidden service code respect the SafeLogging setting.
  20785. Bugfix on 0.2.0.x. Patch from Karsten.
  20786. - When starting as an authority, do not overwrite all certificates
  20787. cached from other authorities. Bugfix on 0.2.0.x. Fixes bug 606.
  20788. - If we're trying to flush the last bytes on a connection (for
  20789. example, when answering a directory request), reset the
  20790. time-to-give-up timeout every time we manage to write something
  20791. on the socket. Bugfix on 0.1.2.x.
  20792. - Change the behavior of "getinfo status/good-server-descriptor"
  20793. so it doesn't return failure when any authority disappears.
  20794. - Even though the man page said that "TrackHostExits ." should
  20795. work, nobody had ever implemented it. Bugfix on 0.1.0.x.
  20796. - Report TLS "zero return" case as a "clean close" and "IO error"
  20797. as a "close". Stop calling closes "unexpected closes": existing
  20798. Tors don't use SSL_close(), so having a connection close without
  20799. the TLS shutdown handshake is hardly unexpected.
  20800. - Send NAMESERVER_STATUS messages for a single failed nameserver
  20801. correctly.
  20802. o Code simplifications and refactoring:
  20803. - Remove the tor_strpartition function: its logic was confused,
  20804. and it was only used for one thing that could be implemented far
  20805. more easily.
  20806. Changes in version 0.2.0.19-alpha - 2008-02-09
  20807. Tor 0.2.0.19-alpha makes more progress towards normalizing Tor's TLS
  20808. handshake, makes path selection for relays more secure and IP address
  20809. guessing more robust, and generally fixes a lot of bugs in preparation
  20810. for calling the 0.2.0 branch stable.
  20811. o Major features:
  20812. - Do not include recognizeable strings in the commonname part of
  20813. Tor's x509 certificates.
  20814. o Major bugfixes:
  20815. - If we're a relay, avoid picking ourselves as an introduction point,
  20816. a rendezvous point, or as the final hop for internal circuits. Bug
  20817. reported by taranis and lodger. Bugfix on 0.1.2.x.
  20818. - Patch from "Andrew S. Lists" to catch when we contact a directory
  20819. mirror at IP address X and he says we look like we're coming from
  20820. IP address X. Bugfix on 0.1.2.x.
  20821. o Minor features (security):
  20822. - Be more paranoid about overwriting sensitive memory on free(),
  20823. as a defensive programming tactic to ensure forward secrecy.
  20824. o Minor features (directory authority):
  20825. - Actually validate the options passed to AuthDirReject,
  20826. AuthDirInvalid, AuthDirBadDir, and AuthDirBadExit.
  20827. - Reject router descriptors with out-of-range bandwidthcapacity or
  20828. bandwidthburst values.
  20829. o Minor features (controller):
  20830. - Reject controller commands over 1MB in length. This keeps rogue
  20831. processes from running us out of memory.
  20832. o Minor features (misc):
  20833. - Give more descriptive well-formedness errors for out-of-range
  20834. hidden service descriptor/protocol versions.
  20835. - Make memory debugging information describe more about history
  20836. of cell allocation, so we can help reduce our memory use.
  20837. o Deprecated features (controller):
  20838. - The status/version/num-versioning and status/version/num-concurring
  20839. GETINFO options are no longer useful in the v3 directory protocol:
  20840. treat them as deprecated, and warn when they're used.
  20841. o Minor bugfixes:
  20842. - When our consensus networkstatus has been expired for a while, stop
  20843. being willing to build circuits using it. Fixes bug 401. Bugfix
  20844. on 0.1.2.x.
  20845. - Directory caches now fetch certificates from all authorities
  20846. listed in a networkstatus consensus, even when they do not
  20847. recognize them. Fixes bug 571. Bugfix on 0.2.0.x.
  20848. - When connecting to a bridge without specifying its key, insert
  20849. the connection into the identity-to-connection map as soon as
  20850. a key is learned. Fixes bug 574. Bugfix on 0.2.0.x.
  20851. - Detect versions of OS X where malloc_good_size() is present in the
  20852. library but never actually declared. Resolves bug 587. Bugfix
  20853. on 0.2.0.x.
  20854. - Stop incorrectly truncating zlib responses to directory authority
  20855. signature download requests. Fixes bug 593. Bugfix on 0.2.0.x.
  20856. - Stop recommending that every server operator send mail to tor-ops.
  20857. Resolves bug 597. Bugfix on 0.1.2.x.
  20858. - Don't trigger an assert if we start a directory authority with a
  20859. private IP address (like 127.0.0.1).
  20860. - Avoid possible failures when generating a directory with routers
  20861. with over-long versions strings, or too many flags set. Bugfix
  20862. on 0.1.2.x.
  20863. - If an attempt to launch a DNS resolve request over the control
  20864. port fails because we have overrun the limit on the number of
  20865. connections, tell the controller that the request has failed.
  20866. - Avoid using too little bandwidth when our clock skips a few
  20867. seconds. Bugfix on 0.1.2.x.
  20868. - Fix shell error when warning about missing packages in configure
  20869. script, on Fedora or Red Hat machines. Bugfix on 0.2.0.x.
  20870. - Do not become confused when receiving a spurious VERSIONS-like
  20871. cell from a confused v1 client. Bugfix on 0.2.0.x.
  20872. - Re-fetch v2 (as well as v0) rendezvous descriptors when all
  20873. introduction points for a hidden service have failed. Patch from
  20874. Karsten Loesing. Bugfix on 0.2.0.x.
  20875. o Code simplifications and refactoring:
  20876. - Remove some needless generality from cpuworker code, for improved
  20877. type-safety.
  20878. - Stop overloading the circuit_t.onionskin field for both "onionskin
  20879. from a CREATE cell that we are waiting for a cpuworker to be
  20880. assigned" and "onionskin from an EXTEND cell that we are going to
  20881. send to an OR as soon as we are connected". Might help with bug 600.
  20882. - Add an in-place version of aes_crypt() so that we can avoid doing a
  20883. needless memcpy() call on each cell payload.
  20884. Changes in version 0.2.0.18-alpha - 2008-01-25
  20885. Tor 0.2.0.18-alpha adds a sixth v3 directory authority run by CCC,
  20886. fixes a big memory leak in 0.2.0.17-alpha, and adds new config options
  20887. that can warn or reject connections to ports generally associated with
  20888. vulnerable-plaintext protocols.
  20889. o New directory authorities:
  20890. - Set up dannenberg (run by CCC) as the sixth v3 directory
  20891. authority.
  20892. o Major bugfixes:
  20893. - Fix a major memory leak when attempting to use the v2 TLS
  20894. handshake code. Bugfix on 0.2.0.x; fixes bug 589.
  20895. - We accidentally enabled the under-development v2 TLS handshake
  20896. code, which was causing log entries like "TLS error while
  20897. renegotiating handshake". Disable it again. Resolves bug 590.
  20898. - We were computing the wrong Content-Length: header for directory
  20899. responses that need to be compressed on the fly, causing clients
  20900. asking for those items to always fail. Bugfix on 0.2.0.x; partially
  20901. fixes bug 593.
  20902. o Major features:
  20903. - Avoid going directly to the directory authorities even if you're a
  20904. relay, if you haven't found yourself reachable yet or if you've
  20905. decided not to advertise your dirport yet. Addresses bug 556.
  20906. - If we've gone 12 hours since our last bandwidth check, and we
  20907. estimate we have less than 50KB bandwidth capacity but we could
  20908. handle more, do another bandwidth test.
  20909. - New config options WarnPlaintextPorts and RejectPlaintextPorts so
  20910. Tor can warn and/or refuse connections to ports commonly used with
  20911. vulnerable-plaintext protocols. Currently we warn on ports 23,
  20912. 109, 110, and 143, but we don't reject any.
  20913. o Minor bugfixes:
  20914. - When we setconf ClientOnly to 1, close any current OR and Dir
  20915. listeners. Reported by mwenge.
  20916. - When we get a consensus that's been signed by more people than
  20917. we expect, don't log about it; it's not a big deal. Reported
  20918. by Kyle Williams.
  20919. o Minor features:
  20920. - Don't answer "/tor/networkstatus-bridges" directory requests if
  20921. the request isn't encrypted.
  20922. - Make "ClientOnly 1" config option disable directory ports too.
  20923. - Patches from Karsten Loesing to make v2 hidden services more
  20924. robust: work even when there aren't enough HSDir relays available;
  20925. retry when a v2 rend desc fetch fails; but don't retry if we
  20926. already have a usable v0 rend desc.
  20927. Changes in version 0.2.0.17-alpha - 2008-01-17
  20928. Tor 0.2.0.17-alpha makes the tarball build cleanly again (whoops).
  20929. o Compile fixes:
  20930. - Make the tor-gencert man page get included correctly in the tarball.
  20931. Changes in version 0.2.0.16-alpha - 2008-01-17
  20932. Tor 0.2.0.16-alpha adds a fifth v3 directory authority run by Karsten
  20933. Loesing, and generally cleans up a lot of features and minor bugs.
  20934. o New directory authorities:
  20935. - Set up gabelmoo (run by Karsten Loesing) as the fifth v3 directory
  20936. authority.
  20937. o Major performance improvements:
  20938. - Switch our old ring buffer implementation for one more like that
  20939. used by free Unix kernels. The wasted space in a buffer with 1mb
  20940. of data will now be more like 8k than 1mb. The new implementation
  20941. also avoids realloc();realloc(); patterns that can contribute to
  20942. memory fragmentation.
  20943. o Minor features:
  20944. - Configuration files now accept C-style strings as values. This
  20945. helps encode characters not allowed in the current configuration
  20946. file format, such as newline or #. Addresses bug 557.
  20947. - Although we fixed bug 539 (where servers would send HTTP status 503
  20948. responses _and_ send a body too), there are still servers out
  20949. there that haven't upgraded. Therefore, make clients parse such
  20950. bodies when they receive them.
  20951. - When we're not serving v2 directory information, there is no reason
  20952. to actually keep any around. Remove the obsolete files and directory
  20953. on startup if they are very old and we aren't going to serve them.
  20954. o Minor performance improvements:
  20955. - Reference-count and share copies of address policy entries; only 5%
  20956. of them were actually distinct.
  20957. - Never walk through the list of logs if we know that no log is
  20958. interested in a given message.
  20959. o Minor bugfixes:
  20960. - When an authority has not signed a consensus, do not try to
  20961. download a nonexistent "certificate with key 00000000". Bugfix
  20962. on 0.2.0.x. Fixes bug 569.
  20963. - Fix a rare assert error when we're closing one of our threads:
  20964. use a mutex to protect the list of logs, so we never write to the
  20965. list as it's being freed. Bugfix on 0.1.2.x. Fixes the very rare
  20966. bug 575, which is kind of the revenge of bug 222.
  20967. - Patch from Karsten Loesing to complain less at both the client
  20968. and the relay when a relay used to have the HSDir flag but doesn't
  20969. anymore, and we try to upload a hidden service descriptor.
  20970. - Stop leaking one cert per TLS context. Fixes bug 582. Bugfix on
  20971. 0.2.0.15-alpha.
  20972. - Do not try to download missing certificates until we have tried
  20973. to check our fallback consensus. Fixes bug 583.
  20974. - Make bridges round reported GeoIP stats info up to the nearest
  20975. estimate, not down. Now we can distinguish between "0 people from
  20976. this country" and "1 person from this country".
  20977. - Avoid a spurious free on base64 failure. Bugfix on 0.1.2.
  20978. - Avoid possible segfault if key generation fails in
  20979. crypto_pk_hybrid_encrypt. Bugfix on 0.2.0.
  20980. - Avoid segfault in the case where a badly behaved v2 versioning
  20981. directory sends a signed networkstatus with missing client-versions.
  20982. Bugfix on 0.1.2.
  20983. - Avoid segfaults on certain complex invocations of
  20984. router_get_by_hexdigest(). Bugfix on 0.1.2.
  20985. - Correct bad index on array access in parse_http_time(). Bugfix
  20986. on 0.2.0.
  20987. - Fix possible bug in vote generation when server versions are present
  20988. but client versions are not.
  20989. - Fix rare bug on REDIRECTSTREAM control command when called with no
  20990. port set: it could erroneously report an error when none had
  20991. happened.
  20992. - Avoid bogus crash-prone, leak-prone tor_realloc when we're
  20993. compressing large objects and find ourselves with more than 4k
  20994. left over. Bugfix on 0.2.0.
  20995. - Fix a small memory leak when setting up a hidden service.
  20996. - Fix a few memory leaks that could in theory happen under bizarre
  20997. error conditions.
  20998. - Fix an assert if we post a general-purpose descriptor via the
  20999. control port but that descriptor isn't mentioned in our current
  21000. network consensus. Bug reported by Jon McLachlan; bugfix on
  21001. 0.2.0.9-alpha.
  21002. o Minor features (controller):
  21003. - Get NS events working again. Patch from tup.
  21004. - The GETCONF command now escapes and quotes configuration values
  21005. that don't otherwise fit into the torrc file.
  21006. - The SETCONF command now handles quoted values correctly.
  21007. o Minor features (directory authorities):
  21008. - New configuration options to override default maximum number of
  21009. servers allowed on a single IP address. This is important for
  21010. running a test network on a single host.
  21011. - Actually implement the -s option to tor-gencert.
  21012. - Add a manual page for tor-gencert.
  21013. o Minor features (bridges):
  21014. - Bridge authorities no longer serve bridge descriptors over
  21015. unencrypted connections.
  21016. o Minor features (other):
  21017. - Add hidden services and DNSPorts to the list of things that make
  21018. Tor accept that it has running ports. Change starting Tor with no
  21019. ports from a fatal error to a warning; we might change it back if
  21020. this turns out to confuse anybody. Fixes bug 579.
  21021. Changes in version 0.1.2.19 - 2008-01-17
  21022. Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
  21023. exit policy a little bit more conservative so it's safer to run an
  21024. exit relay on a home system, and fixes a variety of smaller issues.
  21025. o Security fixes:
  21026. - Exit policies now reject connections that are addressed to a
  21027. relay's public (external) IP address too, unless
  21028. ExitPolicyRejectPrivate is turned off. We do this because too
  21029. many relays are running nearby to services that trust them based
  21030. on network address.
  21031. o Major bugfixes:
  21032. - When the clock jumps forward a lot, do not allow the bandwidth
  21033. buckets to become negative. Fixes bug 544.
  21034. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  21035. on every successful resolve. Reported by Mike Perry.
  21036. - Purge old entries from the "rephist" database and the hidden
  21037. service descriptor database even when DirPort is zero.
  21038. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  21039. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  21040. crashing or mis-answering these requests.
  21041. - When we decide to send a 503 response to a request for servers, do
  21042. not then also send the server descriptors: this defeats the whole
  21043. purpose. Fixes bug 539.
  21044. o Minor bugfixes:
  21045. - Changing the ExitPolicyRejectPrivate setting should cause us to
  21046. rebuild our server descriptor.
  21047. - Fix handling of hex nicknames when answering controller requests for
  21048. networkstatus by name, or when deciding whether to warn about
  21049. unknown routers in a config option. (Patch from mwenge.)
  21050. - Fix a couple of hard-to-trigger autoconf problems that could result
  21051. in really weird results on platforms whose sys/types.h files define
  21052. nonstandard integer types.
  21053. - Don't try to create the datadir when running --verify-config or
  21054. --hash-password. Resolves bug 540.
  21055. - If we were having problems getting a particular descriptor from the
  21056. directory caches, and then we learned about a new descriptor for
  21057. that router, we weren't resetting our failure count. Reported
  21058. by lodger.
  21059. - Although we fixed bug 539 (where servers would send HTTP status 503
  21060. responses _and_ send a body too), there are still servers out there
  21061. that haven't upgraded. Therefore, make clients parse such bodies
  21062. when they receive them.
  21063. - Run correctly on systems where rlim_t is larger than unsigned long.
  21064. This includes some 64-bit systems.
  21065. - Run correctly on platforms (like some versions of OS X 10.5) where
  21066. the real limit for number of open files is OPEN_FILES, not rlim_max
  21067. from getrlimit(RLIMIT_NOFILES).
  21068. - Avoid a spurious free on base64 failure.
  21069. - Avoid segfaults on certain complex invocations of
  21070. router_get_by_hexdigest().
  21071. - Fix rare bug on REDIRECTSTREAM control command when called with no
  21072. port set: it could erroneously report an error when none had
  21073. happened.
  21074. Changes in version 0.2.0.15-alpha - 2007-12-25
  21075. Tor 0.2.0.14-alpha and 0.2.0.15-alpha fix a bunch of bugs with the
  21076. features added in 0.2.0.13-alpha.
  21077. o Major bugfixes:
  21078. - Fix several remotely triggerable asserts based on DirPort requests
  21079. for a v2 or v3 networkstatus object before we were prepared. This
  21080. was particularly bad for 0.2.0.13 and later bridge relays, who
  21081. would never have a v2 networkstatus and would thus always crash
  21082. when used. Bugfixes on 0.2.0.x.
  21083. - Estimate the v3 networkstatus size more accurately, rather than
  21084. estimating it at zero bytes and giving it artificially high priority
  21085. compared to other directory requests. Bugfix on 0.2.0.x.
  21086. o Minor bugfixes:
  21087. - Fix configure.in logic for cross-compilation.
  21088. - When we load a bridge descriptor from the cache, and it was
  21089. previously unreachable, mark it as retriable so we won't just
  21090. ignore it. Also, try fetching a new copy immediately. Bugfixes
  21091. on 0.2.0.13-alpha.
  21092. - The bridge GeoIP stats were counting other relays, for example
  21093. self-reachability and authority-reachability tests.
  21094. o Minor features:
  21095. - Support compilation to target iPhone; patch from cjacker huang.
  21096. To build for iPhone, pass the --enable-iphone option to configure.
  21097. Changes in version 0.2.0.14-alpha - 2007-12-23
  21098. o Major bugfixes:
  21099. - Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
  21100. without a datadirectory from a previous Tor install. Reported
  21101. by Zax.
  21102. - Fix a crash when we fetch a descriptor that turns out to be
  21103. unexpected (it used to be in our networkstatus when we started
  21104. fetching it, but it isn't in our current networkstatus), and we
  21105. aren't using bridges. Bugfix on 0.2.0.x.
  21106. - Fix a crash when accessing hidden services: it would work the first
  21107. time you use a given introduction point for your service, but
  21108. on subsequent requests we'd be using garbage memory. Fixed by
  21109. Karsten Loesing. Bugfix on 0.2.0.13-alpha.
  21110. - Fix a crash when we load a bridge descriptor from disk but we don't
  21111. currently have a Bridge line for it in our torrc. Bugfix on
  21112. 0.2.0.13-alpha.
  21113. o Major features:
  21114. - If bridge authorities set BridgePassword, they will serve a
  21115. snapshot of known bridge routerstatuses from their DirPort to
  21116. anybody who knows that password. Unset by default.
  21117. o Minor bugfixes:
  21118. - Make the unit tests build again.
  21119. - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
  21120. - Make PublishServerDescriptor default to 1, so the default doesn't
  21121. have to change as we invent new directory protocol versions.
  21122. - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
  21123. be included unless sys/time.h is already included. Fixes
  21124. bug 553. Bugfix on 0.2.0.x.
  21125. - If we receive a general-purpose descriptor and then receive an
  21126. identical bridge-purpose descriptor soon after, don't discard
  21127. the next one as a duplicate.
  21128. o Minor features:
  21129. - If BridgeRelay is set to 1, then the default for
  21130. PublishServerDescriptor is now "bridge" rather than "v2,v3".
  21131. - If the user sets RelayBandwidthRate but doesn't set
  21132. RelayBandwidthBurst, then make them equal rather than erroring out.
  21133. Changes in version 0.2.0.13-alpha - 2007-12-21
  21134. Tor 0.2.0.13-alpha adds a fourth v3 directory authority run by Geoff
  21135. Goodell, fixes many more bugs, and adds a lot of infrastructure for
  21136. upcoming features.
  21137. o New directory authorities:
  21138. - Set up lefkada (run by Geoff Goodell) as the fourth v3 directory
  21139. authority.
  21140. o Major bugfixes:
  21141. - Only update guard status (usable / not usable) once we have
  21142. enough directory information. This was causing us to always pick
  21143. two new guards on startup (bugfix on 0.2.0.9-alpha), and it was
  21144. causing us to discard all our guards on startup if we hadn't been
  21145. running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448.
  21146. - Purge old entries from the "rephist" database and the hidden
  21147. service descriptor databases even when DirPort is zero. Bugfix
  21148. on 0.1.2.x.
  21149. - We were ignoring our RelayBandwidthRate for the first 30 seconds
  21150. after opening a circuit -- even a relayed circuit. Bugfix on
  21151. 0.2.0.3-alpha.
  21152. - Stop thinking that 0.1.2.x directory servers can handle "begin_dir"
  21153. requests. Should ease bugs 406 and 419 where 0.1.2.x relays are
  21154. crashing or mis-answering these types of requests.
  21155. - Relays were publishing their server descriptor to v1 and v2
  21156. directory authorities, but they didn't try publishing to v3-only
  21157. authorities. Fix this; and also stop publishing to v1 authorities.
  21158. Bugfix on 0.2.0.x.
  21159. - When we were reading router descriptors from cache, we were ignoring
  21160. the annotations -- so for example we were reading in bridge-purpose
  21161. descriptors as general-purpose descriptors. Bugfix on 0.2.0.8-alpha.
  21162. - When we decided to send a 503 response to a request for servers, we
  21163. were then also sending the server descriptors: this defeats the
  21164. whole purpose. Fixes bug 539; bugfix on 0.1.2.x.
  21165. o Major features:
  21166. - Bridge relays now behave like clients with respect to time
  21167. intervals for downloading new consensus documents -- otherwise they
  21168. stand out. Bridge users now wait until the end of the interval,
  21169. so their bridge relay will be sure to have a new consensus document.
  21170. - Three new config options (AlternateDirAuthority,
  21171. AlternateBridgeAuthority, and AlternateHSAuthority) that let the
  21172. user selectively replace the default directory authorities by type,
  21173. rather than the all-or-nothing replacement that DirServer offers.
  21174. - Tor can now be configured to read a GeoIP file from disk in one
  21175. of two formats. This can be used by controllers to map IP addresses
  21176. to countries. Eventually, it may support exit-by-country.
  21177. - When possible, bridge relays remember which countries users
  21178. are coming from, and report aggregate information in their
  21179. extra-info documents, so that the bridge authorities can learn
  21180. where Tor is blocked.
  21181. - Bridge directory authorities now do reachability testing on the
  21182. bridges they know. They provide router status summaries to the
  21183. controller via "getinfo ns/purpose/bridge", and also dump summaries
  21184. to a file periodically.
  21185. - Stop fetching directory info so aggressively if your DirPort is
  21186. on but your ORPort is off; stop fetching v2 dir info entirely.
  21187. You can override these choices with the new FetchDirInfoEarly
  21188. config option.
  21189. o Minor bugfixes:
  21190. - The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
  21191. consensus documents when there are too many relays at a single
  21192. IP address. Now clear it in v2 network status documents too, and
  21193. also clear it in routerinfo_t when the relay is no longer listed
  21194. in the relevant networkstatus document.
  21195. - Don't crash if we get an unexpected value for the
  21196. PublishServerDescriptor config option. Reported by Matt Edman;
  21197. bugfix on 0.2.0.9-alpha.
  21198. - Our new v2 hidden service descriptor format allows descriptors
  21199. that have no introduction points. But Tor crashed when we tried
  21200. to build a descriptor with no intro points (and it would have
  21201. crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
  21202. by Karsten Loesing.
  21203. - Fix building with dmalloc 5.5.2 with glibc.
  21204. - Reject uploaded descriptors and extrainfo documents if they're
  21205. huge. Otherwise we'll cache them all over the network and it'll
  21206. clog everything up. Reported by Aljosha Judmayer.
  21207. - Check for presence of s6_addr16 and s6_addr32 fields in in6_addr
  21208. via autoconf. Should fix compile on solaris. Bugfix on 0.2.0.x.
  21209. - When the DANGEROUS_VERSION controller status event told us we're
  21210. running an obsolete version, it used the string "OLD" to describe
  21211. it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
  21212. "OBSOLETE" in both cases. Bugfix on 0.1.2.x.
  21213. - If we can't expand our list of entry guards (e.g. because we're
  21214. using bridges or we have StrictEntryNodes set), don't mark relays
  21215. down when they fail a directory request. Otherwise we're too quick
  21216. to mark all our entry points down. Bugfix on 0.1.2.x.
  21217. - Fix handling of hex nicknames when answering controller requests for
  21218. networkstatus by name, or when deciding whether to warn about unknown
  21219. routers in a config option. Bugfix on 0.1.2.x. (Patch from mwenge.)
  21220. - Fix a couple of hard-to-trigger autoconf problems that could result
  21221. in really weird results on platforms whose sys/types.h files define
  21222. nonstandard integer types. Bugfix on 0.1.2.x.
  21223. - Fix compilation with --disable-threads set. Bugfix on 0.2.0.x.
  21224. - Don't crash on name lookup when we have no current consensus. Fixes
  21225. bug 538; bugfix on 0.2.0.x.
  21226. - Only Tors that want to mirror the v2 directory info should
  21227. create the "cached-status" directory in their datadir. (All Tors
  21228. used to create it.) Bugfix on 0.2.0.9-alpha.
  21229. - Directory authorities should only automatically download Extra Info
  21230. documents if they're v1, v2, or v3 authorities. Bugfix on 0.1.2.x.
  21231. o Minor features:
  21232. - On the USR1 signal, when dmalloc is in use, log the top 10 memory
  21233. consumers. (We already do this on HUP.)
  21234. - Authorities and caches fetch the v2 networkstatus documents
  21235. less often, now that v3 is encouraged.
  21236. - Add a new config option BridgeRelay that specifies you want to
  21237. be a bridge relay. Right now the only difference is that it makes
  21238. you answer begin_dir requests, and it makes you cache dir info,
  21239. even if your DirPort isn't on.
  21240. - Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
  21241. ask about source, timestamp of arrival, purpose, etc. We need
  21242. something like this to help Vidalia not do GeoIP lookups on bridge
  21243. addresses.
  21244. - Allow multiple HashedControlPassword config lines, to support
  21245. multiple controller passwords.
  21246. - Authorities now decide whether they're authoritative for a given
  21247. router based on the router's purpose.
  21248. - New config options AuthDirBadDir and AuthDirListBadDirs for
  21249. authorities to mark certain relays as "bad directories" in the
  21250. networkstatus documents. Also supports the "!baddir" directive in
  21251. the approved-routers file.
  21252. Changes in version 0.2.0.12-alpha - 2007-11-16
  21253. This twelfth development snapshot fixes some more build problems as
  21254. well as a few minor bugs.
  21255. o Compile fixes:
  21256. - Make it build on OpenBSD again. Patch from tup.
  21257. - Substitute BINDIR and LOCALSTATEDIR in scripts. Fixes
  21258. package-building for Red Hat, OS X, etc.
  21259. o Minor bugfixes (on 0.1.2.x):
  21260. - Changing the ExitPolicyRejectPrivate setting should cause us to
  21261. rebuild our server descriptor.
  21262. o Minor bugfixes (on 0.2.0.x):
  21263. - When we're lacking a consensus, don't try to perform rendezvous
  21264. operations. Reported by Karsten Loesing.
  21265. - Fix a small memory leak whenever we decide against using a
  21266. newly picked entry guard. Reported by Mike Perry.
  21267. - When authorities detected more than two relays running on the same
  21268. IP address, they were clearing all the status flags but forgetting
  21269. to clear the "hsdir" flag. So clients were being told that a
  21270. given relay was the right choice for a v2 hsdir lookup, yet they
  21271. never had its descriptor because it was marked as 'not running'
  21272. in the consensus.
  21273. - If we're trying to fetch a bridge descriptor and there's no way
  21274. the bridge authority could help us (for example, we don't know
  21275. a digest, or there is no bridge authority), don't be so eager to
  21276. fall back to asking the bridge authority.
  21277. - If we're using bridges or have strictentrynodes set, and our
  21278. chosen exit is in the same family as all our bridges/entry guards,
  21279. then be flexible about families.
  21280. o Minor features:
  21281. - When we negotiate a v2 link-layer connection (not yet implemented),
  21282. accept RELAY_EARLY cells and turn them into RELAY cells if we've
  21283. negotiated a v1 connection for their next step. Initial code for
  21284. proposal 110.
  21285. Changes in version 0.2.0.11-alpha - 2007-11-12
  21286. This eleventh development snapshot fixes some build problems with
  21287. the previous snapshot. It also includes a more secure-by-default exit
  21288. policy for relays, fixes an enormous memory leak for exit relays, and
  21289. fixes another bug where servers were falling out of the directory list.
  21290. o Security fixes:
  21291. - Exit policies now reject connections that are addressed to a
  21292. relay's public (external) IP address too, unless
  21293. ExitPolicyRejectPrivate is turned off. We do this because too
  21294. many relays are running nearby to services that trust them based
  21295. on network address. Bugfix on 0.1.2.x.
  21296. o Major bugfixes:
  21297. - Fix a memory leak on exit relays; we were leaking a cached_resolve_t
  21298. on every successful resolve. Reported by Mike Perry; bugfix
  21299. on 0.1.2.x.
  21300. - On authorities, never downgrade to old router descriptors simply
  21301. because they're listed in the consensus. This created a catch-22
  21302. where we wouldn't list a new descriptor because there was an
  21303. old one in the consensus, and we couldn't get the new one in the
  21304. consensus because we wouldn't list it. Possible fix for bug 548.
  21305. Also, this might cause bug 543 to appear on authorities; if so,
  21306. we'll need a band-aid for that. Bugfix on 0.2.0.9-alpha.
  21307. o Packaging fixes on 0.2.0.10-alpha:
  21308. - We were including instructions about what to do with the
  21309. src/config/fallback-consensus file, but we weren't actually
  21310. including it in the tarball. Disable all of that for now.
  21311. o Minor features:
  21312. - Allow people to say PreferTunnelledDirConns rather than
  21313. PreferTunneledDirConns, for those alternate-spellers out there.
  21314. o Minor bugfixes:
  21315. - Don't reevaluate all the information from our consensus document
  21316. just because we've downloaded a v2 networkstatus that we intend
  21317. to cache. Fixes bug 545; bugfix on 0.2.0.x.
  21318. Changes in version 0.2.0.10-alpha - 2007-11-10
  21319. This tenth development snapshot adds a third v3 directory authority
  21320. run by Mike Perry, adds most of Karsten Loesing's new hidden service
  21321. descriptor format, fixes a bad crash bug and new bridge bugs introduced
  21322. in 0.2.0.9-alpha, fixes many bugs with the v3 directory implementation,
  21323. fixes some minor memory leaks in previous 0.2.0.x snapshots, and
  21324. addresses many more minor issues.
  21325. o New directory authorities:
  21326. - Set up ides (run by Mike Perry) as the third v3 directory authority.
  21327. o Major features:
  21328. - Allow tunnelled directory connections to ask for an encrypted
  21329. "begin_dir" connection or an anonymized "uses a full Tor circuit"
  21330. connection independently. Now we can make anonymized begin_dir
  21331. connections for (e.g.) more secure hidden service posting and
  21332. fetching.
  21333. - More progress on proposal 114: code from Karsten Loesing to
  21334. implement new hidden service descriptor format.
  21335. - Raise the default BandwidthRate/BandwidthBurst to 5MB/10MB, to
  21336. accommodate the growing number of servers that use the default
  21337. and are reaching it.
  21338. - Directory authorities use a new formula for selecting which nodes
  21339. to advertise as Guards: they must be in the top 7/8 in terms of
  21340. how long we have known about them, and above the median of those
  21341. nodes in terms of weighted fractional uptime.
  21342. - Make "not enough dir info yet" warnings describe *why* Tor feels
  21343. it doesn't have enough directory info yet.
  21344. o Major bugfixes:
  21345. - Stop servers from crashing if they set a Family option (or
  21346. maybe in other situations too). Bugfix on 0.2.0.9-alpha; reported
  21347. by Fabian Keil.
  21348. - Make bridge users work again -- the move to v3 directories in
  21349. 0.2.0.9-alpha had introduced a number of bugs that made bridges
  21350. no longer work for clients.
  21351. - When the clock jumps forward a lot, do not allow the bandwidth
  21352. buckets to become negative. Bugfix on 0.1.2.x; fixes bug 544.
  21353. o Major bugfixes (v3 dir, bugfixes on 0.2.0.9-alpha):
  21354. - When the consensus lists a router descriptor that we previously were
  21355. mirroring, but that we considered non-canonical, reload the
  21356. descriptor as canonical. This fixes bug 543 where Tor servers
  21357. would start complaining after a few days that they don't have
  21358. enough directory information to build a circuit.
  21359. - Consider replacing the current consensus when certificates arrive
  21360. that make the pending consensus valid. Previously, we were only
  21361. considering replacement when the new certs _didn't_ help.
  21362. - Fix an assert error on startup if we didn't already have the
  21363. consensus and certs cached in our datadirectory: we were caching
  21364. the consensus in consensus_waiting_for_certs but then free'ing it
  21365. right after.
  21366. - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
  21367. Request) if we need more v3 certs but we've already got pending
  21368. requests for all of them.
  21369. - Correctly back off from failing certificate downloads. Fixes
  21370. bug 546.
  21371. - Authorities don't vote on the Running flag if they have been running
  21372. for less than 30 minutes themselves. Fixes bug 547, where a newly
  21373. started authority would vote that everyone was down.
  21374. o New requirements:
  21375. - Drop support for OpenSSL version 0.9.6. Just about nobody was using
  21376. it, it had no AES, and it hasn't seen any security patches since
  21377. 2004.
  21378. o Minor features:
  21379. - Clients now hold circuitless TLS connections open for 1.5 times
  21380. MaxCircuitDirtiness (15 minutes), since it is likely that they'll
  21381. rebuild a new circuit over them within that timeframe. Previously,
  21382. they held them open only for KeepalivePeriod (5 minutes).
  21383. - Use "If-Modified-Since" to avoid retrieving consensus
  21384. networkstatuses that we already have.
  21385. - When we have no consensus, check FallbackNetworkstatusFile (defaults
  21386. to $PREFIX/share/tor/fallback-consensus) for a consensus. This way
  21387. we start knowing some directory caches.
  21388. - When we receive a consensus from the future, warn about skew.
  21389. - Improve skew reporting: try to give the user a better log message
  21390. about how skewed they are, and how much this matters.
  21391. - When we have a certificate for an authority, believe that
  21392. certificate's claims about the authority's IP address.
  21393. - New --quiet command-line option to suppress the default console log.
  21394. Good in combination with --hash-password.
  21395. - Authorities send back an X-Descriptor-Not-New header in response to
  21396. an accepted-but-discarded descriptor upload. Partially implements
  21397. fix for bug 535.
  21398. - Make the log message for "tls error. breaking." more useful.
  21399. - Better log messages about certificate downloads, to attempt to
  21400. track down the second incarnation of bug 546.
  21401. o Minor features (bridges):
  21402. - If bridge users set UpdateBridgesFromAuthority, but the digest
  21403. they ask for is a 404 from the bridge authority, they now fall
  21404. back to trying the bridge directly.
  21405. - Bridges now use begin_dir to publish their server descriptor to
  21406. the bridge authority, even when they haven't set TunnelDirConns.
  21407. o Minor features (controller):
  21408. - When reporting clock skew, and we know that the clock is _at least
  21409. as skewed_ as some value, but we don't know the actual value,
  21410. report the value as a "minimum skew."
  21411. o Utilities:
  21412. - Update linux-tor-prio.sh script to allow QoS based on the uid of
  21413. the Tor process. Patch from Marco Bonetti with tweaks from Mike
  21414. Perry.
  21415. o Minor bugfixes:
  21416. - Refuse to start if both ORPort and UseBridges are set. Bugfix
  21417. on 0.2.0.x, suggested by Matt Edman.
  21418. - Don't stop fetching descriptors when FetchUselessDescriptors is
  21419. set, even if we stop asking for circuits. Bugfix on 0.1.2.x;
  21420. reported by tup and ioerror.
  21421. - Better log message on vote from unknown authority.
  21422. - Don't log "Launching 0 request for 0 router" message.
  21423. o Minor bugfixes (memory leaks):
  21424. - Stop leaking memory every time we parse a v3 certificate. Bugfix
  21425. on 0.2.0.1-alpha.
  21426. - Stop leaking memory every time we load a v3 certificate. Bugfix
  21427. on 0.2.0.1-alpha. Fixes bug 536.
  21428. - Stop leaking a cached networkstatus on exit. Bugfix on
  21429. 0.2.0.3-alpha.
  21430. - Stop leaking voter information every time we free a consensus.
  21431. Bugfix on 0.2.0.3-alpha.
  21432. - Stop leaking signed data every time we check a voter signature.
  21433. Bugfix on 0.2.0.3-alpha.
  21434. - Stop leaking a signature every time we fail to parse a consensus or
  21435. a vote. Bugfix on 0.2.0.3-alpha.
  21436. - Stop leaking v2_download_status_map on shutdown. Bugfix on
  21437. 0.2.0.9-alpha.
  21438. - Stop leaking conn->nickname every time we make a connection to a
  21439. Tor relay without knowing its expected identity digest (e.g. when
  21440. using bridges). Bugfix on 0.2.0.3-alpha.
  21441. - Minor bugfixes (portability):
  21442. - Run correctly on platforms where rlim_t is larger than unsigned
  21443. long, and/or where the real limit for number of open files is
  21444. OPEN_FILES, not rlim_max from getrlimit(RLIMIT_NOFILES). In
  21445. particular, these may be needed for OS X 10.5.
  21446. Changes in version 0.1.2.18 - 2007-10-28
  21447. Tor 0.1.2.18 fixes many problems including crash bugs, problems with
  21448. hidden service introduction that were causing huge delays, and a big
  21449. bug that was causing some servers to disappear from the network status
  21450. lists for a few hours each day.
  21451. o Major bugfixes (crashes):
  21452. - If a connection is shut down abruptly because of something that
  21453. happened inside connection_flushed_some(), do not call
  21454. connection_finished_flushing(). Should fix bug 451:
  21455. "connection_stop_writing: Assertion conn->write_event failed"
  21456. Bugfix on 0.1.2.7-alpha.
  21457. - Fix possible segfaults in functions called from
  21458. rend_process_relay_cell().
  21459. o Major bugfixes (hidden services):
  21460. - Hidden services were choosing introduction points uniquely by
  21461. hexdigest, but when constructing the hidden service descriptor
  21462. they merely wrote the (potentially ambiguous) nickname.
  21463. - Clients now use the v2 intro format for hidden service
  21464. connections: they specify their chosen rendezvous point by identity
  21465. digest rather than by (potentially ambiguous) nickname. These
  21466. changes could speed up hidden service connections dramatically.
  21467. o Major bugfixes (other):
  21468. - Stop publishing a new server descriptor just because we get a
  21469. HUP signal. This led (in a roundabout way) to some servers getting
  21470. dropped from the networkstatus lists for a few hours each day.
  21471. - When looking for a circuit to cannibalize, consider family as well
  21472. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  21473. circuit cannibalization).
  21474. - When a router wasn't listed in a new networkstatus, we were leaving
  21475. the flags for that router alone -- meaning it remained Named,
  21476. Running, etc -- even though absence from the networkstatus means
  21477. that it shouldn't be considered to exist at all anymore. Now we
  21478. clear all the flags for routers that fall out of the networkstatus
  21479. consensus. Fixes bug 529.
  21480. o Minor bugfixes:
  21481. - Don't try to access (or alter) the state file when running
  21482. --list-fingerprint or --verify-config or --hash-password. Resolves
  21483. bug 499.
  21484. - When generating information telling us how to extend to a given
  21485. router, do not try to include the nickname if it is
  21486. absent. Resolves bug 467.
  21487. - Fix a user-triggerable segfault in expand_filename(). (There isn't
  21488. a way to trigger this remotely.)
  21489. - When sending a status event to the controller telling it that an
  21490. OR address is reachable, set the port correctly. (Previously we
  21491. were reporting the dir port.)
  21492. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  21493. command. Bugfix on 0.1.2.17.
  21494. - When loading bandwidth history, do not believe any information in
  21495. the future. Fixes bug 434.
  21496. - When loading entry guard information, do not believe any information
  21497. in the future.
  21498. - When we have our clock set far in the future and generate an
  21499. onion key, then re-set our clock to be correct, we should not stop
  21500. the onion key from getting rotated.
  21501. - On some platforms, accept() can return a broken address. Detect
  21502. this more quietly, and deal accordingly. Fixes bug 483.
  21503. - It's not actually an error to find a non-pending entry in the DNS
  21504. cache when canceling a pending resolve. Don't log unless stuff
  21505. is fishy. Resolves bug 463.
  21506. - Don't reset trusted dir server list when we set a configuration
  21507. option. Patch from Robert Hogan.
  21508. - Don't try to create the datadir when running --verify-config or
  21509. --hash-password. Resolves bug 540.
  21510. Changes in version 0.2.0.9-alpha - 2007-10-24
  21511. This ninth development snapshot switches clients to the new v3 directory
  21512. system; allows servers to be listed in the network status even when they
  21513. have the same nickname as a registered server; and fixes many other
  21514. bugs including a big one that was causing some servers to disappear
  21515. from the network status lists for a few hours each day.
  21516. o Major features (directory system):
  21517. - Clients now download v3 consensus networkstatus documents instead
  21518. of v2 networkstatus documents. Clients and caches now base their
  21519. opinions about routers on these consensus documents. Clients only
  21520. download router descriptors listed in the consensus.
  21521. - Authorities now list servers who have the same nickname as
  21522. a different named server, but list them with a new flag,
  21523. "Unnamed". Now we can list servers that happen to pick the same
  21524. nickname as a server that registered two years ago and then
  21525. disappeared. Partially implements proposal 122.
  21526. - If the consensus lists a router as "Unnamed", the name is assigned
  21527. to a different router: do not identify the router by that name.
  21528. Partially implements proposal 122.
  21529. - Authorities can now come to a consensus on which method to use to
  21530. compute the consensus. This gives us forward compatibility.
  21531. o Major bugfixes:
  21532. - Stop publishing a new server descriptor just because we HUP or
  21533. when we find our DirPort to be reachable but won't actually publish
  21534. it. New descriptors without any real changes are dropped by the
  21535. authorities, and can screw up our "publish every 18 hours" schedule.
  21536. Bugfix on 0.1.2.x.
  21537. - When a router wasn't listed in a new networkstatus, we were leaving
  21538. the flags for that router alone -- meaning it remained Named,
  21539. Running, etc -- even though absence from the networkstatus means
  21540. that it shouldn't be considered to exist at all anymore. Now we
  21541. clear all the flags for routers that fall out of the networkstatus
  21542. consensus. Fixes bug 529; bugfix on 0.1.2.x.
  21543. - Fix awful behavior in DownloadExtraInfo option where we'd fetch
  21544. extrainfo documents and then discard them immediately for not
  21545. matching the latest router. Bugfix on 0.2.0.1-alpha.
  21546. o Minor features (v3 directory protocol):
  21547. - Allow tor-gencert to generate a new certificate without replacing
  21548. the signing key.
  21549. - Allow certificates to include an address.
  21550. - When we change our directory-cache settings, reschedule all voting
  21551. and download operations.
  21552. - Reattempt certificate downloads immediately on failure, as long as
  21553. we haven't failed a threshold number of times yet.
  21554. - Delay retrying consensus downloads while we're downloading
  21555. certificates to verify the one we just got. Also, count getting a
  21556. consensus that we already have (or one that isn't valid) as a failure,
  21557. and count failing to get the certificates after 20 minutes as a
  21558. failure.
  21559. - Build circuits and download descriptors even if our consensus is a
  21560. little expired. (This feature will go away once authorities are
  21561. more reliable.)
  21562. o Minor features (router descriptor cache):
  21563. - If we find a cached-routers file that's been sitting around for more
  21564. than 28 days unmodified, then most likely it's a leftover from
  21565. when we upgraded to 0.2.0.8-alpha. Remove it. It has no good
  21566. routers anyway.
  21567. - When we (as a cache) download a descriptor because it was listed
  21568. in a consensus, remember when the consensus was supposed to expire,
  21569. and don't expire the descriptor until then.
  21570. o Minor features (performance):
  21571. - Call routerlist_remove_old_routers() much less often. This should
  21572. speed startup, especially on directory caches.
  21573. - Don't try to launch new descriptor downloads quite so often when we
  21574. already have enough directory information to build circuits.
  21575. - Base64 decoding was actually showing up on our profile when parsing
  21576. the initial descriptor file; switch to an in-process all-at-once
  21577. implementation that's about 3.5x times faster than calling out to
  21578. OpenSSL.
  21579. o Minor features (compilation):
  21580. - Detect non-ASCII platforms (if any still exist) and refuse to
  21581. build there: some of our code assumes that 'A' is 65 and so on.
  21582. o Minor bugfixes (v3 directory authorities, bugfixes on 0.2.0.x):
  21583. - Make the "next period" votes into "current period" votes immediately
  21584. after publishing the consensus; avoid a heisenbug that made them
  21585. stick around indefinitely.
  21586. - When we discard a vote as a duplicate, do not report this as
  21587. an error.
  21588. - Treat missing v3 keys or certificates as an error when running as a
  21589. v3 directory authority.
  21590. - When we're configured to be a v3 authority, but we're only listed
  21591. as a non-v3 authority in our DirServer line for ourself, correct
  21592. the listing.
  21593. - If an authority doesn't have a qualified hostname, just put
  21594. its address in the vote. This fixes the problem where we referred to
  21595. "moria on moria:9031."
  21596. - Distinguish between detached signatures for the wrong period, and
  21597. detached signatures for a divergent vote.
  21598. - Fix a small memory leak when computing a consensus.
  21599. - When there's no consensus, we were forming a vote every 30
  21600. minutes, but writing the "valid-after" line in our vote based
  21601. on our configured V3AuthVotingInterval: so unless the intervals
  21602. matched up, we immediately rejected our own vote because it didn't
  21603. start at the voting interval that caused us to construct a vote.
  21604. o Minor bugfixes (v3 directory protocol, bugfixes on 0.2.0.x):
  21605. - Delete unverified-consensus when the real consensus is set.
  21606. - Consider retrying a consensus networkstatus fetch immediately
  21607. after one fails: don't wait 60 seconds to notice.
  21608. - When fetching a consensus as a cache, wait until a newer consensus
  21609. should exist before trying to replace the current one.
  21610. - Use a more forgiving schedule for retrying failed consensus
  21611. downloads than for other types.
  21612. o Minor bugfixes (other directory issues):
  21613. - Correct the implementation of "download votes by digest." Bugfix on
  21614. 0.2.0.8-alpha.
  21615. - Authorities no longer send back "400 you're unreachable please fix
  21616. it" errors to Tor servers that aren't online all the time. We're
  21617. supposed to tolerate these servers now. Bugfix on 0.1.2.x.
  21618. o Minor bugfixes (controller):
  21619. - Don't reset trusted dir server list when we set a configuration
  21620. option. Patch from Robert Hogan; bugfix on 0.1.2.x.
  21621. - Respond to INT and TERM SIGNAL commands before we execute the
  21622. signal, in case the signal shuts us down. We had a patch in
  21623. 0.1.2.1-alpha that tried to do this by queueing the response on
  21624. the connection's buffer before shutting down, but that really
  21625. isn't the same thing at all. Bug located by Matt Edman.
  21626. o Minor bugfixes (misc):
  21627. - Correctly check for bad options to the "PublishServerDescriptor"
  21628. config option. Bugfix on 0.2.0.1-alpha; reported by Matt Edman.
  21629. - Stop leaking memory on failing case of base32_decode, and make
  21630. it accept upper-case letters. Bugfixes on 0.2.0.7-alpha.
  21631. - Don't try to download extrainfo documents when we're trying to
  21632. fetch enough directory info to build a circuit: having enough
  21633. info should get priority. Bugfix on 0.2.0.x.
  21634. - Don't complain that "your server has not managed to confirm that its
  21635. ports are reachable" if we haven't been able to build any circuits
  21636. yet. Bug found by spending four hours without a v3 consensus. Bugfix
  21637. on 0.1.2.x.
  21638. - Detect the reason for failing to mmap a descriptor file we just
  21639. wrote, and give a more useful log message. Fixes bug 533. Bugfix
  21640. on 0.1.2.x.
  21641. o Code simplifications and refactoring:
  21642. - Remove support for the old bw_accounting file: we've been storing
  21643. bandwidth accounting information in the state file since
  21644. 0.1.2.5-alpha. This may result in bandwidth accounting errors
  21645. if you try to upgrade from 0.1.1.x or earlier, or if you try to
  21646. downgrade to 0.1.1.x or earlier.
  21647. - New convenience code to locate a file within the DataDirectory.
  21648. - Move non-authority functionality out of dirvote.c.
  21649. - Refactor the arguments for router_pick_{directory_|trusteddir}server
  21650. so that they all take the same named flags.
  21651. o Utilities
  21652. - Include the "tor-ctrl.sh" bash script by Stefan Behte to provide
  21653. Unix users an easy way to script their Tor process (e.g. by
  21654. adjusting bandwidth based on the time of the day).
  21655. Changes in version 0.2.0.8-alpha - 2007-10-12
  21656. This eighth development snapshot fixes a crash bug that's been bothering
  21657. us since February 2007, lets bridge authorities store a list of bridge
  21658. descriptors they've seen, gets v3 directory voting closer to working,
  21659. starts caching v3 directory consensus documents on directory mirrors,
  21660. and fixes a variety of smaller issues including some minor memory leaks.
  21661. o Major features (router descriptor cache):
  21662. - Store routers in a file called cached-descriptors instead of in
  21663. cached-routers. Initialize cached-descriptors from cached-routers
  21664. if the old format is around. The new format allows us to store
  21665. annotations along with descriptors.
  21666. - Use annotations to record the time we received each descriptor, its
  21667. source, and its purpose.
  21668. - Disable the SETROUTERPURPOSE controller command: it is now
  21669. obsolete.
  21670. - Controllers should now specify cache=no or cache=yes when using
  21671. the +POSTDESCRIPTOR command.
  21672. - Bridge authorities now write bridge descriptors to disk, meaning
  21673. we can export them to other programs and begin distributing them
  21674. to blocked users.
  21675. o Major features (directory authorities):
  21676. - When a v3 authority is missing votes or signatures, it now tries
  21677. to fetch them.
  21678. - Directory authorities track weighted fractional uptime as well as
  21679. weighted mean-time-between failures. WFU is suitable for deciding
  21680. whether a node is "usually up", while MTBF is suitable for deciding
  21681. whether a node is "likely to stay up." We need both, because
  21682. "usually up" is a good requirement for guards, while "likely to
  21683. stay up" is a good requirement for long-lived connections.
  21684. o Major features (v3 directory system):
  21685. - Caches now download v3 network status documents as needed,
  21686. and download the descriptors listed in them.
  21687. - All hosts now attempt to download and keep fresh v3 authority
  21688. certificates, and re-attempt after failures.
  21689. - More internal-consistency checks for vote parsing.
  21690. o Major bugfixes (crashes):
  21691. - If a connection is shut down abruptly because of something that
  21692. happened inside connection_flushed_some(), do not call
  21693. connection_finished_flushing(). Should fix bug 451. Bugfix on
  21694. 0.1.2.7-alpha.
  21695. o Major bugfixes (performance):
  21696. - Fix really bad O(n^2) performance when parsing a long list of
  21697. routers: Instead of searching the entire list for an "extra-info "
  21698. string which usually wasn't there, once for every routerinfo
  21699. we read, just scan lines forward until we find one we like.
  21700. Bugfix on 0.2.0.1.
  21701. - When we add data to a write buffer in response to the data on that
  21702. write buffer getting low because of a flush, do not consider the
  21703. newly added data as a candidate for immediate flushing, but rather
  21704. make it wait until the next round of writing. Otherwise, we flush
  21705. and refill recursively, and a single greedy TLS connection can
  21706. eat all of our bandwidth. Bugfix on 0.1.2.7-alpha.
  21707. o Minor features (v3 authority system):
  21708. - Add more ways for tools to download the votes that lead to the
  21709. current consensus.
  21710. - Send a 503 when low on bandwidth and a vote, consensus, or
  21711. certificate is requested.
  21712. - If-modified-since is now implemented properly for all kinds of
  21713. certificate requests.
  21714. o Minor bugfixes (network statuses):
  21715. - Tweak the implementation of proposal 109 slightly: allow at most
  21716. two Tor servers on the same IP address, except if it's the location
  21717. of a directory authority, in which case allow five. Bugfix on
  21718. 0.2.0.3-alpha.
  21719. o Minor bugfixes (controller):
  21720. - When sending a status event to the controller telling it that an
  21721. OR address is reachable, set the port correctly. (Previously we
  21722. were reporting the dir port.) Bugfix on 0.1.2.x.
  21723. o Minor bugfixes (v3 directory system):
  21724. - Fix logic to look up a cert by its signing key digest. Bugfix on
  21725. 0.2.0.7-alpha.
  21726. - Only change the reply to a vote to "OK" if it's not already
  21727. set. This gets rid of annoying "400 OK" log messages, which may
  21728. have been masking some deeper issue. Bugfix on 0.2.0.7-alpha.
  21729. - When we get a valid consensus, recompute the voting schedule.
  21730. - Base the valid-after time of a vote on the consensus voting
  21731. schedule, not on our preferred schedule.
  21732. - Make the return values and messages from signature uploads and
  21733. downloads more sensible.
  21734. - Fix a memory leak when serving votes and consensus documents, and
  21735. another when serving certificates.
  21736. o Minor bugfixes (performance):
  21737. - Use a slightly simpler string hashing algorithm (copying Python's
  21738. instead of Java's) and optimize our digest hashing algorithm to take
  21739. advantage of 64-bit platforms and to remove some possibly-costly
  21740. voodoo.
  21741. - Fix a minor memory leak whenever we parse guards from our state
  21742. file. Bugfix on 0.2.0.7-alpha.
  21743. - Fix a minor memory leak whenever we write out a file. Bugfix on
  21744. 0.2.0.7-alpha.
  21745. - Fix a minor memory leak whenever a controller sends the PROTOCOLINFO
  21746. command. Bugfix on 0.2.0.5-alpha.
  21747. o Minor bugfixes (portability):
  21748. - On some platforms, accept() can return a broken address. Detect
  21749. this more quietly, and deal accordingly. Fixes bug 483.
  21750. - Stop calling tor_strlower() on uninitialized memory in some cases.
  21751. Bugfix in 0.2.0.7-alpha.
  21752. o Minor bugfixes (usability):
  21753. - Treat some 403 responses from directory servers as INFO rather than
  21754. WARN-severity events.
  21755. - It's not actually an error to find a non-pending entry in the DNS
  21756. cache when canceling a pending resolve. Don't log unless stuff is
  21757. fishy. Resolves bug 463.
  21758. o Minor bugfixes (anonymity):
  21759. - Never report that we've used more bandwidth than we're willing to
  21760. relay: it leaks how much non-relay traffic we're using. Resolves
  21761. bug 516.
  21762. - When looking for a circuit to cannibalize, consider family as well
  21763. as identity. Fixes bug 438. Bugfix on 0.1.0.x (which introduced
  21764. circuit cannibalization).
  21765. o Code simplifications and refactoring:
  21766. - Make a bunch of functions static. Remove some dead code.
  21767. - Pull out about a third of the really big routerlist.c; put it in a
  21768. new module, networkstatus.c.
  21769. - Merge the extra fields in local_routerstatus_t back into
  21770. routerstatus_t: we used to need one routerstatus_t for each
  21771. authority's opinion, plus a local_routerstatus_t for the locally
  21772. computed consensus opinion. To save space, we put the locally
  21773. modified fields into local_routerstatus_t, and only the common
  21774. stuff into routerstatus_t. But once v3 directories are in use,
  21775. clients and caches will no longer need to hold authority opinions;
  21776. thus, the rationale for keeping the types separate is now gone.
  21777. - Make the code used to reschedule and reattempt downloads more
  21778. uniform.
  21779. - Turn all 'Are we a directory server/mirror?' logic into a call to
  21780. dirserver_mode().
  21781. - Remove the code to generate the oldest (v1) directory format.
  21782. The code has been disabled since 0.2.0.5-alpha.
  21783. Changes in version 0.2.0.7-alpha - 2007-09-21
  21784. This seventh development snapshot makes bridges work again, makes bridge
  21785. authorities work for the first time, fixes two huge performance flaws
  21786. in hidden services, and fixes a variety of minor issues.
  21787. o New directory authorities:
  21788. - Set up moria1 and tor26 as the first v3 directory authorities. See
  21789. doc/spec/dir-spec.txt for details on the new directory design.
  21790. o Major bugfixes (crashes):
  21791. - Fix possible segfaults in functions called from
  21792. rend_process_relay_cell(). Bugfix on 0.1.2.x.
  21793. o Major bugfixes (bridges):
  21794. - Fix a bug that made servers send a "404 Not found" in response to
  21795. attempts to fetch their server descriptor. This caused Tor servers
  21796. to take many minutes to establish reachability for their DirPort,
  21797. and it totally crippled bridges. Bugfix on 0.2.0.5-alpha.
  21798. - Make "UpdateBridgesFromAuthority" torrc option work: when bridge
  21799. users configure that and specify a bridge with an identity
  21800. fingerprint, now they will lookup the bridge descriptor at the
  21801. default bridge authority via a one-hop tunnel, but once circuits
  21802. are established they will switch to a three-hop tunnel for later
  21803. connections to the bridge authority. Bugfix in 0.2.0.3-alpha.
  21804. o Major bugfixes (hidden services):
  21805. - Hidden services were choosing introduction points uniquely by
  21806. hexdigest, but when constructing the hidden service descriptor
  21807. they merely wrote the (potentially ambiguous) nickname.
  21808. - Clients now use the v2 intro format for hidden service
  21809. connections: they specify their chosen rendezvous point by identity
  21810. digest rather than by (potentially ambiguous) nickname. Both
  21811. are bugfixes on 0.1.2.x, and they could speed up hidden service
  21812. connections dramatically. Thanks to Karsten Loesing.
  21813. o Minor features (security):
  21814. - As a client, do not believe any server that tells us that an
  21815. address maps to an internal address space.
  21816. - Make it possible to enable HashedControlPassword and
  21817. CookieAuthentication at the same time.
  21818. o Minor features (guard nodes):
  21819. - Tag every guard node in our state file with the version that
  21820. we believe added it, or with our own version if we add it. This way,
  21821. if a user temporarily runs an old version of Tor and then switches
  21822. back to a new one, she doesn't automatically lose her guards.
  21823. o Minor features (speed):
  21824. - When implementing AES counter mode, update only the portions of the
  21825. counter buffer that need to change, and don't keep separate
  21826. network-order and host-order counters when they are the same (i.e.,
  21827. on big-endian hosts.)
  21828. o Minor features (controller):
  21829. - Accept LF instead of CRLF on controller, since some software has a
  21830. hard time generating real Internet newlines.
  21831. - Add GETINFO values for the server status events
  21832. "REACHABILITY_SUCCEEDED" and "GOOD_SERVER_DESCRIPTOR". Patch from
  21833. Robert Hogan.
  21834. o Removed features:
  21835. - Routers no longer include bandwidth-history lines in their
  21836. descriptors; this information is already available in extra-info
  21837. documents, and including it in router descriptors took up 60%
  21838. (!) of compressed router descriptor downloads. Completes
  21839. implementation of proposal 104.
  21840. - Remove the contrib scripts ExerciseServer.py, PathDemo.py,
  21841. and TorControl.py, as they use the old v0 controller protocol,
  21842. and are obsoleted by TorFlow anyway.
  21843. - Drop support for v1 rendezvous descriptors, since we never used
  21844. them anyway, and the code has probably rotted by now. Based on
  21845. patch from Karsten Loesing.
  21846. - On OSX, stop warning the user that kqueue support in libevent is
  21847. "experimental", since it seems to have worked fine for ages.
  21848. o Minor bugfixes:
  21849. - When generating information telling us how to extend to a given
  21850. router, do not try to include the nickname if it is absent. Fixes
  21851. bug 467. Bugfix on 0.2.0.3-alpha.
  21852. - Fix a user-triggerable (but not remotely-triggerable) segfault
  21853. in expand_filename(). Bugfix on 0.1.2.x.
  21854. - Fix a memory leak when freeing incomplete requests from DNSPort.
  21855. Found by Niels Provos with valgrind. Bugfix on 0.2.0.1-alpha.
  21856. - Don't try to access (or alter) the state file when running
  21857. --list-fingerprint or --verify-config or --hash-password. (Resolves
  21858. bug 499.) Bugfix on 0.1.2.x.
  21859. - Servers used to decline to publish their DirPort if their
  21860. BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
  21861. were below a threshold. Now they only look at BandwidthRate and
  21862. RelayBandwidthRate. Bugfix on 0.1.2.x.
  21863. - Remove an optimization in the AES counter-mode code that assumed
  21864. that the counter never exceeded 2^68. When the counter can be set
  21865. arbitrarily as an IV (as it is by Karsten's new hidden services
  21866. code), this assumption no longer holds. Bugfix on 0.1.2.x.
  21867. - Resume listing "AUTHORITY" flag for authorities in network status.
  21868. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
  21869. o Code simplifications and refactoring:
  21870. - Revamp file-writing logic so we don't need to have the entire
  21871. contents of a file in memory at once before we write to disk. Tor,
  21872. meet stdio.
  21873. - Turn "descriptor store" into a full-fledged type.
  21874. - Move all NT services code into a separate source file.
  21875. - Unify all code that computes medians, percentile elements, etc.
  21876. - Get rid of a needless malloc when parsing address policies.
  21877. Changes in version 0.1.2.17 - 2007-08-30
  21878. Tor 0.1.2.17 features a new Vidalia version in the Windows and OS
  21879. X bundles. Vidalia 0.0.14 makes authentication required for the
  21880. ControlPort in the default configuration, which addresses important
  21881. security risks. Everybody who uses Vidalia (or another controller)
  21882. should upgrade.
  21883. In addition, this Tor update fixes major load balancing problems with
  21884. path selection, which should speed things up a lot once many people
  21885. have upgraded.
  21886. o Major bugfixes (security):
  21887. - We removed support for the old (v0) control protocol. It has been
  21888. deprecated since Tor 0.1.1.1-alpha, and keeping it secure has
  21889. become more of a headache than it's worth.
  21890. o Major bugfixes (load balancing):
  21891. - When choosing nodes for non-guard positions, weight guards
  21892. proportionally less, since they already have enough load. Patch
  21893. from Mike Perry.
  21894. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  21895. will allow fast Tor servers to get more attention.
  21896. - When we're upgrading from an old Tor version, forget our current
  21897. guards and pick new ones according to the new weightings. These
  21898. three load balancing patches could raise effective network capacity
  21899. by a factor of four. Thanks to Mike Perry for measurements.
  21900. o Major bugfixes (stream expiration):
  21901. - Expire not-yet-successful application streams in all cases if
  21902. they've been around longer than SocksTimeout. Right now there are
  21903. some cases where the stream will live forever, demanding a new
  21904. circuit every 15 seconds. Fixes bug 454; reported by lodger.
  21905. o Minor features (controller):
  21906. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  21907. is valid before any authentication has been received. It tells
  21908. a controller what kind of authentication is expected, and what
  21909. protocol is spoken. Implements proposal 119.
  21910. o Minor bugfixes (performance):
  21911. - Save on most routerlist_assert_ok() calls in routerlist.c, thus
  21912. greatly speeding up loading cached-routers from disk on startup.
  21913. - Disable sentinel-based debugging for buffer code: we squashed all
  21914. the bugs that this was supposed to detect a long time ago, and now
  21915. its only effect is to change our buffer sizes from nice powers of
  21916. two (which platform mallocs tend to like) to values slightly over
  21917. powers of two (which make some platform mallocs sad).
  21918. o Minor bugfixes (misc):
  21919. - If exit bandwidth ever exceeds one third of total bandwidth, then
  21920. use the correct formula to weight exit nodes when choosing paths.
  21921. Based on patch from Mike Perry.
  21922. - Choose perfectly fairly among routers when choosing by bandwidth and
  21923. weighting by fraction of bandwidth provided by exits. Previously, we
  21924. would choose with only approximate fairness, and correct ourselves
  21925. if we ran off the end of the list.
  21926. - If we require CookieAuthentication but we fail to write the
  21927. cookie file, we would warn but not exit, and end up in a state
  21928. where no controller could authenticate. Now we exit.
  21929. - If we require CookieAuthentication, stop generating a new cookie
  21930. every time we change any piece of our config.
  21931. - Refuse to start with certain directory authority keys, and
  21932. encourage people using them to stop.
  21933. - Terminate multi-line control events properly. Original patch
  21934. from tup.
  21935. - Fix a minor memory leak when we fail to find enough suitable
  21936. servers to choose a circuit.
  21937. - Stop leaking part of the descriptor when we run into a particularly
  21938. unparseable piece of it.
  21939. Changes in version 0.2.0.6-alpha - 2007-08-26
  21940. This sixth development snapshot features a new Vidalia version in the
  21941. Windows and OS X bundles. Vidalia 0.0.14 makes authentication required for
  21942. the ControlPort in the default configuration, which addresses important
  21943. security risks.
  21944. In addition, this snapshot fixes major load balancing problems
  21945. with path selection, which should speed things up a lot once many
  21946. people have upgraded. The directory authorities also use a new
  21947. mean-time-between-failure approach to tracking which servers are stable,
  21948. rather than just looking at the most recent uptime.
  21949. o New directory authorities:
  21950. - Set up Tonga as the default bridge directory authority.
  21951. o Major features:
  21952. - Directory authorities now track servers by weighted
  21953. mean-times-between-failures. When we have 4 or more days of data,
  21954. use measured MTBF rather than declared uptime to decide whether
  21955. to call a router Stable. Implements proposal 108.
  21956. o Major bugfixes (load balancing):
  21957. - When choosing nodes for non-guard positions, weight guards
  21958. proportionally less, since they already have enough load. Patch
  21959. from Mike Perry.
  21960. - Raise the "max believable bandwidth" from 1.5MB/s to 10MB/s. This
  21961. will allow fast Tor servers to get more attention.
  21962. - When we're upgrading from an old Tor version, forget our current
  21963. guards and pick new ones according to the new weightings. These
  21964. three load balancing patches could raise effective network capacity
  21965. by a factor of four. Thanks to Mike Perry for measurements.
  21966. o Major bugfixes (descriptor parsing):
  21967. - Handle unexpected whitespace better in malformed descriptors. Bug
  21968. found using Benedikt Boss's new Tor fuzzer! Bugfix on 0.2.0.x.
  21969. o Minor features:
  21970. - There is now an ugly, temporary "desc/all-recent-extrainfo-hack"
  21971. GETINFO for Torstat to use until it can switch to using extrainfos.
  21972. - Optionally (if built with -DEXPORTMALLINFO) export the output
  21973. of mallinfo via http, as tor/mallinfo.txt. Only accessible
  21974. from localhost.
  21975. o Minor bugfixes:
  21976. - Do not intermix bridge routers with controller-added
  21977. routers. (Bugfix on 0.2.0.x)
  21978. - Do not fail with an assert when accept() returns an unexpected
  21979. address family. Addresses but does not wholly fix bug 483. (Bugfix
  21980. on 0.2.0.x)
  21981. - Let directory authorities startup even when they can't generate
  21982. a descriptor immediately, e.g. because they don't know their
  21983. address.
  21984. - Stop putting the authentication cookie in a file called "0"
  21985. in your working directory if you don't specify anything for the
  21986. new CookieAuthFile option. Reported by Matt Edman.
  21987. - Make it possible to read the PROTOCOLINFO response in a way that
  21988. conforms to our control-spec. Reported by Matt Edman.
  21989. - Fix a minor memory leak when we fail to find enough suitable
  21990. servers to choose a circuit. Bugfix on 0.1.2.x.
  21991. - Stop leaking part of the descriptor when we run into a particularly
  21992. unparseable piece of it. Bugfix on 0.1.2.x.
  21993. - Unmap the extrainfo cache file on exit.
  21994. Changes in version 0.2.0.5-alpha - 2007-08-19
  21995. This fifth development snapshot fixes compilation on Windows again;
  21996. fixes an obnoxious client-side bug that slowed things down and put
  21997. extra load on the network; gets us closer to using the v3 directory
  21998. voting scheme; makes it easier for Tor controllers to use cookie-based
  21999. authentication; and fixes a variety of other bugs.
  22000. o Removed features:
  22001. - Version 1 directories are no longer generated in full. Instead,
  22002. authorities generate and serve "stub" v1 directories that list
  22003. no servers. This will stop Tor versions 0.1.0.x and earlier from
  22004. working, but (for security reasons) nobody should be running those
  22005. versions anyway.
  22006. o Major bugfixes (compilation, 0.2.0.x):
  22007. - Try to fix Win32 compilation again: improve checking for IPv6 types.
  22008. - Try to fix MSVC compilation: build correctly on platforms that do
  22009. not define s6_addr16 or s6_addr32.
  22010. - Fix compile on platforms without getaddrinfo: bug found by Li-Hui
  22011. Zhou.
  22012. o Major bugfixes (stream expiration):
  22013. - Expire not-yet-successful application streams in all cases if
  22014. they've been around longer than SocksTimeout. Right now there are
  22015. some cases where the stream will live forever, demanding a new
  22016. circuit every 15 seconds. Bugfix on 0.1.2.7-alpha; fixes bug 454;
  22017. reported by lodger.
  22018. o Minor features (directory servers):
  22019. - When somebody requests a list of statuses or servers, and we have
  22020. none of those, return a 404 rather than an empty 200.
  22021. o Minor features (directory voting):
  22022. - Store v3 consensus status consensuses on disk, and reload them
  22023. on startup.
  22024. o Minor features (security):
  22025. - Warn about unsafe ControlPort configurations.
  22026. - Refuse to start with certain directory authority keys, and
  22027. encourage people using them to stop.
  22028. o Minor features (controller):
  22029. - Add a PROTOCOLINFO controller command. Like AUTHENTICATE, it
  22030. is valid before any authentication has been received. It tells
  22031. a controller what kind of authentication is expected, and what
  22032. protocol is spoken. Implements proposal 119.
  22033. - New config option CookieAuthFile to choose a new location for the
  22034. cookie authentication file, and config option
  22035. CookieAuthFileGroupReadable to make it group-readable.
  22036. o Minor features (unit testing):
  22037. - Add command-line arguments to unit-test executable so that we can
  22038. invoke any chosen test from the command line rather than having
  22039. to run the whole test suite at once; and so that we can turn on
  22040. logging for the unit tests.
  22041. o Minor bugfixes (on 0.1.2.x):
  22042. - If we require CookieAuthentication but we fail to write the
  22043. cookie file, we would warn but not exit, and end up in a state
  22044. where no controller could authenticate. Now we exit.
  22045. - If we require CookieAuthentication, stop generating a new cookie
  22046. every time we change any piece of our config.
  22047. - When loading bandwidth history, do not believe any information in
  22048. the future. Fixes bug 434.
  22049. - When loading entry guard information, do not believe any information
  22050. in the future.
  22051. - When we have our clock set far in the future and generate an
  22052. onion key, then re-set our clock to be correct, we should not stop
  22053. the onion key from getting rotated.
  22054. - Clean up torrc sample config file.
  22055. - Do not automatically run configure from autogen.sh. This
  22056. non-standard behavior tended to annoy people who have built other
  22057. programs.
  22058. o Minor bugfixes (on 0.2.0.x):
  22059. - Fix a bug with AutomapHostsOnResolve that would always cause
  22060. the second request to fail. Bug reported by Kate. Bugfix on
  22061. 0.2.0.3-alpha.
  22062. - Fix a bug in ADDRMAP controller replies that would sometimes
  22063. try to print a NULL. Patch from tup.
  22064. - Read v3 directory authority keys from the right location.
  22065. - Numerous bugfixes to directory voting code.
  22066. Changes in version 0.1.2.16 - 2007-08-01
  22067. Tor 0.1.2.16 fixes a critical security vulnerability that allows a
  22068. remote attacker in certain situations to rewrite the user's torrc
  22069. configuration file. This can completely compromise anonymity of users
  22070. in most configurations, including those running the Vidalia bundles,
  22071. TorK, etc. Or worse.
  22072. o Major security fixes:
  22073. - Close immediately after missing authentication on control port;
  22074. do not allow multiple authentication attempts.
  22075. Changes in version 0.2.0.4-alpha - 2007-08-01
  22076. This fourth development snapshot fixes a critical security vulnerability
  22077. for most users, specifically those running Vidalia, TorK, etc. Everybody
  22078. should upgrade to either 0.1.2.16 or 0.2.0.4-alpha.
  22079. o Major security fixes:
  22080. - Close immediately after missing authentication on control port;
  22081. do not allow multiple authentication attempts.
  22082. o Major bugfixes (compilation):
  22083. - Fix win32 compilation: apparently IN_ADDR and IN6_ADDR are already
  22084. defined there.
  22085. o Minor features (performance):
  22086. - Be even more aggressive about releasing RAM from small
  22087. empty buffers. Thanks to our free-list code, this shouldn't be too
  22088. performance-intensive.
  22089. - Disable sentinel-based debugging for buffer code: we squashed all
  22090. the bugs that this was supposed to detect a long time ago, and
  22091. now its only effect is to change our buffer sizes from nice
  22092. powers of two (which platform mallocs tend to like) to values
  22093. slightly over powers of two (which make some platform mallocs sad).
  22094. - Log malloc statistics from mallinfo() on platforms where it
  22095. exists.
  22096. Changes in version 0.2.0.3-alpha - 2007-07-29
  22097. This third development snapshot introduces new experimental
  22098. blocking-resistance features and a preliminary version of the v3
  22099. directory voting design, and includes many other smaller features
  22100. and bugfixes.
  22101. o Major features:
  22102. - The first pieces of our "bridge" design for blocking-resistance
  22103. are implemented. People can run bridge directory authorities;
  22104. people can run bridges; and people can configure their Tor clients
  22105. with a set of bridges to use as the first hop into the Tor network.
  22106. See http://archives.seul.org/or/talk/Jul-2007/msg00249.html for
  22107. details.
  22108. - Create listener connections before we setuid to the configured
  22109. User and Group. Now non-Windows users can choose port values
  22110. under 1024, start Tor as root, and have Tor bind those ports
  22111. before it changes to another UID. (Windows users could already
  22112. pick these ports.)
  22113. - Added a new ConstrainedSockets config option to set SO_SNDBUF and
  22114. SO_RCVBUF on TCP sockets. Hopefully useful for Tor servers running
  22115. on "vserver" accounts. (Patch from coderman.)
  22116. - Be even more aggressive about separating local traffic from relayed
  22117. traffic when RelayBandwidthRate is set. (Refines proposal 111.)
  22118. o Major features (experimental):
  22119. - First cut of code for "v3 dir voting": directory authorities will
  22120. vote on a common network status document rather than each publishing
  22121. their own opinion. This code needs more testing and more corner-case
  22122. handling before it's ready for use.
  22123. o Security fixes:
  22124. - Directory authorities now call routers Fast if their bandwidth is
  22125. at least 100KB/s, and consider their bandwidth adequate to be a
  22126. Guard if it is at least 250KB/s, no matter the medians. This fix
  22127. complements proposal 107. [Bugfix on 0.1.2.x]
  22128. - Directory authorities now never mark more than 3 servers per IP as
  22129. Valid and Running. (Implements proposal 109, by Kevin Bauer and
  22130. Damon McCoy.)
  22131. - Minor change to organizationName and commonName generation
  22132. procedures in TLS certificates during Tor handshakes, to invalidate
  22133. some earlier censorware approaches. This is not a long-term
  22134. solution, but applying it will give us a bit of time to look into
  22135. the epidemiology of countermeasures as they spread.
  22136. o Major bugfixes (directory):
  22137. - Rewrite directory tokenization code to never run off the end of
  22138. a string. Fixes bug 455. Patch from croup. [Bugfix on 0.1.2.x]
  22139. o Minor features (controller):
  22140. - Add a SOURCE_ADDR field to STREAM NEW events so that controllers can
  22141. match requests to applications. (Patch from Robert Hogan.)
  22142. - Report address and port correctly on connections to DNSPort. (Patch
  22143. from Robert Hogan.)
  22144. - Add a RESOLVE command to launch hostname lookups. (Original patch
  22145. from Robert Hogan.)
  22146. - Add GETINFO status/enough-dir-info to let controllers tell whether
  22147. Tor has downloaded sufficient directory information. (Patch
  22148. from Tup.)
  22149. - You can now use the ControlSocket option to tell Tor to listen for
  22150. controller connections on Unix domain sockets on systems that
  22151. support them. (Patch from Peter Palfrader.)
  22152. - STREAM NEW events are generated for DNSPort requests and for
  22153. tunneled directory connections. (Patch from Robert Hogan.)
  22154. - New "GETINFO address-mappings/*" command to get address mappings
  22155. with expiry information. "addr-mappings/*" is now deprecated.
  22156. (Patch from Tup.)
  22157. o Minor features (misc):
  22158. - Merge in some (as-yet-unused) IPv6 address manipulation code. (Patch
  22159. from croup.)
  22160. - The tor-gencert tool for v3 directory authorities now creates all
  22161. files as readable to the file creator only, and write-protects
  22162. the authority identity key.
  22163. - When dumping memory usage, list bytes used in buffer memory
  22164. free-lists.
  22165. - When running with dmalloc, dump more stats on hup and on exit.
  22166. - Directory authorities now fail quickly and (relatively) harmlessly
  22167. if they generate a network status document that is somehow
  22168. malformed.
  22169. o Traffic load balancing improvements:
  22170. - If exit bandwidth ever exceeds one third of total bandwidth, then
  22171. use the correct formula to weight exit nodes when choosing paths.
  22172. (Based on patch from Mike Perry.)
  22173. - Choose perfectly fairly among routers when choosing by bandwidth and
  22174. weighting by fraction of bandwidth provided by exits. Previously, we
  22175. would choose with only approximate fairness, and correct ourselves
  22176. if we ran off the end of the list. [Bugfix on 0.1.2.x]
  22177. o Performance improvements:
  22178. - Be more aggressive with freeing buffer RAM or putting it on the
  22179. memory free lists.
  22180. - Use Critical Sections rather than Mutexes for synchronizing threads
  22181. on win32; Mutexes are heavier-weight, and designed for synchronizing
  22182. between processes.
  22183. o Deprecated and removed features:
  22184. - RedirectExits is now deprecated.
  22185. - Stop allowing address masks that do not correspond to bit prefixes.
  22186. We have warned about these for a really long time; now it's time
  22187. to reject them. (Patch from croup.)
  22188. o Minor bugfixes (directory):
  22189. - Fix another crash bug related to extra-info caching. (Bug found by
  22190. Peter Palfrader.) [Bugfix on 0.2.0.2-alpha]
  22191. - Directories no longer return a "304 not modified" when they don't
  22192. have the networkstatus the client asked for. Also fix a memory
  22193. leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha]
  22194. - We had accidentally labelled 0.1.2.x directory servers as not
  22195. suitable for begin_dir requests, and had labelled no directory
  22196. servers as suitable for uploading extra-info documents. [Bugfix
  22197. on 0.2.0.1-alpha]
  22198. o Minor bugfixes (dns):
  22199. - Fix a crash when DNSPort is set more than once. (Patch from Robert
  22200. Hogan.) [Bugfix on 0.2.0.2-alpha]
  22201. - Add DNSPort connections to the global connection list, so that we
  22202. can time them out correctly. (Bug found by Robert Hogan.) [Bugfix
  22203. on 0.2.0.2-alpha]
  22204. - Fix a dangling reference that could lead to a crash when DNSPort is
  22205. changed or closed (Patch from Robert Hogan.) [Bugfix on
  22206. 0.2.0.2-alpha]
  22207. o Minor bugfixes (controller):
  22208. - Provide DNS expiry times in GMT, not in local time. For backward
  22209. compatibility, ADDRMAP events only provide GMT expiry in an extended
  22210. field. "GETINFO address-mappings" always does the right thing.
  22211. - Use CRLF line endings properly in NS events.
  22212. - Terminate multi-line control events properly. (Original patch
  22213. from tup.) [Bugfix on 0.1.2.x-alpha]
  22214. - Do not include spaces in SOURCE_ADDR fields in STREAM
  22215. events. Resolves bug 472. [Bugfix on 0.2.0.x-alpha]
  22216. Changes in version 0.1.2.15 - 2007-07-17
  22217. Tor 0.1.2.15 fixes several crash bugs, fixes some anonymity-related
  22218. problems, fixes compilation on BSD, and fixes a variety of other
  22219. bugs. Everybody should upgrade.
  22220. o Major bugfixes (compilation):
  22221. - Fix compile on FreeBSD/NetBSD/OpenBSD. Oops.
  22222. o Major bugfixes (crashes):
  22223. - Try even harder not to dereference the first character after
  22224. an mmap(). Reported by lodger.
  22225. - Fix a crash bug in directory authorities when we re-number the
  22226. routerlist while inserting a new router.
  22227. - When the cached-routers file is an even multiple of the page size,
  22228. don't run off the end and crash. (Fixes bug 455; based on idea
  22229. from croup.)
  22230. - Fix eventdns.c behavior on Solaris: It is critical to include
  22231. orconfig.h _before_ sys/types.h, so that we can get the expected
  22232. definition of _FILE_OFFSET_BITS.
  22233. o Major bugfixes (security):
  22234. - Fix a possible buffer overrun when using BSD natd support. Bug
  22235. found by croup.
  22236. - When sending destroy cells from a circuit's origin, don't include
  22237. the reason for tearing down the circuit. The spec says we didn't,
  22238. and now we actually don't. Reported by lodger.
  22239. - Keep streamids from different exits on a circuit separate. This
  22240. bug may have allowed other routers on a given circuit to inject
  22241. cells into streams. Reported by lodger; fixes bug 446.
  22242. - If there's a never-before-connected-to guard node in our list,
  22243. never choose any guards past it. This way we don't expand our
  22244. guard list unless we need to.
  22245. o Minor bugfixes (guard nodes):
  22246. - Weight guard selection by bandwidth, so that low-bandwidth nodes
  22247. don't get overused as guards.
  22248. o Minor bugfixes (directory):
  22249. - Correctly count the number of authorities that recommend each
  22250. version. Previously, we were under-counting by 1.
  22251. - Fix a potential crash bug when we load many server descriptors at
  22252. once and some of them make others of them obsolete. Fixes bug 458.
  22253. o Minor bugfixes (hidden services):
  22254. - Stop tearing down the whole circuit when the user asks for a
  22255. connection to a port that the hidden service didn't configure.
  22256. Resolves bug 444.
  22257. o Minor bugfixes (misc):
  22258. - On Windows, we were preventing other processes from reading
  22259. cached-routers while Tor was running. Reported by janbar.
  22260. - Fix a possible (but very unlikely) bug in picking routers by
  22261. bandwidth. Add a log message to confirm that it is in fact
  22262. unlikely. Patch from lodger.
  22263. - Backport a couple of memory leak fixes.
  22264. - Backport miscellaneous cosmetic bugfixes.
  22265. Changes in version 0.2.0.2-alpha - 2007-06-02
  22266. o Major bugfixes on 0.2.0.1-alpha:
  22267. - Fix an assertion failure related to servers without extra-info digests.
  22268. Resolves bugs 441 and 442.
  22269. o Minor features (directory):
  22270. - Support "If-Modified-Since" when answering HTTP requests for
  22271. directories, running-routers documents, and network-status documents.
  22272. (There's no need to support it for router descriptors, since those
  22273. are downloaded by descriptor digest.)
  22274. o Minor build issues:
  22275. - Clear up some MIPSPro compiler warnings.
  22276. - When building from a tarball on a machine that happens to have SVK
  22277. installed, report the micro-revision as whatever version existed
  22278. in the tarball, not as "x".
  22279. Changes in version 0.2.0.1-alpha - 2007-06-01
  22280. This early development snapshot provides new features for people running
  22281. Tor as both a client and a server (check out the new RelayBandwidth
  22282. config options); lets Tor run as a DNS proxy; and generally moves us
  22283. forward on a lot of fronts.
  22284. o Major features, server usability:
  22285. - New config options RelayBandwidthRate and RelayBandwidthBurst:
  22286. a separate set of token buckets for relayed traffic. Right now
  22287. relayed traffic is defined as answers to directory requests, and
  22288. OR connections that don't have any local circuits on them.
  22289. o Major features, client usability:
  22290. - A client-side DNS proxy feature to replace the need for
  22291. dns-proxy-tor: Just set "DNSPort 9999", and Tor will now listen
  22292. for DNS requests on port 9999, use the Tor network to resolve them
  22293. anonymously, and send the reply back like a regular DNS server.
  22294. The code still only implements a subset of DNS.
  22295. - Make PreferTunneledDirConns and TunnelDirConns work even when
  22296. we have no cached directory info. This means Tor clients can now
  22297. do all of their connections protected by TLS.
  22298. o Major features, performance and efficiency:
  22299. - Directory authorities accept and serve "extra info" documents for
  22300. routers. These documents contain fields from router descriptors
  22301. that aren't usually needed, and that use a lot of excess
  22302. bandwidth. Once these fields are removed from router descriptors,
  22303. the bandwidth savings should be about 60%. [Partially implements
  22304. proposal 104.]
  22305. - Servers upload extra-info documents to any authority that accepts
  22306. them. Authorities (and caches that have been configured to download
  22307. extra-info documents) download them as needed. [Partially implements
  22308. proposal 104.]
  22309. - Change the way that Tor buffers data that it is waiting to write.
  22310. Instead of queueing data cells in an enormous ring buffer for each
  22311. client->OR or OR->OR connection, we now queue cells on a separate
  22312. queue for each circuit. This lets us use less slack memory, and
  22313. will eventually let us be smarter about prioritizing different kinds
  22314. of traffic.
  22315. - Use memory pools to allocate cells with better speed and memory
  22316. efficiency, especially on platforms where malloc() is inefficient.
  22317. - Stop reading on edge connections when their corresponding circuit
  22318. buffers are full; start again as the circuits empty out.
  22319. o Major features, other:
  22320. - Add an HSAuthorityRecordStats option that hidden service authorities
  22321. can use to track statistics of overall hidden service usage without
  22322. logging information that would be very useful to an attacker.
  22323. - Start work implementing multi-level keys for directory authorities:
  22324. Add a standalone tool to generate key certificates. (Proposal 103.)
  22325. o Security fixes:
  22326. - Directory authorities now call routers Stable if they have an
  22327. uptime of at least 30 days, even if that's not the median uptime
  22328. in the network. Implements proposal 107, suggested by Kevin Bauer
  22329. and Damon McCoy.
  22330. o Minor fixes (resource management):
  22331. - Count the number of open sockets separately from the number
  22332. of active connection_t objects. This will let us avoid underusing
  22333. our allocated connection limit.
  22334. - We no longer use socket pairs to link an edge connection to an
  22335. anonymous directory connection or a DirPort test connection.
  22336. Instead, we track the link internally and transfer the data
  22337. in-process. This saves two sockets per "linked" connection (at the
  22338. client and at the server), and avoids the nasty Windows socketpair()
  22339. workaround.
  22340. - Keep unused 4k and 16k buffers on free lists, rather than wasting 8k
  22341. for every single inactive connection_t. Free items from the
  22342. 4k/16k-buffer free lists when they haven't been used for a while.
  22343. o Minor features (build):
  22344. - Make autoconf search for libevent, openssl, and zlib consistently.
  22345. - Update deprecated macros in configure.in.
  22346. - When warning about missing headers, tell the user to let us
  22347. know if the compile succeeds anyway, so we can downgrade the
  22348. warning.
  22349. - Include the current subversion revision as part of the version
  22350. string: either fetch it directly if we're in an SVN checkout, do
  22351. some magic to guess it if we're in an SVK checkout, or use
  22352. the last-detected version if we're building from a .tar.gz.
  22353. Use this version consistently in log messages.
  22354. o Minor features (logging):
  22355. - Always prepend "Bug: " to any log message about a bug.
  22356. - Put a platform string (e.g. "Linux i686") in the startup log
  22357. message, so when people paste just their logs, we know if it's
  22358. OpenBSD or Windows or what.
  22359. - When logging memory usage, break down memory used in buffers by
  22360. buffer type.
  22361. o Minor features (directory system):
  22362. - New config option V2AuthoritativeDirectory that all directory
  22363. authorities should set. This will let future authorities choose
  22364. not to serve V2 directory information.
  22365. - Directory authorities allow multiple router descriptors and/or extra
  22366. info documents to be uploaded in a single go. This will make
  22367. implementing proposal 104 simpler.
  22368. o Minor features (controller):
  22369. - Add a new config option __DisablePredictedCircuits designed for
  22370. use by the controller, when we don't want Tor to build any circuits
  22371. preemptively.
  22372. - Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
  22373. so we can exit from the middle of the circuit.
  22374. - Implement "getinfo status/circuit-established".
  22375. - Implement "getinfo status/version/..." so a controller can tell
  22376. whether the current version is recommended, and whether any versions
  22377. are good, and how many authorities agree. (Patch from shibz.)
  22378. o Minor features (hidden services):
  22379. - Allow multiple HiddenServicePort directives with the same virtual
  22380. port; when they occur, the user is sent round-robin to one
  22381. of the target ports chosen at random. Partially fixes bug 393 by
  22382. adding limited ad-hoc round-robining.
  22383. o Minor features (other):
  22384. - More unit tests.
  22385. - Add a new AutomapHostsOnResolve option: when it is enabled, any
  22386. resolve request for hosts matching a given pattern causes Tor to
  22387. generate an internal virtual address mapping for that host. This
  22388. allows DNSPort to work sensibly with hidden service users. By
  22389. default, .exit and .onion addresses are remapped; the list of
  22390. patterns can be reconfigured with AutomapHostsSuffixes.
  22391. - Add an "-F" option to tor-resolve to force a resolve for a .onion
  22392. address. Thanks to the AutomapHostsOnResolve option, this is no
  22393. longer a completely silly thing to do.
  22394. - If Tor is invoked from something that isn't a shell (e.g. Vidalia),
  22395. now we expand "-f ~/.tor/torrc" correctly. Suggested by Matt Edman.
  22396. - Treat "2gb" when given in torrc for a bandwidth as meaning 2gb,
  22397. minus 1 byte: the actual maximum declared bandwidth.
  22398. o Removed features:
  22399. - Removed support for the old binary "version 0" controller protocol.
  22400. This has been deprecated since 0.1.1, and warnings have been issued
  22401. since 0.1.2. When we encounter a v0 control message, we now send
  22402. back an error and close the connection.
  22403. - Remove the old "dns worker" server DNS code: it hasn't been default
  22404. since 0.1.2.2-alpha, and all the servers seem to be using the new
  22405. eventdns code.
  22406. o Minor bugfixes (portability):
  22407. - Even though Windows is equally happy with / and \ as path separators,
  22408. try to use \ consistently on Windows and / consistently on Unix: it
  22409. makes the log messages nicer.
  22410. - Correctly report platform name on Windows 95 OSR2 and Windows 98 SE.
  22411. - Read resolv.conf files correctly on platforms where read() returns
  22412. partial results on small file reads.
  22413. o Minor bugfixes (directory):
  22414. - Correctly enforce that elements of directory objects do not appear
  22415. more often than they are allowed to appear.
  22416. - When we are reporting the DirServer line we just parsed, we were
  22417. logging the second stanza of the key fingerprint, not the first.
  22418. o Minor bugfixes (logging):
  22419. - When we hit an EOF on a log (probably because we're shutting down),
  22420. don't try to remove the log from the list: just mark it as
  22421. unusable. (Bulletproofs against bug 222.)
  22422. o Minor bugfixes (other):
  22423. - In the exitlist script, only consider the most recently published
  22424. server descriptor for each server. Also, when the user requests
  22425. a list of servers that _reject_ connections to a given address,
  22426. explicitly exclude the IPs that also have servers that accept
  22427. connections to that address. (Resolves bug 405.)
  22428. - Stop allowing hibernating servers to be "stable" or "fast".
  22429. - On Windows, we were preventing other processes from reading
  22430. cached-routers while Tor was running. (Reported by janbar)
  22431. - Make the NodeFamilies config option work. (Reported by
  22432. lodger -- it has never actually worked, even though we added it
  22433. in Oct 2004.)
  22434. - Check return values from pthread_mutex functions.
  22435. - Don't save non-general-purpose router descriptors to the disk cache,
  22436. because we have no way of remembering what their purpose was when
  22437. we restart.
  22438. - Add even more asserts to hunt down bug 417.
  22439. - Build without verbose warnings even on (not-yet-released) gcc 4.2.
  22440. - Fix a possible (but very unlikely) bug in picking routers by bandwidth.
  22441. Add a log message to confirm that it is in fact unlikely.
  22442. o Minor bugfixes (controller):
  22443. - Make 'getinfo fingerprint' return a 551 error if we're not a
  22444. server, so we match what the control spec claims we do. Reported
  22445. by daejees.
  22446. - Fix a typo in an error message when extendcircuit fails that
  22447. caused us to not follow the \r\n-based delimiter protocol. Reported
  22448. by daejees.
  22449. o Code simplifications and refactoring:
  22450. - Stop passing around circuit_t and crypt_path_t pointers that are
  22451. implicit in other procedure arguments.
  22452. - Drop the old code to choke directory connections when the
  22453. corresponding OR connections got full: thanks to the cell queue
  22454. feature, OR conns don't get full any more.
  22455. - Make dns_resolve() handle attaching connections to circuits
  22456. properly, so the caller doesn't have to.
  22457. - Rename wants_to_read and wants_to_write to read/write_blocked_on_bw.
  22458. - Keep the connection array as a dynamic smartlist_t, rather than as
  22459. a fixed-sized array. This is important, as the number of connections
  22460. is becoming increasingly decoupled from the number of sockets.
  22461. Changes in version 0.1.2.14 - 2007-05-25
  22462. Tor 0.1.2.14 changes the addresses of two directory authorities (this
  22463. change especially affects those who serve or use hidden services),
  22464. and fixes several other crash- and security-related bugs.
  22465. o Directory authority changes:
  22466. - Two directory authorities (moria1 and moria2) just moved to new
  22467. IP addresses. This change will particularly affect those who serve
  22468. or use hidden services.
  22469. o Major bugfixes (crashes):
  22470. - If a directory server runs out of space in the connection table
  22471. as it's processing a begin_dir request, it will free the exit stream
  22472. but leave it attached to the circuit, leading to unpredictable
  22473. behavior. (Reported by seeess, fixes bug 425.)
  22474. - Fix a bug in dirserv_remove_invalid() that would cause authorities
  22475. to corrupt memory under some really unlikely scenarios.
  22476. - Tighten router parsing rules. (Bugs reported by Benedikt Boss.)
  22477. - Avoid segfaults when reading from mmaped descriptor file. (Reported
  22478. by lodger.)
  22479. o Major bugfixes (security):
  22480. - When choosing an entry guard for a circuit, avoid using guards
  22481. that are in the same family as the chosen exit -- not just guards
  22482. that are exactly the chosen exit. (Reported by lodger.)
  22483. o Major bugfixes (resource management):
  22484. - If a directory authority is down, skip it when deciding where to get
  22485. networkstatus objects or descriptors. Otherwise we keep asking
  22486. every 10 seconds forever. Fixes bug 384.
  22487. - Count it as a failure if we fetch a valid network-status but we
  22488. don't want to keep it. Otherwise we'll keep fetching it and keep
  22489. not wanting to keep it. Fixes part of bug 422.
  22490. - If all of our dirservers have given us bad or no networkstatuses
  22491. lately, then stop hammering them once per minute even when we
  22492. think they're failed. Fixes another part of bug 422.
  22493. o Minor bugfixes:
  22494. - Actually set the purpose correctly for descriptors inserted with
  22495. purpose=controller.
  22496. - When we have k non-v2 authorities in our DirServer config,
  22497. we ignored the last k authorities in the list when updating our
  22498. network-statuses.
  22499. - Correctly back-off from requesting router descriptors that we are
  22500. having a hard time downloading.
  22501. - Read resolv.conf files correctly on platforms where read() returns
  22502. partial results on small file reads.
  22503. - Don't rebuild the entire router store every time we get 32K of
  22504. routers: rebuild it when the journal gets very large, or when
  22505. the gaps in the store get very large.
  22506. o Minor features:
  22507. - When routers publish SVN revisions in their router descriptors,
  22508. authorities now include those versions correctly in networkstatus
  22509. documents.
  22510. - Warn when using a version of libevent before 1.3b to run a server on
  22511. OSX or BSD: these versions interact badly with userspace threads.
  22512. Changes in version 0.1.2.13 - 2007-04-24
  22513. This release features some major anonymity fixes, such as safer path
  22514. selection; better client performance; faster bootstrapping, better
  22515. address detection, and better DNS support for servers; write limiting as
  22516. well as read limiting to make servers easier to run; and a huge pile of
  22517. other features and bug fixes. The bundles also ship with Vidalia 0.0.11.
  22518. Tor 0.1.2.13 is released in memory of Rob Levin (1955-2006), aka lilo
  22519. of the Freenode IRC network, remembering his patience and vision for
  22520. free speech on the Internet.
  22521. o Minor fixes:
  22522. - Fix a memory leak when we ask for "all" networkstatuses and we
  22523. get one we don't recognize.
  22524. - Add more asserts to hunt down bug 417.
  22525. - Disable kqueue on OS X 10.3 and earlier, to fix bug 371.
  22526. Changes in version 0.1.2.12-rc - 2007-03-16
  22527. o Major bugfixes:
  22528. - Fix an infinite loop introduced in 0.1.2.7-alpha when we serve
  22529. directory information requested inside Tor connections (i.e. via
  22530. begin_dir cells). It only triggered when the same connection was
  22531. serving other data at the same time. Reported by seeess.
  22532. o Minor bugfixes:
  22533. - When creating a circuit via the controller, send a 'launched'
  22534. event when we're done, so we follow the spec better.
  22535. Changes in version 0.1.2.11-rc - 2007-03-15
  22536. o Minor bugfixes (controller), reported by daejees:
  22537. - Correct the control spec to match how the code actually responds
  22538. to 'getinfo addr-mappings/*'.
  22539. - The control spec described a GUARDS event, but the code
  22540. implemented a GUARD event. Standardize on GUARD, but let people
  22541. ask for GUARDS too.
  22542. Changes in version 0.1.2.10-rc - 2007-03-07
  22543. o Major bugfixes (Windows):
  22544. - Do not load the NT services library functions (which may not exist)
  22545. just to detect if we're a service trying to shut down. Now we run
  22546. on Win98 and friends again.
  22547. o Minor bugfixes (other):
  22548. - Clarify a couple of log messages.
  22549. - Fix a misleading socks5 error number.
  22550. Changes in version 0.1.2.9-rc - 2007-03-02
  22551. o Major bugfixes (Windows):
  22552. - On MinGW, use "%I64u" to printf/scanf 64-bit integers, instead
  22553. of the usual GCC "%llu". This prevents a bug when saving 64-bit
  22554. int configuration values: the high-order 32 bits would get
  22555. truncated. In particular, we were being bitten by the default
  22556. MaxAdvertisedBandwidth of 128 TB turning into 0. (Fixes bug 400
  22557. and maybe also bug 397.)
  22558. o Minor bugfixes (performance):
  22559. - Use OpenSSL's AES implementation on platforms where it's faster.
  22560. This could save us as much as 10% CPU usage.
  22561. o Minor bugfixes (server):
  22562. - Do not rotate onion key immediately after setting it for the first
  22563. time.
  22564. o Minor bugfixes (directory authorities):
  22565. - Stop calling servers that have been hibernating for a long time
  22566. "stable". Also, stop letting hibernating or obsolete servers affect
  22567. uptime and bandwidth cutoffs.
  22568. - Stop listing hibernating servers in the v1 directory.
  22569. o Minor bugfixes (hidden services):
  22570. - Upload hidden service descriptors slightly less often, to reduce
  22571. load on authorities.
  22572. o Minor bugfixes (other):
  22573. - Fix an assert that could trigger if a controller quickly set then
  22574. cleared EntryNodes. Bug found by Udo van den Heuvel.
  22575. - On architectures where sizeof(int)>4, still clamp declarable bandwidth
  22576. to INT32_MAX.
  22577. - Fix a potential race condition in the rpm installer. Found by
  22578. Stefan Nordhausen.
  22579. - Try to fix eventdns warnings once and for all: do not treat a dns rcode
  22580. of 2 as indicating that the server is completely bad; it sometimes
  22581. means that the server is just bad for the request in question. (may fix
  22582. the last of bug 326.)
  22583. - Disable encrypted directory connections when we don't have a server
  22584. descriptor for the destination. We'll get this working again in
  22585. the 0.2.0 branch.
  22586. Changes in version 0.1.2.8-beta - 2007-02-26
  22587. o Major bugfixes (crashes):
  22588. - Stop crashing when the controller asks us to resetconf more than
  22589. one config option at once. (Vidalia 0.0.11 does this.)
  22590. - Fix a crash that happened on Win98 when we're given command-line
  22591. arguments: don't try to load NT service functions from advapi32.dll
  22592. except when we need them. (Bug introduced in 0.1.2.7-alpha;
  22593. resolves bug 389.)
  22594. - Fix a longstanding obscure crash bug that could occur when
  22595. we run out of DNS worker processes. (Resolves bug 390.)
  22596. o Major bugfixes (hidden services):
  22597. - Correctly detect whether hidden service descriptor downloads are
  22598. in-progress. (Suggested by Karsten Loesing; fixes bug 399.)
  22599. o Major bugfixes (accounting):
  22600. - When we start during an accounting interval before it's time to wake
  22601. up, remember to wake up at the correct time. (May fix bug 342.)
  22602. o Minor bugfixes (controller):
  22603. - Give the controller END_STREAM_REASON_DESTROY events _before_ we
  22604. clear the corresponding on_circuit variable, and remember later
  22605. that we don't need to send a redundant CLOSED event. Resolves part
  22606. 3 of bug 367.
  22607. - Report events where a resolve succeeded or where we got a socks
  22608. protocol error correctly, rather than calling both of them
  22609. "INTERNAL".
  22610. - Change reported stream target addresses to IP consistently when
  22611. we finally get the IP from an exit node.
  22612. - Send log messages to the controller even if they happen to be very
  22613. long.
  22614. o Minor bugfixes (other):
  22615. - Display correct results when reporting which versions are
  22616. recommended, and how recommended they are. (Resolves bug 383.)
  22617. - Improve our estimates for directory bandwidth to be less random:
  22618. guess that an unrecognized directory will have the average bandwidth
  22619. from all known directories, not that it will have the average
  22620. bandwidth from those directories earlier than it on the list.
  22621. - If we start a server with ClientOnly 1, then set ClientOnly to 0
  22622. and hup, stop triggering an assert based on an empty onion_key.
  22623. - On platforms with no working mmap() equivalent, don't warn the
  22624. user when cached-routers doesn't exist.
  22625. - Warn the user when mmap() [or its equivalent] fails for some reason
  22626. other than file-not-found.
  22627. - Don't warn the user when cached-routers.new doesn't exist: that's
  22628. perfectly fine when starting up for the first time.
  22629. - When EntryNodes are configured, rebuild the guard list to contain,
  22630. in order: the EntryNodes that were guards before; the rest of the
  22631. EntryNodes; the nodes that were guards before.
  22632. - Mask out all signals in sub-threads; only the libevent signal
  22633. handler should be processing them. This should prevent some crashes
  22634. on some machines using pthreads. (Patch from coderman.)
  22635. - Fix switched arguments on memset in the implementation of
  22636. tor_munmap() for systems with no mmap() call.
  22637. - When Tor receives a router descriptor that it asked for, but
  22638. no longer wants (because it has received fresh networkstatuses
  22639. in the meantime), do not warn the user. Cache the descriptor if
  22640. we're a cache; drop it if we aren't.
  22641. - Make earlier entry guards _really_ get retried when the network
  22642. comes back online.
  22643. - On a malformed DNS reply, always give an error to the corresponding
  22644. DNS request.
  22645. - Build with recent libevents on platforms that do not define the
  22646. nonstandard types "u_int8_t" and friends.
  22647. o Minor features (controller):
  22648. - Warn the user when an application uses the obsolete binary v0
  22649. control protocol. We're planning to remove support for it during
  22650. the next development series, so it's good to give people some
  22651. advance warning.
  22652. - Add STREAM_BW events to report per-entry-stream bandwidth
  22653. use. (Patch from Robert Hogan.)
  22654. - Rate-limit SIGNEWNYM signals in response to controllers that
  22655. impolitely generate them for every single stream. (Patch from
  22656. mwenge; closes bug 394.)
  22657. - Make REMAP stream events have a SOURCE (cache or exit), and
  22658. make them generated in every case where we get a successful
  22659. connected or resolved cell.
  22660. o Minor bugfixes (performance):
  22661. - Call router_have_min_dir_info half as often. (This is showing up in
  22662. some profiles, but not others.)
  22663. - When using GCC, make log_debug never get called at all, and its
  22664. arguments never get evaluated, when no debug logs are configured.
  22665. (This is showing up in some profiles, but not others.)
  22666. o Minor features:
  22667. - Remove some never-implemented options. Mark PathlenCoinWeight as
  22668. obsolete.
  22669. - Implement proposal 106: Stop requiring clients to have well-formed
  22670. certificates; stop checking nicknames in certificates. (Clients
  22671. have certificates so that they can look like Tor servers, but in
  22672. the future we might want to allow them to look like regular TLS
  22673. clients instead. Nicknames in certificates serve no purpose other
  22674. than making our protocol easier to recognize on the wire.)
  22675. - Revise messages on handshake failure again to be even more clear about
  22676. which are incoming connections and which are outgoing.
  22677. - Discard any v1 directory info that's over 1 month old (for
  22678. directories) or over 1 week old (for running-routers lists).
  22679. - Do not warn when individual nodes in the configuration's EntryNodes,
  22680. ExitNodes, etc are down: warn only when all possible nodes
  22681. are down. (Fixes bug 348.)
  22682. - Always remove expired routers and networkstatus docs before checking
  22683. whether we have enough information to build circuits. (Fixes
  22684. bug 373.)
  22685. - Put a lower-bound on MaxAdvertisedBandwidth.
  22686. Changes in version 0.1.2.7-alpha - 2007-02-06
  22687. o Major bugfixes (rate limiting):
  22688. - Servers decline directory requests much more aggressively when
  22689. they're low on bandwidth. Otherwise they end up queueing more and
  22690. more directory responses, which can't be good for latency.
  22691. - But never refuse directory requests from local addresses.
  22692. - Fix a memory leak when sending a 503 response for a networkstatus
  22693. request.
  22694. - Be willing to read or write on local connections (e.g. controller
  22695. connections) even when the global rate limiting buckets are empty.
  22696. - If our system clock jumps back in time, don't publish a negative
  22697. uptime in the descriptor. Also, don't let the global rate limiting
  22698. buckets go absurdly negative.
  22699. - Flush local controller connection buffers periodically as we're
  22700. writing to them, so we avoid queueing 4+ megabytes of data before
  22701. trying to flush.
  22702. o Major bugfixes (NT services):
  22703. - Install as NT_AUTHORITY\LocalService rather than as SYSTEM; add a
  22704. command-line flag so that admins can override the default by saying
  22705. "tor --service install --user "SomeUser"". This will not affect
  22706. existing installed services. Also, warn the user that the service
  22707. will look for its configuration file in the service user's
  22708. %appdata% directory. (We can't do the 'hardwire the user's appdata
  22709. directory' trick any more, since we may not have read access to that
  22710. directory.)
  22711. o Major bugfixes (other):
  22712. - Previously, we would cache up to 16 old networkstatus documents
  22713. indefinitely, if they came from nontrusted authorities. Now we
  22714. discard them if they are more than 10 days old.
  22715. - Fix a crash bug in the presence of DNS hijacking (reported by Andrew
  22716. Del Vecchio).
  22717. - Detect and reject malformed DNS responses containing circular
  22718. pointer loops.
  22719. - If exits are rare enough that we're not marking exits as guards,
  22720. ignore exit bandwidth when we're deciding the required bandwidth
  22721. to become a guard.
  22722. - When we're handling a directory connection tunneled over Tor,
  22723. don't fill up internal memory buffers with all the data we want
  22724. to tunnel; instead, only add it if the OR connection that will
  22725. eventually receive it has some room for it. (This can lead to
  22726. slowdowns in tunneled dir connections; a better solution will have
  22727. to wait for 0.2.0.)
  22728. o Minor bugfixes (dns):
  22729. - Add some defensive programming to eventdns.c in an attempt to catch
  22730. possible memory-stomping bugs.
  22731. - Detect and reject DNS replies containing IPv4 or IPv6 records with
  22732. an incorrect number of bytes. (Previously, we would ignore the
  22733. extra bytes.)
  22734. - Fix as-yet-unused reverse IPv6 lookup code so it sends nybbles
  22735. in the correct order, and doesn't crash.
  22736. - Free memory held in recently-completed DNS lookup attempts on exit.
  22737. This was not a memory leak, but may have been hiding memory leaks.
  22738. - Handle TTL values correctly on reverse DNS lookups.
  22739. - Treat failure to parse resolv.conf as an error.
  22740. o Minor bugfixes (other):
  22741. - Fix crash with "tor --list-fingerprint" (reported by seeess).
  22742. - When computing clock skew from directory HTTP headers, consider what
  22743. time it was when we finished asking for the directory, not what
  22744. time it is now.
  22745. - Expire socks connections if they spend too long waiting for the
  22746. handshake to finish. Previously we would let them sit around for
  22747. days, if the connecting application didn't close them either.
  22748. - And if the socks handshake hasn't started, don't send a
  22749. "DNS resolve socks failed" handshake reply; just close it.
  22750. - Stop using C functions that OpenBSD's linker doesn't like.
  22751. - Don't launch requests for descriptors unless we have networkstatuses
  22752. from at least half of the authorities. This delays the first
  22753. download slightly under pathological circumstances, but can prevent
  22754. us from downloading a bunch of descriptors we don't need.
  22755. - Do not log IPs with TLS failures for incoming TLS
  22756. connections. (Fixes bug 382.)
  22757. - If the user asks to use invalid exit nodes, be willing to use
  22758. unstable ones.
  22759. - Stop using the reserved ac_cv namespace in our configure script.
  22760. - Call stat() slightly less often; use fstat() when possible.
  22761. - Refactor the way we handle pending circuits when an OR connection
  22762. completes or fails, in an attempt to fix a rare crash bug.
  22763. - Only rewrite a conn's address based on X-Forwarded-For: headers
  22764. if it's a parseable public IP address; and stop adding extra quotes
  22765. to the resulting address.
  22766. o Major features:
  22767. - Weight directory requests by advertised bandwidth. Now we can
  22768. let servers enable write limiting but still allow most clients to
  22769. succeed at their directory requests. (We still ignore weights when
  22770. choosing a directory authority; I hope this is a feature.)
  22771. o Minor features:
  22772. - Create a new file ReleaseNotes which was the old ChangeLog. The
  22773. new ChangeLog file now includes the summaries for all development
  22774. versions too.
  22775. - Check for addresses with invalid characters at the exit as well
  22776. as at the client, and warn less verbosely when they fail. You can
  22777. override this by setting ServerDNSAllowNonRFC953Addresses to 1.
  22778. - Adapt a patch from goodell to let the contrib/exitlist script
  22779. take arguments rather than require direct editing.
  22780. - Inform the server operator when we decide not to advertise a
  22781. DirPort due to AccountingMax enabled or a low BandwidthRate. It
  22782. was confusing Zax, so now we're hopefully more helpful.
  22783. - Bring us one step closer to being able to establish an encrypted
  22784. directory tunnel without knowing a descriptor first. Still not
  22785. ready yet. As part of the change, now assume we can use a
  22786. create_fast cell if we don't know anything about a router.
  22787. - Allow exit nodes to use nameservers running on ports other than 53.
  22788. - Servers now cache reverse DNS replies.
  22789. - Add an --ignore-missing-torrc command-line option so that we can
  22790. get the "use sensible defaults if the configuration file doesn't
  22791. exist" behavior even when specifying a torrc location on the command
  22792. line.
  22793. o Minor features (controller):
  22794. - Track reasons for OR connection failure; make these reasons
  22795. available via the controller interface. (Patch from Mike Perry.)
  22796. - Add a SOCKS_BAD_HOSTNAME client status event so controllers
  22797. can learn when clients are sending malformed hostnames to Tor.
  22798. - Clean up documentation for controller status events.
  22799. - Add a REMAP status to stream events to note that a stream's
  22800. address has changed because of a cached address or a MapAddress
  22801. directive.
  22802. Changes in version 0.1.2.6-alpha - 2007-01-09
  22803. o Major bugfixes:
  22804. - Fix an assert error introduced in 0.1.2.5-alpha: if a single TLS
  22805. connection handles more than 4 gigs in either direction, we crash.
  22806. - Fix an assert error introduced in 0.1.2.5-alpha: if we're an
  22807. advertised exit node, somebody might try to exit from us when
  22808. we're bootstrapping and before we've built our descriptor yet.
  22809. Refuse the connection rather than crashing.
  22810. o Minor bugfixes:
  22811. - Warn if we (as a server) find that we've resolved an address that we
  22812. weren't planning to resolve.
  22813. - Warn that using select() on any libevent version before 1.1 will be
  22814. unnecessarily slow (even for select()).
  22815. - Flush ERR-level controller status events just like we currently
  22816. flush ERR-level log events, so that a Tor shutdown doesn't prevent
  22817. the controller from learning about current events.
  22818. o Minor features (more controller status events):
  22819. - Implement EXTERNAL_ADDRESS server status event so controllers can
  22820. learn when our address changes.
  22821. - Implement BAD_SERVER_DESCRIPTOR server status event so controllers
  22822. can learn when directories reject our descriptor.
  22823. - Implement SOCKS_UNKNOWN_PROTOCOL client status event so controllers
  22824. can learn when a client application is speaking a non-socks protocol
  22825. to our SocksPort.
  22826. - Implement DANGEROUS_SOCKS client status event so controllers
  22827. can learn when a client application is leaking DNS addresses.
  22828. - Implement BUG general status event so controllers can learn when
  22829. Tor is unhappy about its internal invariants.
  22830. - Implement CLOCK_SKEW general status event so controllers can learn
  22831. when Tor thinks the system clock is set incorrectly.
  22832. - Implement GOOD_SERVER_DESCRIPTOR and ACCEPTED_SERVER_DESCRIPTOR
  22833. server status events so controllers can learn when their descriptors
  22834. are accepted by a directory.
  22835. - Implement CHECKING_REACHABILITY and REACHABILITY_{SUCCEEDED|FAILED}
  22836. server status events so controllers can learn about Tor's progress in
  22837. deciding whether it's reachable from the outside.
  22838. - Implement BAD_LIBEVENT general status event so controllers can learn
  22839. when we have a version/method combination in libevent that needs to
  22840. be changed.
  22841. - Implement NAMESERVER_STATUS, NAMESERVER_ALL_DOWN, DNS_HIJACKED,
  22842. and DNS_USELESS server status events so controllers can learn
  22843. about changes to DNS server status.
  22844. o Minor features (directory):
  22845. - Authorities no longer recommend exits as guards if this would shift
  22846. too much load to the exit nodes.
  22847. Changes in version 0.1.2.5-alpha - 2007-01-06
  22848. o Major features:
  22849. - Enable write limiting as well as read limiting. Now we sacrifice
  22850. capacity if we're pushing out lots of directory traffic, rather
  22851. than overrunning the user's intended bandwidth limits.
  22852. - Include TLS overhead when counting bandwidth usage; previously, we
  22853. would count only the bytes sent over TLS, but not the bytes used
  22854. to send them.
  22855. - Support running the Tor service with a torrc not in the same
  22856. directory as tor.exe and default to using the torrc located in
  22857. the %appdata%\Tor\ of the user who installed the service. Patch
  22858. from Matt Edman.
  22859. - Servers now check for the case when common DNS requests are going to
  22860. wildcarded addresses (i.e. all getting the same answer), and change
  22861. their exit policy to reject *:* if it's happening.
  22862. - Implement BEGIN_DIR cells, so we can connect to the directory
  22863. server via TLS to do encrypted directory requests rather than
  22864. plaintext. Enable via the TunnelDirConns and PreferTunneledDirConns
  22865. config options if you like.
  22866. o Minor features (config and docs):
  22867. - Start using the state file to store bandwidth accounting data:
  22868. the bw_accounting file is now obsolete. We'll keep generating it
  22869. for a while for people who are still using 0.1.2.4-alpha.
  22870. - Try to batch changes to the state file so that we do as few
  22871. disk writes as possible while still storing important things in
  22872. a timely fashion.
  22873. - The state file and the bw_accounting file get saved less often when
  22874. the AvoidDiskWrites config option is set.
  22875. - Make PIDFile work on Windows (untested).
  22876. - Add internal descriptions for a bunch of configuration options:
  22877. accessible via controller interface and in comments in saved
  22878. options files.
  22879. - Reject *:563 (NNTPS) in the default exit policy. We already reject
  22880. NNTP by default, so this seems like a sensible addition.
  22881. - Clients now reject hostnames with invalid characters. This should
  22882. avoid some inadvertent info leaks. Add an option
  22883. AllowNonRFC953Hostnames to disable this behavior, in case somebody
  22884. is running a private network with hosts called @, !, and #.
  22885. - Add a maintainer script to tell us which options are missing
  22886. documentation: "make check-docs".
  22887. - Add a new address-spec.txt document to describe our special-case
  22888. addresses: .exit, .onion, and .noconnnect.
  22889. o Minor features (DNS):
  22890. - Ongoing work on eventdns infrastructure: now it has dns server
  22891. and ipv6 support. One day Tor will make use of it.
  22892. - Add client-side caching for reverse DNS lookups.
  22893. - Add support to tor-resolve tool for reverse lookups and SOCKS5.
  22894. - When we change nameservers or IP addresses, reset and re-launch
  22895. our tests for DNS hijacking.
  22896. o Minor features (directory):
  22897. - Authorities now specify server versions in networkstatus. This adds
  22898. about 2% to the size of compressed networkstatus docs, and allows
  22899. clients to tell which servers support BEGIN_DIR and which don't.
  22900. The implementation is forward-compatible with a proposed future
  22901. protocol version scheme not tied to Tor versions.
  22902. - DirServer configuration lines now have an orport= option so
  22903. clients can open encrypted tunnels to the authorities without
  22904. having downloaded their descriptors yet. Enabled for moria1,
  22905. moria2, tor26, and lefkada now in the default configuration.
  22906. - Directory servers are more willing to send a 503 "busy" if they
  22907. are near their write limit, especially for v1 directory requests.
  22908. Now they can use their limited bandwidth for actual Tor traffic.
  22909. - Clients track responses with status 503 from dirservers. After a
  22910. dirserver has given us a 503, we try not to use it until an hour has
  22911. gone by, or until we have no dirservers that haven't given us a 503.
  22912. - When we get a 503 from a directory, and we're not a server, we don't
  22913. count the failure against the total number of failures allowed
  22914. for the thing we're trying to download.
  22915. - Report X-Your-Address-Is correctly from tunneled directory
  22916. connections; don't report X-Your-Address-Is when it's an internal
  22917. address; and never believe reported remote addresses when they're
  22918. internal.
  22919. - Protect against an unlikely DoS attack on directory servers.
  22920. - Add a BadDirectory flag to network status docs so that authorities
  22921. can (eventually) tell clients about caches they believe to be
  22922. broken.
  22923. o Minor features (controller):
  22924. - Have GETINFO dir/status/* work on hosts with DirPort disabled.
  22925. - Reimplement GETINFO so that info/names stays in sync with the
  22926. actual keys.
  22927. - Implement "GETINFO fingerprint".
  22928. - Implement "SETEVENTS GUARD" so controllers can get updates on
  22929. entry guard status as it changes.
  22930. o Minor features (clean up obsolete pieces):
  22931. - Remove some options that have been deprecated since at least
  22932. 0.1.0.x: AccountingMaxKB, LogFile, DebugLogFile, LogLevel, and
  22933. SysLog. Use AccountingMax instead of AccountingMaxKB, and use Log
  22934. to set log options.
  22935. - We no longer look for identity and onion keys in "identity.key" and
  22936. "onion.key" -- these were replaced by secret_id_key and
  22937. secret_onion_key in 0.0.8pre1.
  22938. - We no longer require unrecognized directory entries to be
  22939. preceded by "opt".
  22940. o Major bugfixes (security):
  22941. - Stop sending the HttpProxyAuthenticator string to directory
  22942. servers when directory connections are tunnelled through Tor.
  22943. - Clients no longer store bandwidth history in the state file.
  22944. - Do not log introduction points for hidden services if SafeLogging
  22945. is set.
  22946. - When generating bandwidth history, round down to the nearest
  22947. 1k. When storing accounting data, round up to the nearest 1k.
  22948. - When we're running as a server, remember when we last rotated onion
  22949. keys, so that we will rotate keys once they're a week old even if
  22950. we never stay up for a week ourselves.
  22951. o Major bugfixes (other):
  22952. - Fix a longstanding bug in eventdns that prevented the count of
  22953. timed-out resolves from ever being reset. This bug caused us to
  22954. give up on a nameserver the third time it timed out, and try it
  22955. 10 seconds later... and to give up on it every time it timed out
  22956. after that.
  22957. - Take out the '5 second' timeout from the connection retry
  22958. schedule. Now the first connect attempt will wait a full 10
  22959. seconds before switching to a new circuit. Perhaps this will help
  22960. a lot. Based on observations from Mike Perry.
  22961. - Fix a bug on the Windows implementation of tor_mmap_file() that
  22962. would prevent the cached-routers file from ever loading. Reported
  22963. by John Kimble.
  22964. o Minor bugfixes:
  22965. - Fix an assert failure when a directory authority sets
  22966. AuthDirRejectUnlisted and then receives a descriptor from an
  22967. unlisted router. Reported by seeess.
  22968. - Avoid a double-free when parsing malformed DirServer lines.
  22969. - Fix a bug when a BSD-style PF socket is first used. Patch from
  22970. Fabian Keil.
  22971. - Fix a bug in 0.1.2.2-alpha that prevented clients from asking
  22972. to resolve an address at a given exit node even when they ask for
  22973. it by name.
  22974. - Servers no longer ever list themselves in their "family" line,
  22975. even if configured to do so. This makes it easier to configure
  22976. family lists conveniently.
  22977. - When running as a server, don't fall back to 127.0.0.1 when no
  22978. nameservers are configured in /etc/resolv.conf; instead, make the
  22979. user fix resolv.conf or specify nameservers explicitly. (Resolves
  22980. bug 363.)
  22981. - Stop accepting certain malformed ports in configured exit policies.
  22982. - Don't re-write the fingerprint file every restart, unless it has
  22983. changed.
  22984. - Stop warning when a single nameserver fails: only warn when _all_ of
  22985. our nameservers have failed. Also, when we only have one nameserver,
  22986. raise the threshold for deciding that the nameserver is dead.
  22987. - Directory authorities now only decide that routers are reachable
  22988. if their identity keys are as expected.
  22989. - When the user uses bad syntax in the Log config line, stop
  22990. suggesting other bad syntax as a replacement.
  22991. - Correctly detect ipv6 DNS capability on OpenBSD.
  22992. o Minor bugfixes (controller):
  22993. - Report the circuit number correctly in STREAM CLOSED events. Bug
  22994. reported by Mike Perry.
  22995. - Do not report bizarre values for results of accounting GETINFOs
  22996. when the last second's write or read exceeds the allotted bandwidth.
  22997. - Report "unrecognized key" rather than an empty string when the
  22998. controller tries to fetch a networkstatus that doesn't exist.
  22999. Changes in version 0.1.1.26 - 2006-12-14
  23000. o Security bugfixes:
  23001. - Stop sending the HttpProxyAuthenticator string to directory
  23002. servers when directory connections are tunnelled through Tor.
  23003. - Clients no longer store bandwidth history in the state file.
  23004. - Do not log introduction points for hidden services if SafeLogging
  23005. is set.
  23006. o Minor bugfixes:
  23007. - Fix an assert failure when a directory authority sets
  23008. AuthDirRejectUnlisted and then receives a descriptor from an
  23009. unlisted router (reported by seeess).
  23010. Changes in version 0.1.2.4-alpha - 2006-12-03
  23011. o Major features:
  23012. - Add support for using natd; this allows FreeBSDs earlier than
  23013. 5.1.2 to have ipfw send connections through Tor without using
  23014. SOCKS. (Patch from Zajcev Evgeny with tweaks from tup.)
  23015. o Minor features:
  23016. - Make all connections to addresses of the form ".noconnect"
  23017. immediately get closed. This lets application/controller combos
  23018. successfully test whether they're talking to the same Tor by
  23019. watching for STREAM events.
  23020. - Make cross.sh cross-compilation script work even when autogen.sh
  23021. hasn't been run. (Patch from Michael Mohr.)
  23022. - Statistics dumped by -USR2 now include a breakdown of public key
  23023. operations, for profiling.
  23024. o Major bugfixes:
  23025. - Fix a major leak when directory authorities parse their
  23026. approved-routers list, a minor memory leak when we fail to pick
  23027. an exit node, and a few rare leaks on errors.
  23028. - Handle TransPort connections even when the server sends data before
  23029. the client sends data. Previously, the connection would just hang
  23030. until the client sent data. (Patch from tup based on patch from
  23031. Zajcev Evgeny.)
  23032. - Avoid assert failure when our cached-routers file is empty on
  23033. startup.
  23034. o Minor bugfixes:
  23035. - Don't log spurious warnings when we see a circuit close reason we
  23036. don't recognize; it's probably just from a newer version of Tor.
  23037. - Have directory authorities allow larger amounts of drift in uptime
  23038. without replacing the server descriptor: previously, a server that
  23039. restarted every 30 minutes could have 48 "interesting" descriptors
  23040. per day.
  23041. - Start linking to the Tor specification and Tor reference manual
  23042. correctly in the Windows installer.
  23043. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  23044. Tor/Privoxy we also uninstall Vidalia.
  23045. - Resume building on Irix64, and fix a lot of warnings from its
  23046. MIPSpro C compiler.
  23047. - Don't corrupt last_guessed_ip in router_new_address_suggestion()
  23048. when we're running as a client.
  23049. Changes in version 0.1.1.25 - 2006-11-04
  23050. o Major bugfixes:
  23051. - When a client asks us to resolve (rather than connect to)
  23052. an address, and we have a cached answer, give them the cached
  23053. answer. Previously, we would give them no answer at all.
  23054. - We were building exactly the wrong circuits when we predict
  23055. hidden service requirements, meaning Tor would have to build all
  23056. its circuits on demand.
  23057. - If none of our live entry guards have a high uptime, but we
  23058. require a guard with a high uptime, try adding a new guard before
  23059. we give up on the requirement. This patch should make long-lived
  23060. connections more stable on average.
  23061. - When testing reachability of our DirPort, don't launch new
  23062. tests when there's already one in progress -- unreachable
  23063. servers were stacking up dozens of testing streams.
  23064. o Security bugfixes:
  23065. - When the user sends a NEWNYM signal, clear the client-side DNS
  23066. cache too. Otherwise we continue to act on previous information.
  23067. o Minor bugfixes:
  23068. - Avoid a memory corruption bug when creating a hash table for
  23069. the first time.
  23070. - Avoid possibility of controller-triggered crash when misusing
  23071. certain commands from a v0 controller on platforms that do not
  23072. handle printf("%s",NULL) gracefully.
  23073. - Avoid infinite loop on unexpected controller input.
  23074. - Don't log spurious warnings when we see a circuit close reason we
  23075. don't recognize; it's probably just from a newer version of Tor.
  23076. - Add Vidalia to the OS X uninstaller script, so when we uninstall
  23077. Tor/Privoxy we also uninstall Vidalia.
  23078. Changes in version 0.1.2.3-alpha - 2006-10-29
  23079. o Minor features:
  23080. - Prepare for servers to publish descriptors less often: never
  23081. discard a descriptor simply for being too old until either it is
  23082. recommended by no authorities, or until we get a better one for
  23083. the same router. Make caches consider retaining old recommended
  23084. routers for even longer.
  23085. - If most authorities set a BadExit flag for a server, clients
  23086. don't think of it as a general-purpose exit. Clients only consider
  23087. authorities that advertise themselves as listing bad exits.
  23088. - Directory servers now provide 'Pragma: no-cache' and 'Expires'
  23089. headers for content, so that we can work better in the presence of
  23090. caching HTTP proxies.
  23091. - Allow authorities to list nodes as bad exits by fingerprint or by
  23092. address.
  23093. o Minor features, controller:
  23094. - Add a REASON field to CIRC events; for backward compatibility, this
  23095. field is sent only to controllers that have enabled the extended
  23096. event format. Also, add additional reason codes to explain why
  23097. a given circuit has been destroyed or truncated. (Patches from
  23098. Mike Perry)
  23099. - Add a REMOTE_REASON field to extended CIRC events to tell the
  23100. controller about why a remote OR told us to close a circuit.
  23101. - Stream events also now have REASON and REMOTE_REASON fields,
  23102. working much like those for circuit events.
  23103. - There's now a GETINFO ns/... field so that controllers can ask Tor
  23104. about the current status of a router.
  23105. - A new event type "NS" to inform a controller when our opinion of
  23106. a router's status has changed.
  23107. - Add a GETINFO events/names and GETINFO features/names so controllers
  23108. can tell which events and features are supported.
  23109. - A new CLEARDNSCACHE signal to allow controllers to clear the
  23110. client-side DNS cache without expiring circuits.
  23111. o Security bugfixes:
  23112. - When the user sends a NEWNYM signal, clear the client-side DNS
  23113. cache too. Otherwise we continue to act on previous information.
  23114. o Minor bugfixes:
  23115. - Avoid sending junk to controllers or segfaulting when a controller
  23116. uses EVENT_NEW_DESC with verbose nicknames.
  23117. - Stop triggering asserts if the controller tries to extend hidden
  23118. service circuits (reported by mwenge).
  23119. - Avoid infinite loop on unexpected controller input.
  23120. - When the controller does a "GETINFO network-status", tell it
  23121. about even those routers whose descriptors are very old, and use
  23122. long nicknames where appropriate.
  23123. - Change NT service functions to be loaded on demand. This lets us
  23124. build with MinGW without breaking Tor for Windows 98 users.
  23125. - Do DirPort reachability tests less often, since a single test
  23126. chews through many circuits before giving up.
  23127. - In the hidden service example in torrc.sample, stop recommending
  23128. esoteric and discouraged hidden service options.
  23129. - When stopping an NT service, wait up to 10 sec for it to actually
  23130. stop. Patch from Matt Edman; resolves bug 295.
  23131. - Fix handling of verbose nicknames with ORCONN controller events:
  23132. make them show up exactly when requested, rather than exactly when
  23133. not requested.
  23134. - When reporting verbose nicknames in entry_guards_getinfo(), avoid
  23135. printing a duplicate "$" in the keys we send (reported by mwenge).
  23136. - Correctly set maximum connection limit on Cygwin. (This time
  23137. for sure!)
  23138. - Try to detect Windows correctly when cross-compiling.
  23139. - Detect the size of the routers file correctly even if it is
  23140. corrupted (on systems without mmap) or not page-aligned (on systems
  23141. with mmap). This bug was harmless.
  23142. - Sometimes we didn't bother sending a RELAY_END cell when an attempt
  23143. to open a stream fails; now we do in more cases. This should
  23144. make clients able to find a good exit faster in some cases, since
  23145. unhandleable requests will now get an error rather than timing out.
  23146. - Resolve two memory leaks when rebuilding the on-disk router cache
  23147. (reported by fookoowa).
  23148. - Clean up minor code warnings suggested by the MIPSpro C compiler,
  23149. and reported by some Centos users.
  23150. - Controller signals now work on non-Unix platforms that don't define
  23151. SIGUSR1 and SIGUSR2 the way we expect.
  23152. - Patch from Michael Mohr to contrib/cross.sh, so it checks more
  23153. values before failing, and always enables eventdns.
  23154. - Libevent-1.2 exports, but does not define in its headers, strlcpy.
  23155. Try to fix this in configure.in by checking for most functions
  23156. before we check for libevent.
  23157. Changes in version 0.1.2.2-alpha - 2006-10-07
  23158. o Major features:
  23159. - Make our async eventdns library on-by-default for Tor servers,
  23160. and plan to deprecate the separate dnsworker threads.
  23161. - Add server-side support for "reverse" DNS lookups (using PTR
  23162. records so clients can determine the canonical hostname for a given
  23163. IPv4 address). Only supported by servers using eventdns; servers
  23164. now announce in their descriptors whether they support eventdns.
  23165. - Specify and implement client-side SOCKS5 interface for reverse DNS
  23166. lookups (see doc/socks-extensions.txt).
  23167. - Add a BEGIN_DIR relay cell type for an easier in-protocol way to
  23168. connect to directory servers through Tor. Previously, clients needed
  23169. to find Tor exits to make private connections to directory servers.
  23170. - Avoid choosing Exit nodes for entry or middle hops when the
  23171. total bandwidth available from non-Exit nodes is much higher than
  23172. the total bandwidth available from Exit nodes.
  23173. - Workaround for name servers (like Earthlink's) that hijack failing
  23174. DNS requests and replace the no-such-server answer with a "helpful"
  23175. redirect to an advertising-driven search portal. Also work around
  23176. DNS hijackers who "helpfully" decline to hijack known-invalid
  23177. RFC2606 addresses. Config option "ServerDNSDetectHijacking 0"
  23178. lets you turn it off.
  23179. - Send out a burst of long-range padding cells once we've established
  23180. that we're reachable. Spread them over 4 circuits, so hopefully
  23181. a few will be fast. This exercises our bandwidth and bootstraps
  23182. us into the directory more quickly.
  23183. o New/improved config options:
  23184. - Add new config option "ResolvConf" to let the server operator
  23185. choose an alternate resolve.conf file when using eventdns.
  23186. - Add an "EnforceDistinctSubnets" option to control our "exclude
  23187. servers on the same /16" behavior. It's still on by default; this
  23188. is mostly for people who want to operate private test networks with
  23189. all the machines on the same subnet.
  23190. - If one of our entry guards is on the ExcludeNodes list, or the
  23191. directory authorities don't think it's a good guard, treat it as
  23192. if it were unlisted: stop using it as a guard, and throw it off
  23193. the guards list if it stays that way for a long time.
  23194. - Allow directory authorities to be marked separately as authorities
  23195. for the v1 directory protocol, the v2 directory protocol, and
  23196. as hidden service directories, to make it easier to retire old
  23197. authorities. V1 authorities should set "HSAuthoritativeDir 1"
  23198. to continue being hidden service authorities too.
  23199. - Remove 8888 as a LongLivedPort, and add 6697 (IRCS).
  23200. o Minor features, controller:
  23201. - Fix CIRC controller events so that controllers can learn the
  23202. identity digests of non-Named servers used in circuit paths.
  23203. - Let controllers ask for more useful identifiers for servers. Instead
  23204. of learning identity digests for un-Named servers and nicknames
  23205. for Named servers, the new identifiers include digest, nickname,
  23206. and indication of Named status. Off by default; see control-spec.txt
  23207. for more information.
  23208. - Add a "getinfo address" controller command so it can display Tor's
  23209. best guess to the user.
  23210. - New controller event to alert the controller when our server
  23211. descriptor has changed.
  23212. - Give more meaningful errors on controller authentication failure.
  23213. o Minor features, other:
  23214. - When asked to resolve a hostname, don't use non-exit servers unless
  23215. requested to do so. This allows servers with broken DNS to be
  23216. useful to the network.
  23217. - Divide eventdns log messages into warn and info messages.
  23218. - Reserve the nickname "Unnamed" for routers that can't pick
  23219. a hostname: any router can call itself Unnamed; directory
  23220. authorities will never allocate Unnamed to any particular router;
  23221. clients won't believe that any router is the canonical Unnamed.
  23222. - Only include function names in log messages for info/debug messages.
  23223. For notice/warn/err, the content of the message should be clear on
  23224. its own, and printing the function name only confuses users.
  23225. - Avoid some false positives during reachability testing: don't try
  23226. to test via a server that's on the same /24 as us.
  23227. - If we fail to build a circuit to an intended enclave, and it's
  23228. not mandatory that we use that enclave, stop wanting it.
  23229. - When eventdns is enabled, allow multithreaded builds on NetBSD and
  23230. OpenBSD. (We had previously disabled threads on these platforms
  23231. because they didn't have working thread-safe resolver functions.)
  23232. o Major bugfixes, anonymity/security:
  23233. - If a client asked for a server by name, and there's a named server
  23234. in our network-status but we don't have its descriptor yet, we
  23235. could return an unnamed server instead.
  23236. - Fix NetBSD bug that could allow someone to force uninitialized RAM
  23237. to be sent to a server's DNS resolver. This only affects NetBSD
  23238. and other platforms that do not bounds-check tolower().
  23239. - Reject (most) attempts to use Tor circuits with length one. (If
  23240. many people start using Tor as a one-hop proxy, exit nodes become
  23241. a more attractive target for compromise.)
  23242. - Just because your DirPort is open doesn't mean people should be
  23243. able to remotely teach you about hidden service descriptors. Now
  23244. only accept rendezvous posts if you've got HSAuthoritativeDir set.
  23245. o Major bugfixes, other:
  23246. - Don't crash on race condition in dns.c: tor_assert(!resolve->expire)
  23247. - When a client asks the server to resolve (not connect to)
  23248. an address, and it has a cached answer, give them the cached answer.
  23249. Previously, the server would give them no answer at all.
  23250. - Allow really slow clients to not hang up five minutes into their
  23251. directory downloads (suggested by Adam J. Richter).
  23252. - We were building exactly the wrong circuits when we anticipated
  23253. hidden service requirements, meaning Tor would have to build all
  23254. its circuits on demand.
  23255. - Avoid crashing when we mmap a router cache file of size 0.
  23256. - When testing reachability of our DirPort, don't launch new
  23257. tests when there's already one in progress -- unreachable
  23258. servers were stacking up dozens of testing streams.
  23259. o Minor bugfixes, correctness:
  23260. - If we're a directory mirror and we ask for "all" network status
  23261. documents, we would discard status documents from authorities
  23262. we don't recognize.
  23263. - Avoid a memory corruption bug when creating a hash table for
  23264. the first time.
  23265. - Avoid controller-triggered crash when misusing certain commands
  23266. from a v0 controller on platforms that do not handle
  23267. printf("%s",NULL) gracefully.
  23268. - Don't crash when a controller sends a third argument to an
  23269. "extendcircuit" request.
  23270. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  23271. response; fix error code when "getinfo dir/status/" fails.
  23272. - Avoid crash when telling controller stream-status and a stream
  23273. is detached.
  23274. - Patch from Adam Langley to fix assert() in eventdns.c.
  23275. - Fix a debug log message in eventdns to say "X resolved to Y"
  23276. instead of "X resolved to X".
  23277. - Make eventdns give strings for DNS errors, not just error numbers.
  23278. - Track unreachable entry guards correctly: don't conflate
  23279. 'unreachable by us right now' with 'listed as down by the directory
  23280. authorities'. With the old code, if a guard was unreachable by
  23281. us but listed as running, it would clog our guard list forever.
  23282. - Behave correctly in case we ever have a network with more than
  23283. 2GB/s total advertised capacity.
  23284. - Make TrackExitHosts case-insensitive, and fix the behavior of
  23285. ".suffix" TrackExitHosts items to avoid matching in the middle of
  23286. an address.
  23287. - Finally fix the openssl warnings from newer gccs that believe that
  23288. ignoring a return value is okay, but casting a return value and
  23289. then ignoring it is a sign of madness.
  23290. - Prevent the contrib/exitlist script from printing the same
  23291. result more than once.
  23292. - Patch from Steve Hildrey: Generate network status correctly on
  23293. non-versioning dirservers.
  23294. - Don't listen to the X-Your-Address-Is hint if you did the lookup
  23295. via Tor; otherwise you'll think you're the exit node's IP address.
  23296. o Minor bugfixes, performance:
  23297. - Two small performance improvements on parsing descriptors.
  23298. - Major performance improvement on inserting descriptors: change
  23299. algorithm from O(n^2) to O(n).
  23300. - Make the common memory allocation path faster on machines where
  23301. malloc(0) returns a pointer.
  23302. - Start remembering X-Your-Address-Is directory hints even if you're
  23303. a client, so you can become a server more smoothly.
  23304. - Avoid duplicate entries on MyFamily line in server descriptor.
  23305. o Packaging, features:
  23306. - Remove architecture from OS X builds. The official builds are
  23307. now universal binaries.
  23308. - The Debian package now uses --verify-config when (re)starting,
  23309. to distinguish configuration errors from other errors.
  23310. - Update RPMs to require libevent 1.1b.
  23311. o Packaging, bugfixes:
  23312. - Patches so Tor builds with MinGW on Windows.
  23313. - Patches so Tor might run on Cygwin again.
  23314. - Resume building on non-gcc compilers and ancient gcc. Resume
  23315. building with the -O0 compile flag. Resume building cleanly on
  23316. Debian woody.
  23317. - Run correctly on OS X platforms with case-sensitive filesystems.
  23318. - Correct includes for net/if.h and net/pfvar.h on OpenBSD (from Tup).
  23319. - Add autoconf checks so Tor can build on Solaris x86 again.
  23320. o Documentation
  23321. - Documented (and renamed) ServerDNSSearchDomains and
  23322. ServerDNSResolvConfFile options.
  23323. - Be clearer that the *ListenAddress directives can be repeated
  23324. multiple times.
  23325. Changes in version 0.1.1.24 - 2006-09-29
  23326. o Major bugfixes:
  23327. - Allow really slow clients to not hang up five minutes into their
  23328. directory downloads (suggested by Adam J. Richter).
  23329. - Fix major performance regression from 0.1.0.x: instead of checking
  23330. whether we have enough directory information every time we want to
  23331. do something, only check when the directory information has changed.
  23332. This should improve client CPU usage by 25-50%.
  23333. - Don't crash if, after a server has been running for a while,
  23334. it can't resolve its hostname.
  23335. o Minor bugfixes:
  23336. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  23337. - Don't crash when the controller receives a third argument to an
  23338. "extendcircuit" request.
  23339. - Controller protocol fixes: fix encoding in "getinfo addr-mappings"
  23340. response; fix error code when "getinfo dir/status/" fails.
  23341. - Fix configure.in to not produce broken configure files with
  23342. more recent versions of autoconf. Thanks to Clint for his auto*
  23343. voodoo.
  23344. - Fix security bug on NetBSD that could allow someone to force
  23345. uninitialized RAM to be sent to a server's DNS resolver. This
  23346. only affects NetBSD and other platforms that do not bounds-check
  23347. tolower().
  23348. - Warn user when using libevent 1.1a or earlier with win32 or kqueue
  23349. methods: these are known to be buggy.
  23350. - If we're a directory mirror and we ask for "all" network status
  23351. documents, we would discard status documents from authorities
  23352. we don't recognize.
  23353. Changes in version 0.1.2.1-alpha - 2006-08-27
  23354. o Major features:
  23355. - Add "eventdns" async dns library from Adam Langley, tweaked to
  23356. build on OSX and Windows. Only enabled if you pass the
  23357. --enable-eventdns argument to configure.
  23358. - Allow servers with no hostname or IP address to learn their
  23359. IP address by asking the directory authorities. This code only
  23360. kicks in when you would normally have exited with a "no address"
  23361. error. Nothing's authenticated, so use with care.
  23362. - Rather than waiting a fixed amount of time between retrying
  23363. application connections, we wait only 5 seconds for the first,
  23364. 10 seconds for the second, and 15 seconds for each retry after
  23365. that. Hopefully this will improve the expected user experience.
  23366. - Patch from Tup to add support for transparent AP connections:
  23367. this basically bundles the functionality of trans-proxy-tor
  23368. into the Tor mainline. Now hosts with compliant pf/netfilter
  23369. implementations can redirect TCP connections straight to Tor
  23370. without diverting through SOCKS. Needs docs.
  23371. - Busy directory servers save lots of memory by spooling server
  23372. descriptors, v1 directories, and v2 networkstatus docs to buffers
  23373. as needed rather than en masse. Also mmap the cached-routers
  23374. files, so we don't need to keep the whole thing in memory too.
  23375. - Automatically avoid picking more than one node from the same
  23376. /16 network when constructing a circuit.
  23377. - Revise and clean up the torrc.sample that we ship with; add
  23378. a section for BandwidthRate and BandwidthBurst.
  23379. o Minor features:
  23380. - Split circuit_t into origin_circuit_t and or_circuit_t, and
  23381. split connection_t into edge, or, dir, control, and base structs.
  23382. These will save quite a bit of memory on busy servers, and they'll
  23383. also help us track down bugs in the code and bugs in the spec.
  23384. - Experimentally re-enable kqueue on OSX when using libevent 1.1b
  23385. or later. Log when we are doing this, so we can diagnose it when
  23386. it fails. (Also, recommend libevent 1.1b for kqueue and
  23387. win32 methods; deprecate libevent 1.0b harder; make libevent
  23388. recommendation system saner.)
  23389. - Start being able to build universal binaries on OS X (thanks
  23390. to Phobos).
  23391. - Export the default exit policy via the control port, so controllers
  23392. don't need to guess what it is / will be later.
  23393. - Add a man page entry for ProtocolWarnings.
  23394. - Add TestVia config option to the man page.
  23395. - Remove even more protocol-related warnings from Tor server logs,
  23396. such as bad TLS handshakes and malformed begin cells.
  23397. - Stop fetching descriptors if you're not a dir mirror and you
  23398. haven't tried to establish any circuits lately. [This currently
  23399. causes some dangerous behavior, because when you start up again
  23400. you'll use your ancient server descriptors.]
  23401. - New DirPort behavior: if you have your dirport set, you download
  23402. descriptors aggressively like a directory mirror, whether or not
  23403. your ORPort is set.
  23404. - Get rid of the router_retry_connections notion. Now routers
  23405. no longer try to rebuild long-term connections to directory
  23406. authorities, and directory authorities no longer try to rebuild
  23407. long-term connections to all servers. We still don't hang up
  23408. connections in these two cases though -- we need to look at it
  23409. more carefully to avoid flapping, and we likely need to wait til
  23410. 0.1.1.x is obsolete.
  23411. - Drop compatibility with obsolete Tors that permit create cells
  23412. to have the wrong circ_id_type.
  23413. - Re-enable per-connection rate limiting. Get rid of the "OP
  23414. bandwidth" concept. Lay groundwork for "bandwidth classes" --
  23415. separate global buckets that apply depending on what sort of conn
  23416. it is.
  23417. - Start publishing one minute or so after we find our ORPort
  23418. to be reachable. This will help reduce the number of descriptors
  23419. we have for ourselves floating around, since it's quite likely
  23420. other things (e.g. DirPort) will change during that minute too.
  23421. - Fork the v1 directory protocol into its own spec document,
  23422. and mark dir-spec.txt as the currently correct (v2) spec.
  23423. o Major bugfixes:
  23424. - When we find our DirPort to be reachable, publish a new descriptor
  23425. so we'll tell the world (reported by pnx).
  23426. - Publish a new descriptor after we hup/reload. This is important
  23427. if our config has changed such that we'll want to start advertising
  23428. our DirPort now, etc.
  23429. - Allow Tor to start when RunAsDaemon is set but no logs are set.
  23430. - When we have a state file we cannot parse, tell the user and
  23431. move it aside. Now we avoid situations where the user starts
  23432. Tor in 1904, Tor writes a state file with that timestamp in it,
  23433. the user fixes her clock, and Tor refuses to start.
  23434. - Fix configure.in to not produce broken configure files with
  23435. more recent versions of autoconf. Thanks to Clint for his auto*
  23436. voodoo.
  23437. - "tor --verify-config" now exits with -1(255) or 0 depending on
  23438. whether the config options are bad or good.
  23439. - Resolve bug 321 when using dnsworkers: append a period to every
  23440. address we resolve at the exit node, so that we do not accidentally
  23441. pick up local addresses, and so that failing searches are retried
  23442. in the resolver search domains. (This is already solved for
  23443. eventdns.) (This breaks Blossom servers for now.)
  23444. - If we are using an exit enclave and we can't connect, e.g. because
  23445. its webserver is misconfigured to not listen on localhost, then
  23446. back off and try connecting from somewhere else before we fail.
  23447. o Minor bugfixes:
  23448. - Start compiling on MinGW on Windows (patches from Mike Chiussi).
  23449. - Start compiling on MSVC6 on Windows (patches from Frediano Ziglio).
  23450. - Fix bug 314: Tor clients issued "unsafe socks" warnings even
  23451. when the IP address is mapped through MapAddress to a hostname.
  23452. - Start passing "ipv4" hints to getaddrinfo(), so servers don't do
  23453. useless IPv6 DNS resolves.
  23454. - Patch suggested by Karsten Loesing: respond to SIGNAL command
  23455. before we execute the signal, in case the signal shuts us down.
  23456. - Clean up AllowInvalidNodes man page entry.
  23457. - Claim a commonname of Tor, rather than TOR, in TLS handshakes.
  23458. - Add more asserts to track down an assert error on a windows Tor
  23459. server with connection_add being called with socket == -1.
  23460. - Handle reporting OR_CONN_EVENT_NEW events to the controller.
  23461. - Fix misleading log messages: an entry guard that is "unlisted",
  23462. as well as not known to be "down" (because we've never heard
  23463. of it), is not therefore "up".
  23464. - Remove code to special-case "-cvs" ending, since it has not
  23465. actually mattered since 0.0.9.
  23466. - Make our socks5 handling more robust to broken socks clients:
  23467. throw out everything waiting on the buffer in between socks
  23468. handshake phases, since they can't possibly (so the theory
  23469. goes) have predicted what we plan to respond to them.
  23470. Changes in version 0.1.1.23 - 2006-07-30
  23471. o Major bugfixes:
  23472. - Fast Tor servers, especially exit nodes, were triggering asserts
  23473. due to a bug in handling the list of pending DNS resolves. Some
  23474. bugs still remain here; we're hunting them.
  23475. - Entry guards could crash clients by sending unexpected input.
  23476. - More fixes on reachability testing: if you find yourself reachable,
  23477. then don't ever make any client requests (so you stop predicting
  23478. circuits), then hup or have your clock jump, then later your IP
  23479. changes, you won't think circuits are working, so you won't try to
  23480. test reachability, so you won't publish.
  23481. o Minor bugfixes:
  23482. - Avoid a crash if the controller does a resetconf firewallports
  23483. and then a setconf fascistfirewall=1.
  23484. - Avoid an integer underflow when the dir authority decides whether
  23485. a router is stable: we might wrongly label it stable, and compute
  23486. a slightly wrong median stability, when a descriptor is published
  23487. later than now.
  23488. - Fix a place where we might trigger an assert if we can't build our
  23489. own server descriptor yet.
  23490. Changes in version 0.1.1.22 - 2006-07-05
  23491. o Major bugfixes:
  23492. - Fix a big bug that was causing servers to not find themselves
  23493. reachable if they changed IP addresses. Since only 0.1.1.22+
  23494. servers can do reachability testing correctly, now we automatically
  23495. make sure to test via one of these.
  23496. - Fix to allow clients and mirrors to learn directory info from
  23497. descriptor downloads that get cut off partway through.
  23498. - Directory authorities had a bug in deciding if a newly published
  23499. descriptor was novel enough to make everybody want a copy -- a few
  23500. servers seem to be publishing new descriptors many times a minute.
  23501. o Minor bugfixes:
  23502. - Fix a rare bug that was causing some servers to complain about
  23503. "closing wedged cpuworkers" and skip some circuit create requests.
  23504. - Make the Exit flag in directory status documents actually work.
  23505. Changes in version 0.1.1.21 - 2006-06-10
  23506. o Crash and assert fixes from 0.1.1.20:
  23507. - Fix a rare crash on Tor servers that have enabled hibernation.
  23508. - Fix a seg fault on startup for Tor networks that use only one
  23509. directory authority.
  23510. - Fix an assert from a race condition that occurs on Tor servers
  23511. while exiting, where various threads are trying to log that they're
  23512. exiting, and delete the logs, at the same time.
  23513. - Make our unit tests pass again on certain obscure platforms.
  23514. o Other fixes:
  23515. - Add support for building SUSE RPM packages.
  23516. - Speed up initial bootstrapping for clients: if we are making our
  23517. first ever connection to any entry guard, then don't mark it down
  23518. right after that.
  23519. - When only one Tor server in the network is labelled as a guard,
  23520. and we've already picked him, we would cycle endlessly picking him
  23521. again, being unhappy about it, etc. Now we specifically exclude
  23522. current guards when picking a new guard.
  23523. - Servers send create cells more reliably after the TLS connection
  23524. is established: we were sometimes forgetting to send half of them
  23525. when we had more than one pending.
  23526. - If we get a create cell that asks us to extend somewhere, but the
  23527. Tor server there doesn't match the expected digest, we now send
  23528. a destroy cell back, rather than silently doing nothing.
  23529. - Make options->RedirectExit work again.
  23530. - Make cookie authentication for the controller work again.
  23531. - Stop being picky about unusual characters in the arguments to
  23532. mapaddress. It's none of our business.
  23533. - Add a new config option "TestVia" that lets you specify preferred
  23534. middle hops to use for test circuits. Perhaps this will let me
  23535. debug the reachability problems better.
  23536. o Log / documentation fixes:
  23537. - If we're a server and some peer has a broken TLS certificate, don't
  23538. log about it unless ProtocolWarnings is set, i.e., we want to hear
  23539. about protocol violations by others.
  23540. - Fix spelling of VirtualAddrNetwork in man page.
  23541. - Add a better explanation at the top of the autogenerated torrc file
  23542. about what happened to our old torrc.
  23543. Changes in version 0.1.1.20 - 2006-05-23
  23544. o Bugfixes:
  23545. - Downgrade a log severity where servers complain that they're
  23546. invalid.
  23547. - Avoid a compile warning on FreeBSD.
  23548. - Remove string size limit on NEWDESC messages; solve bug 291.
  23549. - Correct the RunAsDaemon entry in the man page; ignore RunAsDaemon
  23550. more thoroughly when we're running on windows.
  23551. Changes in version 0.1.1.19-rc - 2006-05-03
  23552. o Minor bugs:
  23553. - Regenerate our local descriptor if it's dirty and we try to use
  23554. it locally (e.g. if it changes during reachability detection).
  23555. - If we setconf our ORPort to 0, we continued to listen on the
  23556. old ORPort and receive connections.
  23557. - Avoid a second warning about machine/limits.h on Debian
  23558. GNU/kFreeBSD.
  23559. - Be willing to add our own routerinfo into the routerlist.
  23560. Now authorities will include themselves in their directories
  23561. and network-statuses.
  23562. - Stop trying to upload rendezvous descriptors to every
  23563. directory authority: only try the v1 authorities.
  23564. - Servers no longer complain when they think they're not
  23565. registered with the directory authorities. There were too many
  23566. false positives.
  23567. - Backport dist-rpm changes so rpms can be built without errors.
  23568. o Features:
  23569. - Implement an option, VirtualAddrMask, to set which addresses
  23570. get handed out in response to mapaddress requests. This works
  23571. around a bug in tsocks where 127.0.0.0/8 is never socksified.
  23572. Changes in version 0.1.1.18-rc - 2006-04-10
  23573. o Major fixes:
  23574. - Work harder to download live network-statuses from all the
  23575. directory authorities we know about. Improve the threshold
  23576. decision logic so we're more robust to edge cases.
  23577. - When fetching rendezvous descriptors, we were willing to ask
  23578. v2 authorities too, which would always return 404.
  23579. o Minor fixes:
  23580. - Stop listing down or invalid nodes in the v1 directory. This will
  23581. reduce its bulk by about 1/3, and reduce load on directory
  23582. mirrors.
  23583. - When deciding whether a router is Fast or Guard-worthy, consider
  23584. his advertised BandwidthRate and not just the BandwidthCapacity.
  23585. - No longer ship INSTALL and README files -- they are useless now.
  23586. - Force rpmbuild to behave and honor target_cpu.
  23587. - Avoid warnings about machine/limits.h on Debian GNU/kFreeBSD.
  23588. - Start to include translated versions of the tor-doc-*.html
  23589. files, along with the screenshots. Still needs more work.
  23590. - Start sending back 512 and 451 errors if mapaddress fails,
  23591. rather than not sending anything back at all.
  23592. - When we fail to bind or listen on an incoming or outgoing
  23593. socket, we should close it before failing. otherwise we just
  23594. leak it. (thanks to weasel for finding.)
  23595. - Allow "getinfo dir/status/foo" to work, as long as your DirPort
  23596. is enabled. (This is a hack, and will be fixed in 0.1.2.x.)
  23597. - Make NoPublish (even though deprecated) work again.
  23598. - Fix a minor security flaw where a versioning auth dirserver
  23599. could list a recommended version many times in a row to make
  23600. clients more convinced that it's recommended.
  23601. - Fix crash bug if there are two unregistered servers running
  23602. with the same nickname, one of them is down, and you ask for
  23603. them by nickname in your EntryNodes or ExitNodes. Also, try
  23604. to pick the one that's running rather than an arbitrary one.
  23605. - Fix an infinite loop we could hit if we go offline for too long.
  23606. - Complain when we hit WSAENOBUFS on recv() or write() too.
  23607. Perhaps this will help us hunt the bug.
  23608. - If you're not a versioning dirserver, don't put the string
  23609. "client-versions \nserver-versions \n" in your network-status.
  23610. - Lower the minimum required number of file descriptors to 1000,
  23611. so we can have some overhead for Valgrind on Linux, where the
  23612. default ulimit -n is 1024.
  23613. o New features:
  23614. - Add tor.dizum.com as the fifth authoritative directory server.
  23615. - Add a new config option FetchUselessDescriptors, off by default,
  23616. for when you plan to run "exitlist" on your client and you want
  23617. to know about even the non-running descriptors.
  23618. Changes in version 0.1.1.17-rc - 2006-03-28
  23619. o Major fixes:
  23620. - Clients and servers since 0.1.1.10-alpha have been expiring
  23621. connections whenever they are idle for 5 minutes and they *do*
  23622. have circuits on them. Oops. With this new version, clients will
  23623. discard their previous entry guard choices and avoid choosing
  23624. entry guards running these flawed versions.
  23625. - Fix memory leak when uncompressing concatenated zlib streams. This
  23626. was causing substantial leaks over time on Tor servers.
  23627. - The v1 directory was including servers as much as 48 hours old,
  23628. because that's how the new routerlist->routers works. Now only
  23629. include them if they're 20 hours old or less.
  23630. o Minor fixes:
  23631. - Resume building on irix64, netbsd 2.0, etc.
  23632. - On non-gcc compilers (e.g. solaris), use "-g -O" instead of
  23633. "-Wall -g -O2".
  23634. - Stop writing the "router.desc" file, ever. Nothing uses it anymore,
  23635. and it is confusing some users.
  23636. - Mirrors stop caching the v1 directory so often.
  23637. - Make the max number of old descriptors that a cache will hold
  23638. rise with the number of directory authorities, so we can scale.
  23639. - Change our win32 uname() hack to be more forgiving about what
  23640. win32 versions it thinks it's found.
  23641. o New features:
  23642. - Add lefkada.eecs.harvard.edu as a fourth authoritative directory
  23643. server.
  23644. - When the controller's *setconf commands fail, collect an error
  23645. message in a string and hand it back to the controller.
  23646. - Make the v2 dir's "Fast" flag based on relative capacity, just
  23647. like "Stable" is based on median uptime. Name everything in the
  23648. top 7/8 Fast, and only the top 1/2 gets to be a Guard.
  23649. - Log server fingerprint on startup, so new server operators don't
  23650. have to go hunting around their filesystem for it.
  23651. - Return a robots.txt on our dirport to discourage google indexing.
  23652. - Let the controller ask for GETINFO dir/status/foo so it can ask
  23653. directly rather than connecting to the dir port. Only works when
  23654. dirport is set for now.
  23655. o New config options rather than constants in the code:
  23656. - SocksTimeout: How long do we let a socks connection wait
  23657. unattached before we fail it?
  23658. - CircuitBuildTimeout: Cull non-open circuits that were born
  23659. at least this many seconds ago.
  23660. - CircuitIdleTimeout: Cull open clean circuits that were born
  23661. at least this many seconds ago.
  23662. Changes in version 0.1.1.16-rc - 2006-03-18
  23663. o Bugfixes on 0.1.1.15-rc:
  23664. - Fix assert when the controller asks to attachstream a connect-wait
  23665. or resolve-wait stream.
  23666. - Now do address rewriting when the controller asks us to attach
  23667. to a particular circuit too. This will let Blossom specify
  23668. "moria2.exit" without having to learn what moria2's IP address is.
  23669. - Make the "tor --verify-config" command-line work again, so people
  23670. can automatically check if their torrc will parse.
  23671. - Authoritative dirservers no longer require an open connection from
  23672. a server to consider him "reachable". We need this change because
  23673. when we add new auth dirservers, old servers won't know not to
  23674. hang up on them.
  23675. - Let Tor build on Sun CC again.
  23676. - Fix an off-by-one buffer size in dirserv.c that magically never
  23677. hit our three authorities but broke sjmurdoch's own tor network.
  23678. - If we as a directory mirror don't know of any v1 directory
  23679. authorities, then don't try to cache any v1 directories.
  23680. - Stop warning about unknown servers in our family when they are
  23681. given as hex digests.
  23682. - Stop complaining as quickly to the server operator that he
  23683. hasn't registered his nickname/key binding.
  23684. - Various cleanups so we can add new V2 Auth Dirservers.
  23685. - Change "AllowUnverifiedNodes" to "AllowInvalidNodes", to
  23686. reflect the updated flags in our v2 dir protocol.
  23687. - Resume allowing non-printable characters for exit streams (both
  23688. for connecting and for resolving). Now we tolerate applications
  23689. that don't follow the RFCs. But continue to block malformed names
  23690. at the socks side.
  23691. o Bugfixes on 0.1.0.x:
  23692. - Fix assert bug in close_logs(): when we close and delete logs,
  23693. remove them all from the global "logfiles" list.
  23694. - Fix minor integer overflow in calculating when we expect to use up
  23695. our bandwidth allocation before hibernating.
  23696. - Fix a couple of bugs in OpenSSL detection. Also, deal better when
  23697. there are multiple SSLs installed with different versions.
  23698. - When we try to be a server and Address is not explicitly set and
  23699. our hostname resolves to a private IP address, try to use an
  23700. interface address if it has a public address. Now Windows machines
  23701. that think of themselves as localhost can work by default.
  23702. o New features:
  23703. - Let the controller ask for GETINFO dir/server/foo so it can ask
  23704. directly rather than connecting to the dir port.
  23705. - Let the controller tell us about certain router descriptors
  23706. that it doesn't want Tor to use in circuits. Implement
  23707. SETROUTERPURPOSE and modify +POSTDESCRIPTOR to do this.
  23708. - New config option SafeSocks to reject all application connections
  23709. using unsafe socks protocols. Defaults to off.
  23710. Changes in version 0.1.1.15-rc - 2006-03-11
  23711. o Bugfixes and cleanups:
  23712. - When we're printing strings from the network, don't try to print
  23713. non-printable characters. This protects us against shell escape
  23714. sequence exploits, and also against attacks to fool humans into
  23715. misreading their logs.
  23716. - Fix a bug where Tor would fail to establish any connections if you
  23717. left it off for 24 hours and then started it: we were happy with
  23718. the obsolete network statuses, but they all referred to router
  23719. descriptors that were too old to fetch, so we ended up with no
  23720. valid router descriptors.
  23721. - Fix a seg fault in the controller's "getinfo orconn-status"
  23722. command while listing status on incoming handshaking connections.
  23723. Introduce a status name "NEW" for these connections.
  23724. - If we get a linelist or linelist_s config option from the torrc
  23725. (e.g. ExitPolicy) and it has no value, warn and skip rather than
  23726. silently resetting it to its default.
  23727. - Don't abandon entry guards until they've been down or gone for
  23728. a whole month.
  23729. - Cleaner and quieter log messages.
  23730. o New features:
  23731. - New controller signal NEWNYM that makes new application requests
  23732. use clean circuits.
  23733. - Add a new circuit purpose 'controller' to let the controller ask
  23734. for a circuit that Tor won't try to use. Extend the EXTENDCIRCUIT
  23735. controller command to let you specify the purpose if you're
  23736. starting a new circuit. Add a new SETCIRCUITPURPOSE controller
  23737. command to let you change a circuit's purpose after it's been
  23738. created.
  23739. - Accept "private:*" in routerdesc exit policies; not generated yet
  23740. because older Tors do not understand it.
  23741. - Add BSD-style contributed startup script "rc.subr" from Peter
  23742. Thoenen.
  23743. Changes in version 0.1.1.14-alpha - 2006-02-20
  23744. o Bugfixes on 0.1.1.x:
  23745. - Don't die if we ask for a stdout or stderr log (even implicitly)
  23746. and we're set to RunAsDaemon -- just warn.
  23747. - We still had a few bugs in the OR connection rotation code that
  23748. caused directory servers to slowly aggregate connections to other
  23749. fast Tor servers. This time for sure!
  23750. - Make log entries on Win32 include the name of the function again.
  23751. - We were treating a pair of exit policies if they were equal even
  23752. if one said accept and the other said reject -- causing us to
  23753. not always publish a new descriptor since we thought nothing
  23754. had changed.
  23755. - Retry pending server downloads as well as pending networkstatus
  23756. downloads when we unexpectedly get a socks request.
  23757. - We were ignoring the IS_FAST flag in the directory status,
  23758. meaning we were willing to pick trivial-bandwidth nodes for "fast"
  23759. connections.
  23760. - If the controller's SAVECONF command fails (e.g. due to file
  23761. permissions), let the controller know that it failed.
  23762. o Features:
  23763. - If we're trying to be a Tor server and running Windows 95/98/ME
  23764. as a server, explain that we'll likely crash.
  23765. - When we're a server, a client asks for an old-style directory,
  23766. and our write bucket is empty, don't give it to him. This way
  23767. small servers can continue to serve the directory *sometimes*,
  23768. without getting overloaded.
  23769. - Compress exit policies even more -- look for duplicate lines
  23770. and remove them.
  23771. - Clients now honor the "guard" flag in the router status when
  23772. picking entry guards, rather than looking at is_fast or is_stable.
  23773. - Retain unrecognized lines in $DATADIR/state file, so that we can
  23774. be forward-compatible.
  23775. - Generate 18.0.0.0/8 address policy format in descs when we can;
  23776. warn when the mask is not reducible to a bit-prefix.
  23777. - Let the user set ControlListenAddress in the torrc. This can be
  23778. dangerous, but there are some cases (like a secured LAN) where it
  23779. makes sense.
  23780. - Split ReachableAddresses into ReachableDirAddresses and
  23781. ReachableORAddresses, so we can restrict Dir conns to port 80
  23782. and OR conns to port 443.
  23783. - Now we can target arch and OS in rpm builds (contributed by
  23784. Phobos). Also make the resulting dist-rpm filename match the
  23785. target arch.
  23786. - New config options to help controllers: FetchServerDescriptors
  23787. and FetchHidServDescriptors for whether to fetch server
  23788. info and hidserv info or let the controller do it, and
  23789. PublishServerDescriptor and PublishHidServDescriptors.
  23790. - Also let the controller set the __AllDirActionsPrivate config
  23791. option if you want all directory fetches/publishes to happen via
  23792. Tor (it assumes your controller bootstraps your circuits).
  23793. Changes in version 0.1.0.17 - 2006-02-17
  23794. o Crash bugfixes on 0.1.0.x:
  23795. - When servers with a non-zero DirPort came out of hibernation,
  23796. sometimes they would trigger an assert.
  23797. o Other important bugfixes:
  23798. - On platforms that don't have getrlimit (like Windows), we were
  23799. artificially constraining ourselves to a max of 1024
  23800. connections. Now just assume that we can handle as many as 15000
  23801. connections. Hopefully this won't cause other problems.
  23802. o Backported features:
  23803. - When we're a server, a client asks for an old-style directory,
  23804. and our write bucket is empty, don't give it to him. This way
  23805. small servers can continue to serve the directory *sometimes*,
  23806. without getting overloaded.
  23807. - Whenever you get a 503 in response to a directory fetch, try
  23808. once more. This will become important once servers start sending
  23809. 503's whenever they feel busy.
  23810. - Fetch a new directory every 120 minutes, not every 40 minutes.
  23811. Now that we have hundreds of thousands of users running the old
  23812. directory algorithm, it's starting to hurt a lot.
  23813. - Bump up the period for forcing a hidden service descriptor upload
  23814. from 20 minutes to 1 hour.
  23815. Changes in version 0.1.1.13-alpha - 2006-02-09
  23816. o Crashes in 0.1.1.x:
  23817. - When you tried to setconf ORPort via the controller, Tor would
  23818. crash. So people using TorCP to become a server were sad.
  23819. - Solve (I hope) the stack-smashing bug that we were seeing on fast
  23820. servers. The problem appears to be something do with OpenSSL's
  23821. random number generation, or how we call it, or something. Let me
  23822. know if the crashes continue.
  23823. - Turn crypto hardware acceleration off by default, until we find
  23824. somebody smart who can test it for us. (It appears to produce
  23825. seg faults in at least some cases.)
  23826. - Fix a rare assert error when we've tried all intro points for
  23827. a hidden service and we try fetching the service descriptor again:
  23828. "Assertion conn->state != AP_CONN_STATE_RENDDESC_WAIT failed"
  23829. o Major fixes:
  23830. - Fix a major load balance bug: we were round-robining in 16 KB
  23831. chunks, and servers with bandwidthrate of 20 KB, while downloading
  23832. a 600 KB directory, would starve their other connections. Now we
  23833. try to be a bit more fair.
  23834. - Dir authorities and mirrors were never expiring the newest
  23835. descriptor for each server, causing memory and directory bloat.
  23836. - Fix memory-bloating and connection-bloating bug on servers: We
  23837. were never closing any connection that had ever had a circuit on
  23838. it, because we were checking conn->n_circuits == 0, yet we had a
  23839. bug that let it go negative.
  23840. - Make Tor work using squid as your http proxy again -- squid
  23841. returns an error if you ask for a URL that's too long, and it uses
  23842. a really generic error message. Plus, many people are behind a
  23843. transparent squid so they don't even realize it.
  23844. - On platforms that don't have getrlimit (like Windows), we were
  23845. artificially constraining ourselves to a max of 1024
  23846. connections. Now just assume that we can handle as many as 15000
  23847. connections. Hopefully this won't cause other problems.
  23848. - Add a new config option ExitPolicyRejectPrivate which defaults to
  23849. 1. This means all exit policies will begin with rejecting private
  23850. addresses, unless the server operator explicitly turns it off.
  23851. o Major features:
  23852. - Clients no longer download descriptors for non-running
  23853. descriptors.
  23854. - Before we add new directory authorities, we should make it
  23855. clear that only v1 authorities should receive/publish hidden
  23856. service descriptors.
  23857. o Minor features:
  23858. - As soon as we've fetched some more directory info, immediately
  23859. try to download more server descriptors. This way we don't have
  23860. a 10 second pause during initial bootstrapping.
  23861. - Remove even more loud log messages that the server operator can't
  23862. do anything about.
  23863. - When we're running an obsolete or un-recommended version, make
  23864. the log message more clear about what the problem is and what
  23865. versions *are* still recommended.
  23866. - Provide a more useful warn message when our onion queue gets full:
  23867. the CPU is too slow or the exit policy is too liberal.
  23868. - Don't warn when we receive a 503 from a dirserver/cache -- this
  23869. will pave the way for them being able to refuse if they're busy.
  23870. - When we fail to bind a listener, try to provide a more useful
  23871. log message: e.g., "Is Tor already running?"
  23872. - Adjust tor-spec to parameterize cell and key lengths. Now Ian
  23873. Goldberg can prove things about our handshake protocol more
  23874. easily.
  23875. - MaxConn has been obsolete for a while now. Document the ConnLimit
  23876. config option, which is a *minimum* number of file descriptors
  23877. that must be available else Tor refuses to start.
  23878. - Apply Matt Ghali's --with-syslog-facility patch to ./configure
  23879. if you log to syslog and want something other than LOG_DAEMON.
  23880. - Make dirservers generate a separate "guard" flag to mean,
  23881. "would make a good entry guard". Make clients parse it and vote
  23882. on it. Not used by clients yet.
  23883. - Implement --with-libevent-dir option to ./configure. Also, improve
  23884. search techniques to find libevent, and use those for openssl too.
  23885. - Bump the default bandwidthrate to 3 MB, and burst to 6 MB
  23886. - Only start testing reachability once we've established a
  23887. circuit. This will make startup on dirservers less noisy.
  23888. - Don't try to upload hidden service descriptors until we have
  23889. established a circuit.
  23890. - Fix the controller's "attachstream 0" command to treat conn like
  23891. it just connected, doing address remapping, handling .exit and
  23892. .onion idioms, and so on. Now we're more uniform in making sure
  23893. that the controller hears about new and closing connections.
  23894. Changes in version 0.1.1.12-alpha - 2006-01-11
  23895. o Bugfixes on 0.1.1.x:
  23896. - The fix to close duplicate server connections was closing all
  23897. Tor client connections if they didn't establish a circuit
  23898. quickly enough. Oops.
  23899. - Fix minor memory issue (double-free) that happened on exit.
  23900. o Bugfixes on 0.1.0.x:
  23901. - Tor didn't warn when it failed to open a log file.
  23902. Changes in version 0.1.1.11-alpha - 2006-01-10
  23903. o Crashes in 0.1.1.x:
  23904. - Include all the assert/crash fixes from 0.1.0.16.
  23905. - If you start Tor and then quit very quickly, there were some
  23906. races that tried to free things that weren't allocated yet.
  23907. - Fix a rare memory stomp if you're running hidden services.
  23908. - Fix segfault when specifying DirServer in config without nickname.
  23909. - Fix a seg fault when you finish connecting to a server but at
  23910. that moment you dump his server descriptor.
  23911. - Extendcircuit and Attachstream controller commands would
  23912. assert/crash if you don't give them enough arguments.
  23913. - Fix an assert error when we're out of space in the connection_list
  23914. and we try to post a hidden service descriptor (reported by weasel).
  23915. - If you specify a relative torrc path and you set RunAsDaemon in
  23916. your torrc, then it chdir()'s to the new directory. If you HUP,
  23917. it tries to load the new torrc location, fails, and exits.
  23918. The fix: no longer allow a relative path to torrc using -f.
  23919. o Major features:
  23920. - Implement "entry guards": automatically choose a handful of entry
  23921. nodes and stick with them for all circuits. Only pick new guards
  23922. when the ones you have are unsuitable, and if the old guards
  23923. become suitable again, switch back. This will increase security
  23924. dramatically against certain end-point attacks. The EntryNodes
  23925. config option now provides some hints about which entry guards you
  23926. want to use most; and StrictEntryNodes means to only use those.
  23927. - New directory logic: download by descriptor digest, not by
  23928. fingerprint. Caches try to download all listed digests from
  23929. authorities; clients try to download "best" digests from caches.
  23930. This avoids partitioning and isolating attacks better.
  23931. - Make the "stable" router flag in network-status be the median of
  23932. the uptimes of running valid servers, and make clients pay
  23933. attention to the network-status flags. Thus the cutoff adapts
  23934. to the stability of the network as a whole, making IRC, IM, etc
  23935. connections more reliable.
  23936. o Major fixes:
  23937. - Tor servers with dynamic IP addresses were needing to wait 18
  23938. hours before they could start doing reachability testing using
  23939. the new IP address and ports. This is because they were using
  23940. the internal descriptor to learn what to test, yet they were only
  23941. rebuilding the descriptor once they decided they were reachable.
  23942. - Tor 0.1.1.9 and 0.1.1.10 had a serious bug that caused clients
  23943. to download certain server descriptors, throw them away, and then
  23944. fetch them again after 30 minutes. Now mirrors throw away these
  23945. server descriptors so clients can't get them.
  23946. - We were leaving duplicate connections to other ORs open for a week,
  23947. rather than closing them once we detect a duplicate. This only
  23948. really affected authdirservers, but it affected them a lot.
  23949. - Spread the authdirservers' reachability testing over the entire
  23950. testing interval, so we don't try to do 500 TLS's at once every
  23951. 20 minutes.
  23952. o Minor fixes:
  23953. - If the network is down, and we try to connect to a conn because
  23954. we have a circuit in mind, and we timeout (30 seconds) because the
  23955. network never answers, we were expiring the circuit, but we weren't
  23956. obsoleting the connection or telling the entry_guards functions.
  23957. - Some Tor servers process billions of cells per day. These statistics
  23958. need to be uint64_t's.
  23959. - Check for integer overflows in more places, when adding elements
  23960. to smartlists. This could possibly prevent a buffer overflow
  23961. on malicious huge inputs. I don't see any, but I haven't looked
  23962. carefully.
  23963. - ReachableAddresses kept growing new "reject *:*" lines on every
  23964. setconf/reload.
  23965. - When you "setconf log" via the controller, it should remove all
  23966. logs. We were automatically adding back in a "log notice stdout".
  23967. - Newly bootstrapped Tor networks couldn't establish hidden service
  23968. circuits until they had nodes with high uptime. Be more tolerant.
  23969. - We were marking servers down when they could not answer every piece
  23970. of the directory request we sent them. This was far too harsh.
  23971. - Fix the torify (tsocks) config file to not use Tor for localhost
  23972. connections.
  23973. - Directory authorities now go to the proper authority when asking for
  23974. a networkstatus, even when they want a compressed one.
  23975. - Fix a harmless bug that was causing Tor servers to log
  23976. "Got an end because of misc error, but we're not an AP. Closing."
  23977. - Authorities were treating their own descriptor changes as cosmetic,
  23978. meaning the descriptor available in the network-status and the
  23979. descriptor that clients downloaded were different.
  23980. - The OS X installer was adding a symlink for tor_resolve but
  23981. the binary was called tor-resolve (reported by Thomas Hardly).
  23982. - Workaround a problem with some http proxies where they refuse GET
  23983. requests that specify "Content-Length: 0" (reported by Adrian).
  23984. - Fix wrong log message when you add a "HiddenServiceNodes" config
  23985. line without any HiddenServiceDir line (reported by Chris Thomas).
  23986. o Minor features:
  23987. - Write the TorVersion into the state file so we have a prayer of
  23988. keeping forward and backward compatibility.
  23989. - Revive the FascistFirewall config option rather than eliminating it:
  23990. now it's a synonym for ReachableAddresses *:80,*:443.
  23991. - Clients choose directory servers from the network status lists,
  23992. not from their internal list of router descriptors. Now they can
  23993. go to caches directly rather than needing to go to authorities
  23994. to bootstrap.
  23995. - Directory authorities ignore router descriptors that have only
  23996. cosmetic differences: do this for 0.1.0.x servers now too.
  23997. - Add a new flag to network-status indicating whether the server
  23998. can answer v2 directory requests too.
  23999. - Authdirs now stop whining so loudly about bad descriptors that
  24000. they fetch from other dirservers. So when there's a log complaint,
  24001. it's for sure from a freshly uploaded descriptor.
  24002. - Reduce memory requirements in our structs by changing the order
  24003. of fields.
  24004. - There used to be two ways to specify your listening ports in a
  24005. server descriptor: on the "router" line and with a separate "ports"
  24006. line. Remove support for the "ports" line.
  24007. - New config option "AuthDirRejectUnlisted" for auth dirservers as
  24008. a panic button: if we get flooded with unusable servers we can
  24009. revert to only listing servers in the approved-routers file.
  24010. - Auth dir servers can now mark a fingerprint as "!reject" or
  24011. "!invalid" in the approved-routers file (as its nickname), to
  24012. refuse descriptors outright or include them but marked as invalid.
  24013. - Servers store bandwidth history across restarts/crashes.
  24014. - Add reasons to DESTROY and RELAY_TRUNCATED cells, so clients can
  24015. get a better idea of why their circuits failed. Not used yet.
  24016. - Directory mirrors now cache up to 16 unrecognized network-status
  24017. docs. Now we can add new authdirservers and they'll be cached too.
  24018. - When picking a random directory, prefer non-authorities if any
  24019. are known.
  24020. - New controller option "getinfo desc/all-recent" to fetch the
  24021. latest server descriptor for every router that Tor knows about.
  24022. Changes in version 0.1.0.16 - 2006-01-02
  24023. o Crash bugfixes on 0.1.0.x:
  24024. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  24025. corrupting the heap, losing FDs, or crashing when we need to resize
  24026. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  24027. - It turns out sparc64 platforms crash on unaligned memory access
  24028. too -- so detect and avoid this.
  24029. - Handle truncated compressed data correctly (by detecting it and
  24030. giving an error).
  24031. - Fix possible-but-unlikely free(NULL) in control.c.
  24032. - When we were closing connections, there was a rare case that
  24033. stomped on memory, triggering seg faults and asserts.
  24034. - Avoid potential infinite recursion when building a descriptor. (We
  24035. don't know that it ever happened, but better to fix it anyway.)
  24036. - We were neglecting to unlink marked circuits from soon-to-close OR
  24037. connections, which caused some rare scribbling on freed memory.
  24038. - Fix a memory stomping race bug when closing the joining point of two
  24039. rendezvous circuits.
  24040. - Fix an assert in time parsing found by Steven Murdoch.
  24041. o Other bugfixes on 0.1.0.x:
  24042. - When we're doing reachability testing, provide more useful log
  24043. messages so the operator knows what to expect.
  24044. - Do not check whether DirPort is reachable when we are suppressing
  24045. advertising it because of hibernation.
  24046. - When building with -static or on Solaris, we sometimes needed -ldl.
  24047. - When we're deciding whether a stream has enough circuits around
  24048. that can handle it, count the freshly dirty ones and not the ones
  24049. that are so dirty they won't be able to handle it.
  24050. - When we're expiring old circuits, we had a logic error that caused
  24051. us to close new rendezvous circuits rather than old ones.
  24052. - Give a more helpful log message when you try to change ORPort via
  24053. the controller: you should upgrade Tor if you want that to work.
  24054. - We were failing to parse Tor versions that start with "Tor ".
  24055. - Tolerate faulty streams better: when a stream fails for reason
  24056. exitpolicy, stop assuming that the router is lying about his exit
  24057. policy. When a stream fails for reason misc, allow it to retry just
  24058. as if it was resolvefailed. When a stream has failed three times,
  24059. reset its failure count so we can try again and get all three tries.
  24060. Changes in version 0.1.1.10-alpha - 2005-12-11
  24061. o Correctness bugfixes on 0.1.0.x:
  24062. - On Windows, build with a libevent patch from "I-M Weasel" to avoid
  24063. corrupting the heap, losing FDs, or crashing when we need to resize
  24064. the fd_sets. (This affects the Win32 binaries, not Tor's sources.)
  24065. - Stop doing the complex voodoo overkill checking for insecure
  24066. Diffie-Hellman keys. Just check if it's in [2,p-2] and be happy.
  24067. - When we were closing connections, there was a rare case that
  24068. stomped on memory, triggering seg faults and asserts.
  24069. - We were neglecting to unlink marked circuits from soon-to-close OR
  24070. connections, which caused some rare scribbling on freed memory.
  24071. - When we're deciding whether a stream has enough circuits around
  24072. that can handle it, count the freshly dirty ones and not the ones
  24073. that are so dirty they won't be able to handle it.
  24074. - Recover better from TCP connections to Tor servers that are
  24075. broken but don't tell you (it happens!); and rotate TLS
  24076. connections once a week.
  24077. - When we're expiring old circuits, we had a logic error that caused
  24078. us to close new rendezvous circuits rather than old ones.
  24079. - Fix a scary-looking but apparently harmless bug where circuits
  24080. would sometimes start out in state CIRCUIT_STATE_OR_WAIT at
  24081. servers, and never switch to state CIRCUIT_STATE_OPEN.
  24082. - When building with -static or on Solaris, we sometimes needed to
  24083. build with -ldl.
  24084. - Give a useful message when people run Tor as the wrong user,
  24085. rather than telling them to start chowning random directories.
  24086. - We were failing to inform the controller about new .onion streams.
  24087. o Security bugfixes on 0.1.0.x:
  24088. - Refuse server descriptors if the fingerprint line doesn't match
  24089. the included identity key. Tor doesn't care, but other apps (and
  24090. humans) might actually be trusting the fingerprint line.
  24091. - We used to kill the circuit when we receive a relay command we
  24092. don't recognize. Now we just drop it.
  24093. - Start obeying our firewall options more rigorously:
  24094. . If we can't get to a dirserver directly, try going via Tor.
  24095. . Don't ever try to connect (as a client) to a place our
  24096. firewall options forbid.
  24097. . If we specify a proxy and also firewall options, obey the
  24098. firewall options even when we're using the proxy: some proxies
  24099. can only proxy to certain destinations.
  24100. - Fix a bug found by Lasse Overlier: when we were making internal
  24101. circuits (intended to be cannibalized later for rendezvous and
  24102. introduction circuits), we were picking them so that they had
  24103. useful exit nodes. There was no need for this, and it actually
  24104. aids some statistical attacks.
  24105. - Start treating internal circuits and exit circuits separately.
  24106. It's important to keep them separate because internal circuits
  24107. have their last hops picked like middle hops, rather than like
  24108. exit hops. So exiting on them will break the user's expectations.
  24109. o Bugfixes on 0.1.1.x:
  24110. - Take out the mis-feature where we tried to detect IP address
  24111. flapping for people with DynDNS, and chose not to upload a new
  24112. server descriptor sometimes.
  24113. - Try to be compatible with OpenSSL 0.9.6 again.
  24114. - Log fix: when the controller is logging about .onion addresses,
  24115. sometimes it didn't include the ".onion" part of the address.
  24116. - Don't try to modify options->DirServers internally -- if the
  24117. user didn't specify any, just add the default ones directly to
  24118. the trusted dirserver list. This fixes a bug where people running
  24119. controllers would use SETCONF on some totally unrelated config
  24120. option, and Tor would start yelling at them about changing their
  24121. DirServer lines.
  24122. - Let the controller's redirectstream command specify a port, in
  24123. case the controller wants to change that too.
  24124. - When we requested a pile of server descriptors, we sometimes
  24125. accidentally launched a duplicate request for the first one.
  24126. - Bugfix for trackhostexits: write down the fingerprint of the
  24127. chosen exit, not its nickname, because the chosen exit might not
  24128. be verified.
  24129. - When parsing foo.exit, if foo is unknown, and we are leaving
  24130. circuits unattached, set the chosen_exit field and leave the
  24131. address empty. This matters because controllers got confused
  24132. otherwise.
  24133. - Directory authorities no longer try to download server
  24134. descriptors that they know they will reject.
  24135. o Features and updates:
  24136. - Replace balanced trees with hash tables: this should make stuff
  24137. significantly faster.
  24138. - Resume using the AES counter-mode implementation that we ship,
  24139. rather than OpenSSL's. Ours is significantly faster.
  24140. - Many other CPU and memory improvements.
  24141. - Add a new config option FastFirstHopPK (on by default) so clients
  24142. do a trivial crypto handshake for their first hop, since TLS has
  24143. already taken care of confidentiality and authentication.
  24144. - Add a new config option TestSocks so people can see if their
  24145. applications are using socks4, socks4a, socks5-with-ip, or
  24146. socks5-with-hostname. This way they don't have to keep mucking
  24147. with tcpdump and wondering if something got cached somewhere.
  24148. - Warn when listening on a public address for socks. I suspect a
  24149. lot of people are setting themselves up as open socks proxies,
  24150. and they have no idea that jerks on the Internet are using them,
  24151. since they simply proxy the traffic into the Tor network.
  24152. - Add "private:*" as an alias in configuration for policies. Now
  24153. you can simplify your exit policy rather than needing to list
  24154. every single internal or nonroutable network space.
  24155. - Add a new controller event type that allows controllers to get
  24156. all server descriptors that were uploaded to a router in its role
  24157. as authoritative dirserver.
  24158. - Start shipping socks-extensions.txt, tor-doc-unix.html,
  24159. tor-doc-server.html, and stylesheet.css in the tarball.
  24160. - Stop shipping tor-doc.html in the tarball.
  24161. Changes in version 0.1.1.9-alpha - 2005-11-15
  24162. o Usability improvements:
  24163. - Start calling it FooListenAddress rather than FooBindAddress,
  24164. since few of our users know what it means to bind an address
  24165. or port.
  24166. - Reduce clutter in server logs. We're going to try to make
  24167. them actually usable now. New config option ProtocolWarnings that
  24168. lets you hear about how _other Tors_ are breaking the protocol. Off
  24169. by default.
  24170. - Divide log messages into logging domains. Once we put some sort
  24171. of interface on this, it will let people looking at more verbose
  24172. log levels specify the topics they want to hear more about.
  24173. - Make directory servers return better http 404 error messages
  24174. instead of a generic "Servers unavailable".
  24175. - Check for even more Windows version flags when writing the platform
  24176. string in server descriptors, and note any we don't recognize.
  24177. - Clean up more of the OpenSSL memory when exiting, so we can detect
  24178. memory leaks better.
  24179. - Make directory authorities be non-versioning, non-naming by
  24180. default. Now we can add new directory servers without requiring
  24181. their operators to pay close attention.
  24182. - When logging via syslog, include the pid whenever we provide
  24183. a log entry. Suggested by Todd Fries.
  24184. o Performance improvements:
  24185. - Directory servers now silently throw away new descriptors that
  24186. haven't changed much if the timestamps are similar. We do this to
  24187. tolerate older Tor servers that upload a new descriptor every 15
  24188. minutes. (It seemed like a good idea at the time.)
  24189. - Inline bottleneck smartlist functions; use fast versions by default.
  24190. - Add a "Map from digest to void*" abstraction digestmap_t so we
  24191. can do less hex encoding/decoding. Use it in router_get_by_digest()
  24192. to resolve a performance bottleneck.
  24193. - Allow tor_gzip_uncompress to extract as much as possible from
  24194. truncated compressed data. Try to extract as many
  24195. descriptors as possible from truncated http responses (when
  24196. DIR_PURPOSE_FETCH_ROUTERDESC).
  24197. - Make circ->onionskin a pointer, not a static array. moria2 was using
  24198. 125000 circuit_t's after it had been up for a few weeks, which
  24199. translates to 20+ megs of wasted space.
  24200. - The private half of our EDH handshake keys are now chosen out
  24201. of 320 bits, not 1024 bits. (Suggested by Ian Goldberg.)
  24202. o Security improvements:
  24203. - Start making directory caches retain old routerinfos, so soon
  24204. clients can start asking by digest of descriptor rather than by
  24205. fingerprint of server.
  24206. - Add half our entropy from RAND_poll in OpenSSL. This knows how
  24207. to use egd (if present), openbsd weirdness (if present), vms/os2
  24208. weirdness (if we ever port there), and more in the future.
  24209. o Bugfixes on 0.1.0.x:
  24210. - Do round-robin writes of at most 16 kB per write. This might be
  24211. more fair on loaded Tor servers, and it might resolve our Windows
  24212. crash bug. It might also slow things down.
  24213. - Our TLS handshakes were generating a single public/private
  24214. keypair for the TLS context, rather than making a new one for
  24215. each new connections. Oops. (But we were still rotating them
  24216. periodically, so it's not so bad.)
  24217. - When we were cannibalizing a circuit with a particular exit
  24218. node in mind, we weren't checking to see if that exit node was
  24219. already present earlier in the circuit. Oops.
  24220. - When a Tor server's IP changes (e.g. from a dyndns address),
  24221. upload a new descriptor so clients will learn too.
  24222. - Really busy servers were keeping enough circuits open on stable
  24223. connections that they were wrapping around the circuit_id
  24224. space. (It's only two bytes.) This exposed a bug where we would
  24225. feel free to reuse a circuit_id even if it still exists but has
  24226. been marked for close. Try to fix this bug. Some bug remains.
  24227. - If we would close a stream early (e.g. it asks for a .exit that
  24228. we know would refuse it) but the LeaveStreamsUnattached config
  24229. option is set by the controller, then don't close it.
  24230. o Bugfixes on 0.1.1.8-alpha:
  24231. - Fix a big pile of memory leaks, some of them serious.
  24232. - Do not try to download a routerdesc if we would immediately reject
  24233. it as obsolete.
  24234. - Resume inserting a newline between all router descriptors when
  24235. generating (old style) signed directories, since our spec says
  24236. we do.
  24237. - When providing content-type application/octet-stream for
  24238. server descriptors using .z, we were leaving out the
  24239. content-encoding header. Oops. (Everything tolerated this just
  24240. fine, but that doesn't mean we need to be part of the problem.)
  24241. - Fix a potential seg fault in getconf and getinfo using version 1
  24242. of the controller protocol.
  24243. - Avoid crash: do not check whether DirPort is reachable when we
  24244. are suppressing it because of hibernation.
  24245. - Make --hash-password not crash on exit.
  24246. Changes in version 0.1.1.8-alpha - 2005-10-07
  24247. o New features (major):
  24248. - Clients don't download or use the directory anymore. Now they
  24249. download and use network-statuses from the trusted dirservers,
  24250. and fetch individual server descriptors as needed from mirrors.
  24251. See dir-spec.txt for all the gory details.
  24252. - Be more conservative about whether to advertise our DirPort.
  24253. The main change is to not advertise if we're running at capacity
  24254. and either a) we could hibernate or b) our capacity is low and
  24255. we're using a default DirPort.
  24256. - Use OpenSSL's AES when OpenSSL has version 0.9.7 or later.
  24257. o New features (minor):
  24258. - Try to be smart about when to retry network-status and
  24259. server-descriptor fetches. Still needs some tuning.
  24260. - Stop parsing, storing, or using running-routers output (but
  24261. mirrors still cache and serve it).
  24262. - Consider a threshold of versioning dirservers (dirservers who have
  24263. an opinion about which Tor versions are still recommended) before
  24264. deciding whether to warn the user that he's obsolete.
  24265. - Dirservers can now reject/invalidate by key and IP, with the
  24266. config options "AuthDirInvalid" and "AuthDirReject". This is
  24267. useful since currently we automatically list servers as running
  24268. and usable even if we know they're jerks.
  24269. - Provide dire warnings to any users who set DirServer; move it out
  24270. of torrc.sample and into torrc.complete.
  24271. - Add MyFamily to torrc.sample in the server section.
  24272. - Add nicknames to the DirServer line, so we can refer to them
  24273. without requiring all our users to memorize their IP addresses.
  24274. - When we get an EOF or a timeout on a directory connection, note
  24275. how many bytes of serverdesc we are dropping. This will help
  24276. us determine whether it is smart to parse incomplete serverdesc
  24277. responses.
  24278. - Add a new function to "change pseudonyms" -- that is, to stop
  24279. using any currently-dirty circuits for new streams, so we don't
  24280. link new actions to old actions. Currently it's only called on
  24281. HUP (or SIGNAL RELOAD).
  24282. - On sighup, if UseHelperNodes changed to 1, use new circuits.
  24283. - Start using RAND_bytes rather than RAND_pseudo_bytes from
  24284. OpenSSL. Also, reseed our entropy every hour, not just at
  24285. startup. And entropy in 512-bit chunks, not 160-bit chunks.
  24286. o Fixes on 0.1.1.7-alpha:
  24287. - Nobody ever implemented EVENT_ADDRMAP for control protocol
  24288. version 0, so don't let version 0 controllers ask for it.
  24289. - If you requested something with too many newlines via the
  24290. v1 controller protocol, you could crash tor.
  24291. - Fix a number of memory leaks, including some pretty serious ones.
  24292. - Re-enable DirPort testing again, so Tor servers will be willing
  24293. to advertise their DirPort if it's reachable.
  24294. - On TLS handshake, only check the other router's nickname against
  24295. its expected nickname if is_named is set.
  24296. o Fixes forward-ported from 0.1.0.15:
  24297. - Don't crash when we don't have any spare file descriptors and we
  24298. try to spawn a dns or cpu worker.
  24299. - Make the numbers in read-history and write-history into uint64s,
  24300. so they don't overflow and publish negatives in the descriptor.
  24301. o Fixes on 0.1.0.x:
  24302. - For the OS X package's modified privoxy config file, comment
  24303. out the "logfile" line so we don't log everything passed
  24304. through privoxy.
  24305. - We were whining about using socks4 or socks5-with-local-lookup
  24306. even when it's an IP in the "virtual" range we designed exactly
  24307. for this case.
  24308. - We were leaking some memory every time the client changes IPs.
  24309. - Never call free() on tor_malloc()d memory. This will help us
  24310. use dmalloc to detect memory leaks.
  24311. - Check for named servers when looking them up by nickname;
  24312. warn when we'recalling a non-named server by its nickname;
  24313. don't warn twice about the same name.
  24314. - Try to list MyFamily elements by key, not by nickname, and warn
  24315. if we've not heard of the server.
  24316. - Make windows platform detection (uname equivalent) smarter.
  24317. - It turns out sparc64 doesn't like unaligned access either.
  24318. Changes in version 0.1.0.15 - 2005-09-23
  24319. o Bugfixes on 0.1.0.x:
  24320. - Reject ports 465 and 587 (spam targets) in default exit policy.
  24321. - Don't crash when we don't have any spare file descriptors and we
  24322. try to spawn a dns or cpu worker.
  24323. - Get rid of IgnoreVersion undocumented config option, and make us
  24324. only warn, never exit, when we're running an obsolete version.
  24325. - Don't try to print a null string when your server finds itself to
  24326. be unreachable and the Address config option is empty.
  24327. - Make the numbers in read-history and write-history into uint64s,
  24328. so they don't overflow and publish negatives in the descriptor.
  24329. - Fix a minor memory leak in smartlist_string_remove().
  24330. - We were only allowing ourselves to upload a server descriptor at
  24331. most every 20 minutes, even if it changed earlier than that.
  24332. - Clean up log entries that pointed to old URLs.
  24333. Changes in version 0.1.1.7-alpha - 2005-09-14
  24334. o Fixes on 0.1.1.6-alpha:
  24335. - Exit servers were crashing when people asked them to make a
  24336. connection to an address not in their exit policy.
  24337. - Looking up a non-existent stream for a v1 control connection would
  24338. cause a segfault.
  24339. - Fix a seg fault if we ask a dirserver for a descriptor by
  24340. fingerprint but he doesn't know about him.
  24341. - SETCONF was appending items to linelists, not clearing them.
  24342. - SETCONF SocksBindAddress killed Tor if it fails to bind. Now back
  24343. out and refuse the setconf if it would fail.
  24344. - Downgrade the dirserver log messages when whining about
  24345. unreachability.
  24346. o New features:
  24347. - Add Peter Palfrader's check-tor script to tor/contrib/
  24348. It lets you easily check whether a given server (referenced by
  24349. nickname) is reachable by you.
  24350. - Numerous changes to move towards client-side v2 directories. Not
  24351. enabled yet.
  24352. o Fixes on 0.1.0.x:
  24353. - If the user gave tor an odd number of command-line arguments,
  24354. we were silently ignoring the last one. Now we complain and fail.
  24355. [This wins the oldest-bug prize -- this bug has been present since
  24356. November 2002, as released in Tor 0.0.0.]
  24357. - Do not use unaligned memory access on alpha, mips, or mipsel.
  24358. It *works*, but is very slow, so we treat them as if it doesn't.
  24359. - Retry directory requests if we fail to get an answer we like
  24360. from a given dirserver (we were retrying before, but only if
  24361. we fail to connect).
  24362. - When writing the RecommendedVersions line, sort them first.
  24363. - When the client asked for a rendezvous port that the hidden
  24364. service didn't want to provide, we were sending an IP address
  24365. back along with the end cell. Fortunately, it was zero. But stop
  24366. that anyway.
  24367. - Correct "your server is reachable" log entries to indicate that
  24368. it was self-testing that told us so.
  24369. Changes in version 0.1.1.6-alpha - 2005-09-09
  24370. o Fixes on 0.1.1.5-alpha:
  24371. - We broke fascistfirewall in 0.1.1.5-alpha. Oops.
  24372. - Fix segfault in unit tests in 0.1.1.5-alpha. Oops.
  24373. - Fix bug with tor_memmem finding a match at the end of the string.
  24374. - Make unit tests run without segfaulting.
  24375. - Resolve some solaris x86 compile warnings.
  24376. - Handle duplicate lines in approved-routers files without warning.
  24377. - Fix bug where as soon as a server refused any requests due to his
  24378. exit policy (e.g. when we ask for localhost and he tells us that's
  24379. 127.0.0.1 and he won't do it), we decided he wasn't obeying his
  24380. exit policy using him for any exits.
  24381. - Only do openssl hardware accelerator stuff if openssl version is
  24382. at least 0.9.7.
  24383. o New controller features/fixes:
  24384. - Add a "RESETCONF" command so you can set config options like
  24385. AllowUnverifiedNodes and LongLivedPorts to "". Also, if you give
  24386. a config option in the torrc with no value, then it clears it
  24387. entirely (rather than setting it to its default).
  24388. - Add a "GETINFO config-file" to tell us where torrc is.
  24389. - Avoid sending blank lines when GETINFO replies should be empty.
  24390. - Add a QUIT command for the controller (for using it manually).
  24391. - Fix a bug in SAVECONF that was adding default dirservers and
  24392. other redundant entries to the torrc file.
  24393. o Start on the new directory design:
  24394. - Generate, publish, cache, serve new network-status format.
  24395. - Publish individual descriptors (by fingerprint, by "all", and by
  24396. "tell me yours").
  24397. - Publish client and server recommended versions separately.
  24398. - Allow tor_gzip_uncompress() to handle multiple concatenated
  24399. compressed strings. Serve compressed groups of router
  24400. descriptors. The compression logic here could be more
  24401. memory-efficient.
  24402. - Distinguish v1 authorities (all currently trusted directories)
  24403. from v2 authorities (all trusted directories).
  24404. - Change DirServers config line to note which dirs are v1 authorities.
  24405. - Add configuration option "V1AuthoritativeDirectory 1" which
  24406. moria1, moria2, and tor26 should set.
  24407. - Remove option when getting directory cache to see whether they
  24408. support running-routers; they all do now. Replace it with one
  24409. to see whether caches support v2 stuff.
  24410. o New features:
  24411. - Dirservers now do their own external reachability testing of each
  24412. Tor server, and only list them as running if they've been found to
  24413. be reachable. We also send back warnings to the server's logs if
  24414. it uploads a descriptor that we already believe is unreachable.
  24415. - Implement exit enclaves: if we know an IP address for the
  24416. destination, and there's a running Tor server at that address
  24417. which allows exit to the destination, then extend the circuit to
  24418. that exit first. This provides end-to-end encryption and end-to-end
  24419. authentication. Also, if the user wants a .exit address or enclave,
  24420. use 4 hops rather than 3, and cannibalize a general circ for it
  24421. if you can.
  24422. - Permit transitioning from ORPort=0 to ORPort!=0, and back, from the
  24423. controller. Also, rotate dns and cpu workers if the controller
  24424. changes options that will affect them; and initialize the dns
  24425. worker cache tree whether or not we start out as a server.
  24426. - Only upload a new server descriptor when options change, 18
  24427. hours have passed, uptime is reset, or bandwidth changes a lot.
  24428. - Check [X-]Forwarded-For headers in HTTP requests when generating
  24429. log messages. This lets people run dirservers (and caches) behind
  24430. Apache but still know which IP addresses are causing warnings.
  24431. o Config option changes:
  24432. - Replace (Fascist)Firewall* config options with a new
  24433. ReachableAddresses option that understands address policies.
  24434. For example, "ReachableAddresses *:80,*:443"
  24435. - Get rid of IgnoreVersion undocumented config option, and make us
  24436. only warn, never exit, when we're running an obsolete version.
  24437. - Make MonthlyAccountingStart config option truly obsolete now.
  24438. o Fixes on 0.1.0.x:
  24439. - Reject ports 465 and 587 in the default exit policy, since
  24440. people have started using them for spam too.
  24441. - It turns out we couldn't bootstrap a network since we added
  24442. reachability detection in 0.1.0.1-rc. Good thing the Tor network
  24443. has never gone down. Add an AssumeReachable config option to let
  24444. servers and dirservers bootstrap. When we're trying to build a
  24445. high-uptime or high-bandwidth circuit but there aren't enough
  24446. suitable servers, try being less picky rather than simply failing.
  24447. - Our logic to decide if the OR we connected to was the right guy
  24448. was brittle and maybe open to a mitm for unverified routers.
  24449. - We weren't cannibalizing circuits correctly for
  24450. CIRCUIT_PURPOSE_C_ESTABLISH_REND and
  24451. CIRCUIT_PURPOSE_S_ESTABLISH_INTRO, so we were being forced to
  24452. build those from scratch. This should make hidden services faster.
  24453. - Predict required circuits better, with an eye toward making hidden
  24454. services faster on the service end.
  24455. - Retry streams if the exit node sends back a 'misc' failure. This
  24456. should result in fewer random failures. Also, after failing
  24457. from resolve failed or misc, reset the num failures, so we give
  24458. it a fair shake next time we try.
  24459. - Clean up the rendezvous warn log msgs, and downgrade some to info.
  24460. - Reduce severity on logs about dns worker spawning and culling.
  24461. - When we're shutting down and we do something like try to post a
  24462. server descriptor or rendezvous descriptor, don't complain that
  24463. we seem to be unreachable. Of course we are, we're shutting down.
  24464. - Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells.
  24465. We don't use them yet, but maybe one day our DNS resolver will be
  24466. able to discover them.
  24467. - Make ContactInfo mandatory for authoritative directory servers.
  24468. - Require server descriptors to list IPv4 addresses -- hostnames
  24469. are no longer allowed. This also fixes some potential security
  24470. problems with people providing hostnames as their address and then
  24471. preferentially resolving them to partition users.
  24472. - Change log line for unreachability to explicitly suggest /etc/hosts
  24473. as the culprit. Also make it clearer what IP address and ports we're
  24474. testing for reachability.
  24475. - Put quotes around user-supplied strings when logging so users are
  24476. more likely to realize if they add bad characters (like quotes)
  24477. to the torrc.
  24478. - Let auth dir servers start without specifying an Address config
  24479. option.
  24480. - Make unit tests (and other invocations that aren't the real Tor)
  24481. run without launching listeners, creating subdirectories, and so on.
  24482. Changes in version 0.1.1.5-alpha - 2005-08-08
  24483. o Bugfixes included in 0.1.0.14.
  24484. o Bugfixes on 0.1.0.x:
  24485. - If you write "HiddenServicePort 6667 127.0.0.1 6668" in your
  24486. torrc rather than "HiddenServicePort 6667 127.0.0.1:6668",
  24487. it would silently using ignore the 6668.
  24488. Changes in version 0.1.0.14 - 2005-08-08
  24489. o Bugfixes on 0.1.0.x:
  24490. - Fix the other half of the bug with crypto handshakes
  24491. (CVE-2005-2643).
  24492. - Fix an assert trigger if you send a 'signal term' via the
  24493. controller when it's listening for 'event info' messages.
  24494. Changes in version 0.1.1.4-alpha - 2005-08-04
  24495. o Bugfixes included in 0.1.0.13.
  24496. o Features:
  24497. - Improve tor_gettimeofday() granularity on windows.
  24498. - Make clients regenerate their keys when their IP address changes.
  24499. - Implement some more GETINFO goodness: expose helper nodes, config
  24500. options, getinfo keys.
  24501. Changes in version 0.1.0.13 - 2005-08-04
  24502. o Bugfixes on 0.1.0.x:
  24503. - Fix a critical bug in the security of our crypto handshakes.
  24504. - Fix a size_t underflow in smartlist_join_strings2() that made
  24505. it do bad things when you hand it an empty smartlist.
  24506. - Fix Windows installer to ship Tor license (thanks to Aphex for
  24507. pointing out this oversight) and put a link to the doc directory
  24508. in the start menu.
  24509. - Explicitly set no-unaligned-access for sparc: it turns out the
  24510. new gcc's let you compile broken code, but that doesn't make it
  24511. not-broken.
  24512. Changes in version 0.1.1.3-alpha - 2005-07-23
  24513. o Bugfixes on 0.1.1.2-alpha:
  24514. - Fix a bug in handling the controller's "post descriptor"
  24515. function.
  24516. - Fix several bugs in handling the controller's "extend circuit"
  24517. function.
  24518. - Fix a bug in handling the controller's "stream status" event.
  24519. - Fix an assert failure if we have a controller listening for
  24520. circuit events and we go offline.
  24521. - Re-allow hidden service descriptors to publish 0 intro points.
  24522. - Fix a crash when generating your hidden service descriptor if
  24523. you don't have enough intro points already.
  24524. o New features on 0.1.1.2-alpha:
  24525. - New controller function "getinfo accounting", to ask how
  24526. many bytes we've used in this time period.
  24527. - Experimental support for helper nodes: a lot of the risk from
  24528. a small static adversary comes because users pick new random
  24529. nodes every time they rebuild a circuit. Now users will try to
  24530. stick to the same small set of entry nodes if they can. Not
  24531. enabled by default yet.
  24532. o Bugfixes on 0.1.0.12:
  24533. - If you're an auth dir server, always publish your dirport,
  24534. even if you haven't yet found yourself to be reachable.
  24535. - Fix a size_t underflow in smartlist_join_strings2() that made
  24536. it do bad things when you hand it an empty smartlist.
  24537. Changes in version 0.1.0.12 - 2005-07-18
  24538. o New directory servers:
  24539. - tor26 has changed IP address.
  24540. o Bugfixes on 0.1.0.x:
  24541. - Fix a possible double-free in tor_gzip_uncompress().
  24542. - When --disable-threads is set, do not search for or link against
  24543. pthreads libraries.
  24544. - Don't trigger an assert if an authoritative directory server
  24545. claims its dirport is 0.
  24546. - Fix bug with removing Tor as an NT service: some people were
  24547. getting "The service did not return an error." Thanks to Matt
  24548. Edman for the fix.
  24549. Changes in version 0.1.1.2-alpha - 2005-07-15
  24550. o New directory servers:
  24551. - tor26 has changed IP address.
  24552. o Bugfixes on 0.1.0.x, crashes/leaks:
  24553. - Port the servers-not-obeying-their-exit-policies fix from
  24554. 0.1.0.11.
  24555. - Fix an fd leak in start_daemon().
  24556. - On Windows, you can't always reopen a port right after you've
  24557. closed it. So change retry_listeners() to only close and re-open
  24558. ports that have changed.
  24559. - Fix a possible double-free in tor_gzip_uncompress().
  24560. o Bugfixes on 0.1.0.x, usability:
  24561. - When tor_socketpair() fails in Windows, give a reasonable
  24562. Windows-style errno back.
  24563. - Let people type "tor --install" as well as "tor -install" when
  24564. they
  24565. want to make it an NT service.
  24566. - NT service patch from Matt Edman to improve error messages.
  24567. - When the controller asks for a config option with an abbreviated
  24568. name, give the full name in our response.
  24569. - Correct the man page entry on TrackHostExitsExpire.
  24570. - Looks like we were never delivering deflated (i.e. compressed)
  24571. running-routers lists, even when asked. Oops.
  24572. - When --disable-threads is set, do not search for or link against
  24573. pthreads libraries.
  24574. o Bugfixes on 0.1.1.x:
  24575. - Fix a seg fault with autodetecting which controller version is
  24576. being used.
  24577. o Features:
  24578. - New hidden service descriptor format: put a version in it, and
  24579. let people specify introduction/rendezvous points that aren't
  24580. in "the directory" (which is subjective anyway).
  24581. - Allow the DEBUG controller event to work again. Mark certain log
  24582. entries as "don't tell this to controllers", so we avoid cycles.
  24583. Changes in version 0.1.0.11 - 2005-06-30
  24584. o Bugfixes on 0.1.0.x:
  24585. - Fix major security bug: servers were disregarding their
  24586. exit policies if clients behaved unexpectedly.
  24587. - Make OS X init script check for missing argument, so we don't
  24588. confuse users who invoke it incorrectly.
  24589. - Fix a seg fault in "tor --hash-password foo".
  24590. - The MAPADDRESS control command was broken.
  24591. Changes in version 0.1.1.1-alpha - 2005-06-29
  24592. o Bugfixes:
  24593. - Make OS X init script check for missing argument, so we don't
  24594. confuse users who invoke it incorrectly.
  24595. - Fix a seg fault in "tor --hash-password foo".
  24596. - Fix a possible way to DoS dirservers.
  24597. - When we complain that your exit policy implicitly allows local or
  24598. private address spaces, name them explicitly so operators can
  24599. fix it.
  24600. - Make the log message less scary when all the dirservers are
  24601. temporarily unreachable.
  24602. - We were printing the number of idle dns workers incorrectly when
  24603. culling them.
  24604. o Features:
  24605. - Revised controller protocol (version 1) that uses ascii rather
  24606. than binary. Add supporting libraries in python and java so you
  24607. can use the controller from your applications without caring how
  24608. our protocol works.
  24609. - Spiffy new support for crypto hardware accelerators. Can somebody
  24610. test this?
  24611. Changes in version 0.0.9.10 - 2005-06-16
  24612. o Bugfixes on 0.0.9.x (backported from 0.1.0.10):
  24613. - Refuse relay cells that claim to have a length larger than the
  24614. maximum allowed. This prevents a potential attack that could read
  24615. arbitrary memory (e.g. keys) from an exit server's process
  24616. (CVE-2005-2050).
  24617. Changes in version 0.1.0.10 - 2005-06-14
  24618. o Allow a few EINVALs from libevent before dying. Warn on kqueue with
  24619. libevent before 1.1a.
  24620. Changes in version 0.1.0.9-rc - 2005-06-09
  24621. o Bugfixes:
  24622. - Reset buf->highwater every time buf_shrink() is called, not just on
  24623. a successful shrink. This was causing significant memory bloat.
  24624. - Fix buffer overflow when checking hashed passwords.
  24625. - Security fix: if seeding the RNG on Win32 fails, quit.
  24626. - Allow seeding the RNG on Win32 even when you're not running as
  24627. Administrator.
  24628. - Disable threading on Solaris too. Something is wonky with it,
  24629. cpuworkers, and reentrant libs.
  24630. - Reenable the part of the code that tries to flush as soon as an
  24631. OR outbuf has a full TLS record available. Perhaps this will make
  24632. OR outbufs not grow as huge except in rare cases, thus saving lots
  24633. of CPU time plus memory.
  24634. - Reject malformed .onion addresses rather then passing them on as
  24635. normal web requests.
  24636. - Adapt patch from Adam Langley: fix possible memory leak in
  24637. tor_lookup_hostname().
  24638. - Initialize libevent later in the startup process, so the logs are
  24639. already established by the time we start logging libevent warns.
  24640. - Use correct errno on win32 if libevent fails.
  24641. - Check and warn about known-bad/slow libevent versions.
  24642. - Pay more attention to the ClientOnly config option.
  24643. - Have torctl.in/tor.sh.in check for location of su binary (needed
  24644. on FreeBSD)
  24645. - Correct/add man page entries for LongLivedPorts, ExitPolicy,
  24646. KeepalivePeriod, ClientOnly, NoPublish, HttpProxy, HttpsProxy,
  24647. HttpProxyAuthenticator
  24648. - Stop warning about sigpipes in the logs. We're going to
  24649. pretend that getting these occasionally is normal and fine.
  24650. - Resolve OS X installer bugs: stop claiming to be 0.0.9.2 in
  24651. certain
  24652. installer screens; and don't put stuff into StartupItems unless
  24653. the user asks you to.
  24654. - Require servers that use the default dirservers to have public IP
  24655. addresses. We have too many servers that are configured with private
  24656. IPs and their admins never notice the log entries complaining that
  24657. their descriptors are being rejected.
  24658. - Add OSX uninstall instructions. An actual uninstall script will
  24659. come later.
  24660. Changes in version 0.1.0.8-rc - 2005-05-23
  24661. o Bugfixes:
  24662. - It turns out that kqueue on OS X 10.3.9 was causing kernel
  24663. panics. Disable kqueue on all OS X Tors.
  24664. - Fix RPM: remove duplicate line accidentally added to the rpm
  24665. spec file.
  24666. - Disable threads on openbsd too, since its gethostaddr is not
  24667. reentrant either.
  24668. - Tolerate libevent 0.8 since it still works, even though it's
  24669. ancient.
  24670. - Enable building on Red Hat 9.0 again.
  24671. - Allow the middle hop of the testing circuit to be running any
  24672. version, now that most of them have the bugfix to let them connect
  24673. to unknown servers. This will allow reachability testing to work
  24674. even when 0.0.9.7-0.0.9.9 become obsolete.
  24675. - Handle relay cells with rh.length too large. This prevents
  24676. a potential attack that could read arbitrary memory (maybe even
  24677. keys) from the exit server's process.
  24678. - We screwed up the dirport reachability testing when we don't yet
  24679. have a cached version of the directory. Hopefully now fixed.
  24680. - Clean up router_load_single_router() (used by the controller),
  24681. so it doesn't seg fault on error.
  24682. - Fix a minor memory leak when somebody establishes an introduction
  24683. point at your Tor server.
  24684. - If a socks connection ends because read fails, don't warn that
  24685. you're not sending a socks reply back.
  24686. o Features:
  24687. - Add HttpProxyAuthenticator config option too, that works like
  24688. the HttpsProxyAuthenticator config option.
  24689. - Encode hashed controller passwords in hex instead of base64,
  24690. to make it easier to write controllers.
  24691. Changes in version 0.1.0.7-rc - 2005-05-17
  24692. o Bugfixes:
  24693. - Fix a bug in the OS X package installer that prevented it from
  24694. installing on Tiger.
  24695. - Fix a script bug in the OS X package installer that made it
  24696. complain during installation.
  24697. - Find libevent even if it's hiding in /usr/local/ and your
  24698. CFLAGS and LDFLAGS don't tell you to look there.
  24699. - Be able to link with libevent as a shared library (the default
  24700. after 1.0d), even if it's hiding in /usr/local/lib and even
  24701. if you haven't added /usr/local/lib to your /etc/ld.so.conf,
  24702. assuming you're running gcc. Otherwise fail and give a useful
  24703. error message.
  24704. - Fix a bug in the RPM packager: set home directory for _tor to
  24705. something more reasonable when first installing.
  24706. - Free a minor amount of memory that is still reachable on exit.
  24707. Changes in version 0.1.0.6-rc - 2005-05-14
  24708. o Bugfixes:
  24709. - Implement --disable-threads configure option. Disable threads on
  24710. netbsd by default, because it appears to have no reentrant resolver
  24711. functions.
  24712. - Apple's OS X 10.4.0 ships with a broken kqueue. The new libevent
  24713. release (1.1) detects and disables kqueue if it's broken.
  24714. - Append default exit policy before checking for implicit internal
  24715. addresses. Now we don't log a bunch of complaints on startup
  24716. when using the default exit policy.
  24717. - Some people were putting "Address " in their torrc, and they had
  24718. a buggy resolver that resolved " " to 0.0.0.0. Oops.
  24719. - If DataDir is ~/.tor, and that expands to /.tor, then default to
  24720. LOCALSTATEDIR/tor instead.
  24721. - Fix fragmented-message bug in TorControl.py.
  24722. - Resolve a minor bug which would prevent unreachable dirports
  24723. from getting suppressed in the published descriptor.
  24724. - When the controller gave us a new descriptor, we weren't resolving
  24725. it immediately, so Tor would think its address was 0.0.0.0 until
  24726. we fetched a new directory.
  24727. - Fix an uppercase/lowercase case error in suppressing a bogus
  24728. libevent warning on some Linuxes.
  24729. o Features:
  24730. - Begin scrubbing sensitive strings from logs by default. Turn off
  24731. the config option SafeLogging if you need to do debugging.
  24732. - Switch to a new buffer management algorithm, which tries to avoid
  24733. reallocing and copying quite as much. In first tests it looks like
  24734. it uses *more* memory on average, but less cpu.
  24735. - First cut at support for "create-fast" cells. Clients can use
  24736. these when extending to their first hop, since the TLS already
  24737. provides forward secrecy and authentication. Not enabled on
  24738. clients yet.
  24739. - When dirservers refuse a router descriptor, we now log its
  24740. contactinfo, platform, and the poster's IP address.
  24741. - Call tor_free_all instead of connections_free_all after forking, to
  24742. save memory on systems that need to fork.
  24743. - Whine at you if you're a server and you don't set your contactinfo.
  24744. - Implement --verify-config command-line option to check if your torrc
  24745. is valid without actually launching Tor.
  24746. - Rewrite address "serifos.exit" to "localhost.serifos.exit"
  24747. rather than just rejecting it.
  24748. Changes in version 0.1.0.5-rc - 2005-04-27
  24749. o Bugfixes:
  24750. - Stop trying to print a null pointer if an OR conn fails because
  24751. we didn't like its cert.
  24752. o Features:
  24753. - Switch our internal buffers implementation to use a ring buffer,
  24754. to hopefully improve performance for fast servers a lot.
  24755. - Add HttpsProxyAuthenticator support (basic auth only), based
  24756. on patch from Adam Langley.
  24757. - Bump the default BandwidthRate from 1 MB to 2 MB, to accommodate
  24758. the fast servers that have been joining lately.
  24759. - Give hidden service accesses extra time on the first attempt,
  24760. since 60 seconds is often only barely enough. This might improve
  24761. robustness more.
  24762. - Improve performance for dirservers: stop re-parsing the whole
  24763. directory every time you regenerate it.
  24764. - Add more debugging info to help us find the weird dns freebsd
  24765. pthreads bug; cleaner debug messages to help track future issues.
  24766. Changes in version 0.0.9.9 - 2005-04-23
  24767. o Bugfixes on 0.0.9.x:
  24768. - If unofficial Tor clients connect and send weird TLS certs, our
  24769. Tor server triggers an assert. This release contains a minimal
  24770. backport from the broader fix that we put into 0.1.0.4-rc.
  24771. Changes in version 0.1.0.4-rc - 2005-04-23
  24772. o Bugfixes:
  24773. - If unofficial Tor clients connect and send weird TLS certs, our
  24774. Tor server triggers an assert. Stop asserting, and start handling
  24775. TLS errors better in other situations too.
  24776. - When the controller asks us to tell it about all the debug-level
  24777. logs, it turns out we were generating debug-level logs while
  24778. telling it about them, which turns into a bad loop. Now keep
  24779. track of whether you're sending a debug log to the controller,
  24780. and don't log when you are.
  24781. - Fix the "postdescriptor" feature of the controller interface: on
  24782. non-complete success, only say "done" once.
  24783. o Features:
  24784. - Clients are now willing to load balance over up to 2mB, not 1mB,
  24785. of advertised bandwidth capacity.
  24786. - Add a NoPublish config option, so you can be a server (e.g. for
  24787. testing running Tor servers in other Tor networks) without
  24788. publishing your descriptor to the primary dirservers.
  24789. Changes in version 0.1.0.3-rc - 2005-04-08
  24790. o Improvements on 0.1.0.2-rc:
  24791. - Client now retries when streams end early for 'hibernating' or
  24792. 'resource limit' reasons, rather than failing them.
  24793. - More automated handling for dirserver operators:
  24794. - Automatically approve nodes running 0.1.0.2-rc or later,
  24795. now that the the reachability detection stuff is working.
  24796. - Now we allow two unverified servers with the same nickname
  24797. but different keys. But if a nickname is verified, only that
  24798. nickname+key are allowed.
  24799. - If you're an authdirserver connecting to an address:port,
  24800. and it's not the OR you were expecting, forget about that
  24801. descriptor. If he *was* the one you were expecting, then forget
  24802. about all other descriptors for that address:port.
  24803. - Allow servers to publish descriptors from 12 hours in the future.
  24804. Corollary: only whine about clock skew from the dirserver if
  24805. he's a trusted dirserver (since now even verified servers could
  24806. have quite wrong clocks).
  24807. - Adjust maximum skew and age for rendezvous descriptors: let skew
  24808. be 48 hours rather than 90 minutes.
  24809. - Efficiency improvements:
  24810. - Keep a big splay tree of (circid,orconn)->circuit mappings to make
  24811. it much faster to look up a circuit for each relay cell.
  24812. - Remove most calls to assert_all_pending_dns_resolves_ok(),
  24813. since they're eating our cpu on exit nodes.
  24814. - Stop wasting time doing a case insensitive comparison for every
  24815. dns name every time we do any lookup. Canonicalize the names to
  24816. lowercase and be done with it.
  24817. - Start sending 'truncated' cells back rather than destroy cells,
  24818. if the circuit closes in front of you. This means we won't have
  24819. to abandon partially built circuits.
  24820. - Only warn once per nickname from add_nickname_list_to_smartlist
  24821. per failure, so an entrynode or exitnode choice that's down won't
  24822. yell so much.
  24823. - Put a note in the torrc about abuse potential with the default
  24824. exit policy.
  24825. - Revise control spec and implementation to allow all log messages to
  24826. be sent to controller with their severities intact (suggested by
  24827. Matt Edman). Update TorControl to handle new log event types.
  24828. - Provide better explanation messages when controller's POSTDESCRIPTOR
  24829. fails.
  24830. - Stop putting nodename in the Platform string in server descriptors.
  24831. It doesn't actually help, and it is confusing/upsetting some people.
  24832. o Bugfixes on 0.1.0.2-rc:
  24833. - We were printing the host mask wrong in exit policies in server
  24834. descriptors. This isn't a critical bug though, since we were still
  24835. obeying the exit policy internally.
  24836. - Fix Tor when compiled with libevent but without pthreads: move
  24837. connection_unregister() from _connection_free() to
  24838. connection_free().
  24839. - Fix an assert trigger (already fixed in 0.0.9.x): when we have
  24840. the rare mysterious case of accepting a conn on 0.0.0.0:0, then
  24841. when we look through the connection array, we'll find any of the
  24842. cpu/dnsworkers. This is no good.
  24843. o Bugfixes on 0.0.9.8:
  24844. - Fix possible bug on threading platforms (e.g. win32) which was
  24845. leaking a file descriptor whenever a cpuworker or dnsworker died.
  24846. - When using preferred entry or exit nodes, ignore whether the
  24847. circuit wants uptime or capacity. They asked for the nodes, they
  24848. get the nodes.
  24849. - chdir() to your datadirectory at the *end* of the daemonize process,
  24850. not the beginning. This was a problem because the first time you
  24851. run tor, if your datadir isn't there, and you have runasdaemon set
  24852. to 1, it will try to chdir to it before it tries to create it. Oops.
  24853. - Handle changed router status correctly when dirserver reloads
  24854. fingerprint file. We used to be dropping all unverified descriptors
  24855. right then. The bug was hidden because we would immediately
  24856. fetch a directory from another dirserver, which would include the
  24857. descriptors we just dropped.
  24858. - When we're connecting to an OR and he's got a different nickname/key
  24859. than we were expecting, only complain loudly if we're an OP or a
  24860. dirserver. Complaining loudly to the OR admins just confuses them.
  24861. - Tie MAX_DIR_SIZE to MAX_BUF_SIZE, so now directory sizes won't get
  24862. artificially capped at 500kB.
  24863. Changes in version 0.0.9.8 - 2005-04-07
  24864. o Bugfixes on 0.0.9.x:
  24865. - We have a bug that I haven't found yet. Sometimes, very rarely,
  24866. cpuworkers get stuck in the 'busy' state, even though the cpuworker
  24867. thinks of itself as idle. This meant that no new circuits ever got
  24868. established. Here's a workaround to kill any cpuworker that's been
  24869. busy for more than 100 seconds.
  24870. Changes in version 0.1.0.2-rc - 2005-04-01
  24871. o Bugfixes on 0.1.0.1-rc:
  24872. - Fixes on reachability detection:
  24873. - Don't check for reachability while hibernating.
  24874. - If ORPort is reachable but DirPort isn't, still publish the
  24875. descriptor, but zero out DirPort until it's found reachable.
  24876. - When building testing circs for ORPort testing, use only
  24877. high-bandwidth nodes, so fewer circuits fail.
  24878. - Complain about unreachable ORPort separately from unreachable
  24879. DirPort, so the user knows what's going on.
  24880. - Make sure we only conclude ORPort reachability if we didn't
  24881. initiate the conn. Otherwise we could falsely conclude that
  24882. we're reachable just because we connected to the guy earlier
  24883. and he used that same pipe to extend to us.
  24884. - Authdirservers shouldn't do ORPort reachability detection,
  24885. since they're in clique mode, so it will be rare to find a
  24886. server not already connected to them.
  24887. - When building testing circuits, always pick middle hops running
  24888. Tor 0.0.9.7, so we avoid the "can't extend to unknown routers"
  24889. bug. (This is a kludge; it will go away when 0.0.9.x becomes
  24890. obsolete.)
  24891. - When we decide we're reachable, actually publish our descriptor
  24892. right then.
  24893. - Fix bug in redirectstream in the controller.
  24894. - Fix the state descriptor strings so logs don't claim edge streams
  24895. are in a different state than they actually are.
  24896. - Use recent libevent features when possible (this only really affects
  24897. win32 and osx right now, because the new libevent with these
  24898. features hasn't been released yet). Add code to suppress spurious
  24899. libevent log msgs.
  24900. - Prevent possible segfault in connection_close_unattached_ap().
  24901. - Fix newlines on torrc in win32.
  24902. - Improve error msgs when tor-resolve fails.
  24903. o Improvements on 0.0.9.x:
  24904. - New experimental script tor/contrib/ExerciseServer.py (needs more
  24905. work) that uses the controller interface to build circuits and
  24906. fetch pages over them. This will help us bootstrap servers that
  24907. have lots of capacity but haven't noticed it yet.
  24908. - New experimental script tor/contrib/PathDemo.py (needs more work)
  24909. that uses the controller interface to let you choose whole paths
  24910. via addresses like
  24911. "<hostname>.<path,separated by dots>.<length of path>.path"
  24912. - When we've connected to an OR and handshaked but didn't like
  24913. the result, we were closing the conn without sending destroy
  24914. cells back for pending circuits. Now send those destroys.
  24915. Changes in version 0.0.9.7 - 2005-04-01
  24916. o Bugfixes on 0.0.9.x:
  24917. - Fix another race crash bug (thanks to Glenn Fink for reporting).
  24918. - Compare identity to identity, not to nickname, when extending to
  24919. a router not already in the directory. This was preventing us from
  24920. extending to unknown routers. Oops.
  24921. - Make sure to create OS X Tor user in <500 range, so we aren't
  24922. creating actual system users.
  24923. - Note where connection-that-hasn't-sent-end was marked, and fix
  24924. a few really loud instances of this harmless bug (it's fixed more
  24925. in 0.1.0.x).
  24926. Changes in version 0.1.0.1-rc - 2005-03-28
  24927. o New features:
  24928. - Add reachability testing. Your Tor server will automatically try
  24929. to see if its ORPort and DirPort are reachable from the outside,
  24930. and it won't upload its descriptor until it decides they are.
  24931. - Handle unavailable hidden services better. Handle slow or busy
  24932. hidden services better.
  24933. - Add support for CONNECTing through https proxies, with "HttpsProxy"
  24934. config option.
  24935. - New exit policy: accept most low-numbered ports, rather than
  24936. rejecting most low-numbered ports.
  24937. - More Tor controller support (still experimental). See
  24938. http://tor.eff.org/doc/control-spec.txt for all the new features,
  24939. including signals to emulate unix signals from any platform;
  24940. redirectstream; extendcircuit; mapaddress; getinfo; postdescriptor;
  24941. closestream; closecircuit; etc.
  24942. - Make nt services work and start on startup on win32 (based on
  24943. patch by Matt Edman).
  24944. - Add a new AddressMap config directive to rewrite incoming socks
  24945. addresses. This lets you, for example, declare an implicit
  24946. required exit node for certain sites.
  24947. - Add a new TrackHostExits config directive to trigger addressmaps
  24948. for certain incoming socks addresses -- for sites that break when
  24949. your exit keeps changing (based on patch by Mike Perry).
  24950. - Redo the client-side dns cache so it's just an addressmap too.
  24951. - Notice when our IP changes, and reset stats/uptime/reachability.
  24952. - When an application is using socks5, give him the whole variety of
  24953. potential socks5 responses (connect refused, host unreachable, etc),
  24954. rather than just "success" or "failure".
  24955. - A more sane version numbering system. See
  24956. http://tor.eff.org/cvs/tor/doc/version-spec.txt for details.
  24957. - New contributed script "exitlist": a simple python script to
  24958. parse directories and find Tor nodes that exit to listed
  24959. addresses/ports.
  24960. - New contributed script "privoxy-tor-toggle" to toggle whether
  24961. Privoxy uses Tor. Seems to be configured for Debian by default.
  24962. - Report HTTP reasons to client when getting a response from directory
  24963. servers -- so you can actually know what went wrong.
  24964. - New config option MaxAdvertisedBandwidth which lets you advertise
  24965. a low bandwidthrate (to not attract as many circuits) while still
  24966. allowing a higher bandwidthrate in reality.
  24967. o Robustness/stability fixes:
  24968. - Make Tor use Niels Provos's libevent instead of its current
  24969. poll-but-sometimes-select mess. This will let us use faster async
  24970. cores (like epoll, kpoll, and /dev/poll), and hopefully work better
  24971. on Windows too.
  24972. - pthread support now too. This was forced because when we forked,
  24973. we ended up wasting a lot of duplicate ram over time. Also switch
  24974. to foo_r versions of some library calls to allow reentry and
  24975. threadsafeness.
  24976. - Better handling for heterogeneous / unreliable nodes:
  24977. - Annotate circuits w/ whether they aim to contain high uptime nodes
  24978. and/or high capacity nodes. When building circuits, choose
  24979. appropriate nodes.
  24980. - This means that every single node in an intro rend circuit,
  24981. not just the last one, will have a minimum uptime.
  24982. - New config option LongLivedPorts to indicate application streams
  24983. that will want high uptime circuits.
  24984. - Servers reset uptime when a dir fetch entirely fails. This
  24985. hopefully reflects stability of the server's network connectivity.
  24986. - If somebody starts his tor server in Jan 2004 and then fixes his
  24987. clock, don't make his published uptime be a year.
  24988. - Reset published uptime when you wake up from hibernation.
  24989. - Introduce a notion of 'internal' circs, which are chosen without
  24990. regard to the exit policy of the last hop. Intro and rendezvous
  24991. circs must be internal circs, to avoid leaking information. Resolve
  24992. and connect streams can use internal circs if they want.
  24993. - New circuit pooling algorithm: make sure to have enough circs around
  24994. to satisfy any predicted ports, and also make sure to have 2 internal
  24995. circs around if we've required internal circs lately (and with high
  24996. uptime if we've seen that lately too).
  24997. - Split NewCircuitPeriod option into NewCircuitPeriod (30 secs),
  24998. which describes how often we retry making new circuits if current
  24999. ones are dirty, and MaxCircuitDirtiness (10 mins), which describes
  25000. how long we're willing to make use of an already-dirty circuit.
  25001. - Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND
  25002. circ as necessary, if there are any completed ones lying around
  25003. when we try to launch one.
  25004. - Make hidden services try to establish a rendezvous for 30 seconds,
  25005. rather than for n (where n=3) attempts to build a circuit.
  25006. - Change SHUTDOWN_WAIT_LENGTH from a fixed 30 secs to a config option
  25007. "ShutdownWaitLength".
  25008. - Try to be more zealous about calling connection_edge_end when
  25009. things go bad with edge conns in connection.c.
  25010. - Revise tor-spec to add more/better stream end reasons.
  25011. - Revise all calls to connection_edge_end to avoid sending "misc",
  25012. and to take errno into account where possible.
  25013. o Bug fixes:
  25014. - Fix a race condition that can trigger an assert, when we have a
  25015. pending create cell and an OR connection fails right then.
  25016. - Fix several double-mark-for-close bugs, e.g. where we were finding
  25017. a conn for a cell even if that conn is already marked for close.
  25018. - Make sequence of log messages when starting on win32 with no config
  25019. file more reasonable.
  25020. - When choosing an exit node for a new non-internal circ, don't take
  25021. into account whether it'll be useful for any pending x.onion
  25022. addresses -- it won't.
  25023. - Turn addr_policy_compare from a tristate to a quadstate; this should
  25024. help address our "Ah, you allow 1.2.3.4:80. You are a good choice
  25025. for google.com" problem.
  25026. - Make "platform" string in descriptor more accurate for Win32 servers,
  25027. so it's not just "unknown platform".
  25028. - Fix an edge case in parsing config options (thanks weasel).
  25029. If they say "--" on the commandline, it's not an option.
  25030. - Reject odd-looking addresses at the client (e.g. addresses that
  25031. contain a colon), rather than having the server drop them because
  25032. they're malformed.
  25033. - tor-resolve requests were ignoring .exit if there was a working circuit
  25034. they could use instead.
  25035. - REUSEADDR on normal platforms means you can rebind to the port
  25036. right after somebody else has let it go. But REUSEADDR on win32
  25037. means to let you bind to the port _even when somebody else
  25038. already has it bound_! So, don't do that on Win32.
  25039. - Change version parsing logic: a version is "obsolete" if it is not
  25040. recommended and (1) there is a newer recommended version in the
  25041. same series, or (2) there are no recommended versions in the same
  25042. series, but there are some recommended versions in a newer series.
  25043. A version is "new" if it is newer than any recommended version in
  25044. the same series.
  25045. - Stop most cases of hanging up on a socks connection without sending
  25046. the socks reject.
  25047. o Helpful fixes:
  25048. - Require BandwidthRate to be at least 20kB/s for servers.
  25049. - When a dirserver causes you to give a warn, mention which dirserver
  25050. it was.
  25051. - New config option DirAllowPrivateAddresses for authdirservers.
  25052. Now by default they refuse router descriptors that have non-IP or
  25053. private-IP addresses.
  25054. - Stop publishing socksport in the directory, since it's not
  25055. actually meant to be public. For compatibility, publish a 0 there
  25056. for now.
  25057. - Change DirFetchPeriod/StatusFetchPeriod to have a special "Be
  25058. smart" value, that is low for servers and high for clients.
  25059. - If our clock jumps forward by 100 seconds or more, assume something
  25060. has gone wrong with our network and abandon all not-yet-used circs.
  25061. - Warn when exit policy implicitly allows local addresses.
  25062. - If we get an incredibly skewed timestamp from a dirserver mirror
  25063. that isn't a verified OR, don't warn -- it's probably him that's
  25064. wrong.
  25065. - Since we ship our own Privoxy on OS X, tweak it so it doesn't write
  25066. cookies to disk and doesn't log each web request to disk. (Thanks
  25067. to Brett Carrington for pointing this out.)
  25068. - When a client asks us for a dir mirror and we don't have one,
  25069. launch an attempt to get a fresh one.
  25070. - If we're hibernating and we get a SIGINT, exit immediately.
  25071. - Add --with-dmalloc ./configure option, to track memory leaks.
  25072. - And try to free all memory on closing, so we can detect what
  25073. we're leaking.
  25074. - Cache local dns resolves correctly even when they're .exit
  25075. addresses.
  25076. - Give a better warning when some other server advertises an
  25077. ORPort that is actually an apache running ssl.
  25078. - Add "opt hibernating 1" to server descriptor to make it clearer
  25079. whether the server is hibernating.
  25080. Changes in version 0.0.9.6 - 2005-03-24
  25081. o Bugfixes on 0.0.9.x (crashes and asserts):
  25082. - Add new end stream reasons to maintenance branch. Fix bug where
  25083. reason (8) could trigger an assert. Prevent bug from recurring.
  25084. - Apparently win32 stat wants paths to not end with a slash.
  25085. - Fix assert triggers in assert_cpath_layer_ok(), where we were
  25086. blowing away the circuit that conn->cpath_layer points to, then
  25087. checking to see if the circ is well-formed. Backport check to make
  25088. sure we dont use the cpath on a closed connection.
  25089. - Prevent circuit_resume_edge_reading_helper() from trying to package
  25090. inbufs for marked-for-close streams.
  25091. - Don't crash on hup if your options->address has become unresolvable.
  25092. - Some systems (like OS X) sometimes accept() a connection and tell
  25093. you the remote host is 0.0.0.0:0. If this happens, due to some
  25094. other mis-features, we get confused; so refuse the conn for now.
  25095. o Bugfixes on 0.0.9.x (other):
  25096. - Fix harmless but scary "Unrecognized content encoding" warn message.
  25097. - Add new stream error reason: TORPROTOCOL reason means "you are not
  25098. speaking a version of Tor I understand; say bye-bye to your stream."
  25099. - Be willing to cache directories from up to ROUTER_MAX_AGE seconds
  25100. into the future, now that we are more tolerant of skew. This
  25101. resolves a bug where a Tor server would refuse to cache a directory
  25102. because all the directories it gets are too far in the future;
  25103. yet the Tor server never logs any complaints about clock skew.
  25104. - Mac packaging magic: make man pages useable, and do not overwrite
  25105. existing torrc files.
  25106. - Make OS X log happily to /var/log/tor/tor.log
  25107. Changes in version 0.0.9.5 - 2005-02-22
  25108. o Bugfixes on 0.0.9.x:
  25109. - Fix an assert race at exit nodes when resolve requests fail.
  25110. - Stop picking unverified dir mirrors--it only leads to misery.
  25111. - Patch from Matt Edman to make NT services work better. Service
  25112. support is still not compiled into the executable by default.
  25113. - Patch from Dmitri Bely so the Tor service runs better under
  25114. the win32 SYSTEM account.
  25115. - Make tor-resolve actually work (?) on Win32.
  25116. - Fix a sign bug when getrlimit claims to have 4+ billion
  25117. file descriptors available.
  25118. - Stop refusing to start when bandwidthburst == bandwidthrate.
  25119. - When create cells have been on the onion queue more than five
  25120. seconds, just send back a destroy and take them off the list.
  25121. Changes in version 0.0.9.4 - 2005-02-03
  25122. o Bugfixes on 0.0.9:
  25123. - Fix an assert bug that took down most of our servers: when
  25124. a server claims to have 1 GB of bandwidthburst, don't
  25125. freak out.
  25126. - Don't crash as badly if we have spawned the max allowed number
  25127. of dnsworkers, or we're out of file descriptors.
  25128. - Block more file-sharing ports in the default exit policy.
  25129. - MaxConn is now automatically set to the hard limit of max
  25130. file descriptors we're allowed (ulimit -n), minus a few for
  25131. logs, etc.
  25132. - Give a clearer message when servers need to raise their
  25133. ulimit -n when they start running out of file descriptors.
  25134. - SGI Compatibility patches from Jan Schaumann.
  25135. - Tolerate a corrupt cached directory better.
  25136. - When a dirserver hasn't approved your server, list which one.
  25137. - Go into soft hibernation after 95% of the bandwidth is used,
  25138. not 99%. This is especially important for daily hibernators who
  25139. have a small accounting max. Hopefully it will result in fewer
  25140. cut connections when the hard hibernation starts.
  25141. - Load-balance better when using servers that claim more than
  25142. 800kB/s of capacity.
  25143. - Make NT services work (experimental, only used if compiled in).
  25144. Changes in version 0.0.9.3 - 2005-01-21
  25145. o Bugfixes on 0.0.9:
  25146. - Backport the cpu use fixes from main branch, so busy servers won't
  25147. need as much processor time.
  25148. - Work better when we go offline and then come back, or when we
  25149. run Tor at boot before the network is up. We do this by
  25150. optimistically trying to fetch a new directory whenever an
  25151. application request comes in and we think we're offline -- the
  25152. human is hopefully a good measure of when the network is back.
  25153. - Backport some minimal hidserv bugfixes: keep rend circuits open as
  25154. long as you keep using them; actually publish hidserv descriptors
  25155. shortly after they change, rather than waiting 20-40 minutes.
  25156. - Enable Mac startup script by default.
  25157. - Fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas.
  25158. - When you update AllowUnverifiedNodes or FirewallPorts via the
  25159. controller's setconf feature, we were always appending, never
  25160. resetting.
  25161. - When you update HiddenServiceDir via setconf, it was screwing up
  25162. the order of reading the lines, making it fail.
  25163. - Do not rewrite a cached directory back to the cache; otherwise we
  25164. will think it is recent and not fetch a newer one on startup.
  25165. - Workaround for webservers that lie about Content-Encoding: Tor
  25166. now tries to autodetect compressed directories and compression
  25167. itself. This lets us Proxypass dir fetches through apache.
  25168. Changes in version 0.0.9.2 - 2005-01-04
  25169. o Bugfixes on 0.0.9 (crashes and asserts):
  25170. - Fix an assert on startup when the disk is full and you're logging
  25171. to a file.
  25172. - If you do socks4 with an IP of 0.0.0.x but *don't* provide a socks4a
  25173. style address, then we'd crash.
  25174. - Fix an assert trigger when the running-routers string we get from
  25175. a dirserver is broken.
  25176. - Make worker threads start and run on win32. Now win32 servers
  25177. may work better.
  25178. - Bandaid (not actually fix, but now it doesn't crash) an assert
  25179. where the dns worker dies mysteriously and the main Tor process
  25180. doesn't remember anything about the address it was resolving.
  25181. o Bugfixes on 0.0.9 (Win32):
  25182. - Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's
  25183. name out of the warning/assert messages.
  25184. - Fix a superficial "unhandled error on read" bug on win32.
  25185. - The win32 installer no longer requires a click-through for our
  25186. license, since our Free Software license grants rights but does not
  25187. take any away.
  25188. - Win32: When connecting to a dirserver fails, try another one
  25189. immediately. (This was already working for non-win32 Tors.)
  25190. - Stop trying to parse $HOME on win32 when hunting for default
  25191. DataDirectory.
  25192. - Make tor-resolve.c work on win32 by calling network_init().
  25193. o Bugfixes on 0.0.9 (other):
  25194. - Make 0.0.9.x build on Solaris again.
  25195. - Due to a fencepost error, we were blowing away the \n when reporting
  25196. confvalue items in the controller. So asking for multiple config
  25197. values at once couldn't work.
  25198. - When listing circuits that are pending on an opening OR connection,
  25199. if we're an OR we were listing circuits that *end* at us as
  25200. being pending on every listener, dns/cpu worker, etc. Stop that.
  25201. - Dirservers were failing to create 'running-routers' or 'directory'
  25202. strings if we had more than some threshold of routers. Fix them so
  25203. they can handle any number of routers.
  25204. - Fix a superficial "Duplicate mark for close" bug.
  25205. - Stop checking for clock skew for OR connections, even for servers.
  25206. - Fix a fencepost error that was chopping off the last letter of any
  25207. nickname that is the maximum allowed nickname length.
  25208. - Update URLs in log messages so they point to the new website.
  25209. - Fix a potential problem in mangling server private keys while
  25210. writing to disk (not triggered yet, as far as we know).
  25211. - Include the licenses for other free software we include in Tor,
  25212. now that we're shipping binary distributions more regularly.
  25213. Changes in version 0.0.9.1 - 2004-12-15
  25214. o Bugfixes on 0.0.9:
  25215. - Make hibernation actually work.
  25216. - Make HashedControlPassword config option work.
  25217. - When we're reporting event circuit status to a controller,
  25218. don't use the stream status code.
  25219. Changes in version 0.0.9 - 2004-12-12
  25220. o Cleanups:
  25221. - Clean up manpage and torrc.sample file.
  25222. - Clean up severities and text of log warnings.
  25223. o Mistakes:
  25224. - Make servers trigger an assert when they enter hibernation.
  25225. Changes in version 0.0.9rc7 - 2004-12-08
  25226. o Bugfixes on 0.0.9rc:
  25227. - Fix a stack-trashing crash when an exit node begins hibernating.
  25228. - Avoid looking at unallocated memory while considering which
  25229. ports we need to build circuits to cover.
  25230. - Stop a sigpipe: when an 'end' cell races with eof from the app,
  25231. we shouldn't hold-open-until-flush if the eof arrived first.
  25232. - Fix a bug with init_cookie_authentication() in the controller.
  25233. - When recommending new-format log lines, if the upper bound is
  25234. LOG_ERR, leave it implicit.
  25235. o Bugfixes on 0.0.8.1:
  25236. - Fix a whole slew of memory leaks.
  25237. - Fix isspace() and friends so they still make Solaris happy
  25238. but also so they don't trigger asserts on win32.
  25239. - Fix parse_iso_time on platforms without strptime (eg win32).
  25240. - win32: tolerate extra "readable" events better.
  25241. - win32: when being multithreaded, leave parent fdarray open.
  25242. - Make unit tests work on win32.
  25243. Changes in version 0.0.9rc6 - 2004-12-06
  25244. o Bugfixes on 0.0.9pre:
  25245. - Clean up some more integer underflow opportunities (not exploitable
  25246. we think).
  25247. - While hibernating, hup should not regrow our listeners.
  25248. - Send an end to the streams we close when we hibernate, rather
  25249. than just chopping them off.
  25250. - React to eof immediately on non-open edge connections.
  25251. o Bugfixes on 0.0.8.1:
  25252. - Calculate timeout for waiting for a connected cell from the time
  25253. we sent the begin cell, not from the time the stream started. If
  25254. it took a long time to establish the circuit, we would time out
  25255. right after sending the begin cell.
  25256. - Fix router_compare_addr_to_addr_policy: it was not treating a port
  25257. of * as always matching, so we were picking reject *:* nodes as
  25258. exit nodes too. Oops.
  25259. o Features:
  25260. - New circuit building strategy: keep a list of ports that we've
  25261. used in the past 6 hours, and always try to have 2 circuits open
  25262. or on the way that will handle each such port. Seed us with port
  25263. 80 so web users won't complain that Tor is "slow to start up".
  25264. - Make kill -USR1 dump more useful stats about circuits.
  25265. - When warning about retrying or giving up, print the address, so
  25266. the user knows which one it's talking about.
  25267. - If you haven't used a clean circuit in an hour, throw it away,
  25268. just to be on the safe side. (This means after 6 hours a totally
  25269. unused Tor client will have no circuits open.)
  25270. Changes in version 0.0.9rc5 - 2004-12-01
  25271. o Bugfixes on 0.0.8.1:
  25272. - Disallow NDEBUG. We don't ever want anybody to turn off debug.
  25273. - Let resolve conns retry/expire also, rather than sticking around
  25274. forever.
  25275. - If we are using select, make sure we stay within FD_SETSIZE.
  25276. o Bugfixes on 0.0.9pre:
  25277. - Fix integer underflow in tor_vsnprintf() that may be exploitable,
  25278. but doesn't seem to be currently; thanks to Ilja van Sprundel for
  25279. finding it.
  25280. - If anybody set DirFetchPostPeriod, give them StatusFetchPeriod
  25281. instead. Impose minima and maxima for all *Period options; impose
  25282. even tighter maxima for fetching if we are a caching dirserver.
  25283. Clip rather than rejecting.
  25284. - Fetch cached running-routers from servers that serve it (that is,
  25285. authdirservers and servers running 0.0.9rc5-cvs or later.)
  25286. o Features:
  25287. - Accept *:706 (silc) in default exit policy.
  25288. - Implement new versioning format for post 0.1.
  25289. - Support "foo.nickname.exit" addresses, to let Alice request the
  25290. address "foo" as viewed by exit node "nickname". Based on a patch
  25291. by Geoff Goodell.
  25292. - Make tor --version --version dump the cvs Id of every file.
  25293. Changes in version 0.0.9rc4 - 2004-11-28
  25294. o Bugfixes on 0.0.8.1:
  25295. - Make windows sockets actually non-blocking (oops), and handle
  25296. win32 socket errors better.
  25297. o Bugfixes on 0.0.9rc1:
  25298. - Actually catch the -USR2 signal.
  25299. Changes in version 0.0.9rc3 - 2004-11-25
  25300. o Bugfixes on 0.0.8.1:
  25301. - Flush the log file descriptor after we print "Tor opening log file",
  25302. so we don't see those messages days later.
  25303. o Bugfixes on 0.0.9rc1:
  25304. - Make tor-resolve work again.
  25305. - Avoid infinite loop in tor-resolve if tor hangs up on it.
  25306. - Fix an assert trigger for clients/servers handling resolves.
  25307. Changes in version 0.0.9rc2 - 2004-11-24
  25308. o Bugfixes on 0.0.9rc1:
  25309. - I broke socks5 support while fixing the eof bug.
  25310. - Allow unitless bandwidths and intervals; they default to bytes
  25311. and seconds.
  25312. - New servers don't start out hibernating; they are active until
  25313. they run out of bytes, so they have a better estimate of how
  25314. long it takes, and so their operators can know they're working.
  25315. Changes in version 0.0.9rc1 - 2004-11-23
  25316. o Bugfixes on 0.0.8.1:
  25317. - Finally fix a bug that's been plaguing us for a year:
  25318. With high load, circuit package window was reaching 0. Whenever
  25319. we got a circuit-level sendme, we were reading a lot on each
  25320. socket, but only writing out a bit. So we would eventually reach
  25321. eof. This would be noticed and acted on even when there were still
  25322. bytes sitting in the inbuf.
  25323. - When poll() is interrupted, we shouldn't believe the revents values.
  25324. o Bugfixes on 0.0.9pre6:
  25325. - Fix hibernate bug that caused pre6 to be broken.
  25326. - Don't keep rephist info for routers that haven't had activity for
  25327. 24 hours. (This matters now that clients have keys, since we track
  25328. them too.)
  25329. - Never call close_temp_logs while validating log options.
  25330. - Fix backslash-escaping on tor.sh.in and torctl.in.
  25331. o Features:
  25332. - Implement weekly/monthly/daily accounting: now you specify your
  25333. hibernation properties by
  25334. AccountingMax N bytes|KB|MB|GB|TB
  25335. AccountingStart day|week|month [day] HH:MM
  25336. Defaults to "month 1 0:00".
  25337. - Let bandwidth and interval config options be specified as 5 bytes,
  25338. kb, kilobytes, etc; and as seconds, minutes, hours, days, weeks.
  25339. - kill -USR2 now moves all logs to loglevel debug (kill -HUP to
  25340. get back to normal.)
  25341. - If your requested entry or exit node has advertised bandwidth 0,
  25342. pick it anyway.
  25343. - Be more greedy about filling up relay cells -- we try reading again
  25344. once we've processed the stuff we read, in case enough has arrived
  25345. to fill the last cell completely.
  25346. - Apply NT service patch from Osamu Fujino. Still needs more work.
  25347. Changes in version 0.0.9pre6 - 2004-11-15
  25348. o Bugfixes on 0.0.8.1:
  25349. - Fix assert failure on malformed socks4a requests.
  25350. - Use identity comparison, not nickname comparison, to choose which
  25351. half of circuit-ID-space each side gets to use. This is needed
  25352. because sometimes we think of a router as a nickname, and sometimes
  25353. as a hex ID, and we can't predict what the other side will do.
  25354. - Catch and ignore SIGXFSZ signals when log files exceed 2GB; our
  25355. write() call will fail and we handle it there.
  25356. - Add a FAST_SMARTLIST define to optionally inline smartlist_get
  25357. and smartlist_len, which are two major profiling offenders.
  25358. o Bugfixes on 0.0.9pre5:
  25359. - Fix a bug in read_all that was corrupting config files on windows.
  25360. - When we're raising the max number of open file descriptors to
  25361. 'unlimited', don't log that we just raised it to '-1'.
  25362. - Include event code with events, as required by control-spec.txt.
  25363. - Don't give a fingerprint when clients do --list-fingerprint:
  25364. it's misleading, because it will never be the same again.
  25365. - Stop using strlcpy in tor_strndup, since it was slowing us
  25366. down a lot.
  25367. - Remove warn on startup about missing cached-directory file.
  25368. - Make kill -USR1 work again.
  25369. - Hibernate if we start tor during the "wait for wakeup-time" phase
  25370. of an accounting interval. Log our hibernation plans better.
  25371. - Authoritative dirservers now also cache their directory, so they
  25372. have it on start-up.
  25373. o Features:
  25374. - Fetch running-routers; cache running-routers; compress
  25375. running-routers; serve compressed running-routers.z
  25376. - Add NSI installer script contributed by J Doe.
  25377. - Commit VC6 and VC7 workspace/project files.
  25378. - Commit a tor.spec for making RPM files, with help from jbash.
  25379. - Add contrib/torctl.in contributed by Glenn Fink.
  25380. - Implement the control-spec's SAVECONF command, to write your
  25381. configuration to torrc.
  25382. - Get cookie authentication for the controller closer to working.
  25383. - Include control-spec.txt in the tarball.
  25384. - When set_conf changes our server descriptor, upload a new copy.
  25385. But don't upload it too often if there are frequent changes.
  25386. - Document authentication config in man page, and document signals
  25387. we catch.
  25388. - Clean up confusing parts of man page and torrc.sample.
  25389. - Make expand_filename handle ~ and ~username.
  25390. - Use autoconf to enable largefile support where necessary. Use
  25391. ftello where available, since ftell can fail at 2GB.
  25392. - Distinguish between TOR_TLS_CLOSE and TOR_TLS_ERROR, so we can
  25393. log more informatively.
  25394. - Give a slightly more useful output for "tor -h".
  25395. - Refuse application socks connections to port 0.
  25396. - Check clock skew for verified servers, but allow unverified
  25397. servers and clients to have any clock skew.
  25398. - Break DirFetchPostPeriod into:
  25399. - DirFetchPeriod for fetching full directory,
  25400. - StatusFetchPeriod for fetching running-routers,
  25401. - DirPostPeriod for posting server descriptor,
  25402. - RendPostPeriod for posting hidden service descriptors.
  25403. - Make sure the hidden service descriptors are at a random offset
  25404. from each other, to hinder linkability.
  25405. Changes in version 0.0.9pre5 - 2004-11-09
  25406. o Bugfixes on 0.0.9pre4:
  25407. - Fix a seg fault in unit tests (doesn't affect main program).
  25408. - Fix an assert bug where a hidden service provider would fail if
  25409. the first hop of his rendezvous circuit was down.
  25410. - Hidden service operators now correctly handle version 1 style
  25411. INTRODUCE1 cells (nobody generates them still, so not a critical
  25412. bug).
  25413. - If do_hup fails, actually notice.
  25414. - Handle more errnos from accept() without closing the listener.
  25415. Some OpenBSD machines were closing their listeners because
  25416. they ran out of file descriptors.
  25417. - Send resolve cells to exit routers that are running a new
  25418. enough version of the resolve code to work right.
  25419. - Better handling of winsock includes on non-MSV win32 compilers.
  25420. - Some people had wrapped their tor client/server in a script
  25421. that would restart it whenever it died. This did not play well
  25422. with our "shut down if your version is obsolete" code. Now people
  25423. don't fetch a new directory if their local cached version is
  25424. recent enough.
  25425. - Make our autogen.sh work on ksh as well as bash.
  25426. o Major Features:
  25427. - Hibernation: New config option "AccountingMaxKB" lets you
  25428. set how many KBytes per month you want to allow your server to
  25429. consume. Rather than spreading those bytes out evenly over the
  25430. month, we instead hibernate for some of the month and pop up
  25431. at a deterministic time, work until the bytes are consumed, then
  25432. hibernate again. Config option "MonthlyAccountingStart" lets you
  25433. specify which day of the month your billing cycle starts on.
  25434. - Control interface: a separate program can now talk to your
  25435. client/server over a socket, and get/set config options, receive
  25436. notifications of circuits and streams starting/finishing/dying,
  25437. bandwidth used, etc. The next step is to get some GUIs working.
  25438. Let us know if you want to help out. See doc/control-spec.txt .
  25439. - Ship a contrib/tor-control.py as an example script to interact
  25440. with the control port.
  25441. - "tor --hash-password zzyxz" will output a salted password for
  25442. use in authenticating to the control interface.
  25443. - New log format in config:
  25444. "Log minsev[-maxsev] stdout|stderr|syslog" or
  25445. "Log minsev[-maxsev] file /var/foo"
  25446. o Minor Features:
  25447. - DirPolicy config option, to let people reject incoming addresses
  25448. from their dirserver.
  25449. - "tor --list-fingerprint" will list your identity key fingerprint
  25450. and then exit.
  25451. - Add "pass" target for RedirectExit, to make it easier to break
  25452. out of a sequence of RedirectExit rules.
  25453. - Clients now generate a TLS cert too, in preparation for having
  25454. them act more like real nodes.
  25455. - Ship src/win32/ in the tarball, so people can use it to build.
  25456. - Make old win32 fall back to CWD if SHGetSpecialFolderLocation
  25457. is broken.
  25458. - New "router-status" line in directory, to better bind each verified
  25459. nickname to its identity key.
  25460. - Deprecate unofficial config option abbreviations, and abbreviations
  25461. not on the command line.
  25462. - Add a pure-C tor-resolve implementation.
  25463. - Use getrlimit and friends to ensure we can reach MaxConn (currently
  25464. 1024) file descriptors.
  25465. o Code security improvements, inspired by Ilja:
  25466. - Replace sprintf with snprintf. (I think they were all safe, but
  25467. hey.)
  25468. - Replace strcpy/strncpy with strlcpy in more places.
  25469. - Avoid strcat; use snprintf or strlcat instead.
  25470. - snprintf wrapper with consistent (though not C99) overflow behavior.
  25471. Changes in version 0.0.9pre4 - 2004-10-17
  25472. o Bugfixes on 0.0.9pre3:
  25473. - If the server doesn't specify an exit policy, use the real default
  25474. exit policy, not reject *:*.
  25475. - Ignore fascistfirewall when uploading/downloading hidden service
  25476. descriptors, since we go through Tor for those; and when using
  25477. an HttpProxy, since we assume it can reach them all.
  25478. - When looking for an authoritative dirserver, use only the ones
  25479. configured at boot. Don't bother looking in the directory.
  25480. - The rest of the fix for get_default_conf_file() on older win32.
  25481. - Make 'Routerfile' config option obsolete.
  25482. o Features:
  25483. - New 'MyFamily nick1,...' config option for a server to
  25484. specify other servers that shouldn't be used in the same circuit
  25485. with it. Only believed if nick1 also specifies us.
  25486. - New 'NodeFamily nick1,nick2,...' config option for a client to
  25487. specify nodes that it doesn't want to use in the same circuit.
  25488. - New 'Redirectexit pattern address:port' config option for a
  25489. server to redirect exit connections, e.g. to a local squid.
  25490. Changes in version 0.0.9pre3 - 2004-10-13
  25491. o Bugfixes on 0.0.8.1:
  25492. - Better torrc example lines for dirbindaddress and orbindaddress.
  25493. - Improved bounds checking on parsed ints (e.g. config options and
  25494. the ones we find in directories.)
  25495. - Better handling of size_t vs int, so we're more robust on 64
  25496. bit platforms.
  25497. - Fix the rest of the bug where a newly started OR would appear
  25498. as unverified even after we've added his fingerprint and hupped
  25499. the dirserver.
  25500. - Fix a bug from 0.0.7: when read() failed on a stream, we would
  25501. close it without sending back an end. So 'connection refused'
  25502. would simply be ignored and the user would get no response.
  25503. o Bugfixes on 0.0.9pre2:
  25504. - Serving the cached-on-disk directory to people is bad. We now
  25505. provide no directory until we've fetched a fresh one.
  25506. - Workaround for bug on windows where cached-directories get crlf
  25507. corruption.
  25508. - Make get_default_conf_file() work on older windows too.
  25509. - If we write a *:* exit policy line in the descriptor, don't write
  25510. any more exit policy lines.
  25511. o Features:
  25512. - Use only 0.0.9pre1 and later servers for resolve cells.
  25513. - Make the dirservers file obsolete.
  25514. - Include a dir-signing-key token in directories to tell the
  25515. parsing entity which key is being used to sign.
  25516. - Remove the built-in bulky default dirservers string.
  25517. - New config option "Dirserver %s:%d [fingerprint]", which can be
  25518. repeated as many times as needed. If no dirservers specified,
  25519. default to moria1,moria2,tor26.
  25520. - Make moria2 advertise a dirport of 80, so people behind firewalls
  25521. will be able to get a directory.
  25522. - Http proxy support
  25523. - Dirservers translate requests for http://%s:%d/x to /x
  25524. - You can specify "HttpProxy %s[:%d]" and all dir fetches will
  25525. be routed through this host.
  25526. - Clients ask for /tor/x rather than /x for new enough dirservers.
  25527. This way we can one day coexist peacefully with apache.
  25528. - Clients specify a "Host: %s%d" http header, to be compatible
  25529. with more proxies, and so running squid on an exit node can work.
  25530. Changes in version 0.0.8.1 - 2004-10-13
  25531. o Bugfixes:
  25532. - Fix a seg fault that can be triggered remotely for Tor
  25533. clients/servers with an open dirport.
  25534. - Fix a rare assert trigger, where routerinfos for entries in
  25535. our cpath would expire while we're building the path.
  25536. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  25537. - Fix a rare seg fault for people running hidden services on
  25538. intermittent connections.
  25539. - Fix a bug in parsing opt keywords with objects.
  25540. - Fix a stale pointer assert bug when a stream detaches and
  25541. reattaches.
  25542. - Fix a string format vulnerability (probably not exploitable)
  25543. in reporting stats locally.
  25544. - Fix an assert trigger: sometimes launching circuits can fail
  25545. immediately, e.g. because too many circuits have failed recently.
  25546. - Fix a compile warning on 64 bit platforms.
  25547. Changes in version 0.0.9pre2 - 2004-10-03
  25548. o Bugfixes:
  25549. - Make fetching a cached directory work for 64-bit platforms too.
  25550. - Make zlib.h a required header, not an optional header.
  25551. Changes in version 0.0.9pre1 - 2004-10-01
  25552. o Bugfixes:
  25553. - Stop using separate defaults for no-config-file and
  25554. empty-config-file. Now you have to explicitly turn off SocksPort,
  25555. if you don't want it open.
  25556. - Fix a bug in OutboundBindAddress so it (hopefully) works.
  25557. - Improve man page to mention more of the 0.0.8 features.
  25558. - Fix a rare seg fault for people running hidden services on
  25559. intermittent connections.
  25560. - Change our file IO stuff (especially wrt OpenSSL) so win32 is
  25561. happier.
  25562. - Fix more dns related bugs: send back resolve_failed and end cells
  25563. more reliably when the resolve fails, rather than closing the
  25564. circuit and then trying to send the cell. Also attach dummy resolve
  25565. connections to a circuit *before* calling dns_resolve(), to fix
  25566. a bug where cached answers would never be sent in RESOLVED cells.
  25567. - When we run out of disk space, or other log writing error, don't
  25568. crash. Just stop logging to that log and continue.
  25569. - We were starting to daemonize before we opened our logs, so if
  25570. there were any problems opening logs, we would complain to stderr,
  25571. which wouldn't work, and then mysteriously exit.
  25572. - Fix a rare bug where sometimes a verified OR would connect to us
  25573. before he'd uploaded his descriptor, which would cause us to
  25574. assign conn->nickname as though he's unverified. Now we look through
  25575. the fingerprint list to see if he's there.
  25576. - Fix a rare assert trigger, where routerinfos for entries in
  25577. our cpath would expire while we're building the path.
  25578. o Features:
  25579. - Clients can ask dirservers for /dir.z to get a compressed version
  25580. of the directory. Only works for servers running 0.0.9, of course.
  25581. - Make clients cache directories and use them to seed their router
  25582. lists at startup. This means clients have a datadir again.
  25583. - Configuration infrastructure support for warning on obsolete
  25584. options.
  25585. - Respond to content-encoding headers by trying to uncompress as
  25586. appropriate.
  25587. - Reply with a deflated directory when a client asks for "dir.z".
  25588. We could use allow-encodings instead, but allow-encodings isn't
  25589. specified in HTTP 1.0.
  25590. - Raise the max dns workers from 50 to 100.
  25591. - Discourage people from setting their dirfetchpostperiod more often
  25592. than once per minute.
  25593. - Protect dirservers from overzealous descriptor uploading -- wait
  25594. 10 seconds after directory gets dirty, before regenerating.
  25595. Changes in version 0.0.8 - 2004-08-25
  25596. o Port it to SunOS 5.9 / Athena
  25597. Changes in version 0.0.8rc2 - 2004-08-20
  25598. o Make it compile on cygwin again.
  25599. o When picking unverified routers, skip those with low uptime and/or
  25600. low bandwidth, depending on what properties you care about.
  25601. Changes in version 0.0.8rc1 - 2004-08-18
  25602. o Changes from 0.0.7.3:
  25603. - Bugfixes:
  25604. - Fix assert triggers: if the other side returns an address 0.0.0.0,
  25605. don't put it into the client dns cache.
  25606. - If a begin failed due to exit policy, but we believe the IP address
  25607. should have been allowed, switch that router to exitpolicy reject *:*
  25608. until we get our next directory.
  25609. - Features:
  25610. - Clients choose nodes proportional to advertised bandwidth.
  25611. - Avoid using nodes with low uptime as introduction points.
  25612. - Handle servers with dynamic IP addresses: don't replace
  25613. options->Address with the resolved one at startup, and
  25614. detect our address right before we make a routerinfo each time.
  25615. - 'FascistFirewall' option to pick dirservers and ORs on specific
  25616. ports; plus 'FirewallPorts' config option to tell FascistFirewall
  25617. which ports are open. (Defaults to 80,443)
  25618. - Be more aggressive about trying to make circuits when the network
  25619. has changed (e.g. when you unsuspend your laptop).
  25620. - Check for time skew on http headers; report date in response to
  25621. "GET /".
  25622. - If the entrynode config line has only one node, don't pick it as
  25623. an exitnode.
  25624. - Add strict{entry|exit}nodes config options. If set to 1, then
  25625. we refuse to build circuits that don't include the specified entry
  25626. or exit nodes.
  25627. - OutboundBindAddress config option, to bind to a specific
  25628. IP address for outgoing connect()s.
  25629. - End truncated log entries (e.g. directories) with "[truncated]".
  25630. o Patches to 0.0.8preX:
  25631. - Bugfixes:
  25632. - Patches to compile and run on win32 again (maybe)?
  25633. - Fix crash when looking for ~/.torrc with no $HOME set.
  25634. - Fix a race bug in the unit tests.
  25635. - Handle verified/unverified name collisions better when new
  25636. routerinfo's arrive in a directory.
  25637. - Sometimes routers were getting entered into the stats before
  25638. we'd assigned their identity_digest. Oops.
  25639. - Only pick and establish intro points after we've gotten a
  25640. directory.
  25641. - Features:
  25642. - AllowUnverifiedNodes config option to let circuits choose no-name
  25643. routers in entry,middle,exit,introduction,rendezvous positions.
  25644. Allow middle and rendezvous positions by default.
  25645. - Add a man page for tor-resolve.
  25646. Changes in version 0.0.7.3 - 2004-08-12
  25647. o Stop dnsworkers from triggering an assert failure when you
  25648. ask them to resolve the host "".
  25649. Changes in version 0.0.8pre3 - 2004-08-09
  25650. o Changes from 0.0.7.2:
  25651. - Allow multiple ORs with same nickname in routerlist -- now when
  25652. people give us one identity key for a nickname, then later
  25653. another, we don't constantly complain until the first expires.
  25654. - Remember used bandwidth (both in and out), and publish 15-minute
  25655. snapshots for the past day into our descriptor.
  25656. - You can now fetch $DIRURL/running-routers to get just the
  25657. running-routers line, not the whole descriptor list. (But
  25658. clients don't use this yet.)
  25659. - When people mistakenly use Tor as an http proxy, point them
  25660. at the tor-doc.html rather than the INSTALL.
  25661. - Remove our mostly unused -- and broken -- hex_encode()
  25662. function. Use base16_encode() instead. (Thanks to Timo Lindfors
  25663. for pointing out this bug.)
  25664. - Rotate onion keys every 12 hours, not every 2 hours, so we have
  25665. fewer problems with people using the wrong key.
  25666. - Change the default exit policy to reject the default edonkey,
  25667. kazaa, gnutella ports.
  25668. - Add replace_file() to util.[ch] to handle win32's rename().
  25669. o Changes from 0.0.8preX:
  25670. - Fix two bugs in saving onion keys to disk when rotating, so
  25671. hopefully we'll get fewer people using old onion keys.
  25672. - Fix an assert error that was making SocksPolicy not work.
  25673. - Be willing to expire routers that have an open dirport -- it's
  25674. just the authoritative dirservers we want to not forget.
  25675. - Reject tor-resolve requests for .onion addresses early, so we
  25676. don't build a whole rendezvous circuit and then fail.
  25677. - When you're warning a server that he's unverified, don't cry
  25678. wolf unpredictably.
  25679. - Fix a race condition: don't try to extend onto a connection
  25680. that's still handshaking.
  25681. - For servers in clique mode, require the conn to be open before
  25682. you'll choose it for your path.
  25683. - Fix some cosmetic bugs about duplicate mark-for-close, lack of
  25684. end relay cell, etc.
  25685. - Measure bandwidth capacity over the last 24 hours, not just 12
  25686. - Bugfix: authoritative dirservers were making and signing a new
  25687. directory for each client, rather than reusing the cached one.
  25688. Changes in version 0.0.8pre2 - 2004-08-04
  25689. o Changes from 0.0.7.2:
  25690. - Security fixes:
  25691. - Check directory signature _before_ you decide whether you're
  25692. you're running an obsolete version and should exit.
  25693. - Check directory signature _before_ you parse the running-routers
  25694. list to decide who's running or verified.
  25695. - Bugfixes and features:
  25696. - Check return value of fclose while writing to disk, so we don't
  25697. end up with broken files when servers run out of disk space.
  25698. - Log a warning if the user uses an unsafe socks variant, so people
  25699. are more likely to learn about privoxy or socat.
  25700. - Dirservers now include RFC1123-style dates in the HTTP headers,
  25701. which one day we will use to better detect clock skew.
  25702. o Changes from 0.0.8pre1:
  25703. - Make it compile without warnings again on win32.
  25704. - Log a warning if you're running an unverified server, to let you
  25705. know you might want to get it verified.
  25706. - Only pick a default nickname if you plan to be a server.
  25707. Changes in version 0.0.8pre1 - 2004-07-23
  25708. o Bugfixes:
  25709. - Made our unit tests compile again on OpenBSD 3.5, and tor
  25710. itself compile again on OpenBSD on a sparc64.
  25711. - We were neglecting milliseconds when logging on win32, so
  25712. everything appeared to happen at the beginning of each second.
  25713. o Protocol changes:
  25714. - 'Extend' relay cell payloads now include the digest of the
  25715. intended next hop's identity key. Now we can verify that we're
  25716. extending to the right router, and also extend to routers we
  25717. hadn't heard of before.
  25718. o Features:
  25719. - Tor nodes can now act as relays (with an advertised ORPort)
  25720. without being manually verified by the dirserver operators.
  25721. - Uploaded descriptors of unverified routers are now accepted
  25722. by the dirservers, and included in the directory.
  25723. - Verified routers are listed by nickname in the running-routers
  25724. list; unverified routers are listed as "$<fingerprint>".
  25725. - We now use hash-of-identity-key in most places rather than
  25726. nickname or addr:port, for improved security/flexibility.
  25727. - To avoid Sybil attacks, paths still use only verified servers.
  25728. But now we have a chance to play around with hybrid approaches.
  25729. - Nodes track bandwidth usage to estimate capacity (not used yet).
  25730. - ClientOnly option for nodes that never want to become servers.
  25731. - Directory caching.
  25732. - "AuthoritativeDir 1" option for the official dirservers.
  25733. - Now other nodes (clients and servers) will cache the latest
  25734. directory they've pulled down.
  25735. - They can enable their DirPort to serve it to others.
  25736. - Clients will pull down a directory from any node with an open
  25737. DirPort, and check the signature/timestamp correctly.
  25738. - Authoritative dirservers now fetch directories from other
  25739. authdirservers, to stay better synced.
  25740. - Running-routers list tells who's down also, along with noting
  25741. if they're verified (listed by nickname) or unverified (listed
  25742. by hash-of-key).
  25743. - Allow dirservers to serve running-router list separately.
  25744. This isn't used yet.
  25745. - ORs connect-on-demand to other ORs
  25746. - If you get an extend cell to an OR you're not connected to,
  25747. connect, handshake, and forward the create cell.
  25748. - The authoritative dirservers stay connected to everybody,
  25749. and everybody stays connected to 0.0.7 servers, but otherwise
  25750. clients/servers expire unused connections after 5 minutes.
  25751. - When servers get a sigint, they delay 30 seconds (refusing new
  25752. connections) then exit. A second sigint causes immediate exit.
  25753. - File and name management:
  25754. - Look for .torrc if no CONFDIR "torrc" is found.
  25755. - If no datadir is defined, then choose, make, and secure ~/.tor
  25756. as datadir.
  25757. - If torrc not found, exitpolicy reject *:*.
  25758. - Expands ~/ in filenames to $HOME/ (but doesn't yet expand ~arma).
  25759. - If no nickname is defined, derive default from hostname.
  25760. - Rename secret key files, e.g. identity.key -> secret_id_key,
  25761. to discourage people from mailing their identity key to tor-ops.
  25762. - Refuse to build a circuit before the directory has arrived --
  25763. it won't work anyway, since you won't know the right onion keys
  25764. to use.
  25765. - Try other dirservers immediately if the one you try is down. This
  25766. should tolerate down dirservers better now.
  25767. - Parse tor version numbers so we can do an is-newer-than check
  25768. rather than an is-in-the-list check.
  25769. - New socks command 'resolve', to let us shim gethostbyname()
  25770. locally.
  25771. - A 'tor_resolve' script to access the socks resolve functionality.
  25772. - A new socks-extensions.txt doc file to describe our
  25773. interpretation and extensions to the socks protocols.
  25774. - Add a ContactInfo option, which gets published in descriptor.
  25775. - Publish OR uptime in descriptor (and thus in directory) too.
  25776. - Write tor version at the top of each log file
  25777. - New docs in the tarball:
  25778. - tor-doc.html.
  25779. - Document that you should proxy your SSL traffic too.
  25780. Changes in version 0.0.7.2 - 2004-07-07
  25781. o A better fix for the 0.0.0.0 problem, that will hopefully
  25782. eliminate the remaining related assertion failures.
  25783. Changes in version 0.0.7.1 - 2004-07-04
  25784. o When an address resolves to 0.0.0.0, treat it as a failed resolve,
  25785. since internally we use 0.0.0.0 to signify "not yet resolved".
  25786. Changes in version 0.0.7 - 2004-06-07
  25787. o Updated the man page to reflect the new features.
  25788. Changes in version 0.0.7rc2 - 2004-06-06
  25789. o Changes from 0.0.7rc1:
  25790. - Make it build on Win32 again.
  25791. o Changes from 0.0.6.2:
  25792. - Rotate dnsworkers and cpuworkers on SIGHUP, so they get new config
  25793. settings too.
  25794. Changes in version 0.0.7rc1 - 2004-06-02
  25795. o Bugfixes:
  25796. - On sighup, we were adding another log without removing the first
  25797. one. So log messages would get duplicated n times for n sighups.
  25798. - Several cases of using a connection after we'd freed it. The
  25799. problem was that connections that are pending resolve are in both
  25800. the pending_resolve tree, and also the circuit's resolving_streams
  25801. list. When you want to remove one, you must remove it from both.
  25802. - Fix a double-mark-for-close where an end cell arrived for a
  25803. resolving stream, and then the resolve failed.
  25804. - Check directory signatures based on name of signer, not on whom
  25805. we got the directory from. This will let us cache directories more
  25806. easily.
  25807. o Features:
  25808. - Crank up some of our constants to handle more users.
  25809. Changes in version 0.0.7pre1 - 2004-06-02
  25810. o Fixes for crashes and other obnoxious bugs:
  25811. - Fix an epipe bug: sometimes when directory connections failed
  25812. to connect, we would give them a chance to flush before closing
  25813. them.
  25814. - When we detached from a circuit because of resolvefailed, we
  25815. would immediately try the same circuit twice more, and then
  25816. give up on the resolve thinking we'd tried three different
  25817. exit nodes.
  25818. - Limit the number of intro circuits we'll attempt to build for a
  25819. hidden service per 15-minute period.
  25820. - Check recommended-software string *early*, before actually parsing
  25821. the directory. Thus we can detect an obsolete version and exit,
  25822. even if the new directory format doesn't parse.
  25823. o Fixes for security bugs:
  25824. - Remember which nodes are dirservers when you startup, and if a
  25825. random OR enables his dirport, don't automatically assume he's
  25826. a trusted dirserver.
  25827. o Other bugfixes:
  25828. - Directory connections were asking the wrong poll socket to
  25829. start writing, and not asking themselves to start writing.
  25830. - When we detached from a circuit because we sent a begin but
  25831. didn't get a connected, we would use it again the first time;
  25832. but after that we would correctly switch to a different one.
  25833. - Stop warning when the first onion decrypt attempt fails; they
  25834. will sometimes legitimately fail now that we rotate keys.
  25835. - Override unaligned-access-ok check when $host_cpu is ia64 or
  25836. arm. Apparently they allow it but the kernel whines.
  25837. - Dirservers try to reconnect periodically too, in case connections
  25838. have failed.
  25839. - Fix some memory leaks in directory servers.
  25840. - Allow backslash in Win32 filenames.
  25841. - Made Tor build complain-free on FreeBSD, hopefully without
  25842. breaking other BSD builds. We'll see.
  25843. o Features:
  25844. - Doxygen markup on all functions and global variables.
  25845. - Make directory functions update routerlist, not replace it. So
  25846. now directory disagreements are not so critical a problem.
  25847. - Remove the upper limit on number of descriptors in a dirserver's
  25848. directory (not that we were anywhere close).
  25849. - Allow multiple logfiles at different severity ranges.
  25850. - Allow *BindAddress to specify ":port" rather than setting *Port
  25851. separately. Allow multiple instances of each BindAddress config
  25852. option, so you can bind to multiple interfaces if you want.
  25853. - Allow multiple exit policy lines, which are processed in order.
  25854. Now we don't need that huge line with all the commas in it.
  25855. - Enable accept/reject policies on SOCKS connections, so you can bind
  25856. to 0.0.0.0 but still control who can use your OP.
  25857. Changes in version 0.0.6.2 - 2004-05-16
  25858. o Our integrity-checking digest was checking only the most recent cell,
  25859. not the previous cells like we'd thought.
  25860. Thanks to Stefan Mark for finding the flaw!
  25861. Changes in version 0.0.6.1 - 2004-05-06
  25862. o Fix two bugs in our AES counter-mode implementation (this affected
  25863. onion-level stream encryption, but not TLS-level). It turns
  25864. out we were doing something much more akin to a 16-character
  25865. polyalphabetic cipher. Oops.
  25866. Thanks to Stefan Mark for finding the flaw!
  25867. o Retire moria3 as a directory server, and add tor26 as a directory
  25868. server.
  25869. Changes in version 0.0.6 - 2004-05-02
  25870. [version bump only]
  25871. Changes in version 0.0.6rc4 - 2004-05-01
  25872. o Update the built-in dirservers list to use the new directory format
  25873. o Fix a rare seg fault: if a node offering a hidden service attempts
  25874. to build a circuit to Alice's rendezvous point and fails before it
  25875. reaches the last hop, it retries with a different circuit, but
  25876. then dies.
  25877. o Handle windows socket errors correctly.
  25878. Changes in version 0.0.6rc3 - 2004-04-28
  25879. o Don't expire non-general excess circuits (if we had enough
  25880. circuits open, we were expiring rendezvous circuits -- even
  25881. when they had a stream attached. oops.)
  25882. o Fetch randomness from /dev/urandom better (not via fopen/fread)
  25883. o Better debugging for tls errors
  25884. o Some versions of openssl have an SSL_pending function that erroneously
  25885. returns bytes when there is a non-application record pending.
  25886. o Set Content-Type on the directory and hidserv descriptor.
  25887. o Remove IVs from cipher code, since AES-ctr has none.
  25888. o Win32 fixes. Tor now compiles on win32 with no warnings/errors.
  25889. o We were using an array of length zero in a few places.
  25890. o win32's gethostbyname can't resolve an IP to an IP.
  25891. o win32's close can't close a socket.
  25892. Changes in version 0.0.6rc2 - 2004-04-26
  25893. o Fix a bug where we were closing tls connections intermittently.
  25894. It turns out openssl keeps its errors around -- so if an error
  25895. happens, and you don't ask about it, and then another openssl
  25896. operation happens and succeeds, and you ask if there was an error,
  25897. it tells you about the first error. Fun fun.
  25898. o Fix a bug that's been lurking since 27 may 03 (!)
  25899. When passing back a destroy cell, we would use the wrong circ id.
  25900. 'Mostly harmless', but still worth fixing.
  25901. o Since we don't support truncateds much, don't bother sending them;
  25902. just close the circ.
  25903. o check for <machine/limits.h> so we build on NetBSD again (I hope).
  25904. o don't crash if a conn that sent a begin has suddenly lost its circuit
  25905. (this was quite rare).
  25906. Changes in version 0.0.6rc1 - 2004-04-25
  25907. o We now rotate link (tls context) keys and onion keys.
  25908. o CREATE cells now include oaep padding, so you can tell
  25909. if you decrypted them correctly.
  25910. o Add bandwidthburst to server descriptor.
  25911. o Directories now say which dirserver signed them.
  25912. o Use a tor_assert macro that logs failed assertions too.
  25913. Changes in version 0.0.6pre5 - 2004-04-18
  25914. o changes from 0.0.6pre4:
  25915. - make tor build on broken freebsd 5.2 installs
  25916. - fix a failed assert when you try an intro point, get a nack, and try
  25917. a second one and it works.
  25918. - when alice uses a port that the hidden service doesn't accept,
  25919. it now sends back an end cell (denied by exit policy). otherwise
  25920. alice would just have to wait to time out.
  25921. - fix another rare bug: when we had tried all the intro
  25922. points for a hidden service, we fetched the descriptor
  25923. again, but we left our introcirc thinking it had already
  25924. sent an intro, so it kept waiting for a response...
  25925. - bugfix: when you sleep your hidden-service laptop, as soon
  25926. as it wakes up it tries to upload a service descriptor, but
  25927. socketpair fails for some reason (localhost not up yet?).
  25928. now we simply give up on that upload, and we'll try again later.
  25929. i'd still like to find the bug though.
  25930. - if an intro circ waiting for an ack dies before getting one, then
  25931. count it as a nack
  25932. - we were reusing stale service descriptors and refetching usable
  25933. ones. oops.
  25934. Changes in version 0.0.6pre4 - 2004-04-14
  25935. o changes from 0.0.6pre3:
  25936. - when bob fails to connect to the rendezvous point, and his
  25937. circ didn't fail because of the rendezvous point itself, then
  25938. he retries a couple of times
  25939. - we expire introduction and rendezvous circs more thoroughly
  25940. (sometimes they were hanging around forever)
  25941. - we expire unattached rendezvous streams that have been around
  25942. too long (they were sticking around forever).
  25943. - fix a measly fencepost error that was crashing everybody with
  25944. a strict glibc.
  25945. Changes in version 0.0.6pre3 - 2004-04-14
  25946. o changes from 0.0.6pre2:
  25947. - make hup work again
  25948. - fix some memory leaks for dirservers
  25949. - allow more skew in rendezvous descriptor timestamps, to help
  25950. handle people like blanu who don't know what time it is
  25951. - normal circs are 3 hops, but some rend/intro circs are 4, if
  25952. the initiator doesn't get to choose the last hop
  25953. - send acks for introductions, so alice can know whether to try
  25954. again
  25955. - bob publishes intro points more correctly
  25956. o changes from 0.0.5:
  25957. - fix an assert trigger that's been plaguing us since the days
  25958. of 0.0.2prexx (thanks weasel!)
  25959. - retry stream correctly when we fail to connect because of
  25960. exit-policy-reject (should try another) or can't-resolve-address
  25961. (also should try another, because dns on random internet servers
  25962. is flaky).
  25963. - when we hup a dirserver and we've *removed* a server from the
  25964. approved-routers list, now we remove that server from the
  25965. in-memory directories too
  25966. Changes in version 0.0.6pre2 - 2004-04-08
  25967. o We fixed our base32 implementation. Now it works on all architectures.
  25968. Changes in version 0.0.6pre1 - 2004-04-08
  25969. o Features:
  25970. - Hidden services and rendezvous points are implemented. Go to
  25971. http://6sxoyfb3h2nvok2d.onion/ for an index of currently available
  25972. hidden services. (This only works via a socks4a proxy such as
  25973. Privoxy, and currently it's quite slow.)
  25974. Changes in version 0.0.5 - 2004-03-30
  25975. [version bump only]
  25976. Changes in version 0.0.5rc3 - 2004-03-29
  25977. o Install torrc as torrc.sample -- we no longer clobber your
  25978. torrc. (Woo!)
  25979. o Re-enable recommendedversion checking (we broke it in rc2, oops)
  25980. o Add in a 'notice' log level for things the operator should hear
  25981. but that aren't warnings
  25982. Changes in version 0.0.5rc2 - 2004-03-29
  25983. o Hold socks connection open until reply is flushed (if possible)
  25984. o Make exit nodes resolve IPs to IPs immediately, rather than asking
  25985. the dns farm to do it.
  25986. o Fix c99 aliasing warnings in rephist.c
  25987. o Don't include server descriptors that are older than 24 hours in the
  25988. directory.
  25989. o Give socks 'reject' replies their whole 15s to attempt to flush,
  25990. rather than seeing the 60s timeout and assuming the flush had failed.
  25991. o Clean automake droppings from the cvs repository
  25992. Changes in version 0.0.5rc1 - 2004-03-28
  25993. o Fix mangled-state bug in directory fetching (was causing sigpipes).
  25994. o Only build circuits after we've fetched the directory: clients were
  25995. using only the directory servers before they'd fetched a directory.
  25996. This also means longer startup time; so it goes.
  25997. o Fix an assert trigger where an OP would fail to handshake, and we'd
  25998. expect it to have a nickname.
  25999. o Work around a tsocks bug: do a socks reject when AP connection dies
  26000. early, else tsocks goes into an infinite loop.
  26001. Changes in version 0.0.4 - 2004-03-26
  26002. o When connecting to a dirserver or OR and the network is down,
  26003. we would crash.
  26004. Changes in version 0.0.3 - 2004-03-26
  26005. o Warn and fail if server chose a nickname with illegal characters
  26006. o Port to Solaris and Sparc:
  26007. - include missing header fcntl.h
  26008. - have autoconf find -lsocket -lnsl automatically
  26009. - deal with hardware word alignment
  26010. - make uname() work (solaris has a different return convention)
  26011. - switch from using signal() to sigaction()
  26012. o Preliminary work on reputation system:
  26013. - Keep statistics on success/fail of connect attempts; they're published
  26014. by kill -USR1 currently.
  26015. - Add a RunTesting option to try to learn link state by creating test
  26016. circuits, even when SocksPort is off.
  26017. - Remove unused open circuits when there are too many.
  26018. Changes in version 0.0.2 - 2004-03-19
  26019. - Include strlcpy and strlcat for safer string ops
  26020. - define INADDR_NONE so we compile (but still not run) on solaris
  26021. Changes in version 0.0.2pre27 - 2004-03-14
  26022. o Bugfixes:
  26023. - Allow internal tor networks (we were rejecting internal IPs,
  26024. now we allow them if they're set explicitly).
  26025. - And fix a few endian issues.
  26026. Changes in version 0.0.2pre26 - 2004-03-14
  26027. o New features:
  26028. - If a stream times out after 15s without a connected cell, don't
  26029. try that circuit again: try a new one.
  26030. - Retry streams at most 4 times. Then give up.
  26031. - When a dirserver gets a descriptor from an unknown router, it
  26032. logs its fingerprint (so the dirserver operator can choose to
  26033. accept it even without mail from the server operator).
  26034. - Inform unapproved servers when we reject their descriptors.
  26035. - Make tor build on Windows again. It works as a client, who knows
  26036. about as a server.
  26037. - Clearer instructions in the torrc for how to set up a server.
  26038. - Be more efficient about reading fd's when our global token bucket
  26039. (used for rate limiting) becomes empty.
  26040. o Bugfixes:
  26041. - Stop asserting that computers always go forward in time. It's
  26042. simply not true.
  26043. - When we sent a cell (e.g. destroy) and then marked an OR connection
  26044. expired, we might close it before finishing a flush if the other
  26045. side isn't reading right then.
  26046. - Don't allow dirservers to start if they haven't defined
  26047. RecommendedVersions
  26048. - We were caching transient dns failures. Oops.
  26049. - Prevent servers from publishing an internal IP as their address.
  26050. - Address a strcat vulnerability in circuit.c
  26051. Changes in version 0.0.2pre25 - 2004-03-04
  26052. o New features:
  26053. - Put the OR's IP in its router descriptor, not its fqdn. That way
  26054. we'll stop being stalled by gethostbyname for nodes with flaky dns,
  26055. e.g. poblano.
  26056. o Bugfixes:
  26057. - If the user typed in an address that didn't resolve, the server
  26058. crashed.
  26059. Changes in version 0.0.2pre24 - 2004-03-03
  26060. o Bugfixes:
  26061. - Fix an assertion failure in dns.c, where we were trying to dequeue
  26062. a pending dns resolve even if it wasn't pending
  26063. - Fix a spurious socks5 warning about still trying to write after the
  26064. connection is finished.
  26065. - Hold certain marked_for_close connections open until they're finished
  26066. flushing, rather than losing bytes by closing them too early.
  26067. - Correctly report the reason for ending a stream
  26068. - Remove some duplicate calls to connection_mark_for_close
  26069. - Put switch_id and start_daemon earlier in the boot sequence, so it
  26070. will actually try to chdir() to options.DataDirectory
  26071. - Make 'make test' exit(1) if a test fails; fix some unit tests
  26072. - Make tor fail when you use a config option it doesn't know about,
  26073. rather than warn and continue.
  26074. - Make --version work
  26075. - Bugfixes on the rpm spec file and tor.sh, so it's more up to date
  26076. Changes in version 0.0.2pre23 - 2004-02-29
  26077. o New features:
  26078. - Print a statement when the first circ is finished, so the user
  26079. knows it's working.
  26080. - If a relay cell is unrecognized at the end of the circuit,
  26081. send back a destroy. (So attacks to mutate cells are more
  26082. clearly thwarted.)
  26083. - New config option 'excludenodes' to avoid certain nodes for circuits.
  26084. - When it daemonizes, it chdir's to the DataDirectory rather than "/",
  26085. so you can collect coredumps there.
  26086. o Bugfixes:
  26087. - Fix a bug in tls flushing where sometimes data got wedged and
  26088. didn't flush until more data got sent. Hopefully this bug was
  26089. a big factor in the random delays we were seeing.
  26090. - Make 'connected' cells include the resolved IP, so the client
  26091. dns cache actually gets populated.
  26092. - Disallow changing from ORPort=0 to ORPort>0 on hup.
  26093. - When we time-out on a stream and detach from the circuit, send an
  26094. end cell down it first.
  26095. - Only warn about an unknown router (in exitnodes, entrynodes,
  26096. excludenodes) after we've fetched a directory.
  26097. Changes in version 0.0.2pre22 - 2004-02-26
  26098. o New features:
  26099. - Servers publish less revealing uname information in descriptors.
  26100. - More memory tracking and assertions, to crash more usefully when
  26101. errors happen.
  26102. - If the default torrc isn't there, just use some default defaults.
  26103. Plus provide an internal dirservers file if they don't have one.
  26104. - When the user tries to use Tor as an http proxy, give them an http
  26105. 501 failure explaining that we're a socks proxy.
  26106. - Dump a new router.desc on hup, to help confused people who change
  26107. their exit policies and then wonder why router.desc doesn't reflect
  26108. it.
  26109. - Clean up the generic tor.sh init script that we ship with.
  26110. o Bugfixes:
  26111. - If the exit stream is pending on the resolve, and a destroy arrives,
  26112. then the stream wasn't getting removed from the pending list. I
  26113. think this was the one causing recent server crashes.
  26114. - Use a more robust poll on OSX 10.3, since their poll is flaky.
  26115. - When it couldn't resolve any dirservers, it was useless from then on.
  26116. Now it reloads the RouterFile (or default dirservers) if it has no
  26117. dirservers.
  26118. - Move the 'tor' binary back to /usr/local/bin/ -- it turns out
  26119. many users don't even *have* a /usr/local/sbin/.
  26120. Changes in version 0.0.2pre21 - 2004-02-18
  26121. o New features:
  26122. - There's a ChangeLog file that actually reflects the changelog.
  26123. - There's a 'torify' wrapper script, with an accompanying
  26124. tor-tsocks.conf, that simplifies the process of using tsocks for
  26125. tor. It even has a man page.
  26126. - The tor binary gets installed to sbin rather than bin now.
  26127. - Retry streams where the connected cell hasn't arrived in 15 seconds
  26128. - Clean up exit policy handling -- get the default out of the torrc,
  26129. so we can update it without forcing each server operator to fix
  26130. his/her torrc.
  26131. - Allow imaps and pop3s in default exit policy
  26132. o Bugfixes:
  26133. - Prevent picking middleman nodes as the last node in the circuit
  26134. Changes in version 0.0.2pre20 - 2004-01-30
  26135. o New features:
  26136. - We now have a deb package, and it's in debian unstable. Go to
  26137. it, apt-getters. :)
  26138. - I've split the TotalBandwidth option into BandwidthRate (how many
  26139. bytes per second you want to allow, long-term) and
  26140. BandwidthBurst (how many bytes you will allow at once before the cap
  26141. kicks in). This better token bucket approach lets you, say, set
  26142. BandwidthRate to 10KB/s and BandwidthBurst to 10MB, allowing good
  26143. performance while not exceeding your monthly bandwidth quota.
  26144. - Push out a tls record's worth of data once you've got it, rather
  26145. than waiting until you've read everything waiting to be read. This
  26146. may improve performance by pipelining better. We'll see.
  26147. - Add an AP_CONN_STATE_CONNECTING state, to allow streams to detach
  26148. from failed circuits (if they haven't been connected yet) and attach
  26149. to new ones.
  26150. - Expire old streams that haven't managed to connect. Some day we'll
  26151. have them reattach to new circuits instead.
  26152. o Bugfixes:
  26153. - Fix several memory leaks that were causing servers to become bloated
  26154. after a while.
  26155. - Fix a few very rare assert triggers. A few more remain.
  26156. - Setuid to User _before_ complaining about running as root.
  26157. Changes in version 0.0.2pre19 - 2004-01-07
  26158. o Bugfixes:
  26159. - Fix deadlock condition in dns farm. We were telling a child to die by
  26160. closing the parent's file descriptor to him. But newer children were
  26161. inheriting the open file descriptor from the parent, and since they
  26162. weren't closing it, the socket never closed, so the child never read
  26163. eof, so he never knew to exit. Similarly, dns workers were holding
  26164. open other sockets, leading to all sorts of chaos.
  26165. - New cleaner daemon() code for forking and backgrounding.
  26166. - If you log to a file, it now prints an entry at the top of the
  26167. logfile so you know it's working.
  26168. - The onionskin challenge length was 30 bytes longer than necessary.
  26169. - Started to patch up the spec so it's not quite so out of date.
  26170. Changes in version 0.0.2pre18 - 2004-01-02
  26171. o Bugfixes:
  26172. - Fix endian issues with the 'integrity' field in the relay header.
  26173. - Fix a potential bug where connections in state
  26174. AP_CONN_STATE_CIRCUIT_WAIT might unexpectedly ask to write.
  26175. Changes in version 0.0.2pre17 - 2003-12-30
  26176. o Bugfixes:
  26177. - Made --debuglogfile (or any second log file, actually) work.
  26178. - Resolved an edge case in get_unique_circ_id_by_conn where a smart
  26179. adversary could force us into an infinite loop.
  26180. o Features:
  26181. - Each onionskin handshake now includes a hash of the computed key,
  26182. to prove the server's identity and help perfect forward secrecy.
  26183. - Changed cell size from 256 to 512 bytes (working toward compatibility
  26184. with MorphMix).
  26185. - Changed cell length to 2 bytes, and moved it to the relay header.
  26186. - Implemented end-to-end integrity checking for the payloads of
  26187. relay cells.
  26188. - Separated streamid from 'recognized' (otherwise circuits will get
  26189. messed up when we try to have streams exit from the middle). We
  26190. use the integrity-checking to confirm that a cell is addressed to
  26191. this hop.
  26192. - Randomize the initial circid and streamid values, so an adversary who
  26193. breaks into a node can't learn how many circuits or streams have
  26194. been made so far.
  26195. Changes in version 0.0.2pre16 - 2003-12-14
  26196. o Bugfixes:
  26197. - Fixed a bug that made HUP trigger an assert
  26198. - Fixed a bug where a circuit that immediately failed wasn't being
  26199. counted as a failed circuit in counting retries.
  26200. o Features:
  26201. - Now we close the circuit when we get a truncated cell: otherwise we're
  26202. open to an anonymity attack where a bad node in the path truncates
  26203. the circuit and then we open streams at him.
  26204. - Add port ranges to exit policies
  26205. - Add a conservative default exit policy
  26206. - Warn if you're running tor as root
  26207. - on HUP, retry OR connections and close/rebind listeners
  26208. - options.EntryNodes: try these nodes first when picking the first node
  26209. - options.ExitNodes: if your best choices happen to include any of
  26210. your preferred exit nodes, you choose among just those preferred
  26211. exit nodes.
  26212. - options.ExcludedNodes: nodes that are never picked in path building
  26213. Changes in version 0.0.2pre15 - 2003-12-03
  26214. o Robustness and bugfixes:
  26215. - Sometimes clients would cache incorrect DNS resolves, which would
  26216. really screw things up.
  26217. - An OP that goes offline would slowly leak all its sockets and stop
  26218. working.
  26219. - A wide variety of bugfixes in exit node selection, exit policy
  26220. handling, and processing pending streams when a new circuit is
  26221. established.
  26222. - Pick nodes for a path only from those the directory says are up
  26223. - Choose randomly from all running dirservers, not always the first one
  26224. - Increase allowed http header size for directory fetch.
  26225. - Stop writing to stderr (if we're daemonized it will be closed).
  26226. - Enable -g always, so cores will be more useful to me.
  26227. - Switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions.
  26228. o Documentation:
  26229. - Wrote a man page. It lists commonly used options.
  26230. o Configuration:
  26231. - Change default loglevel to warn.
  26232. - Make PidFile default to null rather than littering in your CWD.
  26233. - OnionRouter config option is now obsolete. Instead it just checks
  26234. ORPort>0.
  26235. - Moved to a single unified torrc file for both clients and servers.
  26236. Changes in version 0.0.2pre14 - 2003-11-29
  26237. o Robustness and bugfixes:
  26238. - Force the admin to make the DataDirectory himself
  26239. - to get ownership/permissions right
  26240. - so clients no longer make a DataDirectory and then never use it
  26241. - fix bug where a client who was offline for 45 minutes would never
  26242. pull down a directory again
  26243. - fix (or at least hide really well) the dns assert bug that was
  26244. causing server crashes
  26245. - warnings and improved robustness wrt clockskew for certs
  26246. - use the native daemon(3) to daemonize, when available
  26247. - exit if bind() fails
  26248. - exit if neither socksport nor orport is defined
  26249. - include our own tor_timegm (Win32 doesn't have its own)
  26250. - bugfix for win32 with lots of connections
  26251. - fix minor bias in PRNG
  26252. - make dirserver more robust to corrupt cached directory
  26253. o Documentation:
  26254. - Wrote the design document (woo)
  26255. o Circuit building and exit policies:
  26256. - Circuits no longer try to use nodes that the directory has told them
  26257. are down.
  26258. - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and
  26259. bitcounts (18.0.0.0/8).
  26260. - Make AP connections standby for a circuit if no suitable circuit
  26261. exists, rather than failing
  26262. - Circuits choose exit node based on addr/port, exit policies, and
  26263. which AP connections are standing by
  26264. - Bump min pathlen from 2 to 3
  26265. - Relay end cells have a payload to describe why the stream ended.
  26266. - If the stream failed because of exit policy, try again with a new
  26267. circuit.
  26268. - Clients have a dns cache to remember resolved addresses.
  26269. - Notice more quickly when we have no working circuits
  26270. o Configuration:
  26271. - APPort is now called SocksPort
  26272. - SocksBindAddress, ORBindAddress, DirBindAddress let you configure
  26273. where to bind
  26274. - RecommendedVersions is now a config variable rather than
  26275. hardcoded (for dirservers)
  26276. - Reloads config on HUP
  26277. - Usage info on -h or --help
  26278. - If you set User and Group config vars, it'll setu/gid to them.
  26279. Changes in version 0.0.2pre13 - 2003-10-19
  26280. o General stability:
  26281. - SSL_write no longer fails when it returns WANTWRITE and the number
  26282. of bytes in the buf has changed by the next SSL_write call.
  26283. - Fix segfault fetching directory when network is down
  26284. - Fix a variety of minor memory leaks
  26285. - Dirservers reload the fingerprints file on HUP, so I don't have
  26286. to take down the network when I approve a new router
  26287. - Default server config file has explicit Address line to specify fqdn
  26288. o Buffers:
  26289. - Buffers grow and shrink as needed (Cut process size from 20M to 2M)
  26290. - Make listener connections not ever alloc bufs
  26291. o Autoconf improvements:
  26292. - don't clobber an external CFLAGS in ./configure
  26293. - Make install now works
  26294. - create var/lib/tor on make install
  26295. - autocreate a tor.sh initscript to help distribs
  26296. - autocreate the torrc and sample-server-torrc with correct paths
  26297. o Log files and Daemonizing now work:
  26298. - If --DebugLogFile is specified, log to it at -l debug
  26299. - If --LogFile is specified, use it instead of commandline
  26300. - If --RunAsDaemon is set, tor forks and backgrounds on startup